@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
@@ -1,27 +1,24 @@
1
1
  import { AutoScalingServiceException as __BaseException } from "./AutoScalingServiceException";
2
- export var AcceleratorManufacturer;
3
- (function (AcceleratorManufacturer) {
4
- AcceleratorManufacturer["AMAZON_WEB_SERVICES"] = "amazon-web-services";
5
- AcceleratorManufacturer["AMD"] = "amd";
6
- AcceleratorManufacturer["NVIDIA"] = "nvidia";
7
- AcceleratorManufacturer["XILINX"] = "xilinx";
8
- })(AcceleratorManufacturer || (AcceleratorManufacturer = {}));
9
- export var AcceleratorName;
10
- (function (AcceleratorName) {
11
- AcceleratorName["A100"] = "a100";
12
- AcceleratorName["K80"] = "k80";
13
- AcceleratorName["M60"] = "m60";
14
- AcceleratorName["RADEON_PRO_V520"] = "radeon-pro-v520";
15
- AcceleratorName["T4"] = "t4";
16
- AcceleratorName["V100"] = "v100";
17
- AcceleratorName["VU9P"] = "vu9p";
18
- })(AcceleratorName || (AcceleratorName = {}));
19
- export var AcceleratorType;
20
- (function (AcceleratorType) {
21
- AcceleratorType["FPGA"] = "fpga";
22
- AcceleratorType["GPU"] = "gpu";
23
- AcceleratorType["INFERENCE"] = "inference";
24
- })(AcceleratorType || (AcceleratorType = {}));
2
+ export const AcceleratorManufacturer = {
3
+ AMAZON_WEB_SERVICES: "amazon-web-services",
4
+ AMD: "amd",
5
+ NVIDIA: "nvidia",
6
+ XILINX: "xilinx",
7
+ };
8
+ export const AcceleratorName = {
9
+ A100: "a100",
10
+ K80: "k80",
11
+ M60: "m60",
12
+ RADEON_PRO_V520: "radeon-pro-v520",
13
+ T4: "t4",
14
+ V100: "v100",
15
+ VU9P: "vu9p",
16
+ };
17
+ export const AcceleratorType = {
18
+ FPGA: "fpga",
19
+ GPU: "gpu",
20
+ INFERENCE: "inference",
21
+ };
25
22
  export class ActiveInstanceRefreshNotFoundFault extends __BaseException {
26
23
  constructor(opts) {
27
24
  super({
@@ -34,21 +31,21 @@ export class ActiveInstanceRefreshNotFoundFault extends __BaseException {
34
31
  Object.setPrototypeOf(this, ActiveInstanceRefreshNotFoundFault.prototype);
35
32
  }
36
33
  }
37
- export var ScalingActivityStatusCode;
38
- (function (ScalingActivityStatusCode) {
39
- ScalingActivityStatusCode["Cancelled"] = "Cancelled";
40
- ScalingActivityStatusCode["Failed"] = "Failed";
41
- ScalingActivityStatusCode["InProgress"] = "InProgress";
42
- ScalingActivityStatusCode["MidLifecycleAction"] = "MidLifecycleAction";
43
- ScalingActivityStatusCode["PendingSpotBidPlacement"] = "PendingSpotBidPlacement";
44
- ScalingActivityStatusCode["PreInService"] = "PreInService";
45
- ScalingActivityStatusCode["Successful"] = "Successful";
46
- ScalingActivityStatusCode["WaitingForELBConnectionDraining"] = "WaitingForELBConnectionDraining";
47
- ScalingActivityStatusCode["WaitingForInstanceId"] = "WaitingForInstanceId";
48
- ScalingActivityStatusCode["WaitingForInstanceWarmup"] = "WaitingForInstanceWarmup";
49
- ScalingActivityStatusCode["WaitingForSpotInstanceId"] = "WaitingForSpotInstanceId";
50
- ScalingActivityStatusCode["WaitingForSpotInstanceRequestId"] = "WaitingForSpotInstanceRequestId";
51
- })(ScalingActivityStatusCode || (ScalingActivityStatusCode = {}));
34
+ export const ScalingActivityStatusCode = {
35
+ Cancelled: "Cancelled",
36
+ Failed: "Failed",
37
+ InProgress: "InProgress",
38
+ MidLifecycleAction: "MidLifecycleAction",
39
+ PendingSpotBidPlacement: "PendingSpotBidPlacement",
40
+ PreInService: "PreInService",
41
+ Successful: "Successful",
42
+ WaitingForConnectionDraining: "WaitingForConnectionDraining",
43
+ WaitingForELBConnectionDraining: "WaitingForELBConnectionDraining",
44
+ WaitingForInstanceId: "WaitingForInstanceId",
45
+ WaitingForInstanceWarmup: "WaitingForInstanceWarmup",
46
+ WaitingForSpotInstanceId: "WaitingForSpotInstanceId",
47
+ WaitingForSpotInstanceRequestId: "WaitingForSpotInstanceRequestId",
48
+ };
52
49
  export class AlreadyExistsFault extends __BaseException {
53
50
  constructor(opts) {
54
51
  super({
@@ -97,50 +94,42 @@ export class LimitExceededFault extends __BaseException {
97
94
  Object.setPrototypeOf(this, LimitExceededFault.prototype);
98
95
  }
99
96
  }
100
- export var BareMetal;
101
- (function (BareMetal) {
102
- BareMetal["EXCLUDED"] = "excluded";
103
- BareMetal["INCLUDED"] = "included";
104
- BareMetal["REQUIRED"] = "required";
105
- })(BareMetal || (BareMetal = {}));
106
- export var BurstablePerformance;
107
- (function (BurstablePerformance) {
108
- BurstablePerformance["EXCLUDED"] = "excluded";
109
- BurstablePerformance["INCLUDED"] = "included";
110
- BurstablePerformance["REQUIRED"] = "required";
111
- })(BurstablePerformance || (BurstablePerformance = {}));
112
- export var CpuManufacturer;
113
- (function (CpuManufacturer) {
114
- CpuManufacturer["AMAZON_WEB_SERVICES"] = "amazon-web-services";
115
- CpuManufacturer["AMD"] = "amd";
116
- CpuManufacturer["INTEL"] = "intel";
117
- })(CpuManufacturer || (CpuManufacturer = {}));
118
- export var InstanceGeneration;
119
- (function (InstanceGeneration) {
120
- InstanceGeneration["CURRENT"] = "current";
121
- InstanceGeneration["PREVIOUS"] = "previous";
122
- })(InstanceGeneration || (InstanceGeneration = {}));
123
- export var LocalStorage;
124
- (function (LocalStorage) {
125
- LocalStorage["EXCLUDED"] = "excluded";
126
- LocalStorage["INCLUDED"] = "included";
127
- LocalStorage["REQUIRED"] = "required";
128
- })(LocalStorage || (LocalStorage = {}));
129
- export var LocalStorageType;
130
- (function (LocalStorageType) {
131
- LocalStorageType["HDD"] = "hdd";
132
- LocalStorageType["SSD"] = "ssd";
133
- })(LocalStorageType || (LocalStorageType = {}));
134
- export var InstanceMetadataEndpointState;
135
- (function (InstanceMetadataEndpointState) {
136
- InstanceMetadataEndpointState["Disabled"] = "disabled";
137
- InstanceMetadataEndpointState["Enabled"] = "enabled";
138
- })(InstanceMetadataEndpointState || (InstanceMetadataEndpointState = {}));
139
- export var InstanceMetadataHttpTokensState;
140
- (function (InstanceMetadataHttpTokensState) {
141
- InstanceMetadataHttpTokensState["Optional"] = "optional";
142
- InstanceMetadataHttpTokensState["Required"] = "required";
143
- })(InstanceMetadataHttpTokensState || (InstanceMetadataHttpTokensState = {}));
97
+ export const BareMetal = {
98
+ EXCLUDED: "excluded",
99
+ INCLUDED: "included",
100
+ REQUIRED: "required",
101
+ };
102
+ export const BurstablePerformance = {
103
+ EXCLUDED: "excluded",
104
+ INCLUDED: "included",
105
+ REQUIRED: "required",
106
+ };
107
+ export const CpuManufacturer = {
108
+ AMAZON_WEB_SERVICES: "amazon-web-services",
109
+ AMD: "amd",
110
+ INTEL: "intel",
111
+ };
112
+ export const InstanceGeneration = {
113
+ CURRENT: "current",
114
+ PREVIOUS: "previous",
115
+ };
116
+ export const LocalStorage = {
117
+ EXCLUDED: "excluded",
118
+ INCLUDED: "included",
119
+ REQUIRED: "required",
120
+ };
121
+ export const LocalStorageType = {
122
+ HDD: "hdd",
123
+ SSD: "ssd",
124
+ };
125
+ export const InstanceMetadataEndpointState = {
126
+ Disabled: "disabled",
127
+ Enabled: "enabled",
128
+ };
129
+ export const InstanceMetadataHttpTokensState = {
130
+ Optional: "optional",
131
+ Required: "required",
132
+ };
144
133
  export class ResourceInUseFault extends __BaseException {
145
134
  constructor(opts) {
146
135
  super({
@@ -165,42 +154,39 @@ export class ScalingActivityInProgressFault extends __BaseException {
165
154
  Object.setPrototypeOf(this, ScalingActivityInProgressFault.prototype);
166
155
  }
167
156
  }
168
- export var LifecycleState;
169
- (function (LifecycleState) {
170
- LifecycleState["DETACHED"] = "Detached";
171
- LifecycleState["DETACHING"] = "Detaching";
172
- LifecycleState["ENTERING_STANDBY"] = "EnteringStandby";
173
- LifecycleState["IN_SERVICE"] = "InService";
174
- LifecycleState["PENDING"] = "Pending";
175
- LifecycleState["PENDING_PROCEED"] = "Pending:Proceed";
176
- LifecycleState["PENDING_WAIT"] = "Pending:Wait";
177
- LifecycleState["QUARANTINED"] = "Quarantined";
178
- LifecycleState["STANDBY"] = "Standby";
179
- LifecycleState["TERMINATED"] = "Terminated";
180
- LifecycleState["TERMINATING"] = "Terminating";
181
- LifecycleState["TERMINATING_PROCEED"] = "Terminating:Proceed";
182
- LifecycleState["TERMINATING_WAIT"] = "Terminating:Wait";
183
- LifecycleState["WARMED_HIBERNATED"] = "Warmed:Hibernated";
184
- LifecycleState["WARMED_PENDING"] = "Warmed:Pending";
185
- LifecycleState["WARMED_PENDING_PROCEED"] = "Warmed:Pending:Proceed";
186
- LifecycleState["WARMED_PENDING_WAIT"] = "Warmed:Pending:Wait";
187
- LifecycleState["WARMED_RUNNING"] = "Warmed:Running";
188
- LifecycleState["WARMED_STOPPED"] = "Warmed:Stopped";
189
- LifecycleState["WARMED_TERMINATED"] = "Warmed:Terminated";
190
- LifecycleState["WARMED_TERMINATING"] = "Warmed:Terminating";
191
- LifecycleState["WARMED_TERMINATING_PROCEED"] = "Warmed:Terminating:Proceed";
192
- LifecycleState["WARMED_TERMINATING_WAIT"] = "Warmed:Terminating:Wait";
193
- })(LifecycleState || (LifecycleState = {}));
194
- export var WarmPoolState;
195
- (function (WarmPoolState) {
196
- WarmPoolState["Hibernated"] = "Hibernated";
197
- WarmPoolState["Running"] = "Running";
198
- WarmPoolState["Stopped"] = "Stopped";
199
- })(WarmPoolState || (WarmPoolState = {}));
200
- export var WarmPoolStatus;
201
- (function (WarmPoolStatus) {
202
- WarmPoolStatus["PendingDelete"] = "PendingDelete";
203
- })(WarmPoolStatus || (WarmPoolStatus = {}));
157
+ export const LifecycleState = {
158
+ DETACHED: "Detached",
159
+ DETACHING: "Detaching",
160
+ ENTERING_STANDBY: "EnteringStandby",
161
+ IN_SERVICE: "InService",
162
+ PENDING: "Pending",
163
+ PENDING_PROCEED: "Pending:Proceed",
164
+ PENDING_WAIT: "Pending:Wait",
165
+ QUARANTINED: "Quarantined",
166
+ STANDBY: "Standby",
167
+ TERMINATED: "Terminated",
168
+ TERMINATING: "Terminating",
169
+ TERMINATING_PROCEED: "Terminating:Proceed",
170
+ TERMINATING_WAIT: "Terminating:Wait",
171
+ WARMED_HIBERNATED: "Warmed:Hibernated",
172
+ WARMED_PENDING: "Warmed:Pending",
173
+ WARMED_PENDING_PROCEED: "Warmed:Pending:Proceed",
174
+ WARMED_PENDING_WAIT: "Warmed:Pending:Wait",
175
+ WARMED_RUNNING: "Warmed:Running",
176
+ WARMED_STOPPED: "Warmed:Stopped",
177
+ WARMED_TERMINATED: "Warmed:Terminated",
178
+ WARMED_TERMINATING: "Warmed:Terminating",
179
+ WARMED_TERMINATING_PROCEED: "Warmed:Terminating:Proceed",
180
+ WARMED_TERMINATING_WAIT: "Warmed:Terminating:Wait",
181
+ };
182
+ export const WarmPoolState = {
183
+ Hibernated: "Hibernated",
184
+ Running: "Running",
185
+ Stopped: "Stopped",
186
+ };
187
+ export const WarmPoolStatus = {
188
+ PendingDelete: "PendingDelete",
189
+ };
204
190
  export class InvalidNextToken extends __BaseException {
205
191
  constructor(opts) {
206
192
  super({
@@ -213,76 +199,66 @@ export class InvalidNextToken extends __BaseException {
213
199
  Object.setPrototypeOf(this, InvalidNextToken.prototype);
214
200
  }
215
201
  }
216
- export var ScaleInProtectedInstances;
217
- (function (ScaleInProtectedInstances) {
218
- ScaleInProtectedInstances["Ignore"] = "Ignore";
219
- ScaleInProtectedInstances["Refresh"] = "Refresh";
220
- ScaleInProtectedInstances["Wait"] = "Wait";
221
- })(ScaleInProtectedInstances || (ScaleInProtectedInstances = {}));
222
- export var StandbyInstances;
223
- (function (StandbyInstances) {
224
- StandbyInstances["Ignore"] = "Ignore";
225
- StandbyInstances["Terminate"] = "Terminate";
226
- StandbyInstances["Wait"] = "Wait";
227
- })(StandbyInstances || (StandbyInstances = {}));
228
- export var InstanceRefreshStatus;
229
- (function (InstanceRefreshStatus) {
230
- InstanceRefreshStatus["Cancelled"] = "Cancelled";
231
- InstanceRefreshStatus["Cancelling"] = "Cancelling";
232
- InstanceRefreshStatus["Failed"] = "Failed";
233
- InstanceRefreshStatus["InProgress"] = "InProgress";
234
- InstanceRefreshStatus["Pending"] = "Pending";
235
- InstanceRefreshStatus["RollbackFailed"] = "RollbackFailed";
236
- InstanceRefreshStatus["RollbackInProgress"] = "RollbackInProgress";
237
- InstanceRefreshStatus["RollbackSuccessful"] = "RollbackSuccessful";
238
- InstanceRefreshStatus["Successful"] = "Successful";
239
- })(InstanceRefreshStatus || (InstanceRefreshStatus = {}));
240
- export var PredictiveScalingMaxCapacityBreachBehavior;
241
- (function (PredictiveScalingMaxCapacityBreachBehavior) {
242
- PredictiveScalingMaxCapacityBreachBehavior["HonorMaxCapacity"] = "HonorMaxCapacity";
243
- PredictiveScalingMaxCapacityBreachBehavior["IncreaseMaxCapacity"] = "IncreaseMaxCapacity";
244
- })(PredictiveScalingMaxCapacityBreachBehavior || (PredictiveScalingMaxCapacityBreachBehavior = {}));
245
- export var PredefinedLoadMetricType;
246
- (function (PredefinedLoadMetricType) {
247
- PredefinedLoadMetricType["ALBTargetGroupRequestCount"] = "ALBTargetGroupRequestCount";
248
- PredefinedLoadMetricType["ASGTotalCPUUtilization"] = "ASGTotalCPUUtilization";
249
- PredefinedLoadMetricType["ASGTotalNetworkIn"] = "ASGTotalNetworkIn";
250
- PredefinedLoadMetricType["ASGTotalNetworkOut"] = "ASGTotalNetworkOut";
251
- })(PredefinedLoadMetricType || (PredefinedLoadMetricType = {}));
252
- export var PredefinedMetricPairType;
253
- (function (PredefinedMetricPairType) {
254
- PredefinedMetricPairType["ALBRequestCount"] = "ALBRequestCount";
255
- PredefinedMetricPairType["ASGCPUUtilization"] = "ASGCPUUtilization";
256
- PredefinedMetricPairType["ASGNetworkIn"] = "ASGNetworkIn";
257
- PredefinedMetricPairType["ASGNetworkOut"] = "ASGNetworkOut";
258
- })(PredefinedMetricPairType || (PredefinedMetricPairType = {}));
259
- export var PredefinedScalingMetricType;
260
- (function (PredefinedScalingMetricType) {
261
- PredefinedScalingMetricType["ALBRequestCountPerTarget"] = "ALBRequestCountPerTarget";
262
- PredefinedScalingMetricType["ASGAverageCPUUtilization"] = "ASGAverageCPUUtilization";
263
- PredefinedScalingMetricType["ASGAverageNetworkIn"] = "ASGAverageNetworkIn";
264
- PredefinedScalingMetricType["ASGAverageNetworkOut"] = "ASGAverageNetworkOut";
265
- })(PredefinedScalingMetricType || (PredefinedScalingMetricType = {}));
266
- export var PredictiveScalingMode;
267
- (function (PredictiveScalingMode) {
268
- PredictiveScalingMode["ForecastAndScale"] = "ForecastAndScale";
269
- PredictiveScalingMode["ForecastOnly"] = "ForecastOnly";
270
- })(PredictiveScalingMode || (PredictiveScalingMode = {}));
271
- export var MetricStatistic;
272
- (function (MetricStatistic) {
273
- MetricStatistic["Average"] = "Average";
274
- MetricStatistic["Maximum"] = "Maximum";
275
- MetricStatistic["Minimum"] = "Minimum";
276
- MetricStatistic["SampleCount"] = "SampleCount";
277
- MetricStatistic["Sum"] = "Sum";
278
- })(MetricStatistic || (MetricStatistic = {}));
279
- export var MetricType;
280
- (function (MetricType) {
281
- MetricType["ALBRequestCountPerTarget"] = "ALBRequestCountPerTarget";
282
- MetricType["ASGAverageCPUUtilization"] = "ASGAverageCPUUtilization";
283
- MetricType["ASGAverageNetworkIn"] = "ASGAverageNetworkIn";
284
- MetricType["ASGAverageNetworkOut"] = "ASGAverageNetworkOut";
285
- })(MetricType || (MetricType = {}));
202
+ export const ScaleInProtectedInstances = {
203
+ Ignore: "Ignore",
204
+ Refresh: "Refresh",
205
+ Wait: "Wait",
206
+ };
207
+ export const StandbyInstances = {
208
+ Ignore: "Ignore",
209
+ Terminate: "Terminate",
210
+ Wait: "Wait",
211
+ };
212
+ export const InstanceRefreshStatus = {
213
+ Cancelled: "Cancelled",
214
+ Cancelling: "Cancelling",
215
+ Failed: "Failed",
216
+ InProgress: "InProgress",
217
+ Pending: "Pending",
218
+ RollbackFailed: "RollbackFailed",
219
+ RollbackInProgress: "RollbackInProgress",
220
+ RollbackSuccessful: "RollbackSuccessful",
221
+ Successful: "Successful",
222
+ };
223
+ export const PredictiveScalingMaxCapacityBreachBehavior = {
224
+ HonorMaxCapacity: "HonorMaxCapacity",
225
+ IncreaseMaxCapacity: "IncreaseMaxCapacity",
226
+ };
227
+ export const PredefinedLoadMetricType = {
228
+ ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount",
229
+ ASGTotalCPUUtilization: "ASGTotalCPUUtilization",
230
+ ASGTotalNetworkIn: "ASGTotalNetworkIn",
231
+ ASGTotalNetworkOut: "ASGTotalNetworkOut",
232
+ };
233
+ export const PredefinedMetricPairType = {
234
+ ALBRequestCount: "ALBRequestCount",
235
+ ASGCPUUtilization: "ASGCPUUtilization",
236
+ ASGNetworkIn: "ASGNetworkIn",
237
+ ASGNetworkOut: "ASGNetworkOut",
238
+ };
239
+ export const PredefinedScalingMetricType = {
240
+ ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
241
+ ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
242
+ ASGAverageNetworkIn: "ASGAverageNetworkIn",
243
+ ASGAverageNetworkOut: "ASGAverageNetworkOut",
244
+ };
245
+ export const PredictiveScalingMode = {
246
+ ForecastAndScale: "ForecastAndScale",
247
+ ForecastOnly: "ForecastOnly",
248
+ };
249
+ export const MetricStatistic = {
250
+ Average: "Average",
251
+ Maximum: "Maximum",
252
+ Minimum: "Minimum",
253
+ SampleCount: "SampleCount",
254
+ Sum: "Sum",
255
+ };
256
+ export const MetricType = {
257
+ ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
258
+ ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
259
+ ASGAverageNetworkIn: "ASGAverageNetworkIn",
260
+ ASGAverageNetworkOut: "ASGAverageNetworkOut",
261
+ };
286
262
  export class IrreversibleInstanceRefreshFault extends __BaseException {
287
263
  constructor(opts) {
288
264
  super({
@@ -307,7 +283,6 @@ export class InstanceRefreshInProgressFault extends __BaseException {
307
283
  Object.setPrototypeOf(this, InstanceRefreshInProgressFault.prototype);
308
284
  }
309
285
  }
310
- export var RefreshStrategy;
311
- (function (RefreshStrategy) {
312
- RefreshStrategy["Rolling"] = "Rolling";
313
- })(RefreshStrategy || (RefreshStrategy = {}));
286
+ export const RefreshStrategy = {
287
+ Rolling: "Rolling",
288
+ };
@@ -0,0 +1,25 @@
1
+ import { AutoScalingClient } from "../AutoScalingClient";
2
+ import { DescribeTrafficSourcesCommand, } from "../commands/DescribeTrafficSourcesCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeTrafficSourcesCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeTrafficSources(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.NextToken = token;
12
+ input["MaxRecords"] = config.pageSize;
13
+ if (config.client instanceof AutoScalingClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected AutoScaling | AutoScalingClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -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";
@@ -5729,6 +5729,9 @@ const serializeAws_queryTrafficSourceIdentifier = (input, context) => {
5729
5729
  if (input.Identifier != null) {
5730
5730
  entries["Identifier"] = input.Identifier;
5731
5731
  }
5732
+ if (input.Type != null) {
5733
+ entries["Type"] = input.Type;
5734
+ }
5732
5735
  return entries;
5733
5736
  };
5734
5737
  const serializeAws_queryTrafficSources = (input, context) => {
@@ -8001,6 +8004,9 @@ const deserializeAws_queryTrafficSourceIdentifier = (output, context) => {
8001
8004
  if (output["Identifier"] !== undefined) {
8002
8005
  contents.Identifier = __expectString(output["Identifier"]);
8003
8006
  }
8007
+ if (output["Type"] !== undefined) {
8008
+ contents.Type = __expectString(output["Type"]);
8009
+ }
8004
8010
  return contents;
8005
8011
  };
8006
8012
  const deserializeAws_queryTrafficSources = (output, context) => {
@@ -8018,6 +8024,12 @@ const deserializeAws_queryTrafficSourceState = (output, context) => {
8018
8024
  if (output["State"] !== undefined) {
8019
8025
  contents.State = __expectString(output["State"]);
8020
8026
  }
8027
+ if (output["Identifier"] !== undefined) {
8028
+ contents.Identifier = __expectString(output["Identifier"]);
8029
+ }
8030
+ if (output["Type"] !== undefined) {
8031
+ contents.Type = __expectString(output["Type"]);
8032
+ }
8021
8033
  return contents;
8022
8034
  };
8023
8035
  const deserializeAws_queryTrafficSourceStates = (output, context) => {