putAccountDedicatedIpWarmupAttributes method

Future<void> putAccountDedicatedIpWarmupAttributes({
  1. bool? autoWarmupEnabled,
})

Enable or disable the automatic warm-up feature for dedicated IP addresses.

May throw TooManyRequestsException. May throw BadRequestException.

Parameter autoWarmupEnabled : Enables or disables the automatic warm-up feature for dedicated IP addresses that are associated with your Amazon Pinpoint account in the current AWS Region. Set to true to enable the automatic warm-up feature, or set to false to disable it.

Implementation

Future<void> putAccountDedicatedIpWarmupAttributes({
  bool? autoWarmupEnabled,
}) async {
  final $payload = <String, dynamic>{
    if (autoWarmupEnabled != null) 'AutoWarmupEnabled': autoWarmupEnabled,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'PUT',
    requestUri: '/v1/email/account/dedicated-ips/warmup',
    exceptionFnMap: _exceptionFns,
  );
}