@aws-sdk/client-transcribe 3.53.0 → 3.55.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 (83) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/TranscribeClient.js +13 -13
  3. package/dist-cjs/commands/CreateCallAnalyticsCategoryCommand.js +3 -3
  4. package/dist-cjs/commands/CreateLanguageModelCommand.js +3 -3
  5. package/dist-cjs/commands/CreateMedicalVocabularyCommand.js +3 -3
  6. package/dist-cjs/commands/CreateVocabularyCommand.js +3 -3
  7. package/dist-cjs/commands/CreateVocabularyFilterCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteCallAnalyticsCategoryCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteCallAnalyticsJobCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteLanguageModelCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteMedicalTranscriptionJobCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteMedicalVocabularyCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteTranscriptionJobCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteVocabularyCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteVocabularyFilterCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeLanguageModelCommand.js +3 -3
  17. package/dist-cjs/commands/GetCallAnalyticsCategoryCommand.js +3 -3
  18. package/dist-cjs/commands/GetCallAnalyticsJobCommand.js +3 -3
  19. package/dist-cjs/commands/GetMedicalTranscriptionJobCommand.js +3 -3
  20. package/dist-cjs/commands/GetMedicalVocabularyCommand.js +3 -3
  21. package/dist-cjs/commands/GetTranscriptionJobCommand.js +3 -3
  22. package/dist-cjs/commands/GetVocabularyCommand.js +3 -3
  23. package/dist-cjs/commands/GetVocabularyFilterCommand.js +3 -3
  24. package/dist-cjs/commands/ListCallAnalyticsCategoriesCommand.js +3 -3
  25. package/dist-cjs/commands/ListCallAnalyticsJobsCommand.js +3 -3
  26. package/dist-cjs/commands/ListLanguageModelsCommand.js +3 -3
  27. package/dist-cjs/commands/ListMedicalTranscriptionJobsCommand.js +3 -3
  28. package/dist-cjs/commands/ListMedicalVocabulariesCommand.js +3 -3
  29. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  30. package/dist-cjs/commands/ListTranscriptionJobsCommand.js +3 -3
  31. package/dist-cjs/commands/ListVocabulariesCommand.js +3 -3
  32. package/dist-cjs/commands/ListVocabularyFiltersCommand.js +3 -3
  33. package/dist-cjs/commands/StartCallAnalyticsJobCommand.js +3 -3
  34. package/dist-cjs/commands/StartMedicalTranscriptionJobCommand.js +3 -3
  35. package/dist-cjs/commands/StartTranscriptionJobCommand.js +3 -3
  36. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  37. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  38. package/dist-cjs/commands/UpdateCallAnalyticsCategoryCommand.js +3 -3
  39. package/dist-cjs/commands/UpdateMedicalVocabularyCommand.js +3 -3
  40. package/dist-cjs/commands/UpdateVocabularyCommand.js +3 -3
  41. package/dist-cjs/commands/UpdateVocabularyFilterCommand.js +3 -3
  42. package/dist-cjs/endpoints.js +1 -1
  43. package/dist-cjs/protocols/Aws_json1_1.js +250 -250
  44. package/dist-cjs/runtimeConfig.browser.js +4 -4
  45. package/dist-cjs/runtimeConfig.js +9 -9
  46. package/dist-cjs/runtimeConfig.native.js +1 -1
  47. package/dist-es/Transcribe.js +39 -39
  48. package/dist-es/pagination/ListCallAnalyticsCategoriesPaginator.js +4 -4
  49. package/dist-es/pagination/ListCallAnalyticsJobsPaginator.js +4 -4
  50. package/dist-es/pagination/ListLanguageModelsPaginator.js +4 -4
  51. package/dist-es/pagination/ListMedicalTranscriptionJobsPaginator.js +4 -4
  52. package/dist-es/pagination/ListMedicalVocabulariesPaginator.js +4 -4
  53. package/dist-es/pagination/ListTranscriptionJobsPaginator.js +4 -4
  54. package/dist-es/pagination/ListVocabulariesPaginator.js +4 -4
  55. package/dist-es/pagination/ListVocabularyFiltersPaginator.js +4 -4
  56. package/dist-types/Transcribe.d.ts +71 -39
  57. package/dist-types/TranscribeClient.d.ts +2 -2
  58. package/dist-types/commands/CreateCallAnalyticsCategoryCommand.d.ts +7 -5
  59. package/dist-types/commands/CreateLanguageModelCommand.d.ts +5 -3
  60. package/dist-types/commands/CreateMedicalVocabularyCommand.d.ts +10 -2
  61. package/dist-types/commands/CreateVocabularyCommand.d.ts +7 -2
  62. package/dist-types/commands/CreateVocabularyFilterCommand.d.ts +3 -2
  63. package/dist-types/commands/DeleteCallAnalyticsCategoryCommand.d.ts +2 -1
  64. package/dist-types/commands/DeleteCallAnalyticsJobCommand.d.ts +2 -1
  65. package/dist-types/commands/DeleteLanguageModelCommand.d.ts +2 -1
  66. package/dist-types/commands/DeleteMedicalTranscriptionJobCommand.d.ts +3 -1
  67. package/dist-types/commands/DeleteMedicalVocabularyCommand.d.ts +2 -1
  68. package/dist-types/commands/DeleteTranscriptionJobCommand.d.ts +3 -2
  69. package/dist-types/commands/DeleteVocabularyCommand.d.ts +2 -1
  70. package/dist-types/commands/DeleteVocabularyFilterCommand.d.ts +2 -1
  71. package/dist-types/commands/DescribeLanguageModelCommand.d.ts +7 -5
  72. package/dist-types/commands/GetCallAnalyticsJobCommand.d.ts +6 -5
  73. package/dist-types/commands/GetMedicalTranscriptionJobCommand.d.ts +4 -3
  74. package/dist-types/commands/GetTranscriptionJobCommand.d.ts +4 -3
  75. package/dist-types/models/models_0.d.ts +178 -137
  76. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  77. package/dist-types/runtimeConfig.d.ts +1 -1
  78. package/dist-types/runtimeConfig.native.d.ts +3 -3
  79. package/dist-types/ts3.4/TranscribeClient.d.ts +2 -2
  80. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  81. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  82. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  83. package/package.json +34 -34
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListVocabulariesCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListVocabulariesCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listVocabularies.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listVocabularies.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListVocabularies(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof Transcribe)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof TranscribeClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListVocabularyFiltersCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListVocabularyFiltersCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listVocabularyFilters.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listVocabularyFilters.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListVocabularyFilters(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof Transcribe)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof TranscribeClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -44,99 +44,128 @@ import { TranscribeClient } from "./TranscribeClient";
44
44
  */
