@aws-sdk/client-transcribe 3.282.0 → 3.284.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 u = "fn", v = "argv", w = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "stringEquals", i = { "required": true, "default": false, "type": "Boolean" }, j = { [w]: "Region" }, k = { [w]: "Endpoint" }, l = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, m = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, n = {}, o = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: d }, "supportsFIPS"] }] }, p = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: d }, "supportsDualStack"] }] }, q = { [u]: "getAttr", [v]: [{ [w]: d }, "name"] }, r = { "url": "https://fips.transcribe.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, s = [l], t = [m];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [u]: "aws.partition", [v]: [j], assign: d }], type: e, rules: [{ conditions: [{ [u]: "isSet", [v]: [k] }], type: e, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: k, properties: n, headers: n }, type: g }] }] }, { conditions: [l, m], type: e, rules: [{ conditions: [o, p], type: e, rules: [{ endpoint: { url: "https://transcribe-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [o], type: e, rules: [{ type: e, rules: [{ conditions: [{ [u]: h, [v]: ["aws", q] }], endpoint: r, type: g }, { conditions: [{ [u]: h, [v]: ["aws-us-gov", q] }], endpoint: r, type: g }, { endpoint: { url: "https://transcribe-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: t, type: e, rules: [{ conditions: [p], type: e, rules: [{ endpoint: { url: "https://transcribe.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ conditions: [{ [u]: h, [v]: [j, "cn-north-1"] }], endpoint: { url: "https://cn.transcribe.cn-north-1.amazonaws.com.cn", properties: n, headers: n }, type: g }, { conditions: [{ [u]: h, [v]: [j, "cn-northwest-1"] }], endpoint: { url: "https://cn.transcribe.cn-northwest-1.amazonaws.com.cn", properties: n, headers: n }, type: g }, { endpoint: { url: "https://transcribe.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: g }] }] }] };
4
+ const u = "required", v = "fn", w = "argv", x = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [u]: false, "type": "String" }, h = { [u]: true, "default": false, "type": "Boolean" }, i = { [x]: "Endpoint" }, j = { [v]: "booleanEquals", [w]: [{ [x]: "UseFIPS" }, true] }, k = { [v]: "booleanEquals", [w]: [{ [x]: "UseDualStack" }, true] }, l = {}, m = { [x]: "Region" }, n = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsFIPS"] }] }, o = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsDualStack"] }] }, p = { [v]: "getAttr", [w]: [{ [x]: e }, "name"] }, q = { "url": "https://fips.transcribe.{Region}.amazonaws.com", "properties": {}, "headers": {} }, r = [j], s = [k], t = [m];
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [v]: a, [w]: [i] }], type: b, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [v]: a, [w]: t }], type: b, rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://transcribe-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: r, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ conditions: [{ [v]: f, [w]: ["aws", p] }], endpoint: q, type: d }, { conditions: [{ [v]: f, [w]: ["aws-us-gov", p] }], endpoint: q, type: d }, { endpoint: { url: "https://transcribe-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: s, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://transcribe.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [v]: f, [w]: [m, "cn-north-1"] }], endpoint: { url: "https://cn.transcribe.cn-north-1.amazonaws.com.cn", properties: l, headers: l }, type: d }, { conditions: [{ [v]: f, [w]: [m, "cn-northwest-1"] }], endpoint: { url: "https://cn.transcribe.cn-northwest-1.amazonaws.com.cn", properties: l, headers: l }, type: d }, { endpoint: { url: "https://transcribe.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -2154,6 +2154,7 @@ const serializeAws_json1_1CreateMedicalVocabularyRequest = (input, context) => {
2154
2154
  };
