CmdID / aws / aws pinpoint-sms-voice-v2
aws pinpoint-sms-voice-v2 list-available-phone-numbers
Retrieves a list of phone numbers that are available to request, based on the country, capabilities, and number type that you specify. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--iso-country-codeThe two-character code, in ISO 3166-1 alpha-2 format, for the country or region in which to search for available phone numbers.--max-resultsThe maximum number of results to return per page.--next-tokenThe token returned from a previous request to retrieve the next page of results.--number-capabilitiesThe capabilities to filter by, such as SMS.--number-preferenceAn optional selection preference used to return only phone numbers that match a specific digit pattern, such as numbers that start with, end with, or contain a particular sequence.--number-typeThe type of phone number to search for.--registration-idThe registration associated with the request.