45
45
  export declare class Transcribe extends TranscribeClient {
46
46
  /**
47
- * <p>Creates an analytics category. Amazon Transcribe applies the conditions specified by your
48
- * analytics categories to your call analytics jobs. For each analytics category, you specify one
49
- * or more rules. For example, you can specify a rule that the customer sentiment was neutral
50
- * or negative within that category. If you start a call analytics job, Amazon Transcribe applies the
51
- * category to the analytics job that you've specified.</p>
47
+ * <p>Creates a call analytics category. Amazon Transcribe applies the conditions specified by your
48
+ * call analytics categories to your call analytics jobs. For each analytics category, you
49
+ * must create between 1 and 20 rules. For example, you can create a 'greeting'
50
+ * category with a rule that flags calls in which your agent does not use a specified
51
+ * phrase (for example: "Please note this call may be recorded.") in the first 15 seconds
52
+ * of the call. When you start a call analytics job, Amazon Transcribe applies all your existing call
53
+ * analytics categories to that job.</p>
52
54
  */
53
55
  createCallAnalyticsCategory(args: CreateCallAnalyticsCategoryCommandInput, options?: __HttpHandlerOptions): Promise<CreateCallAnalyticsCategoryCommandOutput>;
54
56
  createCallAnalyticsCategory(args: CreateCallAnalyticsCategoryCommandInput, cb: (err: any, data?: CreateCallAnalyticsCategoryCommandOutput) => void): void;
55
57
  createCallAnalyticsCategory(args: CreateCallAnalyticsCategoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCallAnalyticsCategoryCommandOutput) => void): void;
56
58
  /**
57
- * <p>Creates a new custom language model. Use Amazon S3 prefixes to provide the location of
58
- * your input files. The time it takes to create your model depends on the size of your training
59
- * data.</p>
59
+ * <p>Creates a new custom language model. When creating a new language model,
60
+ * you must specify if you want a Wideband (audio sample rates over 16,000 Hz) or
61
+ * Narrowband (audio sample rates under 16,000 Hz) base model. You then include the
62
+ * S3 URI location of your training and tuning files, the language for the model, a
63
+ * unique name, and any tags you want associated with your model.</p>
60
64
  */
61
65
  createLanguageModel(args: CreateLanguageModelCommandInput, options?: __HttpHandlerOptions): Promise<CreateLanguageModelCommandOutput>;
62
66
  createLanguageModel(args: CreateLanguageModelCommandInput, cb: (err: any, data?: CreateLanguageModelCommandOutput) => void): void;
