From 8797f6465be931f4c331b9a69ee2ab4ea79c5717 Mon Sep 17 00:00:00 2001
From: awstools Deletes a Medical Scribe job. To use this operation, specify the name of the
+ * job you want to delete using Your request didn't pass one or more validation tests. This can occur when the entity
+ * you're trying to delete doesn't exist or if it's in a non-terminal state (such as
+ * There was an internal error. Check the error message, correct the issue, and try your
+ * request again. You've either sent too many requests or your input file is too long. Wait before
+ * retrying your request, or use a smaller file and try your request again. Base exception class for all service exceptions from Transcribe service. Provides information about the specified Medical Scribe job. To view the status of the specified medical transcription job, check the
+ * To get a list of your Medical Scribe jobs, use the operation. Your request didn't pass one or more validation tests. This can occur when the entity
+ * you're trying to delete doesn't exist or if it's in a non-terminal state (such as
+ * There was an internal error. Check the error message, correct the issue, and try your
+ * request again. You've either sent too many requests or your input file is too long. Wait before
+ * retrying your request, or use a smaller file and try your request again. We can't find the requested resource. Check that the specified name is correct and try
+ * your request again. Base exception class for all service exceptions from Transcribe service. Provides a list of Medical Scribe jobs that match the specified criteria. If no
+ * criteria are specified, all Medical Scribe jobs are returned. To get detailed information about a specific Medical Scribe job, use the operation. Your request didn't pass one or more validation tests. This can occur when the entity
+ * you're trying to delete doesn't exist or if it's in a non-terminal state (such as
+ * There was an internal error. Check the error message, correct the issue, and try your
+ * request again. You've either sent too many requests or your input file is too long. Wait before
+ * retrying your request, or use a smaller file and try your request again. Base exception class for all service exceptions from Transcribe service. Transcribes patient-clinician conversations and generates clinical notes. Amazon Web Services HealthScribe automatically provides rich conversation transcripts, identifies speaker roles,
+ * classifies dialogues, extracts medical terms, and generates preliminary clinical notes.
+ * To learn more about these features, refer to Amazon Web Services HealthScribe. To make a You must include the following parameters in your
+ *
+ *
+ *
+ *
+ *
+ *
+ * Your request didn't pass one or more validation tests. This can occur when the entity
+ * you're trying to delete doesn't exist or if it's in a non-terminal state (such as
+ * A resource already exists with this name. Resource names must be unique within an
+ * Amazon Web Services account. There was an internal error. Check the error message, correct the issue, and try your
+ * request again. You've either sent too many requests or your input file is too long. Wait before
+ * retrying your request, or use a smaller file and try your request again. Base exception class for all service exceptions from Transcribe service.
+DeleteMedicalScribeJob
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/DeleteMedicalScribeJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/DeleteMedicalScribeJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/DeleteMedicalScribeJobCommandOutput/)
+
@@ -351,6 +359,14 @@ GetCallAnalyticsJob
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/GetCallAnalyticsJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/GetCallAnalyticsJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/GetCallAnalyticsJobCommandOutput/)
+
+GetMedicalScribeJob
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/GetMedicalScribeJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/GetMedicalScribeJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/GetMedicalScribeJobCommandOutput/)
+
@@ -415,6 +431,14 @@ ListLanguageModels
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/ListLanguageModelsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/ListLanguageModelsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/ListLanguageModelsCommandOutput/)
+
+ListMedicalScribeJobs
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/ListMedicalScribeJobsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/ListMedicalScribeJobsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/ListMedicalScribeJobsCommandOutput/)
+
@@ -471,6 +495,14 @@ StartCallAnalyticsJob
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/StartCallAnalyticsJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/StartCallAnalyticsJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/StartCallAnalyticsJobCommandOutput/)
+
+StartMedicalScribeJob
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/StartMedicalScribeJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/StartMedicalScribeJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/StartMedicalScribeJobCommandOutput/)
+
diff --git a/clients/client-transcribe/src/Transcribe.ts b/clients/client-transcribe/src/Transcribe.ts
index cd6f1cec76cc1..88709a5213472 100644
--- a/clients/client-transcribe/src/Transcribe.ts
+++ b/clients/client-transcribe/src/Transcribe.ts
@@ -42,6 +42,11 @@ import {
DeleteLanguageModelCommandInput,
DeleteLanguageModelCommandOutput,
} from "./commands/DeleteLanguageModelCommand";
+import {
+ DeleteMedicalScribeJobCommand,
+ DeleteMedicalScribeJobCommandInput,
+ DeleteMedicalScribeJobCommandOutput,
+} from "./commands/DeleteMedicalScribeJobCommand";
import {
DeleteMedicalTranscriptionJobCommand,
DeleteMedicalTranscriptionJobCommandInput,
@@ -82,6 +87,11 @@ import {
GetCallAnalyticsJobCommandInput,
GetCallAnalyticsJobCommandOutput,
} from "./commands/GetCallAnalyticsJobCommand";
+import {
+ GetMedicalScribeJobCommand,
+ GetMedicalScribeJobCommandInput,
+ GetMedicalScribeJobCommandOutput,
+} from "./commands/GetMedicalScribeJobCommand";
import {
GetMedicalTranscriptionJobCommand,
GetMedicalTranscriptionJobCommandInput,
@@ -122,6 +132,11 @@ import {
ListLanguageModelsCommandInput,
ListLanguageModelsCommandOutput,
} from "./commands/ListLanguageModelsCommand";
+import {
+ ListMedicalScribeJobsCommand,
+ ListMedicalScribeJobsCommandInput,
+ ListMedicalScribeJobsCommandOutput,
+} from "./commands/ListMedicalScribeJobsCommand";
import {
ListMedicalTranscriptionJobsCommand,
ListMedicalTranscriptionJobsCommandInput,
@@ -157,6 +172,11 @@ import {
StartCallAnalyticsJobCommandInput,
StartCallAnalyticsJobCommandOutput,
} from "./commands/StartCallAnalyticsJobCommand";
+import {
+ StartMedicalScribeJobCommand,
+ StartMedicalScribeJobCommandInput,
+ StartMedicalScribeJobCommandOutput,
+} from "./commands/StartMedicalScribeJobCommand";
import {
StartMedicalTranscriptionJobCommand,
StartMedicalTranscriptionJobCommandInput,
@@ -204,6 +224,7 @@ const commands = {
DeleteCallAnalyticsCategoryCommand,
DeleteCallAnalyticsJobCommand,
DeleteLanguageModelCommand,
+ DeleteMedicalScribeJobCommand,
DeleteMedicalTranscriptionJobCommand,
DeleteMedicalVocabularyCommand,
DeleteTranscriptionJobCommand,
@@ -212,6 +233,7 @@ const commands = {
DescribeLanguageModelCommand,
GetCallAnalyticsCategoryCommand,
GetCallAnalyticsJobCommand,
+ GetMedicalScribeJobCommand,
GetMedicalTranscriptionJobCommand,
GetMedicalVocabularyCommand,
GetTranscriptionJobCommand,
@@ -220,6 +242,7 @@ const commands = {
ListCallAnalyticsCategoriesCommand,
ListCallAnalyticsJobsCommand,
ListLanguageModelsCommand,
+ ListMedicalScribeJobsCommand,
ListMedicalTranscriptionJobsCommand,
ListMedicalVocabulariesCommand,
ListTagsForResourceCommand,
@@ -227,6 +250,7 @@ const commands = {
ListVocabulariesCommand,
ListVocabularyFiltersCommand,
StartCallAnalyticsJobCommand,
+ StartMedicalScribeJobCommand,
StartMedicalTranscriptionJobCommand,
StartTranscriptionJobCommand,
TagResourceCommand,
@@ -374,6 +398,23 @@ export interface Transcribe {
cb: (err: any, data?: DeleteLanguageModelCommandOutput) => void
): void;
+ /**
+ * @see {@link DeleteMedicalScribeJobCommand}
+ */
+ deleteMedicalScribeJob(
+ args: DeleteMedicalScribeJobCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise
MedicalScribeJobName
. Job names are
+ * case sensitive.IN PROGRESS
). See the exception message field for more
+ * information.MedicalScribeJobStatus
field. If the status is COMPLETED
,
+ * the job is finished. You can find the results at the location specified in
+ * MedicalScribeOutput
.
+ * If the status is FAILED
, FailureReason
provides details on why your Medical Scribe job
+ * failed.IN PROGRESS
). See the exception message field for more
+ * information.IN PROGRESS
). See the exception message field for more
+ * information.StartMedicalScribeJob
request, you must first upload
+ * your media file into an Amazon S3 bucket; you can then specify the Amazon S3 location
+ * of the file using the Media
parameter.StartMedicalTranscriptionJob
request:
+ *
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { TranscribeClient, StartMedicalScribeJobCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
+ * // const { TranscribeClient, StartMedicalScribeJobCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
+ * const client = new TranscribeClient(config);
+ * const input = { // StartMedicalScribeJobRequest
+ * MedicalScribeJobName: "STRING_VALUE", // required
+ * Media: { // Media
+ * MediaFileUri: "STRING_VALUE",
+ * RedactedMediaFileUri: "STRING_VALUE",
+ * },
+ * OutputBucketName: "STRING_VALUE", // required
+ * OutputEncryptionKMSKeyId: "STRING_VALUE",
+ * KMSEncryptionContext: { // KMSEncryptionContextMap
+ * "DataAccessRoleArn
: The ARN of an IAM role with the these minimum permissions: read permission on input file Amazon S3 bucket specified in Media
,
+ * write permission on the Amazon S3 bucket specified in OutputBucketName
, and full permissions on the KMS key specified in OutputEncryptionKMSKeyId
(if set).
+ * The role should also allow transcribe.amazonaws.com
to assume it.
+ * Media
(MediaFileUri
): The Amazon S3 location
+ * of your media file.MedicalScribeJobName
: A custom name you create for your
+ * MedicalScribe job that is unique within your Amazon Web Services account.OutputBucketName
: The Amazon S3 bucket where you want
+ * your output files stored.Settings
: A MedicalScribeSettings
obect
+ * that must set exactly one of ShowSpeakerLabels
or ChannelIdentification
to true.
+ * If ShowSpeakerLabels
is true, MaxSpeakerLabels
must also be set.
+ * ChannelDefinitions
: A MedicalScribeChannelDefinitions
array should be set if and only if the ChannelIdentification
+ * value of Settings
is set to true.
+ * IN PROGRESS
). See the exception message field for more
+ * information.
To make a StartMedicalTranscriptionJob
request, you must first upload
- * your media file into an Amazon S3 bucket; you can then specify the S3 location
+ * your media file into an Amazon S3 bucket; you can then specify the Amazon S3 location
* of the file using the Media
parameter.
You must include the following parameters in your
* StartMedicalTranscriptionJob
request:
IdentifyMultipleLanguages
: If you know the language of your
* media file, specify it using the LanguageCode
parameter; you can
* find all valid language codes in the Supported
- * languages table. If you don't know the languages spoken in your
+ * languages table. If you do not know the languages spoken in your
* media, use either IdentifyLanguage
or
* IdentifyMultipleLanguages
and let Amazon Transcribe identify
* the languages for you.
diff --git a/clients/client-transcribe/src/commands/index.ts b/clients/client-transcribe/src/commands/index.ts
index a8543b850a7bf..45573fa1eb8a5 100644
--- a/clients/client-transcribe/src/commands/index.ts
+++ b/clients/client-transcribe/src/commands/index.ts
@@ -7,6 +7,7 @@ export * from "./CreateVocabularyFilterCommand";
export * from "./DeleteCallAnalyticsCategoryCommand";
export * from "./DeleteCallAnalyticsJobCommand";
export * from "./DeleteLanguageModelCommand";
+export * from "./DeleteMedicalScribeJobCommand";
export * from "./DeleteMedicalTranscriptionJobCommand";
export * from "./DeleteMedicalVocabularyCommand";
export * from "./DeleteTranscriptionJobCommand";
@@ -15,6 +16,7 @@ export * from "./DeleteVocabularyFilterCommand";
export * from "./DescribeLanguageModelCommand";
export * from "./GetCallAnalyticsCategoryCommand";
export * from "./GetCallAnalyticsJobCommand";
+export * from "./GetMedicalScribeJobCommand";
export * from "./GetMedicalTranscriptionJobCommand";
export * from "./GetMedicalVocabularyCommand";
export * from "./GetTranscriptionJobCommand";
@@ -23,6 +25,7 @@ export * from "./GetVocabularyFilterCommand";
export * from "./ListCallAnalyticsCategoriesCommand";
export * from "./ListCallAnalyticsJobsCommand";
export * from "./ListLanguageModelsCommand";
+export * from "./ListMedicalScribeJobsCommand";
export * from "./ListMedicalTranscriptionJobsCommand";
export * from "./ListMedicalVocabulariesCommand";
export * from "./ListTagsForResourceCommand";
@@ -30,6 +33,7 @@ export * from "./ListTranscriptionJobsCommand";
export * from "./ListVocabulariesCommand";
export * from "./ListVocabularyFiltersCommand";
export * from "./StartCallAnalyticsJobCommand";
+export * from "./StartMedicalScribeJobCommand";
export * from "./StartMedicalTranscriptionJobCommand";
export * from "./StartTranscriptionJobCommand";
export * from "./TagResourceCommand";
diff --git a/clients/client-transcribe/src/models/models_0.ts b/clients/client-transcribe/src/models/models_0.ts
index b97bcb915674a..8190252748f47 100644
--- a/clients/client-transcribe/src/models/models_0.ts
+++ b/clients/client-transcribe/src/models/models_0.ts
@@ -262,7 +262,8 @@ export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
* @public
* Describes the Amazon S3 location of the media file you want to use in your * request.
- *For information on supported media formats, refer to the MediaFormat parameter or the Media formats section + *
For information on supported media formats, refer to the MediaFormat
+ * parameter or the Media formats section
* in the Amazon S3 Developer Guide.
Makes it possible to redact or flag specified personally identifiable information
- * (PII) in your transcript. If you use ContentRedaction
, you must also
- * include the sub-parameters: PiiEntityTypes
, RedactionOutput
,
- * and RedactionType
.
Makes it possible to redact or flag specified personally identifiable information (PII) in
+ * your transcript. If you use ContentRedaction
, you must also include the
+ * sub-parameters: RedactionOutput
and RedactionType
. You can
+ * optionally include PiiEntityTypes
to choose which types of PII you want to
+ * redact.
Specify the category of information you want to redact; PII
(personally
- * identifiable information) is the only valid value. You can use
- * PiiEntityTypes
to choose which types of PII you want to redact.
PiiEntityTypes
to
+ * choose which types of PII you want to redact. If you do not include PiiEntityTypes
in
+ * your request, all PII is redacted.
*/
RedactionType: RedactionType | undefined;
@@ -420,7 +423,8 @@ export interface ContentRedaction {
* @public
* Specify which types of personally identifiable information (PII) you want to redact in
* your transcript. You can include as many types as you'd like, or you can select
- * ALL
.
ALL
. If you do not include PiiEntityTypes
in your request, all PII is
+ * redacted.
*/
PiiEntityTypes?: PiiEntityType[];
}
@@ -462,7 +466,7 @@ export interface LanguageIdSettings {
* The name of the custom vocabulary you want to use when processing your transcription * job. Custom vocabulary names are case sensitive.
*The language of the specified custom vocabulary must match the language code that you - * specify in your transcription request. If the languages don't match, the custom + * specify in your transcription request. If the languages do not match, the custom * vocabulary isn't applied. There are no errors or warnings associated with a language * mismatch.
*/ @@ -473,7 +477,7 @@ export interface LanguageIdSettings { *The name of the custom vocabulary filter you want to use when processing your * transcription job. Custom vocabulary filter names are case sensitive.
*The language of the specified custom vocabulary filter must match the language code - * that you specify in your transcription request. If the languages don't match, the custom + * that you specify in your transcription request. If the languages do not match, the custom * vocabulary filter isn't applied. There are no errors or warnings associated with a * language mismatch.
*Note that if you include VocabularyFilterName
in your request, you must
@@ -486,7 +490,7 @@ export interface LanguageIdSettings {
*
The name of the custom language model you want to use when processing your * transcription job. Note that custom language model names are case sensitive.
*The language of the specified custom language model must match the language code that - * you specify in your transcription request. If the languages don't match, the custom + * you specify in your transcription request. If the languages do not match, the custom * language model isn't applied. There are no errors or warnings associated with a language * mismatch.
*/ @@ -562,7 +566,7 @@ export interface CallAnalyticsJobSettings { *The name of the custom language model you want to use when processing your Call * Analytics job. Note that custom language model names are case sensitive.
*The language of the specified custom language model must match the language code that - * you specify in your transcription request. If the languages don't match, the custom + * you specify in your transcription request. If the languages do not match, the custom * language model isn't applied. There are no errors or warnings associated with a language * mismatch.
*/ @@ -570,10 +574,11 @@ export interface CallAnalyticsJobSettings { /** * @public - *Makes it possible to redact or flag specified personally identifiable information
- * (PII) in your transcript. If you use ContentRedaction
, you must also
- * include the sub-parameters: PiiEntityTypes
, RedactionOutput
,
- * and RedactionType
.
Makes it possible to redact or flag specified personally identifiable information (PII) in
+ * your transcript. If you use ContentRedaction
, you must also include the
+ * sub-parameters: RedactionOutput
and RedactionType
. You can
+ * optionally include PiiEntityTypes
to choose which types of PII you want to
+ * redact.
The language code used to create your Call Analytics job. For a list of supported * languages and their associated language codes, refer to the Supported languages * table.
- *If you don't know the language spoken in your media file, you can omit this field and + *
If you do not know the language spoken in your media file, you can omit this field and * let Amazon Transcribe automatically identify the language of your media. To improve the * accuracy of language identification, you can include several language codes and Amazon Transcribe chooses the closest match for your transcription.
*/ @@ -785,7 +790,7 @@ export interface CallAnalyticsJob { *
* Unsupported media format
.
The media format specified in MediaFormat
isn't valid. Refer to
- * MediaFormat for a list of supported
+ * refer to the MediaFormat
parameter for a list of supported
* formats.
* Invalid file size: file size too large
.
The size of your media file is larger than what Amazon Transcribe can - * process. For more information, refer to Guidelines and + * process. For more information, refer to Service * quotas.
*
* Invalid number of channels: number of channels too large
.
Your audio contains more channels than Amazon Transcribe is able to process. - * For more information, refer to Guidelines and + * For more information, refer to Service * quotas.
*For a list of supported languages and their associated language codes, refer to the
- * Supported languages table. Note that
- * US English
- * (en-US
) is the only language supported with Amazon Transcribe
- * Medical.
en-US
) is the
+ * only language supported with Amazon Transcribe Medical.
* A custom language model can only be used to transcribe files in the same language as
* the model. For example, if you create a custom language model using US English
* (en-US
), you can only apply this model to files that contain English
@@ -2130,6 +2133,18 @@ export interface DeleteLanguageModelRequest {
ModelName: string | undefined;
}
+/**
+ * @public
+ */
+export interface DeleteMedicalScribeJobRequest {
+ /**
+ * @public
+ *
The name of the Medical Scribe job you want to delete. Job names are case + * sensitive.
+ */ + MedicalScribeJobName: string | undefined; +} + /** * @public */ @@ -2265,7 +2280,7 @@ export interface LanguageModel { * model must contain terms in only one language, and the language you select for your * custom language model must match the language of your training and tuning data. *For a list of supported languages and their associated language codes, refer to the
- * Supported languages table. Note that U.S. English (en-US
) is
+ * Supported languages table. Note that US English (en-US
) is
* the only language supported with Amazon Transcribe Medical.
The name of the Medical Scribe job you want information about. Job names are + * case sensitive.
+ */ + MedicalScribeJobName: string | undefined; +} + +/** + * @public + * @enum + */ +export const MedicalScribeParticipantRole = { + CLINICIAN: "CLINICIAN", + PATIENT: "PATIENT", +} as const; + +/** + * @public + */ +export type MedicalScribeParticipantRole = + (typeof MedicalScribeParticipantRole)[keyof typeof MedicalScribeParticipantRole]; + +/** + * @public + *Indicates which speaker is on which channel. The options are
+ * CLINICIAN
and PATIENT
+ *
Specify the audio channel you want to define.
+ */ + ChannelId: number | undefined; + + /** + * @public + *Specify the participant that you want to flag.
+ * The options are CLINICIAN
and PATIENT
+ *
The location of the output of your Medical Scribe job.
+ * ClinicalDocumentUri
holds the Amazon S3 URI for the Clinical Document
+ * and TranscriptFileUri
holds the Amazon S3 URI for the Transcript.
Holds the Amazon S3 URI for the Transcript.
+ */ + TranscriptFileUri: string | undefined; + + /** + * @public + *Holds the Amazon S3 URI for the Clinical Document.
+ */ + ClinicalDocumentUri: string | undefined; +} + +/** + * @public + *Makes it possible to control how your Medical Scribe job is processed using a
+ * MedicalScribeSettings
object. Specify ChannelIdentification
if
+ * ChannelDefinitions
are set. Enabled ShowSpeakerLabels
if ChannelIdentification
+ * and ChannelDefinitions
are not set. One and only one of ChannelIdentification
and ShowSpeakerLabels
+ * must be set. If ShowSpeakerLabels
is set, MaxSpeakerLabels
must also be set. Use Settings
+ * to specify a vocabulary or vocabulary filter or both using VocabularyName
, VocabularyFilterName
.
+ * VocabularyFilterMethod
must be specified if VocabularyFilterName
is set.
+ *
Enables speaker partitioning (diarization) in your Medical Scribe output. Speaker + * partitioning labels the speech from individual speakers in your media file.
+ *If you enable ShowSpeakerLabels
in your request, you must also include
+ * MaxSpeakerLabels
.
For more information, see Partitioning speakers + * (diarization).
+ */ + ShowSpeakerLabels?: boolean; + + /** + * @public + *Specify the maximum number of speakers you want to partition in your media.
+ *Note that if your media contains more speakers than the specified number, multiple + * speakers are treated as a single speaker.
+ *If you specify the MaxSpeakerLabels
field, you must set the
+ * ShowSpeakerLabels
field to true.
Enables channel identification in multi-channel audio.
+ *Channel identification transcribes the audio on each channel independently, then + * appends the output for each channel into one transcript.
+ *For more information, see Transcribing multi-channel + * audio.
+ */ + ChannelIdentification?: boolean; + + /** + * @public + *The name of the custom vocabulary you want to include in your Medical Scribe + * request. Custom vocabulary names are case sensitive.
+ */ + VocabularyName?: string; + + /** + * @public + *The name of the custom vocabulary filter you want to include in your Medical Scribe + * request. Custom vocabulary filter names are case sensitive.
+ *Note that if you include VocabularyFilterName
in your request, you must
+ * also include VocabularyFilterMethod
.
Specify how you want your custom vocabulary filter applied to your transcript.
+ *To replace words with ***
, choose mask
.
To delete words, choose remove
.
To flag words without changing them, choose tag
.
Provides detailed information about a Medical Scribe job.
+ *To view the status of the specified Medical Scribe job, check the
+ * MedicalScribeJobStatus
field. If the status is COMPLETED
,
+ * the job is finished and you can find the results at the locations specified in
+ * MedicalScribeOutput
. If the status is FAILED
,
+ * FailureReason
provides details on why your Medical Scribe job
+ * failed.
The name of the Medical Scribe job. Job names are case sensitive and must be + * unique within an Amazon Web Services account.
+ */ + MedicalScribeJobName?: string; + + /** + * @public + *Provides the status of the specified Medical Scribe job.
+ *If the status is COMPLETED
, the job is finished and you can find the
+ * results at the location specified in MedicalScribeOutput
If
+ * the status is FAILED
, FailureReason
provides details on why
+ * your Medical Scribe job failed.
The language code used to create your Medical Scribe job. US English
+ * (en-US
) is the only supported language for Medical Scribe jobs.
Describes the Amazon S3 location of the media file you want to use in your + * request.
+ *For information on supported media formats, refer to the MediaFormat
+ * parameter or the Media formats section
+ * in the Amazon S3 Developer Guide.
The location of the output of your Medical Scribe job.
+ * ClinicalDocumentUri
holds the Amazon S3 URI for the Clinical Document
+ * and TranscriptFileUri
holds the Amazon S3 URI for the Transcript.
The date and time your Medical Scribe job began processing.
+ *Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For
+ * example, 2022-05-04T12:32:58.789000-07:00
represents a Medical Scribe job
+ * that started processing at 12:32 PM UTC-7 on May 4, 2022.
The date and time the specified Medical Scribe job request was made.
+ *Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For
+ * example, 2022-05-04T12:32:58.761000-07:00
represents a Medical Scribe job
+ * that started processing at 12:32 PM UTC-7 on May 4, 2022.
The date and time the specified Medical Scribe job finished processing.
+ *Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For
+ * example, 2022-05-04T12:32:58.761000-07:00
represents a Medical Scribe job
+ * that finished processing at 12:32 PM UTC-7 on May 4, 2022.
If MedicalScribeJobStatus
is FAILED
,
+ * FailureReason
contains information about why the transcription job
+ * failed. See also: Common Errors.
Makes it possible to control how your Medical Scribe job is processed using a
+ * MedicalScribeSettings
object. Specify ChannelIdentification
if
+ * ChannelDefinitions
are set. Enabled ShowSpeakerLabels
if ChannelIdentification
+ * and ChannelDefinitions
are not set. One and only one of ChannelIdentification
and ShowSpeakerLabels
+ * must be set. If ShowSpeakerLabels
is set, MaxSpeakerLabels
must also be set. Use Settings
+ * to specify a vocabulary or vocabulary filter or both using VocabularyName
, VocabularyFilterName
.
+ * VocabularyFilterMethod
must be specified if VocabularyFilterName
is set.
+ *
The Amazon Resource Name (ARN) of an IAM role that has permissions to + * access the Amazon S3 bucket that contains your input files, + * write to the output bucket, and use your KMS key if supplied. + * If the role that you specify doesn’t have the appropriate permissions your request fails.
+ *IAM role ARNs have the format
+ * arn:partition:iam::account:role/role-name-with-path
. For example:
+ * arn:aws:iam::111122223333:role/Admin
.
For more information, see IAM + * ARNs.
+ */ + DataAccessRoleArn?: string; + + /** + * @public + *Makes it possible to specify which speaker is on which channel. For example, if the clinician
+ * is the first participant to speak, you would set ChannelId
of the first ChannelDefinition
+ * in the list to 0
(to indicate the first channel) and ParticipantRole
to
+ * CLINICIAN
(to indicate that it's the clinician speaking).
+ * Then you would set the ChannelId
of the second ChannelDefinition
in the list to
+ * 1
(to indicate the second channel) and ParticipantRole
to
+ * PATIENT
(to indicate that it's the patient speaking).
+ *
Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.
+ *To learn more about using tags with Amazon Transcribe, refer to Tagging + * resources.
+ */ + Tags?: Tag[]; +} + +/** + * @public + */ +export interface GetMedicalScribeJobResponse { + /** + * @public + *Provides detailed information about the specified Medical Scribe job, including + * job status and, if applicable, failure reason
+ */ + MedicalScribeJob?: MedicalScribeJob; +} + /** * @public */ @@ -2419,9 +2750,6 @@ export interface MedicalTranscriptionSetting { * partitioning labels the speech from individual speakers in your media file. *If you enable ShowSpeakerLabels
in your request, you must also include
* MaxSpeakerLabels
.
You can't include ShowSpeakerLabels
and
- * ChannelIdentification
in the same request. Including both parameters
- * returns a BadRequestException
.
For more information, see Partitioning speakers * (diarization).
*/ @@ -2445,9 +2773,6 @@ export interface MedicalTranscriptionSetting { *If you have multi-channel audio and do not enable channel identification, your audio * is transcribed in a continuous manner and your transcript does not separate the speech * by channel.
- *You can't include both ShowSpeakerLabels
and
- * ChannelIdentification
in the same request. Including both parameters
- * returns a BadRequestException
.
For more information, see Transcribing multi-channel * audio.
*/ @@ -2484,7 +2809,7 @@ export interface MedicalTranscriptionSetting { *The name of the custom vocabulary you want to use when processing your medical * transcription job. Custom vocabulary names are case sensitive.
*The language of the specified custom vocabulary must match the language code that you
- * specify in your transcription request. If the languages don't match, the custom
+ * specify in your transcription request. If the languages do not match, the custom
* vocabulary isn't applied. There are no errors or warnings associated with a language
* mismatch. US English (en-US
) is the only valid language for Amazon Transcribe Medical.
Describes the Amazon S3 location of the media file you want to use in your * request.
- *For information on supported media formats, refer to the MediaFormat parameter or the Media formats section + *
For information on supported media formats, refer to the MediaFormat
+ * parameter or the Media formats section
* in the Amazon S3 Developer Guide.
* Unsupported media format
.
The media format specified in MediaFormat
isn't valid. Refer to
- * MediaFormat for a list of supported
+ * refer to the MediaFormat
parameter for a list of supported
* formats.
* Invalid file size: file size too large
.
The size of your media file is larger than what Amazon Transcribe can - * process. For more information, refer to Guidelines and + * process. For more information, refer to Service * quotas.
*
* Invalid number of channels: number of channels too large
.
Your audio contains more channels than Amazon Transcribe is able to process. - * For more information, refer to Guidelines and + * For more information, refer to Service * quotas.
*The S3 location where the specified custom medical vocabulary is stored; use this URI + *
The Amazon S3 location where the specified custom medical vocabulary is stored; use this URI * to view or download the custom vocabulary.
*/ DownloadUri?: string; @@ -2895,7 +3221,7 @@ export interface ModelSettings { *The name of the custom language model you want to use when processing your * transcription job. Note that custom language model names are case sensitive.
*The language of the specified custom language model must match the language code that - * you specify in your transcription request. If the languages don't match, the custom + * you specify in your transcription request. If the languages do not match, the custom * language model isn't applied. There are no errors or warnings associated with a language * mismatch.
*/ @@ -2904,7 +3230,8 @@ export interface ModelSettings { /** * @public - *Allows additional optional settings in your request, including channel identification, alternative transcriptions, and speaker + *
Allows additional optional settings in your + * request, including channel identification, alternative transcriptions, and speaker * partitioning. You can use that to apply custom vocabularies to your transcription * job.
*/ @@ -2922,9 +3249,6 @@ export interface Settings { * partitioning labels the speech from individual speakers in your media file. *If you enable ShowSpeakerLabels
in your request, you must also include
* MaxSpeakerLabels
.
You can't include both ShowSpeakerLabels
and
- * ChannelIdentification
in the same request. Including both parameters
- * returns a BadRequestException
.
For more information, see Partitioning speakers * (diarization).
*/ @@ -2945,9 +3269,6 @@ export interface Settings { *Enables channel identification in multi-channel audio.
*Channel identification transcribes the audio on each channel independently, then * appends the output for each channel into one transcript.
- *You can't include both ShowSpeakerLabels
and
- * ChannelIdentification
in the same request. Including both parameters
- * returns a BadRequestException
.
For more information, see Transcribing multi-channel * audio.
*/ @@ -3192,7 +3513,7 @@ export interface TranscriptionJob { *
* Unsupported media format
.
The media format specified in MediaFormat
isn't valid. Refer to
- * MediaFormat for a list of supported
+ * refer to the MediaFormat
parameter for a list of supported
* formats.
* Invalid file size: file size too large
.
The size of your media file is larger than what Amazon Transcribe can - * process. For more information, refer to Guidelines and + * process. For more information, refer to Service * quotas.
*
* Invalid number of channels: number of channels too large
.
Your audio contains more channels than Amazon Transcribe is able to process. - * For more information, refer to Guidelines and + * For more information, refer to Service * quotas.
*The S3 location where the custom vocabulary is stored; use this URI to view or + *
The Amazon S3 location where the custom vocabulary is stored; use this URI to view or * download the custom vocabulary.
*/ DownloadUri?: string; @@ -3463,7 +3784,7 @@ export interface ListCallAnalyticsCategoriesRequest { * @public *The maximum number of Call Analytics categories to return in each page of results. If * there are fewer results than the value that you specify, only the actual results are - * returned. If you don't specify a value, a default of 5 is used.
+ * returned. If you do not specify a value, a default of 5 is used. */ MaxResults?: number; } @@ -3497,7 +3818,7 @@ export interface ListCallAnalyticsJobsRequest { /** * @public *Returns only Call Analytics jobs with the specified status. Jobs are ordered by
- * creation date, with the newest job first. If you don't include Status
, all
+ * creation date, with the newest job first. If you do not include Status
, all
* Call Analytics jobs are returned.
The maximum number of Call Analytics jobs to return in each page of results. If there * are fewer results than the value that you specify, only the actual results are returned. - * If you don't specify a value, a default of 5 is used.
+ * If you do not specify a value, a default of 5 is used. */ MaxResults?: number; } @@ -3563,7 +3884,7 @@ export interface ListLanguageModelsRequest { /** * @public *Returns only custom language models with the specified status. Language models are
- * ordered by creation date, with the newest model first. If you don't include
+ * ordered by creation date, with the newest model first. If you do not include
* StatusEquals
, all custom language models are returned.
The maximum number of custom language models to return in each page of results. If * there are fewer results than the value that you specify, only the actual results are - * returned. If you don't specify a value, a default of 5 is used.
+ * returned. If you do not specify a value, a default of 5 is used. */ MaxResults?: number; } @@ -3616,6 +3937,137 @@ export interface ListLanguageModelsResponse { Models?: LanguageModel[]; } +/** + * @public + */ +export interface ListMedicalScribeJobsRequest { + /** + * @public + *Returns only Medical Scribe jobs with the specified status. Jobs are ordered by
+ * creation date, with the newest job first. If you do not include Status
, all
+ * Medical Scribe jobs are returned.
Returns only the Medical Scribe jobs that contain the specified string. The + * search is not case sensitive.
+ */ + JobNameContains?: string; + + /** + * @public + *If your ListMedicalScribeJobs
request returns more results than
+ * can be displayed, NextToken
is displayed in the response with an associated
+ * string. To get the next page of results, copy this string and repeat your request,
+ * including NextToken
with the value of the copied string. Repeat as needed
+ * to view all your results.
The maximum number of Medical Scribe jobs to return in each page of results. If + * there are fewer results than the value that you specify, only the actual results are + * returned. If you do not specify a value, a default of 5 is used.
+ */ + MaxResults?: number; +} + +/** + * @public + *Provides detailed information about a specific Medical Scribe job.
+ */ +export interface MedicalScribeJobSummary { + /** + * @public + *The name of the Medical Scribe job. Job names are case sensitive and must be + * unique within an Amazon Web Services account.
+ */ + MedicalScribeJobName?: string; + + /** + * @public + *The date and time the specified Medical Scribe job request was made.
+ *Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For
+ * example, 2022-05-04T12:32:58.761000-07:00
represents a Medical Scribe job
+ * that started processing at 12:32 PM UTC-7 on May 4, 2022.
The date and time your Medical Scribe job began processing.
+ *Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For
+ * example, 2022-05-04T12:32:58.789000-07:00
represents a Medical Scribe job
+ * that started processing at 12:32 PM UTC-7 on May 4, 2022.
The date and time the specified Medical Scribe job finished processing.
+ *Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For
+ * example, 2022-05-04T12:32:58.761000-07:00
represents a Medical Scribe job
+ * that finished processing at 12:32 PM UTC-7 on May 4, 2022.
The language code used to create your Medical Scribe job. US English
+ * (en-US
) is the only supported language for Medical Scribe jobs.
Provides the status of the specified Medical Scribe job.
+ *If the status is COMPLETED
, the job is finished and you can find the
+ * results at the location specified in MedicalScribeOutput
If
+ * the status is FAILED
, FailureReason
provides details on why
+ * your Medical Scribe job failed.
If MedicalScribeJobStatus
is FAILED
,
+ * FailureReason
contains information about why the transcription job
+ * failed. See also: Common Errors.
Lists all Medical Scribe jobs that have the status specified in your request. + * Jobs are ordered by creation date, with the newest job first.
+ */ + Status?: MedicalScribeJobStatus; + + /** + * @public + *If NextToken
is present in your response, it indicates that not all
+ * results are displayed. To view the next set of results, copy the string associated with
+ * the NextToken
parameter in your results output, then run your request again
+ * including NextToken
with the value of the copied string. Repeat as needed
+ * to view all your results.
Provides a summary of information about each result.
+ */ + MedicalScribeJobSummaries?: MedicalScribeJobSummary[]; +} + /** * @public */ @@ -3623,7 +4075,7 @@ export interface ListMedicalTranscriptionJobsRequest { /** * @public *Returns only medical transcription jobs with the specified status. Jobs are ordered by
- * creation date, with the newest job first. If you don't include Status
, all
+ * creation date, with the newest job first. If you do not include Status
, all
* medical transcription jobs are returned.
The maximum number of medical transcription jobs to return in each page of results. If * there are fewer results than the value that you specify, only the actual results are - * returned. If you don't specify a value, a default of 5 is used.
+ * returned. If you do not specify a value, a default of 5 is used. */ MaxResults?: number; } @@ -3812,14 +4264,14 @@ export interface ListMedicalVocabulariesRequest { * @public *The maximum number of custom medical vocabularies to return in each page of results. * If there are fewer results than the value that you specify, only the actual results are - * returned. If you don't specify a value, a default of 5 is used.
+ * returned. If you do not specify a value, a default of 5 is used. */ MaxResults?: number; /** * @public *Returns only custom medical vocabularies with the specified state. Custom vocabularies
- * are ordered by creation date, with the newest vocabulary first. If you don't include
+ * are ordered by creation date, with the newest vocabulary first. If you do not include
* StateEquals
, all custom medical vocabularies are returned.
Returns only transcription jobs with the specified status. Jobs are ordered by
- * creation date, with the newest job first. If you don't include Status
, all
+ * creation date, with the newest job first. If you do not include Status
, all
* transcription jobs are returned.
The maximum number of transcription jobs to return in each page of results. If there * are fewer results than the value that you specify, only the actual results are returned. - * If you don't specify a value, a default of 5 is used.
+ * If you do not specify a value, a default of 5 is used. */ MaxResults?: number; } @@ -4160,14 +4612,14 @@ export interface ListVocabulariesRequest { * @public *The maximum number of custom vocabularies to return in each page of results. If there * are fewer results than the value that you specify, only the actual results are returned. - * If you don't specify a value, a default of 5 is used.
+ * If you do not specify a value, a default of 5 is used. */ MaxResults?: number; /** * @public *Returns only custom vocabularies with the specified state. Vocabularies are ordered by
- * creation date, with the newest vocabulary first. If you don't include
+ * creation date, with the newest vocabulary first. If you do not include
* StateEquals
, all custom medical vocabularies are returned.
The maximum number of custom vocabulary filters to return in each page of results. If * there are fewer results than the value that you specify, only the actual results are - * returned. If you don't specify a value, a default of 5 is used.
+ * returned. If you do not specify a value, a default of 5 is used. */ MaxResults?: number; @@ -4336,9 +4788,9 @@ export interface StartCallAnalyticsJobRequest { * value that matches the name you specified for your transcription job using the *CallAnalyticsJobName
parameter.
* You can specify a KMS key to encrypt your output using the
- * OutputEncryptionKMSKeyId
parameter. If you don't specify a KMS key, Amazon Transcribe uses the default Amazon S3 key for
+ * OutputEncryptionKMSKeyId
parameter. If you do not specify a KMS key, Amazon Transcribe uses the default Amazon S3 key for
* server-side encryption.
If you don't specify OutputLocation
, your transcript is placed in a
+ *
If you do not specify OutputLocation
, your transcript is placed in a
* service-managed Amazon S3 bucket and you are provided with a URI to access your
* transcript.
arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
*
- * If you don't specify an encryption key, your output is encrypted with the default + *
If you do not specify an encryption key, your output is encrypted with the default * Amazon S3 key (SSE-S3).
*If you specify a KMS key to encrypt your output, you must also specify
* an output location using the OutputLocation
parameter.
A unique name, chosen by you, for your Medical Scribe job.
+ *This name is case sensitive, cannot contain spaces, and must be unique within an
+ * Amazon Web Services account. If you try to create a new job with the same name as an
+ * existing job, you get a ConflictException
error.
Describes the Amazon S3 location of the media file you want to use in your + * request.
+ *For information on supported media formats, refer to the MediaFormat
+ * parameter or the Media formats section
+ * in the Amazon S3 Developer Guide.
The name of the Amazon S3 bucket where you want your Medical Scribe
+ * output stored. Do not include the S3://
prefix of the specified
+ * bucket.
Note that the role specified in the DataAccessRoleArn
request parameter
+ * must have permission to use the specified location. You
+ * can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions Required for IAM User Roles.
The KMS key you want to use to encrypt your Medical Scribe + * output.
+ *If using a key located in the current + * Amazon Web Services account, you can specify your KMS key in one of four + * ways:
+ *Use the KMS key ID itself. For example,
+ * 1234abcd-12ab-34cd-56ef-1234567890ab
.
Use an alias for the KMS key ID. For example,
+ * alias/ExampleAlias
.
Use the Amazon Resource Name (ARN) for the KMS key ID. For
+ * example,
+ * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,
+ * arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If using a key located in a different + * Amazon Web Services account than the current Amazon Web Services account, you can specify + * your KMS key in one of two ways:
+ *Use the ARN for the KMS key ID. For example,
+ * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,
+ * arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If you do not specify an encryption key, your output is encrypted with the default + * Amazon S3 key (SSE-S3).
+ *Note that the role specified in the DataAccessRoleArn
request parameter
+ * must have permission to use the specified KMS key.
A map of plain text, non-secret key:value pairs, known as encryption context pairs, + * that provide an added layer of security for your data. For more information, see KMS encryption context and Asymmetric keys in KMS.
+ */ + KMSEncryptionContext?: RecordThe Amazon Resource Name (ARN) of an IAM role that has permissions to + * access the Amazon S3 bucket that contains your input files, + * write to the output bucket, and use your KMS key if supplied. + * If the role that you specify doesn’t have the appropriate permissions your request fails.
+ *IAM role ARNs have the format
+ * arn:partition:iam::account:role/role-name-with-path
. For example:
+ * arn:aws:iam::111122223333:role/Admin
.
For more information, see IAM + * ARNs.
+ */ + DataAccessRoleArn: string | undefined; + + /** + * @public + *Makes it possible to control how your Medical Scribe job is processed using a
+ * MedicalScribeSettings
object. Specify ChannelIdentification
if
+ * ChannelDefinitions
are set. Enabled ShowSpeakerLabels
if ChannelIdentification
+ * and ChannelDefinitions
are not set. One and only one of ChannelIdentification
and ShowSpeakerLabels
+ * must be set. If ShowSpeakerLabels
is set, MaxSpeakerLabels
must also be set. Use Settings
+ * to specify a vocabulary or vocabulary filter or both using VocabularyName
, VocabularyFilterName
.
+ * VocabularyFilterMethod
must be specified if VocabularyFilterName
is set.
+ *
Makes it possible to specify which speaker is on which channel. For example, if the clinician
+ * is the first participant to speak, you would set ChannelId
of the first ChannelDefinition
+ * in the list to 0
(to indicate the first channel) and ParticipantRole
to
+ * CLINICIAN
(to indicate that it's the clinician speaking).
+ * Then you would set the ChannelId
of the second ChannelDefinition
in the list to
+ * 1
(to indicate the second channel) and ParticipantRole
to
+ * PATIENT
(to indicate that it's the patient speaking).
+ *
Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.
+ *To learn more about using tags with Amazon Transcribe, refer to Tagging + * resources.
+ */ + Tags?: Tag[]; +} + +/** + * @public + */ +export interface StartMedicalScribeJobResponse { + /** + * @public + *Provides detailed information about the current Medical Scribe job, including + * job status and, if applicable, failure reason.
+ */ + MedicalScribeJob?: MedicalScribeJob; +} + /** * @public */ @@ -4462,7 +5062,7 @@ export interface StartMedicalTranscriptionJobRequest { /** * @public *The sample rate, in hertz, of the audio track in your input media file.
- *If you don't specify the media sample rate, Amazon Transcribe Medical determines it + *
If you do not specify the media sample rate, Amazon Transcribe Medical determines it
* for you. If you specify the sample rate, it must match the rate detected by Amazon Transcribe Medical; if there's a mismatch between the value that you specify and the
* value detected, your job fails. Therefore, in most cases, it's advised to omit
* MediaSampleRateHertz
and let Amazon Transcribe Medical determine the
@@ -4480,7 +5080,8 @@ export interface StartMedicalTranscriptionJobRequest {
* @public
*
Describes the Amazon S3 location of the media file you want to use in your * request.
- *For information on supported media formats, refer to the MediaFormat parameter or the Media formats section + *
For information on supported media formats, refer to the MediaFormat
+ * parameter or the Media formats section
* in the Amazon S3 Developer Guide.
arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
*
- * If you don't specify an encryption key, your output is encrypted with the default + *
If you do not specify an encryption key, your output is encrypted with the default * Amazon S3 key (SSE-S3).
*If you specify a KMS key to encrypt your output, you must also specify
* an output location using the OutputLocation
parameter.
The sample rate, in hertz, of the audio track in your input media file.
- *If you don't specify the media sample rate, Amazon Transcribe determines it for you. + *
If you do not specify the media sample rate, Amazon Transcribe determines it for you.
* If you specify the sample rate, it must match the rate detected by Amazon Transcribe.
* If there's a mismatch between the value that you specify and the value detected, your
* job fails. In most cases, you can omit MediaSampleRateHertz
and let Amazon Transcribe determine the sample rate.
OutputKey
to test-files/
.
* Note that Amazon Transcribe must have permission to use the specified location. You * can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions Required for IAM User Roles.
- *If you don't specify OutputBucketName
, your transcript is placed in a
+ *
If you do not specify OutputBucketName
, your transcript is placed in a
* service-managed Amazon S3 bucket and you are provided with a URI to access your
* transcript.
arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
*
- * If you don't specify an encryption key, your output is encrypted with the default + *
If you do not specify an encryption key, your output is encrypted with the default * Amazon S3 key (SSE-S3).
*If you specify a KMS key to encrypt your output, you must also specify
* an output location using the OutputLocation
parameter.
Specify additional optional settings in your request, including channel identification, alternative transcriptions, speaker + *
Specify additional optional settings in your + * request, including channel identification, alternative transcriptions, speaker * partitioning. You can use that to apply custom vocabularies and vocabulary filters.
*If you want to include a custom vocabulary or a custom vocabulary filter (or both) * with your request but do not want to use automatic @@ -4891,10 +5493,11 @@ export interface StartTranscriptionJobRequest { /** * @public - *
Makes it possible to redact or flag specified personally identifiable information
- * (PII) in your transcript. If you use ContentRedaction
, you must also
- * include the sub-parameters: PiiEntityTypes
, RedactionOutput
,
- * and RedactionType
.
Makes it possible to redact or flag specified personally identifiable information (PII) in
+ * your transcript. If you use ContentRedaction
, you must also include the
+ * sub-parameters: RedactionOutput
and RedactionType
. You can
+ * optionally include PiiEntityTypes
to choose which types of PII you want to redact.
+ * If you do not include PiiEntityTypes
in your request, all PII is redacted.
The language code used to create your Call Analytics job. For a list of supported\n languages and their associated language codes, refer to the Supported languages\n table.
\nIf you don't know the language spoken in your media file, you can omit this field and\n let Amazon Transcribe automatically identify the language of your media. To improve the\n accuracy of language identification, you can include several language codes and Amazon Transcribe chooses the closest match for your transcription.
" + "smithy.api#documentation": "The language code used to create your Call Analytics job. For a list of supported\n languages and their associated language codes, refer to the Supported languages\n table.
\nIf you do not know the language spoken in your media file, you can omit this field and\n let Amazon Transcribe automatically identify the language of your media. To improve the\n accuracy of language identification, you can include several language codes and Amazon Transcribe chooses the closest match for your transcription.
" } }, "MediaSampleRateHertz": { @@ -204,7 +204,7 @@ "FailureReason": { "target": "com.amazonaws.transcribe#FailureReason", "traits": { - "smithy.api#documentation": "If CallAnalyticsJobStatus
is FAILED
,\n FailureReason
contains information about why the Call Analytics job\n request failed.
The FailureReason
field contains one of the following values:
\n Unsupported media format
.
The media format specified in MediaFormat
isn't valid. Refer to\n MediaFormat for a list of supported\n formats.
\n The media format provided does not match the detected media\n format
.
The media format specified in MediaFormat
doesn't match the\n format of the input file. Check the media format of your media file and correct\n the specified value.
\n Invalid sample rate for audio file
.
The sample rate specified in MediaSampleRateHertz
isn't valid.\n The sample rate must be between 8,000 and 48,000 hertz.
\n The sample rate provided does not match the detected sample\n rate
.
The sample rate specified in MediaSampleRateHertz
doesn't match\n the sample rate detected in your input media file. Check the sample rate of your\n media file and correct the specified value.
\n Invalid file size: file size too large
.
The size of your media file is larger than what Amazon Transcribe can\n process. For more information, refer to Guidelines and\n quotas.
\n\n Invalid number of channels: number of channels too large
.
Your audio contains more channels than Amazon Transcribe is able to process.\n For more information, refer to Guidelines and\n quotas.
\nIf CallAnalyticsJobStatus
is FAILED
,\n FailureReason
contains information about why the Call Analytics job\n request failed.
The FailureReason
field contains one of the following values:
\n Unsupported media format
.
The media format specified in MediaFormat
isn't valid. Refer to\n refer to the MediaFormat
parameter for a list of supported\n formats.
\n The media format provided does not match the detected media\n format
.
The media format specified in MediaFormat
doesn't match the\n format of the input file. Check the media format of your media file and correct\n the specified value.
\n Invalid sample rate for audio file
.
The sample rate specified in MediaSampleRateHertz
isn't valid.\n The sample rate must be between 8,000 and 48,000 hertz.
\n The sample rate provided does not match the detected sample\n rate
.
The sample rate specified in MediaSampleRateHertz
doesn't match\n the sample rate detected in your input media file. Check the sample rate of your\n media file and correct the specified value.
\n Invalid file size: file size too large
.
The size of your media file is larger than what Amazon Transcribe can\n process. For more information, refer to Service \n quotas.
\n\n Invalid number of channels: number of channels too large
.
Your audio contains more channels than Amazon Transcribe is able to process.\n For more information, refer to Service \n quotas.
\nThe name of the custom language model you want to use when processing your Call\n Analytics job. Note that custom language model names are case sensitive.
\nThe language of the specified custom language model must match the language code that\n you specify in your transcription request. If the languages don't match, the custom\n language model isn't applied. There are no errors or warnings associated with a language\n mismatch.
" + "smithy.api#documentation": "The name of the custom language model you want to use when processing your Call\n Analytics job. Note that custom language model names are case sensitive.
\nThe language of the specified custom language model must match the language code that\n you specify in your transcription request. If the languages do not match, the custom\n language model isn't applied. There are no errors or warnings associated with a language\n mismatch.
" } }, "ContentRedaction": { @@ -500,7 +500,7 @@ "RedactionType": { "target": "com.amazonaws.transcribe#RedactionType", "traits": { - "smithy.api#documentation": "Specify the category of information you want to redact; PII
(personally\n identifiable information) is the only valid value. You can use\n PiiEntityTypes
to choose which types of PII you want to redact.
Specify the category of information you want to redact; PII
(personally\n identifiable information) is the only valid value. You can use PiiEntityTypes
to \n choose which types of PII you want to redact. If you do not include PiiEntityTypes
in \n your request, all PII is redacted.
Specify which types of personally identifiable information (PII) you want to redact in\n your transcript. You can include as many types as you'd like, or you can select\n ALL
.
Specify which types of personally identifiable information (PII) you want to redact in\n your transcript. You can include as many types as you'd like, or you can select\n ALL
. If you do not include PiiEntityTypes
in your request, all PII is \n redacted.
Makes it possible to redact or flag specified personally identifiable information\n (PII) in your transcript. If you use ContentRedaction
, you must also\n include the sub-parameters: PiiEntityTypes
, RedactionOutput
,\n and RedactionType
.
Makes it possible to redact or flag specified personally identifiable information (PII) in \n your transcript. If you use ContentRedaction
, you must also include the \n sub-parameters: RedactionOutput
and RedactionType
. You can \n optionally include PiiEntityTypes
to choose which types of PII you want to \n redact.
The language code that represents the language of your model. Each custom language\n model must contain terms in only one language, and the language you select for your\n custom language model must match the language of your training and tuning data.
\nFor a list of supported languages and their associated language codes, refer to the\n Supported languages table. Note that\n US English\n (en-US
) is the only language supported with Amazon Transcribe\n Medical.
A custom language model can only be used to transcribe files in the same language as\n the model. For example, if you create a custom language model using US English\n (en-US
), you can only apply this model to files that contain English\n audio.
The language code that represents the language of your model. Each custom language\n model must contain terms in only one language, and the language you select for your\n custom language model must match the language of your training and tuning data.
\nFor a list of supported languages and their associated language codes, refer to the\n Supported languages table. Note that US English (en-US
) is the \n only language supported with Amazon Transcribe Medical.
A custom language model can only be used to transcribe files in the same language as\n the model. For example, if you create a custom language model using US English\n (en-US
), you can only apply this model to files that contain English\n audio.
Deletes a Medical Scribe job. To use this operation, specify the name of the\n job you want to delete using MedicalScribeJobName
. Job names are\n case sensitive.
The name of the Medical Scribe job you want to delete. Job names are case\n sensitive.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, "com.amazonaws.transcribe#DeleteMedicalTranscriptionJob": { "type": "operation", "input": { @@ -1613,6 +1657,67 @@ "smithy.api#output": {} } }, + "com.amazonaws.transcribe#GetMedicalScribeJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.transcribe#GetMedicalScribeJobRequest" + }, + "output": { + "target": "com.amazonaws.transcribe#GetMedicalScribeJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.transcribe#BadRequestException" + }, + { + "target": "com.amazonaws.transcribe#InternalFailureException" + }, + { + "target": "com.amazonaws.transcribe#LimitExceededException" + }, + { + "target": "com.amazonaws.transcribe#NotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "Provides information about the specified Medical Scribe job.
\nTo view the status of the specified medical transcription job, check the\n MedicalScribeJobStatus
field. If the status is COMPLETED
,\n the job is finished. You can find the results at the location specified in\n MedicalScribeOutput
. \n If the status is FAILED
, FailureReason
provides details on why your Medical Scribe job\n failed.
To get a list of your Medical Scribe jobs, use the operation.
", + "smithy.api#http": { + "method": "GET", + "uri": "/medicalscribejobs/{MedicalScribeJobName}", + "code": 200 + } + } + }, + "com.amazonaws.transcribe#GetMedicalScribeJobRequest": { + "type": "structure", + "members": { + "MedicalScribeJobName": { + "target": "com.amazonaws.transcribe#TranscriptionJobName", + "traits": { + "smithy.api#documentation": "The name of the Medical Scribe job you want information about. Job names are\n case sensitive.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.transcribe#GetMedicalScribeJobResponse": { + "type": "structure", + "members": { + "MedicalScribeJob": { + "target": "com.amazonaws.transcribe#MedicalScribeJob", + "traits": { + "smithy.api#documentation": "Provides detailed information about the specified Medical Scribe job, including \n job status and, if applicable, failure reason
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.transcribe#GetMedicalTranscriptionJob": { "type": "operation", "input": { @@ -1757,7 +1862,7 @@ "DownloadUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "The S3 location where the specified custom medical vocabulary is stored; use this URI\n to view or download the custom vocabulary.
" + "smithy.api#documentation": "The Amazon S3 location where the specified custom medical vocabulary is stored; use this URI\n to view or download the custom vocabulary.
" } } }, @@ -1988,7 +2093,7 @@ "DownloadUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "The S3 location where the custom vocabulary is stored; use this URI to view or\n download the custom vocabulary.
" + "smithy.api#documentation": "The Amazon S3 location where the custom vocabulary is stored; use this URI to view or\n download the custom vocabulary.
" } } }, @@ -2795,19 +2900,19 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "The name of the custom vocabulary you want to use when processing your transcription\n job. Custom vocabulary names are case sensitive.
\nThe language of the specified custom vocabulary must match the language code that you\n specify in your transcription request. If the languages don't match, the custom\n vocabulary isn't applied. There are no errors or warnings associated with a language\n mismatch.
" + "smithy.api#documentation": "The name of the custom vocabulary you want to use when processing your transcription\n job. Custom vocabulary names are case sensitive.
\nThe language of the specified custom vocabulary must match the language code that you\n specify in your transcription request. If the languages do not match, the custom\n vocabulary isn't applied. There are no errors or warnings associated with a language\n mismatch.
" } }, "VocabularyFilterName": { "target": "com.amazonaws.transcribe#VocabularyFilterName", "traits": { - "smithy.api#documentation": "The name of the custom vocabulary filter you want to use when processing your\n transcription job. Custom vocabulary filter names are case sensitive.
\nThe language of the specified custom vocabulary filter must match the language code\n that you specify in your transcription request. If the languages don't match, the custom\n vocabulary filter isn't applied. There are no errors or warnings associated with a\n language mismatch.
\nNote that if you include VocabularyFilterName
in your request, you must\n also include VocabularyFilterMethod
.
The name of the custom vocabulary filter you want to use when processing your\n transcription job. Custom vocabulary filter names are case sensitive.
\nThe language of the specified custom vocabulary filter must match the language code\n that you specify in your transcription request. If the languages do not match, the custom\n vocabulary filter isn't applied. There are no errors or warnings associated with a\n language mismatch.
\nNote that if you include VocabularyFilterName
in your request, you must\n also include VocabularyFilterMethod
.
The name of the custom language model you want to use when processing your\n transcription job. Note that custom language model names are case sensitive.
\nThe language of the specified custom language model must match the language code that\n you specify in your transcription request. If the languages don't match, the custom\n language model isn't applied. There are no errors or warnings associated with a language\n mismatch.
" + "smithy.api#documentation": "The name of the custom language model you want to use when processing your\n transcription job. Note that custom language model names are case sensitive.
\nThe language of the specified custom language model must match the language code that\n you specify in your transcription request. If the languages do not match, the custom\n language model isn't applied. There are no errors or warnings associated with a language\n mismatch.
" } } }, @@ -2854,7 +2959,7 @@ "LanguageCode": { "target": "com.amazonaws.transcribe#CLMLanguageCode", "traits": { - "smithy.api#documentation": "The language code used to create your custom language model. Each custom language\n model must contain terms in only one language, and the language you select for your\n custom language model must match the language of your training and tuning data.
\nFor a list of supported languages and their associated language codes, refer to the\n Supported languages table. Note that U.S. English (en-US
) is\n the only language supported with Amazon Transcribe Medical.
The language code used to create your custom language model. Each custom language\n model must contain terms in only one language, and the language you select for your\n custom language model must match the language of your training and tuning data.
\nFor a list of supported languages and their associated language codes, refer to the\n Supported languages table. Note that US English (en-US
) is\n the only language supported with Amazon Transcribe Medical.
The maximum number of Call Analytics categories to return in each page of results. If\n there are fewer results than the value that you specify, only the actual results are\n returned. If you don't specify a value, a default of 5 is used.
", + "smithy.api#documentation": "The maximum number of Call Analytics categories to return in each page of results. If\n there are fewer results than the value that you specify, only the actual results are\n returned. If you do not specify a value, a default of 5 is used.
", "smithy.api#httpQuery": "MaxResults" } } @@ -3030,7 +3135,7 @@ "Status": { "target": "com.amazonaws.transcribe#CallAnalyticsJobStatus", "traits": { - "smithy.api#documentation": "Returns only Call Analytics jobs with the specified status. Jobs are ordered by\n creation date, with the newest job first. If you don't include Status
, all\n Call Analytics jobs are returned.
Returns only Call Analytics jobs with the specified status. Jobs are ordered by\n creation date, with the newest job first. If you do not include Status
, all\n Call Analytics jobs are returned.
The maximum number of Call Analytics jobs to return in each page of results. If there\n are fewer results than the value that you specify, only the actual results are returned.\n If you don't specify a value, a default of 5 is used.
", + "smithy.api#documentation": "The maximum number of Call Analytics jobs to return in each page of results. If there\n are fewer results than the value that you specify, only the actual results are returned.\n If you do not specify a value, a default of 5 is used.
", "smithy.api#httpQuery": "MaxResults" } } @@ -3125,7 +3230,7 @@ "StatusEquals": { "target": "com.amazonaws.transcribe#ModelStatus", "traits": { - "smithy.api#documentation": "Returns only custom language models with the specified status. Language models are\n ordered by creation date, with the newest model first. If you don't include\n StatusEquals
, all custom language models are returned.
Returns only custom language models with the specified status. Language models are\n ordered by creation date, with the newest model first. If you do not include\n StatusEquals
, all custom language models are returned.
The maximum number of custom language models to return in each page of results. If\n there are fewer results than the value that you specify, only the actual results are\n returned. If you don't specify a value, a default of 5 is used.
", + "smithy.api#documentation": "The maximum number of custom language models to return in each page of results. If\n there are fewer results than the value that you specify, only the actual results are\n returned. If you do not specify a value, a default of 5 is used.
", "smithy.api#httpQuery": "MaxResults" } } @@ -3175,6 +3280,101 @@ "smithy.api#output": {} } }, + "com.amazonaws.transcribe#ListMedicalScribeJobs": { + "type": "operation", + "input": { + "target": "com.amazonaws.transcribe#ListMedicalScribeJobsRequest" + }, + "output": { + "target": "com.amazonaws.transcribe#ListMedicalScribeJobsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.transcribe#BadRequestException" + }, + { + "target": "com.amazonaws.transcribe#InternalFailureException" + }, + { + "target": "com.amazonaws.transcribe#LimitExceededException" + } + ], + "traits": { + "smithy.api#documentation": "Provides a list of Medical Scribe jobs that match the specified criteria. If no\n criteria are specified, all Medical Scribe jobs are returned.
\nTo get detailed information about a specific Medical Scribe job, use the operation.
", + "smithy.api#http": { + "method": "GET", + "uri": "/medicalscribejobs", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.transcribe#ListMedicalScribeJobsRequest": { + "type": "structure", + "members": { + "Status": { + "target": "com.amazonaws.transcribe#MedicalScribeJobStatus", + "traits": { + "smithy.api#documentation": "Returns only Medical Scribe jobs with the specified status. Jobs are ordered by\n creation date, with the newest job first. If you do not include Status
, all\n Medical Scribe jobs are returned.
Returns only the Medical Scribe jobs that contain the specified string. The\n search is not case sensitive.
", + "smithy.api#httpQuery": "JobNameContains" + } + }, + "NextToken": { + "target": "com.amazonaws.transcribe#NextToken", + "traits": { + "smithy.api#documentation": "If your ListMedicalScribeJobs
request returns more results than\n can be displayed, NextToken
is displayed in the response with an associated\n string. To get the next page of results, copy this string and repeat your request,\n including NextToken
with the value of the copied string. Repeat as needed\n to view all your results.
The maximum number of Medical Scribe jobs to return in each page of results. If\n there are fewer results than the value that you specify, only the actual results are\n returned. If you do not specify a value, a default of 5 is used.
", + "smithy.api#httpQuery": "MaxResults" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.transcribe#ListMedicalScribeJobsResponse": { + "type": "structure", + "members": { + "Status": { + "target": "com.amazonaws.transcribe#MedicalScribeJobStatus", + "traits": { + "smithy.api#documentation": "Lists all Medical Scribe jobs that have the status specified in your request.\n Jobs are ordered by creation date, with the newest job first.
" + } + }, + "NextToken": { + "target": "com.amazonaws.transcribe#NextToken", + "traits": { + "smithy.api#documentation": "If NextToken
is present in your response, it indicates that not all\n results are displayed. To view the next set of results, copy the string associated with\n the NextToken
parameter in your results output, then run your request again\n including NextToken
with the value of the copied string. Repeat as needed\n to view all your results.
Provides a summary of information about each result.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.transcribe#ListMedicalTranscriptionJobs": { "type": "operation", "input": { @@ -3214,7 +3414,7 @@ "Status": { "target": "com.amazonaws.transcribe#TranscriptionJobStatus", "traits": { - "smithy.api#documentation": "Returns only medical transcription jobs with the specified status. Jobs are ordered by\n creation date, with the newest job first. If you don't include Status
, all\n medical transcription jobs are returned.
Returns only medical transcription jobs with the specified status. Jobs are ordered by\n creation date, with the newest job first. If you do not include Status
, all\n medical transcription jobs are returned.
The maximum number of medical transcription jobs to return in each page of results. If\n there are fewer results than the value that you specify, only the actual results are\n returned. If you don't specify a value, a default of 5 is used.
", + "smithy.api#documentation": "The maximum number of medical transcription jobs to return in each page of results. If\n there are fewer results than the value that you specify, only the actual results are\n returned. If you do not specify a value, a default of 5 is used.
", "smithy.api#httpQuery": "MaxResults" } } @@ -3316,14 +3516,14 @@ "MaxResults": { "target": "com.amazonaws.transcribe#MaxResults", "traits": { - "smithy.api#documentation": "The maximum number of custom medical vocabularies to return in each page of results.\n If there are fewer results than the value that you specify, only the actual results are\n returned. If you don't specify a value, a default of 5 is used.
", + "smithy.api#documentation": "The maximum number of custom medical vocabularies to return in each page of results.\n If there are fewer results than the value that you specify, only the actual results are\n returned. If you do not specify a value, a default of 5 is used.
", "smithy.api#httpQuery": "MaxResults" } }, "StateEquals": { "target": "com.amazonaws.transcribe#VocabularyState", "traits": { - "smithy.api#documentation": "Returns only custom medical vocabularies with the specified state. Custom vocabularies\n are ordered by creation date, with the newest vocabulary first. If you don't include\n StateEquals
, all custom medical vocabularies are returned.
Returns only custom medical vocabularies with the specified state. Custom vocabularies\n are ordered by creation date, with the newest vocabulary first. If you do not include\n StateEquals
, all custom medical vocabularies are returned.
Returns only transcription jobs with the specified status. Jobs are ordered by\n creation date, with the newest job first. If you don't include Status
, all\n transcription jobs are returned.
Returns only transcription jobs with the specified status. Jobs are ordered by\n creation date, with the newest job first. If you do not include Status
, all\n transcription jobs are returned.
The maximum number of transcription jobs to return in each page of results. If there\n are fewer results than the value that you specify, only the actual results are returned.\n If you don't specify a value, a default of 5 is used.
", + "smithy.api#documentation": "The maximum number of transcription jobs to return in each page of results. If there\n are fewer results than the value that you specify, only the actual results are returned.\n If you do not specify a value, a default of 5 is used.
", "smithy.api#httpQuery": "MaxResults" } } @@ -3573,14 +3773,14 @@ "MaxResults": { "target": "com.amazonaws.transcribe#MaxResults", "traits": { - "smithy.api#documentation": "The maximum number of custom vocabularies to return in each page of results. If there\n are fewer results than the value that you specify, only the actual results are returned.\n If you don't specify a value, a default of 5 is used.
", + "smithy.api#documentation": "The maximum number of custom vocabularies to return in each page of results. If there\n are fewer results than the value that you specify, only the actual results are returned.\n If you do not specify a value, a default of 5 is used.
", "smithy.api#httpQuery": "MaxResults" } }, "StateEquals": { "target": "com.amazonaws.transcribe#VocabularyState", "traits": { - "smithy.api#documentation": "Returns only custom vocabularies with the specified state. Vocabularies are ordered by\n creation date, with the newest vocabulary first. If you don't include\n StateEquals
, all custom medical vocabularies are returned.
Returns only custom vocabularies with the specified state. Vocabularies are ordered by\n creation date, with the newest vocabulary first. If you do not include\n StateEquals
, all custom medical vocabularies are returned.
The maximum number of custom vocabulary filters to return in each page of results. If\n there are fewer results than the value that you specify, only the actual results are\n returned. If you don't specify a value, a default of 5 is used.
", + "smithy.api#documentation": "The maximum number of custom vocabulary filters to return in each page of results. If\n there are fewer results than the value that you specify, only the actual results are\n returned. If you do not specify a value, a default of 5 is used.
", "smithy.api#httpQuery": "MaxResults" } }, @@ -3748,7 +3948,7 @@ } }, "traits": { - "smithy.api#documentation": "Describes the Amazon S3 location of the media file you want to use in your\n request.
\nFor information on supported media formats, refer to the MediaFormat parameter or the Media formats section \n in the Amazon S3 Developer Guide.
" + "smithy.api#documentation": "Describes the Amazon S3 location of the media file you want to use in your\n request.
\nFor information on supported media formats, refer to the MediaFormat
\n parameter or the Media formats section \n in the Amazon S3 Developer Guide.
Specify the audio channel you want to define.
", + "smithy.api#required": {} + } + }, + "ParticipantRole": { + "target": "com.amazonaws.transcribe#MedicalScribeParticipantRole", + "traits": { + "smithy.api#documentation": "Specify the participant that you want to flag. \n The options are CLINICIAN
and PATIENT
\n
Indicates which speaker is on which channel. The options are \n CLINICIAN
and PATIENT
\n
The name of the Medical Scribe job. Job names are case sensitive and must be\n unique within an Amazon Web Services account.
" + } + }, + "MedicalScribeJobStatus": { + "target": "com.amazonaws.transcribe#MedicalScribeJobStatus", + "traits": { + "smithy.api#documentation": "Provides the status of the specified Medical Scribe job.
\nIf the status is COMPLETED
, the job is finished and you can find the\n results at the location specified in MedicalScribeOutput
If\n the status is FAILED
, FailureReason
provides details on why\n your Medical Scribe job failed.
The language code used to create your Medical Scribe job. US English\n (en-US
) is the only supported language for Medical Scribe jobs.
The location of the output of your Medical Scribe job. \n ClinicalDocumentUri
holds the Amazon S3 URI for the Clinical Document \n and TranscriptFileUri
holds the Amazon S3 URI for the Transcript.
The date and time your Medical Scribe job began processing.
\nTimestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For\n example, 2022-05-04T12:32:58.789000-07:00
represents a Medical Scribe job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.
The date and time the specified Medical Scribe job request was made.
\nTimestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For\n example, 2022-05-04T12:32:58.761000-07:00
represents a Medical Scribe job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.
The date and time the specified Medical Scribe job finished processing.
\nTimestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For\n example, 2022-05-04T12:32:58.761000-07:00
represents a Medical Scribe job\n that finished processing at 12:32 PM UTC-7 on May 4, 2022.
If MedicalScribeJobStatus
is FAILED
,\n FailureReason
contains information about why the transcription job\n failed. See also: Common Errors.
Makes it possible to control how your Medical Scribe job is processed using a\n MedicalScribeSettings
object. Specify ChannelIdentification
if \n ChannelDefinitions
are set. Enabled ShowSpeakerLabels
if ChannelIdentification
\n and ChannelDefinitions
are not set. One and only one of ChannelIdentification
and ShowSpeakerLabels
\n must be set. If ShowSpeakerLabels
is set, MaxSpeakerLabels
must also be set. Use Settings
\n to specify a vocabulary or vocabulary filter or both using VocabularyName
, VocabularyFilterName
. \n VocabularyFilterMethod
must be specified if VocabularyFilterName
is set.\n
The Amazon Resource Name (ARN) of an IAM role that has permissions to\n access the Amazon S3 bucket that contains your input files, \n write to the output bucket, and use your KMS key if supplied. \n If the role that you specify doesn’t have the appropriate permissions your request fails.
\nIAM role ARNs have the format\n arn:partition:iam::account:role/role-name-with-path
. For example:\n arn:aws:iam::111122223333:role/Admin
.
For more information, see IAM\n ARNs.
" + } + }, + "ChannelDefinitions": { + "target": "com.amazonaws.transcribe#MedicalScribeChannelDefinitions", + "traits": { + "smithy.api#documentation": "Makes it possible to specify which speaker is on which channel. For example, if the clinician\n is the first participant to speak, you would set ChannelId
of the first ChannelDefinition
\n in the list to 0
(to indicate the first channel) and ParticipantRole
to\n CLINICIAN
(to indicate that it's the clinician speaking).\n Then you would set the ChannelId
of the second ChannelDefinition
in the list to\n 1
(to indicate the second channel) and ParticipantRole
to\n PATIENT
(to indicate that it's the patient speaking).\n
Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.
\nTo learn more about using tags with Amazon Transcribe, refer to Tagging\n resources.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Provides detailed information about a Medical Scribe job.
\nTo view the status of the specified Medical Scribe job, check the\n MedicalScribeJobStatus
field. If the status is COMPLETED
,\n the job is finished and you can find the results at the locations specified in\n MedicalScribeOutput
. If the status is FAILED
,\n FailureReason
provides details on why your Medical Scribe job\n failed.
The name of the Medical Scribe job. Job names are case sensitive and must be\n unique within an Amazon Web Services account.
" + } + }, + "CreationTime": { + "target": "com.amazonaws.transcribe#DateTime", + "traits": { + "smithy.api#documentation": "The date and time the specified Medical Scribe job request was made.
\nTimestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For\n example, 2022-05-04T12:32:58.761000-07:00
represents a Medical Scribe job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.
The date and time your Medical Scribe job began processing.
\nTimestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For\n example, 2022-05-04T12:32:58.789000-07:00
represents a Medical Scribe job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.
The date and time the specified Medical Scribe job finished processing.
\nTimestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For\n example, 2022-05-04T12:32:58.761000-07:00
represents a Medical Scribe job\n that finished processing at 12:32 PM UTC-7 on May 4, 2022.
The language code used to create your Medical Scribe job. US English\n (en-US
) is the only supported language for Medical Scribe jobs.
Provides the status of the specified Medical Scribe job.
\nIf the status is COMPLETED
, the job is finished and you can find the\n results at the location specified in MedicalScribeOutput
If\n the status is FAILED
, FailureReason
provides details on why\n your Medical Scribe job failed.
If MedicalScribeJobStatus
is FAILED
,\n FailureReason
contains information about why the transcription job\n failed. See also: Common Errors.
Provides detailed information about a specific Medical Scribe job.
" + } + }, + "com.amazonaws.transcribe#MedicalScribeLanguageCode": { + "type": "enum", + "members": { + "EN_US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-US" + } + } + } + }, + "com.amazonaws.transcribe#MedicalScribeOutput": { + "type": "structure", + "members": { + "TranscriptFileUri": { + "target": "com.amazonaws.transcribe#Uri", + "traits": { + "smithy.api#documentation": "Holds the Amazon S3 URI for the Transcript.
", + "smithy.api#required": {} + } + }, + "ClinicalDocumentUri": { + "target": "com.amazonaws.transcribe#Uri", + "traits": { + "smithy.api#documentation": "Holds the Amazon S3 URI for the Clinical Document.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The location of the output of your Medical Scribe job. \n ClinicalDocumentUri
holds the Amazon S3 URI for the Clinical Document \n and TranscriptFileUri
holds the Amazon S3 URI for the Transcript.
Enables speaker partitioning (diarization) in your Medical Scribe output. Speaker\n partitioning labels the speech from individual speakers in your media file.
\nIf you enable ShowSpeakerLabels
in your request, you must also include\n MaxSpeakerLabels
.
For more information, see Partitioning speakers\n (diarization).
" + } + }, + "MaxSpeakerLabels": { + "target": "com.amazonaws.transcribe#MaxSpeakers", + "traits": { + "smithy.api#documentation": "Specify the maximum number of speakers you want to partition in your media.
\nNote that if your media contains more speakers than the specified number, multiple\n speakers are treated as a single speaker.
\nIf you specify the MaxSpeakerLabels
field, you must set the\n ShowSpeakerLabels
field to true.
Enables channel identification in multi-channel audio.
\nChannel identification transcribes the audio on each channel independently, then\n appends the output for each channel into one transcript.
\nFor more information, see Transcribing multi-channel\n audio.
" + } + }, + "VocabularyName": { + "target": "com.amazonaws.transcribe#VocabularyName", + "traits": { + "smithy.api#documentation": "The name of the custom vocabulary you want to include in your Medical Scribe\n request. Custom vocabulary names are case sensitive.
" + } + }, + "VocabularyFilterName": { + "target": "com.amazonaws.transcribe#VocabularyFilterName", + "traits": { + "smithy.api#documentation": "The name of the custom vocabulary filter you want to include in your Medical Scribe\n request. Custom vocabulary filter names are case sensitive.
\nNote that if you include VocabularyFilterName
in your request, you must\n also include VocabularyFilterMethod
.
Specify how you want your custom vocabulary filter applied to your transcript.
\nTo replace words with ***
, choose mask
.
To delete words, choose remove
.
To flag words without changing them, choose tag
.
Makes it possible to control how your Medical Scribe job is processed using a\n MedicalScribeSettings
object. Specify ChannelIdentification
if \n ChannelDefinitions
are set. Enabled ShowSpeakerLabels
if ChannelIdentification
\n and ChannelDefinitions
are not set. One and only one of ChannelIdentification
and ShowSpeakerLabels
\n must be set. If ShowSpeakerLabels
is set, MaxSpeakerLabels
must also be set. Use Settings
\n to specify a vocabulary or vocabulary filter or both using VocabularyName
, VocabularyFilterName
. \n VocabularyFilterMethod
must be specified if VocabularyFilterName
is set.\n
If TranscriptionJobStatus
is FAILED
,\n FailureReason
contains information about why the transcription job\n request failed.
The FailureReason
field contains one of the following values:
\n Unsupported media format
.
The media format specified in MediaFormat
isn't valid. Refer to\n MediaFormat for a list of supported\n formats.
\n The media format provided does not match the detected media\n format
.
The media format specified in MediaFormat
doesn't match the\n format of the input file. Check the media format of your media file and correct\n the specified value.
\n Invalid sample rate for audio file
.
The sample rate specified in MediaSampleRateHertz
isn't valid.\n The sample rate must be between 16,000 and 48,000 hertz.
\n The sample rate provided does not match the detected sample\n rate
.
The sample rate specified in MediaSampleRateHertz
doesn't match\n the sample rate detected in your input media file. Check the sample rate of your\n media file and correct the specified value.
\n Invalid file size: file size too large
.
The size of your media file is larger than what Amazon Transcribe can\n process. For more information, refer to Guidelines and\n quotas.
\n\n Invalid number of channels: number of channels too large
.
Your audio contains more channels than Amazon Transcribe is able to process.\n For more information, refer to Guidelines and\n quotas.
\nIf TranscriptionJobStatus
is FAILED
,\n FailureReason
contains information about why the transcription job\n request failed.
The FailureReason
field contains one of the following values:
\n Unsupported media format
.
The media format specified in MediaFormat
isn't valid. Refer to\n refer to the MediaFormat
parameter for a list of supported\n formats.
\n The media format provided does not match the detected media\n format
.
The media format specified in MediaFormat
doesn't match the\n format of the input file. Check the media format of your media file and correct\n the specified value.
\n Invalid sample rate for audio file
.
The sample rate specified in MediaSampleRateHertz
isn't valid.\n The sample rate must be between 16,000 and 48,000 hertz.
\n The sample rate provided does not match the detected sample\n rate
.
The sample rate specified in MediaSampleRateHertz
doesn't match\n the sample rate detected in your input media file. Check the sample rate of your\n media file and correct the specified value.
\n Invalid file size: file size too large
.
The size of your media file is larger than what Amazon Transcribe can\n process. For more information, refer to Service \n quotas.
\n\n Invalid number of channels: number of channels too large
.
Your audio contains more channels than Amazon Transcribe is able to process.\n For more information, refer to Service \n quotas.
\nEnables speaker partitioning (diarization) in your transcription output. Speaker\n partitioning labels the speech from individual speakers in your media file.
\nIf you enable ShowSpeakerLabels
in your request, you must also include\n MaxSpeakerLabels
.
You can't include ShowSpeakerLabels
and\n ChannelIdentification
in the same request. Including both parameters\n returns a BadRequestException
.
For more information, see Partitioning speakers\n (diarization).
" + "smithy.api#documentation": "Enables speaker partitioning (diarization) in your transcription output. Speaker\n partitioning labels the speech from individual speakers in your media file.
\nIf you enable ShowSpeakerLabels
in your request, you must also include\n MaxSpeakerLabels
.
For more information, see Partitioning speakers\n (diarization).
" } }, "MaxSpeakerLabels": { @@ -4046,7 +4553,7 @@ "ChannelIdentification": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "Enables channel identification in multi-channel audio.
\nChannel identification transcribes the audio on each channel independently, then\n appends the output for each channel into one transcript.
\nIf you have multi-channel audio and do not enable channel identification, your audio\n is transcribed in a continuous manner and your transcript does not separate the speech\n by channel.
\nYou can't include both ShowSpeakerLabels
and\n ChannelIdentification
in the same request. Including both parameters\n returns a BadRequestException
.
For more information, see Transcribing multi-channel\n audio.
" + "smithy.api#documentation": "Enables channel identification in multi-channel audio.
\nChannel identification transcribes the audio on each channel independently, then\n appends the output for each channel into one transcript.
\nIf you have multi-channel audio and do not enable channel identification, your audio\n is transcribed in a continuous manner and your transcript does not separate the speech\n by channel.
\nFor more information, see Transcribing multi-channel\n audio.
" } }, "ShowAlternatives": { @@ -4064,7 +4571,7 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "The name of the custom vocabulary you want to use when processing your medical\n transcription job. Custom vocabulary names are case sensitive.
\nThe language of the specified custom vocabulary must match the language code that you\n specify in your transcription request. If the languages don't match, the custom\n vocabulary isn't applied. There are no errors or warnings associated with a language\n mismatch. US English (en-US
) is the only valid language for Amazon Transcribe Medical.
The name of the custom vocabulary you want to use when processing your medical\n transcription job. Custom vocabulary names are case sensitive.
\nThe language of the specified custom vocabulary must match the language code that you\n specify in your transcription request. If the languages do not match, the custom\n vocabulary isn't applied. There are no errors or warnings associated with a language\n mismatch. US English (en-US
) is the only valid language for Amazon Transcribe Medical.
The name of the custom language model you want to use when processing your\n transcription job. Note that custom language model names are case sensitive.
\nThe language of the specified custom language model must match the language code that\n you specify in your transcription request. If the languages don't match, the custom\n language model isn't applied. There are no errors or warnings associated with a language\n mismatch.
" + "smithy.api#documentation": "The name of the custom language model you want to use when processing your\n transcription job. Note that custom language model names are case sensitive.
\nThe language of the specified custom language model must match the language code that\n you specify in your transcription request. If the languages do not match, the custom\n language model isn't applied. There are no errors or warnings associated with a language\n mismatch.
" } } }, @@ -4554,7 +5061,7 @@ "ShowSpeakerLabels": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "Enables speaker partitioning (diarization) in your transcription output. Speaker\n partitioning labels the speech from individual speakers in your media file.
\nIf you enable ShowSpeakerLabels
in your request, you must also include\n MaxSpeakerLabels
.
You can't include both ShowSpeakerLabels
and\n ChannelIdentification
in the same request. Including both parameters\n returns a BadRequestException
.
For more information, see Partitioning speakers\n (diarization).
" + "smithy.api#documentation": "Enables speaker partitioning (diarization) in your transcription output. Speaker\n partitioning labels the speech from individual speakers in your media file.
\nIf you enable ShowSpeakerLabels
in your request, you must also include\n MaxSpeakerLabels
.
For more information, see Partitioning speakers\n (diarization).
" } }, "MaxSpeakerLabels": { @@ -4566,7 +5073,7 @@ "ChannelIdentification": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "Enables channel identification in multi-channel audio.
\nChannel identification transcribes the audio on each channel independently, then\n appends the output for each channel into one transcript.
\nYou can't include both ShowSpeakerLabels
and\n ChannelIdentification
in the same request. Including both parameters\n returns a BadRequestException
.
For more information, see Transcribing multi-channel\n audio.
" + "smithy.api#documentation": "Enables channel identification in multi-channel audio.
\nChannel identification transcribes the audio on each channel independently, then\n appends the output for each channel into one transcript.
\nFor more information, see Transcribing multi-channel\n audio.
" } }, "ShowAlternatives": { @@ -4595,7 +5102,7 @@ } }, "traits": { - "smithy.api#documentation": "Allows additional optional settings in your request, including channel identification, alternative transcriptions, and speaker\n partitioning. You can use that to apply custom vocabularies to your transcription\n job.
" + "smithy.api#documentation": "Allows additional optional settings in your \n request, including channel identification, alternative transcriptions, and speaker\n partitioning. You can use that to apply custom vocabularies to your transcription\n job.
" } }, "com.amazonaws.transcribe#Specialty": { @@ -4661,13 +5168,13 @@ "OutputLocation": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "The Amazon S3 location where you want your Call Analytics transcription output\n stored. You can use any of the following formats to specify the output location:
\ns3://DOC-EXAMPLE-BUCKET
\ns3://DOC-EXAMPLE-BUCKET/my-output-folder/
\ns3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job.json
\nUnless you specify a file name (option 3), the name of your output file has a default\n value that matches the name you specified for your transcription job using the\n CallAnalyticsJobName
parameter.
You can specify a KMS key to encrypt your output using the\n OutputEncryptionKMSKeyId
parameter. If you don't specify a KMS key, Amazon Transcribe uses the default Amazon S3 key for\n server-side encryption.
If you don't specify OutputLocation
, your transcript is placed in a\n service-managed Amazon S3 bucket and you are provided with a URI to access your\n transcript.
The Amazon S3 location where you want your Call Analytics transcription output\n stored. You can use any of the following formats to specify the output location:
\ns3://DOC-EXAMPLE-BUCKET
\ns3://DOC-EXAMPLE-BUCKET/my-output-folder/
\ns3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job.json
\nUnless you specify a file name (option 3), the name of your output file has a default\n value that matches the name you specified for your transcription job using the\n CallAnalyticsJobName
parameter.
You can specify a KMS key to encrypt your output using the\n OutputEncryptionKMSKeyId
parameter. If you do not specify a KMS key, Amazon Transcribe uses the default Amazon S3 key for\n server-side encryption.
If you do not specify OutputLocation
, your transcript is placed in a\n service-managed Amazon S3 bucket and you are provided with a URI to access your\n transcript.
The KMS key you want to use to encrypt your Call Analytics\n output.
\nIf using a key located in the current\n Amazon Web Services account, you can specify your KMS key in one of four\n ways:
\nUse the KMS key ID itself. For example,\n 1234abcd-12ab-34cd-56ef-1234567890ab
.
Use an alias for the KMS key ID. For example,\n alias/ExampleAlias
.
Use the Amazon Resource Name (ARN) for the KMS key ID. For\n example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If using a key located in a different\n Amazon Web Services account than the current Amazon Web Services account, you can specify\n your KMS key in one of two ways:
\nUse the ARN for the KMS key ID. For example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If you don't specify an encryption key, your output is encrypted with the default\n Amazon S3 key (SSE-S3).
\nIf you specify a KMS key to encrypt your output, you must also specify\n an output location using the OutputLocation
parameter.
Note that the role making the request must\n have permission to use the specified KMS key.
" + "smithy.api#documentation": "The KMS key you want to use to encrypt your Call Analytics\n output.
\nIf using a key located in the current\n Amazon Web Services account, you can specify your KMS key in one of four\n ways:
\nUse the KMS key ID itself. For example,\n 1234abcd-12ab-34cd-56ef-1234567890ab
.
Use an alias for the KMS key ID. For example,\n alias/ExampleAlias
.
Use the Amazon Resource Name (ARN) for the KMS key ID. For\n example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If using a key located in a different\n Amazon Web Services account than the current Amazon Web Services account, you can specify\n your KMS key in one of two ways:
\nUse the ARN for the KMS key ID. For example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If you do not specify an encryption key, your output is encrypted with the default\n Amazon S3 key (SSE-S3).
\nIf you specify a KMS key to encrypt your output, you must also specify\n an output location using the OutputLocation
parameter.
Note that the role making the request must\n have permission to use the specified KMS key.
" } }, "DataAccessRoleArn": { @@ -4707,6 +5214,118 @@ "smithy.api#output": {} } }, + "com.amazonaws.transcribe#StartMedicalScribeJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.transcribe#StartMedicalScribeJobRequest" + }, + "output": { + "target": "com.amazonaws.transcribe#StartMedicalScribeJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.transcribe#BadRequestException" + }, + { + "target": "com.amazonaws.transcribe#ConflictException" + }, + { + "target": "com.amazonaws.transcribe#InternalFailureException" + }, + { + "target": "com.amazonaws.transcribe#LimitExceededException" + } + ], + "traits": { + "smithy.api#documentation": "Transcribes patient-clinician conversations and generates clinical notes.
\nAmazon Web Services HealthScribe automatically provides rich conversation transcripts, identifies speaker roles, \n classifies dialogues, extracts medical terms, and generates preliminary clinical notes.\n To learn more about these features, refer to Amazon Web Services HealthScribe.
\nTo make a StartMedicalScribeJob
request, you must first upload\n your media file into an Amazon S3 bucket; you can then specify the Amazon S3 location\n of the file using the Media
parameter.
You must include the following parameters in your\n StartMedicalTranscriptionJob
request:
\n DataAccessRoleArn
: The ARN of an IAM role with the these minimum permissions: read permission on input file Amazon S3 bucket specified in Media
,\n write permission on the Amazon S3 bucket specified in OutputBucketName
, and full permissions on the KMS key specified in OutputEncryptionKMSKeyId
(if set).\n The role should also allow transcribe.amazonaws.com
to assume it.\n
\n Media
(MediaFileUri
): The Amazon S3 location\n of your media file.
\n MedicalScribeJobName
: A custom name you create for your\n MedicalScribe job that is unique within your Amazon Web Services account.
\n OutputBucketName
: The Amazon S3 bucket where you want\n your output files stored.
\n Settings
: A MedicalScribeSettings
obect \n that must set exactly one of ShowSpeakerLabels
or ChannelIdentification
to true.\n If ShowSpeakerLabels
is true, MaxSpeakerLabels
must also be set.\n
\n ChannelDefinitions
: A MedicalScribeChannelDefinitions
array should be set if and only if the ChannelIdentification
\n value of Settings
is set to true. \n
A unique name, chosen by you, for your Medical Scribe job.
\nThis name is case sensitive, cannot contain spaces, and must be unique within an\n Amazon Web Services account. If you try to create a new job with the same name as an\n existing job, you get a ConflictException
error.
The name of the Amazon S3 bucket where you want your Medical Scribe\n output stored. Do not include the S3://
prefix of the specified\n bucket.
Note that the role specified in the DataAccessRoleArn
request parameter \n must have permission to use the specified location. You\n can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions Required for IAM User Roles.
The KMS key you want to use to encrypt your Medical Scribe\n output.
\nIf using a key located in the current\n Amazon Web Services account, you can specify your KMS key in one of four\n ways:
\nUse the KMS key ID itself. For example,\n 1234abcd-12ab-34cd-56ef-1234567890ab
.
Use an alias for the KMS key ID. For example,\n alias/ExampleAlias
.
Use the Amazon Resource Name (ARN) for the KMS key ID. For\n example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If using a key located in a different\n Amazon Web Services account than the current Amazon Web Services account, you can specify\n your KMS key in one of two ways:
\nUse the ARN for the KMS key ID. For example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If you do not specify an encryption key, your output is encrypted with the default\n Amazon S3 key (SSE-S3).
\nNote that the role specified in the DataAccessRoleArn
request parameter \n must have permission to use the specified KMS key.
A map of plain text, non-secret key:value pairs, known as encryption context pairs,\n that provide an added layer of security for your data. For more information, see KMS encryption context and Asymmetric keys in KMS.
" + } + }, + "DataAccessRoleArn": { + "target": "com.amazonaws.transcribe#DataAccessRoleArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of an IAM role that has permissions to\n access the Amazon S3 bucket that contains your input files, \n write to the output bucket, and use your KMS key if supplied. \n If the role that you specify doesn’t have the appropriate permissions your request fails.
\nIAM role ARNs have the format\n arn:partition:iam::account:role/role-name-with-path
. For example:\n arn:aws:iam::111122223333:role/Admin
.
For more information, see IAM\n ARNs.
", + "smithy.api#required": {} + } + }, + "Settings": { + "target": "com.amazonaws.transcribe#MedicalScribeSettings", + "traits": { + "smithy.api#documentation": "Makes it possible to control how your Medical Scribe job is processed using a\n MedicalScribeSettings
object. Specify ChannelIdentification
if \n ChannelDefinitions
are set. Enabled ShowSpeakerLabels
if ChannelIdentification
\n and ChannelDefinitions
are not set. One and only one of ChannelIdentification
and ShowSpeakerLabels
\n must be set. If ShowSpeakerLabels
is set, MaxSpeakerLabels
must also be set. Use Settings
\n to specify a vocabulary or vocabulary filter or both using VocabularyName
, VocabularyFilterName
. \n VocabularyFilterMethod
must be specified if VocabularyFilterName
is set.\n
Makes it possible to specify which speaker is on which channel. For example, if the clinician\n is the first participant to speak, you would set ChannelId
of the first ChannelDefinition
\n in the list to 0
(to indicate the first channel) and ParticipantRole
to\n CLINICIAN
(to indicate that it's the clinician speaking).\n Then you would set the ChannelId
of the second ChannelDefinition
in the list to\n 1
(to indicate the second channel) and ParticipantRole
to\n PATIENT
(to indicate that it's the patient speaking).\n
Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.
\nTo learn more about using tags with Amazon Transcribe, refer to Tagging\n resources.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.transcribe#StartMedicalScribeJobResponse": { + "type": "structure", + "members": { + "MedicalScribeJob": { + "target": "com.amazonaws.transcribe#MedicalScribeJob", + "traits": { + "smithy.api#documentation": "Provides detailed information about the current Medical Scribe job, including\n job status and, if applicable, failure reason.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.transcribe#StartMedicalTranscriptionJob": { "type": "operation", "input": { @@ -4730,7 +5349,7 @@ } ], "traits": { - "smithy.api#documentation": "Transcribes the audio from a medical dictation or conversation and applies any\n additional Request Parameters you choose to include in your request.
\nIn addition to many standard transcription features, Amazon Transcribe Medical\n provides you with a robust medical vocabulary and, optionally, content identification,\n which adds flags to personal health information (PHI). To learn more about these\n features, refer to How Amazon Transcribe Medical\n works.
\nTo make a StartMedicalTranscriptionJob
request, you must first upload\n your media file into an Amazon S3 bucket; you can then specify the S3 location\n of the file using the Media
parameter.
You must include the following parameters in your\n StartMedicalTranscriptionJob
request:
\n region
: The Amazon Web Services Region where you are making your\n request. For a list of Amazon Web Services Regions supported with Amazon Transcribe, refer to Amazon Transcribe endpoints and\n quotas.
\n MedicalTranscriptionJobName
: A custom name you create for your\n transcription job that is unique within your Amazon Web Services account.
\n Media
(MediaFileUri
): The Amazon S3 location\n of your media file.
\n LanguageCode
: This must be en-US
.
\n OutputBucketName
: The Amazon S3 bucket where you want\n your transcript stored. If you want your output stored in a sub-folder of this\n bucket, you must also include OutputKey
.
\n Specialty
: This must be PRIMARYCARE
.
\n Type
: Choose whether your audio is a conversation or a\n dictation.
Transcribes the audio from a medical dictation or conversation and applies any\n additional Request Parameters you choose to include in your request.
\nIn addition to many standard transcription features, Amazon Transcribe Medical\n provides you with a robust medical vocabulary and, optionally, content identification,\n which adds flags to personal health information (PHI). To learn more about these\n features, refer to How Amazon Transcribe Medical\n works.
\nTo make a StartMedicalTranscriptionJob
request, you must first upload\n your media file into an Amazon S3 bucket; you can then specify the Amazon S3 location\n of the file using the Media
parameter.
You must include the following parameters in your\n StartMedicalTranscriptionJob
request:
\n region
: The Amazon Web Services Region where you are making your\n request. For a list of Amazon Web Services Regions supported with Amazon Transcribe, refer to Amazon Transcribe endpoints and\n quotas.
\n MedicalTranscriptionJobName
: A custom name you create for your\n transcription job that is unique within your Amazon Web Services account.
\n Media
(MediaFileUri
): The Amazon S3 location\n of your media file.
\n LanguageCode
: This must be en-US
.
\n OutputBucketName
: The Amazon S3 bucket where you want\n your transcript stored. If you want your output stored in a sub-folder of this\n bucket, you must also include OutputKey
.
\n Specialty
: This must be PRIMARYCARE
.
\n Type
: Choose whether your audio is a conversation or a\n dictation.
The sample rate, in hertz, of the audio track in your input media file.
\nIf you don't specify the media sample rate, Amazon Transcribe Medical determines it\n for you. If you specify the sample rate, it must match the rate detected by Amazon Transcribe Medical; if there's a mismatch between the value that you specify and the\n value detected, your job fails. Therefore, in most cases, it's advised to omit\n MediaSampleRateHertz
and let Amazon Transcribe Medical determine the\n sample rate.
The sample rate, in hertz, of the audio track in your input media file.
\nIf you do not specify the media sample rate, Amazon Transcribe Medical determines it\n for you. If you specify the sample rate, it must match the rate detected by Amazon Transcribe Medical; if there's a mismatch between the value that you specify and the\n value detected, your job fails. Therefore, in most cases, it's advised to omit\n MediaSampleRateHertz
and let Amazon Transcribe Medical determine the\n sample rate.
The KMS key you want to use to encrypt your medical transcription\n output.
\nIf using a key located in the current\n Amazon Web Services account, you can specify your KMS key in one of four\n ways:
\nUse the KMS key ID itself. For example,\n 1234abcd-12ab-34cd-56ef-1234567890ab
.
Use an alias for the KMS key ID. For example,\n alias/ExampleAlias
.
Use the Amazon Resource Name (ARN) for the KMS key ID. For\n example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If using a key located in a different\n Amazon Web Services account than the current Amazon Web Services account, you can specify\n your KMS key in one of two ways:
\nUse the ARN for the KMS key ID. For example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If you don't specify an encryption key, your output is encrypted with the default\n Amazon S3 key (SSE-S3).
\nIf you specify a KMS key to encrypt your output, you must also specify\n an output location using the OutputLocation
parameter.
Note that the role making the request must\n have permission to use the specified KMS key.
" + "smithy.api#documentation": "The KMS key you want to use to encrypt your medical transcription\n output.
\nIf using a key located in the current\n Amazon Web Services account, you can specify your KMS key in one of four\n ways:
\nUse the KMS key ID itself. For example,\n 1234abcd-12ab-34cd-56ef-1234567890ab
.
Use an alias for the KMS key ID. For example,\n alias/ExampleAlias
.
Use the Amazon Resource Name (ARN) for the KMS key ID. For\n example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If using a key located in a different\n Amazon Web Services account than the current Amazon Web Services account, you can specify\n your KMS key in one of two ways:
\nUse the ARN for the KMS key ID. For example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If you do not specify an encryption key, your output is encrypted with the default\n Amazon S3 key (SSE-S3).
\nIf you specify a KMS key to encrypt your output, you must also specify\n an output location using the OutputLocation
parameter.
Note that the role making the request must\n have permission to use the specified KMS key.
" } }, "KMSEncryptionContext": { @@ -4873,7 +5492,7 @@ } ], "traits": { - "smithy.api#documentation": "Transcribes the audio from a media file and applies any additional Request Parameters\n you choose to include in your request.
\nTo make a StartTranscriptionJob
request, you must first upload your media\n file into an Amazon S3 bucket; you can then specify the Amazon S3\n location of the file using the Media
parameter.
You must include the following parameters in your StartTranscriptionJob
\n request:
\n region
: The Amazon Web Services Region where you are making your\n request. For a list of Amazon Web Services Regions supported with Amazon Transcribe, refer to Amazon Transcribe endpoints and\n quotas.
\n TranscriptionJobName
: A custom name you create for your\n transcription job that is unique within your Amazon Web Services account.
\n Media
(MediaFileUri
): The Amazon S3 location\n of your media file.
One of LanguageCode
, IdentifyLanguage
, or\n IdentifyMultipleLanguages
: If you know the language of your\n media file, specify it using the LanguageCode
parameter; you can\n find all valid language codes in the Supported\n languages table. If you don't know the languages spoken in your\n media, use either IdentifyLanguage
or\n IdentifyMultipleLanguages
and let Amazon Transcribe identify\n the languages for you.
Transcribes the audio from a media file and applies any additional Request Parameters\n you choose to include in your request.
\nTo make a StartTranscriptionJob
request, you must first upload your media\n file into an Amazon S3 bucket; you can then specify the Amazon S3\n location of the file using the Media
parameter.
You must include the following parameters in your StartTranscriptionJob
\n request:
\n region
: The Amazon Web Services Region where you are making your\n request. For a list of Amazon Web Services Regions supported with Amazon Transcribe, refer to Amazon Transcribe endpoints and\n quotas.
\n TranscriptionJobName
: A custom name you create for your\n transcription job that is unique within your Amazon Web Services account.
\n Media
(MediaFileUri
): The Amazon S3 location\n of your media file.
One of LanguageCode
, IdentifyLanguage
, or\n IdentifyMultipleLanguages
: If you know the language of your\n media file, specify it using the LanguageCode
parameter; you can\n find all valid language codes in the Supported\n languages table. If you do not know the languages spoken in your\n media, use either IdentifyLanguage
or\n IdentifyMultipleLanguages
and let Amazon Transcribe identify\n the languages for you.
The sample rate, in hertz, of the audio track in your input media file.
\nIf you don't specify the media sample rate, Amazon Transcribe determines it for you.\n If you specify the sample rate, it must match the rate detected by Amazon Transcribe.\n If there's a mismatch between the value that you specify and the value detected, your\n job fails. In most cases, you can omit MediaSampleRateHertz
and let Amazon Transcribe determine the sample rate.
The sample rate, in hertz, of the audio track in your input media file.
\nIf you do not specify the media sample rate, Amazon Transcribe determines it for you.\n If you specify the sample rate, it must match the rate detected by Amazon Transcribe.\n If there's a mismatch between the value that you specify and the value detected, your\n job fails. In most cases, you can omit MediaSampleRateHertz
and let Amazon Transcribe determine the sample rate.
The name of the Amazon S3 bucket where you want your transcription output\n stored. Do not include the S3://
prefix of the specified bucket.
If you want your output to go to a sub-folder of this bucket, specify it using the\n OutputKey
parameter; OutputBucketName
only accepts the\n name of a bucket.
For example, if you want your output stored in S3://DOC-EXAMPLE-BUCKET
,\n set OutputBucketName
to DOC-EXAMPLE-BUCKET
. However, if you\n want your output stored in S3://DOC-EXAMPLE-BUCKET/test-files/
, set\n OutputBucketName
to DOC-EXAMPLE-BUCKET
and\n OutputKey
to test-files/
.
Note that Amazon Transcribe must have permission to use the specified location. You\n can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions Required for IAM User Roles.
\nIf you don't specify OutputBucketName
, your transcript is placed in a\n service-managed Amazon S3 bucket and you are provided with a URI to access your\n transcript.
The name of the Amazon S3 bucket where you want your transcription output\n stored. Do not include the S3://
prefix of the specified bucket.
If you want your output to go to a sub-folder of this bucket, specify it using the\n OutputKey
parameter; OutputBucketName
only accepts the\n name of a bucket.
For example, if you want your output stored in S3://DOC-EXAMPLE-BUCKET
,\n set OutputBucketName
to DOC-EXAMPLE-BUCKET
. However, if you\n want your output stored in S3://DOC-EXAMPLE-BUCKET/test-files/
, set\n OutputBucketName
to DOC-EXAMPLE-BUCKET
and\n OutputKey
to test-files/
.
Note that Amazon Transcribe must have permission to use the specified location. You\n can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions Required for IAM User Roles.
\nIf you do not specify OutputBucketName
, your transcript is placed in a\n service-managed Amazon S3 bucket and you are provided with a URI to access your\n transcript.
The KMS key you want to use to encrypt your transcription\n output.
\nIf using a key located in the current\n Amazon Web Services account, you can specify your KMS key in one of four\n ways:
\nUse the KMS key ID itself. For example,\n 1234abcd-12ab-34cd-56ef-1234567890ab
.
Use an alias for the KMS key ID. For example,\n alias/ExampleAlias
.
Use the Amazon Resource Name (ARN) for the KMS key ID. For\n example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If using a key located in a different\n Amazon Web Services account than the current Amazon Web Services account, you can specify\n your KMS key in one of two ways:
\nUse the ARN for the KMS key ID. For example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If you don't specify an encryption key, your output is encrypted with the default\n Amazon S3 key (SSE-S3).
\nIf you specify a KMS key to encrypt your output, you must also specify\n an output location using the OutputLocation
parameter.
Note that the role making the request must\n have permission to use the specified KMS key.
" + "smithy.api#documentation": "The KMS key you want to use to encrypt your transcription\n output.
\nIf using a key located in the current\n Amazon Web Services account, you can specify your KMS key in one of four\n ways:
\nUse the KMS key ID itself. For example,\n 1234abcd-12ab-34cd-56ef-1234567890ab
.
Use an alias for the KMS key ID. For example,\n alias/ExampleAlias
.
Use the Amazon Resource Name (ARN) for the KMS key ID. For\n example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If using a key located in a different\n Amazon Web Services account than the current Amazon Web Services account, you can specify\n your KMS key in one of two ways:
\nUse the ARN for the KMS key ID. For example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If you do not specify an encryption key, your output is encrypted with the default\n Amazon S3 key (SSE-S3).
\nIf you specify a KMS key to encrypt your output, you must also specify\n an output location using the OutputLocation
parameter.
Note that the role making the request must\n have permission to use the specified KMS key.
" } }, "KMSEncryptionContext": { @@ -4944,7 +5563,7 @@ "Settings": { "target": "com.amazonaws.transcribe#Settings", "traits": { - "smithy.api#documentation": "Specify additional optional settings in your request, including channel identification, alternative transcriptions, speaker\n partitioning. You can use that to apply custom vocabularies and vocabulary filters.
\nIf you want to include a custom vocabulary or a custom vocabulary filter (or both)\n with your request but do not want to use automatic\n language identification, use Settings
with the VocabularyName
\n or VocabularyFilterName
(or both) sub-parameter.
If you're using automatic language identification with your request and want to\n include a custom language model, a custom vocabulary, or a custom vocabulary filter, use\n instead the parameter with the\n
LanguageModelName
, VocabularyName
or\n VocabularyFilterName
sub-parameters.
Specify additional optional settings in your \n request, including channel identification, alternative transcriptions, speaker\n partitioning. You can use that to apply custom vocabularies and vocabulary filters.
\nIf you want to include a custom vocabulary or a custom vocabulary filter (or both)\n with your request but do not want to use automatic\n language identification, use Settings
with the VocabularyName
\n or VocabularyFilterName
(or both) sub-parameter.
If you're using automatic language identification with your request and want to\n include a custom language model, a custom vocabulary, or a custom vocabulary filter, use\n instead the parameter with the\n
LanguageModelName
, VocabularyName
or\n VocabularyFilterName
sub-parameters.
Makes it possible to redact or flag specified personally identifiable information\n (PII) in your transcript. If you use ContentRedaction
, you must also\n include the sub-parameters: PiiEntityTypes
, RedactionOutput
,\n and RedactionType
.
Makes it possible to redact or flag specified personally identifiable information (PII) in \n your transcript. If you use ContentRedaction
, you must also include the \n sub-parameters: RedactionOutput
and RedactionType
. You can \n optionally include PiiEntityTypes
to choose which types of PII you want to redact.\n If you do not include PiiEntityTypes
in your request, all PII is redacted.
If TranscriptionJobStatus
is FAILED
,\n FailureReason
contains information about why the transcription job\n request failed.
The FailureReason
field contains one of the following values:
\n Unsupported media format
.
The media format specified in MediaFormat
isn't valid. Refer to\n MediaFormat for a list of supported\n formats.
\n The media format provided does not match the detected media\n format
.
The media format specified in MediaFormat
doesn't match the\n format of the input file. Check the media format of your media file and correct\n the specified value.
\n Invalid sample rate for audio file
.
The sample rate specified in MediaSampleRateHertz
isn't valid.\n The sample rate must be between 8,000 and 48,000 hertz.
\n The sample rate provided does not match the detected sample\n rate
.
The sample rate specified in MediaSampleRateHertz
doesn't match\n the sample rate detected in your input media file. Check the sample rate of your\n media file and correct the specified value.
\n Invalid file size: file size too large
.
The size of your media file is larger than what Amazon Transcribe can\n process. For more information, refer to Guidelines and\n quotas.
\n\n Invalid number of channels: number of channels too large
.
Your audio contains more channels than Amazon Transcribe is able to process.\n For more information, refer to Guidelines and\n quotas.
\nIf TranscriptionJobStatus
is FAILED
,\n FailureReason
contains information about why the transcription job\n request failed.
The FailureReason
field contains one of the following values:
\n Unsupported media format
.
The media format specified in MediaFormat
isn't valid. Refer to\n refer to the MediaFormat
parameter for a list of supported\n formats.
\n The media format provided does not match the detected media\n format
.
The media format specified in MediaFormat
doesn't match the\n format of the input file. Check the media format of your media file and correct\n the specified value.
\n Invalid sample rate for audio file
.
The sample rate specified in MediaSampleRateHertz
isn't valid.\n The sample rate must be between 8,000 and 48,000 hertz.
\n The sample rate provided does not match the detected sample\n rate
.
The sample rate specified in MediaSampleRateHertz
doesn't match\n the sample rate detected in your input media file. Check the sample rate of your\n media file and correct the specified value.
\n Invalid file size: file size too large
.
The size of your media file is larger than what Amazon Transcribe can\n process. For more information, refer to Service \n quotas.
\n\n Invalid number of channels: number of channels too large
.
Your audio contains more channels than Amazon Transcribe is able to process.\n For more information, refer to Service \n quotas.
\n