2155
2155
  const serializeAws_json1_1CreateVocabularyFilterRequest = (input, context) => {
2156
2156
  return {
2157
+ ...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
2157
2158
  ...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
2158
2159
  ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
2159
2160
  ...(input.VocabularyFilterFileUri != null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri }),
@@ -2163,6 +2164,7 @@ const serializeAws_json1_1CreateVocabularyFilterRequest = (input, context) => {
2163
2164
  };
2164
2165
  const serializeAws_json1_1CreateVocabularyRequest = (input, context) => {
2165
2166
  return {
2167
+ ...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
2166
2168
  ...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
2167
2169
  ...(input.Phrases != null && { Phrases: serializeAws_json1_1Phrases(input.Phrases, context) }),
2168
2170
  ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
@@ -2635,6 +2637,7 @@ const serializeAws_json1_1UpdateMedicalVocabularyRequest = (input, context) => {
2635
2637
  };
2636
2638
  const serializeAws_json1_1UpdateVocabularyFilterRequest = (input, context) => {
2637
2639
  return {
2640
+ ...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
2638
2641
  ...(input.VocabularyFilterFileUri != null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri }),
2639
2642
  ...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
2640
2643
  ...(input.Words != null && { Words: serializeAws_json1_1Words(input.Words, context) }),
@@ -2642,6 +2645,7 @@ const serializeAws_json1_1UpdateVocabularyFilterRequest = (input, context) => {
2642
2645
  };
2643
2646
  const serializeAws_json1_1UpdateVocabularyRequest = (input, context) => {
2644
2647
  return {
2648
+ ...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
2645
2649
  ...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
2646
2650
  ...(input.Phrases != null && { Phrases: serializeAws_json1_1Phrases(input.Phrases, context) }),
2647
2651
  ...(input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri }),
@@ -1,4 +1,4 @@
1
- const u = "fn", v = "argv", w = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "stringEquals", i = { "required": true, "default": false, "type": "Boolean" }, j = { [w]: "Region" }, k = { [w]: "Endpoint" }, l = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, m = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, n = {}, o = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: d }, "supportsFIPS"] }] }, p = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: d }, "supportsDualStack"] }] }, q = { [u]: "getAttr", [v]: [{ [w]: d }, "name"] }, r = { "url": "https://fips.transcribe.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, s = [l], t = [m];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [u]: "aws.partition", [v]: [j], assign: d }], type: e, rules: [{ conditions: [{ [u]: "isSet", [v]: [k] }], type: e, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: k, properties: n, headers: n }, type: g }] }] }, { conditions: [l, m], type: e, rules: [{ conditions: [o, p], type: e, rules: [{ endpoint: { url: "https://transcribe-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [o], type: e, rules: [{ type: e, rules: [{ conditions: [{ [u]: h, [v]: ["aws", q] }], endpoint: r, type: g }, { conditions: [{ [u]: h, [v]: ["aws-us-gov", q] }], endpoint: r, type: g }, { endpoint: { url: "https://transcribe-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: t, type: e, rules: [{ conditions: [p], type: e, rules: [{ endpoint: { url: "https://transcribe.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ conditions: [{ [u]: h, [v]: [j, "cn-north-1"] }], endpoint: { url: "https://cn.transcribe.cn-north-1.amazonaws.com.cn", properties: n, headers: n }, type: g }, { conditions: [{ [u]: h, [v]: [j, "cn-northwest-1"] }], endpoint: { url: "https://cn.transcribe.cn-northwest-1.amazonaws.com.cn", properties: n, headers: n }, type: g }, { endpoint: { url: "https://transcribe.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: g }] }] }] };
1
+ const u = "required", v = "fn", w = "argv", x = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [u]: false, "type": "String" }, h = { [u]: true, "default": false, "type": "Boolean" }, i = { [x]: "Endpoint" }, j = { [v]: "booleanEquals", [w]: [{ [x]: "UseFIPS" }, true] }, k = { [v]: "booleanEquals", [w]: [{ [x]: "UseDualStack" }, true] }, l = {}, m = { [x]: "Region" }, n = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsFIPS"] }] }, o = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsDualStack"] }] }, p = { [v]: "getAttr", [w]: [{ [x]: e }, "name"] }, q = { "url": "https://fips.transcribe.{Region}.amazonaws.com", "properties": {}, "headers": {} }, r = [j], s = [k], t = [m];
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [v]: a, [w]: [i] }], type: b, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [v]: a, [w]: t }], type: b, rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://transcribe-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: r, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ conditions: [{ [v]: f, [w]: ["aws", p] }], endpoint: q, type: d }, { conditions: [{ [v]: f, [w]: ["aws-us-gov", p] }], endpoint: q, type: d }, { endpoint: { url: "https://transcribe-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: s, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://transcribe.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [v]: f, [w]: [m, "cn-north-1"] }], endpoint: { url: "https://cn.transcribe.cn-north-1.amazonaws.com.cn", properties: l, headers: l }, type: d }, { conditions: [{ [v]: f, [w]: [m, "cn-northwest-1"] }], endpoint: { url: "https://cn.transcribe.cn-northwest-1.amazonaws.com.cn", properties: l, headers: l }, type: d }, { endpoint: { url: "https://transcribe.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -2072,6 +2072,7 @@ const serializeAws_json1_1CreateMedicalVocabularyRequest = (input, context) => {
2072
2072
  };
