@aws-sdk/client-migrationhuborchestrator 3.216.0 → 3.222.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.
|
@@ -115,8 +115,8 @@ const serializeAws_restJson1DeleteWorkflowStepCommand = async (input, context) =
|
|
|
115
115
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstep/{id}";
|
|
116
116
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
117
117
|
const query = map({
|
|
118
|
-
stepGroupId: [, input.stepGroupId],
|
|
119
|
-
workflowId: [, input.workflowId],
|
|
118
|
+
stepGroupId: [, (0, smithy_client_1.expectNonNull)(input.stepGroupId, `stepGroupId`)],
|
|
119
|
+
workflowId: [, (0, smithy_client_1.expectNonNull)(input.workflowId, `workflowId`)],
|
|
120
120
|
});
|
|
121
121
|
let body;
|
|
122
122
|
return new protocol_http_1.HttpRequest({
|
|
@@ -137,7 +137,7 @@ const serializeAws_restJson1DeleteWorkflowStepGroupCommand = async (input, conte
|
|
|
137
137
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstepgroup/{id}";
|
|
138
138
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
139
139
|
const query = map({
|
|
140
|
-
workflowId: [, input.workflowId],
|
|
140
|
+
workflowId: [, (0, smithy_client_1.expectNonNull)(input.workflowId, `workflowId`)],
|
|
141
141
|
});
|
|
142
142
|
let body;
|
|
143
143
|
return new protocol_http_1.HttpRequest({
|
|
@@ -175,8 +175,8 @@ const serializeAws_restJson1GetTemplateStepCommand = async (input, context) => {
|
|
|
175
175
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/templatestep/{id}";
|
|
176
176
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
177
177
|
const query = map({
|
|
178
|
-
templateId: [, input.templateId],
|
|
179
|
-
stepGroupId: [, input.stepGroupId],
|
|
178
|
+
templateId: [, (0, smithy_client_1.expectNonNull)(input.templateId, `templateId`)],
|
|
179
|
+
stepGroupId: [, (0, smithy_client_1.expectNonNull)(input.stepGroupId, `stepGroupId`)],
|
|
180
180
|
});
|
|
181
181
|
let body;
|
|
182
182
|
return new protocol_http_1.HttpRequest({
|
|
@@ -232,8 +232,8 @@ const serializeAws_restJson1GetWorkflowStepCommand = async (input, context) => {
|
|
|
232
232
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstep/{id}";
|
|
233
233
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
234
234
|
const query = map({
|
|
235
|
-
workflowId: [, input.workflowId],
|
|
236
|
-
stepGroupId: [, input.stepGroupId],
|
|
235
|
+
workflowId: [, (0, smithy_client_1.expectNonNull)(input.workflowId, `workflowId`)],
|
|
236
|
+
stepGroupId: [, (0, smithy_client_1.expectNonNull)(input.stepGroupId, `stepGroupId`)],
|
|
237
237
|
});
|
|
238
238
|
let body;
|
|
239
239
|
return new protocol_http_1.HttpRequest({
|
|
@@ -254,7 +254,7 @@ const serializeAws_restJson1GetWorkflowStepGroupCommand = async (input, context)
|
|
|
254
254
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstepgroup/{id}";
|
|
255
255
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
256
256
|
const query = map({
|
|
257
|
-
workflowId: [, input.workflowId],
|
|
257
|
+
workflowId: [, (0, smithy_client_1.expectNonNull)(input.workflowId, `workflowId`)],
|
|
258
258
|
});
|
|
259
259
|
let body;
|
|
260
260
|
return new protocol_http_1.HttpRequest({
|
|
@@ -358,8 +358,8 @@ const serializeAws_restJson1ListTemplateStepsCommand = async (input, context) =>
|
|
|
358
358
|
const query = map({
|
|
359
359
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
360
360
|
nextToken: [, input.nextToken],
|
|
361
|
-
templateId: [, input.templateId],
|
|
362
|
-
stepGroupId: [, input.stepGroupId],
|
|
361
|
+
templateId: [, (0, smithy_client_1.expectNonNull)(input.templateId, `templateId`)],
|
|
362
|
+
stepGroupId: [, (0, smithy_client_1.expectNonNull)(input.stepGroupId, `stepGroupId`)],
|
|
363
363
|
});
|
|
364
364
|
let body;
|
|
365
365
|
return new protocol_http_1.HttpRequest({
|
|
@@ -406,7 +406,7 @@ const serializeAws_restJson1ListWorkflowStepGroupsCommand = async (input, contex
|
|
|
406
406
|
const query = map({
|
|
407
407
|
nextToken: [, input.nextToken],
|
|
408
408
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
409
|
-
workflowId: [, input.workflowId],
|
|
409
|
+
workflowId: [, (0, smithy_client_1.expectNonNull)(input.workflowId, `workflowId`)],
|
|
410
410
|
});
|
|
411
411
|
let body;
|
|
412
412
|
return new protocol_http_1.HttpRequest({
|
|
@@ -451,8 +451,8 @@ const serializeAws_restJson1RetryWorkflowStepCommand = async (input, context) =>
|
|
|
451
451
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/retryworkflowstep/{id}";
|
|
452
452
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
453
453
|
const query = map({
|
|
454
|
-
workflowId: [, input.workflowId],
|
|
455
|
-
stepGroupId: [, input.stepGroupId],
|
|
454
|
+
workflowId: [, (0, smithy_client_1.expectNonNull)(input.workflowId, `workflowId`)],
|
|
455
|
+
stepGroupId: [, (0, smithy_client_1.expectNonNull)(input.stepGroupId, `stepGroupId`)],
|
|
456
456
|
});
|
|
457
457
|
let body;
|
|
458
458
|
return new protocol_http_1.HttpRequest({
|
|
@@ -529,7 +529,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
529
529
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
530
530
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
531
531
|
const query = map({
|
|
532
|
-
tagKeys: [
|
|
532
|
+
tagKeys: [
|
|
533
|
+
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
534
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
535
|
+
],
|
|
533
536
|
});
|
|
534
537
|
let body;
|
|
535
538
|
return new protocol_http_1.HttpRequest({
|
|
@@ -613,7 +616,7 @@ const serializeAws_restJson1UpdateWorkflowStepGroupCommand = async (input, conte
|
|
|
613
616
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstepgroup/{id}";
|
|
614
617
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
615
618
|
const query = map({
|
|
616
|
-
workflowId: [, input.workflowId],
|
|
619
|
+
workflowId: [, (0, smithy_client_1.expectNonNull)(input.workflowId, `workflowId`)],
|
|
617
620
|
});
|
|
618
621
|
let body;
|
|
619
622
|
body = JSON.stringify({
|
|
@@ -107,8 +107,8 @@ export const serializeAws_restJson1DeleteWorkflowStepCommand = async (input, con
|
|
|
107
107
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstep/{id}";
|
|
108
108
|
resolvedPath = __resolvedPath(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
109
109
|
const query = map({
|
|
110
|
-
stepGroupId: [, input.stepGroupId],
|
|
111
|
-
workflowId: [, input.workflowId],
|
|
110
|
+
stepGroupId: [, __expectNonNull(input.stepGroupId, `stepGroupId`)],
|
|
111
|
+
workflowId: [, __expectNonNull(input.workflowId, `workflowId`)],
|
|
112
112
|
});
|
|
113
113
|
let body;
|
|
114
114
|
return new __HttpRequest({
|
|
@@ -128,7 +128,7 @@ export const serializeAws_restJson1DeleteWorkflowStepGroupCommand = async (input
|
|
|
128
128
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstepgroup/{id}";
|
|
129
129
|
resolvedPath = __resolvedPath(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
130
130
|
const query = map({
|
|
131
|
-
workflowId: [, input.workflowId],
|
|
131
|
+
workflowId: [, __expectNonNull(input.workflowId, `workflowId`)],
|
|
132
132
|
});
|
|
133
133
|
let body;
|
|
134
134
|
return new __HttpRequest({
|
|
@@ -164,8 +164,8 @@ export const serializeAws_restJson1GetTemplateStepCommand = async (input, contex
|
|
|
164
164
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/templatestep/{id}";
|
|
165
165
|
resolvedPath = __resolvedPath(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
166
166
|
const query = map({
|
|
167
|
-
templateId: [, input.templateId],
|
|
168
|
-
stepGroupId: [, input.stepGroupId],
|
|
167
|
+
templateId: [, __expectNonNull(input.templateId, `templateId`)],
|
|
168
|
+
stepGroupId: [, __expectNonNull(input.stepGroupId, `stepGroupId`)],
|
|
169
169
|
});
|
|
170
170
|
let body;
|
|
171
171
|
return new __HttpRequest({
|
|
@@ -218,8 +218,8 @@ export const serializeAws_restJson1GetWorkflowStepCommand = async (input, contex
|
|
|
218
218
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstep/{id}";
|
|
219
219
|
resolvedPath = __resolvedPath(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
220
220
|
const query = map({
|
|
221
|
-
workflowId: [, input.workflowId],
|
|
222
|
-
stepGroupId: [, input.stepGroupId],
|
|
221
|
+
workflowId: [, __expectNonNull(input.workflowId, `workflowId`)],
|
|
222
|
+
stepGroupId: [, __expectNonNull(input.stepGroupId, `stepGroupId`)],
|
|
223
223
|
});
|
|
224
224
|
let body;
|
|
225
225
|
return new __HttpRequest({
|
|
@@ -239,7 +239,7 @@ export const serializeAws_restJson1GetWorkflowStepGroupCommand = async (input, c
|
|
|
239
239
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstepgroup/{id}";
|
|
240
240
|
resolvedPath = __resolvedPath(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
241
241
|
const query = map({
|
|
242
|
-
workflowId: [, input.workflowId],
|
|
242
|
+
workflowId: [, __expectNonNull(input.workflowId, `workflowId`)],
|
|
243
243
|
});
|
|
244
244
|
let body;
|
|
245
245
|
return new __HttpRequest({
|
|
@@ -338,8 +338,8 @@ export const serializeAws_restJson1ListTemplateStepsCommand = async (input, cont
|
|
|
338
338
|
const query = map({
|
|
339
339
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
340
340
|
nextToken: [, input.nextToken],
|
|
341
|
-
templateId: [, input.templateId],
|
|
342
|
-
stepGroupId: [, input.stepGroupId],
|
|
341
|
+
templateId: [, __expectNonNull(input.templateId, `templateId`)],
|
|
342
|
+
stepGroupId: [, __expectNonNull(input.stepGroupId, `stepGroupId`)],
|
|
343
343
|
});
|
|
344
344
|
let body;
|
|
345
345
|
return new __HttpRequest({
|
|
@@ -384,7 +384,7 @@ export const serializeAws_restJson1ListWorkflowStepGroupsCommand = async (input,
|
|
|
384
384
|
const query = map({
|
|
385
385
|
nextToken: [, input.nextToken],
|
|
386
386
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
387
|
-
workflowId: [, input.workflowId],
|
|
387
|
+
workflowId: [, __expectNonNull(input.workflowId, `workflowId`)],
|
|
388
388
|
});
|
|
389
389
|
let body;
|
|
390
390
|
return new __HttpRequest({
|
|
@@ -427,8 +427,8 @@ export const serializeAws_restJson1RetryWorkflowStepCommand = async (input, cont
|
|
|
427
427
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/retryworkflowstep/{id}";
|
|
428
428
|
resolvedPath = __resolvedPath(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
429
429
|
const query = map({
|
|
430
|
-
workflowId: [, input.workflowId],
|
|
431
|
-
stepGroupId: [, input.stepGroupId],
|
|
430
|
+
workflowId: [, __expectNonNull(input.workflowId, `workflowId`)],
|
|
431
|
+
stepGroupId: [, __expectNonNull(input.stepGroupId, `stepGroupId`)],
|
|
432
432
|
});
|
|
433
433
|
let body;
|
|
434
434
|
return new __HttpRequest({
|
|
@@ -501,7 +501,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
501
501
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
502
502
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
503
503
|
const query = map({
|
|
504
|
-
tagKeys: [
|
|
504
|
+
tagKeys: [
|
|
505
|
+
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
506
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
507
|
+
],
|
|
505
508
|
});
|
|
506
509
|
let body;
|
|
507
510
|
return new __HttpRequest({
|
|
@@ -582,7 +585,7 @@ export const serializeAws_restJson1UpdateWorkflowStepGroupCommand = async (input
|
|
|
582
585
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstepgroup/{id}";
|
|
583
586
|
resolvedPath = __resolvedPath(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
584
587
|
const query = map({
|
|
585
|
-
workflowId: [, input.workflowId],
|
|
588
|
+
workflowId: [, __expectNonNull(input.workflowId, `workflowId`)],
|
|
586
589
|
});
|
|
587
590
|
let body;
|
|
588
591
|
body = JSON.stringify({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-migrationhuborchestrator",
|
|
3
3
|
"description": "AWS SDK for JavaScript Migrationhuborchestrator Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.222.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,36 +19,37 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.222.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.222.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.222.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.222.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.222.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.222.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.222.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.222.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.222.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.222.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.222.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.222.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.222.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.222.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.222.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.222.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.222.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.222.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.222.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.222.0",
|
|
42
|
+
"@aws-sdk/types": "3.222.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.222.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-user-agent-
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.222.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.222.0",
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.222.0",
|
|
50
|
+
"@aws-sdk/util-retry": "3.222.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.222.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.222.0",
|
|
52
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
53
54
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
54
55
|
"tslib": "^2.3.1"
|