@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.
@@ -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 protocol_http_1 = require("@smithy/protocol-http");
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
12
+ const b = (0, core_2.requestBuilder)(input, context);
13
13
  const headers = {};
14
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
15
- "/applications/{applicationId}/batch-job-executions/{executionId}/cancel";
16
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
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
- return new protocol_http_1.HttpRequest({
20
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
23
+ const b = (0, core_2.requestBuilder)(input, context);
32
24
  const headers = {
33
25
  "content-type": "application/json",
34
26
  };
35
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
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
- return new protocol_http_1.HttpRequest({
48
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
44
+ const b = (0, core_2.requestBuilder)(input, context);
60
45
  const headers = {
61
46
  "content-type": "application/json",
62
47
  };
63
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
64
- "/applications/{applicationId}/dataset-import-task";
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
- return new protocol_http_1.HttpRequest({
72
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
60
+ const b = (0, core_2.requestBuilder)(input, context);
84
61
  const headers = {
85
62
  "content-type": "application/json",
86
63
  };
87
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/deployments";
88
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
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
- return new protocol_http_1.HttpRequest({
96
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
77
+ const b = (0, core_2.requestBuilder)(input, context);
108
78
  const headers = {
109
79
  "content-type": "application/json",
110
80
  };
111
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/environments";
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
- return new protocol_http_1.HttpRequest({
130
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
104
+ const b = (0, core_2.requestBuilder)(input, context);
142
105
  const headers = {};
143
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}";
144
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
106
+ b.bp("/applications/{applicationId}");
107
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
145
108
  let body;
146
- return new protocol_http_1.HttpRequest({
147
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
114
+ const b = (0, core_2.requestBuilder)(input, context);
159
115
  const headers = {};
160
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
161
- "/applications/{applicationId}/environment/{environmentId}";
162
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
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
- return new protocol_http_1.HttpRequest({
166
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
125
+ const b = (0, core_2.requestBuilder)(input, context);
178
126
  const headers = {};
179
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/environments/{environmentId}";
180
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
127
+ b.bp("/environments/{environmentId}");
128
+ b.p("environmentId", () => input.environmentId, "{environmentId}", false);
181
129
  let body;
182
- return new protocol_http_1.HttpRequest({
183
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
135
+ const b = (0, core_2.requestBuilder)(input, context);
195
136
  const headers = {};
196
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}";
197
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
137
+ b.bp("/applications/{applicationId}");
138
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
198
139
  let body;
199
- return new protocol_http_1.HttpRequest({
200
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
145
+ const b = (0, core_2.requestBuilder)(input, context);
212
146
  const headers = {};
213
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
214
- "/applications/{applicationId}/versions/{applicationVersion}";
215
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
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
- return new protocol_http_1.HttpRequest({
219
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
156
+ const b = (0, core_2.requestBuilder)(input, context);
231
157
  const headers = {};
232
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
233
- "/applications/{applicationId}/batch-job-executions/{executionId}";
234
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
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
- return new protocol_http_1.HttpRequest({
238
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
167
+ const b = (0, core_2.requestBuilder)(input, context);
250
168
  const headers = {};
251
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
252
- "/applications/{applicationId}/datasets/{dataSetName}";
253
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
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
- return new protocol_http_1.HttpRequest({
257
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
178
+ const b = (0, core_2.requestBuilder)(input, context);
269
179
  const headers = {};
270
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
271
- "/applications/{applicationId}/dataset-import-tasks/{taskId}";
272
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
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
- return new protocol_http_1.HttpRequest({
276
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
189
+ const b = (0, core_2.requestBuilder)(input, context);
288
190
  const headers = {};
289
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
290
- "/applications/{applicationId}/deployments/{deploymentId}";
291
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "deploymentId", () => input.deploymentId, "{deploymentId}", false);
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
- return new protocol_http_1.HttpRequest({
295
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
200
+ const b = (0, core_2.requestBuilder)(input, context);
307
201
  const headers = {};
308
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/environments/{environmentId}";
309
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
202
+ b.bp("/environments/{environmentId}");
203
+ b.p("environmentId", () => input.environmentId, "{environmentId}", false);
310
204
  let body;
311
- return new protocol_http_1.HttpRequest({
312
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
210
+ const b = (0, core_2.requestBuilder)(input, context);
324
211
  const headers = {
325
212
  "content-type": "application/json",
326
213
  };
327
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signed-bi-url";
214
+ b.bp("/signed-bi-url");
328
215
  let body;
329
216
  body = "";
330
- return new protocol_http_1.HttpRequest({
331
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
222
+ const b = (0, core_2.requestBuilder)(input, context);
343
223
  const headers = {};
344
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
224
+ b.bp("/applications");
345
225
  const query = (0, smithy_client_1.map)({
346
- nextToken: [, input.nextToken],
347
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
348
- names: [() => input.names !== void 0, () => (input.names || []).map((_entry) => _entry)],
349
- environmentId: [, input.environmentId],
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
- return new protocol_http_1.HttpRequest({
353
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
237
+ const b = (0, core_2.requestBuilder)(input, context);
366
238
  const headers = {};
367
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/versions";
368
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
239
+ b.bp("/applications/{applicationId}/versions");
240
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
369
241
  const query = (0, smithy_client_1.map)({
370
- nextToken: [, input.nextToken],
371
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
242
+ [_nT]: [, input[_nT]],
243
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
372
244
  });
373
245
  let body;
374
- return new protocol_http_1.HttpRequest({
375
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
251
+ const b = (0, core_2.requestBuilder)(input, context);
388
252
  const headers = {};
389
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
390
- "/applications/{applicationId}/batch-job-definitions";
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
- nextToken: [, input.nextToken],
394
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
395
- prefix: [, input.prefix],
256
+ [_nT]: [, input[_nT]],
257
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
258
+ [_p]: [, input[_p]],
396
259
  });
397
260
  let body;
398
- return new protocol_http_1.HttpRequest({
399
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
266
+ const b = (0, core_2.requestBuilder)(input, context);
412
267
  const headers = {};
413
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
414
- "/applications/{applicationId}/batch-job-executions";
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
- nextToken: [, input.nextToken],
418
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
419
- executionIds: [
420
- () => input.executionIds !== void 0,
421
- () => (input.executionIds || []).map((_entry) => _entry),
422
- ],
423
- jobName: [, input.jobName],
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
- return new protocol_http_1.HttpRequest({
436
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
285
+ const b = (0, core_2.requestBuilder)(input, context);
449
286
  const headers = {};
450
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
451
- "/applications/{applicationId}/dataset-import-tasks";
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
- nextToken: [, input.nextToken],
455
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
290
+ [_nT]: [, input[_nT]],
291
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
456
292
  });
457
293
  let body;
458
- return new protocol_http_1.HttpRequest({
459
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
299
+ const b = (0, core_2.requestBuilder)(input, context);
472
300
  const headers = {};
473
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/datasets";
474
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
301
+ b.bp("/applications/{applicationId}/datasets");
302
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
475
303
  const query = (0, smithy_client_1.map)({
476
- nextToken: [, input.nextToken],
477
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
478
- prefix: [, input.prefix],
479
- nameFilter: [, input.nameFilter],
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
- return new protocol_http_1.HttpRequest({
483
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
315
+ const b = (0, core_2.requestBuilder)(input, context);
496
316
  const headers = {};
497
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/deployments";
498
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
317
+ b.bp("/applications/{applicationId}/deployments");
318
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
499
319
  const query = (0, smithy_client_1.map)({
500
- nextToken: [, input.nextToken],
501
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
320
+ [_nT]: [, input[_nT]],
321
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
502
322
  });
503
323
  let body;
504
- return new protocol_http_1.HttpRequest({
505
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
329
+ const b = (0, core_2.requestBuilder)(input, context);
518
330
  const headers = {};
519
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/engine-versions";
331
+ b.bp("/engine-versions");
520
332
  const query = (0, smithy_client_1.map)({
521
- engineType: [, input.engineType],
522
- nextToken: [, input.nextToken],
523
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
333
+ [_eT]: [, input[_eT]],
334
+ [_nT]: [, input[_nT]],
335
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
524
336
  });
525
337
  let body;
526
- return new protocol_http_1.HttpRequest({
527
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
343
+ const b = (0, core_2.requestBuilder)(input, context);
540
344
  const headers = {};
541
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/environments";
345
+ b.bp("/environments");
542
346
  const query = (0, smithy_client_1.map)({
543
- nextToken: [, input.nextToken],
544
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
545
- names: [() => input.names !== void 0, () => (input.names || []).map((_entry) => _entry)],
546
- engineType: [, input.engineType],
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
- return new protocol_http_1.HttpRequest({
550
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
358
+ const b = (0, core_2.requestBuilder)(input, context);
563
359
  const headers = {};
564
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
565
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
360
+ b.bp("/tags/{resourceArn}");
361
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
566
362
  let body;
567
- return new protocol_http_1.HttpRequest({
568
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
368
+ const b = (0, core_2.requestBuilder)(input, context);
580
369
  const headers = {};
581
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/start";
582
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
370
+ b.bp("/applications/{applicationId}/start");
371
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
583
372
  let body;
584
- return new protocol_http_1.HttpRequest({
585
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
378
+ const b = (0, core_2.requestBuilder)(input, context);
597
379
  const headers = {
598
380
  "content-type": "application/json",
599
381
  };
600
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/batch-job";
601
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
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
- return new protocol_http_1.HttpRequest({
608
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
394
+ const b = (0, core_2.requestBuilder)(input, context);
620
395
  const headers = {
621
396
  "content-type": "application/json",
622
397
  };
623
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/stop";
624
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
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
- return new protocol_http_1.HttpRequest({
630
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
409
+ const b = (0, core_2.requestBuilder)(input, context);
642
410
  const headers = {
643
411
  "content-type": "application/json",
644
412
  };
645
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
646
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
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
- return new protocol_http_1.HttpRequest({
652
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
424
+ const b = (0, core_2.requestBuilder)(input, context);
664
425
  const headers = {};
665
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
666
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
426
+ b.bp("/tags/{resourceArn}");
427
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
667
428
  const query = (0, smithy_client_1.map)({
668
- tagKeys: [
429
+ [_tK]: [
669
430
  (0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
670
- () => (input.tagKeys || []).map((_entry) => _entry),
431
+ () => (input[_tK] || []).map((_entry) => _entry),
671
432
  ],
672
433
  });
673
434
  let body;
674
- return new protocol_http_1.HttpRequest({
675
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
440
+ const b = (0, core_2.requestBuilder)(input, context);
688
441
  const headers = {
689
442
  "content-type": "application/json",
690
443
  };
691
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}";
692
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "applicationId", () => input.applicationId, "{applicationId}", false);
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
- return new protocol_http_1.HttpRequest({
700
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
457
+ const b = (0, core_2.requestBuilder)(input, context);
712
458
  const headers = {
713
459
  "content-type": "application/json",
714
460
  };
715
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/environments/{environmentId}";
716
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
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
- return new protocol_http_1.HttpRequest({
727
- protocol,
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
- retryAfterSeconds: [
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
- retryAfterSeconds: [
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);