deletePricingRule method

Future<DeletePricingRuleOutput> deletePricingRule({
  1. required String arn,
})

Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).

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

Parameter arn : The Amazon Resource Name (ARN) of the pricing rule that you are deleting.

Implementation

Future<DeletePricingRuleOutput> deletePricingRule({
  required String arn,
}) async {
  final $payload = <String, dynamic>{
    'Arn': arn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/delete-pricing-rule',
    exceptionFnMap: _exceptionFns,
  );
  return DeletePricingRuleOutput.fromJson(response);
}