deleteMediaMessageSpendLimitOverride method

Future<DeleteMediaMessageSpendLimitOverrideResult> deleteMediaMessageSpendLimitOverride()

Deletes an account-level monthly spending limit override for sending multimedia messages (MMS). 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 for Server Migration Service in the Server Migration Service User Guide.

May throw AccessDeniedException. May throw InternalServerException. May throw ThrottlingException. May throw ValidationException.

Implementation

Future<DeleteMediaMessageSpendLimitOverrideResult>
    deleteMediaMessageSpendLimitOverride() async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.0',
    'X-Amz-Target': 'PinpointSMSVoiceV2.DeleteMediaMessageSpendLimitOverride'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
  );

  return DeleteMediaMessageSpendLimitOverrideResult.fromJson(
      jsonResponse.body);
}