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