disassociatePricingRules method
Disassociates a list of pricing rules from a pricing plan.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter arn :
The pricing plan Amazon Resource Name (ARN) to disassociate pricing rules
from.
Parameter pricingRuleArns :
A list containing the Amazon Resource Name (ARN) of the pricing rules that
will be disassociated.
Implementation
Future<DisassociatePricingRulesOutput> disassociatePricingRules({
required String arn,
required List<String> pricingRuleArns,
}) async {
final $payload = <String, dynamic>{
'Arn': arn,
'PricingRuleArns': pricingRuleArns,
};
final response = await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri: '/disassociate-pricing-rules',
exceptionFnMap: _exceptionFns,
);
return DisassociatePricingRulesOutput.fromJson(response);
}