@aws-sdk/client-migrationhuborchestrator 3.476.0 → 3.478.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/pagination/ListPluginsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTemplateStepGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTemplateStepsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkflowStepGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkflowStepsPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkflowsPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +179 -382
- package/dist-es/pagination/ListPluginsPaginator.js +2 -23
- package/dist-es/pagination/ListTemplateStepGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListTemplateStepsPaginator.js +2 -23
- package/dist-es/pagination/ListTemplatesPaginator.js +2 -23
- package/dist-es/pagination/ListWorkflowStepGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListWorkflowStepsPaginator.js +2 -23
- package/dist-es/pagination/ListWorkflowsPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +180 -383
- package/dist-types/pagination/ListPluginsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTemplateStepGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTemplateStepsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowStepGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowStepsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListPluginsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTemplateStepGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTemplateStepsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkflowStepGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkflowStepsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp,
|
|
1
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { MigrationHubOrchestratorServiceException as __BaseException } from "../models/MigrationHubOrchestratorServiceException";
|
|
4
4
|
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
5
|
export const se_CreateWorkflowCommand = async (input, context) => {
|
|
6
|
-
const
|
|
6
|
+
const b = rb(input, context);
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/json",
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
b.bp("/migrationworkflow");
|
|
11
11
|
let body;
|
|
12
12
|
body = JSON.stringify(take(input, {
|
|
13
13
|
applicationConfigurationId: [],
|
|
@@ -18,22 +18,15 @@ export const se_CreateWorkflowCommand = async (input, context) => {
|
|
|
18
18
|
tags: (_) => _json(_),
|
|
19
19
|
templateId: [],
|
|
20
20
|
}));
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
hostname,
|
|
24
|
-
port,
|
|
25
|
-
method: "POST",
|
|
26
|
-
headers,
|
|
27
|
-
path: resolvedPath,
|
|
28
|
-
body,
|
|
29
|
-
});
|
|
21
|
+
b.m("POST").h(headers).b(body);
|
|
22
|
+
return b.build();
|
|
30
23
|
};
|
|
31
24
|
export const se_CreateWorkflowStepCommand = async (input, context) => {
|
|
32
|
-
const
|
|
25
|
+
const b = rb(input, context);
|
|
33
26
|
const headers = {
|
|
34
27
|
"content-type": "application/json",
|
|
35
28
|
};
|
|
36
|
-
|
|
29
|
+
b.bp("/workflowstep");
|
|
37
30
|
let body;
|
|
38
31
|
body = JSON.stringify(take(input, {
|
|
39
32
|
description: [],
|
|
@@ -47,22 +40,15 @@ export const se_CreateWorkflowStepCommand = async (input, context) => {
|
|
|
47
40
|
workflowId: [],
|
|
48
41
|
workflowStepAutomationConfiguration: (_) => _json(_),
|
|
49
42
|
}));
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
hostname,
|
|
53
|
-
port,
|
|
54
|
-
method: "POST",
|
|
55
|
-
headers,
|
|
56
|
-
path: resolvedPath,
|
|
57
|
-
body,
|
|
58
|
-
});
|
|
43
|
+
b.m("POST").h(headers).b(body);
|
|
44
|
+
return b.build();
|
|
59
45
|
};
|
|
60
46
|
export const se_CreateWorkflowStepGroupCommand = async (input, context) => {
|
|
61
|
-
const
|
|
47
|
+
const b = rb(input, context);
|
|
62
48
|
const headers = {
|
|
63
49
|
"content-type": "application/json",
|
|
64
50
|
};
|
|
65
|
-
|
|
51
|
+
b.bp("/workflowstepgroups");
|
|
66
52
|
let body;
|
|
67
53
|
body = JSON.stringify(take(input, {
|
|
68
54
|
description: [],
|
|
@@ -71,456 +57,280 @@ export const se_CreateWorkflowStepGroupCommand = async (input, context) => {
|
|
|
71
57
|
previous: (_) => _json(_),
|
|
72
58
|
workflowId: [],
|
|
73
59
|
}));
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
hostname,
|
|
77
|
-
port,
|
|
78
|
-
method: "POST",
|
|
79
|
-
headers,
|
|
80
|
-
path: resolvedPath,
|
|
81
|
-
body,
|
|
82
|
-
});
|
|
60
|
+
b.m("POST").h(headers).b(body);
|
|
61
|
+
return b.build();
|
|
83
62
|
};
|
|
84
63
|
export const se_DeleteWorkflowCommand = async (input, context) => {
|
|
85
|
-
const
|
|
64
|
+
const b = rb(input, context);
|
|
86
65
|
const headers = {};
|
|
87
|
-
|
|
88
|
-
|
|
66
|
+
b.bp("/migrationworkflow/{id}");
|
|
67
|
+
b.p("id", () => input.id, "{id}", false);
|
|
89
68
|
let body;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
hostname,
|
|
93
|
-
port,
|
|
94
|
-
method: "DELETE",
|
|
95
|
-
headers,
|
|
96
|
-
path: resolvedPath,
|
|
97
|
-
body,
|
|
98
|
-
});
|
|
69
|
+
b.m("DELETE").h(headers).b(body);
|
|
70
|
+
return b.build();
|
|
99
71
|
};
|
|
100
72
|
export const se_DeleteWorkflowStepCommand = async (input, context) => {
|
|
101
|
-
const
|
|
73
|
+
const b = rb(input, context);
|
|
102
74
|
const headers = {};
|
|
103
|
-
|
|
104
|
-
|
|
75
|
+
b.bp("/workflowstep/{id}");
|
|
76
|
+
b.p("id", () => input.id, "{id}", false);
|
|
105
77
|
const query = map({
|
|
106
|
-
|
|
107
|
-
|
|
78
|
+
[_sGI]: [, __expectNonNull(input[_sGI], `stepGroupId`)],
|
|
79
|
+
[_wI]: [, __expectNonNull(input[_wI], `workflowId`)],
|
|
108
80
|
});
|
|
109
81
|
let body;
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
hostname,
|
|
113
|
-
port,
|
|
114
|
-
method: "DELETE",
|
|
115
|
-
headers,
|
|
116
|
-
path: resolvedPath,
|
|
117
|
-
query,
|
|
118
|
-
body,
|
|
119
|
-
});
|
|
82
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
83
|
+
return b.build();
|
|
120
84
|
};
|
|
121
85
|
export const se_DeleteWorkflowStepGroupCommand = async (input, context) => {
|
|
122
|
-
const
|
|
86
|
+
const b = rb(input, context);
|
|
123
87
|
const headers = {};
|
|
124
|
-
|
|
125
|
-
|
|
88
|
+
b.bp("/workflowstepgroup/{id}");
|
|
89
|
+
b.p("id", () => input.id, "{id}", false);
|
|
126
90
|
const query = map({
|
|
127
|
-
|
|
91
|
+
[_wI]: [, __expectNonNull(input[_wI], `workflowId`)],
|
|
128
92
|
});
|
|
129
93
|
let body;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
hostname,
|
|
133
|
-
port,
|
|
134
|
-
method: "DELETE",
|
|
135
|
-
headers,
|
|
136
|
-
path: resolvedPath,
|
|
137
|
-
query,
|
|
138
|
-
body,
|
|
139
|
-
});
|
|
94
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
95
|
+
return b.build();
|
|
140
96
|
};
|
|
141
97
|
export const se_GetTemplateCommand = async (input, context) => {
|
|
142
|
-
const
|
|
98
|
+
const b = rb(input, context);
|
|
143
99
|
const headers = {};
|
|
144
|
-
|
|
145
|
-
|
|
100
|
+
b.bp("/migrationworkflowtemplate/{id}");
|
|
101
|
+
b.p("id", () => input.id, "{id}", false);
|
|
146
102
|
let body;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
hostname,
|
|
150
|
-
port,
|
|
151
|
-
method: "GET",
|
|
152
|
-
headers,
|
|
153
|
-
path: resolvedPath,
|
|
154
|
-
body,
|
|
155
|
-
});
|
|
103
|
+
b.m("GET").h(headers).b(body);
|
|
104
|
+
return b.build();
|
|
156
105
|
};
|
|
157
106
|
export const se_GetTemplateStepCommand = async (input, context) => {
|
|
158
|
-
const
|
|
107
|
+
const b = rb(input, context);
|
|
159
108
|
const headers = {};
|
|
160
|
-
|
|
161
|
-
|
|
109
|
+
b.bp("/templatestep/{id}");
|
|
110
|
+
b.p("id", () => input.id, "{id}", false);
|
|
162
111
|
const query = map({
|
|
163
|
-
|
|
164
|
-
|
|
112
|
+
[_tI]: [, __expectNonNull(input[_tI], `templateId`)],
|
|
113
|
+
[_sGI]: [, __expectNonNull(input[_sGI], `stepGroupId`)],
|
|
165
114
|
});
|
|
166
115
|
let body;
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
hostname,
|
|
170
|
-
port,
|
|
171
|
-
method: "GET",
|
|
172
|
-
headers,
|
|
173
|
-
path: resolvedPath,
|
|
174
|
-
query,
|
|
175
|
-
body,
|
|
176
|
-
});
|
|
116
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
117
|
+
return b.build();
|
|
177
118
|
};
|
|
178
119
|
export const se_GetTemplateStepGroupCommand = async (input, context) => {
|
|
179
|
-
const
|
|
120
|
+
const b = rb(input, context);
|
|
180
121
|
const headers = {};
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
122
|
+
b.bp("/templates/{templateId}/stepgroups/{id}");
|
|
123
|
+
b.p("templateId", () => input.templateId, "{templateId}", false);
|
|
124
|
+
b.p("id", () => input.id, "{id}", false);
|
|
184
125
|
let body;
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
hostname,
|
|
188
|
-
port,
|
|
189
|
-
method: "GET",
|
|
190
|
-
headers,
|
|
191
|
-
path: resolvedPath,
|
|
192
|
-
body,
|
|
193
|
-
});
|
|
126
|
+
b.m("GET").h(headers).b(body);
|
|
127
|
+
return b.build();
|
|
194
128
|
};
|
|
195
129
|
export const se_GetWorkflowCommand = async (input, context) => {
|
|
196
|
-
const
|
|
130
|
+
const b = rb(input, context);
|
|
197
131
|
const headers = {};
|
|
198
|
-
|
|
199
|
-
|
|
132
|
+
b.bp("/migrationworkflow/{id}");
|
|
133
|
+
b.p("id", () => input.id, "{id}", false);
|
|
200
134
|
let body;
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
hostname,
|
|
204
|
-
port,
|
|
205
|
-
method: "GET",
|
|
206
|
-
headers,
|
|
207
|
-
path: resolvedPath,
|
|
208
|
-
body,
|
|
209
|
-
});
|
|
135
|
+
b.m("GET").h(headers).b(body);
|
|
136
|
+
return b.build();
|
|
210
137
|
};
|
|
211
138
|
export const se_GetWorkflowStepCommand = async (input, context) => {
|
|
212
|
-
const
|
|
139
|
+
const b = rb(input, context);
|
|
213
140
|
const headers = {};
|
|
214
|
-
|
|
215
|
-
|
|
141
|
+
b.bp("/workflowstep/{id}");
|
|
142
|
+
b.p("id", () => input.id, "{id}", false);
|
|
216
143
|
const query = map({
|
|
217
|
-
|
|
218
|
-
|
|
144
|
+
[_wI]: [, __expectNonNull(input[_wI], `workflowId`)],
|
|
145
|
+
[_sGI]: [, __expectNonNull(input[_sGI], `stepGroupId`)],
|
|
219
146
|
});
|
|
220
147
|
let body;
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
hostname,
|
|
224
|
-
port,
|
|
225
|
-
method: "GET",
|
|
226
|
-
headers,
|
|
227
|
-
path: resolvedPath,
|
|
228
|
-
query,
|
|
229
|
-
body,
|
|
230
|
-
});
|
|
148
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
149
|
+
return b.build();
|
|
231
150
|
};
|
|
232
151
|
export const se_GetWorkflowStepGroupCommand = async (input, context) => {
|
|
233
|
-
const
|
|
152
|
+
const b = rb(input, context);
|
|
234
153
|
const headers = {};
|
|
235
|
-
|
|
236
|
-
|
|
154
|
+
b.bp("/workflowstepgroup/{id}");
|
|
155
|
+
b.p("id", () => input.id, "{id}", false);
|
|
237
156
|
const query = map({
|
|
238
|
-
|
|
157
|
+
[_wI]: [, __expectNonNull(input[_wI], `workflowId`)],
|
|
239
158
|
});
|
|
240
159
|
let body;
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
hostname,
|
|
244
|
-
port,
|
|
245
|
-
method: "GET",
|
|
246
|
-
headers,
|
|
247
|
-
path: resolvedPath,
|
|
248
|
-
query,
|
|
249
|
-
body,
|
|
250
|
-
});
|
|
160
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
161
|
+
return b.build();
|
|
251
162
|
};
|
|
252
163
|
export const se_ListPluginsCommand = async (input, context) => {
|
|
253
|
-
const
|
|
164
|
+
const b = rb(input, context);
|
|
254
165
|
const headers = {};
|
|
255
|
-
|
|
166
|
+
b.bp("/plugins");
|
|
256
167
|
const query = map({
|
|
257
|
-
|
|
258
|
-
|
|
168
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
169
|
+
[_nT]: [, input[_nT]],
|
|
259
170
|
});
|
|
260
171
|
let body;
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
hostname,
|
|
264
|
-
port,
|
|
265
|
-
method: "GET",
|
|
266
|
-
headers,
|
|
267
|
-
path: resolvedPath,
|
|
268
|
-
query,
|
|
269
|
-
body,
|
|
270
|
-
});
|
|
172
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
173
|
+
return b.build();
|
|
271
174
|
};
|
|
272
175
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
273
|
-
const
|
|
176
|
+
const b = rb(input, context);
|
|
274
177
|
const headers = {};
|
|
275
|
-
|
|
276
|
-
|
|
178
|
+
b.bp("/tags/{resourceArn}");
|
|
179
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
277
180
|
let body;
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
hostname,
|
|
281
|
-
port,
|
|
282
|
-
method: "GET",
|
|
283
|
-
headers,
|
|
284
|
-
path: resolvedPath,
|
|
285
|
-
body,
|
|
286
|
-
});
|
|
181
|
+
b.m("GET").h(headers).b(body);
|
|
182
|
+
return b.build();
|
|
287
183
|
};
|
|
288
184
|
export const se_ListTemplatesCommand = async (input, context) => {
|
|
289
|
-
const
|
|
185
|
+
const b = rb(input, context);
|
|
290
186
|
const headers = {};
|
|
291
|
-
|
|
187
|
+
b.bp("/migrationworkflowtemplates");
|
|
292
188
|
const query = map({
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
189
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
190
|
+
[_nT]: [, input[_nT]],
|
|
191
|
+
[_n]: [, input[_n]],
|
|
296
192
|
});
|
|
297
193
|
let body;
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
hostname,
|
|
301
|
-
port,
|
|
302
|
-
method: "GET",
|
|
303
|
-
headers,
|
|
304
|
-
path: resolvedPath,
|
|
305
|
-
query,
|
|
306
|
-
body,
|
|
307
|
-
});
|
|
194
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
195
|
+
return b.build();
|
|
308
196
|
};
|
|
309
197
|
export const se_ListTemplateStepGroupsCommand = async (input, context) => {
|
|
310
|
-
const
|
|
198
|
+
const b = rb(input, context);
|
|
311
199
|
const headers = {};
|
|
312
|
-
|
|
313
|
-
|
|
200
|
+
b.bp("/templatestepgroups/{templateId}");
|
|
201
|
+
b.p("templateId", () => input.templateId, "{templateId}", false);
|
|
314
202
|
const query = map({
|
|
315
|
-
|
|
316
|
-
|
|
203
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
204
|
+
[_nT]: [, input[_nT]],
|
|
317
205
|
});
|
|
318
206
|
let body;
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
hostname,
|
|
322
|
-
port,
|
|
323
|
-
method: "GET",
|
|
324
|
-
headers,
|
|
325
|
-
path: resolvedPath,
|
|
326
|
-
query,
|
|
327
|
-
body,
|
|
328
|
-
});
|
|
207
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
208
|
+
return b.build();
|
|
329
209
|
};
|
|
330
210
|
export const se_ListTemplateStepsCommand = async (input, context) => {
|
|
331
|
-
const
|
|
211
|
+
const b = rb(input, context);
|
|
332
212
|
const headers = {};
|
|
333
|
-
|
|
213
|
+
b.bp("/templatesteps");
|
|
334
214
|
const query = map({
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
215
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
216
|
+
[_nT]: [, input[_nT]],
|
|
217
|
+
[_tI]: [, __expectNonNull(input[_tI], `templateId`)],
|
|
218
|
+
[_sGI]: [, __expectNonNull(input[_sGI], `stepGroupId`)],
|
|
339
219
|
});
|
|
340
220
|
let body;
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
hostname,
|
|
344
|
-
port,
|
|
345
|
-
method: "GET",
|
|
346
|
-
headers,
|
|
347
|
-
path: resolvedPath,
|
|
348
|
-
query,
|
|
349
|
-
body,
|
|
350
|
-
});
|
|
221
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
222
|
+
return b.build();
|
|
351
223
|
};
|
|
352
224
|
export const se_ListWorkflowsCommand = async (input, context) => {
|
|
353
|
-
const
|
|
225
|
+
const b = rb(input, context);
|
|
354
226
|
const headers = {};
|
|
355
|
-
|
|
227
|
+
b.bp("/migrationworkflows");
|
|
356
228
|
const query = map({
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
229
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
230
|
+
[_nT]: [, input[_nT]],
|
|
231
|
+
[_tI]: [, input[_tI]],
|
|
232
|
+
[_aACN]: [, input[_aACN]],
|
|
233
|
+
[_s]: [, input[_s]],
|
|
234
|
+
[_n]: [, input[_n]],
|
|
363
235
|
});
|
|
364
236
|
let body;
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
hostname,
|
|
368
|
-
port,
|
|
369
|
-
method: "GET",
|
|
370
|
-
headers,
|
|
371
|
-
path: resolvedPath,
|
|
372
|
-
query,
|
|
373
|
-
body,
|
|
374
|
-
});
|
|
237
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
238
|
+
return b.build();
|
|
375
239
|
};
|
|
376
240
|
export const se_ListWorkflowStepGroupsCommand = async (input, context) => {
|
|
377
|
-
const
|
|
241
|
+
const b = rb(input, context);
|
|
378
242
|
const headers = {};
|
|
379
|
-
|
|
243
|
+
b.bp("/workflowstepgroups");
|
|
380
244
|
const query = map({
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
245
|
+
[_nT]: [, input[_nT]],
|
|
246
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
247
|
+
[_wI]: [, __expectNonNull(input[_wI], `workflowId`)],
|
|
384
248
|
});
|
|
385
249
|
let body;
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
hostname,
|
|
389
|
-
port,
|
|
390
|
-
method: "GET",
|
|
391
|
-
headers,
|
|
392
|
-
path: resolvedPath,
|
|
393
|
-
query,
|
|
394
|
-
body,
|
|
395
|
-
});
|
|
250
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
251
|
+
return b.build();
|
|
396
252
|
};
|
|
397
253
|
export const se_ListWorkflowStepsCommand = async (input, context) => {
|
|
398
|
-
const
|
|
254
|
+
const b = rb(input, context);
|
|
399
255
|
const headers = {};
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "stepGroupId", () => input.stepGroupId, "{stepGroupId}", false);
|
|
256
|
+
b.bp("/workflow/{workflowId}/workflowstepgroups/{stepGroupId}/workflowsteps");
|
|
257
|
+
b.p("workflowId", () => input.workflowId, "{workflowId}", false);
|
|
258
|
+
b.p("stepGroupId", () => input.stepGroupId, "{stepGroupId}", false);
|
|
404
259
|
const query = map({
|
|
405
|
-
|
|
406
|
-
|
|
260
|
+
[_nT]: [, input[_nT]],
|
|
261
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
407
262
|
});
|
|
408
263
|
let body;
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
hostname,
|
|
412
|
-
port,
|
|
413
|
-
method: "GET",
|
|
414
|
-
headers,
|
|
415
|
-
path: resolvedPath,
|
|
416
|
-
query,
|
|
417
|
-
body,
|
|
418
|
-
});
|
|
264
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
265
|
+
return b.build();
|
|
419
266
|
};
|
|
420
267
|
export const se_RetryWorkflowStepCommand = async (input, context) => {
|
|
421
|
-
const
|
|
268
|
+
const b = rb(input, context);
|
|
422
269
|
const headers = {};
|
|
423
|
-
|
|
424
|
-
|
|
270
|
+
b.bp("/retryworkflowstep/{id}");
|
|
271
|
+
b.p("id", () => input.id, "{id}", false);
|
|
425
272
|
const query = map({
|
|
426
|
-
|
|
427
|
-
|
|
273
|
+
[_wI]: [, __expectNonNull(input[_wI], `workflowId`)],
|
|
274
|
+
[_sGI]: [, __expectNonNull(input[_sGI], `stepGroupId`)],
|
|
428
275
|
});
|
|
429
276
|
let body;
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
hostname,
|
|
433
|
-
port,
|
|
434
|
-
method: "POST",
|
|
435
|
-
headers,
|
|
436
|
-
path: resolvedPath,
|
|
437
|
-
query,
|
|
438
|
-
body,
|
|
439
|
-
});
|
|
277
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
278
|
+
return b.build();
|
|
440
279
|
};
|
|
441
280
|
export const se_StartWorkflowCommand = async (input, context) => {
|
|
442
|
-
const
|
|
281
|
+
const b = rb(input, context);
|
|
443
282
|
const headers = {};
|
|
444
|
-
|
|
445
|
-
|
|
283
|
+
b.bp("/migrationworkflow/{id}/start");
|
|
284
|
+
b.p("id", () => input.id, "{id}", false);
|
|
446
285
|
let body;
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
hostname,
|
|
450
|
-
port,
|
|
451
|
-
method: "POST",
|
|
452
|
-
headers,
|
|
453
|
-
path: resolvedPath,
|
|
454
|
-
body,
|
|
455
|
-
});
|
|
286
|
+
b.m("POST").h(headers).b(body);
|
|
287
|
+
return b.build();
|
|
456
288
|
};
|
|
457
289
|
export const se_StopWorkflowCommand = async (input, context) => {
|
|
458
|
-
const
|
|
290
|
+
const b = rb(input, context);
|
|
459
291
|
const headers = {};
|
|
460
|
-
|
|
461
|
-
|
|
292
|
+
b.bp("/migrationworkflow/{id}/stop");
|
|
293
|
+
b.p("id", () => input.id, "{id}", false);
|
|
462
294
|
let body;
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
hostname,
|
|
466
|
-
port,
|
|
467
|
-
method: "POST",
|
|
468
|
-
headers,
|
|
469
|
-
path: resolvedPath,
|
|
470
|
-
body,
|
|
471
|
-
});
|
|
295
|
+
b.m("POST").h(headers).b(body);
|
|
296
|
+
return b.build();
|
|
472
297
|
};
|
|
473
298
|
export const se_TagResourceCommand = async (input, context) => {
|
|
474
|
-
const
|
|
299
|
+
const b = rb(input, context);
|
|
475
300
|
const headers = {
|
|
476
301
|
"content-type": "application/json",
|
|
477
302
|
};
|
|
478
|
-
|
|
479
|
-
|
|
303
|
+
b.bp("/tags/{resourceArn}");
|
|
304
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
480
305
|
let body;
|
|
481
306
|
body = JSON.stringify(take(input, {
|
|
482
307
|
tags: (_) => _json(_),
|
|
483
308
|
}));
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
hostname,
|
|
487
|
-
port,
|
|
488
|
-
method: "POST",
|
|
489
|
-
headers,
|
|
490
|
-
path: resolvedPath,
|
|
491
|
-
body,
|
|
492
|
-
});
|
|
309
|
+
b.m("POST").h(headers).b(body);
|
|
310
|
+
return b.build();
|
|
493
311
|
};
|
|
494
312
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
495
|
-
const
|
|
313
|
+
const b = rb(input, context);
|
|
496
314
|
const headers = {};
|
|
497
|
-
|
|
498
|
-
|
|
315
|
+
b.bp("/tags/{resourceArn}");
|
|
316
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
499
317
|
const query = map({
|
|
500
|
-
|
|
318
|
+
[_tK]: [
|
|
501
319
|
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
502
|
-
() => (input
|
|
320
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
503
321
|
],
|
|
504
322
|
});
|
|
505
323
|
let body;
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
hostname,
|
|
509
|
-
port,
|
|
510
|
-
method: "DELETE",
|
|
511
|
-
headers,
|
|
512
|
-
path: resolvedPath,
|
|
513
|
-
query,
|
|
514
|
-
body,
|
|
515
|
-
});
|
|
324
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
325
|
+
return b.build();
|
|
516
326
|
};
|
|
517
327
|
export const se_UpdateWorkflowCommand = async (input, context) => {
|
|
518
|
-
const
|
|
328
|
+
const b = rb(input, context);
|
|
519
329
|
const headers = {
|
|
520
330
|
"content-type": "application/json",
|
|
521
331
|
};
|
|
522
|
-
|
|
523
|
-
|
|
332
|
+
b.bp("/migrationworkflow/{id}");
|
|
333
|
+
b.p("id", () => input.id, "{id}", false);
|
|
524
334
|
let body;
|
|
525
335
|
body = JSON.stringify(take(input, {
|
|
526
336
|
description: [],
|
|
@@ -528,23 +338,16 @@ export const se_UpdateWorkflowCommand = async (input, context) => {
|
|
|
528
338
|
name: [],
|
|
529
339
|
stepTargets: (_) => _json(_),
|
|
530
340
|
}));
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
hostname,
|
|
534
|
-
port,
|
|
535
|
-
method: "POST",
|
|
536
|
-
headers,
|
|
537
|
-
path: resolvedPath,
|
|
538
|
-
body,
|
|
539
|
-
});
|
|
341
|
+
b.m("POST").h(headers).b(body);
|
|
342
|
+
return b.build();
|
|
540
343
|
};
|
|
541
344
|
export const se_UpdateWorkflowStepCommand = async (input, context) => {
|
|
542
|
-
const
|
|
345
|
+
const b = rb(input, context);
|
|
543
346
|
const headers = {
|
|
544
347
|
"content-type": "application/json",
|
|
545
348
|
};
|
|
546
|
-
|
|
547
|
-
|
|
349
|
+
b.bp("/workflowstep/{id}");
|
|
350
|
+
b.p("id", () => input.id, "{id}", false);
|
|
548
351
|
let body;
|
|
549
352
|
body = JSON.stringify(take(input, {
|
|
550
353
|
description: [],
|
|
@@ -559,25 +362,18 @@ export const se_UpdateWorkflowStepCommand = async (input, context) => {
|
|
|
559
362
|
workflowId: [],
|
|
560
363
|
workflowStepAutomationConfiguration: (_) => _json(_),
|
|
561
364
|
}));
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
hostname,
|
|
565
|
-
port,
|
|
566
|
-
method: "POST",
|
|
567
|
-
headers,
|
|
568
|
-
path: resolvedPath,
|
|
569
|
-
body,
|
|
570
|
-
});
|
|
365
|
+
b.m("POST").h(headers).b(body);
|
|
366
|
+
return b.build();
|
|
571
367
|
};
|
|
572
368
|
export const se_UpdateWorkflowStepGroupCommand = async (input, context) => {
|
|
573
|
-
const
|
|
369
|
+
const b = rb(input, context);
|
|
574
370
|
const headers = {
|
|
575
371
|
"content-type": "application/json",
|
|
576
372
|
};
|
|
577
|
-
|
|
578
|
-
|
|
373
|
+
b.bp("/workflowstepgroup/{id}");
|
|
374
|
+
b.p("id", () => input.id, "{id}", false);
|
|
579
375
|
const query = map({
|
|
580
|
-
|
|
376
|
+
[_wI]: [, __expectNonNull(input[_wI], `workflowId`)],
|
|
581
377
|
});
|
|
582
378
|
let body;
|
|
583
379
|
body = JSON.stringify(take(input, {
|
|
@@ -586,16 +382,8 @@ export const se_UpdateWorkflowStepGroupCommand = async (input, context) => {
|
|
|
586
382
|
next: (_) => _json(_),
|
|
587
383
|
previous: (_) => _json(_),
|
|
588
384
|
}));
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
hostname,
|
|
592
|
-
port,
|
|
593
|
-
method: "POST",
|
|
594
|
-
headers,
|
|
595
|
-
path: resolvedPath,
|
|
596
|
-
query,
|
|
597
|
-
body,
|
|
598
|
-
});
|
|
385
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
386
|
+
return b.build();
|
|
599
387
|
};
|
|
600
388
|
export const de_CreateWorkflowCommand = async (output, context) => {
|
|
601
389
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -2011,6 +1799,15 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
2011
1799
|
value !== "" &&
|
|
2012
1800
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
2013
1801
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1802
|
+
const _aACN = "adsApplicationConfigurationName";
|
|
1803
|
+
const _mR = "maxResults";
|
|
1804
|
+
const _n = "name";
|
|
1805
|
+
const _nT = "nextToken";
|
|
1806
|
+
const _s = "status";
|
|
1807
|
+
const _sGI = "stepGroupId";
|
|
1808
|
+
const _tI = "templateId";
|
|
1809
|
+
const _tK = "tagKeys";
|
|
1810
|
+
const _wI = "workflowId";
|
|
2014
1811
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2015
1812
|
if (encoded.length) {
|
|
2016
1813
|
return JSON.parse(encoded);
|