@aws-sdk/client-outposts 3.777.0 → 3.779.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/dist-cjs/index.js CHANGED
@@ -747,6 +747,7 @@ var se_GetOutpostSupportedInstanceTypesCommand = /* @__PURE__ */ __name(async (i
747
747
  b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
748
748
  const query = (0, import_smithy_client.map)({
749
749
  [_OI]: [, input[_OI]],
750
+ [_AI]: [, input[_AI]],
750
751
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
751
752
  [_NT]: [, input[_NT]]
752
753
  });
@@ -912,6 +913,7 @@ var se_StartCapacityTaskCommand = /* @__PURE__ */ __name(async (input, context)
912
913
  let body;
913
914
  body = JSON.stringify(
914
915
  (0, import_smithy_client.take)(input, {
916
+ AssetId: [],
915
917
  DryRun: [],
916
918
  InstancePools: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InstancePools"),
917
919
  InstancesToExclude: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InstancesToExclude"),
@@ -1136,6 +1138,7 @@ var de_GetCapacityTaskCommand = /* @__PURE__ */ __name(async (output, context) =
1136
1138
  });
1137
1139
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1138
1140
  const doc = (0, import_smithy_client.take)(data, {
1141
+ AssetId: import_smithy_client.expectString,
1139
1142
  CapacityTaskId: import_smithy_client.expectString,
1140
1143
  CapacityTaskStatus: import_smithy_client.expectString,
1141
1144
  CompletionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletionDate"),
@@ -1414,6 +1417,7 @@ var de_StartCapacityTaskCommand = /* @__PURE__ */ __name(async (output, context)
1414
1417
  });
1415
1418
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1416
1419
  const doc = (0, import_smithy_client.take)(data, {
1420
+ AssetId: import_smithy_client.expectString,
1417
1421
  CapacityTaskId: import_smithy_client.expectString,
1418
1422
  CapacityTaskStatus: import_smithy_client.expectString,
1419
1423
  CompletionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletionDate"),
@@ -1665,6 +1669,7 @@ var de_CapacityTaskList = /* @__PURE__ */ __name((output, context) => {
1665
1669
  }, "de_CapacityTaskList");
1666
1670
  var de_CapacityTaskSummary = /* @__PURE__ */ __name((output, context) => {
1667
1671
  return (0, import_smithy_client.take)(output, {
1672
+ AssetId: import_smithy_client.expectString,
1668
1673
  CapacityTaskId: import_smithy_client.expectString,
1669
1674
  CapacityTaskStatus: import_smithy_client.expectString,
1670
1675
  CompletionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletionDate"),
@@ -1727,6 +1732,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1727
1732
  extendedRequestId: output.headers["x-amz-id-2"],
1728
1733
  cfId: output.headers["x-amz-cf-id"]
1729
1734
  }), "deserializeMetadata");
1735
+ var _AI = "AssetId";
1730
1736
  var _AIF = "AssetIdFilter";
1731
1737
  var _AIFc = "AccountIdFilter";
1732
1738
  var _ASF = "AwsServiceFilter";
@@ -160,6 +160,7 @@ export const se_GetOutpostSupportedInstanceTypesCommand = async (input, context)
160
160
  b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
161
161
  const query = map({
162
162
  [_OI]: [, input[_OI]],
163
+ [_AI]: [, input[_AI]],
163
164
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
164
165
  [_NT]: [, input[_NT]],
165
166
  });
@@ -324,6 +325,7 @@ export const se_StartCapacityTaskCommand = async (input, context) => {
324
325
  b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
325
326
  let body;
326
327
  body = JSON.stringify(take(input, {
328
+ AssetId: [],
327
329
  DryRun: [],
328
330
  InstancePools: (_) => _json(_),
329
331
  InstancesToExclude: (_) => _json(_),
@@ -535,6 +537,7 @@ export const de_GetCapacityTaskCommand = async (output, context) => {
535
537
  });
536
538
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
537
539
  const doc = take(data, {
540
+ AssetId: __expectString,
538
541
  CapacityTaskId: __expectString,
539
542
  CapacityTaskStatus: __expectString,
540
543
  CompletionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -813,6 +816,7 @@ export const de_StartCapacityTaskCommand = async (output, context) => {
813
816
  });
814
817
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
815
818
  const doc = take(data, {
819
+ AssetId: __expectString,
816
820
  CapacityTaskId: __expectString,
817
821
  CapacityTaskStatus: __expectString,
818
822
  CompletionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -1068,6 +1072,7 @@ const de_CapacityTaskList = (output, context) => {
1068
1072
  };
1069
1073
  const de_CapacityTaskSummary = (output, context) => {
1070
1074
  return take(output, {
1075
+ AssetId: __expectString,
1071
1076
  CapacityTaskId: __expectString,
1072
1077
  CapacityTaskStatus: __expectString,
1073
1078
  CompletionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -1135,6 +1140,7 @@ const deserializeMetadata = (output) => ({
1135
1140
  cfId: output.headers["x-amz-cf-id"],
1136
1141
  });
1137
1142
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
1143
+ const _AI = "AssetId";
1138
1144
  const _AIF = "AssetIdFilter";
1139
1145
  const _AIFc = "AccountIdFilter";
1140
1146
  const _ASF = "AwsServiceFilter";
@@ -44,6 +44,7 @@ declare const GetCapacityTaskCommand_base: {
44
44
  * // CapacityTaskId: "STRING_VALUE",
45
45
  * // OutpostId: "STRING_VALUE",
46
46
  * // OrderId: "STRING_VALUE",
47
+ * // AssetId: "STRING_VALUE",
47
48
  * // RequestedInstancePools: [ // RequestedInstancePools
48
49
  * // { // InstanceTypeCapacity
49
50
  * // InstanceType: "STRING_VALUE", // required
@@ -39,6 +39,7 @@ declare const GetOutpostSupportedInstanceTypesCommand_base: {
39
39
  * const input = { // GetOutpostSupportedInstanceTypesInput
40
40
  * OutpostIdentifier: "STRING_VALUE", // required
41
41
  * OrderId: "STRING_VALUE",
42
+ * AssetId: "STRING_VALUE",
42
43
  * MaxResults: Number("int"),
43
44
  * NextToken: "STRING_VALUE",
44
45
  * };
@@ -53,6 +53,7 @@ declare const ListCapacityTasksCommand_base: {
53
53
  * // CapacityTaskId: "STRING_VALUE",
54
54
  * // OutpostId: "STRING_VALUE",
55
55
  * // OrderId: "STRING_VALUE",
56
+ * // AssetId: "STRING_VALUE",
56
57
  * // CapacityTaskStatus: "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "WAITING_FOR_EVACUATION" || "CANCELLATION_IN_PROGRESS" || "CANCELLED",
57
58
  * // CreationDate: new Date("TIMESTAMP"),
58
59
  * // CompletionDate: new Date("TIMESTAMP"),
@@ -37,6 +37,7 @@ declare const StartCapacityTaskCommand_base: {
37
37
  * const input = { // StartCapacityTaskInput
38
38
  * OutpostIdentifier: "STRING_VALUE", // required
39
39
  * OrderId: "STRING_VALUE",
40
+ * AssetId: "STRING_VALUE",
40
41
  * InstancePools: [ // RequestedInstancePools // required
41
42
  * { // InstanceTypeCapacity
42
43
  * InstanceType: "STRING_VALUE", // required
@@ -63,6 +64,7 @@ declare const StartCapacityTaskCommand_base: {
63
64
  * // CapacityTaskId: "STRING_VALUE",
64
65
  * // OutpostId: "STRING_VALUE",
65
66
  * // OrderId: "STRING_VALUE",
67
+ * // AssetId: "STRING_VALUE",
66
68
  * // RequestedInstancePools: [ // RequestedInstancePools
67
69
  * // { // InstanceTypeCapacity
68
70
  * // InstanceType: "STRING_VALUE", // required
@@ -191,7 +191,7 @@ export interface ComputeAttributes {
191
191
  */
192
192
  export interface AssetInfo {
193
193
  /**
194
- * <p> The ID of the asset. </p>
194
+ * <p> The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.</p>
195
195
  * @public
196
196
  */
197
197
  AssetId?: string | undefined;
@@ -248,7 +248,7 @@ export interface AssetInstance {
248
248
  */
249
249
  InstanceType?: string | undefined;
250
250
  /**
251
- * <p>The ID of the asset.</p>
251
+ * <p>The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.</p>
252
252
  * @public
253
253
  */
254
254
  AssetId?: string | undefined;
@@ -475,6 +475,11 @@ export interface CapacityTaskSummary {
475
475
  * @public
476
476
  */
477
477
  OrderId?: string | undefined;
478
+ /**
479
+ * <p>The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.</p>
480
+ * @public
481
+ */
482
+ AssetId?: string | undefined;
478
483
  /**
479
484
  * <p>The status of the capacity task.</p>
480
485
  * @public
@@ -703,7 +708,7 @@ export interface CreateOrderInput {
703
708
  */
704
709
  export interface LineItemAssetInformation {
705
710
  /**
706
- * <p> The ID of the asset. </p>
711
+ * <p> The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.</p>
707
712
  * @public
708
713
  */
709
714
  AssetId?: string | undefined;
@@ -1509,6 +1514,11 @@ export interface GetCapacityTaskOutput {
1509
1514
  * @public
1510
1515
  */
1511
1516
  OrderId?: string | undefined;
1517
+ /**
1518
+ * <p>The ID of the Outpost asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.</p>
1519
+ * @public
1520
+ */
1521
+ AssetId?: string | undefined;
1512
1522
  /**
1513
1523
  * <p>List of instance pools requested in the capacity task.</p>
1514
1524
  * @public
@@ -1536,14 +1546,27 @@ export interface GetCapacityTaskOutput {
1536
1546
  * </li>
1537
1547
  * <li>
1538
1548
  * <p>
1539
- * <code>IN_PROGRESS</code> - The capacity task is running and cannot be
1540
- * cancelled.</p>
1549
+ * <code>IN_PROGRESS</code> - The capacity task is running and cannot be cancelled.</p>
1550
+ * </li>
1551
+ * <li>
1552
+ * <p>
1553
+ * <code>FAILED</code> - The capacity task could not be completed.</p>
1554
+ * </li>
1555
+ * <li>
1556
+ * <p>
1557
+ * <code>COMPLETED</code> - The capacity task has completed successfully.</p>
1558
+ * </li>
1559
+ * <li>
1560
+ * <p>
1561
+ * <code>WAITING_FOR_EVACUATION</code> - The capacity task requires capacity to run. You must stop the recommended EC2 running instances to free up capacity for the task to run.</p>
1541
1562
  * </li>
1542
1563
  * <li>
1543
1564
  * <p>
1544
- * <code>WAITING_FOR_EVACUATION</code> - The capacity task requires capacity to run. You
1545
- * must stop the recommended EC2 running instances to free up capacity for the task to
1546
- * run.</p>
1565
+ * <code>CANCELLATION_IN_PROGRESS</code> - The capacity task has been cancelled and is in the process of cleaning up resources.</p>
1566
+ * </li>
1567
+ * <li>
1568
+ * <p>
1569
+ * <code>CANCELLED</code> - The capacity task is cancelled.</p>
1547
1570
  * </li>
1548
1571
  * </ul>
1549
1572
  * @public
@@ -1747,6 +1770,11 @@ export interface GetOutpostSupportedInstanceTypesInput {
1747
1770
  * @public
1748
1771
  */
1749
1772
  OrderId?: string | undefined;
1773
+ /**
1774
+ * <p>The ID of the Outpost asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.</p>
1775
+ * @public
1776
+ */
1777
+ AssetId?: string | undefined;
1750
1778
  /**
1751
1779
  * <p>The maximum page size.</p>
1752
1780
  * @public
@@ -2283,6 +2311,11 @@ export interface StartCapacityTaskInput {
2283
2311
  * @public
2284
2312
  */
2285
2313
  OrderId?: string | undefined;
2314
+ /**
2315
+ * <p>The ID of the Outpost asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.</p>
2316
+ * @public
2317
+ */
2318
+ AssetId?: string | undefined;
2286
2319
  /**
2287
2320
  * <p>The instance pools specified in the capacity task.</p>
2288
2321
  * @public
@@ -2338,6 +2371,11 @@ export interface StartCapacityTaskOutput {
2338
2371
  * @public
2339
2372
  */
2340
2373
  OrderId?: string | undefined;
2374
+ /**
2375
+ * <p>The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.</p>
2376
+ * @public
2377
+ */
2378
+ AssetId?: string | undefined;
2341
2379
  /**
2342
2380
  * <p>List of the instance pools requested in the specified capacity task.</p>
2343
2381
  * @public
@@ -2408,7 +2446,7 @@ export interface StartConnectionRequest {
2408
2446
  */
2409
2447
  DeviceSerialNumber?: string | undefined;
2410
2448
  /**
2411
- * <p> The ID of the Outpost server. </p>
2449
+ * <p> The ID of the Outpost server.</p>
2412
2450
  * @public
2413
2451
  */
2414
2452
  AssetId: string | undefined;
@@ -2633,13 +2671,11 @@ export interface UpdateSiteRackPhysicalPropertiesInput {
2633
2671
  * <ul>
2634
2672
  * <li>
2635
2673
  * <p>
2636
- * <b>AH530P7W (red)</b> – 3P+N+E, 7hr; 30A; three
2637
- * phase</p>
2674
+ * <b>AH530P7W (red)</b> – 3P+N+E, 7hr; 30A; three phase</p>
2638
2675
  * </li>
2639
2676
  * <li>
2640
2677
  * <p>
2641
- * <b>AH532P6W (red)</b> – 3P+N+E, 6hr; 32A; three
2642
- * phase</p>
2678
+ * <b>AH532P6W (red)</b> – 3P+N+E, 6hr; 32A; three phase</p>
2643
2679
  * </li>
2644
2680
  * <li>
2645
2681
  * <p>
@@ -158,6 +158,7 @@ export interface CapacityTaskSummary {
158
158
  CapacityTaskId?: string | undefined;
159
159
  OutpostId?: string | undefined;
160
160
  OrderId?: string | undefined;
161
+ AssetId?: string | undefined;
161
162
  CapacityTaskStatus?: CapacityTaskStatus | undefined;
162
163
  CreationDate?: Date | undefined;
163
164
  CompletionDate?: Date | undefined;
@@ -483,6 +484,7 @@ export interface GetCapacityTaskOutput {
483
484
  CapacityTaskId?: string | undefined;
484
485
  OutpostId?: string | undefined;
485
486
  OrderId?: string | undefined;
487
+ AssetId?: string | undefined;
486
488
  RequestedInstancePools?: InstanceTypeCapacity[] | undefined;
487
489
  InstancesToExclude?: InstancesToExclude | undefined;
488
490
  DryRun?: boolean | undefined;
@@ -536,6 +538,7 @@ export interface GetOutpostInstanceTypesOutput {
536
538
  export interface GetOutpostSupportedInstanceTypesInput {
537
539
  OutpostIdentifier: string | undefined;
538
540
  OrderId?: string | undefined;
541
+ AssetId?: string | undefined;
539
542
  MaxResults?: number | undefined;
540
543
  NextToken?: string | undefined;
541
544
  }
@@ -662,6 +665,7 @@ export interface ListTagsForResourceResponse {
662
665
  export interface StartCapacityTaskInput {
663
666
  OutpostIdentifier: string | undefined;
664
667
  OrderId?: string | undefined;
668
+ AssetId?: string | undefined;
665
669
  InstancePools: InstanceTypeCapacity[] | undefined;
666
670
  InstancesToExclude?: InstancesToExclude | undefined;
667
671
  DryRun?: boolean | undefined;
@@ -671,6 +675,7 @@ export interface StartCapacityTaskOutput {
671
675
  CapacityTaskId?: string | undefined;
672
676
  OutpostId?: string | undefined;
673
677
  OrderId?: string | undefined;
678
+ AssetId?: string | undefined;
674
679
  RequestedInstancePools?: InstanceTypeCapacity[] | undefined;
675
680
  InstancesToExclude?: InstancesToExclude | undefined;
676
681
  DryRun?: boolean | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-outposts",
3
3
  "description": "AWS SDK for JavaScript Outposts Client for Node.js, Browser and React Native",
4
- "version": "3.777.0",
4
+ "version": "3.779.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-outposts",