@aws-sdk/client-auto-scaling-plans 3.50.0 → 3.53.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/AutoScalingPlansServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +86 -1
- package/dist-cjs/protocols/Aws_json1_1.js +84 -231
- package/dist-es/index.js +1 -0
- package/dist-es/models/AutoScalingPlansServiceException.js +12 -0
- package/dist-es/models/models_0.js +80 -1
- package/dist-es/protocols/Aws_json1_1.js +155 -244
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/AutoScalingPlansServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +44 -19
- package/dist-types/ts3.4/AutoScalingPlans.d.ts +35 -0
- package/dist-types/ts3.4/AutoScalingPlansClient.d.ts +79 -0
- package/dist-types/ts3.4/commands/CreateScalingPlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteScalingPlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeScalingPlanResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeScalingPlansCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetScalingPlanResourceForecastDataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateScalingPlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/AutoScalingPlansServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +483 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +20 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
|
@@ -0,0 +1,483 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AutoScalingPlansServiceException as __BaseException } from "./AutoScalingPlansServiceException";
|
|
3
|
+
|
|
4
|
+
export declare class ConcurrentUpdateException extends __BaseException {
|
|
5
|
+
readonly name: "ConcurrentUpdateException";
|
|
6
|
+
readonly $fault: "server";
|
|
7
|
+
Message?: string;
|
|
8
|
+
|
|
9
|
+
constructor(opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface TagFilter {
|
|
13
|
+
|
|
14
|
+
Key?: string;
|
|
15
|
+
|
|
16
|
+
Values?: string[];
|
|
17
|
+
}
|
|
18
|
+
export declare namespace TagFilter {
|
|
19
|
+
|
|
20
|
+
const filterSensitiveLog: (obj: TagFilter) => any;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface ApplicationSource {
|
|
24
|
+
|
|
25
|
+
CloudFormationStackARN?: string;
|
|
26
|
+
|
|
27
|
+
TagFilters?: TagFilter[];
|
|
28
|
+
}
|
|
29
|
+
export declare namespace ApplicationSource {
|
|
30
|
+
|
|
31
|
+
const filterSensitiveLog: (obj: ApplicationSource) => any;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface MetricDimension {
|
|
35
|
+
|
|
36
|
+
Name: string | undefined;
|
|
37
|
+
|
|
38
|
+
Value: string | undefined;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace MetricDimension {
|
|
41
|
+
|
|
42
|
+
const filterSensitiveLog: (obj: MetricDimension) => any;
|
|
43
|
+
}
|
|
44
|
+
export declare enum MetricStatistic {
|
|
45
|
+
Average = "Average",
|
|
46
|
+
Maximum = "Maximum",
|
|
47
|
+
Minimum = "Minimum",
|
|
48
|
+
SampleCount = "SampleCount",
|
|
49
|
+
Sum = "Sum"
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface CustomizedLoadMetricSpecification {
|
|
53
|
+
|
|
54
|
+
MetricName: string | undefined;
|
|
55
|
+
|
|
56
|
+
Namespace: string | undefined;
|
|
57
|
+
|
|
58
|
+
Dimensions?: MetricDimension[];
|
|
59
|
+
|
|
60
|
+
Statistic: MetricStatistic | string | undefined;
|
|
61
|
+
|
|
62
|
+
Unit?: string;
|
|
63
|
+
}
|
|
64
|
+
export declare namespace CustomizedLoadMetricSpecification {
|
|
65
|
+
|
|
66
|
+
const filterSensitiveLog: (obj: CustomizedLoadMetricSpecification) => any;
|
|
67
|
+
}
|
|
68
|
+
export declare enum LoadMetricType {
|
|
69
|
+
ALBTargetGroupRequestCount = "ALBTargetGroupRequestCount",
|
|
70
|
+
ASGTotalCPUUtilization = "ASGTotalCPUUtilization",
|
|
71
|
+
ASGTotalNetworkIn = "ASGTotalNetworkIn",
|
|
72
|
+
ASGTotalNetworkOut = "ASGTotalNetworkOut"
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface PredefinedLoadMetricSpecification {
|
|
76
|
+
|
|
77
|
+
PredefinedLoadMetricType: LoadMetricType | string | undefined;
|
|
78
|
+
|
|
79
|
+
ResourceLabel?: string;
|
|
80
|
+
}
|
|
81
|
+
export declare namespace PredefinedLoadMetricSpecification {
|
|
82
|
+
|
|
83
|
+
const filterSensitiveLog: (obj: PredefinedLoadMetricSpecification) => any;
|
|
84
|
+
}
|
|
85
|
+
export declare enum PredictiveScalingMaxCapacityBehavior {
|
|
86
|
+
SetForecastCapacityToMaxCapacity = "SetForecastCapacityToMaxCapacity",
|
|
87
|
+
SetMaxCapacityAboveForecastCapacity = "SetMaxCapacityAboveForecastCapacity",
|
|
88
|
+
SetMaxCapacityToForecastCapacity = "SetMaxCapacityToForecastCapacity"
|
|
89
|
+
}
|
|
90
|
+
export declare enum PredictiveScalingMode {
|
|
91
|
+
ForecastAndScale = "ForecastAndScale",
|
|
92
|
+
ForecastOnly = "ForecastOnly"
|
|
93
|
+
}
|
|
94
|
+
export declare enum ScalableDimension {
|
|
95
|
+
AutoScalingGroupDesiredCapacity = "autoscaling:autoScalingGroup:DesiredCapacity",
|
|
96
|
+
DynamoDBIndexReadCapacityUnits = "dynamodb:index:ReadCapacityUnits",
|
|
97
|
+
DynamoDBIndexWriteCapacityUnits = "dynamodb:index:WriteCapacityUnits",
|
|
98
|
+
DynamoDBTableReadCapacityUnits = "dynamodb:table:ReadCapacityUnits",
|
|
99
|
+
DynamoDBTableWriteCapacityUnits = "dynamodb:table:WriteCapacityUnits",
|
|
100
|
+
EC2SpotFleetRequestTargetCapacity = "ec2:spot-fleet-request:TargetCapacity",
|
|
101
|
+
ECSServiceDesiredCount = "ecs:service:DesiredCount",
|
|
102
|
+
RDSClusterReadReplicaCount = "rds:cluster:ReadReplicaCount"
|
|
103
|
+
}
|
|
104
|
+
export declare enum ScalingPolicyUpdateBehavior {
|
|
105
|
+
KeepExternalPolicies = "KeepExternalPolicies",
|
|
106
|
+
ReplaceExternalPolicies = "ReplaceExternalPolicies"
|
|
107
|
+
}
|
|
108
|
+
export declare enum ServiceNamespace {
|
|
109
|
+
AUTOSCALING = "autoscaling",
|
|
110
|
+
DYNAMODB = "dynamodb",
|
|
111
|
+
EC2 = "ec2",
|
|
112
|
+
ECS = "ecs",
|
|
113
|
+
RDS = "rds"
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export interface CustomizedScalingMetricSpecification {
|
|
117
|
+
|
|
118
|
+
MetricName: string | undefined;
|
|
119
|
+
|
|
120
|
+
Namespace: string | undefined;
|
|
121
|
+
|
|
122
|
+
Dimensions?: MetricDimension[];
|
|
123
|
+
|
|
124
|
+
Statistic: MetricStatistic | string | undefined;
|
|
125
|
+
|
|
126
|
+
Unit?: string;
|
|
127
|
+
}
|
|
128
|
+
export declare namespace CustomizedScalingMetricSpecification {
|
|
129
|
+
|
|
130
|
+
const filterSensitiveLog: (obj: CustomizedScalingMetricSpecification) => any;
|
|
131
|
+
}
|
|
132
|
+
export declare enum ScalingMetricType {
|
|
133
|
+
ALBRequestCountPerTarget = "ALBRequestCountPerTarget",
|
|
134
|
+
ASGAverageCPUUtilization = "ASGAverageCPUUtilization",
|
|
135
|
+
ASGAverageNetworkIn = "ASGAverageNetworkIn",
|
|
136
|
+
ASGAverageNetworkOut = "ASGAverageNetworkOut",
|
|
137
|
+
DynamoDBReadCapacityUtilization = "DynamoDBReadCapacityUtilization",
|
|
138
|
+
DynamoDBWriteCapacityUtilization = "DynamoDBWriteCapacityUtilization",
|
|
139
|
+
EC2SpotFleetRequestAverageCPUUtilization = "EC2SpotFleetRequestAverageCPUUtilization",
|
|
140
|
+
EC2SpotFleetRequestAverageNetworkIn = "EC2SpotFleetRequestAverageNetworkIn",
|
|
141
|
+
EC2SpotFleetRequestAverageNetworkOut = "EC2SpotFleetRequestAverageNetworkOut",
|
|
142
|
+
ECSServiceAverageCPUUtilization = "ECSServiceAverageCPUUtilization",
|
|
143
|
+
ECSServiceAverageMemoryUtilization = "ECSServiceAverageMemoryUtilization",
|
|
144
|
+
RDSReaderAverageCPUUtilization = "RDSReaderAverageCPUUtilization",
|
|
145
|
+
RDSReaderAverageDatabaseConnections = "RDSReaderAverageDatabaseConnections"
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export interface PredefinedScalingMetricSpecification {
|
|
149
|
+
|
|
150
|
+
PredefinedScalingMetricType: ScalingMetricType | string | undefined;
|
|
151
|
+
|
|
152
|
+
ResourceLabel?: string;
|
|
153
|
+
}
|
|
154
|
+
export declare namespace PredefinedScalingMetricSpecification {
|
|
155
|
+
|
|
156
|
+
const filterSensitiveLog: (obj: PredefinedScalingMetricSpecification) => any;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export interface TargetTrackingConfiguration {
|
|
160
|
+
|
|
161
|
+
PredefinedScalingMetricSpecification?: PredefinedScalingMetricSpecification;
|
|
162
|
+
|
|
163
|
+
CustomizedScalingMetricSpecification?: CustomizedScalingMetricSpecification;
|
|
164
|
+
|
|
165
|
+
TargetValue: number | undefined;
|
|
166
|
+
|
|
167
|
+
DisableScaleIn?: boolean;
|
|
168
|
+
|
|
169
|
+
ScaleOutCooldown?: number;
|
|
170
|
+
|
|
171
|
+
ScaleInCooldown?: number;
|
|
172
|
+
|
|
173
|
+
EstimatedInstanceWarmup?: number;
|
|
174
|
+
}
|
|
175
|
+
export declare namespace TargetTrackingConfiguration {
|
|
176
|
+
|
|
177
|
+
const filterSensitiveLog: (obj: TargetTrackingConfiguration) => any;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export interface ScalingInstruction {
|
|
181
|
+
|
|
182
|
+
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
183
|
+
|
|
184
|
+
ResourceId: string | undefined;
|
|
185
|
+
|
|
186
|
+
ScalableDimension: ScalableDimension | string | undefined;
|
|
187
|
+
|
|
188
|
+
MinCapacity: number | undefined;
|
|
189
|
+
|
|
190
|
+
MaxCapacity: number | undefined;
|
|
191
|
+
|
|
192
|
+
TargetTrackingConfigurations: TargetTrackingConfiguration[] | undefined;
|
|
193
|
+
|
|
194
|
+
PredefinedLoadMetricSpecification?: PredefinedLoadMetricSpecification;
|
|
195
|
+
|
|
196
|
+
CustomizedLoadMetricSpecification?: CustomizedLoadMetricSpecification;
|
|
197
|
+
|
|
198
|
+
ScheduledActionBufferTime?: number;
|
|
199
|
+
|
|
200
|
+
PredictiveScalingMaxCapacityBehavior?: PredictiveScalingMaxCapacityBehavior | string;
|
|
201
|
+
|
|
202
|
+
PredictiveScalingMaxCapacityBuffer?: number;
|
|
203
|
+
|
|
204
|
+
PredictiveScalingMode?: PredictiveScalingMode | string;
|
|
205
|
+
|
|
206
|
+
ScalingPolicyUpdateBehavior?: ScalingPolicyUpdateBehavior | string;
|
|
207
|
+
|
|
208
|
+
DisableDynamicScaling?: boolean;
|
|
209
|
+
}
|
|
210
|
+
export declare namespace ScalingInstruction {
|
|
211
|
+
|
|
212
|
+
const filterSensitiveLog: (obj: ScalingInstruction) => any;
|
|
213
|
+
}
|
|
214
|
+
export interface CreateScalingPlanRequest {
|
|
215
|
+
|
|
216
|
+
ScalingPlanName: string | undefined;
|
|
217
|
+
|
|
218
|
+
ApplicationSource: ApplicationSource | undefined;
|
|
219
|
+
|
|
220
|
+
ScalingInstructions: ScalingInstruction[] | undefined;
|
|
221
|
+
}
|
|
222
|
+
export declare namespace CreateScalingPlanRequest {
|
|
223
|
+
|
|
224
|
+
const filterSensitiveLog: (obj: CreateScalingPlanRequest) => any;
|
|
225
|
+
}
|
|
226
|
+
export interface CreateScalingPlanResponse {
|
|
227
|
+
|
|
228
|
+
ScalingPlanVersion: number | undefined;
|
|
229
|
+
}
|
|
230
|
+
export declare namespace CreateScalingPlanResponse {
|
|
231
|
+
|
|
232
|
+
const filterSensitiveLog: (obj: CreateScalingPlanResponse) => any;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export declare class InternalServiceException extends __BaseException {
|
|
236
|
+
readonly name: "InternalServiceException";
|
|
237
|
+
readonly $fault: "server";
|
|
238
|
+
Message?: string;
|
|
239
|
+
|
|
240
|
+
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export declare class LimitExceededException extends __BaseException {
|
|
244
|
+
readonly name: "LimitExceededException";
|
|
245
|
+
readonly $fault: "client";
|
|
246
|
+
Message?: string;
|
|
247
|
+
|
|
248
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export declare class ValidationException extends __BaseException {
|
|
252
|
+
readonly name: "ValidationException";
|
|
253
|
+
readonly $fault: "client";
|
|
254
|
+
Message?: string;
|
|
255
|
+
|
|
256
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
257
|
+
}
|
|
258
|
+
export interface DeleteScalingPlanRequest {
|
|
259
|
+
|
|
260
|
+
ScalingPlanName: string | undefined;
|
|
261
|
+
|
|
262
|
+
ScalingPlanVersion: number | undefined;
|
|
263
|
+
}
|
|
264
|
+
export declare namespace DeleteScalingPlanRequest {
|
|
265
|
+
|
|
266
|
+
const filterSensitiveLog: (obj: DeleteScalingPlanRequest) => any;
|
|
267
|
+
}
|
|
268
|
+
export interface DeleteScalingPlanResponse {
|
|
269
|
+
}
|
|
270
|
+
export declare namespace DeleteScalingPlanResponse {
|
|
271
|
+
|
|
272
|
+
const filterSensitiveLog: (obj: DeleteScalingPlanResponse) => any;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export declare class ObjectNotFoundException extends __BaseException {
|
|
276
|
+
readonly name: "ObjectNotFoundException";
|
|
277
|
+
readonly $fault: "client";
|
|
278
|
+
Message?: string;
|
|
279
|
+
|
|
280
|
+
constructor(opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>);
|
|
281
|
+
}
|
|
282
|
+
export interface DescribeScalingPlanResourcesRequest {
|
|
283
|
+
|
|
284
|
+
ScalingPlanName: string | undefined;
|
|
285
|
+
|
|
286
|
+
ScalingPlanVersion: number | undefined;
|
|
287
|
+
|
|
288
|
+
MaxResults?: number;
|
|
289
|
+
|
|
290
|
+
NextToken?: string;
|
|
291
|
+
}
|
|
292
|
+
export declare namespace DescribeScalingPlanResourcesRequest {
|
|
293
|
+
|
|
294
|
+
const filterSensitiveLog: (obj: DescribeScalingPlanResourcesRequest) => any;
|
|
295
|
+
}
|
|
296
|
+
export declare enum PolicyType {
|
|
297
|
+
TargetTrackingScaling = "TargetTrackingScaling"
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export interface ScalingPolicy {
|
|
301
|
+
|
|
302
|
+
PolicyName: string | undefined;
|
|
303
|
+
|
|
304
|
+
PolicyType: PolicyType | string | undefined;
|
|
305
|
+
|
|
306
|
+
TargetTrackingConfiguration?: TargetTrackingConfiguration;
|
|
307
|
+
}
|
|
308
|
+
export declare namespace ScalingPolicy {
|
|
309
|
+
|
|
310
|
+
const filterSensitiveLog: (obj: ScalingPolicy) => any;
|
|
311
|
+
}
|
|
312
|
+
export declare enum ScalingStatusCode {
|
|
313
|
+
Active = "Active",
|
|
314
|
+
Inactive = "Inactive",
|
|
315
|
+
PartiallyActive = "PartiallyActive"
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export interface ScalingPlanResource {
|
|
319
|
+
|
|
320
|
+
ScalingPlanName: string | undefined;
|
|
321
|
+
|
|
322
|
+
ScalingPlanVersion: number | undefined;
|
|
323
|
+
|
|
324
|
+
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
325
|
+
|
|
326
|
+
ResourceId: string | undefined;
|
|
327
|
+
|
|
328
|
+
ScalableDimension: ScalableDimension | string | undefined;
|
|
329
|
+
|
|
330
|
+
ScalingPolicies?: ScalingPolicy[];
|
|
331
|
+
|
|
332
|
+
ScalingStatusCode: ScalingStatusCode | string | undefined;
|
|
333
|
+
|
|
334
|
+
ScalingStatusMessage?: string;
|
|
335
|
+
}
|
|
336
|
+
export declare namespace ScalingPlanResource {
|
|
337
|
+
|
|
338
|
+
const filterSensitiveLog: (obj: ScalingPlanResource) => any;
|
|
339
|
+
}
|
|
340
|
+
export interface DescribeScalingPlanResourcesResponse {
|
|
341
|
+
|
|
342
|
+
ScalingPlanResources?: ScalingPlanResource[];
|
|
343
|
+
|
|
344
|
+
NextToken?: string;
|
|
345
|
+
}
|
|
346
|
+
export declare namespace DescribeScalingPlanResourcesResponse {
|
|
347
|
+
|
|
348
|
+
const filterSensitiveLog: (obj: DescribeScalingPlanResourcesResponse) => any;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
352
|
+
readonly name: "InvalidNextTokenException";
|
|
353
|
+
readonly $fault: "client";
|
|
354
|
+
Message?: string;
|
|
355
|
+
|
|
356
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
357
|
+
}
|
|
358
|
+
export interface DescribeScalingPlansRequest {
|
|
359
|
+
|
|
360
|
+
ScalingPlanNames?: string[];
|
|
361
|
+
|
|
362
|
+
ScalingPlanVersion?: number;
|
|
363
|
+
|
|
364
|
+
ApplicationSources?: ApplicationSource[];
|
|
365
|
+
|
|
366
|
+
MaxResults?: number;
|
|
367
|
+
|
|
368
|
+
NextToken?: string;
|
|
369
|
+
}
|
|
370
|
+
export declare namespace DescribeScalingPlansRequest {
|
|
371
|
+
|
|
372
|
+
const filterSensitiveLog: (obj: DescribeScalingPlansRequest) => any;
|
|
373
|
+
}
|
|
374
|
+
export declare enum ScalingPlanStatusCode {
|
|
375
|
+
Active = "Active",
|
|
376
|
+
ActiveWithProblems = "ActiveWithProblems",
|
|
377
|
+
CreationFailed = "CreationFailed",
|
|
378
|
+
CreationInProgress = "CreationInProgress",
|
|
379
|
+
DeletionFailed = "DeletionFailed",
|
|
380
|
+
DeletionInProgress = "DeletionInProgress",
|
|
381
|
+
UpdateFailed = "UpdateFailed",
|
|
382
|
+
UpdateInProgress = "UpdateInProgress"
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export interface ScalingPlan {
|
|
386
|
+
|
|
387
|
+
ScalingPlanName: string | undefined;
|
|
388
|
+
|
|
389
|
+
ScalingPlanVersion: number | undefined;
|
|
390
|
+
|
|
391
|
+
ApplicationSource: ApplicationSource | undefined;
|
|
392
|
+
|
|
393
|
+
ScalingInstructions: ScalingInstruction[] | undefined;
|
|
394
|
+
|
|
395
|
+
StatusCode: ScalingPlanStatusCode | string | undefined;
|
|
396
|
+
|
|
397
|
+
StatusMessage?: string;
|
|
398
|
+
|
|
399
|
+
StatusStartTime?: Date;
|
|
400
|
+
|
|
401
|
+
CreationTime?: Date;
|
|
402
|
+
}
|
|
403
|
+
export declare namespace ScalingPlan {
|
|
404
|
+
|
|
405
|
+
const filterSensitiveLog: (obj: ScalingPlan) => any;
|
|
406
|
+
}
|
|
407
|
+
export interface DescribeScalingPlansResponse {
|
|
408
|
+
|
|
409
|
+
ScalingPlans?: ScalingPlan[];
|
|
410
|
+
|
|
411
|
+
NextToken?: string;
|
|
412
|
+
}
|
|
413
|
+
export declare namespace DescribeScalingPlansResponse {
|
|
414
|
+
|
|
415
|
+
const filterSensitiveLog: (obj: DescribeScalingPlansResponse) => any;
|
|
416
|
+
}
|
|
417
|
+
export declare enum ForecastDataType {
|
|
418
|
+
CapacityForecast = "CapacityForecast",
|
|
419
|
+
LoadForecast = "LoadForecast",
|
|
420
|
+
ScheduledActionMaxCapacity = "ScheduledActionMaxCapacity",
|
|
421
|
+
ScheduledActionMinCapacity = "ScheduledActionMinCapacity"
|
|
422
|
+
}
|
|
423
|
+
export interface GetScalingPlanResourceForecastDataRequest {
|
|
424
|
+
|
|
425
|
+
ScalingPlanName: string | undefined;
|
|
426
|
+
|
|
427
|
+
ScalingPlanVersion: number | undefined;
|
|
428
|
+
|
|
429
|
+
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
430
|
+
|
|
431
|
+
ResourceId: string | undefined;
|
|
432
|
+
|
|
433
|
+
ScalableDimension: ScalableDimension | string | undefined;
|
|
434
|
+
|
|
435
|
+
ForecastDataType: ForecastDataType | string | undefined;
|
|
436
|
+
|
|
437
|
+
StartTime: Date | undefined;
|
|
438
|
+
|
|
439
|
+
EndTime: Date | undefined;
|
|
440
|
+
}
|
|
441
|
+
export declare namespace GetScalingPlanResourceForecastDataRequest {
|
|
442
|
+
|
|
443
|
+
const filterSensitiveLog: (obj: GetScalingPlanResourceForecastDataRequest) => any;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export interface Datapoint {
|
|
447
|
+
|
|
448
|
+
Timestamp?: Date;
|
|
449
|
+
|
|
450
|
+
Value?: number;
|
|
451
|
+
}
|
|
452
|
+
export declare namespace Datapoint {
|
|
453
|
+
|
|
454
|
+
const filterSensitiveLog: (obj: Datapoint) => any;
|
|
455
|
+
}
|
|
456
|
+
export interface GetScalingPlanResourceForecastDataResponse {
|
|
457
|
+
|
|
458
|
+
Datapoints: Datapoint[] | undefined;
|
|
459
|
+
}
|
|
460
|
+
export declare namespace GetScalingPlanResourceForecastDataResponse {
|
|
461
|
+
|
|
462
|
+
const filterSensitiveLog: (obj: GetScalingPlanResourceForecastDataResponse) => any;
|
|
463
|
+
}
|
|
464
|
+
export interface UpdateScalingPlanRequest {
|
|
465
|
+
|
|
466
|
+
ScalingPlanName: string | undefined;
|
|
467
|
+
|
|
468
|
+
ScalingPlanVersion: number | undefined;
|
|
469
|
+
|
|
470
|
+
ApplicationSource?: ApplicationSource;
|
|
471
|
+
|
|
472
|
+
ScalingInstructions?: ScalingInstruction[];
|
|
473
|
+
}
|
|
474
|
+
export declare namespace UpdateScalingPlanRequest {
|
|
475
|
+
|
|
476
|
+
const filterSensitiveLog: (obj: UpdateScalingPlanRequest) => any;
|
|
477
|
+
}
|
|
478
|
+
export interface UpdateScalingPlanResponse {
|
|
479
|
+
}
|
|
480
|
+
export declare namespace UpdateScalingPlanResponse {
|
|
481
|
+
|
|
482
|
+
const filterSensitiveLog: (obj: UpdateScalingPlanResponse) => any;
|
|
483
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { CreateScalingPlanCommandInput, CreateScalingPlanCommandOutput } from "../commands/CreateScalingPlanCommand";
|
|
4
|
+
import { DeleteScalingPlanCommandInput, DeleteScalingPlanCommandOutput } from "../commands/DeleteScalingPlanCommand";
|
|
5
|
+
import { DescribeScalingPlanResourcesCommandInput, DescribeScalingPlanResourcesCommandOutput } from "../commands/DescribeScalingPlanResourcesCommand";
|
|
6
|
+
import { DescribeScalingPlansCommandInput, DescribeScalingPlansCommandOutput } from "../commands/DescribeScalingPlansCommand";
|
|
7
|
+
import { GetScalingPlanResourceForecastDataCommandInput, GetScalingPlanResourceForecastDataCommandOutput } from "../commands/GetScalingPlanResourceForecastDataCommand";
|
|
8
|
+
import { UpdateScalingPlanCommandInput, UpdateScalingPlanCommandOutput } from "../commands/UpdateScalingPlanCommand";
|
|
9
|
+
export declare const serializeAws_json1_1CreateScalingPlanCommand: (input: CreateScalingPlanCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
10
|
+
export declare const serializeAws_json1_1DeleteScalingPlanCommand: (input: DeleteScalingPlanCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
11
|
+
export declare const serializeAws_json1_1DescribeScalingPlanResourcesCommand: (input: DescribeScalingPlanResourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
|
+
export declare const serializeAws_json1_1DescribeScalingPlansCommand: (input: DescribeScalingPlansCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
|
+
export declare const serializeAws_json1_1GetScalingPlanResourceForecastDataCommand: (input: GetScalingPlanResourceForecastDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
|
+
export declare const serializeAws_json1_1UpdateScalingPlanCommand: (input: UpdateScalingPlanCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
|
+
export declare const deserializeAws_json1_1CreateScalingPlanCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateScalingPlanCommandOutput>;
|
|
16
|
+
export declare const deserializeAws_json1_1DeleteScalingPlanCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteScalingPlanCommandOutput>;
|
|
17
|
+
export declare const deserializeAws_json1_1DescribeScalingPlanResourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeScalingPlanResourcesCommandOutput>;
|
|
18
|
+
export declare const deserializeAws_json1_1DescribeScalingPlansCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeScalingPlansCommandOutput>;
|
|
19
|
+
export declare const deserializeAws_json1_1GetScalingPlanResourceForecastDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetScalingPlanResourceForecastDataCommandOutput>;
|
|
20
|
+
export declare const deserializeAws_json1_1UpdateScalingPlanCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateScalingPlanCommandOutput>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { AutoScalingPlansClientConfig } from "./AutoScalingPlansClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { AutoScalingPlansClientConfig } from "./AutoScalingPlansClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { AutoScalingPlansClientConfig } from "./AutoScalingPlansClient";
|
|
2
|
+
|
|
3
|
+
export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
6
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
13
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
14
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
15
|
+
disableHostPrefix: boolean;
|
|
16
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
+
logger: import("@aws-sdk/types").Logger;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
serviceId: string;
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
+
import { AutoScalingPlansClientConfig } from "./AutoScalingPlansClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) => {
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
disableHostPrefix: boolean;
|
|
7
|
+
logger: __Logger;
|
|
8
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
9
|
+
serviceId: string;
|
|
10
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
+
};
|