@aws-sdk/client-mediapackage 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.
Files changed (65) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/MediaPackageClient.js +13 -13
  3. package/dist/cjs/MediaPackageClient.js.map +1 -1
  4. package/dist/cjs/commands/ConfigureLogsCommand.js +3 -3
  5. package/dist/cjs/commands/ConfigureLogsCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateChannelCommand.js +3 -3
  7. package/dist/cjs/commands/CreateChannelCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateHarvestJobCommand.js +3 -3
  9. package/dist/cjs/commands/CreateHarvestJobCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateOriginEndpointCommand.js +3 -3
  11. package/dist/cjs/commands/CreateOriginEndpointCommand.js.map +1 -1
  12. package/dist/cjs/commands/DeleteChannelCommand.js +3 -3
  13. package/dist/cjs/commands/DeleteChannelCommand.js.map +1 -1
  14. package/dist/cjs/commands/DeleteOriginEndpointCommand.js +3 -3
  15. package/dist/cjs/commands/DeleteOriginEndpointCommand.js.map +1 -1
  16. package/dist/cjs/commands/DescribeChannelCommand.js +3 -3
  17. package/dist/cjs/commands/DescribeChannelCommand.js.map +1 -1
  18. package/dist/cjs/commands/DescribeHarvestJobCommand.js +3 -3
  19. package/dist/cjs/commands/DescribeHarvestJobCommand.js.map +1 -1
  20. package/dist/cjs/commands/DescribeOriginEndpointCommand.js +3 -3
  21. package/dist/cjs/commands/DescribeOriginEndpointCommand.js.map +1 -1
  22. package/dist/cjs/commands/ListChannelsCommand.js +3 -3
  23. package/dist/cjs/commands/ListChannelsCommand.js.map +1 -1
  24. package/dist/cjs/commands/ListHarvestJobsCommand.js +3 -3
  25. package/dist/cjs/commands/ListHarvestJobsCommand.js.map +1 -1
  26. package/dist/cjs/commands/ListOriginEndpointsCommand.js +3 -3
  27. package/dist/cjs/commands/ListOriginEndpointsCommand.js.map +1 -1
  28. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  29. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  30. package/dist/cjs/commands/RotateChannelCredentialsCommand.js +3 -3
  31. package/dist/cjs/commands/RotateChannelCredentialsCommand.js.map +1 -1
  32. package/dist/cjs/commands/RotateIngestEndpointCredentialsCommand.js +3 -3
  33. package/dist/cjs/commands/RotateIngestEndpointCredentialsCommand.js.map +1 -1
  34. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  35. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  36. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  37. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  38. package/dist/cjs/commands/UpdateChannelCommand.js +3 -3
  39. package/dist/cjs/commands/UpdateChannelCommand.js.map +1 -1
  40. package/dist/cjs/commands/UpdateOriginEndpointCommand.js +3 -3
  41. package/dist/cjs/commands/UpdateOriginEndpointCommand.js.map +1 -1
  42. package/dist/cjs/endpoints.js +1 -1
  43. package/dist/cjs/endpoints.js.map +1 -1
  44. package/dist/cjs/index.js +26 -26
  45. package/dist/cjs/index.js.map +1 -1
  46. package/dist/cjs/models/index.js +1 -1
  47. package/dist/cjs/models/index.js.map +1 -1
  48. package/dist/cjs/package.json +31 -31
  49. package/dist/cjs/protocols/Aws_restJson1.js +182 -182
  50. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  51. package/dist/cjs/runtimeConfig.browser.js +4 -4
  52. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  53. package/dist/cjs/runtimeConfig.js +8 -8
  54. package/dist/cjs/runtimeConfig.js.map +1 -1
  55. package/dist/cjs/runtimeConfig.native.js +1 -1
  56. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  57. package/dist/es/package.json +31 -31
  58. package/dist/es/pagination/ListChannelsPaginator.js +4 -4
  59. package/dist/es/pagination/ListChannelsPaginator.js.map +1 -1
  60. package/dist/es/pagination/ListHarvestJobsPaginator.js +4 -4
  61. package/dist/es/pagination/ListHarvestJobsPaginator.js.map +1 -1
  62. package/dist/es/pagination/ListOriginEndpointsPaginator.js +4 -4
  63. package/dist/es/pagination/ListOriginEndpointsPaginator.js.map +1 -1
  64. package/package.json +31 -31
  65. package/tsconfig.json +1 -2
@@ -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}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
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.");
@@ -148,7 +148,7 @@ const serializeAws_restJson1DeleteChannelCommand = async (input, context) => {
148
148
  if (labelValue.length <= 0) {
149
149
  throw new Error("Empty value provided for input HTTP label: Id.");
150
150
  }
151
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
151
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
152
152
  }
153
153
  else {
154
154
  throw new Error("No value provided for input HTTP label: Id.");
@@ -174,7 +174,7 @@ const serializeAws_restJson1DeleteOriginEndpointCommand = async (input, context)
174
174
  if (labelValue.length <= 0) {
175
175
  throw new Error("Empty value provided for input HTTP label: Id.");
176
176
  }
177
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
177
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
178
178
  }
179
179
  else {
180
180
  throw new Error("No value provided for input HTTP label: Id.");
@@ -200,7 +200,7 @@ const serializeAws_restJson1DescribeChannelCommand = async (input, context) => {
200
200
  if (labelValue.length <= 0) {
201
201
  throw new Error("Empty value provided for input HTTP label: Id.");
202
202
  }
203
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
203
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
204
204
  }
205
205
  else {
206
206
  throw new Error("No value provided for input HTTP label: Id.");
@@ -226,7 +226,7 @@ const serializeAws_restJson1DescribeHarvestJobCommand = async (input, context) =
226
226
  if (labelValue.length <= 0) {
227
227
  throw new Error("Empty value provided for input HTTP label: Id.");
228
228
  }
229
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
229
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
230
230
  }
231
231
  else {
232
232
  throw new Error("No value provided for input HTTP label: Id.");
@@ -252,7 +252,7 @@ const serializeAws_restJson1DescribeOriginEndpointCommand = async (input, contex
252
252
  if (labelValue.length <= 0) {
253
253
  throw new Error("Empty value provided for input HTTP label: Id.");
254
254
  }
255
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
255
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
256
256
  }
257
257
  else {
258
258
  throw new Error("No value provided for input HTTP label: Id.");
@@ -344,7 +344,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
344
344
  if (labelValue.length <= 0) {
345
345
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
346
346
  }
347
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
347
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
348
348
  }
349
349
  else {
350
350
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -370,7 +370,7 @@ const serializeAws_restJson1RotateChannelCredentialsCommand = async (input, cont
370
370
  if (labelValue.length <= 0) {
371
371
  throw new Error("Empty value provided for input HTTP label: Id.");
372
372
  }
373
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
373
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
374
374
  }
375
375
  else {
376
376
  throw new Error("No value provided for input HTTP label: Id.");
@@ -397,7 +397,7 @@ const serializeAws_restJson1RotateIngestEndpointCredentialsCommand = async (inpu
397
397
  if (labelValue.length <= 0) {
398
398
  throw new Error("Empty value provided for input HTTP label: Id.");
399
399
  }
400
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
400
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
401
401
  }
402
402
  else {
403
403
  throw new Error("No value provided for input HTTP label: Id.");
@@ -407,7 +407,7 @@ const serializeAws_restJson1RotateIngestEndpointCredentialsCommand = async (inpu
407
407
  if (labelValue.length <= 0) {
408
408
  throw new Error("Empty value provided for input HTTP label: IngestEndpointId.");
409
409
  }
410
- resolvedPath = resolvedPath.replace("{IngestEndpointId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
410
+ resolvedPath = resolvedPath.replace("{IngestEndpointId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
411
411
  }
412
412
  else {
413
413
  throw new Error("No value provided for input HTTP label: IngestEndpointId.");
@@ -435,7 +435,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
435
435
  if (labelValue.length <= 0) {
436
436
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
437
437
  }
438
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
438
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
439
439
  }
440
440
  else {
441
441
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -465,7 +465,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
465
465
  if (labelValue.length <= 0) {
466
466
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
467
467
  }
468
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
468
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
469
469
  }
470
470
  else {
471
471
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -497,7 +497,7 @@ const serializeAws_restJson1UpdateChannelCommand = async (input, context) => {
497
497
  if (labelValue.length <= 0) {
498
498
  throw new Error("Empty value provided for input HTTP label: Id.");
499
499
  }
500
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
500
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
501
501
  }
502
502
  else {
503
503
  throw new Error("No value provided for input HTTP label: Id.");
@@ -528,7 +528,7 @@ const serializeAws_restJson1UpdateOriginEndpointCommand = async (input, context)
528
528
  if (labelValue.length <= 0) {
529
529
  throw new Error("Empty value provided for input HTTP label: Id.");
530
530
  }
531
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
531
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
532
532
  }
533
533
  else {
534
534
  throw new Error("No value provided for input HTTP label: Id.");
@@ -584,12 +584,12 @@ const deserializeAws_restJson1ConfigureLogsCommand = async (output, context) =>
584
584
  IngressAccessLogs: undefined,
585
585
  Tags: undefined,
586
586
  };
587
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
587
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
588
588
  if (data.arn !== undefined && data.arn !== null) {
589
- contents.Arn = (0, smithy_client_1.expectString)(data.arn);
589
+ contents.Arn = smithy_client_1.expectString(data.arn);
590
590
  }
591
591
  if (data.description !== undefined && data.description !== null) {
592
- contents.Description = (0, smithy_client_1.expectString)(data.description);
592
+ contents.Description = smithy_client_1.expectString(data.description);
593
593
  }
594
594
  if (data.egressAccessLogs !== undefined && data.egressAccessLogs !== null) {
595
595
  contents.EgressAccessLogs = deserializeAws_restJson1EgressAccessLogs(data.egressAccessLogs, context);
@@ -598,7 +598,7 @@ const deserializeAws_restJson1ConfigureLogsCommand = async (output, context) =>
598
598
  contents.HlsIngest = deserializeAws_restJson1HlsIngest(data.hlsIngest, context);
599
599
  }
600
600
  if (data.id !== undefined && data.id !== null) {
601
- contents.Id = (0, smithy_client_1.expectString)(data.id);
601
+ contents.Id = smithy_client_1.expectString(data.id);
602
602
  }
603
603
  if (data.ingressAccessLogs !== undefined && data.ingressAccessLogs !== null) {
604
604
  contents.IngressAccessLogs = deserializeAws_restJson1IngressAccessLogs(data.ingressAccessLogs, context);
@@ -696,12 +696,12 @@ const deserializeAws_restJson1CreateChannelCommand = async (output, context) =>
696
696
  IngressAccessLogs: undefined,
697
697
  Tags: undefined,
698
698
  };
699
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
699
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
700
700
  if (data.arn !== undefined && data.arn !== null) {
701
- contents.Arn = (0, smithy_client_1.expectString)(data.arn);
701
+ contents.Arn = smithy_client_1.expectString(data.arn);
702
702
  }
703
703
  if (data.description !== undefined && data.description !== null) {
704
- contents.Description = (0, smithy_client_1.expectString)(data.description);
704
+ contents.Description = smithy_client_1.expectString(data.description);
705
705
  }
706
706
  if (data.egressAccessLogs !== undefined && data.egressAccessLogs !== null) {
707
707
  contents.EgressAccessLogs = deserializeAws_restJson1EgressAccessLogs(data.egressAccessLogs, context);
@@ -710,7 +710,7 @@ const deserializeAws_restJson1CreateChannelCommand = async (output, context) =>
710
710
  contents.HlsIngest = deserializeAws_restJson1HlsIngest(data.hlsIngest, context);
711
711
  }
712
712
  if (data.id !== undefined && data.id !== null) {
713
- contents.Id = (0, smithy_client_1.expectString)(data.id);
713
+ contents.Id = smithy_client_1.expectString(data.id);
714
714
  }
715
715
  if (data.ingressAccessLogs !== undefined && data.ingressAccessLogs !== null) {
716
716
  contents.IngressAccessLogs = deserializeAws_restJson1IngressAccessLogs(data.ingressAccessLogs, context);
@@ -810,33 +810,33 @@ const deserializeAws_restJson1CreateHarvestJobCommand = async (output, context)
810
810
  StartTime: undefined,
811
811
  Status: undefined,
812
812
  };
813
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
813
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
814
814
  if (data.arn !== undefined && data.arn !== null) {
815
- contents.Arn = (0, smithy_client_1.expectString)(data.arn);
815
+ contents.Arn = smithy_client_1.expectString(data.arn);
816
816
  }
817
817
  if (data.channelId !== undefined && data.channelId !== null) {
818
- contents.ChannelId = (0, smithy_client_1.expectString)(data.channelId);
818
+ contents.ChannelId = smithy_client_1.expectString(data.channelId);
819
819
  }
820
820
  if (data.createdAt !== undefined && data.createdAt !== null) {
821
- contents.CreatedAt = (0, smithy_client_1.expectString)(data.createdAt);
821
+ contents.CreatedAt = smithy_client_1.expectString(data.createdAt);
822
822
  }
823
823
  if (data.endTime !== undefined && data.endTime !== null) {
824
- contents.EndTime = (0, smithy_client_1.expectString)(data.endTime);
824
+ contents.EndTime = smithy_client_1.expectString(data.endTime);
825
825
  }
826
826
  if (data.id !== undefined && data.id !== null) {
827
- contents.Id = (0, smithy_client_1.expectString)(data.id);
827
+ contents.Id = smithy_client_1.expectString(data.id);
828
828
  }
829
829
  if (data.originEndpointId !== undefined && data.originEndpointId !== null) {
830
- contents.OriginEndpointId = (0, smithy_client_1.expectString)(data.originEndpointId);
830
+ contents.OriginEndpointId = smithy_client_1.expectString(data.originEndpointId);
831
831
  }
832
832
  if (data.s3Destination !== undefined && data.s3Destination !== null) {
833
833
  contents.S3Destination = deserializeAws_restJson1S3Destination(data.s3Destination, context);
834
834
  }
835
835
  if (data.startTime !== undefined && data.startTime !== null) {
836
- contents.StartTime = (0, smithy_client_1.expectString)(data.startTime);
836
+ contents.StartTime = smithy_client_1.expectString(data.startTime);
837
837
  }
838
838
  if (data.status !== undefined && data.status !== null) {
839
- contents.Status = (0, smithy_client_1.expectString)(data.status);
839
+ contents.Status = smithy_client_1.expectString(data.status);
840
840
  }
841
841
  return Promise.resolve(contents);
842
842
  };
@@ -937,15 +937,15 @@ const deserializeAws_restJson1CreateOriginEndpointCommand = async (output, conte
937
937
  Url: undefined,
938
938
  Whitelist: undefined,
939
939
  };
940
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
940
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
941
941
  if (data.arn !== undefined && data.arn !== null) {
942
- contents.Arn = (0, smithy_client_1.expectString)(data.arn);
942
+ contents.Arn = smithy_client_1.expectString(data.arn);
943
943
  }
944
944
  if (data.authorization !== undefined && data.authorization !== null) {
945
945
  contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
946
946
  }
947
947
  if (data.channelId !== undefined && data.channelId !== null) {
948
- contents.ChannelId = (0, smithy_client_1.expectString)(data.channelId);
948
+ contents.ChannelId = smithy_client_1.expectString(data.channelId);
949
949
  }
950
950
  if (data.cmafPackage !== undefined && data.cmafPackage !== null) {
951
951
  contents.CmafPackage = deserializeAws_restJson1CmafPackage(data.cmafPackage, context);
@@ -954,34 +954,34 @@ const deserializeAws_restJson1CreateOriginEndpointCommand = async (output, conte
954
954
  contents.DashPackage = deserializeAws_restJson1DashPackage(data.dashPackage, context);
955
955
  }
956
956
  if (data.description !== undefined && data.description !== null) {
957
- contents.Description = (0, smithy_client_1.expectString)(data.description);
957
+ contents.Description = smithy_client_1.expectString(data.description);
958
958
  }
959
959
  if (data.hlsPackage !== undefined && data.hlsPackage !== null) {
960
960
  contents.HlsPackage = deserializeAws_restJson1HlsPackage(data.hlsPackage, context);
961
961
  }
962
962
  if (data.id !== undefined && data.id !== null) {
963
- contents.Id = (0, smithy_client_1.expectString)(data.id);
963
+ contents.Id = smithy_client_1.expectString(data.id);
964
964
  }
965
965
  if (data.manifestName !== undefined && data.manifestName !== null) {
966
- contents.ManifestName = (0, smithy_client_1.expectString)(data.manifestName);
966
+ contents.ManifestName = smithy_client_1.expectString(data.manifestName);
967
967
  }
968
968
  if (data.mssPackage !== undefined && data.mssPackage !== null) {
969
969
  contents.MssPackage = deserializeAws_restJson1MssPackage(data.mssPackage, context);
970
970
  }
971
971
  if (data.origination !== undefined && data.origination !== null) {
972
- contents.Origination = (0, smithy_client_1.expectString)(data.origination);
972
+ contents.Origination = smithy_client_1.expectString(data.origination);
973
973
  }
974
974
  if (data.startoverWindowSeconds !== undefined && data.startoverWindowSeconds !== null) {
975
- contents.StartoverWindowSeconds = (0, smithy_client_1.expectInt32)(data.startoverWindowSeconds);
975
+ contents.StartoverWindowSeconds = smithy_client_1.expectInt32(data.startoverWindowSeconds);
976
976
  }
977
977
  if (data.tags !== undefined && data.tags !== null) {
978
978
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
979
979
  }
980
980
  if (data.timeDelaySeconds !== undefined && data.timeDelaySeconds !== null) {
981
- contents.TimeDelaySeconds = (0, smithy_client_1.expectInt32)(data.timeDelaySeconds);
981
+ contents.TimeDelaySeconds = smithy_client_1.expectInt32(data.timeDelaySeconds);
982
982
  }
983
983
  if (data.url !== undefined && data.url !== null) {
984
- contents.Url = (0, smithy_client_1.expectString)(data.url);
984
+ contents.Url = smithy_client_1.expectString(data.url);
985
985
  }
986
986
  if (data.whitelist !== undefined && data.whitelist !== null) {
987
987
  contents.Whitelist = deserializeAws_restJson1__listOf__string(data.whitelist, context);
@@ -1244,12 +1244,12 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
1244
1244
  IngressAccessLogs: undefined,
1245
1245
  Tags: undefined,
1246
1246
  };
1247
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1247
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1248
1248
  if (data.arn !== undefined && data.arn !== null) {
1249
- contents.Arn = (0, smithy_client_1.expectString)(data.arn);
1249
+ contents.Arn = smithy_client_1.expectString(data.arn);
1250
1250
  }
1251
1251
  if (data.description !== undefined && data.description !== null) {
1252
- contents.Description = (0, smithy_client_1.expectString)(data.description);
1252
+ contents.Description = smithy_client_1.expectString(data.description);
1253
1253
  }
1254
1254
  if (data.egressAccessLogs !== undefined && data.egressAccessLogs !== null) {
1255
1255
  contents.EgressAccessLogs = deserializeAws_restJson1EgressAccessLogs(data.egressAccessLogs, context);
@@ -1258,7 +1258,7 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
1258
1258
  contents.HlsIngest = deserializeAws_restJson1HlsIngest(data.hlsIngest, context);
1259
1259
  }
1260
1260
  if (data.id !== undefined && data.id !== null) {
1261
- contents.Id = (0, smithy_client_1.expectString)(data.id);
1261
+ contents.Id = smithy_client_1.expectString(data.id);
1262
1262
  }
1263
1263
  if (data.ingressAccessLogs !== undefined && data.ingressAccessLogs !== null) {
1264
1264
  contents.IngressAccessLogs = deserializeAws_restJson1IngressAccessLogs(data.ingressAccessLogs, context);
@@ -1358,33 +1358,33 @@ const deserializeAws_restJson1DescribeHarvestJobCommand = async (output, context
1358
1358
  StartTime: undefined,
1359
1359
  Status: undefined,
1360
1360
  };
1361
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1361
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1362
1362
  if (data.arn !== undefined && data.arn !== null) {
1363
- contents.Arn = (0, smithy_client_1.expectString)(data.arn);
1363
+ contents.Arn = smithy_client_1.expectString(data.arn);
1364
1364
  }
1365
1365
  if (data.channelId !== undefined && data.channelId !== null) {
1366
- contents.ChannelId = (0, smithy_client_1.expectString)(data.channelId);
1366
+ contents.ChannelId = smithy_client_1.expectString(data.channelId);
1367
1367
  }
1368
1368
  if (data.createdAt !== undefined && data.createdAt !== null) {
1369
- contents.CreatedAt = (0, smithy_client_1.expectString)(data.createdAt);
1369
+ contents.CreatedAt = smithy_client_1.expectString(data.createdAt);
1370
1370
  }
1371
1371
  if (data.endTime !== undefined && data.endTime !== null) {
1372
- contents.EndTime = (0, smithy_client_1.expectString)(data.endTime);
1372
+ contents.EndTime = smithy_client_1.expectString(data.endTime);
1373
1373
  }
1374
1374
  if (data.id !== undefined && data.id !== null) {
1375
- contents.Id = (0, smithy_client_1.expectString)(data.id);
1375
+ contents.Id = smithy_client_1.expectString(data.id);
1376
1376
  }
1377
1377
  if (data.originEndpointId !== undefined && data.originEndpointId !== null) {
1378
- contents.OriginEndpointId = (0, smithy_client_1.expectString)(data.originEndpointId);
1378
+ contents.OriginEndpointId = smithy_client_1.expectString(data.originEndpointId);
1379
1379
  }
1380
1380
  if (data.s3Destination !== undefined && data.s3Destination !== null) {
1381
1381
  contents.S3Destination = deserializeAws_restJson1S3Destination(data.s3Destination, context);
1382
1382
  }
1383
1383
  if (data.startTime !== undefined && data.startTime !== null) {
1384
- contents.StartTime = (0, smithy_client_1.expectString)(data.startTime);
1384
+ contents.StartTime = smithy_client_1.expectString(data.startTime);
1385
1385
  }
1386
1386
  if (data.status !== undefined && data.status !== null) {
1387
- contents.Status = (0, smithy_client_1.expectString)(data.status);
1387
+ contents.Status = smithy_client_1.expectString(data.status);
1388
1388
  }
1389
1389
  return Promise.resolve(contents);
1390
1390
  };
@@ -1485,15 +1485,15 @@ const deserializeAws_restJson1DescribeOriginEndpointCommand = async (output, con
1485
1485
  Url: undefined,
1486
1486
  Whitelist: undefined,
1487
1487
  };
1488
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1488
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1489
1489
  if (data.arn !== undefined && data.arn !== null) {
1490
- contents.Arn = (0, smithy_client_1.expectString)(data.arn);
1490
+ contents.Arn = smithy_client_1.expectString(data.arn);
1491
1491
  }
1492
1492
  if (data.authorization !== undefined && data.authorization !== null) {
1493
1493
  contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
1494
1494
  }
1495
1495
  if (data.channelId !== undefined && data.channelId !== null) {
1496
- contents.ChannelId = (0, smithy_client_1.expectString)(data.channelId);
1496
+ contents.ChannelId = smithy_client_1.expectString(data.channelId);
1497
1497
  }
1498
1498
  if (data.cmafPackage !== undefined && data.cmafPackage !== null) {
1499
1499
  contents.CmafPackage = deserializeAws_restJson1CmafPackage(data.cmafPackage, context);
@@ -1502,34 +1502,34 @@ const deserializeAws_restJson1DescribeOriginEndpointCommand = async (output, con
1502
1502
  contents.DashPackage = deserializeAws_restJson1DashPackage(data.dashPackage, context);
1503
1503
  }
1504
1504
  if (data.description !== undefined && data.description !== null) {
1505
- contents.Description = (0, smithy_client_1.expectString)(data.description);
1505
+ contents.Description = smithy_client_1.expectString(data.description);
1506
1506
  }
1507
1507
  if (data.hlsPackage !== undefined && data.hlsPackage !== null) {
1508
1508
  contents.HlsPackage = deserializeAws_restJson1HlsPackage(data.hlsPackage, context);
1509
1509
  }
1510
1510
  if (data.id !== undefined && data.id !== null) {
1511
- contents.Id = (0, smithy_client_1.expectString)(data.id);
1511
+ contents.Id = smithy_client_1.expectString(data.id);
1512
1512
  }
1513
1513
  if (data.manifestName !== undefined && data.manifestName !== null) {
1514
- contents.ManifestName = (0, smithy_client_1.expectString)(data.manifestName);
1514
+ contents.ManifestName = smithy_client_1.expectString(data.manifestName);
1515
1515
  }
1516
1516
  if (data.mssPackage !== undefined && data.mssPackage !== null) {
1517
1517
  contents.MssPackage = deserializeAws_restJson1MssPackage(data.mssPackage, context);
1518
1518
  }
1519
1519
  if (data.origination !== undefined && data.origination !== null) {
1520
- contents.Origination = (0, smithy_client_1.expectString)(data.origination);
1520
+ contents.Origination = smithy_client_1.expectString(data.origination);
1521
1521
  }
1522
1522
  if (data.startoverWindowSeconds !== undefined && data.startoverWindowSeconds !== null) {
1523
- contents.StartoverWindowSeconds = (0, smithy_client_1.expectInt32)(data.startoverWindowSeconds);
1523
+ contents.StartoverWindowSeconds = smithy_client_1.expectInt32(data.startoverWindowSeconds);
1524
1524
  }
1525
1525
  if (data.tags !== undefined && data.tags !== null) {
1526
1526
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
1527
1527
  }
1528
1528
  if (data.timeDelaySeconds !== undefined && data.timeDelaySeconds !== null) {
1529
- contents.TimeDelaySeconds = (0, smithy_client_1.expectInt32)(data.timeDelaySeconds);
1529
+ contents.TimeDelaySeconds = smithy_client_1.expectInt32(data.timeDelaySeconds);
1530
1530
  }
1531
1531
  if (data.url !== undefined && data.url !== null) {
1532
- contents.Url = (0, smithy_client_1.expectString)(data.url);
1532
+ contents.Url = smithy_client_1.expectString(data.url);
1533
1533
  }
1534
1534
  if (data.whitelist !== undefined && data.whitelist !== null) {
1535
1535
  contents.Whitelist = deserializeAws_restJson1__listOf__string(data.whitelist, context);
@@ -1619,12 +1619,12 @@ const deserializeAws_restJson1ListChannelsCommand = async (output, context) => {
1619
1619
  Channels: undefined,
1620
1620
  NextToken: undefined,
1621
1621
  };
1622
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1622
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1623
1623
  if (data.channels !== undefined && data.channels !== null) {
1624
1624
  contents.Channels = deserializeAws_restJson1__listOfChannel(data.channels, context);
1625
1625
  }
1626
1626
  if (data.nextToken !== undefined && data.nextToken !== null) {
1627
- contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1627
+ contents.NextToken = smithy_client_1.expectString(data.nextToken);
1628
1628
  }
1629
1629
  return Promise.resolve(contents);
1630
1630
  };
@@ -1711,12 +1711,12 @@ const deserializeAws_restJson1ListHarvestJobsCommand = async (output, context) =
1711
1711
  HarvestJobs: undefined,
1712
1712
  NextToken: undefined,
1713
1713
  };
1714
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1714
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1715
1715
  if (data.harvestJobs !== undefined && data.harvestJobs !== null) {
1716
1716
  contents.HarvestJobs = deserializeAws_restJson1__listOfHarvestJob(data.harvestJobs, context);
1717
1717
  }
1718
1718
  if (data.nextToken !== undefined && data.nextToken !== null) {
1719
- contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1719
+ contents.NextToken = smithy_client_1.expectString(data.nextToken);
1720
1720
  }
1721
1721
  return Promise.resolve(contents);
1722
1722
  };
@@ -1803,9 +1803,9 @@ const deserializeAws_restJson1ListOriginEndpointsCommand = async (output, contex
1803
1803
  NextToken: undefined,
1804
1804
  OriginEndpoints: undefined,
1805
1805
  };
1806
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1806
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1807
1807
  if (data.nextToken !== undefined && data.nextToken !== null) {
1808
- contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1808
+ contents.NextToken = smithy_client_1.expectString(data.nextToken);
1809
1809
  }
1810
1810
  if (data.originEndpoints !== undefined && data.originEndpoints !== null) {
1811
1811
  contents.OriginEndpoints = deserializeAws_restJson1__listOfOriginEndpoint(data.originEndpoints, context);
@@ -1894,7 +1894,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
1894
1894
  $metadata: deserializeMetadata(output),
1895
1895
  Tags: undefined,
1896
1896
  };
1897
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1897
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1898
1898
  if (data.tags !== undefined && data.tags !== null) {
1899
1899
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1900
1900
  }
@@ -1940,12 +1940,12 @@ const deserializeAws_restJson1RotateChannelCredentialsCommand = async (output, c
1940
1940
  IngressAccessLogs: undefined,
1941
1941
  Tags: undefined,
1942
1942
  };
1943
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1943
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1944
1944
  if (data.arn !== undefined && data.arn !== null) {
1945
- contents.Arn = (0, smithy_client_1.expectString)(data.arn);
1945
+ contents.Arn = smithy_client_1.expectString(data.arn);
1946
1946
  }
1947
1947
  if (data.description !== undefined && data.description !== null) {
1948
- contents.Description = (0, smithy_client_1.expectString)(data.description);
1948
+ contents.Description = smithy_client_1.expectString(data.description);
1949
1949
  }
1950
1950
  if (data.egressAccessLogs !== undefined && data.egressAccessLogs !== null) {
1951
1951
  contents.EgressAccessLogs = deserializeAws_restJson1EgressAccessLogs(data.egressAccessLogs, context);
@@ -1954,7 +1954,7 @@ const deserializeAws_restJson1RotateChannelCredentialsCommand = async (output, c
1954
1954
  contents.HlsIngest = deserializeAws_restJson1HlsIngest(data.hlsIngest, context);
1955
1955
  }
1956
1956
  if (data.id !== undefined && data.id !== null) {
1957
- contents.Id = (0, smithy_client_1.expectString)(data.id);
1957
+ contents.Id = smithy_client_1.expectString(data.id);
1958
1958
  }
1959
1959
  if (data.ingressAccessLogs !== undefined && data.ingressAccessLogs !== null) {
1960
1960
  contents.IngressAccessLogs = deserializeAws_restJson1IngressAccessLogs(data.ingressAccessLogs, context);
@@ -2052,12 +2052,12 @@ const deserializeAws_restJson1RotateIngestEndpointCredentialsCommand = async (ou
2052
2052
  IngressAccessLogs: undefined,
2053
2053
  Tags: undefined,
2054
2054
  };
2055
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2055
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2056
2056
  if (data.arn !== undefined && data.arn !== null) {
2057
- contents.Arn = (0, smithy_client_1.expectString)(data.arn);
2057
+ contents.Arn = smithy_client_1.expectString(data.arn);
2058
2058
  }
2059
2059
  if (data.description !== undefined && data.description !== null) {
2060
- contents.Description = (0, smithy_client_1.expectString)(data.description);
2060
+ contents.Description = smithy_client_1.expectString(data.description);
2061
2061
  }
2062
2062
  if (data.egressAccessLogs !== undefined && data.egressAccessLogs !== null) {
2063
2063
  contents.EgressAccessLogs = deserializeAws_restJson1EgressAccessLogs(data.egressAccessLogs, context);
@@ -2066,7 +2066,7 @@ const deserializeAws_restJson1RotateIngestEndpointCredentialsCommand = async (ou
2066
2066
  contents.HlsIngest = deserializeAws_restJson1HlsIngest(data.hlsIngest, context);
2067
2067
  }
2068
2068
  if (data.id !== undefined && data.id !== null) {
2069
- contents.Id = (0, smithy_client_1.expectString)(data.id);
2069
+ contents.Id = smithy_client_1.expectString(data.id);
2070
2070
  }
2071
2071
  if (data.ingressAccessLogs !== undefined && data.ingressAccessLogs !== null) {
2072
2072
  contents.IngressAccessLogs = deserializeAws_restJson1IngressAccessLogs(data.ingressAccessLogs, context);
@@ -2236,12 +2236,12 @@ const deserializeAws_restJson1UpdateChannelCommand = async (output, context) =>
2236
2236
  IngressAccessLogs: undefined,
2237
2237
  Tags: undefined,
2238
2238
  };
2239
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2239
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2240
2240
  if (data.arn !== undefined && data.arn !== null) {
2241
- contents.Arn = (0, smithy_client_1.expectString)(data.arn);
2241
+ contents.Arn = smithy_client_1.expectString(data.arn);
2242
2242
  }
2243
2243
  if (data.description !== undefined && data.description !== null) {
2244
- contents.Description = (0, smithy_client_1.expectString)(data.description);
2244
+ contents.Description = smithy_client_1.expectString(data.description);
2245
2245
  }
2246
2246
  if (data.egressAccessLogs !== undefined && data.egressAccessLogs !== null) {
2247
2247
  contents.EgressAccessLogs = deserializeAws_restJson1EgressAccessLogs(data.egressAccessLogs, context);
@@ -2250,7 +2250,7 @@ const deserializeAws_restJson1UpdateChannelCommand = async (output, context) =>
2250
2250
  contents.HlsIngest = deserializeAws_restJson1HlsIngest(data.hlsIngest, context);
2251
2251
  }
2252
2252
  if (data.id !== undefined && data.id !== null) {
2253
- contents.Id = (0, smithy_client_1.expectString)(data.id);
2253
+ contents.Id = smithy_client_1.expectString(data.id);
2254
2254
  }
2255
2255
  if (data.ingressAccessLogs !== undefined && data.ingressAccessLogs !== null) {
2256
2256
  contents.IngressAccessLogs = deserializeAws_restJson1IngressAccessLogs(data.ingressAccessLogs, context);
@@ -2357,15 +2357,15 @@ const deserializeAws_restJson1UpdateOriginEndpointCommand = async (output, conte
2357
2357
  Url: undefined,
2358
2358
  Whitelist: undefined,
2359
2359
  };
2360
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2360
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2361
2361
  if (data.arn !== undefined && data.arn !== null) {
2362
- contents.Arn = (0, smithy_client_1.expectString)(data.arn);
2362
+ contents.Arn = smithy_client_1.expectString(data.arn);
2363
2363
  }
2364
2364
  if (data.authorization !== undefined && data.authorization !== null) {
2365
2365
  contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
2366
2366
  }
2367
2367
  if (data.channelId !== undefined && data.channelId !== null) {
2368
- contents.ChannelId = (0, smithy_client_1.expectString)(data.channelId);
2368
+ contents.ChannelId = smithy_client_1.expectString(data.channelId);
2369
2369
  }
2370
2370
  if (data.cmafPackage !== undefined && data.cmafPackage !== null) {
2371
2371
  contents.CmafPackage = deserializeAws_restJson1CmafPackage(data.cmafPackage, context);
@@ -2374,34 +2374,34 @@ const deserializeAws_restJson1UpdateOriginEndpointCommand = async (output, conte
2374
2374
  contents.DashPackage = deserializeAws_restJson1DashPackage(data.dashPackage, context);
2375
2375
  }
2376
2376
  if (data.description !== undefined && data.description !== null) {
2377
- contents.Description = (0, smithy_client_1.expectString)(data.description);
2377
+ contents.Description = smithy_client_1.expectString(data.description);
2378
2378
  }
2379
2379
  if (data.hlsPackage !== undefined && data.hlsPackage !== null) {
2380
2380
  contents.HlsPackage = deserializeAws_restJson1HlsPackage(data.hlsPackage, context);
2381
2381
  }
2382
2382
  if (data.id !== undefined && data.id !== null) {
2383
- contents.Id = (0, smithy_client_1.expectString)(data.id);
2383
+ contents.Id = smithy_client_1.expectString(data.id);
2384
2384
  }
2385
2385
  if (data.manifestName !== undefined && data.manifestName !== null) {
2386
- contents.ManifestName = (0, smithy_client_1.expectString)(data.manifestName);
2386
+ contents.ManifestName = smithy_client_1.expectString(data.manifestName);
2387
2387
  }
2388
2388
  if (data.mssPackage !== undefined && data.mssPackage !== null) {
2389
2389
  contents.MssPackage = deserializeAws_restJson1MssPackage(data.mssPackage, context);
2390
2390
  }
2391
2391
  if (data.origination !== undefined && data.origination !== null) {
2392
- contents.Origination = (0, smithy_client_1.expectString)(data.origination);
2392
+ contents.Origination = smithy_client_1.expectString(data.origination);
2393
2393
  }
2394
2394
  if (data.startoverWindowSeconds !== undefined && data.startoverWindowSeconds !== null) {
2395
- contents.StartoverWindowSeconds = (0, smithy_client_1.expectInt32)(data.startoverWindowSeconds);
2395
+ contents.StartoverWindowSeconds = smithy_client_1.expectInt32(data.startoverWindowSeconds);
2396
2396
  }
2397
2397
  if (data.tags !== undefined && data.tags !== null) {
2398
2398
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
2399
2399
  }
2400
2400
  if (data.timeDelaySeconds !== undefined && data.timeDelaySeconds !== null) {
2401
- contents.TimeDelaySeconds = (0, smithy_client_1.expectInt32)(data.timeDelaySeconds);
2401
+ contents.TimeDelaySeconds = smithy_client_1.expectInt32(data.timeDelaySeconds);
2402
2402
  }
2403
2403
  if (data.url !== undefined && data.url !== null) {
2404
- contents.Url = (0, smithy_client_1.expectString)(data.url);
2404
+ contents.Url = smithy_client_1.expectString(data.url);
2405
2405
  }
2406
2406
  if (data.whitelist !== undefined && data.whitelist !== null) {
2407
2407
  contents.Whitelist = deserializeAws_restJson1__listOf__string(data.whitelist, context);
@@ -2491,7 +2491,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
2491
2491
  };
2492
2492
  const data = parsedOutput.body;
2493
2493
  if (data.message !== undefined && data.message !== null) {
2494
- contents.Message = (0, smithy_client_1.expectString)(data.message);
2494
+ contents.Message = smithy_client_1.expectString(data.message);
2495
2495
  }
2496
2496
  return contents;
2497
2497
  };
@@ -2504,7 +2504,7 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
2504
2504
  };
2505
2505
  const data = parsedOutput.body;
2506
2506
  if (data.message !== undefined && data.message !== null) {
2507
- contents.Message = (0, smithy_client_1.expectString)(data.message);
2507
+ contents.Message = smithy_client_1.expectString(data.message);
2508
2508
  }
2509
2509
  return contents;
2510
2510
  };
@@ -2517,7 +2517,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
2517
2517
  };
2518
2518
  const data = parsedOutput.body;
2519
2519
  if (data.message !== undefined && data.message !== null) {
2520
- contents.Message = (0, smithy_client_1.expectString)(data.message);
2520
+ contents.Message = smithy_client_1.expectString(data.message);
2521
2521
  }
2522
2522
  return contents;
2523
2523
  };
@@ -2530,7 +2530,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
2530
2530
  };
2531
2531
  const data = parsedOutput.body;
2532
2532
  if (data.message !== undefined && data.message !== null) {
2533
- contents.Message = (0, smithy_client_1.expectString)(data.message);
2533
+ contents.Message = smithy_client_1.expectString(data.message);
2534
2534
  }
2535
2535
  return contents;
2536
2536
  };
@@ -2543,7 +2543,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
2543
2543
  };
2544
2544
  const data = parsedOutput.body;
2545
2545
  if (data.message !== undefined && data.message !== null) {
2546
- contents.Message = (0, smithy_client_1.expectString)(data.message);
2546
+ contents.Message = smithy_client_1.expectString(data.message);
2547
2547
  }
2548
2548
  return contents;
2549
2549
  };
@@ -2556,7 +2556,7 @@ const deserializeAws_restJson1UnprocessableEntityExceptionResponse = async (pars
2556
2556
  };
2557
2557
  const data = parsedOutput.body;
2558
2558
  if (data.message !== undefined && data.message !== null) {
2559
- contents.Message = (0, smithy_client_1.expectString)(data.message);
2559
+ contents.Message = smithy_client_1.expectString(data.message);
2560
2560
  }
2561
2561
  return contents;
2562
2562
  };
@@ -2851,7 +2851,7 @@ const deserializeAws_restJson1__listOf__PeriodTriggersElement = (output, context
2851
2851
  if (entry === null) {
2852
2852
  return null;
2853
2853
  }
2854
- return (0, smithy_client_1.expectString)(entry);
2854
+ return smithy_client_1.expectString(entry);
2855
2855
  });
2856
2856
  };
2857
2857
  const deserializeAws_restJson1__listOf__string = (output, context) => {
@@ -2861,7 +2861,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
2861
2861
  if (entry === null) {
2862
2862
  return null;
2863
2863
  }
2864
- return (0, smithy_client_1.expectString)(entry);
2864
+ return smithy_client_1.expectString(entry);
2865
2865
  });
2866
2866
  };
2867
2867
  const deserializeAws_restJson1__listOfChannel = (output, context) => {
@@ -2921,7 +2921,7 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
2921
2921
  }
2922
2922
  return {
2923
2923
  ...acc,
2924
- [key]: (0, smithy_client_1.expectString)(value),
2924
+ [key]: smithy_client_1.expectString(value),
2925
2925
  };
2926
2926
  }, {});
2927
2927
  };
@@ -2932,26 +2932,26 @@ const deserializeAws_restJson1AdTriggers = (output, context) => {
2932
2932
  if (entry === null) {
2933
2933
  return null;
2934
2934
  }
2935
- return (0, smithy_client_1.expectString)(entry);
2935
+ return smithy_client_1.expectString(entry);
2936
2936
  });
2937
2937
  };
2938
2938
  const deserializeAws_restJson1Authorization = (output, context) => {
2939
2939
  return {
2940
- CdnIdentifierSecret: (0, smithy_client_1.expectString)(output.cdnIdentifierSecret),
2941
- SecretsRoleArn: (0, smithy_client_1.expectString)(output.secretsRoleArn),
2940
+ CdnIdentifierSecret: smithy_client_1.expectString(output.cdnIdentifierSecret),
2941
+ SecretsRoleArn: smithy_client_1.expectString(output.secretsRoleArn),
2942
2942
  };
2943
2943
  };
2944
2944
  const deserializeAws_restJson1Channel = (output, context) => {
2945
2945
  return {
2946
- Arn: (0, smithy_client_1.expectString)(output.arn),
2947
- Description: (0, smithy_client_1.expectString)(output.description),
2946
+ Arn: smithy_client_1.expectString(output.arn),
2947
+ Description: smithy_client_1.expectString(output.description),
2948
2948
  EgressAccessLogs: output.egressAccessLogs !== undefined && output.egressAccessLogs !== null
2949
2949
  ? deserializeAws_restJson1EgressAccessLogs(output.egressAccessLogs, context)
2950
2950
  : undefined,
2951
2951
  HlsIngest: output.hlsIngest !== undefined && output.hlsIngest !== null
2952
2952
  ? deserializeAws_restJson1HlsIngest(output.hlsIngest, context)
2953
2953
  : undefined,
2954
- Id: (0, smithy_client_1.expectString)(output.id),
2954
+ Id: smithy_client_1.expectString(output.id),
2955
2955
  IngressAccessLogs: output.ingressAccessLogs !== undefined && output.ingressAccessLogs !== null
2956
2956
  ? deserializeAws_restJson1IngressAccessLogs(output.ingressAccessLogs, context)
2957
2957
  : undefined,
@@ -2962,8 +2962,8 @@ const deserializeAws_restJson1Channel = (output, context) => {
2962
2962
  };
2963
2963
  const deserializeAws_restJson1CmafEncryption = (output, context) => {
2964
2964
  return {
2965
- ConstantInitializationVector: (0, smithy_client_1.expectString)(output.constantInitializationVector),
2966
- KeyRotationIntervalSeconds: (0, smithy_client_1.expectInt32)(output.keyRotationIntervalSeconds),
2965
+ ConstantInitializationVector: smithy_client_1.expectString(output.constantInitializationVector),
2966
+ KeyRotationIntervalSeconds: smithy_client_1.expectInt32(output.keyRotationIntervalSeconds),
2967
2967
  SpekeKeyProvider: output.spekeKeyProvider !== undefined && output.spekeKeyProvider !== null
2968
2968
  ? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
2969
2969
  : undefined,
@@ -2977,8 +2977,8 @@ const deserializeAws_restJson1CmafPackage = (output, context) => {
2977
2977
  HlsManifests: output.hlsManifests !== undefined && output.hlsManifests !== null
2978
2978
  ? deserializeAws_restJson1__listOfHlsManifest(output.hlsManifests, context)
2979
2979
  : undefined,
2980
- SegmentDurationSeconds: (0, smithy_client_1.expectInt32)(output.segmentDurationSeconds),
2981
- SegmentPrefix: (0, smithy_client_1.expectString)(output.segmentPrefix),
2980
+ SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
2981
+ SegmentPrefix: smithy_client_1.expectString(output.segmentPrefix),
2982
2982
  StreamSelection: output.streamSelection !== undefined && output.streamSelection !== null
2983
2983
  ? deserializeAws_restJson1StreamSelection(output.streamSelection, context)
2984
2984
  : undefined,
@@ -2986,7 +2986,7 @@ const deserializeAws_restJson1CmafPackage = (output, context) => {
2986
2986
  };
2987
2987
  const deserializeAws_restJson1DashEncryption = (output, context) => {
2988
2988
  return {
2989
- KeyRotationIntervalSeconds: (0, smithy_client_1.expectInt32)(output.keyRotationIntervalSeconds),
2989
+ KeyRotationIntervalSeconds: smithy_client_1.expectInt32(output.keyRotationIntervalSeconds),
2990
2990
  SpekeKeyProvider: output.spekeKeyProvider !== undefined && output.spekeKeyProvider !== null
2991
2991
  ? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
2992
2992
  : undefined,
@@ -2997,60 +2997,60 @@ const deserializeAws_restJson1DashPackage = (output, context) => {
2997
2997
  AdTriggers: output.adTriggers !== undefined && output.adTriggers !== null
2998
2998
  ? deserializeAws_restJson1AdTriggers(output.adTriggers, context)
2999
2999
  : undefined,
3000
- AdsOnDeliveryRestrictions: (0, smithy_client_1.expectString)(output.adsOnDeliveryRestrictions),
3000
+ AdsOnDeliveryRestrictions: smithy_client_1.expectString(output.adsOnDeliveryRestrictions),
3001
3001
  Encryption: output.encryption !== undefined && output.encryption !== null
3002
3002
  ? deserializeAws_restJson1DashEncryption(output.encryption, context)
3003
3003
  : undefined,
3004
- ManifestLayout: (0, smithy_client_1.expectString)(output.manifestLayout),
3005
- ManifestWindowSeconds: (0, smithy_client_1.expectInt32)(output.manifestWindowSeconds),
3006
- MinBufferTimeSeconds: (0, smithy_client_1.expectInt32)(output.minBufferTimeSeconds),
3007
- MinUpdatePeriodSeconds: (0, smithy_client_1.expectInt32)(output.minUpdatePeriodSeconds),
3004
+ ManifestLayout: smithy_client_1.expectString(output.manifestLayout),
3005
+ ManifestWindowSeconds: smithy_client_1.expectInt32(output.manifestWindowSeconds),
3006
+ MinBufferTimeSeconds: smithy_client_1.expectInt32(output.minBufferTimeSeconds),
3007
+ MinUpdatePeriodSeconds: smithy_client_1.expectInt32(output.minUpdatePeriodSeconds),
3008
3008
  PeriodTriggers: output.periodTriggers !== undefined && output.periodTriggers !== null
3009
3009
  ? deserializeAws_restJson1__listOf__PeriodTriggersElement(output.periodTriggers, context)
3010
3010
  : undefined,
3011
- Profile: (0, smithy_client_1.expectString)(output.profile),
3012
- SegmentDurationSeconds: (0, smithy_client_1.expectInt32)(output.segmentDurationSeconds),
3013
- SegmentTemplateFormat: (0, smithy_client_1.expectString)(output.segmentTemplateFormat),
3011
+ Profile: smithy_client_1.expectString(output.profile),
3012
+ SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
3013
+ SegmentTemplateFormat: smithy_client_1.expectString(output.segmentTemplateFormat),
3014
3014
  StreamSelection: output.streamSelection !== undefined && output.streamSelection !== null
3015
3015
  ? deserializeAws_restJson1StreamSelection(output.streamSelection, context)
3016
3016
  : undefined,
3017
- SuggestedPresentationDelaySeconds: (0, smithy_client_1.expectInt32)(output.suggestedPresentationDelaySeconds),
3018
- UtcTiming: (0, smithy_client_1.expectString)(output.utcTiming),
3019
- UtcTimingUri: (0, smithy_client_1.expectString)(output.utcTimingUri),
3017
+ SuggestedPresentationDelaySeconds: smithy_client_1.expectInt32(output.suggestedPresentationDelaySeconds),
3018
+ UtcTiming: smithy_client_1.expectString(output.utcTiming),
3019
+ UtcTimingUri: smithy_client_1.expectString(output.utcTimingUri),
3020
3020
  };
3021
3021
  };
3022
3022
  const deserializeAws_restJson1EgressAccessLogs = (output, context) => {
3023
3023
  return {
3024
- LogGroupName: (0, smithy_client_1.expectString)(output.logGroupName),
3024
+ LogGroupName: smithy_client_1.expectString(output.logGroupName),
3025
3025
  };
3026
3026
  };
3027
3027
  const deserializeAws_restJson1EncryptionContractConfiguration = (output, context) => {
3028
3028
  return {
3029
- PresetSpeke20Audio: (0, smithy_client_1.expectString)(output.presetSpeke20Audio),
3030
- PresetSpeke20Video: (0, smithy_client_1.expectString)(output.presetSpeke20Video),
3029
+ PresetSpeke20Audio: smithy_client_1.expectString(output.presetSpeke20Audio),
3030
+ PresetSpeke20Video: smithy_client_1.expectString(output.presetSpeke20Video),
3031
3031
  };
3032
3032
  };
3033
3033
  const deserializeAws_restJson1HarvestJob = (output, context) => {
3034
3034
  return {
3035
- Arn: (0, smithy_client_1.expectString)(output.arn),
3036
- ChannelId: (0, smithy_client_1.expectString)(output.channelId),
3037
- CreatedAt: (0, smithy_client_1.expectString)(output.createdAt),
3038
- EndTime: (0, smithy_client_1.expectString)(output.endTime),
3039
- Id: (0, smithy_client_1.expectString)(output.id),
3040
- OriginEndpointId: (0, smithy_client_1.expectString)(output.originEndpointId),
3035
+ Arn: smithy_client_1.expectString(output.arn),
3036
+ ChannelId: smithy_client_1.expectString(output.channelId),
3037
+ CreatedAt: smithy_client_1.expectString(output.createdAt),
3038
+ EndTime: smithy_client_1.expectString(output.endTime),
3039
+ Id: smithy_client_1.expectString(output.id),
3040
+ OriginEndpointId: smithy_client_1.expectString(output.originEndpointId),
3041
3041
  S3Destination: output.s3Destination !== undefined && output.s3Destination !== null
3042
3042
  ? deserializeAws_restJson1S3Destination(output.s3Destination, context)
3043
3043
  : undefined,
3044
- StartTime: (0, smithy_client_1.expectString)(output.startTime),
3045
- Status: (0, smithy_client_1.expectString)(output.status),
3044
+ StartTime: smithy_client_1.expectString(output.startTime),
3045
+ Status: smithy_client_1.expectString(output.status),
3046
3046
  };
3047
3047
  };
3048
3048
  const deserializeAws_restJson1HlsEncryption = (output, context) => {
3049
3049
  return {
3050
- ConstantInitializationVector: (0, smithy_client_1.expectString)(output.constantInitializationVector),
3051
- EncryptionMethod: (0, smithy_client_1.expectString)(output.encryptionMethod),
3052
- KeyRotationIntervalSeconds: (0, smithy_client_1.expectInt32)(output.keyRotationIntervalSeconds),
3053
- RepeatExtXKey: (0, smithy_client_1.expectBoolean)(output.repeatExtXKey),
3050
+ ConstantInitializationVector: smithy_client_1.expectString(output.constantInitializationVector),
3051
+ EncryptionMethod: smithy_client_1.expectString(output.encryptionMethod),
3052
+ KeyRotationIntervalSeconds: smithy_client_1.expectInt32(output.keyRotationIntervalSeconds),
3053
+ RepeatExtXKey: smithy_client_1.expectBoolean(output.repeatExtXKey),
3054
3054
  SpekeKeyProvider: output.spekeKeyProvider !== undefined && output.spekeKeyProvider !== null
3055
3055
  ? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
3056
3056
  : undefined,
@@ -3065,48 +3065,48 @@ const deserializeAws_restJson1HlsIngest = (output, context) => {
3065
3065
  };
3066
3066
  const deserializeAws_restJson1HlsManifest = (output, context) => {
3067
3067
  return {
3068
- AdMarkers: (0, smithy_client_1.expectString)(output.adMarkers),
3069
- Id: (0, smithy_client_1.expectString)(output.id),
3070
- IncludeIframeOnlyStream: (0, smithy_client_1.expectBoolean)(output.includeIframeOnlyStream),
3071
- ManifestName: (0, smithy_client_1.expectString)(output.manifestName),
3072
- PlaylistType: (0, smithy_client_1.expectString)(output.playlistType),
3073
- PlaylistWindowSeconds: (0, smithy_client_1.expectInt32)(output.playlistWindowSeconds),
3074
- ProgramDateTimeIntervalSeconds: (0, smithy_client_1.expectInt32)(output.programDateTimeIntervalSeconds),
3075
- Url: (0, smithy_client_1.expectString)(output.url),
3068
+ AdMarkers: smithy_client_1.expectString(output.adMarkers),
3069
+ Id: smithy_client_1.expectString(output.id),
3070
+ IncludeIframeOnlyStream: smithy_client_1.expectBoolean(output.includeIframeOnlyStream),
3071
+ ManifestName: smithy_client_1.expectString(output.manifestName),
3072
+ PlaylistType: smithy_client_1.expectString(output.playlistType),
3073
+ PlaylistWindowSeconds: smithy_client_1.expectInt32(output.playlistWindowSeconds),
3074
+ ProgramDateTimeIntervalSeconds: smithy_client_1.expectInt32(output.programDateTimeIntervalSeconds),
3075
+ Url: smithy_client_1.expectString(output.url),
3076
3076
  };
3077
3077
  };
3078
3078
  const deserializeAws_restJson1HlsPackage = (output, context) => {
3079
3079
  return {
3080
- AdMarkers: (0, smithy_client_1.expectString)(output.adMarkers),
3080
+ AdMarkers: smithy_client_1.expectString(output.adMarkers),
3081
3081
  AdTriggers: output.adTriggers !== undefined && output.adTriggers !== null
3082
3082
  ? deserializeAws_restJson1AdTriggers(output.adTriggers, context)
3083
3083
  : undefined,
3084
- AdsOnDeliveryRestrictions: (0, smithy_client_1.expectString)(output.adsOnDeliveryRestrictions),
3084
+ AdsOnDeliveryRestrictions: smithy_client_1.expectString(output.adsOnDeliveryRestrictions),
3085
3085
  Encryption: output.encryption !== undefined && output.encryption !== null
3086
3086
  ? deserializeAws_restJson1HlsEncryption(output.encryption, context)
3087
3087
  : undefined,
3088
- IncludeIframeOnlyStream: (0, smithy_client_1.expectBoolean)(output.includeIframeOnlyStream),
3089
- PlaylistType: (0, smithy_client_1.expectString)(output.playlistType),
3090
- PlaylistWindowSeconds: (0, smithy_client_1.expectInt32)(output.playlistWindowSeconds),
3091
- ProgramDateTimeIntervalSeconds: (0, smithy_client_1.expectInt32)(output.programDateTimeIntervalSeconds),
3092
- SegmentDurationSeconds: (0, smithy_client_1.expectInt32)(output.segmentDurationSeconds),
3088
+ IncludeIframeOnlyStream: smithy_client_1.expectBoolean(output.includeIframeOnlyStream),
3089
+ PlaylistType: smithy_client_1.expectString(output.playlistType),
3090
+ PlaylistWindowSeconds: smithy_client_1.expectInt32(output.playlistWindowSeconds),
3091
+ ProgramDateTimeIntervalSeconds: smithy_client_1.expectInt32(output.programDateTimeIntervalSeconds),
3092
+ SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
3093
3093
  StreamSelection: output.streamSelection !== undefined && output.streamSelection !== null
3094
3094
  ? deserializeAws_restJson1StreamSelection(output.streamSelection, context)
3095
3095
  : undefined,
3096
- UseAudioRenditionGroup: (0, smithy_client_1.expectBoolean)(output.useAudioRenditionGroup),
3096
+ UseAudioRenditionGroup: smithy_client_1.expectBoolean(output.useAudioRenditionGroup),
3097
3097
  };
3098
3098
  };
3099
3099
  const deserializeAws_restJson1IngestEndpoint = (output, context) => {
3100
3100
  return {
3101
- Id: (0, smithy_client_1.expectString)(output.id),
3102
- Password: (0, smithy_client_1.expectString)(output.password),
3103
- Url: (0, smithy_client_1.expectString)(output.url),
3104
- Username: (0, smithy_client_1.expectString)(output.username),
3101
+ Id: smithy_client_1.expectString(output.id),
3102
+ Password: smithy_client_1.expectString(output.password),
3103
+ Url: smithy_client_1.expectString(output.url),
3104
+ Username: smithy_client_1.expectString(output.username),
3105
3105
  };
3106
3106
  };
3107
3107
  const deserializeAws_restJson1IngressAccessLogs = (output, context) => {
3108
3108
  return {
3109
- LogGroupName: (0, smithy_client_1.expectString)(output.logGroupName),
3109
+ LogGroupName: smithy_client_1.expectString(output.logGroupName),
3110
3110
  };
3111
3111
  };
3112
3112
  const deserializeAws_restJson1MssEncryption = (output, context) => {
@@ -3121,8 +3121,8 @@ const deserializeAws_restJson1MssPackage = (output, context) => {
3121
3121
  Encryption: output.encryption !== undefined && output.encryption !== null
3122
3122
  ? deserializeAws_restJson1MssEncryption(output.encryption, context)
3123
3123
  : undefined,
3124
- ManifestWindowSeconds: (0, smithy_client_1.expectInt32)(output.manifestWindowSeconds),
3125
- SegmentDurationSeconds: (0, smithy_client_1.expectInt32)(output.segmentDurationSeconds),
3124
+ ManifestWindowSeconds: smithy_client_1.expectInt32(output.manifestWindowSeconds),
3125
+ SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
3126
3126
  StreamSelection: output.streamSelection !== undefined && output.streamSelection !== null
3127
3127
  ? deserializeAws_restJson1StreamSelection(output.streamSelection, context)
3128
3128
  : undefined,
@@ -3130,33 +3130,33 @@ const deserializeAws_restJson1MssPackage = (output, context) => {
3130
3130
  };
3131
3131
  const deserializeAws_restJson1OriginEndpoint = (output, context) => {
3132
3132
  return {
3133
- Arn: (0, smithy_client_1.expectString)(output.arn),
3133
+ Arn: smithy_client_1.expectString(output.arn),
3134
3134
  Authorization: output.authorization !== undefined && output.authorization !== null
3135
3135
  ? deserializeAws_restJson1Authorization(output.authorization, context)
3136
3136
  : undefined,
3137
- ChannelId: (0, smithy_client_1.expectString)(output.channelId),
3137
+ ChannelId: smithy_client_1.expectString(output.channelId),
3138
3138
  CmafPackage: output.cmafPackage !== undefined && output.cmafPackage !== null
3139
3139
  ? deserializeAws_restJson1CmafPackage(output.cmafPackage, context)
3140
3140
  : undefined,
3141
3141
  DashPackage: output.dashPackage !== undefined && output.dashPackage !== null
3142
3142
  ? deserializeAws_restJson1DashPackage(output.dashPackage, context)
3143
3143
  : undefined,
3144
- Description: (0, smithy_client_1.expectString)(output.description),
3144
+ Description: smithy_client_1.expectString(output.description),
3145
3145
  HlsPackage: output.hlsPackage !== undefined && output.hlsPackage !== null
3146
3146
  ? deserializeAws_restJson1HlsPackage(output.hlsPackage, context)
3147
3147
  : undefined,
3148
- Id: (0, smithy_client_1.expectString)(output.id),
3149
- ManifestName: (0, smithy_client_1.expectString)(output.manifestName),
3148
+ Id: smithy_client_1.expectString(output.id),
3149
+ ManifestName: smithy_client_1.expectString(output.manifestName),
3150
3150
  MssPackage: output.mssPackage !== undefined && output.mssPackage !== null
3151
3151
  ? deserializeAws_restJson1MssPackage(output.mssPackage, context)
3152
3152
  : undefined,
3153
- Origination: (0, smithy_client_1.expectString)(output.origination),
3154
- StartoverWindowSeconds: (0, smithy_client_1.expectInt32)(output.startoverWindowSeconds),
3153
+ Origination: smithy_client_1.expectString(output.origination),
3154
+ StartoverWindowSeconds: smithy_client_1.expectInt32(output.startoverWindowSeconds),
3155
3155
  Tags: output.tags !== undefined && output.tags !== null
3156
3156
  ? deserializeAws_restJson1Tags(output.tags, context)
3157
3157
  : undefined,
3158
- TimeDelaySeconds: (0, smithy_client_1.expectInt32)(output.timeDelaySeconds),
3159
- Url: (0, smithy_client_1.expectString)(output.url),
3158
+ TimeDelaySeconds: smithy_client_1.expectInt32(output.timeDelaySeconds),
3159
+ Url: smithy_client_1.expectString(output.url),
3160
3160
  Whitelist: output.whitelist !== undefined && output.whitelist !== null
3161
3161
  ? deserializeAws_restJson1__listOf__string(output.whitelist, context)
3162
3162
  : undefined,
@@ -3164,30 +3164,30 @@ const deserializeAws_restJson1OriginEndpoint = (output, context) => {
3164
3164
  };
3165
3165
  const deserializeAws_restJson1S3Destination = (output, context) => {
3166
3166
  return {
3167
- BucketName: (0, smithy_client_1.expectString)(output.bucketName),
3168
- ManifestKey: (0, smithy_client_1.expectString)(output.manifestKey),
3169
- RoleArn: (0, smithy_client_1.expectString)(output.roleArn),
3167
+ BucketName: smithy_client_1.expectString(output.bucketName),
3168
+ ManifestKey: smithy_client_1.expectString(output.manifestKey),
3169
+ RoleArn: smithy_client_1.expectString(output.roleArn),
3170
3170
  };
3171
3171
  };
3172
3172
  const deserializeAws_restJson1SpekeKeyProvider = (output, context) => {
3173
3173
  return {
3174
- CertificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
3174
+ CertificateArn: smithy_client_1.expectString(output.certificateArn),
3175
3175
  EncryptionContractConfiguration: output.encryptionContractConfiguration !== undefined && output.encryptionContractConfiguration !== null
3176
3176
  ? deserializeAws_restJson1EncryptionContractConfiguration(output.encryptionContractConfiguration, context)
3177
3177
  : undefined,
3178
- ResourceId: (0, smithy_client_1.expectString)(output.resourceId),
3179
- RoleArn: (0, smithy_client_1.expectString)(output.roleArn),
3178
+ ResourceId: smithy_client_1.expectString(output.resourceId),
3179
+ RoleArn: smithy_client_1.expectString(output.roleArn),
3180
3180
  SystemIds: output.systemIds !== undefined && output.systemIds !== null
3181
3181
  ? deserializeAws_restJson1__listOf__string(output.systemIds, context)
3182
3182
  : undefined,
3183
- Url: (0, smithy_client_1.expectString)(output.url),
3183
+ Url: smithy_client_1.expectString(output.url),
3184
3184
  };
3185
3185
  };
3186
3186
  const deserializeAws_restJson1StreamSelection = (output, context) => {
3187
3187
  return {
3188
- MaxVideoBitsPerSecond: (0, smithy_client_1.expectInt32)(output.maxVideoBitsPerSecond),
3189
- MinVideoBitsPerSecond: (0, smithy_client_1.expectInt32)(output.minVideoBitsPerSecond),
3190
- StreamOrder: (0, smithy_client_1.expectString)(output.streamOrder),
3188
+ MaxVideoBitsPerSecond: smithy_client_1.expectInt32(output.maxVideoBitsPerSecond),
3189
+ MinVideoBitsPerSecond: smithy_client_1.expectInt32(output.minVideoBitsPerSecond),
3190
+ StreamOrder: smithy_client_1.expectString(output.streamOrder),
3191
3191
  };
3192
3192
  };
3193
3193
  const deserializeAws_restJson1Tags = (output, context) => {
@@ -3197,7 +3197,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
3197
3197
  }
3198
3198
  return {
3199
3199
  ...acc,
3200
- [key]: (0, smithy_client_1.expectString)(value),
3200
+ [key]: smithy_client_1.expectString(value),
3201
3201
  };
3202
3202
  }, {});
3203
3203
  };