@aws-sdk/client-ivs 3.36.0 → 3.36.1

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 (75) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/Ivs.js +0 -362
  3. package/dist-cjs/IvsClient.js +0 -367
  4. package/dist-cjs/commands/BatchGetChannelCommand.js +0 -24
  5. package/dist-cjs/commands/BatchGetStreamKeyCommand.js +0 -24
  6. package/dist-cjs/commands/CreateChannelCommand.js +0 -24
  7. package/dist-cjs/commands/CreateRecordingConfigurationCommand.js +0 -35
  8. package/dist-cjs/commands/CreateStreamKeyCommand.js +0 -27
  9. package/dist-cjs/commands/DeleteChannelCommand.js +0 -28
  10. package/dist-cjs/commands/DeletePlaybackKeyPairCommand.js +0 -26
  11. package/dist-cjs/commands/DeleteRecordingConfigurationCommand.js +0 -29
  12. package/dist-cjs/commands/DeleteStreamKeyCommand.js +0 -25
  13. package/dist-cjs/commands/GetChannelCommand.js +0 -24
  14. package/dist-cjs/commands/GetPlaybackKeyPairCommand.js +0 -28
  15. package/dist-cjs/commands/GetRecordingConfigurationCommand.js +0 -24
  16. package/dist-cjs/commands/GetStreamCommand.js +0 -24
  17. package/dist-cjs/commands/GetStreamKeyCommand.js +0 -24
  18. package/dist-cjs/commands/ImportPlaybackKeyPairCommand.js +0 -28
  19. package/dist-cjs/commands/ListChannelsCommand.js +0 -27
  20. package/dist-cjs/commands/ListPlaybackKeyPairsCommand.js +0 -25
  21. package/dist-cjs/commands/ListRecordingConfigurationsCommand.js +0 -25
  22. package/dist-cjs/commands/ListStreamKeysCommand.js +0 -24
  23. package/dist-cjs/commands/ListStreamsCommand.js +0 -25
  24. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  25. package/dist-cjs/commands/PutMetadataCommand.js +0 -30
  26. package/dist-cjs/commands/StopStreamCommand.js +0 -31
  27. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  28. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  29. package/dist-cjs/commands/UpdateChannelCommand.js +0 -25
  30. package/dist-cjs/models/models_0.js +0 -213
  31. package/dist-cjs/pagination/ListChannelsPaginator.js +0 -10
  32. package/dist-cjs/pagination/ListPlaybackKeyPairsPaginator.js +0 -10
  33. package/dist-cjs/pagination/ListRecordingConfigurationsPaginator.js +0 -10
  34. package/dist-cjs/pagination/ListStreamKeysPaginator.js +0 -10
  35. package/dist-cjs/pagination/ListStreamsPaginator.js +0 -10
  36. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -10
  37. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  38. package/dist-cjs/runtimeConfig.browser.js +1 -5
  39. package/dist-cjs/runtimeConfig.js +1 -5
  40. package/dist-cjs/runtimeConfig.native.js +0 -3
  41. package/dist-cjs/runtimeConfig.shared.js +0 -3
  42. package/dist-types/ts3.4/Ivs.d.ts +27 -494
  43. package/dist-types/ts3.4/IvsClient.d.ts +24 -448
  44. package/dist-types/ts3.4/commands/BatchGetChannelCommand.d.ts +2 -20
  45. package/dist-types/ts3.4/commands/BatchGetStreamKeyCommand.d.ts +2 -20
  46. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +2 -20
  47. package/dist-types/ts3.4/commands/CreateRecordingConfigurationCommand.d.ts +2 -31
  48. package/dist-types/ts3.4/commands/CreateStreamKeyCommand.d.ts +2 -23
  49. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +2 -24
  50. package/dist-types/ts3.4/commands/DeletePlaybackKeyPairCommand.d.ts +2 -22
  51. package/dist-types/ts3.4/commands/DeleteRecordingConfigurationCommand.d.ts +2 -25
  52. package/dist-types/ts3.4/commands/DeleteStreamKeyCommand.d.ts +2 -21
  53. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +2 -20
  54. package/dist-types/ts3.4/commands/GetPlaybackKeyPairCommand.d.ts +2 -24
  55. package/dist-types/ts3.4/commands/GetRecordingConfigurationCommand.d.ts +2 -20
  56. package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +2 -20
  57. package/dist-types/ts3.4/commands/GetStreamKeyCommand.d.ts +2 -20
  58. package/dist-types/ts3.4/commands/ImportPlaybackKeyPairCommand.d.ts +2 -24
  59. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +2 -23
  60. package/dist-types/ts3.4/commands/ListPlaybackKeyPairsCommand.d.ts +2 -21
  61. package/dist-types/ts3.4/commands/ListRecordingConfigurationsCommand.d.ts +2 -21
  62. package/dist-types/ts3.4/commands/ListStreamKeysCommand.d.ts +2 -20
  63. package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +2 -21
  64. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  65. package/dist-types/ts3.4/commands/PutMetadataCommand.d.ts +2 -26
  66. package/dist-types/ts3.4/commands/StopStreamCommand.d.ts +2 -27
  67. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  68. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  69. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +2 -21
  70. package/dist-types/ts3.4/models/models_0.d.ts +226 -768
  71. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  72. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  73. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  74. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  75. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
