putDedicatedIpPoolScalingAttributes method
Future<void>
putDedicatedIpPoolScalingAttributes({
- required String poolName,
- required ScalingMode scalingMode,
Used to convert a dedicated IP pool to a different scaling mode.
May throw BadRequestException.
May throw ConcurrentModificationException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter poolName :
The name of the dedicated IP pool.
Parameter scalingMode :
The scaling mode to apply to the dedicated IP pool.
Implementation
Future<void> putDedicatedIpPoolScalingAttributes({
required String poolName,
required ScalingMode scalingMode,
}) async {
final $payload = <String, dynamic>{
'ScalingMode': scalingMode.value,
};
final response = await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri:
'/v2/email/dedicated-ip-pools/${Uri.encodeComponent(poolName)}/scaling',
exceptionFnMap: _exceptionFns,
);
}