@aws-sdk/client-ivs 3.1034.0 → 3.1036.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 +36 -131
- package/dist-cjs/index.js +74 -0
- package/dist-cjs/models/errors.js +224 -33
- package/dist-cjs/schemas/schemas_0.js +200 -67
- package/dist-es/Ivs.js +12 -0
- package/dist-es/commands/CreateAdConfigurationCommand.js +16 -0
- package/dist-es/commands/DeleteAdConfigurationCommand.js +16 -0
- package/dist-es/commands/GetAdConfigurationCommand.js +16 -0
- package/dist-es/commands/InsertAdBreakCommand.js +16 -0
- package/dist-es/commands/ListAdConfigurationsCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/errors.js +218 -28
- package/dist-es/pagination/ListAdConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +197 -65
- package/dist-types/Ivs.d.ts +44 -131
- package/dist-types/IvsClient.d.ts +8 -133
- package/dist-types/commands/BatchGetChannelCommand.d.ts +17 -0
- package/dist-types/commands/BatchGetStreamKeyCommand.d.ts +16 -0
- package/dist-types/commands/BatchStartViewerSessionRevocationCommand.d.ts +8 -2
- package/dist-types/commands/CreateAdConfigurationCommand.d.ts +114 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +2 -0
- package/dist-types/commands/CreatePlaybackRestrictionPolicyCommand.d.ts +1 -2
- package/dist-types/commands/CreateRecordingConfigurationCommand.d.ts +1 -12
- package/dist-types/commands/CreateStreamKeyCommand.d.ts +1 -4
- package/dist-types/commands/DeleteAdConfigurationCommand.d.ts +87 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +1 -6
- package/dist-types/commands/DeletePlaybackKeyPairCommand.d.ts +1 -3
- package/dist-types/commands/DeleteRecordingConfigurationCommand.d.ts +1 -6
- package/dist-types/commands/DeleteStreamKeyCommand.d.ts +1 -2
- package/dist-types/commands/GetAdConfigurationCommand.d.ts +97 -0
- package/dist-types/commands/GetChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetPlaybackKeyPairCommand.d.ts +1 -5
- package/dist-types/commands/GetStreamSessionCommand.d.ts +1 -0
- package/dist-types/commands/ImportPlaybackKeyPairCommand.d.ts +1 -5
- package/dist-types/commands/InsertAdBreakCommand.d.ts +96 -0
- package/dist-types/commands/ListAdConfigurationsCommand.d.ts +98 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +3 -4
- package/dist-types/commands/ListPlaybackKeyPairsCommand.d.ts +1 -2
- package/dist-types/commands/ListRecordingConfigurationsCommand.d.ts +1 -2
- package/dist-types/commands/ListStreamSessionsCommand.d.ts +1 -2
- package/dist-types/commands/ListStreamsCommand.d.ts +1 -2
- package/dist-types/commands/PutMetadataCommand.d.ts +1 -5
- package/dist-types/commands/StartViewerSessionRevocationCommand.d.ts +1 -5
- package/dist-types/commands/StopStreamCommand.d.ts +1 -8
- package/dist-types/commands/UpdateChannelCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +1 -131
- package/dist-types/models/errors.d.ts +482 -25
- package/dist-types/models/models_0.d.ts +421 -350
- package/dist-types/pagination/ListAdConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +18 -0
- package/dist-types/ts3.4/Ivs.d.ts +93 -0
- package/dist-types/ts3.4/IvsClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateAdConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAdConfigurationCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetAdConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/InsertAdBreakCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListAdConfigurationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/errors.d.ts +111 -17
- package/dist-types/ts3.4/models/models_0.d.ts +78 -0
- package/dist-types/ts3.4/pagination/ListAdConfigurationsPaginator.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 +18 -0
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -6,137 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript Ivs Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>
|
|
10
|
-
<b>Introduction</b>
|
|
11
|
-
</p>
|
|
12
|
-
<p>The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP
|
|
13
|
-
API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both
|
|
14
|
-
requests and responses, including errors.</p>
|
|
15
|
-
<p>The API is an Amazon Web Services regional service. For a list of supported regions and
|
|
16
|
-
Amazon IVS HTTPS service endpoints, see the <a href="https://docs.aws.amazon.com/general/latest/gr/ivs.html">Amazon IVS page</a> in the
|
|
17
|
-
<i>Amazon Web Services General Reference</i>.</p>
|
|
18
|
-
<p>
|
|
19
|
-
<i>
|
|
20
|
-
<b>All API request parameters and URLs are case sensitive.
|
|
21
|
-
</b>
|
|
22
|
-
</i>
|
|
23
|
-
</p>
|
|
24
|
-
<p>For a summary of notable documentation changes in each release, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/doc-history.html"> Document
|
|
25
|
-
History</a>.</p>
|
|
26
|
-
<p>
|
|
27
|
-
<b>Allowed Header Values</b>
|
|
28
|
-
</p>
|
|
29
|
-
<ul>
|
|
30
|
-
<li>
|
|
31
|
-
<p>
|
|
32
|
-
<code>
|
|
33
|
-
<b>Accept:</b>
|
|
34
|
-
</code> application/json</p>
|
|
35
|
-
</li>
|
|
36
|
-
<li>
|
|
37
|
-
<p>
|
|
38
|
-
<code>
|
|
39
|
-
<b>Accept-Encoding:</b>
|
|
40
|
-
</code> gzip, deflate</p>
|
|
41
|
-
</li>
|
|
42
|
-
<li>
|
|
43
|
-
<p>
|
|
44
|
-
<code>
|
|
45
|
-
<b>Content-Type:</b>
|
|
46
|
-
</code>application/json</p>
|
|
47
|
-
</li>
|
|
48
|
-
</ul>
|
|
49
|
-
<p>
|
|
50
|
-
<b>Key Concepts</b>
|
|
51
|
-
</p>
|
|
52
|
-
<ul>
|
|
53
|
-
<li>
|
|
54
|
-
<p>
|
|
55
|
-
<b>Channel</b> — Stores configuration data related to your live stream. You first create a channel and then use the channel’s stream key to start your live stream.</p>
|
|
56
|
-
</li>
|
|
57
|
-
<li>
|
|
58
|
-
<p>
|
|
59
|
-
<b>Stream key</b> — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. <i>
|
|
60
|
-
<b>Treat the stream key like a secret, since it allows anyone to stream to the channel.</b>
|
|
61
|
-
</i>
|
|
62
|
-
</p>
|
|
63
|
-
</li>
|
|
64
|
-
<li>
|
|
65
|
-
<p>
|
|
66
|
-
<b>Playback key pair</b> — Video playback may be restricted using playback-authorization tokens, which use public-key encryption. A playback key pair is the public-private pair of keys used to sign and validate the playback-authorization token.</p>
|
|
67
|
-
</li>
|
|
68
|
-
<li>
|
|
69
|
-
<p>
|
|
70
|
-
<b>Recording configuration</b> — Stores configuration related to recording a live stream and where to store the recorded content. Multiple channels can reference the same recording configuration.</p>
|
|
71
|
-
</li>
|
|
72
|
-
<li>
|
|
73
|
-
<p>
|
|
74
|
-
<b>Playback restriction policy</b> — Restricts playback by countries and/or origin sites.</p>
|
|
75
|
-
</li>
|
|
76
|
-
</ul>
|
|
77
|
-
<p>For more information about your IVS live stream, also see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/getting-started.html">Getting Started with IVS Low-Latency Streaming</a>.</p>
|
|
78
|
-
<p>
|
|
79
|
-
<b>Tagging</b>
|
|
80
|
-
</p>
|
|
81
|
-
<p>A <i>tag</i> is a metadata label that you assign to an Amazon Web Services
|
|
82
|
-
resource. A tag comprises a <i>key</i> and a <i>value</i>, both
|
|
83
|
-
set by you. For example, you might set a tag as <code>topic:nature</code> to label a
|
|
84
|
-
particular video category. See <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best practices and strategies</a> in <i>Tagging Amazon Web Services Resources and Tag Editor</i> for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented
|
|
85
|
-
there.</p>
|
|
86
|
-
<p>Tags can help you identify and organize your Amazon Web Services resources. For example,
|
|
87
|
-
you can use the same tag for different resources to indicate that they are related. You can
|
|
88
|
-
also use tags to manage access (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html"> Access Tags</a>). </p>
|
|
89
|
-
<p>The Amazon IVS API has these tag-related operations: <a>TagResource</a>, <a>UntagResource</a>, and <a>ListTagsForResource</a>. The following
|
|
90
|
-
resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording
|
|
91
|
-
Configurations.</p>
|
|
92
|
-
<p>At most 50 tags can be applied to a resource. </p>
|
|
93
|
-
<p>
|
|
94
|
-
<b>Authentication versus Authorization</b>
|
|
95
|
-
</p>
|
|
96
|
-
<p>Note the differences between these concepts:</p>
|
|
97
|
-
<ul>
|
|
98
|
-
<li>
|
|
99
|
-
<p>
|
|
100
|
-
<i>Authentication</i> is about verifying identity. You need to be
|
|
101
|
-
authenticated to sign Amazon IVS API requests.</p>
|
|
102
|
-
</li>
|
|
103
|
-
<li>
|
|
104
|
-
<p>
|
|
105
|
-
<i>Authorization</i> is about granting permissions. Your IAM roles need to have permissions for Amazon IVS API requests. In addition,
|
|
106
|
-
authorization is needed to view <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Amazon IVS private channels</a>.
|
|
107
|
-
(Private channels are channels that are enabled for "playback authorization.")</p>
|
|
108
|
-
</li>
|
|
109
|
-
</ul>
|
|
110
|
-
<p>
|
|
111
|
-
<b>Authentication</b>
|
|
112
|
-
</p>
|
|
113
|
-
<p>All Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services
|
|
114
|
-
Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying
|
|
115
|
-
API calls for you. However, if your application calls the Amazon IVS API directly, it’s your
|
|
116
|
-
responsibility to sign the requests.</p>
|
|
117
|
-
<p>You generate a signature using valid Amazon Web Services credentials that have permission
|
|
118
|
-
to perform the requested action. For example, you must sign PutMetadata requests with a
|
|
119
|
-
signature generated from a user account that has the <code>ivs:PutMetadata</code>
|
|
120
|
-
permission.</p>
|
|
121
|
-
<p>For more information:</p>
|
|
122
|
-
<ul>
|
|
123
|
-
<li>
|
|
124
|
-
<p>Authentication and generating signatures — See <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests
|
|
125
|
-
(Amazon Web Services Signature Version 4)</a> in the <i>Amazon Web Services
|
|
126
|
-
General Reference</i>.</p>
|
|
127
|
-
</li>
|
|
128
|
-
<li>
|
|
129
|
-
<p>Managing Amazon IVS permissions — See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/security-iam.html">Identity and Access Management</a> on
|
|
130
|
-
the Security page of the <i>Amazon IVS User Guide</i>.</p>
|
|
131
|
-
</li>
|
|
132
|
-
</ul>
|
|
133
|
-
<p>
|
|
134
|
-
<b>Amazon Resource Names (ARNs)</b>
|
|
135
|
-
</p>
|
|
136
|
-
<p>ARNs uniquely identify AWS resources. An ARN is required when you need to specify a
|
|
137
|
-
resource unambiguously across all of AWS, such as in IAM policies and API
|
|
138
|
-
calls. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
139
|
-
Resource Names</a> in the <i>AWS General Reference</i>.</p>
|
|
9
|
+
<p> <b>Introduction</b> </p> <p>The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both requests and responses, including errors.</p> <p>The API is an Amazon Web Services regional service. For a list of supported regions and Amazon IVS HTTPS service endpoints, see the <a href="https://docs.aws.amazon.com/general/latest/gr/ivs.html">Amazon IVS page</a> in the <i>Amazon Web Services General Reference</i>.</p> <p> <i> <b>All API request parameters and URLs are case sensitive. </b> </i> </p> <p>For a summary of notable documentation changes in each release, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/doc-history.html"> Document History</a>.</p> <p> <b>Allowed Header Values</b> </p> <ul> <li> <p> <code> <b>Accept:</b> </code> application/json</p> </li> <li> <p> <code> <b>Accept-Encoding:</b> </code> gzip, deflate</p> </li> <li> <p> <code> <b>Content-Type:</b> </code>application/json</p> </li> </ul> <p> <b>Key Concepts</b> </p> <ul> <li> <p> <b>Channel</b> — Stores configuration data related to your live stream. You first create a channel and then use the channel’s stream key to start your live stream.</p> </li> <li> <p> <b>Stream key</b> — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. <i> <b>Treat the stream key like a secret, since it allows anyone to stream to the channel.</b> </i> </p> </li> <li> <p> <b>Playback key pair</b> — Video playback may be restricted using playback-authorization tokens, which use public-key encryption. A playback key pair is the public-private pair of keys used to sign and validate the playback-authorization token.</p> </li> <li> <p> <b>Recording configuration</b> — Stores configuration related to recording a live stream and where to store the recorded content. Multiple channels can reference the same recording configuration.</p> </li> <li> <p> <b>Playback restriction policy</b> — Restricts playback by countries and/or origin sites.</p> </li> </ul> <p>For more information about your IVS live stream, also see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/getting-started.html">Getting Started with IVS Low-Latency Streaming</a>.</p> <p> <b>Tagging</b> </p> <p>A <i>tag</i> is a metadata label that you assign to an Amazon Web Services resource. A tag comprises a <i>key</i> and a <i>value</i>, both set by you. For example, you might set a tag as <code>topic:nature</code> to label a particular video category. See <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best practices and strategies</a> in <i>Tagging Amazon Web Services Resources and Tag Editor</i> for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.</p> <p>Tags can help you identify and organize your Amazon Web Services resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html"> Access Tags</a>). </p> <p>The Amazon IVS API has these tag-related operations: <a>TagResource</a>, <a>UntagResource</a>, and <a>ListTagsForResource</a>. The following resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording Configurations.</p> <p>At most 50 tags can be applied to a resource. </p> <p> <b>Authentication versus Authorization</b> </p> <p>Note the differences between these concepts:</p> <ul> <li> <p> <i>Authentication</i> is about verifying identity. You need to be authenticated to sign Amazon IVS API requests.</p> </li> <li> <p> <i>Authorization</i> is about granting permissions. Your IAM roles need to have permissions for Amazon IVS API requests. In addition, authorization is needed to view <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Amazon IVS private channels</a>. (Private channels are channels that are enabled for "playback authorization.")</p> </li> </ul> <p> <b>Authentication</b> </p> <p>All Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying API calls for you. However, if your application calls the Amazon IVS API directly, it’s your responsibility to sign the requests.</p> <p>You generate a signature using valid Amazon Web Services credentials that have permission to perform the requested action. For example, you must sign PutMetadata requests with a signature generated from a user account that has the <code>ivs:PutMetadata</code> permission.</p> <p>For more information:</p> <ul> <li> <p>Authentication and generating signatures — See <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (Amazon Web Services Signature Version 4)</a> in the <i>Amazon Web Services General Reference</i>.</p> </li> <li> <p>Managing Amazon IVS permissions — See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/security-iam.html">Identity and Access Management</a> on the Security page of the <i>Amazon IVS User Guide</i>.</p> </li> </ul> <p> <b>Amazon Resource Names (ARNs)</b> </p> <p>ARNs uniquely identify AWS resources. An ARN is required when you need to specify a resource unambiguously across all of AWS, such as in IAM policies and API calls. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names</a> in the <i>AWS General Reference</i>.</p>
|
|
140
10
|
|
|
141
11
|
## Installing
|
|
142
12
|
|
|
@@ -332,6 +202,13 @@ BatchStartViewerSessionRevocation
|
|
|
332
202
|
</details>
|
|
333
203
|
<details>
|
|
334
204
|
<summary>
|
|
205
|
+
CreateAdConfiguration
|
|
206
|
+
</summary>
|
|
207
|
+
|
|
208
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs/command/CreateAdConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs/Interface/CreateAdConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs/Interface/CreateAdConfigurationCommandOutput/)
|
|
209
|
+
</details>
|
|
210
|
+
<details>
|
|
211
|
+
<summary>
|
|
335
212
|
CreateChannel
|
|
336
213
|
</summary>
|
|
337
214
|
|
|
@@ -360,6 +237,13 @@ CreateStreamKey
|
|
|
360
237
|
</details>
|
|
361
238
|
<details>
|
|
362
239
|
<summary>
|
|
240
|
+
DeleteAdConfiguration
|
|
241
|
+
</summary>
|
|
242
|
+
|
|
243
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs/command/DeleteAdConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs/Interface/DeleteAdConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs/Interface/DeleteAdConfigurationCommandOutput/)
|
|
244
|
+
</details>
|
|
245
|
+
<details>
|
|
246
|
+
<summary>
|
|
363
247
|
DeleteChannel
|
|
364
248
|
</summary>
|
|
365
249
|
|
|
@@ -395,6 +279,13 @@ DeleteStreamKey
|
|
|
395
279
|
</details>
|
|
396
280
|
<details>
|
|
397
281
|
<summary>
|
|
282
|
+
GetAdConfiguration
|
|
283
|
+
</summary>
|
|
284
|
+
|
|
285
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs/command/GetAdConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs/Interface/GetAdConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs/Interface/GetAdConfigurationCommandOutput/)
|
|
286
|
+
</details>
|
|
287
|
+
<details>
|
|
288
|
+
<summary>
|
|
398
289
|
GetChannel
|
|
399
290
|
</summary>
|
|
400
291
|
|
|
@@ -451,6 +342,20 @@ ImportPlaybackKeyPair
|
|
|
451
342
|
</details>
|
|
452
343
|
<details>
|
|
453
344
|
<summary>
|
|
345
|
+
InsertAdBreak
|
|
346
|
+
</summary>
|
|
347
|
+
|
|
348
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs/command/InsertAdBreakCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs/Interface/InsertAdBreakCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs/Interface/InsertAdBreakCommandOutput/)
|
|
349
|
+
</details>
|
|
350
|
+
<details>
|
|
351
|
+
<summary>
|
|
352
|
+
ListAdConfigurations
|
|
353
|
+
</summary>
|
|
354
|
+
|
|
355
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs/command/ListAdConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs/Interface/ListAdConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs/Interface/ListAdConfigurationsCommandOutput/)
|
|
356
|
+
</details>
|
|
357
|
+
<details>
|
|
358
|
+
<summary>
|
|
454
359
|
ListChannels
|
|
455
360
|
</summary>
|
|
456
361
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -149,6 +149,18 @@ class BatchStartViewerSessionRevocationCommand extends smithyClient.Command
|
|
|
149
149
|
.build() {
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
+
class CreateAdConfigurationCommand extends smithyClient.Command
|
|
153
|
+
.classBuilder()
|
|
154
|
+
.ep(commonParams)
|
|
155
|
+
.m(function (Command, cs, config, o) {
|
|
156
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
157
|
+
})
|
|
158
|
+
.s("AmazonInteractiveVideoService", "CreateAdConfiguration", {})
|
|
159
|
+
.n("IvsClient", "CreateAdConfigurationCommand")
|
|
160
|
+
.sc(schemas_0.CreateAdConfiguration$)
|
|
161
|
+
.build() {
|
|
162
|
+
}
|
|
163
|
+
|
|
152
164
|
class CreateChannelCommand extends smithyClient.Command
|
|
153
165
|
.classBuilder()
|
|
154
166
|
.ep(commonParams)
|
|
@@ -197,6 +209,18 @@ class CreateStreamKeyCommand extends smithyClient.Command
|
|
|
197
209
|
.build() {
|
|
198
210
|
}
|
|
199
211
|
|
|
212
|
+
class DeleteAdConfigurationCommand extends smithyClient.Command
|
|
213
|
+
.classBuilder()
|
|
214
|
+
.ep(commonParams)
|
|
215
|
+
.m(function (Command, cs, config, o) {
|
|
216
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
217
|
+
})
|
|
218
|
+
.s("AmazonInteractiveVideoService", "DeleteAdConfiguration", {})
|
|
219
|
+
.n("IvsClient", "DeleteAdConfigurationCommand")
|
|
220
|
+
.sc(schemas_0.DeleteAdConfiguration$)
|
|
221
|
+
.build() {
|
|
222
|
+
}
|
|
223
|
+
|
|
200
224
|
class DeleteChannelCommand extends smithyClient.Command
|
|
201
225
|
.classBuilder()
|
|
202
226
|
.ep(commonParams)
|
|
@@ -257,6 +281,18 @@ class DeleteStreamKeyCommand extends smithyClient.Command
|
|
|
257
281
|
.build() {
|
|
258
282
|
}
|
|
259
283
|
|
|
284
|
+
class GetAdConfigurationCommand extends smithyClient.Command
|
|
285
|
+
.classBuilder()
|
|
286
|
+
.ep(commonParams)
|
|
287
|
+
.m(function (Command, cs, config, o) {
|
|
288
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
289
|
+
})
|
|
290
|
+
.s("AmazonInteractiveVideoService", "GetAdConfiguration", {})
|
|
291
|
+
.n("IvsClient", "GetAdConfigurationCommand")
|
|
292
|
+
.sc(schemas_0.GetAdConfiguration$)
|
|
293
|
+
.build() {
|
|
294
|
+
}
|
|
295
|
+
|
|
260
296
|
class GetChannelCommand extends smithyClient.Command
|
|
261
297
|
.classBuilder()
|
|
262
298
|
.ep(commonParams)
|
|
@@ -353,6 +389,30 @@ class ImportPlaybackKeyPairCommand extends smithyClient.Command
|
|
|
353
389
|
.build() {
|
|
354
390
|
}
|
|
355
391
|
|
|
392
|
+
class InsertAdBreakCommand extends smithyClient.Command
|
|
393
|
+
.classBuilder()
|
|
394
|
+
.ep(commonParams)
|
|
395
|
+
.m(function (Command, cs, config, o) {
|
|
396
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
397
|
+
})
|
|
398
|
+
.s("AmazonInteractiveVideoService", "InsertAdBreak", {})
|
|
399
|
+
.n("IvsClient", "InsertAdBreakCommand")
|
|
400
|
+
.sc(schemas_0.InsertAdBreak$)
|
|
401
|
+
.build() {
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
class ListAdConfigurationsCommand extends smithyClient.Command
|
|
405
|
+
.classBuilder()
|
|
406
|
+
.ep(commonParams)
|
|
407
|
+
.m(function (Command, cs, config, o) {
|
|
408
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
409
|
+
})
|
|
410
|
+
.s("AmazonInteractiveVideoService", "ListAdConfigurations", {})
|
|
411
|
+
.n("IvsClient", "ListAdConfigurationsCommand")
|
|
412
|
+
.sc(schemas_0.ListAdConfigurations$)
|
|
413
|
+
.build() {
|
|
414
|
+
}
|
|
415
|
+
|
|
356
416
|
class ListChannelsCommand extends smithyClient.Command
|
|
357
417
|
.classBuilder()
|
|
358
418
|
.ep(commonParams)
|
|
@@ -533,6 +593,8 @@ class UpdatePlaybackRestrictionPolicyCommand extends smithyClient.Command
|
|
|
533
593
|
.build() {
|
|
534
594
|
}
|
|
535
595
|
|
|
596
|
+
const paginateListAdConfigurations = core.createPaginator(IvsClient, ListAdConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
597
|
+
|
|
536
598
|
const paginateListChannels = core.createPaginator(IvsClient, ListChannelsCommand, "nextToken", "nextToken", "maxResults");
|
|
537
599
|
|
|
538
600
|
const paginateListPlaybackKeyPairs = core.createPaginator(IvsClient, ListPlaybackKeyPairsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -551,15 +613,18 @@ const commands = {
|
|
|
551
613
|
BatchGetChannelCommand,
|
|
552
614
|
BatchGetStreamKeyCommand,
|
|
553
615
|
BatchStartViewerSessionRevocationCommand,
|
|
616
|
+
CreateAdConfigurationCommand,
|
|
554
617
|
CreateChannelCommand,
|
|
555
618
|
CreatePlaybackRestrictionPolicyCommand,
|
|
556
619
|
CreateRecordingConfigurationCommand,
|
|
557
620
|
CreateStreamKeyCommand,
|
|
621
|
+
DeleteAdConfigurationCommand,
|
|
558
622
|
DeleteChannelCommand,
|
|
559
623
|
DeletePlaybackKeyPairCommand,
|
|
560
624
|
DeletePlaybackRestrictionPolicyCommand,
|
|
561
625
|
DeleteRecordingConfigurationCommand,
|
|
562
626
|
DeleteStreamKeyCommand,
|
|
627
|
+
GetAdConfigurationCommand,
|
|
563
628
|
GetChannelCommand,
|
|
564
629
|
GetPlaybackKeyPairCommand,
|
|
565
630
|
GetPlaybackRestrictionPolicyCommand,
|
|
@@ -568,6 +633,8 @@ const commands = {
|
|
|
568
633
|
GetStreamKeyCommand,
|
|
569
634
|
GetStreamSessionCommand,
|
|
570
635
|
ImportPlaybackKeyPairCommand,
|
|
636
|
+
InsertAdBreakCommand,
|
|
637
|
+
ListAdConfigurationsCommand,
|
|
571
638
|
ListChannelsCommand,
|
|
572
639
|
ListPlaybackKeyPairsCommand,
|
|
573
640
|
ListPlaybackRestrictionPoliciesCommand,
|
|
@@ -585,6 +652,7 @@ const commands = {
|
|
|
585
652
|
UpdatePlaybackRestrictionPolicyCommand,
|
|
586
653
|
};
|
|
587
654
|
const paginators = {
|
|
655
|
+
paginateListAdConfigurations,
|
|
588
656
|
paginateListChannels,
|
|
589
657
|
paginateListPlaybackKeyPairs,
|
|
590
658
|
paginateListPlaybackRestrictionPolicies,
|
|
@@ -673,15 +741,18 @@ exports.BatchStartViewerSessionRevocationCommand = BatchStartViewerSessionRevoca
|
|
|
673
741
|
exports.ChannelLatencyMode = ChannelLatencyMode;
|
|
674
742
|
exports.ChannelType = ChannelType;
|
|
675
743
|
exports.ContainerFormat = ContainerFormat;
|
|
744
|
+
exports.CreateAdConfigurationCommand = CreateAdConfigurationCommand;
|
|
676
745
|
exports.CreateChannelCommand = CreateChannelCommand;
|
|
677
746
|
exports.CreatePlaybackRestrictionPolicyCommand = CreatePlaybackRestrictionPolicyCommand;
|
|
678
747
|
exports.CreateRecordingConfigurationCommand = CreateRecordingConfigurationCommand;
|
|
679
748
|
exports.CreateStreamKeyCommand = CreateStreamKeyCommand;
|
|
749
|
+
exports.DeleteAdConfigurationCommand = DeleteAdConfigurationCommand;
|
|
680
750
|
exports.DeleteChannelCommand = DeleteChannelCommand;
|
|
681
751
|
exports.DeletePlaybackKeyPairCommand = DeletePlaybackKeyPairCommand;
|
|
682
752
|
exports.DeletePlaybackRestrictionPolicyCommand = DeletePlaybackRestrictionPolicyCommand;
|
|
683
753
|
exports.DeleteRecordingConfigurationCommand = DeleteRecordingConfigurationCommand;
|
|
684
754
|
exports.DeleteStreamKeyCommand = DeleteStreamKeyCommand;
|
|
755
|
+
exports.GetAdConfigurationCommand = GetAdConfigurationCommand;
|
|
685
756
|
exports.GetChannelCommand = GetChannelCommand;
|
|
686
757
|
exports.GetPlaybackKeyPairCommand = GetPlaybackKeyPairCommand;
|
|
687
758
|
exports.GetPlaybackRestrictionPolicyCommand = GetPlaybackRestrictionPolicyCommand;
|
|
@@ -690,8 +761,10 @@ exports.GetStreamCommand = GetStreamCommand;
|
|
|
690
761
|
exports.GetStreamKeyCommand = GetStreamKeyCommand;
|
|
691
762
|
exports.GetStreamSessionCommand = GetStreamSessionCommand;
|
|
692
763
|
exports.ImportPlaybackKeyPairCommand = ImportPlaybackKeyPairCommand;
|
|
764
|
+
exports.InsertAdBreakCommand = InsertAdBreakCommand;
|
|
693
765
|
exports.Ivs = Ivs;
|
|
694
766
|
exports.IvsClient = IvsClient;
|
|
767
|
+
exports.ListAdConfigurationsCommand = ListAdConfigurationsCommand;
|
|
695
768
|
exports.ListChannelsCommand = ListChannelsCommand;
|
|
696
769
|
exports.ListPlaybackKeyPairsCommand = ListPlaybackKeyPairsCommand;
|
|
697
770
|
exports.ListPlaybackRestrictionPoliciesCommand = ListPlaybackRestrictionPoliciesCommand;
|
|
@@ -718,6 +791,7 @@ exports.TranscodePreset = TranscodePreset;
|
|
|
718
791
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
719
792
|
exports.UpdateChannelCommand = UpdateChannelCommand;
|
|
720
793
|
exports.UpdatePlaybackRestrictionPolicyCommand = UpdatePlaybackRestrictionPolicyCommand;
|
|
794
|
+
exports.paginateListAdConfigurations = paginateListAdConfigurations;
|
|
721
795
|
exports.paginateListChannels = paginateListChannels;
|
|
722
796
|
exports.paginateListPlaybackKeyPairs = paginateListPlaybackKeyPairs;
|
|
723
797
|
exports.paginateListPlaybackRestrictionPolicies = paginateListPlaybackRestrictionPolicies;
|