@aws-sdk/client-application-auto-scaling 3.478.0 → 3.484.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.
Files changed (57) hide show
  1. package/dist-cjs/commands/DeleteScalingPolicyCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteScheduledActionCommand.js +18 -41
  3. package/dist-cjs/commands/DeregisterScalableTargetCommand.js +18 -41
  4. package/dist-cjs/commands/DescribeScalableTargetsCommand.js +18 -41
  5. package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +18 -41
  6. package/dist-cjs/commands/DescribeScalingPoliciesCommand.js +18 -41
  7. package/dist-cjs/commands/DescribeScheduledActionsCommand.js +18 -41
  8. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  9. package/dist-cjs/commands/PutScalingPolicyCommand.js +18 -41
  10. package/dist-cjs/commands/PutScheduledActionCommand.js +18 -41
  11. package/dist-cjs/commands/RegisterScalableTargetCommand.js +18 -41
  12. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  13. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  14. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  15. package/dist-es/commands/DeleteScalingPolicyCommand.js +18 -41
  16. package/dist-es/commands/DeleteScheduledActionCommand.js +18 -41
  17. package/dist-es/commands/DeregisterScalableTargetCommand.js +18 -41
  18. package/dist-es/commands/DescribeScalableTargetsCommand.js +18 -41
  19. package/dist-es/commands/DescribeScalingActivitiesCommand.js +18 -41
  20. package/dist-es/commands/DescribeScalingPoliciesCommand.js +18 -41
  21. package/dist-es/commands/DescribeScheduledActionsCommand.js +18 -41
  22. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  23. package/dist-es/commands/PutScalingPolicyCommand.js +18 -41
  24. package/dist-es/commands/PutScheduledActionCommand.js +18 -41
  25. package/dist-es/commands/RegisterScalableTargetCommand.js +18 -41
  26. package/dist-es/commands/TagResourceCommand.js +18 -41
  27. package/dist-es/commands/UntagResourceCommand.js +18 -41
  28. package/dist-es/endpoint/EndpointParameters.js +6 -0
  29. package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +6 -21
  30. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +6 -21
  31. package/dist-types/commands/DeregisterScalableTargetCommand.d.ts +6 -21
  32. package/dist-types/commands/DescribeScalableTargetsCommand.d.ts +6 -21
  33. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +6 -21
  34. package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +6 -21
  35. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +6 -21
  36. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  37. package/dist-types/commands/PutScalingPolicyCommand.d.ts +6 -21
  38. package/dist-types/commands/PutScheduledActionCommand.d.ts +6 -21
  39. package/dist-types/commands/RegisterScalableTargetCommand.d.ts +6 -21
  40. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  41. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  42. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  43. package/dist-types/ts3.4/commands/DeleteScalingPolicyCommand.d.ts +14 -23
  44. package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +12 -24
  45. package/dist-types/ts3.4/commands/DeregisterScalableTargetCommand.d.ts +12 -24
  46. package/dist-types/ts3.4/commands/DescribeScalableTargetsCommand.d.ts +12 -24
  47. package/dist-types/ts3.4/commands/DescribeScalingActivitiesCommand.d.ts +12 -24
  48. package/dist-types/ts3.4/commands/DescribeScalingPoliciesCommand.d.ts +12 -24
  49. package/dist-types/ts3.4/commands/DescribeScheduledActionsCommand.d.ts +12 -24
  50. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  51. package/dist-types/ts3.4/commands/PutScalingPolicyCommand.d.ts +14 -23
  52. package/dist-types/ts3.4/commands/PutScheduledActionCommand.d.ts +14 -23
  53. package/dist-types/ts3.4/commands/RegisterScalableTargetCommand.d.ts +12 -24
  54. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  55. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  57. package/package.json +11 -11
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeScalingPoliciesCommand, se_DescribeScalingPoliciesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeScalingPoliciesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeScalingPoliciesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationAutoScalingClient";
26
- const commandName = "DescribeScalingPoliciesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AnyScaleFrontendService",
35
- operation: "DescribeScalingPolicies",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeScalingPoliciesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeScalingPoliciesCommand(output, context);
46
- }
7
+ export class DescribeScalingPoliciesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AnyScaleFrontendService", "DescribeScalingPolicies", {})
19
+ .n("ApplicationAutoScalingClient", "DescribeScalingPoliciesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeScalingPoliciesCommand)
22
+ .de(de_DescribeScalingPoliciesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeScheduledActionsCommand, se_DescribeScheduledActionsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeScheduledActionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeScheduledActionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationAutoScalingClient";
26
- const commandName = "DescribeScheduledActionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AnyScaleFrontendService",
35
- operation: "DescribeScheduledActions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeScheduledActionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeScheduledActionsCommand(output, context);
46
- }
7
+ export class DescribeScheduledActionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AnyScaleFrontendService", "DescribeScheduledActions", {})
19
+ .n("ApplicationAutoScalingClient", "DescribeScheduledActionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeScheduledActionsCommand)
22
+ .de(de_DescribeScheduledActionsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationAutoScalingClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AnyScaleFrontendService",
35
- operation: "ListTagsForResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AnyScaleFrontendService", "ListTagsForResource", {})
19
+ .n("ApplicationAutoScalingClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_PutScalingPolicyCommand, se_PutScalingPolicyCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class PutScalingPolicyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, PutScalingPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationAutoScalingClient";
26
- const commandName = "PutScalingPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AnyScaleFrontendService",
35
- operation: "PutScalingPolicy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_PutScalingPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutScalingPolicyCommand(output, context);
46
- }
7
+ export class PutScalingPolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AnyScaleFrontendService", "PutScalingPolicy", {})
19
+ .n("ApplicationAutoScalingClient", "PutScalingPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutScalingPolicyCommand)
22
+ .de(de_PutScalingPolicyCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_PutScheduledActionCommand, se_PutScheduledActionCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class PutScheduledActionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, PutScheduledActionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationAutoScalingClient";
26
- const commandName = "PutScheduledActionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AnyScaleFrontendService",
35
- operation: "PutScheduledAction",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_PutScheduledActionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutScheduledActionCommand(output, context);
46
- }
7
+ export class PutScheduledActionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AnyScaleFrontendService", "PutScheduledAction", {})
19
+ .n("ApplicationAutoScalingClient", "PutScheduledActionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutScheduledActionCommand)
22
+ .de(de_PutScheduledActionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_RegisterScalableTargetCommand, se_RegisterScalableTargetCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class RegisterScalableTargetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, RegisterScalableTargetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationAutoScalingClient";
26
- const commandName = "RegisterScalableTargetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AnyScaleFrontendService",
35
- operation: "RegisterScalableTarget",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_RegisterScalableTargetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RegisterScalableTargetCommand(output, context);
46
- }
7
+ export class RegisterScalableTargetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AnyScaleFrontendService", "RegisterScalableTarget", {})
19
+ .n("ApplicationAutoScalingClient", "RegisterScalableTargetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RegisterScalableTargetCommand)
22
+ .de(de_RegisterScalableTargetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationAutoScalingClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AnyScaleFrontendService",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AnyScaleFrontendService", "TagResource", {})
19
+ .n("ApplicationAutoScalingClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationAutoScalingClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AnyScaleFrontendService",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AnyScaleFrontendService", "UntagResource", {})
19
+ .n("ApplicationAutoScalingClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "application-autoscaling",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
5
4
  import { DeleteScalingPolicyRequest, DeleteScalingPolicyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteScalingPolicyCommandInput extends DeleteScalingPolicyRequ
21
20
  */
22
21
  export interface DeleteScalingPolicyCommandOutput extends DeleteScalingPolicyResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteScalingPolicyCommand_base: {
24
+ new (input: DeleteScalingPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScalingPolicyCommandInput, DeleteScalingPolicyCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified scaling policy for an Application Auto Scaling scalable target.</p>
@@ -89,23 +92,5 @@ export interface DeleteScalingPolicyCommandOutput extends DeleteScalingPolicyRes
89
92
  * ```
90
93
  *
91
94
  */
92
- export declare class DeleteScalingPolicyCommand extends $Command<DeleteScalingPolicyCommandInput, DeleteScalingPolicyCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
93
- readonly input: DeleteScalingPolicyCommandInput;
94
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
- /**
96
- * @public
97
- */
98
- constructor(input: DeleteScalingPolicyCommandInput);
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteScalingPolicyCommandInput, DeleteScalingPolicyCommandOutput>;
103
- /**
104
- * @internal
105
- */
106
- private serialize;
107
- /**
108
- * @internal
109
- */
110
- private deserialize;
95
+ export declare class DeleteScalingPolicyCommand extends DeleteScalingPolicyCommand_base {
111
96
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
5
4
  import { DeleteScheduledActionRequest, DeleteScheduledActionResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteScheduledActionCommandInput extends DeleteScheduledAction
21
20
  */
22
21
  export interface DeleteScheduledActionCommandOutput extends DeleteScheduledActionResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteScheduledActionCommand_base: {
24
+ new (input: DeleteScheduledActionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified scheduled action for an Application Auto Scaling scalable target.</p>
@@ -85,23 +88,5 @@ export interface DeleteScheduledActionCommandOutput extends DeleteScheduledActio
85
88
  * ```
86
89
  *
87
90
  */
88
- export declare class DeleteScheduledActionCommand extends $Command<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
89
- readonly input: DeleteScheduledActionCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: DeleteScheduledActionCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class DeleteScheduledActionCommand extends DeleteScheduledActionCommand_base {
107
92
  }