Skip to content

Commit 5e3dade

Browse files
author
awstools
committed
feat(client-mediapackagev2): This feature allows customers to create a combination of manifest filtering, startover and time delay configuration that applies to all egress requests by default.
1 parent 4b0a2d0 commit 5e3dade

File tree

7 files changed

+341
-18
lines changed

7 files changed

+341
-18
lines changed

clients/client-mediapackagev2/src/commands/CreateOriginEndpointCommand.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
9393
* },
9494
* ManifestWindowSeconds: Number("int"),
9595
* ProgramDateTimeIntervalSeconds: Number("int"),
96+
* FilterConfiguration: { // FilterConfiguration
97+
* ManifestFilter: "STRING_VALUE",
98+
* Start: new Date("TIMESTAMP"),
99+
* End: new Date("TIMESTAMP"),
100+
* TimeDelaySeconds: Number("int"),
101+
* },
96102
* },
97103
* ],
98104
* LowLatencyHlsManifests: [ // CreateLowLatencyHlsManifests
@@ -104,6 +110,12 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
104110
* },
105111
* ManifestWindowSeconds: Number("int"),
106112
* ProgramDateTimeIntervalSeconds: Number("int"),
113+
* FilterConfiguration: {
114+
* ManifestFilter: "STRING_VALUE",
115+
* Start: new Date("TIMESTAMP"),
116+
* End: new Date("TIMESTAMP"),
117+
* TimeDelaySeconds: Number("int"),
118+
* },
107119
* },
108120
* ],
109121
* Tags: { // TagMap
@@ -164,6 +176,12 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
164176
* // ScteHls: { // ScteHls
165177
* // AdMarkerHls: "DATERANGE",
166178
* // },
179+
* // FilterConfiguration: { // FilterConfiguration
180+
* // ManifestFilter: "STRING_VALUE",
181+
* // Start: new Date("TIMESTAMP"),
182+
* // End: new Date("TIMESTAMP"),
183+
* // TimeDelaySeconds: Number("int"),
184+
* // },
167185
* // },
168186
* // ],
169187
* // LowLatencyHlsManifests: [ // GetLowLatencyHlsManifests
@@ -176,6 +194,12 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
176194
* // ScteHls: {
177195
* // AdMarkerHls: "DATERANGE",
178196
* // },
197+
* // FilterConfiguration: {
198+
* // ManifestFilter: "STRING_VALUE",
199+
* // Start: new Date("TIMESTAMP"),
200+
* // End: new Date("TIMESTAMP"),
201+
* // TimeDelaySeconds: Number("int"),
202+
* // },
179203
* // },
180204
* // ],
181205
* // Tags: { // TagMap

clients/client-mediapackagev2/src/commands/GetOriginEndpointCommand.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ export interface GetOriginEndpointCommandOutput extends GetOriginEndpointRespons
103103
* // ScteHls: { // ScteHls
104104
* // AdMarkerHls: "DATERANGE",
105105
* // },
106+
* // FilterConfiguration: { // FilterConfiguration
107+
* // ManifestFilter: "STRING_VALUE",
108+
* // Start: new Date("TIMESTAMP"),
109+
* // End: new Date("TIMESTAMP"),
110+
* // TimeDelaySeconds: Number("int"),
111+
* // },
106112
* // },
107113
* // ],
108114
* // LowLatencyHlsManifests: [ // GetLowLatencyHlsManifests
@@ -115,6 +121,12 @@ export interface GetOriginEndpointCommandOutput extends GetOriginEndpointRespons
115121
* // ScteHls: {
116122
* // AdMarkerHls: "DATERANGE",
117123
* // },
124+
* // FilterConfiguration: {
125+
* // ManifestFilter: "STRING_VALUE",
126+
* // Start: new Date("TIMESTAMP"),
127+
* // End: new Date("TIMESTAMP"),
128+
* // TimeDelaySeconds: Number("int"),
129+
* // },
118130
* // },
119131
* // ],
120132
* // Tags: { // TagMap

clients/client-mediapackagev2/src/commands/ListChannelsCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
7979
* @throws {@link InternalServerException} (server fault)
8080
* <p>Indicates that an error from the service occurred while trying to process a request.</p>
8181
*
82+
* @throws {@link ResourceNotFoundException} (client fault)
83+
* <p>The specified resource doesn't exist.</p>
84+
*
8285
* @throws {@link ThrottlingException} (client fault)
8386
* <p>The request throughput limit was exceeded.</p>
8487
*

clients/client-mediapackagev2/src/commands/UpdateOriginEndpointCommand.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointR
9393
* },
9494
* ManifestWindowSeconds: Number("int"),
9595
* ProgramDateTimeIntervalSeconds: Number("int"),
96+
* FilterConfiguration: { // FilterConfiguration
97+
* ManifestFilter: "STRING_VALUE",
98+
* Start: new Date("TIMESTAMP"),
99+
* End: new Date("TIMESTAMP"),
100+
* TimeDelaySeconds: Number("int"),
101+
* },
96102
* },
97103
* ],
98104
* LowLatencyHlsManifests: [ // CreateLowLatencyHlsManifests
@@ -104,6 +110,12 @@ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointR
104110
* },
105111
* ManifestWindowSeconds: Number("int"),
106112
* ProgramDateTimeIntervalSeconds: Number("int"),
113+
* FilterConfiguration: {
114+
* ManifestFilter: "STRING_VALUE",
115+
* Start: new Date("TIMESTAMP"),
116+
* End: new Date("TIMESTAMP"),
117+
* TimeDelaySeconds: Number("int"),
118+
* },
107119
* },
108120
* ],
109121
* };
@@ -161,6 +173,12 @@ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointR
161173
* // ScteHls: { // ScteHls
162174
* // AdMarkerHls: "DATERANGE",
163175
* // },
176+
* // FilterConfiguration: { // FilterConfiguration
177+
* // ManifestFilter: "STRING_VALUE",
178+
* // Start: new Date("TIMESTAMP"),
179+
* // End: new Date("TIMESTAMP"),
180+
* // TimeDelaySeconds: Number("int"),
181+
* // },
164182
* // },
165183
* // ],
166184
* // LowLatencyHlsManifests: [ // GetLowLatencyHlsManifests
@@ -173,6 +191,12 @@ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointR
173191
* // ScteHls: {
174192
* // AdMarkerHls: "DATERANGE",
175193
* // },
194+
* // FilterConfiguration: {
195+
* // ManifestFilter: "STRING_VALUE",
196+
* // Start: new Date("TIMESTAMP"),
197+
* // End: new Date("TIMESTAMP"),
198+
* // TimeDelaySeconds: Number("int"),
199+
* // },
176200
* // },
177201
* // ],
178202
* // Tags: { // TagMap

