@aws-sdk/client-application-auto-scaling 3.956.0 → 3.958.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/README.md +2 -23
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +292 -388
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/pagination/index.js +1 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +299 -395
- package/dist-types/pagination/index.d.ts +1 -1
- package/dist-types/ts3.4/pagination/index.d.ts +1 -1
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -88,10 +88,8 @@ and scheduled scaling.</p>
|
|
|
88
88
|
</ul>
|
|
89
89
|
|
|
90
90
|
## Installing
|
|
91
|
-
|
|
92
91
|
To install this package, simply type add or install @aws-sdk/client-application-auto-scaling
|
|
93
92
|
using your favorite package manager:
|
|
94
|
-
|
|
95
93
|
- `npm install @aws-sdk/client-application-auto-scaling`
|
|
96
94
|
- `yarn add @aws-sdk/client-application-auto-scaling`
|
|
97
95
|
- `pnpm add @aws-sdk/client-application-auto-scaling`
|
|
@@ -106,10 +104,7 @@ the commands you need, for example `ListTagsForResourceCommand`:
|
|
|
106
104
|
|
|
107
105
|
```js
|
|
108
106
|
// ES5 example
|
|
109
|
-
const {
|
|
110
|
-
ApplicationAutoScalingClient,
|
|
111
|
-
ListTagsForResourceCommand,
|
|
112
|
-
} = require("@aws-sdk/client-application-auto-scaling");
|
|
107
|
+
const { ApplicationAutoScalingClient, ListTagsForResourceCommand } = require("@aws-sdk/client-application-auto-scaling");
|
|
113
108
|
```
|
|
114
109
|
|
|
115
110
|
```ts
|
|
@@ -130,9 +125,7 @@ To send a request, you:
|
|
|
130
125
|
// a client can be shared by different commands.
|
|
131
126
|
const client = new ApplicationAutoScalingClient({ region: "REGION" });
|
|
132
127
|
|
|
133
|
-
const params = {
|
|
134
|
-
/** input parameters */
|
|
135
|
-
};
|
|
128
|
+
const params = { /** input parameters */ };
|
|
136
129
|
const command = new ListTagsForResourceCommand(params);
|
|
137
130
|
```
|
|
138
131
|
|
|
@@ -291,7 +284,6 @@ DeleteScalingPolicy
|
|
|
291
284
|
</summary>
|
|
292
285
|
|
|
293
286
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-auto-scaling/command/DeleteScalingPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/DeleteScalingPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/DeleteScalingPolicyCommandOutput/)
|
|
294
|
-
|
|
295
287
|
</details>
|
|
296
288
|
<details>
|
|
297
289
|
<summary>
|
|
@@ -299,7 +291,6 @@ DeleteScheduledAction
|
|
|
299
291
|
</summary>
|
|
300
292
|
|
|
301
293
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-auto-scaling/command/DeleteScheduledActionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/DeleteScheduledActionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/DeleteScheduledActionCommandOutput/)
|
|
302
|
-
|
|
303
294
|
</details>
|
|
304
295
|
<details>
|
|
305
296
|
<summary>
|
|
@@ -307,7 +298,6 @@ DeregisterScalableTarget
|
|
|
307
298
|
</summary>
|
|
308
299
|
|
|
309
300
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-auto-scaling/command/DeregisterScalableTargetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/DeregisterScalableTargetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/DeregisterScalableTargetCommandOutput/)
|
|
310
|
-
|
|
311
301
|
</details>
|
|
312
302
|
<details>
|
|
313
303
|
<summary>
|
|
@@ -315,7 +305,6 @@ DescribeScalableTargets
|
|
|
315
305
|
</summary>
|
|
316
306
|
|
|
317
307
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-auto-scaling/command/DescribeScalableTargetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/DescribeScalableTargetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/DescribeScalableTargetsCommandOutput/)
|
|
318
|
-
|
|
319
308
|
</details>
|
|
320
309
|
<details>
|
|
321
310
|
<summary>
|
|
@@ -323,7 +312,6 @@ DescribeScalingActivities
|
|
|
323
312
|
</summary>
|
|
324
313
|
|
|
325
314
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-auto-scaling/command/DescribeScalingActivitiesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/DescribeScalingActivitiesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/DescribeScalingActivitiesCommandOutput/)
|
|
326
|
-
|
|
327
315
|
</details>
|
|
328
316
|
<details>
|
|
329
317
|
<summary>
|
|
@@ -331,7 +319,6 @@ DescribeScalingPolicies
|
|
|
331
319
|
</summary>
|
|
332
320
|
|
|
333
321
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-auto-scaling/command/DescribeScalingPoliciesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/DescribeScalingPoliciesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/DescribeScalingPoliciesCommandOutput/)
|
|
334
|
-
|
|
335
322
|
</details>
|
|
336
323
|
<details>
|
|
337
324
|
<summary>
|
|
@@ -339,7 +326,6 @@ DescribeScheduledActions
|
|
|
339
326
|
</summary>
|
|
340
327
|
|
|
341
328
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-auto-scaling/command/DescribeScheduledActionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/DescribeScheduledActionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/DescribeScheduledActionsCommandOutput/)
|
|
342
|
-
|
|
343
329
|
</details>
|
|
344
330
|
<details>
|
|
345
331
|
<summary>
|
|
@@ -347,7 +333,6 @@ GetPredictiveScalingForecast
|
|
|
347
333
|
</summary>
|
|
348
334
|
|
|
349
335
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-auto-scaling/command/GetPredictiveScalingForecastCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/GetPredictiveScalingForecastCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/GetPredictiveScalingForecastCommandOutput/)
|
|
350
|
-
|
|
351
336
|
</details>
|
|
352
337
|
<details>
|
|
353
338
|
<summary>
|
|
@@ -355,7 +340,6 @@ ListTagsForResource
|
|
|
355
340
|
</summary>
|
|
356
341
|
|
|
357
342
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-auto-scaling/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/ListTagsForResourceCommandOutput/)
|
|
358
|
-
|
|
359
343
|
</details>
|
|
360
344
|
<details>
|
|
361
345
|
<summary>
|
|
@@ -363,7 +347,6 @@ PutScalingPolicy
|
|
|
363
347
|
</summary>
|
|
364
348
|
|
|
365
349
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-auto-scaling/command/PutScalingPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/PutScalingPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/PutScalingPolicyCommandOutput/)
|
|
366
|
-
|
|
367
350
|
</details>
|
|
368
351
|
<details>
|
|
369
352
|
<summary>
|
|
@@ -371,7 +354,6 @@ PutScheduledAction
|
|
|
371
354
|
</summary>
|
|
372
355
|
|
|
373
356
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-auto-scaling/command/PutScheduledActionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/PutScheduledActionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/PutScheduledActionCommandOutput/)
|
|
374
|
-
|
|
375
357
|
</details>
|
|
376
358
|
<details>
|
|
377
359
|
<summary>
|
|
@@ -379,7 +361,6 @@ RegisterScalableTarget
|
|
|
379
361
|
</summary>
|
|
380
362
|
|
|
381
363
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-auto-scaling/command/RegisterScalableTargetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/RegisterScalableTargetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/RegisterScalableTargetCommandOutput/)
|
|
382
|
-
|
|
383
364
|
</details>
|
|
384
365
|
<details>
|
|
385
366
|
<summary>
|
|
@@ -387,7 +368,6 @@ TagResource
|
|
|
387
368
|
</summary>
|
|
388
369
|
|
|
389
370
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-auto-scaling/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/TagResourceCommandOutput/)
|
|
390
|
-
|
|
391
371
|
</details>
|
|
392
372
|
<details>
|
|
393
373
|
<summary>
|
|
@@ -395,5 +375,4 @@ UntagResource
|
|
|
395
375
|
</summary>
|
|
396
376
|
|
|
397
377
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-auto-scaling/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-auto-scaling/Interface/UntagResourceCommandOutput/)
|
|
398
|
-
|
|
399
378
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultApplicationAutoScalingHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultApplicationAutoScalingHttpAuthSchemeParametersProvider = defaultApplicationAutoScalingHttpAuthSchemeParametersProvider;
|