@aws-sdk/client-auto-scaling-plans 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 (29) hide show
  1. package/dist-cjs/commands/CreateScalingPlanCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteScalingPlanCommand.js +18 -41
  3. package/dist-cjs/commands/DescribeScalingPlanResourcesCommand.js +18 -41
  4. package/dist-cjs/commands/DescribeScalingPlansCommand.js +18 -41
  5. package/dist-cjs/commands/GetScalingPlanResourceForecastDataCommand.js +18 -41
  6. package/dist-cjs/commands/UpdateScalingPlanCommand.js +18 -41
  7. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  8. package/dist-es/commands/CreateScalingPlanCommand.js +18 -41
  9. package/dist-es/commands/DeleteScalingPlanCommand.js +18 -41
  10. package/dist-es/commands/DescribeScalingPlanResourcesCommand.js +18 -41
  11. package/dist-es/commands/DescribeScalingPlansCommand.js +18 -41
  12. package/dist-es/commands/GetScalingPlanResourceForecastDataCommand.js +18 -41
  13. package/dist-es/commands/UpdateScalingPlanCommand.js +18 -41
  14. package/dist-es/endpoint/EndpointParameters.js +6 -0
  15. package/dist-types/commands/CreateScalingPlanCommand.d.ts +6 -21
  16. package/dist-types/commands/DeleteScalingPlanCommand.d.ts +6 -21
  17. package/dist-types/commands/DescribeScalingPlanResourcesCommand.d.ts +6 -21
  18. package/dist-types/commands/DescribeScalingPlansCommand.d.ts +6 -21
  19. package/dist-types/commands/GetScalingPlanResourceForecastDataCommand.d.ts +6 -21
  20. package/dist-types/commands/UpdateScalingPlanCommand.d.ts +6 -21
  21. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  22. package/dist-types/ts3.4/commands/CreateScalingPlanCommand.d.ts +14 -23
  23. package/dist-types/ts3.4/commands/DeleteScalingPlanCommand.d.ts +14 -23
  24. package/dist-types/ts3.4/commands/DescribeScalingPlanResourcesCommand.d.ts +12 -24
  25. package/dist-types/ts3.4/commands/DescribeScalingPlansCommand.d.ts +12 -24
  26. package/dist-types/ts3.4/commands/GetScalingPlanResourceForecastDataCommand.d.ts +12 -24
  27. package/dist-types/ts3.4/commands/UpdateScalingPlanCommand.d.ts +14 -23
  28. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  29. package/package.json +10 -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_DescribeScalingPlansCommand, se_DescribeScalingPlansCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeScalingPlansCommand 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, DescribeScalingPlansCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AutoScalingPlansClient";