63
67
  createLanguageModel(args: CreateLanguageModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLanguageModelCommandOutput) => void): void;
64
68
  /**
65
- * <p>Creates a new custom vocabulary that you can use to modify how Amazon Transcribe Medical transcribes
66
- * your audio file.</p>
69
+ * <p>Creates a new custom medical vocabulary.</p>
70
+ * <p>When creating a new medical vocabulary, you must upload a text file that contains
71
+ * your new entries, phrases, and terms into an S3 bucket. Note that this differs from
72
+ * , where you can include a list of terms within
73
+ * your request using the <code>Phrases</code> flag, as
74
+ * <code>CreateMedicalVocabulary</code> does not support the <code>Phrases</code>
75
+ * flag.</p>
76
+ * <p>For more information on creating a custom vocabulary text file, see
77
+ * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary-create.html">Creating a custom
78
+ * vocabulary</a>.</p>
67
79
  */
68
80
  createMedicalVocabulary(args: CreateMedicalVocabularyCommandInput, options?: __HttpHandlerOptions): Promise<CreateMedicalVocabularyCommandOutput>;
69
81
  createMedicalVocabulary(args: CreateMedicalVocabularyCommandInput, cb: (err: any, data?: CreateMedicalVocabularyCommandOutput) => void): void;
70
82
  createMedicalVocabulary(args: CreateMedicalVocabularyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMedicalVocabularyCommandOutput) => void): void;
71
83
  /**
72
- * <p>Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an
73
- * audio file.</p>
84
+ * <p>Creates a new custom vocabulary.</p>
85
+ * <p>When creating a new medical vocabulary, you can either upload a text file that
86
+ * contains your new entries, phrases, and terms into an S3 bucket or include a list of
87
+ * terms directly in your request using the <code>Phrases</code> flag.</p>
88
+ * <p>For more information on creating a custom vocabulary, see
89
+ * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary-create.html">Creating a custom
90
+ * vocabulary</a>.</p>
74
91
  */
75
92
  createVocabulary(args: CreateVocabularyCommandInput, options?: __HttpHandlerOptions): Promise<CreateVocabularyCommandOutput>;
76
93
  createVocabulary(args: CreateVocabularyCommandInput, cb: (err: any, data?: CreateVocabularyCommandOutput) => void): void;
77
94
  createVocabulary(args: CreateVocabularyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVocabularyCommandOutput) => void): void;
78
95
  /**
79
- * <p>Creates a new vocabulary filter that you can use to filter words, such as profane words,
80
- * from the output of a transcription job.</p>
96
+ * <p>Creates a new vocabulary filter that you can use to filter words from your transcription
97
+ * output. For example, you can use this operation to remove profanity from your
98
+ * transcript.</p>
81
99
  */
82
100
  createVocabularyFilter(args: CreateVocabularyFilterCommandInput, options?: __HttpHandlerOptions): Promise<CreateVocabularyFilterCommandOutput>;
83
101
  createVocabularyFilter(args: CreateVocabularyFilterCommandInput, cb: (err: any, data?: CreateVocabularyFilterCommandOutput) => void): void;
84
102
  createVocabularyFilter(args: CreateVocabularyFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVocabularyFilterCommandOutput) => void): void;
85
103
  /**
86
- * <p>Deletes a call analytics category using its name.</p>
104
+ * <p>Deletes a call analytics category. To use this operation, specify the name of the
105
+ * category you want to delete using <code>CategoryName</code>.</p>
87
106
  */
88
107
  deleteCallAnalyticsCategory(args: DeleteCallAnalyticsCategoryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCallAnalyticsCategoryCommandOutput>;
89
108
  deleteCallAnalyticsCategory(args: DeleteCallAnalyticsCategoryCommandInput, cb: (err: any, data?: DeleteCallAnalyticsCategoryCommandOutput) => void): void;
90
109
  deleteCallAnalyticsCategory(args: DeleteCallAnalyticsCategoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCallAnalyticsCategoryCommandOutput) => void): void;
91
110
  /**
92
- * <p>Deletes a call analytics job using its name.</p>
111
+ * <p>Deletes a call analytics job. To use this operation, specify the name of the
112
+ * job you want to delete using <code>CallAnalyticsJobName</code>.</p>
93
113
  */
94
114
  deleteCallAnalyticsJob(args: DeleteCallAnalyticsJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCallAnalyticsJobCommandOutput>;
95
115
  deleteCallAnalyticsJob(args: DeleteCallAnalyticsJobCommandInput, cb: (err: any, data?: DeleteCallAnalyticsJobCommandOutput) => void): void;
96
116
  deleteCallAnalyticsJob(args: DeleteCallAnalyticsJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCallAnalyticsJobCommandOutput) => void): void;
