@aws-sdk/client-outposts 3.42.0 → 3.43.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/README.md +10 -10
- package/dist-cjs/Outposts.js +165 -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/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 +11 -0
- package/dist-cjs/models/models_0.js +301 -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 +1429 -103
- package/dist-es/Outposts.js +165 -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/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 +11 -0
- package/dist-es/models/models_0.js +237 -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 +1638 -165
- package/dist-types/Outposts.d.ts +114 -6
- package/dist-types/OutpostsClient.d.ts +16 -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/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 +11 -0
- package/dist-types/models/models_0.d.ts +1133 -151
- 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 +33 -0
- package/dist-types/ts3.4/Outposts.d.ts +55 -0
- package/dist-types/ts3.4/OutpostsClient.d.ts +13 -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/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 +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +511 -52
- 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 +33 -0
- package/package.json +2 -2
|
@@ -1,11 +1,22 @@
|
|
|
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 "./UpdateSiteAddressCommand";
|
|
21
|
+
export * from "./UpdateSiteCommand";
|
|
22
|
+
export * from "./UpdateSiteRackPhysicalPropertiesCommand";
|
|
@@ -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,10 @@ 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 ValidationException;
|
|
66
|
-
(function (ValidationException) {
|
|
67
|
-
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
68
|
-
})(ValidationException || (ValidationException = {}));
|
|
69
125
|
export var CreateOutpostInput;
|
|
70
126
|
(function (CreateOutpostInput) {
|
|
71
127
|
CreateOutpostInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -78,6 +134,94 @@ export var CreateOutpostOutput;
|
|
|
78
134
|
(function (CreateOutpostOutput) {
|
|
79
135
|
CreateOutpostOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
80
136
|
})(CreateOutpostOutput || (CreateOutpostOutput = {}));
|
|
137
|
+
export var FiberOpticCableType;
|
|
138
|
+
(function (FiberOpticCableType) {
|
|
139
|
+
FiberOpticCableType["MULTI_MODE"] = "MULTI_MODE";
|
|
140
|
+
FiberOpticCableType["SINGLE_MODE"] = "SINGLE_MODE";
|
|
141
|
+
})(FiberOpticCableType || (FiberOpticCableType = {}));
|
|
142
|
+
export var MaximumSupportedWeightLbs;
|
|
143
|
+
(function (MaximumSupportedWeightLbs) {
|
|
144
|
+
MaximumSupportedWeightLbs["MAX_1400_LBS"] = "MAX_1400_LBS";
|
|
145
|
+
MaximumSupportedWeightLbs["MAX_1600_LBS"] = "MAX_1600_LBS";
|
|
146
|
+
MaximumSupportedWeightLbs["MAX_1800_LBS"] = "MAX_1800_LBS";
|
|
147
|
+
MaximumSupportedWeightLbs["MAX_2000_LBS"] = "MAX_2000_LBS";
|
|
148
|
+
MaximumSupportedWeightLbs["NO_LIMIT"] = "NO_LIMIT";
|
|
149
|
+
})(MaximumSupportedWeightLbs || (MaximumSupportedWeightLbs = {}));
|
|
150
|
+
export var OpticalStandard;
|
|
151
|
+
(function (OpticalStandard) {
|
|
152
|
+
OpticalStandard["OPTIC_1000BASE_LX"] = "OPTIC_1000BASE_LX";
|
|
153
|
+
OpticalStandard["OPTIC_1000BASE_SX"] = "OPTIC_1000BASE_SX";
|
|
154
|
+
OpticalStandard["OPTIC_100GBASE_CWDM4"] = "OPTIC_100GBASE_CWDM4";
|
|
155
|
+
OpticalStandard["OPTIC_100GBASE_LR4"] = "OPTIC_100GBASE_LR4";
|
|
156
|
+
OpticalStandard["OPTIC_100GBASE_SR4"] = "OPTIC_100GBASE_SR4";
|
|
157
|
+
OpticalStandard["OPTIC_100G_PSM4_MSA"] = "OPTIC_100G_PSM4_MSA";
|
|
158
|
+
OpticalStandard["OPTIC_10GBASE_IR"] = "OPTIC_10GBASE_IR";
|
|
159
|
+
OpticalStandard["OPTIC_10GBASE_LR"] = "OPTIC_10GBASE_LR";
|
|
160
|
+
OpticalStandard["OPTIC_10GBASE_SR"] = "OPTIC_10GBASE_SR";
|
|
161
|
+
OpticalStandard["OPTIC_40GBASE_ESR"] = "OPTIC_40GBASE_ESR";
|
|
162
|
+
OpticalStandard["OPTIC_40GBASE_IR4_LR4L"] = "OPTIC_40GBASE_IR4_LR4L";
|
|
163
|
+
OpticalStandard["OPTIC_40GBASE_LR4"] = "OPTIC_40GBASE_LR4";
|
|
164
|
+
OpticalStandard["OPTIC_40GBASE_SR"] = "OPTIC_40GBASE_SR";
|
|
165
|
+
})(OpticalStandard || (OpticalStandard = {}));
|
|
166
|
+
export var PowerConnector;
|
|
167
|
+
(function (PowerConnector) {
|
|
168
|
+
PowerConnector["AH530P7W"] = "AH530P7W";
|
|
169
|
+
PowerConnector["AH532P6W"] = "AH532P6W";
|
|
170
|
+
PowerConnector["IEC309"] = "IEC309";
|
|
171
|
+
PowerConnector["L6_30P"] = "L6_30P";
|
|
172
|
+
})(PowerConnector || (PowerConnector = {}));
|
|
173
|
+
export var PowerDrawKva;
|
|
174
|
+
(function (PowerDrawKva) {
|
|
175
|
+
PowerDrawKva["POWER_10_KVA"] = "POWER_10_KVA";
|
|
176
|
+
PowerDrawKva["POWER_15_KVA"] = "POWER_15_KVA";
|
|
177
|
+
PowerDrawKva["POWER_5_KVA"] = "POWER_5_KVA";
|
|
178
|
+
})(PowerDrawKva || (PowerDrawKva = {}));
|
|
179
|
+
export var PowerFeedDrop;
|
|
180
|
+
(function (PowerFeedDrop) {
|
|
181
|
+
PowerFeedDrop["ABOVE_RACK"] = "ABOVE_RACK";
|
|
182
|
+
PowerFeedDrop["BELOW_RACK"] = "BELOW_RACK";
|
|
183
|
+
})(PowerFeedDrop || (PowerFeedDrop = {}));
|
|
184
|
+
export var PowerPhase;
|
|
185
|
+
(function (PowerPhase) {
|
|
186
|
+
PowerPhase["SINGLE_PHASE"] = "SINGLE_PHASE";
|
|
187
|
+
PowerPhase["THREE_PHASE"] = "THREE_PHASE";
|
|
188
|
+
})(PowerPhase || (PowerPhase = {}));
|
|
189
|
+
export var UplinkCount;
|
|
190
|
+
(function (UplinkCount) {
|
|
191
|
+
UplinkCount["UPLINK_COUNT_1"] = "UPLINK_COUNT_1";
|
|
192
|
+
UplinkCount["UPLINK_COUNT_12"] = "UPLINK_COUNT_12";
|
|
193
|
+
UplinkCount["UPLINK_COUNT_16"] = "UPLINK_COUNT_16";
|
|
194
|
+
UplinkCount["UPLINK_COUNT_2"] = "UPLINK_COUNT_2";
|
|
195
|
+
UplinkCount["UPLINK_COUNT_3"] = "UPLINK_COUNT_3";
|
|
196
|
+
UplinkCount["UPLINK_COUNT_4"] = "UPLINK_COUNT_4";
|
|
197
|
+
UplinkCount["UPLINK_COUNT_5"] = "UPLINK_COUNT_5";
|
|
198
|
+
UplinkCount["UPLINK_COUNT_6"] = "UPLINK_COUNT_6";
|
|
199
|
+
UplinkCount["UPLINK_COUNT_7"] = "UPLINK_COUNT_7";
|
|
200
|
+
UplinkCount["UPLINK_COUNT_8"] = "UPLINK_COUNT_8";
|
|
201
|
+
})(UplinkCount || (UplinkCount = {}));
|
|
202
|
+
export var UplinkGbps;
|
|
203
|
+
(function (UplinkGbps) {
|
|
204
|
+
UplinkGbps["UPLINK_100G"] = "UPLINK_100G";
|
|
205
|
+
UplinkGbps["UPLINK_10G"] = "UPLINK_10G";
|
|
206
|
+
UplinkGbps["UPLINK_1G"] = "UPLINK_1G";
|
|
207
|
+
UplinkGbps["UPLINK_40G"] = "UPLINK_40G";
|
|
208
|
+
})(UplinkGbps || (UplinkGbps = {}));
|
|
209
|
+
export var RackPhysicalProperties;
|
|
210
|
+
(function (RackPhysicalProperties) {
|
|
211
|
+
RackPhysicalProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
212
|
+
})(RackPhysicalProperties || (RackPhysicalProperties = {}));
|
|
213
|
+
export var CreateSiteInput;
|
|
214
|
+
(function (CreateSiteInput) {
|
|
215
|
+
CreateSiteInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
216
|
+
})(CreateSiteInput || (CreateSiteInput = {}));
|
|
217
|
+
export var Site;
|
|
218
|
+
(function (Site) {
|
|
219
|
+
Site.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
220
|
+
})(Site || (Site = {}));
|
|
221
|
+
export var CreateSiteOutput;
|
|
222
|
+
(function (CreateSiteOutput) {
|
|
223
|
+
CreateSiteOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
+
})(CreateSiteOutput || (CreateSiteOutput = {}));
|
|
81
225
|
export var DeleteOutpostInput;
|
|
82
226
|
(function (DeleteOutpostInput) {
|
|
83
227
|
DeleteOutpostInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -94,6 +238,22 @@ export var DeleteSiteOutput;
|
|
|
94
238
|
(function (DeleteSiteOutput) {
|
|
95
239
|
DeleteSiteOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
96
240
|
})(DeleteSiteOutput || (DeleteSiteOutput = {}));
|
|
241
|
+
export var GetCatalogItemInput;
|
|
242
|
+
(function (GetCatalogItemInput) {
|
|
243
|
+
GetCatalogItemInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
244
|
+
})(GetCatalogItemInput || (GetCatalogItemInput = {}));
|
|
245
|
+
export var GetCatalogItemOutput;
|
|
246
|
+
(function (GetCatalogItemOutput) {
|
|
247
|
+
GetCatalogItemOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
248
|
+
})(GetCatalogItemOutput || (GetCatalogItemOutput = {}));
|
|
249
|
+
export var GetOrderInput;
|
|
250
|
+
(function (GetOrderInput) {
|
|
251
|
+
GetOrderInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
252
|
+
})(GetOrderInput || (GetOrderInput = {}));
|
|
253
|
+
export var GetOrderOutput;
|
|
254
|
+
(function (GetOrderOutput) {
|
|
255
|
+
GetOrderOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
256
|
+
})(GetOrderOutput || (GetOrderOutput = {}));
|
|
97
257
|
export var GetOutpostInput;
|
|
98
258
|
(function (GetOutpostInput) {
|
|
99
259
|
GetOutpostInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -114,6 +274,47 @@ export var GetOutpostInstanceTypesOutput;
|
|
|
114
274
|
(function (GetOutpostInstanceTypesOutput) {
|
|
115
275
|
GetOutpostInstanceTypesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
116
276
|
})(GetOutpostInstanceTypesOutput || (GetOutpostInstanceTypesOutput = {}));
|
|
277
|
+
export var GetSiteInput;
|
|
278
|
+
(function (GetSiteInput) {
|
|
279
|
+
GetSiteInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
280
|
+
})(GetSiteInput || (GetSiteInput = {}));
|
|
281
|
+
export var GetSiteOutput;
|
|
282
|
+
(function (GetSiteOutput) {
|
|
283
|
+
GetSiteOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
284
|
+
})(GetSiteOutput || (GetSiteOutput = {}));
|
|
285
|
+
export var GetSiteAddressInput;
|
|
286
|
+
(function (GetSiteAddressInput) {
|
|
287
|
+
GetSiteAddressInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
288
|
+
})(GetSiteAddressInput || (GetSiteAddressInput = {}));
|
|
289
|
+
export var GetSiteAddressOutput;
|
|
290
|
+
(function (GetSiteAddressOutput) {
|
|
291
|
+
GetSiteAddressOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
292
|
+
})(GetSiteAddressOutput || (GetSiteAddressOutput = {}));
|
|
293
|
+
export var ListCatalogItemsInput;
|
|
294
|
+
(function (ListCatalogItemsInput) {
|
|
295
|
+
ListCatalogItemsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
296
|
+
})(ListCatalogItemsInput || (ListCatalogItemsInput = {}));
|
|
297
|
+
export var ListCatalogItemsOutput;
|
|
298
|
+
(function (ListCatalogItemsOutput) {
|
|
299
|
+
ListCatalogItemsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
300
|
+
})(ListCatalogItemsOutput || (ListCatalogItemsOutput = {}));
|
|
301
|
+
export var ListOrdersInput;
|
|
302
|
+
(function (ListOrdersInput) {
|
|
303
|
+
ListOrdersInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
304
|
+
})(ListOrdersInput || (ListOrdersInput = {}));
|
|
305
|
+
export var OrderType;
|
|
306
|
+
(function (OrderType) {
|
|
307
|
+
OrderType["OUTPOST"] = "OUTPOST";
|
|
308
|
+
OrderType["REPLACEMENT"] = "REPLACEMENT";
|
|
309
|
+
})(OrderType || (OrderType = {}));
|
|
310
|
+
export var OrderSummary;
|
|
311
|
+
(function (OrderSummary) {
|
|
312
|
+
OrderSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
313
|
+
})(OrderSummary || (OrderSummary = {}));
|
|
314
|
+
export var ListOrdersOutput;
|
|
315
|
+
(function (ListOrdersOutput) {
|
|
316
|
+
ListOrdersOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
317
|
+
})(ListOrdersOutput || (ListOrdersOutput = {}));
|
|
117
318
|
export var ListOutpostsInput;
|
|
118
319
|
(function (ListOutpostsInput) {
|
|
119
320
|
ListOutpostsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -126,10 +327,6 @@ export var ListSitesInput;
|
|
|
126
327
|
(function (ListSitesInput) {
|
|
127
328
|
ListSitesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
128
329
|
})(ListSitesInput || (ListSitesInput = {}));
|
|
129
|
-
export var Site;
|
|
130
|
-
(function (Site) {
|
|
131
|
-
Site.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
132
|
-
})(Site || (Site = {}));
|
|
133
330
|
export var ListSitesOutput;
|
|
134
331
|
(function (ListSitesOutput) {
|
|
135
332
|
ListSitesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -158,3 +355,27 @@ export var UntagResourceResponse;
|
|
|
158
355
|
(function (UntagResourceResponse) {
|
|
159
356
|
UntagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
160
357
|
})(UntagResourceResponse || (UntagResourceResponse = {}));
|
|
358
|
+
export var UpdateSiteInput;
|
|
359
|
+
(function (UpdateSiteInput) {
|
|
360
|
+
UpdateSiteInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
361
|
+
})(UpdateSiteInput || (UpdateSiteInput = {}));
|
|
362
|
+
export var UpdateSiteOutput;
|
|
363
|
+
(function (UpdateSiteOutput) {
|
|
364
|
+
UpdateSiteOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
365
|
+
})(UpdateSiteOutput || (UpdateSiteOutput = {}));
|
|
366
|
+
export var UpdateSiteAddressInput;
|
|
367
|
+
(function (UpdateSiteAddressInput) {
|
|
368
|
+
UpdateSiteAddressInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
369
|
+
})(UpdateSiteAddressInput || (UpdateSiteAddressInput = {}));
|
|
370
|
+
export var UpdateSiteAddressOutput;
|
|
371
|
+
(function (UpdateSiteAddressOutput) {
|
|
372
|
+
UpdateSiteAddressOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
373
|
+
})(UpdateSiteAddressOutput || (UpdateSiteAddressOutput = {}));
|
|
374
|
+
export var UpdateSiteRackPhysicalPropertiesInput;
|
|
375
|
+
(function (UpdateSiteRackPhysicalPropertiesInput) {
|
|
376
|
+
UpdateSiteRackPhysicalPropertiesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
377
|
+
})(UpdateSiteRackPhysicalPropertiesInput || (UpdateSiteRackPhysicalPropertiesInput = {}));
|
|
378
|
+
export var UpdateSiteRackPhysicalPropertiesOutput;
|
|
379
|
+
(function (UpdateSiteRackPhysicalPropertiesOutput) {
|
|
380
|
+
UpdateSiteRackPhysicalPropertiesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
381
|
+
})(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
|
+
}
|