26
- const commandName = "DescribeScalingPlansCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AnyScaleScalingPlannerFrontendService",
35
- operation: "DescribeScalingPlans",
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_DescribeScalingPlansCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeScalingPlansCommand(output, context);
46
- }
7
+ export class DescribeScalingPlansCommand 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("AnyScaleScalingPlannerFrontendService", "DescribeScalingPlans", {})
19
+ .n("AutoScalingPlansClient", "DescribeScalingPlansCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeScalingPlansCommand)
22
+ .de(de_DescribeScalingPlansCommand)
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_GetScalingPlanResourceForecastDataCommand, se_GetScalingPlanResourceForecastDataCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetScalingPlanResourceForecastDataCommand 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, GetScalingPlanResourceForecastDataCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AutoScalingPlansClient";
26
- const commandName = "GetScalingPlanResourceForecastDataCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AnyScaleScalingPlannerFrontendService",
35
- operation: "GetScalingPlanResourceForecastData",
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_GetScalingPlanResourceForecastDataCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetScalingPlanResourceForecastDataCommand(output, context);
46
- }
7
+ export class GetScalingPlanResourceForecastDataCommand 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("AnyScaleScalingPlannerFrontendService", "GetScalingPlanResourceForecastData", {})
19
+ .n("AutoScalingPlansClient", "GetScalingPlanResourceForecastDataCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetScalingPlanResourceForecastDataCommand)
22
+ .de(de_GetScalingPlanResourceForecastDataCommand)
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_UpdateScalingPlanCommand, se_UpdateScalingPlanCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateScalingPlanCommand 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, UpdateScalingPlanCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AutoScalingPlansClient";
26
- const commandName = "UpdateScalingPlanCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AnyScaleScalingPlannerFrontendService",
35
- operation: "UpdateScalingPlan",
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_UpdateScalingPlanCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateScalingPlanCommand(output, context);
46
- }
7
+ export class UpdateScalingPlanCommand 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("AnyScaleScalingPlannerFrontendService", "UpdateScalingPlan", {})
19
+ .n("AutoScalingPlansClient", "UpdateScalingPlanCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateScalingPlanCommand)
22
+ .de(de_UpdateScalingPlanCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "autoscaling-plans",
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 { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
5
4
  import { CreateScalingPlanRequest, CreateScalingPlanResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateScalingPlanCommandInput extends CreateScalingPlanRequest
21
20
  */
22
21
  export interface CreateScalingPlanCommandOutput extends CreateScalingPlanResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateScalingPlanCommand_base: {
24
+ new (input: CreateScalingPlanCommandInput): import("@smithy/smithy-client").CommandImpl<CreateScalingPlanCommandInput, CreateScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a scaling plan. </p>
@@ -132,23 +135,5 @@ export interface CreateScalingPlanCommandOutput extends CreateScalingPlanRespons
132
135
  * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
133
136
  *
134
137
  */
135
- export declare class CreateScalingPlanCommand extends $Command<CreateScalingPlanCommandInput, CreateScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig> {
136
- readonly input: CreateScalingPlanCommandInput;
137
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
138
- /**
139
- * @public
140
- */
141
- constructor(input: CreateScalingPlanCommandInput);
142
- /**
143
- * @internal
144
- */
145
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateScalingPlanCommandInput, CreateScalingPlanCommandOutput>;
146
- /**
147
- * @internal
148
- */
149
- private serialize;
150
- /**
151
- * @internal
152
- */
153
- private deserialize;
138
+ export declare class CreateScalingPlanCommand extends CreateScalingPlanCommand_base {
154
139
  }
@@ -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 { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
5
4
  import { DeleteScalingPlanRequest, DeleteScalingPlanResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteScalingPlanCommandInput extends DeleteScalingPlanRequest
21
20
  */
22
21
  export interface DeleteScalingPlanCommandOutput extends DeleteScalingPlanResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteScalingPlanCommand_base: {
24
+ new (input: DeleteScalingPlanCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScalingPlanCommandInput, DeleteScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified scaling plan.</p>
@@ -67,23 +70,5 @@ export interface DeleteScalingPlanCommandOutput extends DeleteScalingPlanRespons
67
70
  * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
68
71
  *
69
72
  */
70
- export declare class DeleteScalingPlanCommand extends $Command<DeleteScalingPlanCommandInput, DeleteScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig> {
71
- readonly input: DeleteScalingPlanCommandInput;
72
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
- /**
74
- * @public
75
- */
76
- constructor(input: DeleteScalingPlanCommandInput);
77
- /**
78
- * @internal
79
- */
80
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteScalingPlanCommandInput, DeleteScalingPlanCommandOutput>;
81
- /**
82
- * @internal
83
- */
84
- private serialize;
85
- /**
86
- * @internal
87
- */
88
- private deserialize;
73
+ export declare class DeleteScalingPlanCommand extends DeleteScalingPlanCommand_base {
89
74
  }
@@ -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 { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
5
4
  import { DescribeScalingPlanResourcesRequest, DescribeScalingPlanResourcesResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeScalingPlanResourcesCommandInput extends DescribeScalin
21
20
  */
22
21
  export interface DescribeScalingPlanResourcesCommandOutput extends DescribeScalingPlanResourcesResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeScalingPlanResourcesCommand_base: {
24
+ new (input: DescribeScalingPlanResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScalingPlanResourcesCommandInput, DescribeScalingPlanResourcesCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Describes the scalable resources in the specified scaling plan.</p>
@@ -107,23 +110,5 @@ export interface DescribeScalingPlanResourcesCommandOutput extends DescribeScali
107
110
  * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
108
111
  *
109
112
  */
110
- export declare class DescribeScalingPlanResourcesCommand extends $Command<DescribeScalingPlanResourcesCommandInput, DescribeScalingPlanResourcesCommandOutput, AutoScalingPlansClientResolvedConfig> {
111
- readonly input: DescribeScalingPlanResourcesCommandInput;
112
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
113
- /**
114
- * @public
115
- */
116
- constructor(input: DescribeScalingPlanResourcesCommandInput);
117
- /**
118
- * @internal
119
- */
120
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeScalingPlanResourcesCommandInput, DescribeScalingPlanResourcesCommandOutput>;
121
- /**
122
- * @internal
123
- */
124
- private serialize;
125
- /**
126
- * @internal
127
- */
128
- private deserialize;
113
+ export declare class DescribeScalingPlanResourcesCommand extends DescribeScalingPlanResourcesCommand_base {
129
114
  }
@@ -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 { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
5
4
  import { DescribeScalingPlansRequest, DescribeScalingPlansResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeScalingPlansCommandInput extends DescribeScalingPlansRe
21
20
  */
22
21
  export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeScalingPlansCommand_base: {
24
+ new (input: DescribeScalingPlansCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScalingPlansCommandInput, DescribeScalingPlansCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Describes one or more of your scaling plans.</p>
@@ -159,23 +162,5 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR
159
162
  * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
160
163
  *
161
164
  */
162
- export declare class DescribeScalingPlansCommand extends $Command<DescribeScalingPlansCommandInput, DescribeScalingPlansCommandOutput, AutoScalingPlansClientResolvedConfig> {
163
- readonly input: DescribeScalingPlansCommandInput;
164
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
165
- /**
166
- * @public
167
- */
168
- constructor(input: DescribeScalingPlansCommandInput);
169
- /**
170
- * @internal
171
- */
172
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeScalingPlansCommandInput, DescribeScalingPlansCommandOutput>;
173
- /**
174
- * @internal
175
- */
176
- private serialize;
177
- /**
178
- * @internal
179
- */
180
- private deserialize;
165
+ export declare class DescribeScalingPlansCommand extends DescribeScalingPlansCommand_base {
181
166
  }
@@ -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 { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
5
4
  import { GetScalingPlanResourceForecastDataRequest, GetScalingPlanResourceForecastDataResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetScalingPlanResourceForecastDataCommandInput extends GetScali
21
20
  */
22
21
  export interface GetScalingPlanResourceForecastDataCommandOutput extends GetScalingPlanResourceForecastDataResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetScalingPlanResourceForecastDataCommand_base: {
24
+ new (input: GetScalingPlanResourceForecastDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetScalingPlanResourceForecastDataCommandInput, GetScalingPlanResourceForecastDataCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the forecast data for a scalable resource.</p>
@@ -72,23 +75,5 @@ export interface GetScalingPlanResourceForecastDataCommandOutput extends GetScal
72
75
  * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
73
76
  *
74
77
  */
75
- export declare class GetScalingPlanResourceForecastDataCommand extends $Command<GetScalingPlanResourceForecastDataCommandInput, GetScalingPlanResourceForecastDataCommandOutput, AutoScalingPlansClientResolvedConfig> {
76
- readonly input: GetScalingPlanResourceForecastDataCommandInput;
77
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
- /**
79
- * @public
80
- */
81
- constructor(input: GetScalingPlanResourceForecastDataCommandInput);
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetScalingPlanResourceForecastDataCommandInput, GetScalingPlanResourceForecastDataCommandOutput>;
86
- /**
87
- * @internal
88
- */
89
- private serialize;
90
- /**
91
- * @internal
92
- */
93
- private deserialize;
78
+ export declare class GetScalingPlanResourceForecastDataCommand extends GetScalingPlanResourceForecastDataCommand_base {
94
79
  }
@@ -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 { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
5
4
  import { UpdateScalingPlanRequest, UpdateScalingPlanResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateScalingPlanCommandInput extends UpdateScalingPlanRequest
21
20
  */
22
21
  export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanResponse, __MetadataBearer {
23
22
  }
23
+ declare const UpdateScalingPlanCommand_base: {
24
+ new (input: UpdateScalingPlanCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateScalingPlanCommandInput, UpdateScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Updates the specified scaling plan.</p>
@@ -132,23 +135,5 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons
132
135
  * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
133
136
  *
134
137
  */
135
- export declare class UpdateScalingPlanCommand extends $Command<UpdateScalingPlanCommandInput, UpdateScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig> {
136
- readonly input: UpdateScalingPlanCommandInput;
137
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
138
- /**
139
- * @public
140
- */
141
- constructor(input: UpdateScalingPlanCommandInput);
142
- /**
143
- * @internal
144
- */
145
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateScalingPlanCommandInput, UpdateScalingPlanCommandOutput>;
146
- /**
147
- * @internal
148
- */
149
- private serialize;
150
- /**
151
- * @internal
152
- */
153
- private deserialize;
138
+ export declare class UpdateScalingPlanCommand extends UpdateScalingPlanCommand_base {
154
139
  }
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  AutoScalingPlansClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,19 +15,16 @@ export interface CreateScalingPlanCommandInput
21
15
  export interface CreateScalingPlanCommandOutput
22
16
  extends CreateScalingPlanResponse,
23
17
  __MetadataBearer {}
24
- export declare class CreateScalingPlanCommand extends $Command<
25
- CreateScalingPlanCommandInput,
26
- CreateScalingPlanCommandOutput,
27
- AutoScalingPlansClientResolvedConfig
28
- > {
29
- readonly input: CreateScalingPlanCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: CreateScalingPlanCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: AutoScalingPlansClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<CreateScalingPlanCommandInput, CreateScalingPlanCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
18
+ declare const CreateScalingPlanCommand_base: {
19
+ new (
20
+ input: CreateScalingPlanCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ CreateScalingPlanCommandInput,
23
+ CreateScalingPlanCommandOutput,
24
+ AutoScalingPlansClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class CreateScalingPlanCommand extends CreateScalingPlanCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  AutoScalingPlansClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,19 +15,16 @@ export interface DeleteScalingPlanCommandInput
21
15
  export interface DeleteScalingPlanCommandOutput
22
16
  extends DeleteScalingPlanResponse,
23
17
  __MetadataBearer {}
24
- export declare class DeleteScalingPlanCommand extends $Command<
25
- DeleteScalingPlanCommandInput,
26
- DeleteScalingPlanCommandOutput,
27
- AutoScalingPlansClientResolvedConfig
28
- > {
29
- readonly input: DeleteScalingPlanCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: DeleteScalingPlanCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: AutoScalingPlansClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<DeleteScalingPlanCommandInput, DeleteScalingPlanCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
18
+ declare const DeleteScalingPlanCommand_base: {
19
+ new (
20
+ input: DeleteScalingPlanCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ DeleteScalingPlanCommandInput,
23
+ DeleteScalingPlanCommandOutput,
24
+ AutoScalingPlansClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class DeleteScalingPlanCommand extends DeleteScalingPlanCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  AutoScalingPlansClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface DescribeScalingPlanResourcesCommandInput
21
15
  export interface DescribeScalingPlanResourcesCommandOutput
22
16
  extends DescribeScalingPlanResourcesResponse,
23
17
  __MetadataBearer {}
24
- export declare class DescribeScalingPlanResourcesCommand extends $Command<
25
- DescribeScalingPlanResourcesCommandInput,
26
- DescribeScalingPlanResourcesCommandOutput,
27
- AutoScalingPlansClientResolvedConfig
28
- > {
29
- readonly input: DescribeScalingPlanResourcesCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: DescribeScalingPlanResourcesCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: AutoScalingPlansClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const DescribeScalingPlanResourcesCommand_base: {
19
+ new (
20
+ input: DescribeScalingPlanResourcesCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  DescribeScalingPlanResourcesCommandInput,
38
- DescribeScalingPlanResourcesCommandOutput
23
+ DescribeScalingPlanResourcesCommandOutput,
24
+ AutoScalingPlansClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class DescribeScalingPlanResourcesCommand extends DescribeScalingPlanResourcesCommand_base {}