@aws-sdk/client-application-auto-scaling 3.477.0 → 3.481.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 (73) 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-cjs/pagination/DescribeScalableTargetsPaginator.js +2 -24
  16. package/dist-cjs/pagination/DescribeScalingActivitiesPaginator.js +2 -24
  17. package/dist-cjs/pagination/DescribeScalingPoliciesPaginator.js +2 -24
  18. package/dist-cjs/pagination/DescribeScheduledActionsPaginator.js +2 -24
  19. package/dist-es/commands/DeleteScalingPolicyCommand.js +18 -41
  20. package/dist-es/commands/DeleteScheduledActionCommand.js +18 -41
  21. package/dist-es/commands/DeregisterScalableTargetCommand.js +18 -41
  22. package/dist-es/commands/DescribeScalableTargetsCommand.js +18 -41
  23. package/dist-es/commands/DescribeScalingActivitiesCommand.js +18 -41
  24. package/dist-es/commands/DescribeScalingPoliciesCommand.js +18 -41
  25. package/dist-es/commands/DescribeScheduledActionsCommand.js +18 -41
  26. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  27. package/dist-es/commands/PutScalingPolicyCommand.js +18 -41
  28. package/dist-es/commands/PutScheduledActionCommand.js +18 -41
  29. package/dist-es/commands/RegisterScalableTargetCommand.js +18 -41
  30. package/dist-es/commands/TagResourceCommand.js +18 -41
  31. package/dist-es/commands/UntagResourceCommand.js +18 -41
  32. package/dist-es/endpoint/EndpointParameters.js +6 -0
  33. package/dist-es/pagination/DescribeScalableTargetsPaginator.js +2 -23
  34. package/dist-es/pagination/DescribeScalingActivitiesPaginator.js +2 -23
  35. package/dist-es/pagination/DescribeScalingPoliciesPaginator.js +2 -23
  36. package/dist-es/pagination/DescribeScheduledActionsPaginator.js +2 -23
  37. package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +6 -21
  38. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +6 -21
  39. package/dist-types/commands/DeregisterScalableTargetCommand.d.ts +6 -21
  40. package/dist-types/commands/DescribeScalableTargetsCommand.d.ts +6 -21
  41. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +6 -21
  42. package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +6 -21
  43. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +6 -21
  44. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  45. package/dist-types/commands/PutScalingPolicyCommand.d.ts +6 -21
  46. package/dist-types/commands/PutScheduledActionCommand.d.ts +6 -21
  47. package/dist-types/commands/RegisterScalableTargetCommand.d.ts +6 -21
  48. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  49. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  50. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  51. package/dist-types/pagination/DescribeScalableTargetsPaginator.d.ts +1 -1
  52. package/dist-types/pagination/DescribeScalingActivitiesPaginator.d.ts +1 -1
  53. package/dist-types/pagination/DescribeScalingPoliciesPaginator.d.ts +1 -1
  54. package/dist-types/pagination/DescribeScheduledActionsPaginator.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DeleteScalingPolicyCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +12 -24
  57. package/dist-types/ts3.4/commands/DeregisterScalableTargetCommand.d.ts +12 -24
  58. package/dist-types/ts3.4/commands/DescribeScalableTargetsCommand.d.ts +12 -24
  59. package/dist-types/ts3.4/commands/DescribeScalingActivitiesCommand.d.ts +12 -24
  60. package/dist-types/ts3.4/commands/DescribeScalingPoliciesCommand.d.ts +12 -24
  61. package/dist-types/ts3.4/commands/DescribeScheduledActionsCommand.d.ts +12 -24
  62. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  63. package/dist-types/ts3.4/commands/PutScalingPolicyCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/PutScheduledActionCommand.d.ts +14 -23
  65. package/dist-types/ts3.4/commands/RegisterScalableTargetCommand.d.ts +12 -24
  66. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  67. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  69. package/dist-types/ts3.4/pagination/DescribeScalableTargetsPaginator.d.ts +3 -3
  70. package/dist-types/ts3.4/pagination/DescribeScalingActivitiesPaginator.d.ts +3 -3
  71. package/dist-types/ts3.4/pagination/DescribeScalingPoliciesPaginator.d.ts +3 -3
  72. package/dist-types/ts3.4/pagination/DescribeScheduledActionsPaginator.d.ts +3 -3
  73. package/package.json +11 -10
