@aws-sdk/client-amplify 3.53.0 → 3.55.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 +27 -0
- package/dist-cjs/AmplifyClient.js +13 -13
- package/dist-cjs/commands/CreateAppCommand.js +3 -3
- package/dist-cjs/commands/CreateBackendEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/CreateBranchCommand.js +3 -3
- package/dist-cjs/commands/CreateDeploymentCommand.js +3 -3
- package/dist-cjs/commands/CreateDomainAssociationCommand.js +3 -3
- package/dist-cjs/commands/CreateWebhookCommand.js +3 -3
- package/dist-cjs/commands/DeleteAppCommand.js +3 -3
- package/dist-cjs/commands/DeleteBackendEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/DeleteBranchCommand.js +3 -3
- package/dist-cjs/commands/DeleteDomainAssociationCommand.js +3 -3
- package/dist-cjs/commands/DeleteJobCommand.js +3 -3
- package/dist-cjs/commands/DeleteWebhookCommand.js +3 -3
- package/dist-cjs/commands/GenerateAccessLogsCommand.js +3 -3
- package/dist-cjs/commands/GetAppCommand.js +3 -3
- package/dist-cjs/commands/GetArtifactUrlCommand.js +3 -3
- package/dist-cjs/commands/GetBackendEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/GetBranchCommand.js +3 -3
- package/dist-cjs/commands/GetDomainAssociationCommand.js +3 -3
- package/dist-cjs/commands/GetJobCommand.js +3 -3
- package/dist-cjs/commands/GetWebhookCommand.js +3 -3
- package/dist-cjs/commands/ListAppsCommand.js +3 -3
- package/dist-cjs/commands/ListArtifactsCommand.js +3 -3
- package/dist-cjs/commands/ListBackendEnvironmentsCommand.js +3 -3
- package/dist-cjs/commands/ListBranchesCommand.js +3 -3
- package/dist-cjs/commands/ListDomainAssociationsCommand.js +3 -3
- package/dist-cjs/commands/ListJobsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListWebhooksCommand.js +3 -3
- package/dist-cjs/commands/StartDeploymentCommand.js +3 -3
- package/dist-cjs/commands/StartJobCommand.js +3 -3
- package/dist-cjs/commands/StopJobCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAppCommand.js +3 -3
- package/dist-cjs/commands/UpdateBranchCommand.js +3 -3
- package/dist-cjs/commands/UpdateDomainAssociationCommand.js +3 -3
- package/dist-cjs/commands/UpdateWebhookCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +17 -2
- package/dist-cjs/protocols/Aws_restJson1.js +265 -264
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Amplify.js +37 -37
- package/dist-es/models/models_0.js +14 -7
- package/dist-es/protocols/Aws_restJson1.js +38 -37
- package/dist-types/AmplifyClient.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +51 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/AmplifyClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +10 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -72,7 +72,7 @@ const serializeAws_restJson1CreateBackendEnvironmentCommand = async (input, cont
|
|
|
72
72
|
if (labelValue.length <= 0) {
|
|
73
73
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
74
74
|
}
|
|
75
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
75
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
76
76
|
}
|
|
77
77
|
else {
|
|
78
78
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -107,7 +107,7 @@ const serializeAws_restJson1CreateBranchCommand = async (input, context) => {
|
|
|
107
107
|
if (labelValue.length <= 0) {
|
|
108
108
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
109
109
|
}
|
|
110
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
110
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
111
111
|
}
|
|
112
112
|
else {
|
|
113
113
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -166,7 +166,7 @@ const serializeAws_restJson1CreateDeploymentCommand = async (input, context) =>
|
|
|
166
166
|
if (labelValue.length <= 0) {
|
|
167
167
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
168
168
|
}
|
|
169
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
169
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
170
170
|
}
|
|
171
171
|
else {
|
|
172
172
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -176,7 +176,7 @@ const serializeAws_restJson1CreateDeploymentCommand = async (input, context) =>
|
|
|
176
176
|
if (labelValue.length <= 0) {
|
|
177
177
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
178
178
|
}
|
|
179
|
-
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
179
|
+
resolvedPath = resolvedPath.replace("{branchName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
182
182
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -208,7 +208,7 @@ const serializeAws_restJson1CreateDomainAssociationCommand = async (input, conte
|
|
|
208
208
|
if (labelValue.length <= 0) {
|
|
209
209
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
210
210
|
}
|
|
211
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
211
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
212
212
|
}
|
|
213
213
|
else {
|
|
214
214
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -251,7 +251,7 @@ const serializeAws_restJson1CreateWebhookCommand = async (input, context) => {
|
|
|
251
251
|
if (labelValue.length <= 0) {
|
|
252
252
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
253
253
|
}
|
|
254
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
254
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
255
255
|
}
|
|
256
256
|
else {
|
|
257
257
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -281,7 +281,7 @@ const serializeAws_restJson1DeleteAppCommand = async (input, context) => {
|
|
|
281
281
|
if (labelValue.length <= 0) {
|
|
282
282
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
283
283
|
}
|
|
284
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
284
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
285
285
|
}
|
|
286
286
|
else {
|
|
287
287
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -308,7 +308,7 @@ const serializeAws_restJson1DeleteBackendEnvironmentCommand = async (input, cont
|
|
|
308
308
|
if (labelValue.length <= 0) {
|
|
309
309
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
310
310
|
}
|
|
311
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
311
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
312
312
|
}
|
|
313
313
|
else {
|
|
314
314
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -318,7 +318,7 @@ const serializeAws_restJson1DeleteBackendEnvironmentCommand = async (input, cont
|
|
|
318
318
|
if (labelValue.length <= 0) {
|
|
319
319
|
throw new Error("Empty value provided for input HTTP label: environmentName.");
|
|
320
320
|
}
|
|
321
|
-
resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
321
|
+
resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
322
322
|
}
|
|
323
323
|
else {
|
|
324
324
|
throw new Error("No value provided for input HTTP label: environmentName.");
|
|
@@ -344,7 +344,7 @@ const serializeAws_restJson1DeleteBranchCommand = async (input, context) => {
|
|
|
344
344
|
if (labelValue.length <= 0) {
|
|
345
345
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
346
346
|
}
|
|
347
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
347
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
348
348
|
}
|
|
349
349
|
else {
|
|
350
350
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -354,7 +354,7 @@ const serializeAws_restJson1DeleteBranchCommand = async (input, context) => {
|
|
|
354
354
|
if (labelValue.length <= 0) {
|
|
355
355
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
356
356
|
}
|
|
357
|
-
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
357
|
+
resolvedPath = resolvedPath.replace("{branchName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
358
358
|
}
|
|
359
359
|
else {
|
|
360
360
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -380,7 +380,7 @@ const serializeAws_restJson1DeleteDomainAssociationCommand = async (input, conte
|
|
|
380
380
|
if (labelValue.length <= 0) {
|
|
381
381
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
382
382
|
}
|
|
383
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
383
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
384
384
|
}
|
|
385
385
|
else {
|
|
386
386
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -390,7 +390,7 @@ const serializeAws_restJson1DeleteDomainAssociationCommand = async (input, conte
|
|
|
390
390
|
if (labelValue.length <= 0) {
|
|
391
391
|
throw new Error("Empty value provided for input HTTP label: domainName.");
|
|
392
392
|
}
|
|
393
|
-
resolvedPath = resolvedPath.replace("{domainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
393
|
+
resolvedPath = resolvedPath.replace("{domainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
394
394
|
}
|
|
395
395
|
else {
|
|
396
396
|
throw new Error("No value provided for input HTTP label: domainName.");
|
|
@@ -417,7 +417,7 @@ const serializeAws_restJson1DeleteJobCommand = async (input, context) => {
|
|
|
417
417
|
if (labelValue.length <= 0) {
|
|
418
418
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
419
419
|
}
|
|
420
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
420
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
421
421
|
}
|
|
422
422
|
else {
|
|
423
423
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -427,7 +427,7 @@ const serializeAws_restJson1DeleteJobCommand = async (input, context) => {
|
|
|
427
427
|
if (labelValue.length <= 0) {
|
|
428
428
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
429
429
|
}
|
|
430
|
-
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
430
|
+
resolvedPath = resolvedPath.replace("{branchName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
431
431
|
}
|
|
432
432
|
else {
|
|
433
433
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -437,7 +437,7 @@ const serializeAws_restJson1DeleteJobCommand = async (input, context) => {
|
|
|
437
437
|
if (labelValue.length <= 0) {
|
|
438
438
|
throw new Error("Empty value provided for input HTTP label: jobId.");
|
|
439
439
|
}
|
|
440
|
-
resolvedPath = resolvedPath.replace("{jobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
440
|
+
resolvedPath = resolvedPath.replace("{jobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
441
441
|
}
|
|
442
442
|
else {
|
|
443
443
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
@@ -463,7 +463,7 @@ const serializeAws_restJson1DeleteWebhookCommand = async (input, context) => {
|
|
|
463
463
|
if (labelValue.length <= 0) {
|
|
464
464
|
throw new Error("Empty value provided for input HTTP label: webhookId.");
|
|
465
465
|
}
|
|
466
|
-
resolvedPath = resolvedPath.replace("{webhookId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
466
|
+
resolvedPath = resolvedPath.replace("{webhookId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
467
467
|
}
|
|
468
468
|
else {
|
|
469
469
|
throw new Error("No value provided for input HTTP label: webhookId.");
|
|
@@ -491,7 +491,7 @@ const serializeAws_restJson1GenerateAccessLogsCommand = async (input, context) =
|
|
|
491
491
|
if (labelValue.length <= 0) {
|
|
492
492
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
493
493
|
}
|
|
494
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
494
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
495
495
|
}
|
|
496
496
|
else {
|
|
497
497
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -524,7 +524,7 @@ const serializeAws_restJson1GetAppCommand = async (input, context) => {
|
|
|
524
524
|
if (labelValue.length <= 0) {
|
|
525
525
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
526
526
|
}
|
|
527
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
527
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
528
528
|
}
|
|
529
529
|
else {
|
|
530
530
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -550,7 +550,7 @@ const serializeAws_restJson1GetArtifactUrlCommand = async (input, context) => {
|
|
|
550
550
|
if (labelValue.length <= 0) {
|
|
551
551
|
throw new Error("Empty value provided for input HTTP label: artifactId.");
|
|
552
552
|
}
|
|
553
|
-
resolvedPath = resolvedPath.replace("{artifactId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
553
|
+
resolvedPath = resolvedPath.replace("{artifactId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
554
554
|
}
|
|
555
555
|
else {
|
|
556
556
|
throw new Error("No value provided for input HTTP label: artifactId.");
|
|
@@ -577,7 +577,7 @@ const serializeAws_restJson1GetBackendEnvironmentCommand = async (input, context
|
|
|
577
577
|
if (labelValue.length <= 0) {
|
|
578
578
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
579
579
|
}
|
|
580
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
580
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
581
581
|
}
|
|
582
582
|
else {
|
|
583
583
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -587,7 +587,7 @@ const serializeAws_restJson1GetBackendEnvironmentCommand = async (input, context
|
|
|
587
587
|
if (labelValue.length <= 0) {
|
|
588
588
|
throw new Error("Empty value provided for input HTTP label: environmentName.");
|
|
589
589
|
}
|
|
590
|
-
resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
590
|
+
resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
591
591
|
}
|
|
592
592
|
else {
|
|
593
593
|
throw new Error("No value provided for input HTTP label: environmentName.");
|
|
@@ -613,7 +613,7 @@ const serializeAws_restJson1GetBranchCommand = async (input, context) => {
|
|
|
613
613
|
if (labelValue.length <= 0) {
|
|
614
614
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
615
615
|
}
|
|
616
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
616
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
617
617
|
}
|
|
618
618
|
else {
|
|
619
619
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -623,7 +623,7 @@ const serializeAws_restJson1GetBranchCommand = async (input, context) => {
|
|
|
623
623
|
if (labelValue.length <= 0) {
|
|
624
624
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
625
625
|
}
|
|
626
|
-
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
626
|
+
resolvedPath = resolvedPath.replace("{branchName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
627
627
|
}
|
|
628
628
|
else {
|
|
629
629
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -649,7 +649,7 @@ const serializeAws_restJson1GetDomainAssociationCommand = async (input, context)
|
|
|
649
649
|
if (labelValue.length <= 0) {
|
|
650
650
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
651
651
|
}
|
|
652
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
652
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
653
653
|
}
|
|
654
654
|
else {
|
|
655
655
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -659,7 +659,7 @@ const serializeAws_restJson1GetDomainAssociationCommand = async (input, context)
|
|
|
659
659
|
if (labelValue.length <= 0) {
|
|
660
660
|
throw new Error("Empty value provided for input HTTP label: domainName.");
|
|
661
661
|
}
|
|
662
|
-
resolvedPath = resolvedPath.replace("{domainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
662
|
+
resolvedPath = resolvedPath.replace("{domainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
663
663
|
}
|
|
664
664
|
else {
|
|
665
665
|
throw new Error("No value provided for input HTTP label: domainName.");
|
|
@@ -686,7 +686,7 @@ const serializeAws_restJson1GetJobCommand = async (input, context) => {
|
|
|
686
686
|
if (labelValue.length <= 0) {
|
|
687
687
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
688
688
|
}
|
|
689
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
689
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
690
690
|
}
|
|
691
691
|
else {
|
|
692
692
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -696,7 +696,7 @@ const serializeAws_restJson1GetJobCommand = async (input, context) => {
|
|
|
696
696
|
if (labelValue.length <= 0) {
|
|
697
697
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
698
698
|
}
|
|
699
|
-
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
699
|
+
resolvedPath = resolvedPath.replace("{branchName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
700
700
|
}
|
|
701
701
|
else {
|
|
702
702
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -706,7 +706,7 @@ const serializeAws_restJson1GetJobCommand = async (input, context) => {
|
|
|
706
706
|
if (labelValue.length <= 0) {
|
|
707
707
|
throw new Error("Empty value provided for input HTTP label: jobId.");
|
|
708
708
|
}
|
|
709
|
-
resolvedPath = resolvedPath.replace("{jobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
709
|
+
resolvedPath = resolvedPath.replace("{jobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
710
710
|
}
|
|
711
711
|
else {
|
|
712
712
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
@@ -732,7 +732,7 @@ const serializeAws_restJson1GetWebhookCommand = async (input, context) => {
|
|
|
732
732
|
if (labelValue.length <= 0) {
|
|
733
733
|
throw new Error("Empty value provided for input HTTP label: webhookId.");
|
|
734
734
|
}
|
|
735
|
-
resolvedPath = resolvedPath.replace("{webhookId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
735
|
+
resolvedPath = resolvedPath.replace("{webhookId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
736
736
|
}
|
|
737
737
|
else {
|
|
738
738
|
throw new Error("No value provided for input HTTP label: webhookId.");
|
|
@@ -780,7 +780,7 @@ const serializeAws_restJson1ListArtifactsCommand = async (input, context) => {
|
|
|
780
780
|
if (labelValue.length <= 0) {
|
|
781
781
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
782
782
|
}
|
|
783
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
783
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
784
784
|
}
|
|
785
785
|
else {
|
|
786
786
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -790,7 +790,7 @@ const serializeAws_restJson1ListArtifactsCommand = async (input, context) => {
|
|
|
790
790
|
if (labelValue.length <= 0) {
|
|
791
791
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
792
792
|
}
|
|
793
|
-
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
793
|
+
resolvedPath = resolvedPath.replace("{branchName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
794
794
|
}
|
|
795
795
|
else {
|
|
796
796
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -800,7 +800,7 @@ const serializeAws_restJson1ListArtifactsCommand = async (input, context) => {
|
|
|
800
800
|
if (labelValue.length <= 0) {
|
|
801
801
|
throw new Error("Empty value provided for input HTTP label: jobId.");
|
|
802
802
|
}
|
|
803
|
-
resolvedPath = resolvedPath.replace("{jobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
803
|
+
resolvedPath = resolvedPath.replace("{jobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
804
804
|
}
|
|
805
805
|
else {
|
|
806
806
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
@@ -831,7 +831,7 @@ const serializeAws_restJson1ListBackendEnvironmentsCommand = async (input, conte
|
|
|
831
831
|
if (labelValue.length <= 0) {
|
|
832
832
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
833
833
|
}
|
|
834
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
834
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
835
835
|
}
|
|
836
836
|
else {
|
|
837
837
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -863,7 +863,7 @@ const serializeAws_restJson1ListBranchesCommand = async (input, context) => {
|
|
|
863
863
|
if (labelValue.length <= 0) {
|
|
864
864
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
865
865
|
}
|
|
866
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
866
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
867
867
|
}
|
|
868
868
|
else {
|
|
869
869
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -894,7 +894,7 @@ const serializeAws_restJson1ListDomainAssociationsCommand = async (input, contex
|
|
|
894
894
|
if (labelValue.length <= 0) {
|
|
895
895
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
896
896
|
}
|
|
897
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
897
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
898
898
|
}
|
|
899
899
|
else {
|
|
900
900
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -925,7 +925,7 @@ const serializeAws_restJson1ListJobsCommand = async (input, context) => {
|
|
|
925
925
|
if (labelValue.length <= 0) {
|
|
926
926
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
927
927
|
}
|
|
928
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
928
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
929
929
|
}
|
|
930
930
|
else {
|
|
931
931
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -935,7 +935,7 @@ const serializeAws_restJson1ListJobsCommand = async (input, context) => {
|
|
|
935
935
|
if (labelValue.length <= 0) {
|
|
936
936
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
937
937
|
}
|
|
938
|
-
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
938
|
+
resolvedPath = resolvedPath.replace("{branchName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
939
939
|
}
|
|
940
940
|
else {
|
|
941
941
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -966,7 +966,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
966
966
|
if (labelValue.length <= 0) {
|
|
967
967
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
968
968
|
}
|
|
969
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
969
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
970
970
|
}
|
|
971
971
|
else {
|
|
972
972
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -992,7 +992,7 @@ const serializeAws_restJson1ListWebhooksCommand = async (input, context) => {
|
|
|
992
992
|
if (labelValue.length <= 0) {
|
|
993
993
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
994
994
|
}
|
|
995
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
995
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
996
996
|
}
|
|
997
997
|
else {
|
|
998
998
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -1026,7 +1026,7 @@ const serializeAws_restJson1StartDeploymentCommand = async (input, context) => {
|
|
|
1026
1026
|
if (labelValue.length <= 0) {
|
|
1027
1027
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
1028
1028
|
}
|
|
1029
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1029
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1030
1030
|
}
|
|
1031
1031
|
else {
|
|
1032
1032
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -1036,7 +1036,7 @@ const serializeAws_restJson1StartDeploymentCommand = async (input, context) => {
|
|
|
1036
1036
|
if (labelValue.length <= 0) {
|
|
1037
1037
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
1038
1038
|
}
|
|
1039
|
-
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1039
|
+
resolvedPath = resolvedPath.replace("{branchName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1040
1040
|
}
|
|
1041
1041
|
else {
|
|
1042
1042
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -1068,7 +1068,7 @@ const serializeAws_restJson1StartJobCommand = async (input, context) => {
|
|
|
1068
1068
|
if (labelValue.length <= 0) {
|
|
1069
1069
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
1070
1070
|
}
|
|
1071
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1071
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1072
1072
|
}
|
|
1073
1073
|
else {
|
|
1074
1074
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -1078,7 +1078,7 @@ const serializeAws_restJson1StartJobCommand = async (input, context) => {
|
|
|
1078
1078
|
if (labelValue.length <= 0) {
|
|
1079
1079
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
1080
1080
|
}
|
|
1081
|
-
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1081
|
+
resolvedPath = resolvedPath.replace("{branchName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1082
1082
|
}
|
|
1083
1083
|
else {
|
|
1084
1084
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -1114,7 +1114,7 @@ const serializeAws_restJson1StopJobCommand = async (input, context) => {
|
|
|
1114
1114
|
if (labelValue.length <= 0) {
|
|
1115
1115
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
1116
1116
|
}
|
|
1117
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1117
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1118
1118
|
}
|
|
1119
1119
|
else {
|
|
1120
1120
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -1124,7 +1124,7 @@ const serializeAws_restJson1StopJobCommand = async (input, context) => {
|
|
|
1124
1124
|
if (labelValue.length <= 0) {
|
|
1125
1125
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
1126
1126
|
}
|
|
1127
|
-
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1127
|
+
resolvedPath = resolvedPath.replace("{branchName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1128
1128
|
}
|
|
1129
1129
|
else {
|
|
1130
1130
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -1134,7 +1134,7 @@ const serializeAws_restJson1StopJobCommand = async (input, context) => {
|
|
|
1134
1134
|
if (labelValue.length <= 0) {
|
|
1135
1135
|
throw new Error("Empty value provided for input HTTP label: jobId.");
|
|
1136
1136
|
}
|
|
1137
|
-
resolvedPath = resolvedPath.replace("{jobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1137
|
+
resolvedPath = resolvedPath.replace("{jobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1138
1138
|
}
|
|
1139
1139
|
else {
|
|
1140
1140
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
@@ -1162,7 +1162,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
1162
1162
|
if (labelValue.length <= 0) {
|
|
1163
1163
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
1164
1164
|
}
|
|
1165
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1165
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1166
1166
|
}
|
|
1167
1167
|
else {
|
|
1168
1168
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -1191,7 +1191,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
1191
1191
|
if (labelValue.length <= 0) {
|
|
1192
1192
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
1193
1193
|
}
|
|
1194
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1194
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1195
1195
|
}
|
|
1196
1196
|
else {
|
|
1197
1197
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -1223,7 +1223,7 @@ const serializeAws_restJson1UpdateAppCommand = async (input, context) => {
|
|
|
1223
1223
|
if (labelValue.length <= 0) {
|
|
1224
1224
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
1225
1225
|
}
|
|
1226
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1226
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1227
1227
|
}
|
|
1228
1228
|
else {
|
|
1229
1229
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -1287,7 +1287,7 @@ const serializeAws_restJson1UpdateBranchCommand = async (input, context) => {
|
|
|
1287
1287
|
if (labelValue.length <= 0) {
|
|
1288
1288
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
1289
1289
|
}
|
|
1290
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1290
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1291
1291
|
}
|
|
1292
1292
|
else {
|
|
1293
1293
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -1297,7 +1297,7 @@ const serializeAws_restJson1UpdateBranchCommand = async (input, context) => {
|
|
|
1297
1297
|
if (labelValue.length <= 0) {
|
|
1298
1298
|
throw new Error("Empty value provided for input HTTP label: branchName.");
|
|
1299
1299
|
}
|
|
1300
|
-
resolvedPath = resolvedPath.replace("{branchName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1300
|
+
resolvedPath = resolvedPath.replace("{branchName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1301
1301
|
}
|
|
1302
1302
|
else {
|
|
1303
1303
|
throw new Error("No value provided for input HTTP label: branchName.");
|
|
@@ -1353,7 +1353,7 @@ const serializeAws_restJson1UpdateDomainAssociationCommand = async (input, conte
|
|
|
1353
1353
|
if (labelValue.length <= 0) {
|
|
1354
1354
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
1355
1355
|
}
|
|
1356
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1356
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1357
1357
|
}
|
|
1358
1358
|
else {
|
|
1359
1359
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -1363,7 +1363,7 @@ const serializeAws_restJson1UpdateDomainAssociationCommand = async (input, conte
|
|
|
1363
1363
|
if (labelValue.length <= 0) {
|
|
1364
1364
|
throw new Error("Empty value provided for input HTTP label: domainName.");
|
|
1365
1365
|
}
|
|
1366
|
-
resolvedPath = resolvedPath.replace("{domainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1366
|
+
resolvedPath = resolvedPath.replace("{domainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1367
1367
|
}
|
|
1368
1368
|
else {
|
|
1369
1369
|
throw new Error("No value provided for input HTTP label: domainName.");
|
|
@@ -1405,7 +1405,7 @@ const serializeAws_restJson1UpdateWebhookCommand = async (input, context) => {
|
|
|
1405
1405
|
if (labelValue.length <= 0) {
|
|
1406
1406
|
throw new Error("Empty value provided for input HTTP label: webhookId.");
|
|
1407
1407
|
}
|
|
1408
|
-
resolvedPath = resolvedPath.replace("{webhookId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1408
|
+
resolvedPath = resolvedPath.replace("{webhookId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1409
1409
|
}
|
|
1410
1410
|
else {
|
|
1411
1411
|
throw new Error("No value provided for input HTTP label: webhookId.");
|
|
@@ -1434,7 +1434,7 @@ const deserializeAws_restJson1CreateAppCommand = async (output, context) => {
|
|
|
1434
1434
|
$metadata: deserializeMetadata(output),
|
|
1435
1435
|
app: undefined,
|
|
1436
1436
|
};
|
|
1437
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1437
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1438
1438
|
if (data.app !== undefined && data.app !== null) {
|
|
1439
1439
|
contents.app = deserializeAws_restJson1App(data.app, context);
|
|
1440
1440
|
}
|
|
@@ -1472,7 +1472,7 @@ const deserializeAws_restJson1CreateAppCommandError = async (output, context) =>
|
|
|
1472
1472
|
$fault: "client",
|
|
1473
1473
|
$metadata: deserializeMetadata(output),
|
|
1474
1474
|
});
|
|
1475
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1475
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1476
1476
|
}
|
|
1477
1477
|
};
|
|
1478
1478
|
const deserializeAws_restJson1CreateBackendEnvironmentCommand = async (output, context) => {
|
|
@@ -1483,7 +1483,7 @@ const deserializeAws_restJson1CreateBackendEnvironmentCommand = async (output, c
|
|
|
1483
1483
|
$metadata: deserializeMetadata(output),
|
|
1484
1484
|
backendEnvironment: undefined,
|
|
1485
1485
|
};
|
|
1486
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1486
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1487
1487
|
if (data.backendEnvironment !== undefined && data.backendEnvironment !== null) {
|
|
1488
1488
|
contents.backendEnvironment = deserializeAws_restJson1BackendEnvironment(data.backendEnvironment, context);
|
|
1489
1489
|
}
|
|
@@ -1521,7 +1521,7 @@ const deserializeAws_restJson1CreateBackendEnvironmentCommandError = async (outp
|
|
|
1521
1521
|
$fault: "client",
|
|
1522
1522
|
$metadata: deserializeMetadata(output),
|
|
1523
1523
|
});
|
|
1524
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1524
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1525
1525
|
}
|
|
1526
1526
|
};
|
|
1527
1527
|
const deserializeAws_restJson1CreateBranchCommand = async (output, context) => {
|
|
@@ -1532,7 +1532,7 @@ const deserializeAws_restJson1CreateBranchCommand = async (output, context) => {
|
|
|
1532
1532
|
$metadata: deserializeMetadata(output),
|
|
1533
1533
|
branch: undefined,
|
|
1534
1534
|
};
|
|
1535
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1535
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1536
1536
|
if (data.branch !== undefined && data.branch !== null) {
|
|
1537
1537
|
contents.branch = deserializeAws_restJson1Branch(data.branch, context);
|
|
1538
1538
|
}
|
|
@@ -1573,7 +1573,7 @@ const deserializeAws_restJson1CreateBranchCommandError = async (output, context)
|
|
|
1573
1573
|
$fault: "client",
|
|
1574
1574
|
$metadata: deserializeMetadata(output),
|
|
1575
1575
|
});
|
|
1576
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1576
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1577
1577
|
}
|
|
1578
1578
|
};
|
|
1579
1579
|
const deserializeAws_restJson1CreateDeploymentCommand = async (output, context) => {
|
|
@@ -1586,15 +1586,15 @@ const deserializeAws_restJson1CreateDeploymentCommand = async (output, context)
|
|
|
1586
1586
|
jobId: undefined,
|
|
1587
1587
|
zipUploadUrl: undefined,
|
|
1588
1588
|
};
|
|
1589
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1589
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1590
1590
|
if (data.fileUploadUrls !== undefined && data.fileUploadUrls !== null) {
|
|
1591
1591
|
contents.fileUploadUrls = deserializeAws_restJson1FileUploadUrls(data.fileUploadUrls, context);
|
|
1592
1592
|
}
|
|
1593
1593
|
if (data.jobId !== undefined && data.jobId !== null) {
|
|
1594
|
-
contents.jobId = smithy_client_1.expectString(data.jobId);
|
|
1594
|
+
contents.jobId = (0, smithy_client_1.expectString)(data.jobId);
|
|
1595
1595
|
}
|
|
1596
1596
|
if (data.zipUploadUrl !== undefined && data.zipUploadUrl !== null) {
|
|
1597
|
-
contents.zipUploadUrl = smithy_client_1.expectString(data.zipUploadUrl);
|
|
1597
|
+
contents.zipUploadUrl = (0, smithy_client_1.expectString)(data.zipUploadUrl);
|
|
1598
1598
|
}
|
|
1599
1599
|
return Promise.resolve(contents);
|
|
1600
1600
|
};
|
|
@@ -1627,7 +1627,7 @@ const deserializeAws_restJson1CreateDeploymentCommandError = async (output, cont
|
|
|
1627
1627
|
$fault: "client",
|
|
1628
1628
|
$metadata: deserializeMetadata(output),
|
|
1629
1629
|
});
|
|
1630
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1630
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1631
1631
|
}
|
|
1632
1632
|
};
|
|
1633
1633
|
const deserializeAws_restJson1CreateDomainAssociationCommand = async (output, context) => {
|
|
@@ -1638,7 +1638,7 @@ const deserializeAws_restJson1CreateDomainAssociationCommand = async (output, co
|
|
|
1638
1638
|
$metadata: deserializeMetadata(output),
|
|
1639
1639
|
domainAssociation: undefined,
|
|
1640
1640
|
};
|
|
1641
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1641
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1642
1642
|
if (data.domainAssociation !== undefined && data.domainAssociation !== null) {
|
|
1643
1643
|
contents.domainAssociation = deserializeAws_restJson1DomainAssociation(data.domainAssociation, context);
|
|
1644
1644
|
}
|
|
@@ -1679,7 +1679,7 @@ const deserializeAws_restJson1CreateDomainAssociationCommandError = async (outpu
|
|
|
1679
1679
|
$fault: "client",
|
|
1680
1680
|
$metadata: deserializeMetadata(output),
|
|
1681
1681
|
});
|
|
1682
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1682
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1683
1683
|
}
|
|
1684
1684
|
};
|
|
1685
1685
|
const deserializeAws_restJson1CreateWebhookCommand = async (output, context) => {
|
|
@@ -1690,7 +1690,7 @@ const deserializeAws_restJson1CreateWebhookCommand = async (output, context) =>
|
|
|
1690
1690
|
$metadata: deserializeMetadata(output),
|
|
1691
1691
|
webhook: undefined,
|
|
1692
1692
|
};
|
|
1693
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1693
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1694
1694
|
if (data.webhook !== undefined && data.webhook !== null) {
|
|
1695
1695
|
contents.webhook = deserializeAws_restJson1Webhook(data.webhook, context);
|
|
1696
1696
|
}
|
|
@@ -1731,7 +1731,7 @@ const deserializeAws_restJson1CreateWebhookCommandError = async (output, context
|
|
|
1731
1731
|
$fault: "client",
|
|
1732
1732
|
$metadata: deserializeMetadata(output),
|
|
1733
1733
|
});
|
|
1734
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1734
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1735
1735
|
}
|
|
1736
1736
|
};
|
|
1737
1737
|
const deserializeAws_restJson1DeleteAppCommand = async (output, context) => {
|
|
@@ -1742,7 +1742,7 @@ const deserializeAws_restJson1DeleteAppCommand = async (output, context) => {
|
|
|
1742
1742
|
$metadata: deserializeMetadata(output),
|
|
1743
1743
|
app: undefined,
|
|
1744
1744
|
};
|
|
1745
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1745
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1746
1746
|
if (data.app !== undefined && data.app !== null) {
|
|
1747
1747
|
contents.app = deserializeAws_restJson1App(data.app, context);
|
|
1748
1748
|
}
|
|
@@ -1780,7 +1780,7 @@ const deserializeAws_restJson1DeleteAppCommandError = async (output, context) =>
|
|
|
1780
1780
|
$fault: "client",
|
|
1781
1781
|
$metadata: deserializeMetadata(output),
|
|
1782
1782
|
});
|
|
1783
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1783
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1784
1784
|
}
|
|
1785
1785
|
};
|
|
1786
1786
|
const deserializeAws_restJson1DeleteBackendEnvironmentCommand = async (output, context) => {
|
|
@@ -1791,7 +1791,7 @@ const deserializeAws_restJson1DeleteBackendEnvironmentCommand = async (output, c
|
|
|
1791
1791
|
$metadata: deserializeMetadata(output),
|
|
1792
1792
|
backendEnvironment: undefined,
|
|
1793
1793
|
};
|
|
1794
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1794
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1795
1795
|
if (data.backendEnvironment !== undefined && data.backendEnvironment !== null) {
|
|
1796
1796
|
contents.backendEnvironment = deserializeAws_restJson1BackendEnvironment(data.backendEnvironment, context);
|
|
1797
1797
|
}
|
|
@@ -1829,7 +1829,7 @@ const deserializeAws_restJson1DeleteBackendEnvironmentCommandError = async (outp
|
|
|
1829
1829
|
$fault: "client",
|
|
1830
1830
|
$metadata: deserializeMetadata(output),
|
|
1831
1831
|
});
|
|
1832
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1832
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1833
1833
|
}
|
|
1834
1834
|
};
|
|
1835
1835
|
const deserializeAws_restJson1DeleteBranchCommand = async (output, context) => {
|
|
@@ -1840,7 +1840,7 @@ const deserializeAws_restJson1DeleteBranchCommand = async (output, context) => {
|
|
|
1840
1840
|
$metadata: deserializeMetadata(output),
|
|
1841
1841
|
branch: undefined,
|
|
1842
1842
|
};
|
|
1843
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1843
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1844
1844
|
if (data.branch !== undefined && data.branch !== null) {
|
|
1845
1845
|
contents.branch = deserializeAws_restJson1Branch(data.branch, context);
|
|
1846
1846
|
}
|
|
@@ -1878,7 +1878,7 @@ const deserializeAws_restJson1DeleteBranchCommandError = async (output, context)
|
|
|
1878
1878
|
$fault: "client",
|
|
1879
1879
|
$metadata: deserializeMetadata(output),
|
|
1880
1880
|
});
|
|
1881
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1881
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1882
1882
|
}
|
|
1883
1883
|
};
|
|
1884
1884
|
const deserializeAws_restJson1DeleteDomainAssociationCommand = async (output, context) => {
|
|
@@ -1889,7 +1889,7 @@ const deserializeAws_restJson1DeleteDomainAssociationCommand = async (output, co
|
|
|
1889
1889
|
$metadata: deserializeMetadata(output),
|
|
1890
1890
|
domainAssociation: undefined,
|
|
1891
1891
|
};
|
|
1892
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1892
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1893
1893
|
if (data.domainAssociation !== undefined && data.domainAssociation !== null) {
|
|
1894
1894
|
contents.domainAssociation = deserializeAws_restJson1DomainAssociation(data.domainAssociation, context);
|
|
1895
1895
|
}
|
|
@@ -1927,7 +1927,7 @@ const deserializeAws_restJson1DeleteDomainAssociationCommandError = async (outpu
|
|
|
1927
1927
|
$fault: "client",
|
|
1928
1928
|
$metadata: deserializeMetadata(output),
|
|
1929
1929
|
});
|
|
1930
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1930
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1931
1931
|
}
|
|
1932
1932
|
};
|
|
1933
1933
|
const deserializeAws_restJson1DeleteJobCommand = async (output, context) => {
|
|
@@ -1938,7 +1938,7 @@ const deserializeAws_restJson1DeleteJobCommand = async (output, context) => {
|
|
|
1938
1938
|
$metadata: deserializeMetadata(output),
|
|
1939
1939
|
jobSummary: undefined,
|
|
1940
1940
|
};
|
|
1941
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1941
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1942
1942
|
if (data.jobSummary !== undefined && data.jobSummary !== null) {
|
|
1943
1943
|
contents.jobSummary = deserializeAws_restJson1JobSummary(data.jobSummary, context);
|
|
1944
1944
|
}
|
|
@@ -1976,7 +1976,7 @@ const deserializeAws_restJson1DeleteJobCommandError = async (output, context) =>
|
|
|
1976
1976
|
$fault: "client",
|
|
1977
1977
|
$metadata: deserializeMetadata(output),
|
|
1978
1978
|
});
|
|
1979
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1979
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1980
1980
|
}
|
|
1981
1981
|
};
|
|
1982
1982
|
const deserializeAws_restJson1DeleteWebhookCommand = async (output, context) => {
|
|
@@ -1987,7 +1987,7 @@ const deserializeAws_restJson1DeleteWebhookCommand = async (output, context) =>
|
|
|
1987
1987
|
$metadata: deserializeMetadata(output),
|
|
1988
1988
|
webhook: undefined,
|
|
1989
1989
|
};
|
|
1990
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1990
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1991
1991
|
if (data.webhook !== undefined && data.webhook !== null) {
|
|
1992
1992
|
contents.webhook = deserializeAws_restJson1Webhook(data.webhook, context);
|
|
1993
1993
|
}
|
|
@@ -2025,7 +2025,7 @@ const deserializeAws_restJson1DeleteWebhookCommandError = async (output, context
|
|
|
2025
2025
|
$fault: "client",
|
|
2026
2026
|
$metadata: deserializeMetadata(output),
|
|
2027
2027
|
});
|
|
2028
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2028
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2029
2029
|
}
|
|
2030
2030
|
};
|
|
2031
2031
|
const deserializeAws_restJson1GenerateAccessLogsCommand = async (output, context) => {
|
|
@@ -2036,9 +2036,9 @@ const deserializeAws_restJson1GenerateAccessLogsCommand = async (output, context
|
|
|
2036
2036
|
$metadata: deserializeMetadata(output),
|
|
2037
2037
|
logUrl: undefined,
|
|
2038
2038
|
};
|
|
2039
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2039
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2040
2040
|
if (data.logUrl !== undefined && data.logUrl !== null) {
|
|
2041
|
-
contents.logUrl = smithy_client_1.expectString(data.logUrl);
|
|
2041
|
+
contents.logUrl = (0, smithy_client_1.expectString)(data.logUrl);
|
|
2042
2042
|
}
|
|
2043
2043
|
return Promise.resolve(contents);
|
|
2044
2044
|
};
|
|
@@ -2071,7 +2071,7 @@ const deserializeAws_restJson1GenerateAccessLogsCommandError = async (output, co
|
|
|
2071
2071
|
$fault: "client",
|
|
2072
2072
|
$metadata: deserializeMetadata(output),
|
|
2073
2073
|
});
|
|
2074
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2074
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2075
2075
|
}
|
|
2076
2076
|
};
|
|
2077
2077
|
const deserializeAws_restJson1GetAppCommand = async (output, context) => {
|
|
@@ -2082,7 +2082,7 @@ const deserializeAws_restJson1GetAppCommand = async (output, context) => {
|
|
|
2082
2082
|
$metadata: deserializeMetadata(output),
|
|
2083
2083
|
app: undefined,
|
|
2084
2084
|
};
|
|
2085
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2085
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2086
2086
|
if (data.app !== undefined && data.app !== null) {
|
|
2087
2087
|
contents.app = deserializeAws_restJson1App(data.app, context);
|
|
2088
2088
|
}
|
|
@@ -2117,7 +2117,7 @@ const deserializeAws_restJson1GetAppCommandError = async (output, context) => {
|
|
|
2117
2117
|
$fault: "client",
|
|
2118
2118
|
$metadata: deserializeMetadata(output),
|
|
2119
2119
|
});
|
|
2120
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2120
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2121
2121
|
}
|
|
2122
2122
|
};
|
|
2123
2123
|
const deserializeAws_restJson1GetArtifactUrlCommand = async (output, context) => {
|
|
@@ -2129,12 +2129,12 @@ const deserializeAws_restJson1GetArtifactUrlCommand = async (output, context) =>
|
|
|
2129
2129
|
artifactId: undefined,
|
|
2130
2130
|
artifactUrl: undefined,
|
|
2131
2131
|
};
|
|
2132
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2132
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2133
2133
|
if (data.artifactId !== undefined && data.artifactId !== null) {
|
|
2134
|
-
contents.artifactId = smithy_client_1.expectString(data.artifactId);
|
|
2134
|
+
contents.artifactId = (0, smithy_client_1.expectString)(data.artifactId);
|
|
2135
2135
|
}
|
|
2136
2136
|
if (data.artifactUrl !== undefined && data.artifactUrl !== null) {
|
|
2137
|
-
contents.artifactUrl = smithy_client_1.expectString(data.artifactUrl);
|
|
2137
|
+
contents.artifactUrl = (0, smithy_client_1.expectString)(data.artifactUrl);
|
|
2138
2138
|
}
|
|
2139
2139
|
return Promise.resolve(contents);
|
|
2140
2140
|
};
|
|
@@ -2170,7 +2170,7 @@ const deserializeAws_restJson1GetArtifactUrlCommandError = async (output, contex
|
|
|
2170
2170
|
$fault: "client",
|
|
2171
2171
|
$metadata: deserializeMetadata(output),
|
|
2172
2172
|
});
|
|
2173
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2173
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2174
2174
|
}
|
|
2175
2175
|
};
|
|
2176
2176
|
const deserializeAws_restJson1GetBackendEnvironmentCommand = async (output, context) => {
|
|
@@ -2181,7 +2181,7 @@ const deserializeAws_restJson1GetBackendEnvironmentCommand = async (output, cont
|
|
|
2181
2181
|
$metadata: deserializeMetadata(output),
|
|
2182
2182
|
backendEnvironment: undefined,
|
|
2183
2183
|
};
|
|
2184
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2184
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2185
2185
|
if (data.backendEnvironment !== undefined && data.backendEnvironment !== null) {
|
|
2186
2186
|
contents.backendEnvironment = deserializeAws_restJson1BackendEnvironment(data.backendEnvironment, context);
|
|
2187
2187
|
}
|
|
@@ -2216,7 +2216,7 @@ const deserializeAws_restJson1GetBackendEnvironmentCommandError = async (output,
|
|
|
2216
2216
|
$fault: "client",
|
|
2217
2217
|
$metadata: deserializeMetadata(output),
|
|
2218
2218
|
});
|
|
2219
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2219
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2220
2220
|
}
|
|
2221
2221
|
};
|
|
2222
2222
|
const deserializeAws_restJson1GetBranchCommand = async (output, context) => {
|
|
@@ -2227,7 +2227,7 @@ const deserializeAws_restJson1GetBranchCommand = async (output, context) => {
|
|
|
2227
2227
|
$metadata: deserializeMetadata(output),
|
|
2228
2228
|
branch: undefined,
|
|
2229
2229
|
};
|
|
2230
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2230
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2231
2231
|
if (data.branch !== undefined && data.branch !== null) {
|
|
2232
2232
|
contents.branch = deserializeAws_restJson1Branch(data.branch, context);
|
|
2233
2233
|
}
|
|
@@ -2262,7 +2262,7 @@ const deserializeAws_restJson1GetBranchCommandError = async (output, context) =>
|
|
|
2262
2262
|
$fault: "client",
|
|
2263
2263
|
$metadata: deserializeMetadata(output),
|
|
2264
2264
|
});
|
|
2265
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2265
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2266
2266
|
}
|
|
2267
2267
|
};
|
|
2268
2268
|
const deserializeAws_restJson1GetDomainAssociationCommand = async (output, context) => {
|
|
@@ -2273,7 +2273,7 @@ const deserializeAws_restJson1GetDomainAssociationCommand = async (output, conte
|
|
|
2273
2273
|
$metadata: deserializeMetadata(output),
|
|
2274
2274
|
domainAssociation: undefined,
|
|
2275
2275
|
};
|
|
2276
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2276
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2277
2277
|
if (data.domainAssociation !== undefined && data.domainAssociation !== null) {
|
|
2278
2278
|
contents.domainAssociation = deserializeAws_restJson1DomainAssociation(data.domainAssociation, context);
|
|
2279
2279
|
}
|
|
@@ -2308,7 +2308,7 @@ const deserializeAws_restJson1GetDomainAssociationCommandError = async (output,
|
|
|
2308
2308
|
$fault: "client",
|
|
2309
2309
|
$metadata: deserializeMetadata(output),
|
|
2310
2310
|
});
|
|
2311
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2311
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2312
2312
|
}
|
|
2313
2313
|
};
|
|
2314
2314
|
const deserializeAws_restJson1GetJobCommand = async (output, context) => {
|
|
@@ -2319,7 +2319,7 @@ const deserializeAws_restJson1GetJobCommand = async (output, context) => {
|
|
|
2319
2319
|
$metadata: deserializeMetadata(output),
|
|
2320
2320
|
job: undefined,
|
|
2321
2321
|
};
|
|
2322
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2322
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2323
2323
|
if (data.job !== undefined && data.job !== null) {
|
|
2324
2324
|
contents.job = deserializeAws_restJson1Job(data.job, context);
|
|
2325
2325
|
}
|
|
@@ -2357,7 +2357,7 @@ const deserializeAws_restJson1GetJobCommandError = async (output, context) => {
|
|
|
2357
2357
|
$fault: "client",
|
|
2358
2358
|
$metadata: deserializeMetadata(output),
|
|
2359
2359
|
});
|
|
2360
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2360
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2361
2361
|
}
|
|
2362
2362
|
};
|
|
2363
2363
|
const deserializeAws_restJson1GetWebhookCommand = async (output, context) => {
|
|
@@ -2368,7 +2368,7 @@ const deserializeAws_restJson1GetWebhookCommand = async (output, context) => {
|
|
|
2368
2368
|
$metadata: deserializeMetadata(output),
|
|
2369
2369
|
webhook: undefined,
|
|
2370
2370
|
};
|
|
2371
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2371
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2372
2372
|
if (data.webhook !== undefined && data.webhook !== null) {
|
|
2373
2373
|
contents.webhook = deserializeAws_restJson1Webhook(data.webhook, context);
|
|
2374
2374
|
}
|
|
@@ -2406,7 +2406,7 @@ const deserializeAws_restJson1GetWebhookCommandError = async (output, context) =
|
|
|
2406
2406
|
$fault: "client",
|
|
2407
2407
|
$metadata: deserializeMetadata(output),
|
|
2408
2408
|
});
|
|
2409
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2409
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2410
2410
|
}
|
|
2411
2411
|
};
|
|
2412
2412
|
const deserializeAws_restJson1ListAppsCommand = async (output, context) => {
|
|
@@ -2418,12 +2418,12 @@ const deserializeAws_restJson1ListAppsCommand = async (output, context) => {
|
|
|
2418
2418
|
apps: undefined,
|
|
2419
2419
|
nextToken: undefined,
|
|
2420
2420
|
};
|
|
2421
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2421
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2422
2422
|
if (data.apps !== undefined && data.apps !== null) {
|
|
2423
2423
|
contents.apps = deserializeAws_restJson1Apps(data.apps, context);
|
|
2424
2424
|
}
|
|
2425
2425
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2426
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2426
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2427
2427
|
}
|
|
2428
2428
|
return Promise.resolve(contents);
|
|
2429
2429
|
};
|
|
@@ -2453,7 +2453,7 @@ const deserializeAws_restJson1ListAppsCommandError = async (output, context) =>
|
|
|
2453
2453
|
$fault: "client",
|
|
2454
2454
|
$metadata: deserializeMetadata(output),
|
|
2455
2455
|
});
|
|
2456
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2456
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2457
2457
|
}
|
|
2458
2458
|
};
|
|
2459
2459
|
const deserializeAws_restJson1ListArtifactsCommand = async (output, context) => {
|
|
@@ -2465,12 +2465,12 @@ const deserializeAws_restJson1ListArtifactsCommand = async (output, context) =>
|
|
|
2465
2465
|
artifacts: undefined,
|
|
2466
2466
|
nextToken: undefined,
|
|
2467
2467
|
};
|
|
2468
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2468
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2469
2469
|
if (data.artifacts !== undefined && data.artifacts !== null) {
|
|
2470
2470
|
contents.artifacts = deserializeAws_restJson1Artifacts(data.artifacts, context);
|
|
2471
2471
|
}
|
|
2472
2472
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2473
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2473
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2474
2474
|
}
|
|
2475
2475
|
return Promise.resolve(contents);
|
|
2476
2476
|
};
|
|
@@ -2503,7 +2503,7 @@ const deserializeAws_restJson1ListArtifactsCommandError = async (output, context
|
|
|
2503
2503
|
$fault: "client",
|
|
2504
2504
|
$metadata: deserializeMetadata(output),
|
|
2505
2505
|
});
|
|
2506
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2506
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2507
2507
|
}
|
|
2508
2508
|
};
|
|
2509
2509
|
const deserializeAws_restJson1ListBackendEnvironmentsCommand = async (output, context) => {
|
|
@@ -2515,12 +2515,12 @@ const deserializeAws_restJson1ListBackendEnvironmentsCommand = async (output, co
|
|
|
2515
2515
|
backendEnvironments: undefined,
|
|
2516
2516
|
nextToken: undefined,
|
|
2517
2517
|
};
|
|
2518
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2518
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2519
2519
|
if (data.backendEnvironments !== undefined && data.backendEnvironments !== null) {
|
|
2520
2520
|
contents.backendEnvironments = deserializeAws_restJson1BackendEnvironments(data.backendEnvironments, context);
|
|
2521
2521
|
}
|
|
2522
2522
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2523
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2523
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2524
2524
|
}
|
|
2525
2525
|
return Promise.resolve(contents);
|
|
2526
2526
|
};
|
|
@@ -2550,7 +2550,7 @@ const deserializeAws_restJson1ListBackendEnvironmentsCommandError = async (outpu
|
|
|
2550
2550
|
$fault: "client",
|
|
2551
2551
|
$metadata: deserializeMetadata(output),
|
|
2552
2552
|
});
|
|
2553
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2553
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2554
2554
|
}
|
|
2555
2555
|
};
|
|
2556
2556
|
const deserializeAws_restJson1ListBranchesCommand = async (output, context) => {
|
|
@@ -2562,12 +2562,12 @@ const deserializeAws_restJson1ListBranchesCommand = async (output, context) => {
|
|
|
2562
2562
|
branches: undefined,
|
|
2563
2563
|
nextToken: undefined,
|
|
2564
2564
|
};
|
|
2565
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2565
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2566
2566
|
if (data.branches !== undefined && data.branches !== null) {
|
|
2567
2567
|
contents.branches = deserializeAws_restJson1Branches(data.branches, context);
|
|
2568
2568
|
}
|
|
2569
2569
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2570
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2570
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2571
2571
|
}
|
|
2572
2572
|
return Promise.resolve(contents);
|
|
2573
2573
|
};
|
|
@@ -2597,7 +2597,7 @@ const deserializeAws_restJson1ListBranchesCommandError = async (output, context)
|
|
|
2597
2597
|
$fault: "client",
|
|
2598
2598
|
$metadata: deserializeMetadata(output),
|
|
2599
2599
|
});
|
|
2600
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2600
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2601
2601
|
}
|
|
2602
2602
|
};
|
|
2603
2603
|
const deserializeAws_restJson1ListDomainAssociationsCommand = async (output, context) => {
|
|
@@ -2609,12 +2609,12 @@ const deserializeAws_restJson1ListDomainAssociationsCommand = async (output, con
|
|
|
2609
2609
|
domainAssociations: undefined,
|
|
2610
2610
|
nextToken: undefined,
|
|
2611
2611
|
};
|
|
2612
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2612
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2613
2613
|
if (data.domainAssociations !== undefined && data.domainAssociations !== null) {
|
|
2614
2614
|
contents.domainAssociations = deserializeAws_restJson1DomainAssociations(data.domainAssociations, context);
|
|
2615
2615
|
}
|
|
2616
2616
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2617
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2617
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2618
2618
|
}
|
|
2619
2619
|
return Promise.resolve(contents);
|
|
2620
2620
|
};
|
|
@@ -2644,7 +2644,7 @@ const deserializeAws_restJson1ListDomainAssociationsCommandError = async (output
|
|
|
2644
2644
|
$fault: "client",
|
|
2645
2645
|
$metadata: deserializeMetadata(output),
|
|
2646
2646
|
});
|
|
2647
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2647
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2648
2648
|
}
|
|
2649
2649
|
};
|
|
2650
2650
|
const deserializeAws_restJson1ListJobsCommand = async (output, context) => {
|
|
@@ -2656,12 +2656,12 @@ const deserializeAws_restJson1ListJobsCommand = async (output, context) => {
|
|
|
2656
2656
|
jobSummaries: undefined,
|
|
2657
2657
|
nextToken: undefined,
|
|
2658
2658
|
};
|
|
2659
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2659
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2660
2660
|
if (data.jobSummaries !== undefined && data.jobSummaries !== null) {
|
|
2661
2661
|
contents.jobSummaries = deserializeAws_restJson1JobSummaries(data.jobSummaries, context);
|
|
2662
2662
|
}
|
|
2663
2663
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2664
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2664
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2665
2665
|
}
|
|
2666
2666
|
return Promise.resolve(contents);
|
|
2667
2667
|
};
|
|
@@ -2694,7 +2694,7 @@ const deserializeAws_restJson1ListJobsCommandError = async (output, context) =>
|
|
|
2694
2694
|
$fault: "client",
|
|
2695
2695
|
$metadata: deserializeMetadata(output),
|
|
2696
2696
|
});
|
|
2697
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2697
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2698
2698
|
}
|
|
2699
2699
|
};
|
|
2700
2700
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -2705,7 +2705,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
2705
2705
|
$metadata: deserializeMetadata(output),
|
|
2706
2706
|
tags: undefined,
|
|
2707
2707
|
};
|
|
2708
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2708
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2709
2709
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2710
2710
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
2711
2711
|
}
|
|
@@ -2737,7 +2737,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2737
2737
|
$fault: "client",
|
|
2738
2738
|
$metadata: deserializeMetadata(output),
|
|
2739
2739
|
});
|
|
2740
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2740
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2741
2741
|
}
|
|
2742
2742
|
};
|
|
2743
2743
|
const deserializeAws_restJson1ListWebhooksCommand = async (output, context) => {
|
|
@@ -2749,9 +2749,9 @@ const deserializeAws_restJson1ListWebhooksCommand = async (output, context) => {
|
|
|
2749
2749
|
nextToken: undefined,
|
|
2750
2750
|
webhooks: undefined,
|
|
2751
2751
|
};
|
|
2752
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2752
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2753
2753
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2754
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2754
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2755
2755
|
}
|
|
2756
2756
|
if (data.webhooks !== undefined && data.webhooks !== null) {
|
|
2757
2757
|
contents.webhooks = deserializeAws_restJson1Webhooks(data.webhooks, context);
|
|
@@ -2787,7 +2787,7 @@ const deserializeAws_restJson1ListWebhooksCommandError = async (output, context)
|
|
|
2787
2787
|
$fault: "client",
|
|
2788
2788
|
$metadata: deserializeMetadata(output),
|
|
2789
2789
|
});
|
|
2790
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2790
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2791
2791
|
}
|
|
2792
2792
|
};
|
|
2793
2793
|
const deserializeAws_restJson1StartDeploymentCommand = async (output, context) => {
|
|
@@ -2798,7 +2798,7 @@ const deserializeAws_restJson1StartDeploymentCommand = async (output, context) =
|
|
|
2798
2798
|
$metadata: deserializeMetadata(output),
|
|
2799
2799
|
jobSummary: undefined,
|
|
2800
2800
|
};
|
|
2801
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2801
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2802
2802
|
if (data.jobSummary !== undefined && data.jobSummary !== null) {
|
|
2803
2803
|
contents.jobSummary = deserializeAws_restJson1JobSummary(data.jobSummary, context);
|
|
2804
2804
|
}
|
|
@@ -2836,7 +2836,7 @@ const deserializeAws_restJson1StartDeploymentCommandError = async (output, conte
|
|
|
2836
2836
|
$fault: "client",
|
|
2837
2837
|
$metadata: deserializeMetadata(output),
|
|
2838
2838
|
});
|
|
2839
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2839
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2840
2840
|
}
|
|
2841
2841
|
};
|
|
2842
2842
|
const deserializeAws_restJson1StartJobCommand = async (output, context) => {
|
|
@@ -2847,7 +2847,7 @@ const deserializeAws_restJson1StartJobCommand = async (output, context) => {
|
|
|
2847
2847
|
$metadata: deserializeMetadata(output),
|
|
2848
2848
|
jobSummary: undefined,
|
|
2849
2849
|
};
|
|
2850
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2850
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2851
2851
|
if (data.jobSummary !== undefined && data.jobSummary !== null) {
|
|
2852
2852
|
contents.jobSummary = deserializeAws_restJson1JobSummary(data.jobSummary, context);
|
|
2853
2853
|
}
|
|
@@ -2885,7 +2885,7 @@ const deserializeAws_restJson1StartJobCommandError = async (output, context) =>
|
|
|
2885
2885
|
$fault: "client",
|
|
2886
2886
|
$metadata: deserializeMetadata(output),
|
|
2887
2887
|
});
|
|
2888
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2888
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2889
2889
|
}
|
|
2890
2890
|
};
|
|
2891
2891
|
const deserializeAws_restJson1StopJobCommand = async (output, context) => {
|
|
@@ -2896,7 +2896,7 @@ const deserializeAws_restJson1StopJobCommand = async (output, context) => {
|
|
|
2896
2896
|
$metadata: deserializeMetadata(output),
|
|
2897
2897
|
jobSummary: undefined,
|
|
2898
2898
|
};
|
|
2899
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2899
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2900
2900
|
if (data.jobSummary !== undefined && data.jobSummary !== null) {
|
|
2901
2901
|
contents.jobSummary = deserializeAws_restJson1JobSummary(data.jobSummary, context);
|
|
2902
2902
|
}
|
|
@@ -2934,7 +2934,7 @@ const deserializeAws_restJson1StopJobCommandError = async (output, context) => {
|
|
|
2934
2934
|
$fault: "client",
|
|
2935
2935
|
$metadata: deserializeMetadata(output),
|
|
2936
2936
|
});
|
|
2937
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2937
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2938
2938
|
}
|
|
2939
2939
|
};
|
|
2940
2940
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -2973,7 +2973,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2973
2973
|
$fault: "client",
|
|
2974
2974
|
$metadata: deserializeMetadata(output),
|
|
2975
2975
|
});
|
|
2976
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2976
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2977
2977
|
}
|
|
2978
2978
|
};
|
|
2979
2979
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -3012,7 +3012,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
3012
3012
|
$fault: "client",
|
|
3013
3013
|
$metadata: deserializeMetadata(output),
|
|
3014
3014
|
});
|
|
3015
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3015
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3016
3016
|
}
|
|
3017
3017
|
};
|
|
3018
3018
|
const deserializeAws_restJson1UpdateAppCommand = async (output, context) => {
|
|
@@ -3023,7 +3023,7 @@ const deserializeAws_restJson1UpdateAppCommand = async (output, context) => {
|
|
|
3023
3023
|
$metadata: deserializeMetadata(output),
|
|
3024
3024
|
app: undefined,
|
|
3025
3025
|
};
|
|
3026
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3026
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3027
3027
|
if (data.app !== undefined && data.app !== null) {
|
|
3028
3028
|
contents.app = deserializeAws_restJson1App(data.app, context);
|
|
3029
3029
|
}
|
|
@@ -3058,7 +3058,7 @@ const deserializeAws_restJson1UpdateAppCommandError = async (output, context) =>
|
|
|
3058
3058
|
$fault: "client",
|
|
3059
3059
|
$metadata: deserializeMetadata(output),
|
|
3060
3060
|
});
|
|
3061
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3061
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3062
3062
|
}
|
|
3063
3063
|
};
|
|
3064
3064
|
const deserializeAws_restJson1UpdateBranchCommand = async (output, context) => {
|
|
@@ -3069,7 +3069,7 @@ const deserializeAws_restJson1UpdateBranchCommand = async (output, context) => {
|
|
|
3069
3069
|
$metadata: deserializeMetadata(output),
|
|
3070
3070
|
branch: undefined,
|
|
3071
3071
|
};
|
|
3072
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3072
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3073
3073
|
if (data.branch !== undefined && data.branch !== null) {
|
|
3074
3074
|
contents.branch = deserializeAws_restJson1Branch(data.branch, context);
|
|
3075
3075
|
}
|
|
@@ -3107,7 +3107,7 @@ const deserializeAws_restJson1UpdateBranchCommandError = async (output, context)
|
|
|
3107
3107
|
$fault: "client",
|
|
3108
3108
|
$metadata: deserializeMetadata(output),
|
|
3109
3109
|
});
|
|
3110
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3110
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3111
3111
|
}
|
|
3112
3112
|
};
|
|
3113
3113
|
const deserializeAws_restJson1UpdateDomainAssociationCommand = async (output, context) => {
|
|
@@ -3118,7 +3118,7 @@ const deserializeAws_restJson1UpdateDomainAssociationCommand = async (output, co
|
|
|
3118
3118
|
$metadata: deserializeMetadata(output),
|
|
3119
3119
|
domainAssociation: undefined,
|
|
3120
3120
|
};
|
|
3121
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3121
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3122
3122
|
if (data.domainAssociation !== undefined && data.domainAssociation !== null) {
|
|
3123
3123
|
contents.domainAssociation = deserializeAws_restJson1DomainAssociation(data.domainAssociation, context);
|
|
3124
3124
|
}
|
|
@@ -3156,7 +3156,7 @@ const deserializeAws_restJson1UpdateDomainAssociationCommandError = async (outpu
|
|
|
3156
3156
|
$fault: "client",
|
|
3157
3157
|
$metadata: deserializeMetadata(output),
|
|
3158
3158
|
});
|
|
3159
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3159
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3160
3160
|
}
|
|
3161
3161
|
};
|
|
3162
3162
|
const deserializeAws_restJson1UpdateWebhookCommand = async (output, context) => {
|
|
@@ -3167,7 +3167,7 @@ const deserializeAws_restJson1UpdateWebhookCommand = async (output, context) =>
|
|
|
3167
3167
|
$metadata: deserializeMetadata(output),
|
|
3168
3168
|
webhook: undefined,
|
|
3169
3169
|
};
|
|
3170
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3170
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3171
3171
|
if (data.webhook !== undefined && data.webhook !== null) {
|
|
3172
3172
|
contents.webhook = deserializeAws_restJson1Webhook(data.webhook, context);
|
|
3173
3173
|
}
|
|
@@ -3205,95 +3205,95 @@ const deserializeAws_restJson1UpdateWebhookCommandError = async (output, context
|
|
|
3205
3205
|
$fault: "client",
|
|
3206
3206
|
$metadata: deserializeMetadata(output),
|
|
3207
3207
|
});
|
|
3208
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3208
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3209
3209
|
}
|
|
3210
3210
|
};
|
|
3211
3211
|
const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
|
|
3212
3212
|
const contents = {};
|
|
3213
3213
|
const data = parsedOutput.body;
|
|
3214
3214
|
if (data.message !== undefined && data.message !== null) {
|
|
3215
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3215
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3216
3216
|
}
|
|
3217
3217
|
const exception = new models_0_1.BadRequestException({
|
|
3218
3218
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3219
3219
|
...contents,
|
|
3220
3220
|
});
|
|
3221
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3221
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3222
3222
|
};
|
|
3223
3223
|
const deserializeAws_restJson1DependentServiceFailureExceptionResponse = async (parsedOutput, context) => {
|
|
3224
3224
|
const contents = {};
|
|
3225
3225
|
const data = parsedOutput.body;
|
|
3226
3226
|
if (data.message !== undefined && data.message !== null) {
|
|
3227
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3227
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3228
3228
|
}
|
|
3229
3229
|
const exception = new models_0_1.DependentServiceFailureException({
|
|
3230
3230
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3231
3231
|
...contents,
|
|
3232
3232
|
});
|
|
3233
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3233
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3234
3234
|
};
|
|
3235
3235
|
const deserializeAws_restJson1InternalFailureExceptionResponse = async (parsedOutput, context) => {
|
|
3236
3236
|
const contents = {};
|
|
3237
3237
|
const data = parsedOutput.body;
|
|
3238
3238
|
if (data.message !== undefined && data.message !== null) {
|
|
3239
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3239
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3240
3240
|
}
|
|
3241
3241
|
const exception = new models_0_1.InternalFailureException({
|
|
3242
3242
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3243
3243
|
...contents,
|
|
3244
3244
|
});
|
|
3245
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3245
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3246
3246
|
};
|
|
3247
3247
|
const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
3248
3248
|
const contents = {};
|
|
3249
3249
|
const data = parsedOutput.body;
|
|
3250
3250
|
if (data.message !== undefined && data.message !== null) {
|
|
3251
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3251
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3252
3252
|
}
|
|
3253
3253
|
const exception = new models_0_1.LimitExceededException({
|
|
3254
3254
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3255
3255
|
...contents,
|
|
3256
3256
|
});
|
|
3257
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3257
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3258
3258
|
};
|
|
3259
3259
|
const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3260
3260
|
const contents = {};
|
|
3261
3261
|
const data = parsedOutput.body;
|
|
3262
3262
|
if (data.message !== undefined && data.message !== null) {
|
|
3263
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3263
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3264
3264
|
}
|
|
3265
3265
|
const exception = new models_0_1.NotFoundException({
|
|
3266
3266
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3267
3267
|
...contents,
|
|
3268
3268
|
});
|
|
3269
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3269
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3270
3270
|
};
|
|
3271
3271
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3272
3272
|
const contents = {};
|
|
3273
3273
|
const data = parsedOutput.body;
|
|
3274
3274
|
if (data.code !== undefined && data.code !== null) {
|
|
3275
|
-
contents.code = smithy_client_1.expectString(data.code);
|
|
3275
|
+
contents.code = (0, smithy_client_1.expectString)(data.code);
|
|
3276
3276
|
}
|
|
3277
3277
|
if (data.message !== undefined && data.message !== null) {
|
|
3278
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3278
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3279
3279
|
}
|
|
3280
3280
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
3281
3281
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3282
3282
|
...contents,
|
|
3283
3283
|
});
|
|
3284
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3284
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3285
3285
|
};
|
|
3286
3286
|
const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
|
|
3287
3287
|
const contents = {};
|
|
3288
3288
|
const data = parsedOutput.body;
|
|
3289
3289
|
if (data.message !== undefined && data.message !== null) {
|
|
3290
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3290
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3291
3291
|
}
|
|
3292
3292
|
const exception = new models_0_1.UnauthorizedException({
|
|
3293
3293
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3294
3294
|
...contents,
|
|
3295
3295
|
});
|
|
3296
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3296
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3297
3297
|
};
|
|
3298
3298
|
const serializeAws_restJson1AutoBranchCreationConfig = (input, context) => {
|
|
3299
3299
|
return {
|
|
@@ -3407,44 +3407,45 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
3407
3407
|
};
|
|
3408
3408
|
const deserializeAws_restJson1App = (output, context) => {
|
|
3409
3409
|
return {
|
|
3410
|
-
appArn: smithy_client_1.expectString(output.appArn),
|
|
3411
|
-
appId: smithy_client_1.expectString(output.appId),
|
|
3410
|
+
appArn: (0, smithy_client_1.expectString)(output.appArn),
|
|
3411
|
+
appId: (0, smithy_client_1.expectString)(output.appId),
|
|
3412
3412
|
autoBranchCreationConfig: output.autoBranchCreationConfig !== undefined && output.autoBranchCreationConfig !== null
|
|
3413
3413
|
? deserializeAws_restJson1AutoBranchCreationConfig(output.autoBranchCreationConfig, context)
|
|
3414
3414
|
: undefined,
|
|
3415
3415
|
autoBranchCreationPatterns: output.autoBranchCreationPatterns !== undefined && output.autoBranchCreationPatterns !== null
|
|
3416
3416
|
? deserializeAws_restJson1AutoBranchCreationPatterns(output.autoBranchCreationPatterns, context)
|
|
3417
3417
|
: undefined,
|
|
3418
|
-
basicAuthCredentials: smithy_client_1.expectString(output.basicAuthCredentials),
|
|
3419
|
-
buildSpec: smithy_client_1.expectString(output.buildSpec),
|
|
3418
|
+
basicAuthCredentials: (0, smithy_client_1.expectString)(output.basicAuthCredentials),
|
|
3419
|
+
buildSpec: (0, smithy_client_1.expectString)(output.buildSpec),
|
|
3420
3420
|
createTime: output.createTime !== undefined && output.createTime !== null
|
|
3421
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createTime)))
|
|
3421
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime)))
|
|
3422
3422
|
: undefined,
|
|
3423
|
-
customHeaders: smithy_client_1.expectString(output.customHeaders),
|
|
3423
|
+
customHeaders: (0, smithy_client_1.expectString)(output.customHeaders),
|
|
3424
3424
|
customRules: output.customRules !== undefined && output.customRules !== null
|
|
3425
3425
|
? deserializeAws_restJson1CustomRules(output.customRules, context)
|
|
3426
3426
|
: undefined,
|
|
3427
|
-
defaultDomain: smithy_client_1.expectString(output.defaultDomain),
|
|
3428
|
-
description: smithy_client_1.expectString(output.description),
|
|
3429
|
-
enableAutoBranchCreation: smithy_client_1.expectBoolean(output.enableAutoBranchCreation),
|
|
3430
|
-
enableBasicAuth: smithy_client_1.expectBoolean(output.enableBasicAuth),
|
|
3431
|
-
enableBranchAutoBuild: smithy_client_1.expectBoolean(output.enableBranchAutoBuild),
|
|
3432
|
-
enableBranchAutoDeletion: smithy_client_1.expectBoolean(output.enableBranchAutoDeletion),
|
|
3427
|
+
defaultDomain: (0, smithy_client_1.expectString)(output.defaultDomain),
|
|
3428
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
3429
|
+
enableAutoBranchCreation: (0, smithy_client_1.expectBoolean)(output.enableAutoBranchCreation),
|
|
3430
|
+
enableBasicAuth: (0, smithy_client_1.expectBoolean)(output.enableBasicAuth),
|
|
3431
|
+
enableBranchAutoBuild: (0, smithy_client_1.expectBoolean)(output.enableBranchAutoBuild),
|
|
3432
|
+
enableBranchAutoDeletion: (0, smithy_client_1.expectBoolean)(output.enableBranchAutoDeletion),
|
|
3433
3433
|
environmentVariables: output.environmentVariables !== undefined && output.environmentVariables !== null
|
|
3434
3434
|
? deserializeAws_restJson1EnvironmentVariables(output.environmentVariables, context)
|
|
3435
3435
|
: undefined,
|
|
3436
|
-
iamServiceRoleArn: smithy_client_1.expectString(output.iamServiceRoleArn),
|
|
3437
|
-
name: smithy_client_1.expectString(output.name),
|
|
3438
|
-
platform: smithy_client_1.expectString(output.platform),
|
|
3436
|
+
iamServiceRoleArn: (0, smithy_client_1.expectString)(output.iamServiceRoleArn),
|
|
3437
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
3438
|
+
platform: (0, smithy_client_1.expectString)(output.platform),
|
|
3439
3439
|
productionBranch: output.productionBranch !== undefined && output.productionBranch !== null
|
|
3440
3440
|
? deserializeAws_restJson1ProductionBranch(output.productionBranch, context)
|
|
3441
3441
|
: undefined,
|
|
3442
|
-
repository: smithy_client_1.expectString(output.repository),
|
|
3442
|
+
repository: (0, smithy_client_1.expectString)(output.repository),
|
|
3443
|
+
repositoryCloneMethod: (0, smithy_client_1.expectString)(output.repositoryCloneMethod),
|
|
3443
3444
|
tags: output.tags !== undefined && output.tags !== null
|
|
3444
3445
|
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
3445
3446
|
: undefined,
|
|
3446
3447
|
updateTime: output.updateTime !== undefined && output.updateTime !== null
|
|
3447
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updateTime)))
|
|
3448
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime)))
|
|
3448
3449
|
: undefined,
|
|
3449
3450
|
};
|
|
3450
3451
|
};
|
|
@@ -3461,8 +3462,8 @@ const deserializeAws_restJson1Apps = (output, context) => {
|
|
|
3461
3462
|
};
|
|
3462
3463
|
const deserializeAws_restJson1Artifact = (output, context) => {
|
|
3463
3464
|
return {
|
|
3464
|
-
artifactFileName: smithy_client_1.expectString(output.artifactFileName),
|
|
3465
|
-
artifactId: smithy_client_1.expectString(output.artifactId),
|
|
3465
|
+
artifactFileName: (0, smithy_client_1.expectString)(output.artifactFileName),
|
|
3466
|
+
artifactId: (0, smithy_client_1.expectString)(output.artifactId),
|
|
3466
3467
|
};
|
|
3467
3468
|
};
|
|
3468
3469
|
const deserializeAws_restJson1Artifacts = (output, context) => {
|
|
@@ -3483,24 +3484,24 @@ const deserializeAws_restJson1AssociatedResources = (output, context) => {
|
|
|
3483
3484
|
if (entry === null) {
|
|
3484
3485
|
return null;
|
|
3485
3486
|
}
|
|
3486
|
-
return smithy_client_1.expectString(entry);
|
|
3487
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3487
3488
|
});
|
|
3488
3489
|
return retVal;
|
|
3489
3490
|
};
|
|
3490
3491
|
const deserializeAws_restJson1AutoBranchCreationConfig = (output, context) => {
|
|
3491
3492
|
return {
|
|
3492
|
-
basicAuthCredentials: smithy_client_1.expectString(output.basicAuthCredentials),
|
|
3493
|
-
buildSpec: smithy_client_1.expectString(output.buildSpec),
|
|
3494
|
-
enableAutoBuild: smithy_client_1.expectBoolean(output.enableAutoBuild),
|
|
3495
|
-
enableBasicAuth: smithy_client_1.expectBoolean(output.enableBasicAuth),
|
|
3496
|
-
enablePerformanceMode: smithy_client_1.expectBoolean(output.enablePerformanceMode),
|
|
3497
|
-
enablePullRequestPreview: smithy_client_1.expectBoolean(output.enablePullRequestPreview),
|
|
3493
|
+
basicAuthCredentials: (0, smithy_client_1.expectString)(output.basicAuthCredentials),
|
|
3494
|
+
buildSpec: (0, smithy_client_1.expectString)(output.buildSpec),
|
|
3495
|
+
enableAutoBuild: (0, smithy_client_1.expectBoolean)(output.enableAutoBuild),
|
|
3496
|
+
enableBasicAuth: (0, smithy_client_1.expectBoolean)(output.enableBasicAuth),
|
|
3497
|
+
enablePerformanceMode: (0, smithy_client_1.expectBoolean)(output.enablePerformanceMode),
|
|
3498
|
+
enablePullRequestPreview: (0, smithy_client_1.expectBoolean)(output.enablePullRequestPreview),
|
|
3498
3499
|
environmentVariables: output.environmentVariables !== undefined && output.environmentVariables !== null
|
|
3499
3500
|
? deserializeAws_restJson1EnvironmentVariables(output.environmentVariables, context)
|
|
3500
3501
|
: undefined,
|
|
3501
|
-
framework: smithy_client_1.expectString(output.framework),
|
|
3502
|
-
pullRequestEnvironmentName: smithy_client_1.expectString(output.pullRequestEnvironmentName),
|
|
3503
|
-
stage: smithy_client_1.expectString(output.stage),
|
|
3502
|
+
framework: (0, smithy_client_1.expectString)(output.framework),
|
|
3503
|
+
pullRequestEnvironmentName: (0, smithy_client_1.expectString)(output.pullRequestEnvironmentName),
|
|
3504
|
+
stage: (0, smithy_client_1.expectString)(output.stage),
|
|
3504
3505
|
};
|
|
3505
3506
|
};
|
|
3506
3507
|
const deserializeAws_restJson1AutoBranchCreationPatterns = (output, context) => {
|
|
@@ -3510,7 +3511,7 @@ const deserializeAws_restJson1AutoBranchCreationPatterns = (output, context) =>
|
|
|
3510
3511
|
if (entry === null) {
|
|
3511
3512
|
return null;
|
|
3512
3513
|
}
|
|
3513
|
-
return smithy_client_1.expectString(entry);
|
|
3514
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3514
3515
|
});
|
|
3515
3516
|
return retVal;
|
|
3516
3517
|
};
|
|
@@ -3521,21 +3522,21 @@ const deserializeAws_restJson1AutoSubDomainCreationPatterns = (output, context)
|
|
|
3521
3522
|
if (entry === null) {
|
|
3522
3523
|
return null;
|
|
3523
3524
|
}
|
|
3524
|
-
return smithy_client_1.expectString(entry);
|
|
3525
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3525
3526
|
});
|
|
3526
3527
|
return retVal;
|
|
3527
3528
|
};
|
|
3528
3529
|
const deserializeAws_restJson1BackendEnvironment = (output, context) => {
|
|
3529
3530
|
return {
|
|
3530
|
-
backendEnvironmentArn: smithy_client_1.expectString(output.backendEnvironmentArn),
|
|
3531
|
+
backendEnvironmentArn: (0, smithy_client_1.expectString)(output.backendEnvironmentArn),
|
|
3531
3532
|
createTime: output.createTime !== undefined && output.createTime !== null
|
|
3532
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createTime)))
|
|
3533
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime)))
|
|
3533
3534
|
: undefined,
|
|
3534
|
-
deploymentArtifacts: smithy_client_1.expectString(output.deploymentArtifacts),
|
|
3535
|
-
environmentName: smithy_client_1.expectString(output.environmentName),
|
|
3536
|
-
stackName: smithy_client_1.expectString(output.stackName),
|
|
3535
|
+
deploymentArtifacts: (0, smithy_client_1.expectString)(output.deploymentArtifacts),
|
|
3536
|
+
environmentName: (0, smithy_client_1.expectString)(output.environmentName),
|
|
3537
|
+
stackName: (0, smithy_client_1.expectString)(output.stackName),
|
|
3537
3538
|
updateTime: output.updateTime !== undefined && output.updateTime !== null
|
|
3538
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updateTime)))
|
|
3539
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime)))
|
|
3539
3540
|
: undefined,
|
|
3540
3541
|
};
|
|
3541
3542
|
};
|
|
@@ -3552,44 +3553,44 @@ const deserializeAws_restJson1BackendEnvironments = (output, context) => {
|
|
|
3552
3553
|
};
|
|
3553
3554
|
const deserializeAws_restJson1Branch = (output, context) => {
|
|
3554
3555
|
return {
|
|
3555
|
-
activeJobId: smithy_client_1.expectString(output.activeJobId),
|
|
3556
|
+
activeJobId: (0, smithy_client_1.expectString)(output.activeJobId),
|
|
3556
3557
|
associatedResources: output.associatedResources !== undefined && output.associatedResources !== null
|
|
3557
3558
|
? deserializeAws_restJson1AssociatedResources(output.associatedResources, context)
|
|
3558
3559
|
: undefined,
|
|
3559
|
-
backendEnvironmentArn: smithy_client_1.expectString(output.backendEnvironmentArn),
|
|
3560
|
-
basicAuthCredentials: smithy_client_1.expectString(output.basicAuthCredentials),
|
|
3561
|
-
branchArn: smithy_client_1.expectString(output.branchArn),
|
|
3562
|
-
branchName: smithy_client_1.expectString(output.branchName),
|
|
3563
|
-
buildSpec: smithy_client_1.expectString(output.buildSpec),
|
|
3560
|
+
backendEnvironmentArn: (0, smithy_client_1.expectString)(output.backendEnvironmentArn),
|
|
3561
|
+
basicAuthCredentials: (0, smithy_client_1.expectString)(output.basicAuthCredentials),
|
|
3562
|
+
branchArn: (0, smithy_client_1.expectString)(output.branchArn),
|
|
3563
|
+
branchName: (0, smithy_client_1.expectString)(output.branchName),
|
|
3564
|
+
buildSpec: (0, smithy_client_1.expectString)(output.buildSpec),
|
|
3564
3565
|
createTime: output.createTime !== undefined && output.createTime !== null
|
|
3565
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createTime)))
|
|
3566
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime)))
|
|
3566
3567
|
: undefined,
|
|
3567
3568
|
customDomains: output.customDomains !== undefined && output.customDomains !== null
|
|
3568
3569
|
? deserializeAws_restJson1CustomDomains(output.customDomains, context)
|
|
3569
3570
|
: undefined,
|
|
3570
|
-
description: smithy_client_1.expectString(output.description),
|
|
3571
|
-
destinationBranch: smithy_client_1.expectString(output.destinationBranch),
|
|
3572
|
-
displayName: smithy_client_1.expectString(output.displayName),
|
|
3573
|
-
enableAutoBuild: smithy_client_1.expectBoolean(output.enableAutoBuild),
|
|
3574
|
-
enableBasicAuth: smithy_client_1.expectBoolean(output.enableBasicAuth),
|
|
3575
|
-
enableNotification: smithy_client_1.expectBoolean(output.enableNotification),
|
|
3576
|
-
enablePerformanceMode: smithy_client_1.expectBoolean(output.enablePerformanceMode),
|
|
3577
|
-
enablePullRequestPreview: smithy_client_1.expectBoolean(output.enablePullRequestPreview),
|
|
3571
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
3572
|
+
destinationBranch: (0, smithy_client_1.expectString)(output.destinationBranch),
|
|
3573
|
+
displayName: (0, smithy_client_1.expectString)(output.displayName),
|
|
3574
|
+
enableAutoBuild: (0, smithy_client_1.expectBoolean)(output.enableAutoBuild),
|
|
3575
|
+
enableBasicAuth: (0, smithy_client_1.expectBoolean)(output.enableBasicAuth),
|
|
3576
|
+
enableNotification: (0, smithy_client_1.expectBoolean)(output.enableNotification),
|
|
3577
|
+
enablePerformanceMode: (0, smithy_client_1.expectBoolean)(output.enablePerformanceMode),
|
|
3578
|
+
enablePullRequestPreview: (0, smithy_client_1.expectBoolean)(output.enablePullRequestPreview),
|
|
3578
3579
|
environmentVariables: output.environmentVariables !== undefined && output.environmentVariables !== null
|
|
3579
3580
|
? deserializeAws_restJson1EnvironmentVariables(output.environmentVariables, context)
|
|
3580
3581
|
: undefined,
|
|
3581
|
-
framework: smithy_client_1.expectString(output.framework),
|
|
3582
|
-
pullRequestEnvironmentName: smithy_client_1.expectString(output.pullRequestEnvironmentName),
|
|
3583
|
-
sourceBranch: smithy_client_1.expectString(output.sourceBranch),
|
|
3584
|
-
stage: smithy_client_1.expectString(output.stage),
|
|
3582
|
+
framework: (0, smithy_client_1.expectString)(output.framework),
|
|
3583
|
+
pullRequestEnvironmentName: (0, smithy_client_1.expectString)(output.pullRequestEnvironmentName),
|
|
3584
|
+
sourceBranch: (0, smithy_client_1.expectString)(output.sourceBranch),
|
|
3585
|
+
stage: (0, smithy_client_1.expectString)(output.stage),
|
|
3585
3586
|
tags: output.tags !== undefined && output.tags !== null
|
|
3586
3587
|
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
3587
3588
|
: undefined,
|
|
3588
|
-
thumbnailUrl: smithy_client_1.expectString(output.thumbnailUrl),
|
|
3589
|
-
totalNumberOfJobs: smithy_client_1.expectString(output.totalNumberOfJobs),
|
|
3590
|
-
ttl: smithy_client_1.expectString(output.ttl),
|
|
3589
|
+
thumbnailUrl: (0, smithy_client_1.expectString)(output.thumbnailUrl),
|
|
3590
|
+
totalNumberOfJobs: (0, smithy_client_1.expectString)(output.totalNumberOfJobs),
|
|
3591
|
+
ttl: (0, smithy_client_1.expectString)(output.ttl),
|
|
3591
3592
|
updateTime: output.updateTime !== undefined && output.updateTime !== null
|
|
3592
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updateTime)))
|
|
3593
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime)))
|
|
3593
3594
|
: undefined,
|
|
3594
3595
|
};
|
|
3595
3596
|
};
|
|
@@ -3611,16 +3612,16 @@ const deserializeAws_restJson1CustomDomains = (output, context) => {
|
|
|
3611
3612
|
if (entry === null) {
|
|
3612
3613
|
return null;
|
|
3613
3614
|
}
|
|
3614
|
-
return smithy_client_1.expectString(entry);
|
|
3615
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3615
3616
|
});
|
|
3616
3617
|
return retVal;
|
|
3617
3618
|
};
|
|
3618
3619
|
const deserializeAws_restJson1CustomRule = (output, context) => {
|
|
3619
3620
|
return {
|
|
3620
|
-
condition: smithy_client_1.expectString(output.condition),
|
|
3621
|
-
source: smithy_client_1.expectString(output.source),
|
|
3622
|
-
status: smithy_client_1.expectString(output.status),
|
|
3623
|
-
target: smithy_client_1.expectString(output.target),
|
|
3621
|
+
condition: (0, smithy_client_1.expectString)(output.condition),
|
|
3622
|
+
source: (0, smithy_client_1.expectString)(output.source),
|
|
3623
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
3624
|
+
target: (0, smithy_client_1.expectString)(output.target),
|
|
3624
3625
|
};
|
|
3625
3626
|
};
|
|
3626
3627
|
const deserializeAws_restJson1CustomRules = (output, context) => {
|
|
@@ -3639,13 +3640,13 @@ const deserializeAws_restJson1DomainAssociation = (output, context) => {
|
|
|
3639
3640
|
autoSubDomainCreationPatterns: output.autoSubDomainCreationPatterns !== undefined && output.autoSubDomainCreationPatterns !== null
|
|
3640
3641
|
? deserializeAws_restJson1AutoSubDomainCreationPatterns(output.autoSubDomainCreationPatterns, context)
|
|
3641
3642
|
: undefined,
|
|
3642
|
-
autoSubDomainIAMRole: smithy_client_1.expectString(output.autoSubDomainIAMRole),
|
|
3643
|
-
certificateVerificationDNSRecord: smithy_client_1.expectString(output.certificateVerificationDNSRecord),
|
|
3644
|
-
domainAssociationArn: smithy_client_1.expectString(output.domainAssociationArn),
|
|
3645
|
-
domainName: smithy_client_1.expectString(output.domainName),
|
|
3646
|
-
domainStatus: smithy_client_1.expectString(output.domainStatus),
|
|
3647
|
-
enableAutoSubDomain: smithy_client_1.expectBoolean(output.enableAutoSubDomain),
|
|
3648
|
-
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
3643
|
+
autoSubDomainIAMRole: (0, smithy_client_1.expectString)(output.autoSubDomainIAMRole),
|
|
3644
|
+
certificateVerificationDNSRecord: (0, smithy_client_1.expectString)(output.certificateVerificationDNSRecord),
|
|
3645
|
+
domainAssociationArn: (0, smithy_client_1.expectString)(output.domainAssociationArn),
|
|
3646
|
+
domainName: (0, smithy_client_1.expectString)(output.domainName),
|
|
3647
|
+
domainStatus: (0, smithy_client_1.expectString)(output.domainStatus),
|
|
3648
|
+
enableAutoSubDomain: (0, smithy_client_1.expectBoolean)(output.enableAutoSubDomain),
|
|
3649
|
+
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
3649
3650
|
subDomains: output.subDomains !== undefined && output.subDomains !== null
|
|
3650
3651
|
? deserializeAws_restJson1SubDomains(output.subDomains, context)
|
|
3651
3652
|
: undefined,
|
|
@@ -3669,7 +3670,7 @@ const deserializeAws_restJson1EnvironmentVariables = (output, context) => {
|
|
|
3669
3670
|
}
|
|
3670
3671
|
return {
|
|
3671
3672
|
...acc,
|
|
3672
|
-
[key]: smithy_client_1.expectString(value),
|
|
3673
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3673
3674
|
};
|
|
3674
3675
|
}, {});
|
|
3675
3676
|
};
|
|
@@ -3680,7 +3681,7 @@ const deserializeAws_restJson1FileUploadUrls = (output, context) => {
|
|
|
3680
3681
|
}
|
|
3681
3682
|
return {
|
|
3682
3683
|
...acc,
|
|
3683
|
-
[key]: smithy_client_1.expectString(value),
|
|
3684
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3684
3685
|
};
|
|
3685
3686
|
}, {});
|
|
3686
3687
|
};
|
|
@@ -3707,31 +3708,31 @@ const deserializeAws_restJson1JobSummaries = (output, context) => {
|
|
|
3707
3708
|
};
|
|
3708
3709
|
const deserializeAws_restJson1JobSummary = (output, context) => {
|
|
3709
3710
|
return {
|
|
3710
|
-
commitId: smithy_client_1.expectString(output.commitId),
|
|
3711
|
-
commitMessage: smithy_client_1.expectString(output.commitMessage),
|
|
3711
|
+
commitId: (0, smithy_client_1.expectString)(output.commitId),
|
|
3712
|
+
commitMessage: (0, smithy_client_1.expectString)(output.commitMessage),
|
|
3712
3713
|
commitTime: output.commitTime !== undefined && output.commitTime !== null
|
|
3713
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.commitTime)))
|
|
3714
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.commitTime)))
|
|
3714
3715
|
: undefined,
|
|
3715
3716
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
3716
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
|
|
3717
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
|
|
3717
3718
|
: undefined,
|
|
3718
|
-
jobArn: smithy_client_1.expectString(output.jobArn),
|
|
3719
|
-
jobId: smithy_client_1.expectString(output.jobId),
|
|
3720
|
-
jobType: smithy_client_1.expectString(output.jobType),
|
|
3719
|
+
jobArn: (0, smithy_client_1.expectString)(output.jobArn),
|
|
3720
|
+
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
3721
|
+
jobType: (0, smithy_client_1.expectString)(output.jobType),
|
|
3721
3722
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
3722
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
3723
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
|
|
3723
3724
|
: undefined,
|
|
3724
|
-
status: smithy_client_1.expectString(output.status),
|
|
3725
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
3725
3726
|
};
|
|
3726
3727
|
};
|
|
3727
3728
|
const deserializeAws_restJson1ProductionBranch = (output, context) => {
|
|
3728
3729
|
return {
|
|
3729
|
-
branchName: smithy_client_1.expectString(output.branchName),
|
|
3730
|
+
branchName: (0, smithy_client_1.expectString)(output.branchName),
|
|
3730
3731
|
lastDeployTime: output.lastDeployTime !== undefined && output.lastDeployTime !== null
|
|
3731
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastDeployTime)))
|
|
3732
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeployTime)))
|
|
3732
3733
|
: undefined,
|
|
3733
|
-
status: smithy_client_1.expectString(output.status),
|
|
3734
|
-
thumbnailUrl: smithy_client_1.expectString(output.thumbnailUrl),
|
|
3734
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
3735
|
+
thumbnailUrl: (0, smithy_client_1.expectString)(output.thumbnailUrl),
|
|
3735
3736
|
};
|
|
3736
3737
|
};
|
|
3737
3738
|
const deserializeAws_restJson1Screenshots = (output, context) => {
|
|
@@ -3741,29 +3742,29 @@ const deserializeAws_restJson1Screenshots = (output, context) => {
|
|
|
3741
3742
|
}
|
|
3742
3743
|
return {
|
|
3743
3744
|
...acc,
|
|
3744
|
-
[key]: smithy_client_1.expectString(value),
|
|
3745
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3745
3746
|
};
|
|
3746
3747
|
}, {});
|
|
3747
3748
|
};
|
|
3748
3749
|
const deserializeAws_restJson1Step = (output, context) => {
|
|
3749
3750
|
return {
|
|
3750
|
-
artifactsUrl: smithy_client_1.expectString(output.artifactsUrl),
|
|
3751
|
-
context: smithy_client_1.expectString(output.context),
|
|
3751
|
+
artifactsUrl: (0, smithy_client_1.expectString)(output.artifactsUrl),
|
|
3752
|
+
context: (0, smithy_client_1.expectString)(output.context),
|
|
3752
3753
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
3753
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
|
|
3754
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
|
|
3754
3755
|
: undefined,
|
|
3755
|
-
logUrl: smithy_client_1.expectString(output.logUrl),
|
|
3756
|
+
logUrl: (0, smithy_client_1.expectString)(output.logUrl),
|
|
3756
3757
|
screenshots: output.screenshots !== undefined && output.screenshots !== null
|
|
3757
3758
|
? deserializeAws_restJson1Screenshots(output.screenshots, context)
|
|
3758
3759
|
: undefined,
|
|
3759
3760
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
3760
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
3761
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
|
|
3761
3762
|
: undefined,
|
|
3762
|
-
status: smithy_client_1.expectString(output.status),
|
|
3763
|
-
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
3764
|
-
stepName: smithy_client_1.expectString(output.stepName),
|
|
3765
|
-
testArtifactsUrl: smithy_client_1.expectString(output.testArtifactsUrl),
|
|
3766
|
-
testConfigUrl: smithy_client_1.expectString(output.testConfigUrl),
|
|
3763
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
3764
|
+
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
3765
|
+
stepName: (0, smithy_client_1.expectString)(output.stepName),
|
|
3766
|
+
testArtifactsUrl: (0, smithy_client_1.expectString)(output.testArtifactsUrl),
|
|
3767
|
+
testConfigUrl: (0, smithy_client_1.expectString)(output.testConfigUrl),
|
|
3767
3768
|
};
|
|
3768
3769
|
};
|
|
3769
3770
|
const deserializeAws_restJson1Steps = (output, context) => {
|
|
@@ -3779,11 +3780,11 @@ const deserializeAws_restJson1Steps = (output, context) => {
|
|
|
3779
3780
|
};
|
|
3780
3781
|
const deserializeAws_restJson1SubDomain = (output, context) => {
|
|
3781
3782
|
return {
|
|
3782
|
-
dnsRecord: smithy_client_1.expectString(output.dnsRecord),
|
|
3783
|
+
dnsRecord: (0, smithy_client_1.expectString)(output.dnsRecord),
|
|
3783
3784
|
subDomainSetting: output.subDomainSetting !== undefined && output.subDomainSetting !== null
|
|
3784
3785
|
? deserializeAws_restJson1SubDomainSetting(output.subDomainSetting, context)
|
|
3785
3786
|
: undefined,
|
|
3786
|
-
verified: smithy_client_1.expectBoolean(output.verified),
|
|
3787
|
+
verified: (0, smithy_client_1.expectBoolean)(output.verified),
|
|
3787
3788
|
};
|
|
3788
3789
|
};
|
|
3789
3790
|
const deserializeAws_restJson1SubDomains = (output, context) => {
|
|
@@ -3799,8 +3800,8 @@ const deserializeAws_restJson1SubDomains = (output, context) => {
|
|
|
3799
3800
|
};
|
|
3800
3801
|
const deserializeAws_restJson1SubDomainSetting = (output, context) => {
|
|
3801
3802
|
return {
|
|
3802
|
-
branchName: smithy_client_1.expectString(output.branchName),
|
|
3803
|
-
prefix: smithy_client_1.expectString(output.prefix),
|
|
3803
|
+
branchName: (0, smithy_client_1.expectString)(output.branchName),
|
|
3804
|
+
prefix: (0, smithy_client_1.expectString)(output.prefix),
|
|
3804
3805
|
};
|
|
3805
3806
|
};
|
|
3806
3807
|
const deserializeAws_restJson1TagMap = (output, context) => {
|
|
@@ -3810,23 +3811,23 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
3810
3811
|
}
|
|
3811
3812
|
return {
|
|
3812
3813
|
...acc,
|
|
3813
|
-
[key]: smithy_client_1.expectString(value),
|
|
3814
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3814
3815
|
};
|
|
3815
3816
|
}, {});
|
|
3816
3817
|
};
|
|
3817
3818
|
const deserializeAws_restJson1Webhook = (output, context) => {
|
|
3818
3819
|
return {
|
|
3819
|
-
branchName: smithy_client_1.expectString(output.branchName),
|
|
3820
|
+
branchName: (0, smithy_client_1.expectString)(output.branchName),
|
|
3820
3821
|
createTime: output.createTime !== undefined && output.createTime !== null
|
|
3821
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createTime)))
|
|
3822
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime)))
|
|
3822
3823
|
: undefined,
|
|
3823
|
-
description: smithy_client_1.expectString(output.description),
|
|
3824
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
3824
3825
|
updateTime: output.updateTime !== undefined && output.updateTime !== null
|
|
3825
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updateTime)))
|
|
3826
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime)))
|
|
3826
3827
|
: undefined,
|
|
3827
|
-
webhookArn: smithy_client_1.expectString(output.webhookArn),
|
|
3828
|
-
webhookId: smithy_client_1.expectString(output.webhookId),
|
|
3829
|
-
webhookUrl: smithy_client_1.expectString(output.webhookUrl),
|
|
3828
|
+
webhookArn: (0, smithy_client_1.expectString)(output.webhookArn),
|
|
3829
|
+
webhookId: (0, smithy_client_1.expectString)(output.webhookId),
|
|
3830
|
+
webhookUrl: (0, smithy_client_1.expectString)(output.webhookUrl),
|
|
3830
3831
|
};
|
|
3831
3832
|
};
|
|
3832
3833
|
const deserializeAws_restJson1Webhooks = (output, context) => {
|