@aws-sdk/client-outposts 3.901.0 → 3.907.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist-cjs/index.js +2358 -2464
- package/dist-es/Outposts.js +2 -0
- package/dist-es/commands/StartOutpostDecommissionCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +14 -0
- package/dist-es/protocols/Aws_restJson1.js +29 -0
- package/dist-types/Outposts.d.ts +7 -0
- package/dist-types/OutpostsClient.d.ts +3 -2
- package/dist-types/commands/CreateOrderCommand.d.ts +1 -1
- package/dist-types/commands/StartOutpostDecommissionCommand.d.ts +93 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +61 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Outposts.d.ts +17 -0
- package/dist-types/ts3.4/OutpostsClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/StartOutpostDecommissionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +27 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,2505 +1,2399 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
AddressType: () => AddressType,
|
|
27
|
-
AssetState: () => AssetState,
|
|
28
|
-
AssetType: () => AssetType,
|
|
29
|
-
CancelCapacityTaskCommand: () => CancelCapacityTaskCommand,
|
|
30
|
-
CancelOrderCommand: () => CancelOrderCommand,
|
|
31
|
-
CapacityTaskFailureType: () => CapacityTaskFailureType,
|
|
32
|
-
CapacityTaskStatus: () => CapacityTaskStatus,
|
|
33
|
-
CatalogItemClass: () => CatalogItemClass,
|
|
34
|
-
CatalogItemStatus: () => CatalogItemStatus,
|
|
35
|
-
ComputeAssetState: () => ComputeAssetState,
|
|
36
|
-
ConflictException: () => ConflictException,
|
|
37
|
-
CreateOrderCommand: () => CreateOrderCommand,
|
|
38
|
-
CreateOutpostCommand: () => CreateOutpostCommand,
|
|
39
|
-
CreateSiteCommand: () => CreateSiteCommand,
|
|
40
|
-
DeleteOutpostCommand: () => DeleteOutpostCommand,
|
|
41
|
-
DeleteSiteCommand: () => DeleteSiteCommand,
|
|
42
|
-
FiberOpticCableType: () => FiberOpticCableType,
|
|
43
|
-
GetCapacityTaskCommand: () => GetCapacityTaskCommand,
|
|
44
|
-
GetCatalogItemCommand: () => GetCatalogItemCommand,
|
|
45
|
-
GetConnectionCommand: () => GetConnectionCommand,
|
|
46
|
-
GetOrderCommand: () => GetOrderCommand,
|
|
47
|
-
GetOutpostBillingInformationCommand: () => GetOutpostBillingInformationCommand,
|
|
48
|
-
GetOutpostCommand: () => GetOutpostCommand,
|
|
49
|
-
GetOutpostInstanceTypesCommand: () => GetOutpostInstanceTypesCommand,
|
|
50
|
-
GetOutpostSupportedInstanceTypesCommand: () => GetOutpostSupportedInstanceTypesCommand,
|
|
51
|
-
GetSiteAddressCommand: () => GetSiteAddressCommand,
|
|
52
|
-
GetSiteCommand: () => GetSiteCommand,
|
|
53
|
-
InternalServerException: () => InternalServerException,
|
|
54
|
-
LineItemStatus: () => LineItemStatus,
|
|
55
|
-
ListAssetInstancesCommand: () => ListAssetInstancesCommand,
|
|
56
|
-
ListAssetsCommand: () => ListAssetsCommand,
|
|
57
|
-
ListBlockingInstancesForCapacityTaskCommand: () => ListBlockingInstancesForCapacityTaskCommand,
|
|
58
|
-
ListCapacityTasksCommand: () => ListCapacityTasksCommand,
|
|
59
|
-
ListCatalogItemsCommand: () => ListCatalogItemsCommand,
|
|
60
|
-
ListOrdersCommand: () => ListOrdersCommand,
|
|
61
|
-
ListOutpostsCommand: () => ListOutpostsCommand,
|
|
62
|
-
ListSitesCommand: () => ListSitesCommand,
|
|
63
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
64
|
-
MaximumSupportedWeightLbs: () => MaximumSupportedWeightLbs,
|
|
65
|
-
NotFoundException: () => NotFoundException,
|
|
66
|
-
OpticalStandard: () => OpticalStandard,
|
|
67
|
-
OrderStatus: () => OrderStatus,
|
|
68
|
-
OrderType: () => OrderType,
|
|
69
|
-
Outposts: () => Outposts,
|
|
70
|
-
OutpostsClient: () => OutpostsClient,
|
|
71
|
-
OutpostsServiceException: () => OutpostsServiceException,
|
|
72
|
-
PaymentOption: () => PaymentOption,
|
|
73
|
-
PaymentTerm: () => PaymentTerm,
|
|
74
|
-
PowerConnector: () => PowerConnector,
|
|
75
|
-
PowerDrawKva: () => PowerDrawKva,
|
|
76
|
-
PowerFeedDrop: () => PowerFeedDrop,
|
|
77
|
-
PowerPhase: () => PowerPhase,
|
|
78
|
-
ResourceType: () => ResourceType,
|
|
79
|
-
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
80
|
-
ShipmentCarrier: () => ShipmentCarrier,
|
|
81
|
-
StartCapacityTaskCommand: () => StartCapacityTaskCommand,
|
|
82
|
-
StartConnectionCommand: () => StartConnectionCommand,
|
|
83
|
-
SubscriptionStatus: () => SubscriptionStatus,
|
|
84
|
-
SubscriptionType: () => SubscriptionType,
|
|
85
|
-
SupportedHardwareType: () => SupportedHardwareType,
|
|
86
|
-
SupportedStorageEnum: () => SupportedStorageEnum,
|
|
87
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
88
|
-
TaskActionOnBlockingInstances: () => TaskActionOnBlockingInstances,
|
|
89
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
90
|
-
UpdateOutpostCommand: () => UpdateOutpostCommand,
|
|
91
|
-
UpdateSiteAddressCommand: () => UpdateSiteAddressCommand,
|
|
92
|
-
UpdateSiteCommand: () => UpdateSiteCommand,
|
|
93
|
-
UpdateSiteRackPhysicalPropertiesCommand: () => UpdateSiteRackPhysicalPropertiesCommand,
|
|
94
|
-
UplinkCount: () => UplinkCount,
|
|
95
|
-
UplinkGbps: () => UplinkGbps,
|
|
96
|
-
ValidationException: () => ValidationException,
|
|
97
|
-
__Client: () => import_smithy_client.Client,
|
|
98
|
-
paginateGetOutpostBillingInformation: () => paginateGetOutpostBillingInformation,
|
|
99
|
-
paginateGetOutpostInstanceTypes: () => paginateGetOutpostInstanceTypes,
|
|
100
|
-
paginateGetOutpostSupportedInstanceTypes: () => paginateGetOutpostSupportedInstanceTypes,
|
|
101
|
-
paginateListAssetInstances: () => paginateListAssetInstances,
|
|
102
|
-
paginateListAssets: () => paginateListAssets,
|
|
103
|
-
paginateListBlockingInstancesForCapacityTask: () => paginateListBlockingInstancesForCapacityTask,
|
|
104
|
-
paginateListCapacityTasks: () => paginateListCapacityTasks,
|
|
105
|
-
paginateListCatalogItems: () => paginateListCatalogItems,
|
|
106
|
-
paginateListOrders: () => paginateListOrders,
|
|
107
|
-
paginateListOutposts: () => paginateListOutposts,
|
|
108
|
-
paginateListSites: () => paginateListSites
|
|
109
|
-
});
|
|
110
|
-
module.exports = __toCommonJS(index_exports);
|
|
111
|
-
|
|
112
|
-
// src/OutpostsClient.ts
|
|
113
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
114
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
115
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
116
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
117
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
118
|
-
var import_core = require("@smithy/core");
|
|
119
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
120
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
121
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
122
|
-
|
|
123
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
124
|
-
|
|
125
|
-
// src/endpoint/EndpointParameters.ts
|
|
126
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
127
|
-
return Object.assign(options, {
|
|
128
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
129
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
130
|
-
defaultSigningName: "outposts"
|
|
131
|
-
});
|
|
132
|
-
}, "resolveClientEndpointParameters");
|
|
133
|
-
var commonParams = {
|
|
134
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
135
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
136
|
-
Region: { type: "builtInParams", name: "region" },
|
|
137
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "outposts",
|
|
25
|
+
});
|
|
138
26
|
};
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
class OutpostsClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultOutpostsHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
176
107
|
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
182
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
183
|
-
credentials: config.credentials()
|
|
184
|
-
};
|
|
185
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
186
|
-
|
|
187
|
-
// src/runtimeExtensions.ts
|
|
188
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
189
|
-
const extensionConfiguration = Object.assign(
|
|
190
|
-
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
191
|
-
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
192
|
-
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
193
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
194
|
-
);
|
|
195
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
196
|
-
return Object.assign(
|
|
197
|
-
runtimeConfig,
|
|
198
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
199
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
200
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
201
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
202
|
-
);
|
|
203
|
-
}, "resolveRuntimeExtensions");
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
204
112
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
113
|
+
class OutpostsServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, OutpostsServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
class AccessDeniedException extends OutpostsServiceException {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
Message;
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "AccessDeniedException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
|
+
this.Message = opts.Message;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
const AddressType = {
|
|
135
|
+
OPERATING_ADDRESS: "OPERATING_ADDRESS",
|
|
136
|
+
SHIPPING_ADDRESS: "SHIPPING_ADDRESS",
|
|
137
|
+
};
|
|
138
|
+
const AssetType = {
|
|
139
|
+
COMPUTE: "COMPUTE",
|
|
140
|
+
};
|
|
141
|
+
const ComputeAssetState = {
|
|
142
|
+
ACTIVE: "ACTIVE",
|
|
143
|
+
ISOLATED: "ISOLATED",
|
|
144
|
+
RETIRING: "RETIRING",
|
|
145
|
+
};
|
|
146
|
+
const AWSServiceName = {
|
|
147
|
+
AWS: "AWS",
|
|
148
|
+
EC2: "EC2",
|
|
149
|
+
ELASTICACHE: "ELASTICACHE",
|
|
150
|
+
ELB: "ELB",
|
|
151
|
+
RDS: "RDS",
|
|
152
|
+
ROUTE53: "ROUTE53",
|
|
153
|
+
};
|
|
154
|
+
const AssetState = {
|
|
155
|
+
ACTIVE: "ACTIVE",
|
|
156
|
+
ISOLATED: "ISOLATED",
|
|
157
|
+
RETIRING: "RETIRING",
|
|
158
|
+
};
|
|
159
|
+
const BlockingResourceType = {
|
|
160
|
+
EC2_INSTANCE: "EC2_INSTANCE",
|
|
161
|
+
LGW_ROUTE_TABLE: "LGW_ROUTE_TABLE",
|
|
162
|
+
LGW_ROUTING_DOMAIN: "LGW_ROUTING_DOMAIN",
|
|
163
|
+
LGW_VIRTUAL_INTERFACE_GROUP: "LGW_VIRTUAL_INTERFACE_GROUP",
|
|
164
|
+
OUTPOST_ORDER_CANCELLABLE: "OUTPOST_ORDER_CANCELLABLE",
|
|
165
|
+
OUTPOST_ORDER_INTERVENTION_REQUIRED: "OUTPOST_ORDER_INTERVENTION_REQUIRED",
|
|
166
|
+
OUTPOST_RAM_SHARE: "OUTPOST_RAM_SHARE",
|
|
167
|
+
};
|
|
168
|
+
const ResourceType = {
|
|
169
|
+
ORDER: "ORDER",
|
|
170
|
+
OUTPOST: "OUTPOST",
|
|
171
|
+
};
|
|
172
|
+
class ConflictException extends OutpostsServiceException {
|
|
173
|
+
name = "ConflictException";
|
|
174
|
+
$fault = "client";
|
|
175
|
+
Message;
|
|
176
|
+
ResourceId;
|
|
177
|
+
ResourceType;
|
|
178
|
+
constructor(opts) {
|
|
179
|
+
super({
|
|
180
|
+
name: "ConflictException",
|
|
181
|
+
$fault: "client",
|
|
182
|
+
...opts,
|
|
183
|
+
});
|
|
184
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
185
|
+
this.Message = opts.Message;
|
|
186
|
+
this.ResourceId = opts.ResourceId;
|
|
187
|
+
this.ResourceType = opts.ResourceType;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
class InternalServerException extends OutpostsServiceException {
|
|
191
|
+
name = "InternalServerException";
|
|
192
|
+
$fault = "server";
|
|
193
|
+
Message;
|
|
194
|
+
constructor(opts) {
|
|
195
|
+
super({
|
|
196
|
+
name: "InternalServerException",
|
|
197
|
+
$fault: "server",
|
|
198
|
+
...opts,
|
|
199
|
+
});
|
|
200
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
201
|
+
this.Message = opts.Message;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
class NotFoundException extends OutpostsServiceException {
|
|
205
|
+
name = "NotFoundException";
|
|
206
|
+
$fault = "client";
|
|
207
|
+
Message;
|
|
208
|
+
constructor(opts) {
|
|
209
|
+
super({
|
|
210
|
+
name: "NotFoundException",
|
|
211
|
+
$fault: "client",
|
|
212
|
+
...opts,
|
|
213
|
+
});
|
|
214
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
215
|
+
this.Message = opts.Message;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
class ValidationException extends OutpostsServiceException {
|
|
219
|
+
name = "ValidationException";
|
|
220
|
+
$fault = "client";
|
|
221
|
+
Message;
|
|
222
|
+
constructor(opts) {
|
|
223
|
+
super({
|
|
224
|
+
name: "ValidationException",
|
|
225
|
+
$fault: "client",
|
|
226
|
+
...opts,
|
|
227
|
+
});
|
|
228
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
229
|
+
this.Message = opts.Message;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
const CapacityTaskFailureType = {
|
|
233
|
+
BLOCKING_INSTANCES_NOT_EVACUATED: "BLOCKING_INSTANCES_NOT_EVACUATED",
|
|
234
|
+
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
|
|
235
|
+
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
|
|
236
|
+
UNEXPECTED_ASSET_STATE: "UNEXPECTED_ASSET_STATE",
|
|
237
|
+
UNSUPPORTED_CAPACITY_CONFIGURATION: "UNSUPPORTED_CAPACITY_CONFIGURATION",
|
|
238
|
+
};
|
|
239
|
+
const CapacityTaskStatus = {
|
|
240
|
+
CANCELLATION_IN_PROGRESS: "CANCELLATION_IN_PROGRESS",
|
|
241
|
+
CANCELLED: "CANCELLED",
|
|
242
|
+
COMPLETED: "COMPLETED",
|
|
243
|
+
FAILED: "FAILED",
|
|
244
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
245
|
+
REQUESTED: "REQUESTED",
|
|
246
|
+
WAITING_FOR_EVACUATION: "WAITING_FOR_EVACUATION",
|
|
247
|
+
};
|
|
248
|
+
const CatalogItemStatus = {
|
|
249
|
+
AVAILABLE: "AVAILABLE",
|
|
250
|
+
DISCONTINUED: "DISCONTINUED",
|
|
251
|
+
};
|
|
252
|
+
const SupportedStorageEnum = {
|
|
253
|
+
EBS: "EBS",
|
|
254
|
+
S3: "S3",
|
|
255
|
+
};
|
|
256
|
+
const CatalogItemClass = {
|
|
257
|
+
RACK: "RACK",
|
|
258
|
+
SERVER: "SERVER",
|
|
259
|
+
};
|
|
260
|
+
const PaymentOption = {
|
|
261
|
+
ALL_UPFRONT: "ALL_UPFRONT",
|
|
262
|
+
NO_UPFRONT: "NO_UPFRONT",
|
|
263
|
+
PARTIAL_UPFRONT: "PARTIAL_UPFRONT",
|
|
264
|
+
};
|
|
265
|
+
const PaymentTerm = {
|
|
266
|
+
FIVE_YEARS: "FIVE_YEARS",
|
|
267
|
+
ONE_YEAR: "ONE_YEAR",
|
|
268
|
+
THREE_YEARS: "THREE_YEARS",
|
|
269
|
+
};
|
|
270
|
+
const ShipmentCarrier = {
|
|
271
|
+
DBS: "DBS",
|
|
272
|
+
DHL: "DHL",
|
|
273
|
+
EXPEDITORS: "EXPEDITORS",
|
|
274
|
+
FEDEX: "FEDEX",
|
|
275
|
+
UPS: "UPS",
|
|
276
|
+
};
|
|
277
|
+
const LineItemStatus = {
|
|
278
|
+
BUILDING: "BUILDING",
|
|
279
|
+
CANCELLED: "CANCELLED",
|
|
280
|
+
DELIVERED: "DELIVERED",
|
|
281
|
+
ERROR: "ERROR",
|
|
282
|
+
INSTALLED: "INSTALLED",
|
|
283
|
+
INSTALLING: "INSTALLING",
|
|
284
|
+
PREPARING: "PREPARING",
|
|
285
|
+
REPLACED: "REPLACED",
|
|
286
|
+
SHIPPED: "SHIPPED",
|
|
287
|
+
};
|
|
288
|
+
const OrderType = {
|
|
289
|
+
OUTPOST: "OUTPOST",
|
|
290
|
+
REPLACEMENT: "REPLACEMENT",
|
|
291
|
+
};
|
|
292
|
+
const OrderStatus = {
|
|
293
|
+
CANCELLED: "CANCELLED",
|
|
294
|
+
COMPLETED: "COMPLETED",
|
|
295
|
+
DELIVERED: "DELIVERED",
|
|
296
|
+
ERROR: "ERROR",
|
|
297
|
+
FULFILLED: "FULFILLED",
|
|
298
|
+
INSTALLING: "INSTALLING",
|
|
299
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
300
|
+
PENDING: "PENDING",
|
|
301
|
+
PREPARING: "PREPARING",
|
|
302
|
+
PROCESSING: "PROCESSING",
|
|
303
|
+
RECEIVED: "RECEIVED",
|
|
304
|
+
};
|
|
305
|
+
class ServiceQuotaExceededException extends OutpostsServiceException {
|
|
306
|
+
name = "ServiceQuotaExceededException";
|
|
307
|
+
$fault = "client";
|
|
308
|
+
Message;
|
|
309
|
+
constructor(opts) {
|
|
310
|
+
super({
|
|
311
|
+
name: "ServiceQuotaExceededException",
|
|
312
|
+
$fault: "client",
|
|
313
|
+
...opts,
|
|
314
|
+
});
|
|
315
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
316
|
+
this.Message = opts.Message;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
const SupportedHardwareType = {
|
|
320
|
+
RACK: "RACK",
|
|
321
|
+
SERVER: "SERVER",
|
|
322
|
+
};
|
|
323
|
+
const FiberOpticCableType = {
|
|
324
|
+
MULTI_MODE: "MULTI_MODE",
|
|
325
|
+
SINGLE_MODE: "SINGLE_MODE",
|
|
326
|
+
};
|
|
327
|
+
const MaximumSupportedWeightLbs = {
|
|
328
|
+
MAX_1400_LBS: "MAX_1400_LBS",
|
|
329
|
+
MAX_1600_LBS: "MAX_1600_LBS",
|
|
330
|
+
MAX_1800_LBS: "MAX_1800_LBS",
|
|
331
|
+
MAX_2000_LBS: "MAX_2000_LBS",
|
|
332
|
+
NO_LIMIT: "NO_LIMIT",
|
|
333
|
+
};
|
|
334
|
+
const OpticalStandard = {
|
|
335
|
+
OPTIC_1000BASE_LX: "OPTIC_1000BASE_LX",
|
|
336
|
+
OPTIC_1000BASE_SX: "OPTIC_1000BASE_SX",
|
|
337
|
+
OPTIC_100GBASE_CWDM4: "OPTIC_100GBASE_CWDM4",
|
|
338
|
+
OPTIC_100GBASE_LR4: "OPTIC_100GBASE_LR4",
|
|
339
|
+
OPTIC_100GBASE_SR4: "OPTIC_100GBASE_SR4",
|
|
340
|
+
OPTIC_100G_PSM4_MSA: "OPTIC_100G_PSM4_MSA",
|
|
341
|
+
OPTIC_10GBASE_IR: "OPTIC_10GBASE_IR",
|
|
342
|
+
OPTIC_10GBASE_LR: "OPTIC_10GBASE_LR",
|
|
343
|
+
OPTIC_10GBASE_SR: "OPTIC_10GBASE_SR",
|
|
344
|
+
OPTIC_40GBASE_ESR: "OPTIC_40GBASE_ESR",
|
|
345
|
+
OPTIC_40GBASE_IR4_LR4L: "OPTIC_40GBASE_IR4_LR4L",
|
|
346
|
+
OPTIC_40GBASE_LR4: "OPTIC_40GBASE_LR4",
|
|
347
|
+
OPTIC_40GBASE_SR: "OPTIC_40GBASE_SR",
|
|
348
|
+
};
|
|
349
|
+
const PowerConnector = {
|
|
350
|
+
AH530P7W: "AH530P7W",
|
|
351
|
+
AH532P6W: "AH532P6W",
|
|
352
|
+
CS8365C: "CS8365C",
|
|
353
|
+
IEC309: "IEC309",
|
|
354
|
+
L6_30P: "L6_30P",
|
|
355
|
+
};
|
|
356
|
+
const PowerDrawKva = {
|
|
357
|
+
POWER_10_KVA: "POWER_10_KVA",
|
|
358
|
+
POWER_15_KVA: "POWER_15_KVA",
|
|
359
|
+
POWER_30_KVA: "POWER_30_KVA",
|
|
360
|
+
POWER_5_KVA: "POWER_5_KVA",
|
|
361
|
+
};
|
|
362
|
+
const PowerFeedDrop = {
|
|
363
|
+
ABOVE_RACK: "ABOVE_RACK",
|
|
364
|
+
BELOW_RACK: "BELOW_RACK",
|
|
365
|
+
};
|
|
366
|
+
const PowerPhase = {
|
|
367
|
+
SINGLE_PHASE: "SINGLE_PHASE",
|
|
368
|
+
THREE_PHASE: "THREE_PHASE",
|
|
369
|
+
};
|
|
370
|
+
const UplinkCount = {
|
|
371
|
+
UPLINK_COUNT_1: "UPLINK_COUNT_1",
|
|
372
|
+
UPLINK_COUNT_12: "UPLINK_COUNT_12",
|
|
373
|
+
UPLINK_COUNT_16: "UPLINK_COUNT_16",
|
|
374
|
+
UPLINK_COUNT_2: "UPLINK_COUNT_2",
|
|
375
|
+
UPLINK_COUNT_3: "UPLINK_COUNT_3",
|
|
376
|
+
UPLINK_COUNT_4: "UPLINK_COUNT_4",
|
|
377
|
+
UPLINK_COUNT_5: "UPLINK_COUNT_5",
|
|
378
|
+
UPLINK_COUNT_6: "UPLINK_COUNT_6",
|
|
379
|
+
UPLINK_COUNT_7: "UPLINK_COUNT_7",
|
|
380
|
+
UPLINK_COUNT_8: "UPLINK_COUNT_8",
|
|
381
|
+
};
|
|
382
|
+
const UplinkGbps = {
|
|
383
|
+
UPLINK_100G: "UPLINK_100G",
|
|
384
|
+
UPLINK_10G: "UPLINK_10G",
|
|
385
|
+
UPLINK_1G: "UPLINK_1G",
|
|
386
|
+
UPLINK_40G: "UPLINK_40G",
|
|
387
|
+
};
|
|
388
|
+
const DecommissionRequestStatus = {
|
|
389
|
+
BLOCKED: "BLOCKED",
|
|
390
|
+
REQUESTED: "REQUESTED",
|
|
391
|
+
SKIPPED: "SKIPPED",
|
|
392
|
+
};
|
|
393
|
+
const TaskActionOnBlockingInstances = {
|
|
394
|
+
FAIL_TASK: "FAIL_TASK",
|
|
395
|
+
WAIT_FOR_EVACUATION: "WAIT_FOR_EVACUATION",
|
|
396
|
+
};
|
|
397
|
+
const SubscriptionStatus = {
|
|
398
|
+
ACTIVE: "ACTIVE",
|
|
399
|
+
CANCELLED: "CANCELLED",
|
|
400
|
+
INACTIVE: "INACTIVE",
|
|
401
|
+
};
|
|
402
|
+
const SubscriptionType = {
|
|
403
|
+
CAPACITY_INCREASE: "CAPACITY_INCREASE",
|
|
404
|
+
ORIGINAL: "ORIGINAL",
|
|
405
|
+
RENEWAL: "RENEWAL",
|
|
406
|
+
};
|
|
407
|
+
|
|
408
|
+
const se_CancelCapacityTaskCommand = async (input, context) => {
|
|
409
|
+
const b = core.requestBuilder(input, context);
|
|
410
|
+
const headers = {};
|
|
411
|
+
b.bp("/outposts/{OutpostIdentifier}/capacity/{CapacityTaskId}");
|
|
412
|
+
b.p("CapacityTaskId", () => input.CapacityTaskId, "{CapacityTaskId}", false);
|
|
413
|
+
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
414
|
+
let body;
|
|
415
|
+
b.m("POST").h(headers).b(body);
|
|
416
|
+
return b.build();
|
|
417
|
+
};
|
|
418
|
+
const se_CancelOrderCommand = async (input, context) => {
|
|
419
|
+
const b = core.requestBuilder(input, context);
|
|
420
|
+
const headers = {};
|
|
421
|
+
b.bp("/orders/{OrderId}/cancel");
|
|
422
|
+
b.p("OrderId", () => input.OrderId, "{OrderId}", false);
|
|
423
|
+
let body;
|
|
424
|
+
b.m("POST").h(headers).b(body);
|
|
425
|
+
return b.build();
|
|
426
|
+
};
|
|
427
|
+
const se_CreateOrderCommand = async (input, context) => {
|
|
428
|
+
const b = core.requestBuilder(input, context);
|
|
429
|
+
const headers = {
|
|
430
|
+
"content-type": "application/json",
|
|
431
|
+
};
|
|
432
|
+
b.bp("/orders");
|
|
433
|
+
let body;
|
|
434
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
435
|
+
LineItems: (_) => smithyClient._json(_),
|
|
436
|
+
OutpostIdentifier: [],
|
|
437
|
+
PaymentOption: [],
|
|
438
|
+
PaymentTerm: [],
|
|
439
|
+
}));
|
|
440
|
+
b.m("POST").h(headers).b(body);
|
|
441
|
+
return b.build();
|
|
442
|
+
};
|
|
443
|
+
const se_CreateOutpostCommand = async (input, context) => {
|
|
444
|
+
const b = core.requestBuilder(input, context);
|
|
445
|
+
const headers = {
|
|
446
|
+
"content-type": "application/json",
|
|
447
|
+
};
|
|
448
|
+
b.bp("/outposts");
|
|
449
|
+
let body;
|
|
450
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
451
|
+
AvailabilityZone: [],
|
|
452
|
+
AvailabilityZoneId: [],
|
|
453
|
+
Description: [],
|
|
454
|
+
Name: [],
|
|
455
|
+
SiteId: [],
|
|
456
|
+
SupportedHardwareType: [],
|
|
457
|
+
Tags: (_) => smithyClient._json(_),
|
|
458
|
+
}));
|
|
459
|
+
b.m("POST").h(headers).b(body);
|
|
460
|
+
return b.build();
|
|
461
|
+
};
|
|
462
|
+
const se_CreateSiteCommand = async (input, context) => {
|
|
463
|
+
const b = core.requestBuilder(input, context);
|
|
464
|
+
const headers = {
|
|
465
|
+
"content-type": "application/json",
|
|
466
|
+
};
|
|
467
|
+
b.bp("/sites");
|
|
468
|
+
let body;
|
|
469
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
470
|
+
Description: [],
|
|
471
|
+
Name: [],
|
|
472
|
+
Notes: [],
|
|
473
|
+
OperatingAddress: (_) => smithyClient._json(_),
|
|
474
|
+
RackPhysicalProperties: (_) => smithyClient._json(_),
|
|
475
|
+
ShippingAddress: (_) => smithyClient._json(_),
|
|
476
|
+
Tags: (_) => smithyClient._json(_),
|
|
477
|
+
}));
|
|
478
|
+
b.m("POST").h(headers).b(body);
|
|
479
|
+
return b.build();
|
|
480
|
+
};
|
|
481
|
+
const se_DeleteOutpostCommand = async (input, context) => {
|
|
482
|
+
const b = core.requestBuilder(input, context);
|
|
483
|
+
const headers = {};
|
|
484
|
+
b.bp("/outposts/{OutpostId}");
|
|
485
|
+
b.p("OutpostId", () => input.OutpostId, "{OutpostId}", false);
|
|
486
|
+
let body;
|
|
487
|
+
b.m("DELETE").h(headers).b(body);
|
|
488
|
+
return b.build();
|
|
489
|
+
};
|
|
490
|
+
const se_DeleteSiteCommand = async (input, context) => {
|
|
491
|
+
const b = core.requestBuilder(input, context);
|
|
492
|
+
const headers = {};
|
|
493
|
+
b.bp("/sites/{SiteId}");
|
|
494
|
+
b.p("SiteId", () => input.SiteId, "{SiteId}", false);
|
|
495
|
+
let body;
|
|
496
|
+
b.m("DELETE").h(headers).b(body);
|
|
497
|
+
return b.build();
|
|
498
|
+
};
|
|
499
|
+
const se_GetCapacityTaskCommand = async (input, context) => {
|
|
500
|
+
const b = core.requestBuilder(input, context);
|
|
501
|
+
const headers = {};
|
|
502
|
+
b.bp("/outposts/{OutpostIdentifier}/capacity/{CapacityTaskId}");
|
|
503
|
+
b.p("CapacityTaskId", () => input.CapacityTaskId, "{CapacityTaskId}", false);
|
|
504
|
+
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
505
|
+
let body;
|
|
506
|
+
b.m("GET").h(headers).b(body);
|
|
507
|
+
return b.build();
|
|
508
|
+
};
|
|
509
|
+
const se_GetCatalogItemCommand = async (input, context) => {
|
|
510
|
+
const b = core.requestBuilder(input, context);
|
|
511
|
+
const headers = {};
|
|
512
|
+
b.bp("/catalog/item/{CatalogItemId}");
|
|
513
|
+
b.p("CatalogItemId", () => input.CatalogItemId, "{CatalogItemId}", false);
|
|
514
|
+
let body;
|
|
515
|
+
b.m("GET").h(headers).b(body);
|
|
516
|
+
return b.build();
|
|
517
|
+
};
|
|
518
|
+
const se_GetConnectionCommand = async (input, context) => {
|
|
519
|
+
const b = core.requestBuilder(input, context);
|
|
520
|
+
const headers = {};
|
|
521
|
+
b.bp("/connections/{ConnectionId}");
|
|
522
|
+
b.p("ConnectionId", () => input.ConnectionId, "{ConnectionId}", false);
|
|
523
|
+
let body;
|
|
524
|
+
b.m("GET").h(headers).b(body);
|
|
525
|
+
return b.build();
|
|
526
|
+
};
|
|
527
|
+
const se_GetOrderCommand = async (input, context) => {
|
|
528
|
+
const b = core.requestBuilder(input, context);
|
|
529
|
+
const headers = {};
|
|
530
|
+
b.bp("/orders/{OrderId}");
|
|
531
|
+
b.p("OrderId", () => input.OrderId, "{OrderId}", false);
|
|
532
|
+
let body;
|
|
533
|
+
b.m("GET").h(headers).b(body);
|
|
534
|
+
return b.build();
|
|
535
|
+
};
|
|
536
|
+
const se_GetOutpostCommand = async (input, context) => {
|
|
537
|
+
const b = core.requestBuilder(input, context);
|
|
538
|
+
const headers = {};
|
|
539
|
+
b.bp("/outposts/{OutpostId}");
|
|
540
|
+
b.p("OutpostId", () => input.OutpostId, "{OutpostId}", false);
|
|
541
|
+
let body;
|
|
542
|
+
b.m("GET").h(headers).b(body);
|
|
543
|
+
return b.build();
|
|
544
|
+
};
|
|
545
|
+
const se_GetOutpostBillingInformationCommand = async (input, context) => {
|
|
546
|
+
const b = core.requestBuilder(input, context);
|
|
547
|
+
const headers = {};
|
|
548
|
+
b.bp("/outpost/{OutpostIdentifier}/billing-information");
|
|
549
|
+
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
550
|
+
const query = smithyClient.map({
|
|
551
|
+
[_NT]: [, input[_NT]],
|
|
552
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
553
|
+
});
|
|
554
|
+
let body;
|
|
555
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
556
|
+
return b.build();
|
|
557
|
+
};
|
|
558
|
+
const se_GetOutpostInstanceTypesCommand = async (input, context) => {
|
|
559
|
+
const b = core.requestBuilder(input, context);
|
|
560
|
+
const headers = {};
|
|
561
|
+
b.bp("/outposts/{OutpostId}/instanceTypes");
|
|
562
|
+
b.p("OutpostId", () => input.OutpostId, "{OutpostId}", false);
|
|
563
|
+
const query = smithyClient.map({
|
|
564
|
+
[_NT]: [, input[_NT]],
|
|
565
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
566
|
+
});
|
|
567
|
+
let body;
|
|
568
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
569
|
+
return b.build();
|
|
570
|
+
};
|
|
571
|
+
const se_GetOutpostSupportedInstanceTypesCommand = async (input, context) => {
|
|
572
|
+
const b = core.requestBuilder(input, context);
|
|
573
|
+
const headers = {};
|
|
574
|
+
b.bp("/outposts/{OutpostIdentifier}/supportedInstanceTypes");
|
|
575
|
+
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
576
|
+
const query = smithyClient.map({
|
|
577
|
+
[_OI]: [, input[_OI]],
|
|
578
|
+
[_AI]: [, input[_AI]],
|
|
579
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
580
|
+
[_NT]: [, input[_NT]],
|
|
581
|
+
});
|
|
582
|
+
let body;
|
|
583
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
584
|
+
return b.build();
|
|
585
|
+
};
|
|
586
|
+
const se_GetSiteCommand = async (input, context) => {
|
|
587
|
+
const b = core.requestBuilder(input, context);
|
|
588
|
+
const headers = {};
|
|
589
|
+
b.bp("/sites/{SiteId}");
|
|
590
|
+
b.p("SiteId", () => input.SiteId, "{SiteId}", false);
|
|
591
|
+
let body;
|
|
592
|
+
b.m("GET").h(headers).b(body);
|
|
593
|
+
return b.build();
|
|
594
|
+
};
|
|
595
|
+
const se_GetSiteAddressCommand = async (input, context) => {
|
|
596
|
+
const b = core.requestBuilder(input, context);
|
|
597
|
+
const headers = {};
|
|
598
|
+
b.bp("/sites/{SiteId}/address");
|
|
599
|
+
b.p("SiteId", () => input.SiteId, "{SiteId}", false);
|
|
600
|
+
const query = smithyClient.map({
|
|
601
|
+
[_AT]: [, smithyClient.expectNonNull(input[_AT], `AddressType`)],
|
|
602
|
+
});
|
|
603
|
+
let body;
|
|
604
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
605
|
+
return b.build();
|
|
606
|
+
};
|
|
607
|
+
const se_ListAssetInstancesCommand = async (input, context) => {
|
|
608
|
+
const b = core.requestBuilder(input, context);
|
|
609
|
+
const headers = {};
|
|
610
|
+
b.bp("/outposts/{OutpostIdentifier}/assetInstances");
|
|
611
|
+
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
612
|
+
const query = smithyClient.map({
|
|
613
|
+
[_AIF]: [() => input.AssetIdFilter !== void 0, () => input[_AIF] || []],
|
|
614
|
+
[_ITF]: [() => input.InstanceTypeFilter !== void 0, () => input[_ITF] || []],
|
|
615
|
+
[_AIFc]: [() => input.AccountIdFilter !== void 0, () => input[_AIFc] || []],
|
|
616
|
+
[_ASF]: [() => input.AwsServiceFilter !== void 0, () => input[_ASF] || []],
|
|
617
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
618
|
+
[_NT]: [, input[_NT]],
|
|
619
|
+
});
|
|
620
|
+
let body;
|
|
621
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
622
|
+
return b.build();
|
|
623
|
+
};
|
|
624
|
+
const se_ListAssetsCommand = async (input, context) => {
|
|
625
|
+
const b = core.requestBuilder(input, context);
|
|
626
|
+
const headers = {};
|
|
627
|
+
b.bp("/outposts/{OutpostIdentifier}/assets");
|
|
628
|
+
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
629
|
+
const query = smithyClient.map({
|
|
630
|
+
[_HIF]: [() => input.HostIdFilter !== void 0, () => input[_HIF] || []],
|
|
631
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
632
|
+
[_NT]: [, input[_NT]],
|
|
633
|
+
[_SF]: [() => input.StatusFilter !== void 0, () => input[_SF] || []],
|
|
634
|
+
});
|
|
635
|
+
let body;
|
|
636
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
637
|
+
return b.build();
|
|
638
|
+
};
|
|
639
|
+
const se_ListBlockingInstancesForCapacityTaskCommand = async (input, context) => {
|
|
640
|
+
const b = core.requestBuilder(input, context);
|
|
641
|
+
const headers = {};
|
|
642
|
+
b.bp("/outposts/{OutpostIdentifier}/capacity/{CapacityTaskId}/blockingInstances");
|
|
643
|
+
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
644
|
+
b.p("CapacityTaskId", () => input.CapacityTaskId, "{CapacityTaskId}", false);
|
|
645
|
+
const query = smithyClient.map({
|
|
646
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
647
|
+
[_NT]: [, input[_NT]],
|
|
648
|
+
});
|
|
649
|
+
let body;
|
|
650
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
651
|
+
return b.build();
|
|
652
|
+
};
|
|
653
|
+
const se_ListCapacityTasksCommand = async (input, context) => {
|
|
654
|
+
const b = core.requestBuilder(input, context);
|
|
655
|
+
const headers = {};
|
|
656
|
+
b.bp("/capacity/tasks");
|
|
657
|
+
const query = smithyClient.map({
|
|
658
|
+
[_OIF]: [, input[_OIF]],
|
|
659
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
660
|
+
[_NT]: [, input[_NT]],
|
|
661
|
+
[_CTSF]: [() => input.CapacityTaskStatusFilter !== void 0, () => input[_CTSF] || []],
|
|
662
|
+
});
|
|
663
|
+
let body;
|
|
664
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
665
|
+
return b.build();
|
|
666
|
+
};
|
|
667
|
+
const se_ListCatalogItemsCommand = async (input, context) => {
|
|
668
|
+
const b = core.requestBuilder(input, context);
|
|
669
|
+
const headers = {};
|
|
670
|
+
b.bp("/catalog/items");
|
|
671
|
+
const query = smithyClient.map({
|
|
672
|
+
[_NT]: [, input[_NT]],
|
|
673
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
674
|
+
[_ICF]: [() => input.ItemClassFilter !== void 0, () => input[_ICF] || []],
|
|
675
|
+
[_SSF]: [() => input.SupportedStorageFilter !== void 0, () => input[_SSF] || []],
|
|
676
|
+
[_ECFF]: [() => input.EC2FamilyFilter !== void 0, () => input[_ECFF] || []],
|
|
677
|
+
});
|
|
678
|
+
let body;
|
|
679
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
680
|
+
return b.build();
|
|
681
|
+
};
|
|
682
|
+
const se_ListOrdersCommand = async (input, context) => {
|
|
683
|
+
const b = core.requestBuilder(input, context);
|
|
684
|
+
const headers = {};
|
|
685
|
+
b.bp("/list-orders");
|
|
686
|
+
const query = smithyClient.map({
|
|
687
|
+
[_OIF]: [, input[_OIF]],
|
|
688
|
+
[_NT]: [, input[_NT]],
|
|
689
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
690
|
+
});
|
|
691
|
+
let body;
|
|
692
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
693
|
+
return b.build();
|
|
694
|
+
};
|
|
695
|
+
const se_ListOutpostsCommand = async (input, context) => {
|
|
696
|
+
const b = core.requestBuilder(input, context);
|
|
697
|
+
const headers = {};
|
|
698
|
+
b.bp("/outposts");
|
|
699
|
+
const query = smithyClient.map({
|
|
700
|
+
[_NT]: [, input[_NT]],
|
|
701
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
702
|
+
[_LCSF]: [() => input.LifeCycleStatusFilter !== void 0, () => input[_LCSF] || []],
|
|
703
|
+
[_AZF]: [() => input.AvailabilityZoneFilter !== void 0, () => input[_AZF] || []],
|
|
704
|
+
[_AZIF]: [() => input.AvailabilityZoneIdFilter !== void 0, () => input[_AZIF] || []],
|
|
705
|
+
});
|
|
706
|
+
let body;
|
|
707
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
708
|
+
return b.build();
|
|
709
|
+
};
|
|
710
|
+
const se_ListSitesCommand = async (input, context) => {
|
|
711
|
+
const b = core.requestBuilder(input, context);
|
|
712
|
+
const headers = {};
|
|
713
|
+
b.bp("/sites");
|
|
714
|
+
const query = smithyClient.map({
|
|
715
|
+
[_NT]: [, input[_NT]],
|
|
716
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
717
|
+
[_OACCF]: [() => input.OperatingAddressCountryCodeFilter !== void 0, () => input[_OACCF] || []],
|
|
718
|
+
[_OASORF]: [() => input.OperatingAddressStateOrRegionFilter !== void 0, () => input[_OASORF] || []],
|
|
719
|
+
[_OACF]: [() => input.OperatingAddressCityFilter !== void 0, () => input[_OACF] || []],
|
|
720
|
+
});
|
|
721
|
+
let body;
|
|
722
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
723
|
+
return b.build();
|
|
724
|
+
};
|
|
725
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
726
|
+
const b = core.requestBuilder(input, context);
|
|
727
|
+
const headers = {};
|
|
728
|
+
b.bp("/tags/{ResourceArn}");
|
|
729
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
730
|
+
let body;
|
|
731
|
+
b.m("GET").h(headers).b(body);
|
|
732
|
+
return b.build();
|
|
733
|
+
};
|
|
734
|
+
const se_StartCapacityTaskCommand = async (input, context) => {
|
|
735
|
+
const b = core.requestBuilder(input, context);
|
|
736
|
+
const headers = {
|
|
737
|
+
"content-type": "application/json",
|
|
738
|
+
};
|
|
739
|
+
b.bp("/outposts/{OutpostIdentifier}/capacity");
|
|
740
|
+
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
741
|
+
let body;
|
|
742
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
743
|
+
AssetId: [],
|
|
744
|
+
DryRun: [],
|
|
745
|
+
InstancePools: (_) => smithyClient._json(_),
|
|
746
|
+
InstancesToExclude: (_) => smithyClient._json(_),
|
|
747
|
+
OrderId: [],
|
|
748
|
+
TaskActionOnBlockingInstances: [],
|
|
749
|
+
}));
|
|
750
|
+
b.m("POST").h(headers).b(body);
|
|
751
|
+
return b.build();
|
|
752
|
+
};
|
|
753
|
+
const se_StartConnectionCommand = async (input, context) => {
|
|
754
|
+
const b = core.requestBuilder(input, context);
|
|
755
|
+
const headers = {
|
|
756
|
+
"content-type": "application/json",
|
|
757
|
+
};
|
|
758
|
+
b.bp("/connections");
|
|
759
|
+
let body;
|
|
760
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
761
|
+
AssetId: [],
|
|
762
|
+
ClientPublicKey: [],
|
|
763
|
+
DeviceSerialNumber: [],
|
|
764
|
+
NetworkInterfaceDeviceIndex: [],
|
|
765
|
+
}));
|
|
766
|
+
b.m("POST").h(headers).b(body);
|
|
767
|
+
return b.build();
|
|
768
|
+
};
|
|
769
|
+
const se_StartOutpostDecommissionCommand = async (input, context) => {
|
|
770
|
+
const b = core.requestBuilder(input, context);
|
|
771
|
+
const headers = {
|
|
772
|
+
"content-type": "application/json",
|
|
773
|
+
};
|
|
774
|
+
b.bp("/outposts/{OutpostIdentifier}/decommission");
|
|
775
|
+
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
776
|
+
let body;
|
|
777
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
778
|
+
ValidateOnly: [],
|
|
779
|
+
}));
|
|
780
|
+
b.m("POST").h(headers).b(body);
|
|
781
|
+
return b.build();
|
|
782
|
+
};
|
|
783
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
784
|
+
const b = core.requestBuilder(input, context);
|
|
785
|
+
const headers = {
|
|
786
|
+
"content-type": "application/json",
|
|
787
|
+
};
|
|
788
|
+
b.bp("/tags/{ResourceArn}");
|
|
789
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
790
|
+
let body;
|
|
791
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
792
|
+
Tags: (_) => smithyClient._json(_),
|
|
793
|
+
}));
|
|
794
|
+
b.m("POST").h(headers).b(body);
|
|
795
|
+
return b.build();
|
|
796
|
+
};
|
|
797
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
798
|
+
const b = core.requestBuilder(input, context);
|
|
799
|
+
const headers = {};
|
|
800
|
+
b.bp("/tags/{ResourceArn}");
|
|
801
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
802
|
+
const query = smithyClient.map({
|
|
803
|
+
[_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
804
|
+
});
|
|
805
|
+
let body;
|
|
806
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
807
|
+
return b.build();
|
|
808
|
+
};
|
|
809
|
+
const se_UpdateOutpostCommand = async (input, context) => {
|
|
810
|
+
const b = core.requestBuilder(input, context);
|
|
811
|
+
const headers = {
|
|
812
|
+
"content-type": "application/json",
|
|
813
|
+
};
|
|
814
|
+
b.bp("/outposts/{OutpostId}");
|
|
815
|
+
b.p("OutpostId", () => input.OutpostId, "{OutpostId}", false);
|
|
816
|
+
let body;
|
|
817
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
818
|
+
Description: [],
|
|
819
|
+
Name: [],
|
|
820
|
+
SupportedHardwareType: [],
|
|
821
|
+
}));
|
|
822
|
+
b.m("PATCH").h(headers).b(body);
|
|
823
|
+
return b.build();
|
|
824
|
+
};
|
|
825
|
+
const se_UpdateSiteCommand = async (input, context) => {
|
|
826
|
+
const b = core.requestBuilder(input, context);
|
|
827
|
+
const headers = {
|
|
828
|
+
"content-type": "application/json",
|
|
829
|
+
};
|
|
830
|
+
b.bp("/sites/{SiteId}");
|
|
831
|
+
b.p("SiteId", () => input.SiteId, "{SiteId}", false);
|
|
832
|
+
let body;
|
|
833
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
834
|
+
Description: [],
|
|
835
|
+
Name: [],
|
|
836
|
+
Notes: [],
|
|
837
|
+
}));
|
|
838
|
+
b.m("PATCH").h(headers).b(body);
|
|
839
|
+
return b.build();
|
|
840
|
+
};
|
|
841
|
+
const se_UpdateSiteAddressCommand = async (input, context) => {
|
|
842
|
+
const b = core.requestBuilder(input, context);
|
|
843
|
+
const headers = {
|
|
844
|
+
"content-type": "application/json",
|
|
845
|
+
};
|
|
846
|
+
b.bp("/sites/{SiteId}/address");
|
|
847
|
+
b.p("SiteId", () => input.SiteId, "{SiteId}", false);
|
|
848
|
+
let body;
|
|
849
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
850
|
+
Address: (_) => smithyClient._json(_),
|
|
851
|
+
AddressType: [],
|
|
852
|
+
}));
|
|
853
|
+
b.m("PUT").h(headers).b(body);
|
|
854
|
+
return b.build();
|
|
855
|
+
};
|
|
856
|
+
const se_UpdateSiteRackPhysicalPropertiesCommand = async (input, context) => {
|
|
857
|
+
const b = core.requestBuilder(input, context);
|
|
858
|
+
const headers = {
|
|
859
|
+
"content-type": "application/json",
|
|
860
|
+
};
|
|
861
|
+
b.bp("/sites/{SiteId}/rackPhysicalProperties");
|
|
862
|
+
b.p("SiteId", () => input.SiteId, "{SiteId}", false);
|
|
863
|
+
let body;
|
|
864
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
865
|
+
FiberOpticCableType: [],
|
|
866
|
+
MaximumSupportedWeightLbs: [],
|
|
867
|
+
OpticalStandard: [],
|
|
868
|
+
PowerConnector: [],
|
|
869
|
+
PowerDrawKva: [],
|
|
870
|
+
PowerFeedDrop: [],
|
|
871
|
+
PowerPhase: [],
|
|
872
|
+
UplinkCount: [],
|
|
873
|
+
UplinkGbps: [],
|
|
874
|
+
}));
|
|
875
|
+
b.m("PATCH").h(headers).b(body);
|
|
876
|
+
return b.build();
|
|
877
|
+
};
|
|
878
|
+
const de_CancelCapacityTaskCommand = async (output, context) => {
|
|
879
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
880
|
+
return de_CommandError(output, context);
|
|
881
|
+
}
|
|
882
|
+
const contents = smithyClient.map({
|
|
883
|
+
$metadata: deserializeMetadata(output),
|
|
884
|
+
});
|
|
885
|
+
await smithyClient.collectBody(output.body, context);
|
|
886
|
+
return contents;
|
|
251
887
|
};
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
// src/protocols/Aws_restJson1.ts
|
|
262
|
-
var import_core2 = require("@aws-sdk/core");
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
// src/models/OutpostsServiceException.ts
|
|
267
|
-
|
|
268
|
-
var OutpostsServiceException = class _OutpostsServiceException extends import_smithy_client.ServiceException {
|
|
269
|
-
static {
|
|
270
|
-
__name(this, "OutpostsServiceException");
|
|
271
|
-
}
|
|
272
|
-
/**
|
|
273
|
-
* @internal
|
|
274
|
-
*/
|
|
275
|
-
constructor(options) {
|
|
276
|
-
super(options);
|
|
277
|
-
Object.setPrototypeOf(this, _OutpostsServiceException.prototype);
|
|
278
|
-
}
|
|
888
|
+
const de_CancelOrderCommand = async (output, context) => {
|
|
889
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
890
|
+
return de_CommandError(output, context);
|
|
891
|
+
}
|
|
892
|
+
const contents = smithyClient.map({
|
|
893
|
+
$metadata: deserializeMetadata(output),
|
|
894
|
+
});
|
|
895
|
+
await smithyClient.collectBody(output.body, context);
|
|
896
|
+
return contents;
|
|
279
897
|
};
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
super({
|
|
294
|
-
name: "AccessDeniedException",
|
|
295
|
-
$fault: "client",
|
|
296
|
-
...opts
|
|
297
|
-
});
|
|
298
|
-
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
299
|
-
this.Message = opts.Message;
|
|
300
|
-
}
|
|
301
|
-
};
|
|
302
|
-
var AddressType = {
|
|
303
|
-
OPERATING_ADDRESS: "OPERATING_ADDRESS",
|
|
304
|
-
SHIPPING_ADDRESS: "SHIPPING_ADDRESS"
|
|
305
|
-
};
|
|
306
|
-
var AssetType = {
|
|
307
|
-
COMPUTE: "COMPUTE"
|
|
308
|
-
};
|
|
309
|
-
var ComputeAssetState = {
|
|
310
|
-
ACTIVE: "ACTIVE",
|
|
311
|
-
ISOLATED: "ISOLATED",
|
|
312
|
-
RETIRING: "RETIRING"
|
|
313
|
-
};
|
|
314
|
-
var AWSServiceName = {
|
|
315
|
-
AWS: "AWS",
|
|
316
|
-
EC2: "EC2",
|
|
317
|
-
ELASTICACHE: "ELASTICACHE",
|
|
318
|
-
ELB: "ELB",
|
|
319
|
-
RDS: "RDS",
|
|
320
|
-
ROUTE53: "ROUTE53"
|
|
321
|
-
};
|
|
322
|
-
var AssetState = {
|
|
323
|
-
ACTIVE: "ACTIVE",
|
|
324
|
-
ISOLATED: "ISOLATED",
|
|
325
|
-
RETIRING: "RETIRING"
|
|
326
|
-
};
|
|
327
|
-
var ResourceType = {
|
|
328
|
-
ORDER: "ORDER",
|
|
329
|
-
OUTPOST: "OUTPOST"
|
|
330
|
-
};
|
|
331
|
-
var ConflictException = class _ConflictException extends OutpostsServiceException {
|
|
332
|
-
static {
|
|
333
|
-
__name(this, "ConflictException");
|
|
334
|
-
}
|
|
335
|
-
name = "ConflictException";
|
|
336
|
-
$fault = "client";
|
|
337
|
-
Message;
|
|
338
|
-
/**
|
|
339
|
-
* <p>The ID of the resource causing the conflict.</p>
|
|
340
|
-
* @public
|
|
341
|
-
*/
|
|
342
|
-
ResourceId;
|
|
343
|
-
/**
|
|
344
|
-
* <p>The type of the resource causing the conflict.</p>
|
|
345
|
-
* @public
|
|
346
|
-
*/
|
|
347
|
-
ResourceType;
|
|
348
|
-
/**
|
|
349
|
-
* @internal
|
|
350
|
-
*/
|
|
351
|
-
constructor(opts) {
|
|
352
|
-
super({
|
|
353
|
-
name: "ConflictException",
|
|
354
|
-
$fault: "client",
|
|
355
|
-
...opts
|
|
356
|
-
});
|
|
357
|
-
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
358
|
-
this.Message = opts.Message;
|
|
359
|
-
this.ResourceId = opts.ResourceId;
|
|
360
|
-
this.ResourceType = opts.ResourceType;
|
|
361
|
-
}
|
|
362
|
-
};
|
|
363
|
-
var InternalServerException = class _InternalServerException extends OutpostsServiceException {
|
|
364
|
-
static {
|
|
365
|
-
__name(this, "InternalServerException");
|
|
366
|
-
}
|
|
367
|
-
name = "InternalServerException";
|
|
368
|
-
$fault = "server";
|
|
369
|
-
Message;
|
|
370
|
-
/**
|
|
371
|
-
* @internal
|
|
372
|
-
*/
|
|
373
|
-
constructor(opts) {
|
|
374
|
-
super({
|
|
375
|
-
name: "InternalServerException",
|
|
376
|
-
$fault: "server",
|
|
377
|
-
...opts
|
|
378
|
-
});
|
|
379
|
-
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
380
|
-
this.Message = opts.Message;
|
|
381
|
-
}
|
|
382
|
-
};
|
|
383
|
-
var NotFoundException = class _NotFoundException extends OutpostsServiceException {
|
|
384
|
-
static {
|
|
385
|
-
__name(this, "NotFoundException");
|
|
386
|
-
}
|
|
387
|
-
name = "NotFoundException";
|
|
388
|
-
$fault = "client";
|
|
389
|
-
Message;
|
|
390
|
-
/**
|
|
391
|
-
* @internal
|
|
392
|
-
*/
|
|
393
|
-
constructor(opts) {
|
|
394
|
-
super({
|
|
395
|
-
name: "NotFoundException",
|
|
396
|
-
$fault: "client",
|
|
397
|
-
...opts
|
|
398
|
-
});
|
|
399
|
-
Object.setPrototypeOf(this, _NotFoundException.prototype);
|
|
400
|
-
this.Message = opts.Message;
|
|
401
|
-
}
|
|
402
|
-
};
|
|
403
|
-
var ValidationException = class _ValidationException extends OutpostsServiceException {
|
|
404
|
-
static {
|
|
405
|
-
__name(this, "ValidationException");
|
|
406
|
-
}
|
|
407
|
-
name = "ValidationException";
|
|
408
|
-
$fault = "client";
|
|
409
|
-
Message;
|
|
410
|
-
/**
|
|
411
|
-
* @internal
|
|
412
|
-
*/
|
|
413
|
-
constructor(opts) {
|
|
414
|
-
super({
|
|
415
|
-
name: "ValidationException",
|
|
416
|
-
$fault: "client",
|
|
417
|
-
...opts
|
|
418
|
-
});
|
|
419
|
-
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
420
|
-
this.Message = opts.Message;
|
|
421
|
-
}
|
|
422
|
-
};
|
|
423
|
-
var CapacityTaskFailureType = {
|
|
424
|
-
BLOCKING_INSTANCES_NOT_EVACUATED: "BLOCKING_INSTANCES_NOT_EVACUATED",
|
|
425
|
-
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
|
|
426
|
-
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
|
|
427
|
-
UNEXPECTED_ASSET_STATE: "UNEXPECTED_ASSET_STATE",
|
|
428
|
-
UNSUPPORTED_CAPACITY_CONFIGURATION: "UNSUPPORTED_CAPACITY_CONFIGURATION"
|
|
429
|
-
};
|
|
430
|
-
var CapacityTaskStatus = {
|
|
431
|
-
CANCELLATION_IN_PROGRESS: "CANCELLATION_IN_PROGRESS",
|
|
432
|
-
CANCELLED: "CANCELLED",
|
|
433
|
-
COMPLETED: "COMPLETED",
|
|
434
|
-
FAILED: "FAILED",
|
|
435
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
436
|
-
REQUESTED: "REQUESTED",
|
|
437
|
-
WAITING_FOR_EVACUATION: "WAITING_FOR_EVACUATION"
|
|
438
|
-
};
|
|
439
|
-
var CatalogItemStatus = {
|
|
440
|
-
AVAILABLE: "AVAILABLE",
|
|
441
|
-
DISCONTINUED: "DISCONTINUED"
|
|
442
|
-
};
|
|
443
|
-
var SupportedStorageEnum = {
|
|
444
|
-
EBS: "EBS",
|
|
445
|
-
S3: "S3"
|
|
446
|
-
};
|
|
447
|
-
var CatalogItemClass = {
|
|
448
|
-
RACK: "RACK",
|
|
449
|
-
SERVER: "SERVER"
|
|
450
|
-
};
|
|
451
|
-
var PaymentOption = {
|
|
452
|
-
ALL_UPFRONT: "ALL_UPFRONT",
|
|
453
|
-
NO_UPFRONT: "NO_UPFRONT",
|
|
454
|
-
PARTIAL_UPFRONT: "PARTIAL_UPFRONT"
|
|
455
|
-
};
|
|
456
|
-
var PaymentTerm = {
|
|
457
|
-
FIVE_YEARS: "FIVE_YEARS",
|
|
458
|
-
ONE_YEAR: "ONE_YEAR",
|
|
459
|
-
THREE_YEARS: "THREE_YEARS"
|
|
460
|
-
};
|
|
461
|
-
var ShipmentCarrier = {
|
|
462
|
-
DBS: "DBS",
|
|
463
|
-
DHL: "DHL",
|
|
464
|
-
EXPEDITORS: "EXPEDITORS",
|
|
465
|
-
FEDEX: "FEDEX",
|
|
466
|
-
UPS: "UPS"
|
|
467
|
-
};
|
|
468
|
-
var LineItemStatus = {
|
|
469
|
-
BUILDING: "BUILDING",
|
|
470
|
-
CANCELLED: "CANCELLED",
|
|
471
|
-
DELIVERED: "DELIVERED",
|
|
472
|
-
ERROR: "ERROR",
|
|
473
|
-
INSTALLED: "INSTALLED",
|
|
474
|
-
INSTALLING: "INSTALLING",
|
|
475
|
-
PREPARING: "PREPARING",
|
|
476
|
-
REPLACED: "REPLACED",
|
|
477
|
-
SHIPPED: "SHIPPED"
|
|
478
|
-
};
|
|
479
|
-
var OrderType = {
|
|
480
|
-
OUTPOST: "OUTPOST",
|
|
481
|
-
REPLACEMENT: "REPLACEMENT"
|
|
482
|
-
};
|
|
483
|
-
var OrderStatus = {
|
|
484
|
-
CANCELLED: "CANCELLED",
|
|
485
|
-
COMPLETED: "COMPLETED",
|
|
486
|
-
DELIVERED: "DELIVERED",
|
|
487
|
-
ERROR: "ERROR",
|
|
488
|
-
FULFILLED: "FULFILLED",
|
|
489
|
-
INSTALLING: "INSTALLING",
|
|
490
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
491
|
-
PENDING: "PENDING",
|
|
492
|
-
PREPARING: "PREPARING",
|
|
493
|
-
PROCESSING: "PROCESSING",
|
|
494
|
-
RECEIVED: "RECEIVED"
|
|
495
|
-
};
|
|
496
|
-
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends OutpostsServiceException {
|
|
497
|
-
static {
|
|
498
|
-
__name(this, "ServiceQuotaExceededException");
|
|
499
|
-
}
|
|
500
|
-
name = "ServiceQuotaExceededException";
|
|
501
|
-
$fault = "client";
|
|
502
|
-
Message;
|
|
503
|
-
/**
|
|
504
|
-
* @internal
|
|
505
|
-
*/
|
|
506
|
-
constructor(opts) {
|
|
507
|
-
super({
|
|
508
|
-
name: "ServiceQuotaExceededException",
|
|
509
|
-
$fault: "client",
|
|
510
|
-
...opts
|
|
511
|
-
});
|
|
512
|
-
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
513
|
-
this.Message = opts.Message;
|
|
514
|
-
}
|
|
515
|
-
};
|
|
516
|
-
var SupportedHardwareType = {
|
|
517
|
-
RACK: "RACK",
|
|
518
|
-
SERVER: "SERVER"
|
|
519
|
-
};
|
|
520
|
-
var FiberOpticCableType = {
|
|
521
|
-
MULTI_MODE: "MULTI_MODE",
|
|
522
|
-
SINGLE_MODE: "SINGLE_MODE"
|
|
523
|
-
};
|
|
524
|
-
var MaximumSupportedWeightLbs = {
|
|
525
|
-
MAX_1400_LBS: "MAX_1400_LBS",
|
|
526
|
-
MAX_1600_LBS: "MAX_1600_LBS",
|
|
527
|
-
MAX_1800_LBS: "MAX_1800_LBS",
|
|
528
|
-
MAX_2000_LBS: "MAX_2000_LBS",
|
|
529
|
-
NO_LIMIT: "NO_LIMIT"
|
|
530
|
-
};
|
|
531
|
-
var OpticalStandard = {
|
|
532
|
-
OPTIC_1000BASE_LX: "OPTIC_1000BASE_LX",
|
|
533
|
-
OPTIC_1000BASE_SX: "OPTIC_1000BASE_SX",
|
|
534
|
-
OPTIC_100GBASE_CWDM4: "OPTIC_100GBASE_CWDM4",
|
|
535
|
-
OPTIC_100GBASE_LR4: "OPTIC_100GBASE_LR4",
|
|
536
|
-
OPTIC_100GBASE_SR4: "OPTIC_100GBASE_SR4",
|
|
537
|
-
OPTIC_100G_PSM4_MSA: "OPTIC_100G_PSM4_MSA",
|
|
538
|
-
OPTIC_10GBASE_IR: "OPTIC_10GBASE_IR",
|
|
539
|
-
OPTIC_10GBASE_LR: "OPTIC_10GBASE_LR",
|
|
540
|
-
OPTIC_10GBASE_SR: "OPTIC_10GBASE_SR",
|
|
541
|
-
OPTIC_40GBASE_ESR: "OPTIC_40GBASE_ESR",
|
|
542
|
-
OPTIC_40GBASE_IR4_LR4L: "OPTIC_40GBASE_IR4_LR4L",
|
|
543
|
-
OPTIC_40GBASE_LR4: "OPTIC_40GBASE_LR4",
|
|
544
|
-
OPTIC_40GBASE_SR: "OPTIC_40GBASE_SR"
|
|
545
|
-
};
|
|
546
|
-
var PowerConnector = {
|
|
547
|
-
AH530P7W: "AH530P7W",
|
|
548
|
-
AH532P6W: "AH532P6W",
|
|
549
|
-
CS8365C: "CS8365C",
|
|
550
|
-
IEC309: "IEC309",
|
|
551
|
-
L6_30P: "L6_30P"
|
|
552
|
-
};
|
|
553
|
-
var PowerDrawKva = {
|
|
554
|
-
POWER_10_KVA: "POWER_10_KVA",
|
|
555
|
-
POWER_15_KVA: "POWER_15_KVA",
|
|
556
|
-
POWER_30_KVA: "POWER_30_KVA",
|
|
557
|
-
POWER_5_KVA: "POWER_5_KVA"
|
|
558
|
-
};
|
|
559
|
-
var PowerFeedDrop = {
|
|
560
|
-
ABOVE_RACK: "ABOVE_RACK",
|
|
561
|
-
BELOW_RACK: "BELOW_RACK"
|
|
562
|
-
};
|
|
563
|
-
var PowerPhase = {
|
|
564
|
-
SINGLE_PHASE: "SINGLE_PHASE",
|
|
565
|
-
THREE_PHASE: "THREE_PHASE"
|
|
566
|
-
};
|
|
567
|
-
var UplinkCount = {
|
|
568
|
-
UPLINK_COUNT_1: "UPLINK_COUNT_1",
|
|
569
|
-
UPLINK_COUNT_12: "UPLINK_COUNT_12",
|
|
570
|
-
UPLINK_COUNT_16: "UPLINK_COUNT_16",
|
|
571
|
-
UPLINK_COUNT_2: "UPLINK_COUNT_2",
|
|
572
|
-
UPLINK_COUNT_3: "UPLINK_COUNT_3",
|
|
573
|
-
UPLINK_COUNT_4: "UPLINK_COUNT_4",
|
|
574
|
-
UPLINK_COUNT_5: "UPLINK_COUNT_5",
|
|
575
|
-
UPLINK_COUNT_6: "UPLINK_COUNT_6",
|
|
576
|
-
UPLINK_COUNT_7: "UPLINK_COUNT_7",
|
|
577
|
-
UPLINK_COUNT_8: "UPLINK_COUNT_8"
|
|
578
|
-
};
|
|
579
|
-
var UplinkGbps = {
|
|
580
|
-
UPLINK_100G: "UPLINK_100G",
|
|
581
|
-
UPLINK_10G: "UPLINK_10G",
|
|
582
|
-
UPLINK_1G: "UPLINK_1G",
|
|
583
|
-
UPLINK_40G: "UPLINK_40G"
|
|
584
|
-
};
|
|
585
|
-
var TaskActionOnBlockingInstances = {
|
|
586
|
-
FAIL_TASK: "FAIL_TASK",
|
|
587
|
-
WAIT_FOR_EVACUATION: "WAIT_FOR_EVACUATION"
|
|
588
|
-
};
|
|
589
|
-
var SubscriptionStatus = {
|
|
590
|
-
ACTIVE: "ACTIVE",
|
|
591
|
-
CANCELLED: "CANCELLED",
|
|
592
|
-
INACTIVE: "INACTIVE"
|
|
593
|
-
};
|
|
594
|
-
var SubscriptionType = {
|
|
595
|
-
CAPACITY_INCREASE: "CAPACITY_INCREASE",
|
|
596
|
-
ORIGINAL: "ORIGINAL",
|
|
597
|
-
RENEWAL: "RENEWAL"
|
|
898
|
+
const de_CreateOrderCommand = async (output, context) => {
|
|
899
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
900
|
+
return de_CommandError(output, context);
|
|
901
|
+
}
|
|
902
|
+
const contents = smithyClient.map({
|
|
903
|
+
$metadata: deserializeMetadata(output),
|
|
904
|
+
});
|
|
905
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
906
|
+
const doc = smithyClient.take(data, {
|
|
907
|
+
Order: (_) => de_Order(_),
|
|
908
|
+
});
|
|
909
|
+
Object.assign(contents, doc);
|
|
910
|
+
return contents;
|
|
598
911
|
};
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
613
|
-
const headers = {};
|
|
614
|
-
b.bp("/orders/{OrderId}/cancel");
|
|
615
|
-
b.p("OrderId", () => input.OrderId, "{OrderId}", false);
|
|
616
|
-
let body;
|
|
617
|
-
b.m("POST").h(headers).b(body);
|
|
618
|
-
return b.build();
|
|
619
|
-
}, "se_CancelOrderCommand");
|
|
620
|
-
var se_CreateOrderCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
621
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
622
|
-
const headers = {
|
|
623
|
-
"content-type": "application/json"
|
|
624
|
-
};
|
|
625
|
-
b.bp("/orders");
|
|
626
|
-
let body;
|
|
627
|
-
body = JSON.stringify(
|
|
628
|
-
(0, import_smithy_client.take)(input, {
|
|
629
|
-
LineItems: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LineItems"),
|
|
630
|
-
OutpostIdentifier: [],
|
|
631
|
-
PaymentOption: [],
|
|
632
|
-
PaymentTerm: []
|
|
633
|
-
})
|
|
634
|
-
);
|
|
635
|
-
b.m("POST").h(headers).b(body);
|
|
636
|
-
return b.build();
|
|
637
|
-
}, "se_CreateOrderCommand");
|
|
638
|
-
var se_CreateOutpostCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
639
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
640
|
-
const headers = {
|
|
641
|
-
"content-type": "application/json"
|
|
642
|
-
};
|
|
643
|
-
b.bp("/outposts");
|
|
644
|
-
let body;
|
|
645
|
-
body = JSON.stringify(
|
|
646
|
-
(0, import_smithy_client.take)(input, {
|
|
647
|
-
AvailabilityZone: [],
|
|
648
|
-
AvailabilityZoneId: [],
|
|
649
|
-
Description: [],
|
|
650
|
-
Name: [],
|
|
651
|
-
SiteId: [],
|
|
652
|
-
SupportedHardwareType: [],
|
|
653
|
-
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
654
|
-
})
|
|
655
|
-
);
|
|
656
|
-
b.m("POST").h(headers).b(body);
|
|
657
|
-
return b.build();
|
|
658
|
-
}, "se_CreateOutpostCommand");
|
|
659
|
-
var se_CreateSiteCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
660
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
661
|
-
const headers = {
|
|
662
|
-
"content-type": "application/json"
|
|
663
|
-
};
|
|
664
|
-
b.bp("/sites");
|
|
665
|
-
let body;
|
|
666
|
-
body = JSON.stringify(
|
|
667
|
-
(0, import_smithy_client.take)(input, {
|
|
668
|
-
Description: [],
|
|
669
|
-
Name: [],
|
|
670
|
-
Notes: [],
|
|
671
|
-
OperatingAddress: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OperatingAddress"),
|
|
672
|
-
RackPhysicalProperties: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "RackPhysicalProperties"),
|
|
673
|
-
ShippingAddress: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ShippingAddress"),
|
|
674
|
-
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
675
|
-
})
|
|
676
|
-
);
|
|
677
|
-
b.m("POST").h(headers).b(body);
|
|
678
|
-
return b.build();
|
|
679
|
-
}, "se_CreateSiteCommand");
|
|
680
|
-
var se_DeleteOutpostCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
681
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
682
|
-
const headers = {};
|
|
683
|
-
b.bp("/outposts/{OutpostId}");
|
|
684
|
-
b.p("OutpostId", () => input.OutpostId, "{OutpostId}", false);
|
|
685
|
-
let body;
|
|
686
|
-
b.m("DELETE").h(headers).b(body);
|
|
687
|
-
return b.build();
|
|
688
|
-
}, "se_DeleteOutpostCommand");
|
|
689
|
-
var se_DeleteSiteCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
690
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
691
|
-
const headers = {};
|
|
692
|
-
b.bp("/sites/{SiteId}");
|
|
693
|
-
b.p("SiteId", () => input.SiteId, "{SiteId}", false);
|
|
694
|
-
let body;
|
|
695
|
-
b.m("DELETE").h(headers).b(body);
|
|
696
|
-
return b.build();
|
|
697
|
-
}, "se_DeleteSiteCommand");
|
|
698
|
-
var se_GetCapacityTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
699
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
700
|
-
const headers = {};
|
|
701
|
-
b.bp("/outposts/{OutpostIdentifier}/capacity/{CapacityTaskId}");
|
|
702
|
-
b.p("CapacityTaskId", () => input.CapacityTaskId, "{CapacityTaskId}", false);
|
|
703
|
-
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
704
|
-
let body;
|
|
705
|
-
b.m("GET").h(headers).b(body);
|
|
706
|
-
return b.build();
|
|
707
|
-
}, "se_GetCapacityTaskCommand");
|
|
708
|
-
var se_GetCatalogItemCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
709
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
710
|
-
const headers = {};
|
|
711
|
-
b.bp("/catalog/item/{CatalogItemId}");
|
|
712
|
-
b.p("CatalogItemId", () => input.CatalogItemId, "{CatalogItemId}", false);
|
|
713
|
-
let body;
|
|
714
|
-
b.m("GET").h(headers).b(body);
|
|
715
|
-
return b.build();
|
|
716
|
-
}, "se_GetCatalogItemCommand");
|
|
717
|
-
var se_GetConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
718
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
719
|
-
const headers = {};
|
|
720
|
-
b.bp("/connections/{ConnectionId}");
|
|
721
|
-
b.p("ConnectionId", () => input.ConnectionId, "{ConnectionId}", false);
|
|
722
|
-
let body;
|
|
723
|
-
b.m("GET").h(headers).b(body);
|
|
724
|
-
return b.build();
|
|
725
|
-
}, "se_GetConnectionCommand");
|
|
726
|
-
var se_GetOrderCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
727
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
728
|
-
const headers = {};
|
|
729
|
-
b.bp("/orders/{OrderId}");
|
|
730
|
-
b.p("OrderId", () => input.OrderId, "{OrderId}", false);
|
|
731
|
-
let body;
|
|
732
|
-
b.m("GET").h(headers).b(body);
|
|
733
|
-
return b.build();
|
|
734
|
-
}, "se_GetOrderCommand");
|
|
735
|
-
var se_GetOutpostCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
736
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
737
|
-
const headers = {};
|
|
738
|
-
b.bp("/outposts/{OutpostId}");
|
|
739
|
-
b.p("OutpostId", () => input.OutpostId, "{OutpostId}", false);
|
|
740
|
-
let body;
|
|
741
|
-
b.m("GET").h(headers).b(body);
|
|
742
|
-
return b.build();
|
|
743
|
-
}, "se_GetOutpostCommand");
|
|
744
|
-
var se_GetOutpostBillingInformationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
745
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
746
|
-
const headers = {};
|
|
747
|
-
b.bp("/outpost/{OutpostIdentifier}/billing-information");
|
|
748
|
-
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
749
|
-
const query = (0, import_smithy_client.map)({
|
|
750
|
-
[_NT]: [, input[_NT]],
|
|
751
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
752
|
-
});
|
|
753
|
-
let body;
|
|
754
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
755
|
-
return b.build();
|
|
756
|
-
}, "se_GetOutpostBillingInformationCommand");
|
|
757
|
-
var se_GetOutpostInstanceTypesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
758
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
759
|
-
const headers = {};
|
|
760
|
-
b.bp("/outposts/{OutpostId}/instanceTypes");
|
|
761
|
-
b.p("OutpostId", () => input.OutpostId, "{OutpostId}", false);
|
|
762
|
-
const query = (0, import_smithy_client.map)({
|
|
763
|
-
[_NT]: [, input[_NT]],
|
|
764
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
765
|
-
});
|
|
766
|
-
let body;
|
|
767
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
768
|
-
return b.build();
|
|
769
|
-
}, "se_GetOutpostInstanceTypesCommand");
|
|
770
|
-
var se_GetOutpostSupportedInstanceTypesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
771
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
772
|
-
const headers = {};
|
|
773
|
-
b.bp("/outposts/{OutpostIdentifier}/supportedInstanceTypes");
|
|
774
|
-
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
775
|
-
const query = (0, import_smithy_client.map)({
|
|
776
|
-
[_OI]: [, input[_OI]],
|
|
777
|
-
[_AI]: [, input[_AI]],
|
|
778
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
779
|
-
[_NT]: [, input[_NT]]
|
|
780
|
-
});
|
|
781
|
-
let body;
|
|
782
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
783
|
-
return b.build();
|
|
784
|
-
}, "se_GetOutpostSupportedInstanceTypesCommand");
|
|
785
|
-
var se_GetSiteCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
786
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
787
|
-
const headers = {};
|
|
788
|
-
b.bp("/sites/{SiteId}");
|
|
789
|
-
b.p("SiteId", () => input.SiteId, "{SiteId}", false);
|
|
790
|
-
let body;
|
|
791
|
-
b.m("GET").h(headers).b(body);
|
|
792
|
-
return b.build();
|
|
793
|
-
}, "se_GetSiteCommand");
|
|
794
|
-
var se_GetSiteAddressCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
795
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
796
|
-
const headers = {};
|
|
797
|
-
b.bp("/sites/{SiteId}/address");
|
|
798
|
-
b.p("SiteId", () => input.SiteId, "{SiteId}", false);
|
|
799
|
-
const query = (0, import_smithy_client.map)({
|
|
800
|
-
[_AT]: [, (0, import_smithy_client.expectNonNull)(input[_AT], `AddressType`)]
|
|
801
|
-
});
|
|
802
|
-
let body;
|
|
803
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
804
|
-
return b.build();
|
|
805
|
-
}, "se_GetSiteAddressCommand");
|
|
806
|
-
var se_ListAssetInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
807
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
808
|
-
const headers = {};
|
|
809
|
-
b.bp("/outposts/{OutpostIdentifier}/assetInstances");
|
|
810
|
-
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
811
|
-
const query = (0, import_smithy_client.map)({
|
|
812
|
-
[_AIF]: [() => input.AssetIdFilter !== void 0, () => input[_AIF] || []],
|
|
813
|
-
[_ITF]: [() => input.InstanceTypeFilter !== void 0, () => input[_ITF] || []],
|
|
814
|
-
[_AIFc]: [() => input.AccountIdFilter !== void 0, () => input[_AIFc] || []],
|
|
815
|
-
[_ASF]: [() => input.AwsServiceFilter !== void 0, () => input[_ASF] || []],
|
|
816
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
817
|
-
[_NT]: [, input[_NT]]
|
|
818
|
-
});
|
|
819
|
-
let body;
|
|
820
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
821
|
-
return b.build();
|
|
822
|
-
}, "se_ListAssetInstancesCommand");
|
|
823
|
-
var se_ListAssetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
824
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
825
|
-
const headers = {};
|
|
826
|
-
b.bp("/outposts/{OutpostIdentifier}/assets");
|
|
827
|
-
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
828
|
-
const query = (0, import_smithy_client.map)({
|
|
829
|
-
[_HIF]: [() => input.HostIdFilter !== void 0, () => input[_HIF] || []],
|
|
830
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
831
|
-
[_NT]: [, input[_NT]],
|
|
832
|
-
[_SF]: [() => input.StatusFilter !== void 0, () => input[_SF] || []]
|
|
833
|
-
});
|
|
834
|
-
let body;
|
|
835
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
836
|
-
return b.build();
|
|
837
|
-
}, "se_ListAssetsCommand");
|
|
838
|
-
var se_ListBlockingInstancesForCapacityTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
839
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
840
|
-
const headers = {};
|
|
841
|
-
b.bp("/outposts/{OutpostIdentifier}/capacity/{CapacityTaskId}/blockingInstances");
|
|
842
|
-
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
843
|
-
b.p("CapacityTaskId", () => input.CapacityTaskId, "{CapacityTaskId}", false);
|
|
844
|
-
const query = (0, import_smithy_client.map)({
|
|
845
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
846
|
-
[_NT]: [, input[_NT]]
|
|
847
|
-
});
|
|
848
|
-
let body;
|
|
849
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
850
|
-
return b.build();
|
|
851
|
-
}, "se_ListBlockingInstancesForCapacityTaskCommand");
|
|
852
|
-
var se_ListCapacityTasksCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
853
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
854
|
-
const headers = {};
|
|
855
|
-
b.bp("/capacity/tasks");
|
|
856
|
-
const query = (0, import_smithy_client.map)({
|
|
857
|
-
[_OIF]: [, input[_OIF]],
|
|
858
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
859
|
-
[_NT]: [, input[_NT]],
|
|
860
|
-
[_CTSF]: [() => input.CapacityTaskStatusFilter !== void 0, () => input[_CTSF] || []]
|
|
861
|
-
});
|
|
862
|
-
let body;
|
|
863
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
864
|
-
return b.build();
|
|
865
|
-
}, "se_ListCapacityTasksCommand");
|
|
866
|
-
var se_ListCatalogItemsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
867
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
868
|
-
const headers = {};
|
|
869
|
-
b.bp("/catalog/items");
|
|
870
|
-
const query = (0, import_smithy_client.map)({
|
|
871
|
-
[_NT]: [, input[_NT]],
|
|
872
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
873
|
-
[_ICF]: [() => input.ItemClassFilter !== void 0, () => input[_ICF] || []],
|
|
874
|
-
[_SSF]: [() => input.SupportedStorageFilter !== void 0, () => input[_SSF] || []],
|
|
875
|
-
[_ECFF]: [() => input.EC2FamilyFilter !== void 0, () => input[_ECFF] || []]
|
|
876
|
-
});
|
|
877
|
-
let body;
|
|
878
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
879
|
-
return b.build();
|
|
880
|
-
}, "se_ListCatalogItemsCommand");
|
|
881
|
-
var se_ListOrdersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
882
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
883
|
-
const headers = {};
|
|
884
|
-
b.bp("/list-orders");
|
|
885
|
-
const query = (0, import_smithy_client.map)({
|
|
886
|
-
[_OIF]: [, input[_OIF]],
|
|
887
|
-
[_NT]: [, input[_NT]],
|
|
888
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
889
|
-
});
|
|
890
|
-
let body;
|
|
891
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
892
|
-
return b.build();
|
|
893
|
-
}, "se_ListOrdersCommand");
|
|
894
|
-
var se_ListOutpostsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
895
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
896
|
-
const headers = {};
|
|
897
|
-
b.bp("/outposts");
|
|
898
|
-
const query = (0, import_smithy_client.map)({
|
|
899
|
-
[_NT]: [, input[_NT]],
|
|
900
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
901
|
-
[_LCSF]: [() => input.LifeCycleStatusFilter !== void 0, () => input[_LCSF] || []],
|
|
902
|
-
[_AZF]: [() => input.AvailabilityZoneFilter !== void 0, () => input[_AZF] || []],
|
|
903
|
-
[_AZIF]: [() => input.AvailabilityZoneIdFilter !== void 0, () => input[_AZIF] || []]
|
|
904
|
-
});
|
|
905
|
-
let body;
|
|
906
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
907
|
-
return b.build();
|
|
908
|
-
}, "se_ListOutpostsCommand");
|
|
909
|
-
var se_ListSitesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
910
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
911
|
-
const headers = {};
|
|
912
|
-
b.bp("/sites");
|
|
913
|
-
const query = (0, import_smithy_client.map)({
|
|
914
|
-
[_NT]: [, input[_NT]],
|
|
915
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
916
|
-
[_OACCF]: [() => input.OperatingAddressCountryCodeFilter !== void 0, () => input[_OACCF] || []],
|
|
917
|
-
[_OASORF]: [() => input.OperatingAddressStateOrRegionFilter !== void 0, () => input[_OASORF] || []],
|
|
918
|
-
[_OACF]: [() => input.OperatingAddressCityFilter !== void 0, () => input[_OACF] || []]
|
|
919
|
-
});
|
|
920
|
-
let body;
|
|
921
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
922
|
-
return b.build();
|
|
923
|
-
}, "se_ListSitesCommand");
|
|
924
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
925
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
926
|
-
const headers = {};
|
|
927
|
-
b.bp("/tags/{ResourceArn}");
|
|
928
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
929
|
-
let body;
|
|
930
|
-
b.m("GET").h(headers).b(body);
|
|
931
|
-
return b.build();
|
|
932
|
-
}, "se_ListTagsForResourceCommand");
|
|
933
|
-
var se_StartCapacityTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
934
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
935
|
-
const headers = {
|
|
936
|
-
"content-type": "application/json"
|
|
937
|
-
};
|
|
938
|
-
b.bp("/outposts/{OutpostIdentifier}/capacity");
|
|
939
|
-
b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
940
|
-
let body;
|
|
941
|
-
body = JSON.stringify(
|
|
942
|
-
(0, import_smithy_client.take)(input, {
|
|
943
|
-
AssetId: [],
|
|
944
|
-
DryRun: [],
|
|
945
|
-
InstancePools: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InstancePools"),
|
|
946
|
-
InstancesToExclude: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InstancesToExclude"),
|
|
947
|
-
OrderId: [],
|
|
948
|
-
TaskActionOnBlockingInstances: []
|
|
949
|
-
})
|
|
950
|
-
);
|
|
951
|
-
b.m("POST").h(headers).b(body);
|
|
952
|
-
return b.build();
|
|
953
|
-
}, "se_StartCapacityTaskCommand");
|
|
954
|
-
var se_StartConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
955
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
956
|
-
const headers = {
|
|
957
|
-
"content-type": "application/json"
|
|
958
|
-
};
|
|
959
|
-
b.bp("/connections");
|
|
960
|
-
let body;
|
|
961
|
-
body = JSON.stringify(
|
|
962
|
-
(0, import_smithy_client.take)(input, {
|
|
963
|
-
AssetId: [],
|
|
964
|
-
ClientPublicKey: [],
|
|
965
|
-
DeviceSerialNumber: [],
|
|
966
|
-
NetworkInterfaceDeviceIndex: []
|
|
967
|
-
})
|
|
968
|
-
);
|
|
969
|
-
b.m("POST").h(headers).b(body);
|
|
970
|
-
return b.build();
|
|
971
|
-
}, "se_StartConnectionCommand");
|
|
972
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
973
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
974
|
-
const headers = {
|
|
975
|
-
"content-type": "application/json"
|
|
976
|
-
};
|
|
977
|
-
b.bp("/tags/{ResourceArn}");
|
|
978
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
979
|
-
let body;
|
|
980
|
-
body = JSON.stringify(
|
|
981
|
-
(0, import_smithy_client.take)(input, {
|
|
982
|
-
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
983
|
-
})
|
|
984
|
-
);
|
|
985
|
-
b.m("POST").h(headers).b(body);
|
|
986
|
-
return b.build();
|
|
987
|
-
}, "se_TagResourceCommand");
|
|
988
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
989
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
990
|
-
const headers = {};
|
|
991
|
-
b.bp("/tags/{ResourceArn}");
|
|
992
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
993
|
-
const query = (0, import_smithy_client.map)({
|
|
994
|
-
[_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]
|
|
995
|
-
});
|
|
996
|
-
let body;
|
|
997
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
998
|
-
return b.build();
|
|
999
|
-
}, "se_UntagResourceCommand");
|
|
1000
|
-
var se_UpdateOutpostCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1001
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1002
|
-
const headers = {
|
|
1003
|
-
"content-type": "application/json"
|
|
1004
|
-
};
|
|
1005
|
-
b.bp("/outposts/{OutpostId}");
|
|
1006
|
-
b.p("OutpostId", () => input.OutpostId, "{OutpostId}", false);
|
|
1007
|
-
let body;
|
|
1008
|
-
body = JSON.stringify(
|
|
1009
|
-
(0, import_smithy_client.take)(input, {
|
|
1010
|
-
Description: [],
|
|
1011
|
-
Name: [],
|
|
1012
|
-
SupportedHardwareType: []
|
|
1013
|
-
})
|
|
1014
|
-
);
|
|
1015
|
-
b.m("PATCH").h(headers).b(body);
|
|
1016
|
-
return b.build();
|
|
1017
|
-
}, "se_UpdateOutpostCommand");
|
|
1018
|
-
var se_UpdateSiteCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1019
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1020
|
-
const headers = {
|
|
1021
|
-
"content-type": "application/json"
|
|
1022
|
-
};
|
|
1023
|
-
b.bp("/sites/{SiteId}");
|
|
1024
|
-
b.p("SiteId", () => input.SiteId, "{SiteId}", false);
|
|
1025
|
-
let body;
|
|
1026
|
-
body = JSON.stringify(
|
|
1027
|
-
(0, import_smithy_client.take)(input, {
|
|
1028
|
-
Description: [],
|
|
1029
|
-
Name: [],
|
|
1030
|
-
Notes: []
|
|
1031
|
-
})
|
|
1032
|
-
);
|
|
1033
|
-
b.m("PATCH").h(headers).b(body);
|
|
1034
|
-
return b.build();
|
|
1035
|
-
}, "se_UpdateSiteCommand");
|
|
1036
|
-
var se_UpdateSiteAddressCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1037
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1038
|
-
const headers = {
|
|
1039
|
-
"content-type": "application/json"
|
|
1040
|
-
};
|
|
1041
|
-
b.bp("/sites/{SiteId}/address");
|
|
1042
|
-
b.p("SiteId", () => input.SiteId, "{SiteId}", false);
|
|
1043
|
-
let body;
|
|
1044
|
-
body = JSON.stringify(
|
|
1045
|
-
(0, import_smithy_client.take)(input, {
|
|
1046
|
-
Address: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Address"),
|
|
1047
|
-
AddressType: []
|
|
1048
|
-
})
|
|
1049
|
-
);
|
|
1050
|
-
b.m("PUT").h(headers).b(body);
|
|
1051
|
-
return b.build();
|
|
1052
|
-
}, "se_UpdateSiteAddressCommand");
|
|
1053
|
-
var se_UpdateSiteRackPhysicalPropertiesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1054
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1055
|
-
const headers = {
|
|
1056
|
-
"content-type": "application/json"
|
|
1057
|
-
};
|
|
1058
|
-
b.bp("/sites/{SiteId}/rackPhysicalProperties");
|
|
1059
|
-
b.p("SiteId", () => input.SiteId, "{SiteId}", false);
|
|
1060
|
-
let body;
|
|
1061
|
-
body = JSON.stringify(
|
|
1062
|
-
(0, import_smithy_client.take)(input, {
|
|
1063
|
-
FiberOpticCableType: [],
|
|
1064
|
-
MaximumSupportedWeightLbs: [],
|
|
1065
|
-
OpticalStandard: [],
|
|
1066
|
-
PowerConnector: [],
|
|
1067
|
-
PowerDrawKva: [],
|
|
1068
|
-
PowerFeedDrop: [],
|
|
1069
|
-
PowerPhase: [],
|
|
1070
|
-
UplinkCount: [],
|
|
1071
|
-
UplinkGbps: []
|
|
1072
|
-
})
|
|
1073
|
-
);
|
|
1074
|
-
b.m("PATCH").h(headers).b(body);
|
|
1075
|
-
return b.build();
|
|
1076
|
-
}, "se_UpdateSiteRackPhysicalPropertiesCommand");
|
|
1077
|
-
var de_CancelCapacityTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1078
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1079
|
-
return de_CommandError(output, context);
|
|
1080
|
-
}
|
|
1081
|
-
const contents = (0, import_smithy_client.map)({
|
|
1082
|
-
$metadata: deserializeMetadata(output)
|
|
1083
|
-
});
|
|
1084
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1085
|
-
return contents;
|
|
1086
|
-
}, "de_CancelCapacityTaskCommand");
|
|
1087
|
-
var de_CancelOrderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1088
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1089
|
-
return de_CommandError(output, context);
|
|
1090
|
-
}
|
|
1091
|
-
const contents = (0, import_smithy_client.map)({
|
|
1092
|
-
$metadata: deserializeMetadata(output)
|
|
1093
|
-
});
|
|
1094
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1095
|
-
return contents;
|
|
1096
|
-
}, "de_CancelOrderCommand");
|
|
1097
|
-
var de_CreateOrderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1098
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1099
|
-
return de_CommandError(output, context);
|
|
1100
|
-
}
|
|
1101
|
-
const contents = (0, import_smithy_client.map)({
|
|
1102
|
-
$metadata: deserializeMetadata(output)
|
|
1103
|
-
});
|
|
1104
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1105
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1106
|
-
Order: /* @__PURE__ */ __name((_) => de_Order(_, context), "Order")
|
|
1107
|
-
});
|
|
1108
|
-
Object.assign(contents, doc);
|
|
1109
|
-
return contents;
|
|
1110
|
-
}, "de_CreateOrderCommand");
|
|
1111
|
-
var de_CreateOutpostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1112
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1113
|
-
return de_CommandError(output, context);
|
|
1114
|
-
}
|
|
1115
|
-
const contents = (0, import_smithy_client.map)({
|
|
1116
|
-
$metadata: deserializeMetadata(output)
|
|
1117
|
-
});
|
|
1118
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1119
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1120
|
-
Outpost: import_smithy_client._json
|
|
1121
|
-
});
|
|
1122
|
-
Object.assign(contents, doc);
|
|
1123
|
-
return contents;
|
|
1124
|
-
}, "de_CreateOutpostCommand");
|
|
1125
|
-
var de_CreateSiteCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1126
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1127
|
-
return de_CommandError(output, context);
|
|
1128
|
-
}
|
|
1129
|
-
const contents = (0, import_smithy_client.map)({
|
|
1130
|
-
$metadata: deserializeMetadata(output)
|
|
1131
|
-
});
|
|
1132
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1133
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1134
|
-
Site: import_smithy_client._json
|
|
1135
|
-
});
|
|
1136
|
-
Object.assign(contents, doc);
|
|
1137
|
-
return contents;
|
|
1138
|
-
}, "de_CreateSiteCommand");
|
|
1139
|
-
var de_DeleteOutpostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1140
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1141
|
-
return de_CommandError(output, context);
|
|
1142
|
-
}
|
|
1143
|
-
const contents = (0, import_smithy_client.map)({
|
|
1144
|
-
$metadata: deserializeMetadata(output)
|
|
1145
|
-
});
|
|
1146
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1147
|
-
return contents;
|
|
1148
|
-
}, "de_DeleteOutpostCommand");
|
|
1149
|
-
var de_DeleteSiteCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1150
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1151
|
-
return de_CommandError(output, context);
|
|
1152
|
-
}
|
|
1153
|
-
const contents = (0, import_smithy_client.map)({
|
|
1154
|
-
$metadata: deserializeMetadata(output)
|
|
1155
|
-
});
|
|
1156
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1157
|
-
return contents;
|
|
1158
|
-
}, "de_DeleteSiteCommand");
|
|
1159
|
-
var de_GetCapacityTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1160
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1161
|
-
return de_CommandError(output, context);
|
|
1162
|
-
}
|
|
1163
|
-
const contents = (0, import_smithy_client.map)({
|
|
1164
|
-
$metadata: deserializeMetadata(output)
|
|
1165
|
-
});
|
|
1166
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1167
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1168
|
-
AssetId: import_smithy_client.expectString,
|
|
1169
|
-
CapacityTaskId: import_smithy_client.expectString,
|
|
1170
|
-
CapacityTaskStatus: import_smithy_client.expectString,
|
|
1171
|
-
CompletionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletionDate"),
|
|
1172
|
-
CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
|
|
1173
|
-
DryRun: import_smithy_client.expectBoolean,
|
|
1174
|
-
Failed: import_smithy_client._json,
|
|
1175
|
-
InstancesToExclude: import_smithy_client._json,
|
|
1176
|
-
LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"),
|
|
1177
|
-
OrderId: import_smithy_client.expectString,
|
|
1178
|
-
OutpostId: import_smithy_client.expectString,
|
|
1179
|
-
RequestedInstancePools: import_smithy_client._json,
|
|
1180
|
-
TaskActionOnBlockingInstances: import_smithy_client.expectString
|
|
1181
|
-
});
|
|
1182
|
-
Object.assign(contents, doc);
|
|
1183
|
-
return contents;
|
|
1184
|
-
}, "de_GetCapacityTaskCommand");
|
|
1185
|
-
var de_GetCatalogItemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1186
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1187
|
-
return de_CommandError(output, context);
|
|
1188
|
-
}
|
|
1189
|
-
const contents = (0, import_smithy_client.map)({
|
|
1190
|
-
$metadata: deserializeMetadata(output)
|
|
1191
|
-
});
|
|
1192
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1193
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1194
|
-
CatalogItem: /* @__PURE__ */ __name((_) => de_CatalogItem(_, context), "CatalogItem")
|
|
1195
|
-
});
|
|
1196
|
-
Object.assign(contents, doc);
|
|
1197
|
-
return contents;
|
|
1198
|
-
}, "de_GetCatalogItemCommand");
|
|
1199
|
-
var de_GetConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1200
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1201
|
-
return de_CommandError(output, context);
|
|
1202
|
-
}
|
|
1203
|
-
const contents = (0, import_smithy_client.map)({
|
|
1204
|
-
$metadata: deserializeMetadata(output)
|
|
1205
|
-
});
|
|
1206
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1207
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1208
|
-
ConnectionDetails: import_smithy_client._json,
|
|
1209
|
-
ConnectionId: import_smithy_client.expectString
|
|
1210
|
-
});
|
|
1211
|
-
Object.assign(contents, doc);
|
|
1212
|
-
return contents;
|
|
1213
|
-
}, "de_GetConnectionCommand");
|
|
1214
|
-
var de_GetOrderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1215
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1216
|
-
return de_CommandError(output, context);
|
|
1217
|
-
}
|
|
1218
|
-
const contents = (0, import_smithy_client.map)({
|
|
1219
|
-
$metadata: deserializeMetadata(output)
|
|
1220
|
-
});
|
|
1221
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1222
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1223
|
-
Order: /* @__PURE__ */ __name((_) => de_Order(_, context), "Order")
|
|
1224
|
-
});
|
|
1225
|
-
Object.assign(contents, doc);
|
|
1226
|
-
return contents;
|
|
1227
|
-
}, "de_GetOrderCommand");
|
|
1228
|
-
var de_GetOutpostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1229
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1230
|
-
return de_CommandError(output, context);
|
|
1231
|
-
}
|
|
1232
|
-
const contents = (0, import_smithy_client.map)({
|
|
1233
|
-
$metadata: deserializeMetadata(output)
|
|
1234
|
-
});
|
|
1235
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1236
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1237
|
-
Outpost: import_smithy_client._json
|
|
1238
|
-
});
|
|
1239
|
-
Object.assign(contents, doc);
|
|
1240
|
-
return contents;
|
|
1241
|
-
}, "de_GetOutpostCommand");
|
|
1242
|
-
var de_GetOutpostBillingInformationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1243
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1244
|
-
return de_CommandError(output, context);
|
|
1245
|
-
}
|
|
1246
|
-
const contents = (0, import_smithy_client.map)({
|
|
1247
|
-
$metadata: deserializeMetadata(output)
|
|
1248
|
-
});
|
|
1249
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1250
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1251
|
-
ContractEndDate: import_smithy_client.expectString,
|
|
1252
|
-
NextToken: import_smithy_client.expectString,
|
|
1253
|
-
Subscriptions: /* @__PURE__ */ __name((_) => de_SubscriptionList(_, context), "Subscriptions")
|
|
1254
|
-
});
|
|
1255
|
-
Object.assign(contents, doc);
|
|
1256
|
-
return contents;
|
|
1257
|
-
}, "de_GetOutpostBillingInformationCommand");
|
|
1258
|
-
var de_GetOutpostInstanceTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1259
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1260
|
-
return de_CommandError(output, context);
|
|
1261
|
-
}
|
|
1262
|
-
const contents = (0, import_smithy_client.map)({
|
|
1263
|
-
$metadata: deserializeMetadata(output)
|
|
1264
|
-
});
|
|
1265
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1266
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1267
|
-
InstanceTypes: import_smithy_client._json,
|
|
1268
|
-
NextToken: import_smithy_client.expectString,
|
|
1269
|
-
OutpostArn: import_smithy_client.expectString,
|
|
1270
|
-
OutpostId: import_smithy_client.expectString
|
|
1271
|
-
});
|
|
1272
|
-
Object.assign(contents, doc);
|
|
1273
|
-
return contents;
|
|
1274
|
-
}, "de_GetOutpostInstanceTypesCommand");
|
|
1275
|
-
var de_GetOutpostSupportedInstanceTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1276
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1277
|
-
return de_CommandError(output, context);
|
|
1278
|
-
}
|
|
1279
|
-
const contents = (0, import_smithy_client.map)({
|
|
1280
|
-
$metadata: deserializeMetadata(output)
|
|
1281
|
-
});
|
|
1282
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1283
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1284
|
-
InstanceTypes: import_smithy_client._json,
|
|
1285
|
-
NextToken: import_smithy_client.expectString
|
|
1286
|
-
});
|
|
1287
|
-
Object.assign(contents, doc);
|
|
1288
|
-
return contents;
|
|
1289
|
-
}, "de_GetOutpostSupportedInstanceTypesCommand");
|
|
1290
|
-
var de_GetSiteCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1291
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1292
|
-
return de_CommandError(output, context);
|
|
1293
|
-
}
|
|
1294
|
-
const contents = (0, import_smithy_client.map)({
|
|
1295
|
-
$metadata: deserializeMetadata(output)
|
|
1296
|
-
});
|
|
1297
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1298
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1299
|
-
Site: import_smithy_client._json
|
|
1300
|
-
});
|
|
1301
|
-
Object.assign(contents, doc);
|
|
1302
|
-
return contents;
|
|
1303
|
-
}, "de_GetSiteCommand");
|
|
1304
|
-
var de_GetSiteAddressCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1305
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1306
|
-
return de_CommandError(output, context);
|
|
1307
|
-
}
|
|
1308
|
-
const contents = (0, import_smithy_client.map)({
|
|
1309
|
-
$metadata: deserializeMetadata(output)
|
|
1310
|
-
});
|
|
1311
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1312
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1313
|
-
Address: import_smithy_client._json,
|
|
1314
|
-
AddressType: import_smithy_client.expectString,
|
|
1315
|
-
SiteId: import_smithy_client.expectString
|
|
1316
|
-
});
|
|
1317
|
-
Object.assign(contents, doc);
|
|
1318
|
-
return contents;
|
|
1319
|
-
}, "de_GetSiteAddressCommand");
|
|
1320
|
-
var de_ListAssetInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1321
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1322
|
-
return de_CommandError(output, context);
|
|
1323
|
-
}
|
|
1324
|
-
const contents = (0, import_smithy_client.map)({
|
|
1325
|
-
$metadata: deserializeMetadata(output)
|
|
1326
|
-
});
|
|
1327
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1328
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1329
|
-
AssetInstances: import_smithy_client._json,
|
|
1330
|
-
NextToken: import_smithy_client.expectString
|
|
1331
|
-
});
|
|
1332
|
-
Object.assign(contents, doc);
|
|
1333
|
-
return contents;
|
|
1334
|
-
}, "de_ListAssetInstancesCommand");
|
|
1335
|
-
var de_ListAssetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1336
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1337
|
-
return de_CommandError(output, context);
|
|
1338
|
-
}
|
|
1339
|
-
const contents = (0, import_smithy_client.map)({
|
|
1340
|
-
$metadata: deserializeMetadata(output)
|
|
1341
|
-
});
|
|
1342
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1343
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1344
|
-
Assets: /* @__PURE__ */ __name((_) => de_AssetListDefinition(_, context), "Assets"),
|
|
1345
|
-
NextToken: import_smithy_client.expectString
|
|
1346
|
-
});
|
|
1347
|
-
Object.assign(contents, doc);
|
|
1348
|
-
return contents;
|
|
1349
|
-
}, "de_ListAssetsCommand");
|
|
1350
|
-
var de_ListBlockingInstancesForCapacityTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1351
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1352
|
-
return de_CommandError(output, context);
|
|
1353
|
-
}
|
|
1354
|
-
const contents = (0, import_smithy_client.map)({
|
|
1355
|
-
$metadata: deserializeMetadata(output)
|
|
1356
|
-
});
|
|
1357
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1358
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1359
|
-
BlockingInstances: import_smithy_client._json,
|
|
1360
|
-
NextToken: import_smithy_client.expectString
|
|
1361
|
-
});
|
|
1362
|
-
Object.assign(contents, doc);
|
|
1363
|
-
return contents;
|
|
1364
|
-
}, "de_ListBlockingInstancesForCapacityTaskCommand");
|
|
1365
|
-
var de_ListCapacityTasksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1366
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1367
|
-
return de_CommandError(output, context);
|
|
1368
|
-
}
|
|
1369
|
-
const contents = (0, import_smithy_client.map)({
|
|
1370
|
-
$metadata: deserializeMetadata(output)
|
|
1371
|
-
});
|
|
1372
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1373
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1374
|
-
CapacityTasks: /* @__PURE__ */ __name((_) => de_CapacityTaskList(_, context), "CapacityTasks"),
|
|
1375
|
-
NextToken: import_smithy_client.expectString
|
|
1376
|
-
});
|
|
1377
|
-
Object.assign(contents, doc);
|
|
1378
|
-
return contents;
|
|
1379
|
-
}, "de_ListCapacityTasksCommand");
|
|
1380
|
-
var de_ListCatalogItemsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1381
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1382
|
-
return de_CommandError(output, context);
|
|
1383
|
-
}
|
|
1384
|
-
const contents = (0, import_smithy_client.map)({
|
|
1385
|
-
$metadata: deserializeMetadata(output)
|
|
1386
|
-
});
|
|
1387
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1388
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1389
|
-
CatalogItems: /* @__PURE__ */ __name((_) => de_CatalogItemListDefinition(_, context), "CatalogItems"),
|
|
1390
|
-
NextToken: import_smithy_client.expectString
|
|
1391
|
-
});
|
|
1392
|
-
Object.assign(contents, doc);
|
|
1393
|
-
return contents;
|
|
1394
|
-
}, "de_ListCatalogItemsCommand");
|
|
1395
|
-
var de_ListOrdersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1396
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1397
|
-
return de_CommandError(output, context);
|
|
1398
|
-
}
|
|
1399
|
-
const contents = (0, import_smithy_client.map)({
|
|
1400
|
-
$metadata: deserializeMetadata(output)
|
|
1401
|
-
});
|
|
1402
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1403
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1404
|
-
NextToken: import_smithy_client.expectString,
|
|
1405
|
-
Orders: /* @__PURE__ */ __name((_) => de_OrderSummaryListDefinition(_, context), "Orders")
|
|
1406
|
-
});
|
|
1407
|
-
Object.assign(contents, doc);
|
|
1408
|
-
return contents;
|
|
1409
|
-
}, "de_ListOrdersCommand");
|
|
1410
|
-
var de_ListOutpostsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1411
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1412
|
-
return de_CommandError(output, context);
|
|
1413
|
-
}
|
|
1414
|
-
const contents = (0, import_smithy_client.map)({
|
|
1415
|
-
$metadata: deserializeMetadata(output)
|
|
1416
|
-
});
|
|
1417
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1418
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1419
|
-
NextToken: import_smithy_client.expectString,
|
|
1420
|
-
Outposts: import_smithy_client._json
|
|
1421
|
-
});
|
|
1422
|
-
Object.assign(contents, doc);
|
|
1423
|
-
return contents;
|
|
1424
|
-
}, "de_ListOutpostsCommand");
|
|
1425
|
-
var de_ListSitesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1426
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1427
|
-
return de_CommandError(output, context);
|
|
1428
|
-
}
|
|
1429
|
-
const contents = (0, import_smithy_client.map)({
|
|
1430
|
-
$metadata: deserializeMetadata(output)
|
|
1431
|
-
});
|
|
1432
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1433
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1434
|
-
NextToken: import_smithy_client.expectString,
|
|
1435
|
-
Sites: import_smithy_client._json
|
|
1436
|
-
});
|
|
1437
|
-
Object.assign(contents, doc);
|
|
1438
|
-
return contents;
|
|
1439
|
-
}, "de_ListSitesCommand");
|
|
1440
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1441
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1442
|
-
return de_CommandError(output, context);
|
|
1443
|
-
}
|
|
1444
|
-
const contents = (0, import_smithy_client.map)({
|
|
1445
|
-
$metadata: deserializeMetadata(output)
|
|
1446
|
-
});
|
|
1447
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1448
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1449
|
-
Tags: import_smithy_client._json
|
|
1450
|
-
});
|
|
1451
|
-
Object.assign(contents, doc);
|
|
1452
|
-
return contents;
|
|
1453
|
-
}, "de_ListTagsForResourceCommand");
|
|
1454
|
-
var de_StartCapacityTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1455
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1456
|
-
return de_CommandError(output, context);
|
|
1457
|
-
}
|
|
1458
|
-
const contents = (0, import_smithy_client.map)({
|
|
1459
|
-
$metadata: deserializeMetadata(output)
|
|
1460
|
-
});
|
|
1461
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1462
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1463
|
-
AssetId: import_smithy_client.expectString,
|
|
1464
|
-
CapacityTaskId: import_smithy_client.expectString,
|
|
1465
|
-
CapacityTaskStatus: import_smithy_client.expectString,
|
|
1466
|
-
CompletionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletionDate"),
|
|
1467
|
-
CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
|
|
1468
|
-
DryRun: import_smithy_client.expectBoolean,
|
|
1469
|
-
Failed: import_smithy_client._json,
|
|
1470
|
-
InstancesToExclude: import_smithy_client._json,
|
|
1471
|
-
LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"),
|
|
1472
|
-
OrderId: import_smithy_client.expectString,
|
|
1473
|
-
OutpostId: import_smithy_client.expectString,
|
|
1474
|
-
RequestedInstancePools: import_smithy_client._json,
|
|
1475
|
-
TaskActionOnBlockingInstances: import_smithy_client.expectString
|
|
1476
|
-
});
|
|
1477
|
-
Object.assign(contents, doc);
|
|
1478
|
-
return contents;
|
|
1479
|
-
}, "de_StartCapacityTaskCommand");
|
|
1480
|
-
var de_StartConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1481
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1482
|
-
return de_CommandError(output, context);
|
|
1483
|
-
}
|
|
1484
|
-
const contents = (0, import_smithy_client.map)({
|
|
1485
|
-
$metadata: deserializeMetadata(output)
|
|
1486
|
-
});
|
|
1487
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1488
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1489
|
-
ConnectionId: import_smithy_client.expectString,
|
|
1490
|
-
UnderlayIpAddress: import_smithy_client.expectString
|
|
1491
|
-
});
|
|
1492
|
-
Object.assign(contents, doc);
|
|
1493
|
-
return contents;
|
|
1494
|
-
}, "de_StartConnectionCommand");
|
|
1495
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1496
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1497
|
-
return de_CommandError(output, context);
|
|
1498
|
-
}
|
|
1499
|
-
const contents = (0, import_smithy_client.map)({
|
|
1500
|
-
$metadata: deserializeMetadata(output)
|
|
1501
|
-
});
|
|
1502
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1503
|
-
return contents;
|
|
1504
|
-
}, "de_TagResourceCommand");
|
|
1505
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1506
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1507
|
-
return de_CommandError(output, context);
|
|
1508
|
-
}
|
|
1509
|
-
const contents = (0, import_smithy_client.map)({
|
|
1510
|
-
$metadata: deserializeMetadata(output)
|
|
1511
|
-
});
|
|
1512
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1513
|
-
return contents;
|
|
1514
|
-
}, "de_UntagResourceCommand");
|
|
1515
|
-
var de_UpdateOutpostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1516
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1517
|
-
return de_CommandError(output, context);
|
|
1518
|
-
}
|
|
1519
|
-
const contents = (0, import_smithy_client.map)({
|
|
1520
|
-
$metadata: deserializeMetadata(output)
|
|
1521
|
-
});
|
|
1522
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1523
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1524
|
-
Outpost: import_smithy_client._json
|
|
1525
|
-
});
|
|
1526
|
-
Object.assign(contents, doc);
|
|
1527
|
-
return contents;
|
|
1528
|
-
}, "de_UpdateOutpostCommand");
|
|
1529
|
-
var de_UpdateSiteCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1530
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1531
|
-
return de_CommandError(output, context);
|
|
1532
|
-
}
|
|
1533
|
-
const contents = (0, import_smithy_client.map)({
|
|
1534
|
-
$metadata: deserializeMetadata(output)
|
|
1535
|
-
});
|
|
1536
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1537
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1538
|
-
Site: import_smithy_client._json
|
|
1539
|
-
});
|
|
1540
|
-
Object.assign(contents, doc);
|
|
1541
|
-
return contents;
|
|
1542
|
-
}, "de_UpdateSiteCommand");
|
|
1543
|
-
var de_UpdateSiteAddressCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1544
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1545
|
-
return de_CommandError(output, context);
|
|
1546
|
-
}
|
|
1547
|
-
const contents = (0, import_smithy_client.map)({
|
|
1548
|
-
$metadata: deserializeMetadata(output)
|
|
1549
|
-
});
|
|
1550
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1551
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1552
|
-
Address: import_smithy_client._json,
|
|
1553
|
-
AddressType: import_smithy_client.expectString
|
|
1554
|
-
});
|
|
1555
|
-
Object.assign(contents, doc);
|
|
1556
|
-
return contents;
|
|
1557
|
-
}, "de_UpdateSiteAddressCommand");
|
|
1558
|
-
var de_UpdateSiteRackPhysicalPropertiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1559
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1560
|
-
return de_CommandError(output, context);
|
|
1561
|
-
}
|
|
1562
|
-
const contents = (0, import_smithy_client.map)({
|
|
1563
|
-
$metadata: deserializeMetadata(output)
|
|
1564
|
-
});
|
|
1565
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1566
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1567
|
-
Site: import_smithy_client._json
|
|
1568
|
-
});
|
|
1569
|
-
Object.assign(contents, doc);
|
|
1570
|
-
return contents;
|
|
1571
|
-
}, "de_UpdateSiteRackPhysicalPropertiesCommand");
|
|
1572
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1573
|
-
const parsedOutput = {
|
|
1574
|
-
...output,
|
|
1575
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1576
|
-
};
|
|
1577
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1578
|
-
switch (errorCode) {
|
|
1579
|
-
case "AccessDeniedException":
|
|
1580
|
-
case "com.amazonaws.outposts#AccessDeniedException":
|
|
1581
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1582
|
-
case "ConflictException":
|
|
1583
|
-
case "com.amazonaws.outposts#ConflictException":
|
|
1584
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1585
|
-
case "InternalServerException":
|
|
1586
|
-
case "com.amazonaws.outposts#InternalServerException":
|
|
1587
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1588
|
-
case "NotFoundException":
|
|
1589
|
-
case "com.amazonaws.outposts#NotFoundException":
|
|
1590
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1591
|
-
case "ValidationException":
|
|
1592
|
-
case "com.amazonaws.outposts#ValidationException":
|
|
1593
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1594
|
-
case "ServiceQuotaExceededException":
|
|
1595
|
-
case "com.amazonaws.outposts#ServiceQuotaExceededException":
|
|
1596
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1597
|
-
default:
|
|
1598
|
-
const parsedBody = parsedOutput.body;
|
|
1599
|
-
return throwDefaultError({
|
|
1600
|
-
output,
|
|
1601
|
-
parsedBody,
|
|
1602
|
-
errorCode
|
|
1603
|
-
});
|
|
1604
|
-
}
|
|
1605
|
-
}, "de_CommandError");
|
|
1606
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(OutpostsServiceException);
|
|
1607
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1608
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1609
|
-
const data = parsedOutput.body;
|
|
1610
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1611
|
-
Message: import_smithy_client.expectString
|
|
1612
|
-
});
|
|
1613
|
-
Object.assign(contents, doc);
|
|
1614
|
-
const exception = new AccessDeniedException({
|
|
1615
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1616
|
-
...contents
|
|
1617
|
-
});
|
|
1618
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1619
|
-
}, "de_AccessDeniedExceptionRes");
|
|
1620
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1621
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1622
|
-
const data = parsedOutput.body;
|
|
1623
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1624
|
-
Message: import_smithy_client.expectString,
|
|
1625
|
-
ResourceId: import_smithy_client.expectString,
|
|
1626
|
-
ResourceType: import_smithy_client.expectString
|
|
1627
|
-
});
|
|
1628
|
-
Object.assign(contents, doc);
|
|
1629
|
-
const exception = new ConflictException({
|
|
1630
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1631
|
-
...contents
|
|
1632
|
-
});
|
|
1633
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1634
|
-
}, "de_ConflictExceptionRes");
|
|
1635
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1636
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1637
|
-
const data = parsedOutput.body;
|
|
1638
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1639
|
-
Message: import_smithy_client.expectString
|
|
1640
|
-
});
|
|
1641
|
-
Object.assign(contents, doc);
|
|
1642
|
-
const exception = new InternalServerException({
|
|
1643
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1644
|
-
...contents
|
|
1645
|
-
});
|
|
1646
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1647
|
-
}, "de_InternalServerExceptionRes");
|
|
1648
|
-
var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1649
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1650
|
-
const data = parsedOutput.body;
|
|
1651
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1652
|
-
Message: import_smithy_client.expectString
|
|
1653
|
-
});
|
|
1654
|
-
Object.assign(contents, doc);
|
|
1655
|
-
const exception = new NotFoundException({
|
|
1656
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1657
|
-
...contents
|
|
1658
|
-
});
|
|
1659
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1660
|
-
}, "de_NotFoundExceptionRes");
|
|
1661
|
-
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1662
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1663
|
-
const data = parsedOutput.body;
|
|
1664
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1665
|
-
Message: import_smithy_client.expectString
|
|
1666
|
-
});
|
|
1667
|
-
Object.assign(contents, doc);
|
|
1668
|
-
const exception = new ServiceQuotaExceededException({
|
|
1669
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1670
|
-
...contents
|
|
1671
|
-
});
|
|
1672
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1673
|
-
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1674
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1675
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1676
|
-
const data = parsedOutput.body;
|
|
1677
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1678
|
-
Message: import_smithy_client.expectString
|
|
1679
|
-
});
|
|
1680
|
-
Object.assign(contents, doc);
|
|
1681
|
-
const exception = new ValidationException({
|
|
1682
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1683
|
-
...contents
|
|
1684
|
-
});
|
|
1685
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1686
|
-
}, "de_ValidationExceptionRes");
|
|
1687
|
-
var de_AssetInfo = /* @__PURE__ */ __name((output, context) => {
|
|
1688
|
-
return (0, import_smithy_client.take)(output, {
|
|
1689
|
-
AssetId: import_smithy_client.expectString,
|
|
1690
|
-
AssetLocation: /* @__PURE__ */ __name((_) => de_AssetLocation(_, context), "AssetLocation"),
|
|
1691
|
-
AssetType: import_smithy_client.expectString,
|
|
1692
|
-
ComputeAttributes: import_smithy_client._json,
|
|
1693
|
-
RackId: import_smithy_client.expectString
|
|
1694
|
-
});
|
|
1695
|
-
}, "de_AssetInfo");
|
|
1696
|
-
var de_AssetListDefinition = /* @__PURE__ */ __name((output, context) => {
|
|
1697
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1698
|
-
return de_AssetInfo(entry, context);
|
|
1699
|
-
});
|
|
1700
|
-
return retVal;
|
|
1701
|
-
}, "de_AssetListDefinition");
|
|
1702
|
-
var de_AssetLocation = /* @__PURE__ */ __name((output, context) => {
|
|
1703
|
-
return (0, import_smithy_client.take)(output, {
|
|
1704
|
-
RackElevation: import_smithy_client.limitedParseFloat32
|
|
1705
|
-
});
|
|
1706
|
-
}, "de_AssetLocation");
|
|
1707
|
-
var de_CapacityTaskList = /* @__PURE__ */ __name((output, context) => {
|
|
1708
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1709
|
-
return de_CapacityTaskSummary(entry, context);
|
|
1710
|
-
});
|
|
1711
|
-
return retVal;
|
|
1712
|
-
}, "de_CapacityTaskList");
|
|
1713
|
-
var de_CapacityTaskSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1714
|
-
return (0, import_smithy_client.take)(output, {
|
|
1715
|
-
AssetId: import_smithy_client.expectString,
|
|
1716
|
-
CapacityTaskId: import_smithy_client.expectString,
|
|
1717
|
-
CapacityTaskStatus: import_smithy_client.expectString,
|
|
1718
|
-
CompletionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletionDate"),
|
|
1719
|
-
CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
|
|
1720
|
-
LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"),
|
|
1721
|
-
OrderId: import_smithy_client.expectString,
|
|
1722
|
-
OutpostId: import_smithy_client.expectString
|
|
1723
|
-
});
|
|
1724
|
-
}, "de_CapacityTaskSummary");
|
|
1725
|
-
var de_CatalogItem = /* @__PURE__ */ __name((output, context) => {
|
|
1726
|
-
return (0, import_smithy_client.take)(output, {
|
|
1727
|
-
CatalogItemId: import_smithy_client.expectString,
|
|
1728
|
-
EC2Capacities: import_smithy_client._json,
|
|
1729
|
-
ItemStatus: import_smithy_client.expectString,
|
|
1730
|
-
PowerKva: import_smithy_client.limitedParseFloat32,
|
|
1731
|
-
SupportedStorage: import_smithy_client._json,
|
|
1732
|
-
SupportedUplinkGbps: import_smithy_client._json,
|
|
1733
|
-
WeightLbs: import_smithy_client.expectInt32
|
|
1734
|
-
});
|
|
1735
|
-
}, "de_CatalogItem");
|
|
1736
|
-
var de_CatalogItemListDefinition = /* @__PURE__ */ __name((output, context) => {
|
|
1737
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1738
|
-
return de_CatalogItem(entry, context);
|
|
1739
|
-
});
|
|
1740
|
-
return retVal;
|
|
1741
|
-
}, "de_CatalogItemListDefinition");
|
|
1742
|
-
var de_Order = /* @__PURE__ */ __name((output, context) => {
|
|
1743
|
-
return (0, import_smithy_client.take)(output, {
|
|
1744
|
-
LineItems: import_smithy_client._json,
|
|
1745
|
-
OrderFulfilledDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "OrderFulfilledDate"),
|
|
1746
|
-
OrderId: import_smithy_client.expectString,
|
|
1747
|
-
OrderSubmissionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "OrderSubmissionDate"),
|
|
1748
|
-
OrderType: import_smithy_client.expectString,
|
|
1749
|
-
OutpostId: import_smithy_client.expectString,
|
|
1750
|
-
PaymentOption: import_smithy_client.expectString,
|
|
1751
|
-
PaymentTerm: import_smithy_client.expectString,
|
|
1752
|
-
Status: import_smithy_client.expectString
|
|
1753
|
-
});
|
|
1754
|
-
}, "de_Order");
|
|
1755
|
-
var de_OrderSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1756
|
-
return (0, import_smithy_client.take)(output, {
|
|
1757
|
-
LineItemCountsByStatus: import_smithy_client._json,
|
|
1758
|
-
OrderFulfilledDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "OrderFulfilledDate"),
|
|
1759
|
-
OrderId: import_smithy_client.expectString,
|
|
1760
|
-
OrderSubmissionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "OrderSubmissionDate"),
|
|
1761
|
-
OrderType: import_smithy_client.expectString,
|
|
1762
|
-
OutpostId: import_smithy_client.expectString,
|
|
1763
|
-
Status: import_smithy_client.expectString
|
|
1764
|
-
});
|
|
1765
|
-
}, "de_OrderSummary");
|
|
1766
|
-
var de_OrderSummaryListDefinition = /* @__PURE__ */ __name((output, context) => {
|
|
1767
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1768
|
-
return de_OrderSummary(entry, context);
|
|
1769
|
-
});
|
|
1770
|
-
return retVal;
|
|
1771
|
-
}, "de_OrderSummaryListDefinition");
|
|
1772
|
-
var de_Subscription = /* @__PURE__ */ __name((output, context) => {
|
|
1773
|
-
return (0, import_smithy_client.take)(output, {
|
|
1774
|
-
BeginDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "BeginDate"),
|
|
1775
|
-
EndDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndDate"),
|
|
1776
|
-
MonthlyRecurringPrice: import_smithy_client.limitedParseDouble,
|
|
1777
|
-
OrderIds: import_smithy_client._json,
|
|
1778
|
-
SubscriptionId: import_smithy_client.expectString,
|
|
1779
|
-
SubscriptionStatus: import_smithy_client.expectString,
|
|
1780
|
-
SubscriptionType: import_smithy_client.expectString,
|
|
1781
|
-
UpfrontPrice: import_smithy_client.limitedParseDouble
|
|
1782
|
-
});
|
|
1783
|
-
}, "de_Subscription");
|
|
1784
|
-
var de_SubscriptionList = /* @__PURE__ */ __name((output, context) => {
|
|
1785
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1786
|
-
return de_Subscription(entry, context);
|
|
1787
|
-
});
|
|
1788
|
-
return retVal;
|
|
1789
|
-
}, "de_SubscriptionList");
|
|
1790
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1791
|
-
httpStatusCode: output.statusCode,
|
|
1792
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1793
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1794
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1795
|
-
}), "deserializeMetadata");
|
|
1796
|
-
var _AI = "AssetId";
|
|
1797
|
-
var _AIF = "AssetIdFilter";
|
|
1798
|
-
var _AIFc = "AccountIdFilter";
|
|
1799
|
-
var _ASF = "AwsServiceFilter";
|
|
1800
|
-
var _AT = "AddressType";
|
|
1801
|
-
var _AZF = "AvailabilityZoneFilter";
|
|
1802
|
-
var _AZIF = "AvailabilityZoneIdFilter";
|
|
1803
|
-
var _CTSF = "CapacityTaskStatusFilter";
|
|
1804
|
-
var _ECFF = "EC2FamilyFilter";
|
|
1805
|
-
var _HIF = "HostIdFilter";
|
|
1806
|
-
var _ICF = "ItemClassFilter";
|
|
1807
|
-
var _ITF = "InstanceTypeFilter";
|
|
1808
|
-
var _LCSF = "LifeCycleStatusFilter";
|
|
1809
|
-
var _MR = "MaxResults";
|
|
1810
|
-
var _NT = "NextToken";
|
|
1811
|
-
var _OACCF = "OperatingAddressCountryCodeFilter";
|
|
1812
|
-
var _OACF = "OperatingAddressCityFilter";
|
|
1813
|
-
var _OASORF = "OperatingAddressStateOrRegionFilter";
|
|
1814
|
-
var _OI = "OrderId";
|
|
1815
|
-
var _OIF = "OutpostIdentifierFilter";
|
|
1816
|
-
var _SF = "StatusFilter";
|
|
1817
|
-
var _SSF = "SupportedStorageFilter";
|
|
1818
|
-
var _TK = "TagKeys";
|
|
1819
|
-
var _tK = "tagKeys";
|
|
1820
|
-
|
|
1821
|
-
// src/commands/CancelCapacityTaskCommand.ts
|
|
1822
|
-
var CancelCapacityTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1823
|
-
return [
|
|
1824
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1825
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1826
|
-
];
|
|
1827
|
-
}).s("OutpostsOlafService", "CancelCapacityTask", {}).n("OutpostsClient", "CancelCapacityTaskCommand").f(void 0, void 0).ser(se_CancelCapacityTaskCommand).de(de_CancelCapacityTaskCommand).build() {
|
|
1828
|
-
static {
|
|
1829
|
-
__name(this, "CancelCapacityTaskCommand");
|
|
1830
|
-
}
|
|
912
|
+
const de_CreateOutpostCommand = async (output, context) => {
|
|
913
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
914
|
+
return de_CommandError(output, context);
|
|
915
|
+
}
|
|
916
|
+
const contents = smithyClient.map({
|
|
917
|
+
$metadata: deserializeMetadata(output),
|
|
918
|
+
});
|
|
919
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
920
|
+
const doc = smithyClient.take(data, {
|
|
921
|
+
Outpost: smithyClient._json,
|
|
922
|
+
});
|
|
923
|
+
Object.assign(contents, doc);
|
|
924
|
+
return contents;
|
|
1831
925
|
};
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
(
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
})
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
}
|
|
926
|
+
const de_CreateSiteCommand = async (output, context) => {
|
|
927
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
928
|
+
return de_CommandError(output, context);
|
|
929
|
+
}
|
|
930
|
+
const contents = smithyClient.map({
|
|
931
|
+
$metadata: deserializeMetadata(output),
|
|
932
|
+
});
|
|
933
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
934
|
+
const doc = smithyClient.take(data, {
|
|
935
|
+
Site: smithyClient._json,
|
|
936
|
+
});
|
|
937
|
+
Object.assign(contents, doc);
|
|
938
|
+
return contents;
|
|
1846
939
|
};
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
];
|
|
1857
|
-
}).s("OutpostsOlafService", "CreateOrder", {}).n("OutpostsClient", "CreateOrderCommand").f(void 0, void 0).ser(se_CreateOrderCommand).de(de_CreateOrderCommand).build() {
|
|
1858
|
-
static {
|
|
1859
|
-
__name(this, "CreateOrderCommand");
|
|
1860
|
-
}
|
|
940
|
+
const de_DeleteOutpostCommand = async (output, context) => {
|
|
941
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
942
|
+
return de_CommandError(output, context);
|
|
943
|
+
}
|
|
944
|
+
const contents = smithyClient.map({
|
|
945
|
+
$metadata: deserializeMetadata(output),
|
|
946
|
+
});
|
|
947
|
+
await smithyClient.collectBody(output.body, context);
|
|
948
|
+
return contents;
|
|
1861
949
|
};
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
];
|
|
1872
|
-
}).s("OutpostsOlafService", "CreateOutpost", {}).n("OutpostsClient", "CreateOutpostCommand").f(void 0, void 0).ser(se_CreateOutpostCommand).de(de_CreateOutpostCommand).build() {
|
|
1873
|
-
static {
|
|
1874
|
-
__name(this, "CreateOutpostCommand");
|
|
1875
|
-
}
|
|
950
|
+
const de_DeleteSiteCommand = async (output, context) => {
|
|
951
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
952
|
+
return de_CommandError(output, context);
|
|
953
|
+
}
|
|
954
|
+
const contents = smithyClient.map({
|
|
955
|
+
$metadata: deserializeMetadata(output),
|
|
956
|
+
});
|
|
957
|
+
await smithyClient.collectBody(output.body, context);
|
|
958
|
+
return contents;
|
|
1876
959
|
};
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
(
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
960
|
+
const de_GetCapacityTaskCommand = async (output, context) => {
|
|
961
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
962
|
+
return de_CommandError(output, context);
|
|
963
|
+
}
|
|
964
|
+
const contents = smithyClient.map({
|
|
965
|
+
$metadata: deserializeMetadata(output),
|
|
966
|
+
});
|
|
967
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
968
|
+
const doc = smithyClient.take(data, {
|
|
969
|
+
AssetId: smithyClient.expectString,
|
|
970
|
+
CapacityTaskId: smithyClient.expectString,
|
|
971
|
+
CapacityTaskStatus: smithyClient.expectString,
|
|
972
|
+
CompletionDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
973
|
+
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
974
|
+
DryRun: smithyClient.expectBoolean,
|
|
975
|
+
Failed: smithyClient._json,
|
|
976
|
+
InstancesToExclude: smithyClient._json,
|
|
977
|
+
LastModifiedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
978
|
+
OrderId: smithyClient.expectString,
|
|
979
|
+
OutpostId: smithyClient.expectString,
|
|
980
|
+
RequestedInstancePools: smithyClient._json,
|
|
981
|
+
TaskActionOnBlockingInstances: smithyClient.expectString,
|
|
982
|
+
});
|
|
983
|
+
Object.assign(contents, doc);
|
|
984
|
+
return contents;
|
|
1891
985
|
};
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
(
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
})
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
}
|
|
986
|
+
const de_GetCatalogItemCommand = async (output, context) => {
|
|
987
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
988
|
+
return de_CommandError(output, context);
|
|
989
|
+
}
|
|
990
|
+
const contents = smithyClient.map({
|
|
991
|
+
$metadata: deserializeMetadata(output),
|
|
992
|
+
});
|
|
993
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
994
|
+
const doc = smithyClient.take(data, {
|
|
995
|
+
CatalogItem: (_) => de_CatalogItem(_),
|
|
996
|
+
});
|
|
997
|
+
Object.assign(contents, doc);
|
|
998
|
+
return contents;
|
|
1906
999
|
};
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
(
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1000
|
+
const de_GetConnectionCommand = async (output, context) => {
|
|
1001
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1002
|
+
return de_CommandError(output, context);
|
|
1003
|
+
}
|
|
1004
|
+
const contents = smithyClient.map({
|
|
1005
|
+
$metadata: deserializeMetadata(output),
|
|
1006
|
+
});
|
|
1007
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1008
|
+
const doc = smithyClient.take(data, {
|
|
1009
|
+
ConnectionDetails: smithyClient._json,
|
|
1010
|
+
ConnectionId: smithyClient.expectString,
|
|
1011
|
+
});
|
|
1012
|
+
Object.assign(contents, doc);
|
|
1013
|
+
return contents;
|
|
1921
1014
|
};
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
(
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
})
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
}
|
|
1015
|
+
const de_GetOrderCommand = async (output, context) => {
|
|
1016
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1017
|
+
return de_CommandError(output, context);
|
|
1018
|
+
}
|
|
1019
|
+
const contents = smithyClient.map({
|
|
1020
|
+
$metadata: deserializeMetadata(output),
|
|
1021
|
+
});
|
|
1022
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1023
|
+
const doc = smithyClient.take(data, {
|
|
1024
|
+
Order: (_) => de_Order(_),
|
|
1025
|
+
});
|
|
1026
|
+
Object.assign(contents, doc);
|
|
1027
|
+
return contents;
|
|
1936
1028
|
};
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
(
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
})
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
}
|
|
1029
|
+
const de_GetOutpostCommand = async (output, context) => {
|
|
1030
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1031
|
+
return de_CommandError(output, context);
|
|
1032
|
+
}
|
|
1033
|
+
const contents = smithyClient.map({
|
|
1034
|
+
$metadata: deserializeMetadata(output),
|
|
1035
|
+
});
|
|
1036
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1037
|
+
const doc = smithyClient.take(data, {
|
|
1038
|
+
Outpost: smithyClient._json,
|
|
1039
|
+
});
|
|
1040
|
+
Object.assign(contents, doc);
|
|
1041
|
+
return contents;
|
|
1951
1042
|
};
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
(
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1043
|
+
const de_GetOutpostBillingInformationCommand = async (output, context) => {
|
|
1044
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1045
|
+
return de_CommandError(output, context);
|
|
1046
|
+
}
|
|
1047
|
+
const contents = smithyClient.map({
|
|
1048
|
+
$metadata: deserializeMetadata(output),
|
|
1049
|
+
});
|
|
1050
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1051
|
+
const doc = smithyClient.take(data, {
|
|
1052
|
+
ContractEndDate: smithyClient.expectString,
|
|
1053
|
+
NextToken: smithyClient.expectString,
|
|
1054
|
+
Subscriptions: (_) => de_SubscriptionList(_),
|
|
1055
|
+
});
|
|
1056
|
+
Object.assign(contents, doc);
|
|
1057
|
+
return contents;
|
|
1966
1058
|
};
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
(
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1059
|
+
const de_GetOutpostInstanceTypesCommand = async (output, context) => {
|
|
1060
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1061
|
+
return de_CommandError(output, context);
|
|
1062
|
+
}
|
|
1063
|
+
const contents = smithyClient.map({
|
|
1064
|
+
$metadata: deserializeMetadata(output),
|
|
1065
|
+
});
|
|
1066
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1067
|
+
const doc = smithyClient.take(data, {
|
|
1068
|
+
InstanceTypes: smithyClient._json,
|
|
1069
|
+
NextToken: smithyClient.expectString,
|
|
1070
|
+
OutpostArn: smithyClient.expectString,
|
|
1071
|
+
OutpostId: smithyClient.expectString,
|
|
1072
|
+
});
|
|
1073
|
+
Object.assign(contents, doc);
|
|
1074
|
+
return contents;
|
|
1981
1075
|
};
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
(
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1076
|
+
const de_GetOutpostSupportedInstanceTypesCommand = async (output, context) => {
|
|
1077
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1078
|
+
return de_CommandError(output, context);
|
|
1079
|
+
}
|
|
1080
|
+
const contents = smithyClient.map({
|
|
1081
|
+
$metadata: deserializeMetadata(output),
|
|
1082
|
+
});
|
|
1083
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1084
|
+
const doc = smithyClient.take(data, {
|
|
1085
|
+
InstanceTypes: smithyClient._json,
|
|
1086
|
+
NextToken: smithyClient.expectString,
|
|
1087
|
+
});
|
|
1088
|
+
Object.assign(contents, doc);
|
|
1089
|
+
return contents;
|
|
1996
1090
|
};
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
(
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
})
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
}
|
|
1091
|
+
const de_GetSiteCommand = async (output, context) => {
|
|
1092
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1093
|
+
return de_CommandError(output, context);
|
|
1094
|
+
}
|
|
1095
|
+
const contents = smithyClient.map({
|
|
1096
|
+
$metadata: deserializeMetadata(output),
|
|
1097
|
+
});
|
|
1098
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1099
|
+
const doc = smithyClient.take(data, {
|
|
1100
|
+
Site: smithyClient._json,
|
|
1101
|
+
});
|
|
1102
|
+
Object.assign(contents, doc);
|
|
1103
|
+
return contents;
|
|
2011
1104
|
};
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
(
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
1105
|
+
const de_GetSiteAddressCommand = async (output, context) => {
|
|
1106
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1107
|
+
return de_CommandError(output, context);
|
|
1108
|
+
}
|
|
1109
|
+
const contents = smithyClient.map({
|
|
1110
|
+
$metadata: deserializeMetadata(output),
|
|
1111
|
+
});
|
|
1112
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1113
|
+
const doc = smithyClient.take(data, {
|
|
1114
|
+
Address: smithyClient._json,
|
|
1115
|
+
AddressType: smithyClient.expectString,
|
|
1116
|
+
SiteId: smithyClient.expectString,
|
|
1117
|
+
});
|
|
1118
|
+
Object.assign(contents, doc);
|
|
1119
|
+
return contents;
|
|
2026
1120
|
};
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
(
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
1121
|
+
const de_ListAssetInstancesCommand = async (output, context) => {
|
|
1122
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1123
|
+
return de_CommandError(output, context);
|
|
1124
|
+
}
|
|
1125
|
+
const contents = smithyClient.map({
|
|
1126
|
+
$metadata: deserializeMetadata(output),
|
|
1127
|
+
});
|
|
1128
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1129
|
+
const doc = smithyClient.take(data, {
|
|
1130
|
+
AssetInstances: smithyClient._json,
|
|
1131
|
+
NextToken: smithyClient.expectString,
|
|
1132
|
+
});
|
|
1133
|
+
Object.assign(contents, doc);
|
|
1134
|
+
return contents;
|
|
2041
1135
|
};
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
(
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
1136
|
+
const de_ListAssetsCommand = async (output, context) => {
|
|
1137
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1138
|
+
return de_CommandError(output, context);
|
|
1139
|
+
}
|
|
1140
|
+
const contents = smithyClient.map({
|
|
1141
|
+
$metadata: deserializeMetadata(output),
|
|
1142
|
+
});
|
|
1143
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1144
|
+
const doc = smithyClient.take(data, {
|
|
1145
|
+
Assets: (_) => de_AssetListDefinition(_),
|
|
1146
|
+
NextToken: smithyClient.expectString,
|
|
1147
|
+
});
|
|
1148
|
+
Object.assign(contents, doc);
|
|
1149
|
+
return contents;
|
|
2056
1150
|
};
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
(
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
1151
|
+
const de_ListBlockingInstancesForCapacityTaskCommand = async (output, context) => {
|
|
1152
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1153
|
+
return de_CommandError(output, context);
|
|
1154
|
+
}
|
|
1155
|
+
const contents = smithyClient.map({
|
|
1156
|
+
$metadata: deserializeMetadata(output),
|
|
1157
|
+
});
|
|
1158
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1159
|
+
const doc = smithyClient.take(data, {
|
|
1160
|
+
BlockingInstances: smithyClient._json,
|
|
1161
|
+
NextToken: smithyClient.expectString,
|
|
1162
|
+
});
|
|
1163
|
+
Object.assign(contents, doc);
|
|
1164
|
+
return contents;
|
|
2071
1165
|
};
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
(
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
1166
|
+
const de_ListCapacityTasksCommand = async (output, context) => {
|
|
1167
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1168
|
+
return de_CommandError(output, context);
|
|
1169
|
+
}
|
|
1170
|
+
const contents = smithyClient.map({
|
|
1171
|
+
$metadata: deserializeMetadata(output),
|
|
1172
|
+
});
|
|
1173
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1174
|
+
const doc = smithyClient.take(data, {
|
|
1175
|
+
CapacityTasks: (_) => de_CapacityTaskList(_),
|
|
1176
|
+
NextToken: smithyClient.expectString,
|
|
1177
|
+
});
|
|
1178
|
+
Object.assign(contents, doc);
|
|
1179
|
+
return contents;
|
|
2086
1180
|
};
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
(
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
1181
|
+
const de_ListCatalogItemsCommand = async (output, context) => {
|
|
1182
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1183
|
+
return de_CommandError(output, context);
|
|
1184
|
+
}
|
|
1185
|
+
const contents = smithyClient.map({
|
|
1186
|
+
$metadata: deserializeMetadata(output),
|
|
1187
|
+
});
|
|
1188
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1189
|
+
const doc = smithyClient.take(data, {
|
|
1190
|
+
CatalogItems: (_) => de_CatalogItemListDefinition(_),
|
|
1191
|
+
NextToken: smithyClient.expectString,
|
|
1192
|
+
});
|
|
1193
|
+
Object.assign(contents, doc);
|
|
1194
|
+
return contents;
|
|
2101
1195
|
};
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
(
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
1196
|
+
const de_ListOrdersCommand = async (output, context) => {
|
|
1197
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1198
|
+
return de_CommandError(output, context);
|
|
1199
|
+
}
|
|
1200
|
+
const contents = smithyClient.map({
|
|
1201
|
+
$metadata: deserializeMetadata(output),
|
|
1202
|
+
});
|
|
1203
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1204
|
+
const doc = smithyClient.take(data, {
|
|
1205
|
+
NextToken: smithyClient.expectString,
|
|
1206
|
+
Orders: (_) => de_OrderSummaryListDefinition(_),
|
|
1207
|
+
});
|
|
1208
|
+
Object.assign(contents, doc);
|
|
1209
|
+
return contents;
|
|
2116
1210
|
};
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
(
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
1211
|
+
const de_ListOutpostsCommand = async (output, context) => {
|
|
1212
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1213
|
+
return de_CommandError(output, context);
|
|
1214
|
+
}
|
|
1215
|
+
const contents = smithyClient.map({
|
|
1216
|
+
$metadata: deserializeMetadata(output),
|
|
1217
|
+
});
|
|
1218
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1219
|
+
const doc = smithyClient.take(data, {
|
|
1220
|
+
NextToken: smithyClient.expectString,
|
|
1221
|
+
Outposts: smithyClient._json,
|
|
1222
|
+
});
|
|
1223
|
+
Object.assign(contents, doc);
|
|
1224
|
+
return contents;
|
|
2131
1225
|
};
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
(
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
1226
|
+
const de_ListSitesCommand = async (output, context) => {
|
|
1227
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1228
|
+
return de_CommandError(output, context);
|
|
1229
|
+
}
|
|
1230
|
+
const contents = smithyClient.map({
|
|
1231
|
+
$metadata: deserializeMetadata(output),
|
|
1232
|
+
});
|
|
1233
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1234
|
+
const doc = smithyClient.take(data, {
|
|
1235
|
+
NextToken: smithyClient.expectString,
|
|
1236
|
+
Sites: smithyClient._json,
|
|
1237
|
+
});
|
|
1238
|
+
Object.assign(contents, doc);
|
|
1239
|
+
return contents;
|
|
2146
1240
|
};
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
(
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
})
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
}
|
|
1241
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1242
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1243
|
+
return de_CommandError(output, context);
|
|
1244
|
+
}
|
|
1245
|
+
const contents = smithyClient.map({
|
|
1246
|
+
$metadata: deserializeMetadata(output),
|
|
1247
|
+
});
|
|
1248
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1249
|
+
const doc = smithyClient.take(data, {
|
|
1250
|
+
Tags: smithyClient._json,
|
|
1251
|
+
});
|
|
1252
|
+
Object.assign(contents, doc);
|
|
1253
|
+
return contents;
|
|
2161
1254
|
};
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
(
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
1255
|
+
const de_StartCapacityTaskCommand = async (output, context) => {
|
|
1256
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1257
|
+
return de_CommandError(output, context);
|
|
1258
|
+
}
|
|
1259
|
+
const contents = smithyClient.map({
|
|
1260
|
+
$metadata: deserializeMetadata(output),
|
|
1261
|
+
});
|
|
1262
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1263
|
+
const doc = smithyClient.take(data, {
|
|
1264
|
+
AssetId: smithyClient.expectString,
|
|
1265
|
+
CapacityTaskId: smithyClient.expectString,
|
|
1266
|
+
CapacityTaskStatus: smithyClient.expectString,
|
|
1267
|
+
CompletionDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1268
|
+
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1269
|
+
DryRun: smithyClient.expectBoolean,
|
|
1270
|
+
Failed: smithyClient._json,
|
|
1271
|
+
InstancesToExclude: smithyClient._json,
|
|
1272
|
+
LastModifiedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1273
|
+
OrderId: smithyClient.expectString,
|
|
1274
|
+
OutpostId: smithyClient.expectString,
|
|
1275
|
+
RequestedInstancePools: smithyClient._json,
|
|
1276
|
+
TaskActionOnBlockingInstances: smithyClient.expectString,
|
|
1277
|
+
});
|
|
1278
|
+
Object.assign(contents, doc);
|
|
1279
|
+
return contents;
|
|
2176
1280
|
};
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
(
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
1281
|
+
const de_StartConnectionCommand = async (output, context) => {
|
|
1282
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1283
|
+
return de_CommandError(output, context);
|
|
1284
|
+
}
|
|
1285
|
+
const contents = smithyClient.map({
|
|
1286
|
+
$metadata: deserializeMetadata(output),
|
|
1287
|
+
});
|
|
1288
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1289
|
+
const doc = smithyClient.take(data, {
|
|
1290
|
+
ConnectionId: smithyClient.expectString,
|
|
1291
|
+
UnderlayIpAddress: smithyClient.expectString,
|
|
1292
|
+
});
|
|
1293
|
+
Object.assign(contents, doc);
|
|
1294
|
+
return contents;
|
|
2191
1295
|
};
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
(
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
1296
|
+
const de_StartOutpostDecommissionCommand = async (output, context) => {
|
|
1297
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1298
|
+
return de_CommandError(output, context);
|
|
1299
|
+
}
|
|
1300
|
+
const contents = smithyClient.map({
|
|
1301
|
+
$metadata: deserializeMetadata(output),
|
|
1302
|
+
});
|
|
1303
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1304
|
+
const doc = smithyClient.take(data, {
|
|
1305
|
+
BlockingResourceTypes: smithyClient._json,
|
|
1306
|
+
Status: smithyClient.expectString,
|
|
1307
|
+
});
|
|
1308
|
+
Object.assign(contents, doc);
|
|
1309
|
+
return contents;
|
|
2206
1310
|
};
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
];
|
|
2217
|
-
}).s("OutpostsOlafService", "StartCapacityTask", {}).n("OutpostsClient", "StartCapacityTaskCommand").f(void 0, void 0).ser(se_StartCapacityTaskCommand).de(de_StartCapacityTaskCommand).build() {
|
|
2218
|
-
static {
|
|
2219
|
-
__name(this, "StartCapacityTaskCommand");
|
|
2220
|
-
}
|
|
1311
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1312
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1313
|
+
return de_CommandError(output, context);
|
|
1314
|
+
}
|
|
1315
|
+
const contents = smithyClient.map({
|
|
1316
|
+
$metadata: deserializeMetadata(output),
|
|
1317
|
+
});
|
|
1318
|
+
await smithyClient.collectBody(output.body, context);
|
|
1319
|
+
return contents;
|
|
2221
1320
|
};
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
];
|
|
2232
|
-
}).s("OutpostsOlafService", "StartConnection", {}).n("OutpostsClient", "StartConnectionCommand").f(void 0, void 0).ser(se_StartConnectionCommand).de(de_StartConnectionCommand).build() {
|
|
2233
|
-
static {
|
|
2234
|
-
__name(this, "StartConnectionCommand");
|
|
2235
|
-
}
|
|
1321
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1322
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1323
|
+
return de_CommandError(output, context);
|
|
1324
|
+
}
|
|
1325
|
+
const contents = smithyClient.map({
|
|
1326
|
+
$metadata: deserializeMetadata(output),
|
|
1327
|
+
});
|
|
1328
|
+
await smithyClient.collectBody(output.body, context);
|
|
1329
|
+
return contents;
|
|
2236
1330
|
};
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
(
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
})
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
}
|
|
1331
|
+
const de_UpdateOutpostCommand = async (output, context) => {
|
|
1332
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1333
|
+
return de_CommandError(output, context);
|
|
1334
|
+
}
|
|
1335
|
+
const contents = smithyClient.map({
|
|
1336
|
+
$metadata: deserializeMetadata(output),
|
|
1337
|
+
});
|
|
1338
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1339
|
+
const doc = smithyClient.take(data, {
|
|
1340
|
+
Outpost: smithyClient._json,
|
|
1341
|
+
});
|
|
1342
|
+
Object.assign(contents, doc);
|
|
1343
|
+
return contents;
|
|
2251
1344
|
};
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
(
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
})
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
}
|
|
1345
|
+
const de_UpdateSiteCommand = async (output, context) => {
|
|
1346
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1347
|
+
return de_CommandError(output, context);
|
|
1348
|
+
}
|
|
1349
|
+
const contents = smithyClient.map({
|
|
1350
|
+
$metadata: deserializeMetadata(output),
|
|
1351
|
+
});
|
|
1352
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1353
|
+
const doc = smithyClient.take(data, {
|
|
1354
|
+
Site: smithyClient._json,
|
|
1355
|
+
});
|
|
1356
|
+
Object.assign(contents, doc);
|
|
1357
|
+
return contents;
|
|
2266
1358
|
};
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
(
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
1359
|
+
const de_UpdateSiteAddressCommand = async (output, context) => {
|
|
1360
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1361
|
+
return de_CommandError(output, context);
|
|
1362
|
+
}
|
|
1363
|
+
const contents = smithyClient.map({
|
|
1364
|
+
$metadata: deserializeMetadata(output),
|
|
1365
|
+
});
|
|
1366
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1367
|
+
const doc = smithyClient.take(data, {
|
|
1368
|
+
Address: smithyClient._json,
|
|
1369
|
+
AddressType: smithyClient.expectString,
|
|
1370
|
+
});
|
|
1371
|
+
Object.assign(contents, doc);
|
|
1372
|
+
return contents;
|
|
2281
1373
|
};
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
(
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
})
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
1374
|
+
const de_UpdateSiteRackPhysicalPropertiesCommand = async (output, context) => {
|
|
1375
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1376
|
+
return de_CommandError(output, context);
|
|
1377
|
+
}
|
|
1378
|
+
const contents = smithyClient.map({
|
|
1379
|
+
$metadata: deserializeMetadata(output),
|
|
1380
|
+
});
|
|
1381
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1382
|
+
const doc = smithyClient.take(data, {
|
|
1383
|
+
Site: smithyClient._json,
|
|
1384
|
+
});
|
|
1385
|
+
Object.assign(contents, doc);
|
|
1386
|
+
return contents;
|
|
1387
|
+
};
|
|
1388
|
+
const de_CommandError = async (output, context) => {
|
|
1389
|
+
const parsedOutput = {
|
|
1390
|
+
...output,
|
|
1391
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1392
|
+
};
|
|
1393
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1394
|
+
switch (errorCode) {
|
|
1395
|
+
case "AccessDeniedException":
|
|
1396
|
+
case "com.amazonaws.outposts#AccessDeniedException":
|
|
1397
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1398
|
+
case "ConflictException":
|
|
1399
|
+
case "com.amazonaws.outposts#ConflictException":
|
|
1400
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1401
|
+
case "InternalServerException":
|
|
1402
|
+
case "com.amazonaws.outposts#InternalServerException":
|
|
1403
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1404
|
+
case "NotFoundException":
|
|
1405
|
+
case "com.amazonaws.outposts#NotFoundException":
|
|
1406
|
+
throw await de_NotFoundExceptionRes(parsedOutput);
|
|
1407
|
+
case "ValidationException":
|
|
1408
|
+
case "com.amazonaws.outposts#ValidationException":
|
|
1409
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1410
|
+
case "ServiceQuotaExceededException":
|
|
1411
|
+
case "com.amazonaws.outposts#ServiceQuotaExceededException":
|
|
1412
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
1413
|
+
default:
|
|
1414
|
+
const parsedBody = parsedOutput.body;
|
|
1415
|
+
return throwDefaultError({
|
|
1416
|
+
output,
|
|
1417
|
+
parsedBody,
|
|
1418
|
+
errorCode,
|
|
1419
|
+
});
|
|
1420
|
+
}
|
|
2296
1421
|
};
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
1422
|
+
const throwDefaultError = smithyClient.withBaseException(OutpostsServiceException);
|
|
1423
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1424
|
+
const contents = smithyClient.map({});
|
|
1425
|
+
const data = parsedOutput.body;
|
|
1426
|
+
const doc = smithyClient.take(data, {
|
|
1427
|
+
Message: smithyClient.expectString,
|
|
1428
|
+
});
|
|
1429
|
+
Object.assign(contents, doc);
|
|
1430
|
+
const exception = new AccessDeniedException({
|
|
1431
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1432
|
+
...contents,
|
|
1433
|
+
});
|
|
1434
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1435
|
+
};
|
|
1436
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1437
|
+
const contents = smithyClient.map({});
|
|
1438
|
+
const data = parsedOutput.body;
|
|
1439
|
+
const doc = smithyClient.take(data, {
|
|
1440
|
+
Message: smithyClient.expectString,
|
|
1441
|
+
ResourceId: smithyClient.expectString,
|
|
1442
|
+
ResourceType: smithyClient.expectString,
|
|
1443
|
+
});
|
|
1444
|
+
Object.assign(contents, doc);
|
|
1445
|
+
const exception = new ConflictException({
|
|
1446
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1447
|
+
...contents,
|
|
1448
|
+
});
|
|
1449
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
2311
1450
|
};
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
})
|
|
2323
|
-
|
|
2324
|
-
__name(this, "UpdateSiteRackPhysicalPropertiesCommand");
|
|
2325
|
-
}
|
|
1451
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1452
|
+
const contents = smithyClient.map({});
|
|
1453
|
+
const data = parsedOutput.body;
|
|
1454
|
+
const doc = smithyClient.take(data, {
|
|
1455
|
+
Message: smithyClient.expectString,
|
|
1456
|
+
});
|
|
1457
|
+
Object.assign(contents, doc);
|
|
1458
|
+
const exception = new InternalServerException({
|
|
1459
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1460
|
+
...contents,
|
|
1461
|
+
});
|
|
1462
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
2326
1463
|
};
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
PaymentOption,
|
|
2485
|
-
PaymentTerm,
|
|
2486
|
-
ShipmentCarrier,
|
|
2487
|
-
LineItemStatus,
|
|
2488
|
-
OrderType,
|
|
2489
|
-
OrderStatus,
|
|
2490
|
-
ServiceQuotaExceededException,
|
|
2491
|
-
SupportedHardwareType,
|
|
2492
|
-
FiberOpticCableType,
|
|
2493
|
-
MaximumSupportedWeightLbs,
|
|
2494
|
-
OpticalStandard,
|
|
2495
|
-
PowerConnector,
|
|
2496
|
-
PowerDrawKva,
|
|
2497
|
-
PowerFeedDrop,
|
|
2498
|
-
PowerPhase,
|
|
2499
|
-
UplinkCount,
|
|
2500
|
-
UplinkGbps,
|
|
2501
|
-
TaskActionOnBlockingInstances,
|
|
2502
|
-
SubscriptionStatus,
|
|
2503
|
-
SubscriptionType
|
|
1464
|
+
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1465
|
+
const contents = smithyClient.map({});
|
|
1466
|
+
const data = parsedOutput.body;
|
|
1467
|
+
const doc = smithyClient.take(data, {
|
|
1468
|
+
Message: smithyClient.expectString,
|
|
1469
|
+
});
|
|
1470
|
+
Object.assign(contents, doc);
|
|
1471
|
+
const exception = new NotFoundException({
|
|
1472
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1473
|
+
...contents,
|
|
1474
|
+
});
|
|
1475
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1476
|
+
};
|
|
1477
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1478
|
+
const contents = smithyClient.map({});
|
|
1479
|
+
const data = parsedOutput.body;
|
|
1480
|
+
const doc = smithyClient.take(data, {
|
|
1481
|
+
Message: smithyClient.expectString,
|
|
1482
|
+
});
|
|
1483
|
+
Object.assign(contents, doc);
|
|
1484
|
+
const exception = new ServiceQuotaExceededException({
|
|
1485
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1486
|
+
...contents,
|
|
1487
|
+
});
|
|
1488
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1489
|
+
};
|
|
1490
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1491
|
+
const contents = smithyClient.map({});
|
|
1492
|
+
const data = parsedOutput.body;
|
|
1493
|
+
const doc = smithyClient.take(data, {
|
|
1494
|
+
Message: smithyClient.expectString,
|
|
1495
|
+
});
|
|
1496
|
+
Object.assign(contents, doc);
|
|
1497
|
+
const exception = new ValidationException({
|
|
1498
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1499
|
+
...contents,
|
|
1500
|
+
});
|
|
1501
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1502
|
+
};
|
|
1503
|
+
const de_AssetInfo = (output, context) => {
|
|
1504
|
+
return smithyClient.take(output, {
|
|
1505
|
+
AssetId: smithyClient.expectString,
|
|
1506
|
+
AssetLocation: (_) => de_AssetLocation(_),
|
|
1507
|
+
AssetType: smithyClient.expectString,
|
|
1508
|
+
ComputeAttributes: smithyClient._json,
|
|
1509
|
+
RackId: smithyClient.expectString,
|
|
1510
|
+
});
|
|
1511
|
+
};
|
|
1512
|
+
const de_AssetListDefinition = (output, context) => {
|
|
1513
|
+
const retVal = (output || [])
|
|
1514
|
+
.filter((e) => e != null)
|
|
1515
|
+
.map((entry) => {
|
|
1516
|
+
return de_AssetInfo(entry);
|
|
1517
|
+
});
|
|
1518
|
+
return retVal;
|
|
1519
|
+
};
|
|
1520
|
+
const de_AssetLocation = (output, context) => {
|
|
1521
|
+
return smithyClient.take(output, {
|
|
1522
|
+
RackElevation: smithyClient.limitedParseFloat32,
|
|
1523
|
+
});
|
|
1524
|
+
};
|
|
1525
|
+
const de_CapacityTaskList = (output, context) => {
|
|
1526
|
+
const retVal = (output || [])
|
|
1527
|
+
.filter((e) => e != null)
|
|
1528
|
+
.map((entry) => {
|
|
1529
|
+
return de_CapacityTaskSummary(entry);
|
|
1530
|
+
});
|
|
1531
|
+
return retVal;
|
|
1532
|
+
};
|
|
1533
|
+
const de_CapacityTaskSummary = (output, context) => {
|
|
1534
|
+
return smithyClient.take(output, {
|
|
1535
|
+
AssetId: smithyClient.expectString,
|
|
1536
|
+
CapacityTaskId: smithyClient.expectString,
|
|
1537
|
+
CapacityTaskStatus: smithyClient.expectString,
|
|
1538
|
+
CompletionDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1539
|
+
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1540
|
+
LastModifiedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1541
|
+
OrderId: smithyClient.expectString,
|
|
1542
|
+
OutpostId: smithyClient.expectString,
|
|
1543
|
+
});
|
|
1544
|
+
};
|
|
1545
|
+
const de_CatalogItem = (output, context) => {
|
|
1546
|
+
return smithyClient.take(output, {
|
|
1547
|
+
CatalogItemId: smithyClient.expectString,
|
|
1548
|
+
EC2Capacities: smithyClient._json,
|
|
1549
|
+
ItemStatus: smithyClient.expectString,
|
|
1550
|
+
PowerKva: smithyClient.limitedParseFloat32,
|
|
1551
|
+
SupportedStorage: smithyClient._json,
|
|
1552
|
+
SupportedUplinkGbps: smithyClient._json,
|
|
1553
|
+
WeightLbs: smithyClient.expectInt32,
|
|
1554
|
+
});
|
|
1555
|
+
};
|
|
1556
|
+
const de_CatalogItemListDefinition = (output, context) => {
|
|
1557
|
+
const retVal = (output || [])
|
|
1558
|
+
.filter((e) => e != null)
|
|
1559
|
+
.map((entry) => {
|
|
1560
|
+
return de_CatalogItem(entry);
|
|
1561
|
+
});
|
|
1562
|
+
return retVal;
|
|
1563
|
+
};
|
|
1564
|
+
const de_Order = (output, context) => {
|
|
1565
|
+
return smithyClient.take(output, {
|
|
1566
|
+
LineItems: smithyClient._json,
|
|
1567
|
+
OrderFulfilledDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1568
|
+
OrderId: smithyClient.expectString,
|
|
1569
|
+
OrderSubmissionDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1570
|
+
OrderType: smithyClient.expectString,
|
|
1571
|
+
OutpostId: smithyClient.expectString,
|
|
1572
|
+
PaymentOption: smithyClient.expectString,
|
|
1573
|
+
PaymentTerm: smithyClient.expectString,
|
|
1574
|
+
Status: smithyClient.expectString,
|
|
1575
|
+
});
|
|
1576
|
+
};
|
|
1577
|
+
const de_OrderSummary = (output, context) => {
|
|
1578
|
+
return smithyClient.take(output, {
|
|
1579
|
+
LineItemCountsByStatus: smithyClient._json,
|
|
1580
|
+
OrderFulfilledDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1581
|
+
OrderId: smithyClient.expectString,
|
|
1582
|
+
OrderSubmissionDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1583
|
+
OrderType: smithyClient.expectString,
|
|
1584
|
+
OutpostId: smithyClient.expectString,
|
|
1585
|
+
Status: smithyClient.expectString,
|
|
1586
|
+
});
|
|
1587
|
+
};
|
|
1588
|
+
const de_OrderSummaryListDefinition = (output, context) => {
|
|
1589
|
+
const retVal = (output || [])
|
|
1590
|
+
.filter((e) => e != null)
|
|
1591
|
+
.map((entry) => {
|
|
1592
|
+
return de_OrderSummary(entry);
|
|
1593
|
+
});
|
|
1594
|
+
return retVal;
|
|
1595
|
+
};
|
|
1596
|
+
const de_Subscription = (output, context) => {
|
|
1597
|
+
return smithyClient.take(output, {
|
|
1598
|
+
BeginDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1599
|
+
EndDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1600
|
+
MonthlyRecurringPrice: smithyClient.limitedParseDouble,
|
|
1601
|
+
OrderIds: smithyClient._json,
|
|
1602
|
+
SubscriptionId: smithyClient.expectString,
|
|
1603
|
+
SubscriptionStatus: smithyClient.expectString,
|
|
1604
|
+
SubscriptionType: smithyClient.expectString,
|
|
1605
|
+
UpfrontPrice: smithyClient.limitedParseDouble,
|
|
1606
|
+
});
|
|
1607
|
+
};
|
|
1608
|
+
const de_SubscriptionList = (output, context) => {
|
|
1609
|
+
const retVal = (output || [])
|
|
1610
|
+
.filter((e) => e != null)
|
|
1611
|
+
.map((entry) => {
|
|
1612
|
+
return de_Subscription(entry);
|
|
1613
|
+
});
|
|
1614
|
+
return retVal;
|
|
1615
|
+
};
|
|
1616
|
+
const deserializeMetadata = (output) => ({
|
|
1617
|
+
httpStatusCode: output.statusCode,
|
|
1618
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1619
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1620
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
2504
1621
|
});
|
|
2505
|
-
|
|
1622
|
+
const _AI = "AssetId";
|
|
1623
|
+
const _AIF = "AssetIdFilter";
|
|
1624
|
+
const _AIFc = "AccountIdFilter";
|
|
1625
|
+
const _ASF = "AwsServiceFilter";
|
|
1626
|
+
const _AT = "AddressType";
|
|
1627
|
+
const _AZF = "AvailabilityZoneFilter";
|
|
1628
|
+
const _AZIF = "AvailabilityZoneIdFilter";
|
|
1629
|
+
const _CTSF = "CapacityTaskStatusFilter";
|
|
1630
|
+
const _ECFF = "EC2FamilyFilter";
|
|
1631
|
+
const _HIF = "HostIdFilter";
|
|
1632
|
+
const _ICF = "ItemClassFilter";
|
|
1633
|
+
const _ITF = "InstanceTypeFilter";
|
|
1634
|
+
const _LCSF = "LifeCycleStatusFilter";
|
|
1635
|
+
const _MR = "MaxResults";
|
|
1636
|
+
const _NT = "NextToken";
|
|
1637
|
+
const _OACCF = "OperatingAddressCountryCodeFilter";
|
|
1638
|
+
const _OACF = "OperatingAddressCityFilter";
|
|
1639
|
+
const _OASORF = "OperatingAddressStateOrRegionFilter";
|
|
1640
|
+
const _OI = "OrderId";
|
|
1641
|
+
const _OIF = "OutpostIdentifierFilter";
|
|
1642
|
+
const _SF = "StatusFilter";
|
|
1643
|
+
const _SSF = "SupportedStorageFilter";
|
|
1644
|
+
const _TK = "TagKeys";
|
|
1645
|
+
const _tK = "tagKeys";
|
|
1646
|
+
|
|
1647
|
+
class CancelCapacityTaskCommand extends smithyClient.Command
|
|
1648
|
+
.classBuilder()
|
|
1649
|
+
.ep(commonParams)
|
|
1650
|
+
.m(function (Command, cs, config, o) {
|
|
1651
|
+
return [
|
|
1652
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1653
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1654
|
+
];
|
|
1655
|
+
})
|
|
1656
|
+
.s("OutpostsOlafService", "CancelCapacityTask", {})
|
|
1657
|
+
.n("OutpostsClient", "CancelCapacityTaskCommand")
|
|
1658
|
+
.f(void 0, void 0)
|
|
1659
|
+
.ser(se_CancelCapacityTaskCommand)
|
|
1660
|
+
.de(de_CancelCapacityTaskCommand)
|
|
1661
|
+
.build() {
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
class CancelOrderCommand extends smithyClient.Command
|
|
1665
|
+
.classBuilder()
|
|
1666
|
+
.ep(commonParams)
|
|
1667
|
+
.m(function (Command, cs, config, o) {
|
|
1668
|
+
return [
|
|
1669
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1670
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1671
|
+
];
|
|
1672
|
+
})
|
|
1673
|
+
.s("OutpostsOlafService", "CancelOrder", {})
|
|
1674
|
+
.n("OutpostsClient", "CancelOrderCommand")
|
|
1675
|
+
.f(void 0, void 0)
|
|
1676
|
+
.ser(se_CancelOrderCommand)
|
|
1677
|
+
.de(de_CancelOrderCommand)
|
|
1678
|
+
.build() {
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
class CreateOrderCommand extends smithyClient.Command
|
|
1682
|
+
.classBuilder()
|
|
1683
|
+
.ep(commonParams)
|
|
1684
|
+
.m(function (Command, cs, config, o) {
|
|
1685
|
+
return [
|
|
1686
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1687
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1688
|
+
];
|
|
1689
|
+
})
|
|
1690
|
+
.s("OutpostsOlafService", "CreateOrder", {})
|
|
1691
|
+
.n("OutpostsClient", "CreateOrderCommand")
|
|
1692
|
+
.f(void 0, void 0)
|
|
1693
|
+
.ser(se_CreateOrderCommand)
|
|
1694
|
+
.de(de_CreateOrderCommand)
|
|
1695
|
+
.build() {
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
class CreateOutpostCommand extends smithyClient.Command
|
|
1699
|
+
.classBuilder()
|
|
1700
|
+
.ep(commonParams)
|
|
1701
|
+
.m(function (Command, cs, config, o) {
|
|
1702
|
+
return [
|
|
1703
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1704
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1705
|
+
];
|
|
1706
|
+
})
|
|
1707
|
+
.s("OutpostsOlafService", "CreateOutpost", {})
|
|
1708
|
+
.n("OutpostsClient", "CreateOutpostCommand")
|
|
1709
|
+
.f(void 0, void 0)
|
|
1710
|
+
.ser(se_CreateOutpostCommand)
|
|
1711
|
+
.de(de_CreateOutpostCommand)
|
|
1712
|
+
.build() {
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
class CreateSiteCommand extends smithyClient.Command
|
|
1716
|
+
.classBuilder()
|
|
1717
|
+
.ep(commonParams)
|
|
1718
|
+
.m(function (Command, cs, config, o) {
|
|
1719
|
+
return [
|
|
1720
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1721
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1722
|
+
];
|
|
1723
|
+
})
|
|
1724
|
+
.s("OutpostsOlafService", "CreateSite", {})
|
|
1725
|
+
.n("OutpostsClient", "CreateSiteCommand")
|
|
1726
|
+
.f(void 0, void 0)
|
|
1727
|
+
.ser(se_CreateSiteCommand)
|
|
1728
|
+
.de(de_CreateSiteCommand)
|
|
1729
|
+
.build() {
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
class DeleteOutpostCommand extends smithyClient.Command
|
|
1733
|
+
.classBuilder()
|
|
1734
|
+
.ep(commonParams)
|
|
1735
|
+
.m(function (Command, cs, config, o) {
|
|
1736
|
+
return [
|
|
1737
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1738
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1739
|
+
];
|
|
1740
|
+
})
|
|
1741
|
+
.s("OutpostsOlafService", "DeleteOutpost", {})
|
|
1742
|
+
.n("OutpostsClient", "DeleteOutpostCommand")
|
|
1743
|
+
.f(void 0, void 0)
|
|
1744
|
+
.ser(se_DeleteOutpostCommand)
|
|
1745
|
+
.de(de_DeleteOutpostCommand)
|
|
1746
|
+
.build() {
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
class DeleteSiteCommand extends smithyClient.Command
|
|
1750
|
+
.classBuilder()
|
|
1751
|
+
.ep(commonParams)
|
|
1752
|
+
.m(function (Command, cs, config, o) {
|
|
1753
|
+
return [
|
|
1754
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1755
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1756
|
+
];
|
|
1757
|
+
})
|
|
1758
|
+
.s("OutpostsOlafService", "DeleteSite", {})
|
|
1759
|
+
.n("OutpostsClient", "DeleteSiteCommand")
|
|
1760
|
+
.f(void 0, void 0)
|
|
1761
|
+
.ser(se_DeleteSiteCommand)
|
|
1762
|
+
.de(de_DeleteSiteCommand)
|
|
1763
|
+
.build() {
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
class GetCapacityTaskCommand extends smithyClient.Command
|
|
1767
|
+
.classBuilder()
|
|
1768
|
+
.ep(commonParams)
|
|
1769
|
+
.m(function (Command, cs, config, o) {
|
|
1770
|
+
return [
|
|
1771
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1772
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1773
|
+
];
|
|
1774
|
+
})
|
|
1775
|
+
.s("OutpostsOlafService", "GetCapacityTask", {})
|
|
1776
|
+
.n("OutpostsClient", "GetCapacityTaskCommand")
|
|
1777
|
+
.f(void 0, void 0)
|
|
1778
|
+
.ser(se_GetCapacityTaskCommand)
|
|
1779
|
+
.de(de_GetCapacityTaskCommand)
|
|
1780
|
+
.build() {
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
class GetCatalogItemCommand extends smithyClient.Command
|
|
1784
|
+
.classBuilder()
|
|
1785
|
+
.ep(commonParams)
|
|
1786
|
+
.m(function (Command, cs, config, o) {
|
|
1787
|
+
return [
|
|
1788
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1789
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1790
|
+
];
|
|
1791
|
+
})
|
|
1792
|
+
.s("OutpostsOlafService", "GetCatalogItem", {})
|
|
1793
|
+
.n("OutpostsClient", "GetCatalogItemCommand")
|
|
1794
|
+
.f(void 0, void 0)
|
|
1795
|
+
.ser(se_GetCatalogItemCommand)
|
|
1796
|
+
.de(de_GetCatalogItemCommand)
|
|
1797
|
+
.build() {
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
class GetConnectionCommand extends smithyClient.Command
|
|
1801
|
+
.classBuilder()
|
|
1802
|
+
.ep(commonParams)
|
|
1803
|
+
.m(function (Command, cs, config, o) {
|
|
1804
|
+
return [
|
|
1805
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1806
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1807
|
+
];
|
|
1808
|
+
})
|
|
1809
|
+
.s("OutpostsOlafService", "GetConnection", {})
|
|
1810
|
+
.n("OutpostsClient", "GetConnectionCommand")
|
|
1811
|
+
.f(void 0, void 0)
|
|
1812
|
+
.ser(se_GetConnectionCommand)
|
|
1813
|
+
.de(de_GetConnectionCommand)
|
|
1814
|
+
.build() {
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
class GetOrderCommand extends smithyClient.Command
|
|
1818
|
+
.classBuilder()
|
|
1819
|
+
.ep(commonParams)
|
|
1820
|
+
.m(function (Command, cs, config, o) {
|
|
1821
|
+
return [
|
|
1822
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1823
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1824
|
+
];
|
|
1825
|
+
})
|
|
1826
|
+
.s("OutpostsOlafService", "GetOrder", {})
|
|
1827
|
+
.n("OutpostsClient", "GetOrderCommand")
|
|
1828
|
+
.f(void 0, void 0)
|
|
1829
|
+
.ser(se_GetOrderCommand)
|
|
1830
|
+
.de(de_GetOrderCommand)
|
|
1831
|
+
.build() {
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
class GetOutpostBillingInformationCommand extends smithyClient.Command
|
|
1835
|
+
.classBuilder()
|
|
1836
|
+
.ep(commonParams)
|
|
1837
|
+
.m(function (Command, cs, config, o) {
|
|
1838
|
+
return [
|
|
1839
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1840
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1841
|
+
];
|
|
1842
|
+
})
|
|
1843
|
+
.s("OutpostsOlafService", "GetOutpostBillingInformation", {})
|
|
1844
|
+
.n("OutpostsClient", "GetOutpostBillingInformationCommand")
|
|
1845
|
+
.f(void 0, void 0)
|
|
1846
|
+
.ser(se_GetOutpostBillingInformationCommand)
|
|
1847
|
+
.de(de_GetOutpostBillingInformationCommand)
|
|
1848
|
+
.build() {
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
class GetOutpostCommand extends smithyClient.Command
|
|
1852
|
+
.classBuilder()
|
|
1853
|
+
.ep(commonParams)
|
|
1854
|
+
.m(function (Command, cs, config, o) {
|
|
1855
|
+
return [
|
|
1856
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1857
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1858
|
+
];
|
|
1859
|
+
})
|
|
1860
|
+
.s("OutpostsOlafService", "GetOutpost", {})
|
|
1861
|
+
.n("OutpostsClient", "GetOutpostCommand")
|
|
1862
|
+
.f(void 0, void 0)
|
|
1863
|
+
.ser(se_GetOutpostCommand)
|
|
1864
|
+
.de(de_GetOutpostCommand)
|
|
1865
|
+
.build() {
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
class GetOutpostInstanceTypesCommand extends smithyClient.Command
|
|
1869
|
+
.classBuilder()
|
|
1870
|
+
.ep(commonParams)
|
|
1871
|
+
.m(function (Command, cs, config, o) {
|
|
1872
|
+
return [
|
|
1873
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1874
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1875
|
+
];
|
|
1876
|
+
})
|
|
1877
|
+
.s("OutpostsOlafService", "GetOutpostInstanceTypes", {})
|
|
1878
|
+
.n("OutpostsClient", "GetOutpostInstanceTypesCommand")
|
|
1879
|
+
.f(void 0, void 0)
|
|
1880
|
+
.ser(se_GetOutpostInstanceTypesCommand)
|
|
1881
|
+
.de(de_GetOutpostInstanceTypesCommand)
|
|
1882
|
+
.build() {
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
class GetOutpostSupportedInstanceTypesCommand extends smithyClient.Command
|
|
1886
|
+
.classBuilder()
|
|
1887
|
+
.ep(commonParams)
|
|
1888
|
+
.m(function (Command, cs, config, o) {
|
|
1889
|
+
return [
|
|
1890
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1891
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1892
|
+
];
|
|
1893
|
+
})
|
|
1894
|
+
.s("OutpostsOlafService", "GetOutpostSupportedInstanceTypes", {})
|
|
1895
|
+
.n("OutpostsClient", "GetOutpostSupportedInstanceTypesCommand")
|
|
1896
|
+
.f(void 0, void 0)
|
|
1897
|
+
.ser(se_GetOutpostSupportedInstanceTypesCommand)
|
|
1898
|
+
.de(de_GetOutpostSupportedInstanceTypesCommand)
|
|
1899
|
+
.build() {
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
class GetSiteAddressCommand extends smithyClient.Command
|
|
1903
|
+
.classBuilder()
|
|
1904
|
+
.ep(commonParams)
|
|
1905
|
+
.m(function (Command, cs, config, o) {
|
|
1906
|
+
return [
|
|
1907
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1908
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1909
|
+
];
|
|
1910
|
+
})
|
|
1911
|
+
.s("OutpostsOlafService", "GetSiteAddress", {})
|
|
1912
|
+
.n("OutpostsClient", "GetSiteAddressCommand")
|
|
1913
|
+
.f(void 0, void 0)
|
|
1914
|
+
.ser(se_GetSiteAddressCommand)
|
|
1915
|
+
.de(de_GetSiteAddressCommand)
|
|
1916
|
+
.build() {
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
class GetSiteCommand extends smithyClient.Command
|
|
1920
|
+
.classBuilder()
|
|
1921
|
+
.ep(commonParams)
|
|
1922
|
+
.m(function (Command, cs, config, o) {
|
|
1923
|
+
return [
|
|
1924
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1925
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1926
|
+
];
|
|
1927
|
+
})
|
|
1928
|
+
.s("OutpostsOlafService", "GetSite", {})
|
|
1929
|
+
.n("OutpostsClient", "GetSiteCommand")
|
|
1930
|
+
.f(void 0, void 0)
|
|
1931
|
+
.ser(se_GetSiteCommand)
|
|
1932
|
+
.de(de_GetSiteCommand)
|
|
1933
|
+
.build() {
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
class ListAssetInstancesCommand extends smithyClient.Command
|
|
1937
|
+
.classBuilder()
|
|
1938
|
+
.ep(commonParams)
|
|
1939
|
+
.m(function (Command, cs, config, o) {
|
|
1940
|
+
return [
|
|
1941
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1942
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1943
|
+
];
|
|
1944
|
+
})
|
|
1945
|
+
.s("OutpostsOlafService", "ListAssetInstances", {})
|
|
1946
|
+
.n("OutpostsClient", "ListAssetInstancesCommand")
|
|
1947
|
+
.f(void 0, void 0)
|
|
1948
|
+
.ser(se_ListAssetInstancesCommand)
|
|
1949
|
+
.de(de_ListAssetInstancesCommand)
|
|
1950
|
+
.build() {
|
|
1951
|
+
}
|
|
1952
|
+
|
|
1953
|
+
class ListAssetsCommand extends smithyClient.Command
|
|
1954
|
+
.classBuilder()
|
|
1955
|
+
.ep(commonParams)
|
|
1956
|
+
.m(function (Command, cs, config, o) {
|
|
1957
|
+
return [
|
|
1958
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1959
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1960
|
+
];
|
|
1961
|
+
})
|
|
1962
|
+
.s("OutpostsOlafService", "ListAssets", {})
|
|
1963
|
+
.n("OutpostsClient", "ListAssetsCommand")
|
|
1964
|
+
.f(void 0, void 0)
|
|
1965
|
+
.ser(se_ListAssetsCommand)
|
|
1966
|
+
.de(de_ListAssetsCommand)
|
|
1967
|
+
.build() {
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
class ListBlockingInstancesForCapacityTaskCommand extends smithyClient.Command
|
|
1971
|
+
.classBuilder()
|
|
1972
|
+
.ep(commonParams)
|
|
1973
|
+
.m(function (Command, cs, config, o) {
|
|
1974
|
+
return [
|
|
1975
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1976
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1977
|
+
];
|
|
1978
|
+
})
|
|
1979
|
+
.s("OutpostsOlafService", "ListBlockingInstancesForCapacityTask", {})
|
|
1980
|
+
.n("OutpostsClient", "ListBlockingInstancesForCapacityTaskCommand")
|
|
1981
|
+
.f(void 0, void 0)
|
|
1982
|
+
.ser(se_ListBlockingInstancesForCapacityTaskCommand)
|
|
1983
|
+
.de(de_ListBlockingInstancesForCapacityTaskCommand)
|
|
1984
|
+
.build() {
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
class ListCapacityTasksCommand extends smithyClient.Command
|
|
1988
|
+
.classBuilder()
|
|
1989
|
+
.ep(commonParams)
|
|
1990
|
+
.m(function (Command, cs, config, o) {
|
|
1991
|
+
return [
|
|
1992
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1993
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1994
|
+
];
|
|
1995
|
+
})
|
|
1996
|
+
.s("OutpostsOlafService", "ListCapacityTasks", {})
|
|
1997
|
+
.n("OutpostsClient", "ListCapacityTasksCommand")
|
|
1998
|
+
.f(void 0, void 0)
|
|
1999
|
+
.ser(se_ListCapacityTasksCommand)
|
|
2000
|
+
.de(de_ListCapacityTasksCommand)
|
|
2001
|
+
.build() {
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
class ListCatalogItemsCommand extends smithyClient.Command
|
|
2005
|
+
.classBuilder()
|
|
2006
|
+
.ep(commonParams)
|
|
2007
|
+
.m(function (Command, cs, config, o) {
|
|
2008
|
+
return [
|
|
2009
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2010
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2011
|
+
];
|
|
2012
|
+
})
|
|
2013
|
+
.s("OutpostsOlafService", "ListCatalogItems", {})
|
|
2014
|
+
.n("OutpostsClient", "ListCatalogItemsCommand")
|
|
2015
|
+
.f(void 0, void 0)
|
|
2016
|
+
.ser(se_ListCatalogItemsCommand)
|
|
2017
|
+
.de(de_ListCatalogItemsCommand)
|
|
2018
|
+
.build() {
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
class ListOrdersCommand extends smithyClient.Command
|
|
2022
|
+
.classBuilder()
|
|
2023
|
+
.ep(commonParams)
|
|
2024
|
+
.m(function (Command, cs, config, o) {
|
|
2025
|
+
return [
|
|
2026
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2027
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2028
|
+
];
|
|
2029
|
+
})
|
|
2030
|
+
.s("OutpostsOlafService", "ListOrders", {})
|
|
2031
|
+
.n("OutpostsClient", "ListOrdersCommand")
|
|
2032
|
+
.f(void 0, void 0)
|
|
2033
|
+
.ser(se_ListOrdersCommand)
|
|
2034
|
+
.de(de_ListOrdersCommand)
|
|
2035
|
+
.build() {
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
class ListOutpostsCommand extends smithyClient.Command
|
|
2039
|
+
.classBuilder()
|
|
2040
|
+
.ep(commonParams)
|
|
2041
|
+
.m(function (Command, cs, config, o) {
|
|
2042
|
+
return [
|
|
2043
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2044
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2045
|
+
];
|
|
2046
|
+
})
|
|
2047
|
+
.s("OutpostsOlafService", "ListOutposts", {})
|
|
2048
|
+
.n("OutpostsClient", "ListOutpostsCommand")
|
|
2049
|
+
.f(void 0, void 0)
|
|
2050
|
+
.ser(se_ListOutpostsCommand)
|
|
2051
|
+
.de(de_ListOutpostsCommand)
|
|
2052
|
+
.build() {
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
class ListSitesCommand extends smithyClient.Command
|
|
2056
|
+
.classBuilder()
|
|
2057
|
+
.ep(commonParams)
|
|
2058
|
+
.m(function (Command, cs, config, o) {
|
|
2059
|
+
return [
|
|
2060
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2061
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2062
|
+
];
|
|
2063
|
+
})
|
|
2064
|
+
.s("OutpostsOlafService", "ListSites", {})
|
|
2065
|
+
.n("OutpostsClient", "ListSitesCommand")
|
|
2066
|
+
.f(void 0, void 0)
|
|
2067
|
+
.ser(se_ListSitesCommand)
|
|
2068
|
+
.de(de_ListSitesCommand)
|
|
2069
|
+
.build() {
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
2073
|
+
.classBuilder()
|
|
2074
|
+
.ep(commonParams)
|
|
2075
|
+
.m(function (Command, cs, config, o) {
|
|
2076
|
+
return [
|
|
2077
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2078
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2079
|
+
];
|
|
2080
|
+
})
|
|
2081
|
+
.s("OutpostsOlafService", "ListTagsForResource", {})
|
|
2082
|
+
.n("OutpostsClient", "ListTagsForResourceCommand")
|
|
2083
|
+
.f(void 0, void 0)
|
|
2084
|
+
.ser(se_ListTagsForResourceCommand)
|
|
2085
|
+
.de(de_ListTagsForResourceCommand)
|
|
2086
|
+
.build() {
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
class StartCapacityTaskCommand extends smithyClient.Command
|
|
2090
|
+
.classBuilder()
|
|
2091
|
+
.ep(commonParams)
|
|
2092
|
+
.m(function (Command, cs, config, o) {
|
|
2093
|
+
return [
|
|
2094
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2095
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2096
|
+
];
|
|
2097
|
+
})
|
|
2098
|
+
.s("OutpostsOlafService", "StartCapacityTask", {})
|
|
2099
|
+
.n("OutpostsClient", "StartCapacityTaskCommand")
|
|
2100
|
+
.f(void 0, void 0)
|
|
2101
|
+
.ser(se_StartCapacityTaskCommand)
|
|
2102
|
+
.de(de_StartCapacityTaskCommand)
|
|
2103
|
+
.build() {
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
class StartConnectionCommand extends smithyClient.Command
|
|
2107
|
+
.classBuilder()
|
|
2108
|
+
.ep(commonParams)
|
|
2109
|
+
.m(function (Command, cs, config, o) {
|
|
2110
|
+
return [
|
|
2111
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2112
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2113
|
+
];
|
|
2114
|
+
})
|
|
2115
|
+
.s("OutpostsOlafService", "StartConnection", {})
|
|
2116
|
+
.n("OutpostsClient", "StartConnectionCommand")
|
|
2117
|
+
.f(void 0, void 0)
|
|
2118
|
+
.ser(se_StartConnectionCommand)
|
|
2119
|
+
.de(de_StartConnectionCommand)
|
|
2120
|
+
.build() {
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
class StartOutpostDecommissionCommand extends smithyClient.Command
|
|
2124
|
+
.classBuilder()
|
|
2125
|
+
.ep(commonParams)
|
|
2126
|
+
.m(function (Command, cs, config, o) {
|
|
2127
|
+
return [
|
|
2128
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2129
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2130
|
+
];
|
|
2131
|
+
})
|
|
2132
|
+
.s("OutpostsOlafService", "StartOutpostDecommission", {})
|
|
2133
|
+
.n("OutpostsClient", "StartOutpostDecommissionCommand")
|
|
2134
|
+
.f(void 0, void 0)
|
|
2135
|
+
.ser(se_StartOutpostDecommissionCommand)
|
|
2136
|
+
.de(de_StartOutpostDecommissionCommand)
|
|
2137
|
+
.build() {
|
|
2138
|
+
}
|
|
2139
|
+
|
|
2140
|
+
class TagResourceCommand extends smithyClient.Command
|
|
2141
|
+
.classBuilder()
|
|
2142
|
+
.ep(commonParams)
|
|
2143
|
+
.m(function (Command, cs, config, o) {
|
|
2144
|
+
return [
|
|
2145
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2146
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2147
|
+
];
|
|
2148
|
+
})
|
|
2149
|
+
.s("OutpostsOlafService", "TagResource", {})
|
|
2150
|
+
.n("OutpostsClient", "TagResourceCommand")
|
|
2151
|
+
.f(void 0, void 0)
|
|
2152
|
+
.ser(se_TagResourceCommand)
|
|
2153
|
+
.de(de_TagResourceCommand)
|
|
2154
|
+
.build() {
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
2158
|
+
.classBuilder()
|
|
2159
|
+
.ep(commonParams)
|
|
2160
|
+
.m(function (Command, cs, config, o) {
|
|
2161
|
+
return [
|
|
2162
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2163
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2164
|
+
];
|
|
2165
|
+
})
|
|
2166
|
+
.s("OutpostsOlafService", "UntagResource", {})
|
|
2167
|
+
.n("OutpostsClient", "UntagResourceCommand")
|
|
2168
|
+
.f(void 0, void 0)
|
|
2169
|
+
.ser(se_UntagResourceCommand)
|
|
2170
|
+
.de(de_UntagResourceCommand)
|
|
2171
|
+
.build() {
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
class UpdateOutpostCommand extends smithyClient.Command
|
|
2175
|
+
.classBuilder()
|
|
2176
|
+
.ep(commonParams)
|
|
2177
|
+
.m(function (Command, cs, config, o) {
|
|
2178
|
+
return [
|
|
2179
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2180
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2181
|
+
];
|
|
2182
|
+
})
|
|
2183
|
+
.s("OutpostsOlafService", "UpdateOutpost", {})
|
|
2184
|
+
.n("OutpostsClient", "UpdateOutpostCommand")
|
|
2185
|
+
.f(void 0, void 0)
|
|
2186
|
+
.ser(se_UpdateOutpostCommand)
|
|
2187
|
+
.de(de_UpdateOutpostCommand)
|
|
2188
|
+
.build() {
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
class UpdateSiteAddressCommand extends smithyClient.Command
|
|
2192
|
+
.classBuilder()
|
|
2193
|
+
.ep(commonParams)
|
|
2194
|
+
.m(function (Command, cs, config, o) {
|
|
2195
|
+
return [
|
|
2196
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2197
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2198
|
+
];
|
|
2199
|
+
})
|
|
2200
|
+
.s("OutpostsOlafService", "UpdateSiteAddress", {})
|
|
2201
|
+
.n("OutpostsClient", "UpdateSiteAddressCommand")
|
|
2202
|
+
.f(void 0, void 0)
|
|
2203
|
+
.ser(se_UpdateSiteAddressCommand)
|
|
2204
|
+
.de(de_UpdateSiteAddressCommand)
|
|
2205
|
+
.build() {
|
|
2206
|
+
}
|
|
2207
|
+
|
|
2208
|
+
class UpdateSiteCommand extends smithyClient.Command
|
|
2209
|
+
.classBuilder()
|
|
2210
|
+
.ep(commonParams)
|
|
2211
|
+
.m(function (Command, cs, config, o) {
|
|
2212
|
+
return [
|
|
2213
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2214
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2215
|
+
];
|
|
2216
|
+
})
|
|
2217
|
+
.s("OutpostsOlafService", "UpdateSite", {})
|
|
2218
|
+
.n("OutpostsClient", "UpdateSiteCommand")
|
|
2219
|
+
.f(void 0, void 0)
|
|
2220
|
+
.ser(se_UpdateSiteCommand)
|
|
2221
|
+
.de(de_UpdateSiteCommand)
|
|
2222
|
+
.build() {
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2225
|
+
class UpdateSiteRackPhysicalPropertiesCommand extends smithyClient.Command
|
|
2226
|
+
.classBuilder()
|
|
2227
|
+
.ep(commonParams)
|
|
2228
|
+
.m(function (Command, cs, config, o) {
|
|
2229
|
+
return [
|
|
2230
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2231
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2232
|
+
];
|
|
2233
|
+
})
|
|
2234
|
+
.s("OutpostsOlafService", "UpdateSiteRackPhysicalProperties", {})
|
|
2235
|
+
.n("OutpostsClient", "UpdateSiteRackPhysicalPropertiesCommand")
|
|
2236
|
+
.f(void 0, void 0)
|
|
2237
|
+
.ser(se_UpdateSiteRackPhysicalPropertiesCommand)
|
|
2238
|
+
.de(de_UpdateSiteRackPhysicalPropertiesCommand)
|
|
2239
|
+
.build() {
|
|
2240
|
+
}
|
|
2241
|
+
|
|
2242
|
+
const commands = {
|
|
2243
|
+
CancelCapacityTaskCommand,
|
|
2244
|
+
CancelOrderCommand,
|
|
2245
|
+
CreateOrderCommand,
|
|
2246
|
+
CreateOutpostCommand,
|
|
2247
|
+
CreateSiteCommand,
|
|
2248
|
+
DeleteOutpostCommand,
|
|
2249
|
+
DeleteSiteCommand,
|
|
2250
|
+
GetCapacityTaskCommand,
|
|
2251
|
+
GetCatalogItemCommand,
|
|
2252
|
+
GetConnectionCommand,
|
|
2253
|
+
GetOrderCommand,
|
|
2254
|
+
GetOutpostCommand,
|
|
2255
|
+
GetOutpostBillingInformationCommand,
|
|
2256
|
+
GetOutpostInstanceTypesCommand,
|
|
2257
|
+
GetOutpostSupportedInstanceTypesCommand,
|
|
2258
|
+
GetSiteCommand,
|
|
2259
|
+
GetSiteAddressCommand,
|
|
2260
|
+
ListAssetInstancesCommand,
|
|
2261
|
+
ListAssetsCommand,
|
|
2262
|
+
ListBlockingInstancesForCapacityTaskCommand,
|
|
2263
|
+
ListCapacityTasksCommand,
|
|
2264
|
+
ListCatalogItemsCommand,
|
|
2265
|
+
ListOrdersCommand,
|
|
2266
|
+
ListOutpostsCommand,
|
|
2267
|
+
ListSitesCommand,
|
|
2268
|
+
ListTagsForResourceCommand,
|
|
2269
|
+
StartCapacityTaskCommand,
|
|
2270
|
+
StartConnectionCommand,
|
|
2271
|
+
StartOutpostDecommissionCommand,
|
|
2272
|
+
TagResourceCommand,
|
|
2273
|
+
UntagResourceCommand,
|
|
2274
|
+
UpdateOutpostCommand,
|
|
2275
|
+
UpdateSiteCommand,
|
|
2276
|
+
UpdateSiteAddressCommand,
|
|
2277
|
+
UpdateSiteRackPhysicalPropertiesCommand,
|
|
2278
|
+
};
|
|
2279
|
+
class Outposts extends OutpostsClient {
|
|
2280
|
+
}
|
|
2281
|
+
smithyClient.createAggregatedClient(commands, Outposts);
|
|
2282
|
+
|
|
2283
|
+
const paginateGetOutpostBillingInformation = core.createPaginator(OutpostsClient, GetOutpostBillingInformationCommand, "NextToken", "NextToken", "MaxResults");
|
|
2284
|
+
|
|
2285
|
+
const paginateGetOutpostInstanceTypes = core.createPaginator(OutpostsClient, GetOutpostInstanceTypesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2286
|
+
|
|
2287
|
+
const paginateGetOutpostSupportedInstanceTypes = core.createPaginator(OutpostsClient, GetOutpostSupportedInstanceTypesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2288
|
+
|
|
2289
|
+
const paginateListAssetInstances = core.createPaginator(OutpostsClient, ListAssetInstancesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2290
|
+
|
|
2291
|
+
const paginateListAssets = core.createPaginator(OutpostsClient, ListAssetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2292
|
+
|
|
2293
|
+
const paginateListBlockingInstancesForCapacityTask = core.createPaginator(OutpostsClient, ListBlockingInstancesForCapacityTaskCommand, "NextToken", "NextToken", "MaxResults");
|
|
2294
|
+
|
|
2295
|
+
const paginateListCapacityTasks = core.createPaginator(OutpostsClient, ListCapacityTasksCommand, "NextToken", "NextToken", "MaxResults");
|
|
2296
|
+
|
|
2297
|
+
const paginateListCatalogItems = core.createPaginator(OutpostsClient, ListCatalogItemsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2298
|
+
|
|
2299
|
+
const paginateListOrders = core.createPaginator(OutpostsClient, ListOrdersCommand, "NextToken", "NextToken", "MaxResults");
|
|
2300
|
+
|
|
2301
|
+
const paginateListOutposts = core.createPaginator(OutpostsClient, ListOutpostsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2302
|
+
|
|
2303
|
+
const paginateListSites = core.createPaginator(OutpostsClient, ListSitesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2304
|
+
|
|
2305
|
+
Object.defineProperty(exports, "$Command", {
|
|
2306
|
+
enumerable: true,
|
|
2307
|
+
get: function () { return smithyClient.Command; }
|
|
2308
|
+
});
|
|
2309
|
+
Object.defineProperty(exports, "__Client", {
|
|
2310
|
+
enumerable: true,
|
|
2311
|
+
get: function () { return smithyClient.Client; }
|
|
2312
|
+
});
|
|
2313
|
+
exports.AWSServiceName = AWSServiceName;
|
|
2314
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
2315
|
+
exports.AddressType = AddressType;
|
|
2316
|
+
exports.AssetState = AssetState;
|
|
2317
|
+
exports.AssetType = AssetType;
|
|
2318
|
+
exports.BlockingResourceType = BlockingResourceType;
|
|
2319
|
+
exports.CancelCapacityTaskCommand = CancelCapacityTaskCommand;
|
|
2320
|
+
exports.CancelOrderCommand = CancelOrderCommand;
|
|
2321
|
+
exports.CapacityTaskFailureType = CapacityTaskFailureType;
|
|
2322
|
+
exports.CapacityTaskStatus = CapacityTaskStatus;
|
|
2323
|
+
exports.CatalogItemClass = CatalogItemClass;
|
|
2324
|
+
exports.CatalogItemStatus = CatalogItemStatus;
|
|
2325
|
+
exports.ComputeAssetState = ComputeAssetState;
|
|
2326
|
+
exports.ConflictException = ConflictException;
|
|
2327
|
+
exports.CreateOrderCommand = CreateOrderCommand;
|
|
2328
|
+
exports.CreateOutpostCommand = CreateOutpostCommand;
|
|
2329
|
+
exports.CreateSiteCommand = CreateSiteCommand;
|
|
2330
|
+
exports.DecommissionRequestStatus = DecommissionRequestStatus;
|
|
2331
|
+
exports.DeleteOutpostCommand = DeleteOutpostCommand;
|
|
2332
|
+
exports.DeleteSiteCommand = DeleteSiteCommand;
|
|
2333
|
+
exports.FiberOpticCableType = FiberOpticCableType;
|
|
2334
|
+
exports.GetCapacityTaskCommand = GetCapacityTaskCommand;
|
|
2335
|
+
exports.GetCatalogItemCommand = GetCatalogItemCommand;
|
|
2336
|
+
exports.GetConnectionCommand = GetConnectionCommand;
|
|
2337
|
+
exports.GetOrderCommand = GetOrderCommand;
|
|
2338
|
+
exports.GetOutpostBillingInformationCommand = GetOutpostBillingInformationCommand;
|
|
2339
|
+
exports.GetOutpostCommand = GetOutpostCommand;
|
|
2340
|
+
exports.GetOutpostInstanceTypesCommand = GetOutpostInstanceTypesCommand;
|
|
2341
|
+
exports.GetOutpostSupportedInstanceTypesCommand = GetOutpostSupportedInstanceTypesCommand;
|
|
2342
|
+
exports.GetSiteAddressCommand = GetSiteAddressCommand;
|
|
2343
|
+
exports.GetSiteCommand = GetSiteCommand;
|
|
2344
|
+
exports.InternalServerException = InternalServerException;
|
|
2345
|
+
exports.LineItemStatus = LineItemStatus;
|
|
2346
|
+
exports.ListAssetInstancesCommand = ListAssetInstancesCommand;
|
|
2347
|
+
exports.ListAssetsCommand = ListAssetsCommand;
|
|
2348
|
+
exports.ListBlockingInstancesForCapacityTaskCommand = ListBlockingInstancesForCapacityTaskCommand;
|
|
2349
|
+
exports.ListCapacityTasksCommand = ListCapacityTasksCommand;
|
|
2350
|
+
exports.ListCatalogItemsCommand = ListCatalogItemsCommand;
|
|
2351
|
+
exports.ListOrdersCommand = ListOrdersCommand;
|
|
2352
|
+
exports.ListOutpostsCommand = ListOutpostsCommand;
|
|
2353
|
+
exports.ListSitesCommand = ListSitesCommand;
|
|
2354
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
2355
|
+
exports.MaximumSupportedWeightLbs = MaximumSupportedWeightLbs;
|
|
2356
|
+
exports.NotFoundException = NotFoundException;
|
|
2357
|
+
exports.OpticalStandard = OpticalStandard;
|
|
2358
|
+
exports.OrderStatus = OrderStatus;
|
|
2359
|
+
exports.OrderType = OrderType;
|
|
2360
|
+
exports.Outposts = Outposts;
|
|
2361
|
+
exports.OutpostsClient = OutpostsClient;
|
|
2362
|
+
exports.OutpostsServiceException = OutpostsServiceException;
|
|
2363
|
+
exports.PaymentOption = PaymentOption;
|
|
2364
|
+
exports.PaymentTerm = PaymentTerm;
|
|
2365
|
+
exports.PowerConnector = PowerConnector;
|
|
2366
|
+
exports.PowerDrawKva = PowerDrawKva;
|
|
2367
|
+
exports.PowerFeedDrop = PowerFeedDrop;
|
|
2368
|
+
exports.PowerPhase = PowerPhase;
|
|
2369
|
+
exports.ResourceType = ResourceType;
|
|
2370
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
2371
|
+
exports.ShipmentCarrier = ShipmentCarrier;
|
|
2372
|
+
exports.StartCapacityTaskCommand = StartCapacityTaskCommand;
|
|
2373
|
+
exports.StartConnectionCommand = StartConnectionCommand;
|
|
2374
|
+
exports.StartOutpostDecommissionCommand = StartOutpostDecommissionCommand;
|
|
2375
|
+
exports.SubscriptionStatus = SubscriptionStatus;
|
|
2376
|
+
exports.SubscriptionType = SubscriptionType;
|
|
2377
|
+
exports.SupportedHardwareType = SupportedHardwareType;
|
|
2378
|
+
exports.SupportedStorageEnum = SupportedStorageEnum;
|
|
2379
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
2380
|
+
exports.TaskActionOnBlockingInstances = TaskActionOnBlockingInstances;
|
|
2381
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2382
|
+
exports.UpdateOutpostCommand = UpdateOutpostCommand;
|
|
2383
|
+
exports.UpdateSiteAddressCommand = UpdateSiteAddressCommand;
|
|
2384
|
+
exports.UpdateSiteCommand = UpdateSiteCommand;
|
|
2385
|
+
exports.UpdateSiteRackPhysicalPropertiesCommand = UpdateSiteRackPhysicalPropertiesCommand;
|
|
2386
|
+
exports.UplinkCount = UplinkCount;
|
|
2387
|
+
exports.UplinkGbps = UplinkGbps;
|
|
2388
|
+
exports.ValidationException = ValidationException;
|
|
2389
|
+
exports.paginateGetOutpostBillingInformation = paginateGetOutpostBillingInformation;
|
|
2390
|
+
exports.paginateGetOutpostInstanceTypes = paginateGetOutpostInstanceTypes;
|
|
2391
|
+
exports.paginateGetOutpostSupportedInstanceTypes = paginateGetOutpostSupportedInstanceTypes;
|
|
2392
|
+
exports.paginateListAssetInstances = paginateListAssetInstances;
|
|
2393
|
+
exports.paginateListAssets = paginateListAssets;
|
|
2394
|
+
exports.paginateListBlockingInstancesForCapacityTask = paginateListBlockingInstancesForCapacityTask;
|
|
2395
|
+
exports.paginateListCapacityTasks = paginateListCapacityTasks;
|
|
2396
|
+
exports.paginateListCatalogItems = paginateListCatalogItems;
|
|
2397
|
+
exports.paginateListOrders = paginateListOrders;
|
|
2398
|
+
exports.paginateListOutposts = paginateListOutposts;
|
|
2399
|
+
exports.paginateListSites = paginateListSites;
|