@aws-sdk/client-application-auto-scaling 3.321.1 → 3.326.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/DeleteScalingPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +4 -0
- package/dist-types/commands/DeregisterScalableTargetCommand.d.ts +4 -0
- package/dist-types/commands/DescribeScalableTargetsCommand.d.ts +23 -0
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +29 -0
- package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +80 -0
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +24 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +12 -0
- package/dist-types/commands/PutScheduledActionCommand.d.ts +4 -0
- package/dist-types/commands/RegisterScalableTargetCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/package.json +16 -16
|
@@ -39,6 +39,8 @@ export interface DeleteScalingPolicyCommandOutput extends DeleteScalingPolicyRes
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new DeleteScalingPolicyCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
42
44
|
* ```
|
|
43
45
|
*
|
|
44
46
|
* @param DeleteScalingPolicyCommandInput - {@link DeleteScalingPolicyCommandInput}
|
|
@@ -65,6 +67,8 @@ export interface DeleteScalingPolicyCommandOutput extends DeleteScalingPolicyRes
|
|
|
65
67
|
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
66
68
|
* API request.</p>
|
|
67
69
|
*
|
|
70
|
+
* @throws {@link ApplicationAutoScalingServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
68
72
|
*
|
|
69
73
|
* @example To delete a scaling policy
|
|
70
74
|
* ```javascript
|
|
@@ -35,6 +35,8 @@ export interface DeleteScheduledActionCommandOutput extends DeleteScheduledActio
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DeleteScheduledActionCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
38
40
|
* ```
|
|
39
41
|
*
|
|
40
42
|
* @param DeleteScheduledActionCommandInput - {@link DeleteScheduledActionCommandInput}
|
|
@@ -61,6 +63,8 @@ export interface DeleteScheduledActionCommandOutput extends DeleteScheduledActio
|
|
|
61
63
|
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
62
64
|
* API request.</p>
|
|
63
65
|
*
|
|
66
|
+
* @throws {@link ApplicationAutoScalingServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
64
68
|
*
|
|
65
69
|
* @example To delete a scheduled action
|
|
66
70
|
* ```javascript
|
|
@@ -38,6 +38,8 @@ export interface DeregisterScalableTargetCommandOutput extends DeregisterScalabl
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new DeregisterScalableTargetCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
41
43
|
* ```
|
|
42
44
|
*
|
|
43
45
|
* @param DeregisterScalableTargetCommandInput - {@link DeregisterScalableTargetCommandInput}
|
|
@@ -64,6 +66,8 @@ export interface DeregisterScalableTargetCommandOutput extends DeregisterScalabl
|
|
|
64
66
|
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
65
67
|
* API request.</p>
|
|
66
68
|
*
|
|
69
|
+
* @throws {@link ApplicationAutoScalingServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
67
71
|
*
|
|
68
72
|
* @example To deregister a scalable target
|
|
69
73
|
* ```javascript
|
|
@@ -39,6 +39,27 @@ export interface DescribeScalableTargetsCommandOutput extends DescribeScalableTa
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new DescribeScalableTargetsCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // DescribeScalableTargetsResponse
|
|
43
|
+
* // ScalableTargets: [ // ScalableTargets
|
|
44
|
+
* // { // ScalableTarget
|
|
45
|
+
* // ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
46
|
+
* // ResourceId: "STRING_VALUE", // required
|
|
47
|
+
* // ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount", // required
|
|
48
|
+
* // MinCapacity: Number("int"), // required
|
|
49
|
+
* // MaxCapacity: Number("int"), // required
|
|
50
|
+
* // RoleARN: "STRING_VALUE", // required
|
|
51
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // SuspendedState: { // SuspendedState
|
|
53
|
+
* // DynamicScalingInSuspended: true || false,
|
|
54
|
+
* // DynamicScalingOutSuspended: true || false,
|
|
55
|
+
* // ScheduledScalingSuspended: true || false,
|
|
56
|
+
* // },
|
|
57
|
+
* // ScalableTargetARN: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // NextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
42
63
|
* ```
|
|
43
64
|
*
|
|
44
65
|
* @param DescribeScalableTargetsCommandInput - {@link DescribeScalableTargetsCommandInput}
|
|
@@ -61,6 +82,8 @@ export interface DescribeScalableTargetsCommandOutput extends DescribeScalableTa
|
|
|
61
82
|
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
62
83
|
* API request.</p>
|
|
63
84
|
*
|
|
85
|
+
* @throws {@link ApplicationAutoScalingServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
64
87
|
*
|
|
65
88
|
* @example To describe scalable targets
|
|
66
89
|
* ```javascript
|
|
@@ -40,6 +40,33 @@ export interface DescribeScalingActivitiesCommandOutput extends DescribeScalingA
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new DescribeScalingActivitiesCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // DescribeScalingActivitiesResponse
|
|
44
|
+
* // ScalingActivities: [ // ScalingActivities
|
|
45
|
+
* // { // ScalingActivity
|
|
46
|
+
* // ActivityId: "STRING_VALUE", // required
|
|
47
|
+
* // ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
48
|
+
* // ResourceId: "STRING_VALUE", // required
|
|
49
|
+
* // ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount", // required
|
|
50
|
+
* // Description: "STRING_VALUE", // required
|
|
51
|
+
* // Cause: "STRING_VALUE", // required
|
|
52
|
+
* // StartTime: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // StatusCode: "Pending" || "InProgress" || "Successful" || "Overridden" || "Unfulfilled" || "Failed", // required
|
|
55
|
+
* // StatusMessage: "STRING_VALUE",
|
|
56
|
+
* // Details: "STRING_VALUE",
|
|
57
|
+
* // NotScaledReasons: [ // NotScaledReasons
|
|
58
|
+
* // { // NotScaledReason
|
|
59
|
+
* // Code: "STRING_VALUE", // required
|
|
60
|
+
* // MaxCapacity: Number("int"),
|
|
61
|
+
* // MinCapacity: Number("int"),
|
|
62
|
+
* // CurrentCapacity: Number("int"),
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // NextToken: "STRING_VALUE",
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
43
70
|
* ```
|
|
44
71
|
*
|
|
45
72
|
* @param DescribeScalingActivitiesCommandInput - {@link DescribeScalingActivitiesCommandInput}
|
|
@@ -62,6 +89,8 @@ export interface DescribeScalingActivitiesCommandOutput extends DescribeScalingA
|
|
|
62
89
|
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
63
90
|
* API request.</p>
|
|
64
91
|
*
|
|
92
|
+
* @throws {@link ApplicationAutoScalingServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
65
94
|
*
|
|
66
95
|
* @example To describe scaling activities for a scalable target
|
|
67
96
|
* ```javascript
|
|
@@ -41,6 +41,84 @@ export interface DescribeScalingPoliciesCommandOutput extends DescribeScalingPol
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new DescribeScalingPoliciesCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // { // DescribeScalingPoliciesResponse
|
|
45
|
+
* // ScalingPolicies: [ // ScalingPolicies
|
|
46
|
+
* // { // ScalingPolicy
|
|
47
|
+
* // PolicyARN: "STRING_VALUE", // required
|
|
48
|
+
* // PolicyName: "STRING_VALUE", // required
|
|
49
|
+
* // ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
50
|
+
* // ResourceId: "STRING_VALUE", // required
|
|
51
|
+
* // ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount", // required
|
|
52
|
+
* // PolicyType: "StepScaling" || "TargetTrackingScaling", // required
|
|
53
|
+
* // StepScalingPolicyConfiguration: { // StepScalingPolicyConfiguration
|
|
54
|
+
* // AdjustmentType: "ChangeInCapacity" || "PercentChangeInCapacity" || "ExactCapacity",
|
|
55
|
+
* // StepAdjustments: [ // StepAdjustments
|
|
56
|
+
* // { // StepAdjustment
|
|
57
|
+
* // MetricIntervalLowerBound: Number("double"),
|
|
58
|
+
* // MetricIntervalUpperBound: Number("double"),
|
|
59
|
+
* // ScalingAdjustment: Number("int"), // required
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // MinAdjustmentMagnitude: Number("int"),
|
|
63
|
+
* // Cooldown: Number("int"),
|
|
64
|
+
* // MetricAggregationType: "Average" || "Minimum" || "Maximum",
|
|
65
|
+
* // },
|
|
66
|
+
* // TargetTrackingScalingPolicyConfiguration: { // TargetTrackingScalingPolicyConfiguration
|
|
67
|
+
* // TargetValue: Number("double"), // required
|
|
68
|
+
* // PredefinedMetricSpecification: { // PredefinedMetricSpecification
|
|
69
|
+
* // PredefinedMetricType: "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut" || "SageMakerVariantInvocationsPerInstance" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "AppStreamAverageCapacityUtilization" || "ComprehendInferenceUtilization" || "LambdaProvisionedConcurrencyUtilization" || "CassandraReadCapacityUtilization" || "CassandraWriteCapacityUtilization" || "KafkaBrokerStorageUtilization" || "ElastiCachePrimaryEngineCPUUtilization" || "ElastiCacheReplicaEngineCPUUtilization" || "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage" || "NeptuneReaderAverageCPUUtilization", // required
|
|
70
|
+
* // ResourceLabel: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // CustomizedMetricSpecification: { // CustomizedMetricSpecification
|
|
73
|
+
* // MetricName: "STRING_VALUE",
|
|
74
|
+
* // Namespace: "STRING_VALUE",
|
|
75
|
+
* // Dimensions: [ // MetricDimensions
|
|
76
|
+
* // { // MetricDimension
|
|
77
|
+
* // Name: "STRING_VALUE", // required
|
|
78
|
+
* // Value: "STRING_VALUE", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum",
|
|
82
|
+
* // Unit: "STRING_VALUE",
|
|
83
|
+
* // Metrics: [ // TargetTrackingMetricDataQueries
|
|
84
|
+
* // { // TargetTrackingMetricDataQuery
|
|
85
|
+
* // Expression: "STRING_VALUE",
|
|
86
|
+
* // Id: "STRING_VALUE", // required
|
|
87
|
+
* // Label: "STRING_VALUE",
|
|
88
|
+
* // MetricStat: { // TargetTrackingMetricStat
|
|
89
|
+
* // Metric: { // TargetTrackingMetric
|
|
90
|
+
* // Dimensions: [ // TargetTrackingMetricDimensions
|
|
91
|
+
* // { // TargetTrackingMetricDimension
|
|
92
|
+
* // Name: "STRING_VALUE", // required
|
|
93
|
+
* // Value: "STRING_VALUE", // required
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // MetricName: "STRING_VALUE",
|
|
97
|
+
* // Namespace: "STRING_VALUE",
|
|
98
|
+
* // },
|
|
99
|
+
* // Stat: "STRING_VALUE", // required
|
|
100
|
+
* // Unit: "STRING_VALUE",
|
|
101
|
+
* // },
|
|
102
|
+
* // ReturnData: true || false,
|
|
103
|
+
* // },
|
|
104
|
+
* // ],
|
|
105
|
+
* // },
|
|
106
|
+
* // ScaleOutCooldown: Number("int"),
|
|
107
|
+
* // ScaleInCooldown: Number("int"),
|
|
108
|
+
* // DisableScaleIn: true || false,
|
|
109
|
+
* // },
|
|
110
|
+
* // Alarms: [ // Alarms
|
|
111
|
+
* // { // Alarm
|
|
112
|
+
* // AlarmName: "STRING_VALUE", // required
|
|
113
|
+
* // AlarmARN: "STRING_VALUE", // required
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
119
|
+
* // NextToken: "STRING_VALUE",
|
|
120
|
+
* // };
|
|
121
|
+
*
|
|
44
122
|
* ```
|
|
45
123
|
*
|
|
46
124
|
* @param DescribeScalingPoliciesCommandInput - {@link DescribeScalingPoliciesCommandInput}
|
|
@@ -69,6 +147,8 @@ export interface DescribeScalingPoliciesCommandOutput extends DescribeScalingPol
|
|
|
69
147
|
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
70
148
|
* API request.</p>
|
|
71
149
|
*
|
|
150
|
+
* @throws {@link ApplicationAutoScalingServiceException}
|
|
151
|
+
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
72
152
|
*
|
|
73
153
|
* @example To describe scaling policies
|
|
74
154
|
* ```javascript
|
|
@@ -42,6 +42,28 @@ export interface DescribeScheduledActionsCommandOutput extends DescribeScheduled
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new DescribeScheduledActionsCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // DescribeScheduledActionsResponse
|
|
46
|
+
* // ScheduledActions: [ // ScheduledActions
|
|
47
|
+
* // { // ScheduledAction
|
|
48
|
+
* // ScheduledActionName: "STRING_VALUE", // required
|
|
49
|
+
* // ScheduledActionARN: "STRING_VALUE", // required
|
|
50
|
+
* // ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
51
|
+
* // Schedule: "STRING_VALUE", // required
|
|
52
|
+
* // Timezone: "STRING_VALUE",
|
|
53
|
+
* // ResourceId: "STRING_VALUE", // required
|
|
54
|
+
* // ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount",
|
|
55
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // ScalableTargetAction: { // ScalableTargetAction
|
|
58
|
+
* // MinCapacity: Number("int"),
|
|
59
|
+
* // MaxCapacity: Number("int"),
|
|
60
|
+
* // },
|
|
61
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // NextToken: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
45
67
|
* ```
|
|
46
68
|
*
|
|
47
69
|
* @param DescribeScheduledActionsCommandInput - {@link DescribeScheduledActionsCommandInput}
|
|
@@ -64,6 +86,8 @@ export interface DescribeScheduledActionsCommandOutput extends DescribeScheduled
|
|
|
64
86
|
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
65
87
|
* API request.</p>
|
|
66
88
|
*
|
|
89
|
+
* @throws {@link ApplicationAutoScalingServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
67
91
|
*
|
|
68
92
|
* @example To describe scheduled actions
|
|
69
93
|
* ```javascript
|
|
@@ -33,6 +33,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListTagsForResourceCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListTagsForResourceResponse
|
|
37
|
+
* // Tags: { // TagMap
|
|
38
|
+
* // "<keys>": "STRING_VALUE",
|
|
39
|
+
* // },
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
36
42
|
* ```
|
|
37
43
|
*
|
|
38
44
|
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
@@ -44,6 +50,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
44
50
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
45
51
|
* <p>The specified resource doesn't exist.</p>
|
|
46
52
|
*
|
|
53
|
+
* @throws {@link ApplicationAutoScalingServiceException}
|
|
54
|
+
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
47
55
|
*
|
|
48
56
|
* @example To list tags for a scalable target
|
|
49
57
|
* ```javascript
|
|
@@ -116,6 +116,16 @@ export interface PutScalingPolicyCommandOutput extends PutScalingPolicyResponse,
|
|
|
116
116
|
* };
|
|
117
117
|
* const command = new PutScalingPolicyCommand(input);
|
|
118
118
|
* const response = await client.send(command);
|
|
119
|
+
* // { // PutScalingPolicyResponse
|
|
120
|
+
* // PolicyARN: "STRING_VALUE", // required
|
|
121
|
+
* // Alarms: [ // Alarms
|
|
122
|
+
* // { // Alarm
|
|
123
|
+
* // AlarmName: "STRING_VALUE", // required
|
|
124
|
+
* // AlarmARN: "STRING_VALUE", // required
|
|
125
|
+
* // },
|
|
126
|
+
* // ],
|
|
127
|
+
* // };
|
|
128
|
+
*
|
|
119
129
|
* ```
|
|
120
130
|
*
|
|
121
131
|
* @param PutScalingPolicyCommandInput - {@link PutScalingPolicyCommandInput}
|
|
@@ -151,6 +161,8 @@ export interface PutScalingPolicyCommandOutput extends PutScalingPolicyResponse,
|
|
|
151
161
|
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
152
162
|
* API request.</p>
|
|
153
163
|
*
|
|
164
|
+
* @throws {@link ApplicationAutoScalingServiceException}
|
|
165
|
+
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
154
166
|
*
|
|
155
167
|
* @example To apply a target tracking scaling policy with a predefined metric specification
|
|
156
168
|
* ```javascript
|
|
@@ -56,6 +56,8 @@ export interface PutScheduledActionCommandOutput extends PutScheduledActionRespo
|
|
|
56
56
|
* };
|
|
57
57
|
* const command = new PutScheduledActionCommand(input);
|
|
58
58
|
* const response = await client.send(command);
|
|
59
|
+
* // {};
|
|
60
|
+
*
|
|
59
61
|
* ```
|
|
60
62
|
*
|
|
61
63
|
* @param PutScheduledActionCommandInput - {@link PutScheduledActionCommandInput}
|
|
@@ -85,6 +87,8 @@ export interface PutScheduledActionCommandOutput extends PutScheduledActionRespo
|
|
|
85
87
|
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
86
88
|
* API request.</p>
|
|
87
89
|
*
|
|
90
|
+
* @throws {@link ApplicationAutoScalingServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
88
92
|
*
|
|
89
93
|
* @example To create a recurring scheduled action
|
|
90
94
|
* ```javascript
|
|
@@ -75,6 +75,10 @@ export interface RegisterScalableTargetCommandOutput extends RegisterScalableTar
|
|
|
75
75
|
* };
|
|
76
76
|
* const command = new RegisterScalableTargetCommand(input);
|
|
77
77
|
* const response = await client.send(command);
|
|
78
|
+
* // { // RegisterScalableTargetResponse
|
|
79
|
+
* // ScalableTargetARN: "STRING_VALUE",
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
78
82
|
* ```
|
|
79
83
|
*
|
|
80
84
|
* @param RegisterScalableTargetCommandInput - {@link RegisterScalableTargetCommandInput}
|
|
@@ -97,6 +101,8 @@ export interface RegisterScalableTargetCommandOutput extends RegisterScalableTar
|
|
|
97
101
|
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
98
102
|
* API request.</p>
|
|
99
103
|
*
|
|
104
|
+
* @throws {@link ApplicationAutoScalingServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
100
106
|
*
|
|
101
107
|
* @example To register an ECS service as a scalable target
|
|
102
108
|
* ```javascript
|
|
@@ -45,6 +45,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
45
45
|
* };
|
|
46
46
|
* const command = new TagResourceCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
48
50
|
* ```
|
|
49
51
|
*
|
|
50
52
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -63,6 +65,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
63
65
|
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
64
66
|
* API request.</p>
|
|
65
67
|
*
|
|
68
|
+
* @throws {@link ApplicationAutoScalingServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
66
70
|
*
|
|
67
71
|
* @example To add a tag to a scalable target
|
|
68
72
|
* ```javascript
|
|
@@ -35,6 +35,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new UntagResourceCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
38
40
|
* ```
|
|
39
41
|
*
|
|
40
42
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -50,6 +52,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
50
52
|
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
51
53
|
* API request.</p>
|
|
52
54
|
*
|
|
55
|
+
* @throws {@link ApplicationAutoScalingServiceException}
|
|
56
|
+
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
53
57
|
*
|
|
54
58
|
* @example To remove a tag from a scalable target
|
|
55
59
|
* ```javascript
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-application-auto-scaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Application Auto Scaling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.326.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,33 +21,33 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.325.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.325.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.325.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|