@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
@@ -27,10 +27,7 @@ declare const ListChannelsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Gets summary information about all channels in your account, in the Amazon Web Services
31
- * region where the API request is processed. This list can be filtered to match a specified name
32
- * or recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If
33
- * you try to use both filters, you will get an error (409 ConflictException).</p>
30
+ * <p>Gets summary information about all channels in your account, in the Amazon Web Services region where the API request is processed. This list can be filtered to match a specified name or recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If you try to use both filters, you will get an error (409 ConflictException).</p>
34
31
  * @example
35
32
  * Use a bare-bones client and the command you need to make an API call.
36
33
  * ```javascript
@@ -43,6 +40,7 @@ declare const ListChannelsCommand_base: {
43
40
  * filterByName: "STRING_VALUE",
44
41
  * filterByRecordingConfigurationArn: "STRING_VALUE",
45
42
  * filterByPlaybackRestrictionPolicyArn: "STRING_VALUE",
43
+ * filterByAdConfigurationArn: "STRING_VALUE",
46
44
  * nextToken: "STRING_VALUE",
47
45
  * maxResults: Number("int"),
48
46
  * };
@@ -63,6 +61,7 @@ declare const ListChannelsCommand_base: {
63
61
  * // type: "BASIC" || "STANDARD" || "ADVANCED_SD" || "ADVANCED_HD",
64
62
  * // preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
65
63
  * // playbackRestrictionPolicyArn: "STRING_VALUE",
64
+ * // adConfigurationArn: "STRING_VALUE",
66
65
  * // },
67
66
  * // ],
68
67
  * // nextToken: "STRING_VALUE",
@@ -27,8 +27,7 @@ declare const ListPlaybackKeyPairsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Gets summary information about playback key pairs. For more information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private
31
- * Channels</a> in the <i>Amazon IVS User Guide</i>.</p>
30
+ * <p>Gets summary information about playback key pairs. For more information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private Channels</a> in the <i>Amazon IVS User Guide</i>.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const ListRecordingConfigurationsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Gets summary information about all recording configurations in your account, in the
31
- * Amazon Web Services region where the API request is processed.</p>
30
+ * <p>Gets summary information about all recording configurations in your account, in the Amazon Web Services region where the API request is processed.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const ListStreamSessionsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Gets a summary of current and previous streams for a specified channel in your account, in
31
- * the AWS region where the API request is processed.</p>
30
+ * <p>Gets a summary of current and previous streams for a specified channel in your account, in the AWS region where the API request is processed.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const ListStreamsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Gets summary information about live streams in your account, in the Amazon Web Services
31
- * region where the API request is processed.</p>
30
+ * <p>Gets summary information about live streams in your account, in the Amazon Web Services region where the API request is processed.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,11 +27,7 @@ declare const PutMetadataCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Inserts metadata into the active stream of the specified channel. At most 5 requests per
31
- * second per channel are allowed, each with a maximum 1 KB payload. (If 5 TPS is not sufficient
32
- * for your needs, we recommend batching your data into a single PutMetadata call.) At most 155
33
- * requests per second per account are allowed. Also see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/metadata.html">Embedding Metadata within a Video Stream</a> in
34
- * the <i>Amazon IVS User Guide</i>.</p>
30
+ * <p>Inserts metadata into the active stream of the specified channel. At most 5 requests per second per channel are allowed, each with a maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching your data into a single PutMetadata call.) At most 155 requests per second per account are allowed. Also see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/metadata.html">Embedding Metadata within a Video Stream</a> in the <i>Amazon IVS User Guide</i>.</p>
35
31
  * @example
36
32
  * Use a bare-bones client and the command you need to make an API call.
37
33
  * ```javascript
@@ -27,11 +27,7 @@ declare const StartViewerSessionRevocationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Starts the process of revoking the viewer session associated with a specified channel ARN
31
- * and viewer ID. Optionally, you can provide a version to revoke viewer sessions less than and
32
- * including that version. For instructions on associating a viewer ID with a viewer session, see
33
- * <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up
34
- * Private Channels</a>.</p>
30
+ * <p>Starts the process of revoking the viewer session associated with a specified channel ARN and viewer ID. Optionally, you can provide a version to revoke viewer sessions less than and including that version. For instructions on associating a viewer ID with a viewer session, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private Channels</a>.</p>
35
31
  * @example
36
32
  * Use a bare-bones client and the command you need to make an API call.