97
117
  /**
98
- * <p>Deletes a custom language model using its name.</p>
118
+ * <p>Deletes a custom language model. To use this operation, specify the name of the
119
+ * language model you want to delete using <code>ModelName</code>.</p>
99
120
  */
100
121
  deleteLanguageModel(args: DeleteLanguageModelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLanguageModelCommandOutput>;
101
122
  deleteLanguageModel(args: DeleteLanguageModelCommandInput, cb: (err: any, data?: DeleteLanguageModelCommandOutput) => void): void;
102
123
  deleteLanguageModel(args: DeleteLanguageModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLanguageModelCommandOutput) => void): void;
103
124
  /**
104
- * <p>Deletes a transcription job generated by Amazon Transcribe Medical and any related information.</p>
125
+ * <p>Deletes a medical transcription job, along with any related information. To use this
126
+ * operation, specify the name of the job you want to delete using
127
+ * <code>MedicalTranscriptionJobName</code>.</p>
105
128
  */
106
129
  deleteMedicalTranscriptionJob(args: DeleteMedicalTranscriptionJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMedicalTranscriptionJobCommandOutput>;
107
130
  deleteMedicalTranscriptionJob(args: DeleteMedicalTranscriptionJobCommandInput, cb: (err: any, data?: DeleteMedicalTranscriptionJobCommandOutput) => void): void;
108
131
  deleteMedicalTranscriptionJob(args: DeleteMedicalTranscriptionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMedicalTranscriptionJobCommandOutput) => void): void;
109
132
  /**
110
- * <p>Deletes a vocabulary from Amazon Transcribe Medical.</p>
133
+ * <p>Deletes a custom medical vocabulary. To use this operation, specify the name of the
134
+ * vocabulary you want to delete using <code>VocabularyName</code>.</p>
111
135
  */
112
136
  deleteMedicalVocabulary(args: DeleteMedicalVocabularyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMedicalVocabularyCommandOutput>;
113
137
  deleteMedicalVocabulary(args: DeleteMedicalVocabularyCommandInput, cb: (err: any, data?: DeleteMedicalVocabularyCommandOutput) => void): void;
114
138
  deleteMedicalVocabulary(args: DeleteMedicalVocabularyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMedicalVocabularyCommandOutput) => void): void;
115
139
  /**
116
- * <p>Deletes a previously submitted transcription job along with any other generated results such as the
117
- * transcription, models, and so on.</p>
140
+ * <p>Deletes a transcription job, along with any related information. To use this operation,
141
+ * specify the name of the job you want to delete using
142
+ * <code>TranscriptionJobName</code>.</p>
118
143
  */
119
144
  deleteTranscriptionJob(args: DeleteTranscriptionJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTranscriptionJobCommandOutput>;
120
145
  deleteTranscriptionJob(args: DeleteTranscriptionJobCommandInput, cb: (err: any, data?: DeleteTranscriptionJobCommandOutput) => void): void;
121
146
  deleteTranscriptionJob(args: DeleteTranscriptionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTranscriptionJobCommandOutput) => void): void;
122
147
  /**
123
- * <p>Deletes a vocabulary from Amazon Transcribe. </p>
148
+ * <p>Deletes a custom vocabulary. To use this operation, specify the name of the vocabulary
149
+ * you want to delete using <code>VocabularyName</code>.</p>
124
150
  */
125
151
  deleteVocabulary(args: DeleteVocabularyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVocabularyCommandOutput>;
126
152
  deleteVocabulary(args: DeleteVocabularyCommandInput, cb: (err: any, data?: DeleteVocabularyCommandOutput) => void): void;
127
153
  deleteVocabulary(args: DeleteVocabularyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVocabularyCommandOutput) => void): void;
128
154
  /**
129
- * <p>Removes a vocabulary filter.</p>
155
+ * <p>Deletes a vocabulary filter. To use this operation, specify the name of the vocabulary
156
+ * filter you want to delete using <code>VocabularyFilterName</code>.</p>
130
157
  */
131
158
  deleteVocabularyFilter(args: DeleteVocabularyFilterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVocabularyFilterCommandOutput>;
132
159
  deleteVocabularyFilter(args: DeleteVocabularyFilterCommandInput, cb: (err: any, data?: DeleteVocabularyFilterCommandOutput) => void): void;
133
160
  deleteVocabularyFilter(args: DeleteVocabularyFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVocabularyFilterCommandOutput) => void): void;
134
161
  /**
135
- * <p>Gets information about a single custom language model. Use this information to see details about the
136
- * language model in your Amazon Web Services account. You can also see whether the base language model used
137
- * to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a
138
- * new custom language model using the updated base model. If the language model wasn't created, you can use this
139
- * operation to understand why Amazon Transcribe couldn't create it. </p>
162
+ * <p>Provides information about a specific custom language model in your
163
+ * Amazon Web Services account.</p>
164
+ * <p>This operation also shows if the base language model you used to create your custom
165
+ * language model has been updated. If Amazon Transcribe has updated the base model, you can create a
166
+ * new custom language model using the updated base model.</p>
167
+ * <p>If you tried to create a new custom language model and the request wasn't successful,
168
+ * you can use this operation to help identify the reason. </p>
140
169
  */
141
170
  describeLanguageModel(args: DescribeLanguageModelCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLanguageModelCommandOutput>;
142
171
  describeLanguageModel(args: DescribeLanguageModelCommandInput, cb: (err: any, data?: DescribeLanguageModelCommandOutput) => void): void;
@@ -148,19 +177,21 @@ export declare class Transcribe extends TranscribeClient {
148
177
  getCallAnalyticsCategory(args: GetCallAnalyticsCategoryCommandInput, cb: (err: any, data?: GetCallAnalyticsCategoryCommandOutput) => void): void;
149
178
  getCallAnalyticsCategory(args: GetCallAnalyticsCategoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCallAnalyticsCategoryCommandOutput) => void): void;
150
179
  /**
151
- * <p>Returns information about a call analytics job. To see the status of the job, check the
152
- * <code>CallAnalyticsJobStatus</code> field. If the status is <code>COMPLETED</code>, the job
153
- * is finished and you can find the results at the location specified in the <code>TranscriptFileUri</code>
154
- * field. If you enable personally identifiable information (PII) redaction, the redacted transcript appears
155
- * in the <code>RedactedTranscriptFileUri</code> field.</p>
180
+ * <p>Retrieves information about a call analytics job.</p>
181
+ * <p>To view the job's status, refer to the <code>CallAnalyticsJobStatus</code> field. If the
182
+ * status is <code>COMPLETED</code>, the job is finished. You can then find your transcript at
183
+ * the URI specified in the <code>TranscriptFileUri</code> field. If you enabled personally
184
+ * identifiable information (PII) redaction, the redacted transcript appears in the
185
+ * <code>RedactedTranscriptFileUri</code> field.</p>
156
186
  */
157
187
  getCallAnalyticsJob(args: GetCallAnalyticsJobCommandInput, options?: __HttpHandlerOptions): Promise<GetCallAnalyticsJobCommandOutput>;
158
188
  getCallAnalyticsJob(args: GetCallAnalyticsJobCommandInput, cb: (err: any, data?: GetCallAnalyticsJobCommandOutput) => void): void;
159
189
  getCallAnalyticsJob(args: GetCallAnalyticsJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCallAnalyticsJobCommandOutput) => void): void;
160
190
  /**
161
- * <p>Returns information about a transcription job from Amazon Transcribe Medical. To see the status of the job, check the
162
- * <code>TranscriptionJobStatus</code> field. If the status is <code>COMPLETED</code>, the job is finished. You
163
- * find the results of the completed job in the <code>TranscriptFileUri</code> field.</p>
191
+ * <p>Retrieves information about a medical transcription job.</p>
192
+ * <p>To view the job's status, refer to the <code>TranscriptionJobStatus</code> field. If the
193
+ * status is <code>COMPLETED</code>, the job is finished. You can then find your transcript at
194
+ * the URI specified in the <code>TranscriptFileUri</code> field.</p>
164
195
  */
165
196
  getMedicalTranscriptionJob(args: GetMedicalTranscriptionJobCommandInput, options?: __HttpHandlerOptions): Promise<GetMedicalTranscriptionJobCommandOutput>;
166
197
  getMedicalTranscriptionJob(args: GetMedicalTranscriptionJobCommandInput, cb: (err: any, data?: GetMedicalTranscriptionJobCommandOutput) => void): void;
@@ -173,9 +204,10 @@ export declare class Transcribe extends TranscribeClient {
173
204
  getMedicalVocabulary(args: GetMedicalVocabularyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMedicalVocabularyCommandOutput) => void): void;
174
205
  /**
175
206
  * <p>Returns information about a transcription job. To see the status of the job, check the
176
- * <code>TranscriptionJobStatus</code> field. If the status is <code>COMPLETED</code>, the job is finished and
177
- * you can find the results at the location specified in the <code>TranscriptFileUri</code> field. If you enable content
178
- * redaction, the redacted transcript appears in <code>RedactedTranscriptFileUri</code>.</p>
207
+ * <code>TranscriptionJobStatus</code> field. If the status is <code>COMPLETED</code>,
208
+ * the job is finished and you can find the results at the location specified in the
209
+ * <code>TranscriptFileUri</code> field. If you enable content redaction, the redacted
210
+ * transcript appears in <code>RedactedTranscriptFileUri</code>.</p>
179
211
  */
