deletePricingPlan method
Deletes a pricing plan. The pricing plan must not be associated with any billing groups to delete successfully.
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 plan that you're deleting.
Implementation
Future<DeletePricingPlanOutput> deletePricingPlan({
required String arn,
}) async {
final $payload = <String, dynamic>{
'Arn': arn,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/delete-pricing-plan',
exceptionFnMap: _exceptionFns,
);
return DeletePricingPlanOutput.fromJson(response);
}