DescribeAutoScalingNotificationTypes - Amazon EC2 Auto Scaling

DescribeAutoScalingNotificationTypes

Describes the notification types that are supported by Amazon EC2 Auto Scaling.

Response Elements

The following element is returned by the service.

AutoScalingNotificationTypes.member.N

The notification 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 Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group, instance, or load balancer).

HTTP Status Code: 500

Examples

Example

This example illustrates one usage of DescribeAutoScalingNotificationTypes.

Sample Request

https://autoscaling.amazonaws.com/?Version=2011-01-01&Action=DescribeAutoScalingNotificationTypes &Version=2011-01-01 &AUTHPARAMS

Sample Response

<DescribeAutoScalingNotificationTypesResponse xmlns="https://autoscaling.amazonaws.com/doc/2011-01-01/"> <DescribeAutoScalingNotificationTypesResult> <AutoScalingNotificationTypes> <member>autoscaling:EC2_INSTANCE_LAUNCH</member> <member>autoscaling:EC2_INSTANCE_LAUNCH_ERROR</member> <member>autoscaling:EC2_INSTANCE_TERMINATE</member> <member>autoscaling:EC2_INSTANCE_TERMINATE_ERROR</member> <member>autoscaling:TEST_NOTIFICATION</member> </AutoScalingNotificationTypes> </DescribeAutoScalingNotificationTypesResult> <ResponseMetadata> <RequestId>7c6e177f-f082-11e1-ac58-3714bEXAMPLE</RequestId> </ResponseMetadata> </DescribeAutoScalingNotificationTypesResponse>

See Also

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