@aws-sdk/client-ivs 3.52.0 → 3.53.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.
@@ -3,3 +3,4 @@ export * from "./IvsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { IvsServiceException } from "./models/IvsServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Ivs service.
4
+ */
5
+ export declare class IvsServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,14 +1,19 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { IvsServiceException as __BaseException } from "./IvsServiceException";
2
3
  /**
3
4
  * <p/>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
8
9
  /**
9
10
  * <p>User does not have sufficient access to perform this action.</p>
10
11
  */
11
12
  exceptionMessage?: string;
13
+ /**
14
+ * @internal
15
+ */
16
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
12
17
  }
13
18
  export interface BatchGetChannelRequest {
14
19
  /**
@@ -272,57 +277,77 @@ export declare namespace CreateChannelResponse {
272
277
  /**
273
278
  * <p/>
274
279
  */
275
- export interface PendingVerification extends __SmithyException, $MetadataBearer {
276
- name: "PendingVerification";
277
- $fault: "client";
280
+ export declare class PendingVerification extends __BaseException {
281
+ readonly name: "PendingVerification";
282
+ readonly $fault: "client";
278
283
  /**
279
284
  * <p> Your account is pending verification. </p>
280
285
  */
281
286
  exceptionMessage?: string;
287
+ /**
288
+ * @internal
289
+ */
290
+ constructor(opts: __ExceptionOptionType<PendingVerification, __BaseException>);
282
291
  }
283
292
  /**
284
293
  * <p/>
285
294
  */
286
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
287
- name: "ResourceNotFoundException";
288
- $fault: "client";
295
+ export declare class ResourceNotFoundException extends __BaseException {
296
+ readonly name: "ResourceNotFoundException";
297
+ readonly $fault: "client";
289
298
  /**
290
299
  * <p>Request references a resource which does not exist.</p>
291
300
  */
292
301
  exceptionMessage?: string;
302
+ /**
303
+ * @internal
304
+ */
305
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
293
306
  }
294
307
  /**
295
308
  * <p/>
296
309
  */
297
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
298
- name: "ServiceQuotaExceededException";
299
- $fault: "client";
310
+ export declare class ServiceQuotaExceededException extends __BaseException {
311
+ readonly name: "ServiceQuotaExceededException";
312
+ readonly $fault: "client";
300
313
  /**
301
314
  * <p>Request would cause a service quota to be exceeded.</p>
302
315
  */
303
316
  exceptionMessage?: string;
317
+ /**
318
+ * @internal
319
+ */
320
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
304
321
  }
305
322
  /**
306
323
  * <p/>
307
324
  */
308
- export interface ValidationException extends __SmithyException, $MetadataBearer {
309
- name: "ValidationException";
310
- $fault: "client";
325
+ export declare class ValidationException extends __BaseException {
326
+ readonly name: "ValidationException";
327
+ readonly $fault: "client";
311
328
  /**
312
329
  * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
313
330
  */
314
331
  exceptionMessage?: string;
332
+ /**
333
+ * @internal
334
+ */
335
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
315
336
  }
316
337
  /**
317
338
  * <p/>
318
339
  */
319
- export interface ConflictException extends __SmithyException, $MetadataBearer {
320
- name: "ConflictException";
321
- $fault: "client";
340
+ export declare class ConflictException extends __BaseException {
341
+ readonly name: "ConflictException";
342
+ readonly $fault: "client";
322
343
  /**
323
344
  * <p>Updating or deleting a resource can cause an inconsistent state.</p>
324
345
  */
325
346
  exceptionMessage?: string;
347
+ /**
348
+ * @internal
349
+ */
350
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
326
351
  }
327
352
  /**
328
353
  * <p>A complex type that describes an S3 location where recorded videos will be stored.</p>
@@ -473,13 +498,17 @@ export declare namespace CreateRecordingConfigurationResponse {
473
498
  /**
474
499
  * <p/>
475
500
  */
476
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
477
- name: "InternalServerException";
478
- $fault: "server";
501
+ export declare class InternalServerException extends __BaseException {
502
+ readonly name: "InternalServerException";
503
+ readonly $fault: "server";
479
504
  /**
480
505
  * <p>Unexpected error during processing of request.</p>
481
506
  */
482
507
  exceptionMessage?: string;
508
+ /**
509
+ * @internal
510
+ */
511
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
483
512
  }
484
513
  export interface CreateStreamKeyRequest {
485
514
  /**
@@ -671,13 +700,17 @@ export declare namespace GetRecordingConfigurationResponse {
671
700
  /**
672
701
  * <p/>
673
702
  */
674
- export interface ChannelNotBroadcasting extends __SmithyException, $MetadataBearer {
675
- name: "ChannelNotBroadcasting";
676
- $fault: "client";
703
+ export declare class ChannelNotBroadcasting extends __BaseException {
704
+ readonly name: "ChannelNotBroadcasting";
705
+ readonly $fault: "client";
677
706
  /**
678
707
  * <p>The stream is offline for the given channel ARN.</p>
679
708
  */
680
709
  exceptionMessage?: string;
710
+ /**
711
+ * @internal
712
+ */
713
+ constructor(opts: __ExceptionOptionType<ChannelNotBroadcasting, __BaseException>);
681
714
  }
682
715
  export interface GetStreamRequest {
683
716
  /**
@@ -1479,13 +1512,17 @@ export declare namespace PutMetadataRequest {
1479
1512
  /**
1480
1513
  * <p/>
1481
1514
  */
1482
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
1483
- name: "ThrottlingException";
1484
- $fault: "client";
1515
+ export declare class ThrottlingException extends __BaseException {
1516
+ readonly name: "ThrottlingException";
1517
+ readonly $fault: "client";
1485
1518
  /**
1486
1519
  * <p>Request was denied due to request throttling.</p>
1487
1520
  */
1488
1521
  exceptionMessage?: string;
1522
+ /**
1523
+ * @internal
1524
+ */
1525
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
1489
1526
  }
1490
1527
  export interface StopStreamRequest {
1491
1528
  /**
@@ -1510,13 +1547,17 @@ export declare namespace StopStreamResponse {
1510
1547
  /**
1511
1548
  * <p/>
1512
1549
  */
1513
- export interface StreamUnavailable extends __SmithyException, $MetadataBearer {
1514
- name: "StreamUnavailable";
1515
- $fault: "server";
1550
+ export declare class StreamUnavailable extends __BaseException {
1551
+ readonly name: "StreamUnavailable";
1552
+ readonly $fault: "server";
1516
1553
  /**
1517
1554
  * <p>The stream is temporarily unavailable.</p>
1518
1555
  */
1519
1556
  exceptionMessage?: string;
1557
+ /**
1558
+ * @internal
1559
+ */
1560
+ constructor(opts: __ExceptionOptionType<StreamUnavailable, __BaseException>);
1520
1561
  }
1521
1562
  export interface TagResourceRequest {
1522
1563
  /**
@@ -3,3 +3,4 @@ export * from "./IvsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { IvsServiceException } from "./models/IvsServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class IvsServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,10 +1,13 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { IvsServiceException as __BaseException } from "./IvsServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
- name: "AccessDeniedException";
5
- $fault: "client";
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
6
7
 
7
8
  exceptionMessage?: string;
9
+
10
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
8
11
  }
9
12
  export interface BatchGetChannelRequest {
10
13
 
@@ -138,39 +141,49 @@ export declare namespace CreateChannelResponse {
138
141
  const filterSensitiveLog: (obj: CreateChannelResponse) => any;
139
142
  }
140
143
 
141
- export interface PendingVerification extends __SmithyException, $MetadataBearer {
142
- name: "PendingVerification";
143
- $fault: "client";
144
+ export declare class PendingVerification extends __BaseException {
145
+ readonly name: "PendingVerification";
146
+ readonly $fault: "client";
144
147
 
145
148
  exceptionMessage?: string;
149
+
150
+ constructor(opts: __ExceptionOptionType<PendingVerification, __BaseException>);
146
151
  }
147
152
 
148
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
149
- name: "ResourceNotFoundException";
150
- $fault: "client";
153
+ export declare class ResourceNotFoundException extends __BaseException {
154
+ readonly name: "ResourceNotFoundException";
155
+ readonly $fault: "client";
151
156
 
152
157
  exceptionMessage?: string;
158
+
159
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
153
160
  }
154
161
 
155
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
156
- name: "ServiceQuotaExceededException";
157
- $fault: "client";
162
+ export declare class ServiceQuotaExceededException extends __BaseException {
163
+ readonly name: "ServiceQuotaExceededException";
164
+ readonly $fault: "client";
158
165
 
159
166
  exceptionMessage?: string;
167
+
168
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
160
169
  }
161
170
 
162
- export interface ValidationException extends __SmithyException, $MetadataBearer {
163
- name: "ValidationException";
164
- $fault: "client";
171
+ export declare class ValidationException extends __BaseException {
172
+ readonly name: "ValidationException";
173
+ readonly $fault: "client";
165
174
 
166
175
  exceptionMessage?: string;
176
+
177
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
167
178
  }
168
179
 
169
- export interface ConflictException extends __SmithyException, $MetadataBearer {
170
- name: "ConflictException";
171
- $fault: "client";
180
+ export declare class ConflictException extends __BaseException {
181
+ readonly name: "ConflictException";
182
+ readonly $fault: "client";
172
183
 
173
184
  exceptionMessage?: string;
185
+
186
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
174
187
  }
175
188
 
176
189
  export interface S3DestinationConfiguration {
@@ -256,11 +269,13 @@ export declare namespace CreateRecordingConfigurationResponse {
256
269
  const filterSensitiveLog: (obj: CreateRecordingConfigurationResponse) => any;
257
270
  }
258
271
 
259
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
260
- name: "InternalServerException";
261
- $fault: "server";
272
+ export declare class InternalServerException extends __BaseException {
273
+ readonly name: "InternalServerException";
274
+ readonly $fault: "server";
262
275
 
263
276
  exceptionMessage?: string;
277
+
278
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
264
279
  }
265
280
  export interface CreateStreamKeyRequest {
266
281
 
@@ -386,11 +401,13 @@ export declare namespace GetRecordingConfigurationResponse {
386
401
  const filterSensitiveLog: (obj: GetRecordingConfigurationResponse) => any;
387
402
  }
388
403
 
389
- export interface ChannelNotBroadcasting extends __SmithyException, $MetadataBearer {
390
- name: "ChannelNotBroadcasting";
391
- $fault: "client";
404
+ export declare class ChannelNotBroadcasting extends __BaseException {
405
+ readonly name: "ChannelNotBroadcasting";
406
+ readonly $fault: "client";
392
407
 
393
408
  exceptionMessage?: string;
409
+
410
+ constructor(opts: __ExceptionOptionType<ChannelNotBroadcasting, __BaseException>);
394
411
  }
395
412
  export interface GetStreamRequest {
396
413
 
@@ -849,11 +866,13 @@ export declare namespace PutMetadataRequest {
849
866
  const filterSensitiveLog: (obj: PutMetadataRequest) => any;
850
867
  }
851
868
 
852
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
853
- name: "ThrottlingException";
854
- $fault: "client";
869
+ export declare class ThrottlingException extends __BaseException {
870
+ readonly name: "ThrottlingException";
871
+ readonly $fault: "client";
855
872
 
856
873
  exceptionMessage?: string;
874
+
875
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
857
876
  }
858
877
  export interface StopStreamRequest {
859
878
 
@@ -870,11 +889,13 @@ export declare namespace StopStreamResponse {
870
889
  const filterSensitiveLog: (obj: StopStreamResponse) => any;
871
890
  }
872
891
 
873
- export interface StreamUnavailable extends __SmithyException, $MetadataBearer {
874
- name: "StreamUnavailable";
875
- $fault: "server";
892
+ export declare class StreamUnavailable extends __BaseException {
893
+ readonly name: "StreamUnavailable";
894
+ readonly $fault: "server";
876
895
 
877
896
  exceptionMessage?: string;
897
+
898
+ constructor(opts: __ExceptionOptionType<StreamUnavailable, __BaseException>);
878
899
  }
879
900
  export interface TagResourceRequest {
880
901
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ivs",
3
3
  "description": "AWS SDK for JavaScript Ivs Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.53.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"