@aws-sdk/client-auto-scaling 3.686.0 → 3.691.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/index.js +39 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_query.js +33 -0
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +553 -498
- package/dist-types/ts3.4/models/models_0.d.ts +528 -498
- package/package.json +7 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { AutoScalingServiceException as __BaseException } from "./AutoScalingServiceException";
|
|
3
3
|
export interface AcceleratorCountRequest {
|
|
4
|
-
Min?: number;
|
|
5
|
-
Max?: number;
|
|
4
|
+
Min?: number | undefined;
|
|
5
|
+
Max?: number | undefined;
|
|
6
6
|
}
|
|
7
7
|
export declare const AcceleratorManufacturer: {
|
|
8
8
|
readonly AMAZON_WEB_SERVICES: "amazon-web-services";
|
|
@@ -24,8 +24,8 @@ export declare const AcceleratorName: {
|
|
|
24
24
|
export type AcceleratorName =
|
|
25
25
|
(typeof AcceleratorName)[keyof typeof AcceleratorName];
|
|
26
26
|
export interface AcceleratorTotalMemoryMiBRequest {
|
|
27
|
-
Min?: number;
|
|
28
|
-
Max?: number;
|
|
27
|
+
Min?: number | undefined;
|
|
28
|
+
Max?: number | undefined;
|
|
29
29
|
}
|
|
30
30
|
export declare const AcceleratorType: {
|
|
31
31
|
readonly FPGA: "fpga";
|
|
@@ -64,33 +64,33 @@ export type ScalingActivityStatusCode =
|
|
|
64
64
|
export interface Activity {
|
|
65
65
|
ActivityId: string | undefined;
|
|
66
66
|
AutoScalingGroupName: string | undefined;
|
|
67
|
-
Description?: string;
|
|
67
|
+
Description?: string | undefined;
|
|
68
68
|
Cause: string | undefined;
|
|
69
69
|
StartTime: Date | undefined;
|
|
70
|
-
EndTime?: Date;
|
|
70
|
+
EndTime?: Date | undefined;
|
|
71
71
|
StatusCode: ScalingActivityStatusCode | undefined;
|
|
72
|
-
StatusMessage?: string;
|
|
73
|
-
Progress?: number;
|
|
74
|
-
Details?: string;
|
|
75
|
-
AutoScalingGroupState?: string;
|
|
76
|
-
AutoScalingGroupARN?: string;
|
|
72
|
+
StatusMessage?: string | undefined;
|
|
73
|
+
Progress?: number | undefined;
|
|
74
|
+
Details?: string | undefined;
|
|
75
|
+
AutoScalingGroupState?: string | undefined;
|
|
76
|
+
AutoScalingGroupARN?: string | undefined;
|
|
77
77
|
}
|
|
78
78
|
export interface ActivitiesType {
|
|
79
79
|
Activities: Activity[] | undefined;
|
|
80
|
-
NextToken?: string;
|
|
80
|
+
NextToken?: string | undefined;
|
|
81
81
|
}
|
|
82
82
|
export interface ActivityType {
|
|
83
|
-
Activity?: Activity;
|
|
83
|
+
Activity?: Activity | undefined;
|
|
84
84
|
}
|
|
85
85
|
export interface AdjustmentType {
|
|
86
|
-
AdjustmentType?: string;
|
|
86
|
+
AdjustmentType?: string | undefined;
|
|
87
87
|
}
|
|
88
88
|
export interface Alarm {
|
|
89
|
-
AlarmName?: string;
|
|
90
|
-
AlarmARN?: string;
|
|
89
|
+
AlarmName?: string | undefined;
|
|
90
|
+
AlarmARN?: string | undefined;
|
|
91
91
|
}
|
|
92
92
|
export interface AlarmSpecification {
|
|
93
|
-
Alarms?: string[];
|
|
93
|
+
Alarms?: string[] | undefined;
|
|
94
94
|
}
|
|
95
95
|
export declare class AlreadyExistsFault extends __BaseException {
|
|
96
96
|
readonly name: "AlreadyExistsFault";
|
|
@@ -98,7 +98,7 @@ export declare class AlreadyExistsFault extends __BaseException {
|
|
|
98
98
|
constructor(opts: __ExceptionOptionType<AlreadyExistsFault, __BaseException>);
|
|
99
99
|
}
|
|
100
100
|
export interface AttachInstancesQuery {
|
|
101
|
-
InstanceIds?: string[];
|
|
101
|
+
InstanceIds?: string[] | undefined;
|
|
102
102
|
AutoScalingGroupName: string | undefined;
|
|
103
103
|
}
|
|
104
104
|
export declare class ResourceContentionFault extends __BaseException {
|
|
@@ -128,7 +128,7 @@ export interface AttachLoadBalancerTargetGroupsType {
|
|
|
128
128
|
export interface AttachTrafficSourcesResultType {}
|
|
129
129
|
export interface TrafficSourceIdentifier {
|
|
130
130
|
Identifier: string | undefined;
|
|
131
|
-
Type?: string;
|
|
131
|
+
Type?: string | undefined;
|
|
132
132
|
}
|
|
133
133
|
export interface AttachTrafficSourcesType {
|
|
134
134
|
AutoScalingGroupName: string | undefined;
|
|
@@ -136,28 +136,32 @@ export interface AttachTrafficSourcesType {
|
|
|
136
136
|
}
|
|
137
137
|
export interface FailedScheduledUpdateGroupActionRequest {
|
|
138
138
|
ScheduledActionName: string | undefined;
|
|
139
|
-
ErrorCode?: string;
|
|
140
|
-
ErrorMessage?: string;
|
|
139
|
+
ErrorCode?: string | undefined;
|
|
140
|
+
ErrorMessage?: string | undefined;
|
|
141
141
|
}
|
|
142
142
|
export interface BatchDeleteScheduledActionAnswer {
|
|
143
|
-
FailedScheduledActions?:
|
|
143
|
+
FailedScheduledActions?:
|
|
144
|
+
| FailedScheduledUpdateGroupActionRequest[]
|
|
145
|
+
| undefined;
|
|
144
146
|
}
|
|
145
147
|
export interface BatchDeleteScheduledActionType {
|
|
146
148
|
AutoScalingGroupName: string | undefined;
|
|
147
149
|
ScheduledActionNames: string[] | undefined;
|
|
148
150
|
}
|
|
149
151
|
export interface BatchPutScheduledUpdateGroupActionAnswer {
|
|
150
|
-
FailedScheduledUpdateGroupActions?:
|
|
152
|
+
FailedScheduledUpdateGroupActions?:
|
|
153
|
+
| FailedScheduledUpdateGroupActionRequest[]
|
|
154
|
+
| undefined;
|
|
151
155
|
}
|
|
152
156
|
export interface ScheduledUpdateGroupActionRequest {
|
|
153
157
|
ScheduledActionName: string | undefined;
|
|
154
|
-
StartTime?: Date;
|
|
155
|
-
EndTime?: Date;
|
|
156
|
-
Recurrence?: string;
|
|
157
|
-
MinSize?: number;
|
|
158
|
-
MaxSize?: number;
|
|
159
|
-
DesiredCapacity?: number;
|
|
160
|
-
TimeZone?: string;
|
|
158
|
+
StartTime?: Date | undefined;
|
|
159
|
+
EndTime?: Date | undefined;
|
|
160
|
+
Recurrence?: string | undefined;
|
|
161
|
+
MinSize?: number | undefined;
|
|
162
|
+
MaxSize?: number | undefined;
|
|
163
|
+
DesiredCapacity?: number | undefined;
|
|
164
|
+
TimeZone?: string | undefined;
|
|
161
165
|
}
|
|
162
166
|
export interface BatchPutScheduledUpdateGroupActionType {
|
|
163
167
|
AutoScalingGroupName: string | undefined;
|
|
@@ -169,7 +173,7 @@ export declare class LimitExceededFault extends __BaseException {
|
|
|
169
173
|
constructor(opts: __ExceptionOptionType<LimitExceededFault, __BaseException>);
|
|
170
174
|
}
|
|
171
175
|
export interface CancelInstanceRefreshAnswer {
|
|
172
|
-
InstanceRefreshId?: string;
|
|
176
|
+
InstanceRefreshId?: string | undefined;
|
|
173
177
|
}
|
|
174
178
|
export interface CancelInstanceRefreshType {
|
|
175
179
|
AutoScalingGroupName: string | undefined;
|
|
@@ -178,35 +182,44 @@ export interface CompleteLifecycleActionAnswer {}
|
|
|
178
182
|
export interface CompleteLifecycleActionType {
|
|
179
183
|
LifecycleHookName: string | undefined;
|
|
180
184
|
AutoScalingGroupName: string | undefined;
|
|
181
|
-
LifecycleActionToken?: string;
|
|
185
|
+
LifecycleActionToken?: string | undefined;
|
|
182
186
|
LifecycleActionResult: string | undefined;
|
|
183
|
-
InstanceId?: string;
|
|
187
|
+
InstanceId?: string | undefined;
|
|
188
|
+
}
|
|
189
|
+
export declare const CapacityDistributionStrategy: {
|
|
190
|
+
readonly BALANCED_BEST_EFFORT: "balanced-best-effort";
|
|
191
|
+
readonly BALANCED_ONLY: "balanced-only";
|
|
192
|
+
};
|
|
193
|
+
export type CapacityDistributionStrategy =
|
|
194
|
+
(typeof CapacityDistributionStrategy)[keyof typeof CapacityDistributionStrategy];
|
|
195
|
+
export interface AvailabilityZoneDistribution {
|
|
196
|
+
CapacityDistributionStrategy?: CapacityDistributionStrategy | undefined;
|
|
184
197
|
}
|
|
185
198
|
export interface InstanceMaintenancePolicy {
|
|
186
|
-
MinHealthyPercentage?: number;
|
|
187
|
-
MaxHealthyPercentage?: number;
|
|
199
|
+
MinHealthyPercentage?: number | undefined;
|
|
200
|
+
MaxHealthyPercentage?: number | undefined;
|
|
188
201
|
}
|
|
189
202
|
export interface LaunchTemplateSpecification {
|
|
190
|
-
LaunchTemplateId?: string;
|
|
191
|
-
LaunchTemplateName?: string;
|
|
192
|
-
Version?: string;
|
|
203
|
+
LaunchTemplateId?: string | undefined;
|
|
204
|
+
LaunchTemplateName?: string | undefined;
|
|
205
|
+
Version?: string | undefined;
|
|
193
206
|
}
|
|
194
207
|
export interface LifecycleHookSpecification {
|
|
195
208
|
LifecycleHookName: string | undefined;
|
|
196
209
|
LifecycleTransition: string | undefined;
|
|
197
|
-
NotificationMetadata?: string;
|
|
198
|
-
HeartbeatTimeout?: number;
|
|
199
|
-
DefaultResult?: string;
|
|
200
|
-
NotificationTargetARN?: string;
|
|
201
|
-
RoleARN?: string;
|
|
210
|
+
NotificationMetadata?: string | undefined;
|
|
211
|
+
HeartbeatTimeout?: number | undefined;
|
|
212
|
+
DefaultResult?: string | undefined;
|
|
213
|
+
NotificationTargetARN?: string | undefined;
|
|
214
|
+
RoleARN?: string | undefined;
|
|
202
215
|
}
|
|
203
216
|
export interface InstancesDistribution {
|
|
204
|
-
OnDemandAllocationStrategy?: string;
|
|
205
|
-
OnDemandBaseCapacity?: number;
|
|
206
|
-
OnDemandPercentageAboveBaseCapacity?: number;
|
|
207
|
-
SpotAllocationStrategy?: string;
|
|
208
|
-
SpotInstancePools?: number;
|
|
209
|
-
SpotMaxPrice?: string;
|
|
217
|
+
OnDemandAllocationStrategy?: string | undefined;
|
|
218
|
+
OnDemandBaseCapacity?: number | undefined;
|
|
219
|
+
OnDemandPercentageAboveBaseCapacity?: number | undefined;
|
|
220
|
+
SpotAllocationStrategy?: string | undefined;
|
|
221
|
+
SpotInstancePools?: number | undefined;
|
|
222
|
+
SpotMaxPrice?: string | undefined;
|
|
210
223
|
}
|
|
211
224
|
export declare const BareMetal: {
|
|
212
225
|
readonly EXCLUDED: "excluded";
|
|
@@ -215,8 +228,8 @@ export declare const BareMetal: {
|
|
|
215
228
|
};
|
|
216
229
|
export type BareMetal = (typeof BareMetal)[keyof typeof BareMetal];
|
|
217
230
|
export interface BaselineEbsBandwidthMbpsRequest {
|
|
218
|
-
Min?: number;
|
|
219
|
-
Max?: number;
|
|
231
|
+
Min?: number | undefined;
|
|
232
|
+
Max?: number | undefined;
|
|
220
233
|
}
|
|
221
234
|
export declare const BurstablePerformance: {
|
|
222
235
|
readonly EXCLUDED: "excluded";
|
|
@@ -251,123 +264,124 @@ export declare const LocalStorageType: {
|
|
|
251
264
|
export type LocalStorageType =
|
|
252
265
|
(typeof LocalStorageType)[keyof typeof LocalStorageType];
|
|
253
266
|
export interface MemoryGiBPerVCpuRequest {
|
|
254
|
-
Min?: number;
|
|
255
|
-
Max?: number;
|
|
267
|
+
Min?: number | undefined;
|
|
268
|
+
Max?: number | undefined;
|
|
256
269
|
}
|
|
257
270
|
export interface MemoryMiBRequest {
|
|
258
271
|
Min: number | undefined;
|
|
259
|
-
Max?: number;
|
|
272
|
+
Max?: number | undefined;
|
|
260
273
|
}
|
|
261
274
|
export interface NetworkBandwidthGbpsRequest {
|
|
262
|
-
Min?: number;
|
|
263
|
-
Max?: number;
|
|
275
|
+
Min?: number | undefined;
|
|
276
|
+
Max?: number | undefined;
|
|
264
277
|
}
|
|
265
278
|
export interface NetworkInterfaceCountRequest {
|
|
266
|
-
Min?: number;
|
|
267
|
-
Max?: number;
|
|
279
|
+
Min?: number | undefined;
|
|
280
|
+
Max?: number | undefined;
|
|
268
281
|
}
|
|
269
282
|
export interface TotalLocalStorageGBRequest {
|
|
270
|
-
Min?: number;
|
|
271
|
-
Max?: number;
|
|
283
|
+
Min?: number | undefined;
|
|
284
|
+
Max?: number | undefined;
|
|
272
285
|
}
|
|
273
286
|
export interface VCpuCountRequest {
|
|
274
287
|
Min: number | undefined;
|
|
275
|
-
Max?: number;
|
|
288
|
+
Max?: number | undefined;
|
|
276
289
|
}
|
|
277
290
|
export interface InstanceRequirements {
|
|
278
291
|
VCpuCount: VCpuCountRequest | undefined;
|
|
279
292
|
MemoryMiB: MemoryMiBRequest | undefined;
|
|
280
|
-
CpuManufacturers?: CpuManufacturer[];
|
|
281
|
-
MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
|
|
282
|
-
ExcludedInstanceTypes?: string[];
|
|
283
|
-
InstanceGenerations?: InstanceGeneration[];
|
|
284
|
-
SpotMaxPricePercentageOverLowestPrice?: number;
|
|
285
|
-
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number;
|
|
286
|
-
OnDemandMaxPricePercentageOverLowestPrice?: number;
|
|
287
|
-
BareMetal?: BareMetal;
|
|
288
|
-
BurstablePerformance?: BurstablePerformance;
|
|
289
|
-
RequireHibernateSupport?: boolean;
|
|
290
|
-
NetworkInterfaceCount?: NetworkInterfaceCountRequest;
|
|
291
|
-
LocalStorage?: LocalStorage;
|
|
292
|
-
LocalStorageTypes?: LocalStorageType[];
|
|
293
|
-
TotalLocalStorageGB?: TotalLocalStorageGBRequest;
|
|
294
|
-
BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest;
|
|
295
|
-
AcceleratorTypes?: AcceleratorType[];
|
|
296
|
-
AcceleratorCount?: AcceleratorCountRequest;
|
|
297
|
-
AcceleratorManufacturers?: AcceleratorManufacturer[];
|
|
298
|
-
AcceleratorNames?: AcceleratorName[];
|
|
299
|
-
AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest;
|
|
300
|
-
NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest;
|
|
301
|
-
AllowedInstanceTypes?: string[];
|
|
293
|
+
CpuManufacturers?: CpuManufacturer[] | undefined;
|
|
294
|
+
MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest | undefined;
|
|
295
|
+
ExcludedInstanceTypes?: string[] | undefined;
|
|
296
|
+
InstanceGenerations?: InstanceGeneration[] | undefined;
|
|
297
|
+
SpotMaxPricePercentageOverLowestPrice?: number | undefined;
|
|
298
|
+
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
|
|
299
|
+
OnDemandMaxPricePercentageOverLowestPrice?: number | undefined;
|
|
300
|
+
BareMetal?: BareMetal | undefined;
|
|
301
|
+
BurstablePerformance?: BurstablePerformance | undefined;
|
|
302
|
+
RequireHibernateSupport?: boolean | undefined;
|
|
303
|
+
NetworkInterfaceCount?: NetworkInterfaceCountRequest | undefined;
|
|
304
|
+
LocalStorage?: LocalStorage | undefined;
|
|
305
|
+
LocalStorageTypes?: LocalStorageType[] | undefined;
|
|
306
|
+
TotalLocalStorageGB?: TotalLocalStorageGBRequest | undefined;
|
|
307
|
+
BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest | undefined;
|
|
308
|
+
AcceleratorTypes?: AcceleratorType[] | undefined;
|
|
309
|
+
AcceleratorCount?: AcceleratorCountRequest | undefined;
|
|
310
|
+
AcceleratorManufacturers?: AcceleratorManufacturer[] | undefined;
|
|
311
|
+
AcceleratorNames?: AcceleratorName[] | undefined;
|
|
312
|
+
AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest | undefined;
|
|
313
|
+
NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest | undefined;
|
|
314
|
+
AllowedInstanceTypes?: string[] | undefined;
|
|
302
315
|
}
|
|
303
316
|
export interface LaunchTemplateOverrides {
|
|
304
|
-
InstanceType?: string;
|
|
305
|
-
WeightedCapacity?: string;
|
|
306
|
-
LaunchTemplateSpecification?: LaunchTemplateSpecification;
|
|
307
|
-
InstanceRequirements?: InstanceRequirements;
|
|
317
|
+
InstanceType?: string | undefined;
|
|
318
|
+
WeightedCapacity?: string | undefined;
|
|
319
|
+
LaunchTemplateSpecification?: LaunchTemplateSpecification | undefined;
|
|
320
|
+
InstanceRequirements?: InstanceRequirements | undefined;
|
|
308
321
|
}
|
|
309
322
|
export interface LaunchTemplate {
|
|
310
|
-
LaunchTemplateSpecification?: LaunchTemplateSpecification;
|
|
311
|
-
Overrides?: LaunchTemplateOverrides[];
|
|
323
|
+
LaunchTemplateSpecification?: LaunchTemplateSpecification | undefined;
|
|
324
|
+
Overrides?: LaunchTemplateOverrides[] | undefined;
|
|
312
325
|
}
|
|
313
326
|
export interface MixedInstancesPolicy {
|
|
314
|
-
LaunchTemplate?: LaunchTemplate;
|
|
315
|
-
InstancesDistribution?: InstancesDistribution;
|
|
327
|
+
LaunchTemplate?: LaunchTemplate | undefined;
|
|
328
|
+
InstancesDistribution?: InstancesDistribution | undefined;
|
|
316
329
|
}
|
|
317
330
|
export interface Tag {
|
|
318
|
-
ResourceId?: string;
|
|
319
|
-
ResourceType?: string;
|
|
331
|
+
ResourceId?: string | undefined;
|
|
332
|
+
ResourceType?: string | undefined;
|
|
320
333
|
Key: string | undefined;
|
|
321
|
-
Value?: string;
|
|
322
|
-
PropagateAtLaunch?: boolean;
|
|
334
|
+
Value?: string | undefined;
|
|
335
|
+
PropagateAtLaunch?: boolean | undefined;
|
|
323
336
|
}
|
|
324
337
|
export interface CreateAutoScalingGroupType {
|
|
325
338
|
AutoScalingGroupName: string | undefined;
|
|
326
|
-
LaunchConfigurationName?: string;
|
|
327
|
-
LaunchTemplate?: LaunchTemplateSpecification;
|
|
328
|
-
MixedInstancesPolicy?: MixedInstancesPolicy;
|
|
329
|
-
InstanceId?: string;
|
|
339
|
+
LaunchConfigurationName?: string | undefined;
|
|
340
|
+
LaunchTemplate?: LaunchTemplateSpecification | undefined;
|
|
341
|
+
MixedInstancesPolicy?: MixedInstancesPolicy | undefined;
|
|
342
|
+
InstanceId?: string | undefined;
|
|
330
343
|
MinSize: number | undefined;
|
|
331
344
|
MaxSize: number | undefined;
|
|
332
|
-
DesiredCapacity?: number;
|
|
333
|
-
DefaultCooldown?: number;
|
|
334
|
-
AvailabilityZones?: string[];
|
|
335
|
-
LoadBalancerNames?: string[];
|
|
336
|
-
TargetGroupARNs?: string[];
|
|
337
|
-
HealthCheckType?: string;
|
|
338
|
-
HealthCheckGracePeriod?: number;
|
|
339
|
-
PlacementGroup?: string;
|
|
340
|
-
VPCZoneIdentifier?: string;
|
|
341
|
-
TerminationPolicies?: string[];
|
|
342
|
-
NewInstancesProtectedFromScaleIn?: boolean;
|
|
343
|
-
CapacityRebalance?: boolean;
|
|
344
|
-
LifecycleHookSpecificationList?: LifecycleHookSpecification[];
|
|
345
|
-
Tags?: Tag[];
|
|
346
|
-
ServiceLinkedRoleARN?: string;
|
|
347
|
-
MaxInstanceLifetime?: number;
|
|
348
|
-
Context?: string;
|
|
349
|
-
DesiredCapacityType?: string;
|
|
350
|
-
DefaultInstanceWarmup?: number;
|
|
351
|
-
TrafficSources?: TrafficSourceIdentifier[];
|
|
352
|
-
InstanceMaintenancePolicy?: InstanceMaintenancePolicy;
|
|
345
|
+
DesiredCapacity?: number | undefined;
|
|
346
|
+
DefaultCooldown?: number | undefined;
|
|
347
|
+
AvailabilityZones?: string[] | undefined;
|
|
348
|
+
LoadBalancerNames?: string[] | undefined;
|
|
349
|
+
TargetGroupARNs?: string[] | undefined;
|
|
350
|
+
HealthCheckType?: string | undefined;
|
|
351
|
+
HealthCheckGracePeriod?: number | undefined;
|
|
352
|
+
PlacementGroup?: string | undefined;
|
|
353
|
+
VPCZoneIdentifier?: string | undefined;
|
|
354
|
+
TerminationPolicies?: string[] | undefined;
|
|
355
|
+
NewInstancesProtectedFromScaleIn?: boolean | undefined;
|
|
356
|
+
CapacityRebalance?: boolean | undefined;
|
|
357
|
+
LifecycleHookSpecificationList?: LifecycleHookSpecification[] | undefined;
|
|
358
|
+
Tags?: Tag[] | undefined;
|
|
359
|
+
ServiceLinkedRoleARN?: string | undefined;
|
|
360
|
+
MaxInstanceLifetime?: number | undefined;
|
|
361
|
+
Context?: string | undefined;
|
|
362
|
+
DesiredCapacityType?: string | undefined;
|
|
363
|
+
DefaultInstanceWarmup?: number | undefined;
|
|
364
|
+
TrafficSources?: TrafficSourceIdentifier[] | undefined;
|
|
365
|
+
InstanceMaintenancePolicy?: InstanceMaintenancePolicy | undefined;
|
|
366
|
+
AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
|
|
353
367
|
}
|
|
354
368
|
export interface Ebs {
|
|
355
|
-
SnapshotId?: string;
|
|
356
|
-
VolumeSize?: number;
|
|
357
|
-
VolumeType?: string;
|
|
358
|
-
DeleteOnTermination?: boolean;
|
|
359
|
-
Iops?: number;
|
|
360
|
-
Encrypted?: boolean;
|
|
361
|
-
Throughput?: number;
|
|
369
|
+
SnapshotId?: string | undefined;
|
|
370
|
+
VolumeSize?: number | undefined;
|
|
371
|
+
VolumeType?: string | undefined;
|
|
372
|
+
DeleteOnTermination?: boolean | undefined;
|
|
373
|
+
Iops?: number | undefined;
|
|
374
|
+
Encrypted?: boolean | undefined;
|
|
375
|
+
Throughput?: number | undefined;
|
|
362
376
|
}
|
|
363
377
|
export interface BlockDeviceMapping {
|
|
364
|
-
VirtualName?: string;
|
|
378
|
+
VirtualName?: string | undefined;
|
|
365
379
|
DeviceName: string | undefined;
|
|
366
|
-
Ebs?: Ebs;
|
|
367
|
-
NoDevice?: boolean;
|
|
380
|
+
Ebs?: Ebs | undefined;
|
|
381
|
+
NoDevice?: boolean | undefined;
|
|
368
382
|
}
|
|
369
383
|
export interface InstanceMonitoring {
|
|
370
|
-
Enabled?: boolean;
|
|
384
|
+
Enabled?: boolean | undefined;
|
|
371
385
|
}
|
|
372
386
|
export declare const InstanceMetadataEndpointState: {
|
|
373
387
|
readonly Disabled: "disabled";
|
|
@@ -382,30 +396,30 @@ export declare const InstanceMetadataHttpTokensState: {
|
|
|
382
396
|
export type InstanceMetadataHttpTokensState =
|
|
383
397
|
(typeof InstanceMetadataHttpTokensState)[keyof typeof InstanceMetadataHttpTokensState];
|
|
384
398
|
export interface InstanceMetadataOptions {
|
|
385
|
-
HttpTokens?: InstanceMetadataHttpTokensState;
|
|
386
|
-
HttpPutResponseHopLimit?: number;
|
|
387
|
-
HttpEndpoint?: InstanceMetadataEndpointState;
|
|
399
|
+
HttpTokens?: InstanceMetadataHttpTokensState | undefined;
|
|
400
|
+
HttpPutResponseHopLimit?: number | undefined;
|
|
401
|
+
HttpEndpoint?: InstanceMetadataEndpointState | undefined;
|
|
388
402
|
}
|
|
389
403
|
export interface CreateLaunchConfigurationType {
|
|
390
404
|
LaunchConfigurationName: string | undefined;
|
|
391
|
-
ImageId?: string;
|
|
392
|
-
KeyName?: string;
|
|
393
|
-
SecurityGroups?: string[];
|
|
394
|
-
ClassicLinkVPCId?: string;
|
|
395
|
-
ClassicLinkVPCSecurityGroups?: string[];
|
|
396
|
-
UserData?: string;
|
|
397
|
-
InstanceId?: string;
|
|
398
|
-
InstanceType?: string;
|
|
399
|
-
KernelId?: string;
|
|
400
|
-
RamdiskId?: string;
|
|
401
|
-
BlockDeviceMappings?: BlockDeviceMapping[];
|
|
402
|
-
InstanceMonitoring?: InstanceMonitoring;
|
|
403
|
-
SpotPrice?: string;
|
|
404
|
-
IamInstanceProfile?: string;
|
|
405
|
-
EbsOptimized?: boolean;
|
|
406
|
-
AssociatePublicIpAddress?: boolean;
|
|
407
|
-
PlacementTenancy?: string;
|
|
408
|
-
MetadataOptions?: InstanceMetadataOptions;
|
|
405
|
+
ImageId?: string | undefined;
|
|
406
|
+
KeyName?: string | undefined;
|
|
407
|
+
SecurityGroups?: string[] | undefined;
|
|
408
|
+
ClassicLinkVPCId?: string | undefined;
|
|
409
|
+
ClassicLinkVPCSecurityGroups?: string[] | undefined;
|
|
410
|
+
UserData?: string | undefined;
|
|
411
|
+
InstanceId?: string | undefined;
|
|
412
|
+
InstanceType?: string | undefined;
|
|
413
|
+
KernelId?: string | undefined;
|
|
414
|
+
RamdiskId?: string | undefined;
|
|
415
|
+
BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
|
|
416
|
+
InstanceMonitoring?: InstanceMonitoring | undefined;
|
|
417
|
+
SpotPrice?: string | undefined;
|
|
418
|
+
IamInstanceProfile?: string | undefined;
|
|
419
|
+
EbsOptimized?: boolean | undefined;
|
|
420
|
+
AssociatePublicIpAddress?: boolean | undefined;
|
|
421
|
+
PlacementTenancy?: string | undefined;
|
|
422
|
+
MetadataOptions?: InstanceMetadataOptions | undefined;
|
|
409
423
|
}
|
|
410
424
|
export interface CreateOrUpdateTagsType {
|
|
411
425
|
Tags: Tag[] | undefined;
|
|
@@ -417,7 +431,7 @@ export declare class ResourceInUseFault extends __BaseException {
|
|
|
417
431
|
}
|
|
418
432
|
export interface DeleteAutoScalingGroupType {
|
|
419
433
|
AutoScalingGroupName: string | undefined;
|
|
420
|
-
ForceDelete?: boolean;
|
|
434
|
+
ForceDelete?: boolean | undefined;
|
|
421
435
|
}
|
|
422
436
|
export declare class ScalingActivityInProgressFault extends __BaseException {
|
|
423
437
|
readonly name: "ScalingActivityInProgressFault";
|
|
@@ -439,7 +453,7 @@ export interface DeleteNotificationConfigurationType {
|
|
|
439
453
|
TopicARN: string | undefined;
|
|
440
454
|
}
|
|
441
455
|
export interface DeletePolicyType {
|
|
442
|
-
AutoScalingGroupName?: string;
|
|
456
|
+
AutoScalingGroupName?: string | undefined;
|
|
443
457
|
PolicyName: string | undefined;
|
|
444
458
|
}
|
|
445
459
|
export interface DeleteScheduledActionType {
|
|
@@ -452,30 +466,30 @@ export interface DeleteTagsType {
|
|
|
452
466
|
export interface DeleteWarmPoolAnswer {}
|
|
453
467
|
export interface DeleteWarmPoolType {
|
|
454
468
|
AutoScalingGroupName: string | undefined;
|
|
455
|
-
ForceDelete?: boolean;
|
|
469
|
+
ForceDelete?: boolean | undefined;
|
|
456
470
|
}
|
|
457
471
|
export interface DescribeAccountLimitsAnswer {
|
|
458
|
-
MaxNumberOfAutoScalingGroups?: number;
|
|
459
|
-
MaxNumberOfLaunchConfigurations?: number;
|
|
460
|
-
NumberOfAutoScalingGroups?: number;
|
|
461
|
-
NumberOfLaunchConfigurations?: number;
|
|
472
|
+
MaxNumberOfAutoScalingGroups?: number | undefined;
|
|
473
|
+
MaxNumberOfLaunchConfigurations?: number | undefined;
|
|
474
|
+
NumberOfAutoScalingGroups?: number | undefined;
|
|
475
|
+
NumberOfLaunchConfigurations?: number | undefined;
|
|
462
476
|
}
|
|
463
477
|
export interface DescribeAdjustmentTypesAnswer {
|
|
464
|
-
AdjustmentTypes?: AdjustmentType[];
|
|
478
|
+
AdjustmentTypes?: AdjustmentType[] | undefined;
|
|
465
479
|
}
|
|
466
480
|
export interface Filter {
|
|
467
|
-
Name?: string;
|
|
468
|
-
Values?: string[];
|
|
481
|
+
Name?: string | undefined;
|
|
482
|
+
Values?: string[] | undefined;
|
|
469
483
|
}
|
|
470
484
|
export interface AutoScalingGroupNamesType {
|
|
471
|
-
AutoScalingGroupNames?: string[];
|
|
472
|
-
NextToken?: string;
|
|
473
|
-
MaxRecords?: number;
|
|
474
|
-
Filters?: Filter[];
|
|
485
|
+
AutoScalingGroupNames?: string[] | undefined;
|
|
486
|
+
NextToken?: string | undefined;
|
|
487
|
+
MaxRecords?: number | undefined;
|
|
488
|
+
Filters?: Filter[] | undefined;
|
|
475
489
|
}
|
|
476
490
|
export interface EnabledMetric {
|
|
477
|
-
Metric?: string;
|
|
478
|
-
Granularity?: string;
|
|
491
|
+
Metric?: string | undefined;
|
|
492
|
+
Granularity?: string | undefined;
|
|
479
493
|
}
|
|
480
494
|
export declare const LifecycleState: {
|
|
481
495
|
readonly DETACHED: "Detached";
|
|
@@ -506,28 +520,28 @@ export type LifecycleState =
|
|
|
506
520
|
(typeof LifecycleState)[keyof typeof LifecycleState];
|
|
507
521
|
export interface Instance {
|
|
508
522
|
InstanceId: string | undefined;
|
|
509
|
-
InstanceType?: string;
|
|
523
|
+
InstanceType?: string | undefined;
|
|
510
524
|
AvailabilityZone: string | undefined;
|
|
511
525
|
LifecycleState: LifecycleState | undefined;
|
|
512
526
|
HealthStatus: string | undefined;
|
|
513
|
-
LaunchConfigurationName?: string;
|
|
514
|
-
LaunchTemplate?: LaunchTemplateSpecification;
|
|
527
|
+
LaunchConfigurationName?: string | undefined;
|
|
528
|
+
LaunchTemplate?: LaunchTemplateSpecification | undefined;
|
|
515
529
|
ProtectedFromScaleIn: boolean | undefined;
|
|
516
|
-
WeightedCapacity?: string;
|
|
530
|
+
WeightedCapacity?: string | undefined;
|
|
517
531
|
}
|
|
518
532
|
export interface SuspendedProcess {
|
|
519
|
-
ProcessName?: string;
|
|
520
|
-
SuspensionReason?: string;
|
|
533
|
+
ProcessName?: string | undefined;
|
|
534
|
+
SuspensionReason?: string | undefined;
|
|
521
535
|
}
|
|
522
536
|
export interface TagDescription {
|
|
523
|
-
ResourceId?: string;
|
|
524
|
-
ResourceType?: string;
|
|
525
|
-
Key?: string;
|
|
526
|
-
Value?: string;
|
|
527
|
-
PropagateAtLaunch?: boolean;
|
|
537
|
+
ResourceId?: string | undefined;
|
|
538
|
+
ResourceType?: string | undefined;
|
|
539
|
+
Key?: string | undefined;
|
|
540
|
+
Value?: string | undefined;
|
|
541
|
+
PropagateAtLaunch?: boolean | undefined;
|
|
528
542
|
}
|
|
529
543
|
export interface InstanceReusePolicy {
|
|
530
|
-
ReuseOnScaleIn?: boolean;
|
|
544
|
+
ReuseOnScaleIn?: boolean | undefined;
|
|
531
545
|
}
|
|
532
546
|
export declare const WarmPoolState: {
|
|
533
547
|
readonly Hibernated: "Hibernated";
|
|
@@ -541,52 +555,53 @@ export declare const WarmPoolStatus: {
|
|
|
541
555
|
export type WarmPoolStatus =
|
|
542
556
|
(typeof WarmPoolStatus)[keyof typeof WarmPoolStatus];
|
|
543
557
|
export interface WarmPoolConfiguration {
|
|
544
|
-
MaxGroupPreparedCapacity?: number;
|
|
545
|
-
MinSize?: number;
|
|
546
|
-
PoolState?: WarmPoolState;
|
|
547
|
-
Status?: WarmPoolStatus;
|
|
548
|
-
InstanceReusePolicy?: InstanceReusePolicy;
|
|
558
|
+
MaxGroupPreparedCapacity?: number | undefined;
|
|
559
|
+
MinSize?: number | undefined;
|
|
560
|
+
PoolState?: WarmPoolState | undefined;
|
|
561
|
+
Status?: WarmPoolStatus | undefined;
|
|
562
|
+
InstanceReusePolicy?: InstanceReusePolicy | undefined;
|
|
549
563
|
}
|
|
550
564
|
export interface AutoScalingGroup {
|
|
551
565
|
AutoScalingGroupName: string | undefined;
|
|
552
|
-
AutoScalingGroupARN?: string;
|
|
553
|
-
LaunchConfigurationName?: string;
|
|
554
|
-
LaunchTemplate?: LaunchTemplateSpecification;
|
|
555
|
-
MixedInstancesPolicy?: MixedInstancesPolicy;
|
|
566
|
+
AutoScalingGroupARN?: string | undefined;
|
|
567
|
+
LaunchConfigurationName?: string | undefined;
|
|
568
|
+
LaunchTemplate?: LaunchTemplateSpecification | undefined;
|
|
569
|
+
MixedInstancesPolicy?: MixedInstancesPolicy | undefined;
|
|
556
570
|
MinSize: number | undefined;
|
|
557
571
|
MaxSize: number | undefined;
|
|
558
572
|
DesiredCapacity: number | undefined;
|
|
559
|
-
PredictedCapacity?: number;
|
|
573
|
+
PredictedCapacity?: number | undefined;
|
|
560
574
|
DefaultCooldown: number | undefined;
|
|
561
575
|
AvailabilityZones: string[] | undefined;
|
|
562
|
-
LoadBalancerNames?: string[];
|
|
563
|
-
TargetGroupARNs?: string[];
|
|
576
|
+
LoadBalancerNames?: string[] | undefined;
|
|
577
|
+
TargetGroupARNs?: string[] | undefined;
|
|
564
578
|
HealthCheckType: string | undefined;
|
|
565
|
-
HealthCheckGracePeriod?: number;
|
|
566
|
-
Instances?: Instance[];
|
|
579
|
+
HealthCheckGracePeriod?: number | undefined;
|
|
580
|
+
Instances?: Instance[] | undefined;
|
|
567
581
|
CreatedTime: Date | undefined;
|
|
568
|
-
SuspendedProcesses?: SuspendedProcess[];
|
|
569
|
-
PlacementGroup?: string;
|
|
570
|
-
VPCZoneIdentifier?: string;
|
|
571
|
-
EnabledMetrics?: EnabledMetric[];
|
|
572
|
-
Status?: string;
|
|
573
|
-
Tags?: TagDescription[];
|
|
574
|
-
TerminationPolicies?: string[];
|
|
575
|
-
NewInstancesProtectedFromScaleIn?: boolean;
|
|
576
|
-
ServiceLinkedRoleARN?: string;
|
|
577
|
-
MaxInstanceLifetime?: number;
|
|
578
|
-
CapacityRebalance?: boolean;
|
|
579
|
-
WarmPoolConfiguration?: WarmPoolConfiguration;
|
|
580
|
-
WarmPoolSize?: number;
|
|
581
|
-
Context?: string;
|
|
582
|
-
DesiredCapacityType?: string;
|
|
583
|
-
DefaultInstanceWarmup?: number;
|
|
584
|
-
TrafficSources?: TrafficSourceIdentifier[];
|
|
585
|
-
InstanceMaintenancePolicy?: InstanceMaintenancePolicy;
|
|
582
|
+
SuspendedProcesses?: SuspendedProcess[] | undefined;
|
|
583
|
+
PlacementGroup?: string | undefined;
|
|
584
|
+
VPCZoneIdentifier?: string | undefined;
|
|
585
|
+
EnabledMetrics?: EnabledMetric[] | undefined;
|
|
586
|
+
Status?: string | undefined;
|
|
587
|
+
Tags?: TagDescription[] | undefined;
|
|
588
|
+
TerminationPolicies?: string[] | undefined;
|
|
589
|
+
NewInstancesProtectedFromScaleIn?: boolean | undefined;
|
|
590
|
+
ServiceLinkedRoleARN?: string | undefined;
|
|
591
|
+
MaxInstanceLifetime?: number | undefined;
|
|
592
|
+
CapacityRebalance?: boolean | undefined;
|
|
593
|
+
WarmPoolConfiguration?: WarmPoolConfiguration | undefined;
|
|
594
|
+
WarmPoolSize?: number | undefined;
|
|
595
|
+
Context?: string | undefined;
|
|
596
|
+
DesiredCapacityType?: string | undefined;
|
|
597
|
+
DefaultInstanceWarmup?: number | undefined;
|
|
598
|
+
TrafficSources?: TrafficSourceIdentifier[] | undefined;
|
|
599
|
+
InstanceMaintenancePolicy?: InstanceMaintenancePolicy | undefined;
|
|
600
|
+
AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
|
|
586
601
|
}
|
|
587
602
|
export interface AutoScalingGroupsType {
|
|
588
603
|
AutoScalingGroups: AutoScalingGroup[] | undefined;
|
|
589
|
-
NextToken?: string;
|
|
604
|
+
NextToken?: string | undefined;
|
|
590
605
|
}
|
|
591
606
|
export declare class InvalidNextToken extends __BaseException {
|
|
592
607
|
readonly name: "InvalidNextToken";
|
|
@@ -595,31 +610,31 @@ export declare class InvalidNextToken extends __BaseException {
|
|
|
595
610
|
}
|
|
596
611
|
export interface AutoScalingInstanceDetails {
|
|
597
612
|
InstanceId: string | undefined;
|
|
598
|
-
InstanceType?: string;
|
|
613
|
+
InstanceType?: string | undefined;
|
|
599
614
|
AutoScalingGroupName: string | undefined;
|
|
600
615
|
AvailabilityZone: string | undefined;
|
|
601
616
|
LifecycleState: string | undefined;
|
|
602
617
|
HealthStatus: string | undefined;
|
|
603
|
-
LaunchConfigurationName?: string;
|
|
604
|
-
LaunchTemplate?: LaunchTemplateSpecification;
|
|
618
|
+
LaunchConfigurationName?: string | undefined;
|
|
619
|
+
LaunchTemplate?: LaunchTemplateSpecification | undefined;
|
|
605
620
|
ProtectedFromScaleIn: boolean | undefined;
|
|
606
|
-
WeightedCapacity?: string;
|
|
621
|
+
WeightedCapacity?: string | undefined;
|
|
607
622
|
}
|
|
608
623
|
export interface AutoScalingInstancesType {
|
|
609
|
-
AutoScalingInstances?: AutoScalingInstanceDetails[];
|
|
610
|
-
NextToken?: string;
|
|
624
|
+
AutoScalingInstances?: AutoScalingInstanceDetails[] | undefined;
|
|
625
|
+
NextToken?: string | undefined;
|
|
611
626
|
}
|
|
612
627
|
export interface DescribeAutoScalingInstancesType {
|
|
613
|
-
InstanceIds?: string[];
|
|
614
|
-
MaxRecords?: number;
|
|
615
|
-
NextToken?: string;
|
|
628
|
+
InstanceIds?: string[] | undefined;
|
|
629
|
+
MaxRecords?: number | undefined;
|
|
630
|
+
NextToken?: string | undefined;
|
|
616
631
|
}
|
|
617
632
|
export interface DescribeAutoScalingNotificationTypesAnswer {
|
|
618
|
-
AutoScalingNotificationTypes?: string[];
|
|
633
|
+
AutoScalingNotificationTypes?: string[] | undefined;
|
|
619
634
|
}
|
|
620
635
|
export interface DesiredConfiguration {
|
|
621
|
-
LaunchTemplate?: LaunchTemplateSpecification;
|
|
622
|
-
MixedInstancesPolicy?: MixedInstancesPolicy;
|
|
636
|
+
LaunchTemplate?: LaunchTemplateSpecification | undefined;
|
|
637
|
+
MixedInstancesPolicy?: MixedInstancesPolicy | undefined;
|
|
623
638
|
}
|
|
624
639
|
export declare const ScaleInProtectedInstances: {
|
|
625
640
|
readonly Ignore: "Ignore";
|
|
@@ -636,36 +651,36 @@ export declare const StandbyInstances: {
|
|
|
636
651
|
export type StandbyInstances =
|
|
637
652
|
(typeof StandbyInstances)[keyof typeof StandbyInstances];
|
|
638
653
|
export interface RefreshPreferences {
|
|
639
|
-
MinHealthyPercentage?: number;
|
|
640
|
-
InstanceWarmup?: number;
|
|
641
|
-
CheckpointPercentages?: number[];
|
|
642
|
-
CheckpointDelay?: number;
|
|
643
|
-
SkipMatching?: boolean;
|
|
644
|
-
AutoRollback?: boolean;
|
|
645
|
-
ScaleInProtectedInstances?: ScaleInProtectedInstances;
|
|
646
|
-
StandbyInstances?: StandbyInstances;
|
|
647
|
-
AlarmSpecification?: AlarmSpecification;
|
|
648
|
-
MaxHealthyPercentage?: number;
|
|
649
|
-
BakeTime?: number;
|
|
654
|
+
MinHealthyPercentage?: number | undefined;
|
|
655
|
+
InstanceWarmup?: number | undefined;
|
|
656
|
+
CheckpointPercentages?: number[] | undefined;
|
|
657
|
+
CheckpointDelay?: number | undefined;
|
|
658
|
+
SkipMatching?: boolean | undefined;
|
|
659
|
+
AutoRollback?: boolean | undefined;
|
|
660
|
+
ScaleInProtectedInstances?: ScaleInProtectedInstances | undefined;
|
|
661
|
+
StandbyInstances?: StandbyInstances | undefined;
|
|
662
|
+
AlarmSpecification?: AlarmSpecification | undefined;
|
|
663
|
+
MaxHealthyPercentage?: number | undefined;
|
|
664
|
+
BakeTime?: number | undefined;
|
|
650
665
|
}
|
|
651
666
|
export interface InstanceRefreshLivePoolProgress {
|
|
652
|
-
PercentageComplete?: number;
|
|
653
|
-
InstancesToUpdate?: number;
|
|
667
|
+
PercentageComplete?: number | undefined;
|
|
668
|
+
InstancesToUpdate?: number | undefined;
|
|
654
669
|
}
|
|
655
670
|
export interface InstanceRefreshWarmPoolProgress {
|
|
656
|
-
PercentageComplete?: number;
|
|
657
|
-
InstancesToUpdate?: number;
|
|
671
|
+
PercentageComplete?: number | undefined;
|
|
672
|
+
InstancesToUpdate?: number | undefined;
|
|
658
673
|
}
|
|
659
674
|
export interface InstanceRefreshProgressDetails {
|
|
660
|
-
LivePoolProgress?: InstanceRefreshLivePoolProgress;
|
|
661
|
-
WarmPoolProgress?: InstanceRefreshWarmPoolProgress;
|
|
675
|
+
LivePoolProgress?: InstanceRefreshLivePoolProgress | undefined;
|
|
676
|
+
WarmPoolProgress?: InstanceRefreshWarmPoolProgress | undefined;
|
|
662
677
|
}
|
|
663
678
|
export interface RollbackDetails {
|
|
664
|
-
RollbackReason?: string;
|
|
665
|
-
RollbackStartTime?: Date;
|
|
666
|
-
PercentageCompleteOnRollback?: number;
|
|
667
|
-
InstancesToUpdateOnRollback?: number;
|
|
668
|
-
ProgressDetailsOnRollback?: InstanceRefreshProgressDetails;
|
|
679
|
+
RollbackReason?: string | undefined;
|
|
680
|
+
RollbackStartTime?: Date | undefined;
|
|
681
|
+
PercentageCompleteOnRollback?: number | undefined;
|
|
682
|
+
InstancesToUpdateOnRollback?: number | undefined;
|
|
683
|
+
ProgressDetailsOnRollback?: InstanceRefreshProgressDetails | undefined;
|
|
669
684
|
}
|
|
670
685
|
export declare const InstanceRefreshStatus: {
|
|
671
686
|
readonly Baking: "Baking";
|
|
@@ -682,137 +697,137 @@ export declare const InstanceRefreshStatus: {
|
|
|
682
697
|
export type InstanceRefreshStatus =
|
|
683
698
|
(typeof InstanceRefreshStatus)[keyof typeof InstanceRefreshStatus];
|
|
684
699
|
export interface InstanceRefresh {
|
|
685
|
-
InstanceRefreshId?: string;
|
|
686
|
-
AutoScalingGroupName?: string;
|
|
687
|
-
Status?: InstanceRefreshStatus;
|
|
688
|
-
StatusReason?: string;
|
|
689
|
-
StartTime?: Date;
|
|
690
|
-
EndTime?: Date;
|
|
691
|
-
PercentageComplete?: number;
|
|
692
|
-
InstancesToUpdate?: number;
|
|
693
|
-
ProgressDetails?: InstanceRefreshProgressDetails;
|
|
694
|
-
Preferences?: RefreshPreferences;
|
|
695
|
-
DesiredConfiguration?: DesiredConfiguration;
|
|
696
|
-
RollbackDetails?: RollbackDetails;
|
|
700
|
+
InstanceRefreshId?: string | undefined;
|
|
701
|
+
AutoScalingGroupName?: string | undefined;
|
|
702
|
+
Status?: InstanceRefreshStatus | undefined;
|
|
703
|
+
StatusReason?: string | undefined;
|
|
704
|
+
StartTime?: Date | undefined;
|
|
705
|
+
EndTime?: Date | undefined;
|
|
706
|
+
PercentageComplete?: number | undefined;
|
|
707
|
+
InstancesToUpdate?: number | undefined;
|
|
708
|
+
ProgressDetails?: InstanceRefreshProgressDetails | undefined;
|
|
709
|
+
Preferences?: RefreshPreferences | undefined;
|
|
710
|
+
DesiredConfiguration?: DesiredConfiguration | undefined;
|
|
711
|
+
RollbackDetails?: RollbackDetails | undefined;
|
|
697
712
|
}
|
|
698
713
|
export interface DescribeInstanceRefreshesAnswer {
|
|
699
|
-
InstanceRefreshes?: InstanceRefresh[];
|
|
700
|
-
NextToken?: string;
|
|
714
|
+
InstanceRefreshes?: InstanceRefresh[] | undefined;
|
|
715
|
+
NextToken?: string | undefined;
|
|
701
716
|
}
|
|
702
717
|
export interface DescribeInstanceRefreshesType {
|
|
703
718
|
AutoScalingGroupName: string | undefined;
|
|
704
|
-
InstanceRefreshIds?: string[];
|
|
705
|
-
NextToken?: string;
|
|
706
|
-
MaxRecords?: number;
|
|
719
|
+
InstanceRefreshIds?: string[] | undefined;
|
|
720
|
+
NextToken?: string | undefined;
|
|
721
|
+
MaxRecords?: number | undefined;
|
|
707
722
|
}
|
|
708
723
|
export interface LaunchConfigurationNamesType {
|
|
709
|
-
LaunchConfigurationNames?: string[];
|
|
710
|
-
NextToken?: string;
|
|
711
|
-
MaxRecords?: number;
|
|
724
|
+
LaunchConfigurationNames?: string[] | undefined;
|
|
725
|
+
NextToken?: string | undefined;
|
|
726
|
+
MaxRecords?: number | undefined;
|
|
712
727
|
}
|
|
713
728
|
export interface LaunchConfiguration {
|
|
714
729
|
LaunchConfigurationName: string | undefined;
|
|
715
|
-
LaunchConfigurationARN?: string;
|
|
730
|
+
LaunchConfigurationARN?: string | undefined;
|
|
716
731
|
ImageId: string | undefined;
|
|
717
|
-
KeyName?: string;
|
|
718
|
-
SecurityGroups?: string[];
|
|
719
|
-
ClassicLinkVPCId?: string;
|
|
720
|
-
ClassicLinkVPCSecurityGroups?: string[];
|
|
721
|
-
UserData?: string;
|
|
732
|
+
KeyName?: string | undefined;
|
|
733
|
+
SecurityGroups?: string[] | undefined;
|
|
734
|
+
ClassicLinkVPCId?: string | undefined;
|
|
735
|
+
ClassicLinkVPCSecurityGroups?: string[] | undefined;
|
|
736
|
+
UserData?: string | undefined;
|
|
722
737
|
InstanceType: string | undefined;
|
|
723
|
-
KernelId?: string;
|
|
724
|
-
RamdiskId?: string;
|
|
725
|
-
BlockDeviceMappings?: BlockDeviceMapping[];
|
|
726
|
-
InstanceMonitoring?: InstanceMonitoring;
|
|
727
|
-
SpotPrice?: string;
|
|
728
|
-
IamInstanceProfile?: string;
|
|
738
|
+
KernelId?: string | undefined;
|
|
739
|
+
RamdiskId?: string | undefined;
|
|
740
|
+
BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
|
|
741
|
+
InstanceMonitoring?: InstanceMonitoring | undefined;
|
|
742
|
+
SpotPrice?: string | undefined;
|
|
743
|
+
IamInstanceProfile?: string | undefined;
|
|
729
744
|
CreatedTime: Date | undefined;
|
|
730
|
-
EbsOptimized?: boolean;
|
|
731
|
-
AssociatePublicIpAddress?: boolean;
|
|
732
|
-
PlacementTenancy?: string;
|
|
733
|
-
MetadataOptions?: InstanceMetadataOptions;
|
|
745
|
+
EbsOptimized?: boolean | undefined;
|
|
746
|
+
AssociatePublicIpAddress?: boolean | undefined;
|
|
747
|
+
PlacementTenancy?: string | undefined;
|
|
748
|
+
MetadataOptions?: InstanceMetadataOptions | undefined;
|
|
734
749
|
}
|
|
735
750
|
export interface LaunchConfigurationsType {
|
|
736
751
|
LaunchConfigurations: LaunchConfiguration[] | undefined;
|
|
737
|
-
NextToken?: string;
|
|
752
|
+
NextToken?: string | undefined;
|
|
738
753
|
}
|
|
739
754
|
export interface LifecycleHook {
|
|
740
|
-
LifecycleHookName?: string;
|
|
741
|
-
AutoScalingGroupName?: string;
|
|
742
|
-
LifecycleTransition?: string;
|
|
743
|
-
NotificationTargetARN?: string;
|
|
744
|
-
RoleARN?: string;
|
|
745
|
-
NotificationMetadata?: string;
|
|
746
|
-
HeartbeatTimeout?: number;
|
|
747
|
-
GlobalTimeout?: number;
|
|
748
|
-
DefaultResult?: string;
|
|
755
|
+
LifecycleHookName?: string | undefined;
|
|
756
|
+
AutoScalingGroupName?: string | undefined;
|
|
757
|
+
LifecycleTransition?: string | undefined;
|
|
758
|
+
NotificationTargetARN?: string | undefined;
|
|
759
|
+
RoleARN?: string | undefined;
|
|
760
|
+
NotificationMetadata?: string | undefined;
|
|
761
|
+
HeartbeatTimeout?: number | undefined;
|
|
762
|
+
GlobalTimeout?: number | undefined;
|
|
763
|
+
DefaultResult?: string | undefined;
|
|
749
764
|
}
|
|
750
765
|
export interface DescribeLifecycleHooksAnswer {
|
|
751
|
-
LifecycleHooks?: LifecycleHook[];
|
|
766
|
+
LifecycleHooks?: LifecycleHook[] | undefined;
|
|
752
767
|
}
|
|
753
768
|
export interface DescribeLifecycleHooksType {
|
|
754
769
|
AutoScalingGroupName: string | undefined;
|
|
755
|
-
LifecycleHookNames?: string[];
|
|
770
|
+
LifecycleHookNames?: string[] | undefined;
|
|
756
771
|
}
|
|
757
772
|
export interface DescribeLifecycleHookTypesAnswer {
|
|
758
|
-
LifecycleHookTypes?: string[];
|
|
773
|
+
LifecycleHookTypes?: string[] | undefined;
|
|
759
774
|
}
|
|
760
775
|
export interface DescribeLoadBalancersRequest {
|
|
761
776
|
AutoScalingGroupName: string | undefined;
|
|
762
|
-
NextToken?: string;
|
|
763
|
-
MaxRecords?: number;
|
|
777
|
+
NextToken?: string | undefined;
|
|
778
|
+
MaxRecords?: number | undefined;
|
|
764
779
|
}
|
|
765
780
|
export interface LoadBalancerState {
|
|
766
|
-
LoadBalancerName?: string;
|
|
767
|
-
State?: string;
|
|
781
|
+
LoadBalancerName?: string | undefined;
|
|
782
|
+
State?: string | undefined;
|
|
768
783
|
}
|
|
769
784
|
export interface DescribeLoadBalancersResponse {
|
|
770
|
-
LoadBalancers?: LoadBalancerState[];
|
|
771
|
-
NextToken?: string;
|
|
785
|
+
LoadBalancers?: LoadBalancerState[] | undefined;
|
|
786
|
+
NextToken?: string | undefined;
|
|
772
787
|
}
|
|
773
788
|
export interface DescribeLoadBalancerTargetGroupsRequest {
|
|
774
789
|
AutoScalingGroupName: string | undefined;
|
|
775
|
-
NextToken?: string;
|
|
776
|
-
MaxRecords?: number;
|
|
790
|
+
NextToken?: string | undefined;
|
|
791
|
+
MaxRecords?: number | undefined;
|
|
777
792
|
}
|
|
778
793
|
export interface LoadBalancerTargetGroupState {
|
|
779
|
-
LoadBalancerTargetGroupARN?: string;
|
|
780
|
-
State?: string;
|
|
794
|
+
LoadBalancerTargetGroupARN?: string | undefined;
|
|
795
|
+
State?: string | undefined;
|
|
781
796
|
}
|
|
782
797
|
export interface DescribeLoadBalancerTargetGroupsResponse {
|
|
783
|
-
LoadBalancerTargetGroups?: LoadBalancerTargetGroupState[];
|
|
784
|
-
NextToken?: string;
|
|
798
|
+
LoadBalancerTargetGroups?: LoadBalancerTargetGroupState[] | undefined;
|
|
799
|
+
NextToken?: string | undefined;
|
|
785
800
|
}
|
|
786
801
|
export interface MetricGranularityType {
|
|
787
|
-
Granularity?: string;
|
|
802
|
+
Granularity?: string | undefined;
|
|
788
803
|
}
|
|
789
804
|
export interface MetricCollectionType {
|
|
790
|
-
Metric?: string;
|
|
805
|
+
Metric?: string | undefined;
|
|
791
806
|
}
|
|
792
807
|
export interface DescribeMetricCollectionTypesAnswer {
|
|
793
|
-
Metrics?: MetricCollectionType[];
|
|
794
|
-
Granularities?: MetricGranularityType[];
|
|
808
|
+
Metrics?: MetricCollectionType[] | undefined;
|
|
809
|
+
Granularities?: MetricGranularityType[] | undefined;
|
|
795
810
|
}
|
|
796
811
|
export interface NotificationConfiguration {
|
|
797
|
-
AutoScalingGroupName?: string;
|
|
798
|
-
TopicARN?: string;
|
|
799
|
-
NotificationType?: string;
|
|
812
|
+
AutoScalingGroupName?: string | undefined;
|
|
813
|
+
TopicARN?: string | undefined;
|
|
814
|
+
NotificationType?: string | undefined;
|
|
800
815
|
}
|
|
801
816
|
export interface DescribeNotificationConfigurationsAnswer {
|
|
802
817
|
NotificationConfigurations: NotificationConfiguration[] | undefined;
|
|
803
|
-
NextToken?: string;
|
|
818
|
+
NextToken?: string | undefined;
|
|
804
819
|
}
|
|
805
820
|
export interface DescribeNotificationConfigurationsType {
|
|
806
|
-
AutoScalingGroupNames?: string[];
|
|
807
|
-
NextToken?: string;
|
|
808
|
-
MaxRecords?: number;
|
|
821
|
+
AutoScalingGroupNames?: string[] | undefined;
|
|
822
|
+
NextToken?: string | undefined;
|
|
823
|
+
MaxRecords?: number | undefined;
|
|
809
824
|
}
|
|
810
825
|
export interface DescribePoliciesType {
|
|
811
|
-
AutoScalingGroupName?: string;
|
|
812
|
-
PolicyNames?: string[];
|
|
813
|
-
PolicyTypes?: string[];
|
|
814
|
-
NextToken?: string;
|
|
815
|
-
MaxRecords?: number;
|
|
826
|
+
AutoScalingGroupName?: string | undefined;
|
|
827
|
+
PolicyNames?: string[] | undefined;
|
|
828
|
+
PolicyTypes?: string[] | undefined;
|
|
829
|
+
NextToken?: string | undefined;
|
|
830
|
+
MaxRecords?: number | undefined;
|
|
816
831
|
}
|
|
817
832
|
export declare const PredictiveScalingMaxCapacityBreachBehavior: {
|
|
818
833
|
readonly HonorMaxCapacity: "HonorMaxCapacity";
|
|
@@ -827,19 +842,19 @@ export interface MetricDimension {
|
|
|
827
842
|
export interface Metric {
|
|
828
843
|
Namespace: string | undefined;
|
|
829
844
|
MetricName: string | undefined;
|
|
830
|
-
Dimensions?: MetricDimension[];
|
|
845
|
+
Dimensions?: MetricDimension[] | undefined;
|
|
831
846
|
}
|
|
832
847
|
export interface MetricStat {
|
|
833
848
|
Metric: Metric | undefined;
|
|
834
849
|
Stat: string | undefined;
|
|
835
|
-
Unit?: string;
|
|
850
|
+
Unit?: string | undefined;
|
|
836
851
|
}
|
|
837
852
|
export interface MetricDataQuery {
|
|
838
853
|
Id: string | undefined;
|
|
839
|
-
Expression?: string;
|
|
840
|
-
MetricStat?: MetricStat;
|
|
841
|
-
Label?: string;
|
|
842
|
-
ReturnData?: boolean;
|
|
854
|
+
Expression?: string | undefined;
|
|
855
|
+
MetricStat?: MetricStat | undefined;
|
|
856
|
+
Label?: string | undefined;
|
|
857
|
+
ReturnData?: boolean | undefined;
|
|
843
858
|
}
|
|
844
859
|
export interface PredictiveScalingCustomizedCapacityMetric {
|
|
845
860
|
MetricDataQueries: MetricDataQuery[] | undefined;
|
|
@@ -860,7 +875,7 @@ export type PredefinedLoadMetricType =
|
|
|
860
875
|
(typeof PredefinedLoadMetricType)[keyof typeof PredefinedLoadMetricType];
|
|
861
876
|
export interface PredictiveScalingPredefinedLoadMetric {
|
|
862
877
|
PredefinedMetricType: PredefinedLoadMetricType | undefined;
|
|
863
|
-
ResourceLabel?: string;
|
|
878
|
+
ResourceLabel?: string | undefined;
|
|
864
879
|
}
|
|
865
880
|
export declare const PredefinedMetricPairType: {
|
|
866
881
|
readonly ALBRequestCount: "ALBRequestCount";
|
|
@@ -872,7 +887,7 @@ export type PredefinedMetricPairType =
|
|
|
872
887
|
(typeof PredefinedMetricPairType)[keyof typeof PredefinedMetricPairType];
|
|
873
888
|
export interface PredictiveScalingPredefinedMetricPair {
|
|
874
889
|
PredefinedMetricType: PredefinedMetricPairType | undefined;
|
|
875
|
-
ResourceLabel?: string;
|
|
890
|
+
ResourceLabel?: string | undefined;
|
|
876
891
|
}
|
|
877
892
|
export declare const PredefinedScalingMetricType: {
|
|
878
893
|
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
@@ -884,16 +899,28 @@ export type PredefinedScalingMetricType =
|
|
|
884
899
|
(typeof PredefinedScalingMetricType)[keyof typeof PredefinedScalingMetricType];
|
|
885
900
|
export interface PredictiveScalingPredefinedScalingMetric {
|
|
886
901
|
PredefinedMetricType: PredefinedScalingMetricType | undefined;
|
|
887
|
-
ResourceLabel?: string;
|
|
902
|
+
ResourceLabel?: string | undefined;
|
|
888
903
|
}
|
|
889
904
|
export interface PredictiveScalingMetricSpecification {
|
|
890
905
|
TargetValue: number | undefined;
|
|
891
|
-
PredefinedMetricPairSpecification?:
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
906
|
+
PredefinedMetricPairSpecification?:
|
|
907
|
+
| PredictiveScalingPredefinedMetricPair
|
|
908
|
+
| undefined;
|
|
909
|
+
PredefinedScalingMetricSpecification?:
|
|
910
|
+
| PredictiveScalingPredefinedScalingMetric
|
|
911
|
+
| undefined;
|
|
912
|
+
PredefinedLoadMetricSpecification?:
|
|
913
|
+
| PredictiveScalingPredefinedLoadMetric
|
|
914
|
+
| undefined;
|
|
915
|
+
CustomizedScalingMetricSpecification?:
|
|
916
|
+
| PredictiveScalingCustomizedScalingMetric
|
|
917
|
+
| undefined;
|
|
918
|
+
CustomizedLoadMetricSpecification?:
|
|
919
|
+
| PredictiveScalingCustomizedLoadMetric
|
|
920
|
+
| undefined;
|
|
921
|
+
CustomizedCapacityMetricSpecification?:
|
|
922
|
+
| PredictiveScalingCustomizedCapacityMetric
|
|
923
|
+
| undefined;
|
|
897
924
|
}
|
|
898
925
|
export declare const PredictiveScalingMode: {
|
|
899
926
|
readonly ForecastAndScale: "ForecastAndScale";
|
|
@@ -903,27 +930,29 @@ export type PredictiveScalingMode =
|
|
|
903
930
|
(typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
|
|
904
931
|
export interface PredictiveScalingConfiguration {
|
|
905
932
|
MetricSpecifications: PredictiveScalingMetricSpecification[] | undefined;
|
|
906
|
-
Mode?: PredictiveScalingMode;
|
|
907
|
-
SchedulingBufferTime?: number;
|
|
908
|
-
MaxCapacityBreachBehavior?:
|
|
909
|
-
|
|
933
|
+
Mode?: PredictiveScalingMode | undefined;
|
|
934
|
+
SchedulingBufferTime?: number | undefined;
|
|
935
|
+
MaxCapacityBreachBehavior?:
|
|
936
|
+
| PredictiveScalingMaxCapacityBreachBehavior
|
|
937
|
+
| undefined;
|
|
938
|
+
MaxCapacityBuffer?: number | undefined;
|
|
910
939
|
}
|
|
911
940
|
export interface StepAdjustment {
|
|
912
|
-
MetricIntervalLowerBound?: number;
|
|
913
|
-
MetricIntervalUpperBound?: number;
|
|
941
|
+
MetricIntervalLowerBound?: number | undefined;
|
|
942
|
+
MetricIntervalUpperBound?: number | undefined;
|
|
914
943
|
ScalingAdjustment: number | undefined;
|
|
915
944
|
}
|
|
916
945
|
export interface TargetTrackingMetricStat {
|
|
917
946
|
Metric: Metric | undefined;
|
|
918
947
|
Stat: string | undefined;
|
|
919
|
-
Unit?: string;
|
|
948
|
+
Unit?: string | undefined;
|
|
920
949
|
}
|
|
921
950
|
export interface TargetTrackingMetricDataQuery {
|
|
922
951
|
Id: string | undefined;
|
|
923
|
-
Expression?: string;
|
|
924
|
-
MetricStat?: TargetTrackingMetricStat;
|
|
925
|
-
Label?: string;
|
|
926
|
-
ReturnData?: boolean;
|
|
952
|
+
Expression?: string | undefined;
|
|
953
|
+
MetricStat?: TargetTrackingMetricStat | undefined;
|
|
954
|
+
Label?: string | undefined;
|
|
955
|
+
ReturnData?: boolean | undefined;
|
|
927
956
|
}
|
|
928
957
|
export declare const MetricStatistic: {
|
|
929
958
|
readonly Average: "Average";
|
|
@@ -935,12 +964,12 @@ export declare const MetricStatistic: {
|
|
|
935
964
|
export type MetricStatistic =
|
|
936
965
|
(typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
937
966
|
export interface CustomizedMetricSpecification {
|
|
938
|
-
MetricName?: string;
|
|
939
|
-
Namespace?: string;
|
|
940
|
-
Dimensions?: MetricDimension[];
|
|
941
|
-
Statistic?: MetricStatistic;
|
|
942
|
-
Unit?: string;
|
|
943
|
-
Metrics?: TargetTrackingMetricDataQuery[];
|
|
967
|
+
MetricName?: string | undefined;
|
|
968
|
+
Namespace?: string | undefined;
|
|
969
|
+
Dimensions?: MetricDimension[] | undefined;
|
|
970
|
+
Statistic?: MetricStatistic | undefined;
|
|
971
|
+
Unit?: string | undefined;
|
|
972
|
+
Metrics?: TargetTrackingMetricDataQuery[] | undefined;
|
|
944
973
|
}
|
|
945
974
|
export declare const MetricType: {
|
|
946
975
|
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
@@ -951,117 +980,117 @@ export declare const MetricType: {
|
|
|
951
980
|
export type MetricType = (typeof MetricType)[keyof typeof MetricType];
|
|
952
981
|
export interface PredefinedMetricSpecification {
|
|
953
982
|
PredefinedMetricType: MetricType | undefined;
|
|
954
|
-
ResourceLabel?: string;
|
|
983
|
+
ResourceLabel?: string | undefined;
|
|
955
984
|
}
|
|
956
985
|
export interface TargetTrackingConfiguration {
|
|
957
|
-
PredefinedMetricSpecification?: PredefinedMetricSpecification;
|
|
958
|
-
CustomizedMetricSpecification?: CustomizedMetricSpecification;
|
|
986
|
+
PredefinedMetricSpecification?: PredefinedMetricSpecification | undefined;
|
|
987
|
+
CustomizedMetricSpecification?: CustomizedMetricSpecification | undefined;
|
|
959
988
|
TargetValue: number | undefined;
|
|
960
|
-
DisableScaleIn?: boolean;
|
|
989
|
+
DisableScaleIn?: boolean | undefined;
|
|
961
990
|
}
|
|
962
991
|
export interface ScalingPolicy {
|
|
963
|
-
AutoScalingGroupName?: string;
|
|
964
|
-
PolicyName?: string;
|
|
965
|
-
PolicyARN?: string;
|
|
966
|
-
PolicyType?: string;
|
|
967
|
-
AdjustmentType?: string;
|
|
968
|
-
MinAdjustmentStep?: number;
|
|
969
|
-
MinAdjustmentMagnitude?: number;
|
|
970
|
-
ScalingAdjustment?: number;
|
|
971
|
-
Cooldown?: number;
|
|
972
|
-
StepAdjustments?: StepAdjustment[];
|
|
973
|
-
MetricAggregationType?: string;
|
|
974
|
-
EstimatedInstanceWarmup?: number;
|
|
975
|
-
Alarms?: Alarm[];
|
|
976
|
-
TargetTrackingConfiguration?: TargetTrackingConfiguration;
|
|
977
|
-
Enabled?: boolean;
|
|
978
|
-
PredictiveScalingConfiguration?: PredictiveScalingConfiguration;
|
|
992
|
+
AutoScalingGroupName?: string | undefined;
|
|
993
|
+
PolicyName?: string | undefined;
|
|
994
|
+
PolicyARN?: string | undefined;
|
|
995
|
+
PolicyType?: string | undefined;
|
|
996
|
+
AdjustmentType?: string | undefined;
|
|
997
|
+
MinAdjustmentStep?: number | undefined;
|
|
998
|
+
MinAdjustmentMagnitude?: number | undefined;
|
|
999
|
+
ScalingAdjustment?: number | undefined;
|
|
1000
|
+
Cooldown?: number | undefined;
|
|
1001
|
+
StepAdjustments?: StepAdjustment[] | undefined;
|
|
1002
|
+
MetricAggregationType?: string | undefined;
|
|
1003
|
+
EstimatedInstanceWarmup?: number | undefined;
|
|
1004
|
+
Alarms?: Alarm[] | undefined;
|
|
1005
|
+
TargetTrackingConfiguration?: TargetTrackingConfiguration | undefined;
|
|
1006
|
+
Enabled?: boolean | undefined;
|
|
1007
|
+
PredictiveScalingConfiguration?: PredictiveScalingConfiguration | undefined;
|
|
979
1008
|
}
|
|
980
1009
|
export interface PoliciesType {
|
|
981
|
-
ScalingPolicies?: ScalingPolicy[];
|
|
982
|
-
NextToken?: string;
|
|
1010
|
+
ScalingPolicies?: ScalingPolicy[] | undefined;
|
|
1011
|
+
NextToken?: string | undefined;
|
|
983
1012
|
}
|
|
984
1013
|
export interface DescribeScalingActivitiesType {
|
|
985
|
-
ActivityIds?: string[];
|
|
986
|
-
AutoScalingGroupName?: string;
|
|
987
|
-
IncludeDeletedGroups?: boolean;
|
|
988
|
-
MaxRecords?: number;
|
|
989
|
-
NextToken?: string;
|
|
1014
|
+
ActivityIds?: string[] | undefined;
|
|
1015
|
+
AutoScalingGroupName?: string | undefined;
|
|
1016
|
+
IncludeDeletedGroups?: boolean | undefined;
|
|
1017
|
+
MaxRecords?: number | undefined;
|
|
1018
|
+
NextToken?: string | undefined;
|
|
990
1019
|
}
|
|
991
1020
|
export interface ProcessType {
|
|
992
1021
|
ProcessName: string | undefined;
|
|
993
1022
|
}
|
|
994
1023
|
export interface ProcessesType {
|
|
995
|
-
Processes?: ProcessType[];
|
|
1024
|
+
Processes?: ProcessType[] | undefined;
|
|
996
1025
|
}
|
|
997
1026
|
export interface DescribeScheduledActionsType {
|
|
998
|
-
AutoScalingGroupName?: string;
|
|
999
|
-
ScheduledActionNames?: string[];
|
|
1000
|
-
StartTime?: Date;
|
|
1001
|
-
EndTime?: Date;
|
|
1002
|
-
NextToken?: string;
|
|
1003
|
-
MaxRecords?: number;
|
|
1027
|
+
AutoScalingGroupName?: string | undefined;
|
|
1028
|
+
ScheduledActionNames?: string[] | undefined;
|
|
1029
|
+
StartTime?: Date | undefined;
|
|
1030
|
+
EndTime?: Date | undefined;
|
|
1031
|
+
NextToken?: string | undefined;
|
|
1032
|
+
MaxRecords?: number | undefined;
|
|
1004
1033
|
}
|
|
1005
1034
|
export interface ScheduledUpdateGroupAction {
|
|
1006
|
-
AutoScalingGroupName?: string;
|
|
1007
|
-
ScheduledActionName?: string;
|
|
1008
|
-
ScheduledActionARN?: string;
|
|
1009
|
-
Time?: Date;
|
|
1010
|
-
StartTime?: Date;
|
|
1011
|
-
EndTime?: Date;
|
|
1012
|
-
Recurrence?: string;
|
|
1013
|
-
MinSize?: number;
|
|
1014
|
-
MaxSize?: number;
|
|
1015
|
-
DesiredCapacity?: number;
|
|
1016
|
-
TimeZone?: string;
|
|
1035
|
+
AutoScalingGroupName?: string | undefined;
|
|
1036
|
+
ScheduledActionName?: string | undefined;
|
|
1037
|
+
ScheduledActionARN?: string | undefined;
|
|
1038
|
+
Time?: Date | undefined;
|
|
1039
|
+
StartTime?: Date | undefined;
|
|
1040
|
+
EndTime?: Date | undefined;
|
|
1041
|
+
Recurrence?: string | undefined;
|
|
1042
|
+
MinSize?: number | undefined;
|
|
1043
|
+
MaxSize?: number | undefined;
|
|
1044
|
+
DesiredCapacity?: number | undefined;
|
|
1045
|
+
TimeZone?: string | undefined;
|
|
1017
1046
|
}
|
|
1018
1047
|
export interface ScheduledActionsType {
|
|
1019
|
-
ScheduledUpdateGroupActions?: ScheduledUpdateGroupAction[];
|
|
1020
|
-
NextToken?: string;
|
|
1048
|
+
ScheduledUpdateGroupActions?: ScheduledUpdateGroupAction[] | undefined;
|
|
1049
|
+
NextToken?: string | undefined;
|
|
1021
1050
|
}
|
|
1022
1051
|
export interface DescribeTagsType {
|
|
1023
|
-
Filters?: Filter[];
|
|
1024
|
-
NextToken?: string;
|
|
1025
|
-
MaxRecords?: number;
|
|
1052
|
+
Filters?: Filter[] | undefined;
|
|
1053
|
+
NextToken?: string | undefined;
|
|
1054
|
+
MaxRecords?: number | undefined;
|
|
1026
1055
|
}
|
|
1027
1056
|
export interface TagsType {
|
|
1028
|
-
Tags?: TagDescription[];
|
|
1029
|
-
NextToken?: string;
|
|
1057
|
+
Tags?: TagDescription[] | undefined;
|
|
1058
|
+
NextToken?: string | undefined;
|
|
1030
1059
|
}
|
|
1031
1060
|
export interface DescribeTerminationPolicyTypesAnswer {
|
|
1032
|
-
TerminationPolicyTypes?: string[];
|
|
1061
|
+
TerminationPolicyTypes?: string[] | undefined;
|
|
1033
1062
|
}
|
|
1034
1063
|
export interface DescribeTrafficSourcesRequest {
|
|
1035
1064
|
AutoScalingGroupName: string | undefined;
|
|
1036
|
-
TrafficSourceType?: string;
|
|
1037
|
-
NextToken?: string;
|
|
1038
|
-
MaxRecords?: number;
|
|
1065
|
+
TrafficSourceType?: string | undefined;
|
|
1066
|
+
NextToken?: string | undefined;
|
|
1067
|
+
MaxRecords?: number | undefined;
|
|
1039
1068
|
}
|
|
1040
1069
|
export interface TrafficSourceState {
|
|
1041
|
-
TrafficSource?: string;
|
|
1042
|
-
State?: string;
|
|
1043
|
-
Identifier?: string;
|
|
1044
|
-
Type?: string;
|
|
1070
|
+
TrafficSource?: string | undefined;
|
|
1071
|
+
State?: string | undefined;
|
|
1072
|
+
Identifier?: string | undefined;
|
|
1073
|
+
Type?: string | undefined;
|
|
1045
1074
|
}
|
|
1046
1075
|
export interface DescribeTrafficSourcesResponse {
|
|
1047
|
-
TrafficSources?: TrafficSourceState[];
|
|
1048
|
-
NextToken?: string;
|
|
1076
|
+
TrafficSources?: TrafficSourceState[] | undefined;
|
|
1077
|
+
NextToken?: string | undefined;
|
|
1049
1078
|
}
|
|
1050
1079
|
export interface DescribeWarmPoolAnswer {
|
|
1051
|
-
WarmPoolConfiguration?: WarmPoolConfiguration;
|
|
1052
|
-
Instances?: Instance[];
|
|
1053
|
-
NextToken?: string;
|
|
1080
|
+
WarmPoolConfiguration?: WarmPoolConfiguration | undefined;
|
|
1081
|
+
Instances?: Instance[] | undefined;
|
|
1082
|
+
NextToken?: string | undefined;
|
|
1054
1083
|
}
|
|
1055
1084
|
export interface DescribeWarmPoolType {
|
|
1056
1085
|
AutoScalingGroupName: string | undefined;
|
|
1057
|
-
MaxRecords?: number;
|
|
1058
|
-
NextToken?: string;
|
|
1086
|
+
MaxRecords?: number | undefined;
|
|
1087
|
+
NextToken?: string | undefined;
|
|
1059
1088
|
}
|
|
1060
1089
|
export interface DetachInstancesAnswer {
|
|
1061
|
-
Activities?: Activity[];
|
|
1090
|
+
Activities?: Activity[] | undefined;
|
|
1062
1091
|
}
|
|
1063
1092
|
export interface DetachInstancesQuery {
|
|
1064
|
-
InstanceIds?: string[];
|
|
1093
|
+
InstanceIds?: string[] | undefined;
|
|
1065
1094
|
AutoScalingGroupName: string | undefined;
|
|
1066
1095
|
ShouldDecrementDesiredCapacity: boolean | undefined;
|
|
1067
1096
|
}
|
|
@@ -1082,33 +1111,33 @@ export interface DetachTrafficSourcesType {
|
|
|
1082
1111
|
}
|
|
1083
1112
|
export interface DisableMetricsCollectionQuery {
|
|
1084
1113
|
AutoScalingGroupName: string | undefined;
|
|
1085
|
-
Metrics?: string[];
|
|
1114
|
+
Metrics?: string[] | undefined;
|
|
1086
1115
|
}
|
|
1087
1116
|
export interface EnableMetricsCollectionQuery {
|
|
1088
1117
|
AutoScalingGroupName: string | undefined;
|
|
1089
|
-
Metrics?: string[];
|
|
1118
|
+
Metrics?: string[] | undefined;
|
|
1090
1119
|
Granularity: string | undefined;
|
|
1091
1120
|
}
|
|
1092
1121
|
export interface EnterStandbyAnswer {
|
|
1093
|
-
Activities?: Activity[];
|
|
1122
|
+
Activities?: Activity[] | undefined;
|
|
1094
1123
|
}
|
|
1095
1124
|
export interface EnterStandbyQuery {
|
|
1096
|
-
InstanceIds?: string[];
|
|
1125
|
+
InstanceIds?: string[] | undefined;
|
|
1097
1126
|
AutoScalingGroupName: string | undefined;
|
|
1098
1127
|
ShouldDecrementDesiredCapacity: boolean | undefined;
|
|
1099
1128
|
}
|
|
1100
1129
|
export interface ExecutePolicyType {
|
|
1101
|
-
AutoScalingGroupName?: string;
|
|
1130
|
+
AutoScalingGroupName?: string | undefined;
|
|
1102
1131
|
PolicyName: string | undefined;
|
|
1103
|
-
HonorCooldown?: boolean;
|
|
1104
|
-
MetricValue?: number;
|
|
1105
|
-
BreachThreshold?: number;
|
|
1132
|
+
HonorCooldown?: boolean | undefined;
|
|
1133
|
+
MetricValue?: number | undefined;
|
|
1134
|
+
BreachThreshold?: number | undefined;
|
|
1106
1135
|
}
|
|
1107
1136
|
export interface ExitStandbyAnswer {
|
|
1108
|
-
Activities?: Activity[];
|
|
1137
|
+
Activities?: Activity[] | undefined;
|
|
1109
1138
|
}
|
|
1110
1139
|
export interface ExitStandbyQuery {
|
|
1111
|
-
InstanceIds?: string[];
|
|
1140
|
+
InstanceIds?: string[] | undefined;
|
|
1112
1141
|
AutoScalingGroupName: string | undefined;
|
|
1113
1142
|
}
|
|
1114
1143
|
export interface CapacityForecast {
|
|
@@ -1135,12 +1164,12 @@ export interface PutLifecycleHookAnswer {}
|
|
|
1135
1164
|
export interface PutLifecycleHookType {
|
|
1136
1165
|
LifecycleHookName: string | undefined;
|
|
1137
1166
|
AutoScalingGroupName: string | undefined;
|
|
1138
|
-
LifecycleTransition?: string;
|
|
1139
|
-
RoleARN?: string;
|
|
1140
|
-
NotificationTargetARN?: string;
|
|
1141
|
-
NotificationMetadata?: string;
|
|
1142
|
-
HeartbeatTimeout?: number;
|
|
1143
|
-
DefaultResult?: string;
|
|
1167
|
+
LifecycleTransition?: string | undefined;
|
|
1168
|
+
RoleARN?: string | undefined;
|
|
1169
|
+
NotificationTargetARN?: string | undefined;
|
|
1170
|
+
NotificationMetadata?: string | undefined;
|
|
1171
|
+
HeartbeatTimeout?: number | undefined;
|
|
1172
|
+
DefaultResult?: string | undefined;
|
|
1144
1173
|
}
|
|
1145
1174
|
export interface PutNotificationConfigurationType {
|
|
1146
1175
|
AutoScalingGroupName: string | undefined;
|
|
@@ -1148,55 +1177,55 @@ export interface PutNotificationConfigurationType {
|
|
|
1148
1177
|
NotificationTypes: string[] | undefined;
|
|
1149
1178
|
}
|
|
1150
1179
|
export interface PolicyARNType {
|
|
1151
|
-
PolicyARN?: string;
|
|
1152
|
-
Alarms?: Alarm[];
|
|
1180
|
+
PolicyARN?: string | undefined;
|
|
1181
|
+
Alarms?: Alarm[] | undefined;
|
|
1153
1182
|
}
|
|
1154
1183
|
export interface PutScalingPolicyType {
|
|
1155
1184
|
AutoScalingGroupName: string | undefined;
|
|
1156
1185
|
PolicyName: string | undefined;
|
|
1157
|
-
PolicyType?: string;
|
|
1158
|
-
AdjustmentType?: string;
|
|
1159
|
-
MinAdjustmentStep?: number;
|
|
1160
|
-
MinAdjustmentMagnitude?: number;
|
|
1161
|
-
ScalingAdjustment?: number;
|
|
1162
|
-
Cooldown?: number;
|
|
1163
|
-
MetricAggregationType?: string;
|
|
1164
|
-
StepAdjustments?: StepAdjustment[];
|
|
1165
|
-
EstimatedInstanceWarmup?: number;
|
|
1166
|
-
TargetTrackingConfiguration?: TargetTrackingConfiguration;
|
|
1167
|
-
Enabled?: boolean;
|
|
1168
|
-
PredictiveScalingConfiguration?: PredictiveScalingConfiguration;
|
|
1186
|
+
PolicyType?: string | undefined;
|
|
1187
|
+
AdjustmentType?: string | undefined;
|
|
1188
|
+
MinAdjustmentStep?: number | undefined;
|
|
1189
|
+
MinAdjustmentMagnitude?: number | undefined;
|
|
1190
|
+
ScalingAdjustment?: number | undefined;
|
|
1191
|
+
Cooldown?: number | undefined;
|
|
1192
|
+
MetricAggregationType?: string | undefined;
|
|
1193
|
+
StepAdjustments?: StepAdjustment[] | undefined;
|
|
1194
|
+
EstimatedInstanceWarmup?: number | undefined;
|
|
1195
|
+
TargetTrackingConfiguration?: TargetTrackingConfiguration | undefined;
|
|
1196
|
+
Enabled?: boolean | undefined;
|
|
1197
|
+
PredictiveScalingConfiguration?: PredictiveScalingConfiguration | undefined;
|
|
1169
1198
|
}
|
|
1170
1199
|
export interface PutScheduledUpdateGroupActionType {
|
|
1171
1200
|
AutoScalingGroupName: string | undefined;
|
|
1172
1201
|
ScheduledActionName: string | undefined;
|
|
1173
|
-
Time?: Date;
|
|
1174
|
-
StartTime?: Date;
|
|
1175
|
-
EndTime?: Date;
|
|
1176
|
-
Recurrence?: string;
|
|
1177
|
-
MinSize?: number;
|
|
1178
|
-
MaxSize?: number;
|
|
1179
|
-
DesiredCapacity?: number;
|
|
1180
|
-
TimeZone?: string;
|
|
1202
|
+
Time?: Date | undefined;
|
|
1203
|
+
StartTime?: Date | undefined;
|
|
1204
|
+
EndTime?: Date | undefined;
|
|
1205
|
+
Recurrence?: string | undefined;
|
|
1206
|
+
MinSize?: number | undefined;
|
|
1207
|
+
MaxSize?: number | undefined;
|
|
1208
|
+
DesiredCapacity?: number | undefined;
|
|
1209
|
+
TimeZone?: string | undefined;
|
|
1181
1210
|
}
|
|
1182
1211
|
export interface PutWarmPoolAnswer {}
|
|
1183
1212
|
export interface PutWarmPoolType {
|
|
1184
1213
|
AutoScalingGroupName: string | undefined;
|
|
1185
|
-
MaxGroupPreparedCapacity?: number;
|
|
1186
|
-
MinSize?: number;
|
|
1187
|
-
PoolState?: WarmPoolState;
|
|
1188
|
-
InstanceReusePolicy?: InstanceReusePolicy;
|
|
1214
|
+
MaxGroupPreparedCapacity?: number | undefined;
|
|
1215
|
+
MinSize?: number | undefined;
|
|
1216
|
+
PoolState?: WarmPoolState | undefined;
|
|
1217
|
+
InstanceReusePolicy?: InstanceReusePolicy | undefined;
|
|
1189
1218
|
}
|
|
1190
1219
|
export interface RecordLifecycleActionHeartbeatAnswer {}
|
|
1191
1220
|
export interface RecordLifecycleActionHeartbeatType {
|
|
1192
1221
|
LifecycleHookName: string | undefined;
|
|
1193
1222
|
AutoScalingGroupName: string | undefined;
|
|
1194
|
-
LifecycleActionToken?: string;
|
|
1195
|
-
InstanceId?: string;
|
|
1223
|
+
LifecycleActionToken?: string | undefined;
|
|
1224
|
+
InstanceId?: string | undefined;
|
|
1196
1225
|
}
|
|
1197
1226
|
export interface ScalingProcessQuery {
|
|
1198
1227
|
AutoScalingGroupName: string | undefined;
|
|
1199
|
-
ScalingProcesses?: string[];
|
|
1228
|
+
ScalingProcesses?: string[] | undefined;
|
|
1200
1229
|
}
|
|
1201
1230
|
export declare class IrreversibleInstanceRefreshFault extends __BaseException {
|
|
1202
1231
|
readonly name: "IrreversibleInstanceRefreshFault";
|
|
@@ -1209,7 +1238,7 @@ export declare class IrreversibleInstanceRefreshFault extends __BaseException {
|
|
|
1209
1238
|
);
|
|
1210
1239
|
}
|
|
1211
1240
|
export interface RollbackInstanceRefreshAnswer {
|
|
1212
|
-
InstanceRefreshId?: string;
|
|
1241
|
+
InstanceRefreshId?: string | undefined;
|
|
1213
1242
|
}
|
|
1214
1243
|
export interface RollbackInstanceRefreshType {
|
|
1215
1244
|
AutoScalingGroupName: string | undefined;
|
|
@@ -1217,12 +1246,12 @@ export interface RollbackInstanceRefreshType {
|
|
|
1217
1246
|
export interface SetDesiredCapacityType {
|
|
1218
1247
|
AutoScalingGroupName: string | undefined;
|
|
1219
1248
|
DesiredCapacity: number | undefined;
|
|
1220
|
-
HonorCooldown?: boolean;
|
|
1249
|
+
HonorCooldown?: boolean | undefined;
|
|
1221
1250
|
}
|
|
1222
1251
|
export interface SetInstanceHealthQuery {
|
|
1223
1252
|
InstanceId: string | undefined;
|
|
1224
1253
|
HealthStatus: string | undefined;
|
|
1225
|
-
ShouldRespectGracePeriod?: boolean;
|
|
1254
|
+
ShouldRespectGracePeriod?: boolean | undefined;
|
|
1226
1255
|
}
|
|
1227
1256
|
export interface SetInstanceProtectionAnswer {}
|
|
1228
1257
|
export interface SetInstanceProtectionQuery {
|
|
@@ -1238,7 +1267,7 @@ export declare class InstanceRefreshInProgressFault extends __BaseException {
|
|
|
1238
1267
|
);
|
|
1239
1268
|
}
|
|
1240
1269
|
export interface StartInstanceRefreshAnswer {
|
|
1241
|
-
InstanceRefreshId?: string;
|
|
1270
|
+
InstanceRefreshId?: string | undefined;
|
|
1242
1271
|
}
|
|
1243
1272
|
export declare const RefreshStrategy: {
|
|
1244
1273
|
readonly Rolling: "Rolling";
|
|
@@ -1247,9 +1276,9 @@ export type RefreshStrategy =
|
|
|
1247
1276
|
(typeof RefreshStrategy)[keyof typeof RefreshStrategy];
|
|
1248
1277
|
export interface StartInstanceRefreshType {
|
|
1249
1278
|
AutoScalingGroupName: string | undefined;
|
|
1250
|
-
Strategy?: RefreshStrategy;
|
|
1251
|
-
DesiredConfiguration?: DesiredConfiguration;
|
|
1252
|
-
Preferences?: RefreshPreferences;
|
|
1279
|
+
Strategy?: RefreshStrategy | undefined;
|
|
1280
|
+
DesiredConfiguration?: DesiredConfiguration | undefined;
|
|
1281
|
+
Preferences?: RefreshPreferences | undefined;
|
|
1253
1282
|
}
|
|
1254
1283
|
export interface TerminateInstanceInAutoScalingGroupType {
|
|
1255
1284
|
InstanceId: string | undefined;
|
|
@@ -1257,25 +1286,26 @@ export interface TerminateInstanceInAutoScalingGroupType {
|
|
|
1257
1286
|
}
|
|
1258
1287
|
export interface UpdateAutoScalingGroupType {
|
|
1259
1288
|
AutoScalingGroupName: string | undefined;
|
|
1260
|
-
LaunchConfigurationName?: string;
|
|
1261
|
-
LaunchTemplate?: LaunchTemplateSpecification;
|
|
1262
|
-
MixedInstancesPolicy?: MixedInstancesPolicy;
|
|
1263
|
-
MinSize?: number;
|
|
1264
|
-
MaxSize?: number;
|
|
1265
|
-
DesiredCapacity?: number;
|
|
1266
|
-
DefaultCooldown?: number;
|
|
1267
|
-
AvailabilityZones?: string[];
|
|
1268
|
-
HealthCheckType?: string;
|
|
1269
|
-
HealthCheckGracePeriod?: number;
|
|
1270
|
-
PlacementGroup?: string;
|
|
1271
|
-
VPCZoneIdentifier?: string;
|
|
1272
|
-
TerminationPolicies?: string[];
|
|
1273
|
-
NewInstancesProtectedFromScaleIn?: boolean;
|
|
1274
|
-
ServiceLinkedRoleARN?: string;
|
|
1275
|
-
MaxInstanceLifetime?: number;
|
|
1276
|
-
CapacityRebalance?: boolean;
|
|
1277
|
-
Context?: string;
|
|
1278
|
-
DesiredCapacityType?: string;
|
|
1279
|
-
DefaultInstanceWarmup?: number;
|
|
1280
|
-
InstanceMaintenancePolicy?: InstanceMaintenancePolicy;
|
|
1289
|
+
LaunchConfigurationName?: string | undefined;
|
|
1290
|
+
LaunchTemplate?: LaunchTemplateSpecification | undefined;
|
|
1291
|
+
MixedInstancesPolicy?: MixedInstancesPolicy | undefined;
|
|
1292
|
+
MinSize?: number | undefined;
|
|
1293
|
+
MaxSize?: number | undefined;
|
|
1294
|
+
DesiredCapacity?: number | undefined;
|
|
1295
|
+
DefaultCooldown?: number | undefined;
|
|
1296
|
+
AvailabilityZones?: string[] | undefined;
|
|
1297
|
+
HealthCheckType?: string | undefined;
|
|
1298
|
+
HealthCheckGracePeriod?: number | undefined;
|
|
1299
|
+
PlacementGroup?: string | undefined;
|
|
1300
|
+
VPCZoneIdentifier?: string | undefined;
|
|
1301
|
+
TerminationPolicies?: string[] | undefined;
|
|
1302
|
+
NewInstancesProtectedFromScaleIn?: boolean | undefined;
|
|
1303
|
+
ServiceLinkedRoleARN?: string | undefined;
|
|
1304
|
+
MaxInstanceLifetime?: number | undefined;
|
|
1305
|
+
CapacityRebalance?: boolean | undefined;
|
|
1306
|
+
Context?: string | undefined;
|
|
1307
|
+
DesiredCapacityType?: string | undefined;
|
|
1308
|
+
DefaultInstanceWarmup?: number | undefined;
|
|
1309
|
+
InstanceMaintenancePolicy?: InstanceMaintenancePolicy | undefined;
|
|
1310
|
+
AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
|
|
1281
1311
|
}
|