@aws-sdk/client-m2 3.474.0 → 3.477.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/protocols/Aws_restJson1.js +217 -469
- package/dist-es/protocols/Aws_restJson1.js +218 -470
- package/package.json +5 -4
|
@@ -3,36 +3,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.de_ListApplicationsCommand = exports.de_GetSignedBluinsightsUrlCommand = 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_GetSignedBluinsightsUrlCommand = 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
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 = exports.de_ListBatchJobDefinitionsCommand = exports.de_ListApplicationVersionsCommand = void 0;
|
|
5
5
|
const core_1 = require("@aws-sdk/core");
|
|
6
|
-
const
|
|
6
|
+
const core_2 = require("@smithy/core");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const uuid_1 = require("uuid");
|
|
9
9
|
const M2ServiceException_1 = require("../models/M2ServiceException");
|
|
10
10
|
const models_0_1 = require("../models/models_0");
|
|
11
11
|
const se_CancelBatchJobExecutionCommand = async (input, context) => {
|
|
12
|
-
const
|
|
12
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
13
13
|
const headers = {};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "executionId", () => input.executionId, "{executionId}", false);
|
|
14
|
+
b.bp("/applications/{applicationId}/batch-job-executions/{executionId}/cancel");
|
|
15
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
16
|
+
b.p("executionId", () => input.executionId, "{executionId}", false);
|
|
18
17
|
let body;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
hostname,
|
|
22
|
-
port,
|
|
23
|
-
method: "POST",
|
|
24
|
-
headers,
|
|
25
|
-
path: resolvedPath,
|
|
26
|
-
body,
|
|
27
|
-
});
|
|
18
|
+
b.m("POST").h(headers).b(body);
|
|
19
|
+
return b.build();
|
|
28
20
|
};
|
|
29
21
|
exports.se_CancelBatchJobExecutionCommand = se_CancelBatchJobExecutionCommand;
|
|
30
22
|
const se_CreateApplicationCommand = async (input, context) => {
|
|
31
|
-
const
|
|
23
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
32
24
|
const headers = {
|
|
33
25
|
"content-type": "application/json",
|
|
34
26
|
};
|
|
35
|
-
|
|
27
|
+
b.bp("/applications");
|
|
36
28
|
let body;
|
|
37
29
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
38
30
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -44,71 +36,49 @@ const se_CreateApplicationCommand = async (input, context) => {
|
|
|
44
36
|
roleArn: [],
|
|
45
37
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
46
38
|
}));
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
hostname,
|
|
50
|
-
port,
|
|
51
|
-
method: "POST",
|
|
52
|
-
headers,
|
|
53
|
-
path: resolvedPath,
|
|
54
|
-
body,
|
|
55
|
-
});
|
|
39
|
+
b.m("POST").h(headers).b(body);
|
|
40
|
+
return b.build();
|
|
56
41
|
};
|
|
57
42
|
exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
|
|
58
43
|
const se_CreateDataSetImportTaskCommand = async (input, context) => {
|
|
59
|
-
const
|
|
44
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
60
45
|
const headers = {
|
|
61
46
|
"content-type": "application/json",
|
|
62
47
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
|
|
48
|
+
b.bp("/applications/{applicationId}/dataset-import-task");
|
|
49
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
66
50
|
let body;
|
|
67
51
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
68
52
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
69
53
|
importConfig: (_) => (0, smithy_client_1._json)(_),
|
|
70
54
|
}));
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
hostname,
|
|
74
|
-
port,
|
|
75
|
-
method: "POST",
|
|
76
|
-
headers,
|
|
77
|
-
path: resolvedPath,
|
|
78
|
-
body,
|
|
79
|
-
});
|
|
55
|
+
b.m("POST").h(headers).b(body);
|
|
56
|
+
return b.build();
|
|
80
57
|
};
|
|
81
58
|
exports.se_CreateDataSetImportTaskCommand = se_CreateDataSetImportTaskCommand;
|
|
82
59
|
const se_CreateDeploymentCommand = async (input, context) => {
|
|
83
|
-
const
|
|
60
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
84
61
|
const headers = {
|
|
85
62
|
"content-type": "application/json",
|
|
86
63
|
};
|
|
87
|
-
|
|
88
|
-
|
|
64
|
+
b.bp("/applications/{applicationId}/deployments");
|
|
65
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
89
66
|
let body;
|
|
90
67
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
91
68
|
applicationVersion: [],
|
|
92
69
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
93
70
|
environmentId: [],
|
|
94
71
|
}));
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
hostname,
|
|
98
|
-
port,
|
|
99
|
-
method: "POST",
|
|
100
|
-
headers,
|
|
101
|
-
path: resolvedPath,
|
|
102
|
-
body,
|
|
103
|
-
});
|
|
72
|
+
b.m("POST").h(headers).b(body);
|
|
73
|
+
return b.build();
|
|
104
74
|
};
|
|
105
75
|
exports.se_CreateDeploymentCommand = se_CreateDeploymentCommand;
|
|
106
76
|
const se_CreateEnvironmentCommand = async (input, context) => {
|
|
107
|
-
const
|
|
77
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
108
78
|
const headers = {
|
|
109
79
|
"content-type": "application/json",
|
|
110
80
|
};
|
|
111
|
-
|
|
81
|
+
b.bp("/environments");
|
|
112
82
|
let body;
|
|
113
83
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
114
84
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -126,594 +96,370 @@ const se_CreateEnvironmentCommand = async (input, context) => {
|
|
|
126
96
|
subnetIds: (_) => (0, smithy_client_1._json)(_),
|
|
127
97
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
128
98
|
}));
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
hostname,
|
|
132
|
-
port,
|
|
133
|
-
method: "POST",
|
|
134
|
-
headers,
|
|
135
|
-
path: resolvedPath,
|
|
136
|
-
body,
|
|
137
|
-
});
|
|
99
|
+
b.m("POST").h(headers).b(body);
|
|
100
|
+
return b.build();
|
|
138
101
|
};
|
|
139
102
|
exports.se_CreateEnvironmentCommand = se_CreateEnvironmentCommand;
|
|
140
103
|
const se_DeleteApplicationCommand = async (input, context) => {
|
|
141
|
-
const
|
|
104
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
142
105
|
const headers = {};
|
|
143
|
-
|
|
144
|
-
|
|
106
|
+
b.bp("/applications/{applicationId}");
|
|
107
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
145
108
|
let body;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
hostname,
|
|
149
|
-
port,
|
|
150
|
-
method: "DELETE",
|
|
151
|
-
headers,
|
|
152
|
-
path: resolvedPath,
|
|
153
|
-
body,
|
|
154
|
-
});
|
|
109
|
+
b.m("DELETE").h(headers).b(body);
|
|
110
|
+
return b.build();
|
|
155
111
|
};
|
|
156
112
|
exports.se_DeleteApplicationCommand = se_DeleteApplicationCommand;
|
|
157
113
|
const se_DeleteApplicationFromEnvironmentCommand = async (input, context) => {
|
|
158
|
-
const
|
|
114
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
159
115
|
const headers = {};
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
|
|
116
|
+
b.bp("/applications/{applicationId}/environment/{environmentId}");
|
|
117
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
118
|
+
b.p("environmentId", () => input.environmentId, "{environmentId}", false);
|
|
164
119
|
let body;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
hostname,
|
|
168
|
-
port,
|
|
169
|
-
method: "DELETE",
|
|
170
|
-
headers,
|
|
171
|
-
path: resolvedPath,
|
|
172
|
-
body,
|
|
173
|
-
});
|
|
120
|
+
b.m("DELETE").h(headers).b(body);
|
|
121
|
+
return b.build();
|
|
174
122
|
};
|
|
175
123
|
exports.se_DeleteApplicationFromEnvironmentCommand = se_DeleteApplicationFromEnvironmentCommand;
|
|
176
124
|
const se_DeleteEnvironmentCommand = async (input, context) => {
|
|
177
|
-
const
|
|
125
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
178
126
|
const headers = {};
|
|
179
|
-
|
|
180
|
-
|
|
127
|
+
b.bp("/environments/{environmentId}");
|
|
128
|
+
b.p("environmentId", () => input.environmentId, "{environmentId}", false);
|
|
181
129
|
let body;
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
hostname,
|
|
185
|
-
port,
|
|
186
|
-
method: "DELETE",
|
|
187
|
-
headers,
|
|
188
|
-
path: resolvedPath,
|
|
189
|
-
body,
|
|
190
|
-
});
|
|
130
|
+
b.m("DELETE").h(headers).b(body);
|
|
131
|
+
return b.build();
|
|
191
132
|
};
|
|
192
133
|
exports.se_DeleteEnvironmentCommand = se_DeleteEnvironmentCommand;
|
|
193
134
|
const se_GetApplicationCommand = async (input, context) => {
|
|
194
|
-
const
|
|
135
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
195
136
|
const headers = {};
|
|
196
|
-
|
|
197
|
-
|
|
137
|
+
b.bp("/applications/{applicationId}");
|
|
138
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
198
139
|
let body;
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
hostname,
|
|
202
|
-
port,
|
|
203
|
-
method: "GET",
|
|
204
|
-
headers,
|
|
205
|
-
path: resolvedPath,
|
|
206
|
-
body,
|
|
207
|
-
});
|
|
140
|
+
b.m("GET").h(headers).b(body);
|
|
141
|
+
return b.build();
|
|
208
142
|
};
|
|
209
143
|
exports.se_GetApplicationCommand = se_GetApplicationCommand;
|
|
210
144
|
const se_GetApplicationVersionCommand = async (input, context) => {
|
|
211
|
-
const
|
|
145
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
212
146
|
const headers = {};
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationVersion", () => input.applicationVersion.toString(), "{applicationVersion}", false);
|
|
147
|
+
b.bp("/applications/{applicationId}/versions/{applicationVersion}");
|
|
148
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
149
|
+
b.p("applicationVersion", () => input.applicationVersion.toString(), "{applicationVersion}", false);
|
|
217
150
|
let body;
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
hostname,
|
|
221
|
-
port,
|
|
222
|
-
method: "GET",
|
|
223
|
-
headers,
|
|
224
|
-
path: resolvedPath,
|
|
225
|
-
body,
|
|
226
|
-
});
|
|
151
|
+
b.m("GET").h(headers).b(body);
|
|
152
|
+
return b.build();
|
|
227
153
|
};
|
|
228
154
|
exports.se_GetApplicationVersionCommand = se_GetApplicationVersionCommand;
|
|
229
155
|
const se_GetBatchJobExecutionCommand = async (input, context) => {
|
|
230
|
-
const
|
|
156
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
231
157
|
const headers = {};
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "executionId", () => input.executionId, "{executionId}", false);
|
|
158
|
+
b.bp("/applications/{applicationId}/batch-job-executions/{executionId}");
|
|
159
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
160
|
+
b.p("executionId", () => input.executionId, "{executionId}", false);
|
|
236
161
|
let body;
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
hostname,
|
|
240
|
-
port,
|
|
241
|
-
method: "GET",
|
|
242
|
-
headers,
|
|
243
|
-
path: resolvedPath,
|
|
244
|
-
body,
|
|
245
|
-
});
|
|
162
|
+
b.m("GET").h(headers).b(body);
|
|
163
|
+
return b.build();
|
|
246
164
|
};
|
|
247
165
|
exports.se_GetBatchJobExecutionCommand = se_GetBatchJobExecutionCommand;
|
|
248
166
|
const se_GetDataSetDetailsCommand = async (input, context) => {
|
|
249
|
-
const
|
|
167
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
250
168
|
const headers = {};
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "dataSetName", () => input.dataSetName, "{dataSetName}", false);
|
|
169
|
+
b.bp("/applications/{applicationId}/datasets/{dataSetName}");
|
|
170
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
171
|
+
b.p("dataSetName", () => input.dataSetName, "{dataSetName}", false);
|
|
255
172
|
let body;
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
hostname,
|
|
259
|
-
port,
|
|
260
|
-
method: "GET",
|
|
261
|
-
headers,
|
|
262
|
-
path: resolvedPath,
|
|
263
|
-
body,
|
|
264
|
-
});
|
|
173
|
+
b.m("GET").h(headers).b(body);
|
|
174
|
+
return b.build();
|
|
265
175
|
};
|
|
266
176
|
exports.se_GetDataSetDetailsCommand = se_GetDataSetDetailsCommand;
|
|
267
177
|
const se_GetDataSetImportTaskCommand = async (input, context) => {
|
|
268
|
-
const
|
|
178
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
269
179
|
const headers = {};
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "taskId", () => input.taskId, "{taskId}", false);
|
|
180
|
+
b.bp("/applications/{applicationId}/dataset-import-tasks/{taskId}");
|
|
181
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
182
|
+
b.p("taskId", () => input.taskId, "{taskId}", false);
|
|
274
183
|
let body;
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
hostname,
|
|
278
|
-
port,
|
|
279
|
-
method: "GET",
|
|
280
|
-
headers,
|
|
281
|
-
path: resolvedPath,
|
|
282
|
-
body,
|
|
283
|
-
});
|
|
184
|
+
b.m("GET").h(headers).b(body);
|
|
185
|
+
return b.build();
|
|
284
186
|
};
|
|
285
187
|
exports.se_GetDataSetImportTaskCommand = se_GetDataSetImportTaskCommand;
|
|
286
188
|
const se_GetDeploymentCommand = async (input, context) => {
|
|
287
|
-
const
|
|
189
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
288
190
|
const headers = {};
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
|
|
191
|
+
b.bp("/applications/{applicationId}/deployments/{deploymentId}");
|
|
192
|
+
b.p("deploymentId", () => input.deploymentId, "{deploymentId}", false);
|
|
193
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
293
194
|
let body;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
hostname,
|
|
297
|
-
port,
|
|
298
|
-
method: "GET",
|
|
299
|
-
headers,
|
|
300
|
-
path: resolvedPath,
|
|
301
|
-
body,
|
|
302
|
-
});
|
|
195
|
+
b.m("GET").h(headers).b(body);
|
|
196
|
+
return b.build();
|
|
303
197
|
};
|
|
304
198
|
exports.se_GetDeploymentCommand = se_GetDeploymentCommand;
|
|
305
199
|
const se_GetEnvironmentCommand = async (input, context) => {
|
|
306
|
-
const
|
|
200
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
307
201
|
const headers = {};
|
|
308
|
-
|
|
309
|
-
|
|
202
|
+
b.bp("/environments/{environmentId}");
|
|
203
|
+
b.p("environmentId", () => input.environmentId, "{environmentId}", false);
|
|
310
204
|
let body;
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
hostname,
|
|
314
|
-
port,
|
|
315
|
-
method: "GET",
|
|
316
|
-
headers,
|
|
317
|
-
path: resolvedPath,
|
|
318
|
-
body,
|
|
319
|
-
});
|
|
205
|
+
b.m("GET").h(headers).b(body);
|
|
206
|
+
return b.build();
|
|
320
207
|
};
|
|
321
208
|
exports.se_GetEnvironmentCommand = se_GetEnvironmentCommand;
|
|
322
209
|
const se_GetSignedBluinsightsUrlCommand = async (input, context) => {
|
|
323
|
-
const
|
|
210
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
324
211
|
const headers = {
|
|
325
212
|
"content-type": "application/json",
|
|
326
213
|
};
|
|
327
|
-
|
|
214
|
+
b.bp("/signed-bi-url");
|
|
328
215
|
let body;
|
|
329
216
|
body = "";
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
hostname,
|
|
333
|
-
port,
|
|
334
|
-
method: "GET",
|
|
335
|
-
headers,
|
|
336
|
-
path: resolvedPath,
|
|
337
|
-
body,
|
|
338
|
-
});
|
|
217
|
+
b.m("GET").h(headers).b(body);
|
|
218
|
+
return b.build();
|
|
339
219
|
};
|
|
340
220
|
exports.se_GetSignedBluinsightsUrlCommand = se_GetSignedBluinsightsUrlCommand;
|
|
341
221
|
const se_ListApplicationsCommand = async (input, context) => {
|
|
342
|
-
const
|
|
222
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
343
223
|
const headers = {};
|
|
344
|
-
|
|
224
|
+
b.bp("/applications");
|
|
345
225
|
const query = (0, smithy_client_1.map)({
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
226
|
+
[_nT]: [, input[_nT]],
|
|
227
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
228
|
+
[_n]: [() => input.names !== void 0, () => (input[_n] || []).map((_entry) => _entry)],
|
|
229
|
+
[_eI]: [, input[_eI]],
|
|
350
230
|
});
|
|
351
231
|
let body;
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
hostname,
|
|
355
|
-
port,
|
|
356
|
-
method: "GET",
|
|
357
|
-
headers,
|
|
358
|
-
path: resolvedPath,
|
|
359
|
-
query,
|
|
360
|
-
body,
|
|
361
|
-
});
|
|
232
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
233
|
+
return b.build();
|
|
362
234
|
};
|
|
363
235
|
exports.se_ListApplicationsCommand = se_ListApplicationsCommand;
|
|
364
236
|
const se_ListApplicationVersionsCommand = async (input, context) => {
|
|
365
|
-
const
|
|
237
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
366
238
|
const headers = {};
|
|
367
|
-
|
|
368
|
-
|
|
239
|
+
b.bp("/applications/{applicationId}/versions");
|
|
240
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
369
241
|
const query = (0, smithy_client_1.map)({
|
|
370
|
-
|
|
371
|
-
|
|
242
|
+
[_nT]: [, input[_nT]],
|
|
243
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
372
244
|
});
|
|
373
245
|
let body;
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
hostname,
|
|
377
|
-
port,
|
|
378
|
-
method: "GET",
|
|
379
|
-
headers,
|
|
380
|
-
path: resolvedPath,
|
|
381
|
-
query,
|
|
382
|
-
body,
|
|
383
|
-
});
|
|
246
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
247
|
+
return b.build();
|
|
384
248
|
};
|
|
385
249
|
exports.se_ListApplicationVersionsCommand = se_ListApplicationVersionsCommand;
|
|
386
250
|
const se_ListBatchJobDefinitionsCommand = async (input, context) => {
|
|
387
|
-
const
|
|
251
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
388
252
|
const headers = {};
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
|
|
253
|
+
b.bp("/applications/{applicationId}/batch-job-definitions");
|
|
254
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
392
255
|
const query = (0, smithy_client_1.map)({
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
256
|
+
[_nT]: [, input[_nT]],
|
|
257
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
258
|
+
[_p]: [, input[_p]],
|
|
396
259
|
});
|
|
397
260
|
let body;
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
hostname,
|
|
401
|
-
port,
|
|
402
|
-
method: "GET",
|
|
403
|
-
headers,
|
|
404
|
-
path: resolvedPath,
|
|
405
|
-
query,
|
|
406
|
-
body,
|
|
407
|
-
});
|
|
261
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
262
|
+
return b.build();
|
|
408
263
|
};
|
|
409
264
|
exports.se_ListBatchJobDefinitionsCommand = se_ListBatchJobDefinitionsCommand;
|
|
410
265
|
const se_ListBatchJobExecutionsCommand = async (input, context) => {
|
|
411
|
-
const
|
|
266
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
412
267
|
const headers = {};
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
|
|
268
|
+
b.bp("/applications/{applicationId}/batch-job-executions");
|
|
269
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
416
270
|
const query = (0, smithy_client_1.map)({
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
],
|
|
423
|
-
|
|
424
|
-
status: [, input.status],
|
|
425
|
-
startedAfter: [
|
|
426
|
-
() => input.startedAfter !== void 0,
|
|
427
|
-
() => (input.startedAfter.toISOString().split(".")[0] + "Z").toString(),
|
|
428
|
-
],
|
|
429
|
-
startedBefore: [
|
|
430
|
-
() => input.startedBefore !== void 0,
|
|
431
|
-
() => (input.startedBefore.toISOString().split(".")[0] + "Z").toString(),
|
|
432
|
-
],
|
|
271
|
+
[_nT]: [, input[_nT]],
|
|
272
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
273
|
+
[_eIx]: [() => input.executionIds !== void 0, () => (input[_eIx] || []).map((_entry) => _entry)],
|
|
274
|
+
[_jN]: [, input[_jN]],
|
|
275
|
+
[_s]: [, input[_s]],
|
|
276
|
+
[_sA]: [() => input.startedAfter !== void 0, () => (input[_sA].toISOString().split(".")[0] + "Z").toString()],
|
|
277
|
+
[_sB]: [() => input.startedBefore !== void 0, () => (input[_sB].toISOString().split(".")[0] + "Z").toString()],
|
|
433
278
|
});
|
|
434
279
|
let body;
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
hostname,
|
|
438
|
-
port,
|
|
439
|
-
method: "GET",
|
|
440
|
-
headers,
|
|
441
|
-
path: resolvedPath,
|
|
442
|
-
query,
|
|
443
|
-
body,
|
|
444
|
-
});
|
|
280
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
281
|
+
return b.build();
|
|
445
282
|
};
|
|
446
283
|
exports.se_ListBatchJobExecutionsCommand = se_ListBatchJobExecutionsCommand;
|
|
447
284
|
const se_ListDataSetImportHistoryCommand = async (input, context) => {
|
|
448
|
-
const
|
|
285
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
449
286
|
const headers = {};
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
|
|
287
|
+
b.bp("/applications/{applicationId}/dataset-import-tasks");
|
|
288
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
453
289
|
const query = (0, smithy_client_1.map)({
|
|
454
|
-
|
|
455
|
-
|
|
290
|
+
[_nT]: [, input[_nT]],
|
|
291
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
456
292
|
});
|
|
457
293
|
let body;
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
hostname,
|
|
461
|
-
port,
|
|
462
|
-
method: "GET",
|
|
463
|
-
headers,
|
|
464
|
-
path: resolvedPath,
|
|
465
|
-
query,
|
|
466
|
-
body,
|
|
467
|
-
});
|
|
294
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
295
|
+
return b.build();
|
|
468
296
|
};
|
|
469
297
|
exports.se_ListDataSetImportHistoryCommand = se_ListDataSetImportHistoryCommand;
|
|
470
298
|
const se_ListDataSetsCommand = async (input, context) => {
|
|
471
|
-
const
|
|
299
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
472
300
|
const headers = {};
|
|
473
|
-
|
|
474
|
-
|
|
301
|
+
b.bp("/applications/{applicationId}/datasets");
|
|
302
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
475
303
|
const query = (0, smithy_client_1.map)({
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
304
|
+
[_nT]: [, input[_nT]],
|
|
305
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
306
|
+
[_p]: [, input[_p]],
|
|
307
|
+
[_nF]: [, input[_nF]],
|
|
480
308
|
});
|
|
481
309
|
let body;
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
hostname,
|
|
485
|
-
port,
|
|
486
|
-
method: "GET",
|
|
487
|
-
headers,
|
|
488
|
-
path: resolvedPath,
|
|
489
|
-
query,
|
|
490
|
-
body,
|
|
491
|
-
});
|
|
310
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
311
|
+
return b.build();
|
|
492
312
|
};
|
|
493
313
|
exports.se_ListDataSetsCommand = se_ListDataSetsCommand;
|
|
494
314
|
const se_ListDeploymentsCommand = async (input, context) => {
|
|
495
|
-
const
|
|
315
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
496
316
|
const headers = {};
|
|
497
|
-
|
|
498
|
-
|
|
317
|
+
b.bp("/applications/{applicationId}/deployments");
|
|
318
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
499
319
|
const query = (0, smithy_client_1.map)({
|
|
500
|
-
|
|
501
|
-
|
|
320
|
+
[_nT]: [, input[_nT]],
|
|
321
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
502
322
|
});
|
|
503
323
|
let body;
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
hostname,
|
|
507
|
-
port,
|
|
508
|
-
method: "GET",
|
|
509
|
-
headers,
|
|
510
|
-
path: resolvedPath,
|
|
511
|
-
query,
|
|
512
|
-
body,
|
|
513
|
-
});
|
|
324
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
325
|
+
return b.build();
|
|
514
326
|
};
|
|
515
327
|
exports.se_ListDeploymentsCommand = se_ListDeploymentsCommand;
|
|
516
328
|
const se_ListEngineVersionsCommand = async (input, context) => {
|
|
517
|
-
const
|
|
329
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
518
330
|
const headers = {};
|
|
519
|
-
|
|
331
|
+
b.bp("/engine-versions");
|
|
520
332
|
const query = (0, smithy_client_1.map)({
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
333
|
+
[_eT]: [, input[_eT]],
|
|
334
|
+
[_nT]: [, input[_nT]],
|
|
335
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
524
336
|
});
|
|
525
337
|
let body;
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
hostname,
|
|
529
|
-
port,
|
|
530
|
-
method: "GET",
|
|
531
|
-
headers,
|
|
532
|
-
path: resolvedPath,
|
|
533
|
-
query,
|
|
534
|
-
body,
|
|
535
|
-
});
|
|
338
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
339
|
+
return b.build();
|
|
536
340
|
};
|
|
537
341
|
exports.se_ListEngineVersionsCommand = se_ListEngineVersionsCommand;
|
|
538
342
|
const se_ListEnvironmentsCommand = async (input, context) => {
|
|
539
|
-
const
|
|
343
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
540
344
|
const headers = {};
|
|
541
|
-
|
|
345
|
+
b.bp("/environments");
|
|
542
346
|
const query = (0, smithy_client_1.map)({
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
347
|
+
[_nT]: [, input[_nT]],
|
|
348
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
349
|
+
[_n]: [() => input.names !== void 0, () => (input[_n] || []).map((_entry) => _entry)],
|
|
350
|
+
[_eT]: [, input[_eT]],
|
|
547
351
|
});
|
|
548
352
|
let body;
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
hostname,
|
|
552
|
-
port,
|
|
553
|
-
method: "GET",
|
|
554
|
-
headers,
|
|
555
|
-
path: resolvedPath,
|
|
556
|
-
query,
|
|
557
|
-
body,
|
|
558
|
-
});
|
|
353
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
354
|
+
return b.build();
|
|
559
355
|
};
|
|
560
356
|
exports.se_ListEnvironmentsCommand = se_ListEnvironmentsCommand;
|
|
561
357
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
562
|
-
const
|
|
358
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
563
359
|
const headers = {};
|
|
564
|
-
|
|
565
|
-
|
|
360
|
+
b.bp("/tags/{resourceArn}");
|
|
361
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
566
362
|
let body;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
hostname,
|
|
570
|
-
port,
|
|
571
|
-
method: "GET",
|
|
572
|
-
headers,
|
|
573
|
-
path: resolvedPath,
|
|
574
|
-
body,
|
|
575
|
-
});
|
|
363
|
+
b.m("GET").h(headers).b(body);
|
|
364
|
+
return b.build();
|
|
576
365
|
};
|
|
577
366
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
578
367
|
const se_StartApplicationCommand = async (input, context) => {
|
|
579
|
-
const
|
|
368
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
580
369
|
const headers = {};
|
|
581
|
-
|
|
582
|
-
|
|
370
|
+
b.bp("/applications/{applicationId}/start");
|
|
371
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
583
372
|
let body;
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
hostname,
|
|
587
|
-
port,
|
|
588
|
-
method: "POST",
|
|
589
|
-
headers,
|
|
590
|
-
path: resolvedPath,
|
|
591
|
-
body,
|
|
592
|
-
});
|
|
373
|
+
b.m("POST").h(headers).b(body);
|
|
374
|
+
return b.build();
|
|
593
375
|
};
|
|
594
376
|
exports.se_StartApplicationCommand = se_StartApplicationCommand;
|
|
595
377
|
const se_StartBatchJobCommand = async (input, context) => {
|
|
596
|
-
const
|
|
378
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
597
379
|
const headers = {
|
|
598
380
|
"content-type": "application/json",
|
|
599
381
|
};
|
|
600
|
-
|
|
601
|
-
|
|
382
|
+
b.bp("/applications/{applicationId}/batch-job");
|
|
383
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
602
384
|
let body;
|
|
603
385
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
604
386
|
batchJobIdentifier: (_) => (0, smithy_client_1._json)(_),
|
|
605
387
|
jobParams: (_) => (0, smithy_client_1._json)(_),
|
|
606
388
|
}));
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
hostname,
|
|
610
|
-
port,
|
|
611
|
-
method: "POST",
|
|
612
|
-
headers,
|
|
613
|
-
path: resolvedPath,
|
|
614
|
-
body,
|
|
615
|
-
});
|
|
389
|
+
b.m("POST").h(headers).b(body);
|
|
390
|
+
return b.build();
|
|
616
391
|
};
|
|
617
392
|
exports.se_StartBatchJobCommand = se_StartBatchJobCommand;
|
|
618
393
|
const se_StopApplicationCommand = async (input, context) => {
|
|
619
|
-
const
|
|
394
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
620
395
|
const headers = {
|
|
621
396
|
"content-type": "application/json",
|
|
622
397
|
};
|
|
623
|
-
|
|
624
|
-
|
|
398
|
+
b.bp("/applications/{applicationId}/stop");
|
|
399
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
625
400
|
let body;
|
|
626
401
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
627
402
|
forceStop: [],
|
|
628
403
|
}));
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
hostname,
|
|
632
|
-
port,
|
|
633
|
-
method: "POST",
|
|
634
|
-
headers,
|
|
635
|
-
path: resolvedPath,
|
|
636
|
-
body,
|
|
637
|
-
});
|
|
404
|
+
b.m("POST").h(headers).b(body);
|
|
405
|
+
return b.build();
|
|
638
406
|
};
|
|
639
407
|
exports.se_StopApplicationCommand = se_StopApplicationCommand;
|
|
640
408
|
const se_TagResourceCommand = async (input, context) => {
|
|
641
|
-
const
|
|
409
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
642
410
|
const headers = {
|
|
643
411
|
"content-type": "application/json",
|
|
644
412
|
};
|
|
645
|
-
|
|
646
|
-
|
|
413
|
+
b.bp("/tags/{resourceArn}");
|
|
414
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
647
415
|
let body;
|
|
648
416
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
649
417
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
650
418
|
}));
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
hostname,
|
|
654
|
-
port,
|
|
655
|
-
method: "POST",
|
|
656
|
-
headers,
|
|
657
|
-
path: resolvedPath,
|
|
658
|
-
body,
|
|
659
|
-
});
|
|
419
|
+
b.m("POST").h(headers).b(body);
|
|
420
|
+
return b.build();
|
|
660
421
|
};
|
|
661
422
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
662
423
|
const se_UntagResourceCommand = async (input, context) => {
|
|
663
|
-
const
|
|
424
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
664
425
|
const headers = {};
|
|
665
|
-
|
|
666
|
-
|
|
426
|
+
b.bp("/tags/{resourceArn}");
|
|
427
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
667
428
|
const query = (0, smithy_client_1.map)({
|
|
668
|
-
|
|
429
|
+
[_tK]: [
|
|
669
430
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
670
|
-
() => (input
|
|
431
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
671
432
|
],
|
|
672
433
|
});
|
|
673
434
|
let body;
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
hostname,
|
|
677
|
-
port,
|
|
678
|
-
method: "DELETE",
|
|
679
|
-
headers,
|
|
680
|
-
path: resolvedPath,
|
|
681
|
-
query,
|
|
682
|
-
body,
|
|
683
|
-
});
|
|
435
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
436
|
+
return b.build();
|
|
684
437
|
};
|
|
685
438
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
686
439
|
const se_UpdateApplicationCommand = async (input, context) => {
|
|
687
|
-
const
|
|
440
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
688
441
|
const headers = {
|
|
689
442
|
"content-type": "application/json",
|
|
690
443
|
};
|
|
691
|
-
|
|
692
|
-
|
|
444
|
+
b.bp("/applications/{applicationId}");
|
|
445
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
693
446
|
let body;
|
|
694
447
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
695
448
|
currentApplicationVersion: [],
|
|
696
449
|
definition: (_) => (0, smithy_client_1._json)(_),
|
|
697
450
|
description: [],
|
|
698
451
|
}));
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
hostname,
|
|
702
|
-
port,
|
|
703
|
-
method: "PATCH",
|
|
704
|
-
headers,
|
|
705
|
-
path: resolvedPath,
|
|
706
|
-
body,
|
|
707
|
-
});
|
|
452
|
+
b.m("PATCH").h(headers).b(body);
|
|
453
|
+
return b.build();
|
|
708
454
|
};
|
|
709
455
|
exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
|
|
710
456
|
const se_UpdateEnvironmentCommand = async (input, context) => {
|
|
711
|
-
const
|
|
457
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
712
458
|
const headers = {
|
|
713
459
|
"content-type": "application/json",
|
|
714
460
|
};
|
|
715
|
-
|
|
716
|
-
|
|
461
|
+
b.bp("/environments/{environmentId}");
|
|
462
|
+
b.p("environmentId", () => input.environmentId, "{environmentId}", false);
|
|
717
463
|
let body;
|
|
718
464
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
719
465
|
applyDuringMaintenanceWindow: [],
|
|
@@ -723,15 +469,8 @@ const se_UpdateEnvironmentCommand = async (input, context) => {
|
|
|
723
469
|
instanceType: [],
|
|
724
470
|
preferredMaintenanceWindow: [],
|
|
725
471
|
}));
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
hostname,
|
|
729
|
-
port,
|
|
730
|
-
method: "PATCH",
|
|
731
|
-
headers,
|
|
732
|
-
path: resolvedPath,
|
|
733
|
-
body,
|
|
734
|
-
});
|
|
472
|
+
b.m("PATCH").h(headers).b(body);
|
|
473
|
+
return b.build();
|
|
735
474
|
};
|
|
736
475
|
exports.se_UpdateEnvironmentCommand = se_UpdateEnvironmentCommand;
|
|
737
476
|
const de_CancelBatchJobExecutionCommand = async (output, context) => {
|
|
@@ -2396,10 +2135,7 @@ const de_ExecutionTimeoutExceptionRes = async (parsedOutput, context) => {
|
|
|
2396
2135
|
};
|
|
2397
2136
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2398
2137
|
const contents = (0, smithy_client_1.map)({
|
|
2399
|
-
|
|
2400
|
-
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
2401
|
-
() => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]),
|
|
2402
|
-
],
|
|
2138
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers[_ra])],
|
|
2403
2139
|
});
|
|
2404
2140
|
const data = parsedOutput.body;
|
|
2405
2141
|
const doc = (0, smithy_client_1.take)(data, {
|
|
@@ -2459,10 +2195,7 @@ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
|
2459
2195
|
};
|
|
2460
2196
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2461
2197
|
const contents = (0, smithy_client_1.map)({
|
|
2462
|
-
|
|
2463
|
-
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
2464
|
-
() => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]),
|
|
2465
|
-
],
|
|
2198
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers[_ra])],
|
|
2466
2199
|
});
|
|
2467
2200
|
const data = parsedOutput.body;
|
|
2468
2201
|
const doc = (0, smithy_client_1.take)(data, {
|
|
@@ -2695,6 +2428,21 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
2695
2428
|
value !== "" &&
|
|
2696
2429
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
2697
2430
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
2431
|
+
const _eI = "environmentId";
|
|
2432
|
+
const _eIx = "executionIds";
|
|
2433
|
+
const _eT = "engineType";
|
|
2434
|
+
const _jN = "jobName";
|
|
2435
|
+
const _mR = "maxResults";
|
|
2436
|
+
const _n = "names";
|
|
2437
|
+
const _nF = "nameFilter";
|
|
2438
|
+
const _nT = "nextToken";
|
|
2439
|
+
const _p = "prefix";
|
|
2440
|
+
const _rAS = "retryAfterSeconds";
|
|
2441
|
+
const _ra = "retry-after";
|
|
2442
|
+
const _s = "status";
|
|
2443
|
+
const _sA = "startedAfter";
|
|
2444
|
+
const _sB = "startedBefore";
|
|
2445
|
+
const _tK = "tagKeys";
|
|
2698
2446
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2699
2447
|
if (encoded.length) {
|
|
2700
2448
|
return JSON.parse(encoded);
|