@aws-sdk/client-outposts 3.686.0 → 3.689.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/README.md +16 -0
- package/dist-cjs/index.js +145 -6
- package/dist-es/Outposts.js +4 -0
- package/dist-es/commands/ListAssetInstancesCommand.js +22 -0
- package/dist-es/commands/ListBlockingInstancesForCapacityTaskCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +18 -0
- package/dist-es/pagination/ListAssetInstancesPaginator.js +4 -0
- package/dist-es/pagination/ListBlockingInstancesForCapacityTaskPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +72 -1
- package/dist-types/Outposts.d.ts +14 -0
- package/dist-types/OutpostsClient.d.ts +4 -2
- package/dist-types/commands/GetCapacityTaskCommand.d.ts +14 -2
- package/dist-types/commands/GetOutpostSupportedInstanceTypesCommand.d.ts +4 -5
- package/dist-types/commands/ListAssetInstancesCommand.d.ts +107 -0
- package/dist-types/commands/ListAssetsCommand.d.ts +7 -0
- package/dist-types/commands/ListBlockingInstancesForCapacityTaskCommand.d.ts +95 -0
- package/dist-types/commands/ListCapacityTasksCommand.d.ts +2 -2
- package/dist-types/commands/StartCapacityTaskCommand.d.ts +28 -4
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +312 -8
- package/dist-types/pagination/ListAssetInstancesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBlockingInstancesForCapacityTaskPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Outposts.d.ts +40 -0
- package/dist-types/ts3.4/OutpostsClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListAssetInstancesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBlockingInstancesForCapacityTaskCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +76 -2
- package/dist-types/ts3.4/pagination/ListAssetInstancesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBlockingInstancesForCapacityTaskPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +6 -6
|
@@ -108,6 +108,22 @@ export declare const AssetType: {
|
|
|
108
108
|
* @public
|
|
109
109
|
*/
|
|
110
110
|
export type AssetType = (typeof AssetType)[keyof typeof AssetType];
|
|
111
|
+
/**
|
|
112
|
+
* <p>The capacity for each instance type.</p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export interface AssetInstanceTypeCapacity {
|
|
116
|
+
/**
|
|
117
|
+
* <p>The type of instance.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
InstanceType: string | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* <p>The number of each instance type.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
Count: number | undefined;
|
|
126
|
+
}
|
|
111
127
|
/**
|
|
112
128
|
* @public
|
|
113
129
|
* @enum
|
|
@@ -157,6 +173,17 @@ export interface ComputeAttributes {
|
|
|
157
173
|
* @public
|
|
158
174
|
*/
|
|
159
175
|
InstanceFamilies?: string[];
|
|
176
|
+
/**
|
|
177
|
+
* <p>The instance type capacities configured for this asset. This can be changed through a
|
|
178
|
+
* capacity task.</p>
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
InstanceTypeCapacities?: AssetInstanceTypeCapacity[];
|
|
182
|
+
/**
|
|
183
|
+
* <p>The maximum number of vCPUs possible for the specified asset.</p>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
MaxVcpus?: number;
|
|
160
187
|
}
|
|
161
188
|
/**
|
|
162
189
|
* <p> Information about hardware assets. </p>
|
|
@@ -189,6 +216,53 @@ export interface AssetInfo {
|
|
|
189
216
|
*/
|
|
190
217
|
AssetLocation?: AssetLocation;
|
|
191
218
|
}
|
|
219
|
+
/**
|
|
220
|
+
* @public
|
|
221
|
+
* @enum
|
|
222
|
+
*/
|
|
223
|
+
export declare const AWSServiceName: {
|
|
224
|
+
readonly AWS: "AWS";
|
|
225
|
+
readonly EC2: "EC2";
|
|
226
|
+
readonly ELASTICACHE: "ELASTICACHE";
|
|
227
|
+
readonly ELB: "ELB";
|
|
228
|
+
readonly RDS: "RDS";
|
|
229
|
+
readonly ROUTE53: "ROUTE53";
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
export type AWSServiceName = (typeof AWSServiceName)[keyof typeof AWSServiceName];
|
|
235
|
+
/**
|
|
236
|
+
* <p>An Amazon EC2 instance.</p>
|
|
237
|
+
* @public
|
|
238
|
+
*/
|
|
239
|
+
export interface AssetInstance {
|
|
240
|
+
/**
|
|
241
|
+
* <p>The ID of the instance.</p>
|
|
242
|
+
* @public
|
|
243
|
+
*/
|
|
244
|
+
InstanceId?: string;
|
|
245
|
+
/**
|
|
246
|
+
* <p>The type of instance.</p>
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
InstanceType?: string;
|
|
250
|
+
/**
|
|
251
|
+
* <p>The ID of the asset.</p>
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
AssetId?: string;
|
|
255
|
+
/**
|
|
256
|
+
* <p>The ID of the Amazon Web Services account.</p>
|
|
257
|
+
* @public
|
|
258
|
+
*/
|
|
259
|
+
AccountId?: string;
|
|
260
|
+
/**
|
|
261
|
+
* <p>The Amazon Web Services service name of the instance.</p>
|
|
262
|
+
* @public
|
|
263
|
+
*/
|
|
264
|
+
AwsServiceName?: AWSServiceName;
|
|
265
|
+
}
|
|
192
266
|
/**
|
|
193
267
|
* @public
|
|
194
268
|
* @enum
|
|
@@ -202,6 +276,28 @@ export declare const AssetState: {
|
|
|
202
276
|
* @public
|
|
203
277
|
*/
|
|
204
278
|
export type AssetState = (typeof AssetState)[keyof typeof AssetState];
|
|
279
|
+
/**
|
|
280
|
+
* <p>A running Amazon EC2 instance that can be stopped to free up capacity needed to run the
|
|
281
|
+
* capacity task.</p>
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
export interface BlockingInstance {
|
|
285
|
+
/**
|
|
286
|
+
* <p>The ID of the blocking instance.</p>
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
289
|
+
InstanceId?: string;
|
|
290
|
+
/**
|
|
291
|
+
* <p>The ID of the Amazon Web Services account.</p>
|
|
292
|
+
* @public
|
|
293
|
+
*/
|
|
294
|
+
AccountId?: string;
|
|
295
|
+
/**
|
|
296
|
+
* <p>The Amazon Web Services service name that owns the specified blocking instance.</p>
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
299
|
+
AwsServiceName?: AWSServiceName;
|
|
300
|
+
}
|
|
205
301
|
/**
|
|
206
302
|
* @public
|
|
207
303
|
*/
|
|
@@ -316,6 +412,10 @@ export interface CancelOrderOutput {
|
|
|
316
412
|
* @enum
|
|
317
413
|
*/
|
|
318
414
|
export declare const CapacityTaskFailureType: {
|
|
415
|
+
readonly BLOCKING_INSTANCES_NOT_EVACUATED: "BLOCKING_INSTANCES_NOT_EVACUATED";
|
|
416
|
+
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
417
|
+
readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
|
|
418
|
+
readonly UNEXPECTED_ASSET_STATE: "UNEXPECTED_ASSET_STATE";
|
|
319
419
|
readonly UNSUPPORTED_CAPACITY_CONFIGURATION: "UNSUPPORTED_CAPACITY_CONFIGURATION";
|
|
320
420
|
};
|
|
321
421
|
/**
|
|
@@ -343,11 +443,13 @@ export interface CapacityTaskFailure {
|
|
|
343
443
|
* @enum
|
|
344
444
|
*/
|
|
345
445
|
export declare const CapacityTaskStatus: {
|
|
446
|
+
readonly CANCELLATION_IN_PROGRESS: "CANCELLATION_IN_PROGRESS";
|
|
346
447
|
readonly CANCELLED: "CANCELLED";
|
|
347
448
|
readonly COMPLETED: "COMPLETED";
|
|
348
449
|
readonly FAILED: "FAILED";
|
|
349
450
|
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
350
451
|
readonly REQUESTED: "REQUESTED";
|
|
452
|
+
readonly WAITING_FOR_EVACUATION: "WAITING_FOR_EVACUATION";
|
|
351
453
|
};
|
|
352
454
|
/**
|
|
353
455
|
* @public
|
|
@@ -763,8 +865,8 @@ export interface Order {
|
|
|
763
865
|
* </li>
|
|
764
866
|
* <li>
|
|
765
867
|
* <p>
|
|
766
|
-
* <code>IN_PROGRESS</code> - Order is either being built or shipped. To get
|
|
767
|
-
*
|
|
868
|
+
* <code>IN_PROGRESS</code> - Order is either being built or shipped. To get more
|
|
869
|
+
* details, see the line item status.</p>
|
|
768
870
|
* </li>
|
|
769
871
|
* <li>
|
|
770
872
|
* <p>
|
|
@@ -1334,6 +1436,29 @@ export interface GetCapacityTaskInput {
|
|
|
1334
1436
|
*/
|
|
1335
1437
|
OutpostIdentifier: string | undefined;
|
|
1336
1438
|
}
|
|
1439
|
+
/**
|
|
1440
|
+
* <p>User-specified instances that must not be stopped. These instances will not appear in the
|
|
1441
|
+
* list of instances that Amazon Web Services recommends to stop in order to free up capacity.</p>
|
|
1442
|
+
* @public
|
|
1443
|
+
*/
|
|
1444
|
+
export interface InstancesToExclude {
|
|
1445
|
+
/**
|
|
1446
|
+
* <p>List of user-specified instances that must not be stopped.</p>
|
|
1447
|
+
* @public
|
|
1448
|
+
*/
|
|
1449
|
+
Instances?: string[];
|
|
1450
|
+
/**
|
|
1451
|
+
* <p>IDs of the accounts that own each instance that must not be stopped.</p>
|
|
1452
|
+
* @public
|
|
1453
|
+
*/
|
|
1454
|
+
AccountIds?: string[];
|
|
1455
|
+
/**
|
|
1456
|
+
* <p>Names of the services that own each instance that must not be stopped in order to free up
|
|
1457
|
+
* the capacity needed to run the capacity task.</p>
|
|
1458
|
+
* @public
|
|
1459
|
+
*/
|
|
1460
|
+
Services?: AWSServiceName[];
|
|
1461
|
+
}
|
|
1337
1462
|
/**
|
|
1338
1463
|
* <p>The instance type that you specify determines the combination of CPU, memory, storage, and
|
|
1339
1464
|
* networking capacity.</p>
|
|
@@ -1351,6 +1476,18 @@ export interface InstanceTypeCapacity {
|
|
|
1351
1476
|
*/
|
|
1352
1477
|
Count: number | undefined;
|
|
1353
1478
|
}
|
|
1479
|
+
/**
|
|
1480
|
+
* @public
|
|
1481
|
+
* @enum
|
|
1482
|
+
*/
|
|
1483
|
+
export declare const TaskActionOnBlockingInstances: {
|
|
1484
|
+
readonly FAIL_TASK: "FAIL_TASK";
|
|
1485
|
+
readonly WAIT_FOR_EVACUATION: "WAIT_FOR_EVACUATION";
|
|
1486
|
+
};
|
|
1487
|
+
/**
|
|
1488
|
+
* @public
|
|
1489
|
+
*/
|
|
1490
|
+
export type TaskActionOnBlockingInstances = (typeof TaskActionOnBlockingInstances)[keyof typeof TaskActionOnBlockingInstances];
|
|
1354
1491
|
/**
|
|
1355
1492
|
* @public
|
|
1356
1493
|
*/
|
|
@@ -1375,6 +1512,12 @@ export interface GetCapacityTaskOutput {
|
|
|
1375
1512
|
* @public
|
|
1376
1513
|
*/
|
|
1377
1514
|
RequestedInstancePools?: InstanceTypeCapacity[];
|
|
1515
|
+
/**
|
|
1516
|
+
* <p>Instances that the user specified they cannot stop in order to free up the capacity needed
|
|
1517
|
+
* to run the capacity task.</p>
|
|
1518
|
+
* @public
|
|
1519
|
+
*/
|
|
1520
|
+
InstancesToExclude?: InstancesToExclude;
|
|
1378
1521
|
/**
|
|
1379
1522
|
* <p>Performs a dry run to determine if you are above or below instance capacity.</p>
|
|
1380
1523
|
* @public
|
|
@@ -1424,6 +1567,23 @@ export interface GetCapacityTaskOutput {
|
|
|
1424
1567
|
* @public
|
|
1425
1568
|
*/
|
|
1426
1569
|
LastModifiedDate?: Date;
|
|
1570
|
+
/**
|
|
1571
|
+
* <p>User-specified option in case an instance is blocking the capacity task from running.
|
|
1572
|
+
* Shows one of the following options:</p>
|
|
1573
|
+
* <ul>
|
|
1574
|
+
* <li>
|
|
1575
|
+
* <p>
|
|
1576
|
+
* <code>WAIT_FOR_EVACUATION</code> - Checks every 10 minutes over 48 hours to determine
|
|
1577
|
+
* if instances have stopped and capacity is available to complete the task.</p>
|
|
1578
|
+
* </li>
|
|
1579
|
+
* <li>
|
|
1580
|
+
* <p>
|
|
1581
|
+
* <code>FAIL_TASK</code> - The capacity task fails.</p>
|
|
1582
|
+
* </li>
|
|
1583
|
+
* </ul>
|
|
1584
|
+
* @public
|
|
1585
|
+
*/
|
|
1586
|
+
TaskActionOnBlockingInstances?: TaskActionOnBlockingInstances;
|
|
1427
1587
|
}
|
|
1428
1588
|
/**
|
|
1429
1589
|
* @public
|
|
@@ -1584,7 +1744,7 @@ export interface GetOutpostSupportedInstanceTypesInput {
|
|
|
1584
1744
|
* <p>The ID for the Amazon Web Services Outposts order.</p>
|
|
1585
1745
|
* @public
|
|
1586
1746
|
*/
|
|
1587
|
-
OrderId
|
|
1747
|
+
OrderId?: string;
|
|
1588
1748
|
/**
|
|
1589
1749
|
* <p>The maximum page size.</p>
|
|
1590
1750
|
* @public
|
|
@@ -1666,6 +1826,62 @@ export interface GetSiteAddressOutput {
|
|
|
1666
1826
|
*/
|
|
1667
1827
|
Address?: Address;
|
|
1668
1828
|
}
|
|
1829
|
+
/**
|
|
1830
|
+
* @public
|
|
1831
|
+
*/
|
|
1832
|
+
export interface ListAssetInstancesInput {
|
|
1833
|
+
/**
|
|
1834
|
+
* <p>The ID of the Outpost.</p>
|
|
1835
|
+
* @public
|
|
1836
|
+
*/
|
|
1837
|
+
OutpostIdentifier: string | undefined;
|
|
1838
|
+
/**
|
|
1839
|
+
* <p>Filters the results by asset ID.</p>
|
|
1840
|
+
* @public
|
|
1841
|
+
*/
|
|
1842
|
+
AssetIdFilter?: string[];
|
|
1843
|
+
/**
|
|
1844
|
+
* <p>Filters the results by instance ID.</p>
|
|
1845
|
+
* @public
|
|
1846
|
+
*/
|
|
1847
|
+
InstanceTypeFilter?: string[];
|
|
1848
|
+
/**
|
|
1849
|
+
* <p>Filters the results by account ID.</p>
|
|
1850
|
+
* @public
|
|
1851
|
+
*/
|
|
1852
|
+
AccountIdFilter?: string[];
|
|
1853
|
+
/**
|
|
1854
|
+
* <p>Filters the results by Amazon Web Services service.</p>
|
|
1855
|
+
* @public
|
|
1856
|
+
*/
|
|
1857
|
+
AwsServiceFilter?: AWSServiceName[];
|
|
1858
|
+
/**
|
|
1859
|
+
* <p>The maximum page size.</p>
|
|
1860
|
+
* @public
|
|
1861
|
+
*/
|
|
1862
|
+
MaxResults?: number;
|
|
1863
|
+
/**
|
|
1864
|
+
* <p>The pagination token.</p>
|
|
1865
|
+
* @public
|
|
1866
|
+
*/
|
|
1867
|
+
NextToken?: string;
|
|
1868
|
+
}
|
|
1869
|
+
/**
|
|
1870
|
+
* @public
|
|
1871
|
+
*/
|
|
1872
|
+
export interface ListAssetInstancesOutput {
|
|
1873
|
+
/**
|
|
1874
|
+
* <p>List of instances owned by all accounts on the Outpost. Does not include Amazon EBS or Amazon S3
|
|
1875
|
+
* instances.</p>
|
|
1876
|
+
* @public
|
|
1877
|
+
*/
|
|
1878
|
+
AssetInstances?: AssetInstance[];
|
|
1879
|
+
/**
|
|
1880
|
+
* <p>The pagination token.</p>
|
|
1881
|
+
* @public
|
|
1882
|
+
*/
|
|
1883
|
+
NextToken?: string;
|
|
1884
|
+
}
|
|
1669
1885
|
/**
|
|
1670
1886
|
* @public
|
|
1671
1887
|
*/
|
|
@@ -1711,6 +1927,47 @@ export interface ListAssetsOutput {
|
|
|
1711
1927
|
*/
|
|
1712
1928
|
NextToken?: string;
|
|
1713
1929
|
}
|
|
1930
|
+
/**
|
|
1931
|
+
* @public
|
|
1932
|
+
*/
|
|
1933
|
+
export interface ListBlockingInstancesForCapacityTaskInput {
|
|
1934
|
+
/**
|
|
1935
|
+
* <p>The ID or ARN of the Outpost associated with the specified capacity task.</p>
|
|
1936
|
+
* @public
|
|
1937
|
+
*/
|
|
1938
|
+
OutpostIdentifier: string | undefined;
|
|
1939
|
+
/**
|
|
1940
|
+
* <p>The ID of the capacity task.</p>
|
|
1941
|
+
* @public
|
|
1942
|
+
*/
|
|
1943
|
+
CapacityTaskId: string | undefined;
|
|
1944
|
+
/**
|
|
1945
|
+
* <p>The maximum page size.</p>
|
|
1946
|
+
* @public
|
|
1947
|
+
*/
|
|
1948
|
+
MaxResults?: number;
|
|
1949
|
+
/**
|
|
1950
|
+
* <p>The pagination token.</p>
|
|
1951
|
+
* @public
|
|
1952
|
+
*/
|
|
1953
|
+
NextToken?: string;
|
|
1954
|
+
}
|
|
1955
|
+
/**
|
|
1956
|
+
* @public
|
|
1957
|
+
*/
|
|
1958
|
+
export interface ListBlockingInstancesForCapacityTaskOutput {
|
|
1959
|
+
/**
|
|
1960
|
+
* <p>A list of all running Amazon EC2 instances on the Outpost. Stopping one or more of these
|
|
1961
|
+
* instances can free up the capacity needed to run the capacity task.</p>
|
|
1962
|
+
* @public
|
|
1963
|
+
*/
|
|
1964
|
+
BlockingInstances?: BlockingInstance[];
|
|
1965
|
+
/**
|
|
1966
|
+
* <p>The pagination token.</p>
|
|
1967
|
+
* @public
|
|
1968
|
+
*/
|
|
1969
|
+
NextToken?: string;
|
|
1970
|
+
}
|
|
1714
1971
|
/**
|
|
1715
1972
|
* @public
|
|
1716
1973
|
*/
|
|
@@ -1731,8 +1988,8 @@ export interface ListCapacityTasksInput {
|
|
|
1731
1988
|
*/
|
|
1732
1989
|
NextToken?: string;
|
|
1733
1990
|
/**
|
|
1734
|
-
* <p>A list of statuses. For example,
|
|
1735
|
-
* <code>
|
|
1991
|
+
* <p>A list of statuses. For example, <code>REQUESTED</code> or
|
|
1992
|
+
* <code>WAITING_FOR_EVACUATION</code>.</p>
|
|
1736
1993
|
* @public
|
|
1737
1994
|
*/
|
|
1738
1995
|
CapacityTaskStatusFilter?: CapacityTaskStatus[];
|
|
@@ -2023,18 +2280,42 @@ export interface StartCapacityTaskInput {
|
|
|
2023
2280
|
* <p>The ID of the Amazon Web Services Outposts order associated with the specified capacity task.</p>
|
|
2024
2281
|
* @public
|
|
2025
2282
|
*/
|
|
2026
|
-
OrderId
|
|
2283
|
+
OrderId?: string;
|
|
2027
2284
|
/**
|
|
2028
2285
|
* <p>The instance pools specified in the capacity task.</p>
|
|
2029
2286
|
* @public
|
|
2030
2287
|
*/
|
|
2031
2288
|
InstancePools: InstanceTypeCapacity[] | undefined;
|
|
2032
2289
|
/**
|
|
2033
|
-
* <p>
|
|
2034
|
-
* capacity
|
|
2290
|
+
* <p>List of user-specified running instances that must not be stopped in order to free up the
|
|
2291
|
+
* capacity needed to run the capacity task.</p>
|
|
2292
|
+
* @public
|
|
2293
|
+
*/
|
|
2294
|
+
InstancesToExclude?: InstancesToExclude;
|
|
2295
|
+
/**
|
|
2296
|
+
* <p>You can request a dry run to determine if the instance type and instance size changes is
|
|
2297
|
+
* above or below available instance capacity. Requesting a dry run does not make any changes to
|
|
2298
|
+
* your plan.</p>
|
|
2035
2299
|
* @public
|
|
2036
2300
|
*/
|
|
2037
2301
|
DryRun?: boolean;
|
|
2302
|
+
/**
|
|
2303
|
+
* <p>Specify one of the following options in case an instance is blocking the capacity task
|
|
2304
|
+
* from running.</p>
|
|
2305
|
+
* <ul>
|
|
2306
|
+
* <li>
|
|
2307
|
+
* <p>
|
|
2308
|
+
* <code>WAIT_FOR_EVACUATION</code> - Checks every 10 minutes over 48 hours to determine
|
|
2309
|
+
* if instances have stopped and capacity is available to complete the task.</p>
|
|
2310
|
+
* </li>
|
|
2311
|
+
* <li>
|
|
2312
|
+
* <p>
|
|
2313
|
+
* <code>FAIL_TASK</code> - The capacity task fails.</p>
|
|
2314
|
+
* </li>
|
|
2315
|
+
* </ul>
|
|
2316
|
+
* @public
|
|
2317
|
+
*/
|
|
2318
|
+
TaskActionOnBlockingInstances?: TaskActionOnBlockingInstances;
|
|
2038
2319
|
}
|
|
2039
2320
|
/**
|
|
2040
2321
|
* @public
|
|
@@ -2060,6 +2341,12 @@ export interface StartCapacityTaskOutput {
|
|
|
2060
2341
|
* @public
|
|
2061
2342
|
*/
|
|
2062
2343
|
RequestedInstancePools?: InstanceTypeCapacity[];
|
|
2344
|
+
/**
|
|
2345
|
+
* <p>User-specified instances that must not be stopped in order to free up the capacity needed
|
|
2346
|
+
* to run the capacity task.</p>
|
|
2347
|
+
* @public
|
|
2348
|
+
*/
|
|
2349
|
+
InstancesToExclude?: InstancesToExclude;
|
|
2063
2350
|
/**
|
|
2064
2351
|
* <p>Results of the dry run showing if the specified capacity task is above or below the
|
|
2065
2352
|
* available instance capacity.</p>
|
|
@@ -2091,6 +2378,23 @@ export interface StartCapacityTaskOutput {
|
|
|
2091
2378
|
* @public
|
|
2092
2379
|
*/
|
|
2093
2380
|
LastModifiedDate?: Date;
|
|
2381
|
+
/**
|
|
2382
|
+
* <p>User-specified option in case an instance is blocking the capacity task from
|
|
2383
|
+
* running.</p>
|
|
2384
|
+
* <ul>
|
|
2385
|
+
* <li>
|
|
2386
|
+
* <p>
|
|
2387
|
+
* <code>WAIT_FOR_EVACUATION</code> - Checks every 10 minutes over 48 hours to determine
|
|
2388
|
+
* if instances have stopped and capacity is available to complete the task.</p>
|
|
2389
|
+
* </li>
|
|
2390
|
+
* <li>
|
|
2391
|
+
* <p>
|
|
2392
|
+
* <code>FAIL_TASK</code> - The capacity task fails.</p>
|
|
2393
|
+
* </li>
|
|
2394
|
+
* </ul>
|
|
2395
|
+
* @public
|
|
2396
|
+
*/
|
|
2397
|
+
TaskActionOnBlockingInstances?: TaskActionOnBlockingInstances;
|
|
2094
2398
|
}
|
|
2095
2399
|
/**
|
|
2096
2400
|
* @public
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListAssetInstancesCommandInput, ListAssetInstancesCommandOutput } from "../commands/ListAssetInstancesCommand";
|
|
3
|
+
import { OutpostsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListAssetInstances: (config: OutpostsPaginationConfiguration, input: ListAssetInstancesCommandInput, ...rest: any[]) => Paginator<ListAssetInstancesCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListBlockingInstancesForCapacityTaskCommandInput, ListBlockingInstancesForCapacityTaskCommandOutput } from "../commands/ListBlockingInstancesForCapacityTaskCommand";
|
|
3
|
+
import { OutpostsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListBlockingInstancesForCapacityTask: (config: OutpostsPaginationConfiguration, input: ListBlockingInstancesForCapacityTaskCommandInput, ...rest: any[]) => Paginator<ListBlockingInstancesForCapacityTaskCommandOutput>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export * from "./GetOutpostInstanceTypesPaginator";
|
|
2
2
|
export * from "./GetOutpostSupportedInstanceTypesPaginator";
|
|
3
3
|
export * from "./Interfaces";
|
|
4
|
+
export * from "./ListAssetInstancesPaginator";
|
|
4
5
|
export * from "./ListAssetsPaginator";
|
|
6
|
+
export * from "./ListBlockingInstancesForCapacityTaskPaginator";
|
|
5
7
|
export * from "./ListCapacityTasksPaginator";
|
|
6
8
|
export * from "./ListCatalogItemsPaginator";
|
|
7
9
|
export * from "./ListOrdersPaginator";
|
|
@@ -16,7 +16,9 @@ import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutp
|
|
|
16
16
|
import { GetOutpostSupportedInstanceTypesCommandInput, GetOutpostSupportedInstanceTypesCommandOutput } from "../commands/GetOutpostSupportedInstanceTypesCommand";
|
|
17
17
|
import { GetSiteAddressCommandInput, GetSiteAddressCommandOutput } from "../commands/GetSiteAddressCommand";
|
|
18
18
|
import { GetSiteCommandInput, GetSiteCommandOutput } from "../commands/GetSiteCommand";
|
|
19
|
+
import { ListAssetInstancesCommandInput, ListAssetInstancesCommandOutput } from "../commands/ListAssetInstancesCommand";
|
|
19
20
|
import { ListAssetsCommandInput, ListAssetsCommandOutput } from "../commands/ListAssetsCommand";
|
|
21
|
+
import { ListBlockingInstancesForCapacityTaskCommandInput, ListBlockingInstancesForCapacityTaskCommandOutput } from "../commands/ListBlockingInstancesForCapacityTaskCommand";
|
|
20
22
|
import { ListCapacityTasksCommandInput, ListCapacityTasksCommandOutput } from "../commands/ListCapacityTasksCommand";
|
|
21
23
|
import { ListCatalogItemsCommandInput, ListCatalogItemsCommandOutput } from "../commands/ListCatalogItemsCommand";
|
|
22
24
|
import { ListOrdersCommandInput, ListOrdersCommandOutput } from "../commands/ListOrdersCommand";
|
|
@@ -95,10 +97,18 @@ export declare const se_GetSiteCommand: (input: GetSiteCommandInput, context: __
|
|
|
95
97
|
* serializeAws_restJson1GetSiteAddressCommand
|
|
96
98
|
*/
|
|
97
99
|
export declare const se_GetSiteAddressCommand: (input: GetSiteAddressCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
100
|
+
/**
|
|
101
|
+
* serializeAws_restJson1ListAssetInstancesCommand
|
|
102
|
+
*/
|
|
103
|
+
export declare const se_ListAssetInstancesCommand: (input: ListAssetInstancesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
98
104
|
/**
|
|
99
105
|
* serializeAws_restJson1ListAssetsCommand
|
|
100
106
|
*/
|
|
101
107
|
export declare const se_ListAssetsCommand: (input: ListAssetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
108
|
+
/**
|
|
109
|
+
* serializeAws_restJson1ListBlockingInstancesForCapacityTaskCommand
|
|
110
|
+
*/
|
|
111
|
+
export declare const se_ListBlockingInstancesForCapacityTaskCommand: (input: ListBlockingInstancesForCapacityTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
102
112
|
/**
|
|
103
113
|
* serializeAws_restJson1ListCapacityTasksCommand
|
|
104
114
|
*/
|
|
@@ -219,10 +229,18 @@ export declare const de_GetSiteCommand: (output: __HttpResponse, context: __Serd
|
|
|
219
229
|
* deserializeAws_restJson1GetSiteAddressCommand
|
|
220
230
|
*/
|
|
221
231
|
export declare const de_GetSiteAddressCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSiteAddressCommandOutput>;
|
|
232
|
+
/**
|
|
233
|
+
* deserializeAws_restJson1ListAssetInstancesCommand
|
|
234
|
+
*/
|
|
235
|
+
export declare const de_ListAssetInstancesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssetInstancesCommandOutput>;
|
|
222
236
|
/**
|
|
223
237
|
* deserializeAws_restJson1ListAssetsCommand
|
|
224
238
|
*/
|
|
225
239
|
export declare const de_ListAssetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssetsCommandOutput>;
|
|
240
|
+
/**
|
|
241
|
+
* deserializeAws_restJson1ListBlockingInstancesForCapacityTaskCommand
|
|
242
|
+
*/
|
|
243
|
+
export declare const de_ListBlockingInstancesForCapacityTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBlockingInstancesForCapacityTaskCommandOutput>;
|
|
226
244
|
/**
|
|
227
245
|
* deserializeAws_restJson1ListCapacityTasksCommand
|
|
228
246
|
*/
|
|
@@ -63,10 +63,18 @@ import {
|
|
|
63
63
|
GetSiteCommandInput,
|
|
64
64
|
GetSiteCommandOutput,
|
|
65
65
|
} from "./commands/GetSiteCommand";
|
|
66
|
+
import {
|
|
67
|
+
ListAssetInstancesCommandInput,
|
|
68
|
+
ListAssetInstancesCommandOutput,
|
|
69
|
+
} from "./commands/ListAssetInstancesCommand";
|
|
66
70
|
import {
|
|
67
71
|
ListAssetsCommandInput,
|
|
68
72
|
ListAssetsCommandOutput,
|
|
69
73
|
} from "./commands/ListAssetsCommand";
|
|
74
|
+
import {
|
|
75
|
+
ListBlockingInstancesForCapacityTaskCommandInput,
|
|
76
|
+
ListBlockingInstancesForCapacityTaskCommandOutput,
|
|
77
|
+
} from "./commands/ListBlockingInstancesForCapacityTaskCommand";
|
|
70
78
|
import {
|
|
71
79
|
ListCapacityTasksCommandInput,
|
|
72
80
|
ListCapacityTasksCommandOutput,
|
|
@@ -333,6 +341,19 @@ export interface Outposts {
|
|
|
333
341
|
options: __HttpHandlerOptions,
|
|
334
342
|
cb: (err: any, data?: GetSiteAddressCommandOutput) => void
|
|
335
343
|
): void;
|
|
344
|
+
listAssetInstances(
|
|
345
|
+
args: ListAssetInstancesCommandInput,
|
|
346
|
+
options?: __HttpHandlerOptions
|
|
347
|
+
): Promise<ListAssetInstancesCommandOutput>;
|
|
348
|
+
listAssetInstances(
|
|
349
|
+
args: ListAssetInstancesCommandInput,
|
|
350
|
+
cb: (err: any, data?: ListAssetInstancesCommandOutput) => void
|
|
351
|
+
): void;
|
|
352
|
+
listAssetInstances(
|
|
353
|
+
args: ListAssetInstancesCommandInput,
|
|
354
|
+
options: __HttpHandlerOptions,
|
|
355
|
+
cb: (err: any, data?: ListAssetInstancesCommandOutput) => void
|
|
356
|
+
): void;
|
|
336
357
|
listAssets(
|
|
337
358
|
args: ListAssetsCommandInput,
|
|
338
359
|
options?: __HttpHandlerOptions
|
|
@@ -346,6 +367,25 @@ export interface Outposts {
|
|
|
346
367
|
options: __HttpHandlerOptions,
|
|
347
368
|
cb: (err: any, data?: ListAssetsCommandOutput) => void
|
|
348
369
|
): void;
|
|
370
|
+
listBlockingInstancesForCapacityTask(
|
|
371
|
+
args: ListBlockingInstancesForCapacityTaskCommandInput,
|
|
372
|
+
options?: __HttpHandlerOptions
|
|
373
|
+
): Promise<ListBlockingInstancesForCapacityTaskCommandOutput>;
|
|
374
|
+
listBlockingInstancesForCapacityTask(
|
|
375
|
+
args: ListBlockingInstancesForCapacityTaskCommandInput,
|
|
376
|
+
cb: (
|
|
377
|
+
err: any,
|
|
378
|
+
data?: ListBlockingInstancesForCapacityTaskCommandOutput
|
|
379
|
+
) => void
|
|
380
|
+
): void;
|
|
381
|
+
listBlockingInstancesForCapacityTask(
|
|
382
|
+
args: ListBlockingInstancesForCapacityTaskCommandInput,
|
|
383
|
+
options: __HttpHandlerOptions,
|
|
384
|
+
cb: (
|
|
385
|
+
err: any,
|
|
386
|
+
data?: ListBlockingInstancesForCapacityTaskCommandOutput
|
|
387
|
+
) => void
|
|
388
|
+
): void;
|
|
349
389
|
listCapacityTasks(): Promise<ListCapacityTasksCommandOutput>;
|
|
350
390
|
listCapacityTasks(
|
|
351
391
|
args: ListCapacityTasksCommandInput,
|
|
@@ -109,10 +109,18 @@ import {
|
|
|
109
109
|
GetSiteCommandInput,
|
|
110
110
|
GetSiteCommandOutput,
|
|
111
111
|
} from "./commands/GetSiteCommand";
|
|
112
|
+
import {
|
|
113
|
+
ListAssetInstancesCommandInput,
|
|
114
|
+
ListAssetInstancesCommandOutput,
|
|
115
|
+
} from "./commands/ListAssetInstancesCommand";
|
|
112
116
|
import {
|
|
113
117
|
ListAssetsCommandInput,
|
|
114
118
|
ListAssetsCommandOutput,
|
|
115
119
|
} from "./commands/ListAssetsCommand";
|
|
120
|
+
import {
|
|
121
|
+
ListBlockingInstancesForCapacityTaskCommandInput,
|
|
122
|
+
ListBlockingInstancesForCapacityTaskCommandOutput,
|
|
123
|
+
} from "./commands/ListBlockingInstancesForCapacityTaskCommand";
|
|
116
124
|
import {
|
|
117
125
|
ListCapacityTasksCommandInput,
|
|
118
126
|
ListCapacityTasksCommandOutput,
|
|
@@ -193,7 +201,9 @@ export type ServiceInputTypes =
|
|
|
193
201
|
| GetOutpostSupportedInstanceTypesCommandInput
|
|
194
202
|
| GetSiteAddressCommandInput
|
|
195
203
|
| GetSiteCommandInput
|
|
204
|
+
| ListAssetInstancesCommandInput
|
|
196
205
|
| ListAssetsCommandInput
|
|
206
|
+
| ListBlockingInstancesForCapacityTaskCommandInput
|
|
197
207
|
| ListCapacityTasksCommandInput
|
|
198
208
|
| ListCatalogItemsCommandInput
|
|
199
209
|
| ListOrdersCommandInput
|
|
@@ -225,7 +235,9 @@ export type ServiceOutputTypes =
|
|
|
225
235
|
| GetOutpostSupportedInstanceTypesCommandOutput
|
|
226
236
|
| GetSiteAddressCommandOutput
|
|
227
237
|
| GetSiteCommandOutput
|
|
238
|
+
| ListAssetInstancesCommandOutput
|
|
228
239
|
| ListAssetsCommandOutput
|
|
240
|
+
| ListBlockingInstancesForCapacityTaskCommandOutput
|
|
229
241
|
| ListCapacityTasksCommandOutput
|
|
230
242
|
| ListCatalogItemsCommandOutput
|
|
231
243
|
| ListOrdersCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ListAssetInstancesInput,
|
|
5
|
+
ListAssetInstancesOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
OutpostsClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../OutpostsClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListAssetInstancesCommandInput
|
|
15
|
+
extends ListAssetInstancesInput {}
|
|
16
|
+
export interface ListAssetInstancesCommandOutput
|
|
17
|
+
extends ListAssetInstancesOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListAssetInstancesCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListAssetInstancesCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListAssetInstancesCommandInput,
|
|
24
|
+
ListAssetInstancesCommandOutput,
|
|
25
|
+
OutpostsClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: ListAssetInstancesCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListAssetInstancesCommandInput,
|
|
33
|
+
ListAssetInstancesCommandOutput,
|
|
34
|
+
OutpostsClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListAssetInstancesCommand extends ListAssetInstancesCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListAssetInstancesInput;
|
|
44
|
+
output: ListAssetInstancesOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListAssetInstancesCommandInput;
|
|
48
|
+
output: ListAssetInstancesCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|