@aws-sdk/client-auto-scaling 3.427.0 → 3.429.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.
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateDescribeInstanceRefreshes = void 0;
4
+ const AutoScalingClient_1 = require("../AutoScalingClient");
5
+ const DescribeInstanceRefreshesCommand_1 = require("../commands/DescribeInstanceRefreshesCommand");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new DescribeInstanceRefreshesCommand_1.DescribeInstanceRefreshesCommand(input), ...args);
8
+ };
9
+ async function* paginateDescribeInstanceRefreshes(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.NextToken = token;
15
+ input["MaxRecords"] = config.pageSize;
16
+ if (config.client instanceof AutoScalingClient_1.AutoScalingClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected AutoScaling | AutoScalingClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.NextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateDescribeInstanceRefreshes = paginateDescribeInstanceRefreshes;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateDescribeLoadBalancerTargetGroups = void 0;
4
+ const AutoScalingClient_1 = require("../AutoScalingClient");
5
+ const DescribeLoadBalancerTargetGroupsCommand_1 = require("../commands/DescribeLoadBalancerTargetGroupsCommand");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new DescribeLoadBalancerTargetGroupsCommand_1.DescribeLoadBalancerTargetGroupsCommand(input), ...args);
8
+ };
9
+ async function* paginateDescribeLoadBalancerTargetGroups(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.NextToken = token;
15
+ input["MaxRecords"] = config.pageSize;
16
+ if (config.client instanceof AutoScalingClient_1.AutoScalingClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected AutoScaling | AutoScalingClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.NextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateDescribeLoadBalancerTargetGroups = paginateDescribeLoadBalancerTargetGroups;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateDescribeLoadBalancers = void 0;
4
+ const AutoScalingClient_1 = require("../AutoScalingClient");
5
+ const DescribeLoadBalancersCommand_1 = require("../commands/DescribeLoadBalancersCommand");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new DescribeLoadBalancersCommand_1.DescribeLoadBalancersCommand(input), ...args);
8
+ };
9
+ async function* paginateDescribeLoadBalancers(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.NextToken = token;
15
+ input["MaxRecords"] = config.pageSize;
16
+ if (config.client instanceof AutoScalingClient_1.AutoScalingClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected AutoScaling | AutoScalingClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.NextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateDescribeLoadBalancers = paginateDescribeLoadBalancers;
@@ -3,12 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./DescribeAutoScalingGroupsPaginator"), exports);
5
5
  tslib_1.__exportStar(require("./DescribeAutoScalingInstancesPaginator"), exports);
6
+ tslib_1.__exportStar(require("./DescribeInstanceRefreshesPaginator"), exports);
6
7
  tslib_1.__exportStar(require("./DescribeLaunchConfigurationsPaginator"), exports);
8
+ tslib_1.__exportStar(require("./DescribeLoadBalancerTargetGroupsPaginator"), exports);
9
+ tslib_1.__exportStar(require("./DescribeLoadBalancersPaginator"), exports);
7
10
  tslib_1.__exportStar(require("./DescribeNotificationConfigurationsPaginator"), exports);
8
11
  tslib_1.__exportStar(require("./DescribePoliciesPaginator"), exports);
9
12
  tslib_1.__exportStar(require("./DescribeScalingActivitiesPaginator"), exports);
10
13
  tslib_1.__exportStar(require("./DescribeScheduledActionsPaginator"), exports);
14
+ tslib_1.__exportStar(require("./Interfaces"), exports);
11
15
  tslib_1.__exportStar(require("./DescribeTagsPaginator"), exports);
12
16
  tslib_1.__exportStar(require("./DescribeTrafficSourcesPaginator"), exports);
13
17
  tslib_1.__exportStar(require("./DescribeWarmPoolPaginator"), exports);
14
- tslib_1.__exportStar(require("./Interfaces"), exports);
@@ -0,0 +1,25 @@
1
+ import { AutoScalingClient } from "../AutoScalingClient";
2
+ import { DescribeInstanceRefreshesCommand, } from "../commands/DescribeInstanceRefreshesCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeInstanceRefreshesCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeInstanceRefreshes(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
+ }
@@ -0,0 +1,25 @@
1
+ import { AutoScalingClient } from "../AutoScalingClient";
2
+ import { DescribeLoadBalancerTargetGroupsCommand, } from "../commands/DescribeLoadBalancerTargetGroupsCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeLoadBalancerTargetGroupsCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeLoadBalancerTargetGroups(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
+ }
@@ -0,0 +1,25 @@
1
+ import { AutoScalingClient } from "../AutoScalingClient";
2
+ import { DescribeLoadBalancersCommand, } from "../commands/DescribeLoadBalancersCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeLoadBalancersCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeLoadBalancers(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
+ }
@@ -1,11 +1,14 @@
1
1
  export * from "./DescribeAutoScalingGroupsPaginator";