37
33
  * ```javascript
@@ -27,14 +27,7 @@ declare const StopStreamCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Disconnects the incoming RTMPS stream for the specified channel. Can be used in
31
- * conjunction with <a>DeleteStreamKey</a> to prevent further streaming to a
32
- * channel.</p>
33
- * <note>
34
- * <p>Many streaming client-software libraries automatically reconnect a dropped RTMPS
35
- * session, so to stop the stream permanently, you may want to first revoke the
36
- * <code>streamKey</code> attached to the channel.</p>
37
- * </note>
30
+ * <p>Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with <a>DeleteStreamKey</a> to prevent further streaming to a channel.</p> <note> <p>Many streaming client-software libraries automatically reconnect a dropped RTMPS session, so to stop the stream permanently, you may want to first revoke the <code>streamKey</code> attached to the channel.</p> </note>
38
31
  * @example
39
32
  * Use a bare-bones client and the command you need to make an API call.
40
33
  * ```javascript
@@ -27,9 +27,7 @@ declare const UpdateChannelCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Updates a channel's configuration. Live channels cannot be updated. You must stop the
31
- * ongoing stream, update the channel, and restart the stream for the changes to take
32
- * effect.</p>
30
+ * <p>Updates a channel's configuration. Live channels cannot be updated. You must stop the ongoing stream, update the channel, and restart the stream for the changes to take effect.</p>
33
31
  * @example
34
32
  * Use a bare-bones client and the command you need to make an API call.
