@aws-sdk/client-outposts 3.775.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 +6 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-types/commands/CancelCapacityTaskCommand.d.ts +1 -0
- package/dist-types/commands/CancelOrderCommand.d.ts +1 -0
- package/dist-types/commands/CreateOrderCommand.d.ts +1 -0
- package/dist-types/commands/CreateOutpostCommand.d.ts +1 -0
- package/dist-types/commands/CreateSiteCommand.d.ts +1 -0
- package/dist-types/commands/DeleteOutpostCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSiteCommand.d.ts +1 -0
- package/dist-types/commands/GetCapacityTaskCommand.d.ts +2 -0
- package/dist-types/commands/GetCatalogItemCommand.d.ts +1 -0
- package/dist-types/commands/GetConnectionCommand.d.ts +1 -0
- package/dist-types/commands/GetOrderCommand.d.ts +1 -0
- package/dist-types/commands/GetOutpostCommand.d.ts +1 -0
- package/dist-types/commands/GetOutpostInstanceTypesCommand.d.ts +1 -0
- package/dist-types/commands/GetOutpostSupportedInstanceTypesCommand.d.ts +2 -0
- package/dist-types/commands/GetSiteAddressCommand.d.ts +1 -0
- package/dist-types/commands/GetSiteCommand.d.ts +1 -0
- package/dist-types/commands/ListAssetInstancesCommand.d.ts +1 -0
- package/dist-types/commands/ListAssetsCommand.d.ts +1 -0
- package/dist-types/commands/ListBlockingInstancesForCapacityTaskCommand.d.ts +1 -0
- package/dist-types/commands/ListCapacityTasksCommand.d.ts +2 -0
- package/dist-types/commands/ListCatalogItemsCommand.d.ts +1 -0
- package/dist-types/commands/ListOrdersCommand.d.ts +1 -0
- package/dist-types/commands/ListOutpostsCommand.d.ts +1 -0
- package/dist-types/commands/ListSitesCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/StartCapacityTaskCommand.d.ts +3 -0
- package/dist-types/commands/StartConnectionCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateOutpostCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSiteAddressCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSiteCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +49 -13
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +2 -2
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";
|
|
@@ -68,6 +68,7 @@ declare const CancelCapacityTaskCommand_base: {
|
|
|
68
68
|
* @throws {@link OutpostsServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
70
70
|
*
|
|
71
|
+
*
|
|
71
72
|
* @public
|
|
72
73
|
*/
|
|
73
74
|
export declare class CancelCapacityTaskCommand extends CancelCapacityTaskCommand_base {
|
|
@@ -67,6 +67,7 @@ declare const CancelOrderCommand_base: {
|
|
|
67
67
|
* @throws {@link OutpostsServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class CancelOrderCommand extends CancelOrderCommand_base {
|
|
@@ -111,6 +111,7 @@ declare const CreateOrderCommand_base: {
|
|
|
111
111
|
* @throws {@link OutpostsServiceException}
|
|
112
112
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
113
113
|
*
|
|
114
|
+
*
|
|
114
115
|
* @public
|
|
115
116
|
*/
|
|
116
117
|
export declare class CreateOrderCommand extends CreateOrderCommand_base {
|
|
@@ -96,6 +96,7 @@ declare const CreateOutpostCommand_base: {
|
|
|
96
96
|
* @throws {@link OutpostsServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
98
98
|
*
|
|
99
|
+
*
|
|
99
100
|
* @public
|
|
100
101
|
*/
|
|
101
102
|
export declare class CreateOutpostCommand extends CreateOutpostCommand_base {
|
|
@@ -135,6 +135,7 @@ declare const CreateSiteCommand_base: {
|
|
|
135
135
|
* @throws {@link OutpostsServiceException}
|
|
136
136
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
137
137
|
*
|
|
138
|
+
*
|
|
138
139
|
* @public
|
|
139
140
|
*/
|
|
140
141
|
export declare class CreateSiteCommand extends CreateSiteCommand_base {
|
|
@@ -67,6 +67,7 @@ declare const DeleteOutpostCommand_base: {
|
|
|
67
67
|
* @throws {@link OutpostsServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class DeleteOutpostCommand extends DeleteOutpostCommand_base {
|
|
@@ -67,6 +67,7 @@ declare const DeleteSiteCommand_base: {
|
|
|
67
67
|
* @throws {@link OutpostsServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class DeleteSiteCommand extends DeleteSiteCommand_base {
|
|
@@ -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
|
|
@@ -96,6 +97,7 @@ declare const GetCapacityTaskCommand_base: {
|
|
|
96
97
|
* @throws {@link OutpostsServiceException}
|
|
97
98
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
98
99
|
*
|
|
100
|
+
*
|
|
99
101
|
* @public
|
|
100
102
|
*/
|
|
101
103
|
export declare class GetCapacityTaskCommand extends GetCapacityTaskCommand_base {
|
|
@@ -81,6 +81,7 @@ declare const GetCatalogItemCommand_base: {
|
|
|
81
81
|
* @throws {@link OutpostsServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
83
83
|
*
|
|
84
|
+
*
|
|
84
85
|
* @public
|
|
85
86
|
*/
|
|
86
87
|
export declare class GetCatalogItemCommand extends GetCatalogItemCommand_base {
|
|
@@ -86,6 +86,7 @@ declare const GetConnectionCommand_base: {
|
|
|
86
86
|
* @throws {@link OutpostsServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
88
88
|
*
|
|
89
|
+
*
|
|
89
90
|
* @public
|
|
90
91
|
*/
|
|
91
92
|
export declare class GetConnectionCommand extends GetConnectionCommand_base {
|
|
@@ -94,6 +94,7 @@ declare const GetOrderCommand_base: {
|
|
|
94
94
|
* @throws {@link OutpostsServiceException}
|
|
95
95
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
96
96
|
*
|
|
97
|
+
*
|
|
97
98
|
* @public
|
|
98
99
|
*/
|
|
99
100
|
export declare class GetOrderCommand extends GetOrderCommand_base {
|
|
@@ -81,6 +81,7 @@ declare const GetOutpostCommand_base: {
|
|
|
81
81
|
* @throws {@link OutpostsServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
83
83
|
*
|
|
84
|
+
*
|
|
84
85
|
* @public
|
|
85
86
|
*/
|
|
86
87
|
export declare class GetOutpostCommand extends GetOutpostCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const GetOutpostInstanceTypesCommand_base: {
|
|
|
76
76
|
* @throws {@link OutpostsServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class GetOutpostInstanceTypesCommand extends GetOutpostInstanceTypesCommand_base {
|
|
@@ -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
|
* };
|
|
@@ -77,6 +78,7 @@ declare const GetOutpostSupportedInstanceTypesCommand_base: {
|
|
|
77
78
|
* @throws {@link OutpostsServiceException}
|
|
78
79
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
79
80
|
*
|
|
81
|
+
*
|
|
80
82
|
* @public
|
|
81
83
|
*/
|
|
82
84
|
export declare class GetOutpostSupportedInstanceTypesCommand extends GetOutpostSupportedInstanceTypesCommand_base {
|
|
@@ -81,6 +81,7 @@ declare const GetSiteAddressCommand_base: {
|
|
|
81
81
|
* @throws {@link OutpostsServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
83
83
|
*
|
|
84
|
+
*
|
|
84
85
|
* @public
|
|
85
86
|
*/
|
|
86
87
|
export declare class GetSiteAddressCommand extends GetSiteAddressCommand_base {
|
|
@@ -90,6 +90,7 @@ declare const GetSiteCommand_base: {
|
|
|
90
90
|
* @throws {@link OutpostsServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
92
92
|
*
|
|
93
|
+
*
|
|
93
94
|
* @public
|
|
94
95
|
*/
|
|
95
96
|
export declare class GetSiteCommand extends GetSiteCommand_base {
|
|
@@ -90,6 +90,7 @@ declare const ListAssetInstancesCommand_base: {
|
|
|
90
90
|
* @throws {@link OutpostsServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
92
92
|
*
|
|
93
|
+
*
|
|
93
94
|
* @public
|
|
94
95
|
*/
|
|
95
96
|
export declare class ListAssetInstancesCommand extends ListAssetInstancesCommand_base {
|
|
@@ -101,6 +101,7 @@ declare const ListAssetsCommand_base: {
|
|
|
101
101
|
* @throws {@link OutpostsServiceException}
|
|
102
102
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
103
103
|
*
|
|
104
|
+
*
|
|
104
105
|
* @public
|
|
105
106
|
*/
|
|
106
107
|
export declare class ListAssetsCommand extends ListAssetsCommand_base {
|
|
@@ -78,6 +78,7 @@ declare const ListBlockingInstancesForCapacityTaskCommand_base: {
|
|
|
78
78
|
* @throws {@link OutpostsServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
80
80
|
*
|
|
81
|
+
*
|
|
81
82
|
* @public
|
|
82
83
|
*/
|
|
83
84
|
export declare class ListBlockingInstancesForCapacityTaskCommand extends ListBlockingInstancesForCapacityTaskCommand_base {
|
|
@@ -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"),
|
|
@@ -85,6 +86,7 @@ declare const ListCapacityTasksCommand_base: {
|
|
|
85
86
|
* @throws {@link OutpostsServiceException}
|
|
86
87
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
87
88
|
*
|
|
89
|
+
*
|
|
88
90
|
* @public
|
|
89
91
|
*/
|
|
90
92
|
export declare class ListCapacityTasksCommand extends ListCapacityTasksCommand_base {
|
|
@@ -97,6 +97,7 @@ declare const ListCatalogItemsCommand_base: {
|
|
|
97
97
|
* @throws {@link OutpostsServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
99
99
|
*
|
|
100
|
+
*
|
|
100
101
|
* @public
|
|
101
102
|
*/
|
|
102
103
|
export declare class ListCatalogItemsCommand extends ListCatalogItemsCommand_base {
|
|
@@ -81,6 +81,7 @@ declare const ListOrdersCommand_base: {
|
|
|
81
81
|
* @throws {@link OutpostsServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
83
83
|
*
|
|
84
|
+
*
|
|
84
85
|
* @public
|
|
85
86
|
*/
|
|
86
87
|
export declare class ListOrdersCommand extends ListOrdersCommand_base {
|
|
@@ -94,6 +94,7 @@ declare const ListOutpostsCommand_base: {
|
|
|
94
94
|
* @throws {@link OutpostsServiceException}
|
|
95
95
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
96
96
|
*
|
|
97
|
+
*
|
|
97
98
|
* @public
|
|
98
99
|
*/
|
|
99
100
|
export declare class ListOutpostsCommand extends ListOutpostsCommand_base {
|
|
@@ -104,6 +104,7 @@ declare const ListSitesCommand_base: {
|
|
|
104
104
|
* @throws {@link OutpostsServiceException}
|
|
105
105
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
106
106
|
*
|
|
107
|
+
*
|
|
107
108
|
* @public
|
|
108
109
|
*/
|
|
109
110
|
export declare class ListSitesCommand extends ListSitesCommand_base {
|
|
@@ -65,6 +65,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
65
65
|
* @throws {@link OutpostsServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
67
67
|
*
|
|
68
|
+
*
|
|
68
69
|
* @public
|
|
69
70
|
*/
|
|
70
71
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
@@ -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
|
|
@@ -118,6 +120,7 @@ declare const StartCapacityTaskCommand_base: {
|
|
|
118
120
|
* @throws {@link OutpostsServiceException}
|
|
119
121
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
120
122
|
*
|
|
123
|
+
*
|
|
121
124
|
* @public
|
|
122
125
|
*/
|
|
123
126
|
export declare class StartCapacityTaskCommand extends StartCapacityTaskCommand_base {
|
|
@@ -80,6 +80,7 @@ declare const StartConnectionCommand_base: {
|
|
|
80
80
|
* @throws {@link OutpostsServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class StartConnectionCommand extends StartConnectionCommand_base {
|
|
@@ -64,6 +64,7 @@ declare const TagResourceCommand_base: {
|
|
|
64
64
|
* @throws {@link OutpostsServiceException}
|
|
65
65
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
66
66
|
*
|
|
67
|
+
*
|
|
67
68
|
* @public
|
|
68
69
|
*/
|
|
69
70
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
@@ -64,6 +64,7 @@ declare const UntagResourceCommand_base: {
|
|
|
64
64
|
* @throws {@link OutpostsServiceException}
|
|
65
65
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
66
66
|
*
|
|
67
|
+
*
|
|
67
68
|
* @public
|
|
68
69
|
*/
|
|
69
70
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
@@ -87,6 +87,7 @@ declare const UpdateOutpostCommand_base: {
|
|
|
87
87
|
* @throws {@link OutpostsServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
89
89
|
*
|
|
90
|
+
*
|
|
90
91
|
* @public
|
|
91
92
|
*/
|
|
92
93
|
export declare class UpdateOutpostCommand extends UpdateOutpostCommand_base {
|
|
@@ -100,6 +100,7 @@ declare const UpdateSiteAddressCommand_base: {
|
|
|
100
100
|
* @throws {@link OutpostsServiceException}
|
|
101
101
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
102
102
|
*
|
|
103
|
+
*
|
|
103
104
|
* @public
|
|
104
105
|
*/
|
|
105
106
|
export declare class UpdateSiteAddressCommand extends UpdateSiteAddressCommand_base {
|
|
@@ -96,6 +96,7 @@ declare const UpdateSiteCommand_base: {
|
|
|
96
96
|
* @throws {@link OutpostsServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
98
98
|
*
|
|
99
|
+
*
|
|
99
100
|
* @public
|
|
100
101
|
*/
|
|
101
102
|
export declare class UpdateSiteCommand extends UpdateSiteCommand_base {
|
|
@@ -107,6 +107,7 @@ declare const UpdateSiteRackPhysicalPropertiesCommand_base: {
|
|
|
107
107
|
* @throws {@link OutpostsServiceException}
|
|
108
108
|
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
109
109
|
*
|
|
110
|
+
*
|
|
110
111
|
* @public
|
|
111
112
|
*/
|
|
112
113
|
export declare class UpdateSiteRackPhysicalPropertiesCommand extends UpdateSiteRackPhysicalPropertiesCommand_base {
|
|
@@ -191,7 +191,7 @@ export interface ComputeAttributes {
|
|
|
191
191
|
*/
|
|
192
192
|
export interface AssetInfo {
|
|
193
193
|
/**
|
|
194
|
-
* <p> The ID of the asset.
|
|
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.
|
|
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
|
-
*
|
|
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>
|
|
1545
|
-
*
|
|
1546
|
-
*
|
|
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
|
|
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.
|
|
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",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.777.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|