@aws-sdk/client-outposts 3.687.0 → 3.691.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 (37) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +145 -6
  3. package/dist-es/Outposts.js +4 -0
  4. package/dist-es/commands/ListAssetInstancesCommand.js +22 -0
  5. package/dist-es/commands/ListBlockingInstancesForCapacityTaskCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +18 -0
  8. package/dist-es/pagination/ListAssetInstancesPaginator.js +4 -0
  9. package/dist-es/pagination/ListBlockingInstancesForCapacityTaskPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +2 -0
  11. package/dist-es/protocols/Aws_restJson1.js +72 -1
  12. package/dist-types/Outposts.d.ts +14 -0
  13. package/dist-types/OutpostsClient.d.ts +4 -2
  14. package/dist-types/commands/GetCapacityTaskCommand.d.ts +14 -2
  15. package/dist-types/commands/GetOutpostSupportedInstanceTypesCommand.d.ts +4 -5
  16. package/dist-types/commands/ListAssetInstancesCommand.d.ts +107 -0
  17. package/dist-types/commands/ListAssetsCommand.d.ts +7 -0
  18. package/dist-types/commands/ListBlockingInstancesForCapacityTaskCommand.d.ts +95 -0
  19. package/dist-types/commands/ListCapacityTasksCommand.d.ts +2 -2
  20. package/dist-types/commands/StartCapacityTaskCommand.d.ts +28 -4
  21. package/dist-types/commands/index.d.ts +2 -0
  22. package/dist-types/models/models_0.d.ts +540 -236
  23. package/dist-types/pagination/ListAssetInstancesPaginator.d.ts +7 -0
  24. package/dist-types/pagination/ListBlockingInstancesForCapacityTaskPaginator.d.ts +7 -0
  25. package/dist-types/pagination/index.d.ts +2 -0
  26. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  27. package/dist-types/ts3.4/Outposts.d.ts +40 -0
  28. package/dist-types/ts3.4/OutpostsClient.d.ts +12 -0
  29. package/dist-types/ts3.4/commands/ListAssetInstancesCommand.d.ts +51 -0
  30. package/dist-types/ts3.4/commands/ListBlockingInstancesForCapacityTaskCommand.d.ts +51 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +304 -230
  33. package/dist-types/ts3.4/pagination/ListAssetInstancesPaginator.d.ts +11 -0
  34. package/dist-types/ts3.4/pagination/ListBlockingInstancesForCapacityTaskPaginator.d.ts +11 -0
  35. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  36. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  37. package/package.json +7 -7
@@ -3,23 +3,23 @@ import { OutpostsServiceException as __BaseException } from "./OutpostsServiceEx
3
3
  export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
