batch_delete_phone_number(**kwargs)¶See also: AWS API Documentation
Request Syntax
response = client.batch_delete_phone_number(
PhoneNumberIds=[
'string',
]
)
[REQUIRED]
{
'PhoneNumberErrors': [
{
'PhoneNumberId': 'string',
'ErrorCode': 'BadRequest'|'Conflict'|'Forbidden'|'NotFound'|'PreconditionFailed'|'ResourceLimitExceeded'|'ServiceFailure'|'AccessDenied'|'ServiceUnavailable'|'Throttled'|'Throttling'|'Unauthorized'|'Unprocessable'|'VoiceConnectorGroupAssociationsExist'|'PhoneNumberAssociationsExist'|'Gone',
'ErrorMessage': 'string'
},
]
}
Response Structure
Exceptions
ChimeSDKVoice.Client.exceptions.UnauthorizedClientExceptionChimeSDKVoice.Client.exceptions.NotFoundExceptionChimeSDKVoice.Client.exceptions.ForbiddenExceptionChimeSDKVoice.Client.exceptions.BadRequestExceptionChimeSDKVoice.Client.exceptions.ThrottledClientExceptionChimeSDKVoice.Client.exceptions.ServiceUnavailableExceptionChimeSDKVoice.Client.exceptions.ServiceFailureException