deleteVerifiedDestinationNumber method
Future<DeleteVerifiedDestinationNumberResult>
deleteVerifiedDestinationNumber({
- required String verifiedDestinationNumberId,
Delete a verified destination phone number.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter verifiedDestinationNumberId :
The unique identifier for the verified destination phone number.
Implementation
Future<DeleteVerifiedDestinationNumberResult>
deleteVerifiedDestinationNumber({
required String verifiedDestinationNumberId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'PinpointSMSVoiceV2.DeleteVerifiedDestinationNumber'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'VerifiedDestinationNumberId': verifiedDestinationNumberId,
},
);
return DeleteVerifiedDestinationNumberResult.fromJson(jsonResponse.body);
}