@aws-sdk/client-auto-scaling 3.299.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AttachInstancesCommand.d.ts +6 -0
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +6 -0
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +6 -0
- package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +8 -0
- package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +6 -0
- package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +15 -0
- package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +3 -0
- package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +7 -0
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +154 -0
- package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +46 -0
- package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +11 -0
- package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +4 -0
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteTagsCommand.d.ts +11 -0
- package/dist-types/commands/DeleteWarmPoolCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +15 -0
- package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +7 -0
- package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +8 -0
- package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +7 -0
- package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +6 -0
- package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +5 -0
- package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +7 -0
- package/dist-types/commands/DescribePoliciesCommand.d.ts +11 -0
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +9 -0
- package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +10 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +12 -0
- package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeWarmPoolCommand.d.ts +5 -0
- package/dist-types/commands/DetachInstancesCommand.d.ts +7 -0
- package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +6 -0
- package/dist-types/commands/DetachLoadBalancersCommand.d.ts +6 -0
- package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +8 -0
- package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +6 -0
- package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +7 -0
- package/dist-types/commands/EnterStandbyCommand.d.ts +7 -0
- package/dist-types/commands/ExecutePolicyCommand.d.ts +7 -0
- package/dist-types/commands/ExitStandbyCommand.d.ts +6 -0
- package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +6 -0
- package/dist-types/commands/PutLifecycleHookCommand.d.ts +10 -0
- package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +7 -0
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +142 -0
- package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +12 -0
- package/dist-types/commands/PutWarmPoolCommand.d.ts +9 -0
- package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +6 -0
- package/dist-types/commands/ResumeProcessesCommand.d.ts +6 -0
- package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +3 -0
- package/dist-types/commands/SetDesiredCapacityCommand.d.ts +5 -0
- package/dist-types/commands/SetInstanceHealthCommand.d.ts +5 -0
- package/dist-types/commands/SetInstanceProtectionCommand.d.ts +7 -0
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +115 -0
- package/dist-types/commands/SuspendProcessesCommand.d.ts +6 -0
- package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +122 -0
- package/package.json +8 -8
|
@@ -26,6 +26,17 @@ export interface DescribePoliciesCommandOutput extends PoliciesType, __MetadataB
|
|
|
26
26
|
* import { AutoScalingClient, DescribePoliciesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DescribePoliciesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
+
* const input = { // DescribePoliciesType
|
|
30
|
+
* AutoScalingGroupName: "STRING_VALUE",
|
|
31
|
+
* PolicyNames: [ // PolicyNames
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* PolicyTypes: [ // PolicyTypes
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* MaxRecords: Number("int"),
|
|
39
|
+
* };
|
|
29
40
|
* const command = new DescribePoliciesCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
|
@@ -34,6 +34,15 @@ export interface DescribeScalingActivitiesCommandOutput extends ActivitiesType,
|
|
|
34
34
|
* import { AutoScalingClient, DescribeScalingActivitiesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
35
35
|
* // const { AutoScalingClient, DescribeScalingActivitiesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
36
36
|
* const client = new AutoScalingClient(config);
|
|
37
|
+
* const input = { // DescribeScalingActivitiesType
|
|
38
|
+
* ActivityIds: [ // ActivityIds
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* AutoScalingGroupName: "STRING_VALUE",
|
|
42
|
+
* IncludeDeletedGroups: true || false,
|
|
43
|
+
* MaxRecords: Number("int"),
|
|
44
|
+
* NextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
37
46
|
* const command = new DescribeScalingActivitiesCommand(input);
|
|
38
47
|
* const response = await client.send(command);
|
|
39
48
|
* ```
|
|
@@ -27,6 +27,7 @@ export interface DescribeScalingProcessTypesCommandOutput extends ProcessesType,
|
|
|
27
27
|
* import { AutoScalingClient, DescribeScalingProcessTypesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
28
28
|
* // const { AutoScalingClient, DescribeScalingProcessTypesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
29
29
|
* const client = new AutoScalingClient(config);
|
|
30
|
+
* const input = {};
|
|
30
31
|
* const command = new DescribeScalingProcessTypesCommand(input);
|
|
31
32
|
* const response = await client.send(command);
|
|
32
33
|
* ```
|
|
@@ -29,6 +29,16 @@ export interface DescribeScheduledActionsCommandOutput extends ScheduledActionsT
|
|
|
29
29
|
* import { AutoScalingClient, DescribeScheduledActionsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
30
30
|
* // const { AutoScalingClient, DescribeScheduledActionsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
31
31
|
* const client = new AutoScalingClient(config);
|
|
32
|
+
* const input = { // DescribeScheduledActionsType
|
|
33
|
+
* AutoScalingGroupName: "STRING_VALUE",
|
|
34
|
+
* ScheduledActionNames: [ // ScheduledActionNames
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
38
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* MaxRecords: Number("int"),
|
|
41
|
+
* };
|
|
32
42
|
* const command = new DescribeScheduledActionsCommand(input);
|
|
33
43
|
* const response = await client.send(command);
|
|
34
44
|
* ```
|
|
@@ -34,6 +34,18 @@ export interface DescribeTagsCommandOutput extends TagsType, __MetadataBearer {
|
|
|
34
34
|
* import { AutoScalingClient, DescribeTagsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
35
35
|
* // const { AutoScalingClient, DescribeTagsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
36
36
|
* const client = new AutoScalingClient(config);
|
|
37
|
+
* const input = { // DescribeTagsType
|
|
38
|
+
* Filters: [ // Filters
|
|
39
|
+
* { // Filter
|
|
40
|
+
* Name: "STRING_VALUE",
|
|
41
|
+
* Values: [ // Values
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* NextToken: "STRING_VALUE",
|
|
47
|
+
* MaxRecords: Number("int"),
|
|
48
|
+
* };
|
|
37
49
|
* const command = new DescribeTagsCommand(input);
|
|
38
50
|
* const response = await client.send(command);
|
|
39
51
|
* ```
|
|
@@ -29,6 +29,7 @@ export interface DescribeTerminationPolicyTypesCommandOutput extends DescribeTer
|
|
|
29
29
|
* import { AutoScalingClient, DescribeTerminationPolicyTypesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
30
30
|
* // const { AutoScalingClient, DescribeTerminationPolicyTypesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
31
31
|
* const client = new AutoScalingClient(config);
|
|
32
|
+
* const input = {};
|
|
32
33
|
* const command = new DescribeTerminationPolicyTypesCommand(input);
|
|
33
34
|
* const response = await client.send(command);
|
|
34
35
|
* ```
|
|
@@ -30,6 +30,12 @@ export interface DescribeTrafficSourcesCommandOutput extends DescribeTrafficSour
|
|
|
30
30
|
* import { AutoScalingClient, DescribeTrafficSourcesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
31
31
|
* // const { AutoScalingClient, DescribeTrafficSourcesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
32
32
|
* const client = new AutoScalingClient(config);
|
|
33
|
+
* const input = { // DescribeTrafficSourcesRequest
|
|
34
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
35
|
+
* TrafficSourceType: "STRING_VALUE", // required
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxRecords: Number("int"),
|
|
38
|
+
* };
|
|
33
39
|
* const command = new DescribeTrafficSourcesCommand(input);
|
|
34
40
|
* const response = await client.send(command);
|
|
35
41
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DescribeWarmPoolCommandOutput extends DescribeWarmPoolAnswer, _
|
|
|
28
28
|
* import { AutoScalingClient, DescribeWarmPoolCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
29
29
|
* // const { AutoScalingClient, DescribeWarmPoolCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
30
30
|
* const client = new AutoScalingClient(config);
|
|
31
|
+
* const input = { // DescribeWarmPoolType
|
|
32
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
33
|
+
* MaxRecords: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DescribeWarmPoolCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -35,6 +35,13 @@ export interface DetachInstancesCommandOutput extends DetachInstancesAnswer, __M
|
|
|
35
35
|
* import { AutoScalingClient, DetachInstancesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, DetachInstancesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
+
* const input = { // DetachInstancesQuery
|
|
39
|
+
* InstanceIds: [ // InstanceIds
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
43
|
+
* ShouldDecrementDesiredCapacity: true || false, // required
|
|
44
|
+
* };
|
|
38
45
|
* const command = new DetachInstancesCommand(input);
|
|
39
46
|
* const response = await client.send(command);
|
|
40
47
|
* ```
|
|
@@ -35,6 +35,12 @@ export interface DetachLoadBalancerTargetGroupsCommandOutput extends DetachLoadB
|
|
|
35
35
|
* import { AutoScalingClient, DetachLoadBalancerTargetGroupsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, DetachLoadBalancerTargetGroupsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
+
* const input = { // DetachLoadBalancerTargetGroupsType
|
|
39
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
40
|
+
* TargetGroupARNs: [ // TargetGroupARNs // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
38
44
|
* const command = new DetachLoadBalancerTargetGroupsCommand(input);
|
|
39
45
|
* const response = await client.send(command);
|
|
40
46
|
* ```
|
|
@@ -31,6 +31,12 @@ export interface DetachLoadBalancersCommandOutput extends DetachLoadBalancersRes
|
|
|
31
31
|
* import { AutoScalingClient, DetachLoadBalancersCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { AutoScalingClient, DetachLoadBalancersCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new AutoScalingClient(config);
|
|
34
|
+
* const input = { // DetachLoadBalancersType
|
|
35
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
36
|
+
* LoadBalancerNames: [ // LoadBalancerNames // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
34
40
|
* const command = new DetachLoadBalancersCommand(input);
|
|
35
41
|
* const response = await client.send(command);
|
|
36
42
|
* ```
|
|
@@ -30,6 +30,14 @@ export interface DetachTrafficSourcesCommandOutput extends DetachTrafficSourcesR
|
|
|
30
30
|
* import { AutoScalingClient, DetachTrafficSourcesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
31
31
|
* // const { AutoScalingClient, DetachTrafficSourcesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
32
32
|
* const client = new AutoScalingClient(config);
|
|
33
|
+
* const input = { // DetachTrafficSourcesType
|
|
34
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
35
|
+
* TrafficSources: [ // TrafficSources // required
|
|
36
|
+
* { // TrafficSourceIdentifier
|
|
37
|
+
* Identifier: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
33
41
|
* const command = new DetachTrafficSourcesCommand(input);
|
|
34
42
|
* const response = await client.send(command);
|
|
35
43
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface DisableMetricsCollectionCommandOutput extends __MetadataBearer
|
|
|
26
26
|
* import { AutoScalingClient, DisableMetricsCollectionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DisableMetricsCollectionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
+
* const input = { // DisableMetricsCollectionQuery
|
|
30
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
31
|
+
* Metrics: [ // Metrics
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new DisableMetricsCollectionCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -31,6 +31,13 @@ export interface EnableMetricsCollectionCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* import { AutoScalingClient, EnableMetricsCollectionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { AutoScalingClient, EnableMetricsCollectionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new AutoScalingClient(config);
|
|
34
|
+
* const input = { // EnableMetricsCollectionQuery
|
|
35
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
36
|
+
* Metrics: [ // Metrics
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* Granularity: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
34
41
|
* const command = new EnableMetricsCollectionCommand(input);
|
|
35
42
|
* const response = await client.send(command);
|
|
36
43
|
* ```
|
|
@@ -35,6 +35,13 @@ export interface EnterStandbyCommandOutput extends EnterStandbyAnswer, __Metadat
|
|
|
35
35
|
* import { AutoScalingClient, EnterStandbyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, EnterStandbyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
+
* const input = { // EnterStandbyQuery
|
|
39
|
+
* InstanceIds: [ // InstanceIds
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
43
|
+
* ShouldDecrementDesiredCapacity: true || false, // required
|
|
44
|
+
* };
|
|
38
45
|
* const command = new EnterStandbyCommand(input);
|
|
39
46
|
* const response = await client.send(command);
|
|
40
47
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface ExecutePolicyCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { AutoScalingClient, ExecutePolicyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
28
28
|
* // const { AutoScalingClient, ExecutePolicyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
29
29
|
* const client = new AutoScalingClient(config);
|
|
30
|
+
* const input = { // ExecutePolicyType
|
|
31
|
+
* AutoScalingGroupName: "STRING_VALUE",
|
|
32
|
+
* PolicyName: "STRING_VALUE", // required
|
|
33
|
+
* HonorCooldown: true || false,
|
|
34
|
+
* MetricValue: Number("double"),
|
|
35
|
+
* BreachThreshold: Number("double"),
|
|
36
|
+
* };
|
|
30
37
|
* const command = new ExecutePolicyCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -31,6 +31,12 @@ export interface ExitStandbyCommandOutput extends ExitStandbyAnswer, __MetadataB
|
|
|
31
31
|
* import { AutoScalingClient, ExitStandbyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { AutoScalingClient, ExitStandbyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new AutoScalingClient(config);
|
|
34
|
+
* const input = { // ExitStandbyQuery
|
|
35
|
+
* InstanceIds: [ // InstanceIds
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
34
40
|
* const command = new ExitStandbyCommand(input);
|
|
35
41
|
* const response = await client.send(command);
|
|
36
42
|
* ```
|
|
@@ -34,6 +34,12 @@ export interface GetPredictiveScalingForecastCommandOutput extends GetPredictive
|
|
|
34
34
|
* import { AutoScalingClient, GetPredictiveScalingForecastCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
35
35
|
* // const { AutoScalingClient, GetPredictiveScalingForecastCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
36
36
|
* const client = new AutoScalingClient(config);
|
|
37
|
+
* const input = { // GetPredictiveScalingForecastType
|
|
38
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
39
|
+
* PolicyName: "STRING_VALUE", // required
|
|
40
|
+
* StartTime: new Date("TIMESTAMP"), // required
|
|
41
|
+
* EndTime: new Date("TIMESTAMP"), // required
|
|
42
|
+
* };
|
|
37
43
|
* const command = new GetPredictiveScalingForecastCommand(input);
|
|
38
44
|
* const response = await client.send(command);
|
|
39
45
|
* ```
|
|
@@ -68,6 +68,16 @@ export interface PutLifecycleHookCommandOutput extends PutLifecycleHookAnswer, _
|
|
|
68
68
|
* import { AutoScalingClient, PutLifecycleHookCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
69
69
|
* // const { AutoScalingClient, PutLifecycleHookCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
70
70
|
* const client = new AutoScalingClient(config);
|
|
71
|
+
* const input = { // PutLifecycleHookType
|
|
72
|
+
* LifecycleHookName: "STRING_VALUE", // required
|
|
73
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
74
|
+
* LifecycleTransition: "STRING_VALUE",
|
|
75
|
+
* RoleARN: "STRING_VALUE",
|
|
76
|
+
* NotificationTargetARN: "STRING_VALUE",
|
|
77
|
+
* NotificationMetadata: "STRING_VALUE",
|
|
78
|
+
* HeartbeatTimeout: Number("int"),
|
|
79
|
+
* DefaultResult: "STRING_VALUE",
|
|
80
|
+
* };
|
|
71
81
|
* const command = new PutLifecycleHookCommand(input);
|
|
72
82
|
* const response = await client.send(command);
|
|
73
83
|
* ```
|
|
@@ -34,6 +34,13 @@ export interface PutNotificationConfigurationCommandOutput extends __MetadataBea
|
|
|
34
34
|
* import { AutoScalingClient, PutNotificationConfigurationCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
35
35
|
* // const { AutoScalingClient, PutNotificationConfigurationCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
36
36
|
* const client = new AutoScalingClient(config);
|
|
37
|
+
* const input = { // PutNotificationConfigurationType
|
|
38
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
39
|
+
* TopicARN: "STRING_VALUE", // required
|
|
40
|
+
* NotificationTypes: [ // AutoScalingNotificationTypes // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
37
44
|
* const command = new PutNotificationConfigurationCommand(input);
|
|
38
45
|
* const response = await client.send(command);
|
|
39
46
|
* ```
|
|
@@ -35,6 +35,148 @@ export interface PutScalingPolicyCommandOutput extends PolicyARNType, __Metadata
|
|
|
35
35
|
* import { AutoScalingClient, PutScalingPolicyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, PutScalingPolicyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
+
* const input = { // PutScalingPolicyType
|
|
39
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
40
|
+
* PolicyName: "STRING_VALUE", // required
|
|
41
|
+
* PolicyType: "STRING_VALUE",
|
|
42
|
+
* AdjustmentType: "STRING_VALUE",
|
|
43
|
+
* MinAdjustmentStep: Number("int"),
|
|
44
|
+
* MinAdjustmentMagnitude: Number("int"),
|
|
45
|
+
* ScalingAdjustment: Number("int"),
|
|
46
|
+
* Cooldown: Number("int"),
|
|
47
|
+
* MetricAggregationType: "STRING_VALUE",
|
|
48
|
+
* StepAdjustments: [ // StepAdjustments
|
|
49
|
+
* { // StepAdjustment
|
|
50
|
+
* MetricIntervalLowerBound: Number("double"),
|
|
51
|
+
* MetricIntervalUpperBound: Number("double"),
|
|
52
|
+
* ScalingAdjustment: Number("int"), // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* EstimatedInstanceWarmup: Number("int"),
|
|
56
|
+
* TargetTrackingConfiguration: { // TargetTrackingConfiguration
|
|
57
|
+
* PredefinedMetricSpecification: { // PredefinedMetricSpecification
|
|
58
|
+
* PredefinedMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "ALBRequestCountPerTarget", // required
|
|
59
|
+
* ResourceLabel: "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
|
+
* CustomizedMetricSpecification: { // CustomizedMetricSpecification
|
|
62
|
+
* MetricName: "STRING_VALUE",
|
|
63
|
+
* Namespace: "STRING_VALUE",
|
|
64
|
+
* Dimensions: [ // MetricDimensions
|
|
65
|
+
* { // MetricDimension
|
|
66
|
+
* Name: "STRING_VALUE", // required
|
|
67
|
+
* Value: "STRING_VALUE", // required
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum",
|
|
71
|
+
* Unit: "STRING_VALUE",
|
|
72
|
+
* Metrics: [ // TargetTrackingMetricDataQueries
|
|
73
|
+
* { // TargetTrackingMetricDataQuery
|
|
74
|
+
* Id: "STRING_VALUE", // required
|
|
75
|
+
* Expression: "STRING_VALUE",
|
|
76
|
+
* MetricStat: { // TargetTrackingMetricStat
|
|
77
|
+
* Metric: { // Metric
|
|
78
|
+
* Namespace: "STRING_VALUE", // required
|
|
79
|
+
* MetricName: "STRING_VALUE", // required
|
|
80
|
+
* Dimensions: [
|
|
81
|
+
* {
|
|
82
|
+
* Name: "STRING_VALUE", // required
|
|
83
|
+
* Value: "STRING_VALUE", // required
|
|
84
|
+
* },
|
|
85
|
+
* ],
|
|
86
|
+
* },
|
|
87
|
+
* Stat: "STRING_VALUE", // required
|
|
88
|
+
* Unit: "STRING_VALUE",
|
|
89
|
+
* },
|
|
90
|
+
* Label: "STRING_VALUE",
|
|
91
|
+
* ReturnData: true || false,
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* },
|
|
95
|
+
* TargetValue: Number("double"), // required
|
|
96
|
+
* DisableScaleIn: true || false,
|
|
97
|
+
* },
|
|
98
|
+
* Enabled: true || false,
|
|
99
|
+
* PredictiveScalingConfiguration: { // PredictiveScalingConfiguration
|
|
100
|
+
* MetricSpecifications: [ // PredictiveScalingMetricSpecifications // required
|
|
101
|
+
* { // PredictiveScalingMetricSpecification
|
|
102
|
+
* TargetValue: Number("double"), // required
|
|
103
|
+
* PredefinedMetricPairSpecification: { // PredictiveScalingPredefinedMetricPair
|
|
104
|
+
* PredefinedMetricType: "ASGCPUUtilization" || "ASGNetworkIn" || "ASGNetworkOut" || "ALBRequestCount", // required
|
|
105
|
+
* ResourceLabel: "STRING_VALUE",
|
|
106
|
+
* },
|
|
107
|
+
* PredefinedScalingMetricSpecification: { // PredictiveScalingPredefinedScalingMetric
|
|
108
|
+
* PredefinedMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "ALBRequestCountPerTarget", // required
|
|
109
|
+
* ResourceLabel: "STRING_VALUE",
|
|
110
|
+
* },
|
|
111
|
+
* PredefinedLoadMetricSpecification: { // PredictiveScalingPredefinedLoadMetric
|
|
112
|
+
* PredefinedMetricType: "ASGTotalCPUUtilization" || "ASGTotalNetworkIn" || "ASGTotalNetworkOut" || "ALBTargetGroupRequestCount", // required
|
|
113
|
+
* ResourceLabel: "STRING_VALUE",
|
|
114
|
+
* },
|
|
115
|
+
* CustomizedScalingMetricSpecification: { // PredictiveScalingCustomizedScalingMetric
|
|
116
|
+
* MetricDataQueries: [ // MetricDataQueries // required
|
|
117
|
+
* { // MetricDataQuery
|
|
118
|
+
* Id: "STRING_VALUE", // required
|
|
119
|
+
* Expression: "STRING_VALUE",
|
|
120
|
+
* MetricStat: { // MetricStat
|
|
121
|
+
* Metric: {
|
|
122
|
+
* Namespace: "STRING_VALUE", // required
|
|
123
|
+
* MetricName: "STRING_VALUE", // required
|
|
124
|
+
* Dimensions: "<MetricDimensions>",
|
|
125
|
+
* },
|
|
126
|
+
* Stat: "STRING_VALUE", // required
|
|
127
|
+
* Unit: "STRING_VALUE",
|
|
128
|
+
* },
|
|
129
|
+
* Label: "STRING_VALUE",
|
|
130
|
+
* ReturnData: true || false,
|
|
131
|
+
* },
|
|
132
|
+
* ],
|
|
133
|
+
* },
|
|
134
|
+
* CustomizedLoadMetricSpecification: { // PredictiveScalingCustomizedLoadMetric
|
|
135
|
+
* MetricDataQueries: [ // required
|
|
136
|
+
* {
|
|
137
|
+
* Id: "STRING_VALUE", // required
|
|
138
|
+
* Expression: "STRING_VALUE",
|
|
139
|
+
* MetricStat: {
|
|
140
|
+
* Metric: {
|
|
141
|
+
* Namespace: "STRING_VALUE", // required
|
|
142
|
+
* MetricName: "STRING_VALUE", // required
|
|
143
|
+
* Dimensions: "<MetricDimensions>",
|
|
144
|
+
* },
|
|
145
|
+
* Stat: "STRING_VALUE", // required
|
|
146
|
+
* Unit: "STRING_VALUE",
|
|
147
|
+
* },
|
|
148
|
+
* Label: "STRING_VALUE",
|
|
149
|
+
* ReturnData: true || false,
|
|
150
|
+
* },
|
|
151
|
+
* ],
|
|
152
|
+
* },
|
|
153
|
+
* CustomizedCapacityMetricSpecification: { // PredictiveScalingCustomizedCapacityMetric
|
|
154
|
+
* MetricDataQueries: [ // required
|
|
155
|
+
* {
|
|
156
|
+
* Id: "STRING_VALUE", // required
|
|
157
|
+
* Expression: "STRING_VALUE",
|
|
158
|
+
* MetricStat: {
|
|
159
|
+
* Metric: {
|
|
160
|
+
* Namespace: "STRING_VALUE", // required
|
|
161
|
+
* MetricName: "STRING_VALUE", // required
|
|
162
|
+
* Dimensions: "<MetricDimensions>",
|
|
163
|
+
* },
|
|
164
|
+
* Stat: "STRING_VALUE", // required
|
|
165
|
+
* Unit: "STRING_VALUE",
|
|
166
|
+
* },
|
|
167
|
+
* Label: "STRING_VALUE",
|
|
168
|
+
* ReturnData: true || false,
|
|
169
|
+
* },
|
|
170
|
+
* ],
|
|
171
|
+
* },
|
|
172
|
+
* },
|
|
173
|
+
* ],
|
|
174
|
+
* Mode: "ForecastAndScale" || "ForecastOnly",
|
|
175
|
+
* SchedulingBufferTime: Number("int"),
|
|
176
|
+
* MaxCapacityBreachBehavior: "HonorMaxCapacity" || "IncreaseMaxCapacity",
|
|
177
|
+
* MaxCapacityBuffer: Number("int"),
|
|
178
|
+
* },
|
|
179
|
+
* };
|
|
38
180
|
* const command = new PutScalingPolicyCommand(input);
|
|
39
181
|
* const response = await client.send(command);
|
|
40
182
|
* ```
|
|
@@ -32,6 +32,18 @@ export interface PutScheduledUpdateGroupActionCommandOutput extends __MetadataBe
|
|
|
32
32
|
* import { AutoScalingClient, PutScheduledUpdateGroupActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
33
33
|
* // const { AutoScalingClient, PutScheduledUpdateGroupActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
34
34
|
* const client = new AutoScalingClient(config);
|
|
35
|
+
* const input = { // PutScheduledUpdateGroupActionType
|
|
36
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
37
|
+
* ScheduledActionName: "STRING_VALUE", // required
|
|
38
|
+
* Time: new Date("TIMESTAMP"),
|
|
39
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
40
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
41
|
+
* Recurrence: "STRING_VALUE",
|
|
42
|
+
* MinSize: Number("int"),
|
|
43
|
+
* MaxSize: Number("int"),
|
|
44
|
+
* DesiredCapacity: Number("int"),
|
|
45
|
+
* TimeZone: "STRING_VALUE",
|
|
46
|
+
* };
|
|
35
47
|
* const command = new PutScheduledUpdateGroupActionCommand(input);
|
|
36
48
|
* const response = await client.send(command);
|
|
37
49
|
* ```
|
|
@@ -35,6 +35,15 @@ export interface PutWarmPoolCommandOutput extends PutWarmPoolAnswer, __MetadataB
|
|
|
35
35
|
* import { AutoScalingClient, PutWarmPoolCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, PutWarmPoolCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
+
* const input = { // PutWarmPoolType
|
|
39
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
40
|
+
* MaxGroupPreparedCapacity: Number("int"),
|
|
41
|
+
* MinSize: Number("int"),
|
|
42
|
+
* PoolState: "Stopped" || "Running" || "Hibernated",
|
|
43
|
+
* InstanceReusePolicy: { // InstanceReusePolicy
|
|
44
|
+
* ReuseOnScaleIn: true || false,
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
38
47
|
* const command = new PutWarmPoolCommand(input);
|
|
39
48
|
* const response = await client.send(command);
|
|
40
49
|
* ```
|
|
@@ -62,6 +62,12 @@ export interface RecordLifecycleActionHeartbeatCommandOutput extends RecordLifec
|
|
|
62
62
|
* import { AutoScalingClient, RecordLifecycleActionHeartbeatCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
63
63
|
* // const { AutoScalingClient, RecordLifecycleActionHeartbeatCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
64
64
|
* const client = new AutoScalingClient(config);
|
|
65
|
+
* const input = { // RecordLifecycleActionHeartbeatType
|
|
66
|
+
* LifecycleHookName: "STRING_VALUE", // required
|
|
67
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
68
|
+
* LifecycleActionToken: "STRING_VALUE",
|
|
69
|
+
* InstanceId: "STRING_VALUE",
|
|
70
|
+
* };
|
|
65
71
|
* const command = new RecordLifecycleActionHeartbeatCommand(input);
|
|
66
72
|
* const response = await client.send(command);
|
|
67
73
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface ResumeProcessesCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { AutoScalingClient, ResumeProcessesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
30
30
|
* // const { AutoScalingClient, ResumeProcessesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
31
31
|
* const client = new AutoScalingClient(config);
|
|
32
|
+
* const input = { // ScalingProcessQuery
|
|
33
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
34
|
+
* ScalingProcesses: [ // ProcessNames
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
32
38
|
* const command = new ResumeProcessesCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -48,6 +48,9 @@ export interface RollbackInstanceRefreshCommandOutput extends RollbackInstanceRe
|
|
|
48
48
|
* import { AutoScalingClient, RollbackInstanceRefreshCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
49
49
|
* // const { AutoScalingClient, RollbackInstanceRefreshCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
50
50
|
* const client = new AutoScalingClient(config);
|
|
51
|
+
* const input = { // RollbackInstanceRefreshType
|
|
52
|
+
* AutoScalingGroupName: "STRING_VALUE",
|
|
53
|
+
* };
|
|
51
54
|
* const command = new RollbackInstanceRefreshCommand(input);
|
|
52
55
|
* const response = await client.send(command);
|
|
53
56
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface SetDesiredCapacityCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* import { AutoScalingClient, SetDesiredCapacityCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { AutoScalingClient, SetDesiredCapacityCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new AutoScalingClient(config);
|
|
34
|
+
* const input = { // SetDesiredCapacityType
|
|
35
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
36
|
+
* DesiredCapacity: Number("int"), // required
|
|
37
|
+
* HonorCooldown: true || false,
|
|
38
|
+
* };
|
|
34
39
|
* const command = new SetDesiredCapacityCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface SetInstanceHealthCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { AutoScalingClient, SetInstanceHealthCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
29
29
|
* // const { AutoScalingClient, SetInstanceHealthCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
30
30
|
* const client = new AutoScalingClient(config);
|
|
31
|
+
* const input = { // SetInstanceHealthQuery
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* HealthStatus: "STRING_VALUE", // required
|
|
34
|
+
* ShouldRespectGracePeriod: true || false,
|
|
35
|
+
* };
|
|
31
36
|
* const command = new SetInstanceHealthCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -33,6 +33,13 @@ export interface SetInstanceProtectionCommandOutput extends SetInstanceProtectio
|
|
|
33
33
|
* import { AutoScalingClient, SetInstanceProtectionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
34
34
|
* // const { AutoScalingClient, SetInstanceProtectionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
35
35
|
* const client = new AutoScalingClient(config);
|
|
36
|
+
* const input = { // SetInstanceProtectionQuery
|
|
37
|
+
* InstanceIds: [ // InstanceIds // required
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
41
|
+
* ProtectedFromScaleIn: true || false, // required
|
|
42
|
+
* };
|
|
36
43
|
* const command = new SetInstanceProtectionCommand(input);
|
|
37
44
|
* const response = await client.send(command);
|
|
38
45
|
* ```
|