@aws-sdk/client-auto-scaling-plans 3.414.0 → 3.421.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 CHANGED
@@ -56,16 +56,16 @@ using your favorite package manager:
56
56
 
57
57
  The AWS SDK is modulized by clients and commands.
58
58
  To send a request, you only need to import the `AutoScalingPlansClient` and
59
- the commands you need, for example `CreateScalingPlanCommand`:
59
+ the commands you need, for example `DescribeScalingPlansCommand`:
60
60
 
61
61
  ```js
62
62
  // ES5 example
63
- const { AutoScalingPlansClient, CreateScalingPlanCommand } = require("@aws-sdk/client-auto-scaling-plans");
63
+ const { AutoScalingPlansClient, DescribeScalingPlansCommand } = require("@aws-sdk/client-auto-scaling-plans");
64
64
  ```
65
65
 
66
66
  ```ts
67
67
  // ES6+ example
68
- import { AutoScalingPlansClient, CreateScalingPlanCommand } from "@aws-sdk/client-auto-scaling-plans";
68
+ import { AutoScalingPlansClient, DescribeScalingPlansCommand } from "@aws-sdk/client-auto-scaling-plans";
69
69
  ```
70
70
 
71
71
  ### Usage
@@ -84,7 +84,7 @@ const client = new AutoScalingPlansClient({ region: "REGION" });
84
84
  const params = {
85
85
  /** input parameters */
86
86
  };
87
- const command = new CreateScalingPlanCommand(params);
87
+ const command = new DescribeScalingPlansCommand(params);
88
88
  ```
89
89
 
90
90
  #### Async/await
@@ -163,7 +163,7 @@ const client = new AWS.AutoScalingPlans({ region: "REGION" });
163
163
 
164
164
  // async/await.
165
165
  try {
166
- const data = await client.createScalingPlan(params);
166
+ const data = await client.describeScalingPlans(params);
167
167
  // process data.
168
168
  } catch (error) {
169
169
  // error handling.
@@ -171,7 +171,7 @@ try {
171
171
 
172
172
  // Promises.
173
173
  client
174
- .createScalingPlan(params)
174
+ .describeScalingPlans(params)
175
175
  .then((data) => {
176
176
  // process data.
177
177
  })
@@ -180,7 +180,7 @@ client
180
180
  });
181
181
 
182
182
  // callbacks.
183
- client.createScalingPlan(params, (err, data) => {
183
+ client.describeScalingPlans(params, (err, data) => {
184
184
  // process err and data.
185
185
  });
186
186
  ```
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateScalingPlanCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateScalingPlanCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AnyScaleScalingPlannerFrontendService",
38
+ operation: "CreateScalingPlan",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteScalingPlanCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteScalingPlanCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AnyScaleScalingPlannerFrontendService",
38
+ operation: "DeleteScalingPlan",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DescribeScalingPlanResourcesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeScalingPlanResourcesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AnyScaleScalingPlannerFrontendService",
38
+ operation: "DescribeScalingPlanResources",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DescribeScalingPlansCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeScalingPlansCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AnyScaleScalingPlannerFrontendService",
38
+ operation: "DescribeScalingPlans",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetScalingPlanResourceForecastDataCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetScalingPlanResourceForecastDataCommand extends smithy_client_1.Command
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AnyScaleScalingPlannerFrontendService",
38
+ operation: "GetScalingPlanResourceForecastData",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class UpdateScalingPlanCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class UpdateScalingPlanCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AnyScaleScalingPlannerFrontendService",
38
+ operation: "UpdateScalingPlan",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateScalingPlanCommand, se_CreateScalingPlanCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateScalingPlanCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateScalingPlanCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AnyScaleScalingPlannerFrontendService",
35
+ operation: "CreateScalingPlan",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteScalingPlanCommand, se_DeleteScalingPlanCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteScalingPlanCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteScalingPlanCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AnyScaleScalingPlannerFrontendService",
35
+ operation: "DeleteScalingPlan",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeScalingPlanResourcesCommand, se_DescribeScalingPlanResourcesCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeScalingPlanResourcesCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeScalingPlanResourcesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AnyScaleScalingPlannerFrontendService",
35
+ operation: "DescribeScalingPlanResources",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeScalingPlansCommand, se_DescribeScalingPlansCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeScalingPlansCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeScalingPlansCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AnyScaleScalingPlannerFrontendService",
35
+ operation: "DescribeScalingPlans",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetScalingPlanResourceForecastDataCommand, se_GetScalingPlanResourceForecastDataCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class GetScalingPlanResourceForecastDataCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetScalingPlanResourceForecastDataCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AnyScaleScalingPlannerFrontendService",
35
+ operation: "GetScalingPlanResourceForecastData",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateScalingPlanCommand, se_UpdateScalingPlanCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UpdateScalingPlanCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateScalingPlanCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AnyScaleScalingPlannerFrontendService",
35
+ operation: "UpdateScalingPlan",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-auto-scaling-plans",
3
3
  "description": "AWS SDK for JavaScript Auto Scaling Plans Client for Node.js, Browser and React Native",
