describeLifecycleHookTypes method
Describes the available types of lifecycle hooks.
The following hook types are supported:
- autoscaling:EC2_INSTANCE_LAUNCHING
- autoscaling:EC2_INSTANCE_TERMINATING
May throw ResourceContentionFault.
Implementation
Future<DescribeLifecycleHookTypesAnswer> describeLifecycleHookTypes() async {
final $request = <String, dynamic>{};
final $result = await _protocol.send(
$request,
action: 'DescribeLifecycleHookTypes',
version: '2011-01-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shapes: shapes,
resultWrapper: 'DescribeLifecycleHookTypesResult',
);
return DescribeLifecycleHookTypesAnswer.fromXml($result);
}