- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
DescribeAutoScalingNotificationTypesCommand
Describes the notification types that are supported by Amazon EC2 Auto Scaling.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { AutoScalingClient, DescribeAutoScalingNotificationTypesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
// const { AutoScalingClient, DescribeAutoScalingNotificationTypesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
const client = new AutoScalingClient(config);
const input = {};
const command = new DescribeAutoScalingNotificationTypesCommand(input);
const response = await client.send(command);
// { // DescribeAutoScalingNotificationTypesAnswer
// AutoScalingNotificationTypes: [ // AutoScalingNotificationTypes
// "STRING_VALUE",
// ],
// };
Example Usage
Loading code editorLoading code editor
DescribeAutoScalingNotificationTypesCommand Input
See DescribeAutoScalingNotificationTypesCommandInput for more details
DescribeAutoScalingNotificationTypesCommandInput
DescribeAutoScalingNotificationTypesCommand Output
See DescribeAutoScalingNotificationTypesCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
AutoScalingNotificationTypes | string[] | undefined | The notification types. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
ResourceContentionFault | server | You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group, instance, or load balancer). |
AutoScalingServiceException | Base exception class for all service exceptions from AutoScaling service. |