@aws-sdk/client-outposts 3.42.0 → 3.46.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 +50 -0
- package/README.md +10 -10
- package/dist-cjs/Outposts.js +180 -0
- package/dist-cjs/commands/CancelOrderCommand.js +36 -0
- package/dist-cjs/commands/CreateSiteCommand.js +36 -0
- package/dist-cjs/commands/GetCatalogItemCommand.js +36 -0
- package/dist-cjs/commands/GetOrderCommand.js +36 -0
- package/dist-cjs/commands/GetSiteAddressCommand.js +36 -0
- package/dist-cjs/commands/GetSiteCommand.js +36 -0
- package/dist-cjs/commands/ListCatalogItemsCommand.js +36 -0
- package/dist-cjs/commands/ListOrdersCommand.js +36 -0
- package/dist-cjs/commands/UpdateOutpostCommand.js +36 -0
- package/dist-cjs/commands/UpdateSiteAddressCommand.js +36 -0
- package/dist-cjs/commands/UpdateSiteCommand.js +36 -0
- package/dist-cjs/commands/UpdateSiteRackPhysicalPropertiesCommand.js +36 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +318 -25
- package/dist-cjs/pagination/ListCatalogItemsPaginator.js +35 -0
- package/dist-cjs/pagination/ListOrdersPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1562 -119
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/Outposts.js +180 -0
- package/dist-es/commands/CancelOrderCommand.js +39 -0
- package/dist-es/commands/CreateSiteCommand.js +39 -0
- package/dist-es/commands/GetCatalogItemCommand.js +39 -0
- package/dist-es/commands/GetOrderCommand.js +39 -0
- package/dist-es/commands/GetSiteAddressCommand.js +39 -0
- package/dist-es/commands/GetSiteCommand.js +39 -0
- package/dist-es/commands/ListCatalogItemsCommand.js +39 -0
- package/dist-es/commands/ListOrdersCommand.js +39 -0
- package/dist-es/commands/UpdateOutpostCommand.js +39 -0
- package/dist-es/commands/UpdateSiteAddressCommand.js +39 -0
- package/dist-es/commands/UpdateSiteCommand.js +39 -0
- package/dist-es/commands/UpdateSiteRackPhysicalPropertiesCommand.js +39 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +250 -16
- package/dist-es/pagination/ListCatalogItemsPaginator.js +74 -0
- package/dist-es/pagination/ListOrdersPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1869 -265
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/Outposts.d.ts +123 -6
- package/dist-types/OutpostsClient.d.ts +17 -5
- package/dist-types/commands/CancelOrderCommand.d.ts +37 -0
- package/dist-types/commands/CreateSiteCommand.d.ts +37 -0
- package/dist-types/commands/GetCatalogItemCommand.d.ts +35 -0
- package/dist-types/commands/GetOrderCommand.d.ts +35 -0
- package/dist-types/commands/GetSiteAddressCommand.d.ts +37 -0
- package/dist-types/commands/GetSiteCommand.d.ts +37 -0
- package/dist-types/commands/ListCatalogItemsCommand.d.ts +39 -0
- package/dist-types/commands/ListOrdersCommand.d.ts +36 -0
- package/dist-types/commands/ListOutpostsCommand.d.ts +2 -2
- package/dist-types/commands/ListSitesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOutpostCommand.d.ts +37 -0
- package/dist-types/commands/UpdateSiteAddressCommand.d.ts +46 -0
- package/dist-types/commands/UpdateSiteCommand.d.ts +37 -0
- package/dist-types/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +40 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +1206 -144
- package/dist-types/pagination/ListCatalogItemsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListOrdersPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/Outposts.d.ts +60 -0
- package/dist-types/ts3.4/OutpostsClient.d.ts +14 -2
- package/dist-types/ts3.4/commands/CancelOrderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSiteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCatalogItemCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetOrderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSiteAddressCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSiteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCatalogItemsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListOrdersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateOutpostCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSiteAddressCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSiteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +540 -51
- package/dist-types/ts3.4/pagination/ListCatalogItemsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListOrdersPaginator.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 +36 -0
- package/package.json +36 -43
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateSiteInput, UpdateSiteOutput } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateSiteCommand, serializeAws_restJson1UpdateSiteCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateSiteCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateSiteCommand, _super);
|
|
8
|
+
function UpdateSiteCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateSiteCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "OutpostsClient";
|
|
18
|
+
var commandName = "UpdateSiteCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateSiteInput.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateSiteOutput.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateSiteCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateSiteCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateSiteCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateSiteCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateSiteCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateSiteCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateSiteRackPhysicalPropertiesInput, UpdateSiteRackPhysicalPropertiesOutput } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand, serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateSiteRackPhysicalPropertiesCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateSiteRackPhysicalPropertiesCommand, _super);
|
|
8
|
+
function UpdateSiteRackPhysicalPropertiesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateSiteRackPhysicalPropertiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "OutpostsClient";
|
|
18
|
+
var commandName = "UpdateSiteRackPhysicalPropertiesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateSiteRackPhysicalPropertiesInput.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateSiteRackPhysicalPropertiesOutput.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateSiteRackPhysicalPropertiesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateSiteRackPhysicalPropertiesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateSiteRackPhysicalPropertiesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateSiteRackPhysicalPropertiesCommand };
|
|
@@ -1,11 +1,23 @@
|
|
|
1
|
+
export * from "./CancelOrderCommand";
|
|
1
2
|
export * from "./CreateOrderCommand";
|
|
2
3
|
export * from "./CreateOutpostCommand";
|
|
4
|
+
export * from "./CreateSiteCommand";
|
|
3
5
|
export * from "./DeleteOutpostCommand";
|
|
4
6
|
export * from "./DeleteSiteCommand";
|
|
7
|
+
export * from "./GetCatalogItemCommand";
|
|
8
|
+
export * from "./GetOrderCommand";
|
|
5
9
|
export * from "./GetOutpostCommand";
|
|
6
10
|
export * from "./GetOutpostInstanceTypesCommand";
|
|
11
|
+
export * from "./GetSiteAddressCommand";
|
|
12
|
+
export * from "./GetSiteCommand";
|
|
13
|
+
export * from "./ListCatalogItemsCommand";
|
|
14
|
+
export * from "./ListOrdersCommand";
|
|
7
15
|
export * from "./ListOutpostsCommand";
|
|
8
16
|
export * from "./ListSitesCommand";
|
|
9
17
|
export * from "./ListTagsForResourceCommand";
|
|
10
18
|
export * from "./TagResourceCommand";
|
|
11
19
|
export * from "./UntagResourceCommand";
|
|
20
|
+
export * from "./UpdateOutpostCommand";
|
|
21
|
+
export * from "./UpdateSiteAddressCommand";
|
|
22
|
+
export * from "./UpdateSiteCommand";
|
|
23
|
+
export * from "./UpdateSiteRackPhysicalPropertiesCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,14 +3,67 @@ export var AccessDeniedException;
|
|
|
3
3
|
(function (AccessDeniedException) {
|
|
4
4
|
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
5
|
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
6
|
+
export var Address;
|
|
7
|
+
(function (Address) {
|
|
8
|
+
Address.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
+
})(Address || (Address = {}));
|
|
10
|
+
export var AddressType;
|
|
11
|
+
(function (AddressType) {
|
|
12
|
+
AddressType["OPERATING_ADDRESS"] = "OPERATING_ADDRESS";
|
|
13
|
+
AddressType["SHIPPING_ADDRESS"] = "SHIPPING_ADDRESS";
|
|
14
|
+
})(AddressType || (AddressType = {}));
|
|
15
|
+
export var CancelOrderInput;
|
|
16
|
+
(function (CancelOrderInput) {
|
|
17
|
+
CancelOrderInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
18
|
+
})(CancelOrderInput || (CancelOrderInput = {}));
|
|
19
|
+
export var CancelOrderOutput;
|
|
20
|
+
(function (CancelOrderOutput) {
|
|
21
|
+
CancelOrderOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
22
|
+
})(CancelOrderOutput || (CancelOrderOutput = {}));
|
|
6
23
|
export var ResourceType;
|
|
7
24
|
(function (ResourceType) {
|
|
25
|
+
ResourceType["ORDER"] = "ORDER";
|
|
8
26
|
ResourceType["OUTPOST"] = "OUTPOST";
|
|
9
27
|
})(ResourceType || (ResourceType = {}));
|
|
10
28
|
export var ConflictException;
|
|
11
29
|
(function (ConflictException) {
|
|
12
30
|
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
31
|
})(ConflictException || (ConflictException = {}));
|
|
32
|
+
export var InternalServerException;
|
|
33
|
+
(function (InternalServerException) {
|
|
34
|
+
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
35
|
+
})(InternalServerException || (InternalServerException = {}));
|
|
36
|
+
export var NotFoundException;
|
|
37
|
+
(function (NotFoundException) {
|
|
38
|
+
NotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
39
|
+
})(NotFoundException || (NotFoundException = {}));
|
|
40
|
+
export var ValidationException;
|
|
41
|
+
(function (ValidationException) {
|
|
42
|
+
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
43
|
+
})(ValidationException || (ValidationException = {}));
|
|
44
|
+
export var EC2Capacity;
|
|
45
|
+
(function (EC2Capacity) {
|
|
46
|
+
EC2Capacity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
47
|
+
})(EC2Capacity || (EC2Capacity = {}));
|
|
48
|
+
export var CatalogItemStatus;
|
|
49
|
+
(function (CatalogItemStatus) {
|
|
50
|
+
CatalogItemStatus["AVAILABLE"] = "AVAILABLE";
|
|
51
|
+
CatalogItemStatus["DISCONTINUED"] = "DISCONTINUED";
|
|
52
|
+
})(CatalogItemStatus || (CatalogItemStatus = {}));
|
|
53
|
+
export var SupportedStorageEnum;
|
|
54
|
+
(function (SupportedStorageEnum) {
|
|
55
|
+
SupportedStorageEnum["EBS"] = "EBS";
|
|
56
|
+
SupportedStorageEnum["S3"] = "S3";
|
|
57
|
+
})(SupportedStorageEnum || (SupportedStorageEnum = {}));
|
|
58
|
+
export var CatalogItem;
|
|
59
|
+
(function (CatalogItem) {
|
|
60
|
+
CatalogItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
61
|
+
})(CatalogItem || (CatalogItem = {}));
|
|
62
|
+
export var CatalogItemClass;
|
|
63
|
+
(function (CatalogItemClass) {
|
|
64
|
+
CatalogItemClass["RACK"] = "RACK";
|
|
65
|
+
CatalogItemClass["SERVER"] = "SERVER";
|
|
66
|
+
})(CatalogItemClass || (CatalogItemClass = {}));
|
|
14
67
|
export var LineItemRequest;
|
|
15
68
|
(function (LineItemRequest) {
|
|
16
69
|
LineItemRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -29,6 +82,17 @@ export var CreateOrderInput;
|
|
|
29
82
|
(function (CreateOrderInput) {
|
|
30
83
|
CreateOrderInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
31
84
|
})(CreateOrderInput || (CreateOrderInput = {}));
|
|
85
|
+
export var LineItemStatus;
|
|
86
|
+
(function (LineItemStatus) {
|
|
87
|
+
LineItemStatus["BUILDING"] = "BUILDING";
|
|
88
|
+
LineItemStatus["CANCELLED"] = "CANCELLED";
|
|
89
|
+
LineItemStatus["DELIVERED"] = "DELIVERED";
|
|
90
|
+
LineItemStatus["ERROR"] = "ERROR";
|
|
91
|
+
LineItemStatus["INSTALLED"] = "INSTALLED";
|
|
92
|
+
LineItemStatus["INSTALLING"] = "INSTALLING";
|
|
93
|
+
LineItemStatus["PREPARING"] = "PREPARING";
|
|
94
|
+
LineItemStatus["SHIPPED"] = "SHIPPED";
|
|
95
|
+
})(LineItemStatus || (LineItemStatus = {}));
|
|
32
96
|
export var LineItem;
|
|
33
97
|
(function (LineItem) {
|
|
34
98
|
LineItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -36,9 +100,13 @@ export var LineItem;
|
|
|
36
100
|
export var OrderStatus;
|
|
37
101
|
(function (OrderStatus) {
|
|
38
102
|
OrderStatus["CANCELLED"] = "CANCELLED";
|
|
103
|
+
OrderStatus["COMPLETED"] = "COMPLETED";
|
|
104
|
+
OrderStatus["ERROR"] = "ERROR";
|
|
39
105
|
OrderStatus["FULFILLED"] = "FULFILLED";
|
|
40
106
|
OrderStatus["INSTALLING"] = "INSTALLING";
|
|
107
|
+
OrderStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
41
108
|
OrderStatus["PENDING"] = "PENDING";
|
|
109
|
+
OrderStatus["PREPARING"] = "PREPARING";
|
|
42
110
|
OrderStatus["PROCESSING"] = "PROCESSING";
|
|
43
111
|
OrderStatus["RECEIVED"] = "RECEIVED";
|
|
44
112
|
})(OrderStatus || (OrderStatus = {}));
|
|
@@ -50,22 +118,15 @@ export var CreateOrderOutput;
|
|
|
50
118
|
(function (CreateOrderOutput) {
|
|
51
119
|
CreateOrderOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
52
120
|
})(CreateOrderOutput || (CreateOrderOutput = {}));
|
|
53
|
-
export var InternalServerException;
|
|
54
|
-
(function (InternalServerException) {
|
|
55
|
-
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
56
|
-
})(InternalServerException || (InternalServerException = {}));
|
|
57
|
-
export var NotFoundException;
|
|
58
|
-
(function (NotFoundException) {
|
|
59
|
-
NotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
60
|
-
})(NotFoundException || (NotFoundException = {}));
|
|
61
121
|
export var ServiceQuotaExceededException;
|
|
62
122
|
(function (ServiceQuotaExceededException) {
|
|
63
123
|
ServiceQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
64
124
|
})(ServiceQuotaExceededException || (ServiceQuotaExceededException = {}));
|
|
65
|
-
export var
|
|
66
|
-
(function (
|
|
67
|
-
|
|
68
|
-
|
|
125
|
+
export var SupportedHardwareType;
|
|
126
|
+
(function (SupportedHardwareType) {
|
|
127
|
+
SupportedHardwareType["RACK"] = "RACK";
|
|
128
|
+
SupportedHardwareType["SERVER"] = "SERVER";
|
|
129
|
+
})(SupportedHardwareType || (SupportedHardwareType = {}));
|
|
69
130
|
export var CreateOutpostInput;
|
|
70
131
|
(function (CreateOutpostInput) {
|
|
71
132
|
CreateOutpostInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -78,6 +139,94 @@ export var CreateOutpostOutput;
|
|
|
78
139
|
(function (CreateOutpostOutput) {
|
|
79
140
|
CreateOutpostOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
80
141
|
})(CreateOutpostOutput || (CreateOutpostOutput = {}));
|
|
142
|
+
export var FiberOpticCableType;
|
|
143
|
+
(function (FiberOpticCableType) {
|
|
144
|
+
FiberOpticCableType["MULTI_MODE"] = "MULTI_MODE";
|
|
145
|
+
FiberOpticCableType["SINGLE_MODE"] = "SINGLE_MODE";
|
|
146
|
+
})(FiberOpticCableType || (FiberOpticCableType = {}));
|
|
147
|
+
export var MaximumSupportedWeightLbs;
|
|
148
|
+
(function (MaximumSupportedWeightLbs) {
|
|
149
|
+
MaximumSupportedWeightLbs["MAX_1400_LBS"] = "MAX_1400_LBS";
|
|
150
|
+
MaximumSupportedWeightLbs["MAX_1600_LBS"] = "MAX_1600_LBS";
|
|
151
|
+
MaximumSupportedWeightLbs["MAX_1800_LBS"] = "MAX_1800_LBS";
|
|
152
|
+
MaximumSupportedWeightLbs["MAX_2000_LBS"] = "MAX_2000_LBS";
|
|
153
|
+
MaximumSupportedWeightLbs["NO_LIMIT"] = "NO_LIMIT";
|
|
154
|
+
})(MaximumSupportedWeightLbs || (MaximumSupportedWeightLbs = {}));
|
|
155
|
+
export var OpticalStandard;
|
|
156
|
+
(function (OpticalStandard) {
|
|
157
|
+
OpticalStandard["OPTIC_1000BASE_LX"] = "OPTIC_1000BASE_LX";
|
|
158
|
+
OpticalStandard["OPTIC_1000BASE_SX"] = "OPTIC_1000BASE_SX";
|
|
159
|
+
OpticalStandard["OPTIC_100GBASE_CWDM4"] = "OPTIC_100GBASE_CWDM4";
|
|
160
|
+
OpticalStandard["OPTIC_100GBASE_LR4"] = "OPTIC_100GBASE_LR4";
|
|
161
|
+
OpticalStandard["OPTIC_100GBASE_SR4"] = "OPTIC_100GBASE_SR4";
|
|
162
|
+
OpticalStandard["OPTIC_100G_PSM4_MSA"] = "OPTIC_100G_PSM4_MSA";
|
|
163
|
+
OpticalStandard["OPTIC_10GBASE_IR"] = "OPTIC_10GBASE_IR";
|
|
164
|
+
OpticalStandard["OPTIC_10GBASE_LR"] = "OPTIC_10GBASE_LR";
|
|
165
|
+
OpticalStandard["OPTIC_10GBASE_SR"] = "OPTIC_10GBASE_SR";
|
|
166
|
+
OpticalStandard["OPTIC_40GBASE_ESR"] = "OPTIC_40GBASE_ESR";
|
|
167
|
+
OpticalStandard["OPTIC_40GBASE_IR4_LR4L"] = "OPTIC_40GBASE_IR4_LR4L";
|
|
168
|
+
OpticalStandard["OPTIC_40GBASE_LR4"] = "OPTIC_40GBASE_LR4";
|
|
169
|
+
OpticalStandard["OPTIC_40GBASE_SR"] = "OPTIC_40GBASE_SR";
|
|
170
|
+
})(OpticalStandard || (OpticalStandard = {}));
|
|
171
|
+
export var PowerConnector;
|
|
172
|
+
(function (PowerConnector) {
|
|
173
|
+
PowerConnector["AH530P7W"] = "AH530P7W";
|
|
174
|
+
PowerConnector["AH532P6W"] = "AH532P6W";
|
|
175
|
+
PowerConnector["IEC309"] = "IEC309";
|
|
176
|
+
PowerConnector["L6_30P"] = "L6_30P";
|
|
177
|
+
})(PowerConnector || (PowerConnector = {}));
|
|
178
|
+
export var PowerDrawKva;
|
|
179
|
+
(function (PowerDrawKva) {
|
|
180
|
+
PowerDrawKva["POWER_10_KVA"] = "POWER_10_KVA";
|
|
181
|
+
PowerDrawKva["POWER_15_KVA"] = "POWER_15_KVA";
|
|
182
|
+
PowerDrawKva["POWER_5_KVA"] = "POWER_5_KVA";
|
|
183
|
+
})(PowerDrawKva || (PowerDrawKva = {}));
|
|
184
|
+
export var PowerFeedDrop;
|
|
185
|
+
(function (PowerFeedDrop) {
|
|
186
|
+
PowerFeedDrop["ABOVE_RACK"] = "ABOVE_RACK";
|
|
187
|
+
PowerFeedDrop["BELOW_RACK"] = "BELOW_RACK";
|
|
188
|
+
})(PowerFeedDrop || (PowerFeedDrop = {}));
|
|
189
|
+
export var PowerPhase;
|
|
190
|
+
(function (PowerPhase) {
|
|
191
|
+
PowerPhase["SINGLE_PHASE"] = "SINGLE_PHASE";
|
|
192
|
+
PowerPhase["THREE_PHASE"] = "THREE_PHASE";
|
|
193
|
+
})(PowerPhase || (PowerPhase = {}));
|
|
194
|
+
export var UplinkCount;
|
|
195
|
+
(function (UplinkCount) {
|
|
196
|
+
UplinkCount["UPLINK_COUNT_1"] = "UPLINK_COUNT_1";
|
|
197
|
+
UplinkCount["UPLINK_COUNT_12"] = "UPLINK_COUNT_12";
|
|
198
|
+
UplinkCount["UPLINK_COUNT_16"] = "UPLINK_COUNT_16";
|
|
199
|
+
UplinkCount["UPLINK_COUNT_2"] = "UPLINK_COUNT_2";
|
|
200
|
+
UplinkCount["UPLINK_COUNT_3"] = "UPLINK_COUNT_3";
|
|
201
|
+
UplinkCount["UPLINK_COUNT_4"] = "UPLINK_COUNT_4";
|
|
202
|
+
UplinkCount["UPLINK_COUNT_5"] = "UPLINK_COUNT_5";
|
|
203
|
+
UplinkCount["UPLINK_COUNT_6"] = "UPLINK_COUNT_6";
|
|
204
|
+
UplinkCount["UPLINK_COUNT_7"] = "UPLINK_COUNT_7";
|
|
205
|
+
UplinkCount["UPLINK_COUNT_8"] = "UPLINK_COUNT_8";
|
|
206
|
+
})(UplinkCount || (UplinkCount = {}));
|
|
207
|
+
export var UplinkGbps;
|
|
208
|
+
(function (UplinkGbps) {
|
|
209
|
+
UplinkGbps["UPLINK_100G"] = "UPLINK_100G";
|
|
210
|
+
UplinkGbps["UPLINK_10G"] = "UPLINK_10G";
|
|
211
|
+
UplinkGbps["UPLINK_1G"] = "UPLINK_1G";
|
|
212
|
+
UplinkGbps["UPLINK_40G"] = "UPLINK_40G";
|
|
213
|
+
})(UplinkGbps || (UplinkGbps = {}));
|
|
214
|
+
export var RackPhysicalProperties;
|
|
215
|
+
(function (RackPhysicalProperties) {
|
|
216
|
+
RackPhysicalProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
217
|
+
})(RackPhysicalProperties || (RackPhysicalProperties = {}));
|
|
218
|
+
export var CreateSiteInput;
|
|
219
|
+
(function (CreateSiteInput) {
|
|
220
|
+
CreateSiteInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
221
|
+
})(CreateSiteInput || (CreateSiteInput = {}));
|
|
222
|
+
export var Site;
|
|
223
|
+
(function (Site) {
|
|
224
|
+
Site.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
225
|
+
})(Site || (Site = {}));
|
|
226
|
+
export var CreateSiteOutput;
|
|
227
|
+
(function (CreateSiteOutput) {
|
|
228
|
+
CreateSiteOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
|
+
})(CreateSiteOutput || (CreateSiteOutput = {}));
|
|
81
230
|
export var DeleteOutpostInput;
|
|
82
231
|
(function (DeleteOutpostInput) {
|
|
83
232
|
DeleteOutpostInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -94,6 +243,22 @@ export var DeleteSiteOutput;
|
|
|
94
243
|
(function (DeleteSiteOutput) {
|
|
95
244
|
DeleteSiteOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
96
245
|
})(DeleteSiteOutput || (DeleteSiteOutput = {}));
|
|
246
|
+
export var GetCatalogItemInput;
|
|
247
|
+
(function (GetCatalogItemInput) {
|
|
248
|
+
GetCatalogItemInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
249
|
+
})(GetCatalogItemInput || (GetCatalogItemInput = {}));
|
|
250
|
+
export var GetCatalogItemOutput;
|
|
251
|
+
(function (GetCatalogItemOutput) {
|
|
252
|
+
GetCatalogItemOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
253
|
+
})(GetCatalogItemOutput || (GetCatalogItemOutput = {}));
|
|
254
|
+
export var GetOrderInput;
|
|
255
|
+
(function (GetOrderInput) {
|
|
256
|
+
GetOrderInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
257
|
+
})(GetOrderInput || (GetOrderInput = {}));
|
|
258
|
+
export var GetOrderOutput;
|
|
259
|
+
(function (GetOrderOutput) {
|
|
260
|
+
GetOrderOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
261
|
+
})(GetOrderOutput || (GetOrderOutput = {}));
|
|
97
262
|
export var GetOutpostInput;
|
|
98
263
|
(function (GetOutpostInput) {
|
|
99
264
|
GetOutpostInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -114,6 +279,47 @@ export var GetOutpostInstanceTypesOutput;
|
|
|
114
279
|
(function (GetOutpostInstanceTypesOutput) {
|
|
115
280
|
GetOutpostInstanceTypesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
116
281
|
})(GetOutpostInstanceTypesOutput || (GetOutpostInstanceTypesOutput = {}));
|
|
282
|
+
export var GetSiteInput;
|
|
283
|
+
(function (GetSiteInput) {
|
|
284
|
+
GetSiteInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
285
|
+
})(GetSiteInput || (GetSiteInput = {}));
|
|
286
|
+
export var GetSiteOutput;
|
|
287
|
+
(function (GetSiteOutput) {
|
|
288
|
+
GetSiteOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
289
|
+
})(GetSiteOutput || (GetSiteOutput = {}));
|
|
290
|
+
export var GetSiteAddressInput;
|
|
291
|
+
(function (GetSiteAddressInput) {
|
|
292
|
+
GetSiteAddressInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
293
|
+
})(GetSiteAddressInput || (GetSiteAddressInput = {}));
|
|
294
|
+
export var GetSiteAddressOutput;
|
|
295
|
+
(function (GetSiteAddressOutput) {
|
|
296
|
+
GetSiteAddressOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
297
|
+
})(GetSiteAddressOutput || (GetSiteAddressOutput = {}));
|
|
298
|
+
export var ListCatalogItemsInput;
|
|
299
|
+
(function (ListCatalogItemsInput) {
|
|
300
|
+
ListCatalogItemsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
301
|
+
})(ListCatalogItemsInput || (ListCatalogItemsInput = {}));
|
|
302
|
+
export var ListCatalogItemsOutput;
|
|
303
|
+
(function (ListCatalogItemsOutput) {
|
|
304
|
+
ListCatalogItemsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
305
|
+
})(ListCatalogItemsOutput || (ListCatalogItemsOutput = {}));
|
|
306
|
+
export var ListOrdersInput;
|
|
307
|
+
(function (ListOrdersInput) {
|
|
308
|
+
ListOrdersInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
309
|
+
})(ListOrdersInput || (ListOrdersInput = {}));
|
|
310
|
+
export var OrderType;
|
|
311
|
+
(function (OrderType) {
|
|
312
|
+
OrderType["OUTPOST"] = "OUTPOST";
|
|
313
|
+
OrderType["REPLACEMENT"] = "REPLACEMENT";
|
|
314
|
+
})(OrderType || (OrderType = {}));
|
|
315
|
+
export var OrderSummary;
|
|
316
|
+
(function (OrderSummary) {
|
|
317
|
+
OrderSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
318
|
+
})(OrderSummary || (OrderSummary = {}));
|
|
319
|
+
export var ListOrdersOutput;
|
|
320
|
+
(function (ListOrdersOutput) {
|
|
321
|
+
ListOrdersOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
322
|
+
})(ListOrdersOutput || (ListOrdersOutput = {}));
|
|
117
323
|
export var ListOutpostsInput;
|
|
118
324
|
(function (ListOutpostsInput) {
|
|
119
325
|
ListOutpostsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -126,10 +332,6 @@ export var ListSitesInput;
|
|
|
126
332
|
(function (ListSitesInput) {
|
|
127
333
|
ListSitesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
128
334
|
})(ListSitesInput || (ListSitesInput = {}));
|
|
129
|
-
export var Site;
|
|
130
|
-
(function (Site) {
|
|
131
|
-
Site.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
132
|
-
})(Site || (Site = {}));
|
|
133
335
|
export var ListSitesOutput;
|
|
134
336
|
(function (ListSitesOutput) {
|
|
135
337
|
ListSitesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -158,3 +360,35 @@ export var UntagResourceResponse;
|
|
|
158
360
|
(function (UntagResourceResponse) {
|
|
159
361
|
UntagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
160
362
|
})(UntagResourceResponse || (UntagResourceResponse = {}));
|
|
363
|
+
export var UpdateOutpostInput;
|
|
364
|
+
(function (UpdateOutpostInput) {
|
|
365
|
+
UpdateOutpostInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
366
|
+
})(UpdateOutpostInput || (UpdateOutpostInput = {}));
|
|
367
|
+
export var UpdateOutpostOutput;
|
|
368
|
+
(function (UpdateOutpostOutput) {
|
|
369
|
+
UpdateOutpostOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
370
|
+
})(UpdateOutpostOutput || (UpdateOutpostOutput = {}));
|
|
371
|
+
export var UpdateSiteInput;
|
|
372
|
+
(function (UpdateSiteInput) {
|
|
373
|
+
UpdateSiteInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
374
|
+
})(UpdateSiteInput || (UpdateSiteInput = {}));
|
|
375
|
+
export var UpdateSiteOutput;
|
|
376
|
+
(function (UpdateSiteOutput) {
|
|
377
|
+
UpdateSiteOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
378
|
+
})(UpdateSiteOutput || (UpdateSiteOutput = {}));
|
|
379
|
+
export var UpdateSiteAddressInput;
|
|
380
|
+
(function (UpdateSiteAddressInput) {
|
|
381
|
+
UpdateSiteAddressInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
382
|
+
})(UpdateSiteAddressInput || (UpdateSiteAddressInput = {}));
|
|
383
|
+
export var UpdateSiteAddressOutput;
|
|
384
|
+
(function (UpdateSiteAddressOutput) {
|
|
385
|
+
UpdateSiteAddressOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
386
|
+
})(UpdateSiteAddressOutput || (UpdateSiteAddressOutput = {}));
|
|
387
|
+
export var UpdateSiteRackPhysicalPropertiesInput;
|
|
388
|
+
(function (UpdateSiteRackPhysicalPropertiesInput) {
|
|
389
|
+
UpdateSiteRackPhysicalPropertiesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
390
|
+
})(UpdateSiteRackPhysicalPropertiesInput || (UpdateSiteRackPhysicalPropertiesInput = {}));
|
|
391
|
+
export var UpdateSiteRackPhysicalPropertiesOutput;
|
|
392
|
+
(function (UpdateSiteRackPhysicalPropertiesOutput) {
|
|
393
|
+
UpdateSiteRackPhysicalPropertiesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
394
|
+
})(UpdateSiteRackPhysicalPropertiesOutput || (UpdateSiteRackPhysicalPropertiesOutput = {}));
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListCatalogItemsCommand, } from "../commands/ListCatalogItemsCommand";
|
|
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 ListCatalogItemsCommand(input)], __read(args)))];
|
|
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.listCatalogItems.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListCatalogItems(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 paginateListCatalogItems_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
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))))];
|
|
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))))];
|
|
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
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListOrdersCommand } from "../commands/ListOrdersCommand";
|
|
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 ListOrdersCommand(input)], __read(args)))];
|
|
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.listOrders.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListOrders(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 paginateListOrders_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
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))))];
|
|
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))))];
|
|
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
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|