@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.
Files changed (67) hide show
  1. package/README.md +36 -131
  2. package/dist-cjs/index.js +74 -0
  3. package/dist-cjs/models/errors.js +224 -33
  4. package/dist-cjs/schemas/schemas_0.js +200 -67
  5. package/dist-es/Ivs.js +12 -0
  6. package/dist-es/commands/CreateAdConfigurationCommand.js +16 -0
  7. package/dist-es/commands/DeleteAdConfigurationCommand.js +16 -0
  8. package/dist-es/commands/GetAdConfigurationCommand.js +16 -0
  9. package/dist-es/commands/InsertAdBreakCommand.js +16 -0
  10. package/dist-es/commands/ListAdConfigurationsCommand.js +16 -0
  11. package/dist-es/commands/index.js +5 -0
  12. package/dist-es/models/errors.js +218 -28
  13. package/dist-es/pagination/ListAdConfigurationsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/schemas/schemas_0.js +197 -65
  16. package/dist-types/Ivs.d.ts +44 -131
  17. package/dist-types/IvsClient.d.ts +8 -133
  18. package/dist-types/commands/BatchGetChannelCommand.d.ts +17 -0
  19. package/dist-types/commands/BatchGetStreamKeyCommand.d.ts +16 -0
  20. package/dist-types/commands/BatchStartViewerSessionRevocationCommand.d.ts +8 -2
  21. package/dist-types/commands/CreateAdConfigurationCommand.d.ts +114 -0
  22. package/dist-types/commands/CreateChannelCommand.d.ts +2 -0
  23. package/dist-types/commands/CreatePlaybackRestrictionPolicyCommand.d.ts +1 -2
  24. package/dist-types/commands/CreateRecordingConfigurationCommand.d.ts +1 -12
  25. package/dist-types/commands/CreateStreamKeyCommand.d.ts +1 -4
  26. package/dist-types/commands/DeleteAdConfigurationCommand.d.ts +87 -0
  27. package/dist-types/commands/DeleteChannelCommand.d.ts +1 -6
  28. package/dist-types/commands/DeletePlaybackKeyPairCommand.d.ts +1 -3
  29. package/dist-types/commands/DeleteRecordingConfigurationCommand.d.ts +1 -6
  30. package/dist-types/commands/DeleteStreamKeyCommand.d.ts +1 -2
  31. package/dist-types/commands/GetAdConfigurationCommand.d.ts +97 -0
  32. package/dist-types/commands/GetChannelCommand.d.ts +1 -0
  33. package/dist-types/commands/GetPlaybackKeyPairCommand.d.ts +1 -5
  34. package/dist-types/commands/GetStreamSessionCommand.d.ts +1 -0
  35. package/dist-types/commands/ImportPlaybackKeyPairCommand.d.ts +1 -5
  36. package/dist-types/commands/InsertAdBreakCommand.d.ts +96 -0
  37. package/dist-types/commands/ListAdConfigurationsCommand.d.ts +98 -0
  38. package/dist-types/commands/ListChannelsCommand.d.ts +3 -4
  39. package/dist-types/commands/ListPlaybackKeyPairsCommand.d.ts +1 -2
  40. package/dist-types/commands/ListRecordingConfigurationsCommand.d.ts +1 -2
  41. package/dist-types/commands/ListStreamSessionsCommand.d.ts +1 -2
  42. package/dist-types/commands/ListStreamsCommand.d.ts +1 -2
  43. package/dist-types/commands/PutMetadataCommand.d.ts +1 -5
  44. package/dist-types/commands/StartViewerSessionRevocationCommand.d.ts +1 -5
  45. package/dist-types/commands/StopStreamCommand.d.ts +1 -8
  46. package/dist-types/commands/UpdateChannelCommand.d.ts +3 -3
  47. package/dist-types/commands/index.d.ts +5 -0
  48. package/dist-types/index.d.ts +1 -131
  49. package/dist-types/models/errors.d.ts +482 -25
  50. package/dist-types/models/models_0.d.ts +421 -350
  51. package/dist-types/pagination/ListAdConfigurationsPaginator.d.ts +7 -0
  52. package/dist-types/pagination/index.d.ts +1 -0
  53. package/dist-types/schemas/schemas_0.d.ts +18 -0
  54. package/dist-types/ts3.4/Ivs.d.ts +93 -0
  55. package/dist-types/ts3.4/IvsClient.d.ts +30 -0
  56. package/dist-types/ts3.4/commands/CreateAdConfigurationCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/DeleteAdConfigurationCommand.d.ts +46 -0
  58. package/dist-types/ts3.4/commands/GetAdConfigurationCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/InsertAdBreakCommand.d.ts +50 -0
  60. package/dist-types/ts3.4/commands/ListAdConfigurationsCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  62. package/dist-types/ts3.4/models/errors.d.ts +111 -17
  63. package/dist-types/ts3.4/models/models_0.d.ts +78 -0
  64. package/dist-types/ts3.4/pagination/ListAdConfigurationsPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  66. package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
  67. package/package.json +14 -14
