@aws-sdk/client-serverlessapplicationrepository 3.31.0 → 3.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/ServerlessApplicationRepositoryClient.js +13 -13
- package/dist/cjs/ServerlessApplicationRepositoryClient.js.map +1 -1
- package/dist/cjs/commands/CreateApplicationCommand.js +3 -3
- package/dist/cjs/commands/CreateApplicationCommand.js.map +1 -1
- package/dist/cjs/commands/CreateApplicationVersionCommand.js +3 -3
- package/dist/cjs/commands/CreateApplicationVersionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateCloudFormationChangeSetCommand.js +3 -3
- package/dist/cjs/commands/CreateCloudFormationChangeSetCommand.js.map +1 -1
- package/dist/cjs/commands/CreateCloudFormationTemplateCommand.js +3 -3
- package/dist/cjs/commands/CreateCloudFormationTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteApplicationCommand.js +3 -3
- package/dist/cjs/commands/DeleteApplicationCommand.js.map +1 -1
- package/dist/cjs/commands/GetApplicationCommand.js +3 -3
- package/dist/cjs/commands/GetApplicationCommand.js.map +1 -1
- package/dist/cjs/commands/GetApplicationPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetApplicationPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetCloudFormationTemplateCommand.js +3 -3
- package/dist/cjs/commands/GetCloudFormationTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/ListApplicationDependenciesCommand.js +3 -3
- package/dist/cjs/commands/ListApplicationDependenciesCommand.js.map +1 -1
- package/dist/cjs/commands/ListApplicationVersionsCommand.js +3 -3
- package/dist/cjs/commands/ListApplicationVersionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListApplicationsCommand.js +3 -3
- package/dist/cjs/commands/ListApplicationsCommand.js.map +1 -1
- package/dist/cjs/commands/PutApplicationPolicyCommand.js +3 -3
- package/dist/cjs/commands/PutApplicationPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/UnshareApplicationCommand.js +3 -3
- package/dist/cjs/commands/UnshareApplicationCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateApplicationCommand.js +3 -3
- package/dist/cjs/commands/UpdateApplicationCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +21 -21
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +133 -133
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/ListApplicationDependenciesPaginator.js +4 -4
- package/dist/es/pagination/ListApplicationDependenciesPaginator.js.map +1 -1
- package/dist/es/pagination/ListApplicationVersionsPaginator.js +4 -4
- package/dist/es/pagination/ListApplicationVersionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListApplicationsPaginator.js +4 -4
- package/dist/es/pagination/ListApplicationsPaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
|
@@ -53,7 +53,7 @@ const serializeAws_restJson1CreateApplicationVersionCommand = async (input, cont
|
|
|
53
53
|
if (labelValue.length <= 0) {
|
|
54
54
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
55
55
|
}
|
|
56
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
56
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
57
57
|
}
|
|
58
58
|
else {
|
|
59
59
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -63,7 +63,7 @@ const serializeAws_restJson1CreateApplicationVersionCommand = async (input, cont
|
|
|
63
63
|
if (labelValue.length <= 0) {
|
|
64
64
|
throw new Error("Empty value provided for input HTTP label: SemanticVersion.");
|
|
65
65
|
}
|
|
66
|
-
resolvedPath = resolvedPath.replace("{SemanticVersion}",
|
|
66
|
+
resolvedPath = resolvedPath.replace("{SemanticVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
69
69
|
throw new Error("No value provided for input HTTP label: SemanticVersion.");
|
|
@@ -98,7 +98,7 @@ const serializeAws_restJson1CreateCloudFormationChangeSetCommand = async (input,
|
|
|
98
98
|
if (labelValue.length <= 0) {
|
|
99
99
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
100
100
|
}
|
|
101
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
101
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
102
102
|
}
|
|
103
103
|
else {
|
|
104
104
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -157,7 +157,7 @@ const serializeAws_restJson1CreateCloudFormationTemplateCommand = async (input,
|
|
|
157
157
|
if (labelValue.length <= 0) {
|
|
158
158
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
159
159
|
}
|
|
160
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
160
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
161
161
|
}
|
|
162
162
|
else {
|
|
163
163
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -187,7 +187,7 @@ const serializeAws_restJson1DeleteApplicationCommand = async (input, context) =>
|
|
|
187
187
|
if (labelValue.length <= 0) {
|
|
188
188
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
189
189
|
}
|
|
190
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
190
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
191
191
|
}
|
|
192
192
|
else {
|
|
193
193
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -213,7 +213,7 @@ const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
|
|
|
213
213
|
if (labelValue.length <= 0) {
|
|
214
214
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
215
215
|
}
|
|
216
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
216
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
217
217
|
}
|
|
218
218
|
else {
|
|
219
219
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -243,7 +243,7 @@ const serializeAws_restJson1GetApplicationPolicyCommand = async (input, context)
|
|
|
243
243
|
if (labelValue.length <= 0) {
|
|
244
244
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
245
245
|
}
|
|
246
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
246
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
247
247
|
}
|
|
248
248
|
else {
|
|
249
249
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -270,7 +270,7 @@ const serializeAws_restJson1GetCloudFormationTemplateCommand = async (input, con
|
|
|
270
270
|
if (labelValue.length <= 0) {
|
|
271
271
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
272
272
|
}
|
|
273
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
273
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
274
274
|
}
|
|
275
275
|
else {
|
|
276
276
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -280,7 +280,7 @@ const serializeAws_restJson1GetCloudFormationTemplateCommand = async (input, con
|
|
|
280
280
|
if (labelValue.length <= 0) {
|
|
281
281
|
throw new Error("Empty value provided for input HTTP label: TemplateId.");
|
|
282
282
|
}
|
|
283
|
-
resolvedPath = resolvedPath.replace("{TemplateId}",
|
|
283
|
+
resolvedPath = resolvedPath.replace("{TemplateId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
284
284
|
}
|
|
285
285
|
else {
|
|
286
286
|
throw new Error("No value provided for input HTTP label: TemplateId.");
|
|
@@ -307,7 +307,7 @@ const serializeAws_restJson1ListApplicationDependenciesCommand = async (input, c
|
|
|
307
307
|
if (labelValue.length <= 0) {
|
|
308
308
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
309
309
|
}
|
|
310
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
310
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
311
311
|
}
|
|
312
312
|
else {
|
|
313
313
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -360,7 +360,7 @@ const serializeAws_restJson1ListApplicationVersionsCommand = async (input, conte
|
|
|
360
360
|
if (labelValue.length <= 0) {
|
|
361
361
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
362
362
|
}
|
|
363
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
363
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
364
364
|
}
|
|
365
365
|
else {
|
|
366
366
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -393,7 +393,7 @@ const serializeAws_restJson1PutApplicationPolicyCommand = async (input, context)
|
|
|
393
393
|
if (labelValue.length <= 0) {
|
|
394
394
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
395
395
|
}
|
|
396
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
396
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
397
397
|
}
|
|
398
398
|
else {
|
|
399
399
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -427,7 +427,7 @@ const serializeAws_restJson1UnshareApplicationCommand = async (input, context) =
|
|
|
427
427
|
if (labelValue.length <= 0) {
|
|
428
428
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
429
429
|
}
|
|
430
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
430
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
431
431
|
}
|
|
432
432
|
else {
|
|
433
433
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -459,7 +459,7 @@ const serializeAws_restJson1UpdateApplicationCommand = async (input, context) =>
|
|
|
459
459
|
if (labelValue.length <= 0) {
|
|
460
460
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
461
461
|
}
|
|
462
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
462
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
463
463
|
}
|
|
464
464
|
else {
|
|
465
465
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -505,42 +505,42 @@ const deserializeAws_restJson1CreateApplicationCommand = async (output, context)
|
|
|
505
505
|
VerifiedAuthorUrl: undefined,
|
|
506
506
|
Version: undefined,
|
|
507
507
|
};
|
|
508
|
-
const data =
|
|
508
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
509
509
|
if (data.applicationId !== undefined && data.applicationId !== null) {
|
|
510
|
-
contents.ApplicationId =
|
|
510
|
+
contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
|
|
511
511
|
}
|
|
512
512
|
if (data.author !== undefined && data.author !== null) {
|
|
513
|
-
contents.Author =
|
|
513
|
+
contents.Author = smithy_client_1.expectString(data.author);
|
|
514
514
|
}
|
|
515
515
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
516
|
-
contents.CreationTime =
|
|
516
|
+
contents.CreationTime = smithy_client_1.expectString(data.creationTime);
|
|
517
517
|
}
|
|
518
518
|
if (data.description !== undefined && data.description !== null) {
|
|
519
|
-
contents.Description =
|
|
519
|
+
contents.Description = smithy_client_1.expectString(data.description);
|
|
520
520
|
}
|
|
521
521
|
if (data.homePageUrl !== undefined && data.homePageUrl !== null) {
|
|
522
|
-
contents.HomePageUrl =
|
|
522
|
+
contents.HomePageUrl = smithy_client_1.expectString(data.homePageUrl);
|
|
523
523
|
}
|
|
524
524
|
if (data.isVerifiedAuthor !== undefined && data.isVerifiedAuthor !== null) {
|
|
525
|
-
contents.IsVerifiedAuthor =
|
|
525
|
+
contents.IsVerifiedAuthor = smithy_client_1.expectBoolean(data.isVerifiedAuthor);
|
|
526
526
|
}
|
|
527
527
|
if (data.labels !== undefined && data.labels !== null) {
|
|
528
528
|
contents.Labels = deserializeAws_restJson1__listOf__string(data.labels, context);
|
|
529
529
|
}
|
|
530
530
|
if (data.licenseUrl !== undefined && data.licenseUrl !== null) {
|
|
531
|
-
contents.LicenseUrl =
|
|
531
|
+
contents.LicenseUrl = smithy_client_1.expectString(data.licenseUrl);
|
|
532
532
|
}
|
|
533
533
|
if (data.name !== undefined && data.name !== null) {
|
|
534
|
-
contents.Name =
|
|
534
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
535
535
|
}
|
|
536
536
|
if (data.readmeUrl !== undefined && data.readmeUrl !== null) {
|
|
537
|
-
contents.ReadmeUrl =
|
|
537
|
+
contents.ReadmeUrl = smithy_client_1.expectString(data.readmeUrl);
|
|
538
538
|
}
|
|
539
539
|
if (data.spdxLicenseId !== undefined && data.spdxLicenseId !== null) {
|
|
540
|
-
contents.SpdxLicenseId =
|
|
540
|
+
contents.SpdxLicenseId = smithy_client_1.expectString(data.spdxLicenseId);
|
|
541
541
|
}
|
|
542
542
|
if (data.verifiedAuthorUrl !== undefined && data.verifiedAuthorUrl !== null) {
|
|
543
|
-
contents.VerifiedAuthorUrl =
|
|
543
|
+
contents.VerifiedAuthorUrl = smithy_client_1.expectString(data.verifiedAuthorUrl);
|
|
544
544
|
}
|
|
545
545
|
if (data.version !== undefined && data.version !== null) {
|
|
546
546
|
contents.Version = deserializeAws_restJson1Version(data.version, context);
|
|
@@ -629,12 +629,12 @@ const deserializeAws_restJson1CreateApplicationVersionCommand = async (output, c
|
|
|
629
629
|
SourceCodeUrl: undefined,
|
|
630
630
|
TemplateUrl: undefined,
|
|
631
631
|
};
|
|
632
|
-
const data =
|
|
632
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
633
633
|
if (data.applicationId !== undefined && data.applicationId !== null) {
|
|
634
|
-
contents.ApplicationId =
|
|
634
|
+
contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
|
|
635
635
|
}
|
|
636
636
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
637
|
-
contents.CreationTime =
|
|
637
|
+
contents.CreationTime = smithy_client_1.expectString(data.creationTime);
|
|
638
638
|
}
|
|
639
639
|
if (data.parameterDefinitions !== undefined && data.parameterDefinitions !== null) {
|
|
640
640
|
contents.ParameterDefinitions = deserializeAws_restJson1__listOfParameterDefinition(data.parameterDefinitions, context);
|
|
@@ -643,19 +643,19 @@ const deserializeAws_restJson1CreateApplicationVersionCommand = async (output, c
|
|
|
643
643
|
contents.RequiredCapabilities = deserializeAws_restJson1__listOfCapability(data.requiredCapabilities, context);
|
|
644
644
|
}
|
|
645
645
|
if (data.resourcesSupported !== undefined && data.resourcesSupported !== null) {
|
|
646
|
-
contents.ResourcesSupported =
|
|
646
|
+
contents.ResourcesSupported = smithy_client_1.expectBoolean(data.resourcesSupported);
|
|
647
647
|
}
|
|
648
648
|
if (data.semanticVersion !== undefined && data.semanticVersion !== null) {
|
|
649
|
-
contents.SemanticVersion =
|
|
649
|
+
contents.SemanticVersion = smithy_client_1.expectString(data.semanticVersion);
|
|
650
650
|
}
|
|
651
651
|
if (data.sourceCodeArchiveUrl !== undefined && data.sourceCodeArchiveUrl !== null) {
|
|
652
|
-
contents.SourceCodeArchiveUrl =
|
|
652
|
+
contents.SourceCodeArchiveUrl = smithy_client_1.expectString(data.sourceCodeArchiveUrl);
|
|
653
653
|
}
|
|
654
654
|
if (data.sourceCodeUrl !== undefined && data.sourceCodeUrl !== null) {
|
|
655
|
-
contents.SourceCodeUrl =
|
|
655
|
+
contents.SourceCodeUrl = smithy_client_1.expectString(data.sourceCodeUrl);
|
|
656
656
|
}
|
|
657
657
|
if (data.templateUrl !== undefined && data.templateUrl !== null) {
|
|
658
|
-
contents.TemplateUrl =
|
|
658
|
+
contents.TemplateUrl = smithy_client_1.expectString(data.templateUrl);
|
|
659
659
|
}
|
|
660
660
|
return Promise.resolve(contents);
|
|
661
661
|
};
|
|
@@ -736,18 +736,18 @@ const deserializeAws_restJson1CreateCloudFormationChangeSetCommand = async (outp
|
|
|
736
736
|
SemanticVersion: undefined,
|
|
737
737
|
StackId: undefined,
|
|
738
738
|
};
|
|
739
|
-
const data =
|
|
739
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
740
740
|
if (data.applicationId !== undefined && data.applicationId !== null) {
|
|
741
|
-
contents.ApplicationId =
|
|
741
|
+
contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
|
|
742
742
|
}
|
|
743
743
|
if (data.changeSetId !== undefined && data.changeSetId !== null) {
|
|
744
|
-
contents.ChangeSetId =
|
|
744
|
+
contents.ChangeSetId = smithy_client_1.expectString(data.changeSetId);
|
|
745
745
|
}
|
|
746
746
|
if (data.semanticVersion !== undefined && data.semanticVersion !== null) {
|
|
747
|
-
contents.SemanticVersion =
|
|
747
|
+
contents.SemanticVersion = smithy_client_1.expectString(data.semanticVersion);
|
|
748
748
|
}
|
|
749
749
|
if (data.stackId !== undefined && data.stackId !== null) {
|
|
750
|
-
contents.StackId =
|
|
750
|
+
contents.StackId = smithy_client_1.expectString(data.stackId);
|
|
751
751
|
}
|
|
752
752
|
return Promise.resolve(contents);
|
|
753
753
|
};
|
|
@@ -823,27 +823,27 @@ const deserializeAws_restJson1CreateCloudFormationTemplateCommand = async (outpu
|
|
|
823
823
|
TemplateId: undefined,
|
|
824
824
|
TemplateUrl: undefined,
|
|
825
825
|
};
|
|
826
|
-
const data =
|
|
826
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
827
827
|
if (data.applicationId !== undefined && data.applicationId !== null) {
|
|
828
|
-
contents.ApplicationId =
|
|
828
|
+
contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
|
|
829
829
|
}
|
|
830
830
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
831
|
-
contents.CreationTime =
|
|
831
|
+
contents.CreationTime = smithy_client_1.expectString(data.creationTime);
|
|
832
832
|
}
|
|
833
833
|
if (data.expirationTime !== undefined && data.expirationTime !== null) {
|
|
834
|
-
contents.ExpirationTime =
|
|
834
|
+
contents.ExpirationTime = smithy_client_1.expectString(data.expirationTime);
|
|
835
835
|
}
|
|
836
836
|
if (data.semanticVersion !== undefined && data.semanticVersion !== null) {
|
|
837
|
-
contents.SemanticVersion =
|
|
837
|
+
contents.SemanticVersion = smithy_client_1.expectString(data.semanticVersion);
|
|
838
838
|
}
|
|
839
839
|
if (data.status !== undefined && data.status !== null) {
|
|
840
|
-
contents.Status =
|
|
840
|
+
contents.Status = smithy_client_1.expectString(data.status);
|
|
841
841
|
}
|
|
842
842
|
if (data.templateId !== undefined && data.templateId !== null) {
|
|
843
|
-
contents.TemplateId =
|
|
843
|
+
contents.TemplateId = smithy_client_1.expectString(data.templateId);
|
|
844
844
|
}
|
|
845
845
|
if (data.templateUrl !== undefined && data.templateUrl !== null) {
|
|
846
|
-
contents.TemplateUrl =
|
|
846
|
+
contents.TemplateUrl = smithy_client_1.expectString(data.templateUrl);
|
|
847
847
|
}
|
|
848
848
|
return Promise.resolve(contents);
|
|
849
849
|
};
|
|
@@ -1017,42 +1017,42 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
|
|
|
1017
1017
|
VerifiedAuthorUrl: undefined,
|
|
1018
1018
|
Version: undefined,
|
|
1019
1019
|
};
|
|
1020
|
-
const data =
|
|
1020
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1021
1021
|
if (data.applicationId !== undefined && data.applicationId !== null) {
|
|
1022
|
-
contents.ApplicationId =
|
|
1022
|
+
contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
|
|
1023
1023
|
}
|
|
1024
1024
|
if (data.author !== undefined && data.author !== null) {
|
|
1025
|
-
contents.Author =
|
|
1025
|
+
contents.Author = smithy_client_1.expectString(data.author);
|
|
1026
1026
|
}
|
|
1027
1027
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
1028
|
-
contents.CreationTime =
|
|
1028
|
+
contents.CreationTime = smithy_client_1.expectString(data.creationTime);
|
|
1029
1029
|
}
|
|
1030
1030
|
if (data.description !== undefined && data.description !== null) {
|
|
1031
|
-
contents.Description =
|
|
1031
|
+
contents.Description = smithy_client_1.expectString(data.description);
|
|
1032
1032
|
}
|
|
1033
1033
|
if (data.homePageUrl !== undefined && data.homePageUrl !== null) {
|
|
1034
|
-
contents.HomePageUrl =
|
|
1034
|
+
contents.HomePageUrl = smithy_client_1.expectString(data.homePageUrl);
|
|
1035
1035
|
}
|
|
1036
1036
|
if (data.isVerifiedAuthor !== undefined && data.isVerifiedAuthor !== null) {
|
|
1037
|
-
contents.IsVerifiedAuthor =
|
|
1037
|
+
contents.IsVerifiedAuthor = smithy_client_1.expectBoolean(data.isVerifiedAuthor);
|
|
1038
1038
|
}
|
|
1039
1039
|
if (data.labels !== undefined && data.labels !== null) {
|
|
1040
1040
|
contents.Labels = deserializeAws_restJson1__listOf__string(data.labels, context);
|
|
1041
1041
|
}
|
|
1042
1042
|
if (data.licenseUrl !== undefined && data.licenseUrl !== null) {
|
|
1043
|
-
contents.LicenseUrl =
|
|
1043
|
+
contents.LicenseUrl = smithy_client_1.expectString(data.licenseUrl);
|
|
1044
1044
|
}
|
|
1045
1045
|
if (data.name !== undefined && data.name !== null) {
|
|
1046
|
-
contents.Name =
|
|
1046
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
1047
1047
|
}
|
|
1048
1048
|
if (data.readmeUrl !== undefined && data.readmeUrl !== null) {
|
|
1049
|
-
contents.ReadmeUrl =
|
|
1049
|
+
contents.ReadmeUrl = smithy_client_1.expectString(data.readmeUrl);
|
|
1050
1050
|
}
|
|
1051
1051
|
if (data.spdxLicenseId !== undefined && data.spdxLicenseId !== null) {
|
|
1052
|
-
contents.SpdxLicenseId =
|
|
1052
|
+
contents.SpdxLicenseId = smithy_client_1.expectString(data.spdxLicenseId);
|
|
1053
1053
|
}
|
|
1054
1054
|
if (data.verifiedAuthorUrl !== undefined && data.verifiedAuthorUrl !== null) {
|
|
1055
|
-
contents.VerifiedAuthorUrl =
|
|
1055
|
+
contents.VerifiedAuthorUrl = smithy_client_1.expectString(data.verifiedAuthorUrl);
|
|
1056
1056
|
}
|
|
1057
1057
|
if (data.version !== undefined && data.version !== null) {
|
|
1058
1058
|
contents.Version = deserializeAws_restJson1Version(data.version, context);
|
|
@@ -1133,7 +1133,7 @@ const deserializeAws_restJson1GetApplicationPolicyCommand = async (output, conte
|
|
|
1133
1133
|
$metadata: deserializeMetadata(output),
|
|
1134
1134
|
Statements: undefined,
|
|
1135
1135
|
};
|
|
1136
|
-
const data =
|
|
1136
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1137
1137
|
if (data.statements !== undefined && data.statements !== null) {
|
|
1138
1138
|
contents.Statements = deserializeAws_restJson1__listOfApplicationPolicyStatement(data.statements, context);
|
|
1139
1139
|
}
|
|
@@ -1219,27 +1219,27 @@ const deserializeAws_restJson1GetCloudFormationTemplateCommand = async (output,
|
|
|
1219
1219
|
TemplateId: undefined,
|
|
1220
1220
|
TemplateUrl: undefined,
|
|
1221
1221
|
};
|
|
1222
|
-
const data =
|
|
1222
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1223
1223
|
if (data.applicationId !== undefined && data.applicationId !== null) {
|
|
1224
|
-
contents.ApplicationId =
|
|
1224
|
+
contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
|
|
1225
1225
|
}
|
|
1226
1226
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
1227
|
-
contents.CreationTime =
|
|
1227
|
+
contents.CreationTime = smithy_client_1.expectString(data.creationTime);
|
|
1228
1228
|
}
|
|
1229
1229
|
if (data.expirationTime !== undefined && data.expirationTime !== null) {
|
|
1230
|
-
contents.ExpirationTime =
|
|
1230
|
+
contents.ExpirationTime = smithy_client_1.expectString(data.expirationTime);
|
|
1231
1231
|
}
|
|
1232
1232
|
if (data.semanticVersion !== undefined && data.semanticVersion !== null) {
|
|
1233
|
-
contents.SemanticVersion =
|
|
1233
|
+
contents.SemanticVersion = smithy_client_1.expectString(data.semanticVersion);
|
|
1234
1234
|
}
|
|
1235
1235
|
if (data.status !== undefined && data.status !== null) {
|
|
1236
|
-
contents.Status =
|
|
1236
|
+
contents.Status = smithy_client_1.expectString(data.status);
|
|
1237
1237
|
}
|
|
1238
1238
|
if (data.templateId !== undefined && data.templateId !== null) {
|
|
1239
|
-
contents.TemplateId =
|
|
1239
|
+
contents.TemplateId = smithy_client_1.expectString(data.templateId);
|
|
1240
1240
|
}
|
|
1241
1241
|
if (data.templateUrl !== undefined && data.templateUrl !== null) {
|
|
1242
|
-
contents.TemplateUrl =
|
|
1242
|
+
contents.TemplateUrl = smithy_client_1.expectString(data.templateUrl);
|
|
1243
1243
|
}
|
|
1244
1244
|
return Promise.resolve(contents);
|
|
1245
1245
|
};
|
|
@@ -1318,12 +1318,12 @@ const deserializeAws_restJson1ListApplicationDependenciesCommand = async (output
|
|
|
1318
1318
|
Dependencies: undefined,
|
|
1319
1319
|
NextToken: undefined,
|
|
1320
1320
|
};
|
|
1321
|
-
const data =
|
|
1321
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1322
1322
|
if (data.dependencies !== undefined && data.dependencies !== null) {
|
|
1323
1323
|
contents.Dependencies = deserializeAws_restJson1__listOfApplicationDependencySummary(data.dependencies, context);
|
|
1324
1324
|
}
|
|
1325
1325
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1326
|
-
contents.NextToken =
|
|
1326
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
1327
1327
|
}
|
|
1328
1328
|
return Promise.resolve(contents);
|
|
1329
1329
|
};
|
|
@@ -1402,12 +1402,12 @@ const deserializeAws_restJson1ListApplicationsCommand = async (output, context)
|
|
|
1402
1402
|
Applications: undefined,
|
|
1403
1403
|
NextToken: undefined,
|
|
1404
1404
|
};
|
|
1405
|
-
const data =
|
|
1405
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1406
1406
|
if (data.applications !== undefined && data.applications !== null) {
|
|
1407
1407
|
contents.Applications = deserializeAws_restJson1__listOfApplicationSummary(data.applications, context);
|
|
1408
1408
|
}
|
|
1409
1409
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1410
|
-
contents.NextToken =
|
|
1410
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
1411
1411
|
}
|
|
1412
1412
|
return Promise.resolve(contents);
|
|
1413
1413
|
};
|
|
@@ -1478,9 +1478,9 @@ const deserializeAws_restJson1ListApplicationVersionsCommand = async (output, co
|
|
|
1478
1478
|
NextToken: undefined,
|
|
1479
1479
|
Versions: undefined,
|
|
1480
1480
|
};
|
|
1481
|
-
const data =
|
|
1481
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1482
1482
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1483
|
-
contents.NextToken =
|
|
1483
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
1484
1484
|
}
|
|
1485
1485
|
if (data.versions !== undefined && data.versions !== null) {
|
|
1486
1486
|
contents.Versions = deserializeAws_restJson1__listOfVersionSummary(data.versions, context);
|
|
@@ -1561,7 +1561,7 @@ const deserializeAws_restJson1PutApplicationPolicyCommand = async (output, conte
|
|
|
1561
1561
|
$metadata: deserializeMetadata(output),
|
|
1562
1562
|
Statements: undefined,
|
|
1563
1563
|
};
|
|
1564
|
-
const data =
|
|
1564
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1565
1565
|
if (data.statements !== undefined && data.statements !== null) {
|
|
1566
1566
|
contents.Statements = deserializeAws_restJson1__listOfApplicationPolicyStatement(data.statements, context);
|
|
1567
1567
|
}
|
|
@@ -1729,42 +1729,42 @@ const deserializeAws_restJson1UpdateApplicationCommand = async (output, context)
|
|
|
1729
1729
|
VerifiedAuthorUrl: undefined,
|
|
1730
1730
|
Version: undefined,
|
|
1731
1731
|
};
|
|
1732
|
-
const data =
|
|
1732
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1733
1733
|
if (data.applicationId !== undefined && data.applicationId !== null) {
|
|
1734
|
-
contents.ApplicationId =
|
|
1734
|
+
contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
|
|
1735
1735
|
}
|
|
1736
1736
|
if (data.author !== undefined && data.author !== null) {
|
|
1737
|
-
contents.Author =
|
|
1737
|
+
contents.Author = smithy_client_1.expectString(data.author);
|
|
1738
1738
|
}
|
|
1739
1739
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
1740
|
-
contents.CreationTime =
|
|
1740
|
+
contents.CreationTime = smithy_client_1.expectString(data.creationTime);
|
|
1741
1741
|
}
|
|
1742
1742
|
if (data.description !== undefined && data.description !== null) {
|
|
1743
|
-
contents.Description =
|
|
1743
|
+
contents.Description = smithy_client_1.expectString(data.description);
|
|
1744
1744
|
}
|
|
1745
1745
|
if (data.homePageUrl !== undefined && data.homePageUrl !== null) {
|
|
1746
|
-
contents.HomePageUrl =
|
|
1746
|
+
contents.HomePageUrl = smithy_client_1.expectString(data.homePageUrl);
|
|
1747
1747
|
}
|
|
1748
1748
|
if (data.isVerifiedAuthor !== undefined && data.isVerifiedAuthor !== null) {
|
|
1749
|
-
contents.IsVerifiedAuthor =
|
|
1749
|
+
contents.IsVerifiedAuthor = smithy_client_1.expectBoolean(data.isVerifiedAuthor);
|
|
1750
1750
|
}
|
|
1751
1751
|
if (data.labels !== undefined && data.labels !== null) {
|
|
1752
1752
|
contents.Labels = deserializeAws_restJson1__listOf__string(data.labels, context);
|
|
1753
1753
|
}
|
|
1754
1754
|
if (data.licenseUrl !== undefined && data.licenseUrl !== null) {
|
|
1755
|
-
contents.LicenseUrl =
|
|
1755
|
+
contents.LicenseUrl = smithy_client_1.expectString(data.licenseUrl);
|
|
1756
1756
|
}
|
|
1757
1757
|
if (data.name !== undefined && data.name !== null) {
|
|
1758
|
-
contents.Name =
|
|
1758
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
1759
1759
|
}
|
|
1760
1760
|
if (data.readmeUrl !== undefined && data.readmeUrl !== null) {
|
|
1761
|
-
contents.ReadmeUrl =
|
|
1761
|
+
contents.ReadmeUrl = smithy_client_1.expectString(data.readmeUrl);
|
|
1762
1762
|
}
|
|
1763
1763
|
if (data.spdxLicenseId !== undefined && data.spdxLicenseId !== null) {
|
|
1764
|
-
contents.SpdxLicenseId =
|
|
1764
|
+
contents.SpdxLicenseId = smithy_client_1.expectString(data.spdxLicenseId);
|
|
1765
1765
|
}
|
|
1766
1766
|
if (data.verifiedAuthorUrl !== undefined && data.verifiedAuthorUrl !== null) {
|
|
1767
|
-
contents.VerifiedAuthorUrl =
|
|
1767
|
+
contents.VerifiedAuthorUrl = smithy_client_1.expectString(data.verifiedAuthorUrl);
|
|
1768
1768
|
}
|
|
1769
1769
|
if (data.version !== undefined && data.version !== null) {
|
|
1770
1770
|
contents.Version = deserializeAws_restJson1Version(data.version, context);
|
|
@@ -1855,10 +1855,10 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
|
|
|
1855
1855
|
};
|
|
1856
1856
|
const data = parsedOutput.body;
|
|
1857
1857
|
if (data.errorCode !== undefined && data.errorCode !== null) {
|
|
1858
|
-
contents.ErrorCode =
|
|
1858
|
+
contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
|
|
1859
1859
|
}
|
|
1860
1860
|
if (data.message !== undefined && data.message !== null) {
|
|
1861
|
-
contents.Message =
|
|
1861
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
1862
1862
|
}
|
|
1863
1863
|
return contents;
|
|
1864
1864
|
};
|
|
@@ -1872,10 +1872,10 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
1872
1872
|
};
|
|
1873
1873
|
const data = parsedOutput.body;
|
|
1874
1874
|
if (data.errorCode !== undefined && data.errorCode !== null) {
|
|
1875
|
-
contents.ErrorCode =
|
|
1875
|
+
contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
|
|
1876
1876
|
}
|
|
1877
1877
|
if (data.message !== undefined && data.message !== null) {
|
|
1878
|
-
contents.Message =
|
|
1878
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
1879
1879
|
}
|
|
1880
1880
|
return contents;
|
|
1881
1881
|
};
|
|
@@ -1889,10 +1889,10 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
|
|
|
1889
1889
|
};
|
|
1890
1890
|
const data = parsedOutput.body;
|
|
1891
1891
|
if (data.errorCode !== undefined && data.errorCode !== null) {
|
|
1892
|
-
contents.ErrorCode =
|
|
1892
|
+
contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
|
|
1893
1893
|
}
|
|
1894
1894
|
if (data.message !== undefined && data.message !== null) {
|
|
1895
|
-
contents.Message =
|
|
1895
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
1896
1896
|
}
|
|
1897
1897
|
return contents;
|
|
1898
1898
|
};
|
|
@@ -1906,10 +1906,10 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
|
|
|
1906
1906
|
};
|
|
1907
1907
|
const data = parsedOutput.body;
|
|
1908
1908
|
if (data.errorCode !== undefined && data.errorCode !== null) {
|
|
1909
|
-
contents.ErrorCode =
|
|
1909
|
+
contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
|
|
1910
1910
|
}
|
|
1911
1911
|
if (data.message !== undefined && data.message !== null) {
|
|
1912
|
-
contents.Message =
|
|
1912
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
1913
1913
|
}
|
|
1914
1914
|
return contents;
|
|
1915
1915
|
};
|
|
@@ -1923,10 +1923,10 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
|
|
|
1923
1923
|
};
|
|
1924
1924
|
const data = parsedOutput.body;
|
|
1925
1925
|
if (data.errorCode !== undefined && data.errorCode !== null) {
|
|
1926
|
-
contents.ErrorCode =
|
|
1926
|
+
contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
|
|
1927
1927
|
}
|
|
1928
1928
|
if (data.message !== undefined && data.message !== null) {
|
|
1929
|
-
contents.Message =
|
|
1929
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
1930
1930
|
}
|
|
1931
1931
|
return contents;
|
|
1932
1932
|
};
|
|
@@ -1940,10 +1940,10 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
|
|
|
1940
1940
|
};
|
|
1941
1941
|
const data = parsedOutput.body;
|
|
1942
1942
|
if (data.errorCode !== undefined && data.errorCode !== null) {
|
|
1943
|
-
contents.ErrorCode =
|
|
1943
|
+
contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
|
|
1944
1944
|
}
|
|
1945
1945
|
if (data.message !== undefined && data.message !== null) {
|
|
1946
|
-
contents.Message =
|
|
1946
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
1947
1947
|
}
|
|
1948
1948
|
return contents;
|
|
1949
1949
|
};
|
|
@@ -2045,7 +2045,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
|
|
|
2045
2045
|
if (entry === null) {
|
|
2046
2046
|
return null;
|
|
2047
2047
|
}
|
|
2048
|
-
return
|
|
2048
|
+
return smithy_client_1.expectString(entry);
|
|
2049
2049
|
});
|
|
2050
2050
|
};
|
|
2051
2051
|
const deserializeAws_restJson1__listOfApplicationDependencySummary = (output, context) => {
|
|
@@ -2085,7 +2085,7 @@ const deserializeAws_restJson1__listOfCapability = (output, context) => {
|
|
|
2085
2085
|
if (entry === null) {
|
|
2086
2086
|
return null;
|
|
2087
2087
|
}
|
|
2088
|
-
return
|
|
2088
|
+
return smithy_client_1.expectString(entry);
|
|
2089
2089
|
});
|
|
2090
2090
|
};
|
|
2091
2091
|
const deserializeAws_restJson1__listOfParameterDefinition = (output, context) => {
|
|
@@ -2110,8 +2110,8 @@ const deserializeAws_restJson1__listOfVersionSummary = (output, context) => {
|
|
|
2110
2110
|
};
|
|
2111
2111
|
const deserializeAws_restJson1ApplicationDependencySummary = (output, context) => {
|
|
2112
2112
|
return {
|
|
2113
|
-
ApplicationId:
|
|
2114
|
-
SemanticVersion:
|
|
2113
|
+
ApplicationId: smithy_client_1.expectString(output.applicationId),
|
|
2114
|
+
SemanticVersion: smithy_client_1.expectString(output.semanticVersion),
|
|
2115
2115
|
};
|
|
2116
2116
|
};
|
|
2117
2117
|
const deserializeAws_restJson1ApplicationPolicyStatement = (output, context) => {
|
|
@@ -2125,67 +2125,67 @@ const deserializeAws_restJson1ApplicationPolicyStatement = (output, context) =>
|
|
|
2125
2125
|
Principals: output.principals !== undefined && output.principals !== null
|
|
2126
2126
|
? deserializeAws_restJson1__listOf__string(output.principals, context)
|
|
2127
2127
|
: undefined,
|
|
2128
|
-
StatementId:
|
|
2128
|
+
StatementId: smithy_client_1.expectString(output.statementId),
|
|
2129
2129
|
};
|
|
2130
2130
|
};
|
|
2131
2131
|
const deserializeAws_restJson1ApplicationSummary = (output, context) => {
|
|
2132
2132
|
return {
|
|
2133
|
-
ApplicationId:
|
|
2134
|
-
Author:
|
|
2135
|
-
CreationTime:
|
|
2136
|
-
Description:
|
|
2137
|
-
HomePageUrl:
|
|
2133
|
+
ApplicationId: smithy_client_1.expectString(output.applicationId),
|
|
2134
|
+
Author: smithy_client_1.expectString(output.author),
|
|
2135
|
+
CreationTime: smithy_client_1.expectString(output.creationTime),
|
|
2136
|
+
Description: smithy_client_1.expectString(output.description),
|
|
2137
|
+
HomePageUrl: smithy_client_1.expectString(output.homePageUrl),
|
|
2138
2138
|
Labels: output.labels !== undefined && output.labels !== null
|
|
2139
2139
|
? deserializeAws_restJson1__listOf__string(output.labels, context)
|
|
2140
2140
|
: undefined,
|
|
2141
|
-
Name:
|
|
2142
|
-
SpdxLicenseId:
|
|
2141
|
+
Name: smithy_client_1.expectString(output.name),
|
|
2142
|
+
SpdxLicenseId: smithy_client_1.expectString(output.spdxLicenseId),
|
|
2143
2143
|
};
|
|
2144
2144
|
};
|
|
2145
2145
|
const deserializeAws_restJson1ParameterDefinition = (output, context) => {
|
|
2146
2146
|
return {
|
|
2147
|
-
AllowedPattern:
|
|
2147
|
+
AllowedPattern: smithy_client_1.expectString(output.allowedPattern),
|
|
2148
2148
|
AllowedValues: output.allowedValues !== undefined && output.allowedValues !== null
|
|
2149
2149
|
? deserializeAws_restJson1__listOf__string(output.allowedValues, context)
|
|
2150
2150
|
: undefined,
|
|
2151
|
-
ConstraintDescription:
|
|
2152
|
-
DefaultValue:
|
|
2153
|
-
Description:
|
|
2154
|
-
MaxLength:
|
|
2155
|
-
MaxValue:
|
|
2156
|
-
MinLength:
|
|
2157
|
-
MinValue:
|
|
2158
|
-
Name:
|
|
2159
|
-
NoEcho:
|
|
2151
|
+
ConstraintDescription: smithy_client_1.expectString(output.constraintDescription),
|
|
2152
|
+
DefaultValue: smithy_client_1.expectString(output.defaultValue),
|
|
2153
|
+
Description: smithy_client_1.expectString(output.description),
|
|
2154
|
+
MaxLength: smithy_client_1.expectInt32(output.maxLength),
|
|
2155
|
+
MaxValue: smithy_client_1.expectInt32(output.maxValue),
|
|
2156
|
+
MinLength: smithy_client_1.expectInt32(output.minLength),
|
|
2157
|
+
MinValue: smithy_client_1.expectInt32(output.minValue),
|
|
2158
|
+
Name: smithy_client_1.expectString(output.name),
|
|
2159
|
+
NoEcho: smithy_client_1.expectBoolean(output.noEcho),
|
|
2160
2160
|
ReferencedByResources: output.referencedByResources !== undefined && output.referencedByResources !== null
|
|
2161
2161
|
? deserializeAws_restJson1__listOf__string(output.referencedByResources, context)
|
|
2162
2162
|
: undefined,
|
|
2163
|
-
Type:
|
|
2163
|
+
Type: smithy_client_1.expectString(output.type),
|
|
2164
2164
|
};
|
|
2165
2165
|
};
|
|
2166
2166
|
const deserializeAws_restJson1Version = (output, context) => {
|
|
2167
2167
|
return {
|
|
2168
|
-
ApplicationId:
|
|
2169
|
-
CreationTime:
|
|
2168
|
+
ApplicationId: smithy_client_1.expectString(output.applicationId),
|
|
2169
|
+
CreationTime: smithy_client_1.expectString(output.creationTime),
|
|
2170
2170
|
ParameterDefinitions: output.parameterDefinitions !== undefined && output.parameterDefinitions !== null
|
|
2171
2171
|
? deserializeAws_restJson1__listOfParameterDefinition(output.parameterDefinitions, context)
|
|
2172
2172
|
: undefined,
|
|
2173
2173
|
RequiredCapabilities: output.requiredCapabilities !== undefined && output.requiredCapabilities !== null
|
|
2174
2174
|
? deserializeAws_restJson1__listOfCapability(output.requiredCapabilities, context)
|
|
2175
2175
|
: undefined,
|
|
2176
|
-
ResourcesSupported:
|
|
2177
|
-
SemanticVersion:
|
|
2178
|
-
SourceCodeArchiveUrl:
|
|
2179
|
-
SourceCodeUrl:
|
|
2180
|
-
TemplateUrl:
|
|
2176
|
+
ResourcesSupported: smithy_client_1.expectBoolean(output.resourcesSupported),
|
|
2177
|
+
SemanticVersion: smithy_client_1.expectString(output.semanticVersion),
|
|
2178
|
+
SourceCodeArchiveUrl: smithy_client_1.expectString(output.sourceCodeArchiveUrl),
|
|
2179
|
+
SourceCodeUrl: smithy_client_1.expectString(output.sourceCodeUrl),
|
|
2180
|
+
TemplateUrl: smithy_client_1.expectString(output.templateUrl),
|
|
2181
2181
|
};
|
|
2182
2182
|
};
|
|
2183
2183
|
const deserializeAws_restJson1VersionSummary = (output, context) => {
|
|
2184
2184
|
return {
|
|
2185
|
-
ApplicationId:
|
|
2186
|
-
CreationTime:
|
|
2187
|
-
SemanticVersion:
|
|
2188
|
-
SourceCodeUrl:
|
|
2185
|
+
ApplicationId: smithy_client_1.expectString(output.applicationId),
|
|
2186
|
+
CreationTime: smithy_client_1.expectString(output.creationTime),
|
|
2187
|
+
SemanticVersion: smithy_client_1.expectString(output.semanticVersion),
|
|
2188
|
+
SourceCodeUrl: smithy_client_1.expectString(output.sourceCodeUrl),
|
|
2189
2189
|
};
|
|
2190
2190
|
};
|
|
2191
2191
|
const deserializeMetadata = (output) => {
|