@aws-sdk/client-ivs 3.1033.0 → 3.1035.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 +18 -18
@@ -7,6 +7,46 @@ import { IvsServiceException as __BaseException } from "./IvsServiceException";
7
7
  export declare class AccessDeniedException extends __BaseException {
8
8
  readonly name: "AccessDeniedException";
9
9
  readonly $fault: "client";
10
+ /**
11
+ * <p/>
12
+ * @public
13
+ */
14
+ accessControlAllowOrigin?: string | undefined;
15
+ /**
16
+ * <p/>
17
+ * @public
18
+ */
19
+ accessControlExposeHeaders?: string | undefined;
20
+ /**
21
+ * <p/>
22
+ * @public
23
+ */
24
+ cacheControl?: string | undefined;
25
+ /**
26
+ * <p/>
27
+ * @public
28
+ */
29
+ contentSecurityPolicy?: string | undefined;
30
+ /**
31
+ * <p/>
32
+ * @public
33
+ */
34
+ strictTransportSecurity?: string | undefined;
35
+ /**
36
+ * <p/>
37
+ * @public
38
+ */
39
+ xContentTypeOptions?: string | undefined;
40
+ /**
41
+ * <p/>
42
+ * @public
43
+ */
44
+ xFrameOptions?: string | undefined;
45
+ /**
46
+ * <p/>
47
+ * @public
48
+ */
49
+ xAmznErrorType?: string | undefined;
10
50
  /**
11
51
  * <p>User does not have sufficient access to perform this action.</p>
12
52
  * @public
@@ -21,35 +61,58 @@ export declare class AccessDeniedException extends __BaseException {
21
61
  * <p/>
22
62
  * @public
23
63
  */
24
- export declare class PendingVerification extends __BaseException {
25
- readonly name: "PendingVerification";
26
- readonly $fault: "client";
64
+ export declare class ServiceUnavailable extends __BaseException {
65
+ readonly name: "ServiceUnavailable";
66
+ readonly $fault: "server";
27
67
  /**
28
- * <p> Your account is pending verification. </p>
68
+ * <p/>
29
69
  * @public
30
70
  */
31
- exceptionMessage?: string | undefined;
71
+ accessControlAllowOrigin?: string | undefined;
32
72
  /**
33
- * @internal
73
+ * <p/>
74
+ * @public
34
75
  */
35
- constructor(opts: __ExceptionOptionType<PendingVerification, __BaseException>);
36
- }
37
- /**
38
- * <p/>
39
- * @public
40
- */
41
- export declare class ThrottlingException extends __BaseException {
42
- readonly name: "ThrottlingException";
43
- readonly $fault: "client";
76
+ accessControlExposeHeaders?: string | undefined;
44
77
  /**
45
- * <p>Request was denied due to request throttling.</p>
78
+ * <p/>
79
+ * @public
80
+ */
81
+ cacheControl?: string | undefined;
82
+ /**
83
+ * <p/>
84
+ * @public
85
+ */
86
+ contentSecurityPolicy?: string | undefined;
87
+ /**
88
+ * <p/>
89
+ * @public
90
+ */
91
+ strictTransportSecurity?: string | undefined;
92
+ /**
93
+ * <p/>
94
+ * @public
95
+ */
96
+ xContentTypeOptions?: string | undefined;
97
+ /**
98
+ * <p/>
99
+ * @public
100
+ */
101
+ xFrameOptions?: string | undefined;
102
+ /**
103
+ * <p/>
104
+ * @public
105
+ */
106
+ xAmznErrorType?: string | undefined;
107
+ /**
108
+ * <p/>
46
109
  * @public
47
110
  */
48
111
  exceptionMessage?: string | undefined;
49
112
  /**
50
113
  * @internal
51
114
  */
52
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
115
+ constructor(opts: __ExceptionOptionType<ServiceUnavailable, __BaseException>);
53
116
  }
54
117
  /**
55
118
  * <p/>
@@ -58,6 +121,46 @@ export declare class ThrottlingException extends __BaseException {
58
121
  export declare class ValidationException extends __BaseException {
59
122
  readonly name: "ValidationException";
60
123
  readonly $fault: "client";
124
+ /**
125
+ * <p/>
126
+ * @public
127
+ */
128
+ accessControlAllowOrigin?: string | undefined;
129
+ /**
130
+ * <p/>
131
+ * @public
132
+ */
133
+ accessControlExposeHeaders?: string | undefined;
134
+ /**
135
+ * <p/>
136
+ * @public
137
+ */
138
+ cacheControl?: string | undefined;
139
+ /**
140
+ * <p/>
141
+ * @public
142
+ */
143
+ contentSecurityPolicy?: string | undefined;
144
+ /**
145
+ * <p/>
146
+ * @public
147
+ */
148
+ strictTransportSecurity?: string | undefined;
149
+ /**
150
+ * <p/>
151
+ * @public
152
+ */
153
+ xContentTypeOptions?: string | undefined;
154
+ /**
155
+ * <p/>
156
+ * @public
157
+ */
158
+ xFrameOptions?: string | undefined;
159
+ /**
160
+ * <p/>
161
+ * @public
162
+ */
163
+ xAmznErrorType?: string | undefined;
61
164
  /**
62
165
  * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
63
166
  * @public
@@ -72,35 +175,115 @@ export declare class ValidationException extends __BaseException {
72
175
  * <p/>
73
176
  * @public
74
177
  */
75
- export declare class ResourceNotFoundException extends __BaseException {
76
- readonly name: "ResourceNotFoundException";
178
+ export declare class PendingVerification extends __BaseException {
179
+ readonly name: "PendingVerification";
77
180
  readonly $fault: "client";
78
181
  /**
79
- * <p>Request references a resource which does not exist.</p>
182
+ * <p/>
183
+ * @public
184
+ */
185
+ accessControlAllowOrigin?: string | undefined;
186
+ /**
187
+ * <p/>
188
+ * @public
189
+ */
190
+ accessControlExposeHeaders?: string | undefined;
191
+ /**
192
+ * <p/>
193
+ * @public
194
+ */
195
+ cacheControl?: string | undefined;
196
+ /**
197
+ * <p/>
198
+ * @public
199
+ */
200
+ contentSecurityPolicy?: string | undefined;
201
+ /**
202
+ * <p/>
203
+ * @public
204
+ */
205
+ strictTransportSecurity?: string | undefined;
206
+ /**
207
+ * <p/>
208
+ * @public
209
+ */
210
+ xContentTypeOptions?: string | undefined;
211
+ /**
212
+ * <p/>
213
+ * @public
214
+ */
215
+ xFrameOptions?: string | undefined;
216
+ /**
217
+ * <p/>
218
+ * @public
219
+ */
220
+ xAmznErrorType?: string | undefined;
221
+ /**
222
+ * <p> Your account is pending verification. </p>
80
223
  * @public
81
224
  */
82
225
  exceptionMessage?: string | undefined;
83
226
  /**
84
227
  * @internal
85
228
  */
86
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
229
+ constructor(opts: __ExceptionOptionType<PendingVerification, __BaseException>);
87
230
  }
88
231
  /**
89
232
  * <p/>
90
233
  * @public
91
234
  */
92
- export declare class ServiceQuotaExceededException extends __BaseException {
93
- readonly name: "ServiceQuotaExceededException";
235
+ export declare class ThrottlingException extends __BaseException {
236
+ readonly name: "ThrottlingException";
94
237
  readonly $fault: "client";
95
238
  /**
96
- * <p>Request would cause a service quota to be exceeded.</p>
239
+ * <p/>
240
+ * @public
241
+ */
242
+ accessControlAllowOrigin?: string | undefined;
243
+ /**
244
+ * <p/>
245
+ * @public
246
+ */
247
+ accessControlExposeHeaders?: string | undefined;
248
+ /**
249
+ * <p/>
250
+ * @public
251
+ */
252
+ cacheControl?: string | undefined;
253
+ /**
254
+ * <p/>
255
+ * @public
256
+ */
257
+ contentSecurityPolicy?: string | undefined;
258
+ /**
259
+ * <p/>
260
+ * @public
261
+ */
262
+ strictTransportSecurity?: string | undefined;
263
+ /**
264
+ * <p/>
265
+ * @public
266
+ */
267
+ xContentTypeOptions?: string | undefined;
268
+ /**
269
+ * <p/>
270
+ * @public
271
+ */
272
+ xFrameOptions?: string | undefined;
273
+ /**
274
+ * <p/>
275
+ * @public
276
+ */
277
+ xAmznErrorType?: string | undefined;
278
+ /**
279
+ * <p>Request was denied due to request throttling.</p>
97
280
  * @public
98
281
  */
99
282
  exceptionMessage?: string | undefined;
100
283
  /**
101
284
  * @internal
102
285
  */
103
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
286
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
104
287
  }
105
288
  /**
106
289
  * <p/>
@@ -109,6 +292,46 @@ export declare class ServiceQuotaExceededException extends __BaseException {
109
292
  export declare class ConflictException extends __BaseException {
110
293
  readonly name: "ConflictException";
111
294
  readonly $fault: "client";
295
+ /**
296
+ * <p/>
297
+ * @public
298
+ */
299
+ accessControlAllowOrigin?: string | undefined;
300
+ /**
301
+ * <p/>
302
+ * @public
303
+ */
304
+ accessControlExposeHeaders?: string | undefined;
305
+ /**
306
+ * <p/>
307
+ * @public
308
+ */
309
+ cacheControl?: string | undefined;
310
+ /**
311
+ * <p/>
312
+ * @public
313
+ */
314
+ contentSecurityPolicy?: string | undefined;
315
+ /**
316
+ * <p/>
317
+ * @public
318
+ */
319
+ strictTransportSecurity?: string | undefined;
320
+ /**
321
+ * <p/>
322
+ * @public
323
+ */
324
+ xContentTypeOptions?: string | undefined;
325
+ /**
326
+ * <p/>
327
+ * @public
328
+ */
329
+ xFrameOptions?: string | undefined;
330
+ /**
331
+ * <p/>
332
+ * @public
333
+ */
334
+ xAmznErrorType?: string | undefined;
112
335
  /**
113
336
  * <p>Updating or deleting a resource can cause an inconsistent state.</p>
114
337
  * @public
@@ -126,6 +349,46 @@ export declare class ConflictException extends __BaseException {
126
349
  export declare class InternalServerException extends __BaseException {
127
350
  readonly name: "InternalServerException";
128
351
  readonly $fault: "server";
352
+ /**
353
+ * <p/>
354
+ * @public
355
+ */
356
+ accessControlAllowOrigin?: string | undefined;
357
+ /**
358
+ * <p/>
359
+ * @public
360
+ */
361
+ accessControlExposeHeaders?: string | undefined;
362
+ /**
363
+ * <p/>
364
+ * @public
365
+ */
366
+ cacheControl?: string | undefined;
367
+ /**
368
+ * <p/>
369
+ * @public
370
+ */
371
+ contentSecurityPolicy?: string | undefined;
372
+ /**
373
+ * <p/>
374
+ * @public
375
+ */
376
+ strictTransportSecurity?: string | undefined;
377
+ /**
378
+ * <p/>
379
+ * @public
380
+ */
381
+ xContentTypeOptions?: string | undefined;
382
+ /**
383
+ * <p/>
384
+ * @public
385
+ */
386
+ xFrameOptions?: string | undefined;
387
+ /**
388
+ * <p/>
389
+ * @public
390
+ */
391
+ xAmznErrorType?: string | undefined;
129
392
  /**
130
393
  * <p>Unexpected error during processing of request.</p>
131
394
  * @public
@@ -136,6 +399,120 @@ export declare class InternalServerException extends __BaseException {
136
399
  */
137
400
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
138
401
  }
402
+ /**
403
+ * <p/>
404
+ * @public
405
+ */
406
+ export declare class ResourceNotFoundException extends __BaseException {
407
+ readonly name: "ResourceNotFoundException";
408
+ readonly $fault: "client";
409
+ /**
410
+ * <p/>
411
+ * @public
412
+ */
413
+ accessControlAllowOrigin?: string | undefined;
414
+ /**
415
+ * <p/>
416
+ * @public
417
+ */
418
+ accessControlExposeHeaders?: string | undefined;
419
+ /**
420
+ * <p/>
421
+ * @public
422
+ */
423
+ cacheControl?: string | undefined;
424
+ /**
425
+ * <p/>
426
+ * @public
427
+ */
428
+ contentSecurityPolicy?: string | undefined;
429
+ /**
430
+ * <p/>
431
+ * @public
432
+ */
433
+ strictTransportSecurity?: string | undefined;
434
+ /**
435
+ * <p/>
436
+ * @public
437
+ */
438
+ xContentTypeOptions?: string | undefined;
439
+ /**
440
+ * <p/>
441
+ * @public
442
+ */
443
+ xFrameOptions?: string | undefined;
444
+ /**
445
+ * <p/>
446
+ * @public
447
+ */
448
+ xAmznErrorType?: string | undefined;
449
+ /**
450
+ * <p>Request references a resource which does not exist.</p>
451
+ * @public
452
+ */
453
+ exceptionMessage?: string | undefined;
454
+ /**
455
+ * @internal
456
+ */
457
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
458
+ }
459
+ /**
460
+ * <p/>
461
+ * @public
462
+ */
463
+ export declare class ServiceQuotaExceededException extends __BaseException {
464
+ readonly name: "ServiceQuotaExceededException";
465
+ readonly $fault: "client";
466
+ /**
467
+ * <p/>
468
+ * @public
469
+ */
470
+ accessControlAllowOrigin?: string | undefined;
471
+ /**
472
+ * <p/>
473
+ * @public
474
+ */
475
+ accessControlExposeHeaders?: string | undefined;
476
+ /**
477
+ * <p/>
478
+ * @public
479
+ */
480
+ cacheControl?: string | undefined;
481
+ /**
482
+ * <p/>
483
+ * @public
484
+ */
485
+ contentSecurityPolicy?: string | undefined;
486
+ /**
487
+ * <p/>
488
+ * @public
489
+ */
490
+ strictTransportSecurity?: string | undefined;
491
+ /**
492
+ * <p/>
493
+ * @public
494
+ */
495
+ xContentTypeOptions?: string | undefined;
496
+ /**
497
+ * <p/>
498
+ * @public
499
+ */
500
+ xFrameOptions?: string | undefined;
501
+ /**
502
+ * <p/>
503
+ * @public
504
+ */
505
+ xAmznErrorType?: string | undefined;
506
+ /**
507
+ * <p>Request would cause a service quota to be exceeded.</p>
508
+ * @public
509
+ */
510
+ exceptionMessage?: string | undefined;
511
+ /**
512
+ * @internal
513
+ */
514
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
515
+ }
139
516
  /**
140
517
  * <p/>
141
518
  * @public
@@ -143,6 +520,46 @@ export declare class InternalServerException extends __BaseException {
143
520
  export declare class ChannelNotBroadcasting extends __BaseException {
144
521
  readonly name: "ChannelNotBroadcasting";
145
522
  readonly $fault: "client";
523
+ /**
524
+ * <p/>
525
+ * @public
526
+ */
527
+ accessControlAllowOrigin?: string | undefined;
528
+ /**
529
+ * <p/>
530
+ * @public
531
+ */
532
+ accessControlExposeHeaders?: string | undefined;
533
+ /**
534
+ * <p/>
535
+ * @public
536
+ */
537
+ cacheControl?: string | undefined;
538
+ /**
539
+ * <p/>
540
+ * @public
541
+ */
542
+ contentSecurityPolicy?: string | undefined;
543
+ /**
544
+ * <p/>
545
+ * @public
546
+ */
547
+ strictTransportSecurity?: string | undefined;
548
+ /**
549
+ * <p/>
550
+ * @public
551
+ */
552
+ xContentTypeOptions?: string | undefined;
553
+ /**
554
+ * <p/>
555
+ * @public
556
+ */
557
+ xFrameOptions?: string | undefined;
558
+ /**
559
+ * <p/>
560
+ * @public
561
+ */
562
+ xAmznErrorType?: string | undefined;
146
563
  /**
147
564
  * <p>The stream is offline for the given channel ARN.</p>
148
565
  * @public
@@ -160,6 +577,46 @@ export declare class ChannelNotBroadcasting extends __BaseException {
160
577
  export declare class StreamUnavailable extends __BaseException {
161
578
  readonly name: "StreamUnavailable";
162
579
  readonly $fault: "server";
580
+ /**
581
+ * <p/>
582
+ * @public
583
+ */
584
+ accessControlAllowOrigin?: string | undefined;
585
+ /**
586
+ * <p/>
587
+ * @public
588
+ */
589
+ accessControlExposeHeaders?: string | undefined;
590
+ /**
591
+ * <p/>
592
+ * @public
593
+ */
594
+ cacheControl?: string | undefined;
595
+ /**
596
+ * <p/>
597
+ * @public
598
+ */
599
+ contentSecurityPolicy?: string | undefined;
600
+ /**
601
+ * <p/>
602
+ * @public
603
+ */
604
+ strictTransportSecurity?: string | undefined;
605
+ /**
606
+ * <p/>
607
+ * @public
608
+ */
609
+ xContentTypeOptions?: string | undefined;
610
+ /**
611
+ * <p/>
612
+ * @public
613
+ */
614
+ xFrameOptions?: string | undefined;
615
+ /**
616
+ * <p/>
617
+ * @public
618
+ */
619
+ xAmznErrorType?: string | undefined;
163
620
  /**
164
621
  * <p>The stream is temporarily unavailable.</p>
165
622
  * @public