@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.
Files changed (27) hide show
  1. package/dist-cjs/models/models_0.js +167 -192
  2. package/dist-cjs/pagination/DescribeTrafficSourcesPaginator.js +29 -0
  3. package/dist-cjs/pagination/index.js +1 -0
  4. package/dist-cjs/protocols/Aws_query.js +12 -0
  5. package/dist-es/models/models_0.js +167 -192
  6. package/dist-es/pagination/DescribeTrafficSourcesPaginator.js +25 -0
  7. package/dist-es/pagination/index.js +1 -0
  8. package/dist-es/protocols/Aws_query.js +12 -0
  9. package/dist-types/AutoScaling.d.ts +93 -28
  10. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +10 -1
  11. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +7 -1
  12. package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +25 -9
  13. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +2 -1
  14. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +10 -1
  15. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +11 -2
  16. package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +6 -6
  17. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +10 -1
  18. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +11 -2
  19. package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +6 -6
  20. package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +2 -2
  21. package/dist-types/models/models_0.d.ts +432 -238
  22. package/dist-types/pagination/DescribeTrafficSourcesPaginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -0
  24. package/dist-types/ts3.4/models/models_0.d.ts +220 -168
  25. package/dist-types/ts3.4/pagination/DescribeTrafficSourcesPaginator.d.ts +11 -0
  26. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  27. 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 enum AcceleratorManufacturer {
8
- AMAZON_WEB_SERVICES = "amazon-web-services",
9
- AMD = "amd",
10
- NVIDIA = "nvidia",
11
- XILINX = "xilinx",
12
- }
13
- export declare enum AcceleratorName {
14
- A100 = "a100",
15
- K80 = "k80",
16
- M60 = "m60",
17
- RADEON_PRO_V520 = "radeon-pro-v520",
18
- T4 = "t4",
19
- V100 = "v100",
20
- VU9P = "vu9p",
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 enum AcceleratorType {
27
- FPGA = "fpga",
28
- GPU = "gpu",
29
- INFERENCE = "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 enum ScalingActivityStatusCode {
42
- Cancelled = "Cancelled",
43
- Failed = "Failed",
44
- InProgress = "InProgress",
45
- MidLifecycleAction = "MidLifecycleAction",
46
- PendingSpotBidPlacement = "PendingSpotBidPlacement",
47
- PreInService = "PreInService",
48
- Successful = "Successful",
49
- WaitingForELBConnectionDraining = "WaitingForELBConnectionDraining",
50
- WaitingForInstanceId = "WaitingForInstanceId",
51
- WaitingForInstanceWarmup = "WaitingForInstanceWarmup",
52
- WaitingForSpotInstanceId = "WaitingForSpotInstanceId",
53
- WaitingForSpotInstanceRequestId = "WaitingForSpotInstanceRequestId",
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?: string;
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 enum BareMetal {
195
- EXCLUDED = "excluded",
196
- INCLUDED = "included",
197
- REQUIRED = "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 enum BurstablePerformance {
204
- EXCLUDED = "excluded",
205
- INCLUDED = "included",
206
- REQUIRED = "required",
207
- }
208
- export declare enum CpuManufacturer {
209
- AMAZON_WEB_SERVICES = "amazon-web-services",
210
- AMD = "amd",
211
- INTEL = "intel",
212
- }
213
- export declare enum InstanceGeneration {
214
- CURRENT = "current",
215
- PREVIOUS = "previous",
216
- }
217
- export declare enum LocalStorage {
218
- EXCLUDED = "excluded",
219
- INCLUDED = "included",
220
- REQUIRED = "required",
221
- }
222
- export declare enum LocalStorageType {
223
- HDD = "hdd",
224
- SSD = "ssd",
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 enum InstanceMetadataEndpointState {
344
- Disabled = "disabled",
345
- Enabled = "enabled",
346
- }
347
- export declare enum InstanceMetadataHttpTokensState {
348
- Optional = "optional",
349
- Required = "required",
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 enum LifecycleState {
448
- DETACHED = "Detached",
449
- DETACHING = "Detaching",
450
- ENTERING_STANDBY = "EnteringStandby",
451
- IN_SERVICE = "InService",
452
- PENDING = "Pending",
453
- PENDING_PROCEED = "Pending:Proceed",
454
- PENDING_WAIT = "Pending:Wait",
455
- QUARANTINED = "Quarantined",
456
- STANDBY = "Standby",
457
- TERMINATED = "Terminated",
458
- TERMINATING = "Terminating",
459
- TERMINATING_PROCEED = "Terminating:Proceed",
460
- TERMINATING_WAIT = "Terminating:Wait",
461
- WARMED_HIBERNATED = "Warmed:Hibernated",
462
- WARMED_PENDING = "Warmed:Pending",
463
- WARMED_PENDING_PROCEED = "Warmed:Pending:Proceed",
464
- WARMED_PENDING_WAIT = "Warmed:Pending:Wait",
465
- WARMED_RUNNING = "Warmed:Running",
466
- WARMED_STOPPED = "Warmed:Stopped",
467
- WARMED_TERMINATED = "Warmed:Terminated",
468
- WARMED_TERMINATING = "Warmed:Terminating",
469
- WARMED_TERMINATING_PROCEED = "Warmed:Terminating:Proceed",
470
- WARMED_TERMINATING_WAIT = "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 enum WarmPoolState {
498
- Hibernated = "Hibernated",
499
- Running = "Running",
500
- Stopped = "Stopped",
501
- }
502
- export declare enum WarmPoolStatus {
503
- PendingDelete = "PendingDelete",
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 enum ScaleInProtectedInstances {
586
- Ignore = "Ignore",
587
- Refresh = "Refresh",
588
- Wait = "Wait",
589
- }
590
- export declare enum StandbyInstances {
591
- Ignore = "Ignore",
592
- Terminate = "Terminate",
593
- Wait = "Wait",
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 enum InstanceRefreshStatus {
625
- Cancelled = "Cancelled",
626
- Cancelling = "Cancelling",
627
- Failed = "Failed",
628
- InProgress = "InProgress",
629
- Pending = "Pending",
630
- RollbackFailed = "RollbackFailed",
631
- RollbackInProgress = "RollbackInProgress",
632
- RollbackSuccessful = "RollbackSuccessful",
633
- Successful = "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 enum PredictiveScalingMaxCapacityBreachBehavior {
769
- HonorMaxCapacity = "HonorMaxCapacity",
770
- IncreaseMaxCapacity = "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 enum PredefinedLoadMetricType {
803
- ALBTargetGroupRequestCount = "ALBTargetGroupRequestCount",
804
- ASGTotalCPUUtilization = "ASGTotalCPUUtilization",
805
- ASGTotalNetworkIn = "ASGTotalNetworkIn",
806
- ASGTotalNetworkOut = "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 enum PredefinedMetricPairType {
813
- ALBRequestCount = "ALBRequestCount",
814
- ASGCPUUtilization = "ASGCPUUtilization",
815
- ASGNetworkIn = "ASGNetworkIn",
816
- ASGNetworkOut = "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 enum PredefinedScalingMetricType {
823
- ALBRequestCountPerTarget = "ALBRequestCountPerTarget",
824
- ASGAverageCPUUtilization = "ASGAverageCPUUtilization",
825
- ASGAverageNetworkIn = "ASGAverageNetworkIn",
826
- ASGAverageNetworkOut = "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 enum PredictiveScalingMode {
842
- ForecastAndScale = "ForecastAndScale",
843
- ForecastOnly = "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 enum MetricStatistic {
872
- Average = "Average",
873
- Maximum = "Maximum",
874
- Minimum = "Minimum",
875
- SampleCount = "SampleCount",
876
- Sum = "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 enum MetricType {
887
- ALBRequestCountPerTarget = "ALBRequestCountPerTarget",
888
- ASGAverageCPUUtilization = "ASGAverageCPUUtilization",
889
- ASGAverageNetworkIn = "ASGAverageNetworkIn",
890
- ASGAverageNetworkOut = "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: string | undefined;
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 enum RefreshStrategy {
1182
- Rolling = "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.301.0",
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.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
56
- "@aws-sdk/util-waiter": "3.296.0",
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.295.0",
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",