@aws-sdk/client-outposts 3.80.0 → 3.85.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/CHANGELOG.md +30 -0
- package/README.md +2 -0
- package/dist-cjs/Outposts.js +15 -0
- package/dist-cjs/commands/ListAssetsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +30 -2
- package/dist-cjs/pagination/GetOutpostInstanceTypesPaginator.js +36 -0
- package/dist-cjs/pagination/ListAssetsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +111 -1
- package/dist-es/Outposts.js +15 -0
- package/dist-es/commands/ListAssetsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/pagination/GetOutpostInstanceTypesPaginator.js +75 -0
- package/dist-es/pagination/ListAssetsPaginator.js +75 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +133 -0
- package/dist-types/Outposts.d.ts +16 -5
- package/dist-types/OutpostsClient.d.ts +3 -2
- package/dist-types/commands/GetOutpostInstanceTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListAssetsCommand.d.ts +39 -0
- package/dist-types/commands/ListCatalogItemsCommand.d.ts +1 -1
- package/dist-types/commands/ListOrdersCommand.d.ts +1 -1
- package/dist-types/commands/ListOutpostsCommand.d.ts +1 -1
- package/dist-types/commands/ListSitesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +108 -0
- package/dist-types/pagination/GetOutpostInstanceTypesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListAssetsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/Outposts.d.ts +5 -0
- package/dist-types/ts3.4/OutpostsClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +51 -0
- package/dist-types/ts3.4/pagination/GetOutpostInstanceTypesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAssetsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +7 -7
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListAssetsCommand } from "../commands/ListAssetsCommand";
|
|
3
|
+
import { Outposts } from "../Outposts";
|
|
4
|
+
import { OutpostsClient } from "../OutpostsClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAssetsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listAssets.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListAssets(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListAssets_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Outposts)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof OutpostsClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Outposts | OutpostsClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
}
|
|
@@ -374,6 +374,41 @@ export var serializeAws_restJson1GetSiteAddressCommand = function (input, contex
|
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
376
|
}); };
|
|
377
|
+
export var serializeAws_restJson1ListAssetsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
378
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, query, body;
|
|
379
|
+
return __generator(this, function (_c) {
|
|
380
|
+
switch (_c.label) {
|
|
381
|
+
case 0: return [4, context.endpoint()];
|
|
382
|
+
case 1:
|
|
383
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
384
|
+
headers = {};
|
|
385
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/outposts/{OutpostIdentifier}/assets";
|
|
386
|
+
if (input.OutpostIdentifier !== undefined) {
|
|
387
|
+
labelValue = input.OutpostIdentifier;
|
|
388
|
+
if (labelValue.length <= 0) {
|
|
389
|
+
throw new Error("Empty value provided for input HTTP label: OutpostIdentifier.");
|
|
390
|
+
}
|
|
391
|
+
resolvedPath = resolvedPath.replace("{OutpostIdentifier}", __extendedEncodeURIComponent(labelValue));
|
|
392
|
+
}
|
|
393
|
+
else {
|
|
394
|
+
throw new Error("No value provided for input HTTP label: OutpostIdentifier.");
|
|
395
|
+
}
|
|
396
|
+
query = __assign(__assign(__assign({}, (input.HostIdFilter !== undefined && {
|
|
397
|
+
HostIdFilter: (input.HostIdFilter || []).map(function (_entry) { return _entry; }),
|
|
398
|
+
})), (input.MaxResults !== undefined && { MaxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { NextToken: input.NextToken }));
|
|
399
|
+
return [2, new __HttpRequest({
|
|
400
|
+
protocol: protocol,
|
|
401
|
+
hostname: hostname,
|
|
402
|
+
port: port,
|
|
403
|
+
method: "GET",
|
|
404
|
+
headers: headers,
|
|
405
|
+
path: resolvedPath,
|
|
406
|
+
query: query,
|
|
407
|
+
body: body,
|
|
408
|
+
})];
|
|
409
|
+
}
|
|
410
|
+
});
|
|
411
|
+
}); };
|
|
377
412
|
export var serializeAws_restJson1ListCatalogItemsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
378
413
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
|
|
379
414
|
return __generator(this, function (_c) {
|
|
@@ -1566,6 +1601,78 @@ var deserializeAws_restJson1GetSiteAddressCommandError = function (output, conte
|
|
|
1566
1601
|
}
|
|
1567
1602
|
});
|
|
1568
1603
|
}); };
|
|
1604
|
+
export var deserializeAws_restJson1ListAssetsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1605
|
+
var contents, data, _a, _b;
|
|
1606
|
+
return __generator(this, function (_c) {
|
|
1607
|
+
switch (_c.label) {
|
|
1608
|
+
case 0:
|
|
1609
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1610
|
+
return [2, deserializeAws_restJson1ListAssetsCommandError(output, context)];
|
|
1611
|
+
}
|
|
1612
|
+
contents = {
|
|
1613
|
+
$metadata: deserializeMetadata(output),
|
|
1614
|
+
Assets: undefined,
|
|
1615
|
+
NextToken: undefined,
|
|
1616
|
+
};
|
|
1617
|
+
_a = __expectNonNull;
|
|
1618
|
+
_b = __expectObject;
|
|
1619
|
+
return [4, parseBody(output.body, context)];
|
|
1620
|
+
case 1:
|
|
1621
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1622
|
+
if (data.Assets !== undefined && data.Assets !== null) {
|
|
1623
|
+
contents.Assets = deserializeAws_restJson1AssetListDefinition(data.Assets, context);
|
|
1624
|
+
}
|
|
1625
|
+
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1626
|
+
contents.NextToken = __expectString(data.NextToken);
|
|
1627
|
+
}
|
|
1628
|
+
return [2, Promise.resolve(contents)];
|
|
1629
|
+
}
|
|
1630
|
+
});
|
|
1631
|
+
}); };
|
|
1632
|
+
var deserializeAws_restJson1ListAssetsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1633
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1634
|
+
var _c;
|
|
1635
|
+
return __generator(this, function (_d) {
|
|
1636
|
+
switch (_d.label) {
|
|
1637
|
+
case 0:
|
|
1638
|
+
_a = [__assign({}, output)];
|
|
1639
|
+
_c = {};
|
|
1640
|
+
return [4, parseBody(output.body, context)];
|
|
1641
|
+
case 1:
|
|
1642
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1643
|
+
errorCode = "UnknownError";
|
|
1644
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1645
|
+
_b = errorCode;
|
|
1646
|
+
switch (_b) {
|
|
1647
|
+
case "AccessDeniedException": return [3, 2];
|
|
1648
|
+
case "com.amazonaws.outposts#AccessDeniedException": return [3, 2];
|
|
1649
|
+
case "InternalServerException": return [3, 4];
|
|
1650
|
+
case "com.amazonaws.outposts#InternalServerException": return [3, 4];
|
|
1651
|
+
case "NotFoundException": return [3, 6];
|
|
1652
|
+
case "com.amazonaws.outposts#NotFoundException": return [3, 6];
|
|
1653
|
+
case "ValidationException": return [3, 8];
|
|
1654
|
+
case "com.amazonaws.outposts#ValidationException": return [3, 8];
|
|
1655
|
+
}
|
|
1656
|
+
return [3, 10];
|
|
1657
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1658
|
+
case 3: throw _d.sent();
|
|
1659
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1660
|
+
case 5: throw _d.sent();
|
|
1661
|
+
case 6: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1662
|
+
case 7: throw _d.sent();
|
|
1663
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1664
|
+
case 9: throw _d.sent();
|
|
1665
|
+
case 10:
|
|
1666
|
+
parsedBody = parsedOutput.body;
|
|
1667
|
+
response = new __BaseException({
|
|
1668
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1669
|
+
$fault: "client",
|
|
1670
|
+
$metadata: deserializeMetadata(output),
|
|
1671
|
+
});
|
|
1672
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1673
|
+
}
|
|
1674
|
+
});
|
|
1675
|
+
}); };
|
|
1569
1676
|
export var deserializeAws_restJson1ListCatalogItemsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1570
1677
|
var contents, data, _a, _b;
|
|
1571
1678
|
return __generator(this, function (_c) {
|
|
@@ -2442,6 +2549,27 @@ var deserializeAws_restJson1Address = function (output, context) {
|
|
|
2442
2549
|
StateOrRegion: __expectString(output.StateOrRegion),
|
|
2443
2550
|
};
|
|
2444
2551
|
};
|
|
2552
|
+
var deserializeAws_restJson1AssetInfo = function (output, context) {
|
|
2553
|
+
return {
|
|
2554
|
+
AssetId: __expectString(output.AssetId),
|
|
2555
|
+
AssetType: __expectString(output.AssetType),
|
|
2556
|
+
ComputeAttributes: output.ComputeAttributes !== undefined && output.ComputeAttributes !== null
|
|
2557
|
+
? deserializeAws_restJson1ComputeAttributes(output.ComputeAttributes, context)
|
|
2558
|
+
: undefined,
|
|
2559
|
+
RackId: __expectString(output.RackId),
|
|
2560
|
+
};
|
|
2561
|
+
};
|
|
2562
|
+
var deserializeAws_restJson1AssetListDefinition = function (output, context) {
|
|
2563
|
+
var retVal = (output || [])
|
|
2564
|
+
.filter(function (e) { return e != null; })
|
|
2565
|
+
.map(function (entry) {
|
|
2566
|
+
if (entry === null) {
|
|
2567
|
+
return null;
|
|
2568
|
+
}
|
|
2569
|
+
return deserializeAws_restJson1AssetInfo(entry, context);
|
|
2570
|
+
});
|
|
2571
|
+
return retVal;
|
|
2572
|
+
};
|
|
2445
2573
|
var deserializeAws_restJson1CatalogItem = function (output, context) {
|
|
2446
2574
|
return {
|
|
2447
2575
|
CatalogItemId: __expectString(output.CatalogItemId),
|
|
@@ -2470,6 +2598,11 @@ var deserializeAws_restJson1CatalogItemListDefinition = function (output, contex
|
|
|
2470
2598
|
});
|
|
2471
2599
|
return retVal;
|
|
2472
2600
|
};
|
|
2601
|
+
var deserializeAws_restJson1ComputeAttributes = function (output, context) {
|
|
2602
|
+
return {
|
|
2603
|
+
HostId: __expectString(output.HostId),
|
|
2604
|
+
};
|
|
2605
|
+
};
|
|
2473
2606
|
var deserializeAws_restJson1EC2Capacity = function (output, context) {
|
|
2474
2607
|
return {
|
|
2475
2608
|
Family: __expectString(output.Family),
|
package/dist-types/Outposts.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { GetOutpostCommandInput, GetOutpostCommandOutput } from "./commands/GetO
|
|
|
11
11
|
import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput } from "./commands/GetOutpostInstanceTypesCommand";
|
|
12
12
|
import { GetSiteAddressCommandInput, GetSiteAddressCommandOutput } from "./commands/GetSiteAddressCommand";
|
|
13
13
|
import { GetSiteCommandInput, GetSiteCommandOutput } from "./commands/GetSiteCommand";
|
|
14
|
+
import { ListAssetsCommandInput, ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
|
|
14
15
|
import { ListCatalogItemsCommandInput, ListCatalogItemsCommandOutput } from "./commands/ListCatalogItemsCommand";
|
|
15
16
|
import { ListOrdersCommandInput, ListOrdersCommandOutput } from "./commands/ListOrdersCommand";
|
|
16
17
|
import { ListOutpostsCommandInput, ListOutpostsCommandOutput } from "./commands/ListOutpostsCommand";
|
|
@@ -91,7 +92,7 @@ export declare class Outposts extends OutpostsClient {
|
|
|
91
92
|
getOutpost(args: GetOutpostCommandInput, cb: (err: any, data?: GetOutpostCommandOutput) => void): void;
|
|
92
93
|
getOutpost(args: GetOutpostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOutpostCommandOutput) => void): void;
|
|
93
94
|
/**
|
|
94
|
-
* <p>
|
|
95
|
+
* <p>Gets the instance types for the specified Outpost.</p>
|
|
95
96
|
*/
|
|
96
97
|
getOutpostInstanceTypes(args: GetOutpostInstanceTypesCommandInput, options?: __HttpHandlerOptions): Promise<GetOutpostInstanceTypesCommandOutput>;
|
|
97
98
|
getOutpostInstanceTypes(args: GetOutpostInstanceTypesCommandInput, cb: (err: any, data?: GetOutpostInstanceTypesCommandOutput) => void): void;
|
|
@@ -113,7 +114,17 @@ export declare class Outposts extends OutpostsClient {
|
|
|
113
114
|
getSiteAddress(args: GetSiteAddressCommandInput, cb: (err: any, data?: GetSiteAddressCommandOutput) => void): void;
|
|
114
115
|
getSiteAddress(args: GetSiteAddressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSiteAddressCommandOutput) => void): void;
|
|
115
116
|
/**
|
|
116
|
-
* <p>
|
|
117
|
+
* <p>
|
|
118
|
+
* Lists the hardware assets in an Outpost. If you are using Dedicated Hosts on
|
|
119
|
+
* Amazon Web Services Outposts, you can filter your request by host ID to return a list of hardware
|
|
120
|
+
* assets that allocate resources for Dedicated Hosts.
|
|
121
|
+
* </p>
|
|
122
|
+
*/
|
|
123
|
+
listAssets(args: ListAssetsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssetsCommandOutput>;
|
|
124
|
+
listAssets(args: ListAssetsCommandInput, cb: (err: any, data?: ListAssetsCommandOutput) => void): void;
|
|
125
|
+
listAssets(args: ListAssetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssetsCommandOutput) => void): void;
|
|
126
|
+
/**
|
|
127
|
+
* <p>Lists the items in the catalog. Add filters to your request to return a
|
|
117
128
|
* more specific list of results. Use filters to match an item class, storage
|
|
118
129
|
* option, or EC2 family. </p>
|
|
119
130
|
* <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and
|
|
@@ -123,14 +134,14 @@ export declare class Outposts extends OutpostsClient {
|
|
|
123
134
|
listCatalogItems(args: ListCatalogItemsCommandInput, cb: (err: any, data?: ListCatalogItemsCommandOutput) => void): void;
|
|
124
135
|
listCatalogItems(args: ListCatalogItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCatalogItemsCommandOutput) => void): void;
|
|
125
136
|
/**
|
|
126
|
-
* <p>
|
|
137
|
+
* <p>Lists the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to
|
|
127
138
|
* return a more specific list of results. </p>
|
|
128
139
|
*/
|
|
129
140
|
listOrders(args: ListOrdersCommandInput, options?: __HttpHandlerOptions): Promise<ListOrdersCommandOutput>;
|
|
130
141
|
listOrders(args: ListOrdersCommandInput, cb: (err: any, data?: ListOrdersCommandOutput) => void): void;
|
|
131
142
|
listOrders(args: ListOrdersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOrdersCommandOutput) => void): void;
|
|
132
143
|
/**
|
|
133
|
-
* <p>
|
|
144
|
+
* <p>Lists the Outposts for your Amazon Web Services account. Add filters to your request to return
|
|
134
145
|
* a more specific list of results. Use filters to match an Outpost lifecycle status,
|
|
135
146
|
* Availability Zone (<code>us-east-1a</code>), and AZ ID (<code>use1-az1</code>). </p>
|
|
136
147
|
*
|
|
@@ -141,7 +152,7 @@ export declare class Outposts extends OutpostsClient {
|
|
|
141
152
|
listOutposts(args: ListOutpostsCommandInput, cb: (err: any, data?: ListOutpostsCommandOutput) => void): void;
|
|
142
153
|
listOutposts(args: ListOutpostsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOutpostsCommandOutput) => void): void;
|
|
143
154
|
/**
|
|
144
|
-
* <p>
|
|
155
|
+
* <p>Lists the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to
|
|
145
156
|
* return a more specific list of results. Use filters to match site city, country code, or state/region of the
|
|
146
157
|
* operating address. </p>
|
|
147
158
|
*
|
|
@@ -18,6 +18,7 @@ import { GetOutpostCommandInput, GetOutpostCommandOutput } from "./commands/GetO
|
|
|
18
18
|
import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput } from "./commands/GetOutpostInstanceTypesCommand";
|
|
19
19
|
import { GetSiteAddressCommandInput, GetSiteAddressCommandOutput } from "./commands/GetSiteAddressCommand";
|
|
20
20
|
import { GetSiteCommandInput, GetSiteCommandOutput } from "./commands/GetSiteCommand";
|
|
21
|
+
import { ListAssetsCommandInput, ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
|
|
21
22
|
import { ListCatalogItemsCommandInput, ListCatalogItemsCommandOutput } from "./commands/ListCatalogItemsCommand";
|
|
22
23
|
import { ListOrdersCommandInput, ListOrdersCommandOutput } from "./commands/ListOrdersCommand";
|
|
23
24
|
import { ListOutpostsCommandInput, ListOutpostsCommandOutput } from "./commands/ListOutpostsCommand";
|
|
@@ -29,8 +30,8 @@ import { UpdateOutpostCommandInput, UpdateOutpostCommandOutput } from "./command
|
|
|
29
30
|
import { UpdateSiteAddressCommandInput, UpdateSiteAddressCommandOutput } from "./commands/UpdateSiteAddressCommand";
|
|
30
31
|
import { UpdateSiteCommandInput, UpdateSiteCommandOutput } from "./commands/UpdateSiteCommand";
|
|
31
32
|
import { UpdateSiteRackPhysicalPropertiesCommandInput, UpdateSiteRackPhysicalPropertiesCommandOutput } from "./commands/UpdateSiteRackPhysicalPropertiesCommand";
|
|
32
|
-
export declare type ServiceInputTypes = CancelOrderCommandInput | CreateOrderCommandInput | CreateOutpostCommandInput | CreateSiteCommandInput | DeleteOutpostCommandInput | DeleteSiteCommandInput | GetCatalogItemCommandInput | GetOrderCommandInput | GetOutpostCommandInput | GetOutpostInstanceTypesCommandInput | GetSiteAddressCommandInput | GetSiteCommandInput | ListCatalogItemsCommandInput | ListOrdersCommandInput | ListOutpostsCommandInput | ListSitesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOutpostCommandInput | UpdateSiteAddressCommandInput | UpdateSiteCommandInput | UpdateSiteRackPhysicalPropertiesCommandInput;
|
|
33
|
-
export declare type ServiceOutputTypes = CancelOrderCommandOutput | CreateOrderCommandOutput | CreateOutpostCommandOutput | CreateSiteCommandOutput | DeleteOutpostCommandOutput | DeleteSiteCommandOutput | GetCatalogItemCommandOutput | GetOrderCommandOutput | GetOutpostCommandOutput | GetOutpostInstanceTypesCommandOutput | GetSiteAddressCommandOutput | GetSiteCommandOutput | ListCatalogItemsCommandOutput | ListOrdersCommandOutput | ListOutpostsCommandOutput | ListSitesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOutpostCommandOutput | UpdateSiteAddressCommandOutput | UpdateSiteCommandOutput | UpdateSiteRackPhysicalPropertiesCommandOutput;
|
|
33
|
+
export declare type ServiceInputTypes = CancelOrderCommandInput | CreateOrderCommandInput | CreateOutpostCommandInput | CreateSiteCommandInput | DeleteOutpostCommandInput | DeleteSiteCommandInput | GetCatalogItemCommandInput | GetOrderCommandInput | GetOutpostCommandInput | GetOutpostInstanceTypesCommandInput | GetSiteAddressCommandInput | GetSiteCommandInput | ListAssetsCommandInput | ListCatalogItemsCommandInput | ListOrdersCommandInput | ListOutpostsCommandInput | ListSitesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOutpostCommandInput | UpdateSiteAddressCommandInput | UpdateSiteCommandInput | UpdateSiteRackPhysicalPropertiesCommandInput;
|
|
34
|
+
export declare type ServiceOutputTypes = CancelOrderCommandOutput | CreateOrderCommandOutput | CreateOutpostCommandOutput | CreateSiteCommandOutput | DeleteOutpostCommandOutput | DeleteSiteCommandOutput | GetCatalogItemCommandOutput | GetOrderCommandOutput | GetOutpostCommandOutput | GetOutpostInstanceTypesCommandOutput | GetSiteAddressCommandOutput | GetSiteCommandOutput | ListAssetsCommandOutput | ListCatalogItemsCommandOutput | ListOrdersCommandOutput | ListOutpostsCommandOutput | ListSitesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOutpostCommandOutput | UpdateSiteAddressCommandOutput | UpdateSiteCommandOutput | UpdateSiteRackPhysicalPropertiesCommandOutput;
|
|
34
35
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
35
36
|
/**
|
|
36
37
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -7,7 +7,7 @@ export interface GetOutpostInstanceTypesCommandInput extends GetOutpostInstanceT
|
|
|
7
7
|
export interface GetOutpostInstanceTypesCommandOutput extends GetOutpostInstanceTypesOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Gets the instance types for the specified Outpost.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListAssetsInput, ListAssetsOutput } from "../models/models_0";
|
|
4
|
+
import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
|
|
5
|
+
export interface ListAssetsCommandInput extends ListAssetsInput {
|
|
6
|
+
}
|
|
7
|
+
export interface ListAssetsCommandOutput extends ListAssetsOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Lists the hardware assets in an Outpost. If you are using Dedicated Hosts on
|
|
12
|
+
* Amazon Web Services Outposts, you can filter your request by host ID to return a list of hardware
|
|
13
|
+
* assets that allocate resources for Dedicated Hosts.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { OutpostsClient, ListAssetsCommand } from "@aws-sdk/client-outposts"; // ES Modules import
|
|
19
|
+
* // const { OutpostsClient, ListAssetsCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
|
|
20
|
+
* const client = new OutpostsClient(config);
|
|
21
|
+
* const command = new ListAssetsCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link ListAssetsCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link ListAssetsCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class ListAssetsCommand extends $Command<ListAssetsCommandInput, ListAssetsCommandOutput, OutpostsClientResolvedConfig> {
|
|
31
|
+
readonly input: ListAssetsCommandInput;
|
|
32
|
+
constructor(input: ListAssetsCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAssetsCommandInput, ListAssetsCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -7,7 +7,7 @@ export interface ListCatalogItemsCommandInput extends ListCatalogItemsInput {
|
|
|
7
7
|
export interface ListCatalogItemsCommandOutput extends ListCatalogItemsOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Lists the items in the catalog. Add filters to your request to return a
|
|
11
11
|
* more specific list of results. Use filters to match an item class, storage
|
|
12
12
|
* option, or EC2 family. </p>
|
|
13
13
|
* <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and
|
|
@@ -7,7 +7,7 @@ export interface ListOrdersCommandInput extends ListOrdersInput {
|
|
|
7
7
|
export interface ListOrdersCommandOutput extends ListOrdersOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Lists the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to
|
|
11
11
|
* return a more specific list of results. </p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,7 +7,7 @@ export interface ListOutpostsCommandInput extends ListOutpostsInput {
|
|
|
7
7
|
export interface ListOutpostsCommandOutput extends ListOutpostsOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Lists the Outposts for your Amazon Web Services account. Add filters to your request to return
|
|
11
11
|
* a more specific list of results. Use filters to match an Outpost lifecycle status,
|
|
12
12
|
* Availability Zone (<code>us-east-1a</code>), and AZ ID (<code>use1-az1</code>). </p>
|
|
13
13
|
*
|
|
@@ -7,7 +7,7 @@ export interface ListSitesCommandInput extends ListSitesInput {
|
|
|
7
7
|
export interface ListSitesCommandOutput extends ListSitesOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Lists the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to
|
|
11
11
|
* return a more specific list of results. Use filters to match site city, country code, or state/region of the
|
|
12
12
|
* operating address. </p>
|
|
13
13
|
*
|
|
@@ -10,6 +10,7 @@ export * from "./GetOutpostCommand";
|
|
|
10
10
|
export * from "./GetOutpostInstanceTypesCommand";
|
|
11
11
|
export * from "./GetSiteAddressCommand";
|
|
12
12
|
export * from "./GetSiteCommand";
|
|
13
|
+
export * from "./ListAssetsCommand";
|
|
13
14
|
export * from "./ListCatalogItemsCommand";
|
|
14
15
|
export * from "./ListOrdersCommand";
|
|
15
16
|
export * from "./ListOutpostsCommand";
|
|
@@ -73,6 +73,65 @@ export declare enum AddressType {
|
|
|
73
73
|
OPERATING_ADDRESS = "OPERATING_ADDRESS",
|
|
74
74
|
SHIPPING_ADDRESS = "SHIPPING_ADDRESS"
|
|
75
75
|
}
|
|
76
|
+
export declare enum AssetType {
|
|
77
|
+
COMPUTE = "COMPUTE"
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* <p>
|
|
81
|
+
* Information about compute hardware assets.
|
|
82
|
+
* </p>
|
|
83
|
+
*/
|
|
84
|
+
export interface ComputeAttributes {
|
|
85
|
+
/**
|
|
86
|
+
* <p>
|
|
87
|
+
* The host ID of any Dedicated Hosts on the asset.
|
|
88
|
+
* </p>
|
|
89
|
+
*/
|
|
90
|
+
HostId?: string;
|
|
91
|
+
}
|
|
92
|
+
export declare namespace ComputeAttributes {
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
const filterSensitiveLog: (obj: ComputeAttributes) => any;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* <p>
|
|
100
|
+
* Information about hardware assets.
|
|
101
|
+
* </p>
|
|
102
|
+
*/
|
|
103
|
+
export interface AssetInfo {
|
|
104
|
+
/**
|
|
105
|
+
* <p>
|
|
106
|
+
* The ID of the asset.
|
|
107
|
+
* </p>
|
|
108
|
+
*/
|
|
109
|
+
AssetId?: string;
|
|
110
|
+
/**
|
|
111
|
+
* <p>
|
|
112
|
+
* The rack ID of the asset.
|
|
113
|
+
* </p>
|
|
114
|
+
*/
|
|
115
|
+
RackId?: string;
|
|
116
|
+
/**
|
|
117
|
+
* <p>
|
|
118
|
+
* The type of the asset.
|
|
119
|
+
* </p>
|
|
120
|
+
*/
|
|
121
|
+
AssetType?: AssetType | string;
|
|
122
|
+
/**
|
|
123
|
+
* <p>
|
|
124
|
+
* Information about compute hardware assets.
|
|
125
|
+
* </p>
|
|
126
|
+
*/
|
|
127
|
+
ComputeAttributes?: ComputeAttributes;
|
|
128
|
+
}
|
|
129
|
+
export declare namespace AssetInfo {
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
const filterSensitiveLog: (obj: AssetInfo) => any;
|
|
134
|
+
}
|
|
76
135
|
export interface CancelOrderInput {
|
|
77
136
|
/**
|
|
78
137
|
* <p>
|
|
@@ -1069,6 +1128,55 @@ export declare namespace GetSiteAddressOutput {
|
|
|
1069
1128
|
*/
|
|
1070
1129
|
const filterSensitiveLog: (obj: GetSiteAddressOutput) => any;
|
|
1071
1130
|
}
|
|
1131
|
+
export interface ListAssetsInput {
|
|
1132
|
+
/**
|
|
1133
|
+
* <p>
|
|
1134
|
+
* The ID or the Amazon Resource Name (ARN) of the Outpost.
|
|
1135
|
+
* </p>
|
|
1136
|
+
*/
|
|
1137
|
+
OutpostIdentifier: string | undefined;
|
|
1138
|
+
/**
|
|
1139
|
+
* <p>
|
|
1140
|
+
* A filter for the host ID of Dedicated Hosts on the Outpost.
|
|
1141
|
+
* </p>
|
|
1142
|
+
* <p>Filter values are case sensitive. If you specify multiple
|
|
1143
|
+
* values for a filter, the values are joined with an <code>OR</code>, and the request returns
|
|
1144
|
+
* all results that match any of the specified values.</p>
|
|
1145
|
+
*/
|
|
1146
|
+
HostIdFilter?: string[];
|
|
1147
|
+
/**
|
|
1148
|
+
* <p>The maximum page size.</p>
|
|
1149
|
+
*/
|
|
1150
|
+
MaxResults?: number;
|
|
1151
|
+
/**
|
|
1152
|
+
* <p>The pagination token.</p>
|
|
1153
|
+
*/
|
|
1154
|
+
NextToken?: string;
|
|
1155
|
+
}
|
|
1156
|
+
export declare namespace ListAssetsInput {
|
|
1157
|
+
/**
|
|
1158
|
+
* @internal
|
|
1159
|
+
*/
|
|
1160
|
+
const filterSensitiveLog: (obj: ListAssetsInput) => any;
|
|
1161
|
+
}
|
|
1162
|
+
export interface ListAssetsOutput {
|
|
1163
|
+
/**
|
|
1164
|
+
* <p>
|
|
1165
|
+
* Information about hardware assets.
|
|
1166
|
+
* </p>
|
|
1167
|
+
*/
|
|
1168
|
+
Assets?: AssetInfo[];
|
|
1169
|
+
/**
|
|
1170
|
+
* <p>The pagination token.</p>
|
|
1171
|
+
*/
|
|
1172
|
+
NextToken?: string;
|
|
1173
|
+
}
|
|
1174
|
+
export declare namespace ListAssetsOutput {
|
|
1175
|
+
/**
|
|
1176
|
+
* @internal
|
|
1177
|
+
*/
|
|
1178
|
+
const filterSensitiveLog: (obj: ListAssetsOutput) => any;
|
|
1179
|
+
}
|
|
1072
1180
|
export interface ListCatalogItemsInput {
|
|
1073
1181
|
/**
|
|
1074
1182
|
* <p>The pagination token.</p>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput } from "../commands/GetOutpostInstanceTypesCommand";
|
|
3
|
+
import { OutpostsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateGetOutpostInstanceTypes(config: OutpostsPaginationConfiguration, input: GetOutpostInstanceTypesCommandInput, ...additionalArguments: any): Paginator<GetOutpostInstanceTypesCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListAssetsCommandInput, ListAssetsCommandOutput } from "../commands/ListAssetsCommand";
|
|
3
|
+
import { OutpostsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListAssets(config: OutpostsPaginationConfiguration, input: ListAssetsCommandInput, ...additionalArguments: any): Paginator<ListAssetsCommandOutput>;
|
|
@@ -12,6 +12,7 @@ import { GetOutpostCommandInput, GetOutpostCommandOutput } from "../commands/Get
|
|
|
12
12
|
import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput } from "../commands/GetOutpostInstanceTypesCommand";
|
|
13
13
|
import { GetSiteAddressCommandInput, GetSiteAddressCommandOutput } from "../commands/GetSiteAddressCommand";
|
|
14
14
|
import { GetSiteCommandInput, GetSiteCommandOutput } from "../commands/GetSiteCommand";
|
|
15
|
+
import { ListAssetsCommandInput, ListAssetsCommandOutput } from "../commands/ListAssetsCommand";
|
|
15
16
|
import { ListCatalogItemsCommandInput, ListCatalogItemsCommandOutput } from "../commands/ListCatalogItemsCommand";
|
|
16
17
|
import { ListOrdersCommandInput, ListOrdersCommandOutput } from "../commands/ListOrdersCommand";
|
|
17
18
|
import { ListOutpostsCommandInput, ListOutpostsCommandOutput } from "../commands/ListOutpostsCommand";
|
|
@@ -35,6 +36,7 @@ export declare const serializeAws_restJson1GetOutpostCommand: (input: GetOutpost
|
|
|
35
36
|
export declare const serializeAws_restJson1GetOutpostInstanceTypesCommand: (input: GetOutpostInstanceTypesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
36
37
|
export declare const serializeAws_restJson1GetSiteCommand: (input: GetSiteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
37
38
|
export declare const serializeAws_restJson1GetSiteAddressCommand: (input: GetSiteAddressCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
|
+
export declare const serializeAws_restJson1ListAssetsCommand: (input: ListAssetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
38
40
|
export declare const serializeAws_restJson1ListCatalogItemsCommand: (input: ListCatalogItemsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
41
|
export declare const serializeAws_restJson1ListOrdersCommand: (input: ListOrdersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
40
42
|
export declare const serializeAws_restJson1ListOutpostsCommand: (input: ListOutpostsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -58,6 +60,7 @@ export declare const deserializeAws_restJson1GetOutpostCommand: (output: __HttpR
|
|
|
58
60
|
export declare const deserializeAws_restJson1GetOutpostInstanceTypesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOutpostInstanceTypesCommandOutput>;
|
|
59
61
|
export declare const deserializeAws_restJson1GetSiteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSiteCommandOutput>;
|
|
60
62
|
export declare const deserializeAws_restJson1GetSiteAddressCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSiteAddressCommandOutput>;
|
|
63
|
+
export declare const deserializeAws_restJson1ListAssetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssetsCommandOutput>;
|
|
61
64
|
export declare const deserializeAws_restJson1ListCatalogItemsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCatalogItemsCommandOutput>;
|
|
62
65
|
export declare const deserializeAws_restJson1ListOrdersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOrdersCommandOutput>;
|
|
63
66
|
export declare const deserializeAws_restJson1ListOutpostsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOutpostsCommandOutput>;
|
|
@@ -11,6 +11,7 @@ import { GetOutpostCommandInput, GetOutpostCommandOutput } from "./commands/GetO
|
|
|
11
11
|
import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput } from "./commands/GetOutpostInstanceTypesCommand";
|
|
12
12
|
import { GetSiteAddressCommandInput, GetSiteAddressCommandOutput } from "./commands/GetSiteAddressCommand";
|
|
13
13
|
import { GetSiteCommandInput, GetSiteCommandOutput } from "./commands/GetSiteCommand";
|
|
14
|
+
import { ListAssetsCommandInput, ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
|
|
14
15
|
import { ListCatalogItemsCommandInput, ListCatalogItemsCommandOutput } from "./commands/ListCatalogItemsCommand";
|
|
15
16
|
import { ListOrdersCommandInput, ListOrdersCommandOutput } from "./commands/ListOrdersCommand";
|
|
16
17
|
import { ListOutpostsCommandInput, ListOutpostsCommandOutput } from "./commands/ListOutpostsCommand";
|
|
@@ -74,6 +75,10 @@ export declare class Outposts extends OutpostsClient {
|
|
|
74
75
|
getSiteAddress(args: GetSiteAddressCommandInput, cb: (err: any, data?: GetSiteAddressCommandOutput) => void): void;
|
|
75
76
|
getSiteAddress(args: GetSiteAddressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSiteAddressCommandOutput) => void): void;
|
|
76
77
|
|
|
78
|
+
listAssets(args: ListAssetsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssetsCommandOutput>;
|
|
79
|
+
listAssets(args: ListAssetsCommandInput, cb: (err: any, data?: ListAssetsCommandOutput) => void): void;
|
|
80
|
+
listAssets(args: ListAssetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssetsCommandOutput) => void): void;
|
|
81
|
+
|
|
77
82
|
listCatalogItems(args: ListCatalogItemsCommandInput, options?: __HttpHandlerOptions): Promise<ListCatalogItemsCommandOutput>;
|
|
78
83
|
listCatalogItems(args: ListCatalogItemsCommandInput, cb: (err: any, data?: ListCatalogItemsCommandOutput) => void): void;
|
|
79
84
|
listCatalogItems(args: ListCatalogItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCatalogItemsCommandOutput) => void): void;
|
|
@@ -18,6 +18,7 @@ import { GetOutpostCommandInput, GetOutpostCommandOutput } from "./commands/GetO
|
|
|
18
18
|
import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput } from "./commands/GetOutpostInstanceTypesCommand";
|
|
19
19
|
import { GetSiteAddressCommandInput, GetSiteAddressCommandOutput } from "./commands/GetSiteAddressCommand";
|
|
20
20
|
import { GetSiteCommandInput, GetSiteCommandOutput } from "./commands/GetSiteCommand";
|
|
21
|
+
import { ListAssetsCommandInput, ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
|
|
21
22
|
import { ListCatalogItemsCommandInput, ListCatalogItemsCommandOutput } from "./commands/ListCatalogItemsCommand";
|
|
22
23
|
import { ListOrdersCommandInput, ListOrdersCommandOutput } from "./commands/ListOrdersCommand";
|
|
23
24
|
import { ListOutpostsCommandInput, ListOutpostsCommandOutput } from "./commands/ListOutpostsCommand";
|
|
@@ -29,8 +30,8 @@ import { UpdateOutpostCommandInput, UpdateOutpostCommandOutput } from "./command
|
|
|
29
30
|
import { UpdateSiteAddressCommandInput, UpdateSiteAddressCommandOutput } from "./commands/UpdateSiteAddressCommand";
|
|
30
31
|
import { UpdateSiteCommandInput, UpdateSiteCommandOutput } from "./commands/UpdateSiteCommand";
|
|
31
32
|
import { UpdateSiteRackPhysicalPropertiesCommandInput, UpdateSiteRackPhysicalPropertiesCommandOutput } from "./commands/UpdateSiteRackPhysicalPropertiesCommand";
|
|
32
|
-
export declare type ServiceInputTypes = CancelOrderCommandInput | CreateOrderCommandInput | CreateOutpostCommandInput | CreateSiteCommandInput | DeleteOutpostCommandInput | DeleteSiteCommandInput | GetCatalogItemCommandInput | GetOrderCommandInput | GetOutpostCommandInput | GetOutpostInstanceTypesCommandInput | GetSiteAddressCommandInput | GetSiteCommandInput | ListCatalogItemsCommandInput | ListOrdersCommandInput | ListOutpostsCommandInput | ListSitesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOutpostCommandInput | UpdateSiteAddressCommandInput | UpdateSiteCommandInput | UpdateSiteRackPhysicalPropertiesCommandInput;
|
|
33
|
-
export declare type ServiceOutputTypes = CancelOrderCommandOutput | CreateOrderCommandOutput | CreateOutpostCommandOutput | CreateSiteCommandOutput | DeleteOutpostCommandOutput | DeleteSiteCommandOutput | GetCatalogItemCommandOutput | GetOrderCommandOutput | GetOutpostCommandOutput | GetOutpostInstanceTypesCommandOutput | GetSiteAddressCommandOutput | GetSiteCommandOutput | ListCatalogItemsCommandOutput | ListOrdersCommandOutput | ListOutpostsCommandOutput | ListSitesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOutpostCommandOutput | UpdateSiteAddressCommandOutput | UpdateSiteCommandOutput | UpdateSiteRackPhysicalPropertiesCommandOutput;
|
|
33
|
+
export declare type ServiceInputTypes = CancelOrderCommandInput | CreateOrderCommandInput | CreateOutpostCommandInput | CreateSiteCommandInput | DeleteOutpostCommandInput | DeleteSiteCommandInput | GetCatalogItemCommandInput | GetOrderCommandInput | GetOutpostCommandInput | GetOutpostInstanceTypesCommandInput | GetSiteAddressCommandInput | GetSiteCommandInput | ListAssetsCommandInput | ListCatalogItemsCommandInput | ListOrdersCommandInput | ListOutpostsCommandInput | ListSitesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOutpostCommandInput | UpdateSiteAddressCommandInput | UpdateSiteCommandInput | UpdateSiteRackPhysicalPropertiesCommandInput;
|
|
34
|
+
export declare type ServiceOutputTypes = CancelOrderCommandOutput | CreateOrderCommandOutput | CreateOutpostCommandOutput | CreateSiteCommandOutput | DeleteOutpostCommandOutput | DeleteSiteCommandOutput | GetCatalogItemCommandOutput | GetOrderCommandOutput | GetOutpostCommandOutput | GetOutpostInstanceTypesCommandOutput | GetSiteAddressCommandOutput | GetSiteCommandOutput | ListAssetsCommandOutput | ListCatalogItemsCommandOutput | ListOrdersCommandOutput | ListOutpostsCommandOutput | ListSitesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOutpostCommandOutput | UpdateSiteAddressCommandOutput | UpdateSiteCommandOutput | UpdateSiteRackPhysicalPropertiesCommandOutput;
|
|
34
35
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
35
36
|
|
|
36
37
|
requestHandler?: __HttpHandler;
|