@@ -2,15 +2,18 @@ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguratio
2
2
  import { type BatchGetChannelCommandInput, type BatchGetChannelCommandOutput } from "./commands/BatchGetChannelCommand";
3
3
  import { type BatchGetStreamKeyCommandInput, type BatchGetStreamKeyCommandOutput } from "./commands/BatchGetStreamKeyCommand";
4
4
  import { type BatchStartViewerSessionRevocationCommandInput, type BatchStartViewerSessionRevocationCommandOutput } from "./commands/BatchStartViewerSessionRevocationCommand";
5
+ import { type CreateAdConfigurationCommandInput, type CreateAdConfigurationCommandOutput } from "./commands/CreateAdConfigurationCommand";
5
6
  import { type CreateChannelCommandInput, type CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
6
7
  import { type CreatePlaybackRestrictionPolicyCommandInput, type CreatePlaybackRestrictionPolicyCommandOutput } from "./commands/CreatePlaybackRestrictionPolicyCommand";
7
8
  import { type CreateRecordingConfigurationCommandInput, type CreateRecordingConfigurationCommandOutput } from "./commands/CreateRecordingConfigurationCommand";
8
9
  import { type CreateStreamKeyCommandInput, type CreateStreamKeyCommandOutput } from "./commands/CreateStreamKeyCommand";
10
+ import { type DeleteAdConfigurationCommandInput, type DeleteAdConfigurationCommandOutput } from "./commands/DeleteAdConfigurationCommand";
9
11
  import { type DeleteChannelCommandInput, type DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
10
12
  import { type DeletePlaybackKeyPairCommandInput, type DeletePlaybackKeyPairCommandOutput } from "./commands/DeletePlaybackKeyPairCommand";
11
13
  import { type DeletePlaybackRestrictionPolicyCommandInput, type DeletePlaybackRestrictionPolicyCommandOutput } from "./commands/DeletePlaybackRestrictionPolicyCommand";
12
14
  import { type DeleteRecordingConfigurationCommandInput, type DeleteRecordingConfigurationCommandOutput } from "./commands/DeleteRecordingConfigurationCommand";
13
15
  import { type DeleteStreamKeyCommandInput, type DeleteStreamKeyCommandOutput } from "./commands/DeleteStreamKeyCommand";
16
+ import { type GetAdConfigurationCommandInput, type GetAdConfigurationCommandOutput } from "./commands/GetAdConfigurationCommand";
14
17
  import { type GetChannelCommandInput, type GetChannelCommandOutput } from "./commands/GetChannelCommand";
15
18
  import { type GetPlaybackKeyPairCommandInput, type GetPlaybackKeyPairCommandOutput } from "./commands/GetPlaybackKeyPairCommand";
16
19
  import { type GetPlaybackRestrictionPolicyCommandInput, type GetPlaybackRestrictionPolicyCommandOutput } from "./commands/GetPlaybackRestrictionPolicyCommand";
@@ -19,6 +22,8 @@ import { type GetStreamCommandInput, type GetStreamCommandOutput } from "./comma
19
22
  import { type GetStreamKeyCommandInput, type GetStreamKeyCommandOutput } from "./commands/GetStreamKeyCommand";
20
23
  import { type GetStreamSessionCommandInput, type GetStreamSessionCommandOutput } from "./commands/GetStreamSessionCommand";
21
24
  import { type ImportPlaybackKeyPairCommandInput, type ImportPlaybackKeyPairCommandOutput } from "./commands/ImportPlaybackKeyPairCommand";
25
+ import { type InsertAdBreakCommandInput, type InsertAdBreakCommandOutput } from "./commands/InsertAdBreakCommand";
26
+ import { type ListAdConfigurationsCommandInput, type ListAdConfigurationsCommandOutput } from "./commands/ListAdConfigurationsCommand";
22
27
  import { type ListChannelsCommandInput, type ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
23
28
  import { type ListPlaybackKeyPairsCommandInput, type ListPlaybackKeyPairsCommandOutput } from "./commands/ListPlaybackKeyPairsCommand";
24
29
  import { type ListPlaybackRestrictionPoliciesCommandInput, type ListPlaybackRestrictionPoliciesCommandOutput } from "./commands/ListPlaybackRestrictionPoliciesCommand";
@@ -54,6 +59,12 @@ export interface Ivs {
54
59
  batchStartViewerSessionRevocation(args: BatchStartViewerSessionRevocationCommandInput, options?: __HttpHandlerOptions): Promise<BatchStartViewerSessionRevocationCommandOutput>;
55
60
  batchStartViewerSessionRevocation(args: BatchStartViewerSessionRevocationCommandInput, cb: (err: any, data?: BatchStartViewerSessionRevocationCommandOutput) => void): void;
56
61
  batchStartViewerSessionRevocation(args: BatchStartViewerSessionRevocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchStartViewerSessionRevocationCommandOutput) => void): void;
62
+ /**
63
+ * @see {@link CreateAdConfigurationCommand}
64
+ */
65
+ createAdConfiguration(args: CreateAdConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateAdConfigurationCommandOutput>;
66
+ createAdConfiguration(args: CreateAdConfigurationCommandInput, cb: (err: any, data?: CreateAdConfigurationCommandOutput) => void): void;
67
+ createAdConfiguration(args: CreateAdConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAdConfigurationCommandOutput) => void): void;
57
68
  /**
58
69
  * @see {@link CreateChannelCommand}
59
70
  */
@@ -80,6 +91,12 @@ export interface Ivs {
80
91
  createStreamKey(args: CreateStreamKeyCommandInput, options?: __HttpHandlerOptions): Promise<CreateStreamKeyCommandOutput>;
81
92
  createStreamKey(args: CreateStreamKeyCommandInput, cb: (err: any, data?: CreateStreamKeyCommandOutput) => void): void;
82
93
  createStreamKey(args: CreateStreamKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStreamKeyCommandOutput) => void): void;
94
+ /**
95
+ * @see {@link DeleteAdConfigurationCommand}
96
+ */
97
+ deleteAdConfiguration(args: DeleteAdConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAdConfigurationCommandOutput>;
98
+ deleteAdConfiguration(args: DeleteAdConfigurationCommandInput, cb: (err: any, data?: DeleteAdConfigurationCommandOutput) => void): void;
99
+ deleteAdConfiguration(args: DeleteAdConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAdConfigurationCommandOutput) => void): void;
83
100
  /**
84
101
  * @see {@link DeleteChannelCommand}
85
102
  */
@@ -110,6 +127,12 @@ export interface Ivs {
110
127
  deleteStreamKey(args: DeleteStreamKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStreamKeyCommandOutput>;
111
128
  deleteStreamKey(args: DeleteStreamKeyCommandInput, cb: (err: any, data?: DeleteStreamKeyCommandOutput) => void): void;
112
129
  deleteStreamKey(args: DeleteStreamKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStreamKeyCommandOutput) => void): void;
130
+ /**
131
+ * @see {@link GetAdConfigurationCommand}
132
+ */
133
+ getAdConfiguration(args: GetAdConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetAdConfigurationCommandOutput>;
134
+ getAdConfiguration(args: GetAdConfigurationCommandInput, cb: (err: any, data?: GetAdConfigurationCommandOutput) => void): void;
135
+ getAdConfiguration(args: GetAdConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAdConfigurationCommandOutput) => void): void;
113
136
  /**
114
137
  * @see {@link GetChannelCommand}
115
138
  */
@@ -158,6 +181,19 @@ export interface Ivs {
158
181
  importPlaybackKeyPair(args: ImportPlaybackKeyPairCommandInput, options?: __HttpHandlerOptions): Promise<ImportPlaybackKeyPairCommandOutput>;
159
182
  importPlaybackKeyPair(args: ImportPlaybackKeyPairCommandInput, cb: (err: any, data?: ImportPlaybackKeyPairCommandOutput) => void): void;
160
183
  importPlaybackKeyPair(args: ImportPlaybackKeyPairCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportPlaybackKeyPairCommandOutput) => void): void;
184
+ /**
185
+ * @see {@link InsertAdBreakCommand}
186
+ */
187
+ insertAdBreak(args: InsertAdBreakCommandInput, options?: __HttpHandlerOptions): Promise<InsertAdBreakCommandOutput>;
188
+ insertAdBreak(args: InsertAdBreakCommandInput, cb: (err: any, data?: InsertAdBreakCommandOutput) => void): void;
189
+ insertAdBreak(args: InsertAdBreakCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InsertAdBreakCommandOutput) => void): void;
190
+ /**
191
+ * @see {@link ListAdConfigurationsCommand}
192
+ */
193
+ listAdConfigurations(): Promise<ListAdConfigurationsCommandOutput>;
194
+ listAdConfigurations(args: ListAdConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListAdConfigurationsCommandOutput>;
195
+ listAdConfigurations(args: ListAdConfigurationsCommandInput, cb: (err: any, data?: ListAdConfigurationsCommandOutput) => void): void;
196
+ listAdConfigurations(args: ListAdConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAdConfigurationsCommandOutput) => void): void;
161
197
  /**
162
198
  * @see {@link ListChannelsCommand}
163
199
  */
@@ -253,6 +289,13 @@ export interface Ivs {
253
289
  updatePlaybackRestrictionPolicy(args: UpdatePlaybackRestrictionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePlaybackRestrictionPolicyCommandOutput>;
254
290
  updatePlaybackRestrictionPolicy(args: UpdatePlaybackRestrictionPolicyCommandInput, cb: (err: any, data?: UpdatePlaybackRestrictionPolicyCommandOutput) => void): void;
255
291
  updatePlaybackRestrictionPolicy(args: UpdatePlaybackRestrictionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePlaybackRestrictionPolicyCommandOutput) => void): void;
292
+ /**
293
+ * @see {@link ListAdConfigurationsCommand}
294
+ * @param args - command input.
295
+ * @param paginationConfig - optional pagination config.
296
+ * @returns AsyncIterable of {@link ListAdConfigurationsCommandOutput}.
297
+ */
298
+ paginateListAdConfigurations(args?: ListAdConfigurationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAdConfigurationsCommandOutput>;
256
299
  /**
257
300
  * @see {@link ListChannelsCommand}
258
301
  * @param args - command input.
@@ -304,137 +347,7 @@ export interface Ivs {
304
347
  paginateListStreamSessions(args: ListStreamSessionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListStreamSessionsCommandOutput>;
305
348
  }
306
349
  /**
307
- * <p>
308
- * <b>Introduction</b>
309
- * </p>
310
- * <p>The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP
311
- * API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both
312
- * requests and responses, including errors.</p>
313
- * <p>The API is an Amazon Web Services regional service. For a list of supported regions and
314
- * 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
315
- * <i>Amazon Web Services General Reference</i>.</p>
316
- * <p>
317
- * <i>
318
- * <b>All API request parameters and URLs are case sensitive.
319
- * </b>
320
- * </i>
321
- * </p>
322
- * <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
323
- * History</a>.</p>
324
- * <p>
325
- * <b>Allowed Header Values</b>
326
- * </p>
327
- * <ul>
328
- * <li>
329
- * <p>
330
- * <code>
331
- * <b>Accept:</b>
332
- * </code> application/json</p>
333
- * </li>
334
- * <li>
335
- * <p>
336
- * <code>
337
- * <b>Accept-Encoding:</b>
338
- * </code> gzip, deflate</p>
339
- * </li>
340
- * <li>
341
- * <p>
342
- * <code>
343
- * <b>Content-Type:</b>
344
- * </code>application/json</p>
345
- * </li>
346
- * </ul>
347
- * <p>
348
- * <b>Key Concepts</b>
349
- * </p>
350
- * <ul>
351
- * <li>
352
- * <p>
353
- * <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>
354
- * </li>
355
- * <li>
356
- * <p>
357
- * <b>Stream key</b> — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. <i>
358
- * <b>Treat the stream key like a secret, since it allows anyone to stream to the channel.</b>
359
- * </i>
360
- * </p>
361
- * </li>
362
- * <li>
363
- * <p>
364
- * <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>
365
- * </li>
366
- * <li>
367
- * <p>
368
- * <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>
369
- * </li>
370
- * <li>
371
- * <p>
372
- * <b>Playback restriction policy</b> — Restricts playback by countries and/or origin sites.</p>
373
- * </li>
374
- * </ul>
375
- * <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>
376
- * <p>
377
- * <b>Tagging</b>
378
- * </p>
379
- * <p>A <i>tag</i> is a metadata label that you assign to an Amazon Web Services
380
- * resource. A tag comprises a <i>key</i> and a <i>value</i>, both
381
- * set by you. For example, you might set a tag as <code>topic:nature</code> to label a
382
- * 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
383
- * there.</p>
384
- * <p>Tags can help you identify and organize your Amazon Web Services resources. For example,
385
- * you can use the same tag for different resources to indicate that they are related. You can
386
- * also use tags to manage access (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html"> Access Tags</a>). </p>
387
- * <p>The Amazon IVS API has these tag-related operations: <a>TagResource</a>, <a>UntagResource</a>, and <a>ListTagsForResource</a>. The following
388
- * resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording
389
- * Configurations.</p>
390
- * <p>At most 50 tags can be applied to a resource. </p>
391
- * <p>
392
- * <b>Authentication versus Authorization</b>
393
- * </p>
394
- * <p>Note the differences between these concepts:</p>
395
- * <ul>
396
- * <li>
397
- * <p>
398
- * <i>Authentication</i> is about verifying identity. You need to be
399
- * authenticated to sign Amazon IVS API requests.</p>
400
- * </li>
401
- * <li>
402
- * <p>
403
- * <i>Authorization</i> is about granting permissions. Your IAM roles need to have permissions for Amazon IVS API requests. In addition,
404
- * authorization is needed to view <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Amazon IVS private channels</a>.
405
- * (Private channels are channels that are enabled for "playback authorization.")</p>
406
- * </li>
407
- * </ul>
408
- * <p>
409
- * <b>Authentication</b>
410
- * </p>
411
- * <p>All Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services
412
- * Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying
413
- * API calls for you. However, if your application calls the Amazon IVS API directly, it’s your
414
- * responsibility to sign the requests.</p>
415
- * <p>You generate a signature using valid Amazon Web Services credentials that have permission
416
- * to perform the requested action. For example, you must sign PutMetadata requests with a
417
- * signature generated from a user account that has the <code>ivs:PutMetadata</code>
418
- * permission.</p>
419
- * <p>For more information:</p>
420
- * <ul>
421
- * <li>
422
- * <p>Authentication and generating signatures — See <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests
423
- * (Amazon Web Services Signature Version 4)</a> in the <i>Amazon Web Services
424
- * General Reference</i>.</p>
425
- * </li>
426
- * <li>
427
- * <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
428
- * the Security page of the <i>Amazon IVS User Guide</i>.</p>
429
- * </li>
430
- * </ul>
431
- * <p>
432
- * <b>Amazon Resource Names (ARNs)</b>
433
- * </p>
434
- * <p>ARNs uniquely identify AWS resources. An ARN is required when you need to specify a
435
- * resource unambiguously across all of AWS, such as in IAM policies and API
436
- * calls. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
437
- * Resource Names</a> in the <i>AWS General Reference</i>.</p>
350
+ * <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>
438
351
  * @public
439
352
  */
440
353
  export declare class Ivs extends IvsClient implements Ivs {
@@ -10,15 +10,18 @@ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } fro
10
10
  import type { BatchGetChannelCommandInput, BatchGetChannelCommandOutput } from "./commands/BatchGetChannelCommand";
11
11
  import type { BatchGetStreamKeyCommandInput, BatchGetStreamKeyCommandOutput } from "./commands/BatchGetStreamKeyCommand";
12
12
  import type { BatchStartViewerSessionRevocationCommandInput, BatchStartViewerSessionRevocationCommandOutput } from "./commands/BatchStartViewerSessionRevocationCommand";
13
+ import type { CreateAdConfigurationCommandInput, CreateAdConfigurationCommandOutput } from "./commands/CreateAdConfigurationCommand";
13
14
  import type { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
14
15
  import type { CreatePlaybackRestrictionPolicyCommandInput, CreatePlaybackRestrictionPolicyCommandOutput } from "./commands/CreatePlaybackRestrictionPolicyCommand";
15
16
  import type { CreateRecordingConfigurationCommandInput, CreateRecordingConfigurationCommandOutput } from "./commands/CreateRecordingConfigurationCommand";
16
17
  import type { CreateStreamKeyCommandInput, CreateStreamKeyCommandOutput } from "./commands/CreateStreamKeyCommand";
18
+ import type { DeleteAdConfigurationCommandInput, DeleteAdConfigurationCommandOutput } from "./commands/DeleteAdConfigurationCommand";
17
19
  import type { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
18
20
  import type { DeletePlaybackKeyPairCommandInput, DeletePlaybackKeyPairCommandOutput } from "./commands/DeletePlaybackKeyPairCommand";
19
21
  import type { DeletePlaybackRestrictionPolicyCommandInput, DeletePlaybackRestrictionPolicyCommandOutput } from "./commands/DeletePlaybackRestrictionPolicyCommand";
20
22
  import type { DeleteRecordingConfigurationCommandInput, DeleteRecordingConfigurationCommandOutput } from "./commands/DeleteRecordingConfigurationCommand";
21
23
  import type { DeleteStreamKeyCommandInput, DeleteStreamKeyCommandOutput } from "./commands/DeleteStreamKeyCommand";
24
+ import type { GetAdConfigurationCommandInput, GetAdConfigurationCommandOutput } from "./commands/GetAdConfigurationCommand";
22
25
  import type { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
23
26
  import type { GetPlaybackKeyPairCommandInput, GetPlaybackKeyPairCommandOutput } from "./commands/GetPlaybackKeyPairCommand";
24
27
  import type { GetPlaybackRestrictionPolicyCommandInput, GetPlaybackRestrictionPolicyCommandOutput } from "./commands/GetPlaybackRestrictionPolicyCommand";
@@ -27,6 +30,8 @@ import type { GetStreamCommandInput, GetStreamCommandOutput } from "./commands/G
27
30
  import type { GetStreamKeyCommandInput, GetStreamKeyCommandOutput } from "./commands/GetStreamKeyCommand";
28
31
  import type { GetStreamSessionCommandInput, GetStreamSessionCommandOutput } from "./commands/GetStreamSessionCommand";
29
32
  import type { ImportPlaybackKeyPairCommandInput, ImportPlaybackKeyPairCommandOutput } from "./commands/ImportPlaybackKeyPairCommand";
33
+ import type { InsertAdBreakCommandInput, InsertAdBreakCommandOutput } from "./commands/InsertAdBreakCommand";
34
+ import type { ListAdConfigurationsCommandInput, ListAdConfigurationsCommandOutput } from "./commands/ListAdConfigurationsCommand";
30
35
  import type { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
31
36
  import type { ListPlaybackKeyPairsCommandInput, ListPlaybackKeyPairsCommandOutput } from "./commands/ListPlaybackKeyPairsCommand";
32
37
  import type { ListPlaybackRestrictionPoliciesCommandInput, ListPlaybackRestrictionPoliciesCommandOutput } from "./commands/ListPlaybackRestrictionPoliciesCommand";
@@ -48,11 +53,11 @@ export { __Client };
48
53
  /**
49
54
  * @public
50
55
  */
51
- export type ServiceInputTypes = BatchGetChannelCommandInput | BatchGetStreamKeyCommandInput | BatchStartViewerSessionRevocationCommandInput | CreateChannelCommandInput | CreatePlaybackRestrictionPolicyCommandInput | CreateRecordingConfigurationCommandInput | CreateStreamKeyCommandInput | DeleteChannelCommandInput | DeletePlaybackKeyPairCommandInput | DeletePlaybackRestrictionPolicyCommandInput | DeleteRecordingConfigurationCommandInput | DeleteStreamKeyCommandInput | GetChannelCommandInput | GetPlaybackKeyPairCommandInput | GetPlaybackRestrictionPolicyCommandInput | GetRecordingConfigurationCommandInput | GetStreamCommandInput | GetStreamKeyCommandInput | GetStreamSessionCommandInput | ImportPlaybackKeyPairCommandInput | ListChannelsCommandInput | ListPlaybackKeyPairsCommandInput | ListPlaybackRestrictionPoliciesCommandInput | ListRecordingConfigurationsCommandInput | ListStreamKeysCommandInput | ListStreamSessionsCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | PutMetadataCommandInput | StartViewerSessionRevocationCommandInput | StopStreamCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput | UpdatePlaybackRestrictionPolicyCommandInput;
56
+ export type ServiceInputTypes = BatchGetChannelCommandInput | BatchGetStreamKeyCommandInput | BatchStartViewerSessionRevocationCommandInput | CreateAdConfigurationCommandInput | CreateChannelCommandInput | CreatePlaybackRestrictionPolicyCommandInput | CreateRecordingConfigurationCommandInput | CreateStreamKeyCommandInput | DeleteAdConfigurationCommandInput | DeleteChannelCommandInput | DeletePlaybackKeyPairCommandInput | DeletePlaybackRestrictionPolicyCommandInput | DeleteRecordingConfigurationCommandInput | DeleteStreamKeyCommandInput | GetAdConfigurationCommandInput | GetChannelCommandInput | GetPlaybackKeyPairCommandInput | GetPlaybackRestrictionPolicyCommandInput | GetRecordingConfigurationCommandInput | GetStreamCommandInput | GetStreamKeyCommandInput | GetStreamSessionCommandInput | ImportPlaybackKeyPairCommandInput | InsertAdBreakCommandInput | ListAdConfigurationsCommandInput | ListChannelsCommandInput | ListPlaybackKeyPairsCommandInput | ListPlaybackRestrictionPoliciesCommandInput | ListRecordingConfigurationsCommandInput | ListStreamKeysCommandInput | ListStreamSessionsCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | PutMetadataCommandInput | StartViewerSessionRevocationCommandInput | StopStreamCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput | UpdatePlaybackRestrictionPolicyCommandInput;
52
57
  /**
53
58
  * @public
54
59
  */
55
- export type ServiceOutputTypes = BatchGetChannelCommandOutput | BatchGetStreamKeyCommandOutput | BatchStartViewerSessionRevocationCommandOutput | CreateChannelCommandOutput | CreatePlaybackRestrictionPolicyCommandOutput | CreateRecordingConfigurationCommandOutput | CreateStreamKeyCommandOutput | DeleteChannelCommandOutput | DeletePlaybackKeyPairCommandOutput | DeletePlaybackRestrictionPolicyCommandOutput | DeleteRecordingConfigurationCommandOutput | DeleteStreamKeyCommandOutput | GetChannelCommandOutput | GetPlaybackKeyPairCommandOutput | GetPlaybackRestrictionPolicyCommandOutput | GetRecordingConfigurationCommandOutput | GetStreamCommandOutput | GetStreamKeyCommandOutput | GetStreamSessionCommandOutput | ImportPlaybackKeyPairCommandOutput | ListChannelsCommandOutput | ListPlaybackKeyPairsCommandOutput | ListPlaybackRestrictionPoliciesCommandOutput | ListRecordingConfigurationsCommandOutput | ListStreamKeysCommandOutput | ListStreamSessionsCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | PutMetadataCommandOutput | StartViewerSessionRevocationCommandOutput | StopStreamCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput | UpdatePlaybackRestrictionPolicyCommandOutput;
60
+ export type ServiceOutputTypes = BatchGetChannelCommandOutput | BatchGetStreamKeyCommandOutput | BatchStartViewerSessionRevocationCommandOutput | CreateAdConfigurationCommandOutput | CreateChannelCommandOutput | CreatePlaybackRestrictionPolicyCommandOutput | CreateRecordingConfigurationCommandOutput | CreateStreamKeyCommandOutput | DeleteAdConfigurationCommandOutput | DeleteChannelCommandOutput | DeletePlaybackKeyPairCommandOutput | DeletePlaybackRestrictionPolicyCommandOutput | DeleteRecordingConfigurationCommandOutput | DeleteStreamKeyCommandOutput | GetAdConfigurationCommandOutput | GetChannelCommandOutput | GetPlaybackKeyPairCommandOutput | GetPlaybackRestrictionPolicyCommandOutput | GetRecordingConfigurationCommandOutput | GetStreamCommandOutput | GetStreamKeyCommandOutput | GetStreamSessionCommandOutput | ImportPlaybackKeyPairCommandOutput | InsertAdBreakCommandOutput | ListAdConfigurationsCommandOutput | ListChannelsCommandOutput | ListPlaybackKeyPairsCommandOutput | ListPlaybackRestrictionPoliciesCommandOutput | ListRecordingConfigurationsCommandOutput | ListStreamKeysCommandOutput | ListStreamSessionsCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | PutMetadataCommandOutput | StartViewerSessionRevocationCommandOutput | StopStreamCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput | UpdatePlaybackRestrictionPolicyCommandOutput;
56
61
  /**
57
62
  * @public
58
63
  */
@@ -204,137 +209,7 @@ export type IvsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHa
204
209
  export interface IvsClientResolvedConfig extends IvsClientResolvedConfigType {
205
210
  }
206
211
  /**
207
- * <p>
208
- * <b>Introduction</b>
209
- * </p>
210
- * <p>The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP
211
- * API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both
212
- * requests and responses, including errors.</p>
213
- * <p>The API is an Amazon Web Services regional service. For a list of supported regions and
214
- * 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
215
- * <i>Amazon Web Services General Reference</i>.</p>
216
- * <p>
217
- * <i>
218
- * <b>All API request parameters and URLs are case sensitive.
219
- * </b>
220
- * </i>
221
- * </p>
222
- * <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
223
- * History</a>.</p>
224
- * <p>
225
- * <b>Allowed Header Values</b>
226
- * </p>
227
- * <ul>
228
- * <li>
229
- * <p>
230
- * <code>
231
- * <b>Accept:</b>
232
- * </code> application/json</p>
233
- * </li>
234
- * <li>
235
- * <p>
236
- * <code>
237
- * <b>Accept-Encoding:</b>
238
- * </code> gzip, deflate</p>
239
- * </li>
240
- * <li>
241
- * <p>
242
- * <code>
243
- * <b>Content-Type:</b>
244
- * </code>application/json</p>
245
- * </li>
246
- * </ul>
247
- * <p>
248
- * <b>Key Concepts</b>
249
- * </p>
250
- * <ul>
251
- * <li>
252
- * <p>
253
- * <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>
254
- * </li>
255
- * <li>
256
- * <p>
257
- * <b>Stream key</b> — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. <i>
258
- * <b>Treat the stream key like a secret, since it allows anyone to stream to the channel.</b>
259
- * </i>
260
- * </p>
261
- * </li>
262
- * <li>
263
- * <p>
264
- * <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>
265
- * </li>
266
- * <li>
267
- * <p>
268
- * <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>
269
- * </li>
270
- * <li>
271
- * <p>
272
- * <b>Playback restriction policy</b> — Restricts playback by countries and/or origin sites.</p>
273
- * </li>
274
- * </ul>
275
- * <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>
276
- * <p>
277
- * <b>Tagging</b>
278
- * </p>
279
- * <p>A <i>tag</i> is a metadata label that you assign to an Amazon Web Services
280
- * resource. A tag comprises a <i>key</i> and a <i>value</i>, both
281
- * set by you. For example, you might set a tag as <code>topic:nature</code> to label a
282
- * 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
283
- * there.</p>
284
- * <p>Tags can help you identify and organize your Amazon Web Services resources. For example,
285
- * you can use the same tag for different resources to indicate that they are related. You can
286
- * also use tags to manage access (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html"> Access Tags</a>). </p>
287
- * <p>The Amazon IVS API has these tag-related operations: <a>TagResource</a>, <a>UntagResource</a>, and <a>ListTagsForResource</a>. The following
288
- * resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording
289
- * Configurations.</p>
290
- * <p>At most 50 tags can be applied to a resource. </p>
291
- * <p>
292
- * <b>Authentication versus Authorization</b>
293
- * </p>
294
- * <p>Note the differences between these concepts:</p>
295
- * <ul>
296
- * <li>
297
- * <p>
298
- * <i>Authentication</i> is about verifying identity. You need to be
299
- * authenticated to sign Amazon IVS API requests.</p>
300
- * </li>
301
- * <li>
302
- * <p>
303
- * <i>Authorization</i> is about granting permissions. Your IAM roles need to have permissions for Amazon IVS API requests. In addition,
304
- * authorization is needed to view <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Amazon IVS private channels</a>.
305
- * (Private channels are channels that are enabled for "playback authorization.")</p>
306
- * </li>
307
- * </ul>
308
- * <p>
309
- * <b>Authentication</b>
310
- * </p>
311
- * <p>All Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services
312
- * Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying
313
- * API calls for you. However, if your application calls the Amazon IVS API directly, it’s your
314
- * responsibility to sign the requests.</p>
315
- * <p>You generate a signature using valid Amazon Web Services credentials that have permission
316
- * to perform the requested action. For example, you must sign PutMetadata requests with a
317
- * signature generated from a user account that has the <code>ivs:PutMetadata</code>
318
- * permission.</p>
319
- * <p>For more information:</p>
320
- * <ul>
321
- * <li>
322
- * <p>Authentication and generating signatures — See <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests
323
- * (Amazon Web Services Signature Version 4)</a> in the <i>Amazon Web Services
324
- * General Reference</i>.</p>
325
- * </li>
326
- * <li>
327
- * <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
328
- * the Security page of the <i>Amazon IVS User Guide</i>.</p>
329
- * </li>
330
- * </ul>
331
- * <p>
332
- * <b>Amazon Resource Names (ARNs)</b>
333
- * </p>
334
- * <p>ARNs uniquely identify AWS resources. An ARN is required when you need to specify a
335
- * resource unambiguously across all of AWS, such as in IAM policies and API
336
- * calls. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
337
- * Resource Names</a> in the <i>AWS General Reference</i>.</p>
212
+ * <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>
338
213
  * @public
339
214
  */
340
215
  export declare class IvsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, IvsClientResolvedConfig> {
@@ -44,6 +44,13 @@ declare const BatchGetChannelCommand_base: {
44
44
  * const command = new BatchGetChannelCommand(input);
45
45
  * const response = await client.send(command);
46
46
  * // { // BatchGetChannelResponse
47
+ * // accessControlAllowOrigin: "STRING_VALUE",
48
+ * // accessControlExposeHeaders: "STRING_VALUE",
49
+ * // cacheControl: "STRING_VALUE",
50
+ * // contentSecurityPolicy: "STRING_VALUE",
51
+ * // strictTransportSecurity: "STRING_VALUE",
52
+ * // xContentTypeOptions: "STRING_VALUE",
53
+ * // xFrameOptions: "STRING_VALUE",
47
54
  * // channels: [ // Channels
48
55
  * // { // Channel
49
56
  * // arn: "STRING_VALUE",
@@ -70,6 +77,7 @@ declare const BatchGetChannelCommand_base: {
70
77
  * // maximumResolution: "SD" || "HD" || "FULL_HD",
71
78
  * // },
72
79
  * // containerFormat: "STRING_VALUE",
80
+ * // adConfigurationArn: "STRING_VALUE",
73
81
  * // },
74
82
  * // ],
75
83
  * // errors: [ // BatchErrors
@@ -89,6 +97,15 @@ declare const BatchGetChannelCommand_base: {
89
97
  * @see {@link BatchGetChannelCommandOutput} for command's `response` shape.
90
98
  * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
91
99
  *
100
+ * @throws {@link AccessDeniedException} (client fault)
101
+ * <p/>
102
+ *
103
+ * @throws {@link ServiceUnavailable} (server fault)
104
+ * <p/>
105
+ *
106
+ * @throws {@link ValidationException} (client fault)
107
+ * <p/>
108
+ *
92
109
  * @throws {@link IvsServiceException}
93
110
  * <p>Base exception class for all service exceptions from Ivs service.</p>
94
111
  *
@@ -44,6 +44,13 @@ declare const BatchGetStreamKeyCommand_base: {
44
44
  * const command = new BatchGetStreamKeyCommand(input);
45
45
  * const response = await client.send(command);
46
46
  * // { // BatchGetStreamKeyResponse
47
+ * // accessControlAllowOrigin: "STRING_VALUE",
48
+ * // accessControlExposeHeaders: "STRING_VALUE",
49
+ * // cacheControl: "STRING_VALUE",
50
+ * // contentSecurityPolicy: "STRING_VALUE",
51
+ * // strictTransportSecurity: "STRING_VALUE",
52
+ * // xContentTypeOptions: "STRING_VALUE",
53
+ * // xFrameOptions: "STRING_VALUE",
47
54
  * // streamKeys: [ // StreamKeys
48
55
  * // { // StreamKey
49
56
  * // arn: "STRING_VALUE",
@@ -71,6 +78,15 @@ declare const BatchGetStreamKeyCommand_base: {
71
78
  * @see {@link BatchGetStreamKeyCommandOutput} for command's `response` shape.
72
79
  * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
73
80
  *
81
+ * @throws {@link AccessDeniedException} (client fault)
82
+ * <p/>
83
+ *
84
+ * @throws {@link ServiceUnavailable} (server fault)
85
+ * <p/>
86
+ *
87
+ * @throws {@link ValidationException} (client fault)
88
+ * <p/>
89
+ *
74
90
  * @throws {@link IvsServiceException}
75
91
  * <p>Base exception class for all service exceptions from Ivs service.</p>
76
92
  *
@@ -27,8 +27,7 @@ declare const BatchStartViewerSessionRevocationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Performs <a>StartViewerSessionRevocation</a> on multiple channel ARN and viewer
31
- * ID pairs simultaneously.</p>
30
+ * <p>Performs <a>StartViewerSessionRevocation</a> on multiple channel ARN and viewer ID pairs simultaneously.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -49,6 +48,13 @@ declare const BatchStartViewerSessionRevocationCommand_base: {
49
48
  * const command = new BatchStartViewerSessionRevocationCommand(input);
50
49
  * const response = await client.send(command);
51
50
  * // { // BatchStartViewerSessionRevocationResponse
51
+ * // accessControlAllowOrigin: "STRING_VALUE",
52
+ * // accessControlExposeHeaders: "STRING_VALUE",
53
+ * // cacheControl: "STRING_VALUE",
54
+ * // contentSecurityPolicy: "STRING_VALUE",
55
+ * // strictTransportSecurity: "STRING_VALUE",
56
+ * // xContentTypeOptions: "STRING_VALUE",
57
+ * // xFrameOptions: "STRING_VALUE",
52
58
  * // errors: [ // BatchStartViewerSessionRevocationErrors
53
59
  * // { // BatchStartViewerSessionRevocationError
54
60
  * // channelArn: "STRING_VALUE", // required