2073
2073
  const serializeAws_json1_1CreateVocabularyFilterRequest = (input, context) => {
2074
2074
  return {
2075
+ ...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
2075
2076
  ...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
2076
2077
  ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
2077
2078
  ...(input.VocabularyFilterFileUri != null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri }),
@@ -2081,6 +2082,7 @@ const serializeAws_json1_1CreateVocabularyFilterRequest = (input, context) => {
2081
2082
  };
2082
2083
  const serializeAws_json1_1CreateVocabularyRequest = (input, context) => {
2083
2084
  return {
2085
+ ...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
2084
2086
  ...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
2085
2087
  ...(input.Phrases != null && { Phrases: serializeAws_json1_1Phrases(input.Phrases, context) }),
2086
2088
  ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
@@ -2553,6 +2555,7 @@ const serializeAws_json1_1UpdateMedicalVocabularyRequest = (input, context) => {
2553
2555
  };
2554
2556
  const serializeAws_json1_1UpdateVocabularyFilterRequest = (input, context) => {
2555
2557
  return {
2558
+ ...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
2556
2559
  ...(input.VocabularyFilterFileUri != null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri }),
2557
2560
  ...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
2558
2561
  ...(input.Words != null && { Words: serializeAws_json1_1Words(input.Words, context) }),
@@ -2560,6 +2563,7 @@ const serializeAws_json1_1UpdateVocabularyFilterRequest = (input, context) => {
2560
2563
  };
2561
2564
  const serializeAws_json1_1UpdateVocabularyRequest = (input, context) => {
2562
2565
  return {
2566
+ ...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
2563
2567
  ...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
2564
2568
  ...(input.Phrases != null && { Phrases: serializeAws_json1_1Phrases(input.Phrases, context) }),
2565
2569
  ...(input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri }),
@@ -70,16 +70,17 @@ export declare class Transcribe extends TranscribeClient {
70
70
  * order to apply categories to your transcriptions, you must create them before submitting your
71
71
  * transcription request, as categories cannot be applied retroactively.</p>
72
72
  * <p>When creating a new category, you can use the <code>InputType</code> parameter to
73
- * label the category as a batch category (<code>POST_CALL</code>) or a streaming category
74
- * (<code>REAL_TIME</code>). Batch categories can only be applied to batch transcriptions and
75
- * streaming categories can only be applied to streaming transcriptions. If you do not include
76
- * <code>InputType</code>, your category is created as a batch category by default.</p>
73
+ * label the category as a <code>POST_CALL</code> or a <code>REAL_TIME</code> category.
74
+ * <code>POST_CALL</code> categories can only be applied to post-call transcriptions and
75
+ * <code>REAL_TIME</code> categories can only be applied to real-time transcriptions. If you
76
+ * do not include <code>InputType</code>, your category is created as a
77
+ * <code>POST_CALL</code> category by default.</p>
77
78
  * <p>Call Analytics categories are composed of rules. For each category, you must create
78
79
  * between 1 and 20 rules. Rules can include these parameters: , , , and .</p>
79
80
  * <p>To update an existing category, see .</p>
80
- * <p>To learn more about Call Analytics categories, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html">Creating categories for batch
81
+ * <p>To learn more about Call Analytics categories, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html">Creating categories for post-call
81
82
  * transcriptions</a> and <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-stream.html">Creating categories for
82
- * streaming transcriptions</a>.</p>
83
+ * real-time transcriptions</a>.</p>
83
84
  */
84
85
  createCallAnalyticsCategory(args: CreateCallAnalyticsCategoryCommandInput, options?: __HttpHandlerOptions): Promise<CreateCallAnalyticsCategoryCommandOutput>;
85
86
  createCallAnalyticsCategory(args: CreateCallAnalyticsCategoryCommandInput, cb: (err: any, data?: CreateCallAnalyticsCategoryCommandOutput) => void): void;
@@ -109,11 +110,11 @@ export declare class Transcribe extends TranscribeClient {
109
110
  /**
110
111
  * <p>Creates a new custom medical vocabulary.</p>
111
112
  * <p>Before creating a new custom medical vocabulary, you must first upload a text file
112
- * that contains your new entries, phrases, and terms into an Amazon S3 bucket.
113
+ * that contains your vocabulary table into an Amazon S3 bucket.
113
114
  * Note that this differs from , where you can
114
115
  * include a list of terms within your request using the <code>Phrases</code> flag;
115
116
  * <code>CreateMedicalVocabulary</code> does not support the <code>Phrases</code>
116
- * flag.</p>
117
+ * flag and only accepts vocabularies in table format.</p>
117
118
  * <p>Each language has a character set that contains all allowed characters for that
118
119
  * specific language. If you use unsupported characters, your custom vocabulary request
119
120
  * fails. Refer to <a href="https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html">Character Sets for Custom Vocabularies</a> to get the character set for your
@@ -397,12 +398,13 @@ export declare class Transcribe extends TranscribeClient {
397
398
  * <p>If you want to apply categories to your Call Analytics job, you must create them
398
399
  * before submitting your job request. Categories cannot be retroactively applied to a job.
399
400
  * To create a new category, use the
400
- * operation. To learn more about Call Analytics categories, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html">Creating categories for batch
401
+ * operation. To learn more about Call Analytics categories, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html">Creating categories for post-call
401
402
  * transcriptions</a> and <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-stream.html">Creating categories for
402
- * streaming transcriptions</a>.</p>
403
+ * real-time transcriptions</a>.</p>
403
404
  * <p>To make a <code>StartCallAnalyticsJob</code> request, you must first upload your media
404
405
  * file into an Amazon S3 bucket; you can then specify the Amazon S3
405
406
  * location of the file using the <code>Media</code> parameter.</p>
407
+ * <p>Note that job queuing is enabled by default for Call Analytics jobs.</p>
406
408
  * <p>You must include the following parameters in your <code>StartCallAnalyticsJob</code>
407
409
  * request:</p>
408
410
  * <ul>
@@ -19,16 +19,17 @@ export interface CreateCallAnalyticsCategoryCommandOutput extends CreateCallAnal
19
19
  * order to apply categories to your transcriptions, you must create them before submitting your
20
20
  * transcription request, as categories cannot be applied retroactively.</p>
21
21
  * <p>When creating a new category, you can use the <code>InputType</code> parameter to
22
- * label the category as a batch category (<code>POST_CALL</code>) or a streaming category
23
- * (<code>REAL_TIME</code>). Batch categories can only be applied to batch transcriptions and
24
- * streaming categories can only be applied to streaming transcriptions. If you do not include
25
- * <code>InputType</code>, your category is created as a batch category by default.</p>
22
+ * label the category as a <code>POST_CALL</code> or a <code>REAL_TIME</code> category.
23
+ * <code>POST_CALL</code> categories can only be applied to post-call transcriptions and
24
+ * <code>REAL_TIME</code> categories can only be applied to real-time transcriptions. If you
25
+ * do not include <code>InputType</code>, your category is created as a
26
+ * <code>POST_CALL</code> category by default.</p>
26
27
  * <p>Call Analytics categories are composed of rules. For each category, you must create
27
28
  * between 1 and 20 rules. Rules can include these parameters: , , , and .</p>
28
29
  * <p>To update an existing category, see .</p>
29
- * <p>To learn more about Call Analytics categories, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html">Creating categories for batch
30
+ * <p>To learn more about Call Analytics categories, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html">Creating categories for post-call
30
31
  * transcriptions</a> and <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-stream.html">Creating categories for
31
- * streaming transcriptions</a>.</p>
32
+ * real-time transcriptions</a>.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -16,11 +16,11 @@ export interface CreateMedicalVocabularyCommandOutput extends CreateMedicalVocab
16
16
  /**
17
17
  * <p>Creates a new custom medical vocabulary.</p>
18
18
  * <p>Before creating a new custom medical vocabulary, you must first upload a text file
19
- * that contains your new entries, phrases, and terms into an Amazon S3 bucket.
19
+ * that contains your vocabulary table into an Amazon S3 bucket.
20
20
  * Note that this differs from , where you can
21
21
  * include a list of terms within your request using the <code>Phrases</code> flag;
22
22
  * <code>CreateMedicalVocabulary</code> does not support the <code>Phrases</code>
23
- * flag.</p>
23
+ * flag and only accepts vocabularies in table format.</p>
24
24
  * <p>Each language has a character set that contains all allowed characters for that
25
25
  * specific language. If you use unsupported characters, your custom vocabulary request
26
26
  * fails. Refer to <a href="https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html">Character Sets for Custom Vocabularies</a> to get the character set for your
@@ -24,12 +24,13 @@ export interface StartCallAnalyticsJobCommandOutput extends StartCallAnalyticsJo
24
24
  * <p>If you want to apply categories to your Call Analytics job, you must create them
25
25
  * before submitting your job request. Categories cannot be retroactively applied to a job.
26
26
  * To create a new category, use the
27
- * operation. To learn more about Call Analytics categories, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html">Creating categories for batch
27
+ * operation. To learn more about Call Analytics categories, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html">Creating categories for post-call
28
28
  * transcriptions</a> and <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-stream.html">Creating categories for
29
- * streaming transcriptions</a>.</p>
29
+ * real-time transcriptions</a>.</p>
30
30
  * <p>To make a <code>StartCallAnalyticsJob</code> request, you must first upload your media
31
31
  * file into an Amazon S3 bucket; you can then specify the Amazon S3
32
32
  * location of the file using the <code>Media</code> parameter.</p>
33
+ * <p>Note that job queuing is enabled by default for Call Analytics jobs.</p>
33
34
  * <p>You must include the following parameters in your <code>StartCallAnalyticsJob</code>
34
35
  * request:</p>
35
36
  * <ul>
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -693,7 +693,7 @@ export interface RelativeTimeRange {
693
693
  * <p>A lack of interruptions</p>
694
694
  * </li>
695
695
  * </ul>
696
- * <p>See <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html#tca-rules-batch">Rule criteria for batch
696
+ * <p>See <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html#tca-rules-batch">Rule criteria for post-call
697
697
  * categories</a> for usage examples.</p>
698
698
  */
699
699
  export interface InterruptionFilter {
@@ -735,7 +735,7 @@ export interface InterruptionFilter {
735
735
  * <p>The presence of speech at specified periods throughout the call</p>
736
736
  * </li>
737
737
  * </ul>
738
- * <p>See <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html#tca-rules-batch">Rule criteria for batch
738
+ * <p>See <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html#tca-rules-batch">Rule criteria for post-call
739
739
  * categories</a> for usage examples.</p>
740
740
  */
741
741
  export interface NonTalkTimeFilter {
@@ -788,7 +788,7 @@ export declare enum SentimentValue {
788
788
  * or both at specified points in the call</p>
789
789
  * </li>
790
790
  * </ul>
791
- * <p>See <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html#tca-rules-batch">Rule criteria for batch
791
+ * <p>See <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html#tca-rules-batch">Rule criteria for post-call
792
792
  * categories</a> for usage examples.</p>
793
793
  */
794
794
  export interface SentimentFilter {
@@ -837,7 +837,7 @@ export declare enum TranscriptFilterType {
837
837
  * <p>Custom words or phrases that occur at a specific time frame</p>
838
838
  * </li>
839
839
  * </ul>
840
- * <p>See <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html#tca-rules-batch">Rule criteria for batch
840
+ * <p>See <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html#tca-rules-batch">Rule criteria for post-call
841
841
  * categories</a> and <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-stream.html#tca-rules-stream">Rule criteria for
842
842
  * streaming categories</a> for usage examples.</p>
843
843
  */
@@ -881,9 +881,9 @@ export interface TranscriptFilter {
881
881
  * <p>A rule is a set of criteria that you can specify to flag an attribute in your Call
882
882
  * Analytics output. Rules define a Call Analytics category.</p>
883
883
  * <p>Rules can include these parameters: , , , and .</p>
884
- * <p>To learn more about Call Analytics rules and categories, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html">Creating categories for batch
884
+ * <p>To learn more about Call Analytics rules and categories, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html">Creating categories for post-call
885
885
  * transcriptions</a> and <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-categories-stream.html">Creating categories for
886
- * streaming transcriptions</a>.</p>
886
+ * real-time transcriptions</a>.</p>
887
887
  * <p>To learn more about Call Analytics, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics.html">Analyzing call center audio with Call
888
888
  * Analytics</a>.</p>
889
889
  */
@@ -1027,15 +1027,14 @@ export interface CreateCallAnalyticsCategoryRequest {
1027
1027
  */
1028
1028
  Rules: Rule[] | undefined;
1029
1029
  /**
1030
- * <p>Choose whether you want to create a streaming or a batch category for your Call Analytics
1031
- * transcription.</p>
1032
- * <p>Specifying <code>POST_CALL</code> assigns your category to batch transcriptions;
1030
+ * <p>Choose whether you want to create a real-time or a post-call category for your Call
1031
+ * Analytics transcription.</p>
1032
+ * <p>Specifying <code>POST_CALL</code> assigns your category to post-call transcriptions;
1033
1033
  * categories with this input type cannot be applied to streaming (real-time)
1034
1034
  * transcriptions.</p>
1035
1035
  * <p>Specifying <code>REAL_TIME</code> assigns your category to streaming transcriptions;
1036
- * categories with this input type cannot be applied to batch (post-call)
1037
- * transcriptions.</p>
1038
- * <p>If you do not include <code>InputType</code>, your category is created as a batch
1036
+ * categories with this input type cannot be applied to post-call transcriptions.</p>
1037
+ * <p>If you do not include <code>InputType</code>, your category is created as a post-call
1039
1038
  * category by default.</p>
1040
1039
  */
1041
1040
  InputType?: InputType | string;
@@ -1100,7 +1099,8 @@ export interface InputDataConfig {
1100
1099
  /**
1101
1100
  * <p>The Amazon Resource Name (ARN) of an IAM role that has permissions to
1102
1101
  * access the Amazon S3 bucket that contains your input files. If the role that you
1103
- * specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails.</p>
1102
+ * specify doesn’t have the appropriate permissions to access the specified Amazon S3
1103
+ * location, your request fails.</p>
1104
1104
  * <p>IAM role ARNs have the format
1105
1105
  * <code>arn:partition:iam::account:role/role-name-with-path</code>. For example:
1106
1106
  * <code>arn:aws:iam::111122223333:role/Admin</code>.</p>
@@ -1334,6 +1334,18 @@ export interface CreateVocabularyRequest {
1334
1334
  * resources</a>.</p>
1335
1335
  */
1336
1336
  Tags?: Tag[];
1337
+ /**
1338
+ * <p>The Amazon Resource Name (ARN) of an IAM role that has permissions to
1339
+ * access the Amazon S3 bucket that contains your input files (in this case, your custom
1340
+ * vocabulary). If the role that you specify doesn’t have the appropriate permissions to access
1341
+ * the specified Amazon S3 location, your request fails.</p>
1342
+ * <p>IAM role ARNs have the format
1343
+ * <code>arn:partition:iam::account:role/role-name-with-path</code>. For example:
1344
+ * <code>arn:aws:iam::111122223333:role/Admin</code>.</p>
1345
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns">IAM
1346
+ * ARNs</a>.</p>
1347
+ */
1348
+ DataAccessRoleArn?: string;
1337
1349
  }
1338
1350
  export interface CreateVocabularyResponse {
1339
1351
  /**
@@ -1416,6 +1428,18 @@ export interface CreateVocabularyFilterRequest {
1416
1428
  * resources</a>.</p>
1417
1429
  */
1418
1430
  Tags?: Tag[];
1431
+ /**
1432
+ * <p>The Amazon Resource Name (ARN) of an IAM role that has permissions to
1433
+ * access the Amazon S3 bucket that contains your input files (in this case, your custom
1434
+ * vocabulary filter). If the role that you specify doesn’t have the appropriate permissions to access
1435
+ * the specified Amazon S3 location, your request fails.</p>
1436
+ * <p>IAM role ARNs have the format
1437
+ * <code>arn:partition:iam::account:role/role-name-with-path</code>. For example:
1438
+ * <code>arn:aws:iam::111122223333:role/Admin</code>.</p>
1439
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns">IAM
1440
+ * ARNs</a>.</p>
1441
+ */
1442
+ DataAccessRoleArn?: string;
1419
1443
  }
1420
1444
  export interface CreateVocabularyFilterResponse {
1421
1445
  /**
@@ -1515,11 +1539,33 @@ export interface DescribeLanguageModelRequest {
1515
1539
  ModelName: string | undefined;
1516
1540
  }
1517
1541
  /**
1518
- * <p>Provides
1519
- * information about a custom language model, including the base model name, when the model
1520
- * was created, the location of the files used to train the model, when the model was last
1521
- * modified, the name you chose for the model, its language, its processing state, and if
1522
- * there is an upgrade available for the base model.</p>
1542
+ * <p>Provides information about a custom language model, including:</p>
1543
+ * <ul>
1544
+ * <li>
1545
+ * <p>The base model name</p>
1546
+ * </li>
1547
+ * <li>
1548
+ * <p>When the model was created</p>
1549
+ * </li>
1550
+ * <li>
1551
+ * <p>The location of the files used to train the model</p>
1552
+ * </li>
1553
+ * <li>
1554
+ * <p>When the model was last modified</p>
1555
+ * </li>
1556
+ * <li>
1557
+ * <p>The name you chose for the model</p>
1558
+ * </li>
1559
+ * <li>
1560
+ * <p>The model's language</p>
1561
+ * </li>
1562
+ * <li>
1563
+ * <p>The model's processing state</p>
1564
+ * </li>
1565
+ * <li>
1566
+ * <p>Any available upgrades for the base model</p>
1567
+ * </li>
1568
+ * </ul>
1523
1569
  */
1524
1570
  export interface LanguageModel {
1525
1571
  /**
@@ -1588,8 +1634,7 @@ export interface LanguageModel {
1588
1634
  }
1589
1635
  export interface DescribeLanguageModelResponse {
1590
1636
  /**
1591
- * <p>Provides information about the specified custom language
1592
- * model.</p>
1637
+ * <p>Provides information about the specified custom language model.</p>
1593
1638
  * <p>This parameter also shows if the base language model you used to create your custom
1594
1639
  * language model has been updated. If Amazon Transcribe has updated the base model, you
1595
1640
  * can create a new custom language model using the updated base model.</p>
@@ -1956,7 +2001,6 @@ export interface JobExecutionSettings {
1956
2001
  * the concurrent request limit. If <code>AllowDeferredExecution</code> is set to
1957
2002
  * <code>false</code> and the number of transcription job requests exceed the
1958
2003
  * concurrent request limit, you get a <code>LimitExceededException</code> error.</p>
1959
- * <p>Note that job queuing is enabled by default for Call Analytics jobs.</p>
1960
2004
  * <p>If you include <code>AllowDeferredExecution</code> in your request, you must also
1961
2005
  * include <code>DataAccessRoleArn</code>.</p>
1962
2006
  */
@@ -3085,7 +3129,7 @@ export interface StartCallAnalyticsJobRequest {
3085
3129
  * Amazon S3 key (SSE-S3).</p>
3086
3130
  * <p>If you specify a KMS key to encrypt your output, you must also specify
3087
3131
  * an output location using the <code>OutputLocation</code> parameter.</p>
3088
- * <p>Note that the user making the request must
3132
+ * <p>Note that the role making the request must
3089
3133
  * have permission to use the specified KMS key.</p>
3090
3134
  */
3091
3135
  OutputEncryptionKMSKeyId?: string;
@@ -3094,10 +3138,10 @@ export interface StartCallAnalyticsJobRequest {
3094
3138
  * access the Amazon S3 bucket that contains your input files. If the role that you
3095
3139
  * specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails.</p>
3096
3140
  * <p>IAM role ARNs have the format
3097
- * <code>arn:partition:iam::account:role/role-name-with-path</code>. For example:
3098
- * <code>arn:aws:iam::111122223333:role/Admin</code>.</p>
3141
+ * <code>arn:partition:iam::account:role/role-name-with-path</code>. For example:
3142
+ * <code>arn:aws:iam::111122223333:role/Admin</code>.</p>
3099
3143
  * <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns">IAM
3100
- * ARNs</a>.</p>
3144
+ * ARNs</a>.</p>
3101
3145
  */
3102
3146
  DataAccessRoleArn?: string;
3103
3147
  /**
@@ -3253,7 +3297,7 @@ export interface StartMedicalTranscriptionJobRequest {
3253
3297
  * Amazon S3 key (SSE-S3).</p>
3254
3298
  * <p>If you specify a KMS key to encrypt your output, you must also specify
3255
3299
  * an output location using the <code>OutputLocation</code> parameter.</p>
3256
- * <p>Note that the user making the request must
3300
+ * <p>Note that the role making the request must
3257
3301
  * have permission to use the specified KMS key.</p>
3258
3302
  */
3259
3303
  OutputEncryptionKMSKeyId?: string;
@@ -3467,7 +3511,7 @@ export interface StartTranscriptionJobRequest {
3467
3511
  * Amazon S3 key (SSE-S3).</p>
3468
3512
  * <p>If you specify a KMS key to encrypt your output, you must also specify
3469
3513
  * an output location using the <code>OutputLocation</code> parameter.</p>
3470
- * <p>Note that the user making the request must
3514
+ * <p>Note that the role making the request must
3471
3515
  * have permission to use the specified KMS key.</p>
3472
3516
  */
3473
3517
  OutputEncryptionKMSKeyId?: string;
@@ -3672,7 +3716,7 @@ export interface UpdateCallAnalyticsCategoryRequest {
3672
3716
  */
3673
3717
  Rules: Rule[] | undefined;
3674
3718
  /**
3675
- * <p>Choose whether you want to update a streaming or a batch Call Analytics category. The
3719
+ * <p>Choose whether you want to update a real-time or a post-call category. The
3676
3720
  * input type you specify must match the input type specified when the category was created. For
3677
3721
  * example, if you created a category with the <code>POST_CALL</code> input type, you must
3678
3722
  * use <code>POST_CALL</code> as the input type when updating this category.</p>
@@ -3776,6 +3820,18 @@ export interface UpdateVocabularyRequest {
3776
3820
  * use the <code>Phrases</code> flag; you must choose one or the other.</p>
3777
3821
  */
3778
3822
  VocabularyFileUri?: string;
3823
+ /**
3824
+ * <p>The Amazon Resource Name (ARN) of an IAM role that has permissions to
3825
+ * access the Amazon S3 bucket that contains your input files (in this case, your custom
3826
+ * vocabulary). If the role that you specify doesn’t have the appropriate permissions to access
3827
+ * the specified Amazon S3 location, your request fails.</p>
3828
+ * <p>IAM role ARNs have the format
3829
+ * <code>arn:partition:iam::account:role/role-name-with-path</code>. For example:
3830
+ * <code>arn:aws:iam::111122223333:role/Admin</code>.</p>
3831
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns">IAM
3832
+ * ARNs</a>.</p>
3833
+ */
3834
+ DataAccessRoleArn?: string;
3779
3835
  }
3780
3836
  export interface UpdateVocabularyResponse {
3781
3837
  /**
@@ -3831,6 +3887,18 @@ export interface UpdateVocabularyFilterRequest {
3831
3887
  * cannot use <code>Words</code>; you must choose one or the other.</p>
3832
3888
  */
3833
3889
  VocabularyFilterFileUri?: string;
3890
+ /**
3891
+ * <p>The Amazon Resource Name (ARN) of an IAM role that has permissions to
3892
+ * access the Amazon S3 bucket that contains your input files (in this case, your custom
3893
+ * vocabulary filter). If the role that you specify doesn’t have the appropriate permissions to access
3894
+ * the specified Amazon S3 location, your request fails.</p>
3895
+ * <p>IAM role ARNs have the format
3896
+ * <code>arn:partition:iam::account:role/role-name-with-path</code>. For example:
3897
+ * <code>arn:aws:iam::111122223333:role/Admin</code>.</p>
3898
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns">IAM
3899
+ * ARNs</a>.</p>
3900
+ */
3901
+ DataAccessRoleArn?: string;
3834
3902
  }
3835
3903
  export interface UpdateVocabularyFilterResponse {
3836
3904
  /**
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
30
+ Region?: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -357,6 +357,7 @@ export interface CreateVocabularyRequest {
357
357
  Phrases?: string[];
358
358
  VocabularyFileUri?: string;
359
359
  Tags?: Tag[];
360
+ DataAccessRoleArn?: string;
360
361
  }
361
362
  export interface CreateVocabularyResponse {
362
363
  VocabularyName?: string;
@@ -371,6 +372,7 @@ export interface CreateVocabularyFilterRequest {
371
372
  Words?: string[];
372
373
  VocabularyFilterFileUri?: string;
373
374
  Tags?: Tag[];
375
+ DataAccessRoleArn?: string;
374
376
  }
375
377
  export interface CreateVocabularyFilterResponse {
376
378
  VocabularyFilterName?: string;
@@ -807,6 +809,7 @@ export interface UpdateVocabularyRequest {
807
809
  LanguageCode: LanguageCode | string | undefined;
808
810
  Phrases?: string[];
809
811
  VocabularyFileUri?: string;
812
+ DataAccessRoleArn?: string;
810
813
  }
811
814
  export interface UpdateVocabularyResponse {
812
815
  VocabularyName?: string;
@@ -818,6 +821,7 @@ export interface UpdateVocabularyFilterRequest {
818
821
  VocabularyFilterName: string | undefined;
819
822
  Words?: string[];
820
823
  VocabularyFilterFileUri?: string;
824
+ DataAccessRoleArn?: string;
821
825
  }
822
826
  export interface UpdateVocabularyFilterResponse {
823
827
  VocabularyFilterName?: string;
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.282.0",
4
+ "version": "3.284.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",