@aws-sdk/client-mediatailor 3.1042.0 → 3.1044.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -0
- package/dist-cjs/index.js +91 -0
- package/dist-cjs/schemas/schemas_0.js +135 -17
- package/dist-es/MediaTailor.js +10 -0
- package/dist-es/commands/DeleteFunctionCommand.js +16 -0
- package/dist-es/commands/GetFunctionCommand.js +16 -0
- package/dist-es/commands/ListFunctionsCommand.js +16 -0
- package/dist-es/commands/PutFunctionCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +26 -0
- package/dist-es/pagination/ListFunctionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +130 -13
- package/dist-types/MediaTailor.d.ts +36 -0
- package/dist-types/MediaTailorClient.d.ts +6 -2
- package/dist-types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +12 -6
- package/dist-types/commands/DeleteFunctionCommand.d.ts +72 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +112 -0
- package/dist-types/commands/GetPlaybackConfigurationCommand.d.ts +9 -3
- package/dist-types/commands/ListFunctionsCommand.d.ts +118 -0
- package/dist-types/commands/ListPlaybackConfigurationsCommand.d.ts +9 -3
- package/dist-types/commands/PutFunctionCommand.d.ts +149 -0
- package/dist-types/commands/PutPlaybackConfigurationCommand.d.ts +12 -3
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +66 -0
- package/dist-types/models/models_0.d.ts +362 -3
- package/dist-types/pagination/ListFunctionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +17 -0
- package/dist-types/ts3.4/MediaTailor.d.ts +76 -0
- package/dist-types/ts3.4/MediaTailorClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PutFunctionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +32 -0
- package/dist-types/ts3.4/models/models_0.d.ts +87 -0
- package/dist-types/ts3.4/pagination/ListFunctionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
- package/package.json +1 -1
|
@@ -91,6 +91,9 @@ declare const PutPlaybackConfigurationCommand_base: {
|
|
|
91
91
|
* CompressRequest: "NONE" || "GZIP",
|
|
92
92
|
* },
|
|
93
93
|
* },
|
|
94
|
+
* FunctionMapping: { // FunctionMapping
|
|
95
|
+
* "<keys>": "STRING_VALUE",
|
|
96
|
+
* },
|
|
94
97
|
* };
|
|
95
98
|
* const command = new PutPlaybackConfigurationCommand(input);
|
|
96
99
|
* const response = await client.send(command);
|
|
@@ -134,15 +137,18 @@ declare const PutPlaybackConfigurationCommand_base: {
|
|
|
134
137
|
* // ],
|
|
135
138
|
* // AdsInteractionLog: { // AdsInteractionLog
|
|
136
139
|
* // PublishOptInEventTypes: [ // __adsInteractionPublishOptInEventTypesList
|
|
137
|
-
* // "RAW_ADS_RESPONSE" || "RAW_ADS_REQUEST",
|
|
140
|
+
* // "RAW_ADS_RESPONSE" || "RAW_ADS_REQUEST" || "PRE_ADS_REQUEST_HOOK_SUMMARY" || "PRE_ADS_REQUEST_FUNCTION_COMPLETED",
|
|
138
141
|
* // ],
|
|
139
142
|
* // ExcludeEventTypes: [ // __adsInteractionExcludeEventTypesList
|
|
140
|
-
* // "AD_MARKER_FOUND" || "NON_AD_MARKER_FOUND" || "MAKING_ADS_REQUEST" || "MODIFIED_TARGET_URL" || "VAST_REDIRECT" || "EMPTY_VAST_RESPONSE" || "EMPTY_VMAP_RESPONSE" || "VAST_RESPONSE" || "REDIRECTED_VAST_RESPONSE" || "FILLED_AVAIL" || "FILLED_OVERLAY_AVAIL" || "BEACON_FIRED" || "WARNING_NO_ADVERTISEMENTS" || "WARNING_VPAID_AD_DROPPED" || "WARNING_URL_VARIABLE_SUBSTITUTION_FAILED" || "ERROR_UNKNOWN" || "ERROR_UNKNOWN_HOST" || "ERROR_DISALLOWED_HOST" || "ERROR_ADS_IO" || "ERROR_ADS_TIMEOUT" || "ERROR_ADS_RESPONSE_PARSE" || "ERROR_ADS_RESPONSE_UNKNOWN_ROOT_ELEMENT" || "ERROR_ADS_INVALID_RESPONSE" || "ERROR_VAST_REDIRECT_EMPTY_RESPONSE" || "ERROR_VAST_REDIRECT_MULTIPLE_VAST" || "ERROR_VAST_REDIRECT_FAILED" || "ERROR_VAST_MISSING_MEDIAFILES" || "ERROR_VAST_MISSING_CREATIVES" || "ERROR_VAST_MISSING_OVERLAYS" || "ERROR_VAST_MISSING_IMPRESSION" || "ERROR_VAST_INVALID_VAST_AD_TAG_URI" || "ERROR_VAST_MULTIPLE_TRACKING_EVENTS" || "ERROR_VAST_MULTIPLE_LINEAR" || "ERROR_VAST_INVALID_MEDIA_FILE" || "ERROR_FIRING_BEACON_FAILED" || "ERROR_PERSONALIZATION_DISABLED" || "VOD_TIME_BASED_AVAIL_PLAN_VAST_RESPONSE_FOR_OFFSET" || "VOD_TIME_BASED_AVAIL_PLAN_SUCCESS" || "VOD_TIME_BASED_AVAIL_PLAN_WARNING_NO_ADVERTISEMENTS" || "INTERSTITIAL_VOD_SUCCESS" || "INTERSTITIAL_VOD_FAILURE",
|
|
143
|
+
* // "AD_MARKER_FOUND" || "NON_AD_MARKER_FOUND" || "MAKING_ADS_REQUEST" || "MODIFIED_TARGET_URL" || "VAST_REDIRECT" || "EMPTY_VAST_RESPONSE" || "EMPTY_VMAP_RESPONSE" || "VAST_RESPONSE" || "REDIRECTED_VAST_RESPONSE" || "FILLED_AVAIL" || "FILLED_OVERLAY_AVAIL" || "BEACON_FIRED" || "WARNING_NO_ADVERTISEMENTS" || "WARNING_VPAID_AD_DROPPED" || "WARNING_URL_VARIABLE_SUBSTITUTION_FAILED" || "ERROR_UNKNOWN" || "ERROR_UNKNOWN_HOST" || "ERROR_DISALLOWED_HOST" || "ERROR_ADS_IO" || "ERROR_ADS_TIMEOUT" || "ERROR_ADS_RESPONSE_PARSE" || "ERROR_ADS_RESPONSE_UNKNOWN_ROOT_ELEMENT" || "ERROR_ADS_INVALID_RESPONSE" || "ERROR_VAST_REDIRECT_EMPTY_RESPONSE" || "ERROR_VAST_REDIRECT_MULTIPLE_VAST" || "ERROR_VAST_REDIRECT_FAILED" || "ERROR_VAST_MISSING_MEDIAFILES" || "ERROR_VAST_MISSING_CREATIVES" || "ERROR_VAST_MISSING_OVERLAYS" || "ERROR_VAST_MISSING_IMPRESSION" || "ERROR_VAST_INVALID_VAST_AD_TAG_URI" || "ERROR_VAST_MULTIPLE_TRACKING_EVENTS" || "ERROR_VAST_MULTIPLE_LINEAR" || "ERROR_VAST_INVALID_MEDIA_FILE" || "ERROR_FIRING_BEACON_FAILED" || "ERROR_PERSONALIZATION_DISABLED" || "VOD_TIME_BASED_AVAIL_PLAN_VAST_RESPONSE_FOR_OFFSET" || "VOD_TIME_BASED_AVAIL_PLAN_SUCCESS" || "VOD_TIME_BASED_AVAIL_PLAN_WARNING_NO_ADVERTISEMENTS" || "INTERSTITIAL_VOD_SUCCESS" || "INTERSTITIAL_VOD_FAILURE" || "PRE_ADS_REQUEST_HOOK_ERROR" || "PRE_ADS_REQUEST_FUNCTION_ERROR",
|
|
141
144
|
* // ],
|
|
142
145
|
* // },
|
|
143
146
|
* // ManifestServiceInteractionLog: { // ManifestServiceInteractionLog
|
|
147
|
+
* // PublishOptInEventTypes: [ // __manifestServicePublishOptInEventTypesList
|
|
148
|
+
* // "PRE_SESSION_INIT_HOOK_SUMMARY" || "PRE_SESSION_INIT_FUNCTION_COMPLETED",
|
|
149
|
+
* // ],
|
|
144
150
|
* // ExcludeEventTypes: [ // __manifestServiceExcludeEventTypesList
|
|
145
|
-
* // "GENERATED_MANIFEST" || "ORIGIN_MANIFEST" || "SESSION_INITIALIZED" || "TRACKING_RESPONSE" || "CONFIG_SYNTAX_ERROR" || "CONFIG_SECURITY_ERROR" || "UNKNOWN_HOST" || "TIMEOUT_ERROR" || "CONNECTION_ERROR" || "IO_ERROR" || "UNKNOWN_ERROR" || "HOST_DISALLOWED" || "PARSING_ERROR" || "MANIFEST_ERROR" || "NO_MASTER_OR_MEDIA_PLAYLIST" || "NO_MASTER_PLAYLIST" || "NO_MEDIA_PLAYLIST" || "INCOMPATIBLE_HLS_VERSION" || "SCTE35_PARSING_ERROR" || "INVALID_SINGLE_PERIOD_DASH_MANIFEST" || "UNSUPPORTED_SINGLE_PERIOD_DASH_MANIFEST" || "LAST_PERIOD_MISSING_AUDIO" || "LAST_PERIOD_MISSING_AUDIO_WARNING" || "ERROR_ORIGIN_PREFIX_INTERPOLATION" || "ERROR_ADS_INTERPOLATION" || "ERROR_LIVE_PRE_ROLL_ADS_INTERPOLATION" || "ERROR_CDN_AD_SEGMENT_INTERPOLATION" || "ERROR_CDN_CONTENT_SEGMENT_INTERPOLATION" || "ERROR_SLATE_AD_URL_INTERPOLATION" || "ERROR_PROFILE_NAME_INTERPOLATION" || "ERROR_BUMPER_START_INTERPOLATION" || "ERROR_BUMPER_END_INTERPOLATION",
|
|
151
|
+
* // "GENERATED_MANIFEST" || "ORIGIN_MANIFEST" || "SESSION_INITIALIZED" || "TRACKING_RESPONSE" || "CONFIG_SYNTAX_ERROR" || "CONFIG_SECURITY_ERROR" || "UNKNOWN_HOST" || "TIMEOUT_ERROR" || "CONNECTION_ERROR" || "IO_ERROR" || "UNKNOWN_ERROR" || "HOST_DISALLOWED" || "PARSING_ERROR" || "MANIFEST_ERROR" || "NO_MASTER_OR_MEDIA_PLAYLIST" || "NO_MASTER_PLAYLIST" || "NO_MEDIA_PLAYLIST" || "INCOMPATIBLE_HLS_VERSION" || "SCTE35_PARSING_ERROR" || "INVALID_SINGLE_PERIOD_DASH_MANIFEST" || "UNSUPPORTED_SINGLE_PERIOD_DASH_MANIFEST" || "LAST_PERIOD_MISSING_AUDIO" || "LAST_PERIOD_MISSING_AUDIO_WARNING" || "ERROR_ORIGIN_PREFIX_INTERPOLATION" || "ERROR_ADS_INTERPOLATION" || "ERROR_LIVE_PRE_ROLL_ADS_INTERPOLATION" || "ERROR_CDN_AD_SEGMENT_INTERPOLATION" || "ERROR_CDN_CONTENT_SEGMENT_INTERPOLATION" || "ERROR_SLATE_AD_URL_INTERPOLATION" || "ERROR_PROFILE_NAME_INTERPOLATION" || "ERROR_BUMPER_START_INTERPOLATION" || "ERROR_BUMPER_END_INTERPOLATION" || "PRE_SESSION_INIT_HOOK_ERROR" || "PRE_SESSION_INIT_FUNCTION_ERROR",
|
|
146
152
|
* // ],
|
|
147
153
|
* // },
|
|
148
154
|
* // },
|
|
@@ -175,6 +181,9 @@ declare const PutPlaybackConfigurationCommand_base: {
|
|
|
175
181
|
* // CompressRequest: "NONE" || "GZIP",
|
|
176
182
|
* // },
|
|
177
183
|
* // },
|
|
184
|
+
* // FunctionMapping: { // FunctionMapping
|
|
185
|
+
* // "<keys>": "STRING_VALUE",
|
|
186
|
+
* // },
|
|
178
187
|
* // };
|
|
179
188
|
*
|
|
180
189
|
* ```
|
|
@@ -8,6 +8,7 @@ export * from "./CreateSourceLocationCommand";
|
|
|
8
8
|
export * from "./CreateVodSourceCommand";
|
|
9
9
|
export * from "./DeleteChannelCommand";
|
|
10
10
|
export * from "./DeleteChannelPolicyCommand";
|
|
11
|
+
export * from "./DeleteFunctionCommand";
|
|
11
12
|
export * from "./DeleteLiveSourceCommand";
|
|
12
13
|
export * from "./DeletePlaybackConfigurationCommand";
|
|
13
14
|
export * from "./DeletePrefetchScheduleCommand";
|
|
@@ -21,10 +22,12 @@ export * from "./DescribeSourceLocationCommand";
|
|
|
21
22
|
export * from "./DescribeVodSourceCommand";
|
|
22
23
|
export * from "./GetChannelPolicyCommand";
|
|
23
24
|
export * from "./GetChannelScheduleCommand";
|
|
25
|
+
export * from "./GetFunctionCommand";
|
|
24
26
|
export * from "./GetPlaybackConfigurationCommand";
|
|
25
27
|
export * from "./GetPrefetchScheduleCommand";
|
|
26
28
|
export * from "./ListAlertsCommand";
|
|
27
29
|
export * from "./ListChannelsCommand";
|
|
30
|
+
export * from "./ListFunctionsCommand";
|
|
28
31
|
export * from "./ListLiveSourcesCommand";
|
|
29
32
|
export * from "./ListPlaybackConfigurationsCommand";
|
|
30
33
|
export * from "./ListPrefetchSchedulesCommand";
|
|
@@ -32,6 +35,7 @@ export * from "./ListSourceLocationsCommand";
|
|
|
32
35
|
export * from "./ListTagsForResourceCommand";
|
|
33
36
|
export * from "./ListVodSourcesCommand";
|
|
34
37
|
export * from "./PutChannelPolicyCommand";
|
|
38
|
+
export * from "./PutFunctionCommand";
|
|
35
39
|
export * from "./PutPlaybackConfigurationCommand";
|
|
36
40
|
export * from "./StartChannelCommand";
|
|
37
41
|
export * from "./StopChannelCommand";
|
|
@@ -35,6 +35,8 @@ export declare const AdsInteractionExcludeEventType: {
|
|
|
35
35
|
readonly MAKING_ADS_REQUEST: "MAKING_ADS_REQUEST";
|
|
36
36
|
readonly MODIFIED_TARGET_URL: "MODIFIED_TARGET_URL";
|
|
37
37
|
readonly NON_AD_MARKER_FOUND: "NON_AD_MARKER_FOUND";
|
|
38
|
+
readonly PRE_ADS_REQUEST_FUNCTION_ERROR: "PRE_ADS_REQUEST_FUNCTION_ERROR";
|
|
39
|
+
readonly PRE_ADS_REQUEST_HOOK_ERROR: "PRE_ADS_REQUEST_HOOK_ERROR";
|
|
38
40
|
readonly REDIRECTED_VAST_RESPONSE: "REDIRECTED_VAST_RESPONSE";
|
|
39
41
|
readonly VAST_REDIRECT: "VAST_REDIRECT";
|
|
40
42
|
readonly VAST_RESPONSE: "VAST_RESPONSE";
|
|
@@ -54,6 +56,8 @@ export type AdsInteractionExcludeEventType = (typeof AdsInteractionExcludeEventT
|
|
|
54
56
|
* @enum
|
|
55
57
|
*/
|
|
56
58
|
export declare const AdsInteractionPublishOptInEventType: {
|
|
59
|
+
readonly PRE_ADS_REQUEST_FUNCTION_COMPLETED: "PRE_ADS_REQUEST_FUNCTION_COMPLETED";
|
|
60
|
+
readonly PRE_ADS_REQUEST_HOOK_SUMMARY: "PRE_ADS_REQUEST_HOOK_SUMMARY";
|
|
57
61
|
readonly RAW_ADS_REQUEST: "RAW_ADS_REQUEST";
|
|
58
62
|
readonly RAW_ADS_RESPONSE: "RAW_ADS_RESPONSE";
|
|
59
63
|
};
|
|
@@ -120,6 +124,42 @@ export declare const AdMarkupType: {
|
|
|
120
124
|
* @public
|
|
121
125
|
*/
|
|
122
126
|
export type AdMarkupType = (typeof AdMarkupType)[keyof typeof AdMarkupType];
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
* @enum
|
|
130
|
+
*/
|
|
131
|
+
export declare const RuntimeType: {
|
|
132
|
+
readonly JSONATA: "JSONATA";
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export type RuntimeType = (typeof RuntimeType)[keyof typeof RuntimeType];
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* @enum
|
|
141
|
+
*/
|
|
142
|
+
export declare const FunctionType: {
|
|
143
|
+
readonly CUSTOM_OUTPUT: "CUSTOM_OUTPUT";
|
|
144
|
+
readonly HTTP_REQUEST: "HTTP_REQUEST";
|
|
145
|
+
readonly SEQUENTIAL_EXECUTOR: "SEQUENTIAL_EXECUTOR";
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export type FunctionType = (typeof FunctionType)[keyof typeof FunctionType];
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
* @enum
|
|
154
|
+
*/
|
|
155
|
+
export declare const MethodType: {
|
|
156
|
+
readonly GET: "GET";
|
|
157
|
+
readonly POST: "POST";
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
export type MethodType = (typeof MethodType)[keyof typeof MethodType];
|
|
123
163
|
/**
|
|
124
164
|
* @public
|
|
125
165
|
* @enum
|
|
@@ -217,6 +257,18 @@ export declare const OriginManifestType: {
|
|
|
217
257
|
* @public
|
|
218
258
|
*/
|
|
219
259
|
export type OriginManifestType = (typeof OriginManifestType)[keyof typeof OriginManifestType];
|
|
260
|
+
/**
|
|
261
|
+
* @public
|
|
262
|
+
* @enum
|
|
263
|
+
*/
|
|
264
|
+
export declare const EventName: {
|
|
265
|
+
readonly PRE_ADS_REQUEST: "PRE_ADS_REQUEST";
|
|
266
|
+
readonly PRE_SESSION_INITIALIZATION: "PRE_SESSION_INITIALIZATION";
|
|
267
|
+
};
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
*/
|
|
271
|
+
export type EventName = (typeof EventName)[keyof typeof EventName];
|
|
220
272
|
/**
|
|
221
273
|
* @public
|
|
222
274
|
* @enum
|
|
@@ -259,6 +311,8 @@ export declare const ManifestServiceExcludeEventType: {
|
|
|
259
311
|
readonly NO_MEDIA_PLAYLIST: "NO_MEDIA_PLAYLIST";
|
|
260
312
|
readonly ORIGIN_MANIFEST: "ORIGIN_MANIFEST";
|
|
261
313
|
readonly PARSING_ERROR: "PARSING_ERROR";
|
|
314
|
+
readonly PRE_SESSION_INIT_FUNCTION_ERROR: "PRE_SESSION_INIT_FUNCTION_ERROR";
|
|
315
|
+
readonly PRE_SESSION_INIT_HOOK_ERROR: "PRE_SESSION_INIT_HOOK_ERROR";
|
|
262
316
|
readonly SCTE35_PARSING_ERROR: "SCTE35_PARSING_ERROR";
|
|
263
317
|
readonly SESSION_INITIALIZED: "SESSION_INITIALIZED";
|
|
264
318
|
readonly TIMEOUT_ERROR: "TIMEOUT_ERROR";
|
|
@@ -271,6 +325,18 @@ export declare const ManifestServiceExcludeEventType: {
|
|
|
271
325
|
* @public
|
|
272
326
|
*/
|
|
273
327
|
export type ManifestServiceExcludeEventType = (typeof ManifestServiceExcludeEventType)[keyof typeof ManifestServiceExcludeEventType];
|
|
328
|
+
/**
|
|
329
|
+
* @public
|
|
330
|
+
* @enum
|
|
331
|
+
*/
|
|
332
|
+
export declare const ManifestServicePublishOptInEventType: {
|
|
333
|
+
readonly PRE_SESSION_INIT_FUNCTION_COMPLETED: "PRE_SESSION_INIT_FUNCTION_COMPLETED";
|
|
334
|
+
readonly PRE_SESSION_INIT_HOOK_SUMMARY: "PRE_SESSION_INIT_HOOK_SUMMARY";
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* @public
|
|
338
|
+
*/
|
|
339
|
+
export type ManifestServicePublishOptInEventType = (typeof ManifestServicePublishOptInEventType)[keyof typeof ManifestServicePublishOptInEventType];
|
|
274
340
|
/**
|
|
275
341
|
* @public
|
|
276
342
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccessType, AdMarkupType, AdsInteractionExcludeEventType, AdsInteractionPublishOptInEventType, AlertCategory, ChannelState, CompressionMethod, FillPolicy, InsertionMode, ListPrefetchScheduleType, LoggingStrategy, LogType, ManifestServiceExcludeEventType, MessageType, Method, Mode, Operator, OriginManifestType, PlaybackMode, PrefetchScheduleType, RelativePosition, ScheduleEntryType, StreamingMediaFileConditioning, Tier, TrafficShapingType, Type } from "./enums";
|
|
1
|
+
import type { AccessType, AdMarkupType, AdsInteractionExcludeEventType, AdsInteractionPublishOptInEventType, AlertCategory, ChannelState, CompressionMethod, EventName, FillPolicy, FunctionType, InsertionMode, ListPrefetchScheduleType, LoggingStrategy, LogType, ManifestServiceExcludeEventType, ManifestServicePublishOptInEventType, MessageType, Method, MethodType, Mode, Operator, OriginManifestType, PlaybackMode, PrefetchScheduleType, RelativePosition, RuntimeType, ScheduleEntryType, StreamingMediaFileConditioning, Tier, TrafficShapingType, Type } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>For <code>SCTE35_ENHANCED</code> output, defines a key and corresponding value. MediaTailor generates these pairs within the <code>EXT-X-ASSET</code>tag.</p>
|
|
4
4
|
* @public
|
|
@@ -425,6 +425,151 @@ export interface Channel {
|
|
|
425
425
|
*/
|
|
426
426
|
Audiences?: string[] | undefined;
|
|
427
427
|
}
|
|
428
|
+
/**
|
|
429
|
+
* <p>A reference to a child function within a <code>SEQUENTIAL_EXECUTOR</code> function.</p>
|
|
430
|
+
* @public
|
|
431
|
+
*/
|
|
432
|
+
export interface FunctionRef {
|
|
433
|
+
/**
|
|
434
|
+
* <p>An optional expression that evaluates to a boolean. MediaTailor evaluates this expression immediately before running the step, using the accumulated state at that point in the sequence. If the expression evaluates to <code>false</code>, MediaTailor skips the step and moves to the next one. If omitted, the step always runs.</p>
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
437
|
+
RunCondition?: string | undefined;
|
|
438
|
+
/**
|
|
439
|
+
* <p>The identifier of the child function to execute in this step.</p>
|
|
440
|
+
* @public
|
|
441
|
+
*/
|
|
442
|
+
FunctionId?: string | undefined;
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* <p>The configuration for a <code>CUSTOM_OUTPUT</code> function. MediaTailor evaluates the output expressions against the current session state and commits the results as output bindings. <code>CUSTOM_OUTPUT</code> functions do not make external calls. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/monetization-functions-types-custom-output.html">CUSTOM_OUTPUT</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
448
|
+
export interface CustomOutputConfiguration {
|
|
449
|
+
/**
|
|
450
|
+
* <p>The expression language used to evaluate expressions in the function configuration. Set this to <code>JSONata</code>.</p>
|
|
451
|
+
* @public
|
|
452
|
+
*/
|
|
453
|
+
Runtime: RuntimeType | undefined;
|
|
454
|
+
/**
|
|
455
|
+
* <p>A map of output bindings. Each key is a namespaced output path (such as <code>player_params.device_type</code> or <code>temp.variant</code>), and each value is an expression that MediaTailor evaluates at runtime against the current session state. For more information about expression syntax, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/monetization-functions-jsonata.html">JSONata expression reference</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
456
|
+
* @public
|
|
457
|
+
*/
|
|
458
|
+
Output?: Record<string, string> | undefined;
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* -- Function Configuration DataStructure
|
|
462
|
+
* @public
|
|
463
|
+
*/
|
|
464
|
+
export interface HttpRequestConfiguration {
|
|
465
|
+
/**
|
|
466
|
+
* <p>The expression language used to evaluate expressions in the function configuration. Set this to <code>JSONata</code>.</p>
|
|
467
|
+
* @public
|
|
468
|
+
*/
|
|
469
|
+
Runtime: RuntimeType | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* <p>A map of output bindings. Each key is a namespaced output path (such as <code>player_params.device_type</code> or <code>temp.identity</code>), and each value is an expression that MediaTailor evaluates at runtime. Output expressions in an <code>HTTP_REQUEST</code> function can reference the <code>response</code> object returned by the HTTP call. For more information about expression syntax, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/monetization-functions-jsonata.html">JSONata expression reference</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
474
|
+
Output?: Record<string, string> | undefined;
|
|
475
|
+
/**
|
|
476
|
+
* <p>The HTTP method for the request. Valid values: <code>GET</code> and <code>POST</code>.</p>
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
479
|
+
MethodType: MethodType | undefined;
|
|
480
|
+
/**
|
|
481
|
+
* <p>The maximum time, in milliseconds, that MediaTailor waits for a response from the external service. If the call exceeds this timeout, MediaTailor sets the response status code to <code>null</code> and proceeds with output expression evaluation. Valid values: <code>100</code> to <code>2000</code>.</p>
|
|
482
|
+
* @public
|
|
483
|
+
*/
|
|
484
|
+
RequestTimeoutMilliseconds: number | undefined;
|
|
485
|
+
/**
|
|
486
|
+
* <p>An expression that evaluates to the request URL. Use <code>\{%...%\}</code> delimiters for dynamic expressions. The maximum length after evaluation is 2,048 characters.</p>
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
489
|
+
Url: string | undefined;
|
|
490
|
+
/**
|
|
491
|
+
* <p>An expression that evaluates to the request body. Used with <code>POST</code> requests. The maximum size after evaluation is 64 KB.</p>
|
|
492
|
+
* @public
|
|
493
|
+
*/
|
|
494
|
+
Body?: string | undefined;
|
|
495
|
+
/**
|
|
496
|
+
* <p>A map of HTTP header names to expression values. MediaTailor evaluates each header value expression at runtime and includes the result in the outbound HTTP request. Maximum 50 headers.</p>
|
|
497
|
+
* @public
|
|
498
|
+
*/
|
|
499
|
+
Headers?: Record<string, string> | undefined;
|
|
500
|
+
}
|
|
501
|
+
/**
|
|
502
|
+
* <p>The configuration for a <code>SEQUENTIAL_EXECUTOR</code> function. A <code>SEQUENTIAL_EXECUTOR</code> runs a sequence of child functions in order, passing data between steps through temporary data. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/monetization-functions-types-sequential-executor.html">SEQUENTIAL_EXECUTOR</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
503
|
+
* @public
|
|
504
|
+
*/
|
|
505
|
+
export interface SequentialExecutorConfiguration {
|
|
506
|
+
/**
|
|
507
|
+
* <p>The expression language used to evaluate expressions in the function configuration. Set this to <code>JSONata</code>.</p>
|
|
508
|
+
* @public
|
|
509
|
+
*/
|
|
510
|
+
Runtime: RuntimeType | undefined;
|
|
511
|
+
/**
|
|
512
|
+
* <p>An optional map of output bindings that controls which bindings the sequence commits to the session state after all steps complete. If omitted, MediaTailor commits all accumulated output bindings from all child steps.</p>
|
|
513
|
+
* @public
|
|
514
|
+
*/
|
|
515
|
+
Output?: Record<string, string> | undefined;
|
|
516
|
+
/**
|
|
517
|
+
* <p>An ordered list of 1 to 10 steps. Each step specifies a child function to execute and an optional run condition expression that controls whether the step runs. MediaTailor executes steps in order, passing data between steps through temporary data.</p>
|
|
518
|
+
* @public
|
|
519
|
+
*/
|
|
520
|
+
FunctionList: FunctionRef[] | undefined;
|
|
521
|
+
/**
|
|
522
|
+
* <p>The maximum time, in milliseconds, for the entire sequence to complete. This timeout covers all steps, including any HTTP calls made by child functions. If the sequence exceeds this timeout, MediaTailor discards all output from the sequence and proceeds with default behavior.</p>
|
|
523
|
+
* @public
|
|
524
|
+
*/
|
|
525
|
+
TimeoutMilliseconds: number | undefined;
|
|
526
|
+
}
|
|
527
|
+
/**
|
|
528
|
+
* -- Define Mixin --
|
|
529
|
+
* @public
|
|
530
|
+
*/
|
|
531
|
+
export interface Function {
|
|
532
|
+
/**
|
|
533
|
+
* <p>The identifier of the function.</p>
|
|
534
|
+
* @public
|
|
535
|
+
*/
|
|
536
|
+
FunctionId: string | undefined;
|
|
537
|
+
/**
|
|
538
|
+
* <p>The type of the function.</p>
|
|
539
|
+
* @public
|
|
540
|
+
*/
|
|
541
|
+
FunctionType: FunctionType | undefined;
|
|
542
|
+
/**
|
|
543
|
+
* <p>A description of the function.</p>
|
|
544
|
+
* @public
|
|
545
|
+
*/
|
|
546
|
+
Description?: string | undefined;
|
|
547
|
+
/**
|
|
548
|
+
* <p>The configuration for an <code>HTTP_REQUEST</code> function.</p>
|
|
549
|
+
* @public
|
|
550
|
+
*/
|
|
551
|
+
HttpRequestConfiguration?: HttpRequestConfiguration | undefined;
|
|
552
|
+
/**
|
|
553
|
+
* <p>The configuration for a <code>CUSTOM_OUTPUT</code> function.</p>
|
|
554
|
+
* @public
|
|
555
|
+
*/
|
|
556
|
+
CustomOutputConfiguration?: CustomOutputConfiguration | undefined;
|
|
557
|
+
/**
|
|
558
|
+
* <p>The configuration for a <code>SEQUENTIAL_EXECUTOR</code> function.</p>
|
|
559
|
+
* @public
|
|
560
|
+
*/
|
|
561
|
+
SequentialExecutorConfiguration?: SequentialExecutorConfiguration | undefined;
|
|
562
|
+
/**
|
|
563
|
+
* <p>The tags assigned to the function. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/tagging.html">Tagging AWS Elemental MediaTailor Resources</a>.</p>
|
|
564
|
+
* @public
|
|
565
|
+
*/
|
|
566
|
+
Tags?: Record<string, string> | undefined;
|
|
567
|
+
/**
|
|
568
|
+
* <p>The Amazon Resource Name (ARN) of the function.</p>
|
|
569
|
+
* @public
|
|
570
|
+
*/
|
|
571
|
+
Arn?: string | undefined;
|
|
572
|
+
}
|
|
428
573
|
/**
|
|
429
574
|
* <p>The HTTP package configuration properties for the requested VOD source.</p>
|
|
430
575
|
* @public
|
|
@@ -657,6 +802,11 @@ export interface AdsInteractionLog {
|
|
|
657
802
|
* @public
|
|
658
803
|
*/
|
|
659
804
|
export interface ManifestServiceInteractionLog {
|
|
805
|
+
/**
|
|
806
|
+
* <p>Indicates that MediaTailor will emit the selected events in the logs for playback sessions that are initialized with this configuration. These events are not emitted by default and must be explicitly opted in.</p>
|
|
807
|
+
* @public
|
|
808
|
+
*/
|
|
809
|
+
PublishOptInEventTypes?: ManifestServicePublishOptInEventType[] | undefined;
|
|
660
810
|
/**
|
|
661
811
|
* <p>Indicates that MediaTailor won't emit the selected events in the logs for playback sessions that are initialized with this configuration.</p>
|
|
662
812
|
* @public
|
|
@@ -826,6 +976,11 @@ export interface PlaybackConfiguration {
|
|
|
826
976
|
* @public
|
|
827
977
|
*/
|
|
828
978
|
AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
|
|
979
|
+
/**
|
|
980
|
+
* <p>A map of lifecycle hook event names to function identifiers. The function mapping specifies which function MediaTailor executes at each lifecycle hook during ad insertion. Valid keys are <code>PRE_SESSION_INITIALIZATION</code> and <code>PRE_ADS_REQUEST</code>. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/monetization-functions-hooks.html">Functions lifecycle hooks</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
981
|
+
* @public
|
|
982
|
+
*/
|
|
983
|
+
FunctionMapping?: Partial<Record<EventName, string>> | undefined;
|
|
829
984
|
}
|
|
830
985
|
/**
|
|
831
986
|
* <p>For single prefetch, describes how and when that MediaTailor places prefetched ads into upcoming ad breaks.</p>
|
|
@@ -1864,7 +2019,7 @@ export interface CreateProgramResponse {
|
|
|
1864
2019
|
*/
|
|
1865
2020
|
AudienceMedia?: AudienceMedia[] | undefined;
|
|
1866
2021
|
/**
|
|
1867
|
-
* <p>The tags
|
|
2022
|
+
* <p>The tags assigned to the program. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/tagging.html">Tagging AWS Elemental MediaTailor Resources</a>.</p>
|
|
1868
2023
|
* @public
|
|
1869
2024
|
*/
|
|
1870
2025
|
Tags?: Record<string, string> | undefined;
|
|
@@ -2447,7 +2602,7 @@ export interface CreatePrefetchScheduleResponse {
|
|
|
2447
2602
|
*/
|
|
2448
2603
|
StreamId?: string | undefined;
|
|
2449
2604
|
/**
|
|
2450
|
-
* <p>The tags
|
|
2605
|
+
* <p>The tags assigned to the prefetch schedule. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/tagging.html">Tagging AWS Elemental MediaTailor Resources</a>.</p>
|
|
2451
2606
|
* @public
|
|
2452
2607
|
*/
|
|
2453
2608
|
Tags?: Record<string, string> | undefined;
|
|
@@ -2618,6 +2773,21 @@ export interface DashConfigurationForPut {
|
|
|
2618
2773
|
*/
|
|
2619
2774
|
OriginManifestType?: OriginManifestType | undefined;
|
|
2620
2775
|
}
|
|
2776
|
+
/**
|
|
2777
|
+
* @public
|
|
2778
|
+
*/
|
|
2779
|
+
export interface DeleteFunctionRequest {
|
|
2780
|
+
/**
|
|
2781
|
+
* <p>The identifier of the function to delete.</p>
|
|
2782
|
+
* @public
|
|
2783
|
+
*/
|
|
2784
|
+
FunctionId: string | undefined;
|
|
2785
|
+
}
|
|
2786
|
+
/**
|
|
2787
|
+
* @public
|
|
2788
|
+
*/
|
|
2789
|
+
export interface DeleteFunctionResponse {
|
|
2790
|
+
}
|
|
2621
2791
|
/**
|
|
2622
2792
|
* @public
|
|
2623
2793
|
*/
|
|
@@ -2883,6 +3053,180 @@ export interface DescribeVodSourceResponse {
|
|
|
2883
3053
|
*/
|
|
2884
3054
|
VodSourceName?: string | undefined;
|
|
2885
3055
|
}
|
|
3056
|
+
/**
|
|
3057
|
+
* -- Request/Response DataStructures --
|
|
3058
|
+
* @public
|
|
3059
|
+
*/
|
|
3060
|
+
export interface GetFunctionRequest {
|
|
3061
|
+
/**
|
|
3062
|
+
* <p>The identifier of the function.</p>
|
|
3063
|
+
* @public
|
|
3064
|
+
*/
|
|
3065
|
+
FunctionId: string | undefined;
|
|
3066
|
+
}
|
|
3067
|
+
/**
|
|
3068
|
+
* -- Define Mixin --
|
|
3069
|
+
* @public
|
|
3070
|
+
*/
|
|
3071
|
+
export interface GetFunctionResponse {
|
|
3072
|
+
/**
|
|
3073
|
+
* <p>The identifier of the function.</p>
|
|
3074
|
+
* @public
|
|
3075
|
+
*/
|
|
3076
|
+
FunctionId: string | undefined;
|
|
3077
|
+
/**
|
|
3078
|
+
* <p>The type of the function.</p>
|
|
3079
|
+
* @public
|
|
3080
|
+
*/
|
|
3081
|
+
FunctionType: FunctionType | undefined;
|
|
3082
|
+
/**
|
|
3083
|
+
* <p>A description of the function.</p>
|
|
3084
|
+
* @public
|
|
3085
|
+
*/
|
|
3086
|
+
Description?: string | undefined;
|
|
3087
|
+
/**
|
|
3088
|
+
* <p>The configuration for an <code>HTTP_REQUEST</code> function.</p>
|
|
3089
|
+
* @public
|
|
3090
|
+
*/
|
|
3091
|
+
HttpRequestConfiguration?: HttpRequestConfiguration | undefined;
|
|
3092
|
+
/**
|
|
3093
|
+
* <p>The configuration for a <code>CUSTOM_OUTPUT</code> function.</p>
|
|
3094
|
+
* @public
|
|
3095
|
+
*/
|
|
3096
|
+
CustomOutputConfiguration?: CustomOutputConfiguration | undefined;
|
|
3097
|
+
/**
|
|
3098
|
+
* <p>The configuration for a <code>SEQUENTIAL_EXECUTOR</code> function.</p>
|
|
3099
|
+
* @public
|
|
3100
|
+
*/
|
|
3101
|
+
SequentialExecutorConfiguration?: SequentialExecutorConfiguration | undefined;
|
|
3102
|
+
/**
|
|
3103
|
+
* <p>The tags assigned to the function. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/tagging.html">Tagging AWS Elemental MediaTailor Resources</a>.</p>
|
|
3104
|
+
* @public
|
|
3105
|
+
*/
|
|
3106
|
+
Tags?: Record<string, string> | undefined;
|
|
3107
|
+
/**
|
|
3108
|
+
* <p>The Amazon Resource Name (ARN) of the function.</p>
|
|
3109
|
+
* @public
|
|
3110
|
+
*/
|
|
3111
|
+
Arn?: string | undefined;
|
|
3112
|
+
}
|
|
3113
|
+
/**
|
|
3114
|
+
* @public
|
|
3115
|
+
*/
|
|
3116
|
+
export interface ListFunctionsRequest {
|
|
3117
|
+
/**
|
|
3118
|
+
* <p>The maximum number of functions that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> functions, use the value of <code>NextToken</code> in the response to get the next page of results.</p> <p>The default value is 100. MediaTailor uses token-based pagination, which means that a response might contain fewer than <code>MaxResults</code> items, including 0 items, even when more results are available. To retrieve all results, you must continue making requests using the <code>NextToken</code> value from each response until the response no longer includes a <code>NextToken</code> value.</p>
|
|
3119
|
+
* @public
|
|
3120
|
+
*/
|
|
3121
|
+
MaxResults?: number | undefined;
|
|
3122
|
+
/**
|
|
3123
|
+
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p> <p>For the first <code>ListFunctions</code> request, omit this value. For subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request. Continue making requests until the response no longer includes a <code>NextToken</code> value, which indicates that all results have been retrieved.</p>
|
|
3124
|
+
* @public
|
|
3125
|
+
*/
|
|
3126
|
+
NextToken?: string | undefined;
|
|
3127
|
+
}
|
|
3128
|
+
/**
|
|
3129
|
+
* @public
|
|
3130
|
+
*/
|
|
3131
|
+
export interface ListFunctionsResponse {
|
|
3132
|
+
/**
|
|
3133
|
+
* <p>A list of functions associated with your account in the current Region.</p>
|
|
3134
|
+
* @public
|
|
3135
|
+
*/
|
|
3136
|
+
Items?: Function[] | undefined;
|
|
3137
|
+
/**
|
|
3138
|
+
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p> <p>For the first <code>ListFunctions</code> request, omit this value. For subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request. Continue making requests until the response no longer includes a <code>NextToken</code> value, which indicates that all results have been retrieved.</p>
|
|
3139
|
+
* @public
|
|
3140
|
+
*/
|
|
3141
|
+
NextToken?: string | undefined;
|
|
3142
|
+
}
|
|
3143
|
+
/**
|
|
3144
|
+
* -- Define Mixin --
|
|
3145
|
+
* @public
|
|
3146
|
+
*/
|
|
3147
|
+
export interface PutFunctionRequest {
|
|
3148
|
+
/**
|
|
3149
|
+
* <p>The identifier of the function. The identifier must be unique within your account.</p>
|
|
3150
|
+
* @public
|
|
3151
|
+
*/
|
|
3152
|
+
FunctionId: string | undefined;
|
|
3153
|
+
/**
|
|
3154
|
+
* <p>The type of the function. The function type determines what the function can do at runtime. Valid values: <code>CUSTOM_OUTPUT</code> evaluates expressions and produces output bindings with no external calls. <code>HTTP_REQUEST</code> makes an HTTP call to an external service and evaluates output expressions that can reference the response. <code>SEQUENTIAL_EXECUTOR</code> runs a sequence of child functions in order, passing data between steps through temporary data. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/monetization-functions-types.html">Function types and composition</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
3155
|
+
* @public
|
|
3156
|
+
*/
|
|
3157
|
+
FunctionType: FunctionType | undefined;
|
|
3158
|
+
/**
|
|
3159
|
+
* <p>A description of the function.</p>
|
|
3160
|
+
* @public
|
|
3161
|
+
*/
|
|
3162
|
+
Description?: string | undefined;
|
|
3163
|
+
/**
|
|
3164
|
+
* <p>The configuration for an <code>HTTP_REQUEST</code> function. Specifies the HTTP method, URL, headers, body, timeout, and output expressions. Required when <code>FunctionType</code> is <code>HTTP_REQUEST</code>.</p>
|
|
3165
|
+
* @public
|
|
3166
|
+
*/
|
|
3167
|
+
HttpRequestConfiguration?: HttpRequestConfiguration | undefined;
|
|
3168
|
+
/**
|
|
3169
|
+
* <p>The configuration for a <code>CUSTOM_OUTPUT</code> function. Specifies the runtime and output expressions. Required when <code>FunctionType</code> is <code>CUSTOM_OUTPUT</code>.</p>
|
|
3170
|
+
* @public
|
|
3171
|
+
*/
|
|
3172
|
+
CustomOutputConfiguration?: CustomOutputConfiguration | undefined;
|
|
3173
|
+
/**
|
|
3174
|
+
* <p>The configuration for a <code>SEQUENTIAL_EXECUTOR</code> function. Specifies the ordered list of child functions to execute, an optional output block, and a timeout. Required when <code>FunctionType</code> is <code>SEQUENTIAL_EXECUTOR</code>.</p>
|
|
3175
|
+
* @public
|
|
3176
|
+
*/
|
|
3177
|
+
SequentialExecutorConfiguration?: SequentialExecutorConfiguration | undefined;
|
|
3178
|
+
/**
|
|
3179
|
+
* <p>The tags to assign to the function. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/tagging.html">Tagging AWS Elemental MediaTailor Resources</a>.</p>
|
|
3180
|
+
* @public
|
|
3181
|
+
*/
|
|
3182
|
+
Tags?: Record<string, string> | undefined;
|
|
3183
|
+
}
|
|
3184
|
+
/**
|
|
3185
|
+
* -- Define Mixin --
|
|
3186
|
+
* @public
|
|
3187
|
+
*/
|
|
3188
|
+
export interface PutFunctionResponse {
|
|
3189
|
+
/**
|
|
3190
|
+
* <p>The identifier of the function.</p>
|
|
3191
|
+
* @public
|
|
3192
|
+
*/
|
|
3193
|
+
FunctionId: string | undefined;
|
|
3194
|
+
/**
|
|
3195
|
+
* <p>The type of the function.</p>
|
|
3196
|
+
* @public
|
|
3197
|
+
*/
|
|
3198
|
+
FunctionType: FunctionType | undefined;
|
|
3199
|
+
/**
|
|
3200
|
+
* <p>A description of the function.</p>
|
|
3201
|
+
* @public
|
|
3202
|
+
*/
|
|
3203
|
+
Description?: string | undefined;
|
|
3204
|
+
/**
|
|
3205
|
+
* <p>The configuration for an <code>HTTP_REQUEST</code> function.</p>
|
|
3206
|
+
* @public
|
|
3207
|
+
*/
|
|
3208
|
+
HttpRequestConfiguration?: HttpRequestConfiguration | undefined;
|
|
3209
|
+
/**
|
|
3210
|
+
* <p>The configuration for a <code>CUSTOM_OUTPUT</code> function.</p>
|
|
3211
|
+
* @public
|
|
3212
|
+
*/
|
|
3213
|
+
CustomOutputConfiguration?: CustomOutputConfiguration | undefined;
|
|
3214
|
+
/**
|
|
3215
|
+
* <p>The configuration for a <code>SEQUENTIAL_EXECUTOR</code> function.</p>
|
|
3216
|
+
* @public
|
|
3217
|
+
*/
|
|
3218
|
+
SequentialExecutorConfiguration?: SequentialExecutorConfiguration | undefined;
|
|
3219
|
+
/**
|
|
3220
|
+
* <p>The tags assigned to the function. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/tagging.html">Tagging AWS Elemental MediaTailor Resources</a>.</p>
|
|
3221
|
+
* @public
|
|
3222
|
+
*/
|
|
3223
|
+
Tags?: Record<string, string> | undefined;
|
|
3224
|
+
/**
|
|
3225
|
+
* <p>The Amazon Resource Name (ARN) of the function.</p>
|
|
3226
|
+
* @public
|
|
3227
|
+
*/
|
|
3228
|
+
Arn?: string | undefined;
|
|
3229
|
+
}
|
|
2886
3230
|
/**
|
|
2887
3231
|
* @public
|
|
2888
3232
|
*/
|
|
@@ -3007,6 +3351,11 @@ export interface GetPlaybackConfigurationResponse {
|
|
|
3007
3351
|
* @public
|
|
3008
3352
|
*/
|
|
3009
3353
|
AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
|
|
3354
|
+
/**
|
|
3355
|
+
* <p>A map of lifecycle hook event names to function identifiers. The function mapping specifies which function MediaTailor executes at each lifecycle hook during ad insertion. Valid keys are <code>PRE_SESSION_INITIALIZATION</code> and <code>PRE_ADS_REQUEST</code>. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/monetization-functions-hooks.html">Functions lifecycle hooks</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
3356
|
+
* @public
|
|
3357
|
+
*/
|
|
3358
|
+
FunctionMapping?: Partial<Record<EventName, string>> | undefined;
|
|
3010
3359
|
}
|
|
3011
3360
|
/**
|
|
3012
3361
|
* @public
|
|
@@ -3452,6 +3801,11 @@ export interface PutPlaybackConfigurationRequest {
|
|
|
3452
3801
|
* @public
|
|
3453
3802
|
*/
|
|
3454
3803
|
AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
|
|
3804
|
+
/**
|
|
3805
|
+
* <p>A map of lifecycle hook event names to function identifiers. The function mapping specifies which function MediaTailor executes at each lifecycle hook during ad insertion. Valid keys are <code>PRE_SESSION_INITIALIZATION</code> and <code>PRE_ADS_REQUEST</code>. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/monetization-functions-hooks.html">Functions lifecycle hooks</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
3806
|
+
* @public
|
|
3807
|
+
*/
|
|
3808
|
+
FunctionMapping?: Partial<Record<EventName, string>> | undefined;
|
|
3455
3809
|
}
|
|
3456
3810
|
/**
|
|
3457
3811
|
* @public
|
|
@@ -3567,6 +3921,11 @@ export interface PutPlaybackConfigurationResponse {
|
|
|
3567
3921
|
* @public
|
|
3568
3922
|
*/
|
|
3569
3923
|
AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
|
|
3924
|
+
/**
|
|
3925
|
+
* <p>A map of lifecycle hook event names to function identifiers. The function mapping specifies which function MediaTailor executes at each lifecycle hook during ad insertion. Valid keys are <code>PRE_SESSION_INITIALIZATION</code> and <code>PRE_ADS_REQUEST</code>. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/monetization-functions-hooks.html">Functions lifecycle hooks</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
3926
|
+
* @public
|
|
3927
|
+
*/
|
|
3928
|
+
FunctionMapping?: Partial<Record<EventName, string>> | undefined;
|
|
3570
3929
|
}
|
|
3571
3930
|
/**
|
|
3572
3931
|
* @public
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "../commands/ListFunctionsCommand";
|
|
3
|
+
import type { MediaTailorPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListFunctions: (config: MediaTailorPaginationConfiguration, input: ListFunctionsCommandInput, ...rest: any[]) => Paginator<ListFunctionsCommandOutput>;
|
|
@@ -2,6 +2,7 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./GetChannelSchedulePaginator";
|
|
3
3
|
export * from "./ListAlertsPaginator";
|
|
4
4
|
export * from "./ListChannelsPaginator";
|
|
5
|
+
export * from "./ListFunctionsPaginator";
|
|
5
6
|
export * from "./ListLiveSourcesPaginator";
|
|
6
7
|
export * from "./ListPlaybackConfigurationsPaginator";
|
|
7
8
|
export * from "./ListPrefetchSchedulesPaginator";
|