:doc:`Chime <../../chime>` / Client / list_supported_phone_number_countries

*************************************
list_supported_phone_number_countries
*************************************



.. py:method:: Chime.Client.list_supported_phone_number_countries(**kwargs)

  

  Lists supported phone number countries.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSupportedPhoneNumberCountries>`_  


  **Request Syntax**
  ::

    response = client.list_supported_phone_number_countries(
        ProductType='BusinessCalling'|'VoiceConnector'|'SipMediaApplicationDialIn'
    )
    
  :type ProductType: string
  :param ProductType: **[REQUIRED]** 

    The phone number product type.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'PhoneNumberCountries': [
              {
                  'CountryCode': 'string',
                  'SupportedPhoneNumberTypes': [
                      'Local'|'TollFree',
                  ]
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **PhoneNumberCountries** *(list) --* 

        The supported phone number countries.

        
        

        - *(dict) --* 

          The phone number country.

          
          

          - **CountryCode** *(string) --* 

            The phone number country code. Format: ISO 3166-1 alpha-2.

            
          

          - **SupportedPhoneNumberTypes** *(list) --* 

            The supported phone number types.

            
            

            - *(string) --* 
        
      
    
  
  **Exceptions**
  
  *   :py:class:`Chime.Client.exceptions.BadRequestException`

  
  *   :py:class:`Chime.Client.exceptions.ForbiddenException`

  
  *   :py:class:`Chime.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Chime.Client.exceptions.UnauthorizedClientException`

  
  *   :py:class:`Chime.Client.exceptions.ThrottledClientException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceFailureException`

  