@aws-sdk/client-outposts 3.848.0 → 3.855.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 +8 -0
- package/dist-cjs/index.js +86 -1
- package/dist-es/Outposts.js +2 -0
- package/dist-es/commands/GetOutpostBillingInformationCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/pagination/GetOutpostBillingInformationPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +50 -1
- package/dist-types/Outposts.d.ts +7 -0
- package/dist-types/OutpostsClient.d.ts +3 -2
- package/dist-types/commands/GetCatalogItemCommand.d.ts +3 -0
- package/dist-types/commands/GetOutpostBillingInformationCommand.d.ts +98 -0
- package/dist-types/commands/ListCatalogItemsCommand.d.ts +3 -0
- package/dist-types/commands/StartCapacityTaskCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +177 -15
- package/dist-types/pagination/GetOutpostBillingInformationPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Outposts.d.ts +17 -0
- package/dist-types/ts3.4/OutpostsClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetOutpostBillingInformationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +34 -0
- package/dist-types/ts3.4/pagination/GetOutpostBillingInformationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -302,6 +302,14 @@ GetOutpost
|
|
|
302
302
|
|
|
303
303
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/outposts/command/GetOutpostCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-outposts/Interface/GetOutpostCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-outposts/Interface/GetOutpostCommandOutput/)
|
|
304
304
|
|
|
305
|
+
</details>
|
|
306
|
+
<details>
|
|
307
|
+
<summary>
|
|
308
|
+
GetOutpostBillingInformation
|
|
309
|
+
</summary>
|
|
310
|
+
|
|
311
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/outposts/command/GetOutpostBillingInformationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-outposts/Interface/GetOutpostBillingInformationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-outposts/Interface/GetOutpostBillingInformationCommandOutput/)
|
|
312
|
+
|
|
305
313
|
</details>
|
|
306
314
|
<details>
|
|
307
315
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -44,6 +44,7 @@ __export(index_exports, {
|
|
|
44
44
|
GetCatalogItemCommand: () => GetCatalogItemCommand,
|
|
45
45
|
GetConnectionCommand: () => GetConnectionCommand,
|
|
46
46
|
GetOrderCommand: () => GetOrderCommand,
|
|
47
|
+
GetOutpostBillingInformationCommand: () => GetOutpostBillingInformationCommand,
|
|
47
48
|
GetOutpostCommand: () => GetOutpostCommand,
|
|
48
49
|
GetOutpostInstanceTypesCommand: () => GetOutpostInstanceTypesCommand,
|
|
49
50
|
GetOutpostSupportedInstanceTypesCommand: () => GetOutpostSupportedInstanceTypesCommand,
|
|
@@ -79,6 +80,8 @@ __export(index_exports, {
|
|
|
79
80
|
ShipmentCarrier: () => ShipmentCarrier,
|
|
80
81
|
StartCapacityTaskCommand: () => StartCapacityTaskCommand,
|
|
81
82
|
StartConnectionCommand: () => StartConnectionCommand,
|
|
83
|
+
SubscriptionStatus: () => SubscriptionStatus,
|
|
84
|
+
SubscriptionType: () => SubscriptionType,
|
|
82
85
|
SupportedHardwareType: () => SupportedHardwareType,
|
|
83
86
|
SupportedStorageEnum: () => SupportedStorageEnum,
|
|
84
87
|
TagResourceCommand: () => TagResourceCommand,
|
|
@@ -92,6 +95,7 @@ __export(index_exports, {
|
|
|
92
95
|
UplinkGbps: () => UplinkGbps,
|
|
93
96
|
ValidationException: () => ValidationException,
|
|
94
97
|
__Client: () => import_smithy_client.Client,
|
|
98
|
+
paginateGetOutpostBillingInformation: () => paginateGetOutpostBillingInformation,
|
|
95
99
|
paginateGetOutpostInstanceTypes: () => paginateGetOutpostInstanceTypes,
|
|
96
100
|
paginateGetOutpostSupportedInstanceTypes: () => paginateGetOutpostSupportedInstanceTypes,
|
|
97
101
|
paginateListAssetInstances: () => paginateListAssetInstances,
|
|
@@ -582,6 +586,16 @@ var TaskActionOnBlockingInstances = {
|
|
|
582
586
|
FAIL_TASK: "FAIL_TASK",
|
|
583
587
|
WAIT_FOR_EVACUATION: "WAIT_FOR_EVACUATION"
|
|
584
588
|
};
|
|
589
|
+
var SubscriptionStatus = {
|
|
590
|
+
ACTIVE: "ACTIVE",
|
|
591
|
+
CANCELLED: "CANCELLED",
|
|
592
|
+
INACTIVE: "INACTIVE"
|
|
593
|
+
};
|
|
594
|
+
var SubscriptionType = {
|
|
595
|
+
CAPACITY_INCREASE: "CAPACITY_INCREASE",
|
|
596
|
+
ORIGINAL: "ORIGINAL",
|
|
597
|
+
RENEWAL: "RENEWAL"
|
|
598
|
+
};
|
|
585
599
|
|
|
586
600
|
// src/protocols/Aws_restJson1.ts
|
|
587
601
|
var se_CancelCapacityTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -727,6 +741,19 @@ var se_GetOutpostCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
727
741
|
b.m("GET").h(headers).b(body);
|
|
728
742
|
return b.build();
|
|
729
743
|
}, "se_GetOutpostCommand");
|
|
744
|
+
var se_GetOutpostBillingInformationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
745
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
746
|
+
const headers = {};
|
|
747
|
+
b.bp("/outpost/{OutpostIdentifier}/billing-information");
|
|
748
|
+
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
749
|
+
const query = (0, import_smithy_client.map)({
|
|
750
|
+
[_NT]: [, input[_NT]],
|
|
751
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
752
|
+
});
|
|
753
|
+
let body;
|
|
754
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
755
|
+
return b.build();
|
|
756
|
+
}, "se_GetOutpostBillingInformationCommand");
|
|
730
757
|
var se_GetOutpostInstanceTypesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
731
758
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
732
759
|
const headers = {};
|
|
@@ -1212,6 +1239,22 @@ var de_GetOutpostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1212
1239
|
Object.assign(contents, doc);
|
|
1213
1240
|
return contents;
|
|
1214
1241
|
}, "de_GetOutpostCommand");
|
|
1242
|
+
var de_GetOutpostBillingInformationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1243
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1244
|
+
return de_CommandError(output, context);
|
|
1245
|
+
}
|
|
1246
|
+
const contents = (0, import_smithy_client.map)({
|
|
1247
|
+
$metadata: deserializeMetadata(output)
|
|
1248
|
+
});
|
|
1249
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1250
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1251
|
+
ContractEndDate: import_smithy_client.expectString,
|
|
1252
|
+
NextToken: import_smithy_client.expectString,
|
|
1253
|
+
Subscriptions: /* @__PURE__ */ __name((_) => de_SubscriptionList(_, context), "Subscriptions")
|
|
1254
|
+
});
|
|
1255
|
+
Object.assign(contents, doc);
|
|
1256
|
+
return contents;
|
|
1257
|
+
}, "de_GetOutpostBillingInformationCommand");
|
|
1215
1258
|
var de_GetOutpostInstanceTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1216
1259
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1217
1260
|
return de_CommandError(output, context);
|
|
@@ -1726,6 +1769,24 @@ var de_OrderSummaryListDefinition = /* @__PURE__ */ __name((output, context) =>
|
|
|
1726
1769
|
});
|
|
1727
1770
|
return retVal;
|
|
1728
1771
|
}, "de_OrderSummaryListDefinition");
|
|
1772
|
+
var de_Subscription = /* @__PURE__ */ __name((output, context) => {
|
|
1773
|
+
return (0, import_smithy_client.take)(output, {
|
|
1774
|
+
BeginDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "BeginDate"),
|
|
1775
|
+
EndDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndDate"),
|
|
1776
|
+
MonthlyRecurringPrice: import_smithy_client.limitedParseDouble,
|
|
1777
|
+
OrderIds: import_smithy_client._json,
|
|
1778
|
+
SubscriptionId: import_smithy_client.expectString,
|
|
1779
|
+
SubscriptionStatus: import_smithy_client.expectString,
|
|
1780
|
+
SubscriptionType: import_smithy_client.expectString,
|
|
1781
|
+
UpfrontPrice: import_smithy_client.limitedParseDouble
|
|
1782
|
+
});
|
|
1783
|
+
}, "de_Subscription");
|
|
1784
|
+
var de_SubscriptionList = /* @__PURE__ */ __name((output, context) => {
|
|
1785
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1786
|
+
return de_Subscription(entry, context);
|
|
1787
|
+
});
|
|
1788
|
+
return retVal;
|
|
1789
|
+
}, "de_SubscriptionList");
|
|
1729
1790
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1730
1791
|
httpStatusCode: output.statusCode,
|
|
1731
1792
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -1919,6 +1980,21 @@ var GetOrderCommand = class extends import_smithy_client.Command.classBuilder().
|
|
|
1919
1980
|
}
|
|
1920
1981
|
};
|
|
1921
1982
|
|
|
1983
|
+
// src/commands/GetOutpostBillingInformationCommand.ts
|
|
1984
|
+
|
|
1985
|
+
|
|
1986
|
+
|
|
1987
|
+
var GetOutpostBillingInformationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1988
|
+
return [
|
|
1989
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1990
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1991
|
+
];
|
|
1992
|
+
}).s("OutpostsOlafService", "GetOutpostBillingInformation", {}).n("OutpostsClient", "GetOutpostBillingInformationCommand").f(void 0, void 0).ser(se_GetOutpostBillingInformationCommand).de(de_GetOutpostBillingInformationCommand).build() {
|
|
1993
|
+
static {
|
|
1994
|
+
__name(this, "GetOutpostBillingInformationCommand");
|
|
1995
|
+
}
|
|
1996
|
+
};
|
|
1997
|
+
|
|
1922
1998
|
// src/commands/GetOutpostCommand.ts
|
|
1923
1999
|
|
|
1924
2000
|
|
|
@@ -2263,6 +2339,7 @@ var commands = {
|
|
|
2263
2339
|
GetConnectionCommand,
|
|
2264
2340
|
GetOrderCommand,
|
|
2265
2341
|
GetOutpostCommand,
|
|
2342
|
+
GetOutpostBillingInformationCommand,
|
|
2266
2343
|
GetOutpostInstanceTypesCommand,
|
|
2267
2344
|
GetOutpostSupportedInstanceTypesCommand,
|
|
2268
2345
|
GetSiteCommand,
|
|
@@ -2292,6 +2369,10 @@ var Outposts = class extends OutpostsClient {
|
|
|
2292
2369
|
};
|
|
2293
2370
|
(0, import_smithy_client.createAggregatedClient)(commands, Outposts);
|
|
2294
2371
|
|
|
2372
|
+
// src/pagination/GetOutpostBillingInformationPaginator.ts
|
|
2373
|
+
|
|
2374
|
+
var paginateGetOutpostBillingInformation = (0, import_core.createPaginator)(OutpostsClient, GetOutpostBillingInformationCommand, "NextToken", "NextToken", "MaxResults");
|
|
2375
|
+
|
|
2295
2376
|
// src/pagination/GetOutpostInstanceTypesPaginator.ts
|
|
2296
2377
|
|
|
2297
2378
|
var paginateGetOutpostInstanceTypes = (0, import_core.createPaginator)(OutpostsClient, GetOutpostInstanceTypesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -2350,6 +2431,7 @@ var paginateListSites = (0, import_core.createPaginator)(OutpostsClient, ListSit
|
|
|
2350
2431
|
GetCatalogItemCommand,
|
|
2351
2432
|
GetConnectionCommand,
|
|
2352
2433
|
GetOrderCommand,
|
|
2434
|
+
GetOutpostBillingInformationCommand,
|
|
2353
2435
|
GetOutpostCommand,
|
|
2354
2436
|
GetOutpostInstanceTypesCommand,
|
|
2355
2437
|
GetOutpostSupportedInstanceTypesCommand,
|
|
@@ -2372,6 +2454,7 @@ var paginateListSites = (0, import_core.createPaginator)(OutpostsClient, ListSit
|
|
|
2372
2454
|
UpdateSiteAddressCommand,
|
|
2373
2455
|
UpdateSiteCommand,
|
|
2374
2456
|
UpdateSiteRackPhysicalPropertiesCommand,
|
|
2457
|
+
paginateGetOutpostBillingInformation,
|
|
2375
2458
|
paginateGetOutpostInstanceTypes,
|
|
2376
2459
|
paginateGetOutpostSupportedInstanceTypes,
|
|
2377
2460
|
paginateListAssetInstances,
|
|
@@ -2415,6 +2498,8 @@ var paginateListSites = (0, import_core.createPaginator)(OutpostsClient, ListSit
|
|
|
2415
2498
|
PowerPhase,
|
|
2416
2499
|
UplinkCount,
|
|
2417
2500
|
UplinkGbps,
|
|
2418
|
-
TaskActionOnBlockingInstances
|
|
2501
|
+
TaskActionOnBlockingInstances,
|
|
2502
|
+
SubscriptionStatus,
|
|
2503
|
+
SubscriptionType
|
|
2419
2504
|
});
|
|
2420
2505
|
|
package/dist-es/Outposts.js
CHANGED
|
@@ -10,6 +10,7 @@ import { GetCapacityTaskCommand, } from "./commands/GetCapacityTaskCommand";
|
|
|
10
10
|
import { GetCatalogItemCommand, } from "./commands/GetCatalogItemCommand";
|
|
11
11
|
import { GetConnectionCommand, } from "./commands/GetConnectionCommand";
|
|
12
12
|
import { GetOrderCommand } from "./commands/GetOrderCommand";
|
|
13
|
+
import { GetOutpostBillingInformationCommand, } from "./commands/GetOutpostBillingInformationCommand";
|
|
13
14
|
import { GetOutpostCommand } from "./commands/GetOutpostCommand";
|
|
14
15
|
import { GetOutpostInstanceTypesCommand, } from "./commands/GetOutpostInstanceTypesCommand";
|
|
15
16
|
import { GetOutpostSupportedInstanceTypesCommand, } from "./commands/GetOutpostSupportedInstanceTypesCommand";
|
|
@@ -46,6 +47,7 @@ const commands = {
|
|
|
46
47
|
GetConnectionCommand,
|
|
47
48
|
GetOrderCommand,
|
|
48
49
|
GetOutpostCommand,
|
|
50
|
+
GetOutpostBillingInformationCommand,
|
|
49
51
|
GetOutpostInstanceTypesCommand,
|
|
50
52
|
GetOutpostSupportedInstanceTypesCommand,
|
|
51
53
|
GetSiteCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetOutpostBillingInformationCommand, se_GetOutpostBillingInformationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetOutpostBillingInformationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("OutpostsOlafService", "GetOutpostBillingInformation", {})
|
|
17
|
+
.n("OutpostsClient", "GetOutpostBillingInformationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetOutpostBillingInformationCommand)
|
|
20
|
+
.de(de_GetOutpostBillingInformationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -9,6 +9,7 @@ export * from "./GetCapacityTaskCommand";
|
|
|
9
9
|
export * from "./GetCatalogItemCommand";
|
|
10
10
|
export * from "./GetConnectionCommand";
|
|
11
11
|
export * from "./GetOrderCommand";
|
|
12
|
+
export * from "./GetOutpostBillingInformationCommand";
|
|
12
13
|
export * from "./GetOutpostCommand";
|
|
13
14
|
export * from "./GetOutpostInstanceTypesCommand";
|
|
14
15
|
export * from "./GetOutpostSupportedInstanceTypesCommand";
|
|
@@ -262,3 +262,13 @@ export const TaskActionOnBlockingInstances = {
|
|
|
262
262
|
FAIL_TASK: "FAIL_TASK",
|
|
263
263
|
WAIT_FOR_EVACUATION: "WAIT_FOR_EVACUATION",
|
|
264
264
|
};
|
|
265
|
+
export const SubscriptionStatus = {
|
|
266
|
+
ACTIVE: "ACTIVE",
|
|
267
|
+
CANCELLED: "CANCELLED",
|
|
268
|
+
INACTIVE: "INACTIVE",
|
|
269
|
+
};
|
|
270
|
+
export const SubscriptionType = {
|
|
271
|
+
CAPACITY_INCREASE: "CAPACITY_INCREASE",
|
|
272
|
+
ORIGINAL: "ORIGINAL",
|
|
273
|
+
RENEWAL: "RENEWAL",
|
|
274
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { GetOutpostBillingInformationCommand, } from "../commands/GetOutpostBillingInformationCommand";
|
|
3
|
+
import { OutpostsClient } from "../OutpostsClient";
|
|
4
|
+
export const paginateGetOutpostBillingInformation = createPaginator(OutpostsClient, GetOutpostBillingInformationCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, NotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { OutpostsServiceException as __BaseException } from "../models/OutpostsServiceException";
|
|
6
6
|
export const se_CancelCapacityTaskCommand = async (input, context) => {
|
|
@@ -140,6 +140,19 @@ export const se_GetOutpostCommand = async (input, context) => {
|
|
|
140
140
|
b.m("GET").h(headers).b(body);
|
|
141
141
|
return b.build();
|
|
142
142
|
};
|
|
143
|
+
export const se_GetOutpostBillingInformationCommand = async (input, context) => {
|
|
144
|
+
const b = rb(input, context);
|
|
145
|
+
const headers = {};
|
|
146
|
+
b.bp("/outpost/{OutpostIdentifier}/billing-information");
|
|
147
|
+
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
148
|
+
const query = map({
|
|
149
|
+
[_NT]: [, input[_NT]],
|
|
150
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
151
|
+
});
|
|
152
|
+
let body;
|
|
153
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
154
|
+
return b.build();
|
|
155
|
+
};
|
|
143
156
|
export const se_GetOutpostInstanceTypesCommand = async (input, context) => {
|
|
144
157
|
const b = rb(input, context);
|
|
145
158
|
const headers = {};
|
|
@@ -611,6 +624,22 @@ export const de_GetOutpostCommand = async (output, context) => {
|
|
|
611
624
|
Object.assign(contents, doc);
|
|
612
625
|
return contents;
|
|
613
626
|
};
|
|
627
|
+
export const de_GetOutpostBillingInformationCommand = async (output, context) => {
|
|
628
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
629
|
+
return de_CommandError(output, context);
|
|
630
|
+
}
|
|
631
|
+
const contents = map({
|
|
632
|
+
$metadata: deserializeMetadata(output),
|
|
633
|
+
});
|
|
634
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
635
|
+
const doc = take(data, {
|
|
636
|
+
ContractEndDate: __expectString,
|
|
637
|
+
NextToken: __expectString,
|
|
638
|
+
Subscriptions: (_) => de_SubscriptionList(_, context),
|
|
639
|
+
});
|
|
640
|
+
Object.assign(contents, doc);
|
|
641
|
+
return contents;
|
|
642
|
+
};
|
|
614
643
|
export const de_GetOutpostInstanceTypesCommand = async (output, context) => {
|
|
615
644
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
616
645
|
return de_CommandError(output, context);
|
|
@@ -1133,6 +1162,26 @@ const de_OrderSummaryListDefinition = (output, context) => {
|
|
|
1133
1162
|
});
|
|
1134
1163
|
return retVal;
|
|
1135
1164
|
};
|
|
1165
|
+
const de_Subscription = (output, context) => {
|
|
1166
|
+
return take(output, {
|
|
1167
|
+
BeginDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1168
|
+
EndDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1169
|
+
MonthlyRecurringPrice: __limitedParseDouble,
|
|
1170
|
+
OrderIds: _json,
|
|
1171
|
+
SubscriptionId: __expectString,
|
|
1172
|
+
SubscriptionStatus: __expectString,
|
|
1173
|
+
SubscriptionType: __expectString,
|
|
1174
|
+
UpfrontPrice: __limitedParseDouble,
|
|
1175
|
+
});
|
|
1176
|
+
};
|
|
1177
|
+
const de_SubscriptionList = (output, context) => {
|
|
1178
|
+
const retVal = (output || [])
|
|
1179
|
+
.filter((e) => e != null)
|
|
1180
|
+
.map((entry) => {
|
|
1181
|
+
return de_Subscription(entry, context);
|
|
1182
|
+
});
|
|
1183
|
+
return retVal;
|
|
1184
|
+
};
|
|
1136
1185
|
const deserializeMetadata = (output) => ({
|
|
1137
1186
|
httpStatusCode: output.statusCode,
|
|
1138
1187
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
package/dist-types/Outposts.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { GetCapacityTaskCommandInput, GetCapacityTaskCommandOutput } from "./com
|
|
|
10
10
|
import { GetCatalogItemCommandInput, GetCatalogItemCommandOutput } from "./commands/GetCatalogItemCommand";
|
|
11
11
|
import { GetConnectionCommandInput, GetConnectionCommandOutput } from "./commands/GetConnectionCommand";
|
|
12
12
|
import { GetOrderCommandInput, GetOrderCommandOutput } from "./commands/GetOrderCommand";
|
|
13
|
+
import { GetOutpostBillingInformationCommandInput, GetOutpostBillingInformationCommandOutput } from "./commands/GetOutpostBillingInformationCommand";
|
|
13
14
|
import { GetOutpostCommandInput, GetOutpostCommandOutput } from "./commands/GetOutpostCommand";
|
|
14
15
|
import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput } from "./commands/GetOutpostInstanceTypesCommand";
|
|
15
16
|
import { GetOutpostSupportedInstanceTypesCommandInput, GetOutpostSupportedInstanceTypesCommandOutput } from "./commands/GetOutpostSupportedInstanceTypesCommand";
|
|
@@ -106,6 +107,12 @@ export interface Outposts {
|
|
|
106
107
|
getOutpost(args: GetOutpostCommandInput, options?: __HttpHandlerOptions): Promise<GetOutpostCommandOutput>;
|
|
107
108
|
getOutpost(args: GetOutpostCommandInput, cb: (err: any, data?: GetOutpostCommandOutput) => void): void;
|
|
108
109
|
getOutpost(args: GetOutpostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOutpostCommandOutput) => void): void;
|
|
110
|
+
/**
|
|
111
|
+
* @see {@link GetOutpostBillingInformationCommand}
|
|
112
|
+
*/
|
|
113
|
+
getOutpostBillingInformation(args: GetOutpostBillingInformationCommandInput, options?: __HttpHandlerOptions): Promise<GetOutpostBillingInformationCommandOutput>;
|
|
114
|
+
getOutpostBillingInformation(args: GetOutpostBillingInformationCommandInput, cb: (err: any, data?: GetOutpostBillingInformationCommandOutput) => void): void;
|
|
115
|
+
getOutpostBillingInformation(args: GetOutpostBillingInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOutpostBillingInformationCommandOutput) => void): void;
|
|
109
116
|
/**
|
|
110
117
|
* @see {@link GetOutpostInstanceTypesCommand}
|
|
111
118
|
*/
|
|
@@ -18,6 +18,7 @@ import { GetCapacityTaskCommandInput, GetCapacityTaskCommandOutput } from "./com
|
|
|
18
18
|
import { GetCatalogItemCommandInput, GetCatalogItemCommandOutput } from "./commands/GetCatalogItemCommand";
|
|
19
19
|
import { GetConnectionCommandInput, GetConnectionCommandOutput } from "./commands/GetConnectionCommand";
|
|
20
20
|
import { GetOrderCommandInput, GetOrderCommandOutput } from "./commands/GetOrderCommand";
|
|
21
|
+
import { GetOutpostBillingInformationCommandInput, GetOutpostBillingInformationCommandOutput } from "./commands/GetOutpostBillingInformationCommand";
|
|
21
22
|
import { GetOutpostCommandInput, GetOutpostCommandOutput } from "./commands/GetOutpostCommand";
|
|
22
23
|
import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput } from "./commands/GetOutpostInstanceTypesCommand";
|
|
23
24
|
import { GetOutpostSupportedInstanceTypesCommandInput, GetOutpostSupportedInstanceTypesCommandOutput } from "./commands/GetOutpostSupportedInstanceTypesCommand";
|
|
@@ -46,11 +47,11 @@ export { __Client };
|
|
|
46
47
|
/**
|
|
47
48
|
* @public
|
|
48
49
|
*/
|
|
49
|
-
export type ServiceInputTypes = CancelCapacityTaskCommandInput | CancelOrderCommandInput | CreateOrderCommandInput | CreateOutpostCommandInput | CreateSiteCommandInput | DeleteOutpostCommandInput | DeleteSiteCommandInput | GetCapacityTaskCommandInput | GetCatalogItemCommandInput | GetConnectionCommandInput | GetOrderCommandInput | GetOutpostCommandInput | GetOutpostInstanceTypesCommandInput | GetOutpostSupportedInstanceTypesCommandInput | GetSiteAddressCommandInput | GetSiteCommandInput | ListAssetInstancesCommandInput | ListAssetsCommandInput | ListBlockingInstancesForCapacityTaskCommandInput | ListCapacityTasksCommandInput | ListCatalogItemsCommandInput | ListOrdersCommandInput | ListOutpostsCommandInput | ListSitesCommandInput | ListTagsForResourceCommandInput | StartCapacityTaskCommandInput | StartConnectionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOutpostCommandInput | UpdateSiteAddressCommandInput | UpdateSiteCommandInput | UpdateSiteRackPhysicalPropertiesCommandInput;
|
|
50
|
+
export type ServiceInputTypes = CancelCapacityTaskCommandInput | CancelOrderCommandInput | CreateOrderCommandInput | CreateOutpostCommandInput | CreateSiteCommandInput | DeleteOutpostCommandInput | DeleteSiteCommandInput | GetCapacityTaskCommandInput | GetCatalogItemCommandInput | GetConnectionCommandInput | GetOrderCommandInput | GetOutpostBillingInformationCommandInput | GetOutpostCommandInput | GetOutpostInstanceTypesCommandInput | GetOutpostSupportedInstanceTypesCommandInput | GetSiteAddressCommandInput | GetSiteCommandInput | ListAssetInstancesCommandInput | ListAssetsCommandInput | ListBlockingInstancesForCapacityTaskCommandInput | ListCapacityTasksCommandInput | ListCatalogItemsCommandInput | ListOrdersCommandInput | ListOutpostsCommandInput | ListSitesCommandInput | ListTagsForResourceCommandInput | StartCapacityTaskCommandInput | StartConnectionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOutpostCommandInput | UpdateSiteAddressCommandInput | UpdateSiteCommandInput | UpdateSiteRackPhysicalPropertiesCommandInput;
|
|
50
51
|
/**
|
|
51
52
|
* @public
|
|
52
53
|
*/
|
|
53
|
-
export type ServiceOutputTypes = CancelCapacityTaskCommandOutput | CancelOrderCommandOutput | CreateOrderCommandOutput | CreateOutpostCommandOutput | CreateSiteCommandOutput | DeleteOutpostCommandOutput | DeleteSiteCommandOutput | GetCapacityTaskCommandOutput | GetCatalogItemCommandOutput | GetConnectionCommandOutput | GetOrderCommandOutput | GetOutpostCommandOutput | GetOutpostInstanceTypesCommandOutput | GetOutpostSupportedInstanceTypesCommandOutput | GetSiteAddressCommandOutput | GetSiteCommandOutput | ListAssetInstancesCommandOutput | ListAssetsCommandOutput | ListBlockingInstancesForCapacityTaskCommandOutput | ListCapacityTasksCommandOutput | ListCatalogItemsCommandOutput | ListOrdersCommandOutput | ListOutpostsCommandOutput | ListSitesCommandOutput | ListTagsForResourceCommandOutput | StartCapacityTaskCommandOutput | StartConnectionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOutpostCommandOutput | UpdateSiteAddressCommandOutput | UpdateSiteCommandOutput | UpdateSiteRackPhysicalPropertiesCommandOutput;
|
|
54
|
+
export type ServiceOutputTypes = CancelCapacityTaskCommandOutput | CancelOrderCommandOutput | CreateOrderCommandOutput | CreateOutpostCommandOutput | CreateSiteCommandOutput | DeleteOutpostCommandOutput | DeleteSiteCommandOutput | GetCapacityTaskCommandOutput | GetCatalogItemCommandOutput | GetConnectionCommandOutput | GetOrderCommandOutput | GetOutpostBillingInformationCommandOutput | GetOutpostCommandOutput | GetOutpostInstanceTypesCommandOutput | GetOutpostSupportedInstanceTypesCommandOutput | GetSiteAddressCommandOutput | GetSiteCommandOutput | ListAssetInstancesCommandOutput | ListAssetsCommandOutput | ListBlockingInstancesForCapacityTaskCommandOutput | ListCapacityTasksCommandOutput | ListCatalogItemsCommandOutput | ListOrdersCommandOutput | ListOutpostsCommandOutput | ListSitesCommandOutput | ListTagsForResourceCommandOutput | StartCapacityTaskCommandOutput | StartConnectionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOutpostCommandOutput | UpdateSiteAddressCommandOutput | UpdateSiteCommandOutput | UpdateSiteRackPhysicalPropertiesCommandOutput;
|
|
54
55
|
/**
|
|
55
56
|
* @public
|
|
56
57
|
*/
|
|
@@ -69,6 +69,9 @@ declare const GetCatalogItemCommand_base: {
|
|
|
69
69
|
* @see {@link GetCatalogItemCommandOutput} for command's `response` shape.
|
|
70
70
|
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
71
71
|
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>You do not have permission to perform this operation.</p>
|
|
74
|
+
*
|
|
72
75
|
* @throws {@link InternalServerException} (server fault)
|
|
73
76
|
* <p>An internal error has occurred.</p>
|
|
74
77
|
*
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetOutpostBillingInformationInput, GetOutpostBillingInformationOutput } from "../models/models_0";
|
|
4
|
+
import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetOutpostBillingInformationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetOutpostBillingInformationCommandInput extends GetOutpostBillingInformationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetOutpostBillingInformationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetOutpostBillingInformationCommandOutput extends GetOutpostBillingInformationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetOutpostBillingInformationCommand_base: {
|
|
25
|
+
new (input: GetOutpostBillingInformationCommandInput): import("@smithy/smithy-client").CommandImpl<GetOutpostBillingInformationCommandInput, GetOutpostBillingInformationCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetOutpostBillingInformationCommandInput): import("@smithy/smithy-client").CommandImpl<GetOutpostBillingInformationCommandInput, GetOutpostBillingInformationCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets current and historical billing information about the specified Outpost.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { OutpostsClient, GetOutpostBillingInformationCommand } from "@aws-sdk/client-outposts"; // ES Modules import
|
|
35
|
+
* // const { OutpostsClient, GetOutpostBillingInformationCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
|
|
36
|
+
* const client = new OutpostsClient(config);
|
|
37
|
+
* const input = { // GetOutpostBillingInformationInput
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* OutpostIdentifier: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetOutpostBillingInformationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetOutpostBillingInformationOutput
|
|
45
|
+
* // NextToken: "STRING_VALUE",
|
|
46
|
+
* // Subscriptions: [ // SubscriptionList
|
|
47
|
+
* // { // Subscription
|
|
48
|
+
* // SubscriptionId: "STRING_VALUE",
|
|
49
|
+
* // SubscriptionType: "ORIGINAL" || "RENEWAL" || "CAPACITY_INCREASE",
|
|
50
|
+
* // SubscriptionStatus: "ACTIVE" || "INACTIVE" || "CANCELLED",
|
|
51
|
+
* // OrderIds: [ // OrderIdList
|
|
52
|
+
* // "STRING_VALUE",
|
|
53
|
+
* // ],
|
|
54
|
+
* // BeginDate: new Date("TIMESTAMP"),
|
|
55
|
+
* // EndDate: new Date("TIMESTAMP"),
|
|
56
|
+
* // MonthlyRecurringPrice: Number("double"),
|
|
57
|
+
* // UpfrontPrice: Number("double"),
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // ContractEndDate: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param GetOutpostBillingInformationCommandInput - {@link GetOutpostBillingInformationCommandInput}
|
|
66
|
+
* @returns {@link GetOutpostBillingInformationCommandOutput}
|
|
67
|
+
* @see {@link GetOutpostBillingInformationCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link GetOutpostBillingInformationCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>You do not have permission to perform this operation.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>An internal error has occurred.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link NotFoundException} (client fault)
|
|
78
|
+
* <p>The specified request is not valid.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link OutpostsServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class GetOutpostBillingInformationCommand extends GetOutpostBillingInformationCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: GetOutpostBillingInformationInput;
|
|
91
|
+
output: GetOutpostBillingInformationOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: GetOutpostBillingInformationCommandInput;
|
|
95
|
+
output: GetOutpostBillingInformationCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -85,6 +85,9 @@ declare const ListCatalogItemsCommand_base: {
|
|
|
85
85
|
* @see {@link ListCatalogItemsCommandOutput} for command's `response` shape.
|
|
86
86
|
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
87
87
|
*
|
|
88
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
89
|
+
* <p>You do not have permission to perform this operation.</p>
|
|
90
|
+
*
|
|
88
91
|
* @throws {@link InternalServerException} (server fault)
|
|
89
92
|
* <p>An internal error has occurred.</p>
|
|
90
93
|
*
|
|
@@ -27,7 +27,8 @@ declare const StartCapacityTaskCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Starts the specified capacity task. You can have one active capacity task for each order
|
|
30
|
+
* <p>Starts the specified capacity task. You can have one active capacity task for each order
|
|
31
|
+
* and each Outpost.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -9,6 +9,7 @@ export * from "./GetCapacityTaskCommand";
|
|
|
9
9
|
export * from "./GetCatalogItemCommand";
|
|
10
10
|
export * from "./GetConnectionCommand";
|
|
11
11
|
export * from "./GetOrderCommand";
|
|
12
|
+
export * from "./GetOutpostBillingInformationCommand";
|
|
12
13
|
export * from "./GetOutpostCommand";
|
|
13
14
|
export * from "./GetOutpostInstanceTypesCommand";
|
|
14
15
|
export * from "./GetOutpostSupportedInstanceTypesCommand";
|
|
@@ -191,7 +191,8 @@ export interface ComputeAttributes {
|
|
|
191
191
|
*/
|
|
192
192
|
export interface AssetInfo {
|
|
193
193
|
/**
|
|
194
|
-
* <p> The ID of the asset. An Outpost asset can be a single server within an Outposts rack or
|
|
194
|
+
* <p> The ID of the asset. An Outpost asset can be a single server within an Outposts rack or
|
|
195
|
+
* an Outposts server configuration.</p>
|
|
195
196
|
* @public
|
|
196
197
|
*/
|
|
197
198
|
AssetId?: string | undefined;
|
|
@@ -248,7 +249,8 @@ export interface AssetInstance {
|
|
|
248
249
|
*/
|
|
249
250
|
InstanceType?: string | undefined;
|
|
250
251
|
/**
|
|
251
|
-
* <p>The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an
|
|
252
|
+
* <p>The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an
|
|
253
|
+
* Outposts server configuration.</p>
|
|
252
254
|
* @public
|
|
253
255
|
*/
|
|
254
256
|
AssetId?: string | undefined;
|
|
@@ -476,7 +478,8 @@ export interface CapacityTaskSummary {
|
|
|
476
478
|
*/
|
|
477
479
|
OrderId?: string | undefined;
|
|
478
480
|
/**
|
|
479
|
-
* <p>The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an
|
|
481
|
+
* <p>The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an
|
|
482
|
+
* Outposts server configuration.</p>
|
|
480
483
|
* @public
|
|
481
484
|
*/
|
|
482
485
|
AssetId?: string | undefined;
|
|
@@ -708,7 +711,8 @@ export interface CreateOrderInput {
|
|
|
708
711
|
*/
|
|
709
712
|
export interface LineItemAssetInformation {
|
|
710
713
|
/**
|
|
711
|
-
* <p> The ID of the asset. An Outpost asset can be a single server within an Outposts rack or
|
|
714
|
+
* <p> The ID of the asset. An Outpost asset can be a single server within an Outposts rack or
|
|
715
|
+
* an Outposts server configuration.</p>
|
|
712
716
|
* @public
|
|
713
717
|
*/
|
|
714
718
|
AssetId?: string | undefined;
|
|
@@ -1515,7 +1519,8 @@ export interface GetCapacityTaskOutput {
|
|
|
1515
1519
|
*/
|
|
1516
1520
|
OrderId?: string | undefined;
|
|
1517
1521
|
/**
|
|
1518
|
-
* <p>The ID of the Outpost asset. An Outpost asset can be a single server within an Outposts
|
|
1522
|
+
* <p>The ID of the Outpost asset. An Outpost asset can be a single server within an Outposts
|
|
1523
|
+
* rack or an Outposts server configuration.</p>
|
|
1519
1524
|
* @public
|
|
1520
1525
|
*/
|
|
1521
1526
|
AssetId?: string | undefined;
|
|
@@ -1546,7 +1551,8 @@ export interface GetCapacityTaskOutput {
|
|
|
1546
1551
|
* </li>
|
|
1547
1552
|
* <li>
|
|
1548
1553
|
* <p>
|
|
1549
|
-
* <code>IN_PROGRESS</code> - The capacity task is running and cannot be
|
|
1554
|
+
* <code>IN_PROGRESS</code> - The capacity task is running and cannot be
|
|
1555
|
+
* cancelled.</p>
|
|
1550
1556
|
* </li>
|
|
1551
1557
|
* <li>
|
|
1552
1558
|
* <p>
|
|
@@ -1558,11 +1564,14 @@ export interface GetCapacityTaskOutput {
|
|
|
1558
1564
|
* </li>
|
|
1559
1565
|
* <li>
|
|
1560
1566
|
* <p>
|
|
1561
|
-
* <code>WAITING_FOR_EVACUATION</code> - The capacity task requires capacity to run. You
|
|
1567
|
+
* <code>WAITING_FOR_EVACUATION</code> - The capacity task requires capacity to run. You
|
|
1568
|
+
* must stop the recommended EC2 running instances to free up capacity for the task to
|
|
1569
|
+
* run.</p>
|
|
1562
1570
|
* </li>
|
|
1563
1571
|
* <li>
|
|
1564
1572
|
* <p>
|
|
1565
|
-
* <code>CANCELLATION_IN_PROGRESS</code> - The capacity task has been cancelled and is in
|
|
1573
|
+
* <code>CANCELLATION_IN_PROGRESS</code> - The capacity task has been cancelled and is in
|
|
1574
|
+
* the process of cleaning up resources.</p>
|
|
1566
1575
|
* </li>
|
|
1567
1576
|
* <li>
|
|
1568
1577
|
* <p>
|
|
@@ -1680,7 +1689,7 @@ export interface GetOrderOutput {
|
|
|
1680
1689
|
*/
|
|
1681
1690
|
export interface GetOutpostInput {
|
|
1682
1691
|
/**
|
|
1683
|
-
* <p>
|
|
1692
|
+
* <p>The ID or ARN of the Outpost.</p>
|
|
1684
1693
|
* @public
|
|
1685
1694
|
*/
|
|
1686
1695
|
OutpostId: string | undefined;
|
|
@@ -1695,6 +1704,153 @@ export interface GetOutpostOutput {
|
|
|
1695
1704
|
*/
|
|
1696
1705
|
Outpost?: Outpost | undefined;
|
|
1697
1706
|
}
|
|
1707
|
+
/**
|
|
1708
|
+
* @public
|
|
1709
|
+
*/
|
|
1710
|
+
export interface GetOutpostBillingInformationInput {
|
|
1711
|
+
/**
|
|
1712
|
+
* <p>The pagination token.</p>
|
|
1713
|
+
* @public
|
|
1714
|
+
*/
|
|
1715
|
+
NextToken?: string | undefined;
|
|
1716
|
+
/**
|
|
1717
|
+
* <p>The maximum page size.</p>
|
|
1718
|
+
* @public
|
|
1719
|
+
*/
|
|
1720
|
+
MaxResults?: number | undefined;
|
|
1721
|
+
/**
|
|
1722
|
+
* <p>The ID or ARN of the Outpost.</p>
|
|
1723
|
+
* @public
|
|
1724
|
+
*/
|
|
1725
|
+
OutpostIdentifier: string | undefined;
|
|
1726
|
+
}
|
|
1727
|
+
/**
|
|
1728
|
+
* @public
|
|
1729
|
+
* @enum
|
|
1730
|
+
*/
|
|
1731
|
+
export declare const SubscriptionStatus: {
|
|
1732
|
+
readonly ACTIVE: "ACTIVE";
|
|
1733
|
+
readonly CANCELLED: "CANCELLED";
|
|
1734
|
+
readonly INACTIVE: "INACTIVE";
|
|
1735
|
+
};
|
|
1736
|
+
/**
|
|
1737
|
+
* @public
|
|
1738
|
+
*/
|
|
1739
|
+
export type SubscriptionStatus = (typeof SubscriptionStatus)[keyof typeof SubscriptionStatus];
|
|
1740
|
+
/**
|
|
1741
|
+
* @public
|
|
1742
|
+
* @enum
|
|
1743
|
+
*/
|
|
1744
|
+
export declare const SubscriptionType: {
|
|
1745
|
+
readonly CAPACITY_INCREASE: "CAPACITY_INCREASE";
|
|
1746
|
+
readonly ORIGINAL: "ORIGINAL";
|
|
1747
|
+
readonly RENEWAL: "RENEWAL";
|
|
1748
|
+
};
|
|
1749
|
+
/**
|
|
1750
|
+
* @public
|
|
1751
|
+
*/
|
|
1752
|
+
export type SubscriptionType = (typeof SubscriptionType)[keyof typeof SubscriptionType];
|
|
1753
|
+
/**
|
|
1754
|
+
* <p>Provides information about your Amazon Web Services Outposts subscriptions.</p>
|
|
1755
|
+
* @public
|
|
1756
|
+
*/
|
|
1757
|
+
export interface Subscription {
|
|
1758
|
+
/**
|
|
1759
|
+
* <p>The ID of the subscription that appears on the Amazon Web Services Billing Center console.</p>
|
|
1760
|
+
* @public
|
|
1761
|
+
*/
|
|
1762
|
+
SubscriptionId?: string | undefined;
|
|
1763
|
+
/**
|
|
1764
|
+
* <p>The type of subscription which can be one of the following:</p>
|
|
1765
|
+
* <ul>
|
|
1766
|
+
* <li>
|
|
1767
|
+
* <p>
|
|
1768
|
+
* <b>ORIGINAL</b> - The first order on the Amazon Web Services Outposts.</p>
|
|
1769
|
+
* </li>
|
|
1770
|
+
* <li>
|
|
1771
|
+
* <p>
|
|
1772
|
+
* <b>RENEWAL</b> - Renewal requests, both month to month and
|
|
1773
|
+
* longer term.</p>
|
|
1774
|
+
* </li>
|
|
1775
|
+
* <li>
|
|
1776
|
+
* <p>
|
|
1777
|
+
* <b>CAPACITY_INCREASE</b> - Capacity scaling orders.</p>
|
|
1778
|
+
* </li>
|
|
1779
|
+
* </ul>
|
|
1780
|
+
* @public
|
|
1781
|
+
*/
|
|
1782
|
+
SubscriptionType?: SubscriptionType | undefined;
|
|
1783
|
+
/**
|
|
1784
|
+
* <p>The status of subscription which can be one of the following:</p>
|
|
1785
|
+
* <ul>
|
|
1786
|
+
* <li>
|
|
1787
|
+
* <p>
|
|
1788
|
+
* <b>INACTIVE</b> - Subscription requests that are
|
|
1789
|
+
* inactive.</p>
|
|
1790
|
+
* </li>
|
|
1791
|
+
* <li>
|
|
1792
|
+
* <p>
|
|
1793
|
+
* <b>ACTIVE</b> - Subscription requests that are in progress
|
|
1794
|
+
* and have an end date in the future.</p>
|
|
1795
|
+
* </li>
|
|
1796
|
+
* <li>
|
|
1797
|
+
* <p>
|
|
1798
|
+
* <b>CANCELLED</b> - Subscription requests that are
|
|
1799
|
+
* cancelled.</p>
|
|
1800
|
+
* </li>
|
|
1801
|
+
* </ul>
|
|
1802
|
+
* @public
|
|
1803
|
+
*/
|
|
1804
|
+
SubscriptionStatus?: SubscriptionStatus | undefined;
|
|
1805
|
+
/**
|
|
1806
|
+
* <p>The order ID for your subscription.</p>
|
|
1807
|
+
* @public
|
|
1808
|
+
*/
|
|
1809
|
+
OrderIds?: string[] | undefined;
|
|
1810
|
+
/**
|
|
1811
|
+
* <p>The date your subscription starts.</p>
|
|
1812
|
+
* @public
|
|
1813
|
+
*/
|
|
1814
|
+
BeginDate?: Date | undefined;
|
|
1815
|
+
/**
|
|
1816
|
+
* <p>The date your subscription ends.</p>
|
|
1817
|
+
* @public
|
|
1818
|
+
*/
|
|
1819
|
+
EndDate?: Date | undefined;
|
|
1820
|
+
/**
|
|
1821
|
+
* <p>The amount you are billed each month in the subscription period.</p>
|
|
1822
|
+
* @public
|
|
1823
|
+
*/
|
|
1824
|
+
MonthlyRecurringPrice?: number | undefined;
|
|
1825
|
+
/**
|
|
1826
|
+
* <p>The amount billed when the subscription is created. This is a one-time charge.</p>
|
|
1827
|
+
* @public
|
|
1828
|
+
*/
|
|
1829
|
+
UpfrontPrice?: number | undefined;
|
|
1830
|
+
}
|
|
1831
|
+
/**
|
|
1832
|
+
* @public
|
|
1833
|
+
*/
|
|
1834
|
+
export interface GetOutpostBillingInformationOutput {
|
|
1835
|
+
/**
|
|
1836
|
+
* <p>The pagination token.</p>
|
|
1837
|
+
* @public
|
|
1838
|
+
*/
|
|
1839
|
+
NextToken?: string | undefined;
|
|
1840
|
+
/**
|
|
1841
|
+
* <p>The subscription details for the specified Outpost.</p>
|
|
1842
|
+
* @public
|
|
1843
|
+
*/
|
|
1844
|
+
Subscriptions?: Subscription[] | undefined;
|
|
1845
|
+
/**
|
|
1846
|
+
* <p>The date the current contract term ends for the specified Outpost. You must start the renewal or
|
|
1847
|
+
* decommission process at least 5 business days before the current term for your
|
|
1848
|
+
* Amazon Web Services Outposts ends. Failing to complete these steps at least 5 business days before the
|
|
1849
|
+
* current term ends might result in unanticipated charges.</p>
|
|
1850
|
+
* @public
|
|
1851
|
+
*/
|
|
1852
|
+
ContractEndDate?: string | undefined;
|
|
1853
|
+
}
|
|
1698
1854
|
/**
|
|
1699
1855
|
* @public
|
|
1700
1856
|
*/
|
|
@@ -1771,7 +1927,8 @@ export interface GetOutpostSupportedInstanceTypesInput {
|
|
|
1771
1927
|
*/
|
|
1772
1928
|
OrderId?: string | undefined;
|
|
1773
1929
|
/**
|
|
1774
|
-
* <p>The ID of the Outpost asset. An Outpost asset can be a single server within an Outposts
|
|
1930
|
+
* <p>The ID of the Outpost asset. An Outpost asset can be a single server within an Outposts
|
|
1931
|
+
* rack or an Outposts server configuration.</p>
|
|
1775
1932
|
* @public
|
|
1776
1933
|
*/
|
|
1777
1934
|
AssetId?: string | undefined;
|
|
@@ -2312,7 +2469,8 @@ export interface StartCapacityTaskInput {
|
|
|
2312
2469
|
*/
|
|
2313
2470
|
OrderId?: string | undefined;
|
|
2314
2471
|
/**
|
|
2315
|
-
* <p>The ID of the Outpost asset. An Outpost asset can be a single server within an Outposts
|
|
2472
|
+
* <p>The ID of the Outpost asset. An Outpost asset can be a single server within an Outposts
|
|
2473
|
+
* rack or an Outposts server configuration.</p>
|
|
2316
2474
|
* @public
|
|
2317
2475
|
*/
|
|
2318
2476
|
AssetId?: string | undefined;
|
|
@@ -2372,7 +2530,8 @@ export interface StartCapacityTaskOutput {
|
|
|
2372
2530
|
*/
|
|
2373
2531
|
OrderId?: string | undefined;
|
|
2374
2532
|
/**
|
|
2375
|
-
* <p>The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an
|
|
2533
|
+
* <p>The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an
|
|
2534
|
+
* Outposts server configuration.</p>
|
|
2376
2535
|
* @public
|
|
2377
2536
|
*/
|
|
2378
2537
|
AssetId?: string | undefined;
|
|
@@ -2671,15 +2830,18 @@ export interface UpdateSiteRackPhysicalPropertiesInput {
|
|
|
2671
2830
|
* <ul>
|
|
2672
2831
|
* <li>
|
|
2673
2832
|
* <p>
|
|
2674
|
-
* <b>AH530P7W (red)</b> – 3P+N+E, 7hr; 30A; three
|
|
2833
|
+
* <b>AH530P7W (red)</b> – 3P+N+E, 7hr; 30A; three
|
|
2834
|
+
* phase</p>
|
|
2675
2835
|
* </li>
|
|
2676
2836
|
* <li>
|
|
2677
2837
|
* <p>
|
|
2678
|
-
* <b>AH532P6W (red)</b> – 3P+N+E, 6hr; 32A; three
|
|
2838
|
+
* <b>AH532P6W (red)</b> – 3P+N+E, 6hr; 32A; three
|
|
2839
|
+
* phase</p>
|
|
2679
2840
|
* </li>
|
|
2680
2841
|
* <li>
|
|
2681
2842
|
* <p>
|
|
2682
|
-
* <b>CS8365C</b> – (common in US); 3P+E, 50A; three
|
|
2843
|
+
* <b>CS8365C</b> – (common in US); 3P+E, 50A; three
|
|
2844
|
+
* phase</p>
|
|
2683
2845
|
* </li>
|
|
2684
2846
|
* </ul>
|
|
2685
2847
|
* </li>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { GetOutpostBillingInformationCommandInput, GetOutpostBillingInformationCommandOutput } from "../commands/GetOutpostBillingInformationCommand";
|
|
3
|
+
import { OutpostsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateGetOutpostBillingInformation: (config: OutpostsPaginationConfiguration, input: GetOutpostBillingInformationCommandInput, ...rest: any[]) => Paginator<GetOutpostBillingInformationCommandOutput>;
|
|
@@ -11,6 +11,7 @@ import { GetCapacityTaskCommandInput, GetCapacityTaskCommandOutput } from "../co
|
|
|
11
11
|
import { GetCatalogItemCommandInput, GetCatalogItemCommandOutput } from "../commands/GetCatalogItemCommand";
|
|
12
12
|
import { GetConnectionCommandInput, GetConnectionCommandOutput } from "../commands/GetConnectionCommand";
|
|
13
13
|
import { GetOrderCommandInput, GetOrderCommandOutput } from "../commands/GetOrderCommand";
|
|
14
|
+
import { GetOutpostBillingInformationCommandInput, GetOutpostBillingInformationCommandOutput } from "../commands/GetOutpostBillingInformationCommand";
|
|
14
15
|
import { GetOutpostCommandInput, GetOutpostCommandOutput } from "../commands/GetOutpostCommand";
|
|
15
16
|
import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput } from "../commands/GetOutpostInstanceTypesCommand";
|
|
16
17
|
import { GetOutpostSupportedInstanceTypesCommandInput, GetOutpostSupportedInstanceTypesCommandOutput } from "../commands/GetOutpostSupportedInstanceTypesCommand";
|
|
@@ -81,6 +82,10 @@ export declare const se_GetOrderCommand: (input: GetOrderCommandInput, context:
|
|
|
81
82
|
* serializeAws_restJson1GetOutpostCommand
|
|
82
83
|
*/
|
|
83
84
|
export declare const se_GetOutpostCommand: (input: GetOutpostCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
85
|
+
/**
|
|
86
|
+
* serializeAws_restJson1GetOutpostBillingInformationCommand
|
|
87
|
+
*/
|
|
88
|
+
export declare const se_GetOutpostBillingInformationCommand: (input: GetOutpostBillingInformationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
84
89
|
/**
|
|
85
90
|
* serializeAws_restJson1GetOutpostInstanceTypesCommand
|
|
86
91
|
*/
|
|
@@ -213,6 +218,10 @@ export declare const de_GetOrderCommand: (output: __HttpResponse, context: __Ser
|
|
|
213
218
|
* deserializeAws_restJson1GetOutpostCommand
|
|
214
219
|
*/
|
|
215
220
|
export declare const de_GetOutpostCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOutpostCommandOutput>;
|
|
221
|
+
/**
|
|
222
|
+
* deserializeAws_restJson1GetOutpostBillingInformationCommand
|
|
223
|
+
*/
|
|
224
|
+
export declare const de_GetOutpostBillingInformationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOutpostBillingInformationCommandOutput>;
|
|
216
225
|
/**
|
|
217
226
|
* deserializeAws_restJson1GetOutpostInstanceTypesCommand
|
|
218
227
|
*/
|
|
@@ -43,6 +43,10 @@ import {
|
|
|
43
43
|
GetOrderCommandInput,
|
|
44
44
|
GetOrderCommandOutput,
|
|
45
45
|
} from "./commands/GetOrderCommand";
|
|
46
|
+
import {
|
|
47
|
+
GetOutpostBillingInformationCommandInput,
|
|
48
|
+
GetOutpostBillingInformationCommandOutput,
|
|
49
|
+
} from "./commands/GetOutpostBillingInformationCommand";
|
|
46
50
|
import {
|
|
47
51
|
GetOutpostCommandInput,
|
|
48
52
|
GetOutpostCommandOutput,
|
|
@@ -289,6 +293,19 @@ export interface Outposts {
|
|
|
289
293
|
options: __HttpHandlerOptions,
|
|
290
294
|
cb: (err: any, data?: GetOutpostCommandOutput) => void
|
|
291
295
|
): void;
|
|
296
|
+
getOutpostBillingInformation(
|
|
297
|
+
args: GetOutpostBillingInformationCommandInput,
|
|
298
|
+
options?: __HttpHandlerOptions
|
|
299
|
+
): Promise<GetOutpostBillingInformationCommandOutput>;
|
|
300
|
+
getOutpostBillingInformation(
|
|
301
|
+
args: GetOutpostBillingInformationCommandInput,
|
|
302
|
+
cb: (err: any, data?: GetOutpostBillingInformationCommandOutput) => void
|
|
303
|
+
): void;
|
|
304
|
+
getOutpostBillingInformation(
|
|
305
|
+
args: GetOutpostBillingInformationCommandInput,
|
|
306
|
+
options: __HttpHandlerOptions,
|
|
307
|
+
cb: (err: any, data?: GetOutpostBillingInformationCommandOutput) => void
|
|
308
|
+
): void;
|
|
292
309
|
getOutpostInstanceTypes(
|
|
293
310
|
args: GetOutpostInstanceTypesCommandInput,
|
|
294
311
|
options?: __HttpHandlerOptions
|
|
@@ -89,6 +89,10 @@ import {
|
|
|
89
89
|
GetOrderCommandInput,
|
|
90
90
|
GetOrderCommandOutput,
|
|
91
91
|
} from "./commands/GetOrderCommand";
|
|
92
|
+
import {
|
|
93
|
+
GetOutpostBillingInformationCommandInput,
|
|
94
|
+
GetOutpostBillingInformationCommandOutput,
|
|
95
|
+
} from "./commands/GetOutpostBillingInformationCommand";
|
|
92
96
|
import {
|
|
93
97
|
GetOutpostCommandInput,
|
|
94
98
|
GetOutpostCommandOutput,
|
|
@@ -196,6 +200,7 @@ export type ServiceInputTypes =
|
|
|
196
200
|
| GetCatalogItemCommandInput
|
|
197
201
|
| GetConnectionCommandInput
|
|
198
202
|
| GetOrderCommandInput
|
|
203
|
+
| GetOutpostBillingInformationCommandInput
|
|
199
204
|
| GetOutpostCommandInput
|
|
200
205
|
| GetOutpostInstanceTypesCommandInput
|
|
201
206
|
| GetOutpostSupportedInstanceTypesCommandInput
|
|
@@ -230,6 +235,7 @@ export type ServiceOutputTypes =
|
|
|
230
235
|
| GetCatalogItemCommandOutput
|
|
231
236
|
| GetConnectionCommandOutput
|
|
232
237
|
| GetOrderCommandOutput
|
|
238
|
+
| GetOutpostBillingInformationCommandOutput
|
|
233
239
|
| GetOutpostCommandOutput
|
|
234
240
|
| GetOutpostInstanceTypesCommandOutput
|
|
235
241
|
| GetOutpostSupportedInstanceTypesCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GetOutpostBillingInformationInput,
|
|
5
|
+
GetOutpostBillingInformationOutput,
|
|
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 GetOutpostBillingInformationCommandInput
|
|
15
|
+
extends GetOutpostBillingInformationInput {}
|
|
16
|
+
export interface GetOutpostBillingInformationCommandOutput
|
|
17
|
+
extends GetOutpostBillingInformationOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetOutpostBillingInformationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetOutpostBillingInformationCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetOutpostBillingInformationCommandInput,
|
|
24
|
+
GetOutpostBillingInformationCommandOutput,
|
|
25
|
+
OutpostsClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetOutpostBillingInformationCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetOutpostBillingInformationCommandInput,
|
|
33
|
+
GetOutpostBillingInformationCommandOutput,
|
|
34
|
+
OutpostsClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetOutpostBillingInformationCommand extends GetOutpostBillingInformationCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetOutpostBillingInformationInput;
|
|
44
|
+
output: GetOutpostBillingInformationOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetOutpostBillingInformationCommandInput;
|
|
48
|
+
output: GetOutpostBillingInformationCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -9,6 +9,7 @@ export * from "./GetCapacityTaskCommand";
|
|
|
9
9
|
export * from "./GetCatalogItemCommand";
|
|
10
10
|
export * from "./GetConnectionCommand";
|
|
11
11
|
export * from "./GetOrderCommand";
|
|
12
|
+
export * from "./GetOutpostBillingInformationCommand";
|
|
12
13
|
export * from "./GetOutpostCommand";
|
|
13
14
|
export * from "./GetOutpostInstanceTypesCommand";
|
|
14
15
|
export * from "./GetOutpostSupportedInstanceTypesCommand";
|
|
@@ -520,6 +520,40 @@ export interface GetOutpostInput {
|
|
|
520
520
|
export interface GetOutpostOutput {
|
|
521
521
|
Outpost?: Outpost | undefined;
|
|
522
522
|
}
|
|
523
|
+
export interface GetOutpostBillingInformationInput {
|
|
524
|
+
NextToken?: string | undefined;
|
|
525
|
+
MaxResults?: number | undefined;
|
|
526
|
+
OutpostIdentifier: string | undefined;
|
|
527
|
+
}
|
|
528
|
+
export declare const SubscriptionStatus: {
|
|
529
|
+
readonly ACTIVE: "ACTIVE";
|
|
530
|
+
readonly CANCELLED: "CANCELLED";
|
|
531
|
+
readonly INACTIVE: "INACTIVE";
|
|
532
|
+
};
|
|
533
|
+
export type SubscriptionStatus =
|
|
534
|
+
(typeof SubscriptionStatus)[keyof typeof SubscriptionStatus];
|
|
535
|
+
export declare const SubscriptionType: {
|
|
536
|
+
readonly CAPACITY_INCREASE: "CAPACITY_INCREASE";
|
|
537
|
+
readonly ORIGINAL: "ORIGINAL";
|
|
538
|
+
readonly RENEWAL: "RENEWAL";
|
|
539
|
+
};
|
|
540
|
+
export type SubscriptionType =
|
|
541
|
+
(typeof SubscriptionType)[keyof typeof SubscriptionType];
|
|
542
|
+
export interface Subscription {
|
|
543
|
+
SubscriptionId?: string | undefined;
|
|
544
|
+
SubscriptionType?: SubscriptionType | undefined;
|
|
545
|
+
SubscriptionStatus?: SubscriptionStatus | undefined;
|
|
546
|
+
OrderIds?: string[] | undefined;
|
|
547
|
+
BeginDate?: Date | undefined;
|
|
548
|
+
EndDate?: Date | undefined;
|
|
549
|
+
MonthlyRecurringPrice?: number | undefined;
|
|
550
|
+
UpfrontPrice?: number | undefined;
|
|
551
|
+
}
|
|
552
|
+
export interface GetOutpostBillingInformationOutput {
|
|
553
|
+
NextToken?: string | undefined;
|
|
554
|
+
Subscriptions?: Subscription[] | undefined;
|
|
555
|
+
ContractEndDate?: string | undefined;
|
|
556
|
+
}
|
|
523
557
|
export interface GetOutpostInstanceTypesInput {
|
|
524
558
|
OutpostId: string | undefined;
|
|
525
559
|
NextToken?: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetOutpostBillingInformationCommandInput,
|
|
4
|
+
GetOutpostBillingInformationCommandOutput,
|
|
5
|
+
} from "../commands/GetOutpostBillingInformationCommand";
|
|
6
|
+
import { OutpostsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateGetOutpostBillingInformation: (
|
|
8
|
+
config: OutpostsPaginationConfiguration,
|
|
9
|
+
input: GetOutpostBillingInformationCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetOutpostBillingInformationCommandOutput>;
|
|
@@ -47,6 +47,10 @@ import {
|
|
|
47
47
|
GetOrderCommandInput,
|
|
48
48
|
GetOrderCommandOutput,
|
|
49
49
|
} from "../commands/GetOrderCommand";
|
|
50
|
+
import {
|
|
51
|
+
GetOutpostBillingInformationCommandInput,
|
|
52
|
+
GetOutpostBillingInformationCommandOutput,
|
|
53
|
+
} from "../commands/GetOutpostBillingInformationCommand";
|
|
50
54
|
import {
|
|
51
55
|
GetOutpostCommandInput,
|
|
52
56
|
GetOutpostCommandOutput,
|
|
@@ -183,6 +187,10 @@ export declare const se_GetOutpostCommand: (
|
|
|
183
187
|
input: GetOutpostCommandInput,
|
|
184
188
|
context: __SerdeContext
|
|
185
189
|
) => Promise<__HttpRequest>;
|
|
190
|
+
export declare const se_GetOutpostBillingInformationCommand: (
|
|
191
|
+
input: GetOutpostBillingInformationCommandInput,
|
|
192
|
+
context: __SerdeContext
|
|
193
|
+
) => Promise<__HttpRequest>;
|
|
186
194
|
export declare const se_GetOutpostInstanceTypesCommand: (
|
|
187
195
|
input: GetOutpostInstanceTypesCommandInput,
|
|
188
196
|
context: __SerdeContext
|
|
@@ -315,6 +323,10 @@ export declare const de_GetOutpostCommand: (
|
|
|
315
323
|
output: __HttpResponse,
|
|
316
324
|
context: __SerdeContext
|
|
317
325
|
) => Promise<GetOutpostCommandOutput>;
|
|
326
|
+
export declare const de_GetOutpostBillingInformationCommand: (
|
|
327
|
+
output: __HttpResponse,
|
|
328
|
+
context: __SerdeContext
|
|
329
|
+
) => Promise<GetOutpostBillingInformationCommandOutput>;
|
|
318
330
|
export declare const de_GetOutpostInstanceTypesCommand: (
|
|
319
331
|
output: __HttpResponse,
|
|
320
332
|
context: __SerdeContext
|
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.855.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",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.855.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.855.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.840.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.840.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.855.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
30
30
|
"@aws-sdk/types": "3.840.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.848.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.855.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
35
|
"@smithy/core": "^3.7.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.1.0",
|