ChimeSDKVoice / Client / get_phone_number_settings

get_phone_number_settings#

ChimeSDKVoice.Client.get_phone_number_settings()#

Retrieves the phone number settings for the administrator’s AWS account, such as the default outbound calling name.

See also: AWS API Documentation

Request Syntax

response = client.get_phone_number_settings()
Return type:

dict

Returns:

Response Syntax

{
    'CallingName': 'string',
    'CallingNameUpdatedTimestamp': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • CallingName (string) –

      The default outbound calling name for the account.

    • CallingNameUpdatedTimestamp (datetime) –

      The updated outbound calling name timestamp, in ISO 8601 format.

Exceptions

  • ChimeSDKVoice.Client.exceptions.UnauthorizedClientException

  • ChimeSDKVoice.Client.exceptions.ForbiddenException

  • ChimeSDKVoice.Client.exceptions.BadRequestException

  • ChimeSDKVoice.Client.exceptions.ThrottledClientException

  • ChimeSDKVoice.Client.exceptions.ServiceUnavailableException

  • ChimeSDKVoice.Client.exceptions.ServiceFailureException