180
212
  getTranscriptionJob(args: GetTranscriptionJobCommandInput, options?: __HttpHandlerOptions): Promise<GetTranscriptionJobCommandOutput>;
181
213
  getTranscriptionJob(args: GetTranscriptionJobCommandInput, cb: (err: any, data?: GetTranscriptionJobCommandOutput) => void): void;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateCallAnalyticsCategoryCommandInput, CreateCallAnalyticsCategoryCommandOutput } from "./commands/CreateCallAnalyticsCategoryCommand";
10
10
  import { CreateLanguageModelCommandInput, CreateLanguageModelCommandOutput } from "./commands/CreateLanguageModelCommand";
11
11
  import { CreateMedicalVocabularyCommandInput, CreateMedicalVocabularyCommandOutput } from "./commands/CreateMedicalVocabularyCommand";
@@ -67,7 +67,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
67
67
  * A function that can calculate the length of a request body.
68
68
  * @internal
69
69
  */
70
- bodyLengthChecker?: (body: any) => number | undefined;
70
+ bodyLengthChecker?: __BodyLengthCalculator;
71
71
  /**
72
72
  * A function that converts a stream into an array of bytes.
73
73
  * @internal
@@ -7,11 +7,13 @@ export interface CreateCallAnalyticsCategoryCommandInput extends CreateCallAnaly
7
7
  export interface CreateCallAnalyticsCategoryCommandOutput extends CreateCallAnalyticsCategoryResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates an analytics category. Amazon Transcribe applies the conditions specified by your
11
- * analytics categories to your call analytics jobs. For each analytics category, you specify one
12
- * or more rules. For example, you can specify a rule that the customer sentiment was neutral
13
- * or negative within that category. If you start a call analytics job, Amazon Transcribe applies the
14
- * category to the analytics job that you've specified.</p>
10
+ * <p>Creates a call analytics category. Amazon Transcribe applies the conditions specified by your
11
+ * call analytics categories to your call analytics jobs. For each analytics category, you
12
+ * must create between 1 and 20 rules. For example, you can create a 'greeting'
13
+ * category with a rule that flags calls in which your agent does not use a specified
14
+ * phrase (for example: "Please note this call may be recorded.") in the first 15 seconds
15
+ * of the call. When you start a call analytics job, Amazon Transcribe applies all your existing call
16
+ * analytics categories to that job.</p>
15
17
  * @example
16
18
  * Use a bare-bones client and the command you need to make an API call.
17
19
  * ```javascript
@@ -7,9 +7,11 @@ export interface CreateLanguageModelCommandInput extends CreateLanguageModelRequ
7
7
  export interface CreateLanguageModelCommandOutput extends CreateLanguageModelResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a new custom language model. Use Amazon S3 prefixes to provide the location of
11
- * your input files. The time it takes to create your model depends on the size of your training
12
- * data.</p>
10
+ * <p>Creates a new custom language model. When creating a new language model,
11
+ * you must specify if you want a Wideband (audio sample rates over 16,000 Hz) or
12
+ * Narrowband (audio sample rates under 16,000 Hz) base model. You then include the
13
+ * S3 URI location of your training and tuning files, the language for the model, a
14
+ * unique name, and any tags you want associated with your model.</p>
13
15
  * @example
14
16
  * Use a bare-bones client and the command you need to make an API call.
15
17
  * ```javascript
@@ -7,8 +7,16 @@ export interface CreateMedicalVocabularyCommandInput extends CreateMedicalVocabu
7
7
  export interface CreateMedicalVocabularyCommandOutput extends CreateMedicalVocabularyResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a new custom vocabulary that you can use to modify how Amazon Transcribe Medical transcribes
11
- * your audio file.</p>
10
+ * <p>Creates a new custom medical vocabulary.</p>
11
+ * <p>When creating a new medical vocabulary, you must upload a text file that contains
12
+ * your new entries, phrases, and terms into an S3 bucket. Note that this differs from
13
+ * , where you can include a list of terms within
14
+ * your request using the <code>Phrases</code> flag, as
15
+ * <code>CreateMedicalVocabulary</code> does not support the <code>Phrases</code>
16
+ * flag.</p>
17
+ * <p>For more information on creating a custom vocabulary text file, see
18
+ * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary-create.html">Creating a custom
19
+ * vocabulary</a>.</p>
12
20
  * @example
13
21
  * Use a bare-bones client and the command you need to make an API call.
14
22
  * ```javascript
@@ -7,8 +7,13 @@ export interface CreateVocabularyCommandInput extends CreateVocabularyRequest {
7
7
  export interface CreateVocabularyCommandOutput extends CreateVocabularyResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an
11
- * audio file.</p>
10
+ * <p>Creates a new custom vocabulary.</p>
11
+ * <p>When creating a new medical vocabulary, you can either upload a text file that
12
+ * contains your new entries, phrases, and terms into an S3 bucket or include a list of
13
+ * terms directly in your request using the <code>Phrases</code> flag.</p>
14
+ * <p>For more information on creating a custom vocabulary, see
15
+ * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary-create.html">Creating a custom
16
+ * vocabulary</a>.</p>
12
17
  * @example
13
18
  * Use a bare-bones client and the command you need to make an API call.
14
19
  * ```javascript
@@ -7,8 +7,9 @@ export interface CreateVocabularyFilterCommandInput extends CreateVocabularyFilt
7
7
  export interface CreateVocabularyFilterCommandOutput extends CreateVocabularyFilterResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a new vocabulary filter that you can use to filter words, such as profane words,
11
- * from the output of a transcription job.</p>
10
+ * <p>Creates a new vocabulary filter that you can use to filter words from your transcription
11
+ * output. For example, you can use this operation to remove profanity from your
12
+ * transcript.</p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -7,7 +7,8 @@ export interface DeleteCallAnalyticsCategoryCommandInput extends DeleteCallAnaly
7
7
  export interface DeleteCallAnalyticsCategoryCommandOutput extends DeleteCallAnalyticsCategoryResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes a call analytics category using its name.</p>
10
+ * <p>Deletes a call analytics category. To use this operation, specify the name of the
11
+ * category you want to delete using <code>CategoryName</code>.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -7,7 +7,8 @@ export interface DeleteCallAnalyticsJobCommandInput extends DeleteCallAnalyticsJ
7
7
  export interface DeleteCallAnalyticsJobCommandOutput extends DeleteCallAnalyticsJobResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes a call analytics job using its name.</p>
10
+ * <p>Deletes a call analytics job. To use this operation, specify the name of the
11
+ * job you want to delete using <code>CallAnalyticsJobName</code>.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -7,7 +7,8 @@ export interface DeleteLanguageModelCommandInput extends DeleteLanguageModelRequ
7
7
  export interface DeleteLanguageModelCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes a custom language model using its name.</p>
10
+ * <p>Deletes a custom language model. To use this operation, specify the name of the
11
+ * language model you want to delete using <code>ModelName</code>.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -7,7 +7,9 @@ export interface DeleteMedicalTranscriptionJobCommandInput extends DeleteMedical
7
7
  export interface DeleteMedicalTranscriptionJobCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes a transcription job generated by Amazon Transcribe Medical and any related information.</p>
10
+ * <p>Deletes a medical transcription job, along with any related information. To use this
11
+ * operation, specify the name of the job you want to delete using
12
+ * <code>MedicalTranscriptionJobName</code>.</p>
11
13
  * @example
12
14
  * Use a bare-bones client and the command you need to make an API call.
13
15
  * ```javascript
@@ -7,7 +7,8 @@ export interface DeleteMedicalVocabularyCommandInput extends DeleteMedicalVocabu
7
7
  export interface DeleteMedicalVocabularyCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes a vocabulary from Amazon Transcribe Medical.</p>
10
+ * <p>Deletes a custom medical vocabulary. To use this operation, specify the name of the
11
+ * vocabulary you want to delete using <code>VocabularyName</code>.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -7,8 +7,9 @@ export interface DeleteTranscriptionJobCommandInput extends DeleteTranscriptionJ
7
7
  export interface DeleteTranscriptionJobCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes a previously submitted transcription job along with any other generated results such as the
11
- * transcription, models, and so on.</p>
10
+ * <p>Deletes a transcription job, along with any related information. To use this operation,
11
+ * specify the name of the job you want to delete using
12
+ * <code>TranscriptionJobName</code>.</p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -7,7 +7,8 @@ export interface DeleteVocabularyCommandInput extends DeleteVocabularyRequest {
7
7
  export interface DeleteVocabularyCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes a vocabulary from Amazon Transcribe. </p>
10
+ * <p>Deletes a custom vocabulary. To use this operation, specify the name of the vocabulary
11
+ * you want to delete using <code>VocabularyName</code>.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -7,7 +7,8 @@ export interface DeleteVocabularyFilterCommandInput extends DeleteVocabularyFilt
7
7
  export interface DeleteVocabularyFilterCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Removes a vocabulary filter.</p>
10
+ * <p>Deletes a vocabulary filter. To use this operation, specify the name of the vocabulary
11
+ * filter you want to delete using <code>VocabularyFilterName</code>.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -7,11 +7,13 @@ export interface DescribeLanguageModelCommandInput extends DescribeLanguageModel
7
7
  export interface DescribeLanguageModelCommandOutput extends DescribeLanguageModelResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets information about a single custom language model. Use this information to see details about the
11
- * language model in your Amazon Web Services account. You can also see whether the base language model used
12
- * to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a
13
- * new custom language model using the updated base model. If the language model wasn't created, you can use this
14
- * operation to understand why Amazon Transcribe couldn't create it. </p>
10
+ * <p>Provides information about a specific custom language model in your
11
+ * Amazon Web Services account.</p>
12
+ * <p>This operation also shows if the base language model you used to create your custom
13
+ * language model has been updated. If Amazon Transcribe has updated the base model, you can create a
14
+ * new custom language model using the updated base model.</p>
15
+ * <p>If you tried to create a new custom language model and the request wasn't successful,
16
+ * you can use this operation to help identify the reason. </p>
15
17
  * @example
16
18
  * Use a bare-bones client and the command you need to make an API call.
17
19
  * ```javascript
@@ -7,11 +7,12 @@ export interface GetCallAnalyticsJobCommandInput extends GetCallAnalyticsJobRequ
7
7
  export interface GetCallAnalyticsJobCommandOutput extends GetCallAnalyticsJobResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns information about a call analytics job. To see the status of the job, check the
11
- * <code>CallAnalyticsJobStatus</code> field. If the status is <code>COMPLETED</code>, the job
12
- * is finished and you can find the results at the location specified in the <code>TranscriptFileUri</code>
13
- * field. If you enable personally identifiable information (PII) redaction, the redacted transcript appears
14
- * in the <code>RedactedTranscriptFileUri</code> field.</p>
10
+ * <p>Retrieves information about a call analytics job.</p>
11
+ * <p>To view the job's status, refer to the <code>CallAnalyticsJobStatus</code> field. If the
12
+ * status is <code>COMPLETED</code>, the job is finished. You can then find your transcript at
13
+ * the URI specified in the <code>TranscriptFileUri</code> field. If you enabled personally
14
+ * identifiable information (PII) redaction, the redacted transcript appears in the
15
+ * <code>RedactedTranscriptFileUri</code> field.</p>
15
16
  * @example
16
17
  * Use a bare-bones client and the command you need to make an API call.
17
18
  * ```javascript
@@ -7,9 +7,10 @@ export interface GetMedicalTranscriptionJobCommandInput extends GetMedicalTransc
7
7
  export interface GetMedicalTranscriptionJobCommandOutput extends GetMedicalTranscriptionJobResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns information about a transcription job from Amazon Transcribe Medical. To see the status of the job, check the
11
- * <code>TranscriptionJobStatus</code> field. If the status is <code>COMPLETED</code>, the job is finished. You
12
- * find the results of the completed job in the <code>TranscriptFileUri</code> field.</p>
10
+ * <p>Retrieves information about a medical transcription job.</p>
11
+ * <p>To view the job's status, refer to the <code>TranscriptionJobStatus</code> field. If the
12
+ * status is <code>COMPLETED</code>, the job is finished. You can then find your transcript at
13
+ * the URI specified in the <code>TranscriptFileUri</code> field.</p>
13
14
  * @example
14
15
  * Use a bare-bones client and the command you need to make an API call.
15
16
  * ```javascript
@@ -8,9 +8,10 @@ export interface GetTranscriptionJobCommandOutput extends GetTranscriptionJobRes
8
8
  }
9
9
  /**
10
10
  * <p>Returns information about a transcription job. To see the status of the job, check the
11
- * <code>TranscriptionJobStatus</code> field. If the status is <code>COMPLETED</code>, the job is finished and
12
- * you can find the results at the location specified in the <code>TranscriptFileUri</code> field. If you enable content
13
- * redaction, the redacted transcript appears in <code>RedactedTranscriptFileUri</code>.</p>
11
+ * <code>TranscriptionJobStatus</code> field. If the status is <code>COMPLETED</code>,
12
+ * the job is finished and you can find the results at the location specified in the
13
+ * <code>TranscriptFileUri</code> field. If you enable content redaction, the redacted
14
+ * transcript appears in <code>RedactedTranscriptFileUri</code>.</p>
14
15
  * @example
15
16
  * Use a bare-bones client and the command you need to make an API call.
16
17
  * ```javascript