@aws-sdk/client-m2 3.489.0 → 3.495.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/dist-cjs/M2.js +1 -77
- package/dist-cjs/M2Client.js +1 -43
- package/dist-cjs/commands/CancelBatchJobExecutionCommand.js +1 -28
- package/dist-cjs/commands/CreateApplicationCommand.js +1 -28
- package/dist-cjs/commands/CreateDataSetImportTaskCommand.js +1 -28
- package/dist-cjs/commands/CreateDeploymentCommand.js +1 -28
- package/dist-cjs/commands/CreateEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/DeleteApplicationCommand.js +1 -28
- package/dist-cjs/commands/DeleteApplicationFromEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/GetApplicationCommand.js +1 -28
- package/dist-cjs/commands/GetApplicationVersionCommand.js +1 -28
- package/dist-cjs/commands/GetBatchJobExecutionCommand.js +1 -28
- package/dist-cjs/commands/GetDataSetDetailsCommand.js +1 -28
- package/dist-cjs/commands/GetDataSetImportTaskCommand.js +1 -28
- package/dist-cjs/commands/GetDeploymentCommand.js +1 -28
- package/dist-cjs/commands/GetEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/GetSignedBluinsightsUrlCommand.js +1 -28
- package/dist-cjs/commands/ListApplicationVersionsCommand.js +1 -28
- package/dist-cjs/commands/ListApplicationsCommand.js +1 -28
- package/dist-cjs/commands/ListBatchJobDefinitionsCommand.js +1 -28
- package/dist-cjs/commands/ListBatchJobExecutionsCommand.js +1 -28
- package/dist-cjs/commands/ListDataSetImportHistoryCommand.js +1 -28
- package/dist-cjs/commands/ListDataSetsCommand.js +1 -28
- package/dist-cjs/commands/ListDeploymentsCommand.js +1 -28
- package/dist-cjs/commands/ListEngineVersionsCommand.js +1 -28
- package/dist-cjs/commands/ListEnvironmentsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/StartApplicationCommand.js +1 -28
- package/dist-cjs/commands/StartBatchJobCommand.js +1 -28
- package/dist-cjs/commands/StopApplicationCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateApplicationCommand.js +1 -28
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -36
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3675 -11
- package/dist-cjs/models/M2ServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -306
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListApplicationVersionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListApplicationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListBatchJobDefinitionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListBatchJobExecutionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListDataSetImportHistoryPaginator.js +1 -7
- package/dist-cjs/pagination/ListDataSetsPaginator.js +1 -7
- package/dist-cjs/pagination/ListDeploymentsPaginator.js +1 -7
- package/dist-cjs/pagination/ListEngineVersionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -13
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2485
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,3676 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
ApplicationDeploymentLifecycle: () => ApplicationDeploymentLifecycle,
|
|
26
|
+
ApplicationLifecycle: () => ApplicationLifecycle,
|
|
27
|
+
ApplicationVersionLifecycle: () => ApplicationVersionLifecycle,
|
|
28
|
+
BatchJobDefinition: () => BatchJobDefinition,
|
|
29
|
+
BatchJobExecutionStatus: () => BatchJobExecutionStatus,
|
|
30
|
+
BatchJobIdentifier: () => BatchJobIdentifier,
|
|
31
|
+
BatchJobType: () => BatchJobType,
|
|
32
|
+
CancelBatchJobExecutionCommand: () => CancelBatchJobExecutionCommand,
|
|
33
|
+
ConflictException: () => ConflictException,
|
|
34
|
+
CreateApplicationCommand: () => CreateApplicationCommand,
|
|
35
|
+
CreateDataSetImportTaskCommand: () => CreateDataSetImportTaskCommand,
|
|
36
|
+
CreateDeploymentCommand: () => CreateDeploymentCommand,
|
|
37
|
+
CreateEnvironmentCommand: () => CreateEnvironmentCommand,
|
|
38
|
+
DataSetImportConfig: () => DataSetImportConfig,
|
|
39
|
+
DataSetTaskLifecycle: () => DataSetTaskLifecycle,
|
|
40
|
+
DatasetDetailOrgAttributes: () => DatasetDetailOrgAttributes,
|
|
41
|
+
DatasetOrgAttributes: () => DatasetOrgAttributes,
|
|
42
|
+
Definition: () => Definition,
|
|
43
|
+
DeleteApplicationCommand: () => DeleteApplicationCommand,
|
|
44
|
+
DeleteApplicationFromEnvironmentCommand: () => DeleteApplicationFromEnvironmentCommand,
|
|
45
|
+
DeleteEnvironmentCommand: () => DeleteEnvironmentCommand,
|
|
46
|
+
DeploymentLifecycle: () => DeploymentLifecycle,
|
|
47
|
+
EngineType: () => EngineType,
|
|
48
|
+
EnvironmentLifecycle: () => EnvironmentLifecycle,
|
|
49
|
+
ExecutionTimeoutException: () => ExecutionTimeoutException,
|
|
50
|
+
ExternalLocation: () => ExternalLocation,
|
|
51
|
+
GetApplicationCommand: () => GetApplicationCommand,
|
|
52
|
+
GetApplicationVersionCommand: () => GetApplicationVersionCommand,
|
|
53
|
+
GetBatchJobExecutionCommand: () => GetBatchJobExecutionCommand,
|
|
54
|
+
GetDataSetDetailsCommand: () => GetDataSetDetailsCommand,
|
|
55
|
+
GetDataSetImportTaskCommand: () => GetDataSetImportTaskCommand,
|
|
56
|
+
GetDeploymentCommand: () => GetDeploymentCommand,
|
|
57
|
+
GetEnvironmentCommand: () => GetEnvironmentCommand,
|
|
58
|
+
GetSignedBluinsightsUrlCommand: () => GetSignedBluinsightsUrlCommand,
|
|
59
|
+
InternalServerException: () => InternalServerException,
|
|
60
|
+
JobIdentifier: () => JobIdentifier,
|
|
61
|
+
ListApplicationVersionsCommand: () => ListApplicationVersionsCommand,
|
|
62
|
+
ListApplicationsCommand: () => ListApplicationsCommand,
|
|
63
|
+
ListBatchJobDefinitionsCommand: () => ListBatchJobDefinitionsCommand,
|
|
64
|
+
ListBatchJobExecutionsCommand: () => ListBatchJobExecutionsCommand,
|
|
65
|
+
ListDataSetImportHistoryCommand: () => ListDataSetImportHistoryCommand,
|
|
66
|
+
ListDataSetsCommand: () => ListDataSetsCommand,
|
|
67
|
+
ListDeploymentsCommand: () => ListDeploymentsCommand,
|
|
68
|
+
ListEngineVersionsCommand: () => ListEngineVersionsCommand,
|
|
69
|
+
ListEnvironmentsCommand: () => ListEnvironmentsCommand,
|
|
70
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
71
|
+
M2: () => M2,
|
|
72
|
+
M2Client: () => M2Client,
|
|
73
|
+
M2ServiceException: () => M2ServiceException,
|
|
74
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
75
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
76
|
+
ServiceUnavailableException: () => ServiceUnavailableException,
|
|
77
|
+
StartApplicationCommand: () => StartApplicationCommand,
|
|
78
|
+
StartBatchJobCommand: () => StartBatchJobCommand,
|
|
79
|
+
StopApplicationCommand: () => StopApplicationCommand,
|
|
80
|
+
StorageConfiguration: () => StorageConfiguration,
|
|
81
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
82
|
+
ThrottlingException: () => ThrottlingException,
|
|
83
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
84
|
+
UpdateApplicationCommand: () => UpdateApplicationCommand,
|
|
85
|
+
UpdateEnvironmentCommand: () => UpdateEnvironmentCommand,
|
|
86
|
+
ValidationException: () => ValidationException,
|
|
87
|
+
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
88
|
+
__Client: () => import_smithy_client.Client,
|
|
89
|
+
paginateListApplicationVersions: () => paginateListApplicationVersions,
|
|
90
|
+
paginateListApplications: () => paginateListApplications,
|
|
91
|
+
paginateListBatchJobDefinitions: () => paginateListBatchJobDefinitions,
|
|
92
|
+
paginateListBatchJobExecutions: () => paginateListBatchJobExecutions,
|
|
93
|
+
paginateListDataSetImportHistory: () => paginateListDataSetImportHistory,
|
|
94
|
+
paginateListDataSets: () => paginateListDataSets,
|
|
95
|
+
paginateListDeployments: () => paginateListDeployments,
|
|
96
|
+
paginateListEngineVersions: () => paginateListEngineVersions,
|
|
97
|
+
paginateListEnvironments: () => paginateListEnvironments
|
|
98
|
+
});
|
|
99
|
+
module.exports = __toCommonJS(src_exports);
|
|
100
|
+
|
|
101
|
+
// src/M2Client.ts
|
|
102
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
103
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
104
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
105
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
106
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
107
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
108
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
109
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
110
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
// src/endpoint/EndpointParameters.ts
|
|
114
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
115
|
+
return {
|
|
116
|
+
...options,
|
|
117
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
118
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
119
|
+
defaultSigningName: "m2"
|
|
120
|
+
};
|
|
121
|
+
}, "resolveClientEndpointParameters");
|
|
122
|
+
var commonParams = {
|
|
123
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
124
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
125
|
+
Region: { type: "builtInParams", name: "region" },
|
|
126
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
// src/M2Client.ts
|
|
130
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
131
|
+
|
|
132
|
+
// src/runtimeExtensions.ts
|
|
133
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
134
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
135
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
136
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
137
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
138
|
+
const extensionConfiguration = {
|
|
139
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
140
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
141
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
142
|
+
};
|
|
143
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
144
|
+
return {
|
|
145
|
+
...runtimeConfig,
|
|
146
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
147
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
148
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
149
|
+
};
|
|
150
|
+
}, "resolveRuntimeExtensions");
|
|
151
|
+
|
|
152
|
+
// src/M2Client.ts
|
|
153
|
+
var _M2Client = class _M2Client extends import_smithy_client.Client {
|
|
154
|
+
constructor(...[configuration]) {
|
|
155
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
156
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
157
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
158
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
159
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
160
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
161
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
162
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
163
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
164
|
+
super(_config_8);
|
|
165
|
+
this.config = _config_8;
|
|
166
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
167
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
168
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
169
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
170
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
171
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
172
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
176
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
177
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
178
|
+
*/
|
|
179
|
+
destroy() {
|
|
180
|
+
super.destroy();
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
__name(_M2Client, "M2Client");
|
|
184
|
+
var M2Client = _M2Client;
|
|
185
|
+
|
|
186
|
+
// src/M2.ts
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
// src/commands/CancelBatchJobExecutionCommand.ts
|
|
190
|
+
|
|
191
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
192
|
+
|
|
193
|
+
var import_types = require("@smithy/types");
|
|
194
|
+
|
|
195
|
+
// src/protocols/Aws_restJson1.ts
|
|
196
|
+
var import_core = require("@aws-sdk/core");
|
|
197
|
+
var import_core2 = require("@smithy/core");
|
|
198
|
+
|
|
199
|
+
var import_uuid = require("uuid");
|
|
200
|
+
|
|
201
|
+
// src/models/M2ServiceException.ts
|
|
202
|
+
|
|
203
|
+
var _M2ServiceException = class _M2ServiceException extends import_smithy_client.ServiceException {
|
|
204
|
+
/**
|
|
205
|
+
* @internal
|
|
206
|
+
*/
|
|
207
|
+
constructor(options) {
|
|
208
|
+
super(options);
|
|
209
|
+
Object.setPrototypeOf(this, _M2ServiceException.prototype);
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
__name(_M2ServiceException, "M2ServiceException");
|
|
213
|
+
var M2ServiceException = _M2ServiceException;
|
|
214
|
+
|
|
215
|
+
// src/models/models_0.ts
|
|
216
|
+
var _AccessDeniedException = class _AccessDeniedException extends M2ServiceException {
|
|
217
|
+
/**
|
|
218
|
+
* @internal
|
|
219
|
+
*/
|
|
220
|
+
constructor(opts) {
|
|
221
|
+
super({
|
|
222
|
+
name: "AccessDeniedException",
|
|
223
|
+
$fault: "client",
|
|
224
|
+
...opts
|
|
225
|
+
});
|
|
226
|
+
this.name = "AccessDeniedException";
|
|
227
|
+
this.$fault = "client";
|
|
228
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
232
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
233
|
+
var _ConflictException = class _ConflictException extends M2ServiceException {
|
|
234
|
+
/**
|
|
235
|
+
* @internal
|
|
236
|
+
*/
|
|
237
|
+
constructor(opts) {
|
|
238
|
+
super({
|
|
239
|
+
name: "ConflictException",
|
|
240
|
+
$fault: "client",
|
|
241
|
+
...opts
|
|
242
|
+
});
|
|
243
|
+
this.name = "ConflictException";
|
|
244
|
+
this.$fault = "client";
|
|
245
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
246
|
+
this.resourceId = opts.resourceId;
|
|
247
|
+
this.resourceType = opts.resourceType;
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
__name(_ConflictException, "ConflictException");
|
|
251
|
+
var ConflictException = _ConflictException;
|
|
252
|
+
var _InternalServerException = class _InternalServerException extends M2ServiceException {
|
|
253
|
+
/**
|
|
254
|
+
* @internal
|
|
255
|
+
*/
|
|
256
|
+
constructor(opts) {
|
|
257
|
+
super({
|
|
258
|
+
name: "InternalServerException",
|
|
259
|
+
$fault: "server",
|
|
260
|
+
...opts
|
|
261
|
+
});
|
|
262
|
+
this.name = "InternalServerException";
|
|
263
|
+
this.$fault = "server";
|
|
264
|
+
this.$retryable = {};
|
|
265
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
266
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
__name(_InternalServerException, "InternalServerException");
|
|
270
|
+
var InternalServerException = _InternalServerException;
|
|
271
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends M2ServiceException {
|
|
272
|
+
/**
|
|
273
|
+
* @internal
|
|
274
|
+
*/
|
|
275
|
+
constructor(opts) {
|
|
276
|
+
super({
|
|
277
|
+
name: "ResourceNotFoundException",
|
|
278
|
+
$fault: "client",
|
|
279
|
+
...opts
|
|
280
|
+
});
|
|
281
|
+
this.name = "ResourceNotFoundException";
|
|
282
|
+
this.$fault = "client";
|
|
283
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
284
|
+
this.resourceId = opts.resourceId;
|
|
285
|
+
this.resourceType = opts.resourceType;
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
289
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
290
|
+
var _ThrottlingException = class _ThrottlingException extends M2ServiceException {
|
|
291
|
+
/**
|
|
292
|
+
* @internal
|
|
293
|
+
*/
|
|
294
|
+
constructor(opts) {
|
|
295
|
+
super({
|
|
296
|
+
name: "ThrottlingException",
|
|
297
|
+
$fault: "client",
|
|
298
|
+
...opts
|
|
299
|
+
});
|
|
300
|
+
this.name = "ThrottlingException";
|
|
301
|
+
this.$fault = "client";
|
|
302
|
+
this.$retryable = {
|
|
303
|
+
throttling: true
|
|
304
|
+
};
|
|
305
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
306
|
+
this.serviceCode = opts.serviceCode;
|
|
307
|
+
this.quotaCode = opts.quotaCode;
|
|
308
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
312
|
+
var ThrottlingException = _ThrottlingException;
|
|
313
|
+
var ValidationExceptionReason = {
|
|
314
|
+
CANNOT_PARSE: "cannotParse",
|
|
315
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
316
|
+
OTHER: "other",
|
|
317
|
+
UNKNOWN_OPERATION: "unknownOperation"
|
|
318
|
+
};
|
|
319
|
+
var _ValidationException = class _ValidationException extends M2ServiceException {
|
|
320
|
+
/**
|
|
321
|
+
* @internal
|
|
322
|
+
*/
|
|
323
|
+
constructor(opts) {
|
|
324
|
+
super({
|
|
325
|
+
name: "ValidationException",
|
|
326
|
+
$fault: "client",
|
|
327
|
+
...opts
|
|
328
|
+
});
|
|
329
|
+
this.name = "ValidationException";
|
|
330
|
+
this.$fault = "client";
|
|
331
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
332
|
+
this.reason = opts.reason;
|
|
333
|
+
this.fieldList = opts.fieldList;
|
|
334
|
+
}
|
|
335
|
+
};
|
|
336
|
+
__name(_ValidationException, "ValidationException");
|
|
337
|
+
var ValidationException = _ValidationException;
|
|
338
|
+
var Definition;
|
|
339
|
+
((Definition3) => {
|
|
340
|
+
Definition3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
341
|
+
if (value.s3Location !== void 0)
|
|
342
|
+
return visitor.s3Location(value.s3Location);
|
|
343
|
+
if (value.content !== void 0)
|
|
344
|
+
return visitor.content(value.content);
|
|
345
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
346
|
+
}, "visit");
|
|
347
|
+
})(Definition || (Definition = {}));
|
|
348
|
+
var EngineType = {
|
|
349
|
+
BLUAGE: "bluage",
|
|
350
|
+
MICROFOCUS: "microfocus"
|
|
351
|
+
};
|
|
352
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends M2ServiceException {
|
|
353
|
+
/**
|
|
354
|
+
* @internal
|
|
355
|
+
*/
|
|
356
|
+
constructor(opts) {
|
|
357
|
+
super({
|
|
358
|
+
name: "ServiceQuotaExceededException",
|
|
359
|
+
$fault: "client",
|
|
360
|
+
...opts
|
|
361
|
+
});
|
|
362
|
+
this.name = "ServiceQuotaExceededException";
|
|
363
|
+
this.$fault = "client";
|
|
364
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
365
|
+
this.resourceId = opts.resourceId;
|
|
366
|
+
this.resourceType = opts.resourceType;
|
|
367
|
+
this.serviceCode = opts.serviceCode;
|
|
368
|
+
this.quotaCode = opts.quotaCode;
|
|
369
|
+
}
|
|
370
|
+
};
|
|
371
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
372
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
373
|
+
var DatasetOrgAttributes;
|
|
374
|
+
((DatasetOrgAttributes3) => {
|
|
375
|
+
DatasetOrgAttributes3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
376
|
+
if (value.vsam !== void 0)
|
|
377
|
+
return visitor.vsam(value.vsam);
|
|
378
|
+
if (value.gdg !== void 0)
|
|
379
|
+
return visitor.gdg(value.gdg);
|
|
380
|
+
if (value.po !== void 0)
|
|
381
|
+
return visitor.po(value.po);
|
|
382
|
+
if (value.ps !== void 0)
|
|
383
|
+
return visitor.ps(value.ps);
|
|
384
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
385
|
+
}, "visit");
|
|
386
|
+
})(DatasetOrgAttributes || (DatasetOrgAttributes = {}));
|
|
387
|
+
var ExternalLocation;
|
|
388
|
+
((ExternalLocation3) => {
|
|
389
|
+
ExternalLocation3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
390
|
+
if (value.s3Location !== void 0)
|
|
391
|
+
return visitor.s3Location(value.s3Location);
|
|
392
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
393
|
+
}, "visit");
|
|
394
|
+
})(ExternalLocation || (ExternalLocation = {}));
|
|
395
|
+
var DataSetImportConfig;
|
|
396
|
+
((DataSetImportConfig3) => {
|
|
397
|
+
DataSetImportConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
398
|
+
if (value.s3Location !== void 0)
|
|
399
|
+
return visitor.s3Location(value.s3Location);
|
|
400
|
+
if (value.dataSets !== void 0)
|
|
401
|
+
return visitor.dataSets(value.dataSets);
|
|
402
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
403
|
+
}, "visit");
|
|
404
|
+
})(DataSetImportConfig || (DataSetImportConfig = {}));
|
|
405
|
+
var DeploymentLifecycle = {
|
|
406
|
+
DEPLOYING: "Deploying",
|
|
407
|
+
DEPLOY_UPDATE: "Updating Deployment",
|
|
408
|
+
FAILED: "Failed",
|
|
409
|
+
SUCCEEDED: "Succeeded"
|
|
410
|
+
};
|
|
411
|
+
var ApplicationVersionLifecycle = {
|
|
412
|
+
AVAILABLE: "Available",
|
|
413
|
+
CREATING: "Creating",
|
|
414
|
+
FAILED: "Failed"
|
|
415
|
+
};
|
|
416
|
+
var ApplicationLifecycle = {
|
|
417
|
+
AVAILABLE: "Available",
|
|
418
|
+
CREATED: "Created",
|
|
419
|
+
CREATING: "Creating",
|
|
420
|
+
DELETING: "Deleting",
|
|
421
|
+
DELETING_FROM_ENVIRONMENT: "Deleting From Environment",
|
|
422
|
+
FAILED: "Failed",
|
|
423
|
+
READY: "Ready",
|
|
424
|
+
RUNNING: "Running",
|
|
425
|
+
STARTING: "Starting",
|
|
426
|
+
STOPPED: "Stopped",
|
|
427
|
+
STOPPING: "Stopping"
|
|
428
|
+
};
|
|
429
|
+
var JobIdentifier;
|
|
430
|
+
((JobIdentifier3) => {
|
|
431
|
+
JobIdentifier3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
432
|
+
if (value.fileName !== void 0)
|
|
433
|
+
return visitor.fileName(value.fileName);
|
|
434
|
+
if (value.scriptName !== void 0)
|
|
435
|
+
return visitor.scriptName(value.scriptName);
|
|
436
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
437
|
+
}, "visit");
|
|
438
|
+
})(JobIdentifier || (JobIdentifier = {}));
|
|
439
|
+
var BatchJobIdentifier;
|
|
440
|
+
((BatchJobIdentifier3) => {
|
|
441
|
+
BatchJobIdentifier3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
442
|
+
if (value.fileBatchJobIdentifier !== void 0)
|
|
443
|
+
return visitor.fileBatchJobIdentifier(value.fileBatchJobIdentifier);
|
|
444
|
+
if (value.scriptBatchJobIdentifier !== void 0)
|
|
445
|
+
return visitor.scriptBatchJobIdentifier(value.scriptBatchJobIdentifier);
|
|
446
|
+
if (value.s3BatchJobIdentifier !== void 0)
|
|
447
|
+
return visitor.s3BatchJobIdentifier(value.s3BatchJobIdentifier);
|
|
448
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
449
|
+
}, "visit");
|
|
450
|
+
})(BatchJobIdentifier || (BatchJobIdentifier = {}));
|
|
451
|
+
var BatchJobType = {
|
|
452
|
+
JES2: "JES2",
|
|
453
|
+
JES3: "JES3",
|
|
454
|
+
VSE: "VSE"
|
|
455
|
+
};
|
|
456
|
+
var BatchJobExecutionStatus = {
|
|
457
|
+
CANCELLED: "Cancelled",
|
|
458
|
+
CANCELLING: "Cancelling",
|
|
459
|
+
DISPATCH: "Dispatching",
|
|
460
|
+
FAILED: "Failed",
|
|
461
|
+
HOLDING: "Holding",
|
|
462
|
+
RUNNING: "Running",
|
|
463
|
+
SUBMITTING: "Submitting",
|
|
464
|
+
SUCCEEDED: "Succeeded",
|
|
465
|
+
SUCCEEDED_WITH_WARNING: "Succeeded With Warning"
|
|
466
|
+
};
|
|
467
|
+
var _ExecutionTimeoutException = class _ExecutionTimeoutException extends M2ServiceException {
|
|
468
|
+
/**
|
|
469
|
+
* @internal
|
|
470
|
+
*/
|
|
471
|
+
constructor(opts) {
|
|
472
|
+
super({
|
|
473
|
+
name: "ExecutionTimeoutException",
|
|
474
|
+
$fault: "server",
|
|
475
|
+
...opts
|
|
476
|
+
});
|
|
477
|
+
this.name = "ExecutionTimeoutException";
|
|
478
|
+
this.$fault = "server";
|
|
479
|
+
this.$retryable = {};
|
|
480
|
+
Object.setPrototypeOf(this, _ExecutionTimeoutException.prototype);
|
|
481
|
+
}
|
|
482
|
+
};
|
|
483
|
+
__name(_ExecutionTimeoutException, "ExecutionTimeoutException");
|
|
484
|
+
var ExecutionTimeoutException = _ExecutionTimeoutException;
|
|
485
|
+
var DatasetDetailOrgAttributes;
|
|
486
|
+
((DatasetDetailOrgAttributes2) => {
|
|
487
|
+
DatasetDetailOrgAttributes2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
488
|
+
if (value.vsam !== void 0)
|
|
489
|
+
return visitor.vsam(value.vsam);
|
|
490
|
+
if (value.gdg !== void 0)
|
|
491
|
+
return visitor.gdg(value.gdg);
|
|
492
|
+
if (value.po !== void 0)
|
|
493
|
+
return visitor.po(value.po);
|
|
494
|
+
if (value.ps !== void 0)
|
|
495
|
+
return visitor.ps(value.ps);
|
|
496
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
497
|
+
}, "visit");
|
|
498
|
+
})(DatasetDetailOrgAttributes || (DatasetDetailOrgAttributes = {}));
|
|
499
|
+
var _ServiceUnavailableException = class _ServiceUnavailableException extends M2ServiceException {
|
|
500
|
+
/**
|
|
501
|
+
* @internal
|
|
502
|
+
*/
|
|
503
|
+
constructor(opts) {
|
|
504
|
+
super({
|
|
505
|
+
name: "ServiceUnavailableException",
|
|
506
|
+
$fault: "server",
|
|
507
|
+
...opts
|
|
508
|
+
});
|
|
509
|
+
this.name = "ServiceUnavailableException";
|
|
510
|
+
this.$fault = "server";
|
|
511
|
+
this.$retryable = {};
|
|
512
|
+
Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
|
|
513
|
+
}
|
|
514
|
+
};
|
|
515
|
+
__name(_ServiceUnavailableException, "ServiceUnavailableException");
|
|
516
|
+
var ServiceUnavailableException = _ServiceUnavailableException;
|
|
517
|
+
var DataSetTaskLifecycle = {
|
|
518
|
+
COMPLETED: "Completed",
|
|
519
|
+
CREATING: "Creating",
|
|
520
|
+
FAILED: "Failed",
|
|
521
|
+
RUNNING: "Running"
|
|
522
|
+
};
|
|
523
|
+
var ApplicationDeploymentLifecycle = {
|
|
524
|
+
DEPLOYED: "Deployed",
|
|
525
|
+
DEPLOYING: "Deploying"
|
|
526
|
+
};
|
|
527
|
+
var BatchJobDefinition;
|
|
528
|
+
((BatchJobDefinition2) => {
|
|
529
|
+
BatchJobDefinition2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
530
|
+
if (value.fileBatchJobDefinition !== void 0)
|
|
531
|
+
return visitor.fileBatchJobDefinition(value.fileBatchJobDefinition);
|
|
532
|
+
if (value.scriptBatchJobDefinition !== void 0)
|
|
533
|
+
return visitor.scriptBatchJobDefinition(value.scriptBatchJobDefinition);
|
|
534
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
535
|
+
}, "visit");
|
|
536
|
+
})(BatchJobDefinition || (BatchJobDefinition = {}));
|
|
537
|
+
var StorageConfiguration;
|
|
538
|
+
((StorageConfiguration2) => {
|
|
539
|
+
StorageConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
540
|
+
if (value.efs !== void 0)
|
|
541
|
+
return visitor.efs(value.efs);
|
|
542
|
+
if (value.fsx !== void 0)
|
|
543
|
+
return visitor.fsx(value.fsx);
|
|
544
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
545
|
+
}, "visit");
|
|
546
|
+
})(StorageConfiguration || (StorageConfiguration = {}));
|
|
547
|
+
var EnvironmentLifecycle = {
|
|
548
|
+
AVAILABLE: "Available",
|
|
549
|
+
CREATING: "Creating",
|
|
550
|
+
DELETING: "Deleting",
|
|
551
|
+
FAILED: "Failed",
|
|
552
|
+
UPDATING: "Updating"
|
|
553
|
+
};
|
|
554
|
+
|
|
555
|
+
// src/protocols/Aws_restJson1.ts
|
|
556
|
+
var se_CancelBatchJobExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
557
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
558
|
+
const headers = {};
|
|
559
|
+
b.bp("/applications/{applicationId}/batch-job-executions/{executionId}/cancel");
|
|
560
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
561
|
+
b.p("executionId", () => input.executionId, "{executionId}", false);
|
|
562
|
+
let body;
|
|
563
|
+
b.m("POST").h(headers).b(body);
|
|
564
|
+
return b.build();
|
|
565
|
+
}, "se_CancelBatchJobExecutionCommand");
|
|
566
|
+
var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
567
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
568
|
+
const headers = {
|
|
569
|
+
"content-type": "application/json"
|
|
570
|
+
};
|
|
571
|
+
b.bp("/applications");
|
|
572
|
+
let body;
|
|
573
|
+
body = JSON.stringify(
|
|
574
|
+
(0, import_smithy_client.take)(input, {
|
|
575
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
576
|
+
definition: (_) => (0, import_smithy_client._json)(_),
|
|
577
|
+
description: [],
|
|
578
|
+
engineType: [],
|
|
579
|
+
kmsKeyId: [],
|
|
580
|
+
name: [],
|
|
581
|
+
roleArn: [],
|
|
582
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
583
|
+
})
|
|
584
|
+
);
|
|
585
|
+
b.m("POST").h(headers).b(body);
|
|
586
|
+
return b.build();
|
|
587
|
+
}, "se_CreateApplicationCommand");
|
|
588
|
+
var se_CreateDataSetImportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
589
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
590
|
+
const headers = {
|
|
591
|
+
"content-type": "application/json"
|
|
592
|
+
};
|
|
593
|
+
b.bp("/applications/{applicationId}/dataset-import-task");
|
|
594
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
595
|
+
let body;
|
|
596
|
+
body = JSON.stringify(
|
|
597
|
+
(0, import_smithy_client.take)(input, {
|
|
598
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
599
|
+
importConfig: (_) => (0, import_smithy_client._json)(_)
|
|
600
|
+
})
|
|
601
|
+
);
|
|
602
|
+
b.m("POST").h(headers).b(body);
|
|
603
|
+
return b.build();
|
|
604
|
+
}, "se_CreateDataSetImportTaskCommand");
|
|
605
|
+
var se_CreateDeploymentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
606
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
607
|
+
const headers = {
|
|
608
|
+
"content-type": "application/json"
|
|
609
|
+
};
|
|
610
|
+
b.bp("/applications/{applicationId}/deployments");
|
|
611
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
612
|
+
let body;
|
|
613
|
+
body = JSON.stringify(
|
|
614
|
+
(0, import_smithy_client.take)(input, {
|
|
615
|
+
applicationVersion: [],
|
|
616
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
617
|
+
environmentId: []
|
|
618
|
+
})
|
|
619
|
+
);
|
|
620
|
+
b.m("POST").h(headers).b(body);
|
|
621
|
+
return b.build();
|
|
622
|
+
}, "se_CreateDeploymentCommand");
|
|
623
|
+
var se_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
624
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
625
|
+
const headers = {
|
|
626
|
+
"content-type": "application/json"
|
|
627
|
+
};
|
|
628
|
+
b.bp("/environments");
|
|
629
|
+
let body;
|
|
630
|
+
body = JSON.stringify(
|
|
631
|
+
(0, import_smithy_client.take)(input, {
|
|
632
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
633
|
+
description: [],
|
|
634
|
+
engineType: [],
|
|
635
|
+
engineVersion: [],
|
|
636
|
+
highAvailabilityConfig: (_) => (0, import_smithy_client._json)(_),
|
|
637
|
+
instanceType: [],
|
|
638
|
+
kmsKeyId: [],
|
|
639
|
+
name: [],
|
|
640
|
+
preferredMaintenanceWindow: [],
|
|
641
|
+
publiclyAccessible: [],
|
|
642
|
+
securityGroupIds: (_) => (0, import_smithy_client._json)(_),
|
|
643
|
+
storageConfigurations: (_) => se_StorageConfigurationList(_, context),
|
|
644
|
+
subnetIds: (_) => (0, import_smithy_client._json)(_),
|
|
645
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
646
|
+
})
|
|
647
|
+
);
|
|
648
|
+
b.m("POST").h(headers).b(body);
|
|
649
|
+
return b.build();
|
|
650
|
+
}, "se_CreateEnvironmentCommand");
|
|
651
|
+
var se_DeleteApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
652
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
653
|
+
const headers = {};
|
|
654
|
+
b.bp("/applications/{applicationId}");
|
|
655
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
656
|
+
let body;
|
|
657
|
+
b.m("DELETE").h(headers).b(body);
|
|
658
|
+
return b.build();
|
|
659
|
+
}, "se_DeleteApplicationCommand");
|
|
660
|
+
var se_DeleteApplicationFromEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
661
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
662
|
+
const headers = {};
|
|
663
|
+
b.bp("/applications/{applicationId}/environment/{environmentId}");
|
|
664
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
665
|
+
b.p("environmentId", () => input.environmentId, "{environmentId}", false);
|
|
666
|
+
let body;
|
|
667
|
+
b.m("DELETE").h(headers).b(body);
|
|
668
|
+
return b.build();
|
|
669
|
+
}, "se_DeleteApplicationFromEnvironmentCommand");
|
|
670
|
+
var se_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
671
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
672
|
+
const headers = {};
|
|
673
|
+
b.bp("/environments/{environmentId}");
|
|
674
|
+
b.p("environmentId", () => input.environmentId, "{environmentId}", false);
|
|
675
|
+
let body;
|
|
676
|
+
b.m("DELETE").h(headers).b(body);
|
|
677
|
+
return b.build();
|
|
678
|
+
}, "se_DeleteEnvironmentCommand");
|
|
679
|
+
var se_GetApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
680
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
681
|
+
const headers = {};
|
|
682
|
+
b.bp("/applications/{applicationId}");
|
|
683
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
684
|
+
let body;
|
|
685
|
+
b.m("GET").h(headers).b(body);
|
|
686
|
+
return b.build();
|
|
687
|
+
}, "se_GetApplicationCommand");
|
|
688
|
+
var se_GetApplicationVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
689
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
690
|
+
const headers = {};
|
|
691
|
+
b.bp("/applications/{applicationId}/versions/{applicationVersion}");
|
|
692
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
693
|
+
b.p("applicationVersion", () => input.applicationVersion.toString(), "{applicationVersion}", false);
|
|
694
|
+
let body;
|
|
695
|
+
b.m("GET").h(headers).b(body);
|
|
696
|
+
return b.build();
|
|
697
|
+
}, "se_GetApplicationVersionCommand");
|
|
698
|
+
var se_GetBatchJobExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
699
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
700
|
+
const headers = {};
|
|
701
|
+
b.bp("/applications/{applicationId}/batch-job-executions/{executionId}");
|
|
702
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
703
|
+
b.p("executionId", () => input.executionId, "{executionId}", false);
|
|
704
|
+
let body;
|
|
705
|
+
b.m("GET").h(headers).b(body);
|
|
706
|
+
return b.build();
|
|
707
|
+
}, "se_GetBatchJobExecutionCommand");
|
|
708
|
+
var se_GetDataSetDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
709
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
710
|
+
const headers = {};
|
|
711
|
+
b.bp("/applications/{applicationId}/datasets/{dataSetName}");
|
|
712
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
713
|
+
b.p("dataSetName", () => input.dataSetName, "{dataSetName}", false);
|
|
714
|
+
let body;
|
|
715
|
+
b.m("GET").h(headers).b(body);
|
|
716
|
+
return b.build();
|
|
717
|
+
}, "se_GetDataSetDetailsCommand");
|
|
718
|
+
var se_GetDataSetImportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
719
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
720
|
+
const headers = {};
|
|
721
|
+
b.bp("/applications/{applicationId}/dataset-import-tasks/{taskId}");
|
|
722
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
723
|
+
b.p("taskId", () => input.taskId, "{taskId}", false);
|
|
724
|
+
let body;
|
|
725
|
+
b.m("GET").h(headers).b(body);
|
|
726
|
+
return b.build();
|
|
727
|
+
}, "se_GetDataSetImportTaskCommand");
|
|
728
|
+
var se_GetDeploymentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
729
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
730
|
+
const headers = {};
|
|
731
|
+
b.bp("/applications/{applicationId}/deployments/{deploymentId}");
|
|
732
|
+
b.p("deploymentId", () => input.deploymentId, "{deploymentId}", false);
|
|
733
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
734
|
+
let body;
|
|
735
|
+
b.m("GET").h(headers).b(body);
|
|
736
|
+
return b.build();
|
|
737
|
+
}, "se_GetDeploymentCommand");
|
|
738
|
+
var se_GetEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
739
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
740
|
+
const headers = {};
|
|
741
|
+
b.bp("/environments/{environmentId}");
|
|
742
|
+
b.p("environmentId", () => input.environmentId, "{environmentId}", false);
|
|
743
|
+
let body;
|
|
744
|
+
b.m("GET").h(headers).b(body);
|
|
745
|
+
return b.build();
|
|
746
|
+
}, "se_GetEnvironmentCommand");
|
|
747
|
+
var se_GetSignedBluinsightsUrlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
748
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
749
|
+
const headers = {
|
|
750
|
+
"content-type": "application/json"
|
|
751
|
+
};
|
|
752
|
+
b.bp("/signed-bi-url");
|
|
753
|
+
let body;
|
|
754
|
+
body = "";
|
|
755
|
+
b.m("GET").h(headers).b(body);
|
|
756
|
+
return b.build();
|
|
757
|
+
}, "se_GetSignedBluinsightsUrlCommand");
|
|
758
|
+
var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
759
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
760
|
+
const headers = {};
|
|
761
|
+
b.bp("/applications");
|
|
762
|
+
const query = (0, import_smithy_client.map)({
|
|
763
|
+
[_nT]: [, input[_nT]],
|
|
764
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
765
|
+
[_n]: [() => input.names !== void 0, () => (input[_n] || []).map((_entry) => _entry)],
|
|
766
|
+
[_eI]: [, input[_eI]]
|
|
767
|
+
});
|
|
768
|
+
let body;
|
|
769
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
770
|
+
return b.build();
|
|
771
|
+
}, "se_ListApplicationsCommand");
|
|
772
|
+
var se_ListApplicationVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
773
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
774
|
+
const headers = {};
|
|
775
|
+
b.bp("/applications/{applicationId}/versions");
|
|
776
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
777
|
+
const query = (0, import_smithy_client.map)({
|
|
778
|
+
[_nT]: [, input[_nT]],
|
|
779
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
780
|
+
});
|
|
781
|
+
let body;
|
|
782
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
783
|
+
return b.build();
|
|
784
|
+
}, "se_ListApplicationVersionsCommand");
|
|
785
|
+
var se_ListBatchJobDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
786
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
787
|
+
const headers = {};
|
|
788
|
+
b.bp("/applications/{applicationId}/batch-job-definitions");
|
|
789
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
790
|
+
const query = (0, import_smithy_client.map)({
|
|
791
|
+
[_nT]: [, input[_nT]],
|
|
792
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
793
|
+
[_p]: [, input[_p]]
|
|
794
|
+
});
|
|
795
|
+
let body;
|
|
796
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
797
|
+
return b.build();
|
|
798
|
+
}, "se_ListBatchJobDefinitionsCommand");
|
|
799
|
+
var se_ListBatchJobExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
800
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
801
|
+
const headers = {};
|
|
802
|
+
b.bp("/applications/{applicationId}/batch-job-executions");
|
|
803
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
804
|
+
const query = (0, import_smithy_client.map)({
|
|
805
|
+
[_nT]: [, input[_nT]],
|
|
806
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
807
|
+
[_eIx]: [() => input.executionIds !== void 0, () => (input[_eIx] || []).map((_entry) => _entry)],
|
|
808
|
+
[_jN]: [, input[_jN]],
|
|
809
|
+
[_s]: [, input[_s]],
|
|
810
|
+
[_sA]: [() => input.startedAfter !== void 0, () => (input[_sA].toISOString().split(".")[0] + "Z").toString()],
|
|
811
|
+
[_sB]: [() => input.startedBefore !== void 0, () => (input[_sB].toISOString().split(".")[0] + "Z").toString()]
|
|
812
|
+
});
|
|
813
|
+
let body;
|
|
814
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
815
|
+
return b.build();
|
|
816
|
+
}, "se_ListBatchJobExecutionsCommand");
|
|
817
|
+
var se_ListDataSetImportHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
818
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
819
|
+
const headers = {};
|
|
820
|
+
b.bp("/applications/{applicationId}/dataset-import-tasks");
|
|
821
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
822
|
+
const query = (0, import_smithy_client.map)({
|
|
823
|
+
[_nT]: [, input[_nT]],
|
|
824
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
825
|
+
});
|
|
826
|
+
let body;
|
|
827
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
828
|
+
return b.build();
|
|
829
|
+
}, "se_ListDataSetImportHistoryCommand");
|
|
830
|
+
var se_ListDataSetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
831
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
832
|
+
const headers = {};
|
|
833
|
+
b.bp("/applications/{applicationId}/datasets");
|
|
834
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
835
|
+
const query = (0, import_smithy_client.map)({
|
|
836
|
+
[_nT]: [, input[_nT]],
|
|
837
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
838
|
+
[_p]: [, input[_p]],
|
|
839
|
+
[_nF]: [, input[_nF]]
|
|
840
|
+
});
|
|
841
|
+
let body;
|
|
842
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
843
|
+
return b.build();
|
|
844
|
+
}, "se_ListDataSetsCommand");
|
|
845
|
+
var se_ListDeploymentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
846
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
847
|
+
const headers = {};
|
|
848
|
+
b.bp("/applications/{applicationId}/deployments");
|
|
849
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
850
|
+
const query = (0, import_smithy_client.map)({
|
|
851
|
+
[_nT]: [, input[_nT]],
|
|
852
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
853
|
+
});
|
|
854
|
+
let body;
|
|
855
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
856
|
+
return b.build();
|
|
857
|
+
}, "se_ListDeploymentsCommand");
|
|
858
|
+
var se_ListEngineVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
859
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
860
|
+
const headers = {};
|
|
861
|
+
b.bp("/engine-versions");
|
|
862
|
+
const query = (0, import_smithy_client.map)({
|
|
863
|
+
[_eT]: [, input[_eT]],
|
|
864
|
+
[_nT]: [, input[_nT]],
|
|
865
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
866
|
+
});
|
|
867
|
+
let body;
|
|
868
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
869
|
+
return b.build();
|
|
870
|
+
}, "se_ListEngineVersionsCommand");
|
|
871
|
+
var se_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
872
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
873
|
+
const headers = {};
|
|
874
|
+
b.bp("/environments");
|
|
875
|
+
const query = (0, import_smithy_client.map)({
|
|
876
|
+
[_nT]: [, input[_nT]],
|
|
877
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
878
|
+
[_n]: [() => input.names !== void 0, () => (input[_n] || []).map((_entry) => _entry)],
|
|
879
|
+
[_eT]: [, input[_eT]]
|
|
880
|
+
});
|
|
881
|
+
let body;
|
|
882
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
883
|
+
return b.build();
|
|
884
|
+
}, "se_ListEnvironmentsCommand");
|
|
885
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
886
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
887
|
+
const headers = {};
|
|
888
|
+
b.bp("/tags/{resourceArn}");
|
|
889
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
890
|
+
let body;
|
|
891
|
+
b.m("GET").h(headers).b(body);
|
|
892
|
+
return b.build();
|
|
893
|
+
}, "se_ListTagsForResourceCommand");
|
|
894
|
+
var se_StartApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
895
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
896
|
+
const headers = {};
|
|
897
|
+
b.bp("/applications/{applicationId}/start");
|
|
898
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
899
|
+
let body;
|
|
900
|
+
b.m("POST").h(headers).b(body);
|
|
901
|
+
return b.build();
|
|
902
|
+
}, "se_StartApplicationCommand");
|
|
903
|
+
var se_StartBatchJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
904
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
905
|
+
const headers = {
|
|
906
|
+
"content-type": "application/json"
|
|
907
|
+
};
|
|
908
|
+
b.bp("/applications/{applicationId}/batch-job");
|
|
909
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
910
|
+
let body;
|
|
911
|
+
body = JSON.stringify(
|
|
912
|
+
(0, import_smithy_client.take)(input, {
|
|
913
|
+
batchJobIdentifier: (_) => (0, import_smithy_client._json)(_),
|
|
914
|
+
jobParams: (_) => (0, import_smithy_client._json)(_)
|
|
915
|
+
})
|
|
916
|
+
);
|
|
917
|
+
b.m("POST").h(headers).b(body);
|
|
918
|
+
return b.build();
|
|
919
|
+
}, "se_StartBatchJobCommand");
|
|
920
|
+
var se_StopApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
921
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
922
|
+
const headers = {
|
|
923
|
+
"content-type": "application/json"
|
|
924
|
+
};
|
|
925
|
+
b.bp("/applications/{applicationId}/stop");
|
|
926
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
927
|
+
let body;
|
|
928
|
+
body = JSON.stringify(
|
|
929
|
+
(0, import_smithy_client.take)(input, {
|
|
930
|
+
forceStop: []
|
|
931
|
+
})
|
|
932
|
+
);
|
|
933
|
+
b.m("POST").h(headers).b(body);
|
|
934
|
+
return b.build();
|
|
935
|
+
}, "se_StopApplicationCommand");
|
|
936
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
937
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
938
|
+
const headers = {
|
|
939
|
+
"content-type": "application/json"
|
|
940
|
+
};
|
|
941
|
+
b.bp("/tags/{resourceArn}");
|
|
942
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
943
|
+
let body;
|
|
944
|
+
body = JSON.stringify(
|
|
945
|
+
(0, import_smithy_client.take)(input, {
|
|
946
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
947
|
+
})
|
|
948
|
+
);
|
|
949
|
+
b.m("POST").h(headers).b(body);
|
|
950
|
+
return b.build();
|
|
951
|
+
}, "se_TagResourceCommand");
|
|
952
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
953
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
954
|
+
const headers = {};
|
|
955
|
+
b.bp("/tags/{resourceArn}");
|
|
956
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
957
|
+
const query = (0, import_smithy_client.map)({
|
|
958
|
+
[_tK]: [
|
|
959
|
+
(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
960
|
+
() => (input[_tK] || []).map((_entry) => _entry)
|
|
961
|
+
]
|
|
962
|
+
});
|
|
963
|
+
let body;
|
|
964
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
965
|
+
return b.build();
|
|
966
|
+
}, "se_UntagResourceCommand");
|
|
967
|
+
var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
968
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
969
|
+
const headers = {
|
|
970
|
+
"content-type": "application/json"
|
|
971
|
+
};
|
|
972
|
+
b.bp("/applications/{applicationId}");
|
|
973
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
974
|
+
let body;
|
|
975
|
+
body = JSON.stringify(
|
|
976
|
+
(0, import_smithy_client.take)(input, {
|
|
977
|
+
currentApplicationVersion: [],
|
|
978
|
+
definition: (_) => (0, import_smithy_client._json)(_),
|
|
979
|
+
description: []
|
|
980
|
+
})
|
|
981
|
+
);
|
|
982
|
+
b.m("PATCH").h(headers).b(body);
|
|
983
|
+
return b.build();
|
|
984
|
+
}, "se_UpdateApplicationCommand");
|
|
985
|
+
var se_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
986
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
987
|
+
const headers = {
|
|
988
|
+
"content-type": "application/json"
|
|
989
|
+
};
|
|
990
|
+
b.bp("/environments/{environmentId}");
|
|
991
|
+
b.p("environmentId", () => input.environmentId, "{environmentId}", false);
|
|
992
|
+
let body;
|
|
993
|
+
body = JSON.stringify(
|
|
994
|
+
(0, import_smithy_client.take)(input, {
|
|
995
|
+
applyDuringMaintenanceWindow: [],
|
|
996
|
+
desiredCapacity: [],
|
|
997
|
+
engineVersion: [],
|
|
998
|
+
forceUpdate: [],
|
|
999
|
+
instanceType: [],
|
|
1000
|
+
preferredMaintenanceWindow: []
|
|
1001
|
+
})
|
|
1002
|
+
);
|
|
1003
|
+
b.m("PATCH").h(headers).b(body);
|
|
1004
|
+
return b.build();
|
|
1005
|
+
}, "se_UpdateEnvironmentCommand");
|
|
1006
|
+
var de_CancelBatchJobExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1007
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1008
|
+
return de_CancelBatchJobExecutionCommandError(output, context);
|
|
1009
|
+
}
|
|
1010
|
+
const contents = (0, import_smithy_client.map)({
|
|
1011
|
+
$metadata: deserializeMetadata(output)
|
|
1012
|
+
});
|
|
1013
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1014
|
+
return contents;
|
|
1015
|
+
}, "de_CancelBatchJobExecutionCommand");
|
|
1016
|
+
var de_CancelBatchJobExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1017
|
+
const parsedOutput = {
|
|
1018
|
+
...output,
|
|
1019
|
+
body: await parseErrorBody(output.body, context)
|
|
1020
|
+
};
|
|
1021
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1022
|
+
switch (errorCode) {
|
|
1023
|
+
case "AccessDeniedException":
|
|
1024
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1025
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1026
|
+
case "ConflictException":
|
|
1027
|
+
case "com.amazonaws.m2#ConflictException":
|
|
1028
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1029
|
+
case "InternalServerException":
|
|
1030
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1031
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1032
|
+
case "ResourceNotFoundException":
|
|
1033
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1034
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1035
|
+
case "ThrottlingException":
|
|
1036
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1037
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1038
|
+
case "ValidationException":
|
|
1039
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1040
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1041
|
+
default:
|
|
1042
|
+
const parsedBody = parsedOutput.body;
|
|
1043
|
+
return throwDefaultError({
|
|
1044
|
+
output,
|
|
1045
|
+
parsedBody,
|
|
1046
|
+
errorCode
|
|
1047
|
+
});
|
|
1048
|
+
}
|
|
1049
|
+
}, "de_CancelBatchJobExecutionCommandError");
|
|
1050
|
+
var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1051
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1052
|
+
return de_CreateApplicationCommandError(output, context);
|
|
1053
|
+
}
|
|
1054
|
+
const contents = (0, import_smithy_client.map)({
|
|
1055
|
+
$metadata: deserializeMetadata(output)
|
|
1056
|
+
});
|
|
1057
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1058
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1059
|
+
applicationArn: import_smithy_client.expectString,
|
|
1060
|
+
applicationId: import_smithy_client.expectString,
|
|
1061
|
+
applicationVersion: import_smithy_client.expectInt32
|
|
1062
|
+
});
|
|
1063
|
+
Object.assign(contents, doc);
|
|
1064
|
+
return contents;
|
|
1065
|
+
}, "de_CreateApplicationCommand");
|
|
1066
|
+
var de_CreateApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1067
|
+
const parsedOutput = {
|
|
1068
|
+
...output,
|
|
1069
|
+
body: await parseErrorBody(output.body, context)
|
|
1070
|
+
};
|
|
1071
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1072
|
+
switch (errorCode) {
|
|
1073
|
+
case "AccessDeniedException":
|
|
1074
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1075
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1076
|
+
case "ConflictException":
|
|
1077
|
+
case "com.amazonaws.m2#ConflictException":
|
|
1078
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1079
|
+
case "InternalServerException":
|
|
1080
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1081
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1082
|
+
case "ServiceQuotaExceededException":
|
|
1083
|
+
case "com.amazonaws.m2#ServiceQuotaExceededException":
|
|
1084
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1085
|
+
case "ThrottlingException":
|
|
1086
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1087
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1088
|
+
case "ValidationException":
|
|
1089
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1090
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1091
|
+
default:
|
|
1092
|
+
const parsedBody = parsedOutput.body;
|
|
1093
|
+
return throwDefaultError({
|
|
1094
|
+
output,
|
|
1095
|
+
parsedBody,
|
|
1096
|
+
errorCode
|
|
1097
|
+
});
|
|
1098
|
+
}
|
|
1099
|
+
}, "de_CreateApplicationCommandError");
|
|
1100
|
+
var de_CreateDataSetImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1101
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1102
|
+
return de_CreateDataSetImportTaskCommandError(output, context);
|
|
1103
|
+
}
|
|
1104
|
+
const contents = (0, import_smithy_client.map)({
|
|
1105
|
+
$metadata: deserializeMetadata(output)
|
|
1106
|
+
});
|
|
1107
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1108
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1109
|
+
taskId: import_smithy_client.expectString
|
|
1110
|
+
});
|
|
1111
|
+
Object.assign(contents, doc);
|
|
1112
|
+
return contents;
|
|
1113
|
+
}, "de_CreateDataSetImportTaskCommand");
|
|
1114
|
+
var de_CreateDataSetImportTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1115
|
+
const parsedOutput = {
|
|
1116
|
+
...output,
|
|
1117
|
+
body: await parseErrorBody(output.body, context)
|
|
1118
|
+
};
|
|
1119
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1120
|
+
switch (errorCode) {
|
|
1121
|
+
case "AccessDeniedException":
|
|
1122
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1123
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1124
|
+
case "ConflictException":
|
|
1125
|
+
case "com.amazonaws.m2#ConflictException":
|
|
1126
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1127
|
+
case "InternalServerException":
|
|
1128
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1129
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1130
|
+
case "ResourceNotFoundException":
|
|
1131
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1132
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1133
|
+
case "ServiceQuotaExceededException":
|
|
1134
|
+
case "com.amazonaws.m2#ServiceQuotaExceededException":
|
|
1135
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1136
|
+
case "ThrottlingException":
|
|
1137
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1138
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1139
|
+
case "ValidationException":
|
|
1140
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1141
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1142
|
+
default:
|
|
1143
|
+
const parsedBody = parsedOutput.body;
|
|
1144
|
+
return throwDefaultError({
|
|
1145
|
+
output,
|
|
1146
|
+
parsedBody,
|
|
1147
|
+
errorCode
|
|
1148
|
+
});
|
|
1149
|
+
}
|
|
1150
|
+
}, "de_CreateDataSetImportTaskCommandError");
|
|
1151
|
+
var de_CreateDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1152
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1153
|
+
return de_CreateDeploymentCommandError(output, context);
|
|
1154
|
+
}
|
|
1155
|
+
const contents = (0, import_smithy_client.map)({
|
|
1156
|
+
$metadata: deserializeMetadata(output)
|
|
1157
|
+
});
|
|
1158
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1159
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1160
|
+
deploymentId: import_smithy_client.expectString
|
|
1161
|
+
});
|
|
1162
|
+
Object.assign(contents, doc);
|
|
1163
|
+
return contents;
|
|
1164
|
+
}, "de_CreateDeploymentCommand");
|
|
1165
|
+
var de_CreateDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1166
|
+
const parsedOutput = {
|
|
1167
|
+
...output,
|
|
1168
|
+
body: await parseErrorBody(output.body, context)
|
|
1169
|
+
};
|
|
1170
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1171
|
+
switch (errorCode) {
|
|
1172
|
+
case "AccessDeniedException":
|
|
1173
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1174
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1175
|
+
case "ConflictException":
|
|
1176
|
+
case "com.amazonaws.m2#ConflictException":
|
|
1177
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1178
|
+
case "InternalServerException":
|
|
1179
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1180
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1181
|
+
case "ResourceNotFoundException":
|
|
1182
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1183
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1184
|
+
case "ServiceQuotaExceededException":
|
|
1185
|
+
case "com.amazonaws.m2#ServiceQuotaExceededException":
|
|
1186
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1187
|
+
case "ThrottlingException":
|
|
1188
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1189
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1190
|
+
case "ValidationException":
|
|
1191
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1192
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1193
|
+
default:
|
|
1194
|
+
const parsedBody = parsedOutput.body;
|
|
1195
|
+
return throwDefaultError({
|
|
1196
|
+
output,
|
|
1197
|
+
parsedBody,
|
|
1198
|
+
errorCode
|
|
1199
|
+
});
|
|
1200
|
+
}
|
|
1201
|
+
}, "de_CreateDeploymentCommandError");
|
|
1202
|
+
var de_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1203
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1204
|
+
return de_CreateEnvironmentCommandError(output, context);
|
|
1205
|
+
}
|
|
1206
|
+
const contents = (0, import_smithy_client.map)({
|
|
1207
|
+
$metadata: deserializeMetadata(output)
|
|
1208
|
+
});
|
|
1209
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1210
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1211
|
+
environmentId: import_smithy_client.expectString
|
|
1212
|
+
});
|
|
1213
|
+
Object.assign(contents, doc);
|
|
1214
|
+
return contents;
|
|
1215
|
+
}, "de_CreateEnvironmentCommand");
|
|
1216
|
+
var de_CreateEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1217
|
+
const parsedOutput = {
|
|
1218
|
+
...output,
|
|
1219
|
+
body: await parseErrorBody(output.body, context)
|
|
1220
|
+
};
|
|
1221
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1222
|
+
switch (errorCode) {
|
|
1223
|
+
case "AccessDeniedException":
|
|
1224
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1225
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1226
|
+
case "ConflictException":
|
|
1227
|
+
case "com.amazonaws.m2#ConflictException":
|
|
1228
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1229
|
+
case "InternalServerException":
|
|
1230
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1231
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1232
|
+
case "ServiceQuotaExceededException":
|
|
1233
|
+
case "com.amazonaws.m2#ServiceQuotaExceededException":
|
|
1234
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1235
|
+
case "ThrottlingException":
|
|
1236
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1237
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1238
|
+
case "ValidationException":
|
|
1239
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1240
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1241
|
+
default:
|
|
1242
|
+
const parsedBody = parsedOutput.body;
|
|
1243
|
+
return throwDefaultError({
|
|
1244
|
+
output,
|
|
1245
|
+
parsedBody,
|
|
1246
|
+
errorCode
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1249
|
+
}, "de_CreateEnvironmentCommandError");
|
|
1250
|
+
var de_DeleteApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1251
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1252
|
+
return de_DeleteApplicationCommandError(output, context);
|
|
1253
|
+
}
|
|
1254
|
+
const contents = (0, import_smithy_client.map)({
|
|
1255
|
+
$metadata: deserializeMetadata(output)
|
|
1256
|
+
});
|
|
1257
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1258
|
+
return contents;
|
|
1259
|
+
}, "de_DeleteApplicationCommand");
|
|
1260
|
+
var de_DeleteApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1261
|
+
const parsedOutput = {
|
|
1262
|
+
...output,
|
|
1263
|
+
body: await parseErrorBody(output.body, context)
|
|
1264
|
+
};
|
|
1265
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1266
|
+
switch (errorCode) {
|
|
1267
|
+
case "AccessDeniedException":
|
|
1268
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1269
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1270
|
+
case "ConflictException":
|
|
1271
|
+
case "com.amazonaws.m2#ConflictException":
|
|
1272
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1273
|
+
case "InternalServerException":
|
|
1274
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1275
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1276
|
+
case "ThrottlingException":
|
|
1277
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1278
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1279
|
+
case "ValidationException":
|
|
1280
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1281
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1282
|
+
default:
|
|
1283
|
+
const parsedBody = parsedOutput.body;
|
|
1284
|
+
return throwDefaultError({
|
|
1285
|
+
output,
|
|
1286
|
+
parsedBody,
|
|
1287
|
+
errorCode
|
|
1288
|
+
});
|
|
1289
|
+
}
|
|
1290
|
+
}, "de_DeleteApplicationCommandError");
|
|
1291
|
+
var de_DeleteApplicationFromEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1292
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1293
|
+
return de_DeleteApplicationFromEnvironmentCommandError(output, context);
|
|
1294
|
+
}
|
|
1295
|
+
const contents = (0, import_smithy_client.map)({
|
|
1296
|
+
$metadata: deserializeMetadata(output)
|
|
1297
|
+
});
|
|
1298
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1299
|
+
return contents;
|
|
1300
|
+
}, "de_DeleteApplicationFromEnvironmentCommand");
|
|
1301
|
+
var de_DeleteApplicationFromEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1302
|
+
const parsedOutput = {
|
|
1303
|
+
...output,
|
|
1304
|
+
body: await parseErrorBody(output.body, context)
|
|
1305
|
+
};
|
|
1306
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1307
|
+
switch (errorCode) {
|
|
1308
|
+
case "AccessDeniedException":
|
|
1309
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1310
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1311
|
+
case "ConflictException":
|
|
1312
|
+
case "com.amazonaws.m2#ConflictException":
|
|
1313
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1314
|
+
case "InternalServerException":
|
|
1315
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1316
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1317
|
+
case "ResourceNotFoundException":
|
|
1318
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1319
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1320
|
+
case "ThrottlingException":
|
|
1321
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1322
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1323
|
+
case "ValidationException":
|
|
1324
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1325
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1326
|
+
default:
|
|
1327
|
+
const parsedBody = parsedOutput.body;
|
|
1328
|
+
return throwDefaultError({
|
|
1329
|
+
output,
|
|
1330
|
+
parsedBody,
|
|
1331
|
+
errorCode
|
|
1332
|
+
});
|
|
1333
|
+
}
|
|
1334
|
+
}, "de_DeleteApplicationFromEnvironmentCommandError");
|
|
1335
|
+
var de_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1336
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1337
|
+
return de_DeleteEnvironmentCommandError(output, context);
|
|
1338
|
+
}
|
|
1339
|
+
const contents = (0, import_smithy_client.map)({
|
|
1340
|
+
$metadata: deserializeMetadata(output)
|
|
1341
|
+
});
|
|
1342
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1343
|
+
return contents;
|
|
1344
|
+
}, "de_DeleteEnvironmentCommand");
|
|
1345
|
+
var de_DeleteEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1346
|
+
const parsedOutput = {
|
|
1347
|
+
...output,
|
|
1348
|
+
body: await parseErrorBody(output.body, context)
|
|
1349
|
+
};
|
|
1350
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1351
|
+
switch (errorCode) {
|
|
1352
|
+
case "AccessDeniedException":
|
|
1353
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1354
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1355
|
+
case "ConflictException":
|
|
1356
|
+
case "com.amazonaws.m2#ConflictException":
|
|
1357
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1358
|
+
case "InternalServerException":
|
|
1359
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1360
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1361
|
+
case "ThrottlingException":
|
|
1362
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1363
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1364
|
+
case "ValidationException":
|
|
1365
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1366
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1367
|
+
default:
|
|
1368
|
+
const parsedBody = parsedOutput.body;
|
|
1369
|
+
return throwDefaultError({
|
|
1370
|
+
output,
|
|
1371
|
+
parsedBody,
|
|
1372
|
+
errorCode
|
|
1373
|
+
});
|
|
1374
|
+
}
|
|
1375
|
+
}, "de_DeleteEnvironmentCommandError");
|
|
1376
|
+
var de_GetApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1377
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1378
|
+
return de_GetApplicationCommandError(output, context);
|
|
1379
|
+
}
|
|
1380
|
+
const contents = (0, import_smithy_client.map)({
|
|
1381
|
+
$metadata: deserializeMetadata(output)
|
|
1382
|
+
});
|
|
1383
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1384
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1385
|
+
applicationArn: import_smithy_client.expectString,
|
|
1386
|
+
applicationId: import_smithy_client.expectString,
|
|
1387
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1388
|
+
deployedVersion: import_smithy_client._json,
|
|
1389
|
+
description: import_smithy_client.expectString,
|
|
1390
|
+
engineType: import_smithy_client.expectString,
|
|
1391
|
+
environmentId: import_smithy_client.expectString,
|
|
1392
|
+
kmsKeyId: import_smithy_client.expectString,
|
|
1393
|
+
lastStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1394
|
+
latestVersion: (_) => de_ApplicationVersionSummary(_, context),
|
|
1395
|
+
listenerArns: import_smithy_client._json,
|
|
1396
|
+
listenerPorts: import_smithy_client._json,
|
|
1397
|
+
loadBalancerDnsName: import_smithy_client.expectString,
|
|
1398
|
+
logGroups: import_smithy_client._json,
|
|
1399
|
+
name: import_smithy_client.expectString,
|
|
1400
|
+
roleArn: import_smithy_client.expectString,
|
|
1401
|
+
status: import_smithy_client.expectString,
|
|
1402
|
+
statusReason: import_smithy_client.expectString,
|
|
1403
|
+
tags: import_smithy_client._json,
|
|
1404
|
+
targetGroupArns: import_smithy_client._json
|
|
1405
|
+
});
|
|
1406
|
+
Object.assign(contents, doc);
|
|
1407
|
+
return contents;
|
|
1408
|
+
}, "de_GetApplicationCommand");
|
|
1409
|
+
var de_GetApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1410
|
+
const parsedOutput = {
|
|
1411
|
+
...output,
|
|
1412
|
+
body: await parseErrorBody(output.body, context)
|
|
1413
|
+
};
|
|
1414
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1415
|
+
switch (errorCode) {
|
|
1416
|
+
case "AccessDeniedException":
|
|
1417
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1418
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1419
|
+
case "InternalServerException":
|
|
1420
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1421
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1422
|
+
case "ResourceNotFoundException":
|
|
1423
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1424
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1425
|
+
case "ThrottlingException":
|
|
1426
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1427
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1428
|
+
case "ValidationException":
|
|
1429
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1430
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1431
|
+
default:
|
|
1432
|
+
const parsedBody = parsedOutput.body;
|
|
1433
|
+
return throwDefaultError({
|
|
1434
|
+
output,
|
|
1435
|
+
parsedBody,
|
|
1436
|
+
errorCode
|
|
1437
|
+
});
|
|
1438
|
+
}
|
|
1439
|
+
}, "de_GetApplicationCommandError");
|
|
1440
|
+
var de_GetApplicationVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1441
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1442
|
+
return de_GetApplicationVersionCommandError(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 parseBody(output.body, context)), "body");
|
|
1448
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1449
|
+
applicationVersion: import_smithy_client.expectInt32,
|
|
1450
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1451
|
+
definitionContent: import_smithy_client.expectString,
|
|
1452
|
+
description: import_smithy_client.expectString,
|
|
1453
|
+
name: import_smithy_client.expectString,
|
|
1454
|
+
status: import_smithy_client.expectString,
|
|
1455
|
+
statusReason: import_smithy_client.expectString
|
|
1456
|
+
});
|
|
1457
|
+
Object.assign(contents, doc);
|
|
1458
|
+
return contents;
|
|
1459
|
+
}, "de_GetApplicationVersionCommand");
|
|
1460
|
+
var de_GetApplicationVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1461
|
+
const parsedOutput = {
|
|
1462
|
+
...output,
|
|
1463
|
+
body: await parseErrorBody(output.body, context)
|
|
1464
|
+
};
|
|
1465
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1466
|
+
switch (errorCode) {
|
|
1467
|
+
case "AccessDeniedException":
|
|
1468
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1469
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1470
|
+
case "InternalServerException":
|
|
1471
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1472
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1473
|
+
case "ResourceNotFoundException":
|
|
1474
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1475
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1476
|
+
case "ThrottlingException":
|
|
1477
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1478
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1479
|
+
case "ValidationException":
|
|
1480
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1481
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1482
|
+
default:
|
|
1483
|
+
const parsedBody = parsedOutput.body;
|
|
1484
|
+
return throwDefaultError({
|
|
1485
|
+
output,
|
|
1486
|
+
parsedBody,
|
|
1487
|
+
errorCode
|
|
1488
|
+
});
|
|
1489
|
+
}
|
|
1490
|
+
}, "de_GetApplicationVersionCommandError");
|
|
1491
|
+
var de_GetBatchJobExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1492
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1493
|
+
return de_GetBatchJobExecutionCommandError(output, context);
|
|
1494
|
+
}
|
|
1495
|
+
const contents = (0, import_smithy_client.map)({
|
|
1496
|
+
$metadata: deserializeMetadata(output)
|
|
1497
|
+
});
|
|
1498
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1499
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1500
|
+
applicationId: import_smithy_client.expectString,
|
|
1501
|
+
batchJobIdentifier: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
|
|
1502
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1503
|
+
executionId: import_smithy_client.expectString,
|
|
1504
|
+
jobId: import_smithy_client.expectString,
|
|
1505
|
+
jobName: import_smithy_client.expectString,
|
|
1506
|
+
jobType: import_smithy_client.expectString,
|
|
1507
|
+
jobUser: import_smithy_client.expectString,
|
|
1508
|
+
returnCode: import_smithy_client.expectString,
|
|
1509
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1510
|
+
status: import_smithy_client.expectString,
|
|
1511
|
+
statusReason: import_smithy_client.expectString
|
|
1512
|
+
});
|
|
1513
|
+
Object.assign(contents, doc);
|
|
1514
|
+
return contents;
|
|
1515
|
+
}, "de_GetBatchJobExecutionCommand");
|
|
1516
|
+
var de_GetBatchJobExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1517
|
+
const parsedOutput = {
|
|
1518
|
+
...output,
|
|
1519
|
+
body: await parseErrorBody(output.body, context)
|
|
1520
|
+
};
|
|
1521
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1522
|
+
switch (errorCode) {
|
|
1523
|
+
case "AccessDeniedException":
|
|
1524
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1525
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1526
|
+
case "InternalServerException":
|
|
1527
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1528
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1529
|
+
case "ResourceNotFoundException":
|
|
1530
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1531
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1532
|
+
case "ThrottlingException":
|
|
1533
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1534
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1535
|
+
case "ValidationException":
|
|
1536
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1537
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1538
|
+
default:
|
|
1539
|
+
const parsedBody = parsedOutput.body;
|
|
1540
|
+
return throwDefaultError({
|
|
1541
|
+
output,
|
|
1542
|
+
parsedBody,
|
|
1543
|
+
errorCode
|
|
1544
|
+
});
|
|
1545
|
+
}
|
|
1546
|
+
}, "de_GetBatchJobExecutionCommandError");
|
|
1547
|
+
var de_GetDataSetDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1548
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1549
|
+
return de_GetDataSetDetailsCommandError(output, context);
|
|
1550
|
+
}
|
|
1551
|
+
const contents = (0, import_smithy_client.map)({
|
|
1552
|
+
$metadata: deserializeMetadata(output)
|
|
1553
|
+
});
|
|
1554
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1555
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1556
|
+
blocksize: import_smithy_client.expectInt32,
|
|
1557
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1558
|
+
dataSetName: import_smithy_client.expectString,
|
|
1559
|
+
dataSetOrg: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
|
|
1560
|
+
fileSize: import_smithy_client.expectLong,
|
|
1561
|
+
lastReferencedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1562
|
+
lastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1563
|
+
location: import_smithy_client.expectString,
|
|
1564
|
+
recordLength: import_smithy_client.expectInt32
|
|
1565
|
+
});
|
|
1566
|
+
Object.assign(contents, doc);
|
|
1567
|
+
return contents;
|
|
1568
|
+
}, "de_GetDataSetDetailsCommand");
|
|
1569
|
+
var de_GetDataSetDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1570
|
+
const parsedOutput = {
|
|
1571
|
+
...output,
|
|
1572
|
+
body: await parseErrorBody(output.body, context)
|
|
1573
|
+
};
|
|
1574
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1575
|
+
switch (errorCode) {
|
|
1576
|
+
case "AccessDeniedException":
|
|
1577
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1578
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1579
|
+
case "ConflictException":
|
|
1580
|
+
case "com.amazonaws.m2#ConflictException":
|
|
1581
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1582
|
+
case "ExecutionTimeoutException":
|
|
1583
|
+
case "com.amazonaws.m2#ExecutionTimeoutException":
|
|
1584
|
+
throw await de_ExecutionTimeoutExceptionRes(parsedOutput, context);
|
|
1585
|
+
case "InternalServerException":
|
|
1586
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1587
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1588
|
+
case "ResourceNotFoundException":
|
|
1589
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1590
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1591
|
+
case "ServiceUnavailableException":
|
|
1592
|
+
case "com.amazonaws.m2#ServiceUnavailableException":
|
|
1593
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1594
|
+
case "ThrottlingException":
|
|
1595
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1596
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1597
|
+
case "ValidationException":
|
|
1598
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1599
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1600
|
+
default:
|
|
1601
|
+
const parsedBody = parsedOutput.body;
|
|
1602
|
+
return throwDefaultError({
|
|
1603
|
+
output,
|
|
1604
|
+
parsedBody,
|
|
1605
|
+
errorCode
|
|
1606
|
+
});
|
|
1607
|
+
}
|
|
1608
|
+
}, "de_GetDataSetDetailsCommandError");
|
|
1609
|
+
var de_GetDataSetImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1610
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1611
|
+
return de_GetDataSetImportTaskCommandError(output, context);
|
|
1612
|
+
}
|
|
1613
|
+
const contents = (0, import_smithy_client.map)({
|
|
1614
|
+
$metadata: deserializeMetadata(output)
|
|
1615
|
+
});
|
|
1616
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1617
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1618
|
+
status: import_smithy_client.expectString,
|
|
1619
|
+
summary: import_smithy_client._json,
|
|
1620
|
+
taskId: import_smithy_client.expectString
|
|
1621
|
+
});
|
|
1622
|
+
Object.assign(contents, doc);
|
|
1623
|
+
return contents;
|
|
1624
|
+
}, "de_GetDataSetImportTaskCommand");
|
|
1625
|
+
var de_GetDataSetImportTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1626
|
+
const parsedOutput = {
|
|
1627
|
+
...output,
|
|
1628
|
+
body: await parseErrorBody(output.body, context)
|
|
1629
|
+
};
|
|
1630
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1631
|
+
switch (errorCode) {
|
|
1632
|
+
case "AccessDeniedException":
|
|
1633
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1634
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1635
|
+
case "InternalServerException":
|
|
1636
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1637
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1638
|
+
case "ResourceNotFoundException":
|
|
1639
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1640
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1641
|
+
case "ThrottlingException":
|
|
1642
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1643
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1644
|
+
case "ValidationException":
|
|
1645
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1646
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1647
|
+
default:
|
|
1648
|
+
const parsedBody = parsedOutput.body;
|
|
1649
|
+
return throwDefaultError({
|
|
1650
|
+
output,
|
|
1651
|
+
parsedBody,
|
|
1652
|
+
errorCode
|
|
1653
|
+
});
|
|
1654
|
+
}
|
|
1655
|
+
}, "de_GetDataSetImportTaskCommandError");
|
|
1656
|
+
var de_GetDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1657
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1658
|
+
return de_GetDeploymentCommandError(output, context);
|
|
1659
|
+
}
|
|
1660
|
+
const contents = (0, import_smithy_client.map)({
|
|
1661
|
+
$metadata: deserializeMetadata(output)
|
|
1662
|
+
});
|
|
1663
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1664
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1665
|
+
applicationId: import_smithy_client.expectString,
|
|
1666
|
+
applicationVersion: import_smithy_client.expectInt32,
|
|
1667
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1668
|
+
deploymentId: import_smithy_client.expectString,
|
|
1669
|
+
environmentId: import_smithy_client.expectString,
|
|
1670
|
+
status: import_smithy_client.expectString,
|
|
1671
|
+
statusReason: import_smithy_client.expectString
|
|
1672
|
+
});
|
|
1673
|
+
Object.assign(contents, doc);
|
|
1674
|
+
return contents;
|
|
1675
|
+
}, "de_GetDeploymentCommand");
|
|
1676
|
+
var de_GetDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1677
|
+
const parsedOutput = {
|
|
1678
|
+
...output,
|
|
1679
|
+
body: await parseErrorBody(output.body, context)
|
|
1680
|
+
};
|
|
1681
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1682
|
+
switch (errorCode) {
|
|
1683
|
+
case "AccessDeniedException":
|
|
1684
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1685
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1686
|
+
case "InternalServerException":
|
|
1687
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1688
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1689
|
+
case "ResourceNotFoundException":
|
|
1690
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1691
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1692
|
+
case "ThrottlingException":
|
|
1693
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1694
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1695
|
+
case "ValidationException":
|
|
1696
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1697
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1698
|
+
default:
|
|
1699
|
+
const parsedBody = parsedOutput.body;
|
|
1700
|
+
return throwDefaultError({
|
|
1701
|
+
output,
|
|
1702
|
+
parsedBody,
|
|
1703
|
+
errorCode
|
|
1704
|
+
});
|
|
1705
|
+
}
|
|
1706
|
+
}, "de_GetDeploymentCommandError");
|
|
1707
|
+
var de_GetEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1708
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1709
|
+
return de_GetEnvironmentCommandError(output, context);
|
|
1710
|
+
}
|
|
1711
|
+
const contents = (0, import_smithy_client.map)({
|
|
1712
|
+
$metadata: deserializeMetadata(output)
|
|
1713
|
+
});
|
|
1714
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1715
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1716
|
+
actualCapacity: import_smithy_client.expectInt32,
|
|
1717
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1718
|
+
description: import_smithy_client.expectString,
|
|
1719
|
+
engineType: import_smithy_client.expectString,
|
|
1720
|
+
engineVersion: import_smithy_client.expectString,
|
|
1721
|
+
environmentArn: import_smithy_client.expectString,
|
|
1722
|
+
environmentId: import_smithy_client.expectString,
|
|
1723
|
+
highAvailabilityConfig: import_smithy_client._json,
|
|
1724
|
+
instanceType: import_smithy_client.expectString,
|
|
1725
|
+
kmsKeyId: import_smithy_client.expectString,
|
|
1726
|
+
loadBalancerArn: import_smithy_client.expectString,
|
|
1727
|
+
name: import_smithy_client.expectString,
|
|
1728
|
+
pendingMaintenance: (_) => de_PendingMaintenance(_, context),
|
|
1729
|
+
preferredMaintenanceWindow: import_smithy_client.expectString,
|
|
1730
|
+
publiclyAccessible: import_smithy_client.expectBoolean,
|
|
1731
|
+
securityGroupIds: import_smithy_client._json,
|
|
1732
|
+
status: import_smithy_client.expectString,
|
|
1733
|
+
statusReason: import_smithy_client.expectString,
|
|
1734
|
+
storageConfigurations: (_) => de_StorageConfigurationList(_, context),
|
|
1735
|
+
subnetIds: import_smithy_client._json,
|
|
1736
|
+
tags: import_smithy_client._json,
|
|
1737
|
+
vpcId: import_smithy_client.expectString
|
|
1738
|
+
});
|
|
1739
|
+
Object.assign(contents, doc);
|
|
1740
|
+
return contents;
|
|
1741
|
+
}, "de_GetEnvironmentCommand");
|
|
1742
|
+
var de_GetEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1743
|
+
const parsedOutput = {
|
|
1744
|
+
...output,
|
|
1745
|
+
body: await parseErrorBody(output.body, context)
|
|
1746
|
+
};
|
|
1747
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1748
|
+
switch (errorCode) {
|
|
1749
|
+
case "AccessDeniedException":
|
|
1750
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1751
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1752
|
+
case "InternalServerException":
|
|
1753
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1754
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1755
|
+
case "ResourceNotFoundException":
|
|
1756
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1757
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1758
|
+
case "ThrottlingException":
|
|
1759
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1760
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1761
|
+
case "ValidationException":
|
|
1762
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1763
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1764
|
+
default:
|
|
1765
|
+
const parsedBody = parsedOutput.body;
|
|
1766
|
+
return throwDefaultError({
|
|
1767
|
+
output,
|
|
1768
|
+
parsedBody,
|
|
1769
|
+
errorCode
|
|
1770
|
+
});
|
|
1771
|
+
}
|
|
1772
|
+
}, "de_GetEnvironmentCommandError");
|
|
1773
|
+
var de_GetSignedBluinsightsUrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1774
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1775
|
+
return de_GetSignedBluinsightsUrlCommandError(output, context);
|
|
1776
|
+
}
|
|
1777
|
+
const contents = (0, import_smithy_client.map)({
|
|
1778
|
+
$metadata: deserializeMetadata(output)
|
|
1779
|
+
});
|
|
1780
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1781
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1782
|
+
signedBiUrl: import_smithy_client.expectString
|
|
1783
|
+
});
|
|
1784
|
+
Object.assign(contents, doc);
|
|
1785
|
+
return contents;
|
|
1786
|
+
}, "de_GetSignedBluinsightsUrlCommand");
|
|
1787
|
+
var de_GetSignedBluinsightsUrlCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1788
|
+
const parsedOutput = {
|
|
1789
|
+
...output,
|
|
1790
|
+
body: await parseErrorBody(output.body, context)
|
|
1791
|
+
};
|
|
1792
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1793
|
+
switch (errorCode) {
|
|
1794
|
+
case "AccessDeniedException":
|
|
1795
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1796
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1797
|
+
case "InternalServerException":
|
|
1798
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1799
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1800
|
+
case "ThrottlingException":
|
|
1801
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1802
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1803
|
+
default:
|
|
1804
|
+
const parsedBody = parsedOutput.body;
|
|
1805
|
+
return throwDefaultError({
|
|
1806
|
+
output,
|
|
1807
|
+
parsedBody,
|
|
1808
|
+
errorCode
|
|
1809
|
+
});
|
|
1810
|
+
}
|
|
1811
|
+
}, "de_GetSignedBluinsightsUrlCommandError");
|
|
1812
|
+
var de_ListApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1813
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1814
|
+
return de_ListApplicationsCommandError(output, context);
|
|
1815
|
+
}
|
|
1816
|
+
const contents = (0, import_smithy_client.map)({
|
|
1817
|
+
$metadata: deserializeMetadata(output)
|
|
1818
|
+
});
|
|
1819
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1820
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1821
|
+
applications: (_) => de_ApplicationSummaryList(_, context),
|
|
1822
|
+
nextToken: import_smithy_client.expectString
|
|
1823
|
+
});
|
|
1824
|
+
Object.assign(contents, doc);
|
|
1825
|
+
return contents;
|
|
1826
|
+
}, "de_ListApplicationsCommand");
|
|
1827
|
+
var de_ListApplicationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1828
|
+
const parsedOutput = {
|
|
1829
|
+
...output,
|
|
1830
|
+
body: await parseErrorBody(output.body, context)
|
|
1831
|
+
};
|
|
1832
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1833
|
+
switch (errorCode) {
|
|
1834
|
+
case "AccessDeniedException":
|
|
1835
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1836
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1837
|
+
case "InternalServerException":
|
|
1838
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1839
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1840
|
+
case "ThrottlingException":
|
|
1841
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1842
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1843
|
+
case "ValidationException":
|
|
1844
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1845
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1846
|
+
default:
|
|
1847
|
+
const parsedBody = parsedOutput.body;
|
|
1848
|
+
return throwDefaultError({
|
|
1849
|
+
output,
|
|
1850
|
+
parsedBody,
|
|
1851
|
+
errorCode
|
|
1852
|
+
});
|
|
1853
|
+
}
|
|
1854
|
+
}, "de_ListApplicationsCommandError");
|
|
1855
|
+
var de_ListApplicationVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1856
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1857
|
+
return de_ListApplicationVersionsCommandError(output, context);
|
|
1858
|
+
}
|
|
1859
|
+
const contents = (0, import_smithy_client.map)({
|
|
1860
|
+
$metadata: deserializeMetadata(output)
|
|
1861
|
+
});
|
|
1862
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1863
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1864
|
+
applicationVersions: (_) => de_ApplicationVersionSummaryList(_, context),
|
|
1865
|
+
nextToken: import_smithy_client.expectString
|
|
1866
|
+
});
|
|
1867
|
+
Object.assign(contents, doc);
|
|
1868
|
+
return contents;
|
|
1869
|
+
}, "de_ListApplicationVersionsCommand");
|
|
1870
|
+
var de_ListApplicationVersionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1871
|
+
const parsedOutput = {
|
|
1872
|
+
...output,
|
|
1873
|
+
body: await parseErrorBody(output.body, context)
|
|
1874
|
+
};
|
|
1875
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1876
|
+
switch (errorCode) {
|
|
1877
|
+
case "AccessDeniedException":
|
|
1878
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1879
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1880
|
+
case "InternalServerException":
|
|
1881
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1882
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1883
|
+
case "ResourceNotFoundException":
|
|
1884
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1885
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1886
|
+
case "ThrottlingException":
|
|
1887
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1888
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1889
|
+
case "ValidationException":
|
|
1890
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1891
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1892
|
+
default:
|
|
1893
|
+
const parsedBody = parsedOutput.body;
|
|
1894
|
+
return throwDefaultError({
|
|
1895
|
+
output,
|
|
1896
|
+
parsedBody,
|
|
1897
|
+
errorCode
|
|
1898
|
+
});
|
|
1899
|
+
}
|
|
1900
|
+
}, "de_ListApplicationVersionsCommandError");
|
|
1901
|
+
var de_ListBatchJobDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1902
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1903
|
+
return de_ListBatchJobDefinitionsCommandError(output, context);
|
|
1904
|
+
}
|
|
1905
|
+
const contents = (0, import_smithy_client.map)({
|
|
1906
|
+
$metadata: deserializeMetadata(output)
|
|
1907
|
+
});
|
|
1908
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1909
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1910
|
+
batchJobDefinitions: import_smithy_client._json,
|
|
1911
|
+
nextToken: import_smithy_client.expectString
|
|
1912
|
+
});
|
|
1913
|
+
Object.assign(contents, doc);
|
|
1914
|
+
return contents;
|
|
1915
|
+
}, "de_ListBatchJobDefinitionsCommand");
|
|
1916
|
+
var de_ListBatchJobDefinitionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1917
|
+
const parsedOutput = {
|
|
1918
|
+
...output,
|
|
1919
|
+
body: await parseErrorBody(output.body, context)
|
|
1920
|
+
};
|
|
1921
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1922
|
+
switch (errorCode) {
|
|
1923
|
+
case "AccessDeniedException":
|
|
1924
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1925
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1926
|
+
case "InternalServerException":
|
|
1927
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1928
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1929
|
+
case "ResourceNotFoundException":
|
|
1930
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1931
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1932
|
+
case "ThrottlingException":
|
|
1933
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1934
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1935
|
+
case "ValidationException":
|
|
1936
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1937
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1938
|
+
default:
|
|
1939
|
+
const parsedBody = parsedOutput.body;
|
|
1940
|
+
return throwDefaultError({
|
|
1941
|
+
output,
|
|
1942
|
+
parsedBody,
|
|
1943
|
+
errorCode
|
|
1944
|
+
});
|
|
1945
|
+
}
|
|
1946
|
+
}, "de_ListBatchJobDefinitionsCommandError");
|
|
1947
|
+
var de_ListBatchJobExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1948
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1949
|
+
return de_ListBatchJobExecutionsCommandError(output, context);
|
|
1950
|
+
}
|
|
1951
|
+
const contents = (0, import_smithy_client.map)({
|
|
1952
|
+
$metadata: deserializeMetadata(output)
|
|
1953
|
+
});
|
|
1954
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1955
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1956
|
+
batchJobExecutions: (_) => de_BatchJobExecutionSummaryList(_, context),
|
|
1957
|
+
nextToken: import_smithy_client.expectString
|
|
1958
|
+
});
|
|
1959
|
+
Object.assign(contents, doc);
|
|
1960
|
+
return contents;
|
|
1961
|
+
}, "de_ListBatchJobExecutionsCommand");
|
|
1962
|
+
var de_ListBatchJobExecutionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1963
|
+
const parsedOutput = {
|
|
1964
|
+
...output,
|
|
1965
|
+
body: await parseErrorBody(output.body, context)
|
|
1966
|
+
};
|
|
1967
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1968
|
+
switch (errorCode) {
|
|
1969
|
+
case "AccessDeniedException":
|
|
1970
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1971
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1972
|
+
case "InternalServerException":
|
|
1973
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1974
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1975
|
+
case "ResourceNotFoundException":
|
|
1976
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1977
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1978
|
+
case "ThrottlingException":
|
|
1979
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1980
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1981
|
+
case "ValidationException":
|
|
1982
|
+
case "com.amazonaws.m2#ValidationException":
|
|
1983
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1984
|
+
default:
|
|
1985
|
+
const parsedBody = parsedOutput.body;
|
|
1986
|
+
return throwDefaultError({
|
|
1987
|
+
output,
|
|
1988
|
+
parsedBody,
|
|
1989
|
+
errorCode
|
|
1990
|
+
});
|
|
1991
|
+
}
|
|
1992
|
+
}, "de_ListBatchJobExecutionsCommandError");
|
|
1993
|
+
var de_ListDataSetImportHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1994
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1995
|
+
return de_ListDataSetImportHistoryCommandError(output, context);
|
|
1996
|
+
}
|
|
1997
|
+
const contents = (0, import_smithy_client.map)({
|
|
1998
|
+
$metadata: deserializeMetadata(output)
|
|
1999
|
+
});
|
|
2000
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2001
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2002
|
+
dataSetImportTasks: import_smithy_client._json,
|
|
2003
|
+
nextToken: import_smithy_client.expectString
|
|
2004
|
+
});
|
|
2005
|
+
Object.assign(contents, doc);
|
|
2006
|
+
return contents;
|
|
2007
|
+
}, "de_ListDataSetImportHistoryCommand");
|
|
2008
|
+
var de_ListDataSetImportHistoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2009
|
+
const parsedOutput = {
|
|
2010
|
+
...output,
|
|
2011
|
+
body: await parseErrorBody(output.body, context)
|
|
2012
|
+
};
|
|
2013
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2014
|
+
switch (errorCode) {
|
|
2015
|
+
case "AccessDeniedException":
|
|
2016
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
2017
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2018
|
+
case "InternalServerException":
|
|
2019
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
2020
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2021
|
+
case "ResourceNotFoundException":
|
|
2022
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2023
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2024
|
+
case "ThrottlingException":
|
|
2025
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
2026
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2027
|
+
case "ValidationException":
|
|
2028
|
+
case "com.amazonaws.m2#ValidationException":
|
|
2029
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2030
|
+
default:
|
|
2031
|
+
const parsedBody = parsedOutput.body;
|
|
2032
|
+
return throwDefaultError({
|
|
2033
|
+
output,
|
|
2034
|
+
parsedBody,
|
|
2035
|
+
errorCode
|
|
2036
|
+
});
|
|
2037
|
+
}
|
|
2038
|
+
}, "de_ListDataSetImportHistoryCommandError");
|
|
2039
|
+
var de_ListDataSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2040
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2041
|
+
return de_ListDataSetsCommandError(output, context);
|
|
2042
|
+
}
|
|
2043
|
+
const contents = (0, import_smithy_client.map)({
|
|
2044
|
+
$metadata: deserializeMetadata(output)
|
|
2045
|
+
});
|
|
2046
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2047
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2048
|
+
dataSets: (_) => de_DataSetsSummaryList(_, context),
|
|
2049
|
+
nextToken: import_smithy_client.expectString
|
|
2050
|
+
});
|
|
2051
|
+
Object.assign(contents, doc);
|
|
2052
|
+
return contents;
|
|
2053
|
+
}, "de_ListDataSetsCommand");
|
|
2054
|
+
var de_ListDataSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2055
|
+
const parsedOutput = {
|
|
2056
|
+
...output,
|
|
2057
|
+
body: await parseErrorBody(output.body, context)
|
|
2058
|
+
};
|
|
2059
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2060
|
+
switch (errorCode) {
|
|
2061
|
+
case "AccessDeniedException":
|
|
2062
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
2063
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2064
|
+
case "ConflictException":
|
|
2065
|
+
case "com.amazonaws.m2#ConflictException":
|
|
2066
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2067
|
+
case "ExecutionTimeoutException":
|
|
2068
|
+
case "com.amazonaws.m2#ExecutionTimeoutException":
|
|
2069
|
+
throw await de_ExecutionTimeoutExceptionRes(parsedOutput, context);
|
|
2070
|
+
case "InternalServerException":
|
|
2071
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
2072
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2073
|
+
case "ResourceNotFoundException":
|
|
2074
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2075
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2076
|
+
case "ServiceUnavailableException":
|
|
2077
|
+
case "com.amazonaws.m2#ServiceUnavailableException":
|
|
2078
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2079
|
+
case "ThrottlingException":
|
|
2080
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
2081
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2082
|
+
case "ValidationException":
|
|
2083
|
+
case "com.amazonaws.m2#ValidationException":
|
|
2084
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2085
|
+
default:
|
|
2086
|
+
const parsedBody = parsedOutput.body;
|
|
2087
|
+
return throwDefaultError({
|
|
2088
|
+
output,
|
|
2089
|
+
parsedBody,
|
|
2090
|
+
errorCode
|
|
2091
|
+
});
|
|
2092
|
+
}
|
|
2093
|
+
}, "de_ListDataSetsCommandError");
|
|
2094
|
+
var de_ListDeploymentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2095
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2096
|
+
return de_ListDeploymentsCommandError(output, context);
|
|
2097
|
+
}
|
|
2098
|
+
const contents = (0, import_smithy_client.map)({
|
|
2099
|
+
$metadata: deserializeMetadata(output)
|
|
2100
|
+
});
|
|
2101
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2102
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2103
|
+
deployments: (_) => de_DeploymentList(_, context),
|
|
2104
|
+
nextToken: import_smithy_client.expectString
|
|
2105
|
+
});
|
|
2106
|
+
Object.assign(contents, doc);
|
|
2107
|
+
return contents;
|
|
2108
|
+
}, "de_ListDeploymentsCommand");
|
|
2109
|
+
var de_ListDeploymentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2110
|
+
const parsedOutput = {
|
|
2111
|
+
...output,
|
|
2112
|
+
body: await parseErrorBody(output.body, context)
|
|
2113
|
+
};
|
|
2114
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2115
|
+
switch (errorCode) {
|
|
2116
|
+
case "AccessDeniedException":
|
|
2117
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
2118
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2119
|
+
case "InternalServerException":
|
|
2120
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
2121
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2122
|
+
case "ResourceNotFoundException":
|
|
2123
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2124
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2125
|
+
case "ThrottlingException":
|
|
2126
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
2127
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2128
|
+
case "ValidationException":
|
|
2129
|
+
case "com.amazonaws.m2#ValidationException":
|
|
2130
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2131
|
+
default:
|
|
2132
|
+
const parsedBody = parsedOutput.body;
|
|
2133
|
+
return throwDefaultError({
|
|
2134
|
+
output,
|
|
2135
|
+
parsedBody,
|
|
2136
|
+
errorCode
|
|
2137
|
+
});
|
|
2138
|
+
}
|
|
2139
|
+
}, "de_ListDeploymentsCommandError");
|
|
2140
|
+
var de_ListEngineVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2141
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2142
|
+
return de_ListEngineVersionsCommandError(output, context);
|
|
2143
|
+
}
|
|
2144
|
+
const contents = (0, import_smithy_client.map)({
|
|
2145
|
+
$metadata: deserializeMetadata(output)
|
|
2146
|
+
});
|
|
2147
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2148
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2149
|
+
engineVersions: import_smithy_client._json,
|
|
2150
|
+
nextToken: import_smithy_client.expectString
|
|
2151
|
+
});
|
|
2152
|
+
Object.assign(contents, doc);
|
|
2153
|
+
return contents;
|
|
2154
|
+
}, "de_ListEngineVersionsCommand");
|
|
2155
|
+
var de_ListEngineVersionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2156
|
+
const parsedOutput = {
|
|
2157
|
+
...output,
|
|
2158
|
+
body: await parseErrorBody(output.body, context)
|
|
2159
|
+
};
|
|
2160
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2161
|
+
switch (errorCode) {
|
|
2162
|
+
case "AccessDeniedException":
|
|
2163
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
2164
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2165
|
+
case "InternalServerException":
|
|
2166
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
2167
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2168
|
+
case "ThrottlingException":
|
|
2169
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
2170
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2171
|
+
case "ValidationException":
|
|
2172
|
+
case "com.amazonaws.m2#ValidationException":
|
|
2173
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2174
|
+
default:
|
|
2175
|
+
const parsedBody = parsedOutput.body;
|
|
2176
|
+
return throwDefaultError({
|
|
2177
|
+
output,
|
|
2178
|
+
parsedBody,
|
|
2179
|
+
errorCode
|
|
2180
|
+
});
|
|
2181
|
+
}
|
|
2182
|
+
}, "de_ListEngineVersionsCommandError");
|
|
2183
|
+
var de_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2184
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2185
|
+
return de_ListEnvironmentsCommandError(output, context);
|
|
2186
|
+
}
|
|
2187
|
+
const contents = (0, import_smithy_client.map)({
|
|
2188
|
+
$metadata: deserializeMetadata(output)
|
|
2189
|
+
});
|
|
2190
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2191
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2192
|
+
environments: (_) => de_EnvironmentSummaryList(_, context),
|
|
2193
|
+
nextToken: import_smithy_client.expectString
|
|
2194
|
+
});
|
|
2195
|
+
Object.assign(contents, doc);
|
|
2196
|
+
return contents;
|
|
2197
|
+
}, "de_ListEnvironmentsCommand");
|
|
2198
|
+
var de_ListEnvironmentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2199
|
+
const parsedOutput = {
|
|
2200
|
+
...output,
|
|
2201
|
+
body: await parseErrorBody(output.body, context)
|
|
2202
|
+
};
|
|
2203
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2204
|
+
switch (errorCode) {
|
|
2205
|
+
case "AccessDeniedException":
|
|
2206
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
2207
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2208
|
+
case "InternalServerException":
|
|
2209
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
2210
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2211
|
+
case "ThrottlingException":
|
|
2212
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
2213
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2214
|
+
case "ValidationException":
|
|
2215
|
+
case "com.amazonaws.m2#ValidationException":
|
|
2216
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2217
|
+
default:
|
|
2218
|
+
const parsedBody = parsedOutput.body;
|
|
2219
|
+
return throwDefaultError({
|
|
2220
|
+
output,
|
|
2221
|
+
parsedBody,
|
|
2222
|
+
errorCode
|
|
2223
|
+
});
|
|
2224
|
+
}
|
|
2225
|
+
}, "de_ListEnvironmentsCommandError");
|
|
2226
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2227
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2228
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
2229
|
+
}
|
|
2230
|
+
const contents = (0, import_smithy_client.map)({
|
|
2231
|
+
$metadata: deserializeMetadata(output)
|
|
2232
|
+
});
|
|
2233
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2234
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2235
|
+
tags: import_smithy_client._json
|
|
2236
|
+
});
|
|
2237
|
+
Object.assign(contents, doc);
|
|
2238
|
+
return contents;
|
|
2239
|
+
}, "de_ListTagsForResourceCommand");
|
|
2240
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2241
|
+
const parsedOutput = {
|
|
2242
|
+
...output,
|
|
2243
|
+
body: await parseErrorBody(output.body, context)
|
|
2244
|
+
};
|
|
2245
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2246
|
+
switch (errorCode) {
|
|
2247
|
+
case "AccessDeniedException":
|
|
2248
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
2249
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2250
|
+
case "InternalServerException":
|
|
2251
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
2252
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2253
|
+
case "ResourceNotFoundException":
|
|
2254
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2255
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2256
|
+
case "ThrottlingException":
|
|
2257
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
2258
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2259
|
+
case "ValidationException":
|
|
2260
|
+
case "com.amazonaws.m2#ValidationException":
|
|
2261
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2262
|
+
default:
|
|
2263
|
+
const parsedBody = parsedOutput.body;
|
|
2264
|
+
return throwDefaultError({
|
|
2265
|
+
output,
|
|
2266
|
+
parsedBody,
|
|
2267
|
+
errorCode
|
|
2268
|
+
});
|
|
2269
|
+
}
|
|
2270
|
+
}, "de_ListTagsForResourceCommandError");
|
|
2271
|
+
var de_StartApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2272
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2273
|
+
return de_StartApplicationCommandError(output, context);
|
|
2274
|
+
}
|
|
2275
|
+
const contents = (0, import_smithy_client.map)({
|
|
2276
|
+
$metadata: deserializeMetadata(output)
|
|
2277
|
+
});
|
|
2278
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2279
|
+
return contents;
|
|
2280
|
+
}, "de_StartApplicationCommand");
|
|
2281
|
+
var de_StartApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2282
|
+
const parsedOutput = {
|
|
2283
|
+
...output,
|
|
2284
|
+
body: await parseErrorBody(output.body, context)
|
|
2285
|
+
};
|
|
2286
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2287
|
+
switch (errorCode) {
|
|
2288
|
+
case "AccessDeniedException":
|
|
2289
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
2290
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2291
|
+
case "ConflictException":
|
|
2292
|
+
case "com.amazonaws.m2#ConflictException":
|
|
2293
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2294
|
+
case "InternalServerException":
|
|
2295
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
2296
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2297
|
+
case "ResourceNotFoundException":
|
|
2298
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2299
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2300
|
+
case "ThrottlingException":
|
|
2301
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
2302
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2303
|
+
case "ValidationException":
|
|
2304
|
+
case "com.amazonaws.m2#ValidationException":
|
|
2305
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2306
|
+
default:
|
|
2307
|
+
const parsedBody = parsedOutput.body;
|
|
2308
|
+
return throwDefaultError({
|
|
2309
|
+
output,
|
|
2310
|
+
parsedBody,
|
|
2311
|
+
errorCode
|
|
2312
|
+
});
|
|
2313
|
+
}
|
|
2314
|
+
}, "de_StartApplicationCommandError");
|
|
2315
|
+
var de_StartBatchJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2316
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2317
|
+
return de_StartBatchJobCommandError(output, context);
|
|
2318
|
+
}
|
|
2319
|
+
const contents = (0, import_smithy_client.map)({
|
|
2320
|
+
$metadata: deserializeMetadata(output)
|
|
2321
|
+
});
|
|
2322
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2323
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2324
|
+
executionId: import_smithy_client.expectString
|
|
2325
|
+
});
|
|
2326
|
+
Object.assign(contents, doc);
|
|
2327
|
+
return contents;
|
|
2328
|
+
}, "de_StartBatchJobCommand");
|
|
2329
|
+
var de_StartBatchJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2330
|
+
const parsedOutput = {
|
|
2331
|
+
...output,
|
|
2332
|
+
body: await parseErrorBody(output.body, context)
|
|
2333
|
+
};
|
|
2334
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2335
|
+
switch (errorCode) {
|
|
2336
|
+
case "AccessDeniedException":
|
|
2337
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
2338
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2339
|
+
case "ConflictException":
|
|
2340
|
+
case "com.amazonaws.m2#ConflictException":
|
|
2341
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2342
|
+
case "InternalServerException":
|
|
2343
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
2344
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2345
|
+
case "ResourceNotFoundException":
|
|
2346
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2347
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2348
|
+
case "ThrottlingException":
|
|
2349
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
2350
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2351
|
+
case "ValidationException":
|
|
2352
|
+
case "com.amazonaws.m2#ValidationException":
|
|
2353
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2354
|
+
default:
|
|
2355
|
+
const parsedBody = parsedOutput.body;
|
|
2356
|
+
return throwDefaultError({
|
|
2357
|
+
output,
|
|
2358
|
+
parsedBody,
|
|
2359
|
+
errorCode
|
|
2360
|
+
});
|
|
2361
|
+
}
|
|
2362
|
+
}, "de_StartBatchJobCommandError");
|
|
2363
|
+
var de_StopApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2364
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2365
|
+
return de_StopApplicationCommandError(output, context);
|
|
2366
|
+
}
|
|
2367
|
+
const contents = (0, import_smithy_client.map)({
|
|
2368
|
+
$metadata: deserializeMetadata(output)
|
|
2369
|
+
});
|
|
2370
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2371
|
+
return contents;
|
|
2372
|
+
}, "de_StopApplicationCommand");
|
|
2373
|
+
var de_StopApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2374
|
+
const parsedOutput = {
|
|
2375
|
+
...output,
|
|
2376
|
+
body: await parseErrorBody(output.body, context)
|
|
2377
|
+
};
|
|
2378
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2379
|
+
switch (errorCode) {
|
|
2380
|
+
case "AccessDeniedException":
|
|
2381
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
2382
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2383
|
+
case "ConflictException":
|
|
2384
|
+
case "com.amazonaws.m2#ConflictException":
|
|
2385
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2386
|
+
case "InternalServerException":
|
|
2387
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
2388
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2389
|
+
case "ResourceNotFoundException":
|
|
2390
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2391
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2392
|
+
case "ThrottlingException":
|
|
2393
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
2394
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2395
|
+
case "ValidationException":
|
|
2396
|
+
case "com.amazonaws.m2#ValidationException":
|
|
2397
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2398
|
+
default:
|
|
2399
|
+
const parsedBody = parsedOutput.body;
|
|
2400
|
+
return throwDefaultError({
|
|
2401
|
+
output,
|
|
2402
|
+
parsedBody,
|
|
2403
|
+
errorCode
|
|
2404
|
+
});
|
|
2405
|
+
}
|
|
2406
|
+
}, "de_StopApplicationCommandError");
|
|
2407
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2408
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2409
|
+
return de_TagResourceCommandError(output, context);
|
|
2410
|
+
}
|
|
2411
|
+
const contents = (0, import_smithy_client.map)({
|
|
2412
|
+
$metadata: deserializeMetadata(output)
|
|
2413
|
+
});
|
|
2414
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2415
|
+
return contents;
|
|
2416
|
+
}, "de_TagResourceCommand");
|
|
2417
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2418
|
+
const parsedOutput = {
|
|
2419
|
+
...output,
|
|
2420
|
+
body: await parseErrorBody(output.body, context)
|
|
2421
|
+
};
|
|
2422
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2423
|
+
switch (errorCode) {
|
|
2424
|
+
case "AccessDeniedException":
|
|
2425
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
2426
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2427
|
+
case "InternalServerException":
|
|
2428
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
2429
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2430
|
+
case "ResourceNotFoundException":
|
|
2431
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2432
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2433
|
+
case "ServiceQuotaExceededException":
|
|
2434
|
+
case "com.amazonaws.m2#ServiceQuotaExceededException":
|
|
2435
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2436
|
+
case "ThrottlingException":
|
|
2437
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
2438
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2439
|
+
case "ValidationException":
|
|
2440
|
+
case "com.amazonaws.m2#ValidationException":
|
|
2441
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2442
|
+
default:
|
|
2443
|
+
const parsedBody = parsedOutput.body;
|
|
2444
|
+
return throwDefaultError({
|
|
2445
|
+
output,
|
|
2446
|
+
parsedBody,
|
|
2447
|
+
errorCode
|
|
2448
|
+
});
|
|
2449
|
+
}
|
|
2450
|
+
}, "de_TagResourceCommandError");
|
|
2451
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2452
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2453
|
+
return de_UntagResourceCommandError(output, context);
|
|
2454
|
+
}
|
|
2455
|
+
const contents = (0, import_smithy_client.map)({
|
|
2456
|
+
$metadata: deserializeMetadata(output)
|
|
2457
|
+
});
|
|
2458
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2459
|
+
return contents;
|
|
2460
|
+
}, "de_UntagResourceCommand");
|
|
2461
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2462
|
+
const parsedOutput = {
|
|
2463
|
+
...output,
|
|
2464
|
+
body: await parseErrorBody(output.body, context)
|
|
2465
|
+
};
|
|
2466
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2467
|
+
switch (errorCode) {
|
|
2468
|
+
case "AccessDeniedException":
|
|
2469
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
2470
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2471
|
+
case "InternalServerException":
|
|
2472
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
2473
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2474
|
+
case "ResourceNotFoundException":
|
|
2475
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2476
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2477
|
+
case "ThrottlingException":
|
|
2478
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
2479
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2480
|
+
case "ValidationException":
|
|
2481
|
+
case "com.amazonaws.m2#ValidationException":
|
|
2482
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2483
|
+
default:
|
|
2484
|
+
const parsedBody = parsedOutput.body;
|
|
2485
|
+
return throwDefaultError({
|
|
2486
|
+
output,
|
|
2487
|
+
parsedBody,
|
|
2488
|
+
errorCode
|
|
2489
|
+
});
|
|
2490
|
+
}
|
|
2491
|
+
}, "de_UntagResourceCommandError");
|
|
2492
|
+
var de_UpdateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2493
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2494
|
+
return de_UpdateApplicationCommandError(output, context);
|
|
2495
|
+
}
|
|
2496
|
+
const contents = (0, import_smithy_client.map)({
|
|
2497
|
+
$metadata: deserializeMetadata(output)
|
|
2498
|
+
});
|
|
2499
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2500
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2501
|
+
applicationVersion: import_smithy_client.expectInt32
|
|
2502
|
+
});
|
|
2503
|
+
Object.assign(contents, doc);
|
|
2504
|
+
return contents;
|
|
2505
|
+
}, "de_UpdateApplicationCommand");
|
|
2506
|
+
var de_UpdateApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2507
|
+
const parsedOutput = {
|
|
2508
|
+
...output,
|
|
2509
|
+
body: await parseErrorBody(output.body, context)
|
|
2510
|
+
};
|
|
2511
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2512
|
+
switch (errorCode) {
|
|
2513
|
+
case "AccessDeniedException":
|
|
2514
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
2515
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2516
|
+
case "ConflictException":
|
|
2517
|
+
case "com.amazonaws.m2#ConflictException":
|
|
2518
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2519
|
+
case "InternalServerException":
|
|
2520
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
2521
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2522
|
+
case "ResourceNotFoundException":
|
|
2523
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2524
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2525
|
+
case "ThrottlingException":
|
|
2526
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
2527
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2528
|
+
case "ValidationException":
|
|
2529
|
+
case "com.amazonaws.m2#ValidationException":
|
|
2530
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2531
|
+
default:
|
|
2532
|
+
const parsedBody = parsedOutput.body;
|
|
2533
|
+
return throwDefaultError({
|
|
2534
|
+
output,
|
|
2535
|
+
parsedBody,
|
|
2536
|
+
errorCode
|
|
2537
|
+
});
|
|
2538
|
+
}
|
|
2539
|
+
}, "de_UpdateApplicationCommandError");
|
|
2540
|
+
var de_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2541
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2542
|
+
return de_UpdateEnvironmentCommandError(output, context);
|
|
2543
|
+
}
|
|
2544
|
+
const contents = (0, import_smithy_client.map)({
|
|
2545
|
+
$metadata: deserializeMetadata(output)
|
|
2546
|
+
});
|
|
2547
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2548
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2549
|
+
environmentId: import_smithy_client.expectString
|
|
2550
|
+
});
|
|
2551
|
+
Object.assign(contents, doc);
|
|
2552
|
+
return contents;
|
|
2553
|
+
}, "de_UpdateEnvironmentCommand");
|
|
2554
|
+
var de_UpdateEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2555
|
+
const parsedOutput = {
|
|
2556
|
+
...output,
|
|
2557
|
+
body: await parseErrorBody(output.body, context)
|
|
2558
|
+
};
|
|
2559
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2560
|
+
switch (errorCode) {
|
|
2561
|
+
case "AccessDeniedException":
|
|
2562
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
2563
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2564
|
+
case "ConflictException":
|
|
2565
|
+
case "com.amazonaws.m2#ConflictException":
|
|
2566
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2567
|
+
case "InternalServerException":
|
|
2568
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
2569
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2570
|
+
case "ResourceNotFoundException":
|
|
2571
|
+
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2572
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2573
|
+
case "ServiceQuotaExceededException":
|
|
2574
|
+
case "com.amazonaws.m2#ServiceQuotaExceededException":
|
|
2575
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2576
|
+
case "ThrottlingException":
|
|
2577
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
2578
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2579
|
+
case "ValidationException":
|
|
2580
|
+
case "com.amazonaws.m2#ValidationException":
|
|
2581
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2582
|
+
default:
|
|
2583
|
+
const parsedBody = parsedOutput.body;
|
|
2584
|
+
return throwDefaultError({
|
|
2585
|
+
output,
|
|
2586
|
+
parsedBody,
|
|
2587
|
+
errorCode
|
|
2588
|
+
});
|
|
2589
|
+
}
|
|
2590
|
+
}, "de_UpdateEnvironmentCommandError");
|
|
2591
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(M2ServiceException);
|
|
2592
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2593
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2594
|
+
const data = parsedOutput.body;
|
|
2595
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2596
|
+
message: import_smithy_client.expectString
|
|
2597
|
+
});
|
|
2598
|
+
Object.assign(contents, doc);
|
|
2599
|
+
const exception = new AccessDeniedException({
|
|
2600
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2601
|
+
...contents
|
|
2602
|
+
});
|
|
2603
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2604
|
+
}, "de_AccessDeniedExceptionRes");
|
|
2605
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2606
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2607
|
+
const data = parsedOutput.body;
|
|
2608
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2609
|
+
message: import_smithy_client.expectString,
|
|
2610
|
+
resourceId: import_smithy_client.expectString,
|
|
2611
|
+
resourceType: import_smithy_client.expectString
|
|
2612
|
+
});
|
|
2613
|
+
Object.assign(contents, doc);
|
|
2614
|
+
const exception = new ConflictException({
|
|
2615
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2616
|
+
...contents
|
|
2617
|
+
});
|
|
2618
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2619
|
+
}, "de_ConflictExceptionRes");
|
|
2620
|
+
var de_ExecutionTimeoutExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2621
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2622
|
+
const data = parsedOutput.body;
|
|
2623
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2624
|
+
message: import_smithy_client.expectString
|
|
2625
|
+
});
|
|
2626
|
+
Object.assign(contents, doc);
|
|
2627
|
+
const exception = new ExecutionTimeoutException({
|
|
2628
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2629
|
+
...contents
|
|
2630
|
+
});
|
|
2631
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2632
|
+
}, "de_ExecutionTimeoutExceptionRes");
|
|
2633
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2634
|
+
const contents = (0, import_smithy_client.map)({
|
|
2635
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
2636
|
+
});
|
|
2637
|
+
const data = parsedOutput.body;
|
|
2638
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2639
|
+
message: import_smithy_client.expectString
|
|
2640
|
+
});
|
|
2641
|
+
Object.assign(contents, doc);
|
|
2642
|
+
const exception = new InternalServerException({
|
|
2643
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2644
|
+
...contents
|
|
2645
|
+
});
|
|
2646
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2647
|
+
}, "de_InternalServerExceptionRes");
|
|
2648
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2649
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2650
|
+
const data = parsedOutput.body;
|
|
2651
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2652
|
+
message: import_smithy_client.expectString,
|
|
2653
|
+
resourceId: import_smithy_client.expectString,
|
|
2654
|
+
resourceType: import_smithy_client.expectString
|
|
2655
|
+
});
|
|
2656
|
+
Object.assign(contents, doc);
|
|
2657
|
+
const exception = new ResourceNotFoundException({
|
|
2658
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2659
|
+
...contents
|
|
2660
|
+
});
|
|
2661
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2662
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
2663
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2664
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2665
|
+
const data = parsedOutput.body;
|
|
2666
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2667
|
+
message: import_smithy_client.expectString,
|
|
2668
|
+
quotaCode: import_smithy_client.expectString,
|
|
2669
|
+
resourceId: import_smithy_client.expectString,
|
|
2670
|
+
resourceType: import_smithy_client.expectString,
|
|
2671
|
+
serviceCode: import_smithy_client.expectString
|
|
2672
|
+
});
|
|
2673
|
+
Object.assign(contents, doc);
|
|
2674
|
+
const exception = new ServiceQuotaExceededException({
|
|
2675
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2676
|
+
...contents
|
|
2677
|
+
});
|
|
2678
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2679
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
2680
|
+
var de_ServiceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2681
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2682
|
+
const data = parsedOutput.body;
|
|
2683
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2684
|
+
message: import_smithy_client.expectString
|
|
2685
|
+
});
|
|
2686
|
+
Object.assign(contents, doc);
|
|
2687
|
+
const exception = new ServiceUnavailableException({
|
|
2688
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2689
|
+
...contents
|
|
2690
|
+
});
|
|
2691
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2692
|
+
}, "de_ServiceUnavailableExceptionRes");
|
|
2693
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2694
|
+
const contents = (0, import_smithy_client.map)({
|
|
2695
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
2696
|
+
});
|
|
2697
|
+
const data = parsedOutput.body;
|
|
2698
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2699
|
+
message: import_smithy_client.expectString,
|
|
2700
|
+
quotaCode: import_smithy_client.expectString,
|
|
2701
|
+
serviceCode: import_smithy_client.expectString
|
|
2702
|
+
});
|
|
2703
|
+
Object.assign(contents, doc);
|
|
2704
|
+
const exception = new ThrottlingException({
|
|
2705
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2706
|
+
...contents
|
|
2707
|
+
});
|
|
2708
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2709
|
+
}, "de_ThrottlingExceptionRes");
|
|
2710
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2711
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2712
|
+
const data = parsedOutput.body;
|
|
2713
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2714
|
+
fieldList: import_smithy_client._json,
|
|
2715
|
+
message: import_smithy_client.expectString,
|
|
2716
|
+
reason: import_smithy_client.expectString
|
|
2717
|
+
});
|
|
2718
|
+
Object.assign(contents, doc);
|
|
2719
|
+
const exception = new ValidationException({
|
|
2720
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2721
|
+
...contents
|
|
2722
|
+
});
|
|
2723
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2724
|
+
}, "de_ValidationExceptionRes");
|
|
2725
|
+
var se_EfsStorageConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
2726
|
+
return (0, import_smithy_client.take)(input, {
|
|
2727
|
+
"file-system-id": [, , `fileSystemId`],
|
|
2728
|
+
"mount-point": [, , `mountPoint`]
|
|
2729
|
+
});
|
|
2730
|
+
}, "se_EfsStorageConfiguration");
|
|
2731
|
+
var se_FsxStorageConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
2732
|
+
return (0, import_smithy_client.take)(input, {
|
|
2733
|
+
"file-system-id": [, , `fileSystemId`],
|
|
2734
|
+
"mount-point": [, , `mountPoint`]
|
|
2735
|
+
});
|
|
2736
|
+
}, "se_FsxStorageConfiguration");
|
|
2737
|
+
var se_StorageConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
2738
|
+
return StorageConfiguration.visit(input, {
|
|
2739
|
+
efs: (value) => ({ efs: se_EfsStorageConfiguration(value, context) }),
|
|
2740
|
+
fsx: (value) => ({ fsx: se_FsxStorageConfiguration(value, context) }),
|
|
2741
|
+
_: (name, value) => ({ name: value })
|
|
2742
|
+
});
|
|
2743
|
+
}, "se_StorageConfiguration");
|
|
2744
|
+
var se_StorageConfigurationList = /* @__PURE__ */ __name((input, context) => {
|
|
2745
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
2746
|
+
return se_StorageConfiguration(entry, context);
|
|
2747
|
+
});
|
|
2748
|
+
}, "se_StorageConfigurationList");
|
|
2749
|
+
var de_ApplicationSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2750
|
+
return (0, import_smithy_client.take)(output, {
|
|
2751
|
+
applicationArn: import_smithy_client.expectString,
|
|
2752
|
+
applicationId: import_smithy_client.expectString,
|
|
2753
|
+
applicationVersion: import_smithy_client.expectInt32,
|
|
2754
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2755
|
+
deploymentStatus: import_smithy_client.expectString,
|
|
2756
|
+
description: import_smithy_client.expectString,
|
|
2757
|
+
engineType: import_smithy_client.expectString,
|
|
2758
|
+
environmentId: import_smithy_client.expectString,
|
|
2759
|
+
lastStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2760
|
+
name: import_smithy_client.expectString,
|
|
2761
|
+
roleArn: import_smithy_client.expectString,
|
|
2762
|
+
status: import_smithy_client.expectString,
|
|
2763
|
+
versionStatus: import_smithy_client.expectString
|
|
2764
|
+
});
|
|
2765
|
+
}, "de_ApplicationSummary");
|
|
2766
|
+
var de_ApplicationSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
2767
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2768
|
+
return de_ApplicationSummary(entry, context);
|
|
2769
|
+
});
|
|
2770
|
+
return retVal;
|
|
2771
|
+
}, "de_ApplicationSummaryList");
|
|
2772
|
+
var de_ApplicationVersionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2773
|
+
return (0, import_smithy_client.take)(output, {
|
|
2774
|
+
applicationVersion: import_smithy_client.expectInt32,
|
|
2775
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2776
|
+
status: import_smithy_client.expectString,
|
|
2777
|
+
statusReason: import_smithy_client.expectString
|
|
2778
|
+
});
|
|
2779
|
+
}, "de_ApplicationVersionSummary");
|
|
2780
|
+
var de_ApplicationVersionSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
2781
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2782
|
+
return de_ApplicationVersionSummary(entry, context);
|
|
2783
|
+
});
|
|
2784
|
+
return retVal;
|
|
2785
|
+
}, "de_ApplicationVersionSummaryList");
|
|
2786
|
+
var de_BatchJobExecutionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2787
|
+
return (0, import_smithy_client.take)(output, {
|
|
2788
|
+
applicationId: import_smithy_client.expectString,
|
|
2789
|
+
batchJobIdentifier: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
|
|
2790
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2791
|
+
executionId: import_smithy_client.expectString,
|
|
2792
|
+
jobId: import_smithy_client.expectString,
|
|
2793
|
+
jobName: import_smithy_client.expectString,
|
|
2794
|
+
jobType: import_smithy_client.expectString,
|
|
2795
|
+
returnCode: import_smithy_client.expectString,
|
|
2796
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2797
|
+
status: import_smithy_client.expectString
|
|
2798
|
+
});
|
|
2799
|
+
}, "de_BatchJobExecutionSummary");
|
|
2800
|
+
var de_BatchJobExecutionSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
2801
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2802
|
+
return de_BatchJobExecutionSummary(entry, context);
|
|
2803
|
+
});
|
|
2804
|
+
return retVal;
|
|
2805
|
+
}, "de_BatchJobExecutionSummaryList");
|
|
2806
|
+
var de_DataSetsSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
2807
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2808
|
+
return de_DataSetSummary(entry, context);
|
|
2809
|
+
});
|
|
2810
|
+
return retVal;
|
|
2811
|
+
}, "de_DataSetsSummaryList");
|
|
2812
|
+
var de_DataSetSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2813
|
+
return (0, import_smithy_client.take)(output, {
|
|
2814
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2815
|
+
dataSetName: import_smithy_client.expectString,
|
|
2816
|
+
dataSetOrg: import_smithy_client.expectString,
|
|
2817
|
+
format: import_smithy_client.expectString,
|
|
2818
|
+
lastReferencedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2819
|
+
lastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2820
|
+
});
|
|
2821
|
+
}, "de_DataSetSummary");
|
|
2822
|
+
var de_DeploymentList = /* @__PURE__ */ __name((output, context) => {
|
|
2823
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2824
|
+
return de_DeploymentSummary(entry, context);
|
|
2825
|
+
});
|
|
2826
|
+
return retVal;
|
|
2827
|
+
}, "de_DeploymentList");
|
|
2828
|
+
var de_DeploymentSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2829
|
+
return (0, import_smithy_client.take)(output, {
|
|
2830
|
+
applicationId: import_smithy_client.expectString,
|
|
2831
|
+
applicationVersion: import_smithy_client.expectInt32,
|
|
2832
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2833
|
+
deploymentId: import_smithy_client.expectString,
|
|
2834
|
+
environmentId: import_smithy_client.expectString,
|
|
2835
|
+
status: import_smithy_client.expectString,
|
|
2836
|
+
statusReason: import_smithy_client.expectString
|
|
2837
|
+
});
|
|
2838
|
+
}, "de_DeploymentSummary");
|
|
2839
|
+
var de_EfsStorageConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
2840
|
+
return (0, import_smithy_client.take)(output, {
|
|
2841
|
+
fileSystemId: [, import_smithy_client.expectString, `file-system-id`],
|
|
2842
|
+
mountPoint: [, import_smithy_client.expectString, `mount-point`]
|
|
2843
|
+
});
|
|
2844
|
+
}, "de_EfsStorageConfiguration");
|
|
2845
|
+
var de_EnvironmentSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2846
|
+
return (0, import_smithy_client.take)(output, {
|
|
2847
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2848
|
+
engineType: import_smithy_client.expectString,
|
|
2849
|
+
engineVersion: import_smithy_client.expectString,
|
|
2850
|
+
environmentArn: import_smithy_client.expectString,
|
|
2851
|
+
environmentId: import_smithy_client.expectString,
|
|
2852
|
+
instanceType: import_smithy_client.expectString,
|
|
2853
|
+
name: import_smithy_client.expectString,
|
|
2854
|
+
status: import_smithy_client.expectString
|
|
2855
|
+
});
|
|
2856
|
+
}, "de_EnvironmentSummary");
|
|
2857
|
+
var de_EnvironmentSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
2858
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2859
|
+
return de_EnvironmentSummary(entry, context);
|
|
2860
|
+
});
|
|
2861
|
+
return retVal;
|
|
2862
|
+
}, "de_EnvironmentSummaryList");
|
|
2863
|
+
var de_FsxStorageConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
2864
|
+
return (0, import_smithy_client.take)(output, {
|
|
2865
|
+
fileSystemId: [, import_smithy_client.expectString, `file-system-id`],
|
|
2866
|
+
mountPoint: [, import_smithy_client.expectString, `mount-point`]
|
|
2867
|
+
});
|
|
2868
|
+
}, "de_FsxStorageConfiguration");
|
|
2869
|
+
var de_MaintenanceSchedule = /* @__PURE__ */ __name((output, context) => {
|
|
2870
|
+
return (0, import_smithy_client.take)(output, {
|
|
2871
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2872
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2873
|
+
});
|
|
2874
|
+
}, "de_MaintenanceSchedule");
|
|
2875
|
+
var de_PendingMaintenance = /* @__PURE__ */ __name((output, context) => {
|
|
2876
|
+
return (0, import_smithy_client.take)(output, {
|
|
2877
|
+
engineVersion: import_smithy_client.expectString,
|
|
2878
|
+
schedule: (_) => de_MaintenanceSchedule(_, context)
|
|
2879
|
+
});
|
|
2880
|
+
}, "de_PendingMaintenance");
|
|
2881
|
+
var de_StorageConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
2882
|
+
if (output.efs != null) {
|
|
2883
|
+
return {
|
|
2884
|
+
efs: de_EfsStorageConfiguration(output.efs, context)
|
|
2885
|
+
};
|
|
2886
|
+
}
|
|
2887
|
+
if (output.fsx != null) {
|
|
2888
|
+
return {
|
|
2889
|
+
fsx: de_FsxStorageConfiguration(output.fsx, context)
|
|
2890
|
+
};
|
|
2891
|
+
}
|
|
2892
|
+
return { $unknown: Object.entries(output)[0] };
|
|
2893
|
+
}, "de_StorageConfiguration");
|
|
2894
|
+
var de_StorageConfigurationList = /* @__PURE__ */ __name((output, context) => {
|
|
2895
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2896
|
+
return de_StorageConfiguration((0, import_core.awsExpectUnion)(entry), context);
|
|
2897
|
+
});
|
|
2898
|
+
return retVal;
|
|
2899
|
+
}, "de_StorageConfigurationList");
|
|
2900
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2901
|
+
httpStatusCode: output.statusCode,
|
|
2902
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2903
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2904
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2905
|
+
}), "deserializeMetadata");
|
|
2906
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2907
|
+
var _eI = "environmentId";
|
|
2908
|
+
var _eIx = "executionIds";
|
|
2909
|
+
var _eT = "engineType";
|
|
2910
|
+
var _jN = "jobName";
|
|
2911
|
+
var _mR = "maxResults";
|
|
2912
|
+
var _n = "names";
|
|
2913
|
+
var _nF = "nameFilter";
|
|
2914
|
+
var _nT = "nextToken";
|
|
2915
|
+
var _p = "prefix";
|
|
2916
|
+
var _rAS = "retryAfterSeconds";
|
|
2917
|
+
var _ra = "retry-after";
|
|
2918
|
+
var _s = "status";
|
|
2919
|
+
var _sA = "startedAfter";
|
|
2920
|
+
var _sB = "startedBefore";
|
|
2921
|
+
var _tK = "tagKeys";
|
|
2922
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2923
|
+
if (encoded.length) {
|
|
2924
|
+
return JSON.parse(encoded);
|
|
2925
|
+
}
|
|
2926
|
+
return {};
|
|
2927
|
+
}), "parseBody");
|
|
2928
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2929
|
+
const value = await parseBody(errorBody, context);
|
|
2930
|
+
value.message = value.message ?? value.Message;
|
|
2931
|
+
return value;
|
|
2932
|
+
}, "parseErrorBody");
|
|
2933
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2934
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2935
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2936
|
+
let cleanValue = rawValue;
|
|
2937
|
+
if (typeof cleanValue === "number") {
|
|
2938
|
+
cleanValue = cleanValue.toString();
|
|
2939
|
+
}
|
|
2940
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2941
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2942
|
+
}
|
|
2943
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2944
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2945
|
+
}
|
|
2946
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2947
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2948
|
+
}
|
|
2949
|
+
return cleanValue;
|
|
2950
|
+
}, "sanitizeErrorCode");
|
|
2951
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2952
|
+
if (headerKey !== void 0) {
|
|
2953
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2954
|
+
}
|
|
2955
|
+
if (data.code !== void 0) {
|
|
2956
|
+
return sanitizeErrorCode(data.code);
|
|
2957
|
+
}
|
|
2958
|
+
if (data["__type"] !== void 0) {
|
|
2959
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2960
|
+
}
|
|
2961
|
+
}, "loadRestJsonErrorCode");
|
|
2962
|
+
|
|
2963
|
+
// src/commands/CancelBatchJobExecutionCommand.ts
|
|
2964
|
+
var _CancelBatchJobExecutionCommand = class _CancelBatchJobExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2965
|
+
...commonParams
|
|
2966
|
+
}).m(function(Command, cs, config, o) {
|
|
2967
|
+
return [
|
|
2968
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2969
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2970
|
+
];
|
|
2971
|
+
}).s("AwsSupernovaControlPlaneService", "CancelBatchJobExecution", {}).n("M2Client", "CancelBatchJobExecutionCommand").f(void 0, void 0).ser(se_CancelBatchJobExecutionCommand).de(de_CancelBatchJobExecutionCommand).build() {
|
|
2972
|
+
};
|
|
2973
|
+
__name(_CancelBatchJobExecutionCommand, "CancelBatchJobExecutionCommand");
|
|
2974
|
+
var CancelBatchJobExecutionCommand = _CancelBatchJobExecutionCommand;
|
|
2975
|
+
|
|
2976
|
+
// src/commands/CreateApplicationCommand.ts
|
|
2977
|
+
|
|
2978
|
+
|
|
2979
|
+
|
|
2980
|
+
|
|
2981
|
+
var _CreateApplicationCommand = class _CreateApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2982
|
+
...commonParams
|
|
2983
|
+
}).m(function(Command, cs, config, o) {
|
|
2984
|
+
return [
|
|
2985
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2986
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2987
|
+
];
|
|
2988
|
+
}).s("AwsSupernovaControlPlaneService", "CreateApplication", {}).n("M2Client", "CreateApplicationCommand").f(void 0, void 0).ser(se_CreateApplicationCommand).de(de_CreateApplicationCommand).build() {
|
|
2989
|
+
};
|
|
2990
|
+
__name(_CreateApplicationCommand, "CreateApplicationCommand");
|
|
2991
|
+
var CreateApplicationCommand = _CreateApplicationCommand;
|
|
2992
|
+
|
|
2993
|
+
// src/commands/CreateDataSetImportTaskCommand.ts
|
|
2994
|
+
|
|
2995
|
+
|
|
2996
|
+
|
|
2997
|
+
|
|
2998
|
+
var _CreateDataSetImportTaskCommand = class _CreateDataSetImportTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2999
|
+
...commonParams
|
|
3000
|
+
}).m(function(Command, cs, config, o) {
|
|
3001
|
+
return [
|
|
3002
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3003
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3004
|
+
];
|
|
3005
|
+
}).s("AwsSupernovaControlPlaneService", "CreateDataSetImportTask", {}).n("M2Client", "CreateDataSetImportTaskCommand").f(void 0, void 0).ser(se_CreateDataSetImportTaskCommand).de(de_CreateDataSetImportTaskCommand).build() {
|
|
3006
|
+
};
|
|
3007
|
+
__name(_CreateDataSetImportTaskCommand, "CreateDataSetImportTaskCommand");
|
|
3008
|
+
var CreateDataSetImportTaskCommand = _CreateDataSetImportTaskCommand;
|
|
3009
|
+
|
|
3010
|
+
// src/commands/CreateDeploymentCommand.ts
|
|
3011
|
+
|
|
3012
|
+
|
|
3013
|
+
|
|
3014
|
+
|
|
3015
|
+
var _CreateDeploymentCommand = class _CreateDeploymentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3016
|
+
...commonParams
|
|
3017
|
+
}).m(function(Command, cs, config, o) {
|
|
3018
|
+
return [
|
|
3019
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3020
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3021
|
+
];
|
|
3022
|
+
}).s("AwsSupernovaControlPlaneService", "CreateDeployment", {}).n("M2Client", "CreateDeploymentCommand").f(void 0, void 0).ser(se_CreateDeploymentCommand).de(de_CreateDeploymentCommand).build() {
|
|
3023
|
+
};
|
|
3024
|
+
__name(_CreateDeploymentCommand, "CreateDeploymentCommand");
|
|
3025
|
+
var CreateDeploymentCommand = _CreateDeploymentCommand;
|
|
3026
|
+
|
|
3027
|
+
// src/commands/CreateEnvironmentCommand.ts
|
|
3028
|
+
|
|
3029
|
+
|
|
3030
|
+
|
|
3031
|
+
|
|
3032
|
+
var _CreateEnvironmentCommand = class _CreateEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3033
|
+
...commonParams
|
|
3034
|
+
}).m(function(Command, cs, config, o) {
|
|
3035
|
+
return [
|
|
3036
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3037
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3038
|
+
];
|
|
3039
|
+
}).s("AwsSupernovaControlPlaneService", "CreateEnvironment", {}).n("M2Client", "CreateEnvironmentCommand").f(void 0, void 0).ser(se_CreateEnvironmentCommand).de(de_CreateEnvironmentCommand).build() {
|
|
3040
|
+
};
|
|
3041
|
+
__name(_CreateEnvironmentCommand, "CreateEnvironmentCommand");
|
|
3042
|
+
var CreateEnvironmentCommand = _CreateEnvironmentCommand;
|
|
3043
|
+
|
|
3044
|
+
// src/commands/DeleteApplicationCommand.ts
|
|
3045
|
+
|
|
3046
|
+
|
|
3047
|
+
|
|
3048
|
+
|
|
3049
|
+
var _DeleteApplicationCommand = class _DeleteApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3050
|
+
...commonParams
|
|
3051
|
+
}).m(function(Command, cs, config, o) {
|
|
3052
|
+
return [
|
|
3053
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3054
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3055
|
+
];
|
|
3056
|
+
}).s("AwsSupernovaControlPlaneService", "DeleteApplication", {}).n("M2Client", "DeleteApplicationCommand").f(void 0, void 0).ser(se_DeleteApplicationCommand).de(de_DeleteApplicationCommand).build() {
|
|
3057
|
+
};
|
|
3058
|
+
__name(_DeleteApplicationCommand, "DeleteApplicationCommand");
|
|
3059
|
+
var DeleteApplicationCommand = _DeleteApplicationCommand;
|
|
3060
|
+
|
|
3061
|
+
// src/commands/DeleteApplicationFromEnvironmentCommand.ts
|
|
3062
|
+
|
|
3063
|
+
|
|
3064
|
+
|
|
3065
|
+
|
|
3066
|
+
var _DeleteApplicationFromEnvironmentCommand = class _DeleteApplicationFromEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3067
|
+
...commonParams
|
|
3068
|
+
}).m(function(Command, cs, config, o) {
|
|
3069
|
+
return [
|
|
3070
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3071
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3072
|
+
];
|
|
3073
|
+
}).s("AwsSupernovaControlPlaneService", "DeleteApplicationFromEnvironment", {}).n("M2Client", "DeleteApplicationFromEnvironmentCommand").f(void 0, void 0).ser(se_DeleteApplicationFromEnvironmentCommand).de(de_DeleteApplicationFromEnvironmentCommand).build() {
|
|
3074
|
+
};
|
|
3075
|
+
__name(_DeleteApplicationFromEnvironmentCommand, "DeleteApplicationFromEnvironmentCommand");
|
|
3076
|
+
var DeleteApplicationFromEnvironmentCommand = _DeleteApplicationFromEnvironmentCommand;
|
|
3077
|
+
|
|
3078
|
+
// src/commands/DeleteEnvironmentCommand.ts
|
|
3079
|
+
|
|
3080
|
+
|
|
3081
|
+
|
|
3082
|
+
|
|
3083
|
+
var _DeleteEnvironmentCommand = class _DeleteEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3084
|
+
...commonParams
|
|
3085
|
+
}).m(function(Command, cs, config, o) {
|
|
3086
|
+
return [
|
|
3087
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3088
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3089
|
+
];
|
|
3090
|
+
}).s("AwsSupernovaControlPlaneService", "DeleteEnvironment", {}).n("M2Client", "DeleteEnvironmentCommand").f(void 0, void 0).ser(se_DeleteEnvironmentCommand).de(de_DeleteEnvironmentCommand).build() {
|
|
3091
|
+
};
|
|
3092
|
+
__name(_DeleteEnvironmentCommand, "DeleteEnvironmentCommand");
|
|
3093
|
+
var DeleteEnvironmentCommand = _DeleteEnvironmentCommand;
|
|
3094
|
+
|
|
3095
|
+
// src/commands/GetApplicationCommand.ts
|
|
3096
|
+
|
|
3097
|
+
|
|
3098
|
+
|
|
3099
|
+
|
|
3100
|
+
var _GetApplicationCommand = class _GetApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3101
|
+
...commonParams
|
|
3102
|
+
}).m(function(Command, cs, config, o) {
|
|
3103
|
+
return [
|
|
3104
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3105
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3106
|
+
];
|
|
3107
|
+
}).s("AwsSupernovaControlPlaneService", "GetApplication", {}).n("M2Client", "GetApplicationCommand").f(void 0, void 0).ser(se_GetApplicationCommand).de(de_GetApplicationCommand).build() {
|
|
3108
|
+
};
|
|
3109
|
+
__name(_GetApplicationCommand, "GetApplicationCommand");
|
|
3110
|
+
var GetApplicationCommand = _GetApplicationCommand;
|
|
3111
|
+
|
|
3112
|
+
// src/commands/GetApplicationVersionCommand.ts
|
|
3113
|
+
|
|
3114
|
+
|
|
3115
|
+
|
|
3116
|
+
|
|
3117
|
+
var _GetApplicationVersionCommand = class _GetApplicationVersionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3118
|
+
...commonParams
|
|
3119
|
+
}).m(function(Command, cs, config, o) {
|
|
3120
|
+
return [
|
|
3121
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3122
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3123
|
+
];
|
|
3124
|
+
}).s("AwsSupernovaControlPlaneService", "GetApplicationVersion", {}).n("M2Client", "GetApplicationVersionCommand").f(void 0, void 0).ser(se_GetApplicationVersionCommand).de(de_GetApplicationVersionCommand).build() {
|
|
3125
|
+
};
|
|
3126
|
+
__name(_GetApplicationVersionCommand, "GetApplicationVersionCommand");
|
|
3127
|
+
var GetApplicationVersionCommand = _GetApplicationVersionCommand;
|
|
3128
|
+
|
|
3129
|
+
// src/commands/GetBatchJobExecutionCommand.ts
|
|
3130
|
+
|
|
3131
|
+
|
|
3132
|
+
|
|
3133
|
+
|
|
3134
|
+
var _GetBatchJobExecutionCommand = class _GetBatchJobExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3135
|
+
...commonParams
|
|
3136
|
+
}).m(function(Command, cs, config, o) {
|
|
3137
|
+
return [
|
|
3138
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3139
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3140
|
+
];
|
|
3141
|
+
}).s("AwsSupernovaControlPlaneService", "GetBatchJobExecution", {}).n("M2Client", "GetBatchJobExecutionCommand").f(void 0, void 0).ser(se_GetBatchJobExecutionCommand).de(de_GetBatchJobExecutionCommand).build() {
|
|
3142
|
+
};
|
|
3143
|
+
__name(_GetBatchJobExecutionCommand, "GetBatchJobExecutionCommand");
|
|
3144
|
+
var GetBatchJobExecutionCommand = _GetBatchJobExecutionCommand;
|
|
3145
|
+
|
|
3146
|
+
// src/commands/GetDataSetDetailsCommand.ts
|
|
3147
|
+
|
|
3148
|
+
|
|
3149
|
+
|
|
3150
|
+
|
|
3151
|
+
var _GetDataSetDetailsCommand = class _GetDataSetDetailsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3152
|
+
...commonParams
|
|
3153
|
+
}).m(function(Command, cs, config, o) {
|
|
3154
|
+
return [
|
|
3155
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3156
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3157
|
+
];
|
|
3158
|
+
}).s("AwsSupernovaControlPlaneService", "GetDataSetDetails", {}).n("M2Client", "GetDataSetDetailsCommand").f(void 0, void 0).ser(se_GetDataSetDetailsCommand).de(de_GetDataSetDetailsCommand).build() {
|
|
3159
|
+
};
|
|
3160
|
+
__name(_GetDataSetDetailsCommand, "GetDataSetDetailsCommand");
|
|
3161
|
+
var GetDataSetDetailsCommand = _GetDataSetDetailsCommand;
|
|
3162
|
+
|
|
3163
|
+
// src/commands/GetDataSetImportTaskCommand.ts
|
|
3164
|
+
|
|
3165
|
+
|
|
3166
|
+
|
|
3167
|
+
|
|
3168
|
+
var _GetDataSetImportTaskCommand = class _GetDataSetImportTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3169
|
+
...commonParams
|
|
3170
|
+
}).m(function(Command, cs, config, o) {
|
|
3171
|
+
return [
|
|
3172
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3173
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3174
|
+
];
|
|
3175
|
+
}).s("AwsSupernovaControlPlaneService", "GetDataSetImportTask", {}).n("M2Client", "GetDataSetImportTaskCommand").f(void 0, void 0).ser(se_GetDataSetImportTaskCommand).de(de_GetDataSetImportTaskCommand).build() {
|
|
3176
|
+
};
|
|
3177
|
+
__name(_GetDataSetImportTaskCommand, "GetDataSetImportTaskCommand");
|
|
3178
|
+
var GetDataSetImportTaskCommand = _GetDataSetImportTaskCommand;
|
|
3179
|
+
|
|
3180
|
+
// src/commands/GetDeploymentCommand.ts
|
|
3181
|
+
|
|
3182
|
+
|
|
3183
|
+
|
|
3184
|
+
|
|
3185
|
+
var _GetDeploymentCommand = class _GetDeploymentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3186
|
+
...commonParams
|
|
3187
|
+
}).m(function(Command, cs, config, o) {
|
|
3188
|
+
return [
|
|
3189
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3190
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3191
|
+
];
|
|
3192
|
+
}).s("AwsSupernovaControlPlaneService", "GetDeployment", {}).n("M2Client", "GetDeploymentCommand").f(void 0, void 0).ser(se_GetDeploymentCommand).de(de_GetDeploymentCommand).build() {
|
|
3193
|
+
};
|
|
3194
|
+
__name(_GetDeploymentCommand, "GetDeploymentCommand");
|
|
3195
|
+
var GetDeploymentCommand = _GetDeploymentCommand;
|
|
3196
|
+
|
|
3197
|
+
// src/commands/GetEnvironmentCommand.ts
|
|
3198
|
+
|
|
3199
|
+
|
|
3200
|
+
|
|
3201
|
+
|
|
3202
|
+
var _GetEnvironmentCommand = class _GetEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3203
|
+
...commonParams
|
|
3204
|
+
}).m(function(Command, cs, config, o) {
|
|
3205
|
+
return [
|
|
3206
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3207
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3208
|
+
];
|
|
3209
|
+
}).s("AwsSupernovaControlPlaneService", "GetEnvironment", {}).n("M2Client", "GetEnvironmentCommand").f(void 0, void 0).ser(se_GetEnvironmentCommand).de(de_GetEnvironmentCommand).build() {
|
|
3210
|
+
};
|
|
3211
|
+
__name(_GetEnvironmentCommand, "GetEnvironmentCommand");
|
|
3212
|
+
var GetEnvironmentCommand = _GetEnvironmentCommand;
|
|
3213
|
+
|
|
3214
|
+
// src/commands/GetSignedBluinsightsUrlCommand.ts
|
|
3215
|
+
|
|
3216
|
+
|
|
3217
|
+
|
|
3218
|
+
|
|
3219
|
+
var _GetSignedBluinsightsUrlCommand = class _GetSignedBluinsightsUrlCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3220
|
+
...commonParams
|
|
3221
|
+
}).m(function(Command, cs, config, o) {
|
|
3222
|
+
return [
|
|
3223
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3224
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3225
|
+
];
|
|
3226
|
+
}).s("AwsSupernovaControlPlaneService", "GetSignedBluinsightsUrl", {}).n("M2Client", "GetSignedBluinsightsUrlCommand").f(void 0, void 0).ser(se_GetSignedBluinsightsUrlCommand).de(de_GetSignedBluinsightsUrlCommand).build() {
|
|
3227
|
+
};
|
|
3228
|
+
__name(_GetSignedBluinsightsUrlCommand, "GetSignedBluinsightsUrlCommand");
|
|
3229
|
+
var GetSignedBluinsightsUrlCommand = _GetSignedBluinsightsUrlCommand;
|
|
3230
|
+
|
|
3231
|
+
// src/commands/ListApplicationsCommand.ts
|
|
3232
|
+
|
|
3233
|
+
|
|
3234
|
+
|
|
3235
|
+
|
|
3236
|
+
var _ListApplicationsCommand = class _ListApplicationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3237
|
+
...commonParams
|
|
3238
|
+
}).m(function(Command, cs, config, o) {
|
|
3239
|
+
return [
|
|
3240
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3241
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3242
|
+
];
|
|
3243
|
+
}).s("AwsSupernovaControlPlaneService", "ListApplications", {}).n("M2Client", "ListApplicationsCommand").f(void 0, void 0).ser(se_ListApplicationsCommand).de(de_ListApplicationsCommand).build() {
|
|
3244
|
+
};
|
|
3245
|
+
__name(_ListApplicationsCommand, "ListApplicationsCommand");
|
|
3246
|
+
var ListApplicationsCommand = _ListApplicationsCommand;
|
|
3247
|
+
|
|
3248
|
+
// src/commands/ListApplicationVersionsCommand.ts
|
|
3249
|
+
|
|
3250
|
+
|
|
3251
|
+
|
|
3252
|
+
|
|
3253
|
+
var _ListApplicationVersionsCommand = class _ListApplicationVersionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3254
|
+
...commonParams
|
|
3255
|
+
}).m(function(Command, cs, config, o) {
|
|
3256
|
+
return [
|
|
3257
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3258
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3259
|
+
];
|
|
3260
|
+
}).s("AwsSupernovaControlPlaneService", "ListApplicationVersions", {}).n("M2Client", "ListApplicationVersionsCommand").f(void 0, void 0).ser(se_ListApplicationVersionsCommand).de(de_ListApplicationVersionsCommand).build() {
|
|
3261
|
+
};
|
|
3262
|
+
__name(_ListApplicationVersionsCommand, "ListApplicationVersionsCommand");
|
|
3263
|
+
var ListApplicationVersionsCommand = _ListApplicationVersionsCommand;
|
|
3264
|
+
|
|
3265
|
+
// src/commands/ListBatchJobDefinitionsCommand.ts
|
|
3266
|
+
|
|
3267
|
+
|
|
3268
|
+
|
|
3269
|
+
|
|
3270
|
+
var _ListBatchJobDefinitionsCommand = class _ListBatchJobDefinitionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3271
|
+
...commonParams
|
|
3272
|
+
}).m(function(Command, cs, config, o) {
|
|
3273
|
+
return [
|
|
3274
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3275
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3276
|
+
];
|
|
3277
|
+
}).s("AwsSupernovaControlPlaneService", "ListBatchJobDefinitions", {}).n("M2Client", "ListBatchJobDefinitionsCommand").f(void 0, void 0).ser(se_ListBatchJobDefinitionsCommand).de(de_ListBatchJobDefinitionsCommand).build() {
|
|
3278
|
+
};
|
|
3279
|
+
__name(_ListBatchJobDefinitionsCommand, "ListBatchJobDefinitionsCommand");
|
|
3280
|
+
var ListBatchJobDefinitionsCommand = _ListBatchJobDefinitionsCommand;
|
|
3281
|
+
|
|
3282
|
+
// src/commands/ListBatchJobExecutionsCommand.ts
|
|
3283
|
+
|
|
3284
|
+
|
|
3285
|
+
|
|
3286
|
+
|
|
3287
|
+
var _ListBatchJobExecutionsCommand = class _ListBatchJobExecutionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3288
|
+
...commonParams
|
|
3289
|
+
}).m(function(Command, cs, config, o) {
|
|
3290
|
+
return [
|
|
3291
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3292
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3293
|
+
];
|
|
3294
|
+
}).s("AwsSupernovaControlPlaneService", "ListBatchJobExecutions", {}).n("M2Client", "ListBatchJobExecutionsCommand").f(void 0, void 0).ser(se_ListBatchJobExecutionsCommand).de(de_ListBatchJobExecutionsCommand).build() {
|
|
3295
|
+
};
|
|
3296
|
+
__name(_ListBatchJobExecutionsCommand, "ListBatchJobExecutionsCommand");
|
|
3297
|
+
var ListBatchJobExecutionsCommand = _ListBatchJobExecutionsCommand;
|
|
3298
|
+
|
|
3299
|
+
// src/commands/ListDataSetImportHistoryCommand.ts
|
|
3300
|
+
|
|
3301
|
+
|
|
3302
|
+
|
|
3303
|
+
|
|
3304
|
+
var _ListDataSetImportHistoryCommand = class _ListDataSetImportHistoryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3305
|
+
...commonParams
|
|
3306
|
+
}).m(function(Command, cs, config, o) {
|
|
3307
|
+
return [
|
|
3308
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3309
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3310
|
+
];
|
|
3311
|
+
}).s("AwsSupernovaControlPlaneService", "ListDataSetImportHistory", {}).n("M2Client", "ListDataSetImportHistoryCommand").f(void 0, void 0).ser(se_ListDataSetImportHistoryCommand).de(de_ListDataSetImportHistoryCommand).build() {
|
|
3312
|
+
};
|
|
3313
|
+
__name(_ListDataSetImportHistoryCommand, "ListDataSetImportHistoryCommand");
|
|
3314
|
+
var ListDataSetImportHistoryCommand = _ListDataSetImportHistoryCommand;
|
|
3315
|
+
|
|
3316
|
+
// src/commands/ListDataSetsCommand.ts
|
|
3317
|
+
|
|
3318
|
+
|
|
3319
|
+
|
|
3320
|
+
|
|
3321
|
+
var _ListDataSetsCommand = class _ListDataSetsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3322
|
+
...commonParams
|
|
3323
|
+
}).m(function(Command, cs, config, o) {
|
|
3324
|
+
return [
|
|
3325
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3326
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3327
|
+
];
|
|
3328
|
+
}).s("AwsSupernovaControlPlaneService", "ListDataSets", {}).n("M2Client", "ListDataSetsCommand").f(void 0, void 0).ser(se_ListDataSetsCommand).de(de_ListDataSetsCommand).build() {
|
|
3329
|
+
};
|
|
3330
|
+
__name(_ListDataSetsCommand, "ListDataSetsCommand");
|
|
3331
|
+
var ListDataSetsCommand = _ListDataSetsCommand;
|
|
3332
|
+
|
|
3333
|
+
// src/commands/ListDeploymentsCommand.ts
|
|
3334
|
+
|
|
3335
|
+
|
|
3336
|
+
|
|
3337
|
+
|
|
3338
|
+
var _ListDeploymentsCommand = class _ListDeploymentsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3339
|
+
...commonParams
|
|
3340
|
+
}).m(function(Command, cs, config, o) {
|
|
3341
|
+
return [
|
|
3342
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3343
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3344
|
+
];
|
|
3345
|
+
}).s("AwsSupernovaControlPlaneService", "ListDeployments", {}).n("M2Client", "ListDeploymentsCommand").f(void 0, void 0).ser(se_ListDeploymentsCommand).de(de_ListDeploymentsCommand).build() {
|
|
3346
|
+
};
|
|
3347
|
+
__name(_ListDeploymentsCommand, "ListDeploymentsCommand");
|
|
3348
|
+
var ListDeploymentsCommand = _ListDeploymentsCommand;
|
|
3349
|
+
|
|
3350
|
+
// src/commands/ListEngineVersionsCommand.ts
|
|
3351
|
+
|
|
3352
|
+
|
|
3353
|
+
|
|
3354
|
+
|
|
3355
|
+
var _ListEngineVersionsCommand = class _ListEngineVersionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3356
|
+
...commonParams
|
|
3357
|
+
}).m(function(Command, cs, config, o) {
|
|
3358
|
+
return [
|
|
3359
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3360
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3361
|
+
];
|
|
3362
|
+
}).s("AwsSupernovaControlPlaneService", "ListEngineVersions", {}).n("M2Client", "ListEngineVersionsCommand").f(void 0, void 0).ser(se_ListEngineVersionsCommand).de(de_ListEngineVersionsCommand).build() {
|
|
3363
|
+
};
|
|
3364
|
+
__name(_ListEngineVersionsCommand, "ListEngineVersionsCommand");
|
|
3365
|
+
var ListEngineVersionsCommand = _ListEngineVersionsCommand;
|
|
3366
|
+
|
|
3367
|
+
// src/commands/ListEnvironmentsCommand.ts
|
|
3368
|
+
|
|
3369
|
+
|
|
3370
|
+
|
|
3371
|
+
|
|
3372
|
+
var _ListEnvironmentsCommand = class _ListEnvironmentsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3373
|
+
...commonParams
|
|
3374
|
+
}).m(function(Command, cs, config, o) {
|
|
3375
|
+
return [
|
|
3376
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3377
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3378
|
+
];
|
|
3379
|
+
}).s("AwsSupernovaControlPlaneService", "ListEnvironments", {}).n("M2Client", "ListEnvironmentsCommand").f(void 0, void 0).ser(se_ListEnvironmentsCommand).de(de_ListEnvironmentsCommand).build() {
|
|
3380
|
+
};
|
|
3381
|
+
__name(_ListEnvironmentsCommand, "ListEnvironmentsCommand");
|
|
3382
|
+
var ListEnvironmentsCommand = _ListEnvironmentsCommand;
|
|
3383
|
+
|
|
3384
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
3385
|
+
|
|
3386
|
+
|
|
3387
|
+
|
|
3388
|
+
|
|
3389
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3390
|
+
...commonParams
|
|
3391
|
+
}).m(function(Command, cs, config, o) {
|
|
3392
|
+
return [
|
|
3393
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3394
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3395
|
+
];
|
|
3396
|
+
}).s("AwsSupernovaControlPlaneService", "ListTagsForResource", {}).n("M2Client", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
3397
|
+
};
|
|
3398
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
3399
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
3400
|
+
|
|
3401
|
+
// src/commands/StartApplicationCommand.ts
|
|
3402
|
+
|
|
3403
|
+
|
|
3404
|
+
|
|
3405
|
+
|
|
3406
|
+
var _StartApplicationCommand = class _StartApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3407
|
+
...commonParams
|
|
3408
|
+
}).m(function(Command, cs, config, o) {
|
|
3409
|
+
return [
|
|
3410
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3411
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3412
|
+
];
|
|
3413
|
+
}).s("AwsSupernovaControlPlaneService", "StartApplication", {}).n("M2Client", "StartApplicationCommand").f(void 0, void 0).ser(se_StartApplicationCommand).de(de_StartApplicationCommand).build() {
|
|
3414
|
+
};
|
|
3415
|
+
__name(_StartApplicationCommand, "StartApplicationCommand");
|
|
3416
|
+
var StartApplicationCommand = _StartApplicationCommand;
|
|
3417
|
+
|
|
3418
|
+
// src/commands/StartBatchJobCommand.ts
|
|
3419
|
+
|
|
3420
|
+
|
|
3421
|
+
|
|
3422
|
+
|
|
3423
|
+
var _StartBatchJobCommand = class _StartBatchJobCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3424
|
+
...commonParams
|
|
3425
|
+
}).m(function(Command, cs, config, o) {
|
|
3426
|
+
return [
|
|
3427
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3428
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3429
|
+
];
|
|
3430
|
+
}).s("AwsSupernovaControlPlaneService", "StartBatchJob", {}).n("M2Client", "StartBatchJobCommand").f(void 0, void 0).ser(se_StartBatchJobCommand).de(de_StartBatchJobCommand).build() {
|
|
3431
|
+
};
|
|
3432
|
+
__name(_StartBatchJobCommand, "StartBatchJobCommand");
|
|
3433
|
+
var StartBatchJobCommand = _StartBatchJobCommand;
|
|
3434
|
+
|
|
3435
|
+
// src/commands/StopApplicationCommand.ts
|
|
3436
|
+
|
|
3437
|
+
|
|
3438
|
+
|
|
3439
|
+
|
|
3440
|
+
var _StopApplicationCommand = class _StopApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3441
|
+
...commonParams
|
|
3442
|
+
}).m(function(Command, cs, config, o) {
|
|
3443
|
+
return [
|
|
3444
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3445
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3446
|
+
];
|
|
3447
|
+
}).s("AwsSupernovaControlPlaneService", "StopApplication", {}).n("M2Client", "StopApplicationCommand").f(void 0, void 0).ser(se_StopApplicationCommand).de(de_StopApplicationCommand).build() {
|
|
3448
|
+
};
|
|
3449
|
+
__name(_StopApplicationCommand, "StopApplicationCommand");
|
|
3450
|
+
var StopApplicationCommand = _StopApplicationCommand;
|
|
3451
|
+
|
|
3452
|
+
// src/commands/TagResourceCommand.ts
|
|
3453
|
+
|
|
3454
|
+
|
|
3455
|
+
|
|
3456
|
+
|
|
3457
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3458
|
+
...commonParams
|
|
3459
|
+
}).m(function(Command, cs, config, o) {
|
|
3460
|
+
return [
|
|
3461
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3462
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3463
|
+
];
|
|
3464
|
+
}).s("AwsSupernovaControlPlaneService", "TagResource", {}).n("M2Client", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
3465
|
+
};
|
|
3466
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
3467
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
3468
|
+
|
|
3469
|
+
// src/commands/UntagResourceCommand.ts
|
|
3470
|
+
|
|
3471
|
+
|
|
3472
|
+
|
|
3473
|
+
|
|
3474
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3475
|
+
...commonParams
|
|
3476
|
+
}).m(function(Command, cs, config, o) {
|
|
3477
|
+
return [
|
|
3478
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3479
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3480
|
+
];
|
|
3481
|
+
}).s("AwsSupernovaControlPlaneService", "UntagResource", {}).n("M2Client", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
3482
|
+
};
|
|
3483
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
3484
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
3485
|
+
|
|
3486
|
+
// src/commands/UpdateApplicationCommand.ts
|
|
3487
|
+
|
|
3488
|
+
|
|
3489
|
+
|
|
3490
|
+
|
|
3491
|
+
var _UpdateApplicationCommand = class _UpdateApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3492
|
+
...commonParams
|
|
3493
|
+
}).m(function(Command, cs, config, o) {
|
|
3494
|
+
return [
|
|
3495
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3496
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3497
|
+
];
|
|
3498
|
+
}).s("AwsSupernovaControlPlaneService", "UpdateApplication", {}).n("M2Client", "UpdateApplicationCommand").f(void 0, void 0).ser(se_UpdateApplicationCommand).de(de_UpdateApplicationCommand).build() {
|
|
3499
|
+
};
|
|
3500
|
+
__name(_UpdateApplicationCommand, "UpdateApplicationCommand");
|
|
3501
|
+
var UpdateApplicationCommand = _UpdateApplicationCommand;
|
|
3502
|
+
|
|
3503
|
+
// src/commands/UpdateEnvironmentCommand.ts
|
|
3504
|
+
|
|
3505
|
+
|
|
3506
|
+
|
|
3507
|
+
|
|
3508
|
+
var _UpdateEnvironmentCommand = class _UpdateEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3509
|
+
...commonParams
|
|
3510
|
+
}).m(function(Command, cs, config, o) {
|
|
3511
|
+
return [
|
|
3512
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3513
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3514
|
+
];
|
|
3515
|
+
}).s("AwsSupernovaControlPlaneService", "UpdateEnvironment", {}).n("M2Client", "UpdateEnvironmentCommand").f(void 0, void 0).ser(se_UpdateEnvironmentCommand).de(de_UpdateEnvironmentCommand).build() {
|
|
3516
|
+
};
|
|
3517
|
+
__name(_UpdateEnvironmentCommand, "UpdateEnvironmentCommand");
|
|
3518
|
+
var UpdateEnvironmentCommand = _UpdateEnvironmentCommand;
|
|
3519
|
+
|
|
3520
|
+
// src/M2.ts
|
|
3521
|
+
var commands = {
|
|
3522
|
+
CancelBatchJobExecutionCommand,
|
|
3523
|
+
CreateApplicationCommand,
|
|
3524
|
+
CreateDataSetImportTaskCommand,
|
|
3525
|
+
CreateDeploymentCommand,
|
|
3526
|
+
CreateEnvironmentCommand,
|
|
3527
|
+
DeleteApplicationCommand,
|
|
3528
|
+
DeleteApplicationFromEnvironmentCommand,
|
|
3529
|
+
DeleteEnvironmentCommand,
|
|
3530
|
+
GetApplicationCommand,
|
|
3531
|
+
GetApplicationVersionCommand,
|
|
3532
|
+
GetBatchJobExecutionCommand,
|
|
3533
|
+
GetDataSetDetailsCommand,
|
|
3534
|
+
GetDataSetImportTaskCommand,
|
|
3535
|
+
GetDeploymentCommand,
|
|
3536
|
+
GetEnvironmentCommand,
|
|
3537
|
+
GetSignedBluinsightsUrlCommand,
|
|
3538
|
+
ListApplicationsCommand,
|
|
3539
|
+
ListApplicationVersionsCommand,
|
|
3540
|
+
ListBatchJobDefinitionsCommand,
|
|
3541
|
+
ListBatchJobExecutionsCommand,
|
|
3542
|
+
ListDataSetImportHistoryCommand,
|
|
3543
|
+
ListDataSetsCommand,
|
|
3544
|
+
ListDeploymentsCommand,
|
|
3545
|
+
ListEngineVersionsCommand,
|
|
3546
|
+
ListEnvironmentsCommand,
|
|
3547
|
+
ListTagsForResourceCommand,
|
|
3548
|
+
StartApplicationCommand,
|
|
3549
|
+
StartBatchJobCommand,
|
|
3550
|
+
StopApplicationCommand,
|
|
3551
|
+
TagResourceCommand,
|
|
3552
|
+
UntagResourceCommand,
|
|
3553
|
+
UpdateApplicationCommand,
|
|
3554
|
+
UpdateEnvironmentCommand
|
|
3555
|
+
};
|
|
3556
|
+
var _M2 = class _M2 extends M2Client {
|
|
3557
|
+
};
|
|
3558
|
+
__name(_M2, "M2");
|
|
3559
|
+
var M2 = _M2;
|
|
3560
|
+
(0, import_smithy_client.createAggregatedClient)(commands, M2);
|
|
3561
|
+
|
|
3562
|
+
// src/pagination/ListApplicationVersionsPaginator.ts
|
|
3563
|
+
var import_core3 = require("@smithy/core");
|
|
3564
|
+
var paginateListApplicationVersions = (0, import_core3.createPaginator)(M2Client, ListApplicationVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3565
|
+
|
|
3566
|
+
// src/pagination/ListApplicationsPaginator.ts
|
|
3567
|
+
var import_core4 = require("@smithy/core");
|
|
3568
|
+
var paginateListApplications = (0, import_core4.createPaginator)(M2Client, ListApplicationsCommand, "nextToken", "nextToken", "maxResults");
|
|
3569
|
+
|
|
3570
|
+
// src/pagination/ListBatchJobDefinitionsPaginator.ts
|
|
3571
|
+
var import_core5 = require("@smithy/core");
|
|
3572
|
+
var paginateListBatchJobDefinitions = (0, import_core5.createPaginator)(M2Client, ListBatchJobDefinitionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3573
|
+
|
|
3574
|
+
// src/pagination/ListBatchJobExecutionsPaginator.ts
|
|
3575
|
+
var import_core6 = require("@smithy/core");
|
|
3576
|
+
var paginateListBatchJobExecutions = (0, import_core6.createPaginator)(M2Client, ListBatchJobExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3577
|
+
|
|
3578
|
+
// src/pagination/ListDataSetImportHistoryPaginator.ts
|
|
3579
|
+
var import_core7 = require("@smithy/core");
|
|
3580
|
+
var paginateListDataSetImportHistory = (0, import_core7.createPaginator)(M2Client, ListDataSetImportHistoryCommand, "nextToken", "nextToken", "maxResults");
|
|
3581
|
+
|
|
3582
|
+
// src/pagination/ListDataSetsPaginator.ts
|
|
3583
|
+
var import_core8 = require("@smithy/core");
|
|
3584
|
+
var paginateListDataSets = (0, import_core8.createPaginator)(M2Client, ListDataSetsCommand, "nextToken", "nextToken", "maxResults");
|
|
3585
|
+
|
|
3586
|
+
// src/pagination/ListDeploymentsPaginator.ts
|
|
3587
|
+
var import_core9 = require("@smithy/core");
|
|
3588
|
+
var paginateListDeployments = (0, import_core9.createPaginator)(M2Client, ListDeploymentsCommand, "nextToken", "nextToken", "maxResults");
|
|
3589
|
+
|
|
3590
|
+
// src/pagination/ListEngineVersionsPaginator.ts
|
|
3591
|
+
var import_core10 = require("@smithy/core");
|
|
3592
|
+
var paginateListEngineVersions = (0, import_core10.createPaginator)(M2Client, ListEngineVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3593
|
+
|
|
3594
|
+
// src/pagination/ListEnvironmentsPaginator.ts
|
|
3595
|
+
var import_core11 = require("@smithy/core");
|
|
3596
|
+
var paginateListEnvironments = (0, import_core11.createPaginator)(M2Client, ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
3597
|
+
|
|
3598
|
+
// src/index.ts
|
|
3599
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3600
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3601
|
+
0 && (module.exports = {
|
|
3602
|
+
AccessDeniedException,
|
|
3603
|
+
ApplicationDeploymentLifecycle,
|
|
3604
|
+
ApplicationLifecycle,
|
|
3605
|
+
ApplicationVersionLifecycle,
|
|
3606
|
+
BatchJobDefinition,
|
|
3607
|
+
BatchJobExecutionStatus,
|
|
3608
|
+
BatchJobIdentifier,
|
|
3609
|
+
BatchJobType,
|
|
3610
|
+
CancelBatchJobExecutionCommand,
|
|
3611
|
+
ConflictException,
|
|
3612
|
+
CreateApplicationCommand,
|
|
3613
|
+
CreateDataSetImportTaskCommand,
|
|
3614
|
+
CreateDeploymentCommand,
|
|
3615
|
+
CreateEnvironmentCommand,
|
|
3616
|
+
DataSetImportConfig,
|
|
3617
|
+
DataSetTaskLifecycle,
|
|
3618
|
+
DatasetDetailOrgAttributes,
|
|
3619
|
+
DatasetOrgAttributes,
|
|
3620
|
+
Definition,
|
|
3621
|
+
DeleteApplicationCommand,
|
|
3622
|
+
DeleteApplicationFromEnvironmentCommand,
|
|
3623
|
+
DeleteEnvironmentCommand,
|
|
3624
|
+
DeploymentLifecycle,
|
|
3625
|
+
EngineType,
|
|
3626
|
+
EnvironmentLifecycle,
|
|
3627
|
+
ExecutionTimeoutException,
|
|
3628
|
+
ExternalLocation,
|
|
3629
|
+
GetApplicationCommand,
|
|
3630
|
+
GetApplicationVersionCommand,
|
|
3631
|
+
GetBatchJobExecutionCommand,
|
|
3632
|
+
GetDataSetDetailsCommand,
|
|
3633
|
+
GetDataSetImportTaskCommand,
|
|
3634
|
+
GetDeploymentCommand,
|
|
3635
|
+
GetEnvironmentCommand,
|
|
3636
|
+
GetSignedBluinsightsUrlCommand,
|
|
3637
|
+
InternalServerException,
|
|
3638
|
+
JobIdentifier,
|
|
3639
|
+
ListApplicationVersionsCommand,
|
|
3640
|
+
ListApplicationsCommand,
|
|
3641
|
+
ListBatchJobDefinitionsCommand,
|
|
3642
|
+
ListBatchJobExecutionsCommand,
|
|
3643
|
+
ListDataSetImportHistoryCommand,
|
|
3644
|
+
ListDataSetsCommand,
|
|
3645
|
+
ListDeploymentsCommand,
|
|
3646
|
+
ListEngineVersionsCommand,
|
|
3647
|
+
ListEnvironmentsCommand,
|
|
3648
|
+
ListTagsForResourceCommand,
|
|
3649
|
+
M2,
|
|
3650
|
+
M2Client,
|
|
3651
|
+
M2ServiceException,
|
|
3652
|
+
ResourceNotFoundException,
|
|
3653
|
+
ServiceQuotaExceededException,
|
|
3654
|
+
ServiceUnavailableException,
|
|
3655
|
+
StartApplicationCommand,
|
|
3656
|
+
StartBatchJobCommand,
|
|
3657
|
+
StopApplicationCommand,
|
|
3658
|
+
StorageConfiguration,
|
|
3659
|
+
TagResourceCommand,
|
|
3660
|
+
ThrottlingException,
|
|
3661
|
+
UntagResourceCommand,
|
|
3662
|
+
UpdateApplicationCommand,
|
|
3663
|
+
UpdateEnvironmentCommand,
|
|
3664
|
+
ValidationException,
|
|
3665
|
+
ValidationExceptionReason,
|
|
3666
|
+
__Client,
|
|
3667
|
+
paginateListApplicationVersions,
|
|
3668
|
+
paginateListApplications,
|
|
3669
|
+
paginateListBatchJobDefinitions,
|
|
3670
|
+
paginateListBatchJobExecutions,
|
|
3671
|
+
paginateListDataSetImportHistory,
|
|
3672
|
+
paginateListDataSets,
|
|
3673
|
+
paginateListDeployments,
|
|
3674
|
+
paginateListEngineVersions,
|
|
3675
|
+
paginateListEnvironments
|
|
3676
|
+
});
|