@aws-sdk/client-m2 3.306.0 → 3.310.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/commands/CancelBatchJobExecutionCommand.js +2 -2
- package/dist-cjs/commands/CreateApplicationCommand.js +2 -2
- package/dist-cjs/commands/CreateDataSetImportTaskCommand.js +2 -2
- package/dist-cjs/commands/CreateDeploymentCommand.js +2 -2
- package/dist-cjs/commands/CreateEnvironmentCommand.js +2 -2
- package/dist-cjs/commands/DeleteApplicationCommand.js +2 -2
- package/dist-cjs/commands/DeleteApplicationFromEnvironmentCommand.js +2 -2
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +2 -2
- package/dist-cjs/commands/GetApplicationCommand.js +2 -2
- package/dist-cjs/commands/GetApplicationVersionCommand.js +2 -2
- package/dist-cjs/commands/GetBatchJobExecutionCommand.js +2 -2
- package/dist-cjs/commands/GetDataSetDetailsCommand.js +2 -2
- package/dist-cjs/commands/GetDataSetImportTaskCommand.js +2 -2
- package/dist-cjs/commands/GetDeploymentCommand.js +2 -2
- package/dist-cjs/commands/GetEnvironmentCommand.js +2 -2
- package/dist-cjs/commands/ListApplicationVersionsCommand.js +2 -2
- package/dist-cjs/commands/ListApplicationsCommand.js +2 -2
- package/dist-cjs/commands/ListBatchJobDefinitionsCommand.js +2 -2
- package/dist-cjs/commands/ListBatchJobExecutionsCommand.js +2 -2
- package/dist-cjs/commands/ListDataSetImportHistoryCommand.js +2 -2
- package/dist-cjs/commands/ListDataSetsCommand.js +2 -2
- package/dist-cjs/commands/ListDeploymentsCommand.js +2 -2
- package/dist-cjs/commands/ListEngineVersionsCommand.js +2 -2
- package/dist-cjs/commands/ListEnvironmentsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/StartApplicationCommand.js +2 -2
- package/dist-cjs/commands/StartBatchJobCommand.js +2 -2
- package/dist-cjs/commands/StopApplicationCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateApplicationCommand.js +2 -2
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +524 -544
- package/dist-es/commands/CancelBatchJobExecutionCommand.js +3 -3
- package/dist-es/commands/CreateApplicationCommand.js +3 -3
- package/dist-es/commands/CreateDataSetImportTaskCommand.js +3 -3
- package/dist-es/commands/CreateDeploymentCommand.js +3 -3
- package/dist-es/commands/CreateEnvironmentCommand.js +3 -3
- package/dist-es/commands/DeleteApplicationCommand.js +3 -3
- package/dist-es/commands/DeleteApplicationFromEnvironmentCommand.js +3 -3
- package/dist-es/commands/DeleteEnvironmentCommand.js +3 -3
- package/dist-es/commands/GetApplicationCommand.js +3 -3
- package/dist-es/commands/GetApplicationVersionCommand.js +3 -3
- package/dist-es/commands/GetBatchJobExecutionCommand.js +3 -3
- package/dist-es/commands/GetDataSetDetailsCommand.js +3 -3
- package/dist-es/commands/GetDataSetImportTaskCommand.js +3 -3
- package/dist-es/commands/GetDeploymentCommand.js +3 -3
- package/dist-es/commands/GetEnvironmentCommand.js +3 -3
- package/dist-es/commands/ListApplicationVersionsCommand.js +3 -3
- package/dist-es/commands/ListApplicationsCommand.js +3 -3
- package/dist-es/commands/ListBatchJobDefinitionsCommand.js +3 -3
- package/dist-es/commands/ListBatchJobExecutionsCommand.js +3 -3
- package/dist-es/commands/ListDataSetImportHistoryCommand.js +3 -3
- package/dist-es/commands/ListDataSetsCommand.js +3 -3
- package/dist-es/commands/ListDeploymentsCommand.js +3 -3
- package/dist-es/commands/ListEngineVersionsCommand.js +3 -3
- package/dist-es/commands/ListEnvironmentsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/StartApplicationCommand.js +3 -3
- package/dist-es/commands/StartBatchJobCommand.js +3 -3
- package/dist-es/commands/StopApplicationCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateApplicationCommand.js +3 -3
- package/dist-es/commands/UpdateEnvironmentCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +458 -478
- package/dist-types/protocols/Aws_restJson1.d.ts +256 -64
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +64 -64
- package/package.json +35 -35
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.de_ListBatchJobDefinitionsCommand = exports.de_ListApplicationVersionsCommand = exports.de_ListApplicationsCommand = exports.de_GetEnvironmentCommand = exports.de_GetDeploymentCommand = exports.de_GetDataSetImportTaskCommand = exports.de_GetDataSetDetailsCommand = exports.de_GetBatchJobExecutionCommand = exports.de_GetApplicationVersionCommand = exports.de_GetApplicationCommand = exports.de_DeleteEnvironmentCommand = exports.de_DeleteApplicationFromEnvironmentCommand = exports.de_DeleteApplicationCommand = exports.de_CreateEnvironmentCommand = exports.de_CreateDeploymentCommand = exports.de_CreateDataSetImportTaskCommand = exports.de_CreateApplicationCommand = exports.de_CancelBatchJobExecutionCommand = exports.se_UpdateEnvironmentCommand = exports.se_UpdateApplicationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopApplicationCommand = exports.se_StartBatchJobCommand = exports.se_StartApplicationCommand = exports.se_ListTagsForResourceCommand = exports.se_ListEnvironmentsCommand = exports.se_ListEngineVersionsCommand = exports.se_ListDeploymentsCommand = exports.se_ListDataSetsCommand = exports.se_ListDataSetImportHistoryCommand = exports.se_ListBatchJobExecutionsCommand = exports.se_ListBatchJobDefinitionsCommand = exports.se_ListApplicationVersionsCommand = exports.se_ListApplicationsCommand = exports.se_GetEnvironmentCommand = exports.se_GetDeploymentCommand = exports.se_GetDataSetImportTaskCommand = exports.se_GetDataSetDetailsCommand = exports.se_GetBatchJobExecutionCommand = exports.se_GetApplicationVersionCommand = exports.se_GetApplicationCommand = exports.se_DeleteEnvironmentCommand = exports.se_DeleteApplicationFromEnvironmentCommand = exports.se_DeleteApplicationCommand = exports.se_CreateEnvironmentCommand = exports.se_CreateDeploymentCommand = exports.se_CreateDataSetImportTaskCommand = exports.se_CreateApplicationCommand = exports.se_CancelBatchJobExecutionCommand = void 0;
|
|
4
|
+
exports.de_UpdateEnvironmentCommand = exports.de_UpdateApplicationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopApplicationCommand = exports.de_StartBatchJobCommand = exports.de_StartApplicationCommand = exports.de_ListTagsForResourceCommand = exports.de_ListEnvironmentsCommand = exports.de_ListEngineVersionsCommand = exports.de_ListDeploymentsCommand = exports.de_ListDataSetsCommand = exports.de_ListDataSetImportHistoryCommand = exports.de_ListBatchJobExecutionsCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const uuid_1 = require("uuid");
|
|
8
8
|
const M2ServiceException_1 = require("../models/M2ServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const
|
|
10
|
+
const se_CancelBatchJobExecutionCommand = async (input, context) => {
|
|
11
11
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
12
12
|
const headers = {};
|
|
13
13
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -25,8 +25,8 @@ const serializeAws_restJson1CancelBatchJobExecutionCommand = async (input, conte
|
|
|
25
25
|
body,
|
|
26
26
|
});
|
|
27
27
|
};
|
|
28
|
-
exports.
|
|
29
|
-
const
|
|
28
|
+
exports.se_CancelBatchJobExecutionCommand = se_CancelBatchJobExecutionCommand;
|
|
29
|
+
const se_CreateApplicationCommand = async (input, context) => {
|
|
30
30
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
31
31
|
const headers = {
|
|
32
32
|
"content-type": "application/json",
|
|
@@ -35,12 +35,12 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
|
|
|
35
35
|
let body;
|
|
36
36
|
body = JSON.stringify({
|
|
37
37
|
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
38
|
-
...(input.definition != null && { definition:
|
|
38
|
+
...(input.definition != null && { definition: se_Definition(input.definition, context) }),
|
|
39
39
|
...(input.description != null && { description: input.description }),
|
|
40
40
|
...(input.engineType != null && { engineType: input.engineType }),
|
|
41
41
|
...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
|
|
42
42
|
...(input.name != null && { name: input.name }),
|
|
43
|
-
...(input.tags != null && { tags:
|
|
43
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
44
44
|
});
|
|
45
45
|
return new protocol_http_1.HttpRequest({
|
|
46
46
|
protocol,
|
|
@@ -52,8 +52,8 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
|
|
|
52
52
|
body,
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
|
-
exports.
|
|
56
|
-
const
|
|
55
|
+
exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
|
|
56
|
+
const se_CreateDataSetImportTaskCommand = async (input, context) => {
|
|
57
57
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
58
58
|
const headers = {
|
|
59
59
|
"content-type": "application/json",
|
|
@@ -64,9 +64,7 @@ const serializeAws_restJson1CreateDataSetImportTaskCommand = async (input, conte
|
|
|
64
64
|
let body;
|
|
65
65
|
body = JSON.stringify({
|
|
66
66
|
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
67
|
-
...(input.importConfig != null && {
|
|
68
|
-
importConfig: serializeAws_restJson1DataSetImportConfig(input.importConfig, context),
|
|
69
|
-
}),
|
|
67
|
+
...(input.importConfig != null && { importConfig: se_DataSetImportConfig(input.importConfig, context) }),
|
|
70
68
|
});
|
|
71
69
|
return new protocol_http_1.HttpRequest({
|
|
72
70
|
protocol,
|
|
@@ -78,8 +76,8 @@ const serializeAws_restJson1CreateDataSetImportTaskCommand = async (input, conte
|
|
|
78
76
|
body,
|
|
79
77
|
});
|
|
80
78
|
};
|
|
81
|
-
exports.
|
|
82
|
-
const
|
|
79
|
+
exports.se_CreateDataSetImportTaskCommand = se_CreateDataSetImportTaskCommand;
|
|
80
|
+
const se_CreateDeploymentCommand = async (input, context) => {
|
|
83
81
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
84
82
|
const headers = {
|
|
85
83
|
"content-type": "application/json",
|
|
@@ -102,8 +100,8 @@ const serializeAws_restJson1CreateDeploymentCommand = async (input, context) =>
|
|
|
102
100
|
body,
|
|
103
101
|
});
|
|
104
102
|
};
|
|
105
|
-
exports.
|
|
106
|
-
const
|
|
103
|
+
exports.se_CreateDeploymentCommand = se_CreateDeploymentCommand;
|
|
104
|
+
const se_CreateEnvironmentCommand = async (input, context) => {
|
|
107
105
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
108
106
|
const headers = {
|
|
109
107
|
"content-type": "application/json",
|
|
@@ -116,21 +114,19 @@ const serializeAws_restJson1CreateEnvironmentCommand = async (input, context) =>
|
|
|
116
114
|
...(input.engineType != null && { engineType: input.engineType }),
|
|
117
115
|
...(input.engineVersion != null && { engineVersion: input.engineVersion }),
|
|
118
116
|
...(input.highAvailabilityConfig != null && {
|
|
119
|
-
highAvailabilityConfig:
|
|
117
|
+
highAvailabilityConfig: se_HighAvailabilityConfig(input.highAvailabilityConfig, context),
|
|
120
118
|
}),
|
|
121
119
|
...(input.instanceType != null && { instanceType: input.instanceType }),
|
|
122
120
|
...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
|
|
123
121
|
...(input.name != null && { name: input.name }),
|
|
124
122
|
...(input.preferredMaintenanceWindow != null && { preferredMaintenanceWindow: input.preferredMaintenanceWindow }),
|
|
125
123
|
...(input.publiclyAccessible != null && { publiclyAccessible: input.publiclyAccessible }),
|
|
126
|
-
...(input.securityGroupIds != null && {
|
|
127
|
-
securityGroupIds: serializeAws_restJson1String50List(input.securityGroupIds, context),
|
|
128
|
-
}),
|
|
124
|
+
...(input.securityGroupIds != null && { securityGroupIds: se_String50List(input.securityGroupIds, context) }),
|
|
129
125
|
...(input.storageConfigurations != null && {
|
|
130
|
-
storageConfigurations:
|
|
126
|
+
storageConfigurations: se_StorageConfigurationList(input.storageConfigurations, context),
|
|
131
127
|
}),
|
|
132
|
-
...(input.subnetIds != null && { subnetIds:
|
|
133
|
-
...(input.tags != null && { tags:
|
|
128
|
+
...(input.subnetIds != null && { subnetIds: se_String50List(input.subnetIds, context) }),
|
|
129
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
134
130
|
});
|
|
135
131
|
return new protocol_http_1.HttpRequest({
|
|
136
132
|
protocol,
|
|
@@ -142,8 +138,8 @@ const serializeAws_restJson1CreateEnvironmentCommand = async (input, context) =>
|
|
|
142
138
|
body,
|
|
143
139
|
});
|
|
144
140
|
};
|
|
145
|
-
exports.
|
|
146
|
-
const
|
|
141
|
+
exports.se_CreateEnvironmentCommand = se_CreateEnvironmentCommand;
|
|
142
|
+
const se_DeleteApplicationCommand = async (input, context) => {
|
|
147
143
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
148
144
|
const headers = {};
|
|
149
145
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}";
|
|
@@ -159,8 +155,8 @@ const serializeAws_restJson1DeleteApplicationCommand = async (input, context) =>
|
|
|
159
155
|
body,
|
|
160
156
|
});
|
|
161
157
|
};
|
|
162
|
-
exports.
|
|
163
|
-
const
|
|
158
|
+
exports.se_DeleteApplicationCommand = se_DeleteApplicationCommand;
|
|
159
|
+
const se_DeleteApplicationFromEnvironmentCommand = async (input, context) => {
|
|
164
160
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
165
161
|
const headers = {};
|
|
166
162
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -178,8 +174,8 @@ const serializeAws_restJson1DeleteApplicationFromEnvironmentCommand = async (inp
|
|
|
178
174
|
body,
|
|
179
175
|
});
|
|
180
176
|
};
|
|
181
|
-
exports.
|
|
182
|
-
const
|
|
177
|
+
exports.se_DeleteApplicationFromEnvironmentCommand = se_DeleteApplicationFromEnvironmentCommand;
|
|
178
|
+
const se_DeleteEnvironmentCommand = async (input, context) => {
|
|
183
179
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
184
180
|
const headers = {};
|
|
185
181
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/environments/{environmentId}";
|
|
@@ -195,8 +191,8 @@ const serializeAws_restJson1DeleteEnvironmentCommand = async (input, context) =>
|
|
|
195
191
|
body,
|
|
196
192
|
});
|
|
197
193
|
};
|
|
198
|
-
exports.
|
|
199
|
-
const
|
|
194
|
+
exports.se_DeleteEnvironmentCommand = se_DeleteEnvironmentCommand;
|
|
195
|
+
const se_GetApplicationCommand = async (input, context) => {
|
|
200
196
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
201
197
|
const headers = {};
|
|
202
198
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}";
|
|
@@ -212,8 +208,8 @@ const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
|
|
|
212
208
|
body,
|
|
213
209
|
});
|
|
214
210
|
};
|
|
215
|
-
exports.
|
|
216
|
-
const
|
|
211
|
+
exports.se_GetApplicationCommand = se_GetApplicationCommand;
|
|
212
|
+
const se_GetApplicationVersionCommand = async (input, context) => {
|
|
217
213
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
218
214
|
const headers = {};
|
|
219
215
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -231,8 +227,8 @@ const serializeAws_restJson1GetApplicationVersionCommand = async (input, context
|
|
|
231
227
|
body,
|
|
232
228
|
});
|
|
233
229
|
};
|
|
234
|
-
exports.
|
|
235
|
-
const
|
|
230
|
+
exports.se_GetApplicationVersionCommand = se_GetApplicationVersionCommand;
|
|
231
|
+
const se_GetBatchJobExecutionCommand = async (input, context) => {
|
|
236
232
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
237
233
|
const headers = {};
|
|
238
234
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -250,8 +246,8 @@ const serializeAws_restJson1GetBatchJobExecutionCommand = async (input, context)
|
|
|
250
246
|
body,
|
|
251
247
|
});
|
|
252
248
|
};
|
|
253
|
-
exports.
|
|
254
|
-
const
|
|
249
|
+
exports.se_GetBatchJobExecutionCommand = se_GetBatchJobExecutionCommand;
|
|
250
|
+
const se_GetDataSetDetailsCommand = async (input, context) => {
|
|
255
251
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
256
252
|
const headers = {};
|
|
257
253
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -269,8 +265,8 @@ const serializeAws_restJson1GetDataSetDetailsCommand = async (input, context) =>
|
|
|
269
265
|
body,
|
|
270
266
|
});
|
|
271
267
|
};
|
|
272
|
-
exports.
|
|
273
|
-
const
|
|
268
|
+
exports.se_GetDataSetDetailsCommand = se_GetDataSetDetailsCommand;
|
|
269
|
+
const se_GetDataSetImportTaskCommand = async (input, context) => {
|
|
274
270
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
275
271
|
const headers = {};
|
|
276
272
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -288,8 +284,8 @@ const serializeAws_restJson1GetDataSetImportTaskCommand = async (input, context)
|
|
|
288
284
|
body,
|
|
289
285
|
});
|
|
290
286
|
};
|
|
291
|
-
exports.
|
|
292
|
-
const
|
|
287
|
+
exports.se_GetDataSetImportTaskCommand = se_GetDataSetImportTaskCommand;
|
|
288
|
+
const se_GetDeploymentCommand = async (input, context) => {
|
|
293
289
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
294
290
|
const headers = {};
|
|
295
291
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -307,8 +303,8 @@ const serializeAws_restJson1GetDeploymentCommand = async (input, context) => {
|
|
|
307
303
|
body,
|
|
308
304
|
});
|
|
309
305
|
};
|
|
310
|
-
exports.
|
|
311
|
-
const
|
|
306
|
+
exports.se_GetDeploymentCommand = se_GetDeploymentCommand;
|
|
307
|
+
const se_GetEnvironmentCommand = async (input, context) => {
|
|
312
308
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
313
309
|
const headers = {};
|
|
314
310
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/environments/{environmentId}";
|
|
@@ -324,8 +320,8 @@ const serializeAws_restJson1GetEnvironmentCommand = async (input, context) => {
|
|
|
324
320
|
body,
|
|
325
321
|
});
|
|
326
322
|
};
|
|
327
|
-
exports.
|
|
328
|
-
const
|
|
323
|
+
exports.se_GetEnvironmentCommand = se_GetEnvironmentCommand;
|
|
324
|
+
const se_ListApplicationsCommand = async (input, context) => {
|
|
329
325
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
330
326
|
const headers = {};
|
|
331
327
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
|
|
@@ -347,8 +343,8 @@ const serializeAws_restJson1ListApplicationsCommand = async (input, context) =>
|
|
|
347
343
|
body,
|
|
348
344
|
});
|
|
349
345
|
};
|
|
350
|
-
exports.
|
|
351
|
-
const
|
|
346
|
+
exports.se_ListApplicationsCommand = se_ListApplicationsCommand;
|
|
347
|
+
const se_ListApplicationVersionsCommand = async (input, context) => {
|
|
352
348
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
353
349
|
const headers = {};
|
|
354
350
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/versions";
|
|
@@ -369,8 +365,8 @@ const serializeAws_restJson1ListApplicationVersionsCommand = async (input, conte
|
|
|
369
365
|
body,
|
|
370
366
|
});
|
|
371
367
|
};
|
|
372
|
-
exports.
|
|
373
|
-
const
|
|
368
|
+
exports.se_ListApplicationVersionsCommand = se_ListApplicationVersionsCommand;
|
|
369
|
+
const se_ListBatchJobDefinitionsCommand = async (input, context) => {
|
|
374
370
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
375
371
|
const headers = {};
|
|
376
372
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -393,8 +389,8 @@ const serializeAws_restJson1ListBatchJobDefinitionsCommand = async (input, conte
|
|
|
393
389
|
body,
|
|
394
390
|
});
|
|
395
391
|
};
|
|
396
|
-
exports.
|
|
397
|
-
const
|
|
392
|
+
exports.se_ListBatchJobDefinitionsCommand = se_ListBatchJobDefinitionsCommand;
|
|
393
|
+
const se_ListBatchJobExecutionsCommand = async (input, context) => {
|
|
398
394
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
399
395
|
const headers = {};
|
|
400
396
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -430,8 +426,8 @@ const serializeAws_restJson1ListBatchJobExecutionsCommand = async (input, contex
|
|
|
430
426
|
body,
|
|
431
427
|
});
|
|
432
428
|
};
|
|
433
|
-
exports.
|
|
434
|
-
const
|
|
429
|
+
exports.se_ListBatchJobExecutionsCommand = se_ListBatchJobExecutionsCommand;
|
|
430
|
+
const se_ListDataSetImportHistoryCommand = async (input, context) => {
|
|
435
431
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
436
432
|
const headers = {};
|
|
437
433
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -453,8 +449,8 @@ const serializeAws_restJson1ListDataSetImportHistoryCommand = async (input, cont
|
|
|
453
449
|
body,
|
|
454
450
|
});
|
|
455
451
|
};
|
|
456
|
-
exports.
|
|
457
|
-
const
|
|
452
|
+
exports.se_ListDataSetImportHistoryCommand = se_ListDataSetImportHistoryCommand;
|
|
453
|
+
const se_ListDataSetsCommand = async (input, context) => {
|
|
458
454
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
459
455
|
const headers = {};
|
|
460
456
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/datasets";
|
|
@@ -476,8 +472,8 @@ const serializeAws_restJson1ListDataSetsCommand = async (input, context) => {
|
|
|
476
472
|
body,
|
|
477
473
|
});
|
|
478
474
|
};
|
|
479
|
-
exports.
|
|
480
|
-
const
|
|
475
|
+
exports.se_ListDataSetsCommand = se_ListDataSetsCommand;
|
|
476
|
+
const se_ListDeploymentsCommand = async (input, context) => {
|
|
481
477
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
482
478
|
const headers = {};
|
|
483
479
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/deployments";
|
|
@@ -498,8 +494,8 @@ const serializeAws_restJson1ListDeploymentsCommand = async (input, context) => {
|
|
|
498
494
|
body,
|
|
499
495
|
});
|
|
500
496
|
};
|
|
501
|
-
exports.
|
|
502
|
-
const
|
|
497
|
+
exports.se_ListDeploymentsCommand = se_ListDeploymentsCommand;
|
|
498
|
+
const se_ListEngineVersionsCommand = async (input, context) => {
|
|
503
499
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
504
500
|
const headers = {};
|
|
505
501
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/engine-versions";
|
|
@@ -520,8 +516,8 @@ const serializeAws_restJson1ListEngineVersionsCommand = async (input, context) =
|
|
|
520
516
|
body,
|
|
521
517
|
});
|
|
522
518
|
};
|
|
523
|
-
exports.
|
|
524
|
-
const
|
|
519
|
+
exports.se_ListEngineVersionsCommand = se_ListEngineVersionsCommand;
|
|
520
|
+
const se_ListEnvironmentsCommand = async (input, context) => {
|
|
525
521
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
526
522
|
const headers = {};
|
|
527
523
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/environments";
|
|
@@ -543,8 +539,8 @@ const serializeAws_restJson1ListEnvironmentsCommand = async (input, context) =>
|
|
|
543
539
|
body,
|
|
544
540
|
});
|
|
545
541
|
};
|
|
546
|
-
exports.
|
|
547
|
-
const
|
|
542
|
+
exports.se_ListEnvironmentsCommand = se_ListEnvironmentsCommand;
|
|
543
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
548
544
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
549
545
|
const headers = {};
|
|
550
546
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -560,8 +556,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
560
556
|
body,
|
|
561
557
|
});
|
|
562
558
|
};
|
|
563
|
-
exports.
|
|
564
|
-
const
|
|
559
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
560
|
+
const se_StartApplicationCommand = async (input, context) => {
|
|
565
561
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
566
562
|
const headers = {};
|
|
567
563
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/start";
|
|
@@ -577,8 +573,8 @@ const serializeAws_restJson1StartApplicationCommand = async (input, context) =>
|
|
|
577
573
|
body,
|
|
578
574
|
});
|
|
579
575
|
};
|
|
580
|
-
exports.
|
|
581
|
-
const
|
|
576
|
+
exports.se_StartApplicationCommand = se_StartApplicationCommand;
|
|
577
|
+
const se_StartBatchJobCommand = async (input, context) => {
|
|
582
578
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
583
579
|
const headers = {
|
|
584
580
|
"content-type": "application/json",
|
|
@@ -588,11 +584,9 @@ const serializeAws_restJson1StartBatchJobCommand = async (input, context) => {
|
|
|
588
584
|
let body;
|
|
589
585
|
body = JSON.stringify({
|
|
590
586
|
...(input.batchJobIdentifier != null && {
|
|
591
|
-
batchJobIdentifier:
|
|
592
|
-
}),
|
|
593
|
-
...(input.jobParams != null && {
|
|
594
|
-
jobParams: serializeAws_restJson1BatchJobParametersMap(input.jobParams, context),
|
|
587
|
+
batchJobIdentifier: se_BatchJobIdentifier(input.batchJobIdentifier, context),
|
|
595
588
|
}),
|
|
589
|
+
...(input.jobParams != null && { jobParams: se_BatchJobParametersMap(input.jobParams, context) }),
|
|
596
590
|
});
|
|
597
591
|
return new protocol_http_1.HttpRequest({
|
|
598
592
|
protocol,
|
|
@@ -604,8 +598,8 @@ const serializeAws_restJson1StartBatchJobCommand = async (input, context) => {
|
|
|
604
598
|
body,
|
|
605
599
|
});
|
|
606
600
|
};
|
|
607
|
-
exports.
|
|
608
|
-
const
|
|
601
|
+
exports.se_StartBatchJobCommand = se_StartBatchJobCommand;
|
|
602
|
+
const se_StopApplicationCommand = async (input, context) => {
|
|
609
603
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
610
604
|
const headers = {
|
|
611
605
|
"content-type": "application/json",
|
|
@@ -626,8 +620,8 @@ const serializeAws_restJson1StopApplicationCommand = async (input, context) => {
|
|
|
626
620
|
body,
|
|
627
621
|
});
|
|
628
622
|
};
|
|
629
|
-
exports.
|
|
630
|
-
const
|
|
623
|
+
exports.se_StopApplicationCommand = se_StopApplicationCommand;
|
|
624
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
631
625
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
632
626
|
const headers = {
|
|
633
627
|
"content-type": "application/json",
|
|
@@ -636,7 +630,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
636
630
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
637
631
|
let body;
|
|
638
632
|
body = JSON.stringify({
|
|
639
|
-
...(input.tags != null && { tags:
|
|
633
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
640
634
|
});
|
|
641
635
|
return new protocol_http_1.HttpRequest({
|
|
642
636
|
protocol,
|
|
@@ -648,8 +642,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
648
642
|
body,
|
|
649
643
|
});
|
|
650
644
|
};
|
|
651
|
-
exports.
|
|
652
|
-
const
|
|
645
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
646
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
653
647
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
654
648
|
const headers = {};
|
|
655
649
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -672,8 +666,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
672
666
|
body,
|
|
673
667
|
});
|
|
674
668
|
};
|
|
675
|
-
exports.
|
|
676
|
-
const
|
|
669
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
670
|
+
const se_UpdateApplicationCommand = async (input, context) => {
|
|
677
671
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
678
672
|
const headers = {
|
|
679
673
|
"content-type": "application/json",
|
|
@@ -683,7 +677,7 @@ const serializeAws_restJson1UpdateApplicationCommand = async (input, context) =>
|
|
|
683
677
|
let body;
|
|
684
678
|
body = JSON.stringify({
|
|
685
679
|
...(input.currentApplicationVersion != null && { currentApplicationVersion: input.currentApplicationVersion }),
|
|
686
|
-
...(input.definition != null && { definition:
|
|
680
|
+
...(input.definition != null && { definition: se_Definition(input.definition, context) }),
|
|
687
681
|
...(input.description != null && { description: input.description }),
|
|
688
682
|
});
|
|
689
683
|
return new protocol_http_1.HttpRequest({
|
|
@@ -696,8 +690,8 @@ const serializeAws_restJson1UpdateApplicationCommand = async (input, context) =>
|
|
|
696
690
|
body,
|
|
697
691
|
});
|
|
698
692
|
};
|
|
699
|
-
exports.
|
|
700
|
-
const
|
|
693
|
+
exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
|
|
694
|
+
const se_UpdateEnvironmentCommand = async (input, context) => {
|
|
701
695
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
702
696
|
const headers = {
|
|
703
697
|
"content-type": "application/json",
|
|
@@ -724,10 +718,10 @@ const serializeAws_restJson1UpdateEnvironmentCommand = async (input, context) =>
|
|
|
724
718
|
body,
|
|
725
719
|
});
|
|
726
720
|
};
|
|
727
|
-
exports.
|
|
728
|
-
const
|
|
721
|
+
exports.se_UpdateEnvironmentCommand = se_UpdateEnvironmentCommand;
|
|
722
|
+
const de_CancelBatchJobExecutionCommand = async (output, context) => {
|
|
729
723
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
730
|
-
return
|
|
724
|
+
return de_CancelBatchJobExecutionCommandError(output, context);
|
|
731
725
|
}
|
|
732
726
|
const contents = map({
|
|
733
727
|
$metadata: deserializeMetadata(output),
|
|
@@ -735,8 +729,8 @@ const deserializeAws_restJson1CancelBatchJobExecutionCommand = async (output, co
|
|
|
735
729
|
await collectBody(output.body, context);
|
|
736
730
|
return contents;
|
|
737
731
|
};
|
|
738
|
-
exports.
|
|
739
|
-
const
|
|
732
|
+
exports.de_CancelBatchJobExecutionCommand = de_CancelBatchJobExecutionCommand;
|
|
733
|
+
const de_CancelBatchJobExecutionCommandError = async (output, context) => {
|
|
740
734
|
const parsedOutput = {
|
|
741
735
|
...output,
|
|
742
736
|
body: await parseErrorBody(output.body, context),
|
|
@@ -745,22 +739,22 @@ const deserializeAws_restJson1CancelBatchJobExecutionCommandError = async (outpu
|
|
|
745
739
|
switch (errorCode) {
|
|
746
740
|
case "AccessDeniedException":
|
|
747
741
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
748
|
-
throw await
|
|
742
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
749
743
|
case "ConflictException":
|
|
750
744
|
case "com.amazonaws.m2#ConflictException":
|
|
751
|
-
throw await
|
|
745
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
752
746
|
case "InternalServerException":
|
|
753
747
|
case "com.amazonaws.m2#InternalServerException":
|
|
754
|
-
throw await
|
|
748
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
755
749
|
case "ResourceNotFoundException":
|
|
756
750
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
757
|
-
throw await
|
|
751
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
758
752
|
case "ThrottlingException":
|
|
759
753
|
case "com.amazonaws.m2#ThrottlingException":
|
|
760
|
-
throw await
|
|
754
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
761
755
|
case "ValidationException":
|
|
762
756
|
case "com.amazonaws.m2#ValidationException":
|
|
763
|
-
throw await
|
|
757
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
764
758
|
default:
|
|
765
759
|
const parsedBody = parsedOutput.body;
|
|
766
760
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -771,9 +765,9 @@ const deserializeAws_restJson1CancelBatchJobExecutionCommandError = async (outpu
|
|
|
771
765
|
});
|
|
772
766
|
}
|
|
773
767
|
};
|
|
774
|
-
const
|
|
768
|
+
const de_CreateApplicationCommand = async (output, context) => {
|
|
775
769
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
776
|
-
return
|
|
770
|
+
return de_CreateApplicationCommandError(output, context);
|
|
777
771
|
}
|
|
778
772
|
const contents = map({
|
|
779
773
|
$metadata: deserializeMetadata(output),
|
|
@@ -790,8 +784,8 @@ const deserializeAws_restJson1CreateApplicationCommand = async (output, context)
|
|
|
790
784
|
}
|
|
791
785
|
return contents;
|
|
792
786
|
};
|
|
793
|
-
exports.
|
|
794
|
-
const
|
|
787
|
+
exports.de_CreateApplicationCommand = de_CreateApplicationCommand;
|
|
788
|
+
const de_CreateApplicationCommandError = async (output, context) => {
|
|
795
789
|
const parsedOutput = {
|
|
796
790
|
...output,
|
|
797
791
|
body: await parseErrorBody(output.body, context),
|
|
@@ -800,22 +794,22 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (output, con
|
|
|
800
794
|
switch (errorCode) {
|
|
801
795
|
case "AccessDeniedException":
|
|
802
796
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
803
|
-
throw await
|
|
797
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
804
798
|
case "ConflictException":
|
|
805
799
|
case "com.amazonaws.m2#ConflictException":
|
|
806
|
-
throw await
|
|
800
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
807
801
|
case "InternalServerException":
|
|
808
802
|
case "com.amazonaws.m2#InternalServerException":
|
|
809
|
-
throw await
|
|
803
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
810
804
|
case "ServiceQuotaExceededException":
|
|
811
805
|
case "com.amazonaws.m2#ServiceQuotaExceededException":
|
|
812
|
-
throw await
|
|
806
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
813
807
|
case "ThrottlingException":
|
|
814
808
|
case "com.amazonaws.m2#ThrottlingException":
|
|
815
|
-
throw await
|
|
809
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
816
810
|
case "ValidationException":
|
|
817
811
|
case "com.amazonaws.m2#ValidationException":
|
|
818
|
-
throw await
|
|
812
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
819
813
|
default:
|
|
820
814
|
const parsedBody = parsedOutput.body;
|
|
821
815
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -826,9 +820,9 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (output, con
|
|
|
826
820
|
});
|
|
827
821
|
}
|
|
828
822
|
};
|
|
829
|
-
const
|
|
823
|
+
const de_CreateDataSetImportTaskCommand = async (output, context) => {
|
|
830
824
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
831
|
-
return
|
|
825
|
+
return de_CreateDataSetImportTaskCommandError(output, context);
|
|
832
826
|
}
|
|
833
827
|
const contents = map({
|
|
834
828
|
$metadata: deserializeMetadata(output),
|
|
@@ -839,8 +833,8 @@ const deserializeAws_restJson1CreateDataSetImportTaskCommand = async (output, co
|
|
|
839
833
|
}
|
|
840
834
|
return contents;
|
|
841
835
|
};
|
|
842
|
-
exports.
|
|
843
|
-
const
|
|
836
|
+
exports.de_CreateDataSetImportTaskCommand = de_CreateDataSetImportTaskCommand;
|
|
837
|
+
const de_CreateDataSetImportTaskCommandError = async (output, context) => {
|
|
844
838
|
const parsedOutput = {
|
|
845
839
|
...output,
|
|
846
840
|
body: await parseErrorBody(output.body, context),
|
|
@@ -849,25 +843,25 @@ const deserializeAws_restJson1CreateDataSetImportTaskCommandError = async (outpu
|
|
|
849
843
|
switch (errorCode) {
|
|
850
844
|
case "AccessDeniedException":
|
|
851
845
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
852
|
-
throw await
|
|
846
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
853
847
|
case "ConflictException":
|
|
854
848
|
case "com.amazonaws.m2#ConflictException":
|
|
855
|
-
throw await
|
|
849
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
856
850
|
case "InternalServerException":
|
|
857
851
|
case "com.amazonaws.m2#InternalServerException":
|
|
858
|
-
throw await
|
|
852
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
859
853
|
case "ResourceNotFoundException":
|
|
860
854
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
861
|
-
throw await
|
|
855
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
862
856
|
case "ServiceQuotaExceededException":
|
|
863
857
|
case "com.amazonaws.m2#ServiceQuotaExceededException":
|
|
864
|
-
throw await
|
|
858
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
865
859
|
case "ThrottlingException":
|
|
866
860
|
case "com.amazonaws.m2#ThrottlingException":
|
|
867
|
-
throw await
|
|
861
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
868
862
|
case "ValidationException":
|
|
869
863
|
case "com.amazonaws.m2#ValidationException":
|
|
870
|
-
throw await
|
|
864
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
871
865
|
default:
|
|
872
866
|
const parsedBody = parsedOutput.body;
|
|
873
867
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -878,9 +872,9 @@ const deserializeAws_restJson1CreateDataSetImportTaskCommandError = async (outpu
|
|
|
878
872
|
});
|
|
879
873
|
}
|
|
880
874
|
};
|
|
881
|
-
const
|
|
875
|
+
const de_CreateDeploymentCommand = async (output, context) => {
|
|
882
876
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
883
|
-
return
|
|
877
|
+
return de_CreateDeploymentCommandError(output, context);
|
|
884
878
|
}
|
|
885
879
|
const contents = map({
|
|
886
880
|
$metadata: deserializeMetadata(output),
|
|
@@ -891,8 +885,8 @@ const deserializeAws_restJson1CreateDeploymentCommand = async (output, context)
|
|
|
891
885
|
}
|
|
892
886
|
return contents;
|
|
893
887
|
};
|
|
894
|
-
exports.
|
|
895
|
-
const
|
|
888
|
+
exports.de_CreateDeploymentCommand = de_CreateDeploymentCommand;
|
|
889
|
+
const de_CreateDeploymentCommandError = async (output, context) => {
|
|
896
890
|
const parsedOutput = {
|
|
897
891
|
...output,
|
|
898
892
|
body: await parseErrorBody(output.body, context),
|
|
@@ -901,25 +895,25 @@ const deserializeAws_restJson1CreateDeploymentCommandError = async (output, cont
|
|
|
901
895
|
switch (errorCode) {
|
|
902
896
|
case "AccessDeniedException":
|
|
903
897
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
904
|
-
throw await
|
|
898
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
905
899
|
case "ConflictException":
|
|
906
900
|
case "com.amazonaws.m2#ConflictException":
|
|
907
|
-
throw await
|
|
901
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
908
902
|
case "InternalServerException":
|
|
909
903
|
case "com.amazonaws.m2#InternalServerException":
|
|
910
|
-
throw await
|
|
904
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
911
905
|
case "ResourceNotFoundException":
|
|
912
906
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
913
|
-
throw await
|
|
907
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
914
908
|
case "ServiceQuotaExceededException":
|
|
915
909
|
case "com.amazonaws.m2#ServiceQuotaExceededException":
|
|
916
|
-
throw await
|
|
910
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
917
911
|
case "ThrottlingException":
|
|
918
912
|
case "com.amazonaws.m2#ThrottlingException":
|
|
919
|
-
throw await
|
|
913
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
920
914
|
case "ValidationException":
|
|
921
915
|
case "com.amazonaws.m2#ValidationException":
|
|
922
|
-
throw await
|
|
916
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
923
917
|
default:
|
|
924
918
|
const parsedBody = parsedOutput.body;
|
|
925
919
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -930,9 +924,9 @@ const deserializeAws_restJson1CreateDeploymentCommandError = async (output, cont
|
|
|
930
924
|
});
|
|
931
925
|
}
|
|
932
926
|
};
|
|
933
|
-
const
|
|
927
|
+
const de_CreateEnvironmentCommand = async (output, context) => {
|
|
934
928
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
935
|
-
return
|
|
929
|
+
return de_CreateEnvironmentCommandError(output, context);
|
|
936
930
|
}
|
|
937
931
|
const contents = map({
|
|
938
932
|
$metadata: deserializeMetadata(output),
|
|
@@ -943,8 +937,8 @@ const deserializeAws_restJson1CreateEnvironmentCommand = async (output, context)
|
|
|
943
937
|
}
|
|
944
938
|
return contents;
|
|
945
939
|
};
|
|
946
|
-
exports.
|
|
947
|
-
const
|
|
940
|
+
exports.de_CreateEnvironmentCommand = de_CreateEnvironmentCommand;
|
|
941
|
+
const de_CreateEnvironmentCommandError = async (output, context) => {
|
|
948
942
|
const parsedOutput = {
|
|
949
943
|
...output,
|
|
950
944
|
body: await parseErrorBody(output.body, context),
|
|
@@ -953,22 +947,22 @@ const deserializeAws_restJson1CreateEnvironmentCommandError = async (output, con
|
|
|
953
947
|
switch (errorCode) {
|
|
954
948
|
case "AccessDeniedException":
|
|
955
949
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
956
|
-
throw await
|
|
950
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
957
951
|
case "ConflictException":
|
|
958
952
|
case "com.amazonaws.m2#ConflictException":
|
|
959
|
-
throw await
|
|
953
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
960
954
|
case "InternalServerException":
|
|
961
955
|
case "com.amazonaws.m2#InternalServerException":
|
|
962
|
-
throw await
|
|
956
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
963
957
|
case "ServiceQuotaExceededException":
|
|
964
958
|
case "com.amazonaws.m2#ServiceQuotaExceededException":
|
|
965
|
-
throw await
|
|
959
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
966
960
|
case "ThrottlingException":
|
|
967
961
|
case "com.amazonaws.m2#ThrottlingException":
|
|
968
|
-
throw await
|
|
962
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
969
963
|
case "ValidationException":
|
|
970
964
|
case "com.amazonaws.m2#ValidationException":
|
|
971
|
-
throw await
|
|
965
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
972
966
|
default:
|
|
973
967
|
const parsedBody = parsedOutput.body;
|
|
974
968
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -979,9 +973,9 @@ const deserializeAws_restJson1CreateEnvironmentCommandError = async (output, con
|
|
|
979
973
|
});
|
|
980
974
|
}
|
|
981
975
|
};
|
|
982
|
-
const
|
|
976
|
+
const de_DeleteApplicationCommand = async (output, context) => {
|
|
983
977
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
984
|
-
return
|
|
978
|
+
return de_DeleteApplicationCommandError(output, context);
|
|
985
979
|
}
|
|
986
980
|
const contents = map({
|
|
987
981
|
$metadata: deserializeMetadata(output),
|
|
@@ -989,8 +983,8 @@ const deserializeAws_restJson1DeleteApplicationCommand = async (output, context)
|
|
|
989
983
|
await collectBody(output.body, context);
|
|
990
984
|
return contents;
|
|
991
985
|
};
|
|
992
|
-
exports.
|
|
993
|
-
const
|
|
986
|
+
exports.de_DeleteApplicationCommand = de_DeleteApplicationCommand;
|
|
987
|
+
const de_DeleteApplicationCommandError = async (output, context) => {
|
|
994
988
|
const parsedOutput = {
|
|
995
989
|
...output,
|
|
996
990
|
body: await parseErrorBody(output.body, context),
|
|
@@ -999,19 +993,19 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (output, con
|
|
|
999
993
|
switch (errorCode) {
|
|
1000
994
|
case "AccessDeniedException":
|
|
1001
995
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1002
|
-
throw await
|
|
996
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1003
997
|
case "ConflictException":
|
|
1004
998
|
case "com.amazonaws.m2#ConflictException":
|
|
1005
|
-
throw await
|
|
999
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1006
1000
|
case "InternalServerException":
|
|
1007
1001
|
case "com.amazonaws.m2#InternalServerException":
|
|
1008
|
-
throw await
|
|
1002
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1009
1003
|
case "ThrottlingException":
|
|
1010
1004
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1011
|
-
throw await
|
|
1005
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1012
1006
|
case "ValidationException":
|
|
1013
1007
|
case "com.amazonaws.m2#ValidationException":
|
|
1014
|
-
throw await
|
|
1008
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1015
1009
|
default:
|
|
1016
1010
|
const parsedBody = parsedOutput.body;
|
|
1017
1011
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1022,9 +1016,9 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (output, con
|
|
|
1022
1016
|
});
|
|
1023
1017
|
}
|
|
1024
1018
|
};
|
|
1025
|
-
const
|
|
1019
|
+
const de_DeleteApplicationFromEnvironmentCommand = async (output, context) => {
|
|
1026
1020
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1027
|
-
return
|
|
1021
|
+
return de_DeleteApplicationFromEnvironmentCommandError(output, context);
|
|
1028
1022
|
}
|
|
1029
1023
|
const contents = map({
|
|
1030
1024
|
$metadata: deserializeMetadata(output),
|
|
@@ -1032,8 +1026,8 @@ const deserializeAws_restJson1DeleteApplicationFromEnvironmentCommand = async (o
|
|
|
1032
1026
|
await collectBody(output.body, context);
|
|
1033
1027
|
return contents;
|
|
1034
1028
|
};
|
|
1035
|
-
exports.
|
|
1036
|
-
const
|
|
1029
|
+
exports.de_DeleteApplicationFromEnvironmentCommand = de_DeleteApplicationFromEnvironmentCommand;
|
|
1030
|
+
const de_DeleteApplicationFromEnvironmentCommandError = async (output, context) => {
|
|
1037
1031
|
const parsedOutput = {
|
|
1038
1032
|
...output,
|
|
1039
1033
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1042,22 +1036,22 @@ const deserializeAws_restJson1DeleteApplicationFromEnvironmentCommandError = asy
|
|
|
1042
1036
|
switch (errorCode) {
|
|
1043
1037
|
case "AccessDeniedException":
|
|
1044
1038
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1045
|
-
throw await
|
|
1039
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1046
1040
|
case "ConflictException":
|
|
1047
1041
|
case "com.amazonaws.m2#ConflictException":
|
|
1048
|
-
throw await
|
|
1042
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1049
1043
|
case "InternalServerException":
|
|
1050
1044
|
case "com.amazonaws.m2#InternalServerException":
|
|
1051
|
-
throw await
|
|
1045
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1052
1046
|
case "ResourceNotFoundException":
|
|
1053
1047
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1054
|
-
throw await
|
|
1048
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1055
1049
|
case "ThrottlingException":
|
|
1056
1050
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1057
|
-
throw await
|
|
1051
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1058
1052
|
case "ValidationException":
|
|
1059
1053
|
case "com.amazonaws.m2#ValidationException":
|
|
1060
|
-
throw await
|
|
1054
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1061
1055
|
default:
|
|
1062
1056
|
const parsedBody = parsedOutput.body;
|
|
1063
1057
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1068,9 +1062,9 @@ const deserializeAws_restJson1DeleteApplicationFromEnvironmentCommandError = asy
|
|
|
1068
1062
|
});
|
|
1069
1063
|
}
|
|
1070
1064
|
};
|
|
1071
|
-
const
|
|
1065
|
+
const de_DeleteEnvironmentCommand = async (output, context) => {
|
|
1072
1066
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1073
|
-
return
|
|
1067
|
+
return de_DeleteEnvironmentCommandError(output, context);
|
|
1074
1068
|
}
|
|
1075
1069
|
const contents = map({
|
|
1076
1070
|
$metadata: deserializeMetadata(output),
|
|
@@ -1078,8 +1072,8 @@ const deserializeAws_restJson1DeleteEnvironmentCommand = async (output, context)
|
|
|
1078
1072
|
await collectBody(output.body, context);
|
|
1079
1073
|
return contents;
|
|
1080
1074
|
};
|
|
1081
|
-
exports.
|
|
1082
|
-
const
|
|
1075
|
+
exports.de_DeleteEnvironmentCommand = de_DeleteEnvironmentCommand;
|
|
1076
|
+
const de_DeleteEnvironmentCommandError = async (output, context) => {
|
|
1083
1077
|
const parsedOutput = {
|
|
1084
1078
|
...output,
|
|
1085
1079
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1088,19 +1082,19 @@ const deserializeAws_restJson1DeleteEnvironmentCommandError = async (output, con
|
|
|
1088
1082
|
switch (errorCode) {
|
|
1089
1083
|
case "AccessDeniedException":
|
|
1090
1084
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1091
|
-
throw await
|
|
1085
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1092
1086
|
case "ConflictException":
|
|
1093
1087
|
case "com.amazonaws.m2#ConflictException":
|
|
1094
|
-
throw await
|
|
1088
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1095
1089
|
case "InternalServerException":
|
|
1096
1090
|
case "com.amazonaws.m2#InternalServerException":
|
|
1097
|
-
throw await
|
|
1091
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1098
1092
|
case "ThrottlingException":
|
|
1099
1093
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1100
|
-
throw await
|
|
1094
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1101
1095
|
case "ValidationException":
|
|
1102
1096
|
case "com.amazonaws.m2#ValidationException":
|
|
1103
|
-
throw await
|
|
1097
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1104
1098
|
default:
|
|
1105
1099
|
const parsedBody = parsedOutput.body;
|
|
1106
1100
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1111,9 +1105,9 @@ const deserializeAws_restJson1DeleteEnvironmentCommandError = async (output, con
|
|
|
1111
1105
|
});
|
|
1112
1106
|
}
|
|
1113
1107
|
};
|
|
1114
|
-
const
|
|
1108
|
+
const de_GetApplicationCommand = async (output, context) => {
|
|
1115
1109
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1116
|
-
return
|
|
1110
|
+
return de_GetApplicationCommandError(output, context);
|
|
1117
1111
|
}
|
|
1118
1112
|
const contents = map({
|
|
1119
1113
|
$metadata: deserializeMetadata(output),
|
|
@@ -1129,7 +1123,7 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
|
|
|
1129
1123
|
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationTime)));
|
|
1130
1124
|
}
|
|
1131
1125
|
if (data.deployedVersion != null) {
|
|
1132
|
-
contents.deployedVersion =
|
|
1126
|
+
contents.deployedVersion = de_DeployedVersionSummary(data.deployedVersion, context);
|
|
1133
1127
|
}
|
|
1134
1128
|
if (data.description != null) {
|
|
1135
1129
|
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
@@ -1147,19 +1141,19 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
|
|
|
1147
1141
|
contents.lastStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastStartTime)));
|
|
1148
1142
|
}
|
|
1149
1143
|
if (data.latestVersion != null) {
|
|
1150
|
-
contents.latestVersion =
|
|
1144
|
+
contents.latestVersion = de_ApplicationVersionSummary(data.latestVersion, context);
|
|
1151
1145
|
}
|
|
1152
1146
|
if (data.listenerArns != null) {
|
|
1153
|
-
contents.listenerArns =
|
|
1147
|
+
contents.listenerArns = de_ArnList(data.listenerArns, context);
|
|
1154
1148
|
}
|
|
1155
1149
|
if (data.listenerPorts != null) {
|
|
1156
|
-
contents.listenerPorts =
|
|
1150
|
+
contents.listenerPorts = de_PortList(data.listenerPorts, context);
|
|
1157
1151
|
}
|
|
1158
1152
|
if (data.loadBalancerDnsName != null) {
|
|
1159
1153
|
contents.loadBalancerDnsName = (0, smithy_client_1.expectString)(data.loadBalancerDnsName);
|
|
1160
1154
|
}
|
|
1161
1155
|
if (data.logGroups != null) {
|
|
1162
|
-
contents.logGroups =
|
|
1156
|
+
contents.logGroups = de_LogGroupSummaries(data.logGroups, context);
|
|
1163
1157
|
}
|
|
1164
1158
|
if (data.name != null) {
|
|
1165
1159
|
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
@@ -1171,15 +1165,15 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
|
|
|
1171
1165
|
contents.statusReason = (0, smithy_client_1.expectString)(data.statusReason);
|
|
1172
1166
|
}
|
|
1173
1167
|
if (data.tags != null) {
|
|
1174
|
-
contents.tags =
|
|
1168
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1175
1169
|
}
|
|
1176
1170
|
if (data.targetGroupArns != null) {
|
|
1177
|
-
contents.targetGroupArns =
|
|
1171
|
+
contents.targetGroupArns = de_ArnList(data.targetGroupArns, context);
|
|
1178
1172
|
}
|
|
1179
1173
|
return contents;
|
|
1180
1174
|
};
|
|
1181
|
-
exports.
|
|
1182
|
-
const
|
|
1175
|
+
exports.de_GetApplicationCommand = de_GetApplicationCommand;
|
|
1176
|
+
const de_GetApplicationCommandError = async (output, context) => {
|
|
1183
1177
|
const parsedOutput = {
|
|
1184
1178
|
...output,
|
|
1185
1179
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1188,19 +1182,19 @@ const deserializeAws_restJson1GetApplicationCommandError = async (output, contex
|
|
|
1188
1182
|
switch (errorCode) {
|
|
1189
1183
|
case "AccessDeniedException":
|
|
1190
1184
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1191
|
-
throw await
|
|
1185
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1192
1186
|
case "InternalServerException":
|
|
1193
1187
|
case "com.amazonaws.m2#InternalServerException":
|
|
1194
|
-
throw await
|
|
1188
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1195
1189
|
case "ResourceNotFoundException":
|
|
1196
1190
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1197
|
-
throw await
|
|
1191
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1198
1192
|
case "ThrottlingException":
|
|
1199
1193
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1200
|
-
throw await
|
|
1194
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1201
1195
|
case "ValidationException":
|
|
1202
1196
|
case "com.amazonaws.m2#ValidationException":
|
|
1203
|
-
throw await
|
|
1197
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1204
1198
|
default:
|
|
1205
1199
|
const parsedBody = parsedOutput.body;
|
|
1206
1200
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1211,9 +1205,9 @@ const deserializeAws_restJson1GetApplicationCommandError = async (output, contex
|
|
|
1211
1205
|
});
|
|
1212
1206
|
}
|
|
1213
1207
|
};
|
|
1214
|
-
const
|
|
1208
|
+
const de_GetApplicationVersionCommand = async (output, context) => {
|
|
1215
1209
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1216
|
-
return
|
|
1210
|
+
return de_GetApplicationVersionCommandError(output, context);
|
|
1217
1211
|
}
|
|
1218
1212
|
const contents = map({
|
|
1219
1213
|
$metadata: deserializeMetadata(output),
|
|
@@ -1242,8 +1236,8 @@ const deserializeAws_restJson1GetApplicationVersionCommand = async (output, cont
|
|
|
1242
1236
|
}
|
|
1243
1237
|
return contents;
|
|
1244
1238
|
};
|
|
1245
|
-
exports.
|
|
1246
|
-
const
|
|
1239
|
+
exports.de_GetApplicationVersionCommand = de_GetApplicationVersionCommand;
|
|
1240
|
+
const de_GetApplicationVersionCommandError = async (output, context) => {
|
|
1247
1241
|
const parsedOutput = {
|
|
1248
1242
|
...output,
|
|
1249
1243
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1252,19 +1246,19 @@ const deserializeAws_restJson1GetApplicationVersionCommandError = async (output,
|
|
|
1252
1246
|
switch (errorCode) {
|
|
1253
1247
|
case "AccessDeniedException":
|
|
1254
1248
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1255
|
-
throw await
|
|
1249
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1256
1250
|
case "InternalServerException":
|
|
1257
1251
|
case "com.amazonaws.m2#InternalServerException":
|
|
1258
|
-
throw await
|
|
1252
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1259
1253
|
case "ResourceNotFoundException":
|
|
1260
1254
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1261
|
-
throw await
|
|
1255
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1262
1256
|
case "ThrottlingException":
|
|
1263
1257
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1264
|
-
throw await
|
|
1258
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1265
1259
|
case "ValidationException":
|
|
1266
1260
|
case "com.amazonaws.m2#ValidationException":
|
|
1267
|
-
throw await
|
|
1261
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1268
1262
|
default:
|
|
1269
1263
|
const parsedBody = parsedOutput.body;
|
|
1270
1264
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1275,9 +1269,9 @@ const deserializeAws_restJson1GetApplicationVersionCommandError = async (output,
|
|
|
1275
1269
|
});
|
|
1276
1270
|
}
|
|
1277
1271
|
};
|
|
1278
|
-
const
|
|
1272
|
+
const de_GetBatchJobExecutionCommand = async (output, context) => {
|
|
1279
1273
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1280
|
-
return
|
|
1274
|
+
return de_GetBatchJobExecutionCommandError(output, context);
|
|
1281
1275
|
}
|
|
1282
1276
|
const contents = map({
|
|
1283
1277
|
$metadata: deserializeMetadata(output),
|
|
@@ -1287,7 +1281,7 @@ const deserializeAws_restJson1GetBatchJobExecutionCommand = async (output, conte
|
|
|
1287
1281
|
contents.applicationId = (0, smithy_client_1.expectString)(data.applicationId);
|
|
1288
1282
|
}
|
|
1289
1283
|
if (data.batchJobIdentifier != null) {
|
|
1290
|
-
contents.batchJobIdentifier =
|
|
1284
|
+
contents.batchJobIdentifier = de_BatchJobIdentifier((0, smithy_client_1.expectUnion)(data.batchJobIdentifier), context);
|
|
1291
1285
|
}
|
|
1292
1286
|
if (data.endTime != null) {
|
|
1293
1287
|
contents.endTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.endTime)));
|
|
@@ -1321,8 +1315,8 @@ const deserializeAws_restJson1GetBatchJobExecutionCommand = async (output, conte
|
|
|
1321
1315
|
}
|
|
1322
1316
|
return contents;
|
|
1323
1317
|
};
|
|
1324
|
-
exports.
|
|
1325
|
-
const
|
|
1318
|
+
exports.de_GetBatchJobExecutionCommand = de_GetBatchJobExecutionCommand;
|
|
1319
|
+
const de_GetBatchJobExecutionCommandError = async (output, context) => {
|
|
1326
1320
|
const parsedOutput = {
|
|
1327
1321
|
...output,
|
|
1328
1322
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1331,19 +1325,19 @@ const deserializeAws_restJson1GetBatchJobExecutionCommandError = async (output,
|
|
|
1331
1325
|
switch (errorCode) {
|
|
1332
1326
|
case "AccessDeniedException":
|
|
1333
1327
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1334
|
-
throw await
|
|
1328
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1335
1329
|
case "InternalServerException":
|
|
1336
1330
|
case "com.amazonaws.m2#InternalServerException":
|
|
1337
|
-
throw await
|
|
1331
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1338
1332
|
case "ResourceNotFoundException":
|
|
1339
1333
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1340
|
-
throw await
|
|
1334
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1341
1335
|
case "ThrottlingException":
|
|
1342
1336
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1343
|
-
throw await
|
|
1337
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1344
1338
|
case "ValidationException":
|
|
1345
1339
|
case "com.amazonaws.m2#ValidationException":
|
|
1346
|
-
throw await
|
|
1340
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1347
1341
|
default:
|
|
1348
1342
|
const parsedBody = parsedOutput.body;
|
|
1349
1343
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1354,9 +1348,9 @@ const deserializeAws_restJson1GetBatchJobExecutionCommandError = async (output,
|
|
|
1354
1348
|
});
|
|
1355
1349
|
}
|
|
1356
1350
|
};
|
|
1357
|
-
const
|
|
1351
|
+
const de_GetDataSetDetailsCommand = async (output, context) => {
|
|
1358
1352
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1359
|
-
return
|
|
1353
|
+
return de_GetDataSetDetailsCommandError(output, context);
|
|
1360
1354
|
}
|
|
1361
1355
|
const contents = map({
|
|
1362
1356
|
$metadata: deserializeMetadata(output),
|
|
@@ -1372,7 +1366,7 @@ const deserializeAws_restJson1GetDataSetDetailsCommand = async (output, context)
|
|
|
1372
1366
|
contents.dataSetName = (0, smithy_client_1.expectString)(data.dataSetName);
|
|
1373
1367
|
}
|
|
1374
1368
|
if (data.dataSetOrg != null) {
|
|
1375
|
-
contents.dataSetOrg =
|
|
1369
|
+
contents.dataSetOrg = de_DatasetDetailOrgAttributes((0, smithy_client_1.expectUnion)(data.dataSetOrg), context);
|
|
1376
1370
|
}
|
|
1377
1371
|
if (data.lastReferencedTime != null) {
|
|
1378
1372
|
contents.lastReferencedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastReferencedTime)));
|
|
@@ -1388,8 +1382,8 @@ const deserializeAws_restJson1GetDataSetDetailsCommand = async (output, context)
|
|
|
1388
1382
|
}
|
|
1389
1383
|
return contents;
|
|
1390
1384
|
};
|
|
1391
|
-
exports.
|
|
1392
|
-
const
|
|
1385
|
+
exports.de_GetDataSetDetailsCommand = de_GetDataSetDetailsCommand;
|
|
1386
|
+
const de_GetDataSetDetailsCommandError = async (output, context) => {
|
|
1393
1387
|
const parsedOutput = {
|
|
1394
1388
|
...output,
|
|
1395
1389
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1398,19 +1392,19 @@ const deserializeAws_restJson1GetDataSetDetailsCommandError = async (output, con
|
|
|
1398
1392
|
switch (errorCode) {
|
|
1399
1393
|
case "AccessDeniedException":
|
|
1400
1394
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1401
|
-
throw await
|
|
1395
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1402
1396
|
case "InternalServerException":
|
|
1403
1397
|
case "com.amazonaws.m2#InternalServerException":
|
|
1404
|
-
throw await
|
|
1398
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1405
1399
|
case "ResourceNotFoundException":
|
|
1406
1400
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1407
|
-
throw await
|
|
1401
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1408
1402
|
case "ThrottlingException":
|
|
1409
1403
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1410
|
-
throw await
|
|
1404
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1411
1405
|
case "ValidationException":
|
|
1412
1406
|
case "com.amazonaws.m2#ValidationException":
|
|
1413
|
-
throw await
|
|
1407
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1414
1408
|
default:
|
|
1415
1409
|
const parsedBody = parsedOutput.body;
|
|
1416
1410
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1421,9 +1415,9 @@ const deserializeAws_restJson1GetDataSetDetailsCommandError = async (output, con
|
|
|
1421
1415
|
});
|
|
1422
1416
|
}
|
|
1423
1417
|
};
|
|
1424
|
-
const
|
|
1418
|
+
const de_GetDataSetImportTaskCommand = async (output, context) => {
|
|
1425
1419
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1426
|
-
return
|
|
1420
|
+
return de_GetDataSetImportTaskCommandError(output, context);
|
|
1427
1421
|
}
|
|
1428
1422
|
const contents = map({
|
|
1429
1423
|
$metadata: deserializeMetadata(output),
|
|
@@ -1433,15 +1427,15 @@ const deserializeAws_restJson1GetDataSetImportTaskCommand = async (output, conte
|
|
|
1433
1427
|
contents.status = (0, smithy_client_1.expectString)(data.status);
|
|
1434
1428
|
}
|
|
1435
1429
|
if (data.summary != null) {
|
|
1436
|
-
contents.summary =
|
|
1430
|
+
contents.summary = de_DataSetImportSummary(data.summary, context);
|
|
1437
1431
|
}
|
|
1438
1432
|
if (data.taskId != null) {
|
|
1439
1433
|
contents.taskId = (0, smithy_client_1.expectString)(data.taskId);
|
|
1440
1434
|
}
|
|
1441
1435
|
return contents;
|
|
1442
1436
|
};
|
|
1443
|
-
exports.
|
|
1444
|
-
const
|
|
1437
|
+
exports.de_GetDataSetImportTaskCommand = de_GetDataSetImportTaskCommand;
|
|
1438
|
+
const de_GetDataSetImportTaskCommandError = async (output, context) => {
|
|
1445
1439
|
const parsedOutput = {
|
|
1446
1440
|
...output,
|
|
1447
1441
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1450,19 +1444,19 @@ const deserializeAws_restJson1GetDataSetImportTaskCommandError = async (output,
|
|
|
1450
1444
|
switch (errorCode) {
|
|
1451
1445
|
case "AccessDeniedException":
|
|
1452
1446
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1453
|
-
throw await
|
|
1447
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1454
1448
|
case "InternalServerException":
|
|
1455
1449
|
case "com.amazonaws.m2#InternalServerException":
|
|
1456
|
-
throw await
|
|
1450
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1457
1451
|
case "ResourceNotFoundException":
|
|
1458
1452
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1459
|
-
throw await
|
|
1453
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1460
1454
|
case "ThrottlingException":
|
|
1461
1455
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1462
|
-
throw await
|
|
1456
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1463
1457
|
case "ValidationException":
|
|
1464
1458
|
case "com.amazonaws.m2#ValidationException":
|
|
1465
|
-
throw await
|
|
1459
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1466
1460
|
default:
|
|
1467
1461
|
const parsedBody = parsedOutput.body;
|
|
1468
1462
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1473,9 +1467,9 @@ const deserializeAws_restJson1GetDataSetImportTaskCommandError = async (output,
|
|
|
1473
1467
|
});
|
|
1474
1468
|
}
|
|
1475
1469
|
};
|
|
1476
|
-
const
|
|
1470
|
+
const de_GetDeploymentCommand = async (output, context) => {
|
|
1477
1471
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1478
|
-
return
|
|
1472
|
+
return de_GetDeploymentCommandError(output, context);
|
|
1479
1473
|
}
|
|
1480
1474
|
const contents = map({
|
|
1481
1475
|
$metadata: deserializeMetadata(output),
|
|
@@ -1504,8 +1498,8 @@ const deserializeAws_restJson1GetDeploymentCommand = async (output, context) =>
|
|
|
1504
1498
|
}
|
|
1505
1499
|
return contents;
|
|
1506
1500
|
};
|
|
1507
|
-
exports.
|
|
1508
|
-
const
|
|
1501
|
+
exports.de_GetDeploymentCommand = de_GetDeploymentCommand;
|
|
1502
|
+
const de_GetDeploymentCommandError = async (output, context) => {
|
|
1509
1503
|
const parsedOutput = {
|
|
1510
1504
|
...output,
|
|
1511
1505
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1514,19 +1508,19 @@ const deserializeAws_restJson1GetDeploymentCommandError = async (output, context
|
|
|
1514
1508
|
switch (errorCode) {
|
|
1515
1509
|
case "AccessDeniedException":
|
|
1516
1510
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1517
|
-
throw await
|
|
1511
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1518
1512
|
case "InternalServerException":
|
|
1519
1513
|
case "com.amazonaws.m2#InternalServerException":
|
|
1520
|
-
throw await
|
|
1514
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1521
1515
|
case "ResourceNotFoundException":
|
|
1522
1516
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1523
|
-
throw await
|
|
1517
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1524
1518
|
case "ThrottlingException":
|
|
1525
1519
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1526
|
-
throw await
|
|
1520
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1527
1521
|
case "ValidationException":
|
|
1528
1522
|
case "com.amazonaws.m2#ValidationException":
|
|
1529
|
-
throw await
|
|
1523
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1530
1524
|
default:
|
|
1531
1525
|
const parsedBody = parsedOutput.body;
|
|
1532
1526
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1537,9 +1531,9 @@ const deserializeAws_restJson1GetDeploymentCommandError = async (output, context
|
|
|
1537
1531
|
});
|
|
1538
1532
|
}
|
|
1539
1533
|
};
|
|
1540
|
-
const
|
|
1534
|
+
const de_GetEnvironmentCommand = async (output, context) => {
|
|
1541
1535
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1542
|
-
return
|
|
1536
|
+
return de_GetEnvironmentCommandError(output, context);
|
|
1543
1537
|
}
|
|
1544
1538
|
const contents = map({
|
|
1545
1539
|
$metadata: deserializeMetadata(output),
|
|
@@ -1567,7 +1561,7 @@ const deserializeAws_restJson1GetEnvironmentCommand = async (output, context) =>
|
|
|
1567
1561
|
contents.environmentId = (0, smithy_client_1.expectString)(data.environmentId);
|
|
1568
1562
|
}
|
|
1569
1563
|
if (data.highAvailabilityConfig != null) {
|
|
1570
|
-
contents.highAvailabilityConfig =
|
|
1564
|
+
contents.highAvailabilityConfig = de_HighAvailabilityConfig(data.highAvailabilityConfig, context);
|
|
1571
1565
|
}
|
|
1572
1566
|
if (data.instanceType != null) {
|
|
1573
1567
|
contents.instanceType = (0, smithy_client_1.expectString)(data.instanceType);
|
|
@@ -1582,7 +1576,7 @@ const deserializeAws_restJson1GetEnvironmentCommand = async (output, context) =>
|
|
|
1582
1576
|
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
1583
1577
|
}
|
|
1584
1578
|
if (data.pendingMaintenance != null) {
|
|
1585
|
-
contents.pendingMaintenance =
|
|
1579
|
+
contents.pendingMaintenance = de_PendingMaintenance(data.pendingMaintenance, context);
|
|
1586
1580
|
}
|
|
1587
1581
|
if (data.preferredMaintenanceWindow != null) {
|
|
1588
1582
|
contents.preferredMaintenanceWindow = (0, smithy_client_1.expectString)(data.preferredMaintenanceWindow);
|
|
@@ -1591,7 +1585,7 @@ const deserializeAws_restJson1GetEnvironmentCommand = async (output, context) =>
|
|
|
1591
1585
|
contents.publiclyAccessible = (0, smithy_client_1.expectBoolean)(data.publiclyAccessible);
|
|
1592
1586
|
}
|
|
1593
1587
|
if (data.securityGroupIds != null) {
|
|
1594
|
-
contents.securityGroupIds =
|
|
1588
|
+
contents.securityGroupIds = de_String50List(data.securityGroupIds, context);
|
|
1595
1589
|
}
|
|
1596
1590
|
if (data.status != null) {
|
|
1597
1591
|
contents.status = (0, smithy_client_1.expectString)(data.status);
|
|
@@ -1600,21 +1594,21 @@ const deserializeAws_restJson1GetEnvironmentCommand = async (output, context) =>
|
|
|
1600
1594
|
contents.statusReason = (0, smithy_client_1.expectString)(data.statusReason);
|
|
1601
1595
|
}
|
|
1602
1596
|
if (data.storageConfigurations != null) {
|
|
1603
|
-
contents.storageConfigurations =
|
|
1597
|
+
contents.storageConfigurations = de_StorageConfigurationList(data.storageConfigurations, context);
|
|
1604
1598
|
}
|
|
1605
1599
|
if (data.subnetIds != null) {
|
|
1606
|
-
contents.subnetIds =
|
|
1600
|
+
contents.subnetIds = de_String50List(data.subnetIds, context);
|
|
1607
1601
|
}
|
|
1608
1602
|
if (data.tags != null) {
|
|
1609
|
-
contents.tags =
|
|
1603
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1610
1604
|
}
|
|
1611
1605
|
if (data.vpcId != null) {
|
|
1612
1606
|
contents.vpcId = (0, smithy_client_1.expectString)(data.vpcId);
|
|
1613
1607
|
}
|
|
1614
1608
|
return contents;
|
|
1615
1609
|
};
|
|
1616
|
-
exports.
|
|
1617
|
-
const
|
|
1610
|
+
exports.de_GetEnvironmentCommand = de_GetEnvironmentCommand;
|
|
1611
|
+
const de_GetEnvironmentCommandError = async (output, context) => {
|
|
1618
1612
|
const parsedOutput = {
|
|
1619
1613
|
...output,
|
|
1620
1614
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1623,19 +1617,19 @@ const deserializeAws_restJson1GetEnvironmentCommandError = async (output, contex
|
|
|
1623
1617
|
switch (errorCode) {
|
|
1624
1618
|
case "AccessDeniedException":
|
|
1625
1619
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1626
|
-
throw await
|
|
1620
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1627
1621
|
case "InternalServerException":
|
|
1628
1622
|
case "com.amazonaws.m2#InternalServerException":
|
|
1629
|
-
throw await
|
|
1623
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1630
1624
|
case "ResourceNotFoundException":
|
|
1631
1625
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1632
|
-
throw await
|
|
1626
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1633
1627
|
case "ThrottlingException":
|
|
1634
1628
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1635
|
-
throw await
|
|
1629
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1636
1630
|
case "ValidationException":
|
|
1637
1631
|
case "com.amazonaws.m2#ValidationException":
|
|
1638
|
-
throw await
|
|
1632
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1639
1633
|
default:
|
|
1640
1634
|
const parsedBody = parsedOutput.body;
|
|
1641
1635
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1646,24 +1640,24 @@ const deserializeAws_restJson1GetEnvironmentCommandError = async (output, contex
|
|
|
1646
1640
|
});
|
|
1647
1641
|
}
|
|
1648
1642
|
};
|
|
1649
|
-
const
|
|
1643
|
+
const de_ListApplicationsCommand = async (output, context) => {
|
|
1650
1644
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1651
|
-
return
|
|
1645
|
+
return de_ListApplicationsCommandError(output, context);
|
|
1652
1646
|
}
|
|
1653
1647
|
const contents = map({
|
|
1654
1648
|
$metadata: deserializeMetadata(output),
|
|
1655
1649
|
});
|
|
1656
1650
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1657
1651
|
if (data.applications != null) {
|
|
1658
|
-
contents.applications =
|
|
1652
|
+
contents.applications = de_ApplicationSummaryList(data.applications, context);
|
|
1659
1653
|
}
|
|
1660
1654
|
if (data.nextToken != null) {
|
|
1661
1655
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1662
1656
|
}
|
|
1663
1657
|
return contents;
|
|
1664
1658
|
};
|
|
1665
|
-
exports.
|
|
1666
|
-
const
|
|
1659
|
+
exports.de_ListApplicationsCommand = de_ListApplicationsCommand;
|
|
1660
|
+
const de_ListApplicationsCommandError = async (output, context) => {
|
|
1667
1661
|
const parsedOutput = {
|
|
1668
1662
|
...output,
|
|
1669
1663
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1672,16 +1666,16 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (output, cont
|
|
|
1672
1666
|
switch (errorCode) {
|
|
1673
1667
|
case "AccessDeniedException":
|
|
1674
1668
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1675
|
-
throw await
|
|
1669
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1676
1670
|
case "InternalServerException":
|
|
1677
1671
|
case "com.amazonaws.m2#InternalServerException":
|
|
1678
|
-
throw await
|
|
1672
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1679
1673
|
case "ThrottlingException":
|
|
1680
1674
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1681
|
-
throw await
|
|
1675
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1682
1676
|
case "ValidationException":
|
|
1683
1677
|
case "com.amazonaws.m2#ValidationException":
|
|
1684
|
-
throw await
|
|
1678
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1685
1679
|
default:
|
|
1686
1680
|
const parsedBody = parsedOutput.body;
|
|
1687
1681
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1692,24 +1686,24 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (output, cont
|
|
|
1692
1686
|
});
|
|
1693
1687
|
}
|
|
1694
1688
|
};
|
|
1695
|
-
const
|
|
1689
|
+
const de_ListApplicationVersionsCommand = async (output, context) => {
|
|
1696
1690
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1697
|
-
return
|
|
1691
|
+
return de_ListApplicationVersionsCommandError(output, context);
|
|
1698
1692
|
}
|
|
1699
1693
|
const contents = map({
|
|
1700
1694
|
$metadata: deserializeMetadata(output),
|
|
1701
1695
|
});
|
|
1702
1696
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1703
1697
|
if (data.applicationVersions != null) {
|
|
1704
|
-
contents.applicationVersions =
|
|
1698
|
+
contents.applicationVersions = de_ApplicationVersionSummaryList(data.applicationVersions, context);
|
|
1705
1699
|
}
|
|
1706
1700
|
if (data.nextToken != null) {
|
|
1707
1701
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1708
1702
|
}
|
|
1709
1703
|
return contents;
|
|
1710
1704
|
};
|
|
1711
|
-
exports.
|
|
1712
|
-
const
|
|
1705
|
+
exports.de_ListApplicationVersionsCommand = de_ListApplicationVersionsCommand;
|
|
1706
|
+
const de_ListApplicationVersionsCommandError = async (output, context) => {
|
|
1713
1707
|
const parsedOutput = {
|
|
1714
1708
|
...output,
|
|
1715
1709
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1718,19 +1712,19 @@ const deserializeAws_restJson1ListApplicationVersionsCommandError = async (outpu
|
|
|
1718
1712
|
switch (errorCode) {
|
|
1719
1713
|
case "AccessDeniedException":
|
|
1720
1714
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1721
|
-
throw await
|
|
1715
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1722
1716
|
case "InternalServerException":
|
|
1723
1717
|
case "com.amazonaws.m2#InternalServerException":
|
|
1724
|
-
throw await
|
|
1718
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1725
1719
|
case "ResourceNotFoundException":
|
|
1726
1720
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1727
|
-
throw await
|
|
1721
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1728
1722
|
case "ThrottlingException":
|
|
1729
1723
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1730
|
-
throw await
|
|
1724
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1731
1725
|
case "ValidationException":
|
|
1732
1726
|
case "com.amazonaws.m2#ValidationException":
|
|
1733
|
-
throw await
|
|
1727
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1734
1728
|
default:
|
|
1735
1729
|
const parsedBody = parsedOutput.body;
|
|
1736
1730
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1741,24 +1735,24 @@ const deserializeAws_restJson1ListApplicationVersionsCommandError = async (outpu
|
|
|
1741
1735
|
});
|
|
1742
1736
|
}
|
|
1743
1737
|
};
|
|
1744
|
-
const
|
|
1738
|
+
const de_ListBatchJobDefinitionsCommand = async (output, context) => {
|
|
1745
1739
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1746
|
-
return
|
|
1740
|
+
return de_ListBatchJobDefinitionsCommandError(output, context);
|
|
1747
1741
|
}
|
|
1748
1742
|
const contents = map({
|
|
1749
1743
|
$metadata: deserializeMetadata(output),
|
|
1750
1744
|
});
|
|
1751
1745
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1752
1746
|
if (data.batchJobDefinitions != null) {
|
|
1753
|
-
contents.batchJobDefinitions =
|
|
1747
|
+
contents.batchJobDefinitions = de_BatchJobDefinitions(data.batchJobDefinitions, context);
|
|
1754
1748
|
}
|
|
1755
1749
|
if (data.nextToken != null) {
|
|
1756
1750
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1757
1751
|
}
|
|
1758
1752
|
return contents;
|
|
1759
1753
|
};
|
|
1760
|
-
exports.
|
|
1761
|
-
const
|
|
1754
|
+
exports.de_ListBatchJobDefinitionsCommand = de_ListBatchJobDefinitionsCommand;
|
|
1755
|
+
const de_ListBatchJobDefinitionsCommandError = async (output, context) => {
|
|
1762
1756
|
const parsedOutput = {
|
|
1763
1757
|
...output,
|
|
1764
1758
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1767,19 +1761,19 @@ const deserializeAws_restJson1ListBatchJobDefinitionsCommandError = async (outpu
|
|
|
1767
1761
|
switch (errorCode) {
|
|
1768
1762
|
case "AccessDeniedException":
|
|
1769
1763
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1770
|
-
throw await
|
|
1764
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1771
1765
|
case "InternalServerException":
|
|
1772
1766
|
case "com.amazonaws.m2#InternalServerException":
|
|
1773
|
-
throw await
|
|
1767
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1774
1768
|
case "ResourceNotFoundException":
|
|
1775
1769
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1776
|
-
throw await
|
|
1770
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1777
1771
|
case "ThrottlingException":
|
|
1778
1772
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1779
|
-
throw await
|
|
1773
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1780
1774
|
case "ValidationException":
|
|
1781
1775
|
case "com.amazonaws.m2#ValidationException":
|
|
1782
|
-
throw await
|
|
1776
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1783
1777
|
default:
|
|
1784
1778
|
const parsedBody = parsedOutput.body;
|
|
1785
1779
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1790,24 +1784,24 @@ const deserializeAws_restJson1ListBatchJobDefinitionsCommandError = async (outpu
|
|
|
1790
1784
|
});
|
|
1791
1785
|
}
|
|
1792
1786
|
};
|
|
1793
|
-
const
|
|
1787
|
+
const de_ListBatchJobExecutionsCommand = async (output, context) => {
|
|
1794
1788
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1795
|
-
return
|
|
1789
|
+
return de_ListBatchJobExecutionsCommandError(output, context);
|
|
1796
1790
|
}
|
|
1797
1791
|
const contents = map({
|
|
1798
1792
|
$metadata: deserializeMetadata(output),
|
|
1799
1793
|
});
|
|
1800
1794
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1801
1795
|
if (data.batchJobExecutions != null) {
|
|
1802
|
-
contents.batchJobExecutions =
|
|
1796
|
+
contents.batchJobExecutions = de_BatchJobExecutionSummaryList(data.batchJobExecutions, context);
|
|
1803
1797
|
}
|
|
1804
1798
|
if (data.nextToken != null) {
|
|
1805
1799
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1806
1800
|
}
|
|
1807
1801
|
return contents;
|
|
1808
1802
|
};
|
|
1809
|
-
exports.
|
|
1810
|
-
const
|
|
1803
|
+
exports.de_ListBatchJobExecutionsCommand = de_ListBatchJobExecutionsCommand;
|
|
1804
|
+
const de_ListBatchJobExecutionsCommandError = async (output, context) => {
|
|
1811
1805
|
const parsedOutput = {
|
|
1812
1806
|
...output,
|
|
1813
1807
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1816,19 +1810,19 @@ const deserializeAws_restJson1ListBatchJobExecutionsCommandError = async (output
|
|
|
1816
1810
|
switch (errorCode) {
|
|
1817
1811
|
case "AccessDeniedException":
|
|
1818
1812
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1819
|
-
throw await
|
|
1813
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1820
1814
|
case "InternalServerException":
|
|
1821
1815
|
case "com.amazonaws.m2#InternalServerException":
|
|
1822
|
-
throw await
|
|
1816
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1823
1817
|
case "ResourceNotFoundException":
|
|
1824
1818
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1825
|
-
throw await
|
|
1819
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1826
1820
|
case "ThrottlingException":
|
|
1827
1821
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1828
|
-
throw await
|
|
1822
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1829
1823
|
case "ValidationException":
|
|
1830
1824
|
case "com.amazonaws.m2#ValidationException":
|
|
1831
|
-
throw await
|
|
1825
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1832
1826
|
default:
|
|
1833
1827
|
const parsedBody = parsedOutput.body;
|
|
1834
1828
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1839,24 +1833,24 @@ const deserializeAws_restJson1ListBatchJobExecutionsCommandError = async (output
|
|
|
1839
1833
|
});
|
|
1840
1834
|
}
|
|
1841
1835
|
};
|
|
1842
|
-
const
|
|
1836
|
+
const de_ListDataSetImportHistoryCommand = async (output, context) => {
|
|
1843
1837
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1844
|
-
return
|
|
1838
|
+
return de_ListDataSetImportHistoryCommandError(output, context);
|
|
1845
1839
|
}
|
|
1846
1840
|
const contents = map({
|
|
1847
1841
|
$metadata: deserializeMetadata(output),
|
|
1848
1842
|
});
|
|
1849
1843
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1850
1844
|
if (data.dataSetImportTasks != null) {
|
|
1851
|
-
contents.dataSetImportTasks =
|
|
1845
|
+
contents.dataSetImportTasks = de_DataSetImportTaskList(data.dataSetImportTasks, context);
|
|
1852
1846
|
}
|
|
1853
1847
|
if (data.nextToken != null) {
|
|
1854
1848
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1855
1849
|
}
|
|
1856
1850
|
return contents;
|
|
1857
1851
|
};
|
|
1858
|
-
exports.
|
|
1859
|
-
const
|
|
1852
|
+
exports.de_ListDataSetImportHistoryCommand = de_ListDataSetImportHistoryCommand;
|
|
1853
|
+
const de_ListDataSetImportHistoryCommandError = async (output, context) => {
|
|
1860
1854
|
const parsedOutput = {
|
|
1861
1855
|
...output,
|
|
1862
1856
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1865,19 +1859,19 @@ const deserializeAws_restJson1ListDataSetImportHistoryCommandError = async (outp
|
|
|
1865
1859
|
switch (errorCode) {
|
|
1866
1860
|
case "AccessDeniedException":
|
|
1867
1861
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1868
|
-
throw await
|
|
1862
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1869
1863
|
case "InternalServerException":
|
|
1870
1864
|
case "com.amazonaws.m2#InternalServerException":
|
|
1871
|
-
throw await
|
|
1865
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1872
1866
|
case "ResourceNotFoundException":
|
|
1873
1867
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1874
|
-
throw await
|
|
1868
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1875
1869
|
case "ThrottlingException":
|
|
1876
1870
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1877
|
-
throw await
|
|
1871
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1878
1872
|
case "ValidationException":
|
|
1879
1873
|
case "com.amazonaws.m2#ValidationException":
|
|
1880
|
-
throw await
|
|
1874
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1881
1875
|
default:
|
|
1882
1876
|
const parsedBody = parsedOutput.body;
|
|
1883
1877
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1888,24 +1882,24 @@ const deserializeAws_restJson1ListDataSetImportHistoryCommandError = async (outp
|
|
|
1888
1882
|
});
|
|
1889
1883
|
}
|
|
1890
1884
|
};
|
|
1891
|
-
const
|
|
1885
|
+
const de_ListDataSetsCommand = async (output, context) => {
|
|
1892
1886
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1893
|
-
return
|
|
1887
|
+
return de_ListDataSetsCommandError(output, context);
|
|
1894
1888
|
}
|
|
1895
1889
|
const contents = map({
|
|
1896
1890
|
$metadata: deserializeMetadata(output),
|
|
1897
1891
|
});
|
|
1898
1892
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1899
1893
|
if (data.dataSets != null) {
|
|
1900
|
-
contents.dataSets =
|
|
1894
|
+
contents.dataSets = de_DataSetsSummaryList(data.dataSets, context);
|
|
1901
1895
|
}
|
|
1902
1896
|
if (data.nextToken != null) {
|
|
1903
1897
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1904
1898
|
}
|
|
1905
1899
|
return contents;
|
|
1906
1900
|
};
|
|
1907
|
-
exports.
|
|
1908
|
-
const
|
|
1901
|
+
exports.de_ListDataSetsCommand = de_ListDataSetsCommand;
|
|
1902
|
+
const de_ListDataSetsCommandError = async (output, context) => {
|
|
1909
1903
|
const parsedOutput = {
|
|
1910
1904
|
...output,
|
|
1911
1905
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1914,19 +1908,19 @@ const deserializeAws_restJson1ListDataSetsCommandError = async (output, context)
|
|
|
1914
1908
|
switch (errorCode) {
|
|
1915
1909
|
case "AccessDeniedException":
|
|
1916
1910
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1917
|
-
throw await
|
|
1911
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1918
1912
|
case "InternalServerException":
|
|
1919
1913
|
case "com.amazonaws.m2#InternalServerException":
|
|
1920
|
-
throw await
|
|
1914
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1921
1915
|
case "ResourceNotFoundException":
|
|
1922
1916
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1923
|
-
throw await
|
|
1917
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1924
1918
|
case "ThrottlingException":
|
|
1925
1919
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1926
|
-
throw await
|
|
1920
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1927
1921
|
case "ValidationException":
|
|
1928
1922
|
case "com.amazonaws.m2#ValidationException":
|
|
1929
|
-
throw await
|
|
1923
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1930
1924
|
default:
|
|
1931
1925
|
const parsedBody = parsedOutput.body;
|
|
1932
1926
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1937,24 +1931,24 @@ const deserializeAws_restJson1ListDataSetsCommandError = async (output, context)
|
|
|
1937
1931
|
});
|
|
1938
1932
|
}
|
|
1939
1933
|
};
|
|
1940
|
-
const
|
|
1934
|
+
const de_ListDeploymentsCommand = async (output, context) => {
|
|
1941
1935
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1942
|
-
return
|
|
1936
|
+
return de_ListDeploymentsCommandError(output, context);
|
|
1943
1937
|
}
|
|
1944
1938
|
const contents = map({
|
|
1945
1939
|
$metadata: deserializeMetadata(output),
|
|
1946
1940
|
});
|
|
1947
1941
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1948
1942
|
if (data.deployments != null) {
|
|
1949
|
-
contents.deployments =
|
|
1943
|
+
contents.deployments = de_DeploymentList(data.deployments, context);
|
|
1950
1944
|
}
|
|
1951
1945
|
if (data.nextToken != null) {
|
|
1952
1946
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1953
1947
|
}
|
|
1954
1948
|
return contents;
|
|
1955
1949
|
};
|
|
1956
|
-
exports.
|
|
1957
|
-
const
|
|
1950
|
+
exports.de_ListDeploymentsCommand = de_ListDeploymentsCommand;
|
|
1951
|
+
const de_ListDeploymentsCommandError = async (output, context) => {
|
|
1958
1952
|
const parsedOutput = {
|
|
1959
1953
|
...output,
|
|
1960
1954
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1963,19 +1957,19 @@ const deserializeAws_restJson1ListDeploymentsCommandError = async (output, conte
|
|
|
1963
1957
|
switch (errorCode) {
|
|
1964
1958
|
case "AccessDeniedException":
|
|
1965
1959
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
1966
|
-
throw await
|
|
1960
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1967
1961
|
case "InternalServerException":
|
|
1968
1962
|
case "com.amazonaws.m2#InternalServerException":
|
|
1969
|
-
throw await
|
|
1963
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1970
1964
|
case "ResourceNotFoundException":
|
|
1971
1965
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
1972
|
-
throw await
|
|
1966
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1973
1967
|
case "ThrottlingException":
|
|
1974
1968
|
case "com.amazonaws.m2#ThrottlingException":
|
|
1975
|
-
throw await
|
|
1969
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1976
1970
|
case "ValidationException":
|
|
1977
1971
|
case "com.amazonaws.m2#ValidationException":
|
|
1978
|
-
throw await
|
|
1972
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1979
1973
|
default:
|
|
1980
1974
|
const parsedBody = parsedOutput.body;
|
|
1981
1975
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1986,24 +1980,24 @@ const deserializeAws_restJson1ListDeploymentsCommandError = async (output, conte
|
|
|
1986
1980
|
});
|
|
1987
1981
|
}
|
|
1988
1982
|
};
|
|
1989
|
-
const
|
|
1983
|
+
const de_ListEngineVersionsCommand = async (output, context) => {
|
|
1990
1984
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1991
|
-
return
|
|
1985
|
+
return de_ListEngineVersionsCommandError(output, context);
|
|
1992
1986
|
}
|
|
1993
1987
|
const contents = map({
|
|
1994
1988
|
$metadata: deserializeMetadata(output),
|
|
1995
1989
|
});
|
|
1996
1990
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1997
1991
|
if (data.engineVersions != null) {
|
|
1998
|
-
contents.engineVersions =
|
|
1992
|
+
contents.engineVersions = de_EngineVersionsSummaryList(data.engineVersions, context);
|
|
1999
1993
|
}
|
|
2000
1994
|
if (data.nextToken != null) {
|
|
2001
1995
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2002
1996
|
}
|
|
2003
1997
|
return contents;
|
|
2004
1998
|
};
|
|
2005
|
-
exports.
|
|
2006
|
-
const
|
|
1999
|
+
exports.de_ListEngineVersionsCommand = de_ListEngineVersionsCommand;
|
|
2000
|
+
const de_ListEngineVersionsCommandError = async (output, context) => {
|
|
2007
2001
|
const parsedOutput = {
|
|
2008
2002
|
...output,
|
|
2009
2003
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2012,16 +2006,16 @@ const deserializeAws_restJson1ListEngineVersionsCommandError = async (output, co
|
|
|
2012
2006
|
switch (errorCode) {
|
|
2013
2007
|
case "AccessDeniedException":
|
|
2014
2008
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
2015
|
-
throw await
|
|
2009
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2016
2010
|
case "InternalServerException":
|
|
2017
2011
|
case "com.amazonaws.m2#InternalServerException":
|
|
2018
|
-
throw await
|
|
2012
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2019
2013
|
case "ThrottlingException":
|
|
2020
2014
|
case "com.amazonaws.m2#ThrottlingException":
|
|
2021
|
-
throw await
|
|
2015
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2022
2016
|
case "ValidationException":
|
|
2023
2017
|
case "com.amazonaws.m2#ValidationException":
|
|
2024
|
-
throw await
|
|
2018
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2025
2019
|
default:
|
|
2026
2020
|
const parsedBody = parsedOutput.body;
|
|
2027
2021
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2032,24 +2026,24 @@ const deserializeAws_restJson1ListEngineVersionsCommandError = async (output, co
|
|
|
2032
2026
|
});
|
|
2033
2027
|
}
|
|
2034
2028
|
};
|
|
2035
|
-
const
|
|
2029
|
+
const de_ListEnvironmentsCommand = async (output, context) => {
|
|
2036
2030
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2037
|
-
return
|
|
2031
|
+
return de_ListEnvironmentsCommandError(output, context);
|
|
2038
2032
|
}
|
|
2039
2033
|
const contents = map({
|
|
2040
2034
|
$metadata: deserializeMetadata(output),
|
|
2041
2035
|
});
|
|
2042
2036
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2043
2037
|
if (data.environments != null) {
|
|
2044
|
-
contents.environments =
|
|
2038
|
+
contents.environments = de_EnvironmentSummaryList(data.environments, context);
|
|
2045
2039
|
}
|
|
2046
2040
|
if (data.nextToken != null) {
|
|
2047
2041
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2048
2042
|
}
|
|
2049
2043
|
return contents;
|
|
2050
2044
|
};
|
|
2051
|
-
exports.
|
|
2052
|
-
const
|
|
2045
|
+
exports.de_ListEnvironmentsCommand = de_ListEnvironmentsCommand;
|
|
2046
|
+
const de_ListEnvironmentsCommandError = async (output, context) => {
|
|
2053
2047
|
const parsedOutput = {
|
|
2054
2048
|
...output,
|
|
2055
2049
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2058,16 +2052,16 @@ const deserializeAws_restJson1ListEnvironmentsCommandError = async (output, cont
|
|
|
2058
2052
|
switch (errorCode) {
|
|
2059
2053
|
case "AccessDeniedException":
|
|
2060
2054
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
2061
|
-
throw await
|
|
2055
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2062
2056
|
case "InternalServerException":
|
|
2063
2057
|
case "com.amazonaws.m2#InternalServerException":
|
|
2064
|
-
throw await
|
|
2058
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2065
2059
|
case "ThrottlingException":
|
|
2066
2060
|
case "com.amazonaws.m2#ThrottlingException":
|
|
2067
|
-
throw await
|
|
2061
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2068
2062
|
case "ValidationException":
|
|
2069
2063
|
case "com.amazonaws.m2#ValidationException":
|
|
2070
|
-
throw await
|
|
2064
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2071
2065
|
default:
|
|
2072
2066
|
const parsedBody = parsedOutput.body;
|
|
2073
2067
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2078,21 +2072,21 @@ const deserializeAws_restJson1ListEnvironmentsCommandError = async (output, cont
|
|
|
2078
2072
|
});
|
|
2079
2073
|
}
|
|
2080
2074
|
};
|
|
2081
|
-
const
|
|
2075
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
2082
2076
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2083
|
-
return
|
|
2077
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
2084
2078
|
}
|
|
2085
2079
|
const contents = map({
|
|
2086
2080
|
$metadata: deserializeMetadata(output),
|
|
2087
2081
|
});
|
|
2088
2082
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2089
2083
|
if (data.tags != null) {
|
|
2090
|
-
contents.tags =
|
|
2084
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
2091
2085
|
}
|
|
2092
2086
|
return contents;
|
|
2093
2087
|
};
|
|
2094
|
-
exports.
|
|
2095
|
-
const
|
|
2088
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
2089
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
2096
2090
|
const parsedOutput = {
|
|
2097
2091
|
...output,
|
|
2098
2092
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2101,19 +2095,19 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2101
2095
|
switch (errorCode) {
|
|
2102
2096
|
case "AccessDeniedException":
|
|
2103
2097
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
2104
|
-
throw await
|
|
2098
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2105
2099
|
case "InternalServerException":
|
|
2106
2100
|
case "com.amazonaws.m2#InternalServerException":
|
|
2107
|
-
throw await
|
|
2101
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2108
2102
|
case "ResourceNotFoundException":
|
|
2109
2103
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2110
|
-
throw await
|
|
2104
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2111
2105
|
case "ThrottlingException":
|
|
2112
2106
|
case "com.amazonaws.m2#ThrottlingException":
|
|
2113
|
-
throw await
|
|
2107
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2114
2108
|
case "ValidationException":
|
|
2115
2109
|
case "com.amazonaws.m2#ValidationException":
|
|
2116
|
-
throw await
|
|
2110
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2117
2111
|
default:
|
|
2118
2112
|
const parsedBody = parsedOutput.body;
|
|
2119
2113
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2124,9 +2118,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2124
2118
|
});
|
|
2125
2119
|
}
|
|
2126
2120
|
};
|
|
2127
|
-
const
|
|
2121
|
+
const de_StartApplicationCommand = async (output, context) => {
|
|
2128
2122
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2129
|
-
return
|
|
2123
|
+
return de_StartApplicationCommandError(output, context);
|
|
2130
2124
|
}
|
|
2131
2125
|
const contents = map({
|
|
2132
2126
|
$metadata: deserializeMetadata(output),
|
|
@@ -2134,8 +2128,8 @@ const deserializeAws_restJson1StartApplicationCommand = async (output, context)
|
|
|
2134
2128
|
await collectBody(output.body, context);
|
|
2135
2129
|
return contents;
|
|
2136
2130
|
};
|
|
2137
|
-
exports.
|
|
2138
|
-
const
|
|
2131
|
+
exports.de_StartApplicationCommand = de_StartApplicationCommand;
|
|
2132
|
+
const de_StartApplicationCommandError = async (output, context) => {
|
|
2139
2133
|
const parsedOutput = {
|
|
2140
2134
|
...output,
|
|
2141
2135
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2144,22 +2138,22 @@ const deserializeAws_restJson1StartApplicationCommandError = async (output, cont
|
|
|
2144
2138
|
switch (errorCode) {
|
|
2145
2139
|
case "AccessDeniedException":
|
|
2146
2140
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
2147
|
-
throw await
|
|
2141
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2148
2142
|
case "ConflictException":
|
|
2149
2143
|
case "com.amazonaws.m2#ConflictException":
|
|
2150
|
-
throw await
|
|
2144
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2151
2145
|
case "InternalServerException":
|
|
2152
2146
|
case "com.amazonaws.m2#InternalServerException":
|
|
2153
|
-
throw await
|
|
2147
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2154
2148
|
case "ResourceNotFoundException":
|
|
2155
2149
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2156
|
-
throw await
|
|
2150
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2157
2151
|
case "ThrottlingException":
|
|
2158
2152
|
case "com.amazonaws.m2#ThrottlingException":
|
|
2159
|
-
throw await
|
|
2153
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2160
2154
|
case "ValidationException":
|
|
2161
2155
|
case "com.amazonaws.m2#ValidationException":
|
|
2162
|
-
throw await
|
|
2156
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2163
2157
|
default:
|
|
2164
2158
|
const parsedBody = parsedOutput.body;
|
|
2165
2159
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2170,9 +2164,9 @@ const deserializeAws_restJson1StartApplicationCommandError = async (output, cont
|
|
|
2170
2164
|
});
|
|
2171
2165
|
}
|
|
2172
2166
|
};
|
|
2173
|
-
const
|
|
2167
|
+
const de_StartBatchJobCommand = async (output, context) => {
|
|
2174
2168
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2175
|
-
return
|
|
2169
|
+
return de_StartBatchJobCommandError(output, context);
|
|
2176
2170
|
}
|
|
2177
2171
|
const contents = map({
|
|
2178
2172
|
$metadata: deserializeMetadata(output),
|
|
@@ -2183,8 +2177,8 @@ const deserializeAws_restJson1StartBatchJobCommand = async (output, context) =>
|
|
|
2183
2177
|
}
|
|
2184
2178
|
return contents;
|
|
2185
2179
|
};
|
|
2186
|
-
exports.
|
|
2187
|
-
const
|
|
2180
|
+
exports.de_StartBatchJobCommand = de_StartBatchJobCommand;
|
|
2181
|
+
const de_StartBatchJobCommandError = async (output, context) => {
|
|
2188
2182
|
const parsedOutput = {
|
|
2189
2183
|
...output,
|
|
2190
2184
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2193,22 +2187,22 @@ const deserializeAws_restJson1StartBatchJobCommandError = async (output, context
|
|
|
2193
2187
|
switch (errorCode) {
|
|
2194
2188
|
case "AccessDeniedException":
|
|
2195
2189
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
2196
|
-
throw await
|
|
2190
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2197
2191
|
case "ConflictException":
|
|
2198
2192
|
case "com.amazonaws.m2#ConflictException":
|
|
2199
|
-
throw await
|
|
2193
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2200
2194
|
case "InternalServerException":
|
|
2201
2195
|
case "com.amazonaws.m2#InternalServerException":
|
|
2202
|
-
throw await
|
|
2196
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2203
2197
|
case "ResourceNotFoundException":
|
|
2204
2198
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2205
|
-
throw await
|
|
2199
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2206
2200
|
case "ThrottlingException":
|
|
2207
2201
|
case "com.amazonaws.m2#ThrottlingException":
|
|
2208
|
-
throw await
|
|
2202
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2209
2203
|
case "ValidationException":
|
|
2210
2204
|
case "com.amazonaws.m2#ValidationException":
|
|
2211
|
-
throw await
|
|
2205
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2212
2206
|
default:
|
|
2213
2207
|
const parsedBody = parsedOutput.body;
|
|
2214
2208
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2219,9 +2213,9 @@ const deserializeAws_restJson1StartBatchJobCommandError = async (output, context
|
|
|
2219
2213
|
});
|
|
2220
2214
|
}
|
|
2221
2215
|
};
|
|
2222
|
-
const
|
|
2216
|
+
const de_StopApplicationCommand = async (output, context) => {
|
|
2223
2217
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2224
|
-
return
|
|
2218
|
+
return de_StopApplicationCommandError(output, context);
|
|
2225
2219
|
}
|
|
2226
2220
|
const contents = map({
|
|
2227
2221
|
$metadata: deserializeMetadata(output),
|
|
@@ -2229,8 +2223,8 @@ const deserializeAws_restJson1StopApplicationCommand = async (output, context) =
|
|
|
2229
2223
|
await collectBody(output.body, context);
|
|
2230
2224
|
return contents;
|
|
2231
2225
|
};
|
|
2232
|
-
exports.
|
|
2233
|
-
const
|
|
2226
|
+
exports.de_StopApplicationCommand = de_StopApplicationCommand;
|
|
2227
|
+
const de_StopApplicationCommandError = async (output, context) => {
|
|
2234
2228
|
const parsedOutput = {
|
|
2235
2229
|
...output,
|
|
2236
2230
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2239,22 +2233,22 @@ const deserializeAws_restJson1StopApplicationCommandError = async (output, conte
|
|
|
2239
2233
|
switch (errorCode) {
|
|
2240
2234
|
case "AccessDeniedException":
|
|
2241
2235
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
2242
|
-
throw await
|
|
2236
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2243
2237
|
case "ConflictException":
|
|
2244
2238
|
case "com.amazonaws.m2#ConflictException":
|
|
2245
|
-
throw await
|
|
2239
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2246
2240
|
case "InternalServerException":
|
|
2247
2241
|
case "com.amazonaws.m2#InternalServerException":
|
|
2248
|
-
throw await
|
|
2242
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2249
2243
|
case "ResourceNotFoundException":
|
|
2250
2244
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2251
|
-
throw await
|
|
2245
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2252
2246
|
case "ThrottlingException":
|
|
2253
2247
|
case "com.amazonaws.m2#ThrottlingException":
|
|
2254
|
-
throw await
|
|
2248
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2255
2249
|
case "ValidationException":
|
|
2256
2250
|
case "com.amazonaws.m2#ValidationException":
|
|
2257
|
-
throw await
|
|
2251
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2258
2252
|
default:
|
|
2259
2253
|
const parsedBody = parsedOutput.body;
|
|
2260
2254
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2265,9 +2259,9 @@ const deserializeAws_restJson1StopApplicationCommandError = async (output, conte
|
|
|
2265
2259
|
});
|
|
2266
2260
|
}
|
|
2267
2261
|
};
|
|
2268
|
-
const
|
|
2262
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
2269
2263
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2270
|
-
return
|
|
2264
|
+
return de_TagResourceCommandError(output, context);
|
|
2271
2265
|
}
|
|
2272
2266
|
const contents = map({
|
|
2273
2267
|
$metadata: deserializeMetadata(output),
|
|
@@ -2275,8 +2269,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
|
2275
2269
|
await collectBody(output.body, context);
|
|
2276
2270
|
return contents;
|
|
2277
2271
|
};
|
|
2278
|
-
exports.
|
|
2279
|
-
const
|
|
2272
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
2273
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
2280
2274
|
const parsedOutput = {
|
|
2281
2275
|
...output,
|
|
2282
2276
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2285,22 +2279,22 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2285
2279
|
switch (errorCode) {
|
|
2286
2280
|
case "AccessDeniedException":
|
|
2287
2281
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
2288
|
-
throw await
|
|
2282
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2289
2283
|
case "InternalServerException":
|
|
2290
2284
|
case "com.amazonaws.m2#InternalServerException":
|
|
2291
|
-
throw await
|
|
2285
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2292
2286
|
case "ResourceNotFoundException":
|
|
2293
2287
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2294
|
-
throw await
|
|
2288
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2295
2289
|
case "ServiceQuotaExceededException":
|
|
2296
2290
|
case "com.amazonaws.m2#ServiceQuotaExceededException":
|
|
2297
|
-
throw await
|
|
2291
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2298
2292
|
case "ThrottlingException":
|
|
2299
2293
|
case "com.amazonaws.m2#ThrottlingException":
|
|
2300
|
-
throw await
|
|
2294
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2301
2295
|
case "ValidationException":
|
|
2302
2296
|
case "com.amazonaws.m2#ValidationException":
|
|
2303
|
-
throw await
|
|
2297
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2304
2298
|
default:
|
|
2305
2299
|
const parsedBody = parsedOutput.body;
|
|
2306
2300
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2311,9 +2305,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2311
2305
|
});
|
|
2312
2306
|
}
|
|
2313
2307
|
};
|
|
2314
|
-
const
|
|
2308
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
2315
2309
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2316
|
-
return
|
|
2310
|
+
return de_UntagResourceCommandError(output, context);
|
|
2317
2311
|
}
|
|
2318
2312
|
const contents = map({
|
|
2319
2313
|
$metadata: deserializeMetadata(output),
|
|
@@ -2321,8 +2315,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
|
|
|
2321
2315
|
await collectBody(output.body, context);
|
|
2322
2316
|
return contents;
|
|
2323
2317
|
};
|
|
2324
|
-
exports.
|
|
2325
|
-
const
|
|
2318
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
2319
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
2326
2320
|
const parsedOutput = {
|
|
2327
2321
|
...output,
|
|
2328
2322
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2331,19 +2325,19 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2331
2325
|
switch (errorCode) {
|
|
2332
2326
|
case "AccessDeniedException":
|
|
2333
2327
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
2334
|
-
throw await
|
|
2328
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2335
2329
|
case "InternalServerException":
|
|
2336
2330
|
case "com.amazonaws.m2#InternalServerException":
|
|
2337
|
-
throw await
|
|
2331
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2338
2332
|
case "ResourceNotFoundException":
|
|
2339
2333
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2340
|
-
throw await
|
|
2334
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2341
2335
|
case "ThrottlingException":
|
|
2342
2336
|
case "com.amazonaws.m2#ThrottlingException":
|
|
2343
|
-
throw await
|
|
2337
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2344
2338
|
case "ValidationException":
|
|
2345
2339
|
case "com.amazonaws.m2#ValidationException":
|
|
2346
|
-
throw await
|
|
2340
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2347
2341
|
default:
|
|
2348
2342
|
const parsedBody = parsedOutput.body;
|
|
2349
2343
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2354,9 +2348,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2354
2348
|
});
|
|
2355
2349
|
}
|
|
2356
2350
|
};
|
|
2357
|
-
const
|
|
2351
|
+
const de_UpdateApplicationCommand = async (output, context) => {
|
|
2358
2352
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2359
|
-
return
|
|
2353
|
+
return de_UpdateApplicationCommandError(output, context);
|
|
2360
2354
|
}
|
|
2361
2355
|
const contents = map({
|
|
2362
2356
|
$metadata: deserializeMetadata(output),
|
|
@@ -2367,8 +2361,8 @@ const deserializeAws_restJson1UpdateApplicationCommand = async (output, context)
|
|
|
2367
2361
|
}
|
|
2368
2362
|
return contents;
|
|
2369
2363
|
};
|
|
2370
|
-
exports.
|
|
2371
|
-
const
|
|
2364
|
+
exports.de_UpdateApplicationCommand = de_UpdateApplicationCommand;
|
|
2365
|
+
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
2372
2366
|
const parsedOutput = {
|
|
2373
2367
|
...output,
|
|
2374
2368
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2377,22 +2371,22 @@ const deserializeAws_restJson1UpdateApplicationCommandError = async (output, con
|
|
|
2377
2371
|
switch (errorCode) {
|
|
2378
2372
|
case "AccessDeniedException":
|
|
2379
2373
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
2380
|
-
throw await
|
|
2374
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2381
2375
|
case "ConflictException":
|
|
2382
2376
|
case "com.amazonaws.m2#ConflictException":
|
|
2383
|
-
throw await
|
|
2377
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2384
2378
|
case "InternalServerException":
|
|
2385
2379
|
case "com.amazonaws.m2#InternalServerException":
|
|
2386
|
-
throw await
|
|
2380
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2387
2381
|
case "ResourceNotFoundException":
|
|
2388
2382
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2389
|
-
throw await
|
|
2383
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2390
2384
|
case "ThrottlingException":
|
|
2391
2385
|
case "com.amazonaws.m2#ThrottlingException":
|
|
2392
|
-
throw await
|
|
2386
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2393
2387
|
case "ValidationException":
|
|
2394
2388
|
case "com.amazonaws.m2#ValidationException":
|
|
2395
|
-
throw await
|
|
2389
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2396
2390
|
default:
|
|
2397
2391
|
const parsedBody = parsedOutput.body;
|
|
2398
2392
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2403,9 +2397,9 @@ const deserializeAws_restJson1UpdateApplicationCommandError = async (output, con
|
|
|
2403
2397
|
});
|
|
2404
2398
|
}
|
|
2405
2399
|
};
|
|
2406
|
-
const
|
|
2400
|
+
const de_UpdateEnvironmentCommand = async (output, context) => {
|
|
2407
2401
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2408
|
-
return
|
|
2402
|
+
return de_UpdateEnvironmentCommandError(output, context);
|
|
2409
2403
|
}
|
|
2410
2404
|
const contents = map({
|
|
2411
2405
|
$metadata: deserializeMetadata(output),
|
|
@@ -2416,8 +2410,8 @@ const deserializeAws_restJson1UpdateEnvironmentCommand = async (output, context)
|
|
|
2416
2410
|
}
|
|
2417
2411
|
return contents;
|
|
2418
2412
|
};
|
|
2419
|
-
exports.
|
|
2420
|
-
const
|
|
2413
|
+
exports.de_UpdateEnvironmentCommand = de_UpdateEnvironmentCommand;
|
|
2414
|
+
const de_UpdateEnvironmentCommandError = async (output, context) => {
|
|
2421
2415
|
const parsedOutput = {
|
|
2422
2416
|
...output,
|
|
2423
2417
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2426,25 +2420,25 @@ const deserializeAws_restJson1UpdateEnvironmentCommandError = async (output, con
|
|
|
2426
2420
|
switch (errorCode) {
|
|
2427
2421
|
case "AccessDeniedException":
|
|
2428
2422
|
case "com.amazonaws.m2#AccessDeniedException":
|
|
2429
|
-
throw await
|
|
2423
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2430
2424
|
case "ConflictException":
|
|
2431
2425
|
case "com.amazonaws.m2#ConflictException":
|
|
2432
|
-
throw await
|
|
2426
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2433
2427
|
case "InternalServerException":
|
|
2434
2428
|
case "com.amazonaws.m2#InternalServerException":
|
|
2435
|
-
throw await
|
|
2429
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2436
2430
|
case "ResourceNotFoundException":
|
|
2437
2431
|
case "com.amazonaws.m2#ResourceNotFoundException":
|
|
2438
|
-
throw await
|
|
2432
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2439
2433
|
case "ServiceQuotaExceededException":
|
|
2440
2434
|
case "com.amazonaws.m2#ServiceQuotaExceededException":
|
|
2441
|
-
throw await
|
|
2435
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2442
2436
|
case "ThrottlingException":
|
|
2443
2437
|
case "com.amazonaws.m2#ThrottlingException":
|
|
2444
|
-
throw await
|
|
2438
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2445
2439
|
case "ValidationException":
|
|
2446
2440
|
case "com.amazonaws.m2#ValidationException":
|
|
2447
|
-
throw await
|
|
2441
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2448
2442
|
default:
|
|
2449
2443
|
const parsedBody = parsedOutput.body;
|
|
2450
2444
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2456,7 +2450,7 @@ const deserializeAws_restJson1UpdateEnvironmentCommandError = async (output, con
|
|
|
2456
2450
|
}
|
|
2457
2451
|
};
|
|
2458
2452
|
const map = smithy_client_1.map;
|
|
2459
|
-
const
|
|
2453
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2460
2454
|
const contents = map({});
|
|
2461
2455
|
const data = parsedOutput.body;
|
|
2462
2456
|
if (data.message != null) {
|
|
@@ -2468,7 +2462,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
|
|
|
2468
2462
|
});
|
|
2469
2463
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2470
2464
|
};
|
|
2471
|
-
const
|
|
2465
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2472
2466
|
const contents = map({});
|
|
2473
2467
|
const data = parsedOutput.body;
|
|
2474
2468
|
if (data.message != null) {
|
|
@@ -2486,7 +2480,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
2486
2480
|
});
|
|
2487
2481
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2488
2482
|
};
|
|
2489
|
-
const
|
|
2483
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2490
2484
|
const contents = map({
|
|
2491
2485
|
retryAfterSeconds: [
|
|
2492
2486
|
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
@@ -2503,7 +2497,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
2503
2497
|
});
|
|
2504
2498
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2505
2499
|
};
|
|
2506
|
-
const
|
|
2500
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2507
2501
|
const contents = map({});
|
|
2508
2502
|
const data = parsedOutput.body;
|
|
2509
2503
|
if (data.message != null) {
|
|
@@ -2521,7 +2515,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
2521
2515
|
});
|
|
2522
2516
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2523
2517
|
};
|
|
2524
|
-
const
|
|
2518
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
2525
2519
|
const contents = map({});
|
|
2526
2520
|
const data = parsedOutput.body;
|
|
2527
2521
|
if (data.message != null) {
|
|
@@ -2545,7 +2539,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
2545
2539
|
});
|
|
2546
2540
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2547
2541
|
};
|
|
2548
|
-
const
|
|
2542
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2549
2543
|
const contents = map({
|
|
2550
2544
|
retryAfterSeconds: [
|
|
2551
2545
|
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
@@ -2568,11 +2562,11 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
2568
2562
|
});
|
|
2569
2563
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2570
2564
|
};
|
|
2571
|
-
const
|
|
2565
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2572
2566
|
const contents = map({});
|
|
2573
2567
|
const data = parsedOutput.body;
|
|
2574
2568
|
if (data.fieldList != null) {
|
|
2575
|
-
contents.fieldList =
|
|
2569
|
+
contents.fieldList = de_ValidationExceptionFieldList(data.fieldList, context);
|
|
2576
2570
|
}
|
|
2577
2571
|
if (data.message != null) {
|
|
2578
2572
|
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
@@ -2586,7 +2580,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
2586
2580
|
});
|
|
2587
2581
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2588
2582
|
};
|
|
2589
|
-
const
|
|
2583
|
+
const se_AlternateKey = (input, context) => {
|
|
2590
2584
|
return {
|
|
2591
2585
|
...(input.allowDuplicates != null && { allowDuplicates: input.allowDuplicates }),
|
|
2592
2586
|
...(input.length != null && { length: input.length }),
|
|
@@ -2594,25 +2588,21 @@ const serializeAws_restJson1AlternateKey = (input, context) => {
|
|
|
2594
2588
|
...(input.offset != null && { offset: input.offset }),
|
|
2595
2589
|
};
|
|
2596
2590
|
};
|
|
2597
|
-
const
|
|
2591
|
+
const se_AlternateKeyList = (input, context) => {
|
|
2598
2592
|
return input
|
|
2599
2593
|
.filter((e) => e != null)
|
|
2600
2594
|
.map((entry) => {
|
|
2601
|
-
return
|
|
2595
|
+
return se_AlternateKey(entry, context);
|
|
2602
2596
|
});
|
|
2603
2597
|
};
|
|
2604
|
-
const
|
|
2598
|
+
const se_BatchJobIdentifier = (input, context) => {
|
|
2605
2599
|
return models_0_1.BatchJobIdentifier.visit(input, {
|
|
2606
|
-
fileBatchJobIdentifier: (value) => ({
|
|
2607
|
-
|
|
2608
|
-
}),
|
|
2609
|
-
scriptBatchJobIdentifier: (value) => ({
|
|
2610
|
-
scriptBatchJobIdentifier: serializeAws_restJson1ScriptBatchJobIdentifier(value, context),
|
|
2611
|
-
}),
|
|
2600
|
+
fileBatchJobIdentifier: (value) => ({ fileBatchJobIdentifier: se_FileBatchJobIdentifier(value, context) }),
|
|
2601
|
+
scriptBatchJobIdentifier: (value) => ({ scriptBatchJobIdentifier: se_ScriptBatchJobIdentifier(value, context) }),
|
|
2612
2602
|
_: (name, value) => ({ name: value }),
|
|
2613
2603
|
});
|
|
2614
2604
|
};
|
|
2615
|
-
const
|
|
2605
|
+
const se_BatchJobParametersMap = (input, context) => {
|
|
2616
2606
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2617
2607
|
if (value === null) {
|
|
2618
2608
|
return acc;
|
|
@@ -2621,130 +2611,124 @@ const serializeAws_restJson1BatchJobParametersMap = (input, context) => {
|
|
|
2621
2611
|
return acc;
|
|
2622
2612
|
}, {});
|
|
2623
2613
|
};
|
|
2624
|
-
const
|
|
2614
|
+
const se_DataSet = (input, context) => {
|
|
2625
2615
|
return {
|
|
2626
2616
|
...(input.datasetName != null && { datasetName: input.datasetName }),
|
|
2627
|
-
...(input.datasetOrg != null && {
|
|
2628
|
-
|
|
2629
|
-
}),
|
|
2630
|
-
...(input.recordLength != null && {
|
|
2631
|
-
recordLength: serializeAws_restJson1RecordLength(input.recordLength, context),
|
|
2632
|
-
}),
|
|
2617
|
+
...(input.datasetOrg != null && { datasetOrg: se_DatasetOrgAttributes(input.datasetOrg, context) }),
|
|
2618
|
+
...(input.recordLength != null && { recordLength: se_RecordLength(input.recordLength, context) }),
|
|
2633
2619
|
...(input.relativePath != null && { relativePath: input.relativePath }),
|
|
2634
2620
|
...(input.storageType != null && { storageType: input.storageType }),
|
|
2635
2621
|
};
|
|
2636
2622
|
};
|
|
2637
|
-
const
|
|
2623
|
+
const se_DataSetImportConfig = (input, context) => {
|
|
2638
2624
|
return models_0_1.DataSetImportConfig.visit(input, {
|
|
2639
|
-
dataSets: (value) => ({ dataSets:
|
|
2625
|
+
dataSets: (value) => ({ dataSets: se_DataSetImportList(value, context) }),
|
|
2640
2626
|
s3Location: (value) => ({ s3Location: value }),
|
|
2641
2627
|
_: (name, value) => ({ name: value }),
|
|
2642
2628
|
});
|
|
2643
2629
|
};
|
|
2644
|
-
const
|
|
2630
|
+
const se_DataSetImportItem = (input, context) => {
|
|
2645
2631
|
return {
|
|
2646
|
-
...(input.dataSet != null && { dataSet:
|
|
2647
|
-
...(input.externalLocation != null && {
|
|
2648
|
-
externalLocation: serializeAws_restJson1ExternalLocation(input.externalLocation, context),
|
|
2649
|
-
}),
|
|
2632
|
+
...(input.dataSet != null && { dataSet: se_DataSet(input.dataSet, context) }),
|
|
2633
|
+
...(input.externalLocation != null && { externalLocation: se_ExternalLocation(input.externalLocation, context) }),
|
|
2650
2634
|
};
|
|
2651
2635
|
};
|
|
2652
|
-
const
|
|
2636
|
+
const se_DataSetImportList = (input, context) => {
|
|
2653
2637
|
return input
|
|
2654
2638
|
.filter((e) => e != null)
|
|
2655
2639
|
.map((entry) => {
|
|
2656
|
-
return
|
|
2640
|
+
return se_DataSetImportItem(entry, context);
|
|
2657
2641
|
});
|
|
2658
2642
|
};
|
|
2659
|
-
const
|
|
2643
|
+
const se_DatasetOrgAttributes = (input, context) => {
|
|
2660
2644
|
return models_0_1.DatasetOrgAttributes.visit(input, {
|
|
2661
|
-
gdg: (value) => ({ gdg:
|
|
2662
|
-
vsam: (value) => ({ vsam:
|
|
2645
|
+
gdg: (value) => ({ gdg: se_GdgAttributes(value, context) }),
|
|
2646
|
+
vsam: (value) => ({ vsam: se_VsamAttributes(value, context) }),
|
|
2663
2647
|
_: (name, value) => ({ name: value }),
|
|
2664
2648
|
});
|
|
2665
2649
|
};
|
|
2666
|
-
const
|
|
2650
|
+
const se_Definition = (input, context) => {
|
|
2667
2651
|
return models_0_1.Definition.visit(input, {
|
|
2668
2652
|
content: (value) => ({ content: value }),
|
|
2669
2653
|
s3Location: (value) => ({ s3Location: value }),
|
|
2670
2654
|
_: (name, value) => ({ name: value }),
|
|
2671
2655
|
});
|
|
2672
2656
|
};
|
|
2673
|
-
const
|
|
2657
|
+
const se_EfsStorageConfiguration = (input, context) => {
|
|
2674
2658
|
return {
|
|
2675
2659
|
...(input.fileSystemId != null && { "file-system-id": input.fileSystemId }),
|
|
2676
2660
|
...(input.mountPoint != null && { "mount-point": input.mountPoint }),
|
|
2677
2661
|
};
|
|
2678
2662
|
};
|
|
2679
|
-
const
|
|
2663
|
+
const se_ExternalLocation = (input, context) => {
|
|
2680
2664
|
return models_0_1.ExternalLocation.visit(input, {
|
|
2681
2665
|
s3Location: (value) => ({ s3Location: value }),
|
|
2682
2666
|
_: (name, value) => ({ name: value }),
|
|
2683
2667
|
});
|
|
2684
2668
|
};
|
|
2685
|
-
const
|
|
2669
|
+
const se_FileBatchJobIdentifier = (input, context) => {
|
|
2686
2670
|
return {
|
|
2687
2671
|
...(input.fileName != null && { fileName: input.fileName }),
|
|
2688
2672
|
...(input.folderPath != null && { folderPath: input.folderPath }),
|
|
2689
2673
|
};
|
|
2690
2674
|
};
|
|
2691
|
-
const
|
|
2675
|
+
const se_FsxStorageConfiguration = (input, context) => {
|
|
2692
2676
|
return {
|
|
2693
2677
|
...(input.fileSystemId != null && { "file-system-id": input.fileSystemId }),
|
|
2694
2678
|
...(input.mountPoint != null && { "mount-point": input.mountPoint }),
|
|
2695
2679
|
};
|
|
2696
2680
|
};
|
|
2697
|
-
const
|
|
2681
|
+
const se_GdgAttributes = (input, context) => {
|
|
2698
2682
|
return {
|
|
2699
2683
|
...(input.limit != null && { limit: input.limit }),
|
|
2700
2684
|
...(input.rollDisposition != null && { rollDisposition: input.rollDisposition }),
|
|
2701
2685
|
};
|
|
2702
2686
|
};
|
|
2703
|
-
const
|
|
2687
|
+
const se_HighAvailabilityConfig = (input, context) => {
|
|
2704
2688
|
return {
|
|
2705
2689
|
...(input.desiredCapacity != null && { desiredCapacity: input.desiredCapacity }),
|
|
2706
2690
|
};
|
|
2707
2691
|
};
|
|
2708
|
-
const
|
|
2692
|
+
const se_PrimaryKey = (input, context) => {
|
|
2709
2693
|
return {
|
|
2710
2694
|
...(input.length != null && { length: input.length }),
|
|
2711
2695
|
...(input.name != null && { name: input.name }),
|
|
2712
2696
|
...(input.offset != null && { offset: input.offset }),
|
|
2713
2697
|
};
|
|
2714
2698
|
};
|
|
2715
|
-
const
|
|
2699
|
+
const se_RecordLength = (input, context) => {
|
|
2716
2700
|
return {
|
|
2717
2701
|
...(input.max != null && { max: input.max }),
|
|
2718
2702
|
...(input.min != null && { min: input.min }),
|
|
2719
2703
|
};
|
|
2720
2704
|
};
|
|
2721
|
-
const
|
|
2705
|
+
const se_ScriptBatchJobIdentifier = (input, context) => {
|
|
2722
2706
|
return {
|
|
2723
2707
|
...(input.scriptName != null && { scriptName: input.scriptName }),
|
|
2724
2708
|
};
|
|
2725
2709
|
};
|
|
2726
|
-
const
|
|
2710
|
+
const se_StorageConfiguration = (input, context) => {
|
|
2727
2711
|
return models_0_1.StorageConfiguration.visit(input, {
|
|
2728
|
-
efs: (value) => ({ efs:
|
|
2729
|
-
fsx: (value) => ({ fsx:
|
|
2712
|
+
efs: (value) => ({ efs: se_EfsStorageConfiguration(value, context) }),
|
|
2713
|
+
fsx: (value) => ({ fsx: se_FsxStorageConfiguration(value, context) }),
|
|
2730
2714
|
_: (name, value) => ({ name: value }),
|
|
2731
2715
|
});
|
|
2732
2716
|
};
|
|
2733
|
-
const
|
|
2717
|
+
const se_StorageConfigurationList = (input, context) => {
|
|
2734
2718
|
return input
|
|
2735
2719
|
.filter((e) => e != null)
|
|
2736
2720
|
.map((entry) => {
|
|
2737
|
-
return
|
|
2721
|
+
return se_StorageConfiguration(entry, context);
|
|
2738
2722
|
});
|
|
2739
2723
|
};
|
|
2740
|
-
const
|
|
2724
|
+
const se_String50List = (input, context) => {
|
|
2741
2725
|
return input
|
|
2742
2726
|
.filter((e) => e != null)
|
|
2743
2727
|
.map((entry) => {
|
|
2744
2728
|
return entry;
|
|
2745
2729
|
});
|
|
2746
2730
|
};
|
|
2747
|
-
const
|
|
2731
|
+
const se_TagMap = (input, context) => {
|
|
2748
2732
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2749
2733
|
if (value === null) {
|
|
2750
2734
|
return acc;
|
|
@@ -2753,18 +2737,16 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
2753
2737
|
return acc;
|
|
2754
2738
|
}, {});
|
|
2755
2739
|
};
|
|
2756
|
-
const
|
|
2740
|
+
const se_VsamAttributes = (input, context) => {
|
|
2757
2741
|
return {
|
|
2758
|
-
...(input.alternateKeys != null && {
|
|
2759
|
-
alternateKeys: serializeAws_restJson1AlternateKeyList(input.alternateKeys, context),
|
|
2760
|
-
}),
|
|
2742
|
+
...(input.alternateKeys != null && { alternateKeys: se_AlternateKeyList(input.alternateKeys, context) }),
|
|
2761
2743
|
...(input.compressed != null && { compressed: input.compressed }),
|
|
2762
2744
|
...(input.encoding != null && { encoding: input.encoding }),
|
|
2763
2745
|
...(input.format != null && { format: input.format }),
|
|
2764
|
-
...(input.primaryKey != null && { primaryKey:
|
|
2746
|
+
...(input.primaryKey != null && { primaryKey: se_PrimaryKey(input.primaryKey, context) }),
|
|
2765
2747
|
};
|
|
2766
2748
|
};
|
|
2767
|
-
const
|
|
2749
|
+
const de_AlternateKey = (output, context) => {
|
|
2768
2750
|
return {
|
|
2769
2751
|
allowDuplicates: (0, smithy_client_1.expectBoolean)(output.allowDuplicates),
|
|
2770
2752
|
length: (0, smithy_client_1.expectInt32)(output.length),
|
|
@@ -2772,18 +2754,18 @@ const deserializeAws_restJson1AlternateKey = (output, context) => {
|
|
|
2772
2754
|
offset: (0, smithy_client_1.expectInt32)(output.offset),
|
|
2773
2755
|
};
|
|
2774
2756
|
};
|
|
2775
|
-
const
|
|
2757
|
+
const de_AlternateKeyList = (output, context) => {
|
|
2776
2758
|
const retVal = (output || [])
|
|
2777
2759
|
.filter((e) => e != null)
|
|
2778
2760
|
.map((entry) => {
|
|
2779
2761
|
if (entry === null) {
|
|
2780
2762
|
return null;
|
|
2781
2763
|
}
|
|
2782
|
-
return
|
|
2764
|
+
return de_AlternateKey(entry, context);
|
|
2783
2765
|
});
|
|
2784
2766
|
return retVal;
|
|
2785
2767
|
};
|
|
2786
|
-
const
|
|
2768
|
+
const de_ApplicationSummary = (output, context) => {
|
|
2787
2769
|
return {
|
|
2788
2770
|
applicationArn: (0, smithy_client_1.expectString)(output.applicationArn),
|
|
2789
2771
|
applicationId: (0, smithy_client_1.expectString)(output.applicationId),
|
|
@@ -2803,18 +2785,18 @@ const deserializeAws_restJson1ApplicationSummary = (output, context) => {
|
|
|
2803
2785
|
versionStatus: (0, smithy_client_1.expectString)(output.versionStatus),
|
|
2804
2786
|
};
|
|
2805
2787
|
};
|
|
2806
|
-
const
|
|
2788
|
+
const de_ApplicationSummaryList = (output, context) => {
|
|
2807
2789
|
const retVal = (output || [])
|
|
2808
2790
|
.filter((e) => e != null)
|
|
2809
2791
|
.map((entry) => {
|
|
2810
2792
|
if (entry === null) {
|
|
2811
2793
|
return null;
|
|
2812
2794
|
}
|
|
2813
|
-
return
|
|
2795
|
+
return de_ApplicationSummary(entry, context);
|
|
2814
2796
|
});
|
|
2815
2797
|
return retVal;
|
|
2816
2798
|
};
|
|
2817
|
-
const
|
|
2799
|
+
const de_ApplicationVersionSummary = (output, context) => {
|
|
2818
2800
|
return {
|
|
2819
2801
|
applicationVersion: (0, smithy_client_1.expectInt32)(output.applicationVersion),
|
|
2820
2802
|
creationTime: output.creationTime != null
|
|
@@ -2824,18 +2806,18 @@ const deserializeAws_restJson1ApplicationVersionSummary = (output, context) => {
|
|
|
2824
2806
|
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
2825
2807
|
};
|
|
2826
2808
|
};
|
|
2827
|
-
const
|
|
2809
|
+
const de_ApplicationVersionSummaryList = (output, context) => {
|
|
2828
2810
|
const retVal = (output || [])
|
|
2829
2811
|
.filter((e) => e != null)
|
|
2830
2812
|
.map((entry) => {
|
|
2831
2813
|
if (entry === null) {
|
|
2832
2814
|
return null;
|
|
2833
2815
|
}
|
|
2834
|
-
return
|
|
2816
|
+
return de_ApplicationVersionSummary(entry, context);
|
|
2835
2817
|
});
|
|
2836
2818
|
return retVal;
|
|
2837
2819
|
};
|
|
2838
|
-
const
|
|
2820
|
+
const de_ArnList = (output, context) => {
|
|
2839
2821
|
const retVal = (output || [])
|
|
2840
2822
|
.filter((e) => e != null)
|
|
2841
2823
|
.map((entry) => {
|
|
@@ -2846,35 +2828,35 @@ const deserializeAws_restJson1ArnList = (output, context) => {
|
|
|
2846
2828
|
});
|
|
2847
2829
|
return retVal;
|
|
2848
2830
|
};
|
|
2849
|
-
const
|
|
2831
|
+
const de_BatchJobDefinition = (output, context) => {
|
|
2850
2832
|
if (output.fileBatchJobDefinition != null) {
|
|
2851
2833
|
return {
|
|
2852
|
-
fileBatchJobDefinition:
|
|
2834
|
+
fileBatchJobDefinition: de_FileBatchJobDefinition(output.fileBatchJobDefinition, context),
|
|
2853
2835
|
};
|
|
2854
2836
|
}
|
|
2855
2837
|
if (output.scriptBatchJobDefinition != null) {
|
|
2856
2838
|
return {
|
|
2857
|
-
scriptBatchJobDefinition:
|
|
2839
|
+
scriptBatchJobDefinition: de_ScriptBatchJobDefinition(output.scriptBatchJobDefinition, context),
|
|
2858
2840
|
};
|
|
2859
2841
|
}
|
|
2860
2842
|
return { $unknown: Object.entries(output)[0] };
|
|
2861
2843
|
};
|
|
2862
|
-
const
|
|
2844
|
+
const de_BatchJobDefinitions = (output, context) => {
|
|
2863
2845
|
const retVal = (output || [])
|
|
2864
2846
|
.filter((e) => e != null)
|
|
2865
2847
|
.map((entry) => {
|
|
2866
2848
|
if (entry === null) {
|
|
2867
2849
|
return null;
|
|
2868
2850
|
}
|
|
2869
|
-
return
|
|
2851
|
+
return de_BatchJobDefinition((0, smithy_client_1.expectUnion)(entry), context);
|
|
2870
2852
|
});
|
|
2871
2853
|
return retVal;
|
|
2872
2854
|
};
|
|
2873
|
-
const
|
|
2855
|
+
const de_BatchJobExecutionSummary = (output, context) => {
|
|
2874
2856
|
return {
|
|
2875
2857
|
applicationId: (0, smithy_client_1.expectString)(output.applicationId),
|
|
2876
2858
|
batchJobIdentifier: output.batchJobIdentifier != null
|
|
2877
|
-
?
|
|
2859
|
+
? de_BatchJobIdentifier((0, smithy_client_1.expectUnion)(output.batchJobIdentifier), context)
|
|
2878
2860
|
: undefined,
|
|
2879
2861
|
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
2880
2862
|
executionId: (0, smithy_client_1.expectString)(output.executionId),
|
|
@@ -2886,44 +2868,44 @@ const deserializeAws_restJson1BatchJobExecutionSummary = (output, context) => {
|
|
|
2886
2868
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
2887
2869
|
};
|
|
2888
2870
|
};
|
|
2889
|
-
const
|
|
2871
|
+
const de_BatchJobExecutionSummaryList = (output, context) => {
|
|
2890
2872
|
const retVal = (output || [])
|
|
2891
2873
|
.filter((e) => e != null)
|
|
2892
2874
|
.map((entry) => {
|
|
2893
2875
|
if (entry === null) {
|
|
2894
2876
|
return null;
|
|
2895
2877
|
}
|
|
2896
|
-
return
|
|
2878
|
+
return de_BatchJobExecutionSummary(entry, context);
|
|
2897
2879
|
});
|
|
2898
2880
|
return retVal;
|
|
2899
2881
|
};
|
|
2900
|
-
const
|
|
2882
|
+
const de_BatchJobIdentifier = (output, context) => {
|
|
2901
2883
|
if (output.fileBatchJobIdentifier != null) {
|
|
2902
2884
|
return {
|
|
2903
|
-
fileBatchJobIdentifier:
|
|
2885
|
+
fileBatchJobIdentifier: de_FileBatchJobIdentifier(output.fileBatchJobIdentifier, context),
|
|
2904
2886
|
};
|
|
2905
2887
|
}
|
|
2906
2888
|
if (output.scriptBatchJobIdentifier != null) {
|
|
2907
2889
|
return {
|
|
2908
|
-
scriptBatchJobIdentifier:
|
|
2890
|
+
scriptBatchJobIdentifier: de_ScriptBatchJobIdentifier(output.scriptBatchJobIdentifier, context),
|
|
2909
2891
|
};
|
|
2910
2892
|
}
|
|
2911
2893
|
return { $unknown: Object.entries(output)[0] };
|
|
2912
2894
|
};
|
|
2913
|
-
const
|
|
2895
|
+
const de_DatasetDetailOrgAttributes = (output, context) => {
|
|
2914
2896
|
if (output.gdg != null) {
|
|
2915
2897
|
return {
|
|
2916
|
-
gdg:
|
|
2898
|
+
gdg: de_GdgDetailAttributes(output.gdg, context),
|
|
2917
2899
|
};
|
|
2918
2900
|
}
|
|
2919
2901
|
if (output.vsam != null) {
|
|
2920
2902
|
return {
|
|
2921
|
-
vsam:
|
|
2903
|
+
vsam: de_VsamDetailAttributes(output.vsam, context),
|
|
2922
2904
|
};
|
|
2923
2905
|
}
|
|
2924
2906
|
return { $unknown: Object.entries(output)[0] };
|
|
2925
2907
|
};
|
|
2926
|
-
const
|
|
2908
|
+
const de_DataSetImportSummary = (output, context) => {
|
|
2927
2909
|
return {
|
|
2928
2910
|
failed: (0, smithy_client_1.expectInt32)(output.failed),
|
|
2929
2911
|
inProgress: (0, smithy_client_1.expectInt32)(output.inProgress),
|
|
@@ -2932,36 +2914,36 @@ const deserializeAws_restJson1DataSetImportSummary = (output, context) => {
|
|
|
2932
2914
|
total: (0, smithy_client_1.expectInt32)(output.total),
|
|
2933
2915
|
};
|
|
2934
2916
|
};
|
|
2935
|
-
const
|
|
2917
|
+
const de_DataSetImportTask = (output, context) => {
|
|
2936
2918
|
return {
|
|
2937
2919
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
2938
|
-
summary: output.summary != null ?
|
|
2920
|
+
summary: output.summary != null ? de_DataSetImportSummary(output.summary, context) : undefined,
|
|
2939
2921
|
taskId: (0, smithy_client_1.expectString)(output.taskId),
|
|
2940
2922
|
};
|
|
2941
2923
|
};
|
|
2942
|
-
const
|
|
2924
|
+
const de_DataSetImportTaskList = (output, context) => {
|
|
2943
2925
|
const retVal = (output || [])
|
|
2944
2926
|
.filter((e) => e != null)
|
|
2945
2927
|
.map((entry) => {
|
|
2946
2928
|
if (entry === null) {
|
|
2947
2929
|
return null;
|
|
2948
2930
|
}
|
|
2949
|
-
return
|
|
2931
|
+
return de_DataSetImportTask(entry, context);
|
|
2950
2932
|
});
|
|
2951
2933
|
return retVal;
|
|
2952
2934
|
};
|
|
2953
|
-
const
|
|
2935
|
+
const de_DataSetsSummaryList = (output, context) => {
|
|
2954
2936
|
const retVal = (output || [])
|
|
2955
2937
|
.filter((e) => e != null)
|
|
2956
2938
|
.map((entry) => {
|
|
2957
2939
|
if (entry === null) {
|
|
2958
2940
|
return null;
|
|
2959
2941
|
}
|
|
2960
|
-
return
|
|
2942
|
+
return de_DataSetSummary(entry, context);
|
|
2961
2943
|
});
|
|
2962
2944
|
return retVal;
|
|
2963
2945
|
};
|
|
2964
|
-
const
|
|
2946
|
+
const de_DataSetSummary = (output, context) => {
|
|
2965
2947
|
return {
|
|
2966
2948
|
creationTime: output.creationTime != null
|
|
2967
2949
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
@@ -2977,25 +2959,25 @@ const deserializeAws_restJson1DataSetSummary = (output, context) => {
|
|
|
2977
2959
|
: undefined,
|
|
2978
2960
|
};
|
|
2979
2961
|
};
|
|
2980
|
-
const
|
|
2962
|
+
const de_DeployedVersionSummary = (output, context) => {
|
|
2981
2963
|
return {
|
|
2982
2964
|
applicationVersion: (0, smithy_client_1.expectInt32)(output.applicationVersion),
|
|
2983
2965
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
2984
2966
|
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
2985
2967
|
};
|
|
2986
2968
|
};
|
|
2987
|
-
const
|
|
2969
|
+
const de_DeploymentList = (output, context) => {
|
|
2988
2970
|
const retVal = (output || [])
|
|
2989
2971
|
.filter((e) => e != null)
|
|
2990
2972
|
.map((entry) => {
|
|
2991
2973
|
if (entry === null) {
|
|
2992
2974
|
return null;
|
|
2993
2975
|
}
|
|
2994
|
-
return
|
|
2976
|
+
return de_DeploymentSummary(entry, context);
|
|
2995
2977
|
});
|
|
2996
2978
|
return retVal;
|
|
2997
2979
|
};
|
|
2998
|
-
const
|
|
2980
|
+
const de_DeploymentSummary = (output, context) => {
|
|
2999
2981
|
return {
|
|
3000
2982
|
applicationId: (0, smithy_client_1.expectString)(output.applicationId),
|
|
3001
2983
|
applicationVersion: (0, smithy_client_1.expectInt32)(output.applicationVersion),
|
|
@@ -3008,30 +2990,30 @@ const deserializeAws_restJson1DeploymentSummary = (output, context) => {
|
|
|
3008
2990
|
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
3009
2991
|
};
|
|
3010
2992
|
};
|
|
3011
|
-
const
|
|
2993
|
+
const de_EfsStorageConfiguration = (output, context) => {
|
|
3012
2994
|
return {
|
|
3013
2995
|
fileSystemId: (0, smithy_client_1.expectString)(output["file-system-id"]),
|
|
3014
2996
|
mountPoint: (0, smithy_client_1.expectString)(output["mount-point"]),
|
|
3015
2997
|
};
|
|
3016
2998
|
};
|
|
3017
|
-
const
|
|
2999
|
+
const de_EngineVersionsSummary = (output, context) => {
|
|
3018
3000
|
return {
|
|
3019
3001
|
engineType: (0, smithy_client_1.expectString)(output.engineType),
|
|
3020
3002
|
engineVersion: (0, smithy_client_1.expectString)(output.engineVersion),
|
|
3021
3003
|
};
|
|
3022
3004
|
};
|
|
3023
|
-
const
|
|
3005
|
+
const de_EngineVersionsSummaryList = (output, context) => {
|
|
3024
3006
|
const retVal = (output || [])
|
|
3025
3007
|
.filter((e) => e != null)
|
|
3026
3008
|
.map((entry) => {
|
|
3027
3009
|
if (entry === null) {
|
|
3028
3010
|
return null;
|
|
3029
3011
|
}
|
|
3030
|
-
return
|
|
3012
|
+
return de_EngineVersionsSummary(entry, context);
|
|
3031
3013
|
});
|
|
3032
3014
|
return retVal;
|
|
3033
3015
|
};
|
|
3034
|
-
const
|
|
3016
|
+
const de_EnvironmentSummary = (output, context) => {
|
|
3035
3017
|
return {
|
|
3036
3018
|
creationTime: output.creationTime != null
|
|
3037
3019
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
@@ -3045,76 +3027,76 @@ const deserializeAws_restJson1EnvironmentSummary = (output, context) => {
|
|
|
3045
3027
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
3046
3028
|
};
|
|
3047
3029
|
};
|
|
3048
|
-
const
|
|
3030
|
+
const de_EnvironmentSummaryList = (output, context) => {
|
|
3049
3031
|
const retVal = (output || [])
|
|
3050
3032
|
.filter((e) => e != null)
|
|
3051
3033
|
.map((entry) => {
|
|
3052
3034
|
if (entry === null) {
|
|
3053
3035
|
return null;
|
|
3054
3036
|
}
|
|
3055
|
-
return
|
|
3037
|
+
return de_EnvironmentSummary(entry, context);
|
|
3056
3038
|
});
|
|
3057
3039
|
return retVal;
|
|
3058
3040
|
};
|
|
3059
|
-
const
|
|
3041
|
+
const de_FileBatchJobDefinition = (output, context) => {
|
|
3060
3042
|
return {
|
|
3061
3043
|
fileName: (0, smithy_client_1.expectString)(output.fileName),
|
|
3062
3044
|
folderPath: (0, smithy_client_1.expectString)(output.folderPath),
|
|
3063
3045
|
};
|
|
3064
3046
|
};
|
|
3065
|
-
const
|
|
3047
|
+
const de_FileBatchJobIdentifier = (output, context) => {
|
|
3066
3048
|
return {
|
|
3067
3049
|
fileName: (0, smithy_client_1.expectString)(output.fileName),
|
|
3068
3050
|
folderPath: (0, smithy_client_1.expectString)(output.folderPath),
|
|
3069
3051
|
};
|
|
3070
3052
|
};
|
|
3071
|
-
const
|
|
3053
|
+
const de_FsxStorageConfiguration = (output, context) => {
|
|
3072
3054
|
return {
|
|
3073
3055
|
fileSystemId: (0, smithy_client_1.expectString)(output["file-system-id"]),
|
|
3074
3056
|
mountPoint: (0, smithy_client_1.expectString)(output["mount-point"]),
|
|
3075
3057
|
};
|
|
3076
3058
|
};
|
|
3077
|
-
const
|
|
3059
|
+
const de_GdgDetailAttributes = (output, context) => {
|
|
3078
3060
|
return {
|
|
3079
3061
|
limit: (0, smithy_client_1.expectInt32)(output.limit),
|
|
3080
3062
|
rollDisposition: (0, smithy_client_1.expectString)(output.rollDisposition),
|
|
3081
3063
|
};
|
|
3082
3064
|
};
|
|
3083
|
-
const
|
|
3065
|
+
const de_HighAvailabilityConfig = (output, context) => {
|
|
3084
3066
|
return {
|
|
3085
3067
|
desiredCapacity: (0, smithy_client_1.expectInt32)(output.desiredCapacity),
|
|
3086
3068
|
};
|
|
3087
3069
|
};
|
|
3088
|
-
const
|
|
3070
|
+
const de_LogGroupSummaries = (output, context) => {
|
|
3089
3071
|
const retVal = (output || [])
|
|
3090
3072
|
.filter((e) => e != null)
|
|
3091
3073
|
.map((entry) => {
|
|
3092
3074
|
if (entry === null) {
|
|
3093
3075
|
return null;
|
|
3094
3076
|
}
|
|
3095
|
-
return
|
|
3077
|
+
return de_LogGroupSummary(entry, context);
|
|
3096
3078
|
});
|
|
3097
3079
|
return retVal;
|
|
3098
3080
|
};
|
|
3099
|
-
const
|
|
3081
|
+
const de_LogGroupSummary = (output, context) => {
|
|
3100
3082
|
return {
|
|
3101
3083
|
logGroupName: (0, smithy_client_1.expectString)(output.logGroupName),
|
|
3102
3084
|
logType: (0, smithy_client_1.expectString)(output.logType),
|
|
3103
3085
|
};
|
|
3104
3086
|
};
|
|
3105
|
-
const
|
|
3087
|
+
const de_MaintenanceSchedule = (output, context) => {
|
|
3106
3088
|
return {
|
|
3107
3089
|
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
3108
3090
|
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
3109
3091
|
};
|
|
3110
3092
|
};
|
|
3111
|
-
const
|
|
3093
|
+
const de_PendingMaintenance = (output, context) => {
|
|
3112
3094
|
return {
|
|
3113
3095
|
engineVersion: (0, smithy_client_1.expectString)(output.engineVersion),
|
|
3114
|
-
schedule: output.schedule != null ?
|
|
3096
|
+
schedule: output.schedule != null ? de_MaintenanceSchedule(output.schedule, context) : undefined,
|
|
3115
3097
|
};
|
|
3116
3098
|
};
|
|
3117
|
-
const
|
|
3099
|
+
const de_PortList = (output, context) => {
|
|
3118
3100
|
const retVal = (output || [])
|
|
3119
3101
|
.filter((e) => e != null)
|
|
3120
3102
|
.map((entry) => {
|
|
@@ -3125,48 +3107,48 @@ const deserializeAws_restJson1PortList = (output, context) => {
|
|
|
3125
3107
|
});
|
|
3126
3108
|
return retVal;
|
|
3127
3109
|
};
|
|
3128
|
-
const
|
|
3110
|
+
const de_PrimaryKey = (output, context) => {
|
|
3129
3111
|
return {
|
|
3130
3112
|
length: (0, smithy_client_1.expectInt32)(output.length),
|
|
3131
3113
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
3132
3114
|
offset: (0, smithy_client_1.expectInt32)(output.offset),
|
|
3133
3115
|
};
|
|
3134
3116
|
};
|
|
3135
|
-
const
|
|
3117
|
+
const de_ScriptBatchJobDefinition = (output, context) => {
|
|
3136
3118
|
return {
|
|
3137
3119
|
scriptName: (0, smithy_client_1.expectString)(output.scriptName),
|
|
3138
3120
|
};
|
|
3139
3121
|
};
|
|
3140
|
-
const
|
|
3122
|
+
const de_ScriptBatchJobIdentifier = (output, context) => {
|
|
3141
3123
|
return {
|
|
3142
3124
|
scriptName: (0, smithy_client_1.expectString)(output.scriptName),
|
|
3143
3125
|
};
|
|
3144
3126
|
};
|
|
3145
|
-
const
|
|
3127
|
+
const de_StorageConfiguration = (output, context) => {
|
|
3146
3128
|
if (output.efs != null) {
|
|
3147
3129
|
return {
|
|
3148
|
-
efs:
|
|
3130
|
+
efs: de_EfsStorageConfiguration(output.efs, context),
|
|
3149
3131
|
};
|
|
3150
3132
|
}
|
|
3151
3133
|
if (output.fsx != null) {
|
|
3152
3134
|
return {
|
|
3153
|
-
fsx:
|
|
3135
|
+
fsx: de_FsxStorageConfiguration(output.fsx, context),
|
|
3154
3136
|
};
|
|
3155
3137
|
}
|
|
3156
3138
|
return { $unknown: Object.entries(output)[0] };
|
|
3157
3139
|
};
|
|
3158
|
-
const
|
|
3140
|
+
const de_StorageConfigurationList = (output, context) => {
|
|
3159
3141
|
const retVal = (output || [])
|
|
3160
3142
|
.filter((e) => e != null)
|
|
3161
3143
|
.map((entry) => {
|
|
3162
3144
|
if (entry === null) {
|
|
3163
3145
|
return null;
|
|
3164
3146
|
}
|
|
3165
|
-
return
|
|
3147
|
+
return de_StorageConfiguration((0, smithy_client_1.expectUnion)(entry), context);
|
|
3166
3148
|
});
|
|
3167
3149
|
return retVal;
|
|
3168
3150
|
};
|
|
3169
|
-
const
|
|
3151
|
+
const de_String50List = (output, context) => {
|
|
3170
3152
|
const retVal = (output || [])
|
|
3171
3153
|
.filter((e) => e != null)
|
|
3172
3154
|
.map((entry) => {
|
|
@@ -3177,7 +3159,7 @@ const deserializeAws_restJson1String50List = (output, context) => {
|
|
|
3177
3159
|
});
|
|
3178
3160
|
return retVal;
|
|
3179
3161
|
};
|
|
3180
|
-
const
|
|
3162
|
+
const de_TagMap = (output, context) => {
|
|
3181
3163
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3182
3164
|
if (value === null) {
|
|
3183
3165
|
return acc;
|
|
@@ -3186,32 +3168,30 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
3186
3168
|
return acc;
|
|
3187
3169
|
}, {});
|
|
3188
3170
|
};
|
|
3189
|
-
const
|
|
3171
|
+
const de_ValidationExceptionField = (output, context) => {
|
|
3190
3172
|
return {
|
|
3191
3173
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
3192
3174
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
3193
3175
|
};
|
|
3194
3176
|
};
|
|
3195
|
-
const
|
|
3177
|
+
const de_ValidationExceptionFieldList = (output, context) => {
|
|
3196
3178
|
const retVal = (output || [])
|
|
3197
3179
|
.filter((e) => e != null)
|
|
3198
3180
|
.map((entry) => {
|
|
3199
3181
|
if (entry === null) {
|
|
3200
3182
|
return null;
|
|
3201
3183
|
}
|
|
3202
|
-
return
|
|
3184
|
+
return de_ValidationExceptionField(entry, context);
|
|
3203
3185
|
});
|
|
3204
3186
|
return retVal;
|
|
3205
3187
|
};
|
|
3206
|
-
const
|
|
3188
|
+
const de_VsamDetailAttributes = (output, context) => {
|
|
3207
3189
|
return {
|
|
3208
|
-
alternateKeys: output.alternateKeys != null
|
|
3209
|
-
? deserializeAws_restJson1AlternateKeyList(output.alternateKeys, context)
|
|
3210
|
-
: undefined,
|
|
3190
|
+
alternateKeys: output.alternateKeys != null ? de_AlternateKeyList(output.alternateKeys, context) : undefined,
|
|
3211
3191
|
cacheAtStartup: (0, smithy_client_1.expectBoolean)(output.cacheAtStartup),
|
|
3212
3192
|
compressed: (0, smithy_client_1.expectBoolean)(output.compressed),
|
|
3213
3193
|
encoding: (0, smithy_client_1.expectString)(output.encoding),
|
|
3214
|
-
primaryKey: output.primaryKey != null ?
|
|
3194
|
+
primaryKey: output.primaryKey != null ? de_PrimaryKey(output.primaryKey, context) : undefined,
|
|
3215
3195
|
recordFormat: (0, smithy_client_1.expectString)(output.recordFormat),
|
|
3216
3196
|
};
|
|
3217
3197
|
};
|