@aws-sdk/client-auto-scaling 3.301.0 → 3.303.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/models/models_0.js +167 -192
- package/dist-cjs/pagination/DescribeTrafficSourcesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_query.js +12 -0
- package/dist-es/models/models_0.js +167 -192
- package/dist-es/pagination/DescribeTrafficSourcesPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_query.js +12 -0
- package/dist-types/AutoScaling.d.ts +93 -28
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +10 -1
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +7 -1
- package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +25 -9
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +10 -1
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +11 -2
- package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +6 -6
- package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +10 -1
- package/dist-types/commands/DetachLoadBalancersCommand.d.ts +11 -2
- package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +6 -6
- package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +432 -238
- package/dist-types/pagination/DescribeTrafficSourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +220 -168
- package/dist-types/ts3.4/pagination/DescribeTrafficSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/package.json +35 -35
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { DescribeTrafficSourcesCommandInput, DescribeTrafficSourcesCommandOutput } from "../commands/DescribeTrafficSourcesCommand";
|
|
3
|
+
import { AutoScalingPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateDescribeTrafficSources(config: AutoScalingPaginationConfiguration, input: DescribeTrafficSourcesCommandInput, ...additionalArguments: any): Paginator<DescribeTrafficSourcesCommandOutput>;
|
|
@@ -6,4 +6,5 @@ export * from "./DescribePoliciesPaginator";
|
|
|
6
6
|
export * from "./DescribeScalingActivitiesPaginator";
|
|
7
7
|
export * from "./DescribeScheduledActionsPaginator";
|
|
8
8
|
export * from "./DescribeTagsPaginator";
|
|
9
|
+
export * from "./DescribeTrafficSourcesPaginator";
|
|
9
10
|
export * from "./Interfaces";
|
|
@@ -4,30 +4,36 @@ export interface AcceleratorCountRequest {
|
|
|
4
4
|
Min?: number;
|
|
5
5
|
Max?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare
|
|
8
|
-
AMAZON_WEB_SERVICES
|
|
9
|
-
AMD
|
|
10
|
-
NVIDIA
|
|
11
|
-
XILINX
|
|
12
|
-
}
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
7
|
+
export declare const AcceleratorManufacturer: {
|
|
8
|
+
readonly AMAZON_WEB_SERVICES: "amazon-web-services";
|
|
9
|
+
readonly AMD: "amd";
|
|
10
|
+
readonly NVIDIA: "nvidia";
|
|
11
|
+
readonly XILINX: "xilinx";
|
|
12
|
+
};
|
|
13
|
+
export type AcceleratorManufacturer =
|
|
14
|
+
(typeof AcceleratorManufacturer)[keyof typeof AcceleratorManufacturer];
|
|
15
|
+
export declare const AcceleratorName: {
|
|
16
|
+
readonly A100: "a100";
|
|
17
|
+
readonly K80: "k80";
|
|
18
|
+
readonly M60: "m60";
|
|
19
|
+
readonly RADEON_PRO_V520: "radeon-pro-v520";
|
|
20
|
+
readonly T4: "t4";
|
|
21
|
+
readonly V100: "v100";
|
|
22
|
+
readonly VU9P: "vu9p";
|
|
23
|
+
};
|
|
24
|
+
export type AcceleratorName =
|
|
25
|
+
(typeof AcceleratorName)[keyof typeof AcceleratorName];
|
|
22
26
|
export interface AcceleratorTotalMemoryMiBRequest {
|
|
23
27
|
Min?: number;
|
|
24
28
|
Max?: number;
|
|
25
29
|
}
|
|
26
|
-
export declare
|
|
27
|
-
FPGA
|
|
28
|
-
GPU
|
|
29
|
-
INFERENCE
|
|
30
|
-
}
|
|
30
|
+
export declare const AcceleratorType: {
|
|
31
|
+
readonly FPGA: "fpga";
|
|
32
|
+
readonly GPU: "gpu";
|
|
33
|
+
readonly INFERENCE: "inference";
|
|
34
|
+
};
|
|
35
|
+
export type AcceleratorType =
|
|
36
|
+
(typeof AcceleratorType)[keyof typeof AcceleratorType];
|
|
31
37
|
export declare class ActiveInstanceRefreshNotFoundFault extends __BaseException {
|
|
32
38
|
readonly name: "ActiveInstanceRefreshNotFoundFault";
|
|
33
39
|
readonly $fault: "client";
|
|
@@ -38,20 +44,23 @@ export declare class ActiveInstanceRefreshNotFoundFault extends __BaseException
|
|
|
38
44
|
>
|
|
39
45
|
);
|
|
40
46
|
}
|
|
41
|
-
export declare
|
|
42
|
-
Cancelled
|
|
43
|
-
Failed
|
|
44
|
-
InProgress
|
|
45
|
-
MidLifecycleAction
|
|
46
|
-
PendingSpotBidPlacement
|
|
47
|
-
PreInService
|
|
48
|
-
Successful
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
47
|
+
export declare const ScalingActivityStatusCode: {
|
|
48
|
+
readonly Cancelled: "Cancelled";
|
|
49
|
+
readonly Failed: "Failed";
|
|
50
|
+
readonly InProgress: "InProgress";
|
|
51
|
+
readonly MidLifecycleAction: "MidLifecycleAction";
|
|
52
|
+
readonly PendingSpotBidPlacement: "PendingSpotBidPlacement";
|
|
53
|
+
readonly PreInService: "PreInService";
|
|
54
|
+
readonly Successful: "Successful";
|
|
55
|
+
readonly WaitingForConnectionDraining: "WaitingForConnectionDraining";
|
|
56
|
+
readonly WaitingForELBConnectionDraining: "WaitingForELBConnectionDraining";
|
|
57
|
+
readonly WaitingForInstanceId: "WaitingForInstanceId";
|
|
58
|
+
readonly WaitingForInstanceWarmup: "WaitingForInstanceWarmup";
|
|
59
|
+
readonly WaitingForSpotInstanceId: "WaitingForSpotInstanceId";
|
|
60
|
+
readonly WaitingForSpotInstanceRequestId: "WaitingForSpotInstanceRequestId";
|
|
61
|
+
};
|
|
62
|
+
export type ScalingActivityStatusCode =
|
|
63
|
+
(typeof ScalingActivityStatusCode)[keyof typeof ScalingActivityStatusCode];
|
|
55
64
|
export interface Activity {
|
|
56
65
|
ActivityId: string | undefined;
|
|
57
66
|
AutoScalingGroupName: string | undefined;
|
|
@@ -115,7 +124,8 @@ export interface AttachLoadBalancerTargetGroupsType {
|
|
|
115
124
|
}
|
|
116
125
|
export interface AttachTrafficSourcesResultType {}
|
|
117
126
|
export interface TrafficSourceIdentifier {
|
|
118
|
-
Identifier
|
|
127
|
+
Identifier: string | undefined;
|
|
128
|
+
Type?: string;
|
|
119
129
|
}
|
|
120
130
|
export interface AttachTrafficSourcesType {
|
|
121
131
|
AutoScalingGroupName: string | undefined;
|
|
@@ -191,38 +201,48 @@ export interface InstancesDistribution {
|
|
|
191
201
|
SpotInstancePools?: number;
|
|
192
202
|
SpotMaxPrice?: string;
|
|
193
203
|
}
|
|
194
|
-
export declare
|
|
195
|
-
EXCLUDED
|
|
196
|
-
INCLUDED
|
|
197
|
-
REQUIRED
|
|
198
|
-
}
|
|
204
|
+
export declare const BareMetal: {
|
|
205
|
+
readonly EXCLUDED: "excluded";
|
|
206
|
+
readonly INCLUDED: "included";
|
|
207
|
+
readonly REQUIRED: "required";
|
|
208
|
+
};
|
|
209
|
+
export type BareMetal = (typeof BareMetal)[keyof typeof BareMetal];
|
|
199
210
|
export interface BaselineEbsBandwidthMbpsRequest {
|
|
200
211
|
Min?: number;
|
|
201
212
|
Max?: number;
|
|
202
213
|
}
|
|
203
|
-
export declare
|
|
204
|
-
EXCLUDED
|
|
205
|
-
INCLUDED
|
|
206
|
-
REQUIRED
|
|
207
|
-
}
|
|
208
|
-
export
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
export declare
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
214
|
+
export declare const BurstablePerformance: {
|
|
215
|
+
readonly EXCLUDED: "excluded";
|
|
216
|
+
readonly INCLUDED: "included";
|
|
217
|
+
readonly REQUIRED: "required";
|
|
218
|
+
};
|
|
219
|
+
export type BurstablePerformance =
|
|
220
|
+
(typeof BurstablePerformance)[keyof typeof BurstablePerformance];
|
|
221
|
+
export declare const CpuManufacturer: {
|
|
222
|
+
readonly AMAZON_WEB_SERVICES: "amazon-web-services";
|
|
223
|
+
readonly AMD: "amd";
|
|
224
|
+
readonly INTEL: "intel";
|
|
225
|
+
};
|
|
226
|
+
export type CpuManufacturer =
|
|
227
|
+
(typeof CpuManufacturer)[keyof typeof CpuManufacturer];
|
|
228
|
+
export declare const InstanceGeneration: {
|
|
229
|
+
readonly CURRENT: "current";
|
|
230
|
+
readonly PREVIOUS: "previous";
|
|
231
|
+
};
|
|
232
|
+
export type InstanceGeneration =
|
|
233
|
+
(typeof InstanceGeneration)[keyof typeof InstanceGeneration];
|
|
234
|
+
export declare const LocalStorage: {
|
|
235
|
+
readonly EXCLUDED: "excluded";
|
|
236
|
+
readonly INCLUDED: "included";
|
|
237
|
+
readonly REQUIRED: "required";
|
|
238
|
+
};
|
|
239
|
+
export type LocalStorage = (typeof LocalStorage)[keyof typeof LocalStorage];
|
|
240
|
+
export declare const LocalStorageType: {
|
|
241
|
+
readonly HDD: "hdd";
|
|
242
|
+
readonly SSD: "ssd";
|
|
243
|
+
};
|
|
244
|
+
export type LocalStorageType =
|
|
245
|
+
(typeof LocalStorageType)[keyof typeof LocalStorageType];
|
|
226
246
|
export interface MemoryGiBPerVCpuRequest {
|
|
227
247
|
Min?: number;
|
|
228
248
|
Max?: number;
|
|
@@ -340,14 +360,18 @@ export interface BlockDeviceMapping {
|
|
|
340
360
|
export interface InstanceMonitoring {
|
|
341
361
|
Enabled?: boolean;
|
|
342
362
|
}
|
|
343
|
-
export declare
|
|
344
|
-
Disabled
|
|
345
|
-
Enabled
|
|
346
|
-
}
|
|
347
|
-
export
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
363
|
+
export declare const InstanceMetadataEndpointState: {
|
|
364
|
+
readonly Disabled: "disabled";
|
|
365
|
+
readonly Enabled: "enabled";
|
|
366
|
+
};
|
|
367
|
+
export type InstanceMetadataEndpointState =
|
|
368
|
+
(typeof InstanceMetadataEndpointState)[keyof typeof InstanceMetadataEndpointState];
|
|
369
|
+
export declare const InstanceMetadataHttpTokensState: {
|
|
370
|
+
readonly Optional: "optional";
|
|
371
|
+
readonly Required: "required";
|
|
372
|
+
};
|
|
373
|
+
export type InstanceMetadataHttpTokensState =
|
|
374
|
+
(typeof InstanceMetadataHttpTokensState)[keyof typeof InstanceMetadataHttpTokensState];
|
|
351
375
|
export interface InstanceMetadataOptions {
|
|
352
376
|
HttpTokens?: InstanceMetadataHttpTokensState | string;
|
|
353
377
|
HttpPutResponseHopLimit?: number;
|
|
@@ -444,31 +468,33 @@ export interface EnabledMetric {
|
|
|
444
468
|
Metric?: string;
|
|
445
469
|
Granularity?: string;
|
|
446
470
|
}
|
|
447
|
-
export declare
|
|
448
|
-
DETACHED
|
|
449
|
-
DETACHING
|
|
450
|
-
ENTERING_STANDBY
|
|
451
|
-
IN_SERVICE
|
|
452
|
-
PENDING
|
|
453
|
-
PENDING_PROCEED
|
|
454
|
-
PENDING_WAIT
|
|
455
|
-
QUARANTINED
|
|
456
|
-
STANDBY
|
|
457
|
-
TERMINATED
|
|
458
|
-
TERMINATING
|
|
459
|
-
TERMINATING_PROCEED
|
|
460
|
-
TERMINATING_WAIT
|
|
461
|
-
WARMED_HIBERNATED
|
|
462
|
-
WARMED_PENDING
|
|
463
|
-
WARMED_PENDING_PROCEED
|
|
464
|
-
WARMED_PENDING_WAIT
|
|
465
|
-
WARMED_RUNNING
|
|
466
|
-
WARMED_STOPPED
|
|
467
|
-
WARMED_TERMINATED
|
|
468
|
-
WARMED_TERMINATING
|
|
469
|
-
WARMED_TERMINATING_PROCEED
|
|
470
|
-
WARMED_TERMINATING_WAIT
|
|
471
|
-
}
|
|
471
|
+
export declare const LifecycleState: {
|
|
472
|
+
readonly DETACHED: "Detached";
|
|
473
|
+
readonly DETACHING: "Detaching";
|
|
474
|
+
readonly ENTERING_STANDBY: "EnteringStandby";
|
|
475
|
+
readonly IN_SERVICE: "InService";
|
|
476
|
+
readonly PENDING: "Pending";
|
|
477
|
+
readonly PENDING_PROCEED: "Pending:Proceed";
|
|
478
|
+
readonly PENDING_WAIT: "Pending:Wait";
|
|
479
|
+
readonly QUARANTINED: "Quarantined";
|
|
480
|
+
readonly STANDBY: "Standby";
|
|
481
|
+
readonly TERMINATED: "Terminated";
|
|
482
|
+
readonly TERMINATING: "Terminating";
|
|
483
|
+
readonly TERMINATING_PROCEED: "Terminating:Proceed";
|
|
484
|
+
readonly TERMINATING_WAIT: "Terminating:Wait";
|
|
485
|
+
readonly WARMED_HIBERNATED: "Warmed:Hibernated";
|
|
486
|
+
readonly WARMED_PENDING: "Warmed:Pending";
|
|
487
|
+
readonly WARMED_PENDING_PROCEED: "Warmed:Pending:Proceed";
|
|
488
|
+
readonly WARMED_PENDING_WAIT: "Warmed:Pending:Wait";
|
|
489
|
+
readonly WARMED_RUNNING: "Warmed:Running";
|
|
490
|
+
readonly WARMED_STOPPED: "Warmed:Stopped";
|
|
491
|
+
readonly WARMED_TERMINATED: "Warmed:Terminated";
|
|
492
|
+
readonly WARMED_TERMINATING: "Warmed:Terminating";
|
|
493
|
+
readonly WARMED_TERMINATING_PROCEED: "Warmed:Terminating:Proceed";
|
|
494
|
+
readonly WARMED_TERMINATING_WAIT: "Warmed:Terminating:Wait";
|
|
495
|
+
};
|
|
496
|
+
export type LifecycleState =
|
|
497
|
+
(typeof LifecycleState)[keyof typeof LifecycleState];
|
|
472
498
|
export interface Instance {
|
|
473
499
|
InstanceId: string | undefined;
|
|
474
500
|
InstanceType?: string;
|
|
@@ -494,14 +520,17 @@ export interface TagDescription {
|
|
|
494
520
|
export interface InstanceReusePolicy {
|
|
495
521
|
ReuseOnScaleIn?: boolean;
|
|
496
522
|
}
|
|
497
|
-
export declare
|
|
498
|
-
Hibernated
|
|
499
|
-
Running
|
|
500
|
-
Stopped
|
|
501
|
-
}
|
|
502
|
-
export
|
|
503
|
-
|
|
504
|
-
|
|
523
|
+
export declare const WarmPoolState: {
|
|
524
|
+
readonly Hibernated: "Hibernated";
|
|
525
|
+
readonly Running: "Running";
|
|
526
|
+
readonly Stopped: "Stopped";
|
|
527
|
+
};
|
|
528
|
+
export type WarmPoolState = (typeof WarmPoolState)[keyof typeof WarmPoolState];
|
|
529
|
+
export declare const WarmPoolStatus: {
|
|
530
|
+
readonly PendingDelete: "PendingDelete";
|
|
531
|
+
};
|
|
532
|
+
export type WarmPoolStatus =
|
|
533
|
+
(typeof WarmPoolStatus)[keyof typeof WarmPoolStatus];
|
|
505
534
|
export interface WarmPoolConfiguration {
|
|
506
535
|
MaxGroupPreparedCapacity?: number;
|
|
507
536
|
MinSize?: number;
|
|
@@ -582,16 +611,20 @@ export interface DesiredConfiguration {
|
|
|
582
611
|
LaunchTemplate?: LaunchTemplateSpecification;
|
|
583
612
|
MixedInstancesPolicy?: MixedInstancesPolicy;
|
|
584
613
|
}
|
|
585
|
-
export declare
|
|
586
|
-
Ignore
|
|
587
|
-
Refresh
|
|
588
|
-
Wait
|
|
589
|
-
}
|
|
590
|
-
export
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
614
|
+
export declare const ScaleInProtectedInstances: {
|
|
615
|
+
readonly Ignore: "Ignore";
|
|
616
|
+
readonly Refresh: "Refresh";
|
|
617
|
+
readonly Wait: "Wait";
|
|
618
|
+
};
|
|
619
|
+
export type ScaleInProtectedInstances =
|
|
620
|
+
(typeof ScaleInProtectedInstances)[keyof typeof ScaleInProtectedInstances];
|
|
621
|
+
export declare const StandbyInstances: {
|
|
622
|
+
readonly Ignore: "Ignore";
|
|
623
|
+
readonly Terminate: "Terminate";
|
|
624
|
+
readonly Wait: "Wait";
|
|
625
|
+
};
|
|
626
|
+
export type StandbyInstances =
|
|
627
|
+
(typeof StandbyInstances)[keyof typeof StandbyInstances];
|
|
595
628
|
export interface RefreshPreferences {
|
|
596
629
|
MinHealthyPercentage?: number;
|
|
597
630
|
InstanceWarmup?: number;
|
|
@@ -621,17 +654,19 @@ export interface RollbackDetails {
|
|
|
621
654
|
InstancesToUpdateOnRollback?: number;
|
|
622
655
|
ProgressDetailsOnRollback?: InstanceRefreshProgressDetails;
|
|
623
656
|
}
|
|
624
|
-
export declare
|
|
625
|
-
Cancelled
|
|
626
|
-
Cancelling
|
|
627
|
-
Failed
|
|
628
|
-
InProgress
|
|
629
|
-
Pending
|
|
630
|
-
RollbackFailed
|
|
631
|
-
RollbackInProgress
|
|
632
|
-
RollbackSuccessful
|
|
633
|
-
Successful
|
|
634
|
-
}
|
|
657
|
+
export declare const InstanceRefreshStatus: {
|
|
658
|
+
readonly Cancelled: "Cancelled";
|
|
659
|
+
readonly Cancelling: "Cancelling";
|
|
660
|
+
readonly Failed: "Failed";
|
|
661
|
+
readonly InProgress: "InProgress";
|
|
662
|
+
readonly Pending: "Pending";
|
|
663
|
+
readonly RollbackFailed: "RollbackFailed";
|
|
664
|
+
readonly RollbackInProgress: "RollbackInProgress";
|
|
665
|
+
readonly RollbackSuccessful: "RollbackSuccessful";
|
|
666
|
+
readonly Successful: "Successful";
|
|
667
|
+
};
|
|
668
|
+
export type InstanceRefreshStatus =
|
|
669
|
+
(typeof InstanceRefreshStatus)[keyof typeof InstanceRefreshStatus];
|
|
635
670
|
export interface InstanceRefresh {
|
|
636
671
|
InstanceRefreshId?: string;
|
|
637
672
|
AutoScalingGroupName?: string;
|
|
@@ -765,10 +800,12 @@ export interface DescribePoliciesType {
|
|
|
765
800
|
NextToken?: string;
|
|
766
801
|
MaxRecords?: number;
|
|
767
802
|
}
|
|
768
|
-
export declare
|
|
769
|
-
HonorMaxCapacity
|
|
770
|
-
IncreaseMaxCapacity
|
|
771
|
-
}
|
|
803
|
+
export declare const PredictiveScalingMaxCapacityBreachBehavior: {
|
|
804
|
+
readonly HonorMaxCapacity: "HonorMaxCapacity";
|
|
805
|
+
readonly IncreaseMaxCapacity: "IncreaseMaxCapacity";
|
|
806
|
+
};
|
|
807
|
+
export type PredictiveScalingMaxCapacityBreachBehavior =
|
|
808
|
+
(typeof PredictiveScalingMaxCapacityBreachBehavior)[keyof typeof PredictiveScalingMaxCapacityBreachBehavior];
|
|
772
809
|
export interface MetricDimension {
|
|
773
810
|
Name: string | undefined;
|
|
774
811
|
Value: string | undefined;
|
|
@@ -799,32 +836,38 @@ export interface PredictiveScalingCustomizedLoadMetric {
|
|
|
799
836
|
export interface PredictiveScalingCustomizedScalingMetric {
|
|
800
837
|
MetricDataQueries: MetricDataQuery[] | undefined;
|
|
801
838
|
}
|
|
802
|
-
export declare
|
|
803
|
-
ALBTargetGroupRequestCount
|
|
804
|
-
ASGTotalCPUUtilization
|
|
805
|
-
ASGTotalNetworkIn
|
|
806
|
-
ASGTotalNetworkOut
|
|
807
|
-
}
|
|
839
|
+
export declare const PredefinedLoadMetricType: {
|
|
840
|
+
readonly ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount";
|
|
841
|
+
readonly ASGTotalCPUUtilization: "ASGTotalCPUUtilization";
|
|
842
|
+
readonly ASGTotalNetworkIn: "ASGTotalNetworkIn";
|
|
843
|
+
readonly ASGTotalNetworkOut: "ASGTotalNetworkOut";
|
|
844
|
+
};
|
|
845
|
+
export type PredefinedLoadMetricType =
|
|
846
|
+
(typeof PredefinedLoadMetricType)[keyof typeof PredefinedLoadMetricType];
|
|
808
847
|
export interface PredictiveScalingPredefinedLoadMetric {
|
|
809
848
|
PredefinedMetricType: PredefinedLoadMetricType | string | undefined;
|
|
810
849
|
ResourceLabel?: string;
|
|
811
850
|
}
|
|
812
|
-
export declare
|
|
813
|
-
ALBRequestCount
|
|
814
|
-
ASGCPUUtilization
|
|
815
|
-
ASGNetworkIn
|
|
816
|
-
ASGNetworkOut
|
|
817
|
-
}
|
|
851
|
+
export declare const PredefinedMetricPairType: {
|
|
852
|
+
readonly ALBRequestCount: "ALBRequestCount";
|
|
853
|
+
readonly ASGCPUUtilization: "ASGCPUUtilization";
|
|
854
|
+
readonly ASGNetworkIn: "ASGNetworkIn";
|
|
855
|
+
readonly ASGNetworkOut: "ASGNetworkOut";
|
|
856
|
+
};
|
|
857
|
+
export type PredefinedMetricPairType =
|
|
858
|
+
(typeof PredefinedMetricPairType)[keyof typeof PredefinedMetricPairType];
|
|
818
859
|
export interface PredictiveScalingPredefinedMetricPair {
|
|
819
860
|
PredefinedMetricType: PredefinedMetricPairType | string | undefined;
|
|
820
861
|
ResourceLabel?: string;
|
|
821
862
|
}
|
|
822
|
-
export declare
|
|
823
|
-
ALBRequestCountPerTarget
|
|
824
|
-
ASGAverageCPUUtilization
|
|
825
|
-
ASGAverageNetworkIn
|
|
826
|
-
ASGAverageNetworkOut
|
|
827
|
-
}
|
|
863
|
+
export declare const PredefinedScalingMetricType: {
|
|
864
|
+
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
865
|
+
readonly ASGAverageCPUUtilization: "ASGAverageCPUUtilization";
|
|
866
|
+
readonly ASGAverageNetworkIn: "ASGAverageNetworkIn";
|
|
867
|
+
readonly ASGAverageNetworkOut: "ASGAverageNetworkOut";
|
|
868
|
+
};
|
|
869
|
+
export type PredefinedScalingMetricType =
|
|
870
|
+
(typeof PredefinedScalingMetricType)[keyof typeof PredefinedScalingMetricType];
|
|
828
871
|
export interface PredictiveScalingPredefinedScalingMetric {
|
|
829
872
|
PredefinedMetricType: PredefinedScalingMetricType | string | undefined;
|
|
830
873
|
ResourceLabel?: string;
|
|
@@ -838,10 +881,12 @@ export interface PredictiveScalingMetricSpecification {
|
|
|
838
881
|
CustomizedLoadMetricSpecification?: PredictiveScalingCustomizedLoadMetric;
|
|
839
882
|
CustomizedCapacityMetricSpecification?: PredictiveScalingCustomizedCapacityMetric;
|
|
840
883
|
}
|
|
841
|
-
export declare
|
|
842
|
-
ForecastAndScale
|
|
843
|
-
ForecastOnly
|
|
844
|
-
}
|
|
884
|
+
export declare const PredictiveScalingMode: {
|
|
885
|
+
readonly ForecastAndScale: "ForecastAndScale";
|
|
886
|
+
readonly ForecastOnly: "ForecastOnly";
|
|
887
|
+
};
|
|
888
|
+
export type PredictiveScalingMode =
|
|
889
|
+
(typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
|
|
845
890
|
export interface PredictiveScalingConfiguration {
|
|
846
891
|
MetricSpecifications: PredictiveScalingMetricSpecification[] | undefined;
|
|
847
892
|
Mode?: PredictiveScalingMode | string;
|
|
@@ -868,13 +913,15 @@ export interface TargetTrackingMetricDataQuery {
|
|
|
868
913
|
Label?: string;
|
|
869
914
|
ReturnData?: boolean;
|
|
870
915
|
}
|
|
871
|
-
export declare
|
|
872
|
-
Average
|
|
873
|
-
Maximum
|
|
874
|
-
Minimum
|
|
875
|
-
SampleCount
|
|
876
|
-
Sum
|
|
877
|
-
}
|
|
916
|
+
export declare const MetricStatistic: {
|
|
917
|
+
readonly Average: "Average";
|
|
918
|
+
readonly Maximum: "Maximum";
|
|
919
|
+
readonly Minimum: "Minimum";
|
|
920
|
+
readonly SampleCount: "SampleCount";
|
|
921
|
+
readonly Sum: "Sum";
|
|
922
|
+
};
|
|
923
|
+
export type MetricStatistic =
|
|
924
|
+
(typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
878
925
|
export interface CustomizedMetricSpecification {
|
|
879
926
|
MetricName?: string;
|
|
880
927
|
Namespace?: string;
|
|
@@ -883,12 +930,13 @@ export interface CustomizedMetricSpecification {
|
|
|
883
930
|
Unit?: string;
|
|
884
931
|
Metrics?: TargetTrackingMetricDataQuery[];
|
|
885
932
|
}
|
|
886
|
-
export declare
|
|
887
|
-
ALBRequestCountPerTarget
|
|
888
|
-
ASGAverageCPUUtilization
|
|
889
|
-
ASGAverageNetworkIn
|
|
890
|
-
ASGAverageNetworkOut
|
|
891
|
-
}
|
|
933
|
+
export declare const MetricType: {
|
|
934
|
+
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
935
|
+
readonly ASGAverageCPUUtilization: "ASGAverageCPUUtilization";
|
|
936
|
+
readonly ASGAverageNetworkIn: "ASGAverageNetworkIn";
|
|
937
|
+
readonly ASGAverageNetworkOut: "ASGAverageNetworkOut";
|
|
938
|
+
};
|
|
939
|
+
export type MetricType = (typeof MetricType)[keyof typeof MetricType];
|
|
892
940
|
export interface PredefinedMetricSpecification {
|
|
893
941
|
PredefinedMetricType: MetricType | string | undefined;
|
|
894
942
|
ResourceLabel?: string;
|
|
@@ -973,13 +1021,15 @@ export interface DescribeTerminationPolicyTypesAnswer {
|
|
|
973
1021
|
}
|
|
974
1022
|
export interface DescribeTrafficSourcesRequest {
|
|
975
1023
|
AutoScalingGroupName: string | undefined;
|
|
976
|
-
TrafficSourceType
|
|
1024
|
+
TrafficSourceType?: string;
|
|
977
1025
|
NextToken?: string;
|
|
978
1026
|
MaxRecords?: number;
|
|
979
1027
|
}
|
|
980
1028
|
export interface TrafficSourceState {
|
|
981
1029
|
TrafficSource?: string;
|
|
982
1030
|
State?: string;
|
|
1031
|
+
Identifier?: string;
|
|
1032
|
+
Type?: string;
|
|
983
1033
|
}
|
|
984
1034
|
export interface DescribeTrafficSourcesResponse {
|
|
985
1035
|
TrafficSources?: TrafficSourceState[];
|
|
@@ -1178,9 +1228,11 @@ export declare class InstanceRefreshInProgressFault extends __BaseException {
|
|
|
1178
1228
|
export interface StartInstanceRefreshAnswer {
|
|
1179
1229
|
InstanceRefreshId?: string;
|
|
1180
1230
|
}
|
|
1181
|
-
export declare
|
|
1182
|
-
Rolling
|
|
1183
|
-
}
|
|
1231
|
+
export declare const RefreshStrategy: {
|
|
1232
|
+
readonly Rolling: "Rolling";
|
|
1233
|
+
};
|
|
1234
|
+
export type RefreshStrategy =
|
|
1235
|
+
(typeof RefreshStrategy)[keyof typeof RefreshStrategy];
|
|
1184
1236
|
export interface StartInstanceRefreshType {
|
|
1185
1237
|
AutoScalingGroupName: string | undefined;
|
|
1186
1238
|
Strategy?: RefreshStrategy | string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
DescribeTrafficSourcesCommandInput,
|
|
4
|
+
DescribeTrafficSourcesCommandOutput,
|
|
5
|
+
} from "../commands/DescribeTrafficSourcesCommand";
|
|
6
|
+
import { AutoScalingPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateDescribeTrafficSources(
|
|
8
|
+
config: AutoScalingPaginationConfiguration,
|
|
9
|
+
input: DescribeTrafficSourcesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<DescribeTrafficSourcesCommandOutput>;
|
|
@@ -6,4 +6,5 @@ export * from "./DescribePoliciesPaginator";
|
|
|
6
6
|
export * from "./DescribeScalingActivitiesPaginator";
|
|
7
7
|
export * from "./DescribeScheduledActionsPaginator";
|
|
8
8
|
export * from "./DescribeTagsPaginator";
|
|
9
|
+
export * from "./DescribeTrafficSourcesPaginator";
|
|
9
10
|
export * from "./Interfaces";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,44 +21,44 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
|
+
"@aws-sdk/util-waiter": "3.303.0",
|
|
57
57
|
"fast-xml-parser": "4.1.2",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
62
62
|
"@tsconfig/node14": "1.0.3",
|
|
63
63
|
"@types/node": "^14.14.31",
|
|
64
64
|
"concurrently": "7.0.0",
|