@@ -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,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ApplicationAutoScalingClient } from "../ApplicationAutoScalingClient";
2
3
  import { DescribeScalableTargetsCommand, } from "../commands/DescribeScalableTargetsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeScalableTargetsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeScalableTargets(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ApplicationAutoScalingClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ApplicationAutoScaling | ApplicationAutoScalingClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeScalableTargets = createPaginator(ApplicationAutoScalingClient, DescribeScalableTargetsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ApplicationAutoScalingClient } from "../ApplicationAutoScalingClient";
2
3
  import { DescribeScalingActivitiesCommand, } from "../commands/DescribeScalingActivitiesCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeScalingActivitiesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeScalingActivities(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ApplicationAutoScalingClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ApplicationAutoScaling | ApplicationAutoScalingClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeScalingActivities = createPaginator(ApplicationAutoScalingClient, DescribeScalingActivitiesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ApplicationAutoScalingClient } from "../ApplicationAutoScalingClient";
2
3
  import { DescribeScalingPoliciesCommand, } from "../commands/DescribeScalingPoliciesCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeScalingPoliciesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeScalingPolicies(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ApplicationAutoScalingClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ApplicationAutoScaling | ApplicationAutoScalingClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeScalingPolicies = createPaginator(ApplicationAutoScalingClient, DescribeScalingPoliciesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ApplicationAutoScalingClient } from "../ApplicationAutoScalingClient";
2
3
  import { DescribeScheduledActionsCommand, } from "../commands/DescribeScheduledActionsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeScheduledActionsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeScheduledActions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ApplicationAutoScalingClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ApplicationAutoScaling | ApplicationAutoScalingClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeScheduledActions = createPaginator(ApplicationAutoScalingClient, DescribeScheduledActionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -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
  }