4
- "version": "3.414.0",
4
+ "version": "3.421.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,39 +21,39 @@
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.414.0",
25
- "@aws-sdk/credential-provider-node": "3.414.0",
26
- "@aws-sdk/middleware-host-header": "3.413.0",
27
- "@aws-sdk/middleware-logger": "3.413.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.413.0",
29
- "@aws-sdk/middleware-signing": "3.413.0",
30
- "@aws-sdk/middleware-user-agent": "3.413.0",
31
- "@aws-sdk/region-config-resolver": "3.413.0",
32
- "@aws-sdk/types": "3.413.0",
33
- "@aws-sdk/util-endpoints": "3.413.0",
34
- "@aws-sdk/util-user-agent-browser": "3.413.0",
35
- "@aws-sdk/util-user-agent-node": "3.413.0",
36
- "@smithy/config-resolver": "^2.0.8",
37
- "@smithy/fetch-http-handler": "^2.1.3",
38
- "@smithy/hash-node": "^2.0.7",
39
- "@smithy/invalid-dependency": "^2.0.7",
40
- "@smithy/middleware-content-length": "^2.0.9",
41
- "@smithy/middleware-endpoint": "^2.0.7",
42
- "@smithy/middleware-retry": "^2.0.10",
43
- "@smithy/middleware-serde": "^2.0.7",
44
- "@smithy/middleware-stack": "^2.0.0",
45
- "@smithy/node-config-provider": "^2.0.10",
46
- "@smithy/node-http-handler": "^2.1.3",
47
- "@smithy/protocol-http": "^3.0.3",
48
- "@smithy/smithy-client": "^2.1.4",
49
- "@smithy/types": "^2.3.1",
50
- "@smithy/url-parser": "^2.0.7",
24
+ "@aws-sdk/client-sts": "3.421.0",
25
+ "@aws-sdk/credential-provider-node": "3.421.0",
26
+ "@aws-sdk/middleware-host-header": "3.418.0",
27
+ "@aws-sdk/middleware-logger": "3.418.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.418.0",
29
+ "@aws-sdk/middleware-signing": "3.418.0",
30
+ "@aws-sdk/middleware-user-agent": "3.418.0",
31
+ "@aws-sdk/region-config-resolver": "3.418.0",
32
+ "@aws-sdk/types": "3.418.0",
33
+ "@aws-sdk/util-endpoints": "3.418.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.418.0",
35
+ "@aws-sdk/util-user-agent-node": "3.418.0",
36
+ "@smithy/config-resolver": "^2.0.10",
37
+ "@smithy/fetch-http-handler": "^2.1.5",
38
+ "@smithy/hash-node": "^2.0.9",
39
+ "@smithy/invalid-dependency": "^2.0.9",
40
+ "@smithy/middleware-content-length": "^2.0.11",
41
+ "@smithy/middleware-endpoint": "^2.0.9",
42
+ "@smithy/middleware-retry": "^2.0.12",
43
+ "@smithy/middleware-serde": "^2.0.9",
44
+ "@smithy/middleware-stack": "^2.0.2",
45
+ "@smithy/node-config-provider": "^2.0.12",
46
+ "@smithy/node-http-handler": "^2.1.5",
47
+ "@smithy/protocol-http": "^3.0.5",
48
+ "@smithy/smithy-client": "^2.1.6",
49
+ "@smithy/types": "^2.3.3",
50
+ "@smithy/url-parser": "^2.0.9",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.8",
55
- "@smithy/util-defaults-mode-node": "^2.0.10",
56
- "@smithy/util-retry": "^2.0.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.10",
55
+ "@smithy/util-defaults-mode-node": "^2.0.12",
56
+ "@smithy/util-retry": "^2.0.2",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },