@aws-sdk/client-mediapackagev2 3.438.0 → 3.439.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.
@@ -76,10 +76,13 @@ exports.ValidationExceptionType = {
76
76
  ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED",
77
77
  ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE",
78
78
  ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH: "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH",
79
+ END_TIME_EARLIER_THAN_START_TIME: "END_TIME_EARLIER_THAN_START_TIME",
80
+ INVALID_MANIFEST_FILTER: "INVALID_MANIFEST_FILTER",
79
81
  INVALID_PAGINATION_MAX_RESULTS: "INVALID_PAGINATION_MAX_RESULTS",
80
82
  INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN",
81
83
  INVALID_POLICY: "INVALID_POLICY",
82
84
  INVALID_ROLE_ARN: "INVALID_ROLE_ARN",
85
+ INVALID_TIME_DELAY_SECONDS: "INVALID_TIME_DELAY_SECONDS",
83
86
  MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION",
84
87
  MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN",
85
88
  MEMBER_INVALID: "MEMBER_INVALID",
@@ -68,8 +68,8 @@ const se_CreateOriginEndpointCommand = async (input, context) => {
68
68
  body = JSON.stringify((0, smithy_client_1.take)(input, {
69
69
  ContainerType: [],
70
70
  Description: [],
71
- HlsManifests: (_) => (0, smithy_client_1._json)(_),
72
- LowLatencyHlsManifests: (_) => (0, smithy_client_1._json)(_),
71
+ HlsManifests: (_) => se_CreateHlsManifests(_, context),
72
+ LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
73
73
  OriginEndpointName: [],
74
74
  Segment: (_) => (0, smithy_client_1._json)(_),
75
75
  StartoverWindowSeconds: [],
@@ -515,8 +515,8 @@ const se_UpdateOriginEndpointCommand = async (input, context) => {
515
515
  body = JSON.stringify((0, smithy_client_1.take)(input, {
516
516
  ContainerType: [],
517
517
  Description: [],
518
- HlsManifests: (_) => (0, smithy_client_1._json)(_),
519
- LowLatencyHlsManifests: (_) => (0, smithy_client_1._json)(_),
518
+ HlsManifests: (_) => se_CreateHlsManifests(_, context),
519
+ LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
520
520
  Segment: (_) => (0, smithy_client_1._json)(_),
521
521
  StartoverWindowSeconds: [],
522
522
  }));
@@ -663,8 +663,8 @@ const de_CreateOriginEndpointCommand = async (output, context) => {
663
663
  ContainerType: smithy_client_1.expectString,
664
664
  CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
665
665
  Description: smithy_client_1.expectString,
666
- HlsManifests: smithy_client_1._json,
667
- LowLatencyHlsManifests: smithy_client_1._json,
666
+ HlsManifests: (_) => de_GetHlsManifests(_, context),
667
+ LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
668
668
  ModifiedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
669
669
  OriginEndpointName: smithy_client_1.expectString,
670
670
  Segment: smithy_client_1._json,
@@ -1087,8 +1087,8 @@ const de_GetOriginEndpointCommand = async (output, context) => {
1087
1087
  ContainerType: smithy_client_1.expectString,
1088
1088
  CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1089
1089
  Description: smithy_client_1.expectString,
1090
- HlsManifests: smithy_client_1._json,
1091
- LowLatencyHlsManifests: smithy_client_1._json,
1090
+ HlsManifests: (_) => de_GetHlsManifests(_, context),
1091
+ LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
1092
1092
  ModifiedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1093
1093
  OriginEndpointName: smithy_client_1.expectString,
1094
1094
  Segment: smithy_client_1._json,
@@ -1252,6 +1252,9 @@ const de_ListChannelsCommandError = async (output, context) => {
1252
1252
  case "InternalServerException":
1253
1253
  case "com.amazonaws.mediapackagev2#InternalServerException":
1254
1254
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1255
+ case "ResourceNotFoundException":
1256
+ case "com.amazonaws.mediapackagev2#ResourceNotFoundException":
1257
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1255
1258
  case "ThrottlingException":
1256
1259
  case "com.amazonaws.mediapackagev2#ThrottlingException":
1257
1260
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -1624,8 +1627,8 @@ const de_UpdateOriginEndpointCommand = async (output, context) => {
1624
1627
  ContainerType: smithy_client_1.expectString,
1625
1628
  CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1626
1629
  Description: smithy_client_1.expectString,
1627
- HlsManifests: smithy_client_1._json,
1628
- LowLatencyHlsManifests: smithy_client_1._json,
1630
+ HlsManifests: (_) => de_GetHlsManifests(_, context),
1631
+ LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
1629
1632
  ModifiedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1630
1633
  OriginEndpointName: smithy_client_1.expectString,
1631
1634
  Segment: smithy_client_1._json,
@@ -1768,6 +1771,48 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1768
1771
  });
1769
1772
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1770
1773
  };
1774
+ const se_CreateHlsManifestConfiguration = (input, context) => {
1775
+ return (0, smithy_client_1.take)(input, {
1776
+ ChildManifestName: [],
1777
+ FilterConfiguration: (_) => se_FilterConfiguration(_, context),
1778
+ ManifestName: [],
1779
+ ManifestWindowSeconds: [],
1780
+ ProgramDateTimeIntervalSeconds: [],
1781
+ ScteHls: smithy_client_1._json,
1782
+ });
1783
+ };
1784
+ const se_CreateHlsManifests = (input, context) => {
1785
+ return input
1786
+ .filter((e) => e != null)
1787
+ .map((entry) => {
1788
+ return se_CreateHlsManifestConfiguration(entry, context);
1789
+ });
1790
+ };
1791
+ const se_CreateLowLatencyHlsManifestConfiguration = (input, context) => {
1792
+ return (0, smithy_client_1.take)(input, {
1793
+ ChildManifestName: [],
1794
+ FilterConfiguration: (_) => se_FilterConfiguration(_, context),
1795
+ ManifestName: [],
1796
+ ManifestWindowSeconds: [],
1797
+ ProgramDateTimeIntervalSeconds: [],
1798
+ ScteHls: smithy_client_1._json,
1799
+ });
1800
+ };
1801
+ const se_CreateLowLatencyHlsManifests = (input, context) => {
1802
+ return input
1803
+ .filter((e) => e != null)
1804
+ .map((entry) => {
1805
+ return se_CreateLowLatencyHlsManifestConfiguration(entry, context);
1806
+ });
1807
+ };
1808
+ const se_FilterConfiguration = (input, context) => {
1809
+ return (0, smithy_client_1.take)(input, {
1810
+ End: (_) => Math.round(_.getTime() / 1000),
1811
+ ManifestFilter: [],
1812
+ Start: (_) => Math.round(_.getTime() / 1000),
1813
+ TimeDelaySeconds: [],
1814
+ });
1815
+ };
1771
1816
  const de_ChannelGroupListConfiguration = (output, context) => {
1772
1817
  return (0, smithy_client_1.take)(output, {
1773
1818
  Arn: smithy_client_1.expectString,
@@ -1803,6 +1848,52 @@ const de_ChannelListConfiguration = (output, context) => {
1803
1848
  ModifiedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1804
1849
  });
1805
1850
  };
1851
+ const de_FilterConfiguration = (output, context) => {
1852
+ return (0, smithy_client_1.take)(output, {
1853
+ End: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1854
+ ManifestFilter: smithy_client_1.expectString,
1855
+ Start: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1856
+ TimeDelaySeconds: smithy_client_1.expectInt32,
1857
+ });
1858
+ };
1859
+ const de_GetHlsManifestConfiguration = (output, context) => {
1860
+ return (0, smithy_client_1.take)(output, {
1861
+ ChildManifestName: smithy_client_1.expectString,
1862
+ FilterConfiguration: (_) => de_FilterConfiguration(_, context),
1863
+ ManifestName: smithy_client_1.expectString,
1864
+ ManifestWindowSeconds: smithy_client_1.expectInt32,
1865
+ ProgramDateTimeIntervalSeconds: smithy_client_1.expectInt32,
1866
+ ScteHls: smithy_client_1._json,
1867
+ Url: smithy_client_1.expectString,
1868
+ });
1869
+ };
1870
+ const de_GetHlsManifests = (output, context) => {
1871
+ const retVal = (output || [])
1872
+ .filter((e) => e != null)
1873
+ .map((entry) => {
1874
+ return de_GetHlsManifestConfiguration(entry, context);
1875
+ });
1876
+ return retVal;
1877
+ };
1878
+ const de_GetLowLatencyHlsManifestConfiguration = (output, context) => {
1879
+ return (0, smithy_client_1.take)(output, {
1880
+ ChildManifestName: smithy_client_1.expectString,
1881
+ FilterConfiguration: (_) => de_FilterConfiguration(_, context),
1882
+ ManifestName: smithy_client_1.expectString,
1883
+ ManifestWindowSeconds: smithy_client_1.expectInt32,
1884
+ ProgramDateTimeIntervalSeconds: smithy_client_1.expectInt32,
1885
+ ScteHls: smithy_client_1._json,
1886
+ Url: smithy_client_1.expectString,
1887
+ });
1888
+ };
1889
+ const de_GetLowLatencyHlsManifests = (output, context) => {
1890
+ const retVal = (output || [])
1891
+ .filter((e) => e != null)
1892
+ .map((entry) => {
1893
+ return de_GetLowLatencyHlsManifestConfiguration(entry, context);
1894
+ });
1895
+ return retVal;
1896
+ };
1806
1897
  const de_OriginEndpointListConfiguration = (output, context) => {
1807
1898
  return (0, smithy_client_1.take)(output, {
1808
1899
  Arn: smithy_client_1.expectString,
@@ -69,10 +69,13 @@ export const ValidationExceptionType = {
69
69
  ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED",
70
70
  ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE",
71
71
  ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH: "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH",
72
+ END_TIME_EARLIER_THAN_START_TIME: "END_TIME_EARLIER_THAN_START_TIME",
73
+ INVALID_MANIFEST_FILTER: "INVALID_MANIFEST_FILTER",
72
74
  INVALID_PAGINATION_MAX_RESULTS: "INVALID_PAGINATION_MAX_RESULTS",
73
75
  INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN",
74
76
  INVALID_POLICY: "INVALID_POLICY",
75
77
  INVALID_ROLE_ARN: "INVALID_ROLE_ARN",
78
+ INVALID_TIME_DELAY_SECONDS: "INVALID_TIME_DELAY_SECONDS",
76
79
  MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION",
77
80
  MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN",
78
81
  MEMBER_INVALID: "MEMBER_INVALID",
@@ -63,8 +63,8 @@ export const se_CreateOriginEndpointCommand = async (input, context) => {
63
63
  body = JSON.stringify(take(input, {
64
64
  ContainerType: [],
65
65
  Description: [],
66
- HlsManifests: (_) => _json(_),
67
- LowLatencyHlsManifests: (_) => _json(_),
66
+ HlsManifests: (_) => se_CreateHlsManifests(_, context),
67
+ LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
68
68
  OriginEndpointName: [],
69
69
  Segment: (_) => _json(_),
70
70
  StartoverWindowSeconds: [],
@@ -489,8 +489,8 @@ export const se_UpdateOriginEndpointCommand = async (input, context) => {
489
489
  body = JSON.stringify(take(input, {
490
490
  ContainerType: [],
491
491
  Description: [],
492
- HlsManifests: (_) => _json(_),
493
- LowLatencyHlsManifests: (_) => _json(_),
492
+ HlsManifests: (_) => se_CreateHlsManifests(_, context),
493
+ LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
494
494
  Segment: (_) => _json(_),
495
495
  StartoverWindowSeconds: [],
496
496
  }));
@@ -634,8 +634,8 @@ export const de_CreateOriginEndpointCommand = async (output, context) => {
634
634
  ContainerType: __expectString,
635
635
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
636
636
  Description: __expectString,
637
- HlsManifests: _json,
638
- LowLatencyHlsManifests: _json,
637
+ HlsManifests: (_) => de_GetHlsManifests(_, context),
638
+ LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
639
639
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
640
640
  OriginEndpointName: __expectString,
641
641
  Segment: _json,
@@ -1049,8 +1049,8 @@ export const de_GetOriginEndpointCommand = async (output, context) => {
1049
1049
  ContainerType: __expectString,
1050
1050
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1051
1051
  Description: __expectString,
1052
- HlsManifests: _json,
1053
- LowLatencyHlsManifests: _json,
1052
+ HlsManifests: (_) => de_GetHlsManifests(_, context),
1053
+ LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
1054
1054
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1055
1055
  OriginEndpointName: __expectString,
1056
1056
  Segment: _json,
@@ -1210,6 +1210,9 @@ const de_ListChannelsCommandError = async (output, context) => {
1210
1210
  case "InternalServerException":
1211
1211
  case "com.amazonaws.mediapackagev2#InternalServerException":
1212
1212
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1213
+ case "ResourceNotFoundException":
1214
+ case "com.amazonaws.mediapackagev2#ResourceNotFoundException":
1215
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1213
1216
  case "ThrottlingException":
1214
1217
  case "com.amazonaws.mediapackagev2#ThrottlingException":
1215
1218
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -1574,8 +1577,8 @@ export const de_UpdateOriginEndpointCommand = async (output, context) => {
1574
1577
  ContainerType: __expectString,
1575
1578
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1576
1579
  Description: __expectString,
1577
- HlsManifests: _json,
1578
- LowLatencyHlsManifests: _json,
1580
+ HlsManifests: (_) => de_GetHlsManifests(_, context),
1581
+ LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
1579
1582
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1580
1583
  OriginEndpointName: __expectString,
1581
1584
  Segment: _json,
@@ -1717,6 +1720,48 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1717
1720
  });
1718
1721
  return __decorateServiceException(exception, parsedOutput.body);
1719
1722
  };
1723
+ const se_CreateHlsManifestConfiguration = (input, context) => {
1724
+ return take(input, {
1725
+ ChildManifestName: [],
1726
+ FilterConfiguration: (_) => se_FilterConfiguration(_, context),
1727
+ ManifestName: [],
1728
+ ManifestWindowSeconds: [],
1729
+ ProgramDateTimeIntervalSeconds: [],
1730
+ ScteHls: _json,
1731
+ });
1732
+ };
1733
+ const se_CreateHlsManifests = (input, context) => {
1734
+ return input
1735
+ .filter((e) => e != null)
1736
+ .map((entry) => {
1737
+ return se_CreateHlsManifestConfiguration(entry, context);
1738
+ });
1739
+ };
1740
+ const se_CreateLowLatencyHlsManifestConfiguration = (input, context) => {
1741
+ return take(input, {
1742
+ ChildManifestName: [],
1743
+ FilterConfiguration: (_) => se_FilterConfiguration(_, context),
1744
+ ManifestName: [],
1745
+ ManifestWindowSeconds: [],
1746
+ ProgramDateTimeIntervalSeconds: [],
1747
+ ScteHls: _json,
1748
+ });
1749
+ };
1750
+ const se_CreateLowLatencyHlsManifests = (input, context) => {
1751
+ return input
1752
+ .filter((e) => e != null)
1753
+ .map((entry) => {
1754
+ return se_CreateLowLatencyHlsManifestConfiguration(entry, context);
1755
+ });
1756
+ };
1757
+ const se_FilterConfiguration = (input, context) => {
1758
+ return take(input, {
1759
+ End: (_) => Math.round(_.getTime() / 1000),
1760
+ ManifestFilter: [],
1761
+ Start: (_) => Math.round(_.getTime() / 1000),
1762
+ TimeDelaySeconds: [],
1763
+ });
1764
+ };
1720
1765
  const de_ChannelGroupListConfiguration = (output, context) => {
1721
1766
  return take(output, {
1722
1767
  Arn: __expectString,
@@ -1752,6 +1797,52 @@ const de_ChannelListConfiguration = (output, context) => {
1752
1797
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1753
1798
  });
1754
1799
  };
1800
+ const de_FilterConfiguration = (output, context) => {
1801
+ return take(output, {
1802
+ End: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1803
+ ManifestFilter: __expectString,
1804
+ Start: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1805
+ TimeDelaySeconds: __expectInt32,
1806
+ });
1807
+ };
1808
+ const de_GetHlsManifestConfiguration = (output, context) => {
1809
+ return take(output, {
1810
+ ChildManifestName: __expectString,
1811
+ FilterConfiguration: (_) => de_FilterConfiguration(_, context),
1812
+ ManifestName: __expectString,
1813
+ ManifestWindowSeconds: __expectInt32,
1814
+ ProgramDateTimeIntervalSeconds: __expectInt32,
1815
+ ScteHls: _json,
1816
+ Url: __expectString,
1817
+ });
1818
+ };
1819
+ const de_GetHlsManifests = (output, context) => {
1820
+ const retVal = (output || [])
1821
+ .filter((e) => e != null)
1822
+ .map((entry) => {
1823
+ return de_GetHlsManifestConfiguration(entry, context);
1824
+ });
1825
+ return retVal;
1826
+ };
1827
+ const de_GetLowLatencyHlsManifestConfiguration = (output, context) => {
1828
+ return take(output, {
1829
+ ChildManifestName: __expectString,
1830
+ FilterConfiguration: (_) => de_FilterConfiguration(_, context),
1831
+ ManifestName: __expectString,
1832
+ ManifestWindowSeconds: __expectInt32,
1833
+ ProgramDateTimeIntervalSeconds: __expectInt32,
1834
+ ScteHls: _json,
1835
+ Url: __expectString,
1836
+ });
1837
+ };
1838
+ const de_GetLowLatencyHlsManifests = (output, context) => {
1839
+ const retVal = (output || [])
1840
+ .filter((e) => e != null)
1841
+ .map((entry) => {
1842
+ return de_GetLowLatencyHlsManifestConfiguration(entry, context);
1843
+ });
1844
+ return retVal;
1845
+ };
1755
1846
  const de_OriginEndpointListConfiguration = (output, context) => {
1756
1847
  return take(output, {
1757
1848
  Arn: __expectString,
@@ -79,6 +79,12 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
79
79
  * },
80
80
  * ManifestWindowSeconds: Number("int"),
81
81
  * ProgramDateTimeIntervalSeconds: Number("int"),
82
+ * FilterConfiguration: { // FilterConfiguration
83
+ * ManifestFilter: "STRING_VALUE",
84
+ * Start: new Date("TIMESTAMP"),
85
+ * End: new Date("TIMESTAMP"),
86
+ * TimeDelaySeconds: Number("int"),
87
+ * },
82
88
  * },
83
89
  * ],
84
90
  * LowLatencyHlsManifests: [ // CreateLowLatencyHlsManifests
@@ -90,6 +96,12 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
90
96
  * },
91
97
  * ManifestWindowSeconds: Number("int"),
92
98
  * ProgramDateTimeIntervalSeconds: Number("int"),
99
+ * FilterConfiguration: {
100
+ * ManifestFilter: "STRING_VALUE",
101
+ * Start: new Date("TIMESTAMP"),
102
+ * End: new Date("TIMESTAMP"),
103
+ * TimeDelaySeconds: Number("int"),
104
+ * },
93
105
  * },
94
106
  * ],
95
107
  * Tags: { // TagMap
@@ -150,6 +162,12 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
150
162
  * // ScteHls: { // ScteHls
151
163
  * // AdMarkerHls: "DATERANGE",
152
164
  * // },
165
+ * // FilterConfiguration: { // FilterConfiguration
166
+ * // ManifestFilter: "STRING_VALUE",
167
+ * // Start: new Date("TIMESTAMP"),
168
+ * // End: new Date("TIMESTAMP"),
169
+ * // TimeDelaySeconds: Number("int"),
170
+ * // },
153
171
  * // },
154
172
  * // ],
155
173
  * // LowLatencyHlsManifests: [ // GetLowLatencyHlsManifests
@@ -162,6 +180,12 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
162
180
  * // ScteHls: {
163
181
  * // AdMarkerHls: "DATERANGE",
164
182
  * // },
183
+ * // FilterConfiguration: {
184
+ * // ManifestFilter: "STRING_VALUE",
185
+ * // Start: new Date("TIMESTAMP"),
186
+ * // End: new Date("TIMESTAMP"),
187
+ * // TimeDelaySeconds: Number("int"),
188
+ * // },
165
189
  * // },
166
190
  * // ],
167
191
  * // Tags: { // TagMap
@@ -89,6 +89,12 @@ export interface GetOriginEndpointCommandOutput extends GetOriginEndpointRespons
89
89
  * // ScteHls: { // ScteHls
90
90
  * // AdMarkerHls: "DATERANGE",
91
91
  * // },
92
+ * // FilterConfiguration: { // FilterConfiguration
93
+ * // ManifestFilter: "STRING_VALUE",
94
+ * // Start: new Date("TIMESTAMP"),
95
+ * // End: new Date("TIMESTAMP"),
96
+ * // TimeDelaySeconds: Number("int"),
97
+ * // },
92
98
  * // },
93
99
  * // ],
94
100
  * // LowLatencyHlsManifests: [ // GetLowLatencyHlsManifests
@@ -101,6 +107,12 @@ export interface GetOriginEndpointCommandOutput extends GetOriginEndpointRespons
101
107
  * // ScteHls: {
102
108
  * // AdMarkerHls: "DATERANGE",
103
109
  * // },
110
+ * // FilterConfiguration: {
111
+ * // ManifestFilter: "STRING_VALUE",
112
+ * // Start: new Date("TIMESTAMP"),
113
+ * // End: new Date("TIMESTAMP"),
114
+ * // TimeDelaySeconds: Number("int"),
115
+ * // },
104
116
  * // },
105
117
  * // ],
106
118
  * // Tags: { // TagMap
@@ -65,6 +65,9 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
65
65
  * @throws {@link InternalServerException} (server fault)
66
66
  * <p>Indicates that an error from the service occurred while trying to process a request.</p>
67
67
  *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>The specified resource doesn't exist.</p>
70
+ *
68
71
  * @throws {@link ThrottlingException} (client fault)
69
72
  * <p>The request throughput limit was exceeded.</p>
70
73
  *
@@ -79,6 +79,12 @@ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointR
79
79
  * },
80
80
  * ManifestWindowSeconds: Number("int"),
81
81
  * ProgramDateTimeIntervalSeconds: Number("int"),
82
+ * FilterConfiguration: { // FilterConfiguration
83
+ * ManifestFilter: "STRING_VALUE",
84
+ * Start: new Date("TIMESTAMP"),
85
+ * End: new Date("TIMESTAMP"),
86
+ * TimeDelaySeconds: Number("int"),
87
+ * },
82
88
  * },
83
89
  * ],
84
90
  * LowLatencyHlsManifests: [ // CreateLowLatencyHlsManifests
@@ -90,6 +96,12 @@ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointR
90
96
  * },
91
97
  * ManifestWindowSeconds: Number("int"),
92
98
  * ProgramDateTimeIntervalSeconds: Number("int"),
99
+ * FilterConfiguration: {
100
+ * ManifestFilter: "STRING_VALUE",
101
+ * Start: new Date("TIMESTAMP"),
102
+ * End: new Date("TIMESTAMP"),
103
+ * TimeDelaySeconds: Number("int"),
104
+ * },
93
105
  * },
94
106
  * ],
95
107
  * };
@@ -147,6 +159,12 @@ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointR
147
159
  * // ScteHls: { // ScteHls
148
160
  * // AdMarkerHls: "DATERANGE",
149
161
  * // },
162
+ * // FilterConfiguration: { // FilterConfiguration
163
+ * // ManifestFilter: "STRING_VALUE",
164
+ * // Start: new Date("TIMESTAMP"),
165
+ * // End: new Date("TIMESTAMP"),
166
+ * // TimeDelaySeconds: Number("int"),
167
+ * // },
150
168
  * // },
151
169
  * // ],
152
170
  * // LowLatencyHlsManifests: [ // GetLowLatencyHlsManifests
@@ -159,6 +177,12 @@ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointR
159
177
  * // ScteHls: {
160
178
  * // AdMarkerHls: "DATERANGE",
161
179
  * // },
180
+ * // FilterConfiguration: {
181
+ * // ManifestFilter: "STRING_VALUE",
182
+ * // Start: new Date("TIMESTAMP"),
183
+ * // End: new Date("TIMESTAMP"),
184
+ * // TimeDelaySeconds: Number("int"),
185
+ * // },
162
186
  * // },
163
187
  * // ],
164
188
  * // Tags: { // TagMap
@@ -145,10 +145,13 @@ export declare const ValidationExceptionType: {
145
145
  readonly ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED";
146
146
  readonly ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE";
147
147
  readonly ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH: "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH";
148
+ readonly END_TIME_EARLIER_THAN_START_TIME: "END_TIME_EARLIER_THAN_START_TIME";
149
+ readonly INVALID_MANIFEST_FILTER: "INVALID_MANIFEST_FILTER";
148
150
  readonly INVALID_PAGINATION_MAX_RESULTS: "INVALID_PAGINATION_MAX_RESULTS";
149
151
  readonly INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN";
150
152
  readonly INVALID_POLICY: "INVALID_POLICY";
151
153
  readonly INVALID_ROLE_ARN: "INVALID_ROLE_ARN";
154
+ readonly INVALID_TIME_DELAY_SECONDS: "INVALID_TIME_DELAY_SECONDS";
152
155
  readonly MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION";
153
156
  readonly MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN";
154
157
  readonly MEMBER_INVALID: "MEMBER_INVALID";
@@ -559,6 +562,32 @@ export declare const ContainerType: {
559
562
  * @public
560
563
  */
561
564
  export type ContainerType = (typeof ContainerType)[keyof typeof ContainerType];
565
+ /**
566
+ * @public
567
+ * <p>Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest. </p>
568
+ */
569
+ export interface FilterConfiguration {
570
+ /**
571
+ * @public
572
+ * <p>Optionally specify one or more manifest filters for all of your manifest egress requests. When you include a manifest filter, note that you cannot use an identical manifest filter query parameter for this manifest's endpoint URL.</p>
573
+ */
574
+ ManifestFilter?: string;
575
+ /**
576
+ * @public
577
+ * <p>Optionally specify the start time for all of your manifest egress requests. When you include start time, note that you cannot use start time query parameters for this manifest's endpoint URL.</p>
578
+ */
579
+ Start?: Date;
580
+ /**
581
+ * @public
582
+ * <p>Optionally specify the end time for all of your manifest egress requests. When you include end time, note that you cannot use end time query parameters for this manifest's endpoint URL.</p>
583
+ */
584
+ End?: Date;
585
+ /**
586
+ * @public
587
+ * <p>Optionally specify the time delay for all of your manifest egress requests. Enter a value that is smaller than your endpoint's startover window. When you include time delay, note that you cannot use time delay query parameters for this manifest's endpoint URL.</p>
588
+ */
589
+ TimeDelaySeconds?: number;
590
+ }
562
591
  /**
563
592
  * @public
564
593
  * <p>The SCTE configuration.</p>
@@ -610,6 +639,11 @@ export interface CreateHlsManifestConfiguration {
610
639
  * <p>Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.</p>
611
640
  */
612
641
  ProgramDateTimeIntervalSeconds?: number;
642
+ /**
643
+ * @public
644
+ * <p>Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest. </p>
645
+ */
646
+ FilterConfiguration?: FilterConfiguration;
613
647
  }
614
648
  /**
615
649
  * @public
@@ -645,6 +679,11 @@ export interface CreateLowLatencyHlsManifestConfiguration {
645
679
  * <p>Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.</p>
646
680
  */
647
681
  ProgramDateTimeIntervalSeconds?: number;
682
+ /**
683
+ * @public
684
+ * <p>Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest. </p>
685
+ */
686
+ FilterConfiguration?: FilterConfiguration;
648
687
  }
649
688
  /**
650
689
  * @public
@@ -1068,6 +1107,11 @@ export interface GetHlsManifestConfiguration {
1068
1107
  * <p>The SCTE configuration.</p>
1069
1108
  */
1070
1109
  ScteHls?: ScteHls;
1110
+ /**
1111
+ * @public
1112
+ * <p>Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest. </p>
1113
+ */
1114
+ FilterConfiguration?: FilterConfiguration;
1071
1115
  }
1072
1116
  /**
1073
1117
  * @public
@@ -1108,6 +1152,11 @@ export interface GetLowLatencyHlsManifestConfiguration {
1108
1152
  * <p>The SCTE configuration.</p>
1109
1153
  */
1110
1154
  ScteHls?: ScteHls;
1155
+ /**
1156
+ * @public
1157
+ * <p>Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest. </p>
1158
+ */
1159
+ FilterConfiguration?: FilterConfiguration;
1111
1160
  }
1112
1161
  /**
1113
1162
  * @public
@@ -63,10 +63,13 @@ export declare const ValidationExceptionType: {
63
63
  readonly ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED";
64
64
  readonly ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE";
65
65
  readonly ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH: "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH";
66
+ readonly END_TIME_EARLIER_THAN_START_TIME: "END_TIME_EARLIER_THAN_START_TIME";
67
+ readonly INVALID_MANIFEST_FILTER: "INVALID_MANIFEST_FILTER";
66
68
  readonly INVALID_PAGINATION_MAX_RESULTS: "INVALID_PAGINATION_MAX_RESULTS";
67
69
  readonly INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN";
68
70
  readonly INVALID_POLICY: "INVALID_POLICY";
69
71
  readonly INVALID_ROLE_ARN: "INVALID_ROLE_ARN";
72
+ readonly INVALID_TIME_DELAY_SECONDS: "INVALID_TIME_DELAY_SECONDS";
70
73
  readonly MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION";
71
74
  readonly MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN";
72
75
  readonly MEMBER_INVALID: "MEMBER_INVALID";
@@ -203,6 +206,12 @@ export declare const ContainerType: {
203
206
  readonly TS: "TS";
204
207
  };
205
208
  export type ContainerType = (typeof ContainerType)[keyof typeof ContainerType];
209
+ export interface FilterConfiguration {
210
+ ManifestFilter?: string;
211
+ Start?: Date;
212
+ End?: Date;
213
+ TimeDelaySeconds?: number;
214
+ }
206
215
  export interface ScteHls {
207
216
  AdMarkerHls?: AdMarkerHls;
208
217
  }
@@ -212,6 +221,7 @@ export interface CreateHlsManifestConfiguration {
212
221
  ScteHls?: ScteHls;
213
222
  ManifestWindowSeconds?: number;
214
223
  ProgramDateTimeIntervalSeconds?: number;
224
+ FilterConfiguration?: FilterConfiguration;
215
225
  }
216
226
  export interface CreateLowLatencyHlsManifestConfiguration {
217
227
  ManifestName: string | undefined;
@@ -219,6 +229,7 @@ export interface CreateLowLatencyHlsManifestConfiguration {
219
229
  ScteHls?: ScteHls;
220
230
  ManifestWindowSeconds?: number;
221
231
  ProgramDateTimeIntervalSeconds?: number;
232
+ FilterConfiguration?: FilterConfiguration;
222
233
  }
223
234
  export declare const CmafEncryptionMethod: {
224
235
  readonly CBCS: "CBCS";
@@ -327,6 +338,7 @@ export interface GetHlsManifestConfiguration {
327
338
  ManifestWindowSeconds?: number;
328
339
  ProgramDateTimeIntervalSeconds?: number;
329
340
  ScteHls?: ScteHls;
341
+ FilterConfiguration?: FilterConfiguration;
330
342
  }
331
343
  export interface GetLowLatencyHlsManifestConfiguration {
332
344
  ManifestName: string | undefined;
@@ -335,6 +347,7 @@ export interface GetLowLatencyHlsManifestConfiguration {
335
347
  ManifestWindowSeconds?: number;
336
348
  ProgramDateTimeIntervalSeconds?: number;
337
349
  ScteHls?: ScteHls;
350
+ FilterConfiguration?: FilterConfiguration;
338
351
  }
339
352
  export interface CreateOriginEndpointResponse {
340
353
  Arn: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediapackagev2",
3
3
  "description": "AWS SDK for JavaScript Mediapackagev2 Client for Node.js, Browser and React Native",
4
- "version": "3.438.0",
4
+ "version": "3.439.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",