2
2
  export * from "./DescribeAutoScalingInstancesPaginator";
3
+ export * from "./DescribeInstanceRefreshesPaginator";
3
4
  export * from "./DescribeLaunchConfigurationsPaginator";
5
+ export * from "./DescribeLoadBalancerTargetGroupsPaginator";
6
+ export * from "./DescribeLoadBalancersPaginator";
4
7
  export * from "./DescribeNotificationConfigurationsPaginator";
5
8
  export * from "./DescribePoliciesPaginator";
6
9
  export * from "./DescribeScalingActivitiesPaginator";
7
10
  export * from "./DescribeScheduledActionsPaginator";
11
+ export * from "./Interfaces";
8
12
  export * from "./DescribeTagsPaginator";
9
13
  export * from "./DescribeTrafficSourcesPaginator";
10
14
  export * from "./DescribeWarmPoolPaginator";
11
- export * from "./Interfaces";
@@ -325,7 +325,7 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
325
325
  * const input = {
326
326
  * "AutoScalingGroupName": "my-asg",
327
327
  * "DesiredCapacity": 4,
328
- * "DesiredCapacityTypes": "units",
328
+ * "DesiredCapacityType": "units",
329
329
  * "MaxSize": 100,
330
330
  * "MinSize": 0,
331
331
  * "MixedInstancesPolicy": {
@@ -154,7 +154,7 @@ export interface Activity {
154
154
  * @public
155
155
  * <p>The current status of the activity.</p>
156
156
  */
157
- StatusCode: ScalingActivityStatusCode | string | undefined;
157
+ StatusCode: ScalingActivityStatusCode | undefined;
158
158
  /**
159
159
  * @public
160
160
  * <p>A friendly, more verbose description of the activity status.</p>
@@ -1126,7 +1126,7 @@ export interface InstanceRequirements {
1126
1126
  * </note>
1127
1127
  * <p>Default: Any manufacturer</p>
1128
1128
  */
1129
- CpuManufacturers?: (CpuManufacturer | string)[];
1129
+ CpuManufacturers?: CpuManufacturer[];
1130
1130
  /**
1131
1131
  * @public
1132
1132
  * <p>The minimum and maximum amount of memory per vCPU for an instance type, in GiB.</p>
@@ -1167,7 +1167,7 @@ export interface InstanceRequirements {
1167
1167
  * </ul>
1168
1168
  * <p>Default: Any current or previous generation</p>
1169
1169
  */
1170
- InstanceGenerations?: (InstanceGeneration | string)[];
1170
+ InstanceGenerations?: InstanceGeneration[];
1171
1171
  /**
1172
1172
  * @public
1173
1173
  * <p>The price protection threshold for Spot Instances. This is the maximum you’ll pay for
@@ -1207,7 +1207,7 @@ export interface InstanceRequirements {
1207
1207
  * <p>Default: <code>excluded</code>
1208
1208
  * </p>
1209
1209
  */
1210
- BareMetal?: BareMetal | string;
1210
+ BareMetal?: BareMetal;
1211
1211
  /**
1212
1212
  * @public
1213
1213
  * <p>Indicates whether burstable performance instance types are included, excluded, or
@@ -1216,7 +1216,7 @@ export interface InstanceRequirements {
1216
1216
  * <p>Default: <code>excluded</code>
1217
1217
  * </p>
1218
1218
  */
1219
- BurstablePerformance?: BurstablePerformance | string;
1219
+ BurstablePerformance?: BurstablePerformance;
1220
1220
  /**
1221
1221
  * @public
1222
1222
  * <p>Indicates whether instance types must provide On-Demand Instance hibernation
@@ -1239,7 +1239,7 @@ export interface InstanceRequirements {
1239
1239
  * <p>Default: <code>included</code>
1240
1240
  * </p>
1241
1241
  */
1242
- LocalStorage?: LocalStorage | string;
1242
+ LocalStorage?: LocalStorage;
1243
1243
  /**
1244
1244
  * @public
1245
1245
  * <p>Indicates the type of local storage that is required.</p>
@@ -1255,7 +1255,7 @@ export interface InstanceRequirements {
1255
1255
  * </ul>
1256
1256
  * <p>Default: Any local storage type</p>
1257
1257
  */
1258
- LocalStorageTypes?: (LocalStorageType | string)[];
1258
+ LocalStorageTypes?: LocalStorageType[];
1259
1259
  /**
1260
1260
  * @public
1261
1261
  * <p>The minimum and maximum total local storage size for an instance type, in GB.</p>
@@ -1287,7 +1287,7 @@ export interface InstanceRequirements {
1287
1287
  * </ul>
1288
1288
  * <p>Default: Any accelerator type</p>
1289
1289
  */
1290
- AcceleratorTypes?: (AcceleratorType | string)[];
1290
+ AcceleratorTypes?: AcceleratorType[];
1291
1291
  /**
1292
1292
  * @public
1293
1293
  * <p>The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia
@@ -1318,7 +1318,7 @@ export interface InstanceRequirements {
1318
1318
  * </ul>
1319
1319
  * <p>Default: Any manufacturer</p>
1320
1320
  */
1321
- AcceleratorManufacturers?: (AcceleratorManufacturer | string)[];
1321
+ AcceleratorManufacturers?: AcceleratorManufacturer[];
1322
1322
  /**
1323
1323
  * @public
1324
1324
  * <p>Lists the accelerators that must be on an instance type.</p>
@@ -1348,7 +1348,7 @@ export interface InstanceRequirements {
1348
1348
  * </ul>
1349
1349
  * <p>Default: Any accelerator</p>
1350
1350
  */
1351
- AcceleratorNames?: (AcceleratorName | string)[];
1351
+ AcceleratorNames?: AcceleratorName[];
1352
1352
  /**
1353
1353
  * @public
1354
1354
  * <p>The minimum and maximum total memory size for the accelerators on an instance type, in
@@ -2014,7 +2014,7 @@ export interface InstanceMetadataOptions {
2014
2014
  * always returns the version 2.0 credentials; the version 1.0 credentials are not
2015
2015
  * available.</p>
2016
2016
  */
2017
- HttpTokens?: InstanceMetadataHttpTokensState | string;
2017
+ HttpTokens?: InstanceMetadataHttpTokensState;
2018
2018
  /**
2019
2019
  * @public
2020
2020
  * <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
@@ -2031,7 +2031,7 @@ export interface InstanceMetadataOptions {
2031
2031
  * your instance metadata. </p>
2032
2032
  * </note>
2033
2033
  */
2034
- HttpEndpoint?: InstanceMetadataEndpointState | string;
2034
+ HttpEndpoint?: InstanceMetadataEndpointState;
2035
2035
  }
2036
2036
  /**
2037
2037
  * @public
@@ -2708,7 +2708,7 @@ export interface Instance {
2708
2708
  * not used. For information about lifecycle states, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html">Instance
2709
2709
  * lifecycle</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
2710
2710
  */
2711
- LifecycleState: LifecycleState | string | undefined;
2711
+ LifecycleState: LifecycleState | undefined;
2712
2712
  /**
2713
2713
  * @public
2714
2714
  * <p>The last reported health status of the instance. <code>Healthy</code> means that the
@@ -2848,12 +2848,12 @@ export interface WarmPoolConfiguration {
2848
2848
  * @public
2849
2849
  * <p>The instance state to transition to after the lifecycle actions are complete.</p>
2850
2850
  */
2851
- PoolState?: WarmPoolState | string;
2851
+ PoolState?: WarmPoolState;
2852
2852
  /**
2853
2853
  * @public
2854
2854
  * <p>The status of a warm pool that is marked for deletion.</p>
2855
2855
  */
2856
- Status?: WarmPoolStatus | string;
2856
+ Status?: WarmPoolStatus;
2857
2857
  /**
2858
2858
  * @public
2859
2859
  * <p>The instance reuse policy.</p>
@@ -3357,7 +3357,7 @@ export interface RefreshPreferences {
3357
3357
  * </dd>
3358
3358
  * </dl>
3359
3359
  */
3360
- ScaleInProtectedInstances?: ScaleInProtectedInstances | string;
3360
+ ScaleInProtectedInstances?: ScaleInProtectedInstances;
3361
3361
  /**
3362
3362
  * @public
3363
3363
  * <p>Choose the behavior that you want Amazon EC2 Auto Scaling to use if instances in <code>Standby</code>
@@ -3380,7 +3380,7 @@ export interface RefreshPreferences {
3380
3380
  * </dd>
3381
3381
  * </dl>
3382
3382
  */
3383
- StandbyInstances?: StandbyInstances | string;
3383
+ StandbyInstances?: StandbyInstances;
3384
3384
  /**
3385
3385
  * @public
3386
3386
  * <p>(Optional) The CloudWatch alarm specification. CloudWatch alarms can be used to identify any
@@ -3563,7 +3563,7 @@ export interface InstanceRefresh {
3563
3563
  * </li>
3564
3564
  * </ul>
3565
3565
  */
3566
- Status?: InstanceRefreshStatus | string;
3566
+ Status?: InstanceRefreshStatus;
3567
3567
  /**
3568
3568
  * @public
3569
3569
  * <p>The explanation for the specific status assigned to this operation.</p>
@@ -4601,7 +4601,7 @@ export interface PredictiveScalingPredefinedLoadMetric {
4601
4601
  * @public
4602
4602
  * <p>The metric type.</p>
4603
4603
  */
4604
- PredefinedMetricType: PredefinedLoadMetricType | string | undefined;
4604
+ PredefinedMetricType: PredefinedLoadMetricType | undefined;
4605
4605
  /**
4606
4606
  * @public
4607
4607
  * <p>A label that uniquely identifies a specific Application Load Balancer target group from which to determine
@@ -4654,7 +4654,7 @@ export interface PredictiveScalingPredefinedMetricPair {
4654
4654
  * metric type is <code>ASGCPUUtilization</code>, the Auto Scaling group's total CPU metric is used
4655
4655
  * as the load metric, and the average CPU metric is used for the scaling metric.</p>
4656
4656
  */
4657
- PredefinedMetricType: PredefinedMetricPairType | string | undefined;
4657
+ PredefinedMetricType: PredefinedMetricPairType | undefined;
4658
4658
  /**
4659
4659
  * @public
4660
4660
  * <p>A label that uniquely identifies a specific Application Load Balancer target group from which to determine
@@ -4707,7 +4707,7 @@ export interface PredictiveScalingPredefinedScalingMetric {
4707
4707
  * @public
4708
4708
  * <p>The metric type.</p>
4709
4709
  */
4710
- PredefinedMetricType: PredefinedScalingMetricType | string | undefined;
4710
+ PredefinedMetricType: PredefinedScalingMetricType | undefined;
4711
4711
  /**
4712
4712
  * @public
4713
4713
  * <p>A label that uniquely identifies a specific Application Load Balancer target group from which to determine
@@ -4857,7 +4857,7 @@ export interface PredictiveScalingConfiguration {
4857
4857
  * <p>The predictive scaling mode. Defaults to <code>ForecastOnly</code> if not
4858
4858
  * specified.</p>
4859
4859
  */
4860
- Mode?: PredictiveScalingMode | string;
4860
+ Mode?: PredictiveScalingMode;
4861
4861
  /**
4862
4862
  * @public
4863
4863
  * <p>The amount of time, in seconds, by which the instance launch time can be advanced. For
@@ -4891,7 +4891,7 @@ export interface PredictiveScalingConfiguration {
4891
4891
  * </li>
4892
4892
  * </ul>
4893
4893
  */
4894
- MaxCapacityBreachBehavior?: PredictiveScalingMaxCapacityBreachBehavior | string;
4894
+ MaxCapacityBreachBehavior?: PredictiveScalingMaxCapacityBreachBehavior;
4895
4895
  /**
4896
4896
  * @public
4897
4897
  * <p>The size of the capacity buffer to use when the forecast capacity is close to or
@@ -5121,7 +5121,7 @@ export interface CustomizedMetricSpecification {
5121
5121
  * @public
5122
5122
  * <p>The statistic of the metric.</p>
5123
5123
  */
5124
- Statistic?: MetricStatistic | string;
5124
+ Statistic?: MetricStatistic;
5125
5125
  /**
5126
5126
  * @public
5127
5127
  * <p>The unit of the metric. For a complete list of the units that CloudWatch supports, see the
@@ -5182,7 +5182,7 @@ export interface PredefinedMetricSpecification {
5182
5182
  * </li>
5183
5183
  * </ul>
5184
5184
  */
5185
- PredefinedMetricType: MetricType | string | undefined;
5185
+ PredefinedMetricType: MetricType | undefined;
5186
5186
  /**
5187
5187
  * @public
5188
5188
  * <p>A label that uniquely identifies a specific Application Load Balancer target group
@@ -6814,7 +6814,7 @@ export interface PutWarmPoolType {
6814
6814
  * <p>Sets the instance state to transition to after the lifecycle actions are complete.
6815
6815
  * Default is <code>Stopped</code>.</p>
6816
6816
  */
6817
- PoolState?: WarmPoolState | string;
6817
+ PoolState?: WarmPoolState;
6818
6818
  /**
6819
6819
  * @public
6820
6820
  * <p>Indicates whether instances in the Auto Scaling group can be returned to the warm pool on
@@ -7079,7 +7079,7 @@ export interface StartInstanceRefreshType {
7079
7079
  * <p>The strategy to use for the instance refresh. The only valid value is
7080
7080
  * <code>Rolling</code>.</p>
7081
7081
  */
7082
- Strategy?: RefreshStrategy | string;
7082
+ Strategy?: RefreshStrategy;
7083
7083
  /**
7084
7084
  * @public
7085
7085
  * <p>The desired configuration. For example, the desired configuration can specify a new
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { DescribeInstanceRefreshesCommandInput, DescribeInstanceRefreshesCommandOutput } from "../commands/DescribeInstanceRefreshesCommand";
3
+ import { AutoScalingPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateDescribeInstanceRefreshes(config: AutoScalingPaginationConfiguration, input: DescribeInstanceRefreshesCommandInput, ...additionalArguments: any): Paginator<DescribeInstanceRefreshesCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { DescribeLoadBalancerTargetGroupsCommandInput, DescribeLoadBalancerTargetGroupsCommandOutput } from "../commands/DescribeLoadBalancerTargetGroupsCommand";
3
+ import { AutoScalingPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateDescribeLoadBalancerTargetGroups(config: AutoScalingPaginationConfiguration, input: DescribeLoadBalancerTargetGroupsCommandInput, ...additionalArguments: any): Paginator<DescribeLoadBalancerTargetGroupsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { DescribeLoadBalancersCommandInput, DescribeLoadBalancersCommandOutput } from "../commands/DescribeLoadBalancersCommand";
3
+ import { AutoScalingPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateDescribeLoadBalancers(config: AutoScalingPaginationConfiguration, input: DescribeLoadBalancersCommandInput, ...additionalArguments: any): Paginator<DescribeLoadBalancersCommandOutput>;
@@ -1,11 +1,14 @@
1
1
  export * from "./DescribeAutoScalingGroupsPaginator";
2
2
  export * from "./DescribeAutoScalingInstancesPaginator";
3
+ export * from "./DescribeInstanceRefreshesPaginator";
3
4
  export * from "./DescribeLaunchConfigurationsPaginator";
5
+ export * from "./DescribeLoadBalancerTargetGroupsPaginator";
6
+ export * from "./DescribeLoadBalancersPaginator";
4
7
  export * from "./DescribeNotificationConfigurationsPaginator";
5
8
  export * from "./DescribePoliciesPaginator";
6
9
  export * from "./DescribeScalingActivitiesPaginator";
7
10
  export * from "./DescribeScheduledActionsPaginator";
11
+ export * from "./Interfaces";
8
12
  export * from "./DescribeTagsPaginator";
9
13
  export * from "./DescribeTrafficSourcesPaginator";
10
14
  export * from "./DescribeWarmPoolPaginator";
11
- export * from "./Interfaces";
@@ -68,7 +68,7 @@ export interface Activity {
68
68
  Cause: string | undefined;
69
69
  StartTime: Date | undefined;
70
70
  EndTime?: Date;
71
- StatusCode: ScalingActivityStatusCode | string | undefined;
71
+ StatusCode: ScalingActivityStatusCode | undefined;
72
72
  StatusMessage?: string;
73
73
  Progress?: number;
74
74
  Details?: string;
@@ -273,24 +273,24 @@ export interface VCpuCountRequest {
273
273
  export interface InstanceRequirements {
274
274
  VCpuCount: VCpuCountRequest | undefined;
275
275
  MemoryMiB: MemoryMiBRequest | undefined;
276
- CpuManufacturers?: (CpuManufacturer | string)[];
276
+ CpuManufacturers?: CpuManufacturer[];
277
277
  MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
278
278
  ExcludedInstanceTypes?: string[];
279
- InstanceGenerations?: (InstanceGeneration | string)[];
279
+ InstanceGenerations?: InstanceGeneration[];
280
280
  SpotMaxPricePercentageOverLowestPrice?: number;
281
281
  OnDemandMaxPricePercentageOverLowestPrice?: number;
282
- BareMetal?: BareMetal | string;
283
- BurstablePerformance?: BurstablePerformance | string;
282
+ BareMetal?: BareMetal;
283
+ BurstablePerformance?: BurstablePerformance;
284
284
  RequireHibernateSupport?: boolean;
285
285
  NetworkInterfaceCount?: NetworkInterfaceCountRequest;
286
- LocalStorage?: LocalStorage | string;
287
- LocalStorageTypes?: (LocalStorageType | string)[];
286
+ LocalStorage?: LocalStorage;
287
+ LocalStorageTypes?: LocalStorageType[];
288
288
  TotalLocalStorageGB?: TotalLocalStorageGBRequest;
289
289
  BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest;
290
- AcceleratorTypes?: (AcceleratorType | string)[];
290
+ AcceleratorTypes?: AcceleratorType[];
291
291
  AcceleratorCount?: AcceleratorCountRequest;
292
- AcceleratorManufacturers?: (AcceleratorManufacturer | string)[];
293
- AcceleratorNames?: (AcceleratorName | string)[];
292
+ AcceleratorManufacturers?: AcceleratorManufacturer[];
293
+ AcceleratorNames?: AcceleratorName[];
294
294
  AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest;
295
295
  NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest;
296
296
  AllowedInstanceTypes?: string[];
@@ -376,9 +376,9 @@ export declare const InstanceMetadataHttpTokensState: {
376
376
  export type InstanceMetadataHttpTokensState =
377
377
  (typeof InstanceMetadataHttpTokensState)[keyof typeof InstanceMetadataHttpTokensState];
378
378
  export interface InstanceMetadataOptions {
379
- HttpTokens?: InstanceMetadataHttpTokensState | string;
379
+ HttpTokens?: InstanceMetadataHttpTokensState;
380
380
  HttpPutResponseHopLimit?: number;
381
- HttpEndpoint?: InstanceMetadataEndpointState | string;
381
+ HttpEndpoint?: InstanceMetadataEndpointState;
382
382
  }
383
383
  export interface CreateLaunchConfigurationType {
384
384
  LaunchConfigurationName: string | undefined;
@@ -502,7 +502,7 @@ export interface Instance {
502
502
  InstanceId: string | undefined;
503
503
  InstanceType?: string;
504
504
  AvailabilityZone: string | undefined;
505
- LifecycleState: LifecycleState | string | undefined;
505
+ LifecycleState: LifecycleState | undefined;
506
506
  HealthStatus: string | undefined;
507
507
  LaunchConfigurationName?: string;
508
508
  LaunchTemplate?: LaunchTemplateSpecification;
@@ -537,8 +537,8 @@ export type WarmPoolStatus =
537
537
  export interface WarmPoolConfiguration {
538
538
  MaxGroupPreparedCapacity?: number;
539
539
  MinSize?: number;
540
- PoolState?: WarmPoolState | string;
541
- Status?: WarmPoolStatus | string;
540
+ PoolState?: WarmPoolState;
541
+ Status?: WarmPoolStatus;
542
542
  InstanceReusePolicy?: InstanceReusePolicy;
543
543
  }
544
544
  export interface AutoScalingGroup {
@@ -635,8 +635,8 @@ export interface RefreshPreferences {
635
635
  CheckpointDelay?: number;
636
636
  SkipMatching?: boolean;
637
637
  AutoRollback?: boolean;
638
- ScaleInProtectedInstances?: ScaleInProtectedInstances | string;
639
- StandbyInstances?: StandbyInstances | string;
638
+ ScaleInProtectedInstances?: ScaleInProtectedInstances;
639
+ StandbyInstances?: StandbyInstances;
640
640
  AlarmSpecification?: AlarmSpecification;
641
641
  }
642
642
  export interface InstanceRefreshLivePoolProgress {
@@ -674,7 +674,7 @@ export type InstanceRefreshStatus =
674
674
  export interface InstanceRefresh {
675
675
  InstanceRefreshId?: string;
676
676
  AutoScalingGroupName?: string;
677
- Status?: InstanceRefreshStatus | string;
677
+ Status?: InstanceRefreshStatus;
678
678
  StatusReason?: string;
679
679
  StartTime?: Date;
680
680
  EndTime?: Date;
@@ -849,7 +849,7 @@ export declare const PredefinedLoadMetricType: {
849
849
  export type PredefinedLoadMetricType =
850
850
  (typeof PredefinedLoadMetricType)[keyof typeof PredefinedLoadMetricType];
851
851
  export interface PredictiveScalingPredefinedLoadMetric {
852
- PredefinedMetricType: PredefinedLoadMetricType | string | undefined;
852
+ PredefinedMetricType: PredefinedLoadMetricType | undefined;
853
853
  ResourceLabel?: string;
854
854
  }
855
855
  export declare const PredefinedMetricPairType: {
@@ -861,7 +861,7 @@ export declare const PredefinedMetricPairType: {
861
861
  export type PredefinedMetricPairType =
862
862
  (typeof PredefinedMetricPairType)[keyof typeof PredefinedMetricPairType];
863
863
  export interface PredictiveScalingPredefinedMetricPair {
864
- PredefinedMetricType: PredefinedMetricPairType | string | undefined;
864
+ PredefinedMetricType: PredefinedMetricPairType | undefined;
865
865
  ResourceLabel?: string;
866
866
  }
867
867
  export declare const PredefinedScalingMetricType: {
@@ -873,7 +873,7 @@ export declare const PredefinedScalingMetricType: {
873
873
  export type PredefinedScalingMetricType =
874
874
  (typeof PredefinedScalingMetricType)[keyof typeof PredefinedScalingMetricType];
875
875
  export interface PredictiveScalingPredefinedScalingMetric {
876
- PredefinedMetricType: PredefinedScalingMetricType | string | undefined;
876
+ PredefinedMetricType: PredefinedScalingMetricType | undefined;
877
877
  ResourceLabel?: string;
878
878
  }
879
879
  export interface PredictiveScalingMetricSpecification {
@@ -893,11 +893,9 @@ export type PredictiveScalingMode =
893
893
  (typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
894
894
  export interface PredictiveScalingConfiguration {
895
895
  MetricSpecifications: PredictiveScalingMetricSpecification[] | undefined;
896
- Mode?: PredictiveScalingMode | string;
896
+ Mode?: PredictiveScalingMode;
897
897
  SchedulingBufferTime?: number;
898
- MaxCapacityBreachBehavior?:
899
- | PredictiveScalingMaxCapacityBreachBehavior
900
- | string;
898
+ MaxCapacityBreachBehavior?: PredictiveScalingMaxCapacityBreachBehavior;
901
899
  MaxCapacityBuffer?: number;
902
900
  }
903
901
  export interface StepAdjustment {
@@ -930,7 +928,7 @@ export interface CustomizedMetricSpecification {
930
928
  MetricName?: string;
931
929
  Namespace?: string;
932
930
  Dimensions?: MetricDimension[];
933
- Statistic?: MetricStatistic | string;
931
+ Statistic?: MetricStatistic;
934
932
  Unit?: string;
935
933
  Metrics?: TargetTrackingMetricDataQuery[];
936
934
  }
@@ -942,7 +940,7 @@ export declare const MetricType: {
942
940
  };
943
941
  export type MetricType = (typeof MetricType)[keyof typeof MetricType];
944
942
  export interface PredefinedMetricSpecification {
945
- PredefinedMetricType: MetricType | string | undefined;
943
+ PredefinedMetricType: MetricType | undefined;
946
944
  ResourceLabel?: string;
947
945
  }
948
946
  export interface TargetTrackingConfiguration {
@@ -1176,7 +1174,7 @@ export interface PutWarmPoolType {
1176
1174
  AutoScalingGroupName: string | undefined;
1177
1175
  MaxGroupPreparedCapacity?: number;
1178
1176
  MinSize?: number;
1179
- PoolState?: WarmPoolState | string;
1177
+ PoolState?: WarmPoolState;
1180
1178
  InstanceReusePolicy?: InstanceReusePolicy;
1181
1179
  }
1182
1180
  export interface RecordLifecycleActionHeartbeatAnswer {}
@@ -1239,7 +1237,7 @@ export type RefreshStrategy =
1239
1237
  (typeof RefreshStrategy)[keyof typeof RefreshStrategy];
1240
1238
  export interface StartInstanceRefreshType {
1241
1239
  AutoScalingGroupName: string | undefined;
1242
- Strategy?: RefreshStrategy | string;
1240
+ Strategy?: RefreshStrategy;
1243
1241
  DesiredConfiguration?: DesiredConfiguration;
1244
1242
  Preferences?: RefreshPreferences;
1245
1243
  }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeInstanceRefreshesCommandInput,
4
+ DescribeInstanceRefreshesCommandOutput,
5
+ } from "../commands/DescribeInstanceRefreshesCommand";
6
+ import { AutoScalingPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateDescribeInstanceRefreshes(
8
+ config: AutoScalingPaginationConfiguration,
9
+ input: DescribeInstanceRefreshesCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<DescribeInstanceRefreshesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeLoadBalancerTargetGroupsCommandInput,
4
+ DescribeLoadBalancerTargetGroupsCommandOutput,
5
+ } from "../commands/DescribeLoadBalancerTargetGroupsCommand";
6
+ import { AutoScalingPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateDescribeLoadBalancerTargetGroups(
8
+ config: AutoScalingPaginationConfiguration,
9
+ input: DescribeLoadBalancerTargetGroupsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<DescribeLoadBalancerTargetGroupsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeLoadBalancersCommandInput,
4
+ DescribeLoadBalancersCommandOutput,
5
+ } from "../commands/DescribeLoadBalancersCommand";
6
+ import { AutoScalingPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateDescribeLoadBalancers(
8
+ config: AutoScalingPaginationConfiguration,
9
+ input: DescribeLoadBalancersCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<DescribeLoadBalancersCommandOutput>;
@@ -1,11 +1,14 @@
1
1
  export * from "./DescribeAutoScalingGroupsPaginator";
2
2
  export * from "./DescribeAutoScalingInstancesPaginator";
3
+ export * from "./DescribeInstanceRefreshesPaginator";
3
4
  export * from "./DescribeLaunchConfigurationsPaginator";
5
+ export * from "./DescribeLoadBalancerTargetGroupsPaginator";
6
+ export * from "./DescribeLoadBalancersPaginator";
4
7
  export * from "./DescribeNotificationConfigurationsPaginator";
5
8
  export * from "./DescribePoliciesPaginator";
6
9
  export * from "./DescribeScalingActivitiesPaginator";
7
10
  export * from "./DescribeScheduledActionsPaginator";
11
+ export * from "./Interfaces";
8
12
  export * from "./DescribeTagsPaginator";
9
13
  export * from "./DescribeTrafficSourcesPaginator";
10
14
  export * from "./DescribeWarmPoolPaginator";
11
- 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.427.0",
4
+ "version": "3.429.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,41 +21,41 @@
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.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
- "@smithy/util-waiter": "^2.0.10",
58
+ "@smithy/util-waiter": "^2.0.11",
59
59
  "fast-xml-parser": "4.2.5",
60
60
  "tslib": "^2.5.0"
61
61
  },