clients/client-mediapackagev2/src/models/models_0.ts

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,13 @@ export const ValidationExceptionType = {
196196
ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED",
197197
ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE",
198198
ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH: "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH",
199+
END_TIME_EARLIER_THAN_START_TIME: "END_TIME_EARLIER_THAN_START_TIME",
200+
INVALID_MANIFEST_FILTER: "INVALID_MANIFEST_FILTER",
199201
INVALID_PAGINATION_MAX_RESULTS: "INVALID_PAGINATION_MAX_RESULTS",
200202
INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN",
201203
INVALID_POLICY: "INVALID_POLICY",
202204
INVALID_ROLE_ARN: "INVALID_ROLE_ARN",
205+
INVALID_TIME_DELAY_SECONDS: "INVALID_TIME_DELAY_SECONDS",
203206
MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION",
204207
MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN",
205208
MEMBER_INVALID: "MEMBER_INVALID",
@@ -691,6 +694,36 @@ export const ContainerType = {
691694
*/
692695
export type ContainerType = (typeof ContainerType)[keyof typeof ContainerType];
693696

697+
/**
698+
* @public
699+
* <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>
700+
*/
701+
export interface FilterConfiguration {
702+
/**
703+
* @public
704+
* <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>
705+
*/
706+
ManifestFilter?: string;
707+
708+
/**
709+
* @public
710+
* <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>
711+
*/
712+
Start?: Date;
713+
714+
/**
715+
* @public
716+
* <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>
717+
*/
718+
End?: Date;
719+
720+
/**
721+
* @public
722+
* <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>
723+
*/
724+
TimeDelaySeconds?: number;
725+
}
726+
694727
/**
695728
* @public
696729
* <p>The SCTE configuration.</p>
@@ -747,6 +780,12 @@ export interface CreateHlsManifestConfiguration {
747780
* <p>Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.</p>
748781
*/
749782
ProgramDateTimeIntervalSeconds?: number;
783+
784+
/**
785+
* @public
786+
* <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>
787+
*/
788+
FilterConfiguration?: FilterConfiguration;
750789
}
751790

752791
/**
@@ -787,6 +826,12 @@ export interface CreateLowLatencyHlsManifestConfiguration {
787826
* <p>Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.</p>
788827
*/
789828
ProgramDateTimeIntervalSeconds?: number;
829+
830+
/**
831+
* @public
832+
* <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>
833+
*/
834+
FilterConfiguration?: FilterConfiguration;
790835
}
791836

792837
/**
@@ -1260,6 +1305,12 @@ export interface GetHlsManifestConfiguration {
12601305
* <p>The SCTE configuration.</p>
12611306
*/
12621307
ScteHls?: ScteHls;
1308+
1309+
/**
1310+
* @public
1311+
* <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>
1312+
*/
1313+
FilterConfiguration?: FilterConfiguration;
12631314
}
12641315

12651316
/**
@@ -1306,6 +1357,12 @@ export interface GetLowLatencyHlsManifestConfiguration {
13061357
* <p>The SCTE configuration.</p>
13071358
*/
13081359
ScteHls?: ScteHls;
1360+
1361+
/**
1362+
* @public
1363+
* <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>
1364+
*/
1365+
FilterConfiguration?: FilterConfiguration;
13091366
}
13101367

13111368
/**

0 commit comments

Comments
 (0)