35
33
  * ```javascript
@@ -54,6 +52,7 @@ declare const UpdateChannelCommand_base: {
54
52
  * maximumResolution: "SD" || "HD" || "FULL_HD",
55
53
  * },
56
54
  * containerFormat: "STRING_VALUE",
55
+ * adConfigurationArn: "STRING_VALUE",
57
56
  * };
58
57
  * const command = new UpdateChannelCommand(input);
59
58
  * const response = await client.send(command);
@@ -83,6 +82,7 @@ declare const UpdateChannelCommand_base: {
83
82
  * // maximumResolution: "SD" || "HD" || "FULL_HD",
84
83
  * // },
85
84
  * // containerFormat: "STRING_VALUE",
85
+ * // adConfigurationArn: "STRING_VALUE",
86
86
  * // },
87
87
  * // };
88
88
  *
@@ -1,15 +1,18 @@
1
1
  export * from "./BatchGetChannelCommand";
2
2
  export * from "./BatchGetStreamKeyCommand";
3
3
  export * from "./BatchStartViewerSessionRevocationCommand";
4
+ export * from "./CreateAdConfigurationCommand";
4
5
  export * from "./CreateChannelCommand";
5
6
  export * from "./CreatePlaybackRestrictionPolicyCommand";
6
7
  export * from "./CreateRecordingConfigurationCommand";
7
8
  export * from "./CreateStreamKeyCommand";
9
+ export * from "./DeleteAdConfigurationCommand";
8
10
  export * from "./DeleteChannelCommand";
9
11
  export * from "./DeletePlaybackKeyPairCommand";
10
12
  export * from "./DeletePlaybackRestrictionPolicyCommand";
11
13
  export * from "./DeleteRecordingConfigurationCommand";
12
14
  export * from "./DeleteStreamKeyCommand";
15
+ export * from "./GetAdConfigurationCommand";
13
16
  export * from "./GetChannelCommand";
14
17
  export * from "./GetPlaybackKeyPairCommand";
15
18
  export * from "./GetPlaybackRestrictionPolicyCommand";
@@ -18,6 +21,8 @@ export * from "./GetStreamCommand";
18
21
  export * from "./GetStreamKeyCommand";
19
22
  export * from "./GetStreamSessionCommand";
20
23
  export * from "./ImportPlaybackKeyPairCommand";
24
+ export * from "./InsertAdBreakCommand";
25
+ export * from "./ListAdConfigurationsCommand";
21
26
  export * from "./ListChannelsCommand";
22
27
  export * from "./ListPlaybackKeyPairsCommand";
23
28
  export * from "./ListPlaybackRestrictionPoliciesCommand";
@@ -1,135 +1,5 @@
1
1
  /**
2
- * <p>
3
- * <b>Introduction</b>
4
- * </p>
5
- * <p>The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP
6
- * API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both
7
- * requests and responses, including errors.</p>
8
- * <p>The API is an Amazon Web Services regional service. For a list of supported regions and
9
- * 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
10
- * <i>Amazon Web Services General Reference</i>.</p>
11
- * <p>
12
- * <i>
13
- * <b>All API request parameters and URLs are case sensitive.
14
- * </b>
15
- * </i>
16
- * </p>
17
- * <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
18
- * History</a>.</p>
19
- * <p>
20
- * <b>Allowed Header Values</b>
21
- * </p>
22
- * <ul>
23
- * <li>
24
- * <p>
25
- * <code>
26
- * <b>Accept:</b>
27
- * </code> application/json</p>
28
- * </li>
29
- * <li>
30
- * <p>
31
- * <code>
32
- * <b>Accept-Encoding:</b>
33
- * </code> gzip, deflate</p>
34
- * </li>
35
- * <li>
36
- * <p>
37
- * <code>
38
- * <b>Content-Type:</b>
39
- * </code>application/json</p>
40
- * </li>
41
- * </ul>
42
- * <p>
43
- * <b>Key Concepts</b>
44
- * </p>
45
- * <ul>
46
- * <li>
47
- * <p>
48
- * <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>
49
- * </li>
50
- * <li>
51
- * <p>
52
- * <b>Stream key</b> — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. <i>
53
- * <b>Treat the stream key like a secret, since it allows anyone to stream to the channel.</b>
54
- * </i>
55
- * </p>
56
- * </li>
57
- * <li>
58
- * <p>
59
- * <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>
60
- * </li>
61
- * <li>
62
- * <p>
63
- * <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>
64
- * </li>
65
- * <li>
66
- * <p>
67
- * <b>Playback restriction policy</b> — Restricts playback by countries and/or origin sites.</p>
68
- * </li>
69
- * </ul>
70
- * <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>
71
- * <p>
72
- * <b>Tagging</b>
73
- * </p>
74
- * <p>A <i>tag</i> is a metadata label that you assign to an Amazon Web Services
75
- * resource. A tag comprises a <i>key</i> and a <i>value</i>, both
76
- * set by you. For example, you might set a tag as <code>topic:nature</code> to label a
77
- * 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
78
- * there.</p>
79
- * <p>Tags can help you identify and organize your Amazon Web Services resources. For example,
80
- * you can use the same tag for different resources to indicate that they are related. You can
81
- * also use tags to manage access (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html"> Access Tags</a>). </p>
82
- * <p>The Amazon IVS API has these tag-related operations: <a>TagResource</a>, <a>UntagResource</a>, and <a>ListTagsForResource</a>. The following
83
- * resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording
84
- * Configurations.</p>
85
- * <p>At most 50 tags can be applied to a resource. </p>
86
- * <p>
87
- * <b>Authentication versus Authorization</b>
88
- * </p>
89
- * <p>Note the differences between these concepts:</p>
90
- * <ul>
91
- * <li>
92
- * <p>
93
- * <i>Authentication</i> is about verifying identity. You need to be
94
- * authenticated to sign Amazon IVS API requests.</p>
95
- * </li>
96
- * <li>
97
- * <p>
98
- * <i>Authorization</i> is about granting permissions. Your IAM roles need to have permissions for Amazon IVS API requests. In addition,
99
- * authorization is needed to view <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Amazon IVS private channels</a>.
100
- * (Private channels are channels that are enabled for "playback authorization.")</p>
101
- * </li>
102
- * </ul>
103
- * <p>
104
- * <b>Authentication</b>
105
- * </p>
106
- * <p>All Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services
107
- * Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying
108
- * API calls for you. However, if your application calls the Amazon IVS API directly, it’s your
109
- * responsibility to sign the requests.</p>
110
- * <p>You generate a signature using valid Amazon Web Services credentials that have permission
111
- * to perform the requested action. For example, you must sign PutMetadata requests with a
112
- * signature generated from a user account that has the <code>ivs:PutMetadata</code>
113
- * permission.</p>
114
- * <p>For more information:</p>
115
- * <ul>
116
- * <li>
117
- * <p>Authentication and generating signatures — See <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests
118
- * (Amazon Web Services Signature Version 4)</a> in the <i>Amazon Web Services
119
- * General Reference</i>.</p>
120
- * </li>
121
- * <li>
122
- * <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
123
- * the Security page of the <i>Amazon IVS User Guide</i>.</p>
124
- * </li>
125
- * </ul>
126
- * <p>
127
- * <b>Amazon Resource Names (ARNs)</b>
128
- * </p>
129
- * <p>ARNs uniquely identify AWS resources. An ARN is required when you need to specify a
130
- * resource unambiguously across all of AWS, such as in IAM policies and API
131
- * calls. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
132
- * Resource Names</a> in the <i>AWS General Reference</i>.</p>
2
+ * <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>
133
3
  *
134
4
  * @packageDocumentation
135
5
  */