@aws-sdk/client-mediatailor 3.315.0 → 3.316.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/dist-cjs/MediaTailor.js +48 -616
- package/dist-es/MediaTailor.js +48 -616
- package/dist-types/MediaTailor.d.ts +52 -94
- package/dist-types/ts3.4/MediaTailor.d.ts +4 -1
- package/package.json +6 -6
|
@@ -44,318 +44,276 @@ import { UpdateProgramCommandInput, UpdateProgramCommandOutput } from "./command
|
|
|
44
44
|
import { UpdateSourceLocationCommandInput, UpdateSourceLocationCommandOutput } from "./commands/UpdateSourceLocationCommand";
|
|
45
45
|
import { UpdateVodSourceCommandInput, UpdateVodSourceCommandOutput } from "./commands/UpdateVodSourceCommand";
|
|
46
46
|
import { MediaTailorClient } from "./MediaTailorClient";
|
|
47
|
-
|
|
48
|
-
* @public
|
|
49
|
-
* <p>Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/">AWS Elemental MediaTailor User Guide</a>.</p>
|
|
50
|
-
* <p>Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).</p>
|
|
51
|
-
*/
|
|
52
|
-
export declare class MediaTailor extends MediaTailorClient {
|
|
47
|
+
export interface MediaTailor {
|
|
53
48
|
/**
|
|
54
|
-
* @
|
|
55
|
-
* <p>Configures Amazon CloudWatch log settings for a channel.</p>
|
|
49
|
+
* @see {@link ConfigureLogsForChannelCommand}
|
|
56
50
|
*/
|
|
57
51
|
configureLogsForChannel(args: ConfigureLogsForChannelCommandInput, options?: __HttpHandlerOptions): Promise<ConfigureLogsForChannelCommandOutput>;
|
|
58
52
|
configureLogsForChannel(args: ConfigureLogsForChannelCommandInput, cb: (err: any, data?: ConfigureLogsForChannelCommandOutput) => void): void;
|
|
59
53
|
configureLogsForChannel(args: ConfigureLogsForChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfigureLogsForChannelCommandOutput) => void): void;
|
|
60
54
|
/**
|
|
61
|
-
* @
|
|
62
|
-
* <p>Amazon CloudWatch log settings for a playback configuration.</p>
|
|
55
|
+
* @see {@link ConfigureLogsForPlaybackConfigurationCommand}
|
|
63
56
|
*/
|
|
64
57
|
configureLogsForPlaybackConfiguration(args: ConfigureLogsForPlaybackConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<ConfigureLogsForPlaybackConfigurationCommandOutput>;
|
|
65
58
|
configureLogsForPlaybackConfiguration(args: ConfigureLogsForPlaybackConfigurationCommandInput, cb: (err: any, data?: ConfigureLogsForPlaybackConfigurationCommandOutput) => void): void;
|
|
66
59
|
configureLogsForPlaybackConfiguration(args: ConfigureLogsForPlaybackConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfigureLogsForPlaybackConfigurationCommandOutput) => void): void;
|
|
67
60
|
/**
|
|
68
|
-
* @
|
|
69
|
-
* <p>Creates a channel. For information about MediaTailor channels, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-channels.html">Working with channels</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
61
|
+
* @see {@link CreateChannelCommand}
|
|
70
62
|
*/
|
|
71
63
|
createChannel(args: CreateChannelCommandInput, options?: __HttpHandlerOptions): Promise<CreateChannelCommandOutput>;
|
|
72
64
|
createChannel(args: CreateChannelCommandInput, cb: (err: any, data?: CreateChannelCommandOutput) => void): void;
|
|
73
65
|
createChannel(args: CreateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChannelCommandOutput) => void): void;
|
|
74
66
|
/**
|
|
75
|
-
* @
|
|
76
|
-
* <p>The live source configuration.</p>
|
|
67
|
+
* @see {@link CreateLiveSourceCommand}
|
|
77
68
|
*/
|
|
78
69
|
createLiveSource(args: CreateLiveSourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateLiveSourceCommandOutput>;
|
|
79
70
|
createLiveSource(args: CreateLiveSourceCommandInput, cb: (err: any, data?: CreateLiveSourceCommandOutput) => void): void;
|
|
80
71
|
createLiveSource(args: CreateLiveSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLiveSourceCommandOutput) => void): void;
|
|
81
72
|
/**
|
|
82
|
-
* @
|
|
83
|
-
* <p>Creates a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/prefetching-ads.html">Using ad prefetching</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
73
|
+
* @see {@link CreatePrefetchScheduleCommand}
|
|
84
74
|
*/
|
|
85
75
|
createPrefetchSchedule(args: CreatePrefetchScheduleCommandInput, options?: __HttpHandlerOptions): Promise<CreatePrefetchScheduleCommandOutput>;
|
|
86
76
|
createPrefetchSchedule(args: CreatePrefetchScheduleCommandInput, cb: (err: any, data?: CreatePrefetchScheduleCommandOutput) => void): void;
|
|
87
77
|
createPrefetchSchedule(args: CreatePrefetchScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePrefetchScheduleCommandOutput) => void): void;
|
|
88
78
|
/**
|
|
89
|
-
* @
|
|
90
|
-
* <p>Creates a program within a channel. For information about programs, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-programs.html">Working with programs</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
79
|
+
* @see {@link CreateProgramCommand}
|
|
91
80
|
*/
|
|
92
81
|
createProgram(args: CreateProgramCommandInput, options?: __HttpHandlerOptions): Promise<CreateProgramCommandOutput>;
|
|
93
82
|
createProgram(args: CreateProgramCommandInput, cb: (err: any, data?: CreateProgramCommandOutput) => void): void;
|
|
94
83
|
createProgram(args: CreateProgramCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProgramCommandOutput) => void): void;
|
|
95
84
|
/**
|
|
96
|
-
* @
|
|
97
|
-
* <p>Creates a source location. A source location is a container for sources. For more information about source locations, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-source-locations.html">Working with source locations</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
85
|
+
* @see {@link CreateSourceLocationCommand}
|
|
98
86
|
*/
|
|
99
87
|
createSourceLocation(args: CreateSourceLocationCommandInput, options?: __HttpHandlerOptions): Promise<CreateSourceLocationCommandOutput>;
|
|
100
88
|
createSourceLocation(args: CreateSourceLocationCommandInput, cb: (err: any, data?: CreateSourceLocationCommandOutput) => void): void;
|
|
101
89
|
createSourceLocation(args: CreateSourceLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSourceLocationCommandOutput) => void): void;
|
|
102
90
|
/**
|
|
103
|
-
* @
|
|
104
|
-
* <p>The VOD source configuration parameters.</p>
|
|
91
|
+
* @see {@link CreateVodSourceCommand}
|
|
105
92
|
*/
|
|
106
93
|
createVodSource(args: CreateVodSourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateVodSourceCommandOutput>;
|
|
107
94
|
createVodSource(args: CreateVodSourceCommandInput, cb: (err: any, data?: CreateVodSourceCommandOutput) => void): void;
|
|
108
95
|
createVodSource(args: CreateVodSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVodSourceCommandOutput) => void): void;
|
|
109
96
|
/**
|
|
110
|
-
* @
|
|
111
|
-
* <p>Deletes a channel. For information about MediaTailor channels, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-channels.html">Working with channels</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
97
|
+
* @see {@link DeleteChannelCommand}
|
|
112
98
|
*/
|
|
113
99
|
deleteChannel(args: DeleteChannelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelCommandOutput>;
|
|
114
100
|
deleteChannel(args: DeleteChannelCommandInput, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
|
|
115
101
|
deleteChannel(args: DeleteChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
|
|
116
102
|
/**
|
|
117
|
-
* @
|
|
118
|
-
* <p>The channel policy to delete.</p>
|
|
103
|
+
* @see {@link DeleteChannelPolicyCommand}
|
|
119
104
|
*/
|
|
120
105
|
deleteChannelPolicy(args: DeleteChannelPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelPolicyCommandOutput>;
|
|
121
106
|
deleteChannelPolicy(args: DeleteChannelPolicyCommandInput, cb: (err: any, data?: DeleteChannelPolicyCommandOutput) => void): void;
|
|
122
107
|
deleteChannelPolicy(args: DeleteChannelPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelPolicyCommandOutput) => void): void;
|
|
123
108
|
/**
|
|
124
|
-
* @
|
|
125
|
-
* <p>The live source to delete.</p>
|
|
109
|
+
* @see {@link DeleteLiveSourceCommand}
|
|
126
110
|
*/
|
|
127
111
|
deleteLiveSource(args: DeleteLiveSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLiveSourceCommandOutput>;
|
|
128
112
|
deleteLiveSource(args: DeleteLiveSourceCommandInput, cb: (err: any, data?: DeleteLiveSourceCommandOutput) => void): void;
|
|
129
113
|
deleteLiveSource(args: DeleteLiveSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLiveSourceCommandOutput) => void): void;
|
|
130
114
|
/**
|
|
131
|
-
* @
|
|
132
|
-
* <p>Deletes a playback configuration. For information about MediaTailor configurations, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/configurations.html">Working with configurations in AWS Elemental MediaTailor</a>.</p>
|
|
115
|
+
* @see {@link DeletePlaybackConfigurationCommand}
|
|
133
116
|
*/
|
|
134
117
|
deletePlaybackConfiguration(args: DeletePlaybackConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeletePlaybackConfigurationCommandOutput>;
|
|
135
118
|
deletePlaybackConfiguration(args: DeletePlaybackConfigurationCommandInput, cb: (err: any, data?: DeletePlaybackConfigurationCommandOutput) => void): void;
|
|
136
119
|
deletePlaybackConfiguration(args: DeletePlaybackConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePlaybackConfigurationCommandOutput) => void): void;
|
|
137
120
|
/**
|
|
138
|
-
* @
|
|
139
|
-
* <p>Deletes a prefetch schedule for a specific playback configuration. If you call <code>DeletePrefetchSchedule</code> on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code. For more information about ad prefetching, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/prefetching-ads.html">Using ad prefetching</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
121
|
+
* @see {@link DeletePrefetchScheduleCommand}
|
|
140
122
|
*/
|
|
141
123
|
deletePrefetchSchedule(args: DeletePrefetchScheduleCommandInput, options?: __HttpHandlerOptions): Promise<DeletePrefetchScheduleCommandOutput>;
|
|
142
124
|
deletePrefetchSchedule(args: DeletePrefetchScheduleCommandInput, cb: (err: any, data?: DeletePrefetchScheduleCommandOutput) => void): void;
|
|
143
125
|
deletePrefetchSchedule(args: DeletePrefetchScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePrefetchScheduleCommandOutput) => void): void;
|
|
144
126
|
/**
|
|
145
|
-
* @
|
|
146
|
-
* <p>Deletes a program within a channel. For information about programs, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-programs.html">Working with programs</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
127
|
+
* @see {@link DeleteProgramCommand}
|
|
147
128
|
*/
|
|
148
129
|
deleteProgram(args: DeleteProgramCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProgramCommandOutput>;
|
|
149
130
|
deleteProgram(args: DeleteProgramCommandInput, cb: (err: any, data?: DeleteProgramCommandOutput) => void): void;
|
|
150
131
|
deleteProgram(args: DeleteProgramCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProgramCommandOutput) => void): void;
|
|
151
132
|
/**
|
|
152
|
-
* @
|
|
153
|
-
* <p>Deletes a source location. A source location is a container for sources. For more information about source locations, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-source-locations.html">Working with source locations</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
133
|
+
* @see {@link DeleteSourceLocationCommand}
|
|
154
134
|
*/
|
|
155
135
|
deleteSourceLocation(args: DeleteSourceLocationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSourceLocationCommandOutput>;
|
|
156
136
|
deleteSourceLocation(args: DeleteSourceLocationCommandInput, cb: (err: any, data?: DeleteSourceLocationCommandOutput) => void): void;
|
|
157
137
|
deleteSourceLocation(args: DeleteSourceLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSourceLocationCommandOutput) => void): void;
|
|
158
138
|
/**
|
|
159
|
-
* @
|
|
160
|
-
* <p>The video on demand (VOD) source to delete.</p>
|
|
139
|
+
* @see {@link DeleteVodSourceCommand}
|
|
161
140
|
*/
|
|
162
141
|
deleteVodSource(args: DeleteVodSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVodSourceCommandOutput>;
|
|
163
142
|
deleteVodSource(args: DeleteVodSourceCommandInput, cb: (err: any, data?: DeleteVodSourceCommandOutput) => void): void;
|
|
164
143
|
deleteVodSource(args: DeleteVodSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVodSourceCommandOutput) => void): void;
|
|
165
144
|
/**
|
|
166
|
-
* @
|
|
167
|
-
* <p>Describes a channel. For information about MediaTailor channels, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-channels.html">Working with channels</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
145
|
+
* @see {@link DescribeChannelCommand}
|
|
168
146
|
*/
|
|
169
147
|
describeChannel(args: DescribeChannelCommandInput, options?: __HttpHandlerOptions): Promise<DescribeChannelCommandOutput>;
|
|
170
148
|
describeChannel(args: DescribeChannelCommandInput, cb: (err: any, data?: DescribeChannelCommandOutput) => void): void;
|
|
171
149
|
describeChannel(args: DescribeChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeChannelCommandOutput) => void): void;
|
|
172
150
|
/**
|
|
173
|
-
* @
|
|
174
|
-
* <p>The live source to describe.</p>
|
|
151
|
+
* @see {@link DescribeLiveSourceCommand}
|
|
175
152
|
*/
|
|
176
153
|
describeLiveSource(args: DescribeLiveSourceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLiveSourceCommandOutput>;
|
|
177
154
|
describeLiveSource(args: DescribeLiveSourceCommandInput, cb: (err: any, data?: DescribeLiveSourceCommandOutput) => void): void;
|
|
178
155
|
describeLiveSource(args: DescribeLiveSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLiveSourceCommandOutput) => void): void;
|
|
179
156
|
/**
|
|
180
|
-
* @
|
|
181
|
-
* <p>Describes a program within a channel. For information about programs, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-programs.html">Working with programs</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
157
|
+
* @see {@link DescribeProgramCommand}
|
|
182
158
|
*/
|
|
183
159
|
describeProgram(args: DescribeProgramCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProgramCommandOutput>;
|
|
184
160
|
describeProgram(args: DescribeProgramCommandInput, cb: (err: any, data?: DescribeProgramCommandOutput) => void): void;
|
|
185
161
|
describeProgram(args: DescribeProgramCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProgramCommandOutput) => void): void;
|
|
186
162
|
/**
|
|
187
|
-
* @
|
|
188
|
-
* <p>Describes a source location. A source location is a container for sources. For more information about source locations, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-source-locations.html">Working with source locations</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
163
|
+
* @see {@link DescribeSourceLocationCommand}
|
|
189
164
|
*/
|
|
190
165
|
describeSourceLocation(args: DescribeSourceLocationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSourceLocationCommandOutput>;
|
|
191
166
|
describeSourceLocation(args: DescribeSourceLocationCommandInput, cb: (err: any, data?: DescribeSourceLocationCommandOutput) => void): void;
|
|
192
167
|
describeSourceLocation(args: DescribeSourceLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSourceLocationCommandOutput) => void): void;
|
|
193
168
|
/**
|
|
194
|
-
* @
|
|
195
|
-
* <p>Provides details about a specific video on demand (VOD) source in a specific source location.</p>
|
|
169
|
+
* @see {@link DescribeVodSourceCommand}
|
|
196
170
|
*/
|
|
197
171
|
describeVodSource(args: DescribeVodSourceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVodSourceCommandOutput>;
|
|
198
172
|
describeVodSource(args: DescribeVodSourceCommandInput, cb: (err: any, data?: DescribeVodSourceCommandOutput) => void): void;
|
|
199
173
|
describeVodSource(args: DescribeVodSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVodSourceCommandOutput) => void): void;
|
|
200
174
|
/**
|
|
201
|
-
* @
|
|
202
|
-
* <p>Returns the channel's IAM policy. IAM policies are used to control access to your channel.</p>
|
|
175
|
+
* @see {@link GetChannelPolicyCommand}
|
|
203
176
|
*/
|
|
204
177
|
getChannelPolicy(args: GetChannelPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetChannelPolicyCommandOutput>;
|
|
205
178
|
getChannelPolicy(args: GetChannelPolicyCommandInput, cb: (err: any, data?: GetChannelPolicyCommandOutput) => void): void;
|
|
206
179
|
getChannelPolicy(args: GetChannelPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelPolicyCommandOutput) => void): void;
|
|
207
180
|
/**
|
|
208
|
-
* @
|
|
209
|
-
* <p>Retrieves information about your channel's schedule.</p>
|
|
181
|
+
* @see {@link GetChannelScheduleCommand}
|
|
210
182
|
*/
|
|
211
183
|
getChannelSchedule(args: GetChannelScheduleCommandInput, options?: __HttpHandlerOptions): Promise<GetChannelScheduleCommandOutput>;
|
|
212
184
|
getChannelSchedule(args: GetChannelScheduleCommandInput, cb: (err: any, data?: GetChannelScheduleCommandOutput) => void): void;
|
|
213
185
|
getChannelSchedule(args: GetChannelScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelScheduleCommandOutput) => void): void;
|
|
214
186
|
/**
|
|
215
|
-
* @
|
|
216
|
-
* <p>Retrieves a playback configuration. For information about MediaTailor configurations, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/configurations.html">Working with configurations in AWS Elemental MediaTailor</a>.</p>
|
|
187
|
+
* @see {@link GetPlaybackConfigurationCommand}
|
|
217
188
|
*/
|
|
218
189
|
getPlaybackConfiguration(args: GetPlaybackConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetPlaybackConfigurationCommandOutput>;
|
|
219
190
|
getPlaybackConfiguration(args: GetPlaybackConfigurationCommandInput, cb: (err: any, data?: GetPlaybackConfigurationCommandOutput) => void): void;
|
|
220
191
|
getPlaybackConfiguration(args: GetPlaybackConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPlaybackConfigurationCommandOutput) => void): void;
|
|
221
192
|
/**
|
|
222
|
-
* @
|
|
223
|
-
* <p>Retrieves a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/prefetching-ads.html">Using ad prefetching</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
193
|
+
* @see {@link GetPrefetchScheduleCommand}
|
|
224
194
|
*/
|
|
225
195
|
getPrefetchSchedule(args: GetPrefetchScheduleCommandInput, options?: __HttpHandlerOptions): Promise<GetPrefetchScheduleCommandOutput>;
|
|
226
196
|
getPrefetchSchedule(args: GetPrefetchScheduleCommandInput, cb: (err: any, data?: GetPrefetchScheduleCommandOutput) => void): void;
|
|
227
197
|
getPrefetchSchedule(args: GetPrefetchScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPrefetchScheduleCommandOutput) => void): void;
|
|
228
198
|
/**
|
|
229
|
-
* @
|
|
230
|
-
* <p>Lists the alerts that are associated with a MediaTailor channel assembly resource.</p>
|
|
199
|
+
* @see {@link ListAlertsCommand}
|
|
231
200
|
*/
|
|
232
201
|
listAlerts(args: ListAlertsCommandInput, options?: __HttpHandlerOptions): Promise<ListAlertsCommandOutput>;
|
|
233
202
|
listAlerts(args: ListAlertsCommandInput, cb: (err: any, data?: ListAlertsCommandOutput) => void): void;
|
|
234
203
|
listAlerts(args: ListAlertsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAlertsCommandOutput) => void): void;
|
|
235
204
|
/**
|
|
236
|
-
* @
|
|
237
|
-
* <p>Retrieves information about the channels that are associated with the current AWS account.</p>
|
|
205
|
+
* @see {@link ListChannelsCommand}
|
|
238
206
|
*/
|
|
239
207
|
listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
|
|
240
208
|
listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
241
209
|
listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
242
210
|
/**
|
|
243
|
-
* @
|
|
244
|
-
* <p>Lists the live sources contained in a source location. A source represents a piece of content.</p>
|
|
211
|
+
* @see {@link ListLiveSourcesCommand}
|
|
245
212
|
*/
|
|
246
213
|
listLiveSources(args: ListLiveSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListLiveSourcesCommandOutput>;
|
|
247
214
|
listLiveSources(args: ListLiveSourcesCommandInput, cb: (err: any, data?: ListLiveSourcesCommandOutput) => void): void;
|
|
248
215
|
listLiveSources(args: ListLiveSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLiveSourcesCommandOutput) => void): void;
|
|
249
216
|
/**
|
|
250
|
-
* @
|
|
251
|
-
* <p>Retrieves existing playback configurations. For information about MediaTailor configurations, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/configurations.html">Working with Configurations in AWS Elemental MediaTailor</a>.</p>
|
|
217
|
+
* @see {@link ListPlaybackConfigurationsCommand}
|
|
252
218
|
*/
|
|
253
219
|
listPlaybackConfigurations(args: ListPlaybackConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListPlaybackConfigurationsCommandOutput>;
|
|
254
220
|
listPlaybackConfigurations(args: ListPlaybackConfigurationsCommandInput, cb: (err: any, data?: ListPlaybackConfigurationsCommandOutput) => void): void;
|
|
255
221
|
listPlaybackConfigurations(args: ListPlaybackConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPlaybackConfigurationsCommandOutput) => void): void;
|
|
256
222
|
/**
|
|
257
|
-
* @
|
|
258
|
-
* <p>Lists the prefetch schedules for a playback configuration.</p>
|
|
223
|
+
* @see {@link ListPrefetchSchedulesCommand}
|
|
259
224
|
*/
|
|
260
225
|
listPrefetchSchedules(args: ListPrefetchSchedulesCommandInput, options?: __HttpHandlerOptions): Promise<ListPrefetchSchedulesCommandOutput>;
|
|
261
226
|
listPrefetchSchedules(args: ListPrefetchSchedulesCommandInput, cb: (err: any, data?: ListPrefetchSchedulesCommandOutput) => void): void;
|
|
262
227
|
listPrefetchSchedules(args: ListPrefetchSchedulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPrefetchSchedulesCommandOutput) => void): void;
|
|
263
228
|
/**
|
|
264
|
-
* @
|
|
265
|
-
* <p>Lists the source locations for a channel. A source location defines the host server URL, and contains a list of sources.</p>
|
|
229
|
+
* @see {@link ListSourceLocationsCommand}
|
|
266
230
|
*/
|
|
267
231
|
listSourceLocations(args: ListSourceLocationsCommandInput, options?: __HttpHandlerOptions): Promise<ListSourceLocationsCommandOutput>;
|
|
268
232
|
listSourceLocations(args: ListSourceLocationsCommandInput, cb: (err: any, data?: ListSourceLocationsCommandOutput) => void): void;
|
|
269
233
|
listSourceLocations(args: ListSourceLocationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSourceLocationsCommandOutput) => void): void;
|
|
270
234
|
/**
|
|
271
|
-
* @
|
|
272
|
-
* <p>A list of tags that are associated with this resource. 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>
|
|
235
|
+
* @see {@link ListTagsForResourceCommand}
|
|
273
236
|
*/
|
|
274
237
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
275
238
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
276
239
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
277
240
|
/**
|
|
278
|
-
* @
|
|
279
|
-
* <p>Lists the VOD sources contained in a source location. A source represents a piece of content.</p>
|
|
241
|
+
* @see {@link ListVodSourcesCommand}
|
|
280
242
|
*/
|
|
281
243
|
listVodSources(args: ListVodSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListVodSourcesCommandOutput>;
|
|
282
244
|
listVodSources(args: ListVodSourcesCommandInput, cb: (err: any, data?: ListVodSourcesCommandOutput) => void): void;
|
|
283
245
|
listVodSources(args: ListVodSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVodSourcesCommandOutput) => void): void;
|
|
284
246
|
/**
|
|
285
|
-
* @
|
|
286
|
-
* <p>Creates an IAM policy for the channel. IAM policies are used to control access to your channel.</p>
|
|
247
|
+
* @see {@link PutChannelPolicyCommand}
|
|
287
248
|
*/
|
|
288
249
|
putChannelPolicy(args: PutChannelPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutChannelPolicyCommandOutput>;
|
|
289
250
|
putChannelPolicy(args: PutChannelPolicyCommandInput, cb: (err: any, data?: PutChannelPolicyCommandOutput) => void): void;
|
|
290
251
|
putChannelPolicy(args: PutChannelPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutChannelPolicyCommandOutput) => void): void;
|
|
291
252
|
/**
|
|
292
|
-
* @
|
|
293
|
-
* <p>Creates a playback configuration. For information about MediaTailor configurations, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/configurations.html">Working with configurations in AWS Elemental MediaTailor</a>.</p>
|
|
253
|
+
* @see {@link PutPlaybackConfigurationCommand}
|
|
294
254
|
*/
|
|
295
255
|
putPlaybackConfiguration(args: PutPlaybackConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutPlaybackConfigurationCommandOutput>;
|
|
296
256
|
putPlaybackConfiguration(args: PutPlaybackConfigurationCommandInput, cb: (err: any, data?: PutPlaybackConfigurationCommandOutput) => void): void;
|
|
297
257
|
putPlaybackConfiguration(args: PutPlaybackConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPlaybackConfigurationCommandOutput) => void): void;
|
|
298
258
|
/**
|
|
299
|
-
* @
|
|
300
|
-
* <p>Starts a channel. For information about MediaTailor channels, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-channels.html">Working with channels</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
259
|
+
* @see {@link StartChannelCommand}
|
|
301
260
|
*/
|
|
302
261
|
startChannel(args: StartChannelCommandInput, options?: __HttpHandlerOptions): Promise<StartChannelCommandOutput>;
|
|
303
262
|
startChannel(args: StartChannelCommandInput, cb: (err: any, data?: StartChannelCommandOutput) => void): void;
|
|
304
263
|
startChannel(args: StartChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartChannelCommandOutput) => void): void;
|
|
305
264
|
/**
|
|
306
|
-
* @
|
|
307
|
-
* <p>Stops a channel. For information about MediaTailor channels, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-channels.html">Working with channels</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
265
|
+
* @see {@link StopChannelCommand}
|
|
308
266
|
*/
|
|
309
267
|
stopChannel(args: StopChannelCommandInput, options?: __HttpHandlerOptions): Promise<StopChannelCommandOutput>;
|
|
310
268
|
stopChannel(args: StopChannelCommandInput, cb: (err: any, data?: StopChannelCommandOutput) => void): void;
|
|
311
269
|
stopChannel(args: StopChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopChannelCommandOutput) => void): void;
|
|
312
270
|
/**
|
|
313
|
-
* @
|
|
314
|
-
* <p>The resource to tag. 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>
|
|
271
|
+
* @see {@link TagResourceCommand}
|
|
315
272
|
*/
|
|
316
273
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
317
274
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
318
275
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
319
276
|
/**
|
|
320
|
-
* @
|
|
321
|
-
* <p>The resource to untag.</p>
|
|
277
|
+
* @see {@link UntagResourceCommand}
|
|
322
278
|
*/
|
|
323
279
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
324
280
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
325
281
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
326
282
|
/**
|
|
327
|
-
* @
|
|
328
|
-
* <p>Updates a channel. For information about MediaTailor channels, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-channels.html">Working with channels</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
283
|
+
* @see {@link UpdateChannelCommand}
|
|
329
284
|
*/
|
|
330
285
|
updateChannel(args: UpdateChannelCommandInput, options?: __HttpHandlerOptions): Promise<UpdateChannelCommandOutput>;
|
|
331
286
|
updateChannel(args: UpdateChannelCommandInput, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
|
|
332
287
|
updateChannel(args: UpdateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
|
|
333
288
|
/**
|
|
334
|
-
* @
|
|
335
|
-
* <p>Updates a live source's configuration.</p>
|
|
289
|
+
* @see {@link UpdateLiveSourceCommand}
|
|
336
290
|
*/
|
|
337
291
|
updateLiveSource(args: UpdateLiveSourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLiveSourceCommandOutput>;
|
|
338
292
|
updateLiveSource(args: UpdateLiveSourceCommandInput, cb: (err: any, data?: UpdateLiveSourceCommandOutput) => void): void;
|
|
339
293
|
updateLiveSource(args: UpdateLiveSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLiveSourceCommandOutput) => void): void;
|
|
340
294
|
/**
|
|
341
|
-
* @
|
|
342
|
-
* <p>Updates a program within a channel.</p>
|
|
295
|
+
* @see {@link UpdateProgramCommand}
|
|
343
296
|
*/
|
|
344
297
|
updateProgram(args: UpdateProgramCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProgramCommandOutput>;
|
|
345
298
|
updateProgram(args: UpdateProgramCommandInput, cb: (err: any, data?: UpdateProgramCommandOutput) => void): void;
|
|
346
299
|
updateProgram(args: UpdateProgramCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProgramCommandOutput) => void): void;
|
|
347
300
|
/**
|
|
348
|
-
* @
|
|
349
|
-
* <p>Updates a source location. A source location is a container for sources. For more information about source locations, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-source-locations.html">Working with source locations</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
301
|
+
* @see {@link UpdateSourceLocationCommand}
|
|
350
302
|
*/
|
|
351
303
|
updateSourceLocation(args: UpdateSourceLocationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSourceLocationCommandOutput>;
|
|
352
304
|
updateSourceLocation(args: UpdateSourceLocationCommandInput, cb: (err: any, data?: UpdateSourceLocationCommandOutput) => void): void;
|
|
353
305
|
updateSourceLocation(args: UpdateSourceLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSourceLocationCommandOutput) => void): void;
|
|
354
306
|
/**
|
|
355
|
-
* @
|
|
356
|
-
* <p>Updates a VOD source's configuration.</p>
|
|
307
|
+
* @see {@link UpdateVodSourceCommand}
|
|
357
308
|
*/
|
|
358
309
|
updateVodSource(args: UpdateVodSourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateVodSourceCommandOutput>;
|
|
359
310
|
updateVodSource(args: UpdateVodSourceCommandInput, cb: (err: any, data?: UpdateVodSourceCommandOutput) => void): void;
|
|
360
311
|
updateVodSource(args: UpdateVodSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateVodSourceCommandOutput) => void): void;
|
|
361
312
|
}
|
|
313
|
+
/**
|
|
314
|
+
* @public
|
|
315
|
+
* <p>Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/">AWS Elemental MediaTailor User Guide</a>.</p>
|
|
316
|
+
* <p>Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).</p>
|
|
317
|
+
*/
|
|
318
|
+
export declare class MediaTailor extends MediaTailorClient implements MediaTailor {
|
|
319
|
+
}
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
UpdateVodSourceCommandOutput,
|
|
177
177
|
} from "./commands/UpdateVodSourceCommand";
|
|
178
178
|
import { MediaTailorClient } from "./MediaTailorClient";
|
|
179
|
-
export
|
|
179
|
+
export interface MediaTailor {
|
|
180
180
|
configureLogsForChannel(
|
|
181
181
|
args: ConfigureLogsForChannelCommandInput,
|
|
182
182
|
options?: __HttpHandlerOptions
|
|
@@ -756,3 +756,6 @@ export declare class MediaTailor extends MediaTailorClient {
|
|
|
756
756
|
cb: (err: any, data?: UpdateVodSourceCommandOutput) => void
|
|
757
757
|
): void;
|
|
758
758
|
}
|
|
759
|
+
export declare class MediaTailor
|
|
760
|
+
extends MediaTailorClient
|
|
761
|
+
implements MediaTailor {}
|
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.316.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|