update_phone_number(**kwargs)¶See also: AWS API Documentation
Request Syntax
response = client.update_phone_number(
    PhoneNumberId='string',
    ProductType='VoiceConnector'|'SipMediaApplicationDialIn',
    CallingName='string'
)
dict
Response Syntax
{
    'PhoneNumber': {
        'PhoneNumberId': 'string',
        'E164PhoneNumber': 'string',
        'Country': 'string',
        'Type': 'Local'|'TollFree',
        'ProductType': 'VoiceConnector'|'SipMediaApplicationDialIn',
        'Status': 'Cancelled'|'PortinCancelRequested'|'PortinInProgress'|'AcquireInProgress'|'AcquireFailed'|'Unassigned'|'Assigned'|'ReleaseInProgress'|'DeleteInProgress'|'ReleaseFailed'|'DeleteFailed',
        'Capabilities': {
            'InboundCall': True|False,
            'OutboundCall': True|False,
            'InboundSMS': True|False,
            'OutboundSMS': True|False,
            'InboundMMS': True|False,
            'OutboundMMS': True|False
        },
        'Associations': [
            {
                'Value': 'string',
                'Name': 'VoiceConnectorId'|'VoiceConnectorGroupId'|'SipRuleId',
                'AssociatedTimestamp': datetime(2015, 1, 1)
            },
        ],
        'CallingName': 'string',
        'CallingNameStatus': 'Unassigned'|'UpdateInProgress'|'UpdateSucceeded'|'UpdateFailed',
        'CreatedTimestamp': datetime(2015, 1, 1),
        'UpdatedTimestamp': datetime(2015, 1, 1),
        'DeletionTimestamp': datetime(2015, 1, 1),
        'OrderId': 'string'
    }
}
Response Structure
Exceptions
ChimeSDKVoice.Client.exceptions.UnauthorizedClientExceptionChimeSDKVoice.Client.exceptions.NotFoundExceptionChimeSDKVoice.Client.exceptions.ForbiddenExceptionChimeSDKVoice.Client.exceptions.BadRequestExceptionChimeSDKVoice.Client.exceptions.ThrottledClientExceptionChimeSDKVoice.Client.exceptions.ConflictExceptionChimeSDKVoice.Client.exceptions.ServiceUnavailableExceptionChimeSDKVoice.Client.exceptions.ServiceFailureException