@aws-sdk/client-application-auto-scaling 3.312.0 → 3.316.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-cjs/ApplicationAutoScaling.js +17 -182
- package/dist-cjs/protocols/Aws_json1_1.js +177 -656
- package/dist-es/ApplicationAutoScaling.js +17 -182
- package/dist-es/protocols/Aws_json1_1.js +178 -657
- package/dist-types/ApplicationAutoScaling.d.ts +81 -199
- package/dist-types/ts3.4/ApplicationAutoScaling.d.ts +4 -1
- package/package.json +6 -6
|
@@ -13,6 +13,86 @@ import { PutScheduledActionCommandInput, PutScheduledActionCommandOutput } from
|
|
|
13
13
|
import { RegisterScalableTargetCommandInput, RegisterScalableTargetCommandOutput } from "./commands/RegisterScalableTargetCommand";
|
|
14
14
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
15
15
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
16
|
+
export interface ApplicationAutoScaling {
|
|
17
|
+
/**
|
|
18
|
+
* @see {@link DeleteScalingPolicyCommand}
|
|
19
|
+
*/
|
|
20
|
+
deleteScalingPolicy(args: DeleteScalingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScalingPolicyCommandOutput>;
|
|
21
|
+
deleteScalingPolicy(args: DeleteScalingPolicyCommandInput, cb: (err: any, data?: DeleteScalingPolicyCommandOutput) => void): void;
|
|
22
|
+
deleteScalingPolicy(args: DeleteScalingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScalingPolicyCommandOutput) => void): void;
|
|
23
|
+
/**
|
|
24
|
+
* @see {@link DeleteScheduledActionCommand}
|
|
25
|
+
*/
|
|
26
|
+
deleteScheduledAction(args: DeleteScheduledActionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduledActionCommandOutput>;
|
|
27
|
+
deleteScheduledAction(args: DeleteScheduledActionCommandInput, cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void): void;
|
|
28
|
+
deleteScheduledAction(args: DeleteScheduledActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void): void;
|
|
29
|
+
/**
|
|
30
|
+
* @see {@link DeregisterScalableTargetCommand}
|
|
31
|
+
*/
|
|
32
|
+
deregisterScalableTarget(args: DeregisterScalableTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterScalableTargetCommandOutput>;
|
|
33
|
+
deregisterScalableTarget(args: DeregisterScalableTargetCommandInput, cb: (err: any, data?: DeregisterScalableTargetCommandOutput) => void): void;
|
|
34
|
+
deregisterScalableTarget(args: DeregisterScalableTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterScalableTargetCommandOutput) => void): void;
|
|
35
|
+
/**
|
|
36
|
+
* @see {@link DescribeScalableTargetsCommand}
|
|
37
|
+
*/
|
|
38
|
+
describeScalableTargets(args: DescribeScalableTargetsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalableTargetsCommandOutput>;
|
|
39
|
+
describeScalableTargets(args: DescribeScalableTargetsCommandInput, cb: (err: any, data?: DescribeScalableTargetsCommandOutput) => void): void;
|
|
40
|
+
describeScalableTargets(args: DescribeScalableTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalableTargetsCommandOutput) => void): void;
|
|
41
|
+
/**
|
|
42
|
+
* @see {@link DescribeScalingActivitiesCommand}
|
|
43
|
+
*/
|
|
44
|
+
describeScalingActivities(args: DescribeScalingActivitiesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalingActivitiesCommandOutput>;
|
|
45
|
+
describeScalingActivities(args: DescribeScalingActivitiesCommandInput, cb: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void): void;
|
|
46
|
+
describeScalingActivities(args: DescribeScalingActivitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void): void;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link DescribeScalingPoliciesCommand}
|
|
49
|
+
*/
|
|
50
|
+
describeScalingPolicies(args: DescribeScalingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalingPoliciesCommandOutput>;
|
|
51
|
+
describeScalingPolicies(args: DescribeScalingPoliciesCommandInput, cb: (err: any, data?: DescribeScalingPoliciesCommandOutput) => void): void;
|
|
52
|
+
describeScalingPolicies(args: DescribeScalingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalingPoliciesCommandOutput) => void): void;
|
|
53
|
+
/**
|
|
54
|
+
* @see {@link DescribeScheduledActionsCommand}
|
|
55
|
+
*/
|
|
56
|
+
describeScheduledActions(args: DescribeScheduledActionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledActionsCommandOutput>;
|
|
57
|
+
describeScheduledActions(args: DescribeScheduledActionsCommandInput, cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void): void;
|
|
58
|
+
describeScheduledActions(args: DescribeScheduledActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void): void;
|
|
59
|
+
/**
|
|
60
|
+
* @see {@link ListTagsForResourceCommand}
|
|
61
|
+
*/
|
|
62
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
63
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
64
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
65
|
+
/**
|
|
66
|
+
* @see {@link PutScalingPolicyCommand}
|
|
67
|
+
*/
|
|
68
|
+
putScalingPolicy(args: PutScalingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutScalingPolicyCommandOutput>;
|
|
69
|
+
putScalingPolicy(args: PutScalingPolicyCommandInput, cb: (err: any, data?: PutScalingPolicyCommandOutput) => void): void;
|
|
70
|
+
putScalingPolicy(args: PutScalingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutScalingPolicyCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link PutScheduledActionCommand}
|
|
73
|
+
*/
|
|
74
|
+
putScheduledAction(args: PutScheduledActionCommandInput, options?: __HttpHandlerOptions): Promise<PutScheduledActionCommandOutput>;
|
|
75
|
+
putScheduledAction(args: PutScheduledActionCommandInput, cb: (err: any, data?: PutScheduledActionCommandOutput) => void): void;
|
|
76
|
+
putScheduledAction(args: PutScheduledActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutScheduledActionCommandOutput) => void): void;
|
|
77
|
+
/**
|
|
78
|
+
* @see {@link RegisterScalableTargetCommand}
|
|
79
|
+
*/
|
|
80
|
+
registerScalableTarget(args: RegisterScalableTargetCommandInput, options?: __HttpHandlerOptions): Promise<RegisterScalableTargetCommandOutput>;
|
|
81
|
+
registerScalableTarget(args: RegisterScalableTargetCommandInput, cb: (err: any, data?: RegisterScalableTargetCommandOutput) => void): void;
|
|
82
|
+
registerScalableTarget(args: RegisterScalableTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterScalableTargetCommandOutput) => void): void;
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link TagResourceCommand}
|
|
85
|
+
*/
|
|
86
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
87
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
88
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
89
|
+
/**
|
|
90
|
+
* @see {@link UntagResourceCommand}
|
|
91
|
+
*/
|
|
92
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
93
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
94
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
95
|
+
}
|
|
16
96
|
/**
|
|
17
97
|
* @public
|
|
18
98
|
* <p>With Application Auto Scaling, you can configure automatic scaling for the following
|
|
@@ -87,203 +167,5 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
87
167
|
* </li>
|
|
88
168
|
* </ul>
|
|
89
169
|
*/
|
|
90
|
-
export declare class ApplicationAutoScaling extends ApplicationAutoScalingClient {
|
|
91
|
-
/**
|
|
92
|
-
* @public
|
|
93
|
-
* <p>Deletes the specified scaling policy for an Application Auto Scaling scalable target.</p>
|
|
94
|
-
* <p>Deleting a step scaling policy deletes the underlying alarm action, but does not delete
|
|
95
|
-
* the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated
|
|
96
|
-
* action.</p>
|
|
97
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html#delete-step-scaling-policy">Delete a step scaling policy</a> and <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html#delete-target-tracking-policy">Delete a target tracking scaling policy</a> in the
|
|
98
|
-
* <i>Application Auto Scaling User Guide</i>.</p>
|
|
99
|
-
*/
|
|
100
|
-
deleteScalingPolicy(args: DeleteScalingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScalingPolicyCommandOutput>;
|
|
101
|
-
deleteScalingPolicy(args: DeleteScalingPolicyCommandInput, cb: (err: any, data?: DeleteScalingPolicyCommandOutput) => void): void;
|
|
102
|
-
deleteScalingPolicy(args: DeleteScalingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScalingPolicyCommandOutput) => void): void;
|
|
103
|
-
/**
|
|
104
|
-
* @public
|
|
105
|
-
* <p>Deletes the specified scheduled action for an Application Auto Scaling scalable target.</p>
|
|
106
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html#delete-scheduled-action">Delete a scheduled action</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
107
|
-
*/
|
|
108
|
-
deleteScheduledAction(args: DeleteScheduledActionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduledActionCommandOutput>;
|
|
109
|
-
deleteScheduledAction(args: DeleteScheduledActionCommandInput, cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void): void;
|
|
110
|
-
deleteScheduledAction(args: DeleteScheduledActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void): void;
|
|
111
|
-
/**
|
|
112
|
-
* @public
|
|
113
|
-
* <p>Deregisters an Application Auto Scaling scalable target when you have finished using it. To see which
|
|
114
|
-
* resources have been registered, use <a href="https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html">DescribeScalableTargets</a>. </p>
|
|
115
|
-
* <note>
|
|
116
|
-
* <p>Deregistering a scalable target deletes the scaling policies and the scheduled
|
|
117
|
-
* actions that are associated with it.</p>
|
|
118
|
-
* </note>
|
|
119
|
-
*/
|
|
120
|
-
deregisterScalableTarget(args: DeregisterScalableTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterScalableTargetCommandOutput>;
|
|
121
|
-
deregisterScalableTarget(args: DeregisterScalableTargetCommandInput, cb: (err: any, data?: DeregisterScalableTargetCommandOutput) => void): void;
|
|
122
|
-
deregisterScalableTarget(args: DeregisterScalableTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterScalableTargetCommandOutput) => void): void;
|
|
123
|
-
/**
|
|
124
|
-
* @public
|
|
125
|
-
* <p>Gets information about the scalable targets in the specified namespace.</p>
|
|
126
|
-
* <p>You can filter the results using <code>ResourceIds</code> and
|
|
127
|
-
* <code>ScalableDimension</code>.</p>
|
|
128
|
-
*/
|
|
129
|
-
describeScalableTargets(args: DescribeScalableTargetsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalableTargetsCommandOutput>;
|
|
130
|
-
describeScalableTargets(args: DescribeScalableTargetsCommandInput, cb: (err: any, data?: DescribeScalableTargetsCommandOutput) => void): void;
|
|
131
|
-
describeScalableTargets(args: DescribeScalableTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalableTargetsCommandOutput) => void): void;
|
|
132
|
-
/**
|
|
133
|
-
* @public
|
|
134
|
-
* <p>Provides descriptive information about the scaling activities in the specified namespace
|
|
135
|
-
* from the previous six weeks.</p>
|
|
136
|
-
* <p>You can filter the results using <code>ResourceId</code> and
|
|
137
|
-
* <code>ScalableDimension</code>.</p>
|
|
138
|
-
* <p>For information about viewing scaling activities using the Amazon Web Services CLI, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html">Scaling activities for Application Auto Scaling</a>.</p>
|
|
139
|
-
*/
|
|
140
|
-
describeScalingActivities(args: DescribeScalingActivitiesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalingActivitiesCommandOutput>;
|
|
141
|
-
describeScalingActivities(args: DescribeScalingActivitiesCommandInput, cb: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void): void;
|
|
142
|
-
describeScalingActivities(args: DescribeScalingActivitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void): void;
|
|
143
|
-
/**
|
|
144
|
-
* @public
|
|
145
|
-
* <p>Describes the Application Auto Scaling scaling policies for the specified service namespace.</p>
|
|
146
|
-
* <p>You can filter the results using <code>ResourceId</code>,
|
|
147
|
-
* <code>ScalableDimension</code>, and <code>PolicyNames</code>.</p>
|
|
148
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html">Target tracking scaling policies</a> and <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html">Step scaling policies</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
149
|
-
*/
|
|
150
|
-
describeScalingPolicies(args: DescribeScalingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalingPoliciesCommandOutput>;
|
|
151
|
-
describeScalingPolicies(args: DescribeScalingPoliciesCommandInput, cb: (err: any, data?: DescribeScalingPoliciesCommandOutput) => void): void;
|
|
152
|
-
describeScalingPolicies(args: DescribeScalingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalingPoliciesCommandOutput) => void): void;
|
|
153
|
-
/**
|
|
154
|
-
* @public
|
|
155
|
-
* <p>Describes the Application Auto Scaling scheduled actions for the specified service namespace.</p>
|
|
156
|
-
* <p>You can filter the results using the <code>ResourceId</code>,
|
|
157
|
-
* <code>ScalableDimension</code>, and <code>ScheduledActionNames</code> parameters.</p>
|
|
158
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html">Scheduled scaling</a> and <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html">Managing scheduled scaling</a> in the
|
|
159
|
-
* <i>Application Auto Scaling User Guide</i>.</p>
|
|
160
|
-
*/
|
|
161
|
-
describeScheduledActions(args: DescribeScheduledActionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledActionsCommandOutput>;
|
|
162
|
-
describeScheduledActions(args: DescribeScheduledActionsCommandInput, cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void): void;
|
|
163
|
-
describeScheduledActions(args: DescribeScheduledActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void): void;
|
|
164
|
-
/**
|
|
165
|
-
* @public
|
|
166
|
-
* <p>Returns all the tags on the specified Application Auto Scaling scalable target.</p>
|
|
167
|
-
* <p>For general information about tags, including the format and syntax, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services
|
|
168
|
-
* resources</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
169
|
-
*/
|
|
170
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
171
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
172
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
173
|
-
/**
|
|
174
|
-
* @public
|
|
175
|
-
* <p>Creates or updates a scaling policy for an Application Auto Scaling scalable target.</p>
|
|
176
|
-
* <p>Each scalable target is identified by a service namespace, resource ID, and scalable
|
|
177
|
-
* dimension. A scaling policy applies to the scalable target identified by those three
|
|
178
|
-
* attributes. You cannot create a scaling policy until you have registered the resource as a
|
|
179
|
-
* scalable target.</p>
|
|
180
|
-
* <p>Multiple scaling policies can be in force at the same time for the same scalable target.
|
|
181
|
-
* You can have one or more target tracking scaling policies, one or more step scaling
|
|
182
|
-
* policies, or both. However, there is a chance that multiple policies could conflict,
|
|
183
|
-
* instructing the scalable target to scale out or in at the same time. Application Auto Scaling gives
|
|
184
|
-
* precedence to the policy that provides the largest capacity for both scale out and scale
|
|
185
|
-
* in. For example, if one policy increases capacity by 3, another policy increases capacity
|
|
186
|
-
* by 200 percent, and the current capacity is 10, Application Auto Scaling uses the policy with the highest
|
|
187
|
-
* calculated capacity (200% of 10 = 20) and scales out to 30. </p>
|
|
188
|
-
* <p>We recommend caution, however, when using target tracking scaling policies with step
|
|
189
|
-
* scaling policies because conflicts between these policies can cause undesirable behavior.
|
|
190
|
-
* For example, if the step scaling policy initiates a scale-in activity before the target
|
|
191
|
-
* tracking policy is ready to scale in, the scale-in activity will not be blocked. After the
|
|
192
|
-
* scale-in activity completes, the target tracking policy could instruct the scalable target
|
|
193
|
-
* to scale out again. </p>
|
|
194
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html">Target tracking scaling policies</a> and <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html">Step scaling policies</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
195
|
-
* <note>
|
|
196
|
-
* <p>If a scalable target is deregistered, the scalable target is no longer available to
|
|
197
|
-
* use scaling policies. Any scaling policies that were specified for the scalable target
|
|
198
|
-
* are deleted.</p>
|
|
199
|
-
* </note>
|
|
200
|
-
*/
|
|
201
|
-
putScalingPolicy(args: PutScalingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutScalingPolicyCommandOutput>;
|
|
202
|
-
putScalingPolicy(args: PutScalingPolicyCommandInput, cb: (err: any, data?: PutScalingPolicyCommandOutput) => void): void;
|
|
203
|
-
putScalingPolicy(args: PutScalingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutScalingPolicyCommandOutput) => void): void;
|
|
204
|
-
/**
|
|
205
|
-
* @public
|
|
206
|
-
* <p>Creates or updates a scheduled action for an Application Auto Scaling scalable target. </p>
|
|
207
|
-
* <p>Each scalable target is identified by a service namespace, resource ID, and scalable
|
|
208
|
-
* dimension. A scheduled action applies to the scalable target identified by those three
|
|
209
|
-
* attributes. You cannot create a scheduled action until you have registered the resource as
|
|
210
|
-
* a scalable target.</p>
|
|
211
|
-
* <p>When you specify start and end times with a recurring schedule using a cron expression
|
|
212
|
-
* or rates, they form the boundaries for when the recurring action starts and stops.</p>
|
|
213
|
-
* <p>To update a scheduled action, specify the parameters that you want to change. If you
|
|
214
|
-
* don't specify start and end times, the old values are deleted.</p>
|
|
215
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html">Scheduled scaling</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
216
|
-
* <note>
|
|
217
|
-
* <p>If a scalable target is deregistered, the scalable target is no longer available to
|
|
218
|
-
* run scheduled actions. Any scheduled actions that were specified for the scalable target
|
|
219
|
-
* are deleted.</p>
|
|
220
|
-
* </note>
|
|
221
|
-
*/
|
|
222
|
-
putScheduledAction(args: PutScheduledActionCommandInput, options?: __HttpHandlerOptions): Promise<PutScheduledActionCommandOutput>;
|
|
223
|
-
putScheduledAction(args: PutScheduledActionCommandInput, cb: (err: any, data?: PutScheduledActionCommandOutput) => void): void;
|
|
224
|
-
putScheduledAction(args: PutScheduledActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutScheduledActionCommandOutput) => void): void;
|
|
225
|
-
/**
|
|
226
|
-
* @public
|
|
227
|
-
* <p>Registers or updates a scalable target, which is the resource that you want to
|
|
228
|
-
* scale.</p>
|
|
229
|
-
* <p>Scalable targets are uniquely identified by the combination of resource ID, scalable
|
|
230
|
-
* dimension, and namespace, which represents some capacity dimension of the underlying
|
|
231
|
-
* service.</p>
|
|
232
|
-
* <p>When you register a new scalable target, you must specify values for the minimum and
|
|
233
|
-
* maximum capacity. If the specified resource is not active in the target service, this
|
|
234
|
-
* operation does not change the resource's current capacity. Otherwise, it changes the
|
|
235
|
-
* resource's current capacity to a value that is inside of this range.</p>
|
|
236
|
-
* <p>If you add a scaling policy, current capacity is adjustable within the specified range
|
|
237
|
-
* when scaling starts. Application Auto Scaling scaling policies will not scale capacity to values that are
|
|
238
|
-
* outside of the minimum and maximum range.</p>
|
|
239
|
-
* <p>After you register a scalable target, you do not need to register it again to use other
|
|
240
|
-
* Application Auto Scaling operations. To see which resources have been registered, use <a href="https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html">DescribeScalableTargets</a>. You can also view the scaling policies for a service
|
|
241
|
-
* namespace by using <a href="https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html">DescribeScalableTargets</a>. If you no longer need a scalable target, you can
|
|
242
|
-
* deregister it by using <a href="https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DeregisterScalableTarget.html">DeregisterScalableTarget</a>.</p>
|
|
243
|
-
* <p>To update a scalable target, specify the parameters that you want to change. Include the
|
|
244
|
-
* parameters that identify the scalable target: resource ID, scalable dimension, and
|
|
245
|
-
* namespace. Any parameters that you don't specify are not changed by this update request. </p>
|
|
246
|
-
* <note>
|
|
247
|
-
* <p>If you call the <code>RegisterScalableTarget</code> API operation to create a
|
|
248
|
-
* scalable target, there might be a brief delay until the operation achieves <a href="https://en.wikipedia.org/wiki/Eventual_consistency">eventual
|
|
249
|
-
* consistency</a>. You might become aware of this brief delay if you get unexpected
|
|
250
|
-
* errors when performing sequential operations. The typical strategy is to retry the
|
|
251
|
-
* request, and some Amazon Web Services SDKs include automatic backoff and retry logic.</p>
|
|
252
|
-
* <p>If you call the <code>RegisterScalableTarget</code> API operation to update an
|
|
253
|
-
* existing scalable target, Application Auto Scaling retrieves the current capacity of the resource. If
|
|
254
|
-
* it's below the minimum capacity or above the maximum capacity, Application Auto Scaling adjusts the
|
|
255
|
-
* capacity of the scalable target to place it within these bounds, even if you don't
|
|
256
|
-
* include the <code>MinCapacity</code> or <code>MaxCapacity</code> request
|
|
257
|
-
* parameters.</p>
|
|
258
|
-
* </note>
|
|
259
|
-
*/
|
|
260
|
-
registerScalableTarget(args: RegisterScalableTargetCommandInput, options?: __HttpHandlerOptions): Promise<RegisterScalableTargetCommandOutput>;
|
|
261
|
-
registerScalableTarget(args: RegisterScalableTargetCommandInput, cb: (err: any, data?: RegisterScalableTargetCommandOutput) => void): void;
|
|
262
|
-
registerScalableTarget(args: RegisterScalableTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterScalableTargetCommandOutput) => void): void;
|
|
263
|
-
/**
|
|
264
|
-
* @public
|
|
265
|
-
* <p>Adds or edits tags on an Application Auto Scaling scalable target.</p>
|
|
266
|
-
* <p>Each tag consists of a tag key and a tag value, which are both case-sensitive strings.
|
|
267
|
-
* To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag
|
|
268
|
-
* key and a new tag value.</p>
|
|
269
|
-
* <p>You can use this operation to tag an Application Auto Scaling scalable target, but you cannot tag a
|
|
270
|
-
* scaling policy or scheduled action.</p>
|
|
271
|
-
* <p>You can also add tags to an Application Auto Scaling scalable target while creating it
|
|
272
|
-
* (<code>RegisterScalableTarget</code>).</p>
|
|
273
|
-
* <p>For general information about tags, including the format and syntax, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services
|
|
274
|
-
* resources</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
275
|
-
* <p>Use tags to control access to a scalable target. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/resource-tagging-support.html">Tagging support
|
|
276
|
-
* for Application Auto Scaling</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
277
|
-
*/
|
|
278
|
-
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
279
|
-
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
280
|
-
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
281
|
-
/**
|
|
282
|
-
* @public
|
|
283
|
-
* <p>Deletes tags from an Application Auto Scaling scalable target. To delete a tag, specify the tag key and
|
|
284
|
-
* the Application Auto Scaling scalable target.</p>
|
|
285
|
-
*/
|
|
286
|
-
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
287
|
-
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
288
|
-
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
170
|
+
export declare class ApplicationAutoScaling extends ApplicationAutoScalingClient implements ApplicationAutoScaling {
|
|
289
171
|
}
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
UntagResourceCommandInput,
|
|
53
53
|
UntagResourceCommandOutput,
|
|
54
54
|
} from "./commands/UntagResourceCommand";
|
|
55
|
-
export
|
|
55
|
+
export interface ApplicationAutoScaling {
|
|
56
56
|
deleteScalingPolicy(
|
|
57
57
|
args: DeleteScalingPolicyCommandInput,
|
|
58
58
|
options?: __HttpHandlerOptions
|
|
@@ -223,3 +223,6 @@ export declare class ApplicationAutoScaling extends ApplicationAutoScalingClient
|
|
|
223
223
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
224
224
|
): void;
|
|
225
225
|
}
|
|
226
|
+
export declare class ApplicationAutoScaling
|
|
227
|
+
extends ApplicationAutoScalingClient
|
|
228
|
+
implements ApplicationAutoScaling {}
|
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.316.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,9 +21,9 @@
|
|
|
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.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.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",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.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.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|