@aws-sdk/client-auto-scaling-plans 3.296.0 → 3.298.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/CreateScalingPlanCommand.js +2 -3
- package/dist-cjs/commands/DeleteScalingPlanCommand.js +2 -3
- package/dist-cjs/commands/DescribeScalingPlanResourcesCommand.js +2 -3
- package/dist-cjs/commands/DescribeScalingPlansCommand.js +2 -3
- package/dist-cjs/commands/GetScalingPlanResourceForecastDataCommand.js +2 -3
- package/dist-cjs/commands/UpdateScalingPlanCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -101
- package/dist-es/commands/CreateScalingPlanCommand.js +2 -3
- package/dist-es/commands/DeleteScalingPlanCommand.js +2 -3
- package/dist-es/commands/DescribeScalingPlanResourcesCommand.js +2 -3
- package/dist-es/commands/DescribeScalingPlansCommand.js +2 -3
- package/dist-es/commands/GetScalingPlanResourceForecastDataCommand.js +2 -3
- package/dist-es/commands/UpdateScalingPlanCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -75
- package/dist-types/AutoScalingPlans.d.ts +7 -0
- package/dist-types/AutoScalingPlansClient.d.ts +24 -4
- package/dist-types/commands/CreateScalingPlanCommand.d.ts +16 -0
- package/dist-types/commands/DeleteScalingPlanCommand.d.ts +16 -0
- package/dist-types/commands/DescribeScalingPlanResourcesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeScalingPlansCommand.d.ts +16 -0
- package/dist-types/commands/GetScalingPlanResourceForecastDataCommand.d.ts +16 -0
- package/dist-types/commands/UpdateScalingPlanCommand.d.ts +16 -0
- package/dist-types/models/AutoScalingPlansServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +91 -100
- package/dist-types/ts3.4/models/models_0.d.ts +0 -69
- package/package.json +4 -3
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
5
5
|
import { DeleteScalingPlanRequest, DeleteScalingPlanResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteScalingPlanCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteScalingPlanCommandInput extends DeleteScalingPlanRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteScalingPlanCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteScalingPlanCommandOutput extends DeleteScalingPlanResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes the specified scaling plan.</p>
|
|
18
23
|
* <p>Deleting a scaling plan deletes the underlying <a>ScalingInstruction</a> for
|
|
19
24
|
* all of the scalable resources that are covered by the plan.</p>
|
|
@@ -29,6 +34,8 @@ export interface DeleteScalingPlanCommandOutput extends DeleteScalingPlanRespons
|
|
|
29
34
|
* const response = await client.send(command);
|
|
30
35
|
* ```
|
|
31
36
|
*
|
|
37
|
+
* @param DeleteScalingPlanCommandInput - {@link DeleteScalingPlanCommandInput}
|
|
38
|
+
* @returns {@link DeleteScalingPlanCommandOutput}
|
|
32
39
|
* @see {@link DeleteScalingPlanCommandInput} for command's `input` shape.
|
|
33
40
|
* @see {@link DeleteScalingPlanCommandOutput} for command's `response` shape.
|
|
34
41
|
* @see {@link AutoScalingPlansClientResolvedConfig | config} for AutoScalingPlansClient's `config` shape.
|
|
@@ -51,11 +58,20 @@ export interface DeleteScalingPlanCommandOutput extends DeleteScalingPlanRespons
|
|
|
51
58
|
export declare class DeleteScalingPlanCommand extends $Command<DeleteScalingPlanCommandInput, DeleteScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig> {
|
|
52
59
|
readonly input: DeleteScalingPlanCommandInput;
|
|
53
60
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
54
64
|
constructor(input: DeleteScalingPlanCommandInput);
|
|
55
65
|
/**
|
|
56
66
|
* @internal
|
|
57
67
|
*/
|
|
58
68
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteScalingPlanCommandInput, DeleteScalingPlanCommandOutput>;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
59
72
|
private serialize;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
60
76
|
private deserialize;
|
|
61
77
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
5
5
|
import { DescribeScalingPlanResourcesRequest, DescribeScalingPlanResourcesResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeScalingPlanResourcesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeScalingPlanResourcesCommandInput extends DescribeScalingPlanResourcesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeScalingPlanResourcesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeScalingPlanResourcesCommandOutput extends DescribeScalingPlanResourcesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Describes the scalable resources in the specified scaling plan.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface DescribeScalingPlanResourcesCommandOutput extends DescribeScali
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DescribeScalingPlanResourcesCommandInput - {@link DescribeScalingPlanResourcesCommandInput}
|
|
34
|
+
* @returns {@link DescribeScalingPlanResourcesCommandOutput}
|
|
28
35
|
* @see {@link DescribeScalingPlanResourcesCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DescribeScalingPlanResourcesCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link AutoScalingPlansClientResolvedConfig | config} for AutoScalingPlansClient's `config` shape.
|
|
@@ -47,11 +54,20 @@ export interface DescribeScalingPlanResourcesCommandOutput extends DescribeScali
|
|
|
47
54
|
export declare class DescribeScalingPlanResourcesCommand extends $Command<DescribeScalingPlanResourcesCommandInput, DescribeScalingPlanResourcesCommandOutput, AutoScalingPlansClientResolvedConfig> {
|
|
48
55
|
readonly input: DescribeScalingPlanResourcesCommandInput;
|
|
49
56
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
50
60
|
constructor(input: DescribeScalingPlanResourcesCommandInput);
|
|
51
61
|
/**
|
|
52
62
|
* @internal
|
|
53
63
|
*/
|
|
54
64
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeScalingPlanResourcesCommandInput, DescribeScalingPlanResourcesCommandOutput>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
55
68
|
private serialize;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
56
72
|
private deserialize;
|
|
57
73
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
5
5
|
import { DescribeScalingPlansRequest, DescribeScalingPlansResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeScalingPlansCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeScalingPlansCommandInput extends DescribeScalingPlansRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeScalingPlansCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Describes one or more of your scaling plans.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DescribeScalingPlansCommandInput - {@link DescribeScalingPlansCommandInput}
|
|
34
|
+
* @returns {@link DescribeScalingPlansCommandOutput}
|
|
28
35
|
* @see {@link DescribeScalingPlansCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DescribeScalingPlansCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link AutoScalingPlansClientResolvedConfig | config} for AutoScalingPlansClient's `config` shape.
|
|
@@ -47,11 +54,20 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR
|
|
|
47
54
|
export declare class DescribeScalingPlansCommand extends $Command<DescribeScalingPlansCommandInput, DescribeScalingPlansCommandOutput, AutoScalingPlansClientResolvedConfig> {
|
|
48
55
|
readonly input: DescribeScalingPlansCommandInput;
|
|
49
56
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
50
60
|
constructor(input: DescribeScalingPlansCommandInput);
|
|
51
61
|
/**
|
|
52
62
|
* @internal
|
|
53
63
|
*/
|
|
54
64
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeScalingPlansCommandInput, DescribeScalingPlansCommandOutput>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
55
68
|
private serialize;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
56
72
|
private deserialize;
|
|
57
73
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
5
5
|
import { GetScalingPlanResourceForecastDataRequest, GetScalingPlanResourceForecastDataResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetScalingPlanResourceForecastDataCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetScalingPlanResourceForecastDataCommandInput extends GetScalingPlanResourceForecastDataRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetScalingPlanResourceForecastDataCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetScalingPlanResourceForecastDataCommandOutput extends GetScalingPlanResourceForecastDataResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Retrieves the forecast data for a scalable resource.</p>
|
|
18
23
|
* <p>Capacity forecasts are represented as predicted values, or data points, that are
|
|
19
24
|
* calculated using historical data points from a specified CloudWatch load metric. Data points are
|
|
@@ -28,6 +33,8 @@ export interface GetScalingPlanResourceForecastDataCommandOutput extends GetScal
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param GetScalingPlanResourceForecastDataCommandInput - {@link GetScalingPlanResourceForecastDataCommandInput}
|
|
37
|
+
* @returns {@link GetScalingPlanResourceForecastDataCommandOutput}
|
|
31
38
|
* @see {@link GetScalingPlanResourceForecastDataCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link GetScalingPlanResourceForecastDataCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link AutoScalingPlansClientResolvedConfig | config} for AutoScalingPlansClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface GetScalingPlanResourceForecastDataCommandOutput extends GetScal
|
|
|
43
50
|
export declare class GetScalingPlanResourceForecastDataCommand extends $Command<GetScalingPlanResourceForecastDataCommandInput, GetScalingPlanResourceForecastDataCommandOutput, AutoScalingPlansClientResolvedConfig> {
|
|
44
51
|
readonly input: GetScalingPlanResourceForecastDataCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: GetScalingPlanResourceForecastDataCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetScalingPlanResourceForecastDataCommandInput, GetScalingPlanResourceForecastDataCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
5
5
|
import { UpdateScalingPlanRequest, UpdateScalingPlanResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateScalingPlanCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateScalingPlanCommandInput extends UpdateScalingPlanRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateScalingPlanCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates the specified scaling plan.</p>
|
|
18
23
|
* <p>You cannot update a scaling plan if it is in the process of being created, updated, or
|
|
19
24
|
* deleted.</p>
|
|
@@ -27,6 +32,8 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param UpdateScalingPlanCommandInput - {@link UpdateScalingPlanCommandInput}
|
|
36
|
+
* @returns {@link UpdateScalingPlanCommandOutput}
|
|
30
37
|
* @see {@link UpdateScalingPlanCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link UpdateScalingPlanCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link AutoScalingPlansClientResolvedConfig | config} for AutoScalingPlansClient's `config` shape.
|
|
@@ -49,11 +56,20 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons
|
|
|
49
56
|
export declare class UpdateScalingPlanCommand extends $Command<UpdateScalingPlanCommandInput, UpdateScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig> {
|
|
50
57
|
readonly input: UpdateScalingPlanCommandInput;
|
|
51
58
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
52
62
|
constructor(input: UpdateScalingPlanCommandInput);
|
|
53
63
|
/**
|
|
54
64
|
* @internal
|
|
55
65
|
*/
|
|
56
66
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateScalingPlanCommandInput, UpdateScalingPlanCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
57
70
|
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
58
74
|
private deserialize;
|
|
59
75
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from AutoScalingPlans service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class AutoScalingPlansServiceException extends __ServiceException {
|