@aws-sdk/client-outposts 3.54.1 → 3.55.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 +11 -0
- package/dist-cjs/OutpostsClient.js +13 -13
- package/dist-cjs/commands/CancelOrderCommand.js +3 -3
- package/dist-cjs/commands/CreateOrderCommand.js +3 -3
- package/dist-cjs/commands/CreateOutpostCommand.js +3 -3
- package/dist-cjs/commands/CreateSiteCommand.js +3 -3
- package/dist-cjs/commands/DeleteOutpostCommand.js +3 -3
- package/dist-cjs/commands/DeleteSiteCommand.js +3 -3
- package/dist-cjs/commands/GetCatalogItemCommand.js +3 -3
- package/dist-cjs/commands/GetOrderCommand.js +3 -3
- package/dist-cjs/commands/GetOutpostCommand.js +3 -3
- package/dist-cjs/commands/GetOutpostInstanceTypesCommand.js +3 -3
- package/dist-cjs/commands/GetSiteAddressCommand.js +3 -3
- package/dist-cjs/commands/GetSiteCommand.js +3 -3
- package/dist-cjs/commands/ListCatalogItemsCommand.js +3 -3
- package/dist-cjs/commands/ListOrdersCommand.js +3 -3
- package/dist-cjs/commands/ListOutpostsCommand.js +3 -3
- package/dist-cjs/commands/ListSitesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateOutpostCommand.js +3 -3
- package/dist-cjs/commands/UpdateSiteAddressCommand.js +3 -3
- package/dist-cjs/commands/UpdateSiteCommand.js +3 -3
- package/dist-cjs/commands/UpdateSiteRackPhysicalPropertiesCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +158 -149
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Outposts.js +23 -23
- package/dist-es/pagination/ListCatalogItemsPaginator.js +4 -4
- package/dist-es/pagination/ListOrdersPaginator.js +4 -4
- package/dist-es/pagination/ListOutpostsPaginator.js +4 -4
- package/dist-es/pagination/ListSitesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +30 -24
- package/dist-types/Outposts.d.ts +6 -1
- package/dist-types/commands/ListSitesCommand.d.ts +6 -1
- package/dist-types/models/models_0.d.ts +23 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -11,7 +11,7 @@ export var serializeAws_restJson1CancelOrderCommand = function (input, context)
|
|
|
11
11
|
case 1:
|
|
12
12
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
13
13
|
headers = {};
|
|
14
|
-
resolvedPath = ""
|
|
14
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/orders/{OrderId}/cancel";
|
|
15
15
|
if (input.OrderId !== undefined) {
|
|
16
16
|
labelValue = input.OrderId;
|
|
17
17
|
if (labelValue.length <= 0) {
|
|
@@ -44,7 +44,7 @@ export var serializeAws_restJson1CreateOrderCommand = function (input, context)
|
|
|
44
44
|
headers = {
|
|
45
45
|
"content-type": "application/json",
|
|
46
46
|
};
|
|
47
|
-
resolvedPath = ""
|
|
47
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/orders";
|
|
48
48
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.LineItems !== undefined &&
|
|
49
49
|
input.LineItems !== null && {
|
|
50
50
|
LineItems: serializeAws_restJson1LineItemRequestListDefinition(input.LineItems, context),
|
|
@@ -72,7 +72,7 @@ export var serializeAws_restJson1CreateOutpostCommand = function (input, context
|
|
|
72
72
|
headers = {
|
|
73
73
|
"content-type": "application/json",
|
|
74
74
|
};
|
|
75
|
-
resolvedPath = ""
|
|
75
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/outposts";
|
|
76
76
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AvailabilityZone !== undefined &&
|
|
77
77
|
input.AvailabilityZone !== null && { AvailabilityZone: input.AvailabilityZone })), (input.AvailabilityZoneId !== undefined &&
|
|
78
78
|
input.AvailabilityZoneId !== null && { AvailabilityZoneId: input.AvailabilityZoneId })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.SiteId !== undefined && input.SiteId !== null && { SiteId: input.SiteId })), (input.SupportedHardwareType !== undefined &&
|
|
@@ -99,7 +99,7 @@ export var serializeAws_restJson1CreateSiteCommand = function (input, context) {
|
|
|
99
99
|
headers = {
|
|
100
100
|
"content-type": "application/json",
|
|
101
101
|
};
|
|
102
|
-
resolvedPath = ""
|
|
102
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sites";
|
|
103
103
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Notes !== undefined && input.Notes !== null && { Notes: input.Notes })), (input.OperatingAddress !== undefined &&
|
|
104
104
|
input.OperatingAddress !== null && {
|
|
105
105
|
OperatingAddress: serializeAws_restJson1Address(input.OperatingAddress, context),
|
|
@@ -130,7 +130,7 @@ export var serializeAws_restJson1DeleteOutpostCommand = function (input, context
|
|
|
130
130
|
case 1:
|
|
131
131
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
132
132
|
headers = {};
|
|
133
|
-
resolvedPath = ""
|
|
133
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/outposts/{OutpostId}";
|
|
134
134
|
if (input.OutpostId !== undefined) {
|
|
135
135
|
labelValue = input.OutpostId;
|
|
136
136
|
if (labelValue.length <= 0) {
|
|
@@ -161,7 +161,7 @@ export var serializeAws_restJson1DeleteSiteCommand = function (input, context) {
|
|
|
161
161
|
case 1:
|
|
162
162
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
163
163
|
headers = {};
|
|
164
|
-
resolvedPath = ""
|
|
164
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sites/{SiteId}";
|
|
165
165
|
if (input.SiteId !== undefined) {
|
|
166
166
|
labelValue = input.SiteId;
|
|
167
167
|
if (labelValue.length <= 0) {
|
|
@@ -192,7 +192,7 @@ export var serializeAws_restJson1GetCatalogItemCommand = function (input, contex
|
|
|
192
192
|
case 1:
|
|
193
193
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
194
194
|
headers = {};
|
|
195
|
-
resolvedPath = ""
|
|
195
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/catalog/item/{CatalogItemId}";
|
|
196
196
|
if (input.CatalogItemId !== undefined) {
|
|
197
197
|
labelValue = input.CatalogItemId;
|
|
198
198
|
if (labelValue.length <= 0) {
|
|
@@ -223,7 +223,7 @@ export var serializeAws_restJson1GetOrderCommand = function (input, context) { r
|
|
|
223
223
|
case 1:
|
|
224
224
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
225
225
|
headers = {};
|
|
226
|
-
resolvedPath = ""
|
|
226
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/orders/{OrderId}";
|
|
227
227
|
if (input.OrderId !== undefined) {
|
|
228
228
|
labelValue = input.OrderId;
|
|
229
229
|
if (labelValue.length <= 0) {
|
|
@@ -254,7 +254,7 @@ export var serializeAws_restJson1GetOutpostCommand = function (input, context) {
|
|
|
254
254
|
case 1:
|
|
255
255
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
256
256
|
headers = {};
|
|
257
|
-
resolvedPath = ""
|
|
257
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/outposts/{OutpostId}";
|
|
258
258
|
if (input.OutpostId !== undefined) {
|
|
259
259
|
labelValue = input.OutpostId;
|
|
260
260
|
if (labelValue.length <= 0) {
|
|
@@ -285,7 +285,7 @@ export var serializeAws_restJson1GetOutpostInstanceTypesCommand = function (inpu
|
|
|
285
285
|
case 1:
|
|
286
286
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
287
287
|
headers = {};
|
|
288
|
-
resolvedPath = ""
|
|
288
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/outposts/{OutpostId}/instanceTypes";
|
|
289
289
|
if (input.OutpostId !== undefined) {
|
|
290
290
|
labelValue = input.OutpostId;
|
|
291
291
|
if (labelValue.length <= 0) {
|
|
@@ -318,7 +318,7 @@ export var serializeAws_restJson1GetSiteCommand = function (input, context) { re
|
|
|
318
318
|
case 1:
|
|
319
319
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
320
320
|
headers = {};
|
|
321
|
-
resolvedPath = ""
|
|
321
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sites/{SiteId}";
|
|
322
322
|
if (input.SiteId !== undefined) {
|
|
323
323
|
labelValue = input.SiteId;
|
|
324
324
|
if (labelValue.length <= 0) {
|
|
@@ -349,7 +349,7 @@ export var serializeAws_restJson1GetSiteAddressCommand = function (input, contex
|
|
|
349
349
|
case 1:
|
|
350
350
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
351
351
|
headers = {};
|
|
352
|
-
resolvedPath = ""
|
|
352
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sites/{SiteId}/address";
|
|
353
353
|
if (input.SiteId !== undefined) {
|
|
354
354
|
labelValue = input.SiteId;
|
|
355
355
|
if (labelValue.length <= 0) {
|
|
@@ -382,7 +382,7 @@ export var serializeAws_restJson1ListCatalogItemsCommand = function (input, cont
|
|
|
382
382
|
case 1:
|
|
383
383
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
384
384
|
headers = {};
|
|
385
|
-
resolvedPath = ""
|
|
385
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/catalog/items";
|
|
386
386
|
query = __assign(__assign(__assign(__assign(__assign({}, (input.NextToken !== undefined && { NextToken: input.NextToken })), (input.MaxResults !== undefined && { MaxResults: input.MaxResults.toString() })), (input.ItemClassFilter !== undefined && {
|
|
387
387
|
ItemClassFilter: (input.ItemClassFilter || []).map(function (_entry) { return _entry; }),
|
|
388
388
|
})), (input.SupportedStorageFilter !== undefined && {
|
|
@@ -411,7 +411,7 @@ export var serializeAws_restJson1ListOrdersCommand = function (input, context) {
|
|
|
411
411
|
case 1:
|
|
412
412
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
413
413
|
headers = {};
|
|
414
|
-
resolvedPath = ""
|
|
414
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-orders";
|
|
415
415
|
query = __assign(__assign(__assign({}, (input.OutpostIdentifierFilter !== undefined && { OutpostIdentifierFilter: input.OutpostIdentifierFilter })), (input.NextToken !== undefined && { NextToken: input.NextToken })), (input.MaxResults !== undefined && { MaxResults: input.MaxResults.toString() }));
|
|
416
416
|
return [2, new __HttpRequest({
|
|
417
417
|
protocol: protocol,
|
|
@@ -434,7 +434,7 @@ export var serializeAws_restJson1ListOutpostsCommand = function (input, context)
|
|
|
434
434
|
case 1:
|
|
435
435
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
436
436
|
headers = {};
|
|
437
|
-
resolvedPath = ""
|
|
437
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/outposts";
|
|
438
438
|
query = __assign(__assign(__assign(__assign(__assign({}, (input.NextToken !== undefined && { NextToken: input.NextToken })), (input.MaxResults !== undefined && { MaxResults: input.MaxResults.toString() })), (input.LifeCycleStatusFilter !== undefined && {
|
|
439
439
|
LifeCycleStatusFilter: (input.LifeCycleStatusFilter || []).map(function (_entry) { return _entry; }),
|
|
440
440
|
})), (input.AvailabilityZoneFilter !== undefined && {
|
|
@@ -463,8 +463,14 @@ export var serializeAws_restJson1ListSitesCommand = function (input, context) {
|
|
|
463
463
|
case 1:
|
|
464
464
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
465
465
|
headers = {};
|
|
466
|
-
resolvedPath = ""
|
|
467
|
-
query = __assign(__assign({}, (input.NextToken !== undefined && { NextToken: input.NextToken })), (input.MaxResults !== undefined && { MaxResults: input.MaxResults.toString() }))
|
|
466
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sites";
|
|
467
|
+
query = __assign(__assign(__assign(__assign(__assign({}, (input.NextToken !== undefined && { NextToken: input.NextToken })), (input.MaxResults !== undefined && { MaxResults: input.MaxResults.toString() })), (input.OperatingAddressCountryCodeFilter !== undefined && {
|
|
468
|
+
OperatingAddressCountryCodeFilter: (input.OperatingAddressCountryCodeFilter || []).map(function (_entry) { return _entry; }),
|
|
469
|
+
})), (input.OperatingAddressStateOrRegionFilter !== undefined && {
|
|
470
|
+
OperatingAddressStateOrRegionFilter: (input.OperatingAddressStateOrRegionFilter || []).map(function (_entry) { return _entry; }),
|
|
471
|
+
})), (input.OperatingAddressCityFilter !== undefined && {
|
|
472
|
+
OperatingAddressCityFilter: (input.OperatingAddressCityFilter || []).map(function (_entry) { return _entry; }),
|
|
473
|
+
}));
|
|
468
474
|
return [2, new __HttpRequest({
|
|
469
475
|
protocol: protocol,
|
|
470
476
|
hostname: hostname,
|
|
@@ -486,7 +492,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
486
492
|
case 1:
|
|
487
493
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
488
494
|
headers = {};
|
|
489
|
-
resolvedPath = ""
|
|
495
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
490
496
|
if (input.ResourceArn !== undefined) {
|
|
491
497
|
labelValue = input.ResourceArn;
|
|
492
498
|
if (labelValue.length <= 0) {
|
|
@@ -519,7 +525,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
519
525
|
headers = {
|
|
520
526
|
"content-type": "application/json",
|
|
521
527
|
};
|
|
522
|
-
resolvedPath = ""
|
|
528
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
523
529
|
if (input.ResourceArn !== undefined) {
|
|
524
530
|
labelValue = input.ResourceArn;
|
|
525
531
|
if (labelValue.length <= 0) {
|
|
@@ -551,7 +557,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
551
557
|
case 1:
|
|
552
558
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
553
559
|
headers = {};
|
|
554
|
-
resolvedPath = ""
|
|
560
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
555
561
|
if (input.ResourceArn !== undefined) {
|
|
556
562
|
labelValue = input.ResourceArn;
|
|
557
563
|
if (labelValue.length <= 0) {
|
|
@@ -586,7 +592,7 @@ export var serializeAws_restJson1UpdateOutpostCommand = function (input, context
|
|
|
586
592
|
headers = {
|
|
587
593
|
"content-type": "application/json",
|
|
588
594
|
};
|
|
589
|
-
resolvedPath = ""
|
|
595
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/outposts/{OutpostId}";
|
|
590
596
|
if (input.OutpostId !== undefined) {
|
|
591
597
|
labelValue = input.OutpostId;
|
|
592
598
|
if (labelValue.length <= 0) {
|
|
@@ -621,7 +627,7 @@ export var serializeAws_restJson1UpdateSiteCommand = function (input, context) {
|
|
|
621
627
|
headers = {
|
|
622
628
|
"content-type": "application/json",
|
|
623
629
|
};
|
|
624
|
-
resolvedPath = ""
|
|
630
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sites/{SiteId}";
|
|
625
631
|
if (input.SiteId !== undefined) {
|
|
626
632
|
labelValue = input.SiteId;
|
|
627
633
|
if (labelValue.length <= 0) {
|
|
@@ -655,7 +661,7 @@ export var serializeAws_restJson1UpdateSiteAddressCommand = function (input, con
|
|
|
655
661
|
headers = {
|
|
656
662
|
"content-type": "application/json",
|
|
657
663
|
};
|
|
658
|
-
resolvedPath = ""
|
|
664
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sites/{SiteId}/address";
|
|
659
665
|
if (input.SiteId !== undefined) {
|
|
660
666
|
labelValue = input.SiteId;
|
|
661
667
|
if (labelValue.length <= 0) {
|
|
@@ -690,7 +696,7 @@ export var serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand = funct
|
|
|
690
696
|
headers = {
|
|
691
697
|
"content-type": "application/json",
|
|
692
698
|
};
|
|
693
|
-
resolvedPath = ""
|
|
699
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sites/{SiteId}/rackPhysicalProperties";
|
|
694
700
|
if (input.SiteId !== undefined) {
|
|
695
701
|
labelValue = input.SiteId;
|
|
696
702
|
if (labelValue.length <= 0) {
|
package/dist-types/Outposts.d.ts
CHANGED
|
@@ -141,7 +141,12 @@ export declare class Outposts extends OutpostsClient {
|
|
|
141
141
|
listOutposts(args: ListOutpostsCommandInput, cb: (err: any, data?: ListOutpostsCommandOutput) => void): void;
|
|
142
142
|
listOutposts(args: ListOutpostsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOutpostsCommandOutput) => void): void;
|
|
143
143
|
/**
|
|
144
|
-
* <p>
|
|
144
|
+
* <p>Create a list of the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to
|
|
145
|
+
* return a more specific list of results. Use filters to match site city, country code, or state/region of the
|
|
146
|
+
* operating address. </p>
|
|
147
|
+
*
|
|
148
|
+
* <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only
|
|
149
|
+
* results that match all of the specified filters.</p>
|
|
145
150
|
*/
|
|
146
151
|
listSites(args: ListSitesCommandInput, options?: __HttpHandlerOptions): Promise<ListSitesCommandOutput>;
|
|
147
152
|
listSites(args: ListSitesCommandInput, cb: (err: any, data?: ListSitesCommandOutput) => void): void;
|
|
@@ -7,7 +7,12 @@ export interface ListSitesCommandInput extends ListSitesInput {
|
|
|
7
7
|
export interface ListSitesCommandOutput extends ListSitesOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Create a list of the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to
|
|
11
|
+
* return a more specific list of results. Use filters to match site city, country code, or state/region of the
|
|
12
|
+
* operating address. </p>
|
|
13
|
+
*
|
|
14
|
+
* <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only
|
|
15
|
+
* results that match all of the specified filters.</p>
|
|
11
16
|
* @example
|
|
12
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
18
|
* ```javascript
|
|
@@ -1323,6 +1323,29 @@ export interface ListSitesInput {
|
|
|
1323
1323
|
* <p>The maximum page size.</p>
|
|
1324
1324
|
*/
|
|
1325
1325
|
MaxResults?: number;
|
|
1326
|
+
/**
|
|
1327
|
+
* <p> A filter for the country code of the Outpost site. </p>
|
|
1328
|
+
* <p>Filter values are case sensitive. If you specify multiple
|
|
1329
|
+
* values for a filter, the values are joined with an <code>OR</code>, and the request returns
|
|
1330
|
+
* all results that match any of the specified values.</p>
|
|
1331
|
+
*/
|
|
1332
|
+
OperatingAddressCountryCodeFilter?: string[];
|
|
1333
|
+
/**
|
|
1334
|
+
* <p> A filter for the state/region of the Outpost site. </p>
|
|
1335
|
+
* <p>Filter values are case sensitive. If you specify multiple
|
|
1336
|
+
* values for a filter, the values are joined with an <code>OR</code>, and the request returns
|
|
1337
|
+
* all results that match any of the specified values.</p>
|
|
1338
|
+
*/
|
|
1339
|
+
OperatingAddressStateOrRegionFilter?: string[];
|
|
1340
|
+
/**
|
|
1341
|
+
* <p>
|
|
1342
|
+
* A filter for the city of the Outpost site.
|
|
1343
|
+
* </p>
|
|
1344
|
+
* <p>Filter values are case sensitive. If you specify multiple
|
|
1345
|
+
* values for a filter, the values are joined with an <code>OR</code>, and the request returns
|
|
1346
|
+
* all results that match any of the specified values.</p>
|
|
1347
|
+
*/
|
|
1348
|
+
OperatingAddressCityFilter?: string[];
|
|
1326
1349
|
}
|
|
1327
1350
|
export declare namespace ListSitesInput {
|
|
1328
1351
|
/**
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: OutpostsClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -719,6 +719,12 @@ export interface ListSitesInput {
|
|
|
719
719
|
NextToken?: string;
|
|
720
720
|
|
|
721
721
|
MaxResults?: number;
|
|
722
|
+
|
|
723
|
+
OperatingAddressCountryCodeFilter?: string[];
|
|
724
|
+
|
|
725
|
+
OperatingAddressStateOrRegionFilter?: string[];
|
|
726
|
+
|
|
727
|
+
OperatingAddressCityFilter?: string[];
|
|
722
728
|
}
|
|
723
729
|
export declare namespace ListSitesInput {
|
|
724
730
|
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: OutpostsClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-outposts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Outposts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.55.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,47 +18,47 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.55.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.55.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.55.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.55.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.55.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.55.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.55.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.55.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|
|
58
58
|
"downlevel-dts": "0.7.0",
|
|
59
59
|
"rimraf": "3.0.2",
|
|
60
60
|
"typedoc": "0.19.2",
|
|
61
|
-
"typescript": "~4.
|
|
61
|
+
"typescript": "~4.6.2"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=12.0.0"
|