@aws-sdk/client-transcribe 3.431.0 → 3.435.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "isSet",
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const w = "required", x = "fn", y = "argv", z = "ref";
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [w]: false, "type": "String" }, j = { [w]: true, "default": false, "type": "Boolean" }, k = { [z]: "Endpoint" }, l = { [x]: c, [y]: [{ [z]: "UseFIPS" }, true] }, m = { [x]: c, [y]: [{ [z]: "UseDualStack" }, true] }, n = {}, o = { [z]: "Region" }, p = { [x]: "getAttr", [y]: [{ [z]: g }, "supportsFIPS"] }, q = { [x]: c, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: g }, "supportsDualStack"] }] }, r = { [x]: "getAttr", [y]: [{ [z]: g }, "name"] }, s = { "url": "https://fips.transcribe.{Region}.amazonaws.com", "properties": {}, "headers": {} }, t = [l], u = [m], v = [o];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [x]: b, [y]: [k] }], rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [x]: b, [y]: v }], rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [x]: c, [y]: [a, p] }, q], rules: [{ endpoint: { url: "https://transcribe-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: t, rules: [{ conditions: [{ [x]: c, [y]: [p, a] }], rules: [{ conditions: [{ [x]: h, [y]: [r, "aws"] }], endpoint: s, type: e }, { conditions: [{ [x]: h, [y]: [r, "aws-us-gov"] }], endpoint: s, type: e }, { endpoint: { url: "https://transcribe-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: u, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://transcribe.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { conditions: [{ [x]: h, [y]: [o, "cn-north-1"] }], endpoint: { url: "https://cn.transcribe.cn-north-1.amazonaws.com.cn", properties: n, headers: n }, type: e }, { conditions: [{ [x]: h, [y]: [o, "cn-northwest-1"] }], endpoint: { url: "https://cn.transcribe.cn-northwest-1.amazonaws.com.cn", properties: n, headers: n }, type: e }, { endpoint: { url: "https://transcribe.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "isSet",
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const w = "required", x = "fn", y = "argv", z = "ref";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [w]: false, "type": "String" }, j = { [w]: true, "default": false, "type": "Boolean" }, k = { [z]: "Endpoint" }, l = { [x]: c, [y]: [{ [z]: "UseFIPS" }, true] }, m = { [x]: c, [y]: [{ [z]: "UseDualStack" }, true] }, n = {}, o = { [z]: "Region" }, p = { [x]: "getAttr", [y]: [{ [z]: g }, "supportsFIPS"] }, q = { [x]: c, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: g }, "supportsDualStack"] }] }, r = { [x]: "getAttr", [y]: [{ [z]: g }, "name"] }, s = { "url": "https://fips.transcribe.{Region}.amazonaws.com", "properties": {}, "headers": {} }, t = [l], u = [m], v = [o];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [x]: b, [y]: [k] }], rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [x]: b, [y]: v }], rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [x]: c, [y]: [a, p] }, q], rules: [{ endpoint: { url: "https://transcribe-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: t, rules: [{ conditions: [{ [x]: c, [y]: [p, a] }], rules: [{ conditions: [{ [x]: h, [y]: [r, "aws"] }], endpoint: s, type: e }, { conditions: [{ [x]: h, [y]: [r, "aws-us-gov"] }], endpoint: s, type: e }, { endpoint: { url: "https://transcribe-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: u, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://transcribe.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { conditions: [{ [x]: h, [y]: [o, "cn-north-1"] }], endpoint: { url: "https://cn.transcribe.cn-north-1.amazonaws.com.cn", properties: n, headers: n }, type: e }, { conditions: [{ [x]: h, [y]: [o, "cn-northwest-1"] }], endpoint: { url: "https://cn.transcribe.cn-northwest-1.amazonaws.com.cn", properties: n, headers: n }, type: e }, { endpoint: { url: "https://transcribe.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -488,7 +488,7 @@ export interface CallAnalyticsJobSettings {
|
|
|
488
488
|
* <p>For a list of languages supported with Call Analytics, refer to <a href="https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html">Supported languages and
|
|
489
489
|
* language-specific features</a>.</p>
|
|
490
490
|
*/
|
|
491
|
-
LanguageIdSettings?: Record<LanguageCode, LanguageIdSettings
|
|
491
|
+
LanguageIdSettings?: Partial<Record<LanguageCode, LanguageIdSettings>>;
|
|
492
492
|
}
|
|
493
493
|
/**
|
|
494
494
|
* @public
|
|
@@ -2903,7 +2903,7 @@ export interface TranscriptionJob {
|
|
|
2903
2903
|
* <p>Provides the name and language of all custom language models, custom vocabularies, and
|
|
2904
2904
|
* custom vocabulary filters that you included in your request.</p>
|
|
2905
2905
|
*/
|
|
2906
|
-
LanguageIdSettings?: Record<LanguageCode, LanguageIdSettings
|
|
2906
|
+
LanguageIdSettings?: Partial<Record<LanguageCode, LanguageIdSettings>>;
|
|
2907
2907
|
/**
|
|
2908
2908
|
* @public
|
|
2909
2909
|
* <p>Provides information about the toxicity detection settings applied to your transcription.</p>
|
|
@@ -4443,7 +4443,7 @@ export interface StartTranscriptionJobRequest {
|
|
|
4443
4443
|
* <code>VocabularyName</code> or <code>VocabularyFilterName</code> (or both)
|
|
4444
4444
|
* sub-parameter.</p>
|
|
4445
4445
|
*/
|
|
4446
|
-
LanguageIdSettings?: Record<LanguageCode, LanguageIdSettings
|
|
4446
|
+
LanguageIdSettings?: Partial<Record<LanguageCode, LanguageIdSettings>>;
|
|
4447
4447
|
/**
|
|
4448
4448
|
* @public
|
|
4449
4449
|
* <p>Enables toxic speech detection in your transcript. If you include
|
|
@@ -143,7 +143,7 @@ export interface CallAnalyticsJobSettings {
|
|
|
143
143
|
LanguageModelName?: string;
|
|
144
144
|
ContentRedaction?: ContentRedaction;
|
|
145
145
|
LanguageOptions?: LanguageCode[];
|
|
146
|
-
LanguageIdSettings?: Record<LanguageCode, LanguageIdSettings
|
|
146
|
+
LanguageIdSettings?: Partial<Record<LanguageCode, LanguageIdSettings>>;
|
|
147
147
|
}
|
|
148
148
|
export interface Transcript {
|
|
149
149
|
TranscriptFileUri?: string;
|
|
@@ -598,7 +598,7 @@ export interface TranscriptionJob {
|
|
|
598
598
|
LanguageCodes?: LanguageCodeItem[];
|
|
599
599
|
Tags?: Tag[];
|
|
600
600
|
Subtitles?: SubtitlesOutput;
|
|
601
|
-
LanguageIdSettings?: Record<LanguageCode, LanguageIdSettings
|
|
601
|
+
LanguageIdSettings?: Partial<Record<LanguageCode, LanguageIdSettings>>;
|
|
602
602
|
ToxicityDetection?: ToxicityDetectionSettings[];
|
|
603
603
|
}
|
|
604
604
|
export interface GetTranscriptionJobResponse {
|
|
@@ -814,7 +814,7 @@ export interface StartTranscriptionJobRequest {
|
|
|
814
814
|
LanguageOptions?: LanguageCode[];
|
|
815
815
|
Subtitles?: Subtitles;
|
|
816
816
|
Tags?: Tag[];
|
|
817
|
-
LanguageIdSettings?: Record<LanguageCode, LanguageIdSettings
|
|
817
|
+
LanguageIdSettings?: Partial<Record<LanguageCode, LanguageIdSettings>>;
|
|
818
818
|
ToxicityDetection?: ToxicityDetectionSettings[];
|
|
819
819
|
}
|
|
820
820
|
export interface StartTranscriptionJobResponse {
|
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.
|
|
4
|
+
"version": "3.435.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",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.1.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.435.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.435.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.433.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.433.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.433.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.433.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.433.0",
|
|
32
|
+
"@aws-sdk/types": "3.433.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.433.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.433.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.433.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.16",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.4",
|
|
38
|
+
"@smithy/hash-node": "^2.0.12",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.12",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.14",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.3",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.18",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.12",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.6",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.3",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.8",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.8",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.12",
|
|
49
|
+
"@smithy/types": "^2.4.0",
|
|
50
|
+
"@smithy/url-parser": "^2.0.12",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.16",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.21",
|
|
56
|
+
"@smithy/util-retry": "^2.0.5",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|