deleteTextMessageSpendLimitOverride method
Deletes an account-level monthly spending limit override for sending text
messages. Deleting a spend limit override will set the
EnforcedLimit to equal the MaxLimit, which is
controlled by Amazon Web Services. For more information on spend limits
(quotas) see Quotas
in the End User Messaging SMS User Guide.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ThrottlingException.
May throw ValidationException.
Implementation
Future<DeleteTextMessageSpendLimitOverrideResult>
deleteTextMessageSpendLimitOverride() async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'PinpointSMSVoiceV2.DeleteTextMessageSpendLimitOverride'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
);
return DeleteTextMessageSpendLimitOverrideResult.fromJson(
jsonResponse.body);
}