@aws-sdk/client-application-auto-scaling 3.775.0 → 3.782.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.
@@ -78,21 +78,24 @@ declare const DeleteScalingPolicyCommand_base: {
78
78
  * @throws {@link ApplicationAutoScalingServiceException}
79
79
  * <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
80
80
  *
81
- * @public
81
+ *
82
82
  * @example To delete a scaling policy
83
83
  * ```javascript
84
84
  * // This example deletes a scaling policy for the Amazon ECS service called web-app, which is running in the default cluster.
85
85
  * const input = {
86
- * "PolicyName": "web-app-cpu-lt-25",
87
- * "ResourceId": "service/default/web-app",
88
- * "ScalableDimension": "ecs:service:DesiredCount",
89
- * "ServiceNamespace": "ecs"
86
+ * PolicyName: "web-app-cpu-lt-25",
87
+ * ResourceId: "service/default/web-app",
88
+ * ScalableDimension: "ecs:service:DesiredCount",
89
+ * ServiceNamespace: "ecs"
90
90
  * };
91
91
  * const command = new DeleteScalingPolicyCommand(input);
92
- * await client.send(command);
93
- * // example id: to-delete-a-scaling-policy-1470863892689
92
+ * const response = await client.send(command);
93
+ * /* response is
94
+ * { /* empty *\/ }
95
+ * *\/
94
96
  * ```
95
97
  *
98
+ * @public
96
99
  */
97
100
  export declare class DeleteScalingPolicyCommand extends DeleteScalingPolicyCommand_base {
98
101
  /** @internal type navigation helper, not in runtime. */
@@ -74,21 +74,24 @@ declare const DeleteScheduledActionCommand_base: {
74
74
  * @throws {@link ApplicationAutoScalingServiceException}
75
75
  * <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
76
76
  *
77
- * @public
77
+ *
78
78
  * @example To delete a scheduled action
79
79
  * ```javascript
80
80
  * // This example deletes a scheduled action for the AppStream 2.0 fleet called sample-fleet.
81
81
  * const input = {
82
- * "ResourceId": "fleet/sample-fleet",
83
- * "ScalableDimension": "appstream:fleet:DesiredCapacity",
84
- * "ScheduledActionName": "my-recurring-action",
85
- * "ServiceNamespace": "appstream"
82
+ * ResourceId: "fleet/sample-fleet",
83
+ * ScalableDimension: "appstream:fleet:DesiredCapacity",
84
+ * ScheduledActionName: "my-recurring-action",
85
+ * ServiceNamespace: "appstream"
86
86
  * };
87
87
  * const command = new DeleteScheduledActionCommand(input);
88
- * await client.send(command);
89
- * // example id: to-delete-a-scheduled-action-1677963329606
88
+ * const response = await client.send(command);
89
+ * /* response is
90
+ * { /* empty *\/ }
91
+ * *\/
90
92
  * ```
91
93
  *
94
+ * @public
92
95
  */
93
96
  export declare class DeleteScheduledActionCommand extends DeleteScheduledActionCommand_base {
94
97
  /** @internal type navigation helper, not in runtime. */
@@ -77,20 +77,23 @@ declare const DeregisterScalableTargetCommand_base: {
77
77
  * @throws {@link ApplicationAutoScalingServiceException}
78
78
  * <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
79
79
  *
80
- * @public
80
+ *
81
81
  * @example To deregister a scalable target
82
82
  * ```javascript
83
83
  * // This example deregisters a scalable target for an Amazon ECS service called web-app that is running in the default cluster.
84
84
  * const input = {
85
- * "ResourceId": "service/default/web-app",
86
- * "ScalableDimension": "ecs:service:DesiredCount",
87
- * "ServiceNamespace": "ecs"
85
+ * ResourceId: "service/default/web-app",
86
+ * ScalableDimension: "ecs:service:DesiredCount",
87
+ * ServiceNamespace: "ecs"
88
88
  * };
89
89
  * const command = new DeregisterScalableTargetCommand(input);
90
- * await client.send(command);
91
- * // example id: to-deregister-a-scalable-target-1470864164895
90
+ * const response = await client.send(command);
91
+ * /* response is
92
+ * { /* empty *\/ }
93
+ * *\/
92
94
  * ```
93
95
  *
96
+ * @public
94
97
  */
95
98
  export declare class DeregisterScalableTargetCommand extends DeregisterScalableTargetCommand_base {
96
99
  /** @internal type navigation helper, not in runtime. */
@@ -94,38 +94,38 @@ declare const DescribeScalableTargetsCommand_base: {
94
94
  * @throws {@link ApplicationAutoScalingServiceException}
95
95
  * <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
96
96
  *
97
- * @public
97
+ *
98
98
  * @example To describe scalable targets
99
99
  * ```javascript
100
100
  * // This example describes the scalable targets for the ECS service namespace.
101
101
  * const input = {
102
- * "ServiceNamespace": "ecs"
102
+ * ServiceNamespace: "ecs"
103
103
  * };
104
104
  * const command = new DescribeScalableTargetsCommand(input);
105
105
  * const response = await client.send(command);
106
- * /* response ==
106
+ * /* response is
107
107
  * {
108
- * "ScalableTargets": [
108
+ * ScalableTargets: [
109
109
  * {
110
- * "CreationTime": "2019-05-06T11:21:46.199Z",
111
- * "MaxCapacity": 10,
112
- * "MinCapacity": 1,
113
- * "ResourceId": "service/default/web-app",
114
- * "RoleARN": "arn:aws:iam::012345678910:role/aws-service-role/ecs.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_ECSService",
115
- * "ScalableDimension": "ecs:service:DesiredCount",
116
- * "ServiceNamespace": "ecs",
117
- * "SuspendedState": {
118
- * "DynamicScalingInSuspended": false,
119
- * "DynamicScalingOutSuspended": false,
120
- * "ScheduledScalingSuspended": false
110
+ * CreationTime: "2019-05-06T11:21:46.199Z",
111
+ * MaxCapacity: 10,
112
+ * MinCapacity: 1,
113
+ * ResourceId: "service/default/web-app",
114
+ * RoleARN: "arn:aws:iam::012345678910:role/aws-service-role/ecs.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_ECSService",
115
+ * ScalableDimension: "ecs:service:DesiredCount",
116
+ * ServiceNamespace: "ecs",
117
+ * SuspendedState: {
118
+ * DynamicScalingInSuspended: false,
119
+ * DynamicScalingOutSuspended: false,
120
+ * ScheduledScalingSuspended: false
121
121
  * }
122
122
  * }
123
123
  * ]
124
124
  * }
125
125
  * *\/
126
- * // example id: to-describe-scalable-targets-1470864286961
127
126
  * ```
128
127
  *
128
+ * @public
129
129
  */
130
130
  export declare class DescribeScalableTargetsCommand extends DescribeScalableTargetsCommand_base {
131
131
  /** @internal type navigation helper, not in runtime. */
@@ -100,38 +100,38 @@ declare const DescribeScalingActivitiesCommand_base: {
100
100
  * @throws {@link ApplicationAutoScalingServiceException}
101
101
  * <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
102
102
  *
103
- * @public
103
+ *
104
104
  * @example To describe scaling activities for a scalable target
105
105
  * ```javascript
106
106
  * // This example describes the scaling activities for an Amazon ECS service called web-app that is running in the default cluster.
107
107
  * const input = {
108
- * "ResourceId": "service/default/web-app",
109
- * "ScalableDimension": "ecs:service:DesiredCount",
110
- * "ServiceNamespace": "ecs"
108
+ * ResourceId: "service/default/web-app",
109
+ * ScalableDimension: "ecs:service:DesiredCount",
110
+ * ServiceNamespace: "ecs"
111
111
  * };
112
112
  * const command = new DescribeScalingActivitiesCommand(input);
113
113
  * const response = await client.send(command);
114
- * /* response ==
114
+ * /* response is
115
115
  * {
116
- * "ScalingActivities": [
116
+ * ScalingActivities: [
117
117
  * {
118
- * "ActivityId": "e6c5f7d1-dbbb-4a3f-89b2-51f33e766399",
119
- * "Cause": "monitor alarm web-app-cpu-lt-25 in state ALARM triggered policy web-app-cpu-lt-25",
120
- * "Description": "Setting desired count to 1.",
121
- * "EndTime": "2019-05-06T16:04:32.111Z",
122
- * "ResourceId": "service/default/web-app",
123
- * "ScalableDimension": "ecs:service:DesiredCount",
124
- * "ServiceNamespace": "ecs",
125
- * "StartTime": "2019-05-06T16:03:58.171Z",
126
- * "StatusCode": "Successful",
127
- * "StatusMessage": "Successfully set desired count to 1. Change successfully fulfilled by ecs."
118
+ * ActivityId: "e6c5f7d1-dbbb-4a3f-89b2-51f33e766399",
119
+ * Cause: "monitor alarm web-app-cpu-lt-25 in state ALARM triggered policy web-app-cpu-lt-25",
120
+ * Description: "Setting desired count to 1.",
121
+ * EndTime: "2019-05-06T16:04:32.111Z",
122
+ * ResourceId: "service/default/web-app",
123
+ * ScalableDimension: "ecs:service:DesiredCount",
124
+ * ServiceNamespace: "ecs",
125
+ * StartTime: "2019-05-06T16:03:58.171Z",
126
+ * StatusCode: "Successful",
127
+ * StatusMessage: "Successfully set desired count to 1. Change successfully fulfilled by ecs."
128
128
  * }
129
129
  * ]
130
130
  * }
131
131
  * *\/
132
- * // example id: to-describe-scaling-activities-for-a-scalable-target-1470864398629
133
132
  * ```
134
133
  *
134
+ * @public
135
135
  */
136
136
  export declare class DescribeScalingActivitiesCommand extends DescribeScalingActivitiesCommand_base {
137
137
  /** @internal type navigation helper, not in runtime. */
@@ -253,40 +253,40 @@ declare const DescribeScalingPoliciesCommand_base: {
253
253
  * @throws {@link ApplicationAutoScalingServiceException}
254
254
  * <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
255
255
  *
256
- * @public
256
+ *
257
257
  * @example To describe scaling policies
258
258
  * ```javascript
259
259
  * // This example describes the scaling policies for the ECS service namespace.
260
260
  * const input = {
261
- * "ServiceNamespace": "ecs"
261
+ * ServiceNamespace: "ecs"
262
262
  * };
263
263
  * const command = new DescribeScalingPoliciesCommand(input);
264
264
  * const response = await client.send(command);
265
- * /* response ==
265
+ * /* response is
266
266
  * {
267
- * "NextToken": "",
268
- * "ScalingPolicies": [
267
+ * NextToken: "",
268
+ * ScalingPolicies: [
269
269
  * {
270
- * "Alarms": [
270
+ * Alarms: [
271
271
  * {
272
- * "AlarmARN": "arn:aws:cloudwatch:us-west-2:012345678910:alarm:web-app-cpu-gt-75",
273
- * "AlarmName": "web-app-cpu-gt-75"
272
+ * AlarmARN: "arn:aws:cloudwatch:us-west-2:012345678910:alarm:web-app-cpu-gt-75",
273
+ * AlarmName: "web-app-cpu-gt-75"
274
274
  * }
275
275
  * ],
276
- * "CreationTime": "2019-05-06T12:11:39.230Z",
277
- * "PolicyARN": "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/web-app-cpu-gt-75",
278
- * "PolicyName": "web-app-cpu-gt-75",
279
- * "PolicyType": "StepScaling",
280
- * "ResourceId": "service/default/web-app",
281
- * "ScalableDimension": "ecs:service:DesiredCount",
282
- * "ServiceNamespace": "ecs",
283
- * "StepScalingPolicyConfiguration": {
284
- * "AdjustmentType": "PercentChangeInCapacity",
285
- * "Cooldown": 60,
286
- * "StepAdjustments": [
276
+ * CreationTime: "2019-05-06T12:11:39.230Z",
277
+ * PolicyARN: "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/web-app-cpu-gt-75",
278
+ * PolicyName: "web-app-cpu-gt-75",
279
+ * PolicyType: "StepScaling",
280
+ * ResourceId: "service/default/web-app",
281
+ * ScalableDimension: "ecs:service:DesiredCount",
282
+ * ServiceNamespace: "ecs",
283
+ * StepScalingPolicyConfiguration: {
284
+ * AdjustmentType: "PercentChangeInCapacity",
285
+ * Cooldown: 60,
286
+ * StepAdjustments: [
287
287
  * {
288
- * "MetricIntervalLowerBound": 0,
289
- * "ScalingAdjustment": 200
288
+ * MetricIntervalLowerBound: 0,
289
+ * ScalingAdjustment: 200
290
290
  * }
291
291
  * ]
292
292
  * }
@@ -294,9 +294,9 @@ declare const DescribeScalingPoliciesCommand_base: {
294
294
  * ]
295
295
  * }
296
296
  * *\/
297
- * // example id: to-describe-scaling-policies-1470864609734
298
297
  * ```
299
298
  *
299
+ * @public
300
300
  */
301
301
  export declare class DescribeScalingPoliciesCommand extends DescribeScalingPoliciesCommand_base {
302
302
  /** @internal type navigation helper, not in runtime. */
@@ -96,50 +96,50 @@ declare const DescribeScheduledActionsCommand_base: {
96
96
  * @throws {@link ApplicationAutoScalingServiceException}
97
97
  * <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
98
98
  *
99
- * @public
99
+ *
100
100
  * @example To describe scheduled actions
101
101
  * ```javascript
102
102
  * // This example describes the scheduled actions for the dynamodb service namespace.
103
103
  * const input = {
104
- * "ServiceNamespace": "dynamodb"
104
+ * ServiceNamespace: "dynamodb"
105
105
  * };
106
106
  * const command = new DescribeScheduledActionsCommand(input);
107
107
  * const response = await client.send(command);
108
- * /* response ==
108
+ * /* response is
109
109
  * {
110
- * "ScheduledActions": [
110
+ * ScheduledActions: [
111
111
  * {
112
- * "CreationTime": 1561571888.361,
113
- * "ResourceId": "table/my-table",
114
- * "ScalableDimension": "dynamodb:table:WriteCapacityUnits",
115
- * "ScalableTargetAction": {
116
- * "MaxCapacity": 20,
117
- * "MinCapacity": 15
112
+ * CreationTime: 1.561571888361E9,
113
+ * ResourceId: "table/my-table",
114
+ * ScalableDimension: "dynamodb:table:WriteCapacityUnits",
115
+ * ScalableTargetAction: {
116
+ * MaxCapacity: 20,
117
+ * MinCapacity: 15
118
118
  * },
119
- * "Schedule": "at(2019-05-20T18:35:00)",
120
- * "ScheduledActionARN": "arn:aws:autoscaling:us-west-2:123456789012:scheduledAction:2d36aa3b-cdf9-4565-b290-81db519b227d:resource/dynamodb/table/my-table:scheduledActionName/my-first-scheduled-action",
121
- * "ScheduledActionName": "my-first-scheduled-action",
122
- * "ServiceNamespace": "dynamodb"
119
+ * Schedule: "at(2019-05-20T18:35:00)",
120
+ * ScheduledActionARN: "arn:aws:autoscaling:us-west-2:123456789012:scheduledAction:2d36aa3b-cdf9-4565-b290-81db519b227d:resource/dynamodb/table/my-table:scheduledActionName/my-first-scheduled-action",
121
+ * ScheduledActionName: "my-first-scheduled-action",
122
+ * ServiceNamespace: "dynamodb"
123
123
  * },
124
124
  * {
125
- * "CreationTime": 1561571946.021,
126
- * "ResourceId": "table/my-table",
127
- * "ScalableDimension": "dynamodb:table:WriteCapacityUnits",
128
- * "ScalableTargetAction": {
129
- * "MaxCapacity": 10,
130
- * "MinCapacity": 5
125
+ * CreationTime: 1.561571946021E9,
126
+ * ResourceId: "table/my-table",
127
+ * ScalableDimension: "dynamodb:table:WriteCapacityUnits",
128
+ * ScalableTargetAction: {
129
+ * MaxCapacity: 10,
130
+ * MinCapacity: 5
131
131
  * },
132
- * "Schedule": "at(2019-05-20T18:40:00)",
133
- * "ScheduledActionARN": "arn:aws:autoscaling:us-west-2:123456789012:scheduledAction:2d36aa3b-cdf9-4565-b290-81db519b227d:resource/dynamodb/table/my-table:scheduledActionName/my-second-scheduled-action",
134
- * "ScheduledActionName": "my-second-scheduled-action",
135
- * "ServiceNamespace": "dynamodb"
132
+ * Schedule: "at(2019-05-20T18:40:00)",
133
+ * ScheduledActionARN: "arn:aws:autoscaling:us-west-2:123456789012:scheduledAction:2d36aa3b-cdf9-4565-b290-81db519b227d:resource/dynamodb/table/my-table:scheduledActionName/my-second-scheduled-action",
134
+ * ScheduledActionName: "my-second-scheduled-action",
135
+ * ServiceNamespace: "dynamodb"
136
136
  * }
137
137
  * ]
138
138
  * }
139
139
  * *\/
140
- * // example id: to-describe-scheduled-actions-1677965249349
141
140
  * ```
142
141
  *
142
+ * @public
143
143
  */
144
144
  export declare class DescribeScheduledActionsCommand extends DescribeScheduledActionsCommand_base {
145
145
  /** @internal type navigation helper, not in runtime. */
@@ -177,6 +177,7 @@ declare const GetPredictiveScalingForecastCommand_base: {
177
177
  * @throws {@link ApplicationAutoScalingServiceException}
178
178
  * <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
179
179
  *
180
+ *
180
181
  * @public
181
182
  */
182
183
  export declare class GetPredictiveScalingForecastCommand extends GetPredictiveScalingForecastCommand_base {
@@ -61,25 +61,25 @@ declare const ListTagsForResourceCommand_base: {
61
61
  * @throws {@link ApplicationAutoScalingServiceException}
62
62
  * <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
63
63
  *
64
- * @public
64
+ *
65
65
  * @example To list tags for a scalable target
66
66
  * ```javascript
67
67
  * // This example lists the tag key names and values that are attached to the scalable target specified by its ARN.
68
68
  * const input = {
69
- * "ResourceARN": "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123"
69
+ * ResourceARN: "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123"
70
70
  * };
71
71
  * const command = new ListTagsForResourceCommand(input);
72
72
  * const response = await client.send(command);
73
- * /* response ==
73
+ * /* response is
74
74
  * {
75
- * "Tags": {
76
- * "environment": "production"
75
+ * Tags: {
76
+ * environment: "production"
77
77
  * }
78
78
  * }
79
79
  * *\/
80
- * // example id: to-list-tags-for-a-scalable-target-1677971474903
81
80
  * ```
82
81
  *
82
+ * @public
83
83
  */
84
84
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
85
85
  /** @internal type navigation helper, not in runtime. */
@@ -267,45 +267,45 @@ declare const PutScalingPolicyCommand_base: {
267
267
  * @throws {@link ApplicationAutoScalingServiceException}
268
268
  * <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
269
269
  *
270
- * @public
270
+ *
271
271
  * @example To apply a target tracking scaling policy with a predefined metric specification
272
272
  * ```javascript
273
273
  * // The following example applies a target tracking scaling policy with a predefined metric specification to an Amazon ECS service called web-app in the default cluster. The policy keeps the average CPU utilization of the service at 75 percent, with scale-out and scale-in cooldown periods of 60 seconds.
274
274
  * const input = {
275
- * "PolicyName": "cpu75-target-tracking-scaling-policy",
276
- * "PolicyType": "TargetTrackingScaling",
277
- * "ResourceId": "service/default/web-app",
278
- * "ScalableDimension": "ecs:service:DesiredCount",
279
- * "ServiceNamespace": "ecs",
280
- * "TargetTrackingScalingPolicyConfiguration": {
281
- * "PredefinedMetricSpecification": {
282
- * "PredefinedMetricType": "ECSServiceAverageCPUUtilization"
275
+ * PolicyName: "cpu75-target-tracking-scaling-policy",
276
+ * PolicyType: "TargetTrackingScaling",
277
+ * ResourceId: "service/default/web-app",
278
+ * ScalableDimension: "ecs:service:DesiredCount",
279
+ * ServiceNamespace: "ecs",
280
+ * TargetTrackingScalingPolicyConfiguration: {
281
+ * PredefinedMetricSpecification: {
282
+ * PredefinedMetricType: "ECSServiceAverageCPUUtilization"
283
283
  * },
284
- * "ScaleInCooldown": 60,
285
- * "ScaleOutCooldown": 60,
286
- * "TargetValue": 75
284
+ * ScaleInCooldown: 60,
285
+ * ScaleOutCooldown: 60,
286
+ * TargetValue: 75
287
287
  * }
288
288
  * };
289
289
  * const command = new PutScalingPolicyCommand(input);
290
290
  * const response = await client.send(command);
291
- * /* response ==
291
+ * /* response is
292
292
  * {
293
- * "Alarms": [
293
+ * Alarms: [
294
294
  * {
295
- * "AlarmARN": "arn:aws:cloudwatch:us-west-2:012345678910:alarm:TargetTracking-service/default/web-app-AlarmHigh-d4f0770c-b46e-434a-a60f-3b36d653feca",
296
- * "AlarmName": "TargetTracking-service/default/web-app-AlarmHigh-d4f0770c-b46e-434a-a60f-3b36d653feca"
295
+ * AlarmARN: "arn:aws:cloudwatch:us-west-2:012345678910:alarm:TargetTracking-service/default/web-app-AlarmHigh-d4f0770c-b46e-434a-a60f-3b36d653feca",
296
+ * AlarmName: "TargetTracking-service/default/web-app-AlarmHigh-d4f0770c-b46e-434a-a60f-3b36d653feca"
297
297
  * },
298
298
  * {
299
- * "AlarmARN": "arn:aws:cloudwatch:us-west-2:012345678910:alarm:TargetTracking-service/default/web-app-AlarmLow-1b437334-d19b-4a63-a812-6c67aaf2910d",
300
- * "AlarmName": "TargetTracking-service/default/web-app-AlarmLow-1b437334-d19b-4a63-a812-6c67aaf2910d"
299
+ * AlarmARN: "arn:aws:cloudwatch:us-west-2:012345678910:alarm:TargetTracking-service/default/web-app-AlarmLow-1b437334-d19b-4a63-a812-6c67aaf2910d",
300
+ * AlarmName: "TargetTracking-service/default/web-app-AlarmLow-1b437334-d19b-4a63-a812-6c67aaf2910d"
301
301
  * }
302
302
  * ],
303
- * "PolicyARN": "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/cpu75-target-tracking-scaling-policy"
303
+ * PolicyARN: "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/cpu75-target-tracking-scaling-policy"
304
304
  * }
305
305
  * *\/
306
- * // example id: to-apply-a-target-tracking-scaling-policy-with-a-predefined-metric-specification-1569364247984
307
306
  * ```
308
307
  *
308
+ * @public
309
309
  */
310
310
  export declare class PutScalingPolicyCommand extends PutScalingPolicyCommand_base {
311
311
  /** @internal type navigation helper, not in runtime. */
@@ -98,25 +98,28 @@ declare const PutScheduledActionCommand_base: {
98
98
  * @throws {@link ApplicationAutoScalingServiceException}
99
99
  * <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
100
100
  *
101
- * @public
101
+ *
102
102
  * @example To create a recurring scheduled action
103
103
  * ```javascript
104
104
  * // This example adds a scheduled action to a DynamoDB table called TestTable to scale out on a recurring schedule. On the specified schedule (every day at 12:15pm UTC), if the current capacity is below the value specified for MinCapacity, Application Auto Scaling scales out to the value specified by MinCapacity.
105
105
  * const input = {
106
- * "ResourceId": "table/TestTable",
107
- * "ScalableDimension": "dynamodb:table:WriteCapacityUnits",
108
- * "ScalableTargetAction": {
109
- * "MinCapacity": 6
106
+ * ResourceId: "table/TestTable",
107
+ * ScalableDimension: "dynamodb:table:WriteCapacityUnits",
108
+ * ScalableTargetAction: {
109
+ * MinCapacity: 6
110
110
  * },
111
- * "Schedule": "cron(15 12 * * ? *)",
112
- * "ScheduledActionName": "my-recurring-action",
113
- * "ServiceNamespace": "dynamodb"
111
+ * Schedule: "cron(15 12 * * ? *)",
112
+ * ScheduledActionName: "my-recurring-action",
113
+ * ServiceNamespace: "dynamodb"
114
114
  * };
115
115
  * const command = new PutScheduledActionCommand(input);
116
- * await client.send(command);
117
- * // example id: to-create-a-recurring-scheduled-action-1677970068621
116
+ * const response = await client.send(command);
117
+ * /* response is
118
+ * { /* empty *\/ }
119
+ * *\/
118
120
  * ```
119
121
  *
122
+ * @public
120
123
  */
121
124
  export declare class PutScheduledActionCommand extends PutScheduledActionCommand_base {
122
125
  /** @internal type navigation helper, not in runtime. */
@@ -112,27 +112,27 @@ declare const RegisterScalableTargetCommand_base: {
112
112
  * @throws {@link ApplicationAutoScalingServiceException}
113
113
  * <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
114
114
  *
115
- * @public
115
+ *
116
116
  * @example To register an ECS service as a scalable target
117
117
  * ```javascript
118
118
  * // This example registers a scalable target from an Amazon ECS service called web-app that is running on the default cluster, with a minimum desired count of 1 task and a maximum desired count of 10 tasks.
119
119
  * const input = {
120
- * "MaxCapacity": 10,
121
- * "MinCapacity": 1,
122
- * "ResourceId": "service/default/web-app",
123
- * "ScalableDimension": "ecs:service:DesiredCount",
124
- * "ServiceNamespace": "ecs"
120
+ * MaxCapacity: 10,
121
+ * MinCapacity: 1,
122
+ * ResourceId: "service/default/web-app",
123
+ * ScalableDimension: "ecs:service:DesiredCount",
124
+ * ServiceNamespace: "ecs"
125
125
  * };
126
126
  * const command = new RegisterScalableTargetCommand(input);
127
127
  * const response = await client.send(command);
128
- * /* response ==
128
+ * /* response is
129
129
  * {
130
- * "ScalableTargetARN": "arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123"
130
+ * ScalableTargetARN: "arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123"
131
131
  * }
132
132
  * *\/
133
- * // example id: to-register-a-new-scalable-target-1470864910380
134
133
  * ```
135
134
  *
135
+ * @public
136
136
  */
137
137
  export declare class RegisterScalableTargetCommand extends RegisterScalableTargetCommand_base {
138
138
  /** @internal type navigation helper, not in runtime. */
@@ -76,21 +76,24 @@ declare const TagResourceCommand_base: {
76
76
  * @throws {@link ApplicationAutoScalingServiceException}
77
77
  * <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
78
78
  *
79
- * @public
79
+ *
80
80
  * @example To add a tag to a scalable target
81
81
  * ```javascript
82
82
  * // This example adds a tag with the key name "environment" and the value "production" to the scalable target specified by its ARN.
83
83
  * const input = {
84
- * "ResourceARN": "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123",
85
- * "Tags": {
86
- * "environment": "production"
84
+ * ResourceARN: "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123",
85
+ * Tags: {
86
+ * environment: "production"
87
87
  * }
88
88
  * };
89
89
  * const command = new TagResourceCommand(input);
90
- * await client.send(command);
91
- * // example id: to-add-a-tag-to-a-scalable-target-1677970764620
90
+ * const response = await client.send(command);
91
+ * /* response is
92
+ * { /* empty *\/ }
93
+ * *\/
92
94
  * ```
93
95
  *
96
+ * @public
94
97
  */
95
98
  export declare class TagResourceCommand extends TagResourceCommand_base {
96
99
  /** @internal type navigation helper, not in runtime. */
@@ -63,21 +63,24 @@ declare const UntagResourceCommand_base: {
63
63
  * @throws {@link ApplicationAutoScalingServiceException}
64
64
  * <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
65
65
  *
66
- * @public
66
+ *
67
67
  * @example To remove a tag from a scalable target
68
68
  * ```javascript
69
69
  * // This example removes the tag pair with the key name "environment" from the scalable target specified by its ARN.
70
70
  * const input = {
71
- * "ResourceARN": "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123",
72
- * "TagKeys": [
71
+ * ResourceARN: "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123",
72
+ * TagKeys: [
73
73
  * "environment"
74
74
  * ]
75
75
  * };
76
76
  * const command = new UntagResourceCommand(input);
77
- * await client.send(command);
78
- * // example id: to-remove-a-tag-from-a-scalable-target-1677971117168
77
+ * const response = await client.send(command);
78
+ * /* response is
79
+ * { /* empty *\/ }
80
+ * *\/
79
81
  * ```
80
82
  *
83
+ * @public
81
84
  */
82
85
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
83
86
  /** @internal type navigation helper, not in runtime. */
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.775.0",
4
+ "version": "3.782.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-application-auto-scaling",
@@ -21,16 +21,16 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.782.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.775.0",
28
+ "@aws-sdk/middleware-user-agent": "3.782.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.782.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.782.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",