deleteGatewayRateLimit method

Future<DeleteGatewayRateLimitResponse> deleteGatewayRateLimit({
  1. required String gatewayIdentifier,
  2. required String rateLimitId,
})

Deletes a gateway rate limit.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter gatewayIdentifier : The unique identifier of the gateway.

Parameter rateLimitId : The unique identifier of the rate limit to delete.

Implementation

Future<DeleteGatewayRateLimitResponse> deleteGatewayRateLimit({
  required String gatewayIdentifier,
  required String rateLimitId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/gateways/${Uri.encodeComponent(gatewayIdentifier)}/rate-limits/${Uri.encodeComponent(rateLimitId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteGatewayRateLimitResponse.fromJson(response);
}