putAccountPricingAttributes method

Future<void> putAccountPricingAttributes({
  1. required PricingPlan plan,
})

Set the pricing plan for your Amazon SES account. Use this operation to choose a billing plan that packages multiple Amazon SES features at a single rate.

May throw BadRequestException. May throw ConflictException. May throw TooManyRequestsException.

Parameter plan : The pricing plan to apply to your Amazon SES account. Can be one of the following:

  • NONE – No pricing plan is applied; billing follows per-feature pricing.
  • ESSENTIALS – Baseline Amazon SES capabilities and select premium features.
  • PRO – Includes everything in ESSENTIALS, plus additional premium features for growing senders.
  • ENTERPRISE – Includes everything in PRO, plus features intended for large-scale senders.

Implementation

Future<void> putAccountPricingAttributes({
  required PricingPlan plan,
}) async {
  final $payload = <String, dynamic>{
    'Plan': plan.value,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'PUT',
    requestUri: '/v2/email/account/pricing-attributes',
    exceptionFnMap: _exceptionFns,
  );
}