list_supported_phone_number_countries

ChimeSDKVoice.Client.list_supported_phone_number_countries(**kwargs)

See also: AWS API Documentation

Request Syntax

response = client.list_supported_phone_number_countries(
    ProductType='VoiceConnector'|'SipMediaApplicationDialIn'
)
Parameters
ProductType (string) -- [REQUIRED]
Return type
dict
Returns
Response Syntax
{
    'PhoneNumberCountries': [
        {
            'CountryCode': 'string',
            'SupportedPhoneNumberTypes': [
                'Local'|'TollFree',
            ]
        },
    ]
}

Response Structure

  • (dict) --
    • PhoneNumberCountries (list) --
      • (dict) --
        • CountryCode (string) --
        • SupportedPhoneNumberTypes (list) --
          • (string) --

Exceptions

  • ChimeSDKVoice.Client.exceptions.BadRequestException
  • ChimeSDKVoice.Client.exceptions.ForbiddenException
  • ChimeSDKVoice.Client.exceptions.AccessDeniedException
  • ChimeSDKVoice.Client.exceptions.UnauthorizedClientException
  • ChimeSDKVoice.Client.exceptions.ThrottledClientException
  • ChimeSDKVoice.Client.exceptions.ServiceUnavailableException
  • ChimeSDKVoice.Client.exceptions.ServiceFailureException