- Message?: string;
6
+ Message?: string | undefined;
7
7
  constructor(
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
11
  export interface Address {
12
- ContactName?: string;
13
- ContactPhoneNumber?: string;
12
+ ContactName?: string | undefined;
13
+ ContactPhoneNumber?: string | undefined;
14
14
  AddressLine1: string | undefined;
15
- AddressLine2?: string;
16
- AddressLine3?: string;
15
+ AddressLine2?: string | undefined;
16
+ AddressLine3?: string | undefined;
17
17
  City: string | undefined;
18
18
  StateOrRegion: string | undefined;
19
- DistrictOrCounty?: string;
19
+ DistrictOrCounty?: string | undefined;
20
20
  PostalCode: string | undefined;
21
21
  CountryCode: string | undefined;
22
- Municipality?: string;
22
+ Municipality?: string | undefined;
23
23
  }
24
24
  export declare const AddressType: {
25
25
  readonly OPERATING_ADDRESS: "OPERATING_ADDRESS";
@@ -27,12 +27,16 @@ export declare const AddressType: {
27
27
  };
28
28
  export type AddressType = (typeof AddressType)[keyof typeof AddressType];
29
29
  export interface AssetLocation {
30
- RackElevation?: number;
30
+ RackElevation?: number | undefined;
31
31
  }
32
32
  export declare const AssetType: {
33
33
  readonly COMPUTE: "COMPUTE";
34
34
  };
35
35
  export type AssetType = (typeof AssetType)[keyof typeof AssetType];
36
+ export interface AssetInstanceTypeCapacity {
37
+ InstanceType: string | undefined;
38
+ Count: number | undefined;
39
+ }
36
40
  export declare const ComputeAssetState: {
37
41
  readonly ACTIVE: "ACTIVE";
38
42
  readonly ISOLATED: "ISOLATED";
@@ -41,16 +45,35 @@ export declare const ComputeAssetState: {
41
45
  export type ComputeAssetState =
42
46
  (typeof ComputeAssetState)[keyof typeof ComputeAssetState];
43
47
  export interface ComputeAttributes {
44
- HostId?: string;
45
- State?: ComputeAssetState;
46
- InstanceFamilies?: string[];
48
+ HostId?: string | undefined;
49
+ State?: ComputeAssetState | undefined;
50
+ InstanceFamilies?: string[] | undefined;
51
+ InstanceTypeCapacities?: AssetInstanceTypeCapacity[] | undefined;
52
+ MaxVcpus?: number | undefined;
47
53
  }
48
54
  export interface AssetInfo {
49
- AssetId?: string;
50
- RackId?: string;
51
- AssetType?: AssetType;
52
- ComputeAttributes?: ComputeAttributes;
53
- AssetLocation?: AssetLocation;
55
+ AssetId?: string | undefined;
56
+ RackId?: string | undefined;
57
+ AssetType?: AssetType | undefined;
58
+ ComputeAttributes?: ComputeAttributes | undefined;
59
+ AssetLocation?: AssetLocation | undefined;
60
+ }
61
+ export declare const AWSServiceName: {
62
+ readonly AWS: "AWS";
63
+ readonly EC2: "EC2";
64
+ readonly ELASTICACHE: "ELASTICACHE";
65
+ readonly ELB: "ELB";
66
+ readonly RDS: "RDS";
67
+ readonly ROUTE53: "ROUTE53";
68
+ };
69
+ export type AWSServiceName =
70
+ (typeof AWSServiceName)[keyof typeof AWSServiceName];
71
+ export interface AssetInstance {
72
+ InstanceId?: string | undefined;
73
+ InstanceType?: string | undefined;
74
+ AssetId?: string | undefined;
75
+ AccountId?: string | undefined;
76
+ AwsServiceName?: AWSServiceName | undefined;
54
77
  }
55
78
  export declare const AssetState: {
56
79
  readonly ACTIVE: "ACTIVE";
@@ -58,6 +81,11 @@ export declare const AssetState: {
58
81
  readonly RETIRING: "RETIRING";
59
82
  };
60
83
  export type AssetState = (typeof AssetState)[keyof typeof AssetState];
84
+ export interface BlockingInstance {
85
+ InstanceId?: string | undefined;
86
+ AccountId?: string | undefined;
87
+ AwsServiceName?: AWSServiceName | undefined;
88
+ }
61
89
  export interface CancelCapacityTaskInput {
62
90
  CapacityTaskId: string | undefined;
63
91
  OutpostIdentifier: string | undefined;
@@ -71,15 +99,15 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
71
99
  export declare class ConflictException extends __BaseException {
72
100
  readonly name: "ConflictException";
73
101
  readonly $fault: "client";
74
- Message?: string;
75
- ResourceId?: string;
76
- ResourceType?: ResourceType;
102
+ Message?: string | undefined;
103
+ ResourceId?: string | undefined;
104
+ ResourceType?: ResourceType | undefined;
77
105
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
78
106
  }
79
107
  export declare class InternalServerException extends __BaseException {
80
108
  readonly name: "InternalServerException";
81
109
  readonly $fault: "server";
82
- Message?: string;
110
+ Message?: string | undefined;
83
111
  constructor(
84
112
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
85
113
  );
@@ -87,13 +115,13 @@ export declare class InternalServerException extends __BaseException {
87
115
  export declare class NotFoundException extends __BaseException {
88
116
  readonly name: "NotFoundException";
89
117
  readonly $fault: "client";
90
- Message?: string;
118
+ Message?: string | undefined;
91
119
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
92
120
  }
93
121
  export declare class ValidationException extends __BaseException {
94
122
  readonly name: "ValidationException";
95
123
  readonly $fault: "client";
96
- Message?: string;
124
+ Message?: string | undefined;
97
125
  constructor(
98
126
  opts: __ExceptionOptionType<ValidationException, __BaseException>
99
127
  );
@@ -103,36 +131,42 @@ export interface CancelOrderInput {
103
131
  }
104
132
  export interface CancelOrderOutput {}
105
133
  export declare const CapacityTaskFailureType: {
134
+ readonly BLOCKING_INSTANCES_NOT_EVACUATED: "BLOCKING_INSTANCES_NOT_EVACUATED";
135
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
136
+ readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
137
+ readonly UNEXPECTED_ASSET_STATE: "UNEXPECTED_ASSET_STATE";
106
138
  readonly UNSUPPORTED_CAPACITY_CONFIGURATION: "UNSUPPORTED_CAPACITY_CONFIGURATION";
107
139
  };
108
140
  export type CapacityTaskFailureType =
109
141
  (typeof CapacityTaskFailureType)[keyof typeof CapacityTaskFailureType];
110
142
  export interface CapacityTaskFailure {
111
143
  Reason: string | undefined;
112
- Type?: CapacityTaskFailureType;
144
+ Type?: CapacityTaskFailureType | undefined;
113
145
  }
114
146
  export declare const CapacityTaskStatus: {
147
+ readonly CANCELLATION_IN_PROGRESS: "CANCELLATION_IN_PROGRESS";
115
148
  readonly CANCELLED: "CANCELLED";
116
149
  readonly COMPLETED: "COMPLETED";
117
150
  readonly FAILED: "FAILED";
118
151
  readonly IN_PROGRESS: "IN_PROGRESS";
119
152
  readonly REQUESTED: "REQUESTED";
153
+ readonly WAITING_FOR_EVACUATION: "WAITING_FOR_EVACUATION";
120
154
  };
121
155
  export type CapacityTaskStatus =
122
156
  (typeof CapacityTaskStatus)[keyof typeof CapacityTaskStatus];
123
157
  export interface CapacityTaskSummary {
124
- CapacityTaskId?: string;
125
- OutpostId?: string;
126
- OrderId?: string;
127
- CapacityTaskStatus?: CapacityTaskStatus;
128
- CreationDate?: Date;
129
- CompletionDate?: Date;
130
- LastModifiedDate?: Date;
158
+ CapacityTaskId?: string | undefined;
159
+ OutpostId?: string | undefined;
160
+ OrderId?: string | undefined;
161
+ CapacityTaskStatus?: CapacityTaskStatus | undefined;
162
+ CreationDate?: Date | undefined;
163
+ CompletionDate?: Date | undefined;
164
+ LastModifiedDate?: Date | undefined;
131
165
  }
132
166
  export interface EC2Capacity {
133
- Family?: string;
134
- MaxSize?: string;
135
- Quantity?: string;
167
+ Family?: string | undefined;
168
+ MaxSize?: string | undefined;
169
+ Quantity?: string | undefined;
136
170
  }
137
171
  export declare const CatalogItemStatus: {
138
172
  readonly AVAILABLE: "AVAILABLE";
@@ -147,13 +181,13 @@ export declare const SupportedStorageEnum: {
147
181
  export type SupportedStorageEnum =
148
182
  (typeof SupportedStorageEnum)[keyof typeof SupportedStorageEnum];
149
183
  export interface CatalogItem {
150
- CatalogItemId?: string;
151
- ItemStatus?: CatalogItemStatus;
152
- EC2Capacities?: EC2Capacity[];
153
- PowerKva?: number;
154
- WeightLbs?: number;
155
- SupportedUplinkGbps?: number[];
156
- SupportedStorage?: SupportedStorageEnum[];
184
+ CatalogItemId?: string | undefined;
185
+ ItemStatus?: CatalogItemStatus | undefined;
186
+ EC2Capacities?: EC2Capacity[] | undefined;
187
+ PowerKva?: number | undefined;
188
+ WeightLbs?: number | undefined;
189
+ SupportedUplinkGbps?: number[] | undefined;
190
+ SupportedStorage?: SupportedStorageEnum[] | undefined;
157
191
  }
158
192
  export declare const CatalogItemClass: {
159
193
  readonly RACK: "RACK";
@@ -162,16 +196,16 @@ export declare const CatalogItemClass: {
162
196
  export type CatalogItemClass =
163
197
  (typeof CatalogItemClass)[keyof typeof CatalogItemClass];
164
198
  export interface ConnectionDetails {
165
- ClientPublicKey?: string;
166
- ServerPublicKey?: string;
167
- ServerEndpoint?: string;
168
- ClientTunnelAddress?: string;
169
- ServerTunnelAddress?: string;
170
- AllowedIps?: string[];
199
+ ClientPublicKey?: string | undefined;
200
+ ServerPublicKey?: string | undefined;
201
+ ServerEndpoint?: string | undefined;
202
+ ClientTunnelAddress?: string | undefined;
203
+ ServerTunnelAddress?: string | undefined;
204
+ AllowedIps?: string[] | undefined;
171
205
  }
172
206
  export interface LineItemRequest {
173
- CatalogItemId?: string;
174
- Quantity?: number;
207
+ CatalogItemId?: string | undefined;
208
+ Quantity?: number | undefined;
175
209
  }
176
210
  export declare const PaymentOption: {
177
211
  readonly ALL_UPFRONT: "ALL_UPFRONT";
@@ -188,11 +222,11 @@ export interface CreateOrderInput {
188
222
  OutpostIdentifier: string | undefined;
189
223
  LineItems: LineItemRequest[] | undefined;
190
224
  PaymentOption: PaymentOption | undefined;
191
- PaymentTerm?: PaymentTerm;
225
+ PaymentTerm?: PaymentTerm | undefined;
192
226
  }
193
227
  export interface LineItemAssetInformation {
194
- AssetId?: string;
195
- MacAddressList?: string[];
228
+ AssetId?: string | undefined;
229
+ MacAddressList?: string[] | undefined;
196
230
  }
197
231
  export declare const ShipmentCarrier: {
198
232
  readonly DBS: "DBS";
@@ -204,8 +238,8 @@ export declare const ShipmentCarrier: {
204
238
  export type ShipmentCarrier =
205
239
  (typeof ShipmentCarrier)[keyof typeof ShipmentCarrier];
206
240
  export interface ShipmentInformation {
207
- ShipmentTrackingNumber?: string;
208
- ShipmentCarrier?: ShipmentCarrier;
241
+ ShipmentTrackingNumber?: string | undefined;
242
+ ShipmentCarrier?: ShipmentCarrier | undefined;
209
243
  }
210
244
  export declare const LineItemStatus: {
211
245
  readonly BUILDING: "BUILDING";
@@ -221,14 +255,14 @@ export declare const LineItemStatus: {
221
255
  export type LineItemStatus =
222
256
  (typeof LineItemStatus)[keyof typeof LineItemStatus];
223
257
  export interface LineItem {
224
- CatalogItemId?: string;
225
- LineItemId?: string;
226
- Quantity?: number;
227
- Status?: LineItemStatus;
228
- ShipmentInformation?: ShipmentInformation;
229
- AssetInformationList?: LineItemAssetInformation[];
230
- PreviousLineItemId?: string;
231
- PreviousOrderId?: string;
258
+ CatalogItemId?: string | undefined;
259
+ LineItemId?: string | undefined;
260
+ Quantity?: number | undefined;
261
+ Status?: LineItemStatus | undefined;
262
+ ShipmentInformation?: ShipmentInformation | undefined;
263
+ AssetInformationList?: LineItemAssetInformation[] | undefined;
264
+ PreviousLineItemId?: string | undefined;
265
+ PreviousOrderId?: string | undefined;
232
266
  }
233
267
  export declare const OrderType: {
234
268
  readonly OUTPOST: "OUTPOST";
@@ -250,23 +284,23 @@ export declare const OrderStatus: {
250
284
  };
251
285
  export type OrderStatus = (typeof OrderStatus)[keyof typeof OrderStatus];
252
286
  export interface Order {
253
- OutpostId?: string;
254
- OrderId?: string;
255
- Status?: OrderStatus;
256
- LineItems?: LineItem[];
257
- PaymentOption?: PaymentOption;
258
- OrderSubmissionDate?: Date;
259
- OrderFulfilledDate?: Date;
260
- PaymentTerm?: PaymentTerm;
261
- OrderType?: OrderType;
287
+ OutpostId?: string | undefined;
288
+ OrderId?: string | undefined;
289
+ Status?: OrderStatus | undefined;
290
+ LineItems?: LineItem[] | undefined;
291
+ PaymentOption?: PaymentOption | undefined;
292
+ OrderSubmissionDate?: Date | undefined;
293
+ OrderFulfilledDate?: Date | undefined;
294
+ PaymentTerm?: PaymentTerm | undefined;
295
+ OrderType?: OrderType | undefined;
262
296
  }
263
297
  export interface CreateOrderOutput {
264
- Order?: Order;
298
+ Order?: Order | undefined;
265
299
  }
266
300
  export declare class ServiceQuotaExceededException extends __BaseException {
267
301
  readonly name: "ServiceQuotaExceededException";
268
302
  readonly $fault: "client";
269
- Message?: string;
303
+ Message?: string | undefined;
270
304
  constructor(
271
305
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
272
306
  );
@@ -279,29 +313,29 @@ export type SupportedHardwareType =
279
313
  (typeof SupportedHardwareType)[keyof typeof SupportedHardwareType];
280
314
  export interface CreateOutpostInput {
281
315
  Name: string | undefined;
282
- Description?: string;
316
+ Description?: string | undefined;
283
317
  SiteId: string | undefined;
284
- AvailabilityZone?: string;
285
- AvailabilityZoneId?: string;
286
- Tags?: Record<string, string>;
287
- SupportedHardwareType?: SupportedHardwareType;
318
+ AvailabilityZone?: string | undefined;
319
+ AvailabilityZoneId?: string | undefined;
320
+ Tags?: Record<string, string> | undefined;
321
+ SupportedHardwareType?: SupportedHardwareType | undefined;
288
322
  }
289
323
  export interface Outpost {
290
- OutpostId?: string;
291
- OwnerId?: string;
292
- OutpostArn?: string;
293
- SiteId?: string;
294
- Name?: string;
295
- Description?: string;
296
- LifeCycleStatus?: string;
297
- AvailabilityZone?: string;
298
- AvailabilityZoneId?: string;
299
- Tags?: Record<string, string>;
300
- SiteArn?: string;
301
- SupportedHardwareType?: SupportedHardwareType;
324
+ OutpostId?: string | undefined;
325
+ OwnerId?: string | undefined;
326
+ OutpostArn?: string | undefined;
327
+ SiteId?: string | undefined;
328
+ Name?: string | undefined;
329
+ Description?: string | undefined;
330
+ LifeCycleStatus?: string | undefined;
331
+ AvailabilityZone?: string | undefined;
332
+ AvailabilityZoneId?: string | undefined;
333
+ Tags?: Record<string, string> | undefined;
334
+ SiteArn?: string | undefined;
335
+ SupportedHardwareType?: SupportedHardwareType | undefined;
302
336
  }
303
337
  export interface CreateOutpostOutput {
304
- Outpost?: Outpost;
338
+ Outpost?: Outpost | undefined;
305
339
  }
306
340
  export declare const FiberOpticCableType: {
307
341
  readonly MULTI_MODE: "MULTI_MODE";
@@ -381,40 +415,40 @@ export declare const UplinkGbps: {
381
415
  };
382
416
  export type UplinkGbps = (typeof UplinkGbps)[keyof typeof UplinkGbps];
383
417
  export interface RackPhysicalProperties {
384
- PowerDrawKva?: PowerDrawKva;
385
- PowerPhase?: PowerPhase;
386
- PowerConnector?: PowerConnector;
387
- PowerFeedDrop?: PowerFeedDrop;
388
- UplinkGbps?: UplinkGbps;
389
- UplinkCount?: UplinkCount;
390
- FiberOpticCableType?: FiberOpticCableType;
391
- OpticalStandard?: OpticalStandard;
392
- MaximumSupportedWeightLbs?: MaximumSupportedWeightLbs;
418
+ PowerDrawKva?: PowerDrawKva | undefined;
419
+ PowerPhase?: PowerPhase | undefined;
420
+ PowerConnector?: PowerConnector | undefined;
421
+ PowerFeedDrop?: PowerFeedDrop | undefined;
422
+ UplinkGbps?: UplinkGbps | undefined;
423
+ UplinkCount?: UplinkCount | undefined;
424
+ FiberOpticCableType?: FiberOpticCableType | undefined;
425
+ OpticalStandard?: OpticalStandard | undefined;
426
+ MaximumSupportedWeightLbs?: MaximumSupportedWeightLbs | undefined;
393
427
  }
394
428
  export interface CreateSiteInput {
395
429
  Name: string | undefined;
396
- Description?: string;
397
- Notes?: string;
398
- Tags?: Record<string, string>;
399
- OperatingAddress?: Address;
400
- ShippingAddress?: Address;
401
- RackPhysicalProperties?: RackPhysicalProperties;
430
+ Description?: string | undefined;
431
+ Notes?: string | undefined;
432
+ Tags?: Record<string, string> | undefined;
433
+ OperatingAddress?: Address | undefined;
434
+ ShippingAddress?: Address | undefined;
435
+ RackPhysicalProperties?: RackPhysicalProperties | undefined;
402
436
  }
403
437
  export interface Site {
404
- SiteId?: string;
405
- AccountId?: string;
406
- Name?: string;
407
- Description?: string;
408
- Tags?: Record<string, string>;
409
- SiteArn?: string;
410
- Notes?: string;
411
- OperatingAddressCountryCode?: string;
412
- OperatingAddressStateOrRegion?: string;
413
- OperatingAddressCity?: string;
414
- RackPhysicalProperties?: RackPhysicalProperties;
438
+ SiteId?: string | undefined;
439
+ AccountId?: string | undefined;
440
+ Name?: string | undefined;
441
+ Description?: string | undefined;
442
+ Tags?: Record<string, string> | undefined;
443
+ SiteArn?: string | undefined;
444
+ Notes?: string | undefined;
445
+ OperatingAddressCountryCode?: string | undefined;
446
+ OperatingAddressStateOrRegion?: string | undefined;
447
+ OperatingAddressCity?: string | undefined;
448
+ RackPhysicalProperties?: RackPhysicalProperties | undefined;
415
449
  }
416
450
  export interface CreateSiteOutput {
417
- Site?: Site;
451
+ Site?: Site | undefined;
418
452
  }
419
453
  export interface DeleteOutpostInput {
420
454
  OutpostId: string | undefined;
@@ -428,192 +462,232 @@ export interface GetCapacityTaskInput {
428
462
  CapacityTaskId: string | undefined;
429
463
  OutpostIdentifier: string | undefined;
430
464
  }
465
+ export interface InstancesToExclude {
466
+ Instances?: string[] | undefined;
467
+ AccountIds?: string[] | undefined;
468
+ Services?: AWSServiceName[] | undefined;
469
+ }
431
470
  export interface InstanceTypeCapacity {
432
471
  InstanceType: string | undefined;
433
472
  Count: number | undefined;
434
473
  }
474
+ export declare const TaskActionOnBlockingInstances: {
475
+ readonly FAIL_TASK: "FAIL_TASK";
476
+ readonly WAIT_FOR_EVACUATION: "WAIT_FOR_EVACUATION";
477
+ };
478
+ export type TaskActionOnBlockingInstances =
479
+ (typeof TaskActionOnBlockingInstances)[keyof typeof TaskActionOnBlockingInstances];
435
480
  export interface GetCapacityTaskOutput {
436
- CapacityTaskId?: string;
437
- OutpostId?: string;
438
- OrderId?: string;
439
- RequestedInstancePools?: InstanceTypeCapacity[];
440
- DryRun?: boolean;
441
- CapacityTaskStatus?: CapacityTaskStatus;
442
- Failed?: CapacityTaskFailure;
443
- CreationDate?: Date;
444
- CompletionDate?: Date;
445
- LastModifiedDate?: Date;
481
+ CapacityTaskId?: string | undefined;
482
+ OutpostId?: string | undefined;
483
+ OrderId?: string | undefined;
484
+ RequestedInstancePools?: InstanceTypeCapacity[] | undefined;
485
+ InstancesToExclude?: InstancesToExclude | undefined;
486
+ DryRun?: boolean | undefined;
487
+ CapacityTaskStatus?: CapacityTaskStatus | undefined;
488
+ Failed?: CapacityTaskFailure | undefined;
489
+ CreationDate?: Date | undefined;
490
+ CompletionDate?: Date | undefined;
491
+ LastModifiedDate?: Date | undefined;
492
+ TaskActionOnBlockingInstances?: TaskActionOnBlockingInstances | undefined;
446
493
  }
447
494
  export interface GetCatalogItemInput {
448
495
  CatalogItemId: string | undefined;
449
496
  }
450
497
  export interface GetCatalogItemOutput {
451
- CatalogItem?: CatalogItem;
498
+ CatalogItem?: CatalogItem | undefined;
452
499
  }
453
500
  export interface GetConnectionRequest {
454
501
  ConnectionId: string | undefined;
455
502
  }
456
503
  export interface GetConnectionResponse {
457
- ConnectionId?: string;
458
- ConnectionDetails?: ConnectionDetails;
504
+ ConnectionId?: string | undefined;
505
+ ConnectionDetails?: ConnectionDetails | undefined;
459
506
  }
460
507
  export interface GetOrderInput {
461
508
  OrderId: string | undefined;
462
509
  }
463
510
  export interface GetOrderOutput {
464
- Order?: Order;
511
+ Order?: Order | undefined;
465
512
  }
466
513
  export interface GetOutpostInput {
467
514
  OutpostId: string | undefined;
468
515
  }
469
516
  export interface GetOutpostOutput {
470
- Outpost?: Outpost;
517
+ Outpost?: Outpost | undefined;
471
518
  }
472
519
  export interface GetOutpostInstanceTypesInput {
473
520
  OutpostId: string | undefined;
474
- NextToken?: string;
475
- MaxResults?: number;
521
+ NextToken?: string | undefined;
522
+ MaxResults?: number | undefined;
476
523
  }
477
524
  export interface InstanceTypeItem {
478
- InstanceType?: string;
479
- VCPUs?: number;
525
+ InstanceType?: string | undefined;
526
+ VCPUs?: number | undefined;
480
527
  }
481
528
  export interface GetOutpostInstanceTypesOutput {
482
- InstanceTypes?: InstanceTypeItem[];
483
- NextToken?: string;
484
- OutpostId?: string;
485
- OutpostArn?: string;
529
+ InstanceTypes?: InstanceTypeItem[] | undefined;
530
+ NextToken?: string | undefined;
531
+ OutpostId?: string | undefined;
532
+ OutpostArn?: string | undefined;
486
533
  }
487
534
  export interface GetOutpostSupportedInstanceTypesInput {
488
535
  OutpostIdentifier: string | undefined;
489
- OrderId: string | undefined;
490
- MaxResults?: number;
491
- NextToken?: string;
536
+ OrderId?: string | undefined;
537
+ MaxResults?: number | undefined;
538
+ NextToken?: string | undefined;
492
539
  }
493
540
  export interface GetOutpostSupportedInstanceTypesOutput {
494
- InstanceTypes?: InstanceTypeItem[];
495
- NextToken?: string;
541
+ InstanceTypes?: InstanceTypeItem[] | undefined;
542
+ NextToken?: string | undefined;
496
543
  }
497
544
  export interface GetSiteInput {
498
545
  SiteId: string | undefined;
499
546
  }
500
547
  export interface GetSiteOutput {
501
- Site?: Site;
548
+ Site?: Site | undefined;
502
549
  }
503
550
  export interface GetSiteAddressInput {
504
551
  SiteId: string | undefined;
505
552
  AddressType: AddressType | undefined;
506
553
  }
507
554
  export interface GetSiteAddressOutput {
508
- SiteId?: string;
509
- AddressType?: AddressType;
510
- Address?: Address;
555
+ SiteId?: string | undefined;
556
+ AddressType?: AddressType | undefined;
557
+ Address?: Address | undefined;
558
+ }
559
+ export interface ListAssetInstancesInput {
560
+ OutpostIdentifier: string | undefined;
561
+ AssetIdFilter?: string[] | undefined;
562
+ InstanceTypeFilter?: string[] | undefined;
563
+ AccountIdFilter?: string[] | undefined;
564
+ AwsServiceFilter?: AWSServiceName[] | undefined;
565
+ MaxResults?: number | undefined;
566
+ NextToken?: string | undefined;
567
+ }
568
+ export interface ListAssetInstancesOutput {
569
+ AssetInstances?: AssetInstance[] | undefined;
570
+ NextToken?: string | undefined;
511
571
  }
512
572
  export interface ListAssetsInput {
513
573
  OutpostIdentifier: string | undefined;
514
- HostIdFilter?: string[];
515
- MaxResults?: number;
516
- NextToken?: string;
517
- StatusFilter?: AssetState[];
574
+ HostIdFilter?: string[] | undefined;
575
+ MaxResults?: number | undefined;
576
+ NextToken?: string | undefined;
577
+ StatusFilter?: AssetState[] | undefined;
518
578
  }
519
579
  export interface ListAssetsOutput {
520
- Assets?: AssetInfo[];
521
- NextToken?: string;
580
+ Assets?: AssetInfo[] | undefined;
581
+ NextToken?: string | undefined;
582
+ }
583
+ export interface ListBlockingInstancesForCapacityTaskInput {
584
+ OutpostIdentifier: string | undefined;
585
+ CapacityTaskId: string | undefined;
586
+ MaxResults?: number | undefined;
587
+ NextToken?: string | undefined;
588
+ }
589
+ export interface ListBlockingInstancesForCapacityTaskOutput {
590
+ BlockingInstances?: BlockingInstance[] | undefined;
591
+ NextToken?: string | undefined;
522
592
  }
523
593
  export interface ListCapacityTasksInput {
524
- OutpostIdentifierFilter?: string;
525
- MaxResults?: number;
526
- NextToken?: string;
527
- CapacityTaskStatusFilter?: CapacityTaskStatus[];
594
+ OutpostIdentifierFilter?: string | undefined;
595
+ MaxResults?: number | undefined;
596
+ NextToken?: string | undefined;
597
+ CapacityTaskStatusFilter?: CapacityTaskStatus[] | undefined;
528
598
  }
529
599
  export interface ListCapacityTasksOutput {
530
- CapacityTasks?: CapacityTaskSummary[];
531
- NextToken?: string;
600
+ CapacityTasks?: CapacityTaskSummary[] | undefined;
601
+ NextToken?: string | undefined;
532
602
  }
533
603
  export interface ListCatalogItemsInput {
534
- NextToken?: string;
535
- MaxResults?: number;
536
- ItemClassFilter?: CatalogItemClass[];
537
- SupportedStorageFilter?: SupportedStorageEnum[];
538
- EC2FamilyFilter?: string[];
604
+ NextToken?: string | undefined;
605
+ MaxResults?: number | undefined;
606
+ ItemClassFilter?: CatalogItemClass[] | undefined;
607
+ SupportedStorageFilter?: SupportedStorageEnum[] | undefined;
608
+ EC2FamilyFilter?: string[] | undefined;
539
609
  }
540
610
  export interface ListCatalogItemsOutput {
541
- CatalogItems?: CatalogItem[];
542
- NextToken?: string;
611
+ CatalogItems?: CatalogItem[] | undefined;
612
+ NextToken?: string | undefined;
543
613
  }
544
614
  export interface ListOrdersInput {
545
- OutpostIdentifierFilter?: string;
546
- NextToken?: string;
547
- MaxResults?: number;
615
+ OutpostIdentifierFilter?: string | undefined;
616
+ NextToken?: string | undefined;
617
+ MaxResults?: number | undefined;
548
618
  }
549
619
  export interface OrderSummary {
550
- OutpostId?: string;
551
- OrderId?: string;
552
- OrderType?: OrderType;
553
- Status?: OrderStatus;
554
- LineItemCountsByStatus?: Partial<Record<LineItemStatus, number>>;
555
- OrderSubmissionDate?: Date;
556
- OrderFulfilledDate?: Date;
620
+ OutpostId?: string | undefined;
621
+ OrderId?: string | undefined;
622
+ OrderType?: OrderType | undefined;
623
+ Status?: OrderStatus | undefined;
624
+ LineItemCountsByStatus?: Partial<Record<LineItemStatus, number>> | undefined;
625
+ OrderSubmissionDate?: Date | undefined;
626
+ OrderFulfilledDate?: Date | undefined;
557
627
  }
558
628
  export interface ListOrdersOutput {
559
- Orders?: OrderSummary[];
560
- NextToken?: string;
629
+ Orders?: OrderSummary[] | undefined;
630
+ NextToken?: string | undefined;
561
631
  }
562
632
  export interface ListOutpostsInput {
563
- NextToken?: string;
564
- MaxResults?: number;
565
- LifeCycleStatusFilter?: string[];
566
- AvailabilityZoneFilter?: string[];
567
- AvailabilityZoneIdFilter?: string[];
633
+ NextToken?: string | undefined;
634
+ MaxResults?: number | undefined;
635
+ LifeCycleStatusFilter?: string[] | undefined;
636
+ AvailabilityZoneFilter?: string[] | undefined;
637
+ AvailabilityZoneIdFilter?: string[] | undefined;
568
638
  }
569
639
  export interface ListOutpostsOutput {
570
- Outposts?: Outpost[];
571
- NextToken?: string;
640
+ Outposts?: Outpost[] | undefined;
641
+ NextToken?: string | undefined;
572
642
  }
573
643
  export interface ListSitesInput {
574
- NextToken?: string;
575
- MaxResults?: number;
576
- OperatingAddressCountryCodeFilter?: string[];
577
- OperatingAddressStateOrRegionFilter?: string[];
578
- OperatingAddressCityFilter?: string[];
644
+ NextToken?: string | undefined;
645
+ MaxResults?: number | undefined;
646
+ OperatingAddressCountryCodeFilter?: string[] | undefined;
647
+ OperatingAddressStateOrRegionFilter?: string[] | undefined;
648
+ OperatingAddressCityFilter?: string[] | undefined;
579
649
  }
580
650
  export interface ListSitesOutput {
581
- Sites?: Site[];
582
- NextToken?: string;
651
+ Sites?: Site[] | undefined;
652
+ NextToken?: string | undefined;
583
653
  }
584
654
  export interface ListTagsForResourceRequest {
585
655
  ResourceArn: string | undefined;
586
656
  }
587
657
  export interface ListTagsForResourceResponse {
588
- Tags?: Record<string, string>;
658
+ Tags?: Record<string, string> | undefined;
589
659
  }
590
660
  export interface StartCapacityTaskInput {
591
661
  OutpostIdentifier: string | undefined;
592
- OrderId: string | undefined;
662
+ OrderId?: string | undefined;
593
663
  InstancePools: InstanceTypeCapacity[] | undefined;
594
- DryRun?: boolean;
664
+ InstancesToExclude?: InstancesToExclude | undefined;
665
+ DryRun?: boolean | undefined;
666
+ TaskActionOnBlockingInstances?: TaskActionOnBlockingInstances | undefined;
595
667
  }
596
668
  export interface StartCapacityTaskOutput {
597
- CapacityTaskId?: string;
598
- OutpostId?: string;
599
- OrderId?: string;
600
- RequestedInstancePools?: InstanceTypeCapacity[];
601
- DryRun?: boolean;
602
- CapacityTaskStatus?: CapacityTaskStatus;
603
- Failed?: CapacityTaskFailure;
604
- CreationDate?: Date;
605
- CompletionDate?: Date;
606
- LastModifiedDate?: Date;
669
+ CapacityTaskId?: string | undefined;
670
+ OutpostId?: string | undefined;
671
+ OrderId?: string | undefined;
672
+ RequestedInstancePools?: InstanceTypeCapacity[] | undefined;
673
+ InstancesToExclude?: InstancesToExclude | undefined;
674
+ DryRun?: boolean | undefined;
675
+ CapacityTaskStatus?: CapacityTaskStatus | undefined;
676
+ Failed?: CapacityTaskFailure | undefined;
677
+ CreationDate?: Date | undefined;
678
+ CompletionDate?: Date | undefined;
679
+ LastModifiedDate?: Date | undefined;
680
+ TaskActionOnBlockingInstances?: TaskActionOnBlockingInstances | undefined;
607
681
  }
608
682
  export interface StartConnectionRequest {
609
- DeviceSerialNumber?: string;
683
+ DeviceSerialNumber?: string | undefined;
610
684
  AssetId: string | undefined;
611
685
  ClientPublicKey: string | undefined;
612
686
  NetworkInterfaceDeviceIndex: number | undefined;
613
687
  }
614
688
  export interface StartConnectionResponse {
615
- ConnectionId?: string;
616
- UnderlayIpAddress?: string;
689
+ ConnectionId?: string | undefined;
690
+ UnderlayIpAddress?: string | undefined;
617
691
  }
618
692
  export interface TagResourceRequest {
619
693
  ResourceArn: string | undefined;
@@ -627,21 +701,21 @@ export interface UntagResourceRequest {
627
701
  export interface UntagResourceResponse {}
628
702
  export interface UpdateOutpostInput {
629
703
  OutpostId: string | undefined;
630
- Name?: string;
631
- Description?: string;
632
- SupportedHardwareType?: SupportedHardwareType;
704
+ Name?: string | undefined;
705
+ Description?: string | undefined;
706
+ SupportedHardwareType?: SupportedHardwareType | undefined;
633
707
  }
634
708
  export interface UpdateOutpostOutput {
635
- Outpost?: Outpost;
709
+ Outpost?: Outpost | undefined;
636
710
  }
637
711
  export interface UpdateSiteInput {
638
712
  SiteId: string | undefined;
639
- Name?: string;
640
- Description?: string;
641
- Notes?: string;
713
+ Name?: string | undefined;
714
+ Description?: string | undefined;
715
+ Notes?: string | undefined;
642
716
  }
643
717
  export interface UpdateSiteOutput {
644
- Site?: Site;
718
+ Site?: Site | undefined;
645
719
  }
646
720
  export interface UpdateSiteAddressInput {
647
721
  SiteId: string | undefined;
@@ -649,21 +723,21 @@ export interface UpdateSiteAddressInput {
649
723
  Address: Address | undefined;
650
724
  }
651
725
  export interface UpdateSiteAddressOutput {
652
- AddressType?: AddressType;
653
- Address?: Address;
726
+ AddressType?: AddressType | undefined;
727
+ Address?: Address | undefined;
654
728
  }
655
729
  export interface UpdateSiteRackPhysicalPropertiesInput {
656
730
  SiteId: string | undefined;
657
- PowerDrawKva?: PowerDrawKva;
658
- PowerPhase?: PowerPhase;
659
- PowerConnector?: PowerConnector;
660
- PowerFeedDrop?: PowerFeedDrop;
661
- UplinkGbps?: UplinkGbps;
662
- UplinkCount?: UplinkCount;
663
- FiberOpticCableType?: FiberOpticCableType;
664
- OpticalStandard?: OpticalStandard;
665
- MaximumSupportedWeightLbs?: MaximumSupportedWeightLbs;
731
+ PowerDrawKva?: PowerDrawKva | undefined;
732
+ PowerPhase?: PowerPhase | undefined;
733
+ PowerConnector?: PowerConnector | undefined;
734
+ PowerFeedDrop?: PowerFeedDrop | undefined;
735
+ UplinkGbps?: UplinkGbps | undefined;
736
+ UplinkCount?: UplinkCount | undefined;
737
+ FiberOpticCableType?: FiberOpticCableType | undefined;
738
+ OpticalStandard?: OpticalStandard | undefined;
739
+ MaximumSupportedWeightLbs?: MaximumSupportedWeightLbs | undefined;
666
740
  }
667
741
  export interface UpdateSiteRackPhysicalPropertiesOutput {
668
- Site?: Site;
742
+ Site?: Site | undefined;
669
743
  }