@aws-sdk/client-amplify 3.31.0 → 3.32.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/CHANGELOG.md +8 -0
- package/dist/cjs/AmplifyClient.js +13 -13
- package/dist/cjs/AmplifyClient.js.map +1 -1
- package/dist/cjs/commands/CreateAppCommand.js +3 -3
- package/dist/cjs/commands/CreateAppCommand.js.map +1 -1
- package/dist/cjs/commands/CreateBackendEnvironmentCommand.js +3 -3
- package/dist/cjs/commands/CreateBackendEnvironmentCommand.js.map +1 -1
- package/dist/cjs/commands/CreateBranchCommand.js +3 -3
- package/dist/cjs/commands/CreateBranchCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDeploymentCommand.js +3 -3
- package/dist/cjs/commands/CreateDeploymentCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDomainAssociationCommand.js +3 -3
- package/dist/cjs/commands/CreateDomainAssociationCommand.js.map +1 -1
- package/dist/cjs/commands/CreateWebhookCommand.js +3 -3
- package/dist/cjs/commands/CreateWebhookCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAppCommand.js +3 -3
- package/dist/cjs/commands/DeleteAppCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteBackendEnvironmentCommand.js +3 -3
- package/dist/cjs/commands/DeleteBackendEnvironmentCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteBranchCommand.js +3 -3
- package/dist/cjs/commands/DeleteBranchCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDomainAssociationCommand.js +3 -3
- package/dist/cjs/commands/DeleteDomainAssociationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteJobCommand.js +3 -3
- package/dist/cjs/commands/DeleteJobCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteWebhookCommand.js +3 -3
- package/dist/cjs/commands/DeleteWebhookCommand.js.map +1 -1
- package/dist/cjs/commands/GenerateAccessLogsCommand.js +3 -3
- package/dist/cjs/commands/GenerateAccessLogsCommand.js.map +1 -1
- package/dist/cjs/commands/GetAppCommand.js +3 -3
- package/dist/cjs/commands/GetAppCommand.js.map +1 -1
- package/dist/cjs/commands/GetArtifactUrlCommand.js +3 -3
- package/dist/cjs/commands/GetArtifactUrlCommand.js.map +1 -1
- package/dist/cjs/commands/GetBackendEnvironmentCommand.js +3 -3
- package/dist/cjs/commands/GetBackendEnvironmentCommand.js.map +1 -1
- package/dist/cjs/commands/GetBranchCommand.js +3 -3
- package/dist/cjs/commands/GetBranchCommand.js.map +1 -1
- package/dist/cjs/commands/GetDomainAssociationCommand.js +3 -3
- package/dist/cjs/commands/GetDomainAssociationCommand.js.map +1 -1
- package/dist/cjs/commands/GetJobCommand.js +3 -3
- package/dist/cjs/commands/GetJobCommand.js.map +1 -1
- package/dist/cjs/commands/GetWebhookCommand.js +3 -3
- package/dist/cjs/commands/GetWebhookCommand.js.map +1 -1
- package/dist/cjs/commands/ListAppsCommand.js +3 -3
- package/dist/cjs/commands/ListAppsCommand.js.map +1 -1
- package/dist/cjs/commands/ListArtifactsCommand.js +3 -3
- package/dist/cjs/commands/ListArtifactsCommand.js.map +1 -1
- package/dist/cjs/commands/ListBackendEnvironmentsCommand.js +3 -3
- package/dist/cjs/commands/ListBackendEnvironmentsCommand.js.map +1 -1
- package/dist/cjs/commands/ListBranchesCommand.js +3 -3
- package/dist/cjs/commands/ListBranchesCommand.js.map +1 -1
- package/dist/cjs/commands/ListDomainAssociationsCommand.js +3 -3
- package/dist/cjs/commands/ListDomainAssociationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListJobsCommand.js +3 -3
- package/dist/cjs/commands/ListJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/ListWebhooksCommand.js +3 -3
- package/dist/cjs/commands/ListWebhooksCommand.js.map +1 -1
- package/dist/cjs/commands/StartDeploymentCommand.js +3 -3
- package/dist/cjs/commands/StartDeploymentCommand.js.map +1 -1
- package/dist/cjs/commands/StartJobCommand.js +3 -3
- package/dist/cjs/commands/StartJobCommand.js.map +1 -1
- package/dist/cjs/commands/StopJobCommand.js +3 -3
- package/dist/cjs/commands/StopJobCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAppCommand.js +3 -3
- package/dist/cjs/commands/UpdateAppCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateBranchCommand.js +3 -3
- package/dist/cjs/commands/UpdateBranchCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateDomainAssociationCommand.js +3 -3
- package/dist/cjs/commands/UpdateDomainAssociationCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateWebhookCommand.js +3 -3
- package/dist/cjs/commands/UpdateWebhookCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +40 -40
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +220 -220
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/package.json +31 -31
- package/tsconfig.json +1 -2
|
@@ -70,7 +70,7 @@ const serializeAws_restJson1CreateBackendEnvironmentCommand = async (input, cont
|
|
|
70
70
|
if (labelValue.length <= 0) {
|
|
71
71
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
72
72
|
}
|
|
73
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
73
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
74
74
|
}
|
|
75
75
|
else {
|
|
76
76
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -105,7 +105,7 @@ const serializeAws_restJson1CreateBranchCommand = async (input, context) => {
|
|
|
105
105
|
if (labelValue.length <= 0) {
|
|
106
106
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
107
107
|
}
|
|
108
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
108
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
109
109
|
}
|
|
110
110
|
else {
|
|
111
111
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -164,7 +164,7 @@ const serializeAws_restJson1CreateDeploymentCommand = async (input, context) =>
|
|
|
164
164
|
if (labelValue.length <= 0) {
|
|
165
165
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
166
166
|
}
|
|
167
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
167
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
168
168
|
}
|
|
169
169
|
else {
|
|
170
170
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -174,7 +174,7 @@ const serializeAws_restJson1CreateDeploymentCommand = async (input, context) =>
|
|
|
174
174
|
if (labelValue.length <= 0) {
|
|
175
175
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
176
176
|
}
|
|
177
|
-
resolvedPath = resolvedPath.replace("{branchName}",
|
|
177
|
+
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
178
178
|
}
|
|
179
179
|
else {
|
|
180
180
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -206,7 +206,7 @@ const serializeAws_restJson1CreateDomainAssociationCommand = async (input, conte
|
|
|
206
206
|
if (labelValue.length <= 0) {
|
|
207
207
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
208
208
|
}
|
|
209
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
209
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
210
210
|
}
|
|
211
211
|
else {
|
|
212
212
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -249,7 +249,7 @@ const serializeAws_restJson1CreateWebhookCommand = async (input, context) => {
|
|
|
249
249
|
if (labelValue.length <= 0) {
|
|
250
250
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
251
251
|
}
|
|
252
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
252
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
253
253
|
}
|
|
254
254
|
else {
|
|
255
255
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -279,7 +279,7 @@ const serializeAws_restJson1DeleteAppCommand = async (input, context) => {
|
|
|
279
279
|
if (labelValue.length <= 0) {
|
|
280
280
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
281
281
|
}
|
|
282
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
282
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
283
283
|
}
|
|
284
284
|
else {
|
|
285
285
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -306,7 +306,7 @@ const serializeAws_restJson1DeleteBackendEnvironmentCommand = async (input, cont
|
|
|
306
306
|
if (labelValue.length <= 0) {
|
|
307
307
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
308
308
|
}
|
|
309
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
309
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
310
310
|
}
|
|
311
311
|
else {
|
|
312
312
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -316,7 +316,7 @@ const serializeAws_restJson1DeleteBackendEnvironmentCommand = async (input, cont
|
|
|
316
316
|
if (labelValue.length <= 0) {
|
|
317
317
|
throw new Error("Empty value provided for input HTTP label: environmentName.");
|
|
318
318
|
}
|
|
319
|
-
resolvedPath = resolvedPath.replace("{environmentName}",
|
|
319
|
+
resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
320
320
|
}
|
|
321
321
|
else {
|
|
322
322
|
throw new Error("No value provided for input HTTP label: environmentName.");
|
|
@@ -342,7 +342,7 @@ const serializeAws_restJson1DeleteBranchCommand = async (input, context) => {
|
|
|
342
342
|
if (labelValue.length <= 0) {
|
|
343
343
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
344
344
|
}
|
|
345
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
345
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
346
346
|
}
|
|
347
347
|
else {
|
|
348
348
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -352,7 +352,7 @@ const serializeAws_restJson1DeleteBranchCommand = async (input, context) => {
|
|
|
352
352
|
if (labelValue.length <= 0) {
|
|
353
353
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
354
354
|
}
|
|
355
|
-
resolvedPath = resolvedPath.replace("{branchName}",
|
|
355
|
+
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
356
356
|
}
|
|
357
357
|
else {
|
|
358
358
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -378,7 +378,7 @@ const serializeAws_restJson1DeleteDomainAssociationCommand = async (input, conte
|
|
|
378
378
|
if (labelValue.length <= 0) {
|
|
379
379
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
380
380
|
}
|
|
381
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
381
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
382
382
|
}
|
|
383
383
|
else {
|
|
384
384
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -388,7 +388,7 @@ const serializeAws_restJson1DeleteDomainAssociationCommand = async (input, conte
|
|
|
388
388
|
if (labelValue.length <= 0) {
|
|
389
389
|
throw new Error("Empty value provided for input HTTP label: domainName.");
|
|
390
390
|
}
|
|
391
|
-
resolvedPath = resolvedPath.replace("{domainName}",
|
|
391
|
+
resolvedPath = resolvedPath.replace("{domainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
392
392
|
}
|
|
393
393
|
else {
|
|
394
394
|
throw new Error("No value provided for input HTTP label: domainName.");
|
|
@@ -415,7 +415,7 @@ const serializeAws_restJson1DeleteJobCommand = async (input, context) => {
|
|
|
415
415
|
if (labelValue.length <= 0) {
|
|
416
416
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
417
417
|
}
|
|
418
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
418
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -425,7 +425,7 @@ const serializeAws_restJson1DeleteJobCommand = async (input, context) => {
|
|
|
425
425
|
if (labelValue.length <= 0) {
|
|
426
426
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
427
427
|
}
|
|
428
|
-
resolvedPath = resolvedPath.replace("{branchName}",
|
|
428
|
+
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
429
429
|
}
|
|
430
430
|
else {
|
|
431
431
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -435,7 +435,7 @@ const serializeAws_restJson1DeleteJobCommand = async (input, context) => {
|
|
|
435
435
|
if (labelValue.length <= 0) {
|
|
436
436
|
throw new Error("Empty value provided for input HTTP label: jobId.");
|
|
437
437
|
}
|
|
438
|
-
resolvedPath = resolvedPath.replace("{jobId}",
|
|
438
|
+
resolvedPath = resolvedPath.replace("{jobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
439
439
|
}
|
|
440
440
|
else {
|
|
441
441
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
@@ -461,7 +461,7 @@ const serializeAws_restJson1DeleteWebhookCommand = async (input, context) => {
|
|
|
461
461
|
if (labelValue.length <= 0) {
|
|
462
462
|
throw new Error("Empty value provided for input HTTP label: webhookId.");
|
|
463
463
|
}
|
|
464
|
-
resolvedPath = resolvedPath.replace("{webhookId}",
|
|
464
|
+
resolvedPath = resolvedPath.replace("{webhookId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
465
465
|
}
|
|
466
466
|
else {
|
|
467
467
|
throw new Error("No value provided for input HTTP label: webhookId.");
|
|
@@ -489,7 +489,7 @@ const serializeAws_restJson1GenerateAccessLogsCommand = async (input, context) =
|
|
|
489
489
|
if (labelValue.length <= 0) {
|
|
490
490
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
491
491
|
}
|
|
492
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
492
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
493
493
|
}
|
|
494
494
|
else {
|
|
495
495
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -522,7 +522,7 @@ const serializeAws_restJson1GetAppCommand = async (input, context) => {
|
|
|
522
522
|
if (labelValue.length <= 0) {
|
|
523
523
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
524
524
|
}
|
|
525
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
525
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
526
526
|
}
|
|
527
527
|
else {
|
|
528
528
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -548,7 +548,7 @@ const serializeAws_restJson1GetArtifactUrlCommand = async (input, context) => {
|
|
|
548
548
|
if (labelValue.length <= 0) {
|
|
549
549
|
throw new Error("Empty value provided for input HTTP label: artifactId.");
|
|
550
550
|
}
|
|
551
|
-
resolvedPath = resolvedPath.replace("{artifactId}",
|
|
551
|
+
resolvedPath = resolvedPath.replace("{artifactId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
552
552
|
}
|
|
553
553
|
else {
|
|
554
554
|
throw new Error("No value provided for input HTTP label: artifactId.");
|
|
@@ -575,7 +575,7 @@ const serializeAws_restJson1GetBackendEnvironmentCommand = async (input, context
|
|
|
575
575
|
if (labelValue.length <= 0) {
|
|
576
576
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
577
577
|
}
|
|
578
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
578
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
579
579
|
}
|
|
580
580
|
else {
|
|
581
581
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -585,7 +585,7 @@ const serializeAws_restJson1GetBackendEnvironmentCommand = async (input, context
|
|
|
585
585
|
if (labelValue.length <= 0) {
|
|
586
586
|
throw new Error("Empty value provided for input HTTP label: environmentName.");
|
|
587
587
|
}
|
|
588
|
-
resolvedPath = resolvedPath.replace("{environmentName}",
|
|
588
|
+
resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
589
589
|
}
|
|
590
590
|
else {
|
|
591
591
|
throw new Error("No value provided for input HTTP label: environmentName.");
|
|
@@ -611,7 +611,7 @@ const serializeAws_restJson1GetBranchCommand = async (input, context) => {
|
|
|
611
611
|
if (labelValue.length <= 0) {
|
|
612
612
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
613
613
|
}
|
|
614
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
614
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
615
615
|
}
|
|
616
616
|
else {
|
|
617
617
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -621,7 +621,7 @@ const serializeAws_restJson1GetBranchCommand = async (input, context) => {
|
|
|
621
621
|
if (labelValue.length <= 0) {
|
|
622
622
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
623
623
|
}
|
|
624
|
-
resolvedPath = resolvedPath.replace("{branchName}",
|
|
624
|
+
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
625
625
|
}
|
|
626
626
|
else {
|
|
627
627
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -647,7 +647,7 @@ const serializeAws_restJson1GetDomainAssociationCommand = async (input, context)
|
|
|
647
647
|
if (labelValue.length <= 0) {
|
|
648
648
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
649
649
|
}
|
|
650
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
650
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
651
651
|
}
|
|
652
652
|
else {
|
|
653
653
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -657,7 +657,7 @@ const serializeAws_restJson1GetDomainAssociationCommand = async (input, context)
|
|
|
657
657
|
if (labelValue.length <= 0) {
|
|
658
658
|
throw new Error("Empty value provided for input HTTP label: domainName.");
|
|
659
659
|
}
|
|
660
|
-
resolvedPath = resolvedPath.replace("{domainName}",
|
|
660
|
+
resolvedPath = resolvedPath.replace("{domainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
661
661
|
}
|
|
662
662
|
else {
|
|
663
663
|
throw new Error("No value provided for input HTTP label: domainName.");
|
|
@@ -684,7 +684,7 @@ const serializeAws_restJson1GetJobCommand = async (input, context) => {
|
|
|
684
684
|
if (labelValue.length <= 0) {
|
|
685
685
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
686
686
|
}
|
|
687
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
687
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
688
688
|
}
|
|
689
689
|
else {
|
|
690
690
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -694,7 +694,7 @@ const serializeAws_restJson1GetJobCommand = async (input, context) => {
|
|
|
694
694
|
if (labelValue.length <= 0) {
|
|
695
695
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
696
696
|
}
|
|
697
|
-
resolvedPath = resolvedPath.replace("{branchName}",
|
|
697
|
+
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
698
698
|
}
|
|
699
699
|
else {
|
|
700
700
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -704,7 +704,7 @@ const serializeAws_restJson1GetJobCommand = async (input, context) => {
|
|
|
704
704
|
if (labelValue.length <= 0) {
|
|
705
705
|
throw new Error("Empty value provided for input HTTP label: jobId.");
|
|
706
706
|
}
|
|
707
|
-
resolvedPath = resolvedPath.replace("{jobId}",
|
|
707
|
+
resolvedPath = resolvedPath.replace("{jobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
708
708
|
}
|
|
709
709
|
else {
|
|
710
710
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
@@ -730,7 +730,7 @@ const serializeAws_restJson1GetWebhookCommand = async (input, context) => {
|
|
|
730
730
|
if (labelValue.length <= 0) {
|
|
731
731
|
throw new Error("Empty value provided for input HTTP label: webhookId.");
|
|
732
732
|
}
|
|
733
|
-
resolvedPath = resolvedPath.replace("{webhookId}",
|
|
733
|
+
resolvedPath = resolvedPath.replace("{webhookId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
734
734
|
}
|
|
735
735
|
else {
|
|
736
736
|
throw new Error("No value provided for input HTTP label: webhookId.");
|
|
@@ -778,7 +778,7 @@ const serializeAws_restJson1ListArtifactsCommand = async (input, context) => {
|
|
|
778
778
|
if (labelValue.length <= 0) {
|
|
779
779
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
780
780
|
}
|
|
781
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
781
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
782
782
|
}
|
|
783
783
|
else {
|
|
784
784
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -788,7 +788,7 @@ const serializeAws_restJson1ListArtifactsCommand = async (input, context) => {
|
|
|
788
788
|
if (labelValue.length <= 0) {
|
|
789
789
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
790
790
|
}
|
|
791
|
-
resolvedPath = resolvedPath.replace("{branchName}",
|
|
791
|
+
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
792
792
|
}
|
|
793
793
|
else {
|
|
794
794
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -798,7 +798,7 @@ const serializeAws_restJson1ListArtifactsCommand = async (input, context) => {
|
|
|
798
798
|
if (labelValue.length <= 0) {
|
|
799
799
|
throw new Error("Empty value provided for input HTTP label: jobId.");
|
|
800
800
|
}
|
|
801
|
-
resolvedPath = resolvedPath.replace("{jobId}",
|
|
801
|
+
resolvedPath = resolvedPath.replace("{jobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
802
802
|
}
|
|
803
803
|
else {
|
|
804
804
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
@@ -829,7 +829,7 @@ const serializeAws_restJson1ListBackendEnvironmentsCommand = async (input, conte
|
|
|
829
829
|
if (labelValue.length <= 0) {
|
|
830
830
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
831
831
|
}
|
|
832
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
832
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
833
833
|
}
|
|
834
834
|
else {
|
|
835
835
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -861,7 +861,7 @@ const serializeAws_restJson1ListBranchesCommand = async (input, context) => {
|
|
|
861
861
|
if (labelValue.length <= 0) {
|
|
862
862
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
863
863
|
}
|
|
864
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
864
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
865
865
|
}
|
|
866
866
|
else {
|
|
867
867
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -892,7 +892,7 @@ const serializeAws_restJson1ListDomainAssociationsCommand = async (input, contex
|
|
|
892
892
|
if (labelValue.length <= 0) {
|
|
893
893
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
894
894
|
}
|
|
895
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
895
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
896
896
|
}
|
|
897
897
|
else {
|
|
898
898
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -923,7 +923,7 @@ const serializeAws_restJson1ListJobsCommand = async (input, context) => {
|
|
|
923
923
|
if (labelValue.length <= 0) {
|
|
924
924
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
925
925
|
}
|
|
926
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
926
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
927
927
|
}
|
|
928
928
|
else {
|
|
929
929
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -933,7 +933,7 @@ const serializeAws_restJson1ListJobsCommand = async (input, context) => {
|
|
|
933
933
|
if (labelValue.length <= 0) {
|
|
934
934
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
935
935
|
}
|
|
936
|
-
resolvedPath = resolvedPath.replace("{branchName}",
|
|
936
|
+
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
937
937
|
}
|
|
938
938
|
else {
|
|
939
939
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -964,7 +964,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
964
964
|
if (labelValue.length <= 0) {
|
|
965
965
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
966
966
|
}
|
|
967
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
967
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
968
968
|
}
|
|
969
969
|
else {
|
|
970
970
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -990,7 +990,7 @@ const serializeAws_restJson1ListWebhooksCommand = async (input, context) => {
|
|
|
990
990
|
if (labelValue.length <= 0) {
|
|
991
991
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
992
992
|
}
|
|
993
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
993
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
994
994
|
}
|
|
995
995
|
else {
|
|
996
996
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -1024,7 +1024,7 @@ const serializeAws_restJson1StartDeploymentCommand = async (input, context) => {
|
|
|
1024
1024
|
if (labelValue.length <= 0) {
|
|
1025
1025
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
1026
1026
|
}
|
|
1027
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
1027
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1028
1028
|
}
|
|
1029
1029
|
else {
|
|
1030
1030
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -1034,7 +1034,7 @@ const serializeAws_restJson1StartDeploymentCommand = async (input, context) => {
|
|
|
1034
1034
|
if (labelValue.length <= 0) {
|
|
1035
1035
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
1036
1036
|
}
|
|
1037
|
-
resolvedPath = resolvedPath.replace("{branchName}",
|
|
1037
|
+
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1038
1038
|
}
|
|
1039
1039
|
else {
|
|
1040
1040
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -1066,7 +1066,7 @@ const serializeAws_restJson1StartJobCommand = async (input, context) => {
|
|
|
1066
1066
|
if (labelValue.length <= 0) {
|
|
1067
1067
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
1068
1068
|
}
|
|
1069
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
1069
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1070
1070
|
}
|
|
1071
1071
|
else {
|
|
1072
1072
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -1076,7 +1076,7 @@ const serializeAws_restJson1StartJobCommand = async (input, context) => {
|
|
|
1076
1076
|
if (labelValue.length <= 0) {
|
|
1077
1077
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
1078
1078
|
}
|
|
1079
|
-
resolvedPath = resolvedPath.replace("{branchName}",
|
|
1079
|
+
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1080
1080
|
}
|
|
1081
1081
|
else {
|
|
1082
1082
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -1112,7 +1112,7 @@ const serializeAws_restJson1StopJobCommand = async (input, context) => {
|
|
|
1112
1112
|
if (labelValue.length <= 0) {
|
|
1113
1113
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
1114
1114
|
}
|
|
1115
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
1115
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1116
1116
|
}
|
|
1117
1117
|
else {
|
|
1118
1118
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -1122,7 +1122,7 @@ const serializeAws_restJson1StopJobCommand = async (input, context) => {
|
|
|
1122
1122
|
if (labelValue.length <= 0) {
|
|
1123
1123
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
1124
1124
|
}
|
|
1125
|
-
resolvedPath = resolvedPath.replace("{branchName}",
|
|
1125
|
+
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1126
1126
|
}
|
|
1127
1127
|
else {
|
|
1128
1128
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -1132,7 +1132,7 @@ const serializeAws_restJson1StopJobCommand = async (input, context) => {
|
|
|
1132
1132
|
if (labelValue.length <= 0) {
|
|
1133
1133
|
throw new Error("Empty value provided for input HTTP label: jobId.");
|
|
1134
1134
|
}
|
|
1135
|
-
resolvedPath = resolvedPath.replace("{jobId}",
|
|
1135
|
+
resolvedPath = resolvedPath.replace("{jobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1136
1136
|
}
|
|
1137
1137
|
else {
|
|
1138
1138
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
@@ -1160,7 +1160,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
1160
1160
|
if (labelValue.length <= 0) {
|
|
1161
1161
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
1162
1162
|
}
|
|
1163
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
1163
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1164
1164
|
}
|
|
1165
1165
|
else {
|
|
1166
1166
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -1189,7 +1189,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
1189
1189
|
if (labelValue.length <= 0) {
|
|
1190
1190
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
1191
1191
|
}
|
|
1192
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
1192
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1193
1193
|
}
|
|
1194
1194
|
else {
|
|
1195
1195
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -1221,7 +1221,7 @@ const serializeAws_restJson1UpdateAppCommand = async (input, context) => {
|
|
|
1221
1221
|
if (labelValue.length <= 0) {
|
|
1222
1222
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
1223
1223
|
}
|
|
1224
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
1224
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1225
1225
|
}
|
|
1226
1226
|
else {
|
|
1227
1227
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -1285,7 +1285,7 @@ const serializeAws_restJson1UpdateBranchCommand = async (input, context) => {
|
|
|
1285
1285
|
if (labelValue.length <= 0) {
|
|
1286
1286
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
1287
1287
|
}
|
|
1288
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
1288
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1289
1289
|
}
|
|
1290
1290
|
else {
|
|
1291
1291
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -1295,7 +1295,7 @@ const serializeAws_restJson1UpdateBranchCommand = async (input, context) => {
|
|
|
1295
1295
|
if (labelValue.length <= 0) {
|
|
1296
1296
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
1297
1297
|
}
|
|
1298
|
-
resolvedPath = resolvedPath.replace("{branchName}",
|
|
1298
|
+
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1299
1299
|
}
|
|
1300
1300
|
else {
|
|
1301
1301
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -1351,7 +1351,7 @@ const serializeAws_restJson1UpdateDomainAssociationCommand = async (input, conte
|
|
|
1351
1351
|
if (labelValue.length <= 0) {
|
|
1352
1352
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
1353
1353
|
}
|
|
1354
|
-
resolvedPath = resolvedPath.replace("{appId}",
|
|
1354
|
+
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1355
1355
|
}
|
|
1356
1356
|
else {
|
|
1357
1357
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -1361,7 +1361,7 @@ const serializeAws_restJson1UpdateDomainAssociationCommand = async (input, conte
|
|
|
1361
1361
|
if (labelValue.length <= 0) {
|
|
1362
1362
|
throw new Error("Empty value provided for input HTTP label: domainName.");
|
|
1363
1363
|
}
|
|
1364
|
-
resolvedPath = resolvedPath.replace("{domainName}",
|
|
1364
|
+
resolvedPath = resolvedPath.replace("{domainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1365
1365
|
}
|
|
1366
1366
|
else {
|
|
1367
1367
|
throw new Error("No value provided for input HTTP label: domainName.");
|
|
@@ -1403,7 +1403,7 @@ const serializeAws_restJson1UpdateWebhookCommand = async (input, context) => {
|
|
|
1403
1403
|
if (labelValue.length <= 0) {
|
|
1404
1404
|
throw new Error("Empty value provided for input HTTP label: webhookId.");
|
|
1405
1405
|
}
|
|
1406
|
-
resolvedPath = resolvedPath.replace("{webhookId}",
|
|
1406
|
+
resolvedPath = resolvedPath.replace("{webhookId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1407
1407
|
}
|
|
1408
1408
|
else {
|
|
1409
1409
|
throw new Error("No value provided for input HTTP label: webhookId.");
|
|
@@ -1432,7 +1432,7 @@ const deserializeAws_restJson1CreateAppCommand = async (output, context) => {
|
|
|
1432
1432
|
$metadata: deserializeMetadata(output),
|
|
1433
1433
|
app: undefined,
|
|
1434
1434
|
};
|
|
1435
|
-
const data =
|
|
1435
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1436
1436
|
if (data.app !== undefined && data.app !== null) {
|
|
1437
1437
|
contents.app = deserializeAws_restJson1App(data.app, context);
|
|
1438
1438
|
}
|
|
@@ -1512,7 +1512,7 @@ const deserializeAws_restJson1CreateBackendEnvironmentCommand = async (output, c
|
|
|
1512
1512
|
$metadata: deserializeMetadata(output),
|
|
1513
1513
|
backendEnvironment: undefined,
|
|
1514
1514
|
};
|
|
1515
|
-
const data =
|
|
1515
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1516
1516
|
if (data.backendEnvironment !== undefined && data.backendEnvironment !== null) {
|
|
1517
1517
|
contents.backendEnvironment = deserializeAws_restJson1BackendEnvironment(data.backendEnvironment, context);
|
|
1518
1518
|
}
|
|
@@ -1592,7 +1592,7 @@ const deserializeAws_restJson1CreateBranchCommand = async (output, context) => {
|
|
|
1592
1592
|
$metadata: deserializeMetadata(output),
|
|
1593
1593
|
branch: undefined,
|
|
1594
1594
|
};
|
|
1595
|
-
const data =
|
|
1595
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1596
1596
|
if (data.branch !== undefined && data.branch !== null) {
|
|
1597
1597
|
contents.branch = deserializeAws_restJson1Branch(data.branch, context);
|
|
1598
1598
|
}
|
|
@@ -1682,15 +1682,15 @@ const deserializeAws_restJson1CreateDeploymentCommand = async (output, context)
|
|
|
1682
1682
|
jobId: undefined,
|
|
1683
1683
|
zipUploadUrl: undefined,
|
|
1684
1684
|
};
|
|
1685
|
-
const data =
|
|
1685
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1686
1686
|
if (data.fileUploadUrls !== undefined && data.fileUploadUrls !== null) {
|
|
1687
1687
|
contents.fileUploadUrls = deserializeAws_restJson1FileUploadUrls(data.fileUploadUrls, context);
|
|
1688
1688
|
}
|
|
1689
1689
|
if (data.jobId !== undefined && data.jobId !== null) {
|
|
1690
|
-
contents.jobId =
|
|
1690
|
+
contents.jobId = smithy_client_1.expectString(data.jobId);
|
|
1691
1691
|
}
|
|
1692
1692
|
if (data.zipUploadUrl !== undefined && data.zipUploadUrl !== null) {
|
|
1693
|
-
contents.zipUploadUrl =
|
|
1693
|
+
contents.zipUploadUrl = smithy_client_1.expectString(data.zipUploadUrl);
|
|
1694
1694
|
}
|
|
1695
1695
|
return Promise.resolve(contents);
|
|
1696
1696
|
};
|
|
@@ -1760,7 +1760,7 @@ const deserializeAws_restJson1CreateDomainAssociationCommand = async (output, co
|
|
|
1760
1760
|
$metadata: deserializeMetadata(output),
|
|
1761
1761
|
domainAssociation: undefined,
|
|
1762
1762
|
};
|
|
1763
|
-
const data =
|
|
1763
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1764
1764
|
if (data.domainAssociation !== undefined && data.domainAssociation !== null) {
|
|
1765
1765
|
contents.domainAssociation = deserializeAws_restJson1DomainAssociation(data.domainAssociation, context);
|
|
1766
1766
|
}
|
|
@@ -1848,7 +1848,7 @@ const deserializeAws_restJson1CreateWebhookCommand = async (output, context) =>
|
|
|
1848
1848
|
$metadata: deserializeMetadata(output),
|
|
1849
1849
|
webhook: undefined,
|
|
1850
1850
|
};
|
|
1851
|
-
const data =
|
|
1851
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1852
1852
|
if (data.webhook !== undefined && data.webhook !== null) {
|
|
1853
1853
|
contents.webhook = deserializeAws_restJson1Webhook(data.webhook, context);
|
|
1854
1854
|
}
|
|
@@ -1936,7 +1936,7 @@ const deserializeAws_restJson1DeleteAppCommand = async (output, context) => {
|
|
|
1936
1936
|
$metadata: deserializeMetadata(output),
|
|
1937
1937
|
app: undefined,
|
|
1938
1938
|
};
|
|
1939
|
-
const data =
|
|
1939
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1940
1940
|
if (data.app !== undefined && data.app !== null) {
|
|
1941
1941
|
contents.app = deserializeAws_restJson1App(data.app, context);
|
|
1942
1942
|
}
|
|
@@ -2016,7 +2016,7 @@ const deserializeAws_restJson1DeleteBackendEnvironmentCommand = async (output, c
|
|
|
2016
2016
|
$metadata: deserializeMetadata(output),
|
|
2017
2017
|
backendEnvironment: undefined,
|
|
2018
2018
|
};
|
|
2019
|
-
const data =
|
|
2019
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2020
2020
|
if (data.backendEnvironment !== undefined && data.backendEnvironment !== null) {
|
|
2021
2021
|
contents.backendEnvironment = deserializeAws_restJson1BackendEnvironment(data.backendEnvironment, context);
|
|
2022
2022
|
}
|
|
@@ -2096,7 +2096,7 @@ const deserializeAws_restJson1DeleteBranchCommand = async (output, context) => {
|
|
|
2096
2096
|
$metadata: deserializeMetadata(output),
|
|
2097
2097
|
branch: undefined,
|
|
2098
2098
|
};
|
|
2099
|
-
const data =
|
|
2099
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2100
2100
|
if (data.branch !== undefined && data.branch !== null) {
|
|
2101
2101
|
contents.branch = deserializeAws_restJson1Branch(data.branch, context);
|
|
2102
2102
|
}
|
|
@@ -2176,7 +2176,7 @@ const deserializeAws_restJson1DeleteDomainAssociationCommand = async (output, co
|
|
|
2176
2176
|
$metadata: deserializeMetadata(output),
|
|
2177
2177
|
domainAssociation: undefined,
|
|
2178
2178
|
};
|
|
2179
|
-
const data =
|
|
2179
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2180
2180
|
if (data.domainAssociation !== undefined && data.domainAssociation !== null) {
|
|
2181
2181
|
contents.domainAssociation = deserializeAws_restJson1DomainAssociation(data.domainAssociation, context);
|
|
2182
2182
|
}
|
|
@@ -2256,7 +2256,7 @@ const deserializeAws_restJson1DeleteJobCommand = async (output, context) => {
|
|
|
2256
2256
|
$metadata: deserializeMetadata(output),
|
|
2257
2257
|
jobSummary: undefined,
|
|
2258
2258
|
};
|
|
2259
|
-
const data =
|
|
2259
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2260
2260
|
if (data.jobSummary !== undefined && data.jobSummary !== null) {
|
|
2261
2261
|
contents.jobSummary = deserializeAws_restJson1JobSummary(data.jobSummary, context);
|
|
2262
2262
|
}
|
|
@@ -2336,7 +2336,7 @@ const deserializeAws_restJson1DeleteWebhookCommand = async (output, context) =>
|
|
|
2336
2336
|
$metadata: deserializeMetadata(output),
|
|
2337
2337
|
webhook: undefined,
|
|
2338
2338
|
};
|
|
2339
|
-
const data =
|
|
2339
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2340
2340
|
if (data.webhook !== undefined && data.webhook !== null) {
|
|
2341
2341
|
contents.webhook = deserializeAws_restJson1Webhook(data.webhook, context);
|
|
2342
2342
|
}
|
|
@@ -2416,9 +2416,9 @@ const deserializeAws_restJson1GenerateAccessLogsCommand = async (output, context
|
|
|
2416
2416
|
$metadata: deserializeMetadata(output),
|
|
2417
2417
|
logUrl: undefined,
|
|
2418
2418
|
};
|
|
2419
|
-
const data =
|
|
2419
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2420
2420
|
if (data.logUrl !== undefined && data.logUrl !== null) {
|
|
2421
|
-
contents.logUrl =
|
|
2421
|
+
contents.logUrl = smithy_client_1.expectString(data.logUrl);
|
|
2422
2422
|
}
|
|
2423
2423
|
return Promise.resolve(contents);
|
|
2424
2424
|
};
|
|
@@ -2488,7 +2488,7 @@ const deserializeAws_restJson1GetAppCommand = async (output, context) => {
|
|
|
2488
2488
|
$metadata: deserializeMetadata(output),
|
|
2489
2489
|
app: undefined,
|
|
2490
2490
|
};
|
|
2491
|
-
const data =
|
|
2491
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2492
2492
|
if (data.app !== undefined && data.app !== null) {
|
|
2493
2493
|
contents.app = deserializeAws_restJson1App(data.app, context);
|
|
2494
2494
|
}
|
|
@@ -2561,12 +2561,12 @@ const deserializeAws_restJson1GetArtifactUrlCommand = async (output, context) =>
|
|
|
2561
2561
|
artifactId: undefined,
|
|
2562
2562
|
artifactUrl: undefined,
|
|
2563
2563
|
};
|
|
2564
|
-
const data =
|
|
2564
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2565
2565
|
if (data.artifactId !== undefined && data.artifactId !== null) {
|
|
2566
|
-
contents.artifactId =
|
|
2566
|
+
contents.artifactId = smithy_client_1.expectString(data.artifactId);
|
|
2567
2567
|
}
|
|
2568
2568
|
if (data.artifactUrl !== undefined && data.artifactUrl !== null) {
|
|
2569
|
-
contents.artifactUrl =
|
|
2569
|
+
contents.artifactUrl = smithy_client_1.expectString(data.artifactUrl);
|
|
2570
2570
|
}
|
|
2571
2571
|
return Promise.resolve(contents);
|
|
2572
2572
|
};
|
|
@@ -2644,7 +2644,7 @@ const deserializeAws_restJson1GetBackendEnvironmentCommand = async (output, cont
|
|
|
2644
2644
|
$metadata: deserializeMetadata(output),
|
|
2645
2645
|
backendEnvironment: undefined,
|
|
2646
2646
|
};
|
|
2647
|
-
const data =
|
|
2647
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2648
2648
|
if (data.backendEnvironment !== undefined && data.backendEnvironment !== null) {
|
|
2649
2649
|
contents.backendEnvironment = deserializeAws_restJson1BackendEnvironment(data.backendEnvironment, context);
|
|
2650
2650
|
}
|
|
@@ -2716,7 +2716,7 @@ const deserializeAws_restJson1GetBranchCommand = async (output, context) => {
|
|
|
2716
2716
|
$metadata: deserializeMetadata(output),
|
|
2717
2717
|
branch: undefined,
|
|
2718
2718
|
};
|
|
2719
|
-
const data =
|
|
2719
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2720
2720
|
if (data.branch !== undefined && data.branch !== null) {
|
|
2721
2721
|
contents.branch = deserializeAws_restJson1Branch(data.branch, context);
|
|
2722
2722
|
}
|
|
@@ -2788,7 +2788,7 @@ const deserializeAws_restJson1GetDomainAssociationCommand = async (output, conte
|
|
|
2788
2788
|
$metadata: deserializeMetadata(output),
|
|
2789
2789
|
domainAssociation: undefined,
|
|
2790
2790
|
};
|
|
2791
|
-
const data =
|
|
2791
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2792
2792
|
if (data.domainAssociation !== undefined && data.domainAssociation !== null) {
|
|
2793
2793
|
contents.domainAssociation = deserializeAws_restJson1DomainAssociation(data.domainAssociation, context);
|
|
2794
2794
|
}
|
|
@@ -2860,7 +2860,7 @@ const deserializeAws_restJson1GetJobCommand = async (output, context) => {
|
|
|
2860
2860
|
$metadata: deserializeMetadata(output),
|
|
2861
2861
|
job: undefined,
|
|
2862
2862
|
};
|
|
2863
|
-
const data =
|
|
2863
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2864
2864
|
if (data.job !== undefined && data.job !== null) {
|
|
2865
2865
|
contents.job = deserializeAws_restJson1Job(data.job, context);
|
|
2866
2866
|
}
|
|
@@ -2940,7 +2940,7 @@ const deserializeAws_restJson1GetWebhookCommand = async (output, context) => {
|
|
|
2940
2940
|
$metadata: deserializeMetadata(output),
|
|
2941
2941
|
webhook: undefined,
|
|
2942
2942
|
};
|
|
2943
|
-
const data =
|
|
2943
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2944
2944
|
if (data.webhook !== undefined && data.webhook !== null) {
|
|
2945
2945
|
contents.webhook = deserializeAws_restJson1Webhook(data.webhook, context);
|
|
2946
2946
|
}
|
|
@@ -3021,12 +3021,12 @@ const deserializeAws_restJson1ListAppsCommand = async (output, context) => {
|
|
|
3021
3021
|
apps: undefined,
|
|
3022
3022
|
nextToken: undefined,
|
|
3023
3023
|
};
|
|
3024
|
-
const data =
|
|
3024
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3025
3025
|
if (data.apps !== undefined && data.apps !== null) {
|
|
3026
3026
|
contents.apps = deserializeAws_restJson1Apps(data.apps, context);
|
|
3027
3027
|
}
|
|
3028
3028
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3029
|
-
contents.nextToken =
|
|
3029
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3030
3030
|
}
|
|
3031
3031
|
return Promise.resolve(contents);
|
|
3032
3032
|
};
|
|
@@ -3089,12 +3089,12 @@ const deserializeAws_restJson1ListArtifactsCommand = async (output, context) =>
|
|
|
3089
3089
|
artifacts: undefined,
|
|
3090
3090
|
nextToken: undefined,
|
|
3091
3091
|
};
|
|
3092
|
-
const data =
|
|
3092
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3093
3093
|
if (data.artifacts !== undefined && data.artifacts !== null) {
|
|
3094
3094
|
contents.artifacts = deserializeAws_restJson1Artifacts(data.artifacts, context);
|
|
3095
3095
|
}
|
|
3096
3096
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3097
|
-
contents.nextToken =
|
|
3097
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3098
3098
|
}
|
|
3099
3099
|
return Promise.resolve(contents);
|
|
3100
3100
|
};
|
|
@@ -3165,12 +3165,12 @@ const deserializeAws_restJson1ListBackendEnvironmentsCommand = async (output, co
|
|
|
3165
3165
|
backendEnvironments: undefined,
|
|
3166
3166
|
nextToken: undefined,
|
|
3167
3167
|
};
|
|
3168
|
-
const data =
|
|
3168
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3169
3169
|
if (data.backendEnvironments !== undefined && data.backendEnvironments !== null) {
|
|
3170
3170
|
contents.backendEnvironments = deserializeAws_restJson1BackendEnvironments(data.backendEnvironments, context);
|
|
3171
3171
|
}
|
|
3172
3172
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3173
|
-
contents.nextToken =
|
|
3173
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3174
3174
|
}
|
|
3175
3175
|
return Promise.resolve(contents);
|
|
3176
3176
|
};
|
|
@@ -3233,12 +3233,12 @@ const deserializeAws_restJson1ListBranchesCommand = async (output, context) => {
|
|
|
3233
3233
|
branches: undefined,
|
|
3234
3234
|
nextToken: undefined,
|
|
3235
3235
|
};
|
|
3236
|
-
const data =
|
|
3236
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3237
3237
|
if (data.branches !== undefined && data.branches !== null) {
|
|
3238
3238
|
contents.branches = deserializeAws_restJson1Branches(data.branches, context);
|
|
3239
3239
|
}
|
|
3240
3240
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3241
|
-
contents.nextToken =
|
|
3241
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3242
3242
|
}
|
|
3243
3243
|
return Promise.resolve(contents);
|
|
3244
3244
|
};
|
|
@@ -3301,12 +3301,12 @@ const deserializeAws_restJson1ListDomainAssociationsCommand = async (output, con
|
|
|
3301
3301
|
domainAssociations: undefined,
|
|
3302
3302
|
nextToken: undefined,
|
|
3303
3303
|
};
|
|
3304
|
-
const data =
|
|
3304
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3305
3305
|
if (data.domainAssociations !== undefined && data.domainAssociations !== null) {
|
|
3306
3306
|
contents.domainAssociations = deserializeAws_restJson1DomainAssociations(data.domainAssociations, context);
|
|
3307
3307
|
}
|
|
3308
3308
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3309
|
-
contents.nextToken =
|
|
3309
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3310
3310
|
}
|
|
3311
3311
|
return Promise.resolve(contents);
|
|
3312
3312
|
};
|
|
@@ -3369,12 +3369,12 @@ const deserializeAws_restJson1ListJobsCommand = async (output, context) => {
|
|
|
3369
3369
|
jobSummaries: undefined,
|
|
3370
3370
|
nextToken: undefined,
|
|
3371
3371
|
};
|
|
3372
|
-
const data =
|
|
3372
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3373
3373
|
if (data.jobSummaries !== undefined && data.jobSummaries !== null) {
|
|
3374
3374
|
contents.jobSummaries = deserializeAws_restJson1JobSummaries(data.jobSummaries, context);
|
|
3375
3375
|
}
|
|
3376
3376
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3377
|
-
contents.nextToken =
|
|
3377
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3378
3378
|
}
|
|
3379
3379
|
return Promise.resolve(contents);
|
|
3380
3380
|
};
|
|
@@ -3444,7 +3444,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
3444
3444
|
$metadata: deserializeMetadata(output),
|
|
3445
3445
|
tags: undefined,
|
|
3446
3446
|
};
|
|
3447
|
-
const data =
|
|
3447
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3448
3448
|
if (data.tags !== undefined && data.tags !== null) {
|
|
3449
3449
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
3450
3450
|
}
|
|
@@ -3509,9 +3509,9 @@ const deserializeAws_restJson1ListWebhooksCommand = async (output, context) => {
|
|
|
3509
3509
|
nextToken: undefined,
|
|
3510
3510
|
webhooks: undefined,
|
|
3511
3511
|
};
|
|
3512
|
-
const data =
|
|
3512
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3513
3513
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3514
|
-
contents.nextToken =
|
|
3514
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3515
3515
|
}
|
|
3516
3516
|
if (data.webhooks !== undefined && data.webhooks !== null) {
|
|
3517
3517
|
contents.webhooks = deserializeAws_restJson1Webhooks(data.webhooks, context);
|
|
@@ -3584,7 +3584,7 @@ const deserializeAws_restJson1StartDeploymentCommand = async (output, context) =
|
|
|
3584
3584
|
$metadata: deserializeMetadata(output),
|
|
3585
3585
|
jobSummary: undefined,
|
|
3586
3586
|
};
|
|
3587
|
-
const data =
|
|
3587
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3588
3588
|
if (data.jobSummary !== undefined && data.jobSummary !== null) {
|
|
3589
3589
|
contents.jobSummary = deserializeAws_restJson1JobSummary(data.jobSummary, context);
|
|
3590
3590
|
}
|
|
@@ -3664,7 +3664,7 @@ const deserializeAws_restJson1StartJobCommand = async (output, context) => {
|
|
|
3664
3664
|
$metadata: deserializeMetadata(output),
|
|
3665
3665
|
jobSummary: undefined,
|
|
3666
3666
|
};
|
|
3667
|
-
const data =
|
|
3667
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3668
3668
|
if (data.jobSummary !== undefined && data.jobSummary !== null) {
|
|
3669
3669
|
contents.jobSummary = deserializeAws_restJson1JobSummary(data.jobSummary, context);
|
|
3670
3670
|
}
|
|
@@ -3744,7 +3744,7 @@ const deserializeAws_restJson1StopJobCommand = async (output, context) => {
|
|
|
3744
3744
|
$metadata: deserializeMetadata(output),
|
|
3745
3745
|
jobSummary: undefined,
|
|
3746
3746
|
};
|
|
3747
|
-
const data =
|
|
3747
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3748
3748
|
if (data.jobSummary !== undefined && data.jobSummary !== null) {
|
|
3749
3749
|
contents.jobSummary = deserializeAws_restJson1JobSummary(data.jobSummary, context);
|
|
3750
3750
|
}
|
|
@@ -3944,7 +3944,7 @@ const deserializeAws_restJson1UpdateAppCommand = async (output, context) => {
|
|
|
3944
3944
|
$metadata: deserializeMetadata(output),
|
|
3945
3945
|
app: undefined,
|
|
3946
3946
|
};
|
|
3947
|
-
const data =
|
|
3947
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3948
3948
|
if (data.app !== undefined && data.app !== null) {
|
|
3949
3949
|
contents.app = deserializeAws_restJson1App(data.app, context);
|
|
3950
3950
|
}
|
|
@@ -4016,7 +4016,7 @@ const deserializeAws_restJson1UpdateBranchCommand = async (output, context) => {
|
|
|
4016
4016
|
$metadata: deserializeMetadata(output),
|
|
4017
4017
|
branch: undefined,
|
|
4018
4018
|
};
|
|
4019
|
-
const data =
|
|
4019
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4020
4020
|
if (data.branch !== undefined && data.branch !== null) {
|
|
4021
4021
|
contents.branch = deserializeAws_restJson1Branch(data.branch, context);
|
|
4022
4022
|
}
|
|
@@ -4096,7 +4096,7 @@ const deserializeAws_restJson1UpdateDomainAssociationCommand = async (output, co
|
|
|
4096
4096
|
$metadata: deserializeMetadata(output),
|
|
4097
4097
|
domainAssociation: undefined,
|
|
4098
4098
|
};
|
|
4099
|
-
const data =
|
|
4099
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4100
4100
|
if (data.domainAssociation !== undefined && data.domainAssociation !== null) {
|
|
4101
4101
|
contents.domainAssociation = deserializeAws_restJson1DomainAssociation(data.domainAssociation, context);
|
|
4102
4102
|
}
|
|
@@ -4176,7 +4176,7 @@ const deserializeAws_restJson1UpdateWebhookCommand = async (output, context) =>
|
|
|
4176
4176
|
$metadata: deserializeMetadata(output),
|
|
4177
4177
|
webhook: undefined,
|
|
4178
4178
|
};
|
|
4179
|
-
const data =
|
|
4179
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4180
4180
|
if (data.webhook !== undefined && data.webhook !== null) {
|
|
4181
4181
|
contents.webhook = deserializeAws_restJson1Webhook(data.webhook, context);
|
|
4182
4182
|
}
|
|
@@ -4257,7 +4257,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
|
|
|
4257
4257
|
};
|
|
4258
4258
|
const data = parsedOutput.body;
|
|
4259
4259
|
if (data.message !== undefined && data.message !== null) {
|
|
4260
|
-
contents.message =
|
|
4260
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
4261
4261
|
}
|
|
4262
4262
|
return contents;
|
|
4263
4263
|
};
|
|
@@ -4270,7 +4270,7 @@ const deserializeAws_restJson1DependentServiceFailureExceptionResponse = async (
|
|
|
4270
4270
|
};
|
|
4271
4271
|
const data = parsedOutput.body;
|
|
4272
4272
|
if (data.message !== undefined && data.message !== null) {
|
|
4273
|
-
contents.message =
|
|
4273
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
4274
4274
|
}
|
|
4275
4275
|
return contents;
|
|
4276
4276
|
};
|
|
@@ -4283,7 +4283,7 @@ const deserializeAws_restJson1InternalFailureExceptionResponse = async (parsedOu
|
|
|
4283
4283
|
};
|
|
4284
4284
|
const data = parsedOutput.body;
|
|
4285
4285
|
if (data.message !== undefined && data.message !== null) {
|
|
4286
|
-
contents.message =
|
|
4286
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
4287
4287
|
}
|
|
4288
4288
|
return contents;
|
|
4289
4289
|
};
|
|
@@ -4296,7 +4296,7 @@ const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutp
|
|
|
4296
4296
|
};
|
|
4297
4297
|
const data = parsedOutput.body;
|
|
4298
4298
|
if (data.message !== undefined && data.message !== null) {
|
|
4299
|
-
contents.message =
|
|
4299
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
4300
4300
|
}
|
|
4301
4301
|
return contents;
|
|
4302
4302
|
};
|
|
@@ -4309,7 +4309,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
|
|
|
4309
4309
|
};
|
|
4310
4310
|
const data = parsedOutput.body;
|
|
4311
4311
|
if (data.message !== undefined && data.message !== null) {
|
|
4312
|
-
contents.message =
|
|
4312
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
4313
4313
|
}
|
|
4314
4314
|
return contents;
|
|
4315
4315
|
};
|
|
@@ -4323,10 +4323,10 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
4323
4323
|
};
|
|
4324
4324
|
const data = parsedOutput.body;
|
|
4325
4325
|
if (data.code !== undefined && data.code !== null) {
|
|
4326
|
-
contents.code =
|
|
4326
|
+
contents.code = smithy_client_1.expectString(data.code);
|
|
4327
4327
|
}
|
|
4328
4328
|
if (data.message !== undefined && data.message !== null) {
|
|
4329
|
-
contents.message =
|
|
4329
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
4330
4330
|
}
|
|
4331
4331
|
return contents;
|
|
4332
4332
|
};
|
|
@@ -4339,7 +4339,7 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
|
|
|
4339
4339
|
};
|
|
4340
4340
|
const data = parsedOutput.body;
|
|
4341
4341
|
if (data.message !== undefined && data.message !== null) {
|
|
4342
|
-
contents.message =
|
|
4342
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
4343
4343
|
}
|
|
4344
4344
|
return contents;
|
|
4345
4345
|
};
|
|
@@ -4455,44 +4455,44 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
4455
4455
|
};
|
|
4456
4456
|
const deserializeAws_restJson1App = (output, context) => {
|
|
4457
4457
|
return {
|
|
4458
|
-
appArn:
|
|
4459
|
-
appId:
|
|
4458
|
+
appArn: smithy_client_1.expectString(output.appArn),
|
|
4459
|
+
appId: smithy_client_1.expectString(output.appId),
|
|
4460
4460
|
autoBranchCreationConfig: output.autoBranchCreationConfig !== undefined && output.autoBranchCreationConfig !== null
|
|
4461
4461
|
? deserializeAws_restJson1AutoBranchCreationConfig(output.autoBranchCreationConfig, context)
|
|
4462
4462
|
: undefined,
|
|
4463
4463
|
autoBranchCreationPatterns: output.autoBranchCreationPatterns !== undefined && output.autoBranchCreationPatterns !== null
|
|
4464
4464
|
? deserializeAws_restJson1AutoBranchCreationPatterns(output.autoBranchCreationPatterns, context)
|
|
4465
4465
|
: undefined,
|
|
4466
|
-
basicAuthCredentials:
|
|
4467
|
-
buildSpec:
|
|
4466
|
+
basicAuthCredentials: smithy_client_1.expectString(output.basicAuthCredentials),
|
|
4467
|
+
buildSpec: smithy_client_1.expectString(output.buildSpec),
|
|
4468
4468
|
createTime: output.createTime !== undefined && output.createTime !== null
|
|
4469
|
-
?
|
|
4469
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createTime)))
|
|
4470
4470
|
: undefined,
|
|
4471
|
-
customHeaders:
|
|
4471
|
+
customHeaders: smithy_client_1.expectString(output.customHeaders),
|
|
4472
4472
|
customRules: output.customRules !== undefined && output.customRules !== null
|
|
4473
4473
|
? deserializeAws_restJson1CustomRules(output.customRules, context)
|
|
4474
4474
|
: undefined,
|
|
4475
|
-
defaultDomain:
|
|
4476
|
-
description:
|
|
4477
|
-
enableAutoBranchCreation:
|
|
4478
|
-
enableBasicAuth:
|
|
4479
|
-
enableBranchAutoBuild:
|
|
4480
|
-
enableBranchAutoDeletion:
|
|
4475
|
+
defaultDomain: smithy_client_1.expectString(output.defaultDomain),
|
|
4476
|
+
description: smithy_client_1.expectString(output.description),
|
|
4477
|
+
enableAutoBranchCreation: smithy_client_1.expectBoolean(output.enableAutoBranchCreation),
|
|
4478
|
+
enableBasicAuth: smithy_client_1.expectBoolean(output.enableBasicAuth),
|
|
4479
|
+
enableBranchAutoBuild: smithy_client_1.expectBoolean(output.enableBranchAutoBuild),
|
|
4480
|
+
enableBranchAutoDeletion: smithy_client_1.expectBoolean(output.enableBranchAutoDeletion),
|
|
4481
4481
|
environmentVariables: output.environmentVariables !== undefined && output.environmentVariables !== null
|
|
4482
4482
|
? deserializeAws_restJson1EnvironmentVariables(output.environmentVariables, context)
|
|
4483
4483
|
: undefined,
|
|
4484
|
-
iamServiceRoleArn:
|
|
4485
|
-
name:
|
|
4486
|
-
platform:
|
|
4484
|
+
iamServiceRoleArn: smithy_client_1.expectString(output.iamServiceRoleArn),
|
|
4485
|
+
name: smithy_client_1.expectString(output.name),
|
|
4486
|
+
platform: smithy_client_1.expectString(output.platform),
|
|
4487
4487
|
productionBranch: output.productionBranch !== undefined && output.productionBranch !== null
|
|
4488
4488
|
? deserializeAws_restJson1ProductionBranch(output.productionBranch, context)
|
|
4489
4489
|
: undefined,
|
|
4490
|
-
repository:
|
|
4490
|
+
repository: smithy_client_1.expectString(output.repository),
|
|
4491
4491
|
tags: output.tags !== undefined && output.tags !== null
|
|
4492
4492
|
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
4493
4493
|
: undefined,
|
|
4494
4494
|
updateTime: output.updateTime !== undefined && output.updateTime !== null
|
|
4495
|
-
?
|
|
4495
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updateTime)))
|
|
4496
4496
|
: undefined,
|
|
4497
4497
|
};
|
|
4498
4498
|
};
|
|
@@ -4508,8 +4508,8 @@ const deserializeAws_restJson1Apps = (output, context) => {
|
|
|
4508
4508
|
};
|
|
4509
4509
|
const deserializeAws_restJson1Artifact = (output, context) => {
|
|
4510
4510
|
return {
|
|
4511
|
-
artifactFileName:
|
|
4512
|
-
artifactId:
|
|
4511
|
+
artifactFileName: smithy_client_1.expectString(output.artifactFileName),
|
|
4512
|
+
artifactId: smithy_client_1.expectString(output.artifactId),
|
|
4513
4513
|
};
|
|
4514
4514
|
};
|
|
4515
4515
|
const deserializeAws_restJson1Artifacts = (output, context) => {
|
|
@@ -4529,23 +4529,23 @@ const deserializeAws_restJson1AssociatedResources = (output, context) => {
|
|
|
4529
4529
|
if (entry === null) {
|
|
4530
4530
|
return null;
|
|
4531
4531
|
}
|
|
4532
|
-
return
|
|
4532
|
+
return smithy_client_1.expectString(entry);
|
|
4533
4533
|
});
|
|
4534
4534
|
};
|
|
4535
4535
|
const deserializeAws_restJson1AutoBranchCreationConfig = (output, context) => {
|
|
4536
4536
|
return {
|
|
4537
|
-
basicAuthCredentials:
|
|
4538
|
-
buildSpec:
|
|
4539
|
-
enableAutoBuild:
|
|
4540
|
-
enableBasicAuth:
|
|
4541
|
-
enablePerformanceMode:
|
|
4542
|
-
enablePullRequestPreview:
|
|
4537
|
+
basicAuthCredentials: smithy_client_1.expectString(output.basicAuthCredentials),
|
|
4538
|
+
buildSpec: smithy_client_1.expectString(output.buildSpec),
|
|
4539
|
+
enableAutoBuild: smithy_client_1.expectBoolean(output.enableAutoBuild),
|
|
4540
|
+
enableBasicAuth: smithy_client_1.expectBoolean(output.enableBasicAuth),
|
|
4541
|
+
enablePerformanceMode: smithy_client_1.expectBoolean(output.enablePerformanceMode),
|
|
4542
|
+
enablePullRequestPreview: smithy_client_1.expectBoolean(output.enablePullRequestPreview),
|
|
4543
4543
|
environmentVariables: output.environmentVariables !== undefined && output.environmentVariables !== null
|
|
4544
4544
|
? deserializeAws_restJson1EnvironmentVariables(output.environmentVariables, context)
|
|
4545
4545
|
: undefined,
|
|
4546
|
-
framework:
|
|
4547
|
-
pullRequestEnvironmentName:
|
|
4548
|
-
stage:
|
|
4546
|
+
framework: smithy_client_1.expectString(output.framework),
|
|
4547
|
+
pullRequestEnvironmentName: smithy_client_1.expectString(output.pullRequestEnvironmentName),
|
|
4548
|
+
stage: smithy_client_1.expectString(output.stage),
|
|
4549
4549
|
};
|
|
4550
4550
|
};
|
|
4551
4551
|
const deserializeAws_restJson1AutoBranchCreationPatterns = (output, context) => {
|
|
@@ -4555,7 +4555,7 @@ const deserializeAws_restJson1AutoBranchCreationPatterns = (output, context) =>
|
|
|
4555
4555
|
if (entry === null) {
|
|
4556
4556
|
return null;
|
|
4557
4557
|
}
|
|
4558
|
-
return
|
|
4558
|
+
return smithy_client_1.expectString(entry);
|
|
4559
4559
|
});
|
|
4560
4560
|
};
|
|
4561
4561
|
const deserializeAws_restJson1AutoSubDomainCreationPatterns = (output, context) => {
|
|
@@ -4565,20 +4565,20 @@ const deserializeAws_restJson1AutoSubDomainCreationPatterns = (output, context)
|
|
|
4565
4565
|
if (entry === null) {
|
|
4566
4566
|
return null;
|
|
4567
4567
|
}
|
|
4568
|
-
return
|
|
4568
|
+
return smithy_client_1.expectString(entry);
|
|
4569
4569
|
});
|
|
4570
4570
|
};
|
|
4571
4571
|
const deserializeAws_restJson1BackendEnvironment = (output, context) => {
|
|
4572
4572
|
return {
|
|
4573
|
-
backendEnvironmentArn:
|
|
4573
|
+
backendEnvironmentArn: smithy_client_1.expectString(output.backendEnvironmentArn),
|
|
4574
4574
|
createTime: output.createTime !== undefined && output.createTime !== null
|
|
4575
|
-
?
|
|
4575
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createTime)))
|
|
4576
4576
|
: undefined,
|
|
4577
|
-
deploymentArtifacts:
|
|
4578
|
-
environmentName:
|
|
4579
|
-
stackName:
|
|
4577
|
+
deploymentArtifacts: smithy_client_1.expectString(output.deploymentArtifacts),
|
|
4578
|
+
environmentName: smithy_client_1.expectString(output.environmentName),
|
|
4579
|
+
stackName: smithy_client_1.expectString(output.stackName),
|
|
4580
4580
|
updateTime: output.updateTime !== undefined && output.updateTime !== null
|
|
4581
|
-
?
|
|
4581
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updateTime)))
|
|
4582
4582
|
: undefined,
|
|
4583
4583
|
};
|
|
4584
4584
|
};
|
|
@@ -4594,44 +4594,44 @@ const deserializeAws_restJson1BackendEnvironments = (output, context) => {
|
|
|
4594
4594
|
};
|
|
4595
4595
|
const deserializeAws_restJson1Branch = (output, context) => {
|
|
4596
4596
|
return {
|
|
4597
|
-
activeJobId:
|
|
4597
|
+
activeJobId: smithy_client_1.expectString(output.activeJobId),
|
|
4598
4598
|
associatedResources: output.associatedResources !== undefined && output.associatedResources !== null
|
|
4599
4599
|
? deserializeAws_restJson1AssociatedResources(output.associatedResources, context)
|
|
4600
4600
|
: undefined,
|
|
4601
|
-
backendEnvironmentArn:
|
|
4602
|
-
basicAuthCredentials:
|
|
4603
|
-
branchArn:
|
|
4604
|
-
branchName:
|
|
4605
|
-
buildSpec:
|
|
4601
|
+
backendEnvironmentArn: smithy_client_1.expectString(output.backendEnvironmentArn),
|
|
4602
|
+
basicAuthCredentials: smithy_client_1.expectString(output.basicAuthCredentials),
|
|
4603
|
+
branchArn: smithy_client_1.expectString(output.branchArn),
|
|
4604
|
+
branchName: smithy_client_1.expectString(output.branchName),
|
|
4605
|
+
buildSpec: smithy_client_1.expectString(output.buildSpec),
|
|
4606
4606
|
createTime: output.createTime !== undefined && output.createTime !== null
|
|
4607
|
-
?
|
|
4607
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createTime)))
|
|
4608
4608
|
: undefined,
|
|
4609
4609
|
customDomains: output.customDomains !== undefined && output.customDomains !== null
|
|
4610
4610
|
? deserializeAws_restJson1CustomDomains(output.customDomains, context)
|
|
4611
4611
|
: undefined,
|
|
4612
|
-
description:
|
|
4613
|
-
destinationBranch:
|
|
4614
|
-
displayName:
|
|
4615
|
-
enableAutoBuild:
|
|
4616
|
-
enableBasicAuth:
|
|
4617
|
-
enableNotification:
|
|
4618
|
-
enablePerformanceMode:
|
|
4619
|
-
enablePullRequestPreview:
|
|
4612
|
+
description: smithy_client_1.expectString(output.description),
|
|
4613
|
+
destinationBranch: smithy_client_1.expectString(output.destinationBranch),
|
|
4614
|
+
displayName: smithy_client_1.expectString(output.displayName),
|
|
4615
|
+
enableAutoBuild: smithy_client_1.expectBoolean(output.enableAutoBuild),
|
|
4616
|
+
enableBasicAuth: smithy_client_1.expectBoolean(output.enableBasicAuth),
|
|
4617
|
+
enableNotification: smithy_client_1.expectBoolean(output.enableNotification),
|
|
4618
|
+
enablePerformanceMode: smithy_client_1.expectBoolean(output.enablePerformanceMode),
|
|
4619
|
+
enablePullRequestPreview: smithy_client_1.expectBoolean(output.enablePullRequestPreview),
|
|
4620
4620
|
environmentVariables: output.environmentVariables !== undefined && output.environmentVariables !== null
|
|
4621
4621
|
? deserializeAws_restJson1EnvironmentVariables(output.environmentVariables, context)
|
|
4622
4622
|
: undefined,
|
|
4623
|
-
framework:
|
|
4624
|
-
pullRequestEnvironmentName:
|
|
4625
|
-
sourceBranch:
|
|
4626
|
-
stage:
|
|
4623
|
+
framework: smithy_client_1.expectString(output.framework),
|
|
4624
|
+
pullRequestEnvironmentName: smithy_client_1.expectString(output.pullRequestEnvironmentName),
|
|
4625
|
+
sourceBranch: smithy_client_1.expectString(output.sourceBranch),
|
|
4626
|
+
stage: smithy_client_1.expectString(output.stage),
|
|
4627
4627
|
tags: output.tags !== undefined && output.tags !== null
|
|
4628
4628
|
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
4629
4629
|
: undefined,
|
|
4630
|
-
thumbnailUrl:
|
|
4631
|
-
totalNumberOfJobs:
|
|
4632
|
-
ttl:
|
|
4630
|
+
thumbnailUrl: smithy_client_1.expectString(output.thumbnailUrl),
|
|
4631
|
+
totalNumberOfJobs: smithy_client_1.expectString(output.totalNumberOfJobs),
|
|
4632
|
+
ttl: smithy_client_1.expectString(output.ttl),
|
|
4633
4633
|
updateTime: output.updateTime !== undefined && output.updateTime !== null
|
|
4634
|
-
?
|
|
4634
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updateTime)))
|
|
4635
4635
|
: undefined,
|
|
4636
4636
|
};
|
|
4637
4637
|
};
|
|
@@ -4652,15 +4652,15 @@ const deserializeAws_restJson1CustomDomains = (output, context) => {
|
|
|
4652
4652
|
if (entry === null) {
|
|
4653
4653
|
return null;
|
|
4654
4654
|
}
|
|
4655
|
-
return
|
|
4655
|
+
return smithy_client_1.expectString(entry);
|
|
4656
4656
|
});
|
|
4657
4657
|
};
|
|
4658
4658
|
const deserializeAws_restJson1CustomRule = (output, context) => {
|
|
4659
4659
|
return {
|
|
4660
|
-
condition:
|
|
4661
|
-
source:
|
|
4662
|
-
status:
|
|
4663
|
-
target:
|
|
4660
|
+
condition: smithy_client_1.expectString(output.condition),
|
|
4661
|
+
source: smithy_client_1.expectString(output.source),
|
|
4662
|
+
status: smithy_client_1.expectString(output.status),
|
|
4663
|
+
target: smithy_client_1.expectString(output.target),
|
|
4664
4664
|
};
|
|
4665
4665
|
};
|
|
4666
4666
|
const deserializeAws_restJson1CustomRules = (output, context) => {
|
|
@@ -4678,13 +4678,13 @@ const deserializeAws_restJson1DomainAssociation = (output, context) => {
|
|
|
4678
4678
|
autoSubDomainCreationPatterns: output.autoSubDomainCreationPatterns !== undefined && output.autoSubDomainCreationPatterns !== null
|
|
4679
4679
|
? deserializeAws_restJson1AutoSubDomainCreationPatterns(output.autoSubDomainCreationPatterns, context)
|
|
4680
4680
|
: undefined,
|
|
4681
|
-
autoSubDomainIAMRole:
|
|
4682
|
-
certificateVerificationDNSRecord:
|
|
4683
|
-
domainAssociationArn:
|
|
4684
|
-
domainName:
|
|
4685
|
-
domainStatus:
|
|
4686
|
-
enableAutoSubDomain:
|
|
4687
|
-
statusReason:
|
|
4681
|
+
autoSubDomainIAMRole: smithy_client_1.expectString(output.autoSubDomainIAMRole),
|
|
4682
|
+
certificateVerificationDNSRecord: smithy_client_1.expectString(output.certificateVerificationDNSRecord),
|
|
4683
|
+
domainAssociationArn: smithy_client_1.expectString(output.domainAssociationArn),
|
|
4684
|
+
domainName: smithy_client_1.expectString(output.domainName),
|
|
4685
|
+
domainStatus: smithy_client_1.expectString(output.domainStatus),
|
|
4686
|
+
enableAutoSubDomain: smithy_client_1.expectBoolean(output.enableAutoSubDomain),
|
|
4687
|
+
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
4688
4688
|
subDomains: output.subDomains !== undefined && output.subDomains !== null
|
|
4689
4689
|
? deserializeAws_restJson1SubDomains(output.subDomains, context)
|
|
4690
4690
|
: undefined,
|
|
@@ -4707,7 +4707,7 @@ const deserializeAws_restJson1EnvironmentVariables = (output, context) => {
|
|
|
4707
4707
|
}
|
|
4708
4708
|
return {
|
|
4709
4709
|
...acc,
|
|
4710
|
-
[key]:
|
|
4710
|
+
[key]: smithy_client_1.expectString(value),
|
|
4711
4711
|
};
|
|
4712
4712
|
}, {});
|
|
4713
4713
|
};
|
|
@@ -4718,7 +4718,7 @@ const deserializeAws_restJson1FileUploadUrls = (output, context) => {
|
|
|
4718
4718
|
}
|
|
4719
4719
|
return {
|
|
4720
4720
|
...acc,
|
|
4721
|
-
[key]:
|
|
4721
|
+
[key]: smithy_client_1.expectString(value),
|
|
4722
4722
|
};
|
|
4723
4723
|
}, {});
|
|
4724
4724
|
};
|
|
@@ -4744,31 +4744,31 @@ const deserializeAws_restJson1JobSummaries = (output, context) => {
|
|
|
4744
4744
|
};
|
|
4745
4745
|
const deserializeAws_restJson1JobSummary = (output, context) => {
|
|
4746
4746
|
return {
|
|
4747
|
-
commitId:
|
|
4748
|
-
commitMessage:
|
|
4747
|
+
commitId: smithy_client_1.expectString(output.commitId),
|
|
4748
|
+
commitMessage: smithy_client_1.expectString(output.commitMessage),
|
|
4749
4749
|
commitTime: output.commitTime !== undefined && output.commitTime !== null
|
|
4750
|
-
?
|
|
4750
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.commitTime)))
|
|
4751
4751
|
: undefined,
|
|
4752
4752
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
4753
|
-
?
|
|
4753
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
|
|
4754
4754
|
: undefined,
|
|
4755
|
-
jobArn:
|
|
4756
|
-
jobId:
|
|
4757
|
-
jobType:
|
|
4755
|
+
jobArn: smithy_client_1.expectString(output.jobArn),
|
|
4756
|
+
jobId: smithy_client_1.expectString(output.jobId),
|
|
4757
|
+
jobType: smithy_client_1.expectString(output.jobType),
|
|
4758
4758
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
4759
|
-
?
|
|
4759
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
4760
4760
|
: undefined,
|
|
4761
|
-
status:
|
|
4761
|
+
status: smithy_client_1.expectString(output.status),
|
|
4762
4762
|
};
|
|
4763
4763
|
};
|
|
4764
4764
|
const deserializeAws_restJson1ProductionBranch = (output, context) => {
|
|
4765
4765
|
return {
|
|
4766
|
-
branchName:
|
|
4766
|
+
branchName: smithy_client_1.expectString(output.branchName),
|
|
4767
4767
|
lastDeployTime: output.lastDeployTime !== undefined && output.lastDeployTime !== null
|
|
4768
|
-
?
|
|
4768
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastDeployTime)))
|
|
4769
4769
|
: undefined,
|
|
4770
|
-
status:
|
|
4771
|
-
thumbnailUrl:
|
|
4770
|
+
status: smithy_client_1.expectString(output.status),
|
|
4771
|
+
thumbnailUrl: smithy_client_1.expectString(output.thumbnailUrl),
|
|
4772
4772
|
};
|
|
4773
4773
|
};
|
|
4774
4774
|
const deserializeAws_restJson1Screenshots = (output, context) => {
|
|
@@ -4778,29 +4778,29 @@ const deserializeAws_restJson1Screenshots = (output, context) => {
|
|
|
4778
4778
|
}
|
|
4779
4779
|
return {
|
|
4780
4780
|
...acc,
|
|
4781
|
-
[key]:
|
|
4781
|
+
[key]: smithy_client_1.expectString(value),
|
|
4782
4782
|
};
|
|
4783
4783
|
}, {});
|
|
4784
4784
|
};
|
|
4785
4785
|
const deserializeAws_restJson1Step = (output, context) => {
|
|
4786
4786
|
return {
|
|
4787
|
-
artifactsUrl:
|
|
4788
|
-
context:
|
|
4787
|
+
artifactsUrl: smithy_client_1.expectString(output.artifactsUrl),
|
|
4788
|
+
context: smithy_client_1.expectString(output.context),
|
|
4789
4789
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
4790
|
-
?
|
|
4790
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
|
|
4791
4791
|
: undefined,
|
|
4792
|
-
logUrl:
|
|
4792
|
+
logUrl: smithy_client_1.expectString(output.logUrl),
|
|
4793
4793
|
screenshots: output.screenshots !== undefined && output.screenshots !== null
|
|
4794
4794
|
? deserializeAws_restJson1Screenshots(output.screenshots, context)
|
|
4795
4795
|
: undefined,
|
|
4796
4796
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
4797
|
-
?
|
|
4797
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
4798
4798
|
: undefined,
|
|
4799
|
-
status:
|
|
4800
|
-
statusReason:
|
|
4801
|
-
stepName:
|
|
4802
|
-
testArtifactsUrl:
|
|
4803
|
-
testConfigUrl:
|
|
4799
|
+
status: smithy_client_1.expectString(output.status),
|
|
4800
|
+
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
4801
|
+
stepName: smithy_client_1.expectString(output.stepName),
|
|
4802
|
+
testArtifactsUrl: smithy_client_1.expectString(output.testArtifactsUrl),
|
|
4803
|
+
testConfigUrl: smithy_client_1.expectString(output.testConfigUrl),
|
|
4804
4804
|
};
|
|
4805
4805
|
};
|
|
4806
4806
|
const deserializeAws_restJson1Steps = (output, context) => {
|
|
@@ -4815,11 +4815,11 @@ const deserializeAws_restJson1Steps = (output, context) => {
|
|
|
4815
4815
|
};
|
|
4816
4816
|
const deserializeAws_restJson1SubDomain = (output, context) => {
|
|
4817
4817
|
return {
|
|
4818
|
-
dnsRecord:
|
|
4818
|
+
dnsRecord: smithy_client_1.expectString(output.dnsRecord),
|
|
4819
4819
|
subDomainSetting: output.subDomainSetting !== undefined && output.subDomainSetting !== null
|
|
4820
4820
|
? deserializeAws_restJson1SubDomainSetting(output.subDomainSetting, context)
|
|
4821
4821
|
: undefined,
|
|
4822
|
-
verified:
|
|
4822
|
+
verified: smithy_client_1.expectBoolean(output.verified),
|
|
4823
4823
|
};
|
|
4824
4824
|
};
|
|
4825
4825
|
const deserializeAws_restJson1SubDomains = (output, context) => {
|
|
@@ -4834,8 +4834,8 @@ const deserializeAws_restJson1SubDomains = (output, context) => {
|
|
|
4834
4834
|
};
|
|
4835
4835
|
const deserializeAws_restJson1SubDomainSetting = (output, context) => {
|
|
4836
4836
|
return {
|
|
4837
|
-
branchName:
|
|
4838
|
-
prefix:
|
|
4837
|
+
branchName: smithy_client_1.expectString(output.branchName),
|
|
4838
|
+
prefix: smithy_client_1.expectString(output.prefix),
|
|
4839
4839
|
};
|
|
4840
4840
|
};
|
|
4841
4841
|
const deserializeAws_restJson1TagMap = (output, context) => {
|
|
@@ -4845,23 +4845,23 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
4845
4845
|
}
|
|
4846
4846
|
return {
|
|
4847
4847
|
...acc,
|
|
4848
|
-
[key]:
|
|
4848
|
+
[key]: smithy_client_1.expectString(value),
|
|
4849
4849
|
};
|
|
4850
4850
|
}, {});
|
|
4851
4851
|
};
|
|
4852
4852
|
const deserializeAws_restJson1Webhook = (output, context) => {
|
|
4853
4853
|
return {
|
|
4854
|
-
branchName:
|
|
4854
|
+
branchName: smithy_client_1.expectString(output.branchName),
|
|
4855
4855
|
createTime: output.createTime !== undefined && output.createTime !== null
|
|
4856
|
-
?
|
|
4856
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createTime)))
|
|
4857
4857
|
: undefined,
|
|
4858
|
-
description:
|
|
4858
|
+
description: smithy_client_1.expectString(output.description),
|
|
4859
4859
|
updateTime: output.updateTime !== undefined && output.updateTime !== null
|
|
4860
|
-
?
|
|
4860
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updateTime)))
|
|
4861
4861
|
: undefined,
|
|
4862
|
-
webhookArn:
|
|
4863
|
-
webhookId:
|
|
4864
|
-
webhookUrl:
|
|
4862
|
+
webhookArn: smithy_client_1.expectString(output.webhookArn),
|
|
4863
|
+
webhookId: smithy_client_1.expectString(output.webhookId),
|
|
4864
|
+
webhookUrl: smithy_client_1.expectString(output.webhookUrl),
|
|
4865
4865
|
};
|
|
4866
4866
|
};
|
|
4867
4867
|
const deserializeAws_restJson1Webhooks = (output, context) => {
|