@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
|
@@ -6,20 +6,25 @@ import {
|
|
|
6
6
|
AlertCategory,
|
|
7
7
|
ChannelState,
|
|
8
8
|
CompressionMethod,
|
|
9
|
+
EventName,
|
|
9
10
|
FillPolicy,
|
|
11
|
+
FunctionType,
|
|
10
12
|
InsertionMode,
|
|
11
13
|
ListPrefetchScheduleType,
|
|
12
14
|
LoggingStrategy,
|
|
13
15
|
LogType,
|
|
14
16
|
ManifestServiceExcludeEventType,
|
|
17
|
+
ManifestServicePublishOptInEventType,
|
|
15
18
|
MessageType,
|
|
16
19
|
Method,
|
|
20
|
+
MethodType,
|
|
17
21
|
Mode,
|
|
18
22
|
Operator,
|
|
19
23
|
OriginManifestType,
|
|
20
24
|
PlaybackMode,
|
|
21
25
|
PrefetchScheduleType,
|
|
22
26
|
RelativePosition,
|
|
27
|
+
RuntimeType,
|
|
23
28
|
ScheduleEntryType,
|
|
24
29
|
StreamingMediaFileConditioning,
|
|
25
30
|
Tier,
|
|
@@ -124,6 +129,39 @@ export interface Channel {
|
|
|
124
129
|
LogConfiguration: LogConfigurationForChannel | undefined;
|
|
125
130
|
Audiences?: string[] | undefined;
|
|
126
131
|
}
|
|
132
|
+
export interface FunctionRef {
|
|
133
|
+
RunCondition?: string | undefined;
|
|
134
|
+
FunctionId?: string | undefined;
|
|
135
|
+
}
|
|
136
|
+
export interface CustomOutputConfiguration {
|
|
137
|
+
Runtime: RuntimeType | undefined;
|
|
138
|
+
Output?: Record<string, string> | undefined;
|
|
139
|
+
}
|
|
140
|
+
export interface HttpRequestConfiguration {
|
|
141
|
+
Runtime: RuntimeType | undefined;
|
|
142
|
+
Output?: Record<string, string> | undefined;
|
|
143
|
+
MethodType: MethodType | undefined;
|
|
144
|
+
RequestTimeoutMilliseconds: number | undefined;
|
|
145
|
+
Url: string | undefined;
|
|
146
|
+
Body?: string | undefined;
|
|
147
|
+
Headers?: Record<string, string> | undefined;
|
|
148
|
+
}
|
|
149
|
+
export interface SequentialExecutorConfiguration {
|
|
150
|
+
Runtime: RuntimeType | undefined;
|
|
151
|
+
Output?: Record<string, string> | undefined;
|
|
152
|
+
FunctionList: FunctionRef[] | undefined;
|
|
153
|
+
TimeoutMilliseconds: number | undefined;
|
|
154
|
+
}
|
|
155
|
+
export interface Function {
|
|
156
|
+
FunctionId: string | undefined;
|
|
157
|
+
FunctionType: FunctionType | undefined;
|
|
158
|
+
Description?: string | undefined;
|
|
159
|
+
HttpRequestConfiguration?: HttpRequestConfiguration | undefined;
|
|
160
|
+
CustomOutputConfiguration?: CustomOutputConfiguration | undefined;
|
|
161
|
+
SequentialExecutorConfiguration?: SequentialExecutorConfiguration | undefined;
|
|
162
|
+
Tags?: Record<string, string> | undefined;
|
|
163
|
+
Arn?: string | undefined;
|
|
164
|
+
}
|
|
127
165
|
export interface HttpPackageConfiguration {
|
|
128
166
|
Path: string | undefined;
|
|
129
167
|
SourceGroup: string | undefined;
|
|
@@ -180,6 +218,7 @@ export interface AdsInteractionLog {
|
|
|
180
218
|
ExcludeEventTypes?: AdsInteractionExcludeEventType[] | undefined;
|
|
181
219
|
}
|
|
182
220
|
export interface ManifestServiceInteractionLog {
|
|
221
|
+
PublishOptInEventTypes?: ManifestServicePublishOptInEventType[] | undefined;
|
|
183
222
|
ExcludeEventTypes?: ManifestServiceExcludeEventType[] | undefined;
|
|
184
223
|
}
|
|
185
224
|
export interface LogConfiguration {
|
|
@@ -217,6 +256,7 @@ export interface PlaybackConfiguration {
|
|
|
217
256
|
VideoContentSourceUrl?: string | undefined;
|
|
218
257
|
AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
|
|
219
258
|
AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
|
|
259
|
+
FunctionMapping?: Partial<Record<EventName, string>> | undefined;
|
|
220
260
|
}
|
|
221
261
|
export interface PrefetchConsumption {
|
|
222
262
|
AvailMatchingCriteria?: AvailMatchingCriteria[] | undefined;
|
|
@@ -640,6 +680,10 @@ export interface DashConfigurationForPut {
|
|
|
640
680
|
MpdLocation?: string | undefined;
|
|
641
681
|
OriginManifestType?: OriginManifestType | undefined;
|
|
642
682
|
}
|
|
683
|
+
export interface DeleteFunctionRequest {
|
|
684
|
+
FunctionId: string | undefined;
|
|
685
|
+
}
|
|
686
|
+
export interface DeleteFunctionResponse {}
|
|
643
687
|
export interface DeleteLiveSourceRequest {
|
|
644
688
|
LiveSourceName: string | undefined;
|
|
645
689
|
SourceLocationName: string | undefined;
|
|
@@ -706,6 +750,46 @@ export interface DescribeVodSourceResponse {
|
|
|
706
750
|
Tags?: Record<string, string> | undefined;
|
|
707
751
|
VodSourceName?: string | undefined;
|
|
708
752
|
}
|
|
753
|
+
export interface GetFunctionRequest {
|
|
754
|
+
FunctionId: string | undefined;
|
|
755
|
+
}
|
|
756
|
+
export interface GetFunctionResponse {
|
|
757
|
+
FunctionId: string | undefined;
|
|
758
|
+
FunctionType: FunctionType | undefined;
|
|
759
|
+
Description?: string | undefined;
|
|
760
|
+
HttpRequestConfiguration?: HttpRequestConfiguration | undefined;
|
|
761
|
+
CustomOutputConfiguration?: CustomOutputConfiguration | undefined;
|
|
762
|
+
SequentialExecutorConfiguration?: SequentialExecutorConfiguration | undefined;
|
|
763
|
+
Tags?: Record<string, string> | undefined;
|
|
764
|
+
Arn?: string | undefined;
|
|
765
|
+
}
|
|
766
|
+
export interface ListFunctionsRequest {
|
|
767
|
+
MaxResults?: number | undefined;
|
|
768
|
+
NextToken?: string | undefined;
|
|
769
|
+
}
|
|
770
|
+
export interface ListFunctionsResponse {
|
|
771
|
+
Items?: Function[] | undefined;
|
|
772
|
+
NextToken?: string | undefined;
|
|
773
|
+
}
|
|
774
|
+
export interface PutFunctionRequest {
|
|
775
|
+
FunctionId: string | undefined;
|
|
776
|
+
FunctionType: FunctionType | undefined;
|
|
777
|
+
Description?: string | undefined;
|
|
778
|
+
HttpRequestConfiguration?: HttpRequestConfiguration | undefined;
|
|
779
|
+
CustomOutputConfiguration?: CustomOutputConfiguration | undefined;
|
|
780
|
+
SequentialExecutorConfiguration?: SequentialExecutorConfiguration | undefined;
|
|
781
|
+
Tags?: Record<string, string> | undefined;
|
|
782
|
+
}
|
|
783
|
+
export interface PutFunctionResponse {
|
|
784
|
+
FunctionId: string | undefined;
|
|
785
|
+
FunctionType: FunctionType | undefined;
|
|
786
|
+
Description?: string | undefined;
|
|
787
|
+
HttpRequestConfiguration?: HttpRequestConfiguration | undefined;
|
|
788
|
+
CustomOutputConfiguration?: CustomOutputConfiguration | undefined;
|
|
789
|
+
SequentialExecutorConfiguration?: SequentialExecutorConfiguration | undefined;
|
|
790
|
+
Tags?: Record<string, string> | undefined;
|
|
791
|
+
Arn?: string | undefined;
|
|
792
|
+
}
|
|
709
793
|
export interface GetPlaybackConfigurationRequest {
|
|
710
794
|
Name: string | undefined;
|
|
711
795
|
}
|
|
@@ -732,6 +816,7 @@ export interface GetPlaybackConfigurationResponse {
|
|
|
732
816
|
VideoContentSourceUrl?: string | undefined;
|
|
733
817
|
AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
|
|
734
818
|
AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
|
|
819
|
+
FunctionMapping?: Partial<Record<EventName, string>> | undefined;
|
|
735
820
|
}
|
|
736
821
|
export interface GetPrefetchScheduleRequest {
|
|
737
822
|
Name: string | undefined;
|
|
@@ -840,6 +925,7 @@ export interface PutPlaybackConfigurationRequest {
|
|
|
840
925
|
VideoContentSourceUrl?: string | undefined;
|
|
841
926
|
AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
|
|
842
927
|
AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
|
|
928
|
+
FunctionMapping?: Partial<Record<EventName, string>> | undefined;
|
|
843
929
|
}
|
|
844
930
|
export interface PutPlaybackConfigurationResponse {
|
|
845
931
|
AdDecisionServerUrl?: string | undefined;
|
|
@@ -864,6 +950,7 @@ export interface PutPlaybackConfigurationResponse {
|
|
|
864
950
|
VideoContentSourceUrl?: string | undefined;
|
|
865
951
|
AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
|
|
866
952
|
AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
|
|
953
|
+
FunctionMapping?: Partial<Record<EventName, string>> | undefined;
|
|
867
954
|
}
|
|
868
955
|
export interface UpdateSourceLocationRequest {
|
|
869
956
|
AccessConfiguration?: AccessConfiguration | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListFunctionsCommandInput,
|
|
4
|
+
ListFunctionsCommandOutput,
|
|
5
|
+
} from "../commands/ListFunctionsCommand";
|
|
6
|
+
import { MediaTailorPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListFunctions: (
|
|
8
|
+
config: MediaTailorPaginationConfiguration,
|
|
9
|
+
input: ListFunctionsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => 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";
|
|
@@ -39,6 +39,7 @@ export declare var CreateSourceLocationRequest$: StaticStructureSchema;
|
|
|
39
39
|
export declare var CreateSourceLocationResponse$: StaticStructureSchema;
|
|
40
40
|
export declare var CreateVodSourceRequest$: StaticStructureSchema;
|
|
41
41
|
export declare var CreateVodSourceResponse$: StaticStructureSchema;
|
|
42
|
+
export declare var CustomOutputConfiguration$: StaticStructureSchema;
|
|
42
43
|
export declare var DashConfiguration$: StaticStructureSchema;
|
|
43
44
|
export declare var DashConfigurationForPut$: StaticStructureSchema;
|
|
44
45
|
export declare var DashPlaylistSettings$: StaticStructureSchema;
|
|
@@ -47,6 +48,8 @@ export declare var DeleteChannelPolicyRequest$: StaticStructureSchema;
|
|
|
47
48
|
export declare var DeleteChannelPolicyResponse$: StaticStructureSchema;
|
|
48
49
|
export declare var DeleteChannelRequest$: StaticStructureSchema;
|
|
49
50
|
export declare var DeleteChannelResponse$: StaticStructureSchema;
|
|
51
|
+
export declare var DeleteFunctionRequest$: StaticStructureSchema;
|
|
52
|
+
export declare var DeleteFunctionResponse$: StaticStructureSchema;
|
|
50
53
|
export declare var DeleteLiveSourceRequest$: StaticStructureSchema;
|
|
51
54
|
export declare var DeleteLiveSourceResponse$: StaticStructureSchema;
|
|
52
55
|
export declare var DeletePlaybackConfigurationRequest$: StaticStructureSchema;
|
|
@@ -69,10 +72,14 @@ export declare var DescribeSourceLocationRequest$: StaticStructureSchema;
|
|
|
69
72
|
export declare var DescribeSourceLocationResponse$: StaticStructureSchema;
|
|
70
73
|
export declare var DescribeVodSourceRequest$: StaticStructureSchema;
|
|
71
74
|
export declare var DescribeVodSourceResponse$: StaticStructureSchema;
|
|
75
|
+
export declare var Function$: StaticStructureSchema;
|
|
76
|
+
export declare var FunctionRef$: StaticStructureSchema;
|
|
72
77
|
export declare var GetChannelPolicyRequest$: StaticStructureSchema;
|
|
73
78
|
export declare var GetChannelPolicyResponse$: StaticStructureSchema;
|
|
74
79
|
export declare var GetChannelScheduleRequest$: StaticStructureSchema;
|
|
75
80
|
export declare var GetChannelScheduleResponse$: StaticStructureSchema;
|
|
81
|
+
export declare var GetFunctionRequest$: StaticStructureSchema;
|
|
82
|
+
export declare var GetFunctionResponse$: StaticStructureSchema;
|
|
76
83
|
export declare var GetPlaybackConfigurationRequest$: StaticStructureSchema;
|
|
77
84
|
export declare var GetPlaybackConfigurationResponse$: StaticStructureSchema;
|
|
78
85
|
export declare var GetPrefetchScheduleRequest$: StaticStructureSchema;
|
|
@@ -82,11 +89,14 @@ export declare var HlsPlaylistSettings$: StaticStructureSchema;
|
|
|
82
89
|
export declare var HttpConfiguration$: StaticStructureSchema;
|
|
83
90
|
export declare var HttpPackageConfiguration$: StaticStructureSchema;
|
|
84
91
|
export declare var HttpRequest$: StaticStructureSchema;
|
|
92
|
+
export declare var HttpRequestConfiguration$: StaticStructureSchema;
|
|
85
93
|
export declare var KeyValuePair$: StaticStructureSchema;
|
|
86
94
|
export declare var ListAlertsRequest$: StaticStructureSchema;
|
|
87
95
|
export declare var ListAlertsResponse$: StaticStructureSchema;
|
|
88
96
|
export declare var ListChannelsRequest$: StaticStructureSchema;
|
|
89
97
|
export declare var ListChannelsResponse$: StaticStructureSchema;
|
|
98
|
+
export declare var ListFunctionsRequest$: StaticStructureSchema;
|
|
99
|
+
export declare var ListFunctionsResponse$: StaticStructureSchema;
|
|
90
100
|
export declare var ListLiveSourcesRequest$: StaticStructureSchema;
|
|
91
101
|
export declare var ListLiveSourcesResponse$: StaticStructureSchema;
|
|
92
102
|
export declare var ListPlaybackConfigurationsRequest$: StaticStructureSchema;
|
|
@@ -111,6 +121,8 @@ export declare var PrefetchRetrieval$: StaticStructureSchema;
|
|
|
111
121
|
export declare var PrefetchSchedule$: StaticStructureSchema;
|
|
112
122
|
export declare var PutChannelPolicyRequest$: StaticStructureSchema;
|
|
113
123
|
export declare var PutChannelPolicyResponse$: StaticStructureSchema;
|
|
124
|
+
export declare var PutFunctionRequest$: StaticStructureSchema;
|
|
125
|
+
export declare var PutFunctionResponse$: StaticStructureSchema;
|
|
114
126
|
export declare var PutPlaybackConfigurationRequest$: StaticStructureSchema;
|
|
115
127
|
export declare var PutPlaybackConfigurationResponse$: StaticStructureSchema;
|
|
116
128
|
export declare var RecurringConsumption$: StaticStructureSchema;
|
|
@@ -124,6 +136,7 @@ export declare var ScheduleEntry$: StaticStructureSchema;
|
|
|
124
136
|
export declare var SecretsManagerAccessTokenConfiguration$: StaticStructureSchema;
|
|
125
137
|
export declare var SegmentationDescriptor$: StaticStructureSchema;
|
|
126
138
|
export declare var SegmentDeliveryConfiguration$: StaticStructureSchema;
|
|
139
|
+
export declare var SequentialExecutorConfiguration$: StaticStructureSchema;
|
|
127
140
|
export declare var SlateSource$: StaticStructureSchema;
|
|
128
141
|
export declare var SourceLocation$: StaticStructureSchema;
|
|
129
142
|
export declare var SpliceInsertMessage$: StaticStructureSchema;
|
|
@@ -161,6 +174,7 @@ export declare var CreateSourceLocation$: StaticOperationSchema;
|
|
|
161
174
|
export declare var CreateVodSource$: StaticOperationSchema;
|
|
162
175
|
export declare var DeleteChannel$: StaticOperationSchema;
|
|
163
176
|
export declare var DeleteChannelPolicy$: StaticOperationSchema;
|
|
177
|
+
export declare var DeleteFunction$: StaticOperationSchema;
|
|
164
178
|
export declare var DeleteLiveSource$: StaticOperationSchema;
|
|
165
179
|
export declare var DeletePlaybackConfiguration$: StaticOperationSchema;
|
|
166
180
|
export declare var DeletePrefetchSchedule$: StaticOperationSchema;
|
|
@@ -174,10 +188,12 @@ export declare var DescribeSourceLocation$: StaticOperationSchema;
|
|
|
174
188
|
export declare var DescribeVodSource$: StaticOperationSchema;
|
|
175
189
|
export declare var GetChannelPolicy$: StaticOperationSchema;
|
|
176
190
|
export declare var GetChannelSchedule$: StaticOperationSchema;
|
|
191
|
+
export declare var GetFunction$: StaticOperationSchema;
|
|
177
192
|
export declare var GetPlaybackConfiguration$: StaticOperationSchema;
|
|
178
193
|
export declare var GetPrefetchSchedule$: StaticOperationSchema;
|
|
179
194
|
export declare var ListAlerts$: StaticOperationSchema;
|
|
180
195
|
export declare var ListChannels$: StaticOperationSchema;
|
|
196
|
+
export declare var ListFunctions$: StaticOperationSchema;
|
|
181
197
|
export declare var ListLiveSources$: StaticOperationSchema;
|
|
182
198
|
export declare var ListPlaybackConfigurations$: StaticOperationSchema;
|
|
183
199
|
export declare var ListPrefetchSchedules$: StaticOperationSchema;
|
|
@@ -185,6 +201,7 @@ export declare var ListSourceLocations$: StaticOperationSchema;
|
|
|
185
201
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
186
202
|
export declare var ListVodSources$: StaticOperationSchema;
|
|
187
203
|
export declare var PutChannelPolicy$: StaticOperationSchema;
|
|
204
|
+
export declare var PutFunction$: StaticOperationSchema;
|
|
188
205
|
export declare var PutPlaybackConfiguration$: StaticOperationSchema;
|
|
189
206
|
export declare var StartChannel$: StaticOperationSchema;
|
|
190
207
|
export declare var StopChannel$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediatailor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediatailor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1044.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mediatailor",
|