describeTerminationPolicyTypes method
Describes the termination policies supported by Amazon EC2 Auto Scaling.
For more information, see Controlling which Auto Scaling instances terminate during scale in in the Amazon EC2 Auto Scaling User Guide.
May throw ResourceContentionFault.
Implementation
Future<DescribeTerminationPolicyTypesAnswer>
describeTerminationPolicyTypes() async {
final $request = <String, dynamic>{};
final $result = await _protocol.send(
$request,
action: 'DescribeTerminationPolicyTypes',
version: '2011-01-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shapes: shapes,
resultWrapper: 'DescribeTerminationPolicyTypesResult',
);
return DescribeTerminationPolicyTypesAnswer.fromXml($result);
}