DescribeAdjustmentTypesCommand

Describes the available adjustment types for step scaling and simple scaling policies.

The following adjustment types are supported:

  • ChangeInCapacity

  • ExactCapacity

  • PercentChangeInCapacity

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { AutoScalingClient, DescribeAdjustmentTypesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
// const { AutoScalingClient, DescribeAdjustmentTypesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
const client = new AutoScalingClient(config);
const input = {};
const command = new DescribeAdjustmentTypesCommand(input);
const response = await client.send(command);
// { // DescribeAdjustmentTypesAnswer
//   AdjustmentTypes: [ // AdjustmentTypes
//     { // AdjustmentType
//       AdjustmentType: "STRING_VALUE",
//     },
//   ],
// };

Example Usage

 There was an error loading the code editor. Retry

DescribeAdjustmentTypesCommand Input

See DescribeAdjustmentTypesCommandInput for more details
DescribeAdjustmentTypesCommandInput 

DescribeAdjustmentTypesCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
AdjustmentTypes
AdjustmentType[] | undefined

The policy adjustment types.

Throws

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.