@@ -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 { DeregisterScalableTargetRequest, DeregisterScalableTargetResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeregisterScalableTargetCommandInput extends DeregisterScalable
21
20
  */
22
21
  export interface DeregisterScalableTargetCommandOutput extends DeregisterScalableTargetResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeregisterScalableTargetCommand_base: {
24
+ new (input: DeregisterScalableTargetCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterScalableTargetCommandInput, DeregisterScalableTargetCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deregisters an Application Auto Scaling scalable target when you have finished using it. To see which
@@ -87,23 +90,5 @@ export interface DeregisterScalableTargetCommandOutput extends DeregisterScalabl
87
90
  * ```
88
91
  *
89
92
  */
90
- export declare class DeregisterScalableTargetCommand extends $Command<DeregisterScalableTargetCommandInput, DeregisterScalableTargetCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
91
- readonly input: DeregisterScalableTargetCommandInput;
92
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
- /**
94
- * @public
95
- */
96
- constructor(input: DeregisterScalableTargetCommandInput);
97
- /**
98
- * @internal
99
- */
100
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeregisterScalableTargetCommandInput, DeregisterScalableTargetCommandOutput>;
101
- /**
102
- * @internal
103
- */
104
- private serialize;
105
- /**
106
- * @internal
107
- */
108
- private deserialize;
93
+ export declare class DeregisterScalableTargetCommand extends DeregisterScalableTargetCommand_base {
109
94
  }
@@ -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 { DescribeScalableTargetsRequest, DescribeScalableTargetsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeScalableTargetsCommandInput extends DescribeScalableTar
21
20
  */
22
21
  export interface DescribeScalableTargetsCommandOutput extends DescribeScalableTargetsResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeScalableTargetsCommand_base: {
24
+ new (input: DescribeScalableTargetsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScalableTargetsCommandInput, DescribeScalableTargetsCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets information about the scalable targets in the specified namespace.</p>
@@ -121,23 +124,5 @@ export interface DescribeScalableTargetsCommandOutput extends DescribeScalableTa
121
124
  * ```
122
125
  *
123
126
  */
124
- export declare class DescribeScalableTargetsCommand extends $Command<DescribeScalableTargetsCommandInput, DescribeScalableTargetsCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
125
- readonly input: DescribeScalableTargetsCommandInput;
126
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
127
- /**
128
- * @public
129
- */
130
- constructor(input: DescribeScalableTargetsCommandInput);
131
- /**
132
- * @internal
133
- */
134
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeScalableTargetsCommandInput, DescribeScalableTargetsCommandOutput>;
135
- /**
136
- * @internal
137
- */
138
- private serialize;
139
- /**
140
- * @internal
141
- */
142
- private deserialize;
127
+ export declare class DescribeScalableTargetsCommand extends DescribeScalableTargetsCommand_base {
143
128
  }
@@ -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 { DescribeScalingActivitiesRequest, DescribeScalingActivitiesResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeScalingActivitiesCommandInput extends DescribeScalingAc
21
20
  */
22
21
  export interface DescribeScalingActivitiesCommandOutput extends DescribeScalingActivitiesResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeScalingActivitiesCommand_base: {
24
+ new (input: DescribeScalingActivitiesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScalingActivitiesCommandInput, DescribeScalingActivitiesCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Provides descriptive information about the scaling activities in the specified namespace
@@ -128,23 +131,5 @@ export interface DescribeScalingActivitiesCommandOutput extends DescribeScalingA
128
131
  * ```
129
132
  *
130
133
  */
131
- export declare class DescribeScalingActivitiesCommand extends $Command<DescribeScalingActivitiesCommandInput, DescribeScalingActivitiesCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
132
- readonly input: DescribeScalingActivitiesCommandInput;
133
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
134
- /**
135
- * @public
136
- */
137
- constructor(input: DescribeScalingActivitiesCommandInput);
138
- /**
139
- * @internal
140
- */
141
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeScalingActivitiesCommandInput, DescribeScalingActivitiesCommandOutput>;
142
- /**
143
- * @internal
144
- */
145
- private serialize;
146
- /**
147
- * @internal
148
- */
149
- private deserialize;
134
+ export declare class DescribeScalingActivitiesCommand extends DescribeScalingActivitiesCommand_base {
150
135
  }
@@ -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 { DescribeScalingPoliciesRequest, DescribeScalingPoliciesResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeScalingPoliciesCommandInput extends DescribeScalingPoli
21
20
  */
22
21
  export interface DescribeScalingPoliciesCommandOutput extends DescribeScalingPoliciesResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeScalingPoliciesCommand_base: {
24
+ new (input: DescribeScalingPoliciesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScalingPoliciesCommandInput, DescribeScalingPoliciesCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Describes the Application Auto Scaling scaling policies for the specified service namespace.</p>
@@ -198,23 +201,5 @@ export interface DescribeScalingPoliciesCommandOutput extends DescribeScalingPol
198
201
  * ```
199
202
  *
200
203
  */
201
- export declare class DescribeScalingPoliciesCommand extends $Command<DescribeScalingPoliciesCommandInput, DescribeScalingPoliciesCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
202
- readonly input: DescribeScalingPoliciesCommandInput;
203
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
204
- /**
205
- * @public
206
- */
207
- constructor(input: DescribeScalingPoliciesCommandInput);
208
- /**
209
- * @internal
210
- */
211
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeScalingPoliciesCommandInput, DescribeScalingPoliciesCommandOutput>;
212
- /**
213
- * @internal
214
- */
215
- private serialize;
216
- /**
217
- * @internal
218
- */
219
- private deserialize;
204
+ export declare class DescribeScalingPoliciesCommand extends DescribeScalingPoliciesCommand_base {
220
205
  }
@@ -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 { DescribeScheduledActionsRequest, DescribeScheduledActionsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeScheduledActionsCommandInput extends DescribeScheduledA
21
20
  */
22
21
  export interface DescribeScheduledActionsCommandOutput extends DescribeScheduledActionsResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeScheduledActionsCommand_base: {
24
+ new (input: DescribeScheduledActionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScheduledActionsCommandInput, DescribeScheduledActionsCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Describes the Application Auto Scaling scheduled actions for the specified service namespace.</p>
@@ -137,23 +140,5 @@ export interface DescribeScheduledActionsCommandOutput extends DescribeScheduled
137
140
  * ```
138
141
  *
139
142
  */
140
- export declare class DescribeScheduledActionsCommand extends $Command<DescribeScheduledActionsCommandInput, DescribeScheduledActionsCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
141
- readonly input: DescribeScheduledActionsCommandInput;
142
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
143
- /**
144
- * @public
145
- */
146
- constructor(input: DescribeScheduledActionsCommandInput);
147
- /**
148
- * @internal
149
- */
150
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeScheduledActionsCommandInput, DescribeScheduledActionsCommandOutput>;
151
- /**
152
- * @internal
153
- */
154
- private serialize;
155
- /**
156
- * @internal
157
- */
158
- private deserialize;
143
+ export declare class DescribeScheduledActionsCommand extends DescribeScheduledActionsCommand_base {
159
144
  }
@@ -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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
21
20
  */
22
21
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListTagsForResourceCommand_base: {
24
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns all the tags on the specified Application Auto Scaling scalable target.</p>
@@ -76,23 +79,5 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
76
79
  * ```
77
80
  *
78
81
  */
79
- export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
80
- readonly input: ListTagsForResourceCommandInput;
81
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
- /**
83
- * @public
84
- */
85
- constructor(input: ListTagsForResourceCommandInput);
86
- /**
87
- * @internal
88
- */
89
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
90
- /**
91
- * @internal
92
- */
93
- private serialize;
94
- /**
95
- * @internal
96
- */
97
- private deserialize;
82
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
98
83
  }
@@ -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 { PutScalingPolicyRequest, PutScalingPolicyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutScalingPolicyCommandInput extends PutScalingPolicyRequest {
21
20
  */
22
21
  export interface PutScalingPolicyCommandOutput extends PutScalingPolicyResponse, __MetadataBearer {
23
22
  }
23
+ declare const PutScalingPolicyCommand_base: {
24
+ new (input: PutScalingPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutScalingPolicyCommandInput, PutScalingPolicyCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates or updates a scaling policy for an Application Auto Scaling scalable target.</p>
@@ -207,23 +210,5 @@ export interface PutScalingPolicyCommandOutput extends PutScalingPolicyResponse,
207
210
  * ```
208
211
  *
209
212
  */
210
- export declare class PutScalingPolicyCommand extends $Command<PutScalingPolicyCommandInput, PutScalingPolicyCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
211
- readonly input: PutScalingPolicyCommandInput;
212
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
213
- /**
214
- * @public
215
- */
216
- constructor(input: PutScalingPolicyCommandInput);
217
- /**
218
- * @internal
219
- */
220
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutScalingPolicyCommandInput, PutScalingPolicyCommandOutput>;
221
- /**
222
- * @internal
223
- */
224
- private serialize;
225
- /**
226
- * @internal
227
- */
228
- private deserialize;
213
+ export declare class PutScalingPolicyCommand extends PutScalingPolicyCommand_base {
229
214
  }
@@ -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 { PutScheduledActionRequest, PutScheduledActionResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutScheduledActionCommandInput extends PutScheduledActionReques
21
20
  */
22
21
  export interface PutScheduledActionCommandOutput extends PutScheduledActionResponse, __MetadataBearer {
23
22
  }
23
+ declare const PutScheduledActionCommand_base: {
24
+ new (input: PutScheduledActionCommandInput): import("@smithy/smithy-client").CommandImpl<PutScheduledActionCommandInput, PutScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates or updates a scheduled action for an Application Auto Scaling scalable target. </p>
@@ -113,23 +116,5 @@ export interface PutScheduledActionCommandOutput extends PutScheduledActionRespo
113
116
  * ```
114
117
  *
115
118
  */
116
- export declare class PutScheduledActionCommand extends $Command<PutScheduledActionCommandInput, PutScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
117
- readonly input: PutScheduledActionCommandInput;
118
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
119
- /**
120
- * @public
121
- */
122
- constructor(input: PutScheduledActionCommandInput);
123
- /**
124
- * @internal
125
- */
126
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutScheduledActionCommandInput, PutScheduledActionCommandOutput>;
127
- /**
128
- * @internal
129
- */
130
- private serialize;
131
- /**
132
- * @internal
133
- */
134
- private deserialize;
119
+ export declare class PutScheduledActionCommand extends PutScheduledActionCommand_base {
135
120
  }