@aws-sdk/client-mediapackage-vod 3.30.0 → 3.34.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 +36 -0
- package/dist/cjs/MediaPackageVodClient.js +13 -13
- package/dist/cjs/MediaPackageVodClient.js.map +1 -1
- package/dist/cjs/commands/ConfigureLogsCommand.js +3 -3
- package/dist/cjs/commands/ConfigureLogsCommand.js.map +1 -1
- package/dist/cjs/commands/CreateAssetCommand.js +3 -3
- package/dist/cjs/commands/CreateAssetCommand.js.map +1 -1
- package/dist/cjs/commands/CreatePackagingConfigurationCommand.js +3 -3
- package/dist/cjs/commands/CreatePackagingConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/CreatePackagingGroupCommand.js +3 -3
- package/dist/cjs/commands/CreatePackagingGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAssetCommand.js +3 -3
- package/dist/cjs/commands/DeleteAssetCommand.js.map +1 -1
- package/dist/cjs/commands/DeletePackagingConfigurationCommand.js +3 -3
- package/dist/cjs/commands/DeletePackagingConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/DeletePackagingGroupCommand.js +3 -3
- package/dist/cjs/commands/DeletePackagingGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeAssetCommand.js +3 -3
- package/dist/cjs/commands/DescribeAssetCommand.js.map +1 -1
- package/dist/cjs/commands/DescribePackagingConfigurationCommand.js +3 -3
- package/dist/cjs/commands/DescribePackagingConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribePackagingGroupCommand.js +3 -3
- package/dist/cjs/commands/DescribePackagingGroupCommand.js.map +1 -1
- package/dist/cjs/commands/ListAssetsCommand.js +3 -3
- package/dist/cjs/commands/ListAssetsCommand.js.map +1 -1
- package/dist/cjs/commands/ListPackagingConfigurationsCommand.js +3 -3
- package/dist/cjs/commands/ListPackagingConfigurationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListPackagingGroupsCommand.js +3 -3
- package/dist/cjs/commands/ListPackagingGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdatePackagingGroupCommand.js +3 -3
- package/dist/cjs/commands/UpdatePackagingGroupCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +24 -24
- 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/models/models_0.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_restJson1.js +113 -112
- 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/MediaPackageVod.js +1 -4
- package/dist/es/MediaPackageVod.js.map +1 -1
- package/dist/es/MediaPackageVodClient.js +1 -9
- package/dist/es/MediaPackageVodClient.js.map +1 -1
- package/dist/es/commands/ConfigureLogsCommand.js +2 -27
- package/dist/es/commands/ConfigureLogsCommand.js.map +1 -1
- package/dist/es/commands/CreateAssetCommand.js +2 -27
- package/dist/es/commands/CreateAssetCommand.js.map +1 -1
- package/dist/es/commands/CreatePackagingConfigurationCommand.js +2 -27
- package/dist/es/commands/CreatePackagingConfigurationCommand.js.map +1 -1
- package/dist/es/commands/CreatePackagingGroupCommand.js +2 -27
- package/dist/es/commands/CreatePackagingGroupCommand.js.map +1 -1
- package/dist/es/commands/DeleteAssetCommand.js +2 -27
- package/dist/es/commands/DeleteAssetCommand.js.map +1 -1
- package/dist/es/commands/DeletePackagingConfigurationCommand.js +2 -27
- package/dist/es/commands/DeletePackagingConfigurationCommand.js.map +1 -1
- package/dist/es/commands/DeletePackagingGroupCommand.js +2 -27
- package/dist/es/commands/DeletePackagingGroupCommand.js.map +1 -1
- package/dist/es/commands/DescribeAssetCommand.js +2 -27
- package/dist/es/commands/DescribeAssetCommand.js.map +1 -1
- package/dist/es/commands/DescribePackagingConfigurationCommand.js +2 -27
- package/dist/es/commands/DescribePackagingConfigurationCommand.js.map +1 -1
- package/dist/es/commands/DescribePackagingGroupCommand.js +2 -27
- package/dist/es/commands/DescribePackagingGroupCommand.js.map +1 -1
- package/dist/es/commands/ListAssetsCommand.js +2 -27
- package/dist/es/commands/ListAssetsCommand.js.map +1 -1
- package/dist/es/commands/ListPackagingConfigurationsCommand.js +2 -27
- package/dist/es/commands/ListPackagingConfigurationsCommand.js.map +1 -1
- package/dist/es/commands/ListPackagingGroupsCommand.js +2 -27
- package/dist/es/commands/ListPackagingGroupsCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +2 -27
- package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -27
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -27
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdatePackagingGroupCommand.js +2 -27
- package/dist/es/commands/UpdatePackagingGroupCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -171
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/ListAssetsPaginator.js +16 -28
- package/dist/es/pagination/ListAssetsPaginator.js.map +1 -1
- package/dist/es/pagination/ListPackagingConfigurationsPaginator.js +16 -28
- package/dist/es/pagination/ListPackagingConfigurationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListPackagingGroupsPaginator.js +16 -28
- package/dist/es/pagination/ListPackagingGroupsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restJson1.js +490 -494
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/models/models_0.d.ts +4 -0
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/models/models_0.d.ts +4 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/models/models_0.ts +5 -0
- package/package.json +39 -39
- package/protocols/Aws_restJson1.ts +1 -0
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -14,7 +14,7 @@ const serializeAws_restJson1ConfigureLogsCommand = async (input, context) => {
|
|
|
14
14
|
if (labelValue.length <= 0) {
|
|
15
15
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
16
16
|
}
|
|
17
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
17
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
18
18
|
}
|
|
19
19
|
else {
|
|
20
20
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -135,7 +135,7 @@ const serializeAws_restJson1DeleteAssetCommand = async (input, context) => {
|
|
|
135
135
|
if (labelValue.length <= 0) {
|
|
136
136
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
137
137
|
}
|
|
138
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
138
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
139
139
|
}
|
|
140
140
|
else {
|
|
141
141
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -161,7 +161,7 @@ const serializeAws_restJson1DeletePackagingConfigurationCommand = async (input,
|
|
|
161
161
|
if (labelValue.length <= 0) {
|
|
162
162
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
163
163
|
}
|
|
164
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
164
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
165
165
|
}
|
|
166
166
|
else {
|
|
167
167
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -187,7 +187,7 @@ const serializeAws_restJson1DeletePackagingGroupCommand = async (input, context)
|
|
|
187
187
|
if (labelValue.length <= 0) {
|
|
188
188
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
189
189
|
}
|
|
190
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
190
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
191
191
|
}
|
|
192
192
|
else {
|
|
193
193
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -213,7 +213,7 @@ const serializeAws_restJson1DescribeAssetCommand = async (input, context) => {
|
|
|
213
213
|
if (labelValue.length <= 0) {
|
|
214
214
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
215
215
|
}
|
|
216
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
216
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
217
217
|
}
|
|
218
218
|
else {
|
|
219
219
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -239,7 +239,7 @@ const serializeAws_restJson1DescribePackagingConfigurationCommand = async (input
|
|
|
239
239
|
if (labelValue.length <= 0) {
|
|
240
240
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
241
241
|
}
|
|
242
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
242
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
243
243
|
}
|
|
244
244
|
else {
|
|
245
245
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -265,7 +265,7 @@ const serializeAws_restJson1DescribePackagingGroupCommand = async (input, contex
|
|
|
265
265
|
if (labelValue.length <= 0) {
|
|
266
266
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
267
267
|
}
|
|
268
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
268
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
269
269
|
}
|
|
270
270
|
else {
|
|
271
271
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -356,7 +356,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
356
356
|
if (labelValue.length <= 0) {
|
|
357
357
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
358
358
|
}
|
|
359
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
359
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
360
360
|
}
|
|
361
361
|
else {
|
|
362
362
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -384,7 +384,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
384
384
|
if (labelValue.length <= 0) {
|
|
385
385
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
386
386
|
}
|
|
387
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
387
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
388
388
|
}
|
|
389
389
|
else {
|
|
390
390
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -414,7 +414,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
414
414
|
if (labelValue.length <= 0) {
|
|
415
415
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
416
416
|
}
|
|
417
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
417
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
418
418
|
}
|
|
419
419
|
else {
|
|
420
420
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -446,7 +446,7 @@ const serializeAws_restJson1UpdatePackagingGroupCommand = async (input, context)
|
|
|
446
446
|
if (labelValue.length <= 0) {
|
|
447
447
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
448
448
|
}
|
|
449
|
-
resolvedPath = resolvedPath.replace("{Id}",
|
|
449
|
+
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
450
450
|
}
|
|
451
451
|
else {
|
|
452
452
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -482,21 +482,21 @@ const deserializeAws_restJson1ConfigureLogsCommand = async (output, context) =>
|
|
|
482
482
|
Id: undefined,
|
|
483
483
|
Tags: undefined,
|
|
484
484
|
};
|
|
485
|
-
const data =
|
|
485
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
486
486
|
if (data.arn !== undefined && data.arn !== null) {
|
|
487
|
-
contents.Arn =
|
|
487
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
488
488
|
}
|
|
489
489
|
if (data.authorization !== undefined && data.authorization !== null) {
|
|
490
490
|
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
|
|
491
491
|
}
|
|
492
492
|
if (data.domainName !== undefined && data.domainName !== null) {
|
|
493
|
-
contents.DomainName =
|
|
493
|
+
contents.DomainName = smithy_client_1.expectString(data.domainName);
|
|
494
494
|
}
|
|
495
495
|
if (data.egressAccessLogs !== undefined && data.egressAccessLogs !== null) {
|
|
496
496
|
contents.EgressAccessLogs = deserializeAws_restJson1EgressAccessLogs(data.egressAccessLogs, context);
|
|
497
497
|
}
|
|
498
498
|
if (data.id !== undefined && data.id !== null) {
|
|
499
|
-
contents.Id =
|
|
499
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
500
500
|
}
|
|
501
501
|
if (data.tags !== undefined && data.tags !== null) {
|
|
502
502
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -593,30 +593,30 @@ const deserializeAws_restJson1CreateAssetCommand = async (output, context) => {
|
|
|
593
593
|
SourceRoleArn: undefined,
|
|
594
594
|
Tags: undefined,
|
|
595
595
|
};
|
|
596
|
-
const data =
|
|
596
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
597
597
|
if (data.arn !== undefined && data.arn !== null) {
|
|
598
|
-
contents.Arn =
|
|
598
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
599
599
|
}
|
|
600
600
|
if (data.createdAt !== undefined && data.createdAt !== null) {
|
|
601
|
-
contents.CreatedAt =
|
|
601
|
+
contents.CreatedAt = smithy_client_1.expectString(data.createdAt);
|
|
602
602
|
}
|
|
603
603
|
if (data.egressEndpoints !== undefined && data.egressEndpoints !== null) {
|
|
604
604
|
contents.EgressEndpoints = deserializeAws_restJson1__listOfEgressEndpoint(data.egressEndpoints, context);
|
|
605
605
|
}
|
|
606
606
|
if (data.id !== undefined && data.id !== null) {
|
|
607
|
-
contents.Id =
|
|
607
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
608
608
|
}
|
|
609
609
|
if (data.packagingGroupId !== undefined && data.packagingGroupId !== null) {
|
|
610
|
-
contents.PackagingGroupId =
|
|
610
|
+
contents.PackagingGroupId = smithy_client_1.expectString(data.packagingGroupId);
|
|
611
611
|
}
|
|
612
612
|
if (data.resourceId !== undefined && data.resourceId !== null) {
|
|
613
|
-
contents.ResourceId =
|
|
613
|
+
contents.ResourceId = smithy_client_1.expectString(data.resourceId);
|
|
614
614
|
}
|
|
615
615
|
if (data.sourceArn !== undefined && data.sourceArn !== null) {
|
|
616
|
-
contents.SourceArn =
|
|
616
|
+
contents.SourceArn = smithy_client_1.expectString(data.sourceArn);
|
|
617
617
|
}
|
|
618
618
|
if (data.sourceRoleArn !== undefined && data.sourceRoleArn !== null) {
|
|
619
|
-
contents.SourceRoleArn =
|
|
619
|
+
contents.SourceRoleArn = smithy_client_1.expectString(data.sourceRoleArn);
|
|
620
620
|
}
|
|
621
621
|
if (data.tags !== undefined && data.tags !== null) {
|
|
622
622
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -712,9 +712,9 @@ const deserializeAws_restJson1CreatePackagingConfigurationCommand = async (outpu
|
|
|
712
712
|
PackagingGroupId: undefined,
|
|
713
713
|
Tags: undefined,
|
|
714
714
|
};
|
|
715
|
-
const data =
|
|
715
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
716
716
|
if (data.arn !== undefined && data.arn !== null) {
|
|
717
|
-
contents.Arn =
|
|
717
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
718
718
|
}
|
|
719
719
|
if (data.cmafPackage !== undefined && data.cmafPackage !== null) {
|
|
720
720
|
contents.CmafPackage = deserializeAws_restJson1CmafPackage(data.cmafPackage, context);
|
|
@@ -726,13 +726,13 @@ const deserializeAws_restJson1CreatePackagingConfigurationCommand = async (outpu
|
|
|
726
726
|
contents.HlsPackage = deserializeAws_restJson1HlsPackage(data.hlsPackage, context);
|
|
727
727
|
}
|
|
728
728
|
if (data.id !== undefined && data.id !== null) {
|
|
729
|
-
contents.Id =
|
|
729
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
730
730
|
}
|
|
731
731
|
if (data.mssPackage !== undefined && data.mssPackage !== null) {
|
|
732
732
|
contents.MssPackage = deserializeAws_restJson1MssPackage(data.mssPackage, context);
|
|
733
733
|
}
|
|
734
734
|
if (data.packagingGroupId !== undefined && data.packagingGroupId !== null) {
|
|
735
|
-
contents.PackagingGroupId =
|
|
735
|
+
contents.PackagingGroupId = smithy_client_1.expectString(data.packagingGroupId);
|
|
736
736
|
}
|
|
737
737
|
if (data.tags !== undefined && data.tags !== null) {
|
|
738
738
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -826,21 +826,21 @@ const deserializeAws_restJson1CreatePackagingGroupCommand = async (output, conte
|
|
|
826
826
|
Id: undefined,
|
|
827
827
|
Tags: undefined,
|
|
828
828
|
};
|
|
829
|
-
const data =
|
|
829
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
830
830
|
if (data.arn !== undefined && data.arn !== null) {
|
|
831
|
-
contents.Arn =
|
|
831
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
832
832
|
}
|
|
833
833
|
if (data.authorization !== undefined && data.authorization !== null) {
|
|
834
834
|
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
|
|
835
835
|
}
|
|
836
836
|
if (data.domainName !== undefined && data.domainName !== null) {
|
|
837
|
-
contents.DomainName =
|
|
837
|
+
contents.DomainName = smithy_client_1.expectString(data.domainName);
|
|
838
838
|
}
|
|
839
839
|
if (data.egressAccessLogs !== undefined && data.egressAccessLogs !== null) {
|
|
840
840
|
contents.EgressAccessLogs = deserializeAws_restJson1EgressAccessLogs(data.egressAccessLogs, context);
|
|
841
841
|
}
|
|
842
842
|
if (data.id !== undefined && data.id !== null) {
|
|
843
|
-
contents.Id =
|
|
843
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
844
844
|
}
|
|
845
845
|
if (data.tags !== undefined && data.tags !== null) {
|
|
846
846
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -1189,30 +1189,30 @@ const deserializeAws_restJson1DescribeAssetCommand = async (output, context) =>
|
|
|
1189
1189
|
SourceRoleArn: undefined,
|
|
1190
1190
|
Tags: undefined,
|
|
1191
1191
|
};
|
|
1192
|
-
const data =
|
|
1192
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1193
1193
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1194
|
-
contents.Arn =
|
|
1194
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
1195
1195
|
}
|
|
1196
1196
|
if (data.createdAt !== undefined && data.createdAt !== null) {
|
|
1197
|
-
contents.CreatedAt =
|
|
1197
|
+
contents.CreatedAt = smithy_client_1.expectString(data.createdAt);
|
|
1198
1198
|
}
|
|
1199
1199
|
if (data.egressEndpoints !== undefined && data.egressEndpoints !== null) {
|
|
1200
1200
|
contents.EgressEndpoints = deserializeAws_restJson1__listOfEgressEndpoint(data.egressEndpoints, context);
|
|
1201
1201
|
}
|
|
1202
1202
|
if (data.id !== undefined && data.id !== null) {
|
|
1203
|
-
contents.Id =
|
|
1203
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
1204
1204
|
}
|
|
1205
1205
|
if (data.packagingGroupId !== undefined && data.packagingGroupId !== null) {
|
|
1206
|
-
contents.PackagingGroupId =
|
|
1206
|
+
contents.PackagingGroupId = smithy_client_1.expectString(data.packagingGroupId);
|
|
1207
1207
|
}
|
|
1208
1208
|
if (data.resourceId !== undefined && data.resourceId !== null) {
|
|
1209
|
-
contents.ResourceId =
|
|
1209
|
+
contents.ResourceId = smithy_client_1.expectString(data.resourceId);
|
|
1210
1210
|
}
|
|
1211
1211
|
if (data.sourceArn !== undefined && data.sourceArn !== null) {
|
|
1212
|
-
contents.SourceArn =
|
|
1212
|
+
contents.SourceArn = smithy_client_1.expectString(data.sourceArn);
|
|
1213
1213
|
}
|
|
1214
1214
|
if (data.sourceRoleArn !== undefined && data.sourceRoleArn !== null) {
|
|
1215
|
-
contents.SourceRoleArn =
|
|
1215
|
+
contents.SourceRoleArn = smithy_client_1.expectString(data.sourceRoleArn);
|
|
1216
1216
|
}
|
|
1217
1217
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1218
1218
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -1308,9 +1308,9 @@ const deserializeAws_restJson1DescribePackagingConfigurationCommand = async (out
|
|
|
1308
1308
|
PackagingGroupId: undefined,
|
|
1309
1309
|
Tags: undefined,
|
|
1310
1310
|
};
|
|
1311
|
-
const data =
|
|
1311
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1312
1312
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1313
|
-
contents.Arn =
|
|
1313
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
1314
1314
|
}
|
|
1315
1315
|
if (data.cmafPackage !== undefined && data.cmafPackage !== null) {
|
|
1316
1316
|
contents.CmafPackage = deserializeAws_restJson1CmafPackage(data.cmafPackage, context);
|
|
@@ -1322,13 +1322,13 @@ const deserializeAws_restJson1DescribePackagingConfigurationCommand = async (out
|
|
|
1322
1322
|
contents.HlsPackage = deserializeAws_restJson1HlsPackage(data.hlsPackage, context);
|
|
1323
1323
|
}
|
|
1324
1324
|
if (data.id !== undefined && data.id !== null) {
|
|
1325
|
-
contents.Id =
|
|
1325
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
1326
1326
|
}
|
|
1327
1327
|
if (data.mssPackage !== undefined && data.mssPackage !== null) {
|
|
1328
1328
|
contents.MssPackage = deserializeAws_restJson1MssPackage(data.mssPackage, context);
|
|
1329
1329
|
}
|
|
1330
1330
|
if (data.packagingGroupId !== undefined && data.packagingGroupId !== null) {
|
|
1331
|
-
contents.PackagingGroupId =
|
|
1331
|
+
contents.PackagingGroupId = smithy_client_1.expectString(data.packagingGroupId);
|
|
1332
1332
|
}
|
|
1333
1333
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1334
1334
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -1422,21 +1422,21 @@ const deserializeAws_restJson1DescribePackagingGroupCommand = async (output, con
|
|
|
1422
1422
|
Id: undefined,
|
|
1423
1423
|
Tags: undefined,
|
|
1424
1424
|
};
|
|
1425
|
-
const data =
|
|
1425
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1426
1426
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1427
|
-
contents.Arn =
|
|
1427
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
1428
1428
|
}
|
|
1429
1429
|
if (data.authorization !== undefined && data.authorization !== null) {
|
|
1430
1430
|
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
|
|
1431
1431
|
}
|
|
1432
1432
|
if (data.domainName !== undefined && data.domainName !== null) {
|
|
1433
|
-
contents.DomainName =
|
|
1433
|
+
contents.DomainName = smithy_client_1.expectString(data.domainName);
|
|
1434
1434
|
}
|
|
1435
1435
|
if (data.egressAccessLogs !== undefined && data.egressAccessLogs !== null) {
|
|
1436
1436
|
contents.EgressAccessLogs = deserializeAws_restJson1EgressAccessLogs(data.egressAccessLogs, context);
|
|
1437
1437
|
}
|
|
1438
1438
|
if (data.id !== undefined && data.id !== null) {
|
|
1439
|
-
contents.Id =
|
|
1439
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
1440
1440
|
}
|
|
1441
1441
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1442
1442
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -1526,12 +1526,12 @@ const deserializeAws_restJson1ListAssetsCommand = async (output, context) => {
|
|
|
1526
1526
|
Assets: undefined,
|
|
1527
1527
|
NextToken: undefined,
|
|
1528
1528
|
};
|
|
1529
|
-
const data =
|
|
1529
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1530
1530
|
if (data.assets !== undefined && data.assets !== null) {
|
|
1531
1531
|
contents.Assets = deserializeAws_restJson1__listOfAssetShallow(data.assets, context);
|
|
1532
1532
|
}
|
|
1533
1533
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1534
|
-
contents.NextToken =
|
|
1534
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
1535
1535
|
}
|
|
1536
1536
|
return Promise.resolve(contents);
|
|
1537
1537
|
};
|
|
@@ -1618,9 +1618,9 @@ const deserializeAws_restJson1ListPackagingConfigurationsCommand = async (output
|
|
|
1618
1618
|
NextToken: undefined,
|
|
1619
1619
|
PackagingConfigurations: undefined,
|
|
1620
1620
|
};
|
|
1621
|
-
const data =
|
|
1621
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1622
1622
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1623
|
-
contents.NextToken =
|
|
1623
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
1624
1624
|
}
|
|
1625
1625
|
if (data.packagingConfigurations !== undefined && data.packagingConfigurations !== null) {
|
|
1626
1626
|
contents.PackagingConfigurations = deserializeAws_restJson1__listOfPackagingConfiguration(data.packagingConfigurations, context);
|
|
@@ -1710,9 +1710,9 @@ const deserializeAws_restJson1ListPackagingGroupsCommand = async (output, contex
|
|
|
1710
1710
|
NextToken: undefined,
|
|
1711
1711
|
PackagingGroups: undefined,
|
|
1712
1712
|
};
|
|
1713
|
-
const data =
|
|
1713
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1714
1714
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1715
|
-
contents.NextToken =
|
|
1715
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
1716
1716
|
}
|
|
1717
1717
|
if (data.packagingGroups !== undefined && data.packagingGroups !== null) {
|
|
1718
1718
|
contents.PackagingGroups = deserializeAws_restJson1__listOfPackagingGroup(data.packagingGroups, context);
|
|
@@ -1801,7 +1801,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
1801
1801
|
$metadata: deserializeMetadata(output),
|
|
1802
1802
|
Tags: undefined,
|
|
1803
1803
|
};
|
|
1804
|
-
const data =
|
|
1804
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1805
1805
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1806
1806
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
1807
1807
|
}
|
|
@@ -1918,21 +1918,21 @@ const deserializeAws_restJson1UpdatePackagingGroupCommand = async (output, conte
|
|
|
1918
1918
|
Id: undefined,
|
|
1919
1919
|
Tags: undefined,
|
|
1920
1920
|
};
|
|
1921
|
-
const data =
|
|
1921
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1922
1922
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1923
|
-
contents.Arn =
|
|
1923
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
1924
1924
|
}
|
|
1925
1925
|
if (data.authorization !== undefined && data.authorization !== null) {
|
|
1926
1926
|
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
|
|
1927
1927
|
}
|
|
1928
1928
|
if (data.domainName !== undefined && data.domainName !== null) {
|
|
1929
|
-
contents.DomainName =
|
|
1929
|
+
contents.DomainName = smithy_client_1.expectString(data.domainName);
|
|
1930
1930
|
}
|
|
1931
1931
|
if (data.egressAccessLogs !== undefined && data.egressAccessLogs !== null) {
|
|
1932
1932
|
contents.EgressAccessLogs = deserializeAws_restJson1EgressAccessLogs(data.egressAccessLogs, context);
|
|
1933
1933
|
}
|
|
1934
1934
|
if (data.id !== undefined && data.id !== null) {
|
|
1935
|
-
contents.Id =
|
|
1935
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
1936
1936
|
}
|
|
1937
1937
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1938
1938
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -2022,7 +2022,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
|
|
|
2022
2022
|
};
|
|
2023
2023
|
const data = parsedOutput.body;
|
|
2024
2024
|
if (data.message !== undefined && data.message !== null) {
|
|
2025
|
-
contents.Message =
|
|
2025
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
2026
2026
|
}
|
|
2027
2027
|
return contents;
|
|
2028
2028
|
};
|
|
@@ -2035,7 +2035,7 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
|
|
|
2035
2035
|
};
|
|
2036
2036
|
const data = parsedOutput.body;
|
|
2037
2037
|
if (data.message !== undefined && data.message !== null) {
|
|
2038
|
-
contents.Message =
|
|
2038
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
2039
2039
|
}
|
|
2040
2040
|
return contents;
|
|
2041
2041
|
};
|
|
@@ -2048,7 +2048,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
|
|
|
2048
2048
|
};
|
|
2049
2049
|
const data = parsedOutput.body;
|
|
2050
2050
|
if (data.message !== undefined && data.message !== null) {
|
|
2051
|
-
contents.Message =
|
|
2051
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
2052
2052
|
}
|
|
2053
2053
|
return contents;
|
|
2054
2054
|
};
|
|
@@ -2061,7 +2061,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
|
|
|
2061
2061
|
};
|
|
2062
2062
|
const data = parsedOutput.body;
|
|
2063
2063
|
if (data.message !== undefined && data.message !== null) {
|
|
2064
|
-
contents.Message =
|
|
2064
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
2065
2065
|
}
|
|
2066
2066
|
return contents;
|
|
2067
2067
|
};
|
|
@@ -2074,7 +2074,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
|
|
|
2074
2074
|
};
|
|
2075
2075
|
const data = parsedOutput.body;
|
|
2076
2076
|
if (data.message !== undefined && data.message !== null) {
|
|
2077
|
-
contents.Message =
|
|
2077
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
2078
2078
|
}
|
|
2079
2079
|
return contents;
|
|
2080
2080
|
};
|
|
@@ -2087,7 +2087,7 @@ const deserializeAws_restJson1UnprocessableEntityExceptionResponse = async (pars
|
|
|
2087
2087
|
};
|
|
2088
2088
|
const data = parsedOutput.body;
|
|
2089
2089
|
if (data.message !== undefined && data.message !== null) {
|
|
2090
|
-
contents.Message =
|
|
2090
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
2091
2091
|
}
|
|
2092
2092
|
return contents;
|
|
2093
2093
|
};
|
|
@@ -2346,7 +2346,7 @@ const deserializeAws_restJson1__listOf__PeriodTriggersElement = (output, context
|
|
|
2346
2346
|
if (entry === null) {
|
|
2347
2347
|
return null;
|
|
2348
2348
|
}
|
|
2349
|
-
return
|
|
2349
|
+
return smithy_client_1.expectString(entry);
|
|
2350
2350
|
});
|
|
2351
2351
|
};
|
|
2352
2352
|
const deserializeAws_restJson1__listOf__string = (output, context) => {
|
|
@@ -2356,7 +2356,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
|
|
|
2356
2356
|
if (entry === null) {
|
|
2357
2357
|
return null;
|
|
2358
2358
|
}
|
|
2359
|
-
return
|
|
2359
|
+
return smithy_client_1.expectString(entry);
|
|
2360
2360
|
});
|
|
2361
2361
|
};
|
|
2362
2362
|
const deserializeAws_restJson1__listOfAssetShallow = (output, context) => {
|
|
@@ -2436,19 +2436,19 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
|
|
|
2436
2436
|
}
|
|
2437
2437
|
return {
|
|
2438
2438
|
...acc,
|
|
2439
|
-
[key]:
|
|
2439
|
+
[key]: smithy_client_1.expectString(value),
|
|
2440
2440
|
};
|
|
2441
2441
|
}, {});
|
|
2442
2442
|
};
|
|
2443
2443
|
const deserializeAws_restJson1AssetShallow = (output, context) => {
|
|
2444
2444
|
return {
|
|
2445
|
-
Arn:
|
|
2446
|
-
CreatedAt:
|
|
2447
|
-
Id:
|
|
2448
|
-
PackagingGroupId:
|
|
2449
|
-
ResourceId:
|
|
2450
|
-
SourceArn:
|
|
2451
|
-
SourceRoleArn:
|
|
2445
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
2446
|
+
CreatedAt: smithy_client_1.expectString(output.createdAt),
|
|
2447
|
+
Id: smithy_client_1.expectString(output.id),
|
|
2448
|
+
PackagingGroupId: smithy_client_1.expectString(output.packagingGroupId),
|
|
2449
|
+
ResourceId: smithy_client_1.expectString(output.resourceId),
|
|
2450
|
+
SourceArn: smithy_client_1.expectString(output.sourceArn),
|
|
2451
|
+
SourceRoleArn: smithy_client_1.expectString(output.sourceRoleArn),
|
|
2452
2452
|
Tags: output.tags !== undefined && output.tags !== null
|
|
2453
2453
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2454
2454
|
: undefined,
|
|
@@ -2456,13 +2456,13 @@ const deserializeAws_restJson1AssetShallow = (output, context) => {
|
|
|
2456
2456
|
};
|
|
2457
2457
|
const deserializeAws_restJson1Authorization = (output, context) => {
|
|
2458
2458
|
return {
|
|
2459
|
-
CdnIdentifierSecret:
|
|
2460
|
-
SecretsRoleArn:
|
|
2459
|
+
CdnIdentifierSecret: smithy_client_1.expectString(output.cdnIdentifierSecret),
|
|
2460
|
+
SecretsRoleArn: smithy_client_1.expectString(output.secretsRoleArn),
|
|
2461
2461
|
};
|
|
2462
2462
|
};
|
|
2463
2463
|
const deserializeAws_restJson1CmafEncryption = (output, context) => {
|
|
2464
2464
|
return {
|
|
2465
|
-
ConstantInitializationVector:
|
|
2465
|
+
ConstantInitializationVector: smithy_client_1.expectString(output.constantInitializationVector),
|
|
2466
2466
|
SpekeKeyProvider: output.spekeKeyProvider !== undefined && output.spekeKeyProvider !== null
|
|
2467
2467
|
? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
|
|
2468
2468
|
: undefined,
|
|
@@ -2476,8 +2476,8 @@ const deserializeAws_restJson1CmafPackage = (output, context) => {
|
|
|
2476
2476
|
HlsManifests: output.hlsManifests !== undefined && output.hlsManifests !== null
|
|
2477
2477
|
? deserializeAws_restJson1__listOfHlsManifest(output.hlsManifests, context)
|
|
2478
2478
|
: undefined,
|
|
2479
|
-
IncludeEncoderConfigurationInSegments:
|
|
2480
|
-
SegmentDurationSeconds:
|
|
2479
|
+
IncludeEncoderConfigurationInSegments: smithy_client_1.expectBoolean(output.includeEncoderConfigurationInSegments),
|
|
2480
|
+
SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
|
|
2481
2481
|
};
|
|
2482
2482
|
};
|
|
2483
2483
|
const deserializeAws_restJson1DashEncryption = (output, context) => {
|
|
@@ -2489,10 +2489,10 @@ const deserializeAws_restJson1DashEncryption = (output, context) => {
|
|
|
2489
2489
|
};
|
|
2490
2490
|
const deserializeAws_restJson1DashManifest = (output, context) => {
|
|
2491
2491
|
return {
|
|
2492
|
-
ManifestLayout:
|
|
2493
|
-
ManifestName:
|
|
2494
|
-
MinBufferTimeSeconds:
|
|
2495
|
-
Profile:
|
|
2492
|
+
ManifestLayout: smithy_client_1.expectString(output.manifestLayout),
|
|
2493
|
+
ManifestName: smithy_client_1.expectString(output.manifestName),
|
|
2494
|
+
MinBufferTimeSeconds: smithy_client_1.expectInt32(output.minBufferTimeSeconds),
|
|
2495
|
+
Profile: smithy_client_1.expectString(output.profile),
|
|
2496
2496
|
StreamSelection: output.streamSelection !== undefined && output.streamSelection !== null
|
|
2497
2497
|
? deserializeAws_restJson1StreamSelection(output.streamSelection, context)
|
|
2498
2498
|
: undefined,
|
|
@@ -2506,29 +2506,30 @@ const deserializeAws_restJson1DashPackage = (output, context) => {
|
|
|
2506
2506
|
Encryption: output.encryption !== undefined && output.encryption !== null
|
|
2507
2507
|
? deserializeAws_restJson1DashEncryption(output.encryption, context)
|
|
2508
2508
|
: undefined,
|
|
2509
|
-
IncludeEncoderConfigurationInSegments:
|
|
2509
|
+
IncludeEncoderConfigurationInSegments: smithy_client_1.expectBoolean(output.includeEncoderConfigurationInSegments),
|
|
2510
2510
|
PeriodTriggers: output.periodTriggers !== undefined && output.periodTriggers !== null
|
|
2511
2511
|
? deserializeAws_restJson1__listOf__PeriodTriggersElement(output.periodTriggers, context)
|
|
2512
2512
|
: undefined,
|
|
2513
|
-
SegmentDurationSeconds:
|
|
2514
|
-
SegmentTemplateFormat:
|
|
2513
|
+
SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
|
|
2514
|
+
SegmentTemplateFormat: smithy_client_1.expectString(output.segmentTemplateFormat),
|
|
2515
2515
|
};
|
|
2516
2516
|
};
|
|
2517
2517
|
const deserializeAws_restJson1EgressAccessLogs = (output, context) => {
|
|
2518
2518
|
return {
|
|
2519
|
-
LogGroupName:
|
|
2519
|
+
LogGroupName: smithy_client_1.expectString(output.logGroupName),
|
|
2520
2520
|
};
|
|
2521
2521
|
};
|
|
2522
2522
|
const deserializeAws_restJson1EgressEndpoint = (output, context) => {
|
|
2523
2523
|
return {
|
|
2524
|
-
PackagingConfigurationId:
|
|
2525
|
-
|
|
2524
|
+
PackagingConfigurationId: smithy_client_1.expectString(output.packagingConfigurationId),
|
|
2525
|
+
Status: smithy_client_1.expectString(output.status),
|
|
2526
|
+
Url: smithy_client_1.expectString(output.url),
|
|
2526
2527
|
};
|
|
2527
2528
|
};
|
|
2528
2529
|
const deserializeAws_restJson1HlsEncryption = (output, context) => {
|
|
2529
2530
|
return {
|
|
2530
|
-
ConstantInitializationVector:
|
|
2531
|
-
EncryptionMethod:
|
|
2531
|
+
ConstantInitializationVector: smithy_client_1.expectString(output.constantInitializationVector),
|
|
2532
|
+
EncryptionMethod: smithy_client_1.expectString(output.encryptionMethod),
|
|
2532
2533
|
SpekeKeyProvider: output.spekeKeyProvider !== undefined && output.spekeKeyProvider !== null
|
|
2533
2534
|
? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
|
|
2534
2535
|
: undefined,
|
|
@@ -2536,11 +2537,11 @@ const deserializeAws_restJson1HlsEncryption = (output, context) => {
|
|
|
2536
2537
|
};
|
|
2537
2538
|
const deserializeAws_restJson1HlsManifest = (output, context) => {
|
|
2538
2539
|
return {
|
|
2539
|
-
AdMarkers:
|
|
2540
|
-
IncludeIframeOnlyStream:
|
|
2541
|
-
ManifestName:
|
|
2542
|
-
ProgramDateTimeIntervalSeconds:
|
|
2543
|
-
RepeatExtXKey:
|
|
2540
|
+
AdMarkers: smithy_client_1.expectString(output.adMarkers),
|
|
2541
|
+
IncludeIframeOnlyStream: smithy_client_1.expectBoolean(output.includeIframeOnlyStream),
|
|
2542
|
+
ManifestName: smithy_client_1.expectString(output.manifestName),
|
|
2543
|
+
ProgramDateTimeIntervalSeconds: smithy_client_1.expectInt32(output.programDateTimeIntervalSeconds),
|
|
2544
|
+
RepeatExtXKey: smithy_client_1.expectBoolean(output.repeatExtXKey),
|
|
2544
2545
|
StreamSelection: output.streamSelection !== undefined && output.streamSelection !== null
|
|
2545
2546
|
? deserializeAws_restJson1StreamSelection(output.streamSelection, context)
|
|
2546
2547
|
: undefined,
|
|
@@ -2554,8 +2555,8 @@ const deserializeAws_restJson1HlsPackage = (output, context) => {
|
|
|
2554
2555
|
HlsManifests: output.hlsManifests !== undefined && output.hlsManifests !== null
|
|
2555
2556
|
? deserializeAws_restJson1__listOfHlsManifest(output.hlsManifests, context)
|
|
2556
2557
|
: undefined,
|
|
2557
|
-
SegmentDurationSeconds:
|
|
2558
|
-
UseAudioRenditionGroup:
|
|
2558
|
+
SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
|
|
2559
|
+
UseAudioRenditionGroup: smithy_client_1.expectBoolean(output.useAudioRenditionGroup),
|
|
2559
2560
|
};
|
|
2560
2561
|
};
|
|
2561
2562
|
const deserializeAws_restJson1MssEncryption = (output, context) => {
|
|
@@ -2567,7 +2568,7 @@ const deserializeAws_restJson1MssEncryption = (output, context) => {
|
|
|
2567
2568
|
};
|
|
2568
2569
|
const deserializeAws_restJson1MssManifest = (output, context) => {
|
|
2569
2570
|
return {
|
|
2570
|
-
ManifestName:
|
|
2571
|
+
ManifestName: smithy_client_1.expectString(output.manifestName),
|
|
2571
2572
|
StreamSelection: output.streamSelection !== undefined && output.streamSelection !== null
|
|
2572
2573
|
? deserializeAws_restJson1StreamSelection(output.streamSelection, context)
|
|
2573
2574
|
: undefined,
|
|
@@ -2581,12 +2582,12 @@ const deserializeAws_restJson1MssPackage = (output, context) => {
|
|
|
2581
2582
|
MssManifests: output.mssManifests !== undefined && output.mssManifests !== null
|
|
2582
2583
|
? deserializeAws_restJson1__listOfMssManifest(output.mssManifests, context)
|
|
2583
2584
|
: undefined,
|
|
2584
|
-
SegmentDurationSeconds:
|
|
2585
|
+
SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
|
|
2585
2586
|
};
|
|
2586
2587
|
};
|
|
2587
2588
|
const deserializeAws_restJson1PackagingConfiguration = (output, context) => {
|
|
2588
2589
|
return {
|
|
2589
|
-
Arn:
|
|
2590
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
2590
2591
|
CmafPackage: output.cmafPackage !== undefined && output.cmafPackage !== null
|
|
2591
2592
|
? deserializeAws_restJson1CmafPackage(output.cmafPackage, context)
|
|
2592
2593
|
: undefined,
|
|
@@ -2596,11 +2597,11 @@ const deserializeAws_restJson1PackagingConfiguration = (output, context) => {
|
|
|
2596
2597
|
HlsPackage: output.hlsPackage !== undefined && output.hlsPackage !== null
|
|
2597
2598
|
? deserializeAws_restJson1HlsPackage(output.hlsPackage, context)
|
|
2598
2599
|
: undefined,
|
|
2599
|
-
Id:
|
|
2600
|
+
Id: smithy_client_1.expectString(output.id),
|
|
2600
2601
|
MssPackage: output.mssPackage !== undefined && output.mssPackage !== null
|
|
2601
2602
|
? deserializeAws_restJson1MssPackage(output.mssPackage, context)
|
|
2602
2603
|
: undefined,
|
|
2603
|
-
PackagingGroupId:
|
|
2604
|
+
PackagingGroupId: smithy_client_1.expectString(output.packagingGroupId),
|
|
2604
2605
|
Tags: output.tags !== undefined && output.tags !== null
|
|
2605
2606
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2606
2607
|
: undefined,
|
|
@@ -2608,15 +2609,15 @@ const deserializeAws_restJson1PackagingConfiguration = (output, context) => {
|
|
|
2608
2609
|
};
|
|
2609
2610
|
const deserializeAws_restJson1PackagingGroup = (output, context) => {
|
|
2610
2611
|
return {
|
|
2611
|
-
Arn:
|
|
2612
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
2612
2613
|
Authorization: output.authorization !== undefined && output.authorization !== null
|
|
2613
2614
|
? deserializeAws_restJson1Authorization(output.authorization, context)
|
|
2614
2615
|
: undefined,
|
|
2615
|
-
DomainName:
|
|
2616
|
+
DomainName: smithy_client_1.expectString(output.domainName),
|
|
2616
2617
|
EgressAccessLogs: output.egressAccessLogs !== undefined && output.egressAccessLogs !== null
|
|
2617
2618
|
? deserializeAws_restJson1EgressAccessLogs(output.egressAccessLogs, context)
|
|
2618
2619
|
: undefined,
|
|
2619
|
-
Id:
|
|
2620
|
+
Id: smithy_client_1.expectString(output.id),
|
|
2620
2621
|
Tags: output.tags !== undefined && output.tags !== null
|
|
2621
2622
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2622
2623
|
: undefined,
|
|
@@ -2624,18 +2625,18 @@ const deserializeAws_restJson1PackagingGroup = (output, context) => {
|
|
|
2624
2625
|
};
|
|
2625
2626
|
const deserializeAws_restJson1SpekeKeyProvider = (output, context) => {
|
|
2626
2627
|
return {
|
|
2627
|
-
RoleArn:
|
|
2628
|
+
RoleArn: smithy_client_1.expectString(output.roleArn),
|
|
2628
2629
|
SystemIds: output.systemIds !== undefined && output.systemIds !== null
|
|
2629
2630
|
? deserializeAws_restJson1__listOf__string(output.systemIds, context)
|
|
2630
2631
|
: undefined,
|
|
2631
|
-
Url:
|
|
2632
|
+
Url: smithy_client_1.expectString(output.url),
|
|
2632
2633
|
};
|
|
2633
2634
|
};
|
|
2634
2635
|
const deserializeAws_restJson1StreamSelection = (output, context) => {
|
|
2635
2636
|
return {
|
|
2636
|
-
MaxVideoBitsPerSecond:
|
|
2637
|
-
MinVideoBitsPerSecond:
|
|
2638
|
-
StreamOrder:
|
|
2637
|
+
MaxVideoBitsPerSecond: smithy_client_1.expectInt32(output.maxVideoBitsPerSecond),
|
|
2638
|
+
MinVideoBitsPerSecond: smithy_client_1.expectInt32(output.minVideoBitsPerSecond),
|
|
2639
|
+
StreamOrder: smithy_client_1.expectString(output.streamOrder),
|
|
2639
2640
|
};
|
|
2640
2641
|
};
|
|
2641
2642
|
const deserializeAws_restJson1Tags = (output, context) => {
|
|
@@ -2645,7 +2646,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
2645
2646
|
}
|
|
2646
2647
|
return {
|
|
2647
2648
|
...acc,
|
|
2648
|
-
[key]:
|
|
2649
|
+
[key]: smithy_client_1.expectString(value),
|
|
2649
2650
|
};
|
|
2650
2651
|
}, {});
|
|
2651
2652
|
};
|