@aws-sdk/client-transcribe 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 "./TranscribeClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { TranscribeServiceException } from "./models/TranscribeServiceException";
@@ -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 Transcribe service.
4
+ */
5
+ export declare class TranscribeServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { TranscribeServiceException as __BaseException } from "./TranscribeServiceException";
2
3
  /**
3
4
  * <p>A time range, set in seconds, between two points in the call.</p>
4
5
  */
@@ -59,10 +60,14 @@ export declare namespace AbsoluteTimeRange {
59
60
  * you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's
60
61
  * "in progress"). See the exception <code>Message</code> field for more information.</p>
61
62
  */
62
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
63
- name: "BadRequestException";
64
- $fault: "client";
63
+ export declare class BadRequestException extends __BaseException {
64
+ readonly name: "BadRequestException";
65
+ readonly $fault: "client";
65
66
  Message?: string;
67
+ /**
68
+ * @internal
69
+ */
70
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
66
71
  }
67
72
  export declare enum BaseModelName {
68
73
  NARROW_BAND = "NarrowBand",
@@ -853,10 +858,14 @@ export declare enum CLMLanguageCode {
853
858
  /**
854
859
  * <p>There is already a resource with that name.</p>
855
860
  */
856
- export interface ConflictException extends __SmithyException, $MetadataBearer {
857
- name: "ConflictException";
858
- $fault: "client";
861
+ export declare class ConflictException extends __BaseException {
862
+ readonly name: "ConflictException";
863
+ readonly $fault: "client";
859
864
  Message?: string;
865
+ /**
866
+ * @internal
867
+ */
868
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
860
869
  }
861
870
  export interface CreateCallAnalyticsCategoryRequest {
862
871
  /**
@@ -891,19 +900,27 @@ export declare namespace CreateCallAnalyticsCategoryResponse {
891
900
  /**
892
901
  * <p>There was an internal error. Check the error message and try your request again.</p>
893
902
  */
894
- export interface InternalFailureException extends __SmithyException, $MetadataBearer {
895
- name: "InternalFailureException";
896
- $fault: "server";
903
+ export declare class InternalFailureException extends __BaseException {
904
+ readonly name: "InternalFailureException";
905
+ readonly $fault: "server";
897
906
  Message?: string;
907
+ /**
908
+ * @internal
909
+ */
910
+ constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
898
911
  }
899
912
  /**
900
913
  * <p>Either you have sent too many requests or your input file is too long. Wait before you
901
914
  * resend your request, or use a smaller file and resend the request.</p>
902
915
  */
903
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
904
- name: "LimitExceededException";
905
- $fault: "client";
916
+ export declare class LimitExceededException extends __BaseException {
917
+ readonly name: "LimitExceededException";
918
+ readonly $fault: "client";
906
919
  Message?: string;
920
+ /**
921
+ * @internal
922
+ */
923
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
907
924
  }
908
925
  /**
909
926
  * <p>The object that contains the Amazon S3 object location and access role required to train and
@@ -1271,10 +1288,14 @@ export declare namespace DeleteCallAnalyticsCategoryResponse {
1271
1288
  /**
1272
1289
  * <p>We can't find the requested resource. Check the name and try your request again.</p>
1273
1290
  */
1274
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
1275
- name: "NotFoundException";
1276
- $fault: "client";
1291
+ export declare class NotFoundException extends __BaseException {
1292
+ readonly name: "NotFoundException";
1293
+ readonly $fault: "client";
1277
1294
  Message?: string;
1295
+ /**
1296
+ * @internal
1297
+ */
1298
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
1278
1299
  }
1279
1300
  export interface DeleteCallAnalyticsJobRequest {
1280
1301
  /**
@@ -3,3 +3,4 @@ export * from "./TranscribeClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { TranscribeServiceException } from "./models/TranscribeServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class TranscribeServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { TranscribeServiceException as __BaseException } from "./TranscribeServiceException";
2
3
 
3
4
  export interface AbsoluteTimeRange {
4
5
 
@@ -15,10 +16,12 @@ export declare namespace AbsoluteTimeRange {
15
16
  const filterSensitiveLog: (obj: AbsoluteTimeRange) => any;
16
17
  }
17
18
 
18
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
19
- name: "BadRequestException";
20
- $fault: "client";
19
+ export declare class BadRequestException extends __BaseException {
20
+ readonly name: "BadRequestException";
21
+ readonly $fault: "client";
21
22
  Message?: string;
23
+
24
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
22
25
  }
23
26
  export declare enum BaseModelName {
24
27
  NARROW_BAND = "NarrowBand",
@@ -422,10 +425,12 @@ export declare enum CLMLanguageCode {
422
425
  HI_IN = "hi-IN"
423
426
  }
424
427
 
425
- export interface ConflictException extends __SmithyException, $MetadataBearer {
426
- name: "ConflictException";
427
- $fault: "client";
428
+ export declare class ConflictException extends __BaseException {
429
+ readonly name: "ConflictException";
430
+ readonly $fault: "client";
428
431
  Message?: string;
432
+
433
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
429
434
  }
430
435
  export interface CreateCallAnalyticsCategoryRequest {
431
436
 
@@ -446,16 +451,20 @@ export declare namespace CreateCallAnalyticsCategoryResponse {
446
451
  const filterSensitiveLog: (obj: CreateCallAnalyticsCategoryResponse) => any;
447
452
  }
448
453
 
449
- export interface InternalFailureException extends __SmithyException, $MetadataBearer {
450
- name: "InternalFailureException";
451
- $fault: "server";
454
+ export declare class InternalFailureException extends __BaseException {
455
+ readonly name: "InternalFailureException";
456
+ readonly $fault: "server";
452
457
  Message?: string;
458
+
459
+ constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
453
460
  }
454
461
 
455
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
456
- name: "LimitExceededException";
457
- $fault: "client";
462
+ export declare class LimitExceededException extends __BaseException {
463
+ readonly name: "LimitExceededException";
464
+ readonly $fault: "client";
458
465
  Message?: string;
466
+
467
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
459
468
  }
460
469
 
461
470
  export interface InputDataConfig {
@@ -628,10 +637,12 @@ export declare namespace DeleteCallAnalyticsCategoryResponse {
628
637
  const filterSensitiveLog: (obj: DeleteCallAnalyticsCategoryResponse) => any;
629
638
  }
630
639
 
631
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
632
- name: "NotFoundException";
633
- $fault: "client";
640
+ export declare class NotFoundException extends __BaseException {
641
+ readonly name: "NotFoundException";
642
+ readonly $fault: "client";
634
643
  Message?: string;
644
+
645
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
635
646
  }
636
647
  export interface DeleteCallAnalyticsJobRequest {
637
648
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transcribe",
3
3
  "description": "AWS SDK for JavaScript Transcribe 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"