@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
@@ -1,10 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StreamUnavailable = exports.ChannelNotBroadcasting = exports.InternalServerException = exports.ConflictException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.PendingVerification = exports.AccessDeniedException = void 0;
3
+ exports.StreamUnavailable = exports.ChannelNotBroadcasting = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.ThrottlingException = exports.PendingVerification = exports.ValidationException = exports.ServiceUnavailable = exports.AccessDeniedException = void 0;
4
4
  const IvsServiceException_1 = require("./IvsServiceException");
5
5
  class AccessDeniedException extends IvsServiceException_1.IvsServiceException {
6
6
  name = "AccessDeniedException";
7
7
  $fault = "client";
8
+ accessControlAllowOrigin;
9
+ accessControlExposeHeaders;
10
+ cacheControl;
11
+ contentSecurityPolicy;
12
+ strictTransportSecurity;
13
+ xContentTypeOptions;
14
+ xFrameOptions;
15
+ xAmznErrorType;
8
16
  exceptionMessage;
9
17
  constructor(opts) {
10
18
  super({
@@ -13,43 +21,60 @@ class AccessDeniedException extends IvsServiceException_1.IvsServiceException {
13
21
  ...opts,
14
22
  });
15
23
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
24
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
25
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
26
+ this.cacheControl = opts.cacheControl;
27
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
28
+ this.strictTransportSecurity = opts.strictTransportSecurity;
29
+ this.xContentTypeOptions = opts.xContentTypeOptions;
30
+ this.xFrameOptions = opts.xFrameOptions;
31
+ this.xAmznErrorType = opts.xAmznErrorType;
16
32
  this.exceptionMessage = opts.exceptionMessage;
17
33
  }
18
34
  }
19
35
  exports.AccessDeniedException = AccessDeniedException;
20
- class PendingVerification extends IvsServiceException_1.IvsServiceException {
21
- name = "PendingVerification";
22
- $fault = "client";
23
- exceptionMessage;
24
- constructor(opts) {
25
- super({
26
- name: "PendingVerification",
27
- $fault: "client",
28
- ...opts,
29
- });
30
- Object.setPrototypeOf(this, PendingVerification.prototype);
31
- this.exceptionMessage = opts.exceptionMessage;
32
- }
33
- }
34
- exports.PendingVerification = PendingVerification;
35
- class ThrottlingException extends IvsServiceException_1.IvsServiceException {
36
- name = "ThrottlingException";
37
- $fault = "client";
36
+ class ServiceUnavailable extends IvsServiceException_1.IvsServiceException {
37
+ name = "ServiceUnavailable";
38
+ $fault = "server";
39
+ accessControlAllowOrigin;
40
+ accessControlExposeHeaders;
41
+ cacheControl;
42
+ contentSecurityPolicy;
43
+ strictTransportSecurity;
44
+ xContentTypeOptions;
45
+ xFrameOptions;
46
+ xAmznErrorType;
38
47
  exceptionMessage;
39
48
  constructor(opts) {
40
49
  super({
41
- name: "ThrottlingException",
42
- $fault: "client",
50
+ name: "ServiceUnavailable",
51
+ $fault: "server",
43
52
  ...opts,
44
53
  });
45
- Object.setPrototypeOf(this, ThrottlingException.prototype);
54
+ Object.setPrototypeOf(this, ServiceUnavailable.prototype);
55
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
56
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
57
+ this.cacheControl = opts.cacheControl;
58
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
59
+ this.strictTransportSecurity = opts.strictTransportSecurity;
60
+ this.xContentTypeOptions = opts.xContentTypeOptions;
61
+ this.xFrameOptions = opts.xFrameOptions;
62
+ this.xAmznErrorType = opts.xAmznErrorType;
46
63
  this.exceptionMessage = opts.exceptionMessage;
47
64
  }
48
65
  }
49
- exports.ThrottlingException = ThrottlingException;
66
+ exports.ServiceUnavailable = ServiceUnavailable;
50
67
  class ValidationException extends IvsServiceException_1.IvsServiceException {
51
68
  name = "ValidationException";
52
69
  $fault = "client";
70
+ accessControlAllowOrigin;
71
+ accessControlExposeHeaders;
72
+ cacheControl;
73
+ contentSecurityPolicy;
74
+ strictTransportSecurity;
75
+ xContentTypeOptions;
76
+ xFrameOptions;
77
+ xAmznErrorType;
53
78
  exceptionMessage;
54
79
  constructor(opts) {
55
80
  super({
@@ -58,43 +83,91 @@ class ValidationException extends IvsServiceException_1.IvsServiceException {
58
83
  ...opts,
59
84
  });
60
85
  Object.setPrototypeOf(this, ValidationException.prototype);
86
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
87
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
88
+ this.cacheControl = opts.cacheControl;
89
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
90
+ this.strictTransportSecurity = opts.strictTransportSecurity;
91
+ this.xContentTypeOptions = opts.xContentTypeOptions;
92
+ this.xFrameOptions = opts.xFrameOptions;
93
+ this.xAmznErrorType = opts.xAmznErrorType;
61
94
  this.exceptionMessage = opts.exceptionMessage;
62
95
  }
63
96
  }
64
97
  exports.ValidationException = ValidationException;
65
- class ResourceNotFoundException extends IvsServiceException_1.IvsServiceException {
66
- name = "ResourceNotFoundException";
98
+ class PendingVerification extends IvsServiceException_1.IvsServiceException {
99
+ name = "PendingVerification";
67
100
  $fault = "client";
101
+ accessControlAllowOrigin;
102
+ accessControlExposeHeaders;
103
+ cacheControl;
104
+ contentSecurityPolicy;
105
+ strictTransportSecurity;
106
+ xContentTypeOptions;
107
+ xFrameOptions;
108
+ xAmznErrorType;
68
109
  exceptionMessage;
69
110
  constructor(opts) {
70
111
  super({
71
- name: "ResourceNotFoundException",
112
+ name: "PendingVerification",
72
113
  $fault: "client",
73
114
  ...opts,
74
115
  });
75
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
116
+ Object.setPrototypeOf(this, PendingVerification.prototype);
117
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
118
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
119
+ this.cacheControl = opts.cacheControl;
120
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
121
+ this.strictTransportSecurity = opts.strictTransportSecurity;
122
+ this.xContentTypeOptions = opts.xContentTypeOptions;
123
+ this.xFrameOptions = opts.xFrameOptions;
124
+ this.xAmznErrorType = opts.xAmznErrorType;
76
125
  this.exceptionMessage = opts.exceptionMessage;
77
126
  }
78
127
  }
79
- exports.ResourceNotFoundException = ResourceNotFoundException;
80
- class ServiceQuotaExceededException extends IvsServiceException_1.IvsServiceException {
81
- name = "ServiceQuotaExceededException";
128
+ exports.PendingVerification = PendingVerification;
129
+ class ThrottlingException extends IvsServiceException_1.IvsServiceException {
130
+ name = "ThrottlingException";
82
131
  $fault = "client";
132
+ accessControlAllowOrigin;
133
+ accessControlExposeHeaders;
134
+ cacheControl;
135
+ contentSecurityPolicy;
136
+ strictTransportSecurity;
137
+ xContentTypeOptions;
138
+ xFrameOptions;
139
+ xAmznErrorType;
83
140
  exceptionMessage;
84
141
  constructor(opts) {
85
142
  super({
86
- name: "ServiceQuotaExceededException",
143
+ name: "ThrottlingException",
87
144
  $fault: "client",
88
145
  ...opts,
89
146
  });
90
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
147
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
148
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
149
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
150
+ this.cacheControl = opts.cacheControl;
151
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
152
+ this.strictTransportSecurity = opts.strictTransportSecurity;
153
+ this.xContentTypeOptions = opts.xContentTypeOptions;
154
+ this.xFrameOptions = opts.xFrameOptions;
155
+ this.xAmznErrorType = opts.xAmznErrorType;
91
156
  this.exceptionMessage = opts.exceptionMessage;
92
157
  }
93
158
  }
94
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
159
+ exports.ThrottlingException = ThrottlingException;
95
160
  class ConflictException extends IvsServiceException_1.IvsServiceException {
96
161
  name = "ConflictException";
97
162
  $fault = "client";
163
+ accessControlAllowOrigin;
164
+ accessControlExposeHeaders;
165
+ cacheControl;
166
+ contentSecurityPolicy;
167
+ strictTransportSecurity;
168
+ xContentTypeOptions;
169
+ xFrameOptions;
170
+ xAmznErrorType;
98
171
  exceptionMessage;
99
172
  constructor(opts) {
100
173
  super({
@@ -103,6 +176,14 @@ class ConflictException extends IvsServiceException_1.IvsServiceException {
103
176
  ...opts,
104
177
  });
105
178
  Object.setPrototypeOf(this, ConflictException.prototype);
179
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
180
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
181
+ this.cacheControl = opts.cacheControl;
182
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
183
+ this.strictTransportSecurity = opts.strictTransportSecurity;
184
+ this.xContentTypeOptions = opts.xContentTypeOptions;
185
+ this.xFrameOptions = opts.xFrameOptions;
186
+ this.xAmznErrorType = opts.xAmznErrorType;
106
187
  this.exceptionMessage = opts.exceptionMessage;
107
188
  }
108
189
  }
@@ -110,6 +191,14 @@ exports.ConflictException = ConflictException;
110
191
  class InternalServerException extends IvsServiceException_1.IvsServiceException {
111
192
  name = "InternalServerException";
112
193
  $fault = "server";
194
+ accessControlAllowOrigin;
195
+ accessControlExposeHeaders;
196
+ cacheControl;
197
+ contentSecurityPolicy;
198
+ strictTransportSecurity;
199
+ xContentTypeOptions;
200
+ xFrameOptions;
201
+ xAmznErrorType;
113
202
  exceptionMessage;
114
203
  constructor(opts) {
115
204
  super({
@@ -118,13 +207,91 @@ class InternalServerException extends IvsServiceException_1.IvsServiceException
118
207
  ...opts,
119
208
  });
120
209
  Object.setPrototypeOf(this, InternalServerException.prototype);
210
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
211
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
212
+ this.cacheControl = opts.cacheControl;
213
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
214
+ this.strictTransportSecurity = opts.strictTransportSecurity;
215
+ this.xContentTypeOptions = opts.xContentTypeOptions;
216
+ this.xFrameOptions = opts.xFrameOptions;
217
+ this.xAmznErrorType = opts.xAmznErrorType;
121
218
  this.exceptionMessage = opts.exceptionMessage;
122
219
  }
123
220
  }
124
221
  exports.InternalServerException = InternalServerException;
222
+ class ResourceNotFoundException extends IvsServiceException_1.IvsServiceException {
223
+ name = "ResourceNotFoundException";
224
+ $fault = "client";
225
+ accessControlAllowOrigin;
226
+ accessControlExposeHeaders;
227
+ cacheControl;
228
+ contentSecurityPolicy;
229
+ strictTransportSecurity;
230
+ xContentTypeOptions;
231
+ xFrameOptions;
232
+ xAmznErrorType;
233
+ exceptionMessage;
234
+ constructor(opts) {
235
+ super({
236
+ name: "ResourceNotFoundException",
237
+ $fault: "client",
238
+ ...opts,
239
+ });
240
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
241
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
242
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
243
+ this.cacheControl = opts.cacheControl;
244
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
245
+ this.strictTransportSecurity = opts.strictTransportSecurity;
246
+ this.xContentTypeOptions = opts.xContentTypeOptions;
247
+ this.xFrameOptions = opts.xFrameOptions;
248
+ this.xAmznErrorType = opts.xAmznErrorType;
249
+ this.exceptionMessage = opts.exceptionMessage;
250
+ }
251
+ }
252
+ exports.ResourceNotFoundException = ResourceNotFoundException;
253
+ class ServiceQuotaExceededException extends IvsServiceException_1.IvsServiceException {
254
+ name = "ServiceQuotaExceededException";
255
+ $fault = "client";
256
+ accessControlAllowOrigin;
257
+ accessControlExposeHeaders;
258
+ cacheControl;
259
+ contentSecurityPolicy;
260
+ strictTransportSecurity;
261
+ xContentTypeOptions;
262
+ xFrameOptions;
263
+ xAmznErrorType;
264
+ exceptionMessage;
265
+ constructor(opts) {
266
+ super({
267
+ name: "ServiceQuotaExceededException",
268
+ $fault: "client",
269
+ ...opts,
270
+ });
271
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
272
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
273
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
274
+ this.cacheControl = opts.cacheControl;
275
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
276
+ this.strictTransportSecurity = opts.strictTransportSecurity;
277
+ this.xContentTypeOptions = opts.xContentTypeOptions;
278
+ this.xFrameOptions = opts.xFrameOptions;
279
+ this.xAmznErrorType = opts.xAmznErrorType;
280
+ this.exceptionMessage = opts.exceptionMessage;
281
+ }
282
+ }
283
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
125
284
  class ChannelNotBroadcasting extends IvsServiceException_1.IvsServiceException {
126
285
  name = "ChannelNotBroadcasting";
127
286
  $fault = "client";
287
+ accessControlAllowOrigin;
288
+ accessControlExposeHeaders;
289
+ cacheControl;
290
+ contentSecurityPolicy;
291
+ strictTransportSecurity;
292
+ xContentTypeOptions;
293
+ xFrameOptions;
294
+ xAmznErrorType;
128
295
  exceptionMessage;
129
296
  constructor(opts) {
130
297
  super({
@@ -133,6 +300,14 @@ class ChannelNotBroadcasting extends IvsServiceException_1.IvsServiceException {
133
300
  ...opts,
134
301
  });
135
302
  Object.setPrototypeOf(this, ChannelNotBroadcasting.prototype);
303
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
304
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
305
+ this.cacheControl = opts.cacheControl;
306
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
307
+ this.strictTransportSecurity = opts.strictTransportSecurity;
308
+ this.xContentTypeOptions = opts.xContentTypeOptions;
309
+ this.xFrameOptions = opts.xFrameOptions;
310
+ this.xAmznErrorType = opts.xAmznErrorType;
136
311
  this.exceptionMessage = opts.exceptionMessage;
137
312
  }
138
313
  }
@@ -140,6 +315,14 @@ exports.ChannelNotBroadcasting = ChannelNotBroadcasting;
140
315
  class StreamUnavailable extends IvsServiceException_1.IvsServiceException {
141
316
  name = "StreamUnavailable";
142
317
  $fault = "server";
318
+ accessControlAllowOrigin;
319
+ accessControlExposeHeaders;
320
+ cacheControl;
321
+ contentSecurityPolicy;
322
+ strictTransportSecurity;
323
+ xContentTypeOptions;
324
+ xFrameOptions;
325
+ xAmznErrorType;
143
326
  exceptionMessage;
144
327
  constructor(opts) {
145
328
  super({
@@ -148,6 +331,14 @@ class StreamUnavailable extends IvsServiceException_1.IvsServiceException {
148
331
  ...opts,
149
332
  });
150
333
  Object.setPrototypeOf(this, StreamUnavailable.prototype);
334
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
335
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
336
+ this.cacheControl = opts.cacheControl;
337
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
338
+ this.strictTransportSecurity = opts.strictTransportSecurity;
339
+ this.xContentTypeOptions = opts.xContentTypeOptions;
340
+ this.xFrameOptions = opts.xFrameOptions;
341
+ this.xAmznErrorType = opts.xAmznErrorType;
151
342
  this.exceptionMessage = opts.exceptionMessage;
152
343
  }
153
344
  }