describeAdjustmentTypes method
Describes the available adjustment types for Amazon EC2 Auto Scaling scaling policies. These settings apply to step scaling policies and simple scaling policies; they do not apply to target tracking scaling policies.
The following adjustment types are supported:
- ChangeInCapacity
- ExactCapacity
- PercentChangeInCapacity
May throw ResourceContentionFault.
Implementation
Future<DescribeAdjustmentTypesAnswer> describeAdjustmentTypes() async {
final $request = <String, dynamic>{};
final $result = await _protocol.send(
$request,
action: 'DescribeAdjustmentTypes',
version: '2011-01-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shapes: shapes,
resultWrapper: 'DescribeAdjustmentTypesResult',
);
return DescribeAdjustmentTypesAnswer.fromXml($result);
}