18
 
8
19
 
package/dist-cjs/Ivs.js CHANGED
@@ -28,368 +28,6 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
28
28
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
29
29
  const UpdateChannelCommand_1 = require("./commands/UpdateChannelCommand");
30
30
  const IvsClient_1 = require("./IvsClient");
31
- /**
32
- * <p>
33
- * <b>Introduction</b>
34
- * </p>
35
- *
36
- * <p>The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP
37
- * API and an AWS EventBridge event stream for responses. JSON is used for both requests and
38
- * responses, including errors.</p>
39
- *
40
- * <p>The API is an AWS regional service, currently in these regions: us-west-2, us-east-1, and
41
- * eu-west-1.</p>
42
- * <p>
43
- * <i>
44
- * <b>All API request parameters and URLs are case sensitive.
45
- * </b>
46
- * </i>
47
- * </p>
48
- *
49
- * <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
50
- * History</a>.</p>
51
- *
52
- * <p>
53
- * <b>Service Endpoints</b>
54
- * </p>
55
- * <p>The following are the Amazon IVS service endpoints (all HTTPS): </p>
56
- * <p>Region name: US West (Oregon)</p>
57
- * <ul>
58
- * <li>
59
- * <p>Region: <code>us-west-2</code>
60
- * </p>
61
- * </li>
62
- * <li>
63
- * <p>Endpoint: <code>ivs.us-west-2.amazonaws.com</code>
64
- * </p>
65
- * </li>
66
- * </ul>
67
- * <p>Region name: US East (Virginia)</p>
68
- * <ul>
69
- * <li>
70
- * <p>Region: <code>us-east-1</code>
71
- * </p>
72
- * </li>
73
- * <li>
74
- * <p>Endpoint: <code>ivs.us-east-1.amazonaws.com</code>
75
- * </p>
76
- * </li>
77
- * </ul>
78
- * <p>Region name: EU West (Dublin)</p>
79
- * <ul>
80
- * <li>
81
- * <p>Region: <code>eu-west-1</code>
82
- * </p>
83
- * </li>
84
- * <li>
85
- * <p>Endpoint: <code>ivs.eu-west-1.amazonaws.com</code>
86
- * </p>
87
- * </li>
88
- * </ul>
89
- *
90
- * <p>
91
- * <b>Allowed Header Values</b>
92
- * </p>
93
- *
94
- * <ul>
95
- * <li>
96
- * <p>
97
- * <code>
98
- * <b>Accept:</b>
99
- * </code> application/json</p>
100
- * </li>
101
- * <li>
102
- * <p>
103
- * <code>
104
- * <b>Accept-Encoding:</b>
105
- * </code> gzip, deflate</p>
106
- * </li>
107
- * <li>
108
- * <p>
109
- * <code>
110
- * <b>Content-Type:</b>
111
- * </code>application/json</p>
112
- * </li>
113
- * </ul>
114
- *
115
- * <p>
116
- * <b>Resources</b>
117
- * </p>
118
- * <p>The following resources contain information about your IVS live stream (see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/getting-started.html"> Getting Started with Amazon
119
- * IVS</a>):</p>
120
- *
121
- * <ul>
122
- * <li>
123
- * <p>Channel — Stores configuration data related to your live stream. You first create a
124
- * channel and then use the channel’s stream key to start your live stream. See the Channel
125
- * endpoints for more information. </p>
126
- * </li>
127
- * <li>
128
- * <p>Stream key — An identifier assigned by Amazon IVS when you create a channel, which is
129
- * then used to authorize streaming. See the StreamKey endpoints for more information.
130
- * <i>
131
- * <b>Treat the stream key like a secret, since it allows
132
- * anyone to stream to the channel.</b>
133
- * </i>
134
- * </p>
135
- * </li>
136
- * <li>
137
- * <p>Playback key pair — Video playback may be restricted using playback-authorization
138
- * tokens, which use public-key encryption. A playback key pair is the public-private pair of
139
- * keys used to sign and validate the playback-authorization token. See the PlaybackKeyPair
140
- * endpoints for more information.</p>
141
- * </li>
142
- * <li>
143
- * <p>Recording configuration — Stores configuration related to recording a live stream and
144
- * where to store the recorded content. Multiple channels can reference the same recording
145
- * configuration. See the Recording Configuration endpoints for more information.</p>
146
- * </li>
147
- * </ul>
148
- *
149
- *
150
- *
151
- * <p>
152
- * <b>Tagging</b>
153
- * </p>
154
- *
155
- * <p>A <i>tag</i> is a metadata label that you assign to an AWS resource. A tag
156
- * comprises a <i>key</i> and a <i>value</i>, both set by you. For
157
- * example, you might set a tag as <code>topic:nature</code> to label a particular video
158
- * category. See <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging AWS
159
- * Resources</a> for more information, including restrictions that apply to tags.</p>
160
- *
161
- * <p>Tags can help you identify and organize your AWS resources. For example, you can use the
162
- * same tag for different resources to indicate that they are related. You can also use tags to
163
- * manage access (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">
164
- * Access Tags</a>). </p>
165
- *
166
- * <p>The Amazon IVS API has these tag-related endpoints: <a>TagResource</a>, <a>UntagResource</a>, and <a>ListTagsForResource</a>. The following
167
- * resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording
168
- * Configurations.</p>
169
- *
170
- * <p>
171
- * <b>Authentication versus Authorization</b>
172
- * </p>
173
- * <p>Note the differences between these concepts:</p>
174
- * <ul>
175
- * <li>
176
- * <p>
177
- * <i>Authentication</i> is about verifying identity. You need to be authenticated to sign Amazon IVS
178
- * API requests.</p>
179
- * </li>
180
- * <li>
181
- * <p>
182
- * <i>Authorization</i> is about granting permissions. You need to be authorized to
183
- * 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
184
- * "playback authorization.")</p>
185
- * </li>
186
- * </ul>
187
- *
188
- * <p>
189
- * <b>Authentication</b>
190
- * </p>
191
- * <p>All Amazon IVS API requests must be authenticated with a signature. The AWS Command-Line
192
- * Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying API calls for
193
- * you. However, if your application calls the Amazon IVS API directly, it’s your responsibility
194
- * to sign the requests.</p>
195
- * <p>You generate a signature using valid AWS credentials that have permission to perform the
196
- * requested action. For example, you must sign PutMetadata requests with a signature generated
197
- * from an IAM user account that has the <code>ivs:PutMetadata</code> permission.</p>
198
- * <p>For more information:</p>
199
- * <ul>
200
- * <li>
201
- * <p>Authentication and generating signatures — See <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (AWS Signature Version
202
- * 4)</a> in the <i>AWS General Reference</i>.</p>
203
- * </li>
204
- * <li>
205
- * <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
206
- * the <i>Amazon IVS User Guide</i>.</p>
207
- * </li>
208
- * </ul>
209
- *
210
- *
211
- * <p>
212
- * <b>Channel Endpoints</b>
213
- * </p>
214
- * <ul>
215
- * <li>
216
- * <p>
217
- * <a>CreateChannel</a> — Creates a new channel and an associated stream
218
- * key to start streaming.</p>
219
- * </li>
220
- * <li>
221
- * <p>
222
- * <a>GetChannel</a> — Gets the channel configuration for the specified
223
- * channel ARN (Amazon Resource Name).</p>
224
- * </li>
225
- * <li>
226
- * <p>
227
- * <a>BatchGetChannel</a> — Performs <a>GetChannel</a> on
228
- * multiple ARNs simultaneously.</p>
229
- * </li>
230
- * <li>
231
- * <p>
232
- * <a>ListChannels</a> — Gets summary information about all channels in
233
- * your account, in the AWS region where the API request is processed. This list can be
234
- * filtered to match a specified name or recording-configuration ARN. Filters are mutually
235
- * exclusive and cannot be used together. If you try to use both filters, you will get an
236
- * error (409 Conflict Exception).</p>
237
- * </li>
238
- * <li>
239
- * <p>
240
- * <a>UpdateChannel</a> — Updates a channel's configuration. This does
241
- * not affect an ongoing stream of this channel. You must stop and restart the stream for the
242
- * changes to take effect.</p>
243
- * </li>
244
- * <li>
245
- * <p>
246
- * <a>DeleteChannel</a> — Deletes the specified channel.</p>
247
- * </li>
248
- * </ul>
249
- *
250
- * <p>
251
- * <b>StreamKey Endpoints</b>
252
- * </p>
253
- * <ul>
254
- * <li>
255
- * <p>
256
- * <a>CreateStreamKey</a> — Creates a stream key, used to initiate a
257
- * stream, for the specified channel ARN.</p>
258
- * </li>
259
- * <li>
260
- * <p>
261
- * <a>GetStreamKey</a> — Gets stream key information for the specified
262
- * ARN.</p>
263
- * </li>
264
- * <li>
265
- * <p>
266
- * <a>BatchGetStreamKey</a> — Performs <a>GetStreamKey</a> on
267
- * multiple ARNs simultaneously.</p>
268
- * </li>
269
- * <li>
270
- * <p>
271
- * <a>ListStreamKeys</a> — Gets summary information about stream keys
272
- * for the specified channel.</p>
273
- * </li>
274
- * <li>
275
- * <p>
276
- * <a>DeleteStreamKey</a> — Deletes the stream key for the specified
277
- * ARN, so it can no longer be used to stream.</p>
278
- * </li>
279
- * </ul>
280
- *
281
- *
282
- * <p>
283
- * <b>Stream Endpoints</b>
284
- * </p>
285
- * <ul>
286
- * <li>
287
- * <p>
288
- * <a>GetStream</a> — Gets information about the active (live) stream on
289
- * a specified channel.</p>
290
- * </li>
291
- * <li>
292
- * <p>
293
- * <a>ListStreams</a> — Gets summary information about live streams in
294
- * your account, in the AWS region where the API request is processed.</p>
295
- * </li>
296
- * <li>
297
- * <p>
298
- * <a>StopStream</a> — Disconnects the incoming RTMPS stream for the
299
- * specified channel. Can be used in conjunction with <a>DeleteStreamKey</a> to
300
- * prevent further streaming to a channel.</p>
301
- * </li>
302
- * <li>
303
- * <p>
304
- * <a>PutMetadata</a> — Inserts metadata into the active stream of the
305
- * specified channel. A maximum of 5 requests per second per channel is allowed, each with a
306
- * maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching
307
- * your data into a single PutMetadata call.)</p>
308
- * </li>
309
- * </ul>
310
- *
311
- * <p>
312
- * <b>PlaybackKeyPair Endpoints</b>
313
- * </p>
314
- * <p>For more information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private Channels</a> in the
315
- * <i>Amazon IVS User Guide</i>.</p>
316
- * <ul>
317
- * <li>
318
- * <p>
319
- * <a>ImportPlaybackKeyPair</a> — Imports the public portion of a new
320
- * key pair and returns its <code>arn</code> and <code>fingerprint</code>. The
321
- * <code>privateKey</code> can then be used to generate viewer authorization tokens, to
322
- * grant viewers access to private channels (channels enabled for playback
323
- * authorization).</p>
324
- * </li>
325
- * <li>
326
- * <p>
327
- * <a>GetPlaybackKeyPair</a> — Gets a specified playback authorization
328
- * key pair and returns the <code>arn</code> and <code>fingerprint</code>. The
329
- * <code>privateKey</code> held by the caller can be used to generate viewer authorization
330
- * tokens, to grant viewers access to private channels.</p>
331
- * </li>
332
- * <li>
333
- * <p>
334
- * <a>ListPlaybackKeyPairs</a> — Gets summary information about playback
335
- * key pairs.</p>
336
- * </li>
337
- * <li>
338
- * <p>
339
- * <a>DeletePlaybackKeyPair</a> — Deletes a specified authorization key
340
- * pair. This invalidates future viewer tokens generated using the key pair’s
341
- * <code>privateKey</code>.</p>
342
- * </li>
343
- * </ul>
344
- *
345
- * <p>
346
- * <b>RecordingConfiguration Endpoints</b>
347
- * </p>
348
- * <ul>
349
- * <li>
350
- * <p>
351
- * <a>CreateRecordingConfiguration</a> — Creates a new recording configuration,
352
- * used to enable recording to Amazon S3.</p>
353
- * </li>
354
- * <li>
355
- * <p>
356
- * <a>GetRecordingConfiguration</a> — Gets the recording-configuration metadata
357
- * for the specified ARN.</p>
358
- * </li>
359
- * <li>
360
- * <p>
361
- * <a>ListRecordingConfigurations</a> — Gets summary information about all
362
- * recording configurations in your account, in the AWS region where the API request is
363
- * processed.</p>
364
- * </li>
365
- * <li>
366
- * <p>
367
- * <a>DeleteRecordingConfiguration</a> — Deletes the recording
368
- * configuration for the specified ARN.</p>
369
- * </li>
370
- * </ul>
371
- *
372
- * <p>
373
- * <b>AWS Tags Endpoints</b>
374
- * </p>
375
- * <ul>
376
- * <li>
377
- * <p>
378
- * <a>TagResource</a> — Adds or updates tags for the AWS resource with
379
- * the specified ARN.</p>
380
- * </li>
381
- * <li>
382
- * <p>
383
- * <a>UntagResource</a> — Removes tags from the resource with the
384
- * specified ARN.</p>
385
- * </li>
386
- * <li>
387
- * <p>
388
- * <a>ListTagsForResource</a> — Gets information about AWS tags for the
389
- * specified ARN.</p>
390
- * </li>
391
- * </ul>
392
- */
393
31
  class Ivs extends IvsClient_1.IvsClient {
394
32
  batchGetChannel(args, optionsOrCb, cb) {
395
33
  const command = new BatchGetChannelCommand_1.BatchGetChannelCommand(args);