@aws-sdk/client-auto-scaling-plans 3.170.0 → 3.171.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/CHANGELOG.md +8 -0
- package/dist-types/ts3.4/AutoScalingPlans.d.ts +0 -6
- package/dist-types/ts3.4/AutoScalingPlansClient.d.ts +0 -25
- package/dist-types/ts3.4/commands/CreateScalingPlanCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteScalingPlanCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeScalingPlanResourcesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeScalingPlansCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/GetScalingPlanResourceForecastDataCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UpdateScalingPlanCommand.d.ts +0 -2
- package/dist-types/ts3.4/models/AutoScalingPlansServiceException.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -121
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-auto-scaling-plans
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/client-auto-scaling-plans
|
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
UpdateScalingPlanCommandInput,
|
|
25
25
|
UpdateScalingPlanCommandOutput,
|
|
26
26
|
} from "./commands/UpdateScalingPlanCommand";
|
|
27
|
-
|
|
28
27
|
export declare class AutoScalingPlans extends AutoScalingPlansClient {
|
|
29
28
|
createScalingPlan(
|
|
30
29
|
args: CreateScalingPlanCommandInput,
|
|
@@ -39,7 +38,6 @@ export declare class AutoScalingPlans extends AutoScalingPlansClient {
|
|
|
39
38
|
options: __HttpHandlerOptions,
|
|
40
39
|
cb: (err: any, data?: CreateScalingPlanCommandOutput) => void
|
|
41
40
|
): void;
|
|
42
|
-
|
|
43
41
|
deleteScalingPlan(
|
|
44
42
|
args: DeleteScalingPlanCommandInput,
|
|
45
43
|
options?: __HttpHandlerOptions
|
|
@@ -53,7 +51,6 @@ export declare class AutoScalingPlans extends AutoScalingPlansClient {
|
|
|
53
51
|
options: __HttpHandlerOptions,
|
|
54
52
|
cb: (err: any, data?: DeleteScalingPlanCommandOutput) => void
|
|
55
53
|
): void;
|
|
56
|
-
|
|
57
54
|
describeScalingPlanResources(
|
|
58
55
|
args: DescribeScalingPlanResourcesCommandInput,
|
|
59
56
|
options?: __HttpHandlerOptions
|
|
@@ -67,7 +64,6 @@ export declare class AutoScalingPlans extends AutoScalingPlansClient {
|
|
|
67
64
|
options: __HttpHandlerOptions,
|
|
68
65
|
cb: (err: any, data?: DescribeScalingPlanResourcesCommandOutput) => void
|
|
69
66
|
): void;
|
|
70
|
-
|
|
71
67
|
describeScalingPlans(
|
|
72
68
|
args: DescribeScalingPlansCommandInput,
|
|
73
69
|
options?: __HttpHandlerOptions
|
|
@@ -81,7 +77,6 @@ export declare class AutoScalingPlans extends AutoScalingPlansClient {
|
|
|
81
77
|
options: __HttpHandlerOptions,
|
|
82
78
|
cb: (err: any, data?: DescribeScalingPlansCommandOutput) => void
|
|
83
79
|
): void;
|
|
84
|
-
|
|
85
80
|
getScalingPlanResourceForecastData(
|
|
86
81
|
args: GetScalingPlanResourceForecastDataCommandInput,
|
|
87
82
|
options?: __HttpHandlerOptions
|
|
@@ -101,7 +96,6 @@ export declare class AutoScalingPlans extends AutoScalingPlansClient {
|
|
|
101
96
|
data?: GetScalingPlanResourceForecastDataCommandOutput
|
|
102
97
|
) => void
|
|
103
98
|
): void;
|
|
104
|
-
|
|
105
99
|
updateScalingPlan(
|
|
106
100
|
args: UpdateScalingPlanCommandInput,
|
|
107
101
|
options?: __HttpHandlerOptions
|
|
@@ -83,47 +83,26 @@ export declare type ServiceOutputTypes =
|
|
|
83
83
|
export interface ClientDefaults
|
|
84
84
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
85
85
|
requestHandler?: __HttpHandler;
|
|
86
|
-
|
|
87
86
|
sha256?: __HashConstructor;
|
|
88
|
-
|
|
89
87
|
urlParser?: __UrlParser;
|
|
90
|
-
|
|
91
88
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
92
|
-
|
|
93
89
|
streamCollector?: __StreamCollector;
|
|
94
|
-
|
|
95
90
|
base64Decoder?: __Decoder;
|
|
96
|
-
|
|
97
91
|
base64Encoder?: __Encoder;
|
|
98
|
-
|
|
99
92
|
utf8Decoder?: __Decoder;
|
|
100
|
-
|
|
101
93
|
utf8Encoder?: __Encoder;
|
|
102
|
-
|
|
103
94
|
runtime?: string;
|
|
104
|
-
|
|
105
95
|
disableHostPrefix?: boolean;
|
|
106
|
-
|
|
107
96
|
maxAttempts?: number | __Provider<number>;
|
|
108
|
-
|
|
109
97
|
retryMode?: string | __Provider<string>;
|
|
110
|
-
|
|
111
98
|
logger?: __Logger;
|
|
112
|
-
|
|
113
99
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
114
|
-
|
|
115
100
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
116
|
-
|
|
117
101
|
serviceId?: string;
|
|
118
|
-
|
|
119
102
|
region?: string | __Provider<string>;
|
|
120
|
-
|
|
121
103
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
122
|
-
|
|
123
104
|
regionInfoProvider?: RegionInfoProvider;
|
|
124
|
-
|
|
125
105
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
126
|
-
|
|
127
106
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
128
107
|
}
|
|
129
108
|
declare type AutoScalingPlansClientConfigType = Partial<
|
|
@@ -136,7 +115,6 @@ declare type AutoScalingPlansClientConfigType = Partial<
|
|
|
136
115
|
HostHeaderInputConfig &
|
|
137
116
|
AwsAuthInputConfig &
|
|
138
117
|
UserAgentInputConfig;
|
|
139
|
-
|
|
140
118
|
export interface AutoScalingPlansClientConfig
|
|
141
119
|
extends AutoScalingPlansClientConfigType {}
|
|
142
120
|
declare type AutoScalingPlansClientResolvedConfigType =
|
|
@@ -148,10 +126,8 @@ declare type AutoScalingPlansClientResolvedConfigType =
|
|
|
148
126
|
HostHeaderResolvedConfig &
|
|
149
127
|
AwsAuthResolvedConfig &
|
|
150
128
|
UserAgentResolvedConfig;
|
|
151
|
-
|
|
152
129
|
export interface AutoScalingPlansClientResolvedConfig
|
|
153
130
|
extends AutoScalingPlansClientResolvedConfigType {}
|
|
154
|
-
|
|
155
131
|
export declare class AutoScalingPlansClient extends __Client<
|
|
156
132
|
__HttpHandlerOptions,
|
|
157
133
|
ServiceInputTypes,
|
|
@@ -160,7 +136,6 @@ export declare class AutoScalingPlansClient extends __Client<
|
|
|
160
136
|
> {
|
|
161
137
|
readonly config: AutoScalingPlansClientResolvedConfig;
|
|
162
138
|
constructor(configuration: AutoScalingPlansClientConfig);
|
|
163
|
-
|
|
164
139
|
destroy(): void;
|
|
165
140
|
}
|
|
166
141
|
export {};
|
|
@@ -19,7 +19,6 @@ export interface CreateScalingPlanCommandInput
|
|
|
19
19
|
export interface CreateScalingPlanCommandOutput
|
|
20
20
|
extends CreateScalingPlanResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class CreateScalingPlanCommand extends $Command<
|
|
24
23
|
CreateScalingPlanCommandInput,
|
|
25
24
|
CreateScalingPlanCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class CreateScalingPlanCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: CreateScalingPlanCommandInput;
|
|
29
28
|
constructor(input: CreateScalingPlanCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: AutoScalingPlansClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface DeleteScalingPlanCommandInput
|
|
|
19
19
|
export interface DeleteScalingPlanCommandOutput
|
|
20
20
|
extends DeleteScalingPlanResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class DeleteScalingPlanCommand extends $Command<
|
|
24
23
|
DeleteScalingPlanCommandInput,
|
|
25
24
|
DeleteScalingPlanCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class DeleteScalingPlanCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: DeleteScalingPlanCommandInput;
|
|
29
28
|
constructor(input: DeleteScalingPlanCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: AutoScalingPlansClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface DescribeScalingPlanResourcesCommandInput
|
|
|
19
19
|
export interface DescribeScalingPlanResourcesCommandOutput
|
|
20
20
|
extends DescribeScalingPlanResourcesResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class DescribeScalingPlanResourcesCommand extends $Command<
|
|
24
23
|
DescribeScalingPlanResourcesCommandInput,
|
|
25
24
|
DescribeScalingPlanResourcesCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class DescribeScalingPlanResourcesCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: DescribeScalingPlanResourcesCommandInput;
|
|
29
28
|
constructor(input: DescribeScalingPlanResourcesCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: AutoScalingPlansClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface DescribeScalingPlansCommandInput
|
|
|
19
19
|
export interface DescribeScalingPlansCommandOutput
|
|
20
20
|
extends DescribeScalingPlansResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class DescribeScalingPlansCommand extends $Command<
|
|
24
23
|
DescribeScalingPlansCommandInput,
|
|
25
24
|
DescribeScalingPlansCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class DescribeScalingPlansCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: DescribeScalingPlansCommandInput;
|
|
29
28
|
constructor(input: DescribeScalingPlansCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: AutoScalingPlansClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface GetScalingPlanResourceForecastDataCommandInput
|
|
|
19
19
|
export interface GetScalingPlanResourceForecastDataCommandOutput
|
|
20
20
|
extends GetScalingPlanResourceForecastDataResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class GetScalingPlanResourceForecastDataCommand extends $Command<
|
|
24
23
|
GetScalingPlanResourceForecastDataCommandInput,
|
|
25
24
|
GetScalingPlanResourceForecastDataCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class GetScalingPlanResourceForecastDataCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: GetScalingPlanResourceForecastDataCommandInput;
|
|
29
28
|
constructor(input: GetScalingPlanResourceForecastDataCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: AutoScalingPlansClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface UpdateScalingPlanCommandInput
|
|
|
19
19
|
export interface UpdateScalingPlanCommandOutput
|
|
20
20
|
extends UpdateScalingPlanResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class UpdateScalingPlanCommand extends $Command<
|
|
24
23
|
UpdateScalingPlanCommandInput,
|
|
25
24
|
UpdateScalingPlanCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class UpdateScalingPlanCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: UpdateScalingPlanCommandInput;
|
|
29
28
|
constructor(input: UpdateScalingPlanCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: AutoScalingPlansClientResolvedConfig,
|
|
@@ -2,7 +2,6 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
-
|
|
6
5
|
export declare class AutoScalingPlansServiceException extends __ServiceException {
|
|
7
6
|
constructor(options: __ServiceExceptionOptions);
|
|
8
7
|
}
|
|
@@ -1,31 +1,23 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { AutoScalingPlansServiceException as __BaseException } from "./AutoScalingPlansServiceException";
|
|
3
|
-
|
|
4
3
|
export declare class ConcurrentUpdateException extends __BaseException {
|
|
5
4
|
readonly name: "ConcurrentUpdateException";
|
|
6
5
|
readonly $fault: "server";
|
|
7
6
|
Message?: string;
|
|
8
|
-
|
|
9
7
|
constructor(
|
|
10
8
|
opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>
|
|
11
9
|
);
|
|
12
10
|
}
|
|
13
|
-
|
|
14
11
|
export interface TagFilter {
|
|
15
12
|
Key?: string;
|
|
16
|
-
|
|
17
13
|
Values?: string[];
|
|
18
14
|
}
|
|
19
|
-
|
|
20
15
|
export interface ApplicationSource {
|
|
21
16
|
CloudFormationStackARN?: string;
|
|
22
|
-
|
|
23
17
|
TagFilters?: TagFilter[];
|
|
24
18
|
}
|
|
25
|
-
|
|
26
19
|
export interface MetricDimension {
|
|
27
20
|
Name: string | undefined;
|
|
28
|
-
|
|
29
21
|
Value: string | undefined;
|
|
30
22
|
}
|
|
31
23
|
export declare enum MetricStatistic {
|
|
@@ -35,16 +27,11 @@ export declare enum MetricStatistic {
|
|
|
35
27
|
SampleCount = "SampleCount",
|
|
36
28
|
Sum = "Sum",
|
|
37
29
|
}
|
|
38
|
-
|
|
39
30
|
export interface CustomizedLoadMetricSpecification {
|
|
40
31
|
MetricName: string | undefined;
|
|
41
|
-
|
|
42
32
|
Namespace: string | undefined;
|
|
43
|
-
|
|
44
33
|
Dimensions?: MetricDimension[];
|
|
45
|
-
|
|
46
34
|
Statistic: MetricStatistic | string | undefined;
|
|
47
|
-
|
|
48
35
|
Unit?: string;
|
|
49
36
|
}
|
|
50
37
|
export declare enum LoadMetricType {
|
|
@@ -53,10 +40,8 @@ export declare enum LoadMetricType {
|
|
|
53
40
|
ASGTotalNetworkIn = "ASGTotalNetworkIn",
|
|
54
41
|
ASGTotalNetworkOut = "ASGTotalNetworkOut",
|
|
55
42
|
}
|
|
56
|
-
|
|
57
43
|
export interface PredefinedLoadMetricSpecification {
|
|
58
44
|
PredefinedLoadMetricType: LoadMetricType | string | undefined;
|
|
59
|
-
|
|
60
45
|
ResourceLabel?: string;
|
|
61
46
|
}
|
|
62
47
|
export declare enum PredictiveScalingMaxCapacityBehavior {
|
|
@@ -89,16 +74,11 @@ export declare enum ServiceNamespace {
|
|
|
89
74
|
ECS = "ecs",
|
|
90
75
|
RDS = "rds",
|
|
91
76
|
}
|
|
92
|
-
|
|
93
77
|
export interface CustomizedScalingMetricSpecification {
|
|
94
78
|
MetricName: string | undefined;
|
|
95
|
-
|
|
96
79
|
Namespace: string | undefined;
|
|
97
|
-
|
|
98
80
|
Dimensions?: MetricDimension[];
|
|
99
|
-
|
|
100
81
|
Statistic: MetricStatistic | string | undefined;
|
|
101
|
-
|
|
102
82
|
Unit?: string;
|
|
103
83
|
}
|
|
104
84
|
export declare enum ScalingMetricType {
|
|
@@ -116,134 +96,94 @@ export declare enum ScalingMetricType {
|
|
|
116
96
|
RDSReaderAverageCPUUtilization = "RDSReaderAverageCPUUtilization",
|
|
117
97
|
RDSReaderAverageDatabaseConnections = "RDSReaderAverageDatabaseConnections",
|
|
118
98
|
}
|
|
119
|
-
|
|
120
99
|
export interface PredefinedScalingMetricSpecification {
|
|
121
100
|
PredefinedScalingMetricType: ScalingMetricType | string | undefined;
|
|
122
|
-
|
|
123
101
|
ResourceLabel?: string;
|
|
124
102
|
}
|
|
125
|
-
|
|
126
103
|
export interface TargetTrackingConfiguration {
|
|
127
104
|
PredefinedScalingMetricSpecification?: PredefinedScalingMetricSpecification;
|
|
128
|
-
|
|
129
105
|
CustomizedScalingMetricSpecification?: CustomizedScalingMetricSpecification;
|
|
130
|
-
|
|
131
106
|
TargetValue: number | undefined;
|
|
132
|
-
|
|
133
107
|
DisableScaleIn?: boolean;
|
|
134
|
-
|
|
135
108
|
ScaleOutCooldown?: number;
|
|
136
|
-
|
|
137
109
|
ScaleInCooldown?: number;
|
|
138
|
-
|
|
139
110
|
EstimatedInstanceWarmup?: number;
|
|
140
111
|
}
|
|
141
|
-
|
|
142
112
|
export interface ScalingInstruction {
|
|
143
113
|
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
144
|
-
|
|
145
114
|
ResourceId: string | undefined;
|
|
146
|
-
|
|
147
115
|
ScalableDimension: ScalableDimension | string | undefined;
|
|
148
|
-
|
|
149
116
|
MinCapacity: number | undefined;
|
|
150
|
-
|
|
151
117
|
MaxCapacity: number | undefined;
|
|
152
|
-
|
|
153
118
|
TargetTrackingConfigurations: TargetTrackingConfiguration[] | undefined;
|
|
154
|
-
|
|
155
119
|
PredefinedLoadMetricSpecification?: PredefinedLoadMetricSpecification;
|
|
156
|
-
|
|
157
120
|
CustomizedLoadMetricSpecification?: CustomizedLoadMetricSpecification;
|
|
158
|
-
|
|
159
121
|
ScheduledActionBufferTime?: number;
|
|
160
|
-
|
|
161
122
|
PredictiveScalingMaxCapacityBehavior?:
|
|
162
123
|
| PredictiveScalingMaxCapacityBehavior
|
|
163
124
|
| string;
|
|
164
|
-
|
|
165
125
|
PredictiveScalingMaxCapacityBuffer?: number;
|
|
166
|
-
|
|
167
126
|
PredictiveScalingMode?: PredictiveScalingMode | string;
|
|
168
|
-
|
|
169
127
|
ScalingPolicyUpdateBehavior?: ScalingPolicyUpdateBehavior | string;
|
|
170
|
-
|
|
171
128
|
DisableDynamicScaling?: boolean;
|
|
172
129
|
}
|
|
173
130
|
export interface CreateScalingPlanRequest {
|
|
174
131
|
ScalingPlanName: string | undefined;
|
|
175
|
-
|
|
176
132
|
ApplicationSource: ApplicationSource | undefined;
|
|
177
|
-
|
|
178
133
|
ScalingInstructions: ScalingInstruction[] | undefined;
|
|
179
134
|
}
|
|
180
135
|
export interface CreateScalingPlanResponse {
|
|
181
136
|
ScalingPlanVersion: number | undefined;
|
|
182
137
|
}
|
|
183
|
-
|
|
184
138
|
export declare class InternalServiceException extends __BaseException {
|
|
185
139
|
readonly name: "InternalServiceException";
|
|
186
140
|
readonly $fault: "server";
|
|
187
141
|
Message?: string;
|
|
188
|
-
|
|
189
142
|
constructor(
|
|
190
143
|
opts: __ExceptionOptionType<InternalServiceException, __BaseException>
|
|
191
144
|
);
|
|
192
145
|
}
|
|
193
|
-
|
|
194
146
|
export declare class LimitExceededException extends __BaseException {
|
|
195
147
|
readonly name: "LimitExceededException";
|
|
196
148
|
readonly $fault: "client";
|
|
197
149
|
Message?: string;
|
|
198
|
-
|
|
199
150
|
constructor(
|
|
200
151
|
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
201
152
|
);
|
|
202
153
|
}
|
|
203
|
-
|
|
204
154
|
export declare class ValidationException extends __BaseException {
|
|
205
155
|
readonly name: "ValidationException";
|
|
206
156
|
readonly $fault: "client";
|
|
207
157
|
Message?: string;
|
|
208
|
-
|
|
209
158
|
constructor(
|
|
210
159
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
211
160
|
);
|
|
212
161
|
}
|
|
213
162
|
export interface DeleteScalingPlanRequest {
|
|
214
163
|
ScalingPlanName: string | undefined;
|
|
215
|
-
|
|
216
164
|
ScalingPlanVersion: number | undefined;
|
|
217
165
|
}
|
|
218
166
|
export interface DeleteScalingPlanResponse {}
|
|
219
|
-
|
|
220
167
|
export declare class ObjectNotFoundException extends __BaseException {
|
|
221
168
|
readonly name: "ObjectNotFoundException";
|
|
222
169
|
readonly $fault: "client";
|
|
223
170
|
Message?: string;
|
|
224
|
-
|
|
225
171
|
constructor(
|
|
226
172
|
opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>
|
|
227
173
|
);
|
|
228
174
|
}
|
|
229
175
|
export interface DescribeScalingPlanResourcesRequest {
|
|
230
176
|
ScalingPlanName: string | undefined;
|
|
231
|
-
|
|
232
177
|
ScalingPlanVersion: number | undefined;
|
|
233
|
-
|
|
234
178
|
MaxResults?: number;
|
|
235
|
-
|
|
236
179
|
NextToken?: string;
|
|
237
180
|
}
|
|
238
181
|
export declare enum PolicyType {
|
|
239
182
|
TargetTrackingScaling = "TargetTrackingScaling",
|
|
240
183
|
}
|
|
241
|
-
|
|
242
184
|
export interface ScalingPolicy {
|
|
243
185
|
PolicyName: string | undefined;
|
|
244
|
-
|
|
245
186
|
PolicyType: PolicyType | string | undefined;
|
|
246
|
-
|
|
247
187
|
TargetTrackingConfiguration?: TargetTrackingConfiguration;
|
|
248
188
|
}
|
|
249
189
|
export declare enum ScalingStatusCode {
|
|
@@ -251,48 +191,33 @@ export declare enum ScalingStatusCode {
|
|
|
251
191
|
Inactive = "Inactive",
|
|
252
192
|
PartiallyActive = "PartiallyActive",
|
|
253
193
|
}
|
|
254
|
-
|
|
255
194
|
export interface ScalingPlanResource {
|
|
256
195
|
ScalingPlanName: string | undefined;
|
|
257
|
-
|
|
258
196
|
ScalingPlanVersion: number | undefined;
|
|
259
|
-
|
|
260
197
|
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
261
|
-
|
|
262
198
|
ResourceId: string | undefined;
|
|
263
|
-
|
|
264
199
|
ScalableDimension: ScalableDimension | string | undefined;
|
|
265
|
-
|
|
266
200
|
ScalingPolicies?: ScalingPolicy[];
|
|
267
|
-
|
|
268
201
|
ScalingStatusCode: ScalingStatusCode | string | undefined;
|
|
269
|
-
|
|
270
202
|
ScalingStatusMessage?: string;
|
|
271
203
|
}
|
|
272
204
|
export interface DescribeScalingPlanResourcesResponse {
|
|
273
205
|
ScalingPlanResources?: ScalingPlanResource[];
|
|
274
|
-
|
|
275
206
|
NextToken?: string;
|
|
276
207
|
}
|
|
277
|
-
|
|
278
208
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
279
209
|
readonly name: "InvalidNextTokenException";
|
|
280
210
|
readonly $fault: "client";
|
|
281
211
|
Message?: string;
|
|
282
|
-
|
|
283
212
|
constructor(
|
|
284
213
|
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
285
214
|
);
|
|
286
215
|
}
|
|
287
216
|
export interface DescribeScalingPlansRequest {
|
|
288
217
|
ScalingPlanNames?: string[];
|
|
289
|
-
|
|
290
218
|
ScalingPlanVersion?: number;
|
|
291
|
-
|
|
292
219
|
ApplicationSources?: ApplicationSource[];
|
|
293
|
-
|
|
294
220
|
MaxResults?: number;
|
|
295
|
-
|
|
296
221
|
NextToken?: string;
|
|
297
222
|
}
|
|
298
223
|
export declare enum ScalingPlanStatusCode {
|
|
@@ -305,27 +230,18 @@ export declare enum ScalingPlanStatusCode {
|
|
|
305
230
|
UpdateFailed = "UpdateFailed",
|
|
306
231
|
UpdateInProgress = "UpdateInProgress",
|
|
307
232
|
}
|
|
308
|
-
|
|
309
233
|
export interface ScalingPlan {
|
|
310
234
|
ScalingPlanName: string | undefined;
|
|
311
|
-
|
|
312
235
|
ScalingPlanVersion: number | undefined;
|
|
313
|
-
|
|
314
236
|
ApplicationSource: ApplicationSource | undefined;
|
|
315
|
-
|
|
316
237
|
ScalingInstructions: ScalingInstruction[] | undefined;
|
|
317
|
-
|
|
318
238
|
StatusCode: ScalingPlanStatusCode | string | undefined;
|
|
319
|
-
|
|
320
239
|
StatusMessage?: string;
|
|
321
|
-
|
|
322
240
|
StatusStartTime?: Date;
|
|
323
|
-
|
|
324
241
|
CreationTime?: Date;
|
|
325
242
|
}
|
|
326
243
|
export interface DescribeScalingPlansResponse {
|
|
327
244
|
ScalingPlans?: ScalingPlan[];
|
|
328
|
-
|
|
329
245
|
NextToken?: string;
|
|
330
246
|
}
|
|
331
247
|
export declare enum ForecastDataType {
|
|
@@ -336,25 +252,16 @@ export declare enum ForecastDataType {
|
|
|
336
252
|
}
|
|
337
253
|
export interface GetScalingPlanResourceForecastDataRequest {
|
|
338
254
|
ScalingPlanName: string | undefined;
|
|
339
|
-
|
|
340
255
|
ScalingPlanVersion: number | undefined;
|
|
341
|
-
|
|
342
256
|
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
343
|
-
|
|
344
257
|
ResourceId: string | undefined;
|
|
345
|
-
|
|
346
258
|
ScalableDimension: ScalableDimension | string | undefined;
|
|
347
|
-
|
|
348
259
|
ForecastDataType: ForecastDataType | string | undefined;
|
|
349
|
-
|
|
350
260
|
StartTime: Date | undefined;
|
|
351
|
-
|
|
352
261
|
EndTime: Date | undefined;
|
|
353
262
|
}
|
|
354
|
-
|
|
355
263
|
export interface Datapoint {
|
|
356
264
|
Timestamp?: Date;
|
|
357
|
-
|
|
358
265
|
Value?: number;
|
|
359
266
|
}
|
|
360
267
|
export interface GetScalingPlanResourceForecastDataResponse {
|
|
@@ -362,105 +269,77 @@ export interface GetScalingPlanResourceForecastDataResponse {
|
|
|
362
269
|
}
|
|
363
270
|
export interface UpdateScalingPlanRequest {
|
|
364
271
|
ScalingPlanName: string | undefined;
|
|
365
|
-
|
|
366
272
|
ScalingPlanVersion: number | undefined;
|
|
367
|
-
|
|
368
273
|
ApplicationSource?: ApplicationSource;
|
|
369
|
-
|
|
370
274
|
ScalingInstructions?: ScalingInstruction[];
|
|
371
275
|
}
|
|
372
276
|
export interface UpdateScalingPlanResponse {}
|
|
373
|
-
|
|
374
277
|
export declare const TagFilterFilterSensitiveLog: (obj: TagFilter) => any;
|
|
375
|
-
|
|
376
278
|
export declare const ApplicationSourceFilterSensitiveLog: (
|
|
377
279
|
obj: ApplicationSource
|
|
378
280
|
) => any;
|
|
379
|
-
|
|
380
281
|
export declare const MetricDimensionFilterSensitiveLog: (
|
|
381
282
|
obj: MetricDimension
|
|
382
283
|
) => any;
|
|
383
|
-
|
|
384
284
|
export declare const CustomizedLoadMetricSpecificationFilterSensitiveLog: (
|
|
385
285
|
obj: CustomizedLoadMetricSpecification
|
|
386
286
|
) => any;
|
|
387
|
-
|
|
388
287
|
export declare const PredefinedLoadMetricSpecificationFilterSensitiveLog: (
|
|
389
288
|
obj: PredefinedLoadMetricSpecification
|
|
390
289
|
) => any;
|
|
391
|
-
|
|
392
290
|
export declare const CustomizedScalingMetricSpecificationFilterSensitiveLog: (
|
|
393
291
|
obj: CustomizedScalingMetricSpecification
|
|
394
292
|
) => any;
|
|
395
|
-
|
|
396
293
|
export declare const PredefinedScalingMetricSpecificationFilterSensitiveLog: (
|
|
397
294
|
obj: PredefinedScalingMetricSpecification
|
|
398
295
|
) => any;
|
|
399
|
-
|
|
400
296
|
export declare const TargetTrackingConfigurationFilterSensitiveLog: (
|
|
401
297
|
obj: TargetTrackingConfiguration
|
|
402
298
|
) => any;
|
|
403
|
-
|
|
404
299
|
export declare const ScalingInstructionFilterSensitiveLog: (
|
|
405
300
|
obj: ScalingInstruction
|
|
406
301
|
) => any;
|
|
407
|
-
|
|
408
302
|
export declare const CreateScalingPlanRequestFilterSensitiveLog: (
|
|
409
303
|
obj: CreateScalingPlanRequest
|
|
410
304
|
) => any;
|
|
411
|
-
|
|
412
305
|
export declare const CreateScalingPlanResponseFilterSensitiveLog: (
|
|
413
306
|
obj: CreateScalingPlanResponse
|
|
414
307
|
) => any;
|
|
415
|
-
|
|
416
308
|
export declare const DeleteScalingPlanRequestFilterSensitiveLog: (
|
|
417
309
|
obj: DeleteScalingPlanRequest
|
|
418
310
|
) => any;
|
|
419
|
-
|
|
420
311
|
export declare const DeleteScalingPlanResponseFilterSensitiveLog: (
|
|
421
312
|
obj: DeleteScalingPlanResponse
|
|
422
313
|
) => any;
|
|
423
|
-
|
|
424
314
|
export declare const DescribeScalingPlanResourcesRequestFilterSensitiveLog: (
|
|
425
315
|
obj: DescribeScalingPlanResourcesRequest
|
|
426
316
|
) => any;
|
|
427
|
-
|
|
428
317
|
export declare const ScalingPolicyFilterSensitiveLog: (
|
|
429
318
|
obj: ScalingPolicy
|
|
430
319
|
) => any;
|
|
431
|
-
|
|
432
320
|
export declare const ScalingPlanResourceFilterSensitiveLog: (
|
|
433
321
|
obj: ScalingPlanResource
|
|
434
322
|
) => any;
|
|
435
|
-
|
|
436
323
|
export declare const DescribeScalingPlanResourcesResponseFilterSensitiveLog: (
|
|
437
324
|
obj: DescribeScalingPlanResourcesResponse
|
|
438
325
|
) => any;
|
|
439
|
-
|
|
440
326
|
export declare const DescribeScalingPlansRequestFilterSensitiveLog: (
|
|
441
327
|
obj: DescribeScalingPlansRequest
|
|
442
328
|
) => any;
|
|
443
|
-
|
|
444
329
|
export declare const ScalingPlanFilterSensitiveLog: (obj: ScalingPlan) => any;
|
|
445
|
-
|
|
446
330
|
export declare const DescribeScalingPlansResponseFilterSensitiveLog: (
|
|
447
331
|
obj: DescribeScalingPlansResponse
|
|
448
332
|
) => any;
|
|
449
|
-
|
|
450
333
|
export declare const GetScalingPlanResourceForecastDataRequestFilterSensitiveLog: (
|
|
451
334
|
obj: GetScalingPlanResourceForecastDataRequest
|
|
452
335
|
) => any;
|
|
453
|
-
|
|
454
336
|
export declare const DatapointFilterSensitiveLog: (obj: Datapoint) => any;
|
|
455
|
-
|
|
456
337
|
export declare const GetScalingPlanResourceForecastDataResponseFilterSensitiveLog: (
|
|
457
338
|
obj: GetScalingPlanResourceForecastDataResponse
|
|
458
339
|
) => any;
|
|
459
|
-
|
|
460
340
|
export declare const UpdateScalingPlanRequestFilterSensitiveLog: (
|
|
461
341
|
obj: UpdateScalingPlanRequest
|
|
462
342
|
) => any;
|
|
463
|
-
|
|
464
343
|
export declare const UpdateScalingPlanResponseFilterSensitiveLog: (
|
|
465
344
|
obj: UpdateScalingPlanResponse
|
|
466
345
|
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling-plans",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auto Scaling Plans Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.171.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,35 +19,35 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.171.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.171.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.171.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.171.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.171.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.171.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.171.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.171.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.171.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.171.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.171.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.171.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.171.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.171.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.171.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.171.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.171.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.171.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.171.0",
|
|
41
|
+
"@aws-sdk/types": "3.171.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.171.0",
|
|
43
43
|
"@aws-sdk/util-base64-browser": "3.170.0",
|
|
44
44
|
"@aws-sdk/util-base64-node": "3.170.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.170.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.170.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.171.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.171.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.171.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.171.0",
|
|
51
51
|
"@aws-sdk/util-utf8-browser": "3.170.0",
|
|
52
52
|
"@aws-sdk/util-utf8-node": "3.170.0",
|
|
53
53
|
"tslib": "^2.3.1"
|