Menu
Auto Scaling
API Reference (API Version 2011-01-01)

DescribeLifecycleHookTypes

Describes the available types of lifecycle hooks.

Response Elements

The following element is returned by the service.

LifecycleHookTypes.member.N

The lifecycle hook types.

Type: Array of strings

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Errors

For information about the errors that are common to all actions, see Common Errors.

ResourceContention

You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).

HTTP Status Code: 500

Example

Sample Request

Copy
https://autoscaling.amazonaws.com/?Action=DescribeLifecycleHookTypes &AutoScalingGroupName=my-asg &Version=2011-01-01 &AUTHPARAMS

Sample Response

Copy
<DescribeLifecycleHookTypesResponse xmlns="http://autoscaling.amazonaws.com/doc/2011-01-01/"> <DescribeLifecycleHookTypesResult> <LifecycleHookTypes> <member>autoscaling:EC2_INSTANCE_LAUNCHING</member> <member>autoscaling:EC2_INSTANCE_TERMINATING</member> </LifecycleHookTypes> </DescribeLifecycleHookTypesResult> <ResponseMetadata> <RequestId>7c6e177f-f082-11e1-ac58-3714bEXAMPLE</RequestId> </ResponseMetadata> </DescribeLifecycleHookTypesResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: