{ "smithy": "2.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.transcribestreaming#Alternative": { "type": "structure", "members": { "Transcript": { "target": "com.amazonaws.transcribestreaming#String", "traits": { "smithy.api#documentation": "
Contains transcribed text.
" } }, "Items": { "target": "com.amazonaws.transcribestreaming#ItemList", "traits": { "smithy.api#documentation": "Contains words, phrases, or punctuation marks in your transcription output.
" } }, "Entities": { "target": "com.amazonaws.transcribestreaming#EntityList", "traits": { "smithy.api#documentation": "Contains entities identified as personally identifiable information (PII) in your transcription \n output.
" } } }, "traits": { "smithy.api#documentation": "A list of possible alternative transcriptions for the input audio. Each alternative may contain\n one or more of Items, Entities, or Transcript.
\n An audio blob containing the next segment of audio from your application,\n with a maximum duration of 1 second. \n The maximum size in bytes varies based on audio properties.\n
\nFind recommended size in Transcribing streaming best practices.\n
\n\n Size calculation: Duration (s) * Sample Rate (Hz) * Number of Channels * 2 (Bytes per Sample)\n
\n For example, a 1-second chunk of 16 kHz, 2-channel, 16-bit audio would be \n 1 * 16000 * 2 * 2 = 64000 bytes.\n
\n For 8 kHz, 1-channel, 16-bit audio, a 1-second chunk would be \n 1 * 8000 * 1 * 2 = 16000 bytes.\n
A wrapper for your audio chunks. Your audio stream consists of one or more audio\n events, which consist of one or more audio chunks.
\nFor more information, see Event stream encoding.
" } }, "com.amazonaws.transcribestreaming#AudioStream": { "type": "union", "members": { "AudioEvent": { "target": "com.amazonaws.transcribestreaming#AudioEvent", "traits": { "smithy.api#documentation": "A blob of audio from your application. Your audio stream consists of one or more audio\n events.
\nFor more information, see Event stream encoding.
" } }, "ConfigurationEvent": { "target": "com.amazonaws.transcribestreaming#ConfigurationEvent", "traits": { "smithy.api#documentation": "Contains audio channel definitions and post-call analytics settings.
" } } }, "traits": { "smithy.api#documentation": "An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket \n data frames.
\nFor more information, see Transcribing streaming audio.
", "smithy.api#streaming": {} } }, "com.amazonaws.transcribestreaming#BadRequestException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.transcribestreaming#String" } }, "traits": { "smithy.api#documentation": "One or more arguments to the StartStreamTranscription, \n StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription \n operation was not valid. For example, MediaEncoding or LanguageCode \n used unsupported values. Check the specified parameters and try your request again.
The time, in milliseconds, from the beginning of the audio stream to the start of the identified entity.
" } }, "EndOffsetMillis": { "target": "com.amazonaws.transcribestreaming#Long", "traits": { "smithy.api#documentation": "The time, in milliseconds, from the beginning of the audio stream to the end of the identified entity.
" } }, "Category": { "target": "com.amazonaws.transcribestreaming#String", "traits": { "smithy.api#documentation": "The category of information identified. For example, PII.
The type of PII identified. For example, NAME or \n CREDIT_DEBIT_NUMBER.
The word or words that represent the identified entity.
" } }, "Confidence": { "target": "com.amazonaws.transcribestreaming#Confidence", "traits": { "smithy.api#documentation": "The confidence score associated with the identification of an entity in your transcript.
\nConfidence scores are values between 0 and 1. A larger value indicates a higher\n probability that the identified entity correctly matches the entity spoken in your\n media.
" } } }, "traits": { "smithy.api#documentation": "Contains entities identified as personally identifiable information (PII) in your\n transcription output, along with various associated attributes. Examples include category,\n confidence score, content, type, and start and end times.
" } }, "com.amazonaws.transcribestreaming#CallAnalyticsEntityList": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#CallAnalyticsEntity" } }, "com.amazonaws.transcribestreaming#CallAnalyticsItem": { "type": "structure", "members": { "BeginOffsetMillis": { "target": "com.amazonaws.transcribestreaming#Long", "traits": { "smithy.api#documentation": "The time, in milliseconds, from the beginning of the audio stream to the start of the identified item.
" } }, "EndOffsetMillis": { "target": "com.amazonaws.transcribestreaming#Long", "traits": { "smithy.api#documentation": "The time, in milliseconds, from the beginning of the audio stream to the end of the identified item.
" } }, "Type": { "target": "com.amazonaws.transcribestreaming#ItemType", "traits": { "smithy.api#documentation": "The type of item identified. Options are: PRONUNCIATION (spoken words) and\n PUNCTUATION.
The word or punctuation that was transcribed.
" } }, "Confidence": { "target": "com.amazonaws.transcribestreaming#Confidence", "traits": { "smithy.api#documentation": "The confidence score associated with a word or phrase in your transcript.
\nConfidence scores are values between 0 and 1. A larger value indicates a higher\n probability that the identified item correctly matches the item spoken in your media.
" } }, "VocabularyFilterMatch": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the specified item matches a word in the vocabulary filter included in\n your Call Analytics request. If true, there is a vocabulary filter match.
If partial result stabilization is enabled, Stable indicates whether the specified \n item is stable (true) or if it may change when the segment is complete \n (false).
A word, phrase, or punctuation mark in your Call Analytics transcription output, along with various \n associated attributes, such as confidence score, type, and start and end times.
" } }, "com.amazonaws.transcribestreaming#CallAnalyticsItemList": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#CallAnalyticsItem" } }, "com.amazonaws.transcribestreaming#CallAnalyticsLanguageCode": { "type": "enum", "members": { "EN_US": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "en-US" } }, "EN_GB": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "en-GB" } }, "ES_US": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "es-US" } }, "FR_CA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "fr-CA" } }, "FR_FR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "fr-FR" } }, "EN_AU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "en-AU" } }, "IT_IT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "it-IT" } }, "DE_DE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "de-DE" } }, "PT_BR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "pt-BR" } } } }, "com.amazonaws.transcribestreaming#CallAnalyticsLanguageIdentification": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#CallAnalyticsLanguageWithScore" } }, "com.amazonaws.transcribestreaming#CallAnalyticsLanguageWithScore": { "type": "structure", "members": { "LanguageCode": { "target": "com.amazonaws.transcribestreaming#CallAnalyticsLanguageCode", "traits": { "smithy.api#documentation": "The language code of the identified language.
" } }, "Score": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The confidence score associated with the identified language code. Confidence scores are values between zero and one; larger values indicate a higher confidence in the identified language.
" } } }, "traits": { "smithy.api#documentation": "The language code that represents the language identified in your audio, including the associated\n confidence score.
" } }, "com.amazonaws.transcribestreaming#CallAnalyticsTranscriptResultStream": { "type": "union", "members": { "UtteranceEvent": { "target": "com.amazonaws.transcribestreaming#UtteranceEvent", "traits": { "smithy.api#documentation": "Contains set of transcription results from one or more audio segments, along with additional \n information per your request parameters. This can include information relating to channel definitions,\n partial result stabilization, sentiment, issue detection, and other transcription-related data.
" } }, "CategoryEvent": { "target": "com.amazonaws.transcribestreaming#CategoryEvent", "traits": { "smithy.api#documentation": "Provides information on matched categories that were used to generate real-time supervisor \n alerts.
" } }, "BadRequestException": { "target": "com.amazonaws.transcribestreaming#BadRequestException" }, "LimitExceededException": { "target": "com.amazonaws.transcribestreaming#LimitExceededException" }, "InternalFailureException": { "target": "com.amazonaws.transcribestreaming#InternalFailureException" }, "ConflictException": { "target": "com.amazonaws.transcribestreaming#ConflictException" }, "ServiceUnavailableException": { "target": "com.amazonaws.transcribestreaming#ServiceUnavailableException" } }, "traits": { "smithy.api#documentation": "Contains detailed information about your real-time Call Analytics session. These details are \n provided in the UtteranceEvent and CategoryEvent objects.
Lists the categories that were matched in your audio segment.
" } }, "MatchedDetails": { "target": "com.amazonaws.transcribestreaming#MatchedCategoryDetails", "traits": { "smithy.api#documentation": "Contains information about the matched categories, including category names and timestamps.
" } } }, "traits": { "smithy.api#documentation": "Provides information on any TranscriptFilterType categories that matched your \n transcription output. Matches are identified for each segment upon completion of that segment.
Specify the audio channel you want to define.
", "smithy.api#required": {} } }, "ParticipantRole": { "target": "com.amazonaws.transcribestreaming#ParticipantRole", "traits": { "smithy.api#documentation": "Specify the speaker you want to define. Omitting this parameter is equivalent to\n specifying both participants.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Makes it possible to specify which speaker is on which audio channel. For example, if your\n agent is the first participant to speak, you would set ChannelId to\n 0 (to indicate the first channel) and ParticipantRole to\n AGENT (to indicate that it's the agent speaking).
Provides the character count of the first character where a match is identified. For example, the first\n character associated with an issue or a category match in a segment transcript.
" } }, "End": { "target": "com.amazonaws.transcribestreaming#Integer", "traits": { "smithy.api#documentation": "Provides the character count of the last character where a match is identified. For example, the last \n character associated with an issue or a category match in a segment transcript.
" } } }, "traits": { "smithy.api#documentation": "Provides the location, using character count, in your transcript where a match is identified. For example, \n the location of an issue or a category match within a segment.
" } }, "com.amazonaws.transcribestreaming#ClinicalNoteGenerationResult": { "type": "structure", "members": { "ClinicalNoteOutputLocation": { "target": "com.amazonaws.transcribestreaming#Uri", "traits": { "smithy.api#documentation": "Holds the Amazon S3 URI for the output Clinical Note.
" } }, "TranscriptOutputLocation": { "target": "com.amazonaws.transcribestreaming#Uri", "traits": { "smithy.api#documentation": "Holds the Amazon S3 URI for the output Transcript.
" } }, "Status": { "target": "com.amazonaws.transcribestreaming#ClinicalNoteGenerationStatus", "traits": { "smithy.api#documentation": "The status of the clinical note generation.
\nPossible Values:
\n\n IN_PROGRESS\n
\n FAILED\n
\n COMPLETED\n
\n After audio streaming finishes, and you send a MedicalScribeSessionControlEvent event (with END_OF_SESSION as the Type),\n the status is set to IN_PROGRESS.\n If the status is COMPLETED, the analytics completed successfully, and you can find the\n results at the locations specified in ClinicalNoteOutputLocation and TranscriptOutputLocation.\n If the status is FAILED, FailureReason provides details about the failure.\n
If ClinicalNoteGenerationResult is FAILED, information about why it failed.
The details for clinical note generation,\n including status, and output locations for clinical note and aggregated transcript if the analytics completed,\n or failure reason if the analytics failed.\n
" } }, "com.amazonaws.transcribestreaming#ClinicalNoteGenerationSettings": { "type": "structure", "members": { "OutputBucketName": { "target": "com.amazonaws.transcribestreaming#BucketName", "traits": { "smithy.api#documentation": "The name of the Amazon S3 bucket where you want the output of Amazon Web Services HealthScribe post-stream analytics stored. Don't include the S3:// prefix of the specified bucket.
HealthScribe outputs transcript and clinical note files under the prefix:\n S3://$output-bucket-name/healthscribe-streaming/session-id/post-stream-analytics/clinical-notes\n
The role ResourceAccessRoleArn specified in the MedicalScribeConfigurationEvent must have\n permission to use the specified location. You can change Amazon S3 permissions using the \n Amazon Web Services Management Console\n . See also Permissions Required for IAM User Roles .
Specify one of the following templates to use for the clinical note summary. The default is HISTORY_AND_PHYSICAL.
HISTORY_AND_PHYSICAL: Provides summaries for key sections of the clinical documentation. Examples of sections include Chief Complaint, History of Present Illness, Review of Systems, Past Medical History, Assessment, and Plan.\n
\nGIRPP: Provides summaries based on the patients progress toward goals. Examples of sections include Goal, Intervention,\n Response, Progress, and Plan.
\nBIRP: Focuses on the patient's behavioral patterns and responses. Examples of sections include Behavior, Intervention, Response, and Plan.
\nSIRP: Emphasizes the situational context of therapy. Examples of sections include Situation, Intervention, Response, and Plan.
\nDAP: Provides a simplified format for clinical documentation. Examples of sections include Data, Assessment, and Plan.
\nBEHAVIORAL_SOAP: Behavioral health focused documentation format. Examples of sections include Subjective, Objective, Assessment, and Plan.
\nPHYSICAL_SOAP: Physical health focused documentation format. Examples of sections include Subjective, Objective, Assessment, and Plan.
\nThe output configuration for aggregated transcript and clinical note generation.
" } }, "com.amazonaws.transcribestreaming#ClinicalNoteGenerationStatus": { "type": "enum", "members": { "IN_PROGRESS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IN_PROGRESS" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FAILED" } }, "COMPLETED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "COMPLETED" } } } }, "com.amazonaws.transcribestreaming#Confidence": { "type": "double" }, "com.amazonaws.transcribestreaming#ConfigurationEvent": { "type": "structure", "members": { "ChannelDefinitions": { "target": "com.amazonaws.transcribestreaming#ChannelDefinitions", "traits": { "smithy.api#documentation": "Indicates which speaker is on which audio channel.
" } }, "PostCallAnalyticsSettings": { "target": "com.amazonaws.transcribestreaming#PostCallAnalyticsSettings", "traits": { "smithy.api#documentation": "Provides additional optional settings for your Call Analytics post-call request, including \n encryption and output locations for your redacted transcript.
\n\n PostCallAnalyticsSettings provides you with the same insights as a \n Call Analytics post-call transcription. Refer to Post-call analytics for more information \n on this feature.
Allows you to set audio channel definitions and post-call analytics settings.
" } }, "com.amazonaws.transcribestreaming#ConflictException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.transcribestreaming#String" } }, "traits": { "smithy.api#documentation": "A new stream started with the same session ID. The current stream has been terminated.
", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.transcribestreaming#ContentIdentificationType": { "type": "enum", "members": { "PII": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PII" } } } }, "com.amazonaws.transcribestreaming#ContentRedactionOutput": { "type": "enum", "members": { "REDACTED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "redacted" } }, "REDACTED_AND_UNREDACTED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "redacted_and_unredacted" } } } }, "com.amazonaws.transcribestreaming#ContentRedactionType": { "type": "enum", "members": { "PII": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PII" } } } }, "com.amazonaws.transcribestreaming#DateTime": { "type": "timestamp" }, "com.amazonaws.transcribestreaming#Double": { "type": "double", "traits": { "smithy.api#default": 0 } }, "com.amazonaws.transcribestreaming#Entity": { "type": "structure", "members": { "StartTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The start time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)
" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The end time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)
" } }, "Category": { "target": "com.amazonaws.transcribestreaming#String", "traits": { "smithy.api#documentation": "The category of information identified. The only category is PII.
The type of PII identified. For example, NAME or \n CREDIT_DEBIT_NUMBER.
The word or words identified as PII.
" } }, "Confidence": { "target": "com.amazonaws.transcribestreaming#Confidence", "traits": { "smithy.api#documentation": "The confidence score associated with the identified PII entity in your audio.
\nConfidence scores are values between 0 and 1. A larger value indicates a higher\n probability that the identified entity correctly matches the entity spoken in your\n media.
" } } }, "traits": { "smithy.api#documentation": "Contains entities identified as personally identifiable information (PII) in your\n transcription output, along with various associated attributes. Examples include category,\n confidence score, type, stability score, and start and end times.
" } }, "com.amazonaws.transcribestreaming#EntityList": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#Entity" } }, "com.amazonaws.transcribestreaming#GetMedicalScribeStream": { "type": "operation", "input": { "target": "com.amazonaws.transcribestreaming#GetMedicalScribeStreamRequest" }, "output": { "target": "com.amazonaws.transcribestreaming#GetMedicalScribeStreamResponse" }, "errors": [ { "target": "com.amazonaws.transcribestreaming#BadRequestException" }, { "target": "com.amazonaws.transcribestreaming#InternalFailureException" }, { "target": "com.amazonaws.transcribestreaming#LimitExceededException" }, { "target": "com.amazonaws.transcribestreaming#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "Provides details about the specified Amazon Web Services HealthScribe streaming session.\n To view the status of the streaming session, check the StreamStatus field in the response. To get the\n details of post-stream analytics, including its status, check the PostStreamAnalyticsResult field in the response.\n
The identifier of the HealthScribe streaming session you want information about.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.transcribestreaming#GetMedicalScribeStreamResponse": { "type": "structure", "members": { "MedicalScribeStreamDetails": { "target": "com.amazonaws.transcribestreaming#MedicalScribeStreamDetails", "traits": { "smithy.api#documentation": "Provides details about a HealthScribe streaming session.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.transcribestreaming#IamRoleArn": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam::[0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$" } }, "com.amazonaws.transcribestreaming#Integer": { "type": "integer" }, "com.amazonaws.transcribestreaming#InternalFailureException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.transcribestreaming#String" } }, "traits": { "smithy.api#documentation": "A problem occurred while processing the audio. Amazon Transcribe terminated \n processing.
", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.transcribestreaming#IssueDetected": { "type": "structure", "members": { "CharacterOffsets": { "target": "com.amazonaws.transcribestreaming#CharacterOffsets", "traits": { "smithy.api#documentation": "Provides the timestamps that identify when in an audio segment the specified issue occurs.
" } } }, "traits": { "smithy.api#documentation": "Lists the issues that were identified in your audio segment.
" } }, "com.amazonaws.transcribestreaming#IssuesDetected": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#IssueDetected" } }, "com.amazonaws.transcribestreaming#Item": { "type": "structure", "members": { "StartTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The start time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)
" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The end time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)
" } }, "Type": { "target": "com.amazonaws.transcribestreaming#ItemType", "traits": { "smithy.api#documentation": "The type of item identified. Options are: PRONUNCIATION (spoken words) and\n PUNCTUATION.
The word or punctuation that was transcribed.
" } }, "VocabularyFilterMatch": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the specified item matches a word in the vocabulary filter included in\n your request. If true, there is a vocabulary filter match.
If speaker partitioning is enabled, Speaker labels the speaker of the\n specified item.
The confidence score associated with a word or phrase in your transcript.
\nConfidence scores are values between 0 and 1. A larger value indicates a higher\n probability that the identified item correctly matches the item spoken in your media.
" } }, "Stable": { "target": "com.amazonaws.transcribestreaming#Stable", "traits": { "smithy.api#documentation": "If partial result stabilization is enabled, Stable indicates whether the specified \n item is stable (true) or if it may change when the segment is complete \n (false).
A word, phrase, or punctuation mark in your transcription output, along with various associated\n attributes, such as confidence score, type, and start and end times.
" } }, "com.amazonaws.transcribestreaming#ItemList": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#Item" } }, "com.amazonaws.transcribestreaming#ItemType": { "type": "enum", "members": { "PRONUNCIATION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "pronunciation" } }, "PUNCTUATION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "punctuation" } } } }, "com.amazonaws.transcribestreaming#KMSEncryptionContextMap": { "type": "map", "key": { "target": "com.amazonaws.transcribestreaming#NonEmptyString" }, "value": { "target": "com.amazonaws.transcribestreaming#NonEmptyString" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.transcribestreaming#KMSKeyId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 }, "smithy.api#pattern": "^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$" } }, "com.amazonaws.transcribestreaming#LanguageCode": { "type": "enum", "members": { "EN_US": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "en-US" } }, "EN_GB": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "en-GB" } }, "ES_US": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "es-US" } }, "FR_CA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "fr-CA" } }, "FR_FR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "fr-FR" } }, "EN_AU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "en-AU" } }, "IT_IT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "it-IT" } }, "DE_DE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "de-DE" } }, "PT_BR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "pt-BR" } }, "JA_JP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ja-JP" } }, "KO_KR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ko-KR" } }, "ZH_CN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "zh-CN" } }, "TH_TH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "th-TH" } }, "ES_ES": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "es-ES" } }, "AR_SA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ar-SA" } }, "PT_PT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "pt-PT" } }, "CA_ES": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ca-ES" } }, "AR_AE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ar-AE" } }, "HI_IN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "hi-IN" } }, "ZH_HK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "zh-HK" } }, "NL_NL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "nl-NL" } }, "NO_NO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "no-NO" } }, "SV_SE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "sv-SE" } }, "PL_PL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "pl-PL" } }, "FI_FI": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "fi-FI" } }, "ZH_TW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "zh-TW" } }, "EN_IN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "en-IN" } }, "EN_IE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "en-IE" } }, "EN_NZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "en-NZ" } }, "EN_AB": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "en-AB" } }, "EN_ZA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "en-ZA" } }, "EN_WL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "en-WL" } }, "DE_CH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "de-CH" } }, "AF_ZA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "af-ZA" } }, "EU_ES": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "eu-ES" } }, "HR_HR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "hr-HR" } }, "CS_CZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "cs-CZ" } }, "DA_DK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "da-DK" } }, "FA_IR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "fa-IR" } }, "GL_ES": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "gl-ES" } }, "EL_GR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "el-GR" } }, "HE_IL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "he-IL" } }, "ID_ID": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "id-ID" } }, "LV_LV": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "lv-LV" } }, "MS_MY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ms-MY" } }, "RO_RO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ro-RO" } }, "RU_RU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ru-RU" } }, "SR_RS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "sr-RS" } }, "SK_SK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "sk-SK" } }, "SO_SO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "so-SO" } }, "TL_PH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "tl-PH" } }, "UK_UA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "uk-UA" } }, "VI_VN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "vi-VN" } }, "ZU_ZA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "zu-ZA" } }, "AM_ET": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "am-ET" } }, "BE_BY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "be-BY" } }, "BG_BG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "bg-BG" } }, "BN_IN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "bn-IN" } }, "BS_BA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "bs-BA" } }, "CKB_IQ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ckb-IQ" } }, "CKB_IR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ckb-IR" } }, "CY_WL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "cy-WL" } }, "ES_MX": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "es-MX" } }, "ET_ET": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "et-ET" } }, "FA_AF": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "fa-AF" } }, "GU_IN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "gu-IN" } }, "HT_HT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ht-HT" } }, "HU_HU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "hu-HU" } }, "HY_AM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "hy-AM" } }, "IS_IS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "is-IS" } }, "JV_ID": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "jv-ID" } }, "KA_GE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ka-GE" } }, "KAB_DZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "kab-DZ" } }, "KK_KZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "kk-KZ" } }, "KM_KH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "km-KH" } }, "KN_IN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "kn-IN" } }, "LG_IN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "lg-IN" } }, "LT_LT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "lt-LT" } }, "MK_MK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "mk-MK" } }, "ML_IN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ml-IN" } }, "MR_IN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "mr-IN" } }, "MY_MM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "my-MM" } }, "NE_NP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ne-NP" } }, "OR_IN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "or-IN" } }, "PA_IN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "pa-IN" } }, "PS_AF": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ps-AF" } }, "SI_LK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "si-LK" } }, "SL_SI": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "sl-SI" } }, "SQ_AL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "sq-AL" } }, "SU_ID": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "su-ID" } }, "SW_BI": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "sw-BI" } }, "SW_KE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "sw-KE" } }, "SW_RW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "sw-RW" } }, "SW_TZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "sw-TZ" } }, "SW_UG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "sw-UG" } }, "TA_IN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ta-IN" } }, "TE_IN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "te-IN" } }, "TR_TR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "tr-TR" } }, "UZ_UZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "uz-UZ" } } } }, "com.amazonaws.transcribestreaming#LanguageIdentification": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#LanguageWithScore" } }, "com.amazonaws.transcribestreaming#LanguageOptions": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 200 }, "smithy.api#pattern": "^[a-zA-Z-,]+$" } }, "com.amazonaws.transcribestreaming#LanguageWithScore": { "type": "structure", "members": { "LanguageCode": { "target": "com.amazonaws.transcribestreaming#LanguageCode", "traits": { "smithy.api#documentation": "The language code of the identified language.
" } }, "Score": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The confidence score associated with the identified language code. Confidence scores are values\n between zero and one; larger values indicate a higher confidence in the identified language.
" } } }, "traits": { "smithy.api#documentation": "The language code that represents the language identified in your audio, including the associated\n confidence score. If you enabled channel identification in your request and each channel contained a \n different language, you will have more than one LanguageWithScore result.
Your client has exceeded one of the Amazon Transcribe limits, typically the concurrent stream\n service quota. This error can also occur if a stream exceeds the maximum session duration. In rare\n cases, this error can also occur if you increase your number of concurrent streams too quickly.\n Reduce your number of concurrent streams and try your request again using an exponential backoff\n strategy.
", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.transcribestreaming#Long": { "type": "long" }, "com.amazonaws.transcribestreaming#MatchedCategoryDetails": { "type": "map", "key": { "target": "com.amazonaws.transcribestreaming#String" }, "value": { "target": "com.amazonaws.transcribestreaming#PointsOfInterest" } }, "com.amazonaws.transcribestreaming#MediaEncoding": { "type": "enum", "members": { "PCM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "pcm" } }, "OGG_OPUS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ogg-opus" } }, "FLAC": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "flac" } }, "G711_ALAW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "g711-alaw" } }, "G711_ULAW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "g711-ulaw" } }, "G729": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "g729" } } } }, "com.amazonaws.transcribestreaming#MediaSampleRateHertz": { "type": "integer", "traits": { "smithy.api#range": { "min": 8000, "max": 48000 } } }, "com.amazonaws.transcribestreaming#MedicalAlternative": { "type": "structure", "members": { "Transcript": { "target": "com.amazonaws.transcribestreaming#String", "traits": { "smithy.api#documentation": "Contains transcribed text.
" } }, "Items": { "target": "com.amazonaws.transcribestreaming#MedicalItemList", "traits": { "smithy.api#documentation": "Contains words, phrases, or punctuation marks in your transcription output.
" } }, "Entities": { "target": "com.amazonaws.transcribestreaming#MedicalEntityList", "traits": { "smithy.api#documentation": "Contains entities identified as personal health information (PHI) in your transcription \n output.
" } } }, "traits": { "smithy.api#documentation": "A list of possible alternative transcriptions for the input audio. Each alternative may\n contain one or more of Items, Entities, or\n Transcript.
The start time, in seconds, of the utterance that was identified as PHI.
" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The end time, in seconds, of the utterance that was identified as PHI.
" } }, "Category": { "target": "com.amazonaws.transcribestreaming#String", "traits": { "smithy.api#documentation": "The category of information identified. The only category is PHI.
The word or words identified as PHI.
" } }, "Confidence": { "target": "com.amazonaws.transcribestreaming#Confidence", "traits": { "smithy.api#documentation": "The confidence score associated with the identified PHI entity in your audio.
\nConfidence scores are values between 0 and 1. A larger value indicates a higher\n probability that the identified entity correctly matches the entity spoken in your\n media.
" } } }, "traits": { "smithy.api#documentation": "Contains entities identified as personal health information (PHI) in your\n transcription output, along with various associated attributes. Examples include\n category, confidence score, type, stability score, and start and end times.
" } }, "com.amazonaws.transcribestreaming#MedicalEntityList": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#MedicalEntity" } }, "com.amazonaws.transcribestreaming#MedicalItem": { "type": "structure", "members": { "StartTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The start time, in seconds, of the transcribed item.
" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The end time, in seconds, of the transcribed item.
" } }, "Type": { "target": "com.amazonaws.transcribestreaming#ItemType", "traits": { "smithy.api#documentation": "The type of item identified. Options are: PRONUNCIATION (spoken \n words) and PUNCTUATION.
The word or punctuation that was transcribed.
" } }, "Confidence": { "target": "com.amazonaws.transcribestreaming#Confidence", "traits": { "smithy.api#documentation": "The confidence score associated with a word or phrase in your transcript.
\nConfidence scores are values between 0 and 1. A larger value indicates a higher\n probability that the identified item correctly matches the item spoken in your\n media.
" } }, "Speaker": { "target": "com.amazonaws.transcribestreaming#String", "traits": { "smithy.api#documentation": "If speaker partitioning is enabled, Speaker labels the speaker of the\n specified item.
A word, phrase, or punctuation mark in your transcription output, along with various \n associated attributes, such as confidence score, type, and start and end times.
" } }, "com.amazonaws.transcribestreaming#MedicalItemList": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#MedicalItem" } }, "com.amazonaws.transcribestreaming#MedicalResult": { "type": "structure", "members": { "ResultId": { "target": "com.amazonaws.transcribestreaming#String", "traits": { "smithy.api#documentation": "Provides a unique identifier for the Result.
The start time, in seconds, of the Result.
The end time, in seconds, of the Result.
Indicates if the segment is complete.
\nIf IsPartial is true, the segment is not complete. If\n IsPartial is false, the segment is complete.
A list of possible alternative transcriptions for the input audio. Each alternative may \n contain one or more of Items, Entities, or\n Transcript.
Indicates the channel identified for the Result.
The Result associated with a \n .
Contains a set of transcription results from one or more audio segments, along with\n additional information per your request parameters. This can include information relating to\n alternative transcriptions, channel identification, partial result stabilization, language \n identification, and other transcription-related data.
" } }, "com.amazonaws.transcribestreaming#MedicalResultList": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#MedicalResult" } }, "com.amazonaws.transcribestreaming#MedicalScribeAudioEvent": { "type": "structure", "members": { "AudioChunk": { "target": "com.amazonaws.transcribestreaming#AudioChunk", "traits": { "smithy.api#documentation": "\n An audio blob containing the next segment of audio from your application,\n with a maximum duration of 1 second. \n The maximum size in bytes varies based on audio properties.\n
\nFind recommended size in Transcribing streaming best practices.\n
\n\n Size calculation: Duration (s) * Sample Rate (Hz) * Number of Channels * 2 (Bytes per Sample)\n
\n For example, a 1-second chunk of 16 kHz, 2-channel, 16-bit audio would be \n 1 * 16000 * 2 * 2 = 64000 bytes.\n
\n For 8 kHz, 1-channel, 16-bit audio, a 1-second chunk would be \n 1 * 8000 * 1 * 2 = 16000 bytes.\n
A wrapper for your audio chunks
\nFor more information, see Event stream encoding.\n
" } }, "com.amazonaws.transcribestreaming#MedicalScribeChannelDefinition": { "type": "structure", "members": { "ChannelId": { "target": "com.amazonaws.transcribestreaming#MedicalScribeChannelId", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "Specify the audio channel you want to define.
", "smithy.api#required": {} } }, "ParticipantRole": { "target": "com.amazonaws.transcribestreaming#MedicalScribeParticipantRole", "traits": { "smithy.api#documentation": "Specify the participant that you want to flag.\n The allowed options are CLINICIAN and\n PATIENT.\n
Makes it possible to specify which speaker is on which channel.\n For example, if the clinician is the first participant to speak, you would set the ChannelId of the first\n ChannelDefinition\n in the list to 0 (to indicate the first channel) and ParticipantRole to\n CLINICIAN\n (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\n (to indicate the second channel) and ParticipantRole to PATIENT (to indicate that it's the patient speaking).\n
If you don't specify a channel definition, HealthScribe will diarize the transcription and identify speaker roles for each speaker.
" } }, "com.amazonaws.transcribestreaming#MedicalScribeChannelDefinitions": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#MedicalScribeChannelDefinition" }, "traits": { "smithy.api#length": { "min": 2, "max": 2 } } }, "com.amazonaws.transcribestreaming#MedicalScribeChannelId": { "type": "integer", "traits": { "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1 } } }, "com.amazonaws.transcribestreaming#MedicalScribeConfigurationEvent": { "type": "structure", "members": { "VocabularyName": { "target": "com.amazonaws.transcribestreaming#VocabularyName", "traits": { "smithy.api#documentation": "Specify the name of the custom vocabulary you want to use for your streaming session.\n Custom vocabulary names are case-sensitive.\n
" } }, "VocabularyFilterName": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterName", "traits": { "smithy.api#documentation": "Specify the name of the custom vocabulary filter you want to include in your streaming session.\n Custom vocabulary filter names are case-sensitive.\n
\nIf you include VocabularyFilterName in the MedicalScribeConfigurationEvent,\n you must also include VocabularyFilterMethod.\n
Specify how you want your custom vocabulary filter applied to the streaming session.
\nTo replace words with ***, specify mask.\n
To delete words, specify remove.\n
To flag words without changing them, specify tag.\n
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 output\n bucket you specified, and use your KMS key if supplied. If the role that you specify doesn\u2019t have the\n appropriate permissions, your request fails.
\n\n IAM\n role ARNs have the format\n arn:partition:iam::account:role/role-name-with-path.\n For example: arn:aws:iam::111122223333:role/Admin.\n
For more information, see Amazon Web Services HealthScribe.
", "smithy.api#required": {} } }, "ChannelDefinitions": { "target": "com.amazonaws.transcribestreaming#MedicalScribeChannelDefinitions", "traits": { "smithy.api#documentation": "Specify which speaker is on which audio channel.
" } }, "EncryptionSettings": { "target": "com.amazonaws.transcribestreaming#MedicalScribeEncryptionSettings", "traits": { "smithy.api#documentation": "Specify the encryption settings for your streaming session.
" } }, "PostStreamAnalyticsSettings": { "target": "com.amazonaws.transcribestreaming#MedicalScribePostStreamAnalyticsSettings", "traits": { "smithy.api#documentation": "Specify settings for post-stream analytics.
", "smithy.api#required": {} } }, "MedicalScribeContext": { "target": "com.amazonaws.transcribestreaming#MedicalScribeContext", "traits": { "smithy.api#documentation": "The MedicalScribeContext object that contains contextual information used to generate\n customized clinical notes.
Specify details to configure the streaming session, including channel definitions, encryption settings, post-stream analytics\n settings, resource access role ARN and vocabulary settings.\n
\nWhether you are starting a new session or resuming an existing session, \n your first event must be a MedicalScribeConfigurationEvent.\n If you are resuming a session, then this event must have the same configurations that you provided to start the session.\n
Contains patient-specific information used to customize the clinical note generation.
" } } }, "traits": { "smithy.api#documentation": "The MedicalScribeContext object that contains contextual information which is used during clinical note generation\n to add relevant context to the note.
A map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of\n security for your data. For more information, see KMSencryption context and Asymmetric keys in KMS\n .
" } }, "KmsKeyId": { "target": "com.amazonaws.transcribestreaming#KMSKeyId", "traits": { "smithy.api#documentation": "The ID of the KMS key you want to use for your streaming session. You\n can specify its KMS key ID, key Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with \"alias/\". \n To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.
For example:
\nKey ID: 1234abcd-12ab-34cd-56ef-1234567890ab
\nKey ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
\n\n Alias name: alias/ExampleAlias
\n\n Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias \n
\n\n To get the key ID and key ARN for a KMS key, use the ListKeys or DescribeKey KMS API operations. \n To get the alias name and alias ARN, use ListKeys API operation. \n
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains encryption related settings to be used for data encryption with Key Management Service, including KmsEncryptionContext and KmsKeyId.\n The KmsKeyId is required, while KmsEncryptionContext is optional for additional layer of security.\n
\nBy default, Amazon Web Services HealthScribe provides encryption at rest to protect sensitive customer data using Amazon S3-managed keys. HealthScribe uses the KMS key you specify as a second layer of\n encryption.
\n\n Your ResourceAccessRoleArn\n must permission to use your KMS key.\n For more information, see Data Encryption at rest for Amazon Web Services HealthScribe.\n
Specify the lifecycle of your streaming session, such as ending the session.
" } }, "ConfigurationEvent": { "target": "com.amazonaws.transcribestreaming#MedicalScribeConfigurationEvent", "traits": { "smithy.api#documentation": "Specify additional streaming session configurations beyond those provided in your initial start request headers. For example, specify\n channel definitions, encryption settings, and post-stream analytics settings.\n
\nWhether you are starting a new session or resuming an existing session, \n your first event must be a MedicalScribeConfigurationEvent.\n
An encoded stream of events. The stream is encoded as HTTP/2 data frames.
\nAn input stream consists of the following types of events. The first element of the input stream must be the MedicalScribeConfigurationEvent event type.
\n MedicalScribeConfigurationEvent\n
\n MedicalScribeAudioEvent\n
\n MedicalScribeSessionControlEvent\n
The patient's preferred pronouns that the user wants to provide as a context for clinical note generation .
" } } }, "traits": { "smithy.api#documentation": "Contains patient-specific information.
" } }, "com.amazonaws.transcribestreaming#MedicalScribePostStreamAnalyticsResult": { "type": "structure", "members": { "ClinicalNoteGenerationResult": { "target": "com.amazonaws.transcribestreaming#ClinicalNoteGenerationResult", "traits": { "smithy.api#documentation": "Provides the Clinical Note Generation result for post-stream analytics.
" } } }, "traits": { "smithy.api#documentation": "Contains details for the result of post-stream analytics.\n
" } }, "com.amazonaws.transcribestreaming#MedicalScribePostStreamAnalyticsSettings": { "type": "structure", "members": { "ClinicalNoteGenerationSettings": { "target": "com.amazonaws.transcribestreaming#ClinicalNoteGenerationSettings", "traits": { "smithy.api#documentation": "Specify settings for the post-stream clinical note generation.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The settings for post-stream analytics.\n
" } }, "com.amazonaws.transcribestreaming#MedicalScribeResultStream": { "type": "union", "members": { "TranscriptEvent": { "target": "com.amazonaws.transcribestreaming#MedicalScribeTranscriptEvent", "traits": { "smithy.api#documentation": "The transcript event that contains real-time transcription results.\n
" } }, "BadRequestException": { "target": "com.amazonaws.transcribestreaming#BadRequestException" }, "LimitExceededException": { "target": "com.amazonaws.transcribestreaming#LimitExceededException" }, "InternalFailureException": { "target": "com.amazonaws.transcribestreaming#InternalFailureException" }, "ConflictException": { "target": "com.amazonaws.transcribestreaming#ConflictException" }, "ServiceUnavailableException": { "target": "com.amazonaws.transcribestreaming#ServiceUnavailableException" } }, "traits": { "smithy.api#documentation": "Result stream where you will receive the output events.\n The details are provided in the MedicalScribeTranscriptEvent object.\n
The type of MedicalScribeSessionControlEvent.\n
Possible Values:
\n\n END_OF_SESSION - Indicates the audio streaming is complete. After you\n send an END_OF_SESSION event, Amazon Web Services HealthScribe starts the post-stream analytics.\n The session can't be resumed after this event is sent. After Amazon Web Services HealthScribe processes the event, the real-time StreamStatus is COMPLETED.\n You get the StreamStatus and other stream details with the GetMedicalScribeStream API operation.\n For more information about different streaming statuses, see the StreamStatus description in the MedicalScribeStreamDetails. \n
Specify the lifecycle of your streaming session.
" } }, "com.amazonaws.transcribestreaming#MedicalScribeSessionControlEventType": { "type": "enum", "members": { "END_OF_SESSION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "END_OF_SESSION" } } } }, "com.amazonaws.transcribestreaming#MedicalScribeStreamDetails": { "type": "structure", "members": { "SessionId": { "target": "com.amazonaws.transcribestreaming#SessionId", "traits": { "smithy.api#documentation": "The identifier of the HealthScribe streaming session.
" } }, "StreamCreatedAt": { "target": "com.amazonaws.transcribestreaming#DateTime", "traits": { "smithy.api#documentation": "The date and time when the HealthScribe streaming session was created.
" } }, "StreamEndedAt": { "target": "com.amazonaws.transcribestreaming#DateTime", "traits": { "smithy.api#documentation": "The date and time when the HealthScribe streaming session was ended.
" } }, "LanguageCode": { "target": "com.amazonaws.transcribestreaming#MedicalScribeLanguageCode", "traits": { "smithy.api#documentation": "The Language Code of the HealthScribe streaming session.
" } }, "MediaSampleRateHertz": { "target": "com.amazonaws.transcribestreaming#MedicalScribeMediaSampleRateHertz", "traits": { "smithy.api#documentation": "The sample rate (in hertz) of the HealthScribe streaming session.
" } }, "MediaEncoding": { "target": "com.amazonaws.transcribestreaming#MedicalScribeMediaEncoding", "traits": { "smithy.api#documentation": "The Media Encoding of the HealthScribe streaming session.
" } }, "VocabularyName": { "target": "com.amazonaws.transcribestreaming#VocabularyName", "traits": { "smithy.api#documentation": "The vocabulary name of the HealthScribe streaming session.
" } }, "VocabularyFilterName": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterName", "traits": { "smithy.api#documentation": "The name of the vocabulary filter used for the HealthScribe streaming session .
" } }, "VocabularyFilterMethod": { "target": "com.amazonaws.transcribestreaming#MedicalScribeVocabularyFilterMethod", "traits": { "smithy.api#documentation": "The method of the vocabulary filter for the HealthScribe streaming session.
" } }, "ResourceAccessRoleArn": { "target": "com.amazonaws.transcribestreaming#IamRoleArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the role used in the HealthScribe streaming session.
" } }, "ChannelDefinitions": { "target": "com.amazonaws.transcribestreaming#MedicalScribeChannelDefinitions", "traits": { "smithy.api#documentation": "The Channel Definitions of the HealthScribe streaming session.
" } }, "EncryptionSettings": { "target": "com.amazonaws.transcribestreaming#MedicalScribeEncryptionSettings", "traits": { "smithy.api#documentation": "The Encryption Settings of the HealthScribe streaming session.
" } }, "StreamStatus": { "target": "com.amazonaws.transcribestreaming#MedicalScribeStreamStatus", "traits": { "smithy.api#documentation": "The streaming status of the HealthScribe streaming session.
\nPossible Values:
\n\n IN_PROGRESS\n
\n PAUSED\n
\n FAILED\n
\n COMPLETED\n
This status is specific to real-time streaming.\n A COMPLETED status doesn't mean that the post-stream analytics is complete.\n To get status of an analytics result, check the Status field for the analytics result within the\n MedicalScribePostStreamAnalyticsResult. For example, you can view the status of the \n ClinicalNoteGenerationResult.\n
The post-stream analytics settings of the HealthScribe streaming session.
" } }, "PostStreamAnalyticsResult": { "target": "com.amazonaws.transcribestreaming#MedicalScribePostStreamAnalyticsResult", "traits": { "smithy.api#documentation": "The result of post-stream analytics for the HealthScribe streaming session.
" } }, "MedicalScribeContextProvided": { "target": "com.amazonaws.transcribestreaming#NullableBoolean", "traits": { "smithy.api#documentation": "Indicates whether the MedicalScribeContext object was provided when the stream was started.
Contains details about a Amazon Web Services HealthScribe streaming session.
" } }, "com.amazonaws.transcribestreaming#MedicalScribeStreamStatus": { "type": "enum", "members": { "IN_PROGRESS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IN_PROGRESS" } }, "PAUSED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PAUSED" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FAILED" } }, "COMPLETED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "COMPLETED" } } } }, "com.amazonaws.transcribestreaming#MedicalScribeTranscriptEvent": { "type": "structure", "members": { "TranscriptSegment": { "target": "com.amazonaws.transcribestreaming#MedicalScribeTranscriptSegment", "traits": { "smithy.api#documentation": "The TranscriptSegment associated with a MedicalScribeTranscriptEvent.\n
The event associated with MedicalScribeResultStream.\n
Contains MedicalScribeTranscriptSegment, which contains segment related information.\n
The start time, in milliseconds, of the transcribed item.
" } }, "EndAudioTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The end time, in milliseconds, of the transcribed item.
" } }, "Type": { "target": "com.amazonaws.transcribestreaming#MedicalScribeTranscriptItemType", "traits": { "smithy.api#documentation": "The type of item identified. Options are: PRONUNCIATION (spoken words)\n and PUNCTUATION.\n
The confidence score associated with a word or phrase in your transcript.
\nConfidence scores are values between 0 and 1. A larger value indicates a higher\n probability that the identified item correctly matches the item spoken in your media.\n
" } }, "Content": { "target": "com.amazonaws.transcribestreaming#String", "traits": { "smithy.api#documentation": "The word, phrase or punctuation mark that was transcribed.
" } }, "VocabularyFilterMatch": { "target": "com.amazonaws.transcribestreaming#NullableBoolean", "traits": { "smithy.api#documentation": "Indicates whether the specified item matches a word in the vocabulary filter included in\n your configuration event. If true, there is a vocabulary filter match.\n
A word, phrase, or punctuation mark in your transcription output, along with various associated\n attributes, such as confidence score, type, and start and end times.\n
" } }, "com.amazonaws.transcribestreaming#MedicalScribeTranscriptItemList": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#MedicalScribeTranscriptItem" } }, "com.amazonaws.transcribestreaming#MedicalScribeTranscriptItemType": { "type": "enum", "members": { "PRONUNCIATION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "pronunciation" } }, "PUNCTUATION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "punctuation" } } } }, "com.amazonaws.transcribestreaming#MedicalScribeTranscriptSegment": { "type": "structure", "members": { "SegmentId": { "target": "com.amazonaws.transcribestreaming#String", "traits": { "smithy.api#documentation": "The identifier of the segment.
" } }, "BeginAudioTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The start time, in milliseconds, of the segment.
" } }, "EndAudioTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The end time, in milliseconds, of the segment.
" } }, "Content": { "target": "com.amazonaws.transcribestreaming#String", "traits": { "smithy.api#documentation": "Contains transcribed text of the segment.
" } }, "Items": { "target": "com.amazonaws.transcribestreaming#MedicalScribeTranscriptItemList", "traits": { "smithy.api#documentation": "Contains words, phrases, or punctuation marks in your segment.
" } }, "IsPartial": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Indicates if the segment is complete.
\nIf IsPartial is true, the segment is not complete.\n If IsPartial is false, the segment is complete.\n
Indicates which audio channel is associated with the MedicalScribeTranscriptSegment.\n
If MedicalScribeChannelDefinition is not provided in the MedicalScribeConfigurationEvent,\n then this field will not be included.\n
Contains a set of transcription results, along with additional information of the segment.
" } }, "com.amazonaws.transcribestreaming#MedicalScribeVocabularyFilterMethod": { "type": "enum", "members": { "REMOVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "remove" } }, "MASK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "mask" } }, "TAG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "tag" } } } }, "com.amazonaws.transcribestreaming#MedicalTranscript": { "type": "structure", "members": { "Results": { "target": "com.amazonaws.transcribestreaming#MedicalResultList", "traits": { "smithy.api#documentation": "Contains a set of transcription results from one or more audio segments, along with \n additional information per your request parameters. This can include information relating to \n alternative transcriptions, channel identification, partial result stabilization, language \n identification, and other transcription-related data.
" } } }, "traits": { "smithy.api#documentation": "The MedicalTranscript associated with a \n .
\n MedicalTranscript contains Results, which contains a set of \n transcription results from one or more audio segments, along with additional information per your \n request parameters.
Contains Results, which contains a set of transcription results from one or \n more audio segments, along with additional information per your request parameters. This can\n include information relating to alternative transcriptions, channel identification, partial result \n stabilization, language identification, and other transcription-related data.
The MedicalTranscriptEvent associated with a \n MedicalTranscriptResultStream.
Contains a set of transcription results from one or more audio segments, along with additional \n information per your request parameters.
" } }, "com.amazonaws.transcribestreaming#MedicalTranscriptResultStream": { "type": "union", "members": { "TranscriptEvent": { "target": "com.amazonaws.transcribestreaming#MedicalTranscriptEvent", "traits": { "smithy.api#documentation": "The MedicalTranscriptEvent associated with a \n MedicalTranscriptResultStream.
Contains a set of transcription results from one or more audio segments, along with \n additional information per your request parameters. This can include information relating to\n alternative transcriptions, channel identification, partial result stabilization, language \n identification, and other transcription-related data.
" } }, "BadRequestException": { "target": "com.amazonaws.transcribestreaming#BadRequestException" }, "LimitExceededException": { "target": "com.amazonaws.transcribestreaming#LimitExceededException" }, "InternalFailureException": { "target": "com.amazonaws.transcribestreaming#InternalFailureException" }, "ConflictException": { "target": "com.amazonaws.transcribestreaming#ConflictException" }, "ServiceUnavailableException": { "target": "com.amazonaws.transcribestreaming#ServiceUnavailableException" } }, "traits": { "smithy.api#documentation": "Contains detailed information about your streaming session.
", "smithy.api#streaming": {} } }, "com.amazonaws.transcribestreaming#ModelName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 200 }, "smithy.api#pattern": "^[0-9a-zA-Z._-]+$" } }, "com.amazonaws.transcribestreaming#NonEmptyString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2000 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.transcribestreaming#NullableBoolean": { "type": "boolean" }, "com.amazonaws.transcribestreaming#NumberOfChannels": { "type": "integer", "traits": { "smithy.api#range": { "min": 2 } } }, "com.amazonaws.transcribestreaming#PartialResultsStability": { "type": "enum", "members": { "HIGH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "high" } }, "MEDIUM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "medium" } }, "LOW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "low" } } } }, "com.amazonaws.transcribestreaming#ParticipantRole": { "type": "enum", "members": { "AGENT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AGENT" } }, "CUSTOMER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CUSTOMER" } } } }, "com.amazonaws.transcribestreaming#PiiEntityTypes": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 300 }, "smithy.api#pattern": "^[A-Z_, ]+$" } }, "com.amazonaws.transcribestreaming#PointsOfInterest": { "type": "structure", "members": { "TimestampRanges": { "target": "com.amazonaws.transcribestreaming#TimestampRanges", "traits": { "smithy.api#documentation": "Contains the timestamp ranges (start time through end time) of matched categories and rules.
" } } }, "traits": { "smithy.api#documentation": "Contains the timestamps of matched categories.
" } }, "com.amazonaws.transcribestreaming#PostCallAnalyticsSettings": { "type": "structure", "members": { "OutputLocation": { "target": "com.amazonaws.transcribestreaming#String", "traits": { "smithy.api#documentation": "The Amazon S3 location where you want your Call Analytics post-call \n transcription output stored. You can use any of the following formats to specify the output \n location:
\ns3://DOC-EXAMPLE-BUCKET
\ns3://DOC-EXAMPLE-BUCKET/my-output-folder/
\ns3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job.json
\nThe Amazon Resource Name (ARN) of an IAM role that has permissions to\n access the Amazon S3 bucket that contains your input files. If the role that you\n specify doesn\u2019t have the appropriate permissions to access the specified Amazon S3 \n location, 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.
Specify whether you want only a redacted transcript or both a redacted and an unredacted \n transcript. If you choose redacted and unredacted, two JSON files are generated and stored in the \n Amazon S3 output location you specify.
\nNote that to include ContentRedactionOutput in your request, you must \n enable content redaction (ContentRedactionType).
The KMS key you want to use to encrypt your Call Analytics post-call\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.
Note that the role making the \n request must have permission to use the specified KMS key.
" } } }, "traits": { "smithy.api#documentation": "Allows you to specify additional settings for your Call Analytics post-call request, \n including output locations for your redacted transcript, which IAM role to use, \n and which encryption key to use.
\n\n DataAccessRoleArn and OutputLocation are required \n fields.
\n PostCallAnalyticsSettings provides you with the same insights as a \n Call Analytics post-call transcription. Refer to Post-call analytics for more information \n on this feature.
The request references a resource which doesn't exist.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.transcribestreaming#Result": { "type": "structure", "members": { "ResultId": { "target": "com.amazonaws.transcribestreaming#String", "traits": { "smithy.api#documentation": "Provides a unique identifier for the Result.
The start time of the Result in seconds, with millisecond precision (e.g., 1.056).
The end time of the Result in seconds, with millisecond precision (e.g., 1.056).
Indicates if the segment is complete.
\nIf IsPartial is true, the segment is not complete. If\n IsPartial is false, the segment is complete.
A list of possible alternative transcriptions for the input audio. Each alternative may contain\n one or more of Items, Entities, or Transcript.
Indicates which audio channel is associated with the Result.
The language code that represents the language spoken in your audio stream.
" } }, "LanguageIdentification": { "target": "com.amazonaws.transcribestreaming#LanguageIdentification", "traits": { "smithy.api#documentation": "The language code of the dominant language identified in your stream.
\nIf you enabled channel identification and each channel of your audio contains a different language,\n you may have more than one result.
" } } }, "traits": { "smithy.api#documentation": "The Result associated with a \n .
Contains a set of transcription results from one or more audio segments, along with additional \n information per your request parameters. This can include information relating to alternative\n transcriptions, channel identification, partial result stabilization, language identification, and other\n transcription-related data.
" } }, "com.amazonaws.transcribestreaming#ResultList": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#Result" } }, "com.amazonaws.transcribestreaming#Sentiment": { "type": "enum", "members": { "POSITIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "POSITIVE" } }, "NEGATIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NEGATIVE" } }, "MIXED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MIXED" } }, "NEUTRAL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NEUTRAL" } } } }, "com.amazonaws.transcribestreaming#ServiceUnavailableException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.transcribestreaming#String" } }, "traits": { "smithy.api#documentation": "The service is currently unavailable. Try your request later.
", "smithy.api#error": "server", "smithy.api#httpError": 503 } }, "com.amazonaws.transcribestreaming#SessionId": { "type": "string", "traits": { "smithy.api#length": { "min": 36, "max": 36 }, "smithy.api#pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" } }, "com.amazonaws.transcribestreaming#SessionResumeWindow": { "type": "integer", "traits": { "smithy.api#range": { "min": 1, "max": 300 } } }, "com.amazonaws.transcribestreaming#Specialty": { "type": "enum", "members": { "PRIMARYCARE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PRIMARYCARE" } }, "CARDIOLOGY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CARDIOLOGY" } }, "NEUROLOGY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NEUROLOGY" } }, "ONCOLOGY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ONCOLOGY" } }, "RADIOLOGY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "RADIOLOGY" } }, "UROLOGY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "UROLOGY" } } } }, "com.amazonaws.transcribestreaming#Stable": { "type": "boolean" }, "com.amazonaws.transcribestreaming#StartCallAnalyticsStreamTranscription": { "type": "operation", "input": { "target": "com.amazonaws.transcribestreaming#StartCallAnalyticsStreamTranscriptionRequest" }, "output": { "target": "com.amazonaws.transcribestreaming#StartCallAnalyticsStreamTranscriptionResponse" }, "errors": [ { "target": "com.amazonaws.transcribestreaming#BadRequestException" }, { "target": "com.amazonaws.transcribestreaming#ConflictException" }, { "target": "com.amazonaws.transcribestreaming#InternalFailureException" }, { "target": "com.amazonaws.transcribestreaming#LimitExceededException" }, { "target": "com.amazonaws.transcribestreaming#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to \n Amazon Transcribe and the transcription results are streamed to your application. Use this operation\n for Call Analytics transcriptions.
\nThe following parameters are required:
\n\n language-code or identify-language\n
\n media-encoding\n
\n sample-rate\n
For more information on streaming with Amazon Transcribe, see Transcribing streaming audio.
", "smithy.api#http": { "method": "POST", "uri": "/call-analytics-stream-transcription", "code": 200 } } }, "com.amazonaws.transcribestreaming#StartCallAnalyticsStreamTranscriptionRequest": { "type": "structure", "members": { "LanguageCode": { "target": "com.amazonaws.transcribestreaming#CallAnalyticsLanguageCode", "traits": { "smithy.api#documentation": "Specify the language code that represents the language spoken in your audio.
\nFor a list of languages supported with real-time Call Analytics, refer to the \n Supported \n languages table.
", "smithy.api#httpHeader": "x-amzn-transcribe-language-code" } }, "MediaSampleRateHertz": { "target": "com.amazonaws.transcribestreaming#MediaSampleRateHertz", "traits": { "smithy.api#documentation": "The sample rate of the input audio (in hertz). Low-quality audio, such as telephone audio,\n is typically around 8,000 Hz. High-quality audio typically ranges from 16,000 Hz to 48,000 Hz.\n Note that the sample rate you specify must match that of your audio.
", "smithy.api#httpHeader": "x-amzn-transcribe-sample-rate", "smithy.api#required": {} } }, "MediaEncoding": { "target": "com.amazonaws.transcribestreaming#MediaEncoding", "traits": { "smithy.api#documentation": "Specify the encoding of your input audio. Supported formats are:
\nFLAC
\nOPUS-encoded audio in an Ogg container
\nPCM (only signed 16-bit little-endian audio formats, which does not include WAV)
\nFor more information, see Media formats.
", "smithy.api#httpHeader": "x-amzn-transcribe-media-encoding", "smithy.api#required": {} } }, "VocabularyName": { "target": "com.amazonaws.transcribestreaming#VocabularyName", "traits": { "smithy.api#documentation": "Specify the name of the custom vocabulary that you want to use when processing your\n transcription. Note that vocabulary names are case sensitive.
\nIf the language of the specified custom vocabulary doesn't match the language identified in\n your media, the custom vocabulary is not applied to your transcription.
\nFor more information, see Custom vocabularies.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-name" } }, "SessionId": { "target": "com.amazonaws.transcribestreaming#SessionId", "traits": { "smithy.api#documentation": "Specify a name for your Call Analytics transcription session. If you don't include this parameter\n in your request, Amazon Transcribe generates an ID and returns it in the response.
", "smithy.api#httpHeader": "x-amzn-transcribe-session-id" } }, "AudioStream": { "target": "com.amazonaws.transcribestreaming#AudioStream", "traits": { "smithy.api#documentation": "An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket \n data frames.
\nFor more information, see Transcribing streaming audio.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } }, "VocabularyFilterName": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterName", "traits": { "smithy.api#documentation": "Specify the name of the custom vocabulary filter that you want to use when processing your\n transcription. Note that vocabulary filter names are case sensitive.
\nIf the language of the specified custom vocabulary filter doesn't match the language identified in\n your media, the vocabulary filter is not applied to your transcription.
\nFor more information, see Using vocabulary filtering with unwanted \n words.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-name" } }, "VocabularyFilterMethod": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterMethod", "traits": { "smithy.api#documentation": "Specify how you want your 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.
Specify the name of the custom language model that you want to use when processing your\n transcription. Note that language model names are case sensitive.
\nThe language of the specified language model must match the language code you specify\n in your transcription request. If the languages don't match, the custom language model isn't applied. \n There are no errors or warnings associated with a language mismatch.
\nFor more information, see Custom language models.
", "smithy.api#httpHeader": "x-amzn-transcribe-language-model-name" } }, "IdentifyLanguage": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Enables automatic language identification for your Call Analytics transcription.
\nIf you include IdentifyLanguage, you must include a list of\n language codes, using LanguageOptions, that you think may be present in \n your audio stream. You must provide a minimum of two language selections.
You can also include a preferred language using PreferredLanguage. Adding a \n preferred language can help Amazon Transcribe identify the language faster than if you omit this \n parameter.
Note that you must include either LanguageCode or \n IdentifyLanguage in your request. If you include both parameters, your transcription job\n fails.
Specify two or more language codes that represent the languages you think may be present \n in your media.
\nIncluding language options can improve the accuracy of language identification.
\nIf you include LanguageOptions in your request, you must also include \n IdentifyLanguage.
For a list of languages supported with Call Analytics streaming, refer to the \n Supported \n languages table.
\nYou can only include one language dialect per language per stream. For example, you\n cannot include en-US and en-AU in the same request.
Specify a preferred language from the subset of languages codes you specified in \n LanguageOptions.
You can only use this parameter if you've included IdentifyLanguage and\n LanguageOptions in your request.
Specify the names of the custom vocabularies that you want to use when processing your\n Call Analytics transcription. Note that vocabulary names are case sensitive.
\nIf the custom vocabulary's language doesn't match the identified media language, it won't be applied to the transcription.
\nThis parameter is only intended for use with the\n IdentifyLanguage parameter. If you're not\n including IdentifyLanguage in your request and want to use a custom vocabulary\n with your transcription, use the VocabularyName parameter instead.
For more information, see Custom vocabularies.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-names" } }, "VocabularyFilterNames": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterNames", "traits": { "smithy.api#documentation": "Specify the names of the custom vocabulary filters that you want to use when processing\n your Call Analytics transcription. Note that vocabulary filter names are case sensitive.
\nThese filters serve to customize the transcript output.
\nThis parameter is only intended for use with \n the IdentifyLanguage parameter. If you're not \n including IdentifyLanguage in your request and want to use a custom vocabulary filter \n with your transcription, use the VocabularyFilterName parameter instead.
For more information, see Using vocabulary filtering with unwanted \n words.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-names" } }, "EnablePartialResultsStabilization": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Enables partial result stabilization for your transcription. Partial result stabilization can reduce\n latency in your output, but may impact accuracy. For more information, see \n Partial-result \n stabilization.
", "smithy.api#httpHeader": "x-amzn-transcribe-enable-partial-results-stabilization" } }, "PartialResultsStability": { "target": "com.amazonaws.transcribestreaming#PartialResultsStability", "traits": { "smithy.api#documentation": "Specify the level of stability to use when you enable partial results stabilization \n (EnablePartialResultsStabilization).
Low stability provides the highest accuracy. High stability transcribes faster, but with slightly\n lower accuracy.
\nFor more information, see Partial-result \n stabilization.
", "smithy.api#httpHeader": "x-amzn-transcribe-partial-results-stability" } }, "ContentIdentificationType": { "target": "com.amazonaws.transcribestreaming#ContentIdentificationType", "traits": { "smithy.api#documentation": "Labels all personally identifiable information (PII) identified in your transcript.
\nContent identification is performed at the segment level; PII specified in \n PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't\n include PiiEntityTypes in your request, all PII is identified.
You can\u2019t set ContentIdentificationType and ContentRedactionType\n in the same request. If you set both, your request returns a\n BadRequestException.
For more information, see Redacting or identifying personally identifiable\n information.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-identification-type" } }, "ContentRedactionType": { "target": "com.amazonaws.transcribestreaming#ContentRedactionType", "traits": { "smithy.api#documentation": "Redacts all personally identifiable information (PII) identified in your transcript.
\nContent redaction is performed at the segment level; PII specified in \n PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't\n include PiiEntityTypes in your request, all PII is redacted.
You can\u2019t set ContentRedactionType and ContentIdentificationType\n in the same request. If you set both, your request returns a BadRequestException.
For more information, see Redacting or identifying personally identifiable\n information.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-redaction-type" } }, "PiiEntityTypes": { "target": "com.amazonaws.transcribestreaming#PiiEntityTypes", "traits": { "smithy.api#documentation": "Specify which types of personally identifiable information (PII) you want to redact in your \n transcript. You can include as many types as you'd like, or you can select \n ALL.
Values must be comma-separated and can include: ADDRESS, \n BANK_ACCOUNT_NUMBER, BANK_ROUTING,\n CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,\n CREDIT_DEBIT_NUMBER, EMAIL, \n NAME, PHONE, PIN, \n SSN, or ALL.
Note that if you include PiiEntityTypes in your request, you must also include \n ContentIdentificationType or ContentRedactionType.
If you include ContentRedactionType or \n ContentIdentificationType in your request, but do not include \n PiiEntityTypes, all PII is redacted or identified.
Provides the identifier for your real-time Call Analytics request.
", "smithy.api#httpHeader": "x-amzn-request-id" } }, "LanguageCode": { "target": "com.amazonaws.transcribestreaming#CallAnalyticsLanguageCode", "traits": { "smithy.api#documentation": "Provides the language code that you specified in your Call Analytics request.
", "smithy.api#httpHeader": "x-amzn-transcribe-language-code" } }, "MediaSampleRateHertz": { "target": "com.amazonaws.transcribestreaming#MediaSampleRateHertz", "traits": { "smithy.api#documentation": "Provides the sample rate that you specified in your Call Analytics request.
", "smithy.api#httpHeader": "x-amzn-transcribe-sample-rate" } }, "MediaEncoding": { "target": "com.amazonaws.transcribestreaming#MediaEncoding", "traits": { "smithy.api#documentation": "Provides the media encoding you specified in your Call Analytics request.
", "smithy.api#httpHeader": "x-amzn-transcribe-media-encoding" } }, "VocabularyName": { "target": "com.amazonaws.transcribestreaming#VocabularyName", "traits": { "smithy.api#documentation": "Provides the name of the custom vocabulary that you specified in your Call Analytics request.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-name" } }, "SessionId": { "target": "com.amazonaws.transcribestreaming#SessionId", "traits": { "smithy.api#documentation": "Provides the identifier for your Call Analytics transcription session.
", "smithy.api#httpHeader": "x-amzn-transcribe-session-id" } }, "CallAnalyticsTranscriptResultStream": { "target": "com.amazonaws.transcribestreaming#CallAnalyticsTranscriptResultStream", "traits": { "smithy.api#documentation": "Provides detailed information about your real-time Call Analytics session.
", "smithy.api#httpPayload": {} } }, "VocabularyFilterName": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterName", "traits": { "smithy.api#documentation": "Provides the name of the custom vocabulary filter that you specified in your Call Analytics\n request.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-name" } }, "VocabularyFilterMethod": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterMethod", "traits": { "smithy.api#documentation": "Provides the vocabulary filtering method used in your Call Analytics transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-method" } }, "LanguageModelName": { "target": "com.amazonaws.transcribestreaming#ModelName", "traits": { "smithy.api#documentation": "Provides the name of the custom language model that you specified in your Call Analytics \n request.
", "smithy.api#httpHeader": "x-amzn-transcribe-language-model-name" } }, "IdentifyLanguage": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Shows whether automatic language identification was enabled for your Call Analytics transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-identify-language" } }, "LanguageOptions": { "target": "com.amazonaws.transcribestreaming#LanguageOptions", "traits": { "smithy.api#documentation": "Provides the language codes that you specified in your Call Analytics request.
", "smithy.api#httpHeader": "x-amzn-transcribe-language-options" } }, "PreferredLanguage": { "target": "com.amazonaws.transcribestreaming#CallAnalyticsLanguageCode", "traits": { "smithy.api#documentation": "Provides the preferred language that you specified in your Call Analytics request.
", "smithy.api#httpHeader": "x-amzn-transcribe-preferred-language" } }, "VocabularyNames": { "target": "com.amazonaws.transcribestreaming#VocabularyNames", "traits": { "smithy.api#documentation": "Provides the names of the custom vocabularies that you specified in your Call Analytics request.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-names" } }, "VocabularyFilterNames": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterNames", "traits": { "smithy.api#documentation": "Provides the names of the custom vocabulary filters that you specified in your Call Analytics request.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-names" } }, "EnablePartialResultsStabilization": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Shows whether partial results stabilization was enabled for your Call Analytics transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-enable-partial-results-stabilization" } }, "PartialResultsStability": { "target": "com.amazonaws.transcribestreaming#PartialResultsStability", "traits": { "smithy.api#documentation": "Provides the stabilization level used for your transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-partial-results-stability" } }, "ContentIdentificationType": { "target": "com.amazonaws.transcribestreaming#ContentIdentificationType", "traits": { "smithy.api#documentation": "Shows whether content identification was enabled for your Call Analytics transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-identification-type" } }, "ContentRedactionType": { "target": "com.amazonaws.transcribestreaming#ContentRedactionType", "traits": { "smithy.api#documentation": "Shows whether content redaction was enabled for your Call Analytics transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-redaction-type" } }, "PiiEntityTypes": { "target": "com.amazonaws.transcribestreaming#PiiEntityTypes", "traits": { "smithy.api#documentation": "Lists the PII entity types you specified in your Call Analytics request.
", "smithy.api#httpHeader": "x-amzn-transcribe-pii-entity-types" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.transcribestreaming#StartMedicalScribeStream": { "type": "operation", "input": { "target": "com.amazonaws.transcribestreaming#StartMedicalScribeStreamRequest" }, "output": { "target": "com.amazonaws.transcribestreaming#StartMedicalScribeStreamResponse" }, "errors": [ { "target": "com.amazonaws.transcribestreaming#BadRequestException" }, { "target": "com.amazonaws.transcribestreaming#ConflictException" }, { "target": "com.amazonaws.transcribestreaming#InternalFailureException" }, { "target": "com.amazonaws.transcribestreaming#LimitExceededException" }, { "target": "com.amazonaws.transcribestreaming#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "Starts a bidirectional HTTP/2 stream, where audio is streamed to\n Amazon Web Services HealthScribe\n and the transcription results are streamed to your application.
\nWhen you start a stream, you first specify the stream configuration in a MedicalScribeConfigurationEvent. \n This event includes channel definitions, encryption settings, medical scribe context, and post-stream analytics settings, such as the output configuration for aggregated transcript and clinical note generation. These are additional\n streaming session configurations beyond those provided in your initial start request headers. Whether you are starting a new session or resuming an existing session, \n your first event must be a MedicalScribeConfigurationEvent.
\n After you send a MedicalScribeConfigurationEvent, you start AudioEvents and Amazon Web Services HealthScribe \n responds with real-time transcription results. When you are finished, to start processing the results with the post-stream analytics, send a MedicalScribeSessionControlEvent with a Type of \n END_OF_SESSION and Amazon Web Services HealthScribe starts the analytics.\n
You can pause or resume streaming.\n To pause streaming, complete the input stream without sending the\n MedicalScribeSessionControlEvent.\n To resume streaming, call the StartMedicalScribeStream and specify the same SessionId you used to start the stream.\n
The following parameters are required:
\n\n language-code\n
\n media-encoding\n
\n media-sample-rate-hertz\n
For more information on streaming with\n Amazon Web Services HealthScribe,\n see Amazon Web Services HealthScribe.\n
", "smithy.api#http": { "method": "POST", "uri": "/medical-scribe-stream", "code": 200 } } }, "com.amazonaws.transcribestreaming#StartMedicalScribeStreamRequest": { "type": "structure", "members": { "SessionId": { "target": "com.amazonaws.transcribestreaming#SessionId", "traits": { "smithy.api#documentation": "Specify an identifier for your streaming session (in UUID format).\n If you don't include a SessionId in your request,\n Amazon Web Services HealthScribe generates an ID and returns it in the response.\n
", "smithy.api#httpHeader": "x-amzn-transcribe-session-id" } }, "LanguageCode": { "target": "com.amazonaws.transcribestreaming#MedicalScribeLanguageCode", "traits": { "smithy.api#documentation": "Specify the language code for your HealthScribe streaming session.
", "smithy.api#httpHeader": "x-amzn-transcribe-language-code", "smithy.api#required": {} } }, "MediaSampleRateHertz": { "target": "com.amazonaws.transcribestreaming#MedicalScribeMediaSampleRateHertz", "traits": { "smithy.api#documentation": "Specify the sample rate of the input audio (in hertz).\n Amazon Web Services HealthScribe supports a range from 16,000 Hz to 48,000 Hz.\n The sample rate you specify must match that of your audio.\n
", "smithy.api#httpHeader": "x-amzn-transcribe-sample-rate", "smithy.api#required": {} } }, "MediaEncoding": { "target": "com.amazonaws.transcribestreaming#MedicalScribeMediaEncoding", "traits": { "smithy.api#documentation": "Specify the encoding used for the input audio.
\nSupported formats are:
\nFLAC
\nOPUS-encoded audio in an Ogg container
\nPCM (only signed 16-bit little-endian audio formats, which does not include\n WAV)\n
\nFor more information, see Media\n formats.\n
", "smithy.api#httpHeader": "x-amzn-transcribe-media-encoding", "smithy.api#required": {} } }, "InputStream": { "target": "com.amazonaws.transcribestreaming#MedicalScribeInputStream", "traits": { "smithy.api#documentation": "Specify the input stream where you will send events in real time.
\nThe first element of the input stream must be a MedicalScribeConfigurationEvent.\n
The identifier (in UUID format) for your streaming session.
\nIf you already started streaming, this is same ID as the one you specified in your initial StartMedicalScribeStreamRequest.\n
The unique identifier for your streaming request.\n
", "smithy.api#httpHeader": "x-amzn-request-id" } }, "LanguageCode": { "target": "com.amazonaws.transcribestreaming#MedicalScribeLanguageCode", "traits": { "smithy.api#documentation": "The Language Code that you specified in your request.\n Same as provided in the StartMedicalScribeStreamRequest.\n
The sample rate (in hertz) that you specified in your request.\n Same as provided in the\n StartMedicalScribeStreamRequest\n
The Media Encoding you specified in your request.\n Same as provided in the\n StartMedicalScribeStreamRequest\n
The result stream where you will receive the output events.\n
", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.transcribestreaming#StartMedicalStreamTranscription": { "type": "operation", "input": { "target": "com.amazonaws.transcribestreaming#StartMedicalStreamTranscriptionRequest" }, "output": { "target": "com.amazonaws.transcribestreaming#StartMedicalStreamTranscriptionResponse" }, "errors": [ { "target": "com.amazonaws.transcribestreaming#BadRequestException" }, { "target": "com.amazonaws.transcribestreaming#ConflictException" }, { "target": "com.amazonaws.transcribestreaming#InternalFailureException" }, { "target": "com.amazonaws.transcribestreaming#LimitExceededException" }, { "target": "com.amazonaws.transcribestreaming#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to \n Amazon Transcribe Medical and the transcription results are streamed to your\n application.
\nThe following parameters are required:
\n\n language-code\n
\n media-encoding\n
\n sample-rate\n
For more information on streaming with Amazon Transcribe Medical, see \n Transcribing\n streaming audio.
", "smithy.api#http": { "method": "POST", "uri": "/medical-stream-transcription", "code": 200 } } }, "com.amazonaws.transcribestreaming#StartMedicalStreamTranscriptionRequest": { "type": "structure", "members": { "LanguageCode": { "target": "com.amazonaws.transcribestreaming#LanguageCode", "traits": { "smithy.api#documentation": "Specify the language code that represents the language spoken in your audio.
\nAmazon Transcribe Medical only supports US English (en-US).
The sample rate of the input audio (in hertz). Amazon Transcribe Medical supports a\n range from 16,000 Hz to 48,000 Hz. Note that the sample rate you specify must match that\n of your audio.
", "smithy.api#httpHeader": "x-amzn-transcribe-sample-rate", "smithy.api#required": {} } }, "MediaEncoding": { "target": "com.amazonaws.transcribestreaming#MediaEncoding", "traits": { "smithy.api#documentation": "Specify the encoding used for the input audio. Supported formats are:
\nFLAC
\nOPUS-encoded audio in an Ogg container
\nPCM (only signed 16-bit little-endian audio formats, which does not include\n WAV)
\nFor more information, see Media formats.
", "smithy.api#httpHeader": "x-amzn-transcribe-media-encoding", "smithy.api#required": {} } }, "VocabularyName": { "target": "com.amazonaws.transcribestreaming#VocabularyName", "traits": { "smithy.api#documentation": "Specify the name of the custom vocabulary that you want to use when processing your\n transcription. Note that vocabulary names are case sensitive.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-name" } }, "Specialty": { "target": "com.amazonaws.transcribestreaming#Specialty", "traits": { "smithy.api#documentation": "Specify the medical specialty contained in your audio.
", "smithy.api#httpHeader": "x-amzn-transcribe-specialty", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.transcribestreaming#Type", "traits": { "smithy.api#documentation": "Specify the type of input audio. For example, choose DICTATION for a \n provider dictating patient notes and CONVERSATION for a dialogue between a\n patient and a medical professional.
Enables speaker partitioning (diarization) in your transcription output. Speaker\n partitioning labels the speech from individual speakers in your media file.
\nFor more information, see Partitioning speakers (diarization).
", "smithy.api#httpHeader": "x-amzn-transcribe-show-speaker-label" } }, "SessionId": { "target": "com.amazonaws.transcribestreaming#SessionId", "traits": { "smithy.api#documentation": "Specify a name for your transcription session. If you don't include this parameter in \n your request, Amazon Transcribe Medical generates an ID and returns it in the\n response.
", "smithy.api#httpHeader": "x-amzn-transcribe-session-id" } }, "AudioStream": { "target": "com.amazonaws.transcribestreaming#AudioStream", "traits": { "smithy.api#httpPayload": {}, "smithy.api#required": {} } }, "EnableChannelIdentification": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Enables channel identification in multi-channel audio.
\nChannel identification transcribes the audio on each channel independently, then appends\n the output for each channel into one transcript.
\nIf you have multi-channel audio and do not enable channel identification, your audio is \n transcribed in a continuous manner and your transcript is not separated by channel.
\nIf you include EnableChannelIdentification in your request, you must also \n include NumberOfChannels.
For more information, see Transcribing multi-channel audio.
", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } }, "NumberOfChannels": { "target": "com.amazonaws.transcribestreaming#NumberOfChannels", "traits": { "smithy.api#documentation": "Specify the number of channels in your audio stream. This value must be \n 2, as only two channels are supported. If your audio doesn't contain \n multiple channels, do not include this parameter in your request.
If you include NumberOfChannels in your request, you must also \n include EnableChannelIdentification.
Labels all personal health information (PHI) identified in your transcript.
\nContent identification is performed at the segment level; PHI is flagged upon complete\n transcription of an audio segment.
\nFor more information, see Identifying personal health information (PHI) in a\n transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-identification-type" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.transcribestreaming#StartMedicalStreamTranscriptionResponse": { "type": "structure", "members": { "RequestId": { "target": "com.amazonaws.transcribestreaming#RequestId", "traits": { "smithy.api#documentation": "Provides the identifier for your streaming request.
", "smithy.api#httpHeader": "x-amzn-request-id" } }, "LanguageCode": { "target": "com.amazonaws.transcribestreaming#LanguageCode", "traits": { "smithy.api#documentation": "Provides the language code that you specified in your request. This must be\n en-US.
Provides the sample rate that you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-sample-rate" } }, "MediaEncoding": { "target": "com.amazonaws.transcribestreaming#MediaEncoding", "traits": { "smithy.api#documentation": "Provides the media encoding you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-media-encoding" } }, "VocabularyName": { "target": "com.amazonaws.transcribestreaming#VocabularyName", "traits": { "smithy.api#documentation": "Provides the name of the custom vocabulary that you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-name" } }, "Specialty": { "target": "com.amazonaws.transcribestreaming#Specialty", "traits": { "smithy.api#documentation": "Provides the medical specialty that you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-specialty" } }, "Type": { "target": "com.amazonaws.transcribestreaming#Type", "traits": { "smithy.api#documentation": "Provides the type of audio you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-type" } }, "ShowSpeakerLabel": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Shows whether speaker partitioning was enabled for your transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-show-speaker-label" } }, "SessionId": { "target": "com.amazonaws.transcribestreaming#SessionId", "traits": { "smithy.api#documentation": "Provides the identifier for your transcription session.
", "smithy.api#httpHeader": "x-amzn-transcribe-session-id" } }, "TranscriptResultStream": { "target": "com.amazonaws.transcribestreaming#MedicalTranscriptResultStream", "traits": { "smithy.api#documentation": "Provides detailed information about your streaming session.
", "smithy.api#httpPayload": {} } }, "EnableChannelIdentification": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Shows whether channel identification was enabled for your transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } }, "NumberOfChannels": { "target": "com.amazonaws.transcribestreaming#NumberOfChannels", "traits": { "smithy.api#documentation": "Provides the number of channels that you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-number-of-channels" } }, "ContentIdentificationType": { "target": "com.amazonaws.transcribestreaming#MedicalContentIdentificationType", "traits": { "smithy.api#documentation": "Shows whether content identification was enabled for your transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-identification-type" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.transcribestreaming#StartStreamTranscription": { "type": "operation", "input": { "target": "com.amazonaws.transcribestreaming#StartStreamTranscriptionRequest" }, "output": { "target": "com.amazonaws.transcribestreaming#StartStreamTranscriptionResponse" }, "errors": [ { "target": "com.amazonaws.transcribestreaming#BadRequestException" }, { "target": "com.amazonaws.transcribestreaming#ConflictException" }, { "target": "com.amazonaws.transcribestreaming#InternalFailureException" }, { "target": "com.amazonaws.transcribestreaming#LimitExceededException" }, { "target": "com.amazonaws.transcribestreaming#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to \n Amazon Transcribe and the transcription results are streamed to your application.
\nThe following parameters are required:
\n\n language-code or identify-language or identify-multiple-language\n
\n media-encoding\n
\n sample-rate\n
For more information on streaming with Amazon Transcribe, see Transcribing streaming audio.
", "smithy.api#http": { "method": "POST", "uri": "/stream-transcription", "code": 200 } } }, "com.amazonaws.transcribestreaming#StartStreamTranscriptionRequest": { "type": "structure", "members": { "LanguageCode": { "target": "com.amazonaws.transcribestreaming#LanguageCode", "traits": { "smithy.api#documentation": "Specify the language code that represents the language spoken in your audio.
\nIf you're unsure of the language spoken in your audio, consider using \n IdentifyLanguage to enable automatic language identification.
For a list of languages supported with Amazon Transcribe streaming, refer to the \n Supported \n languages table.
", "smithy.api#httpHeader": "x-amzn-transcribe-language-code" } }, "MediaSampleRateHertz": { "target": "com.amazonaws.transcribestreaming#MediaSampleRateHertz", "traits": { "smithy.api#documentation": "The sample rate of the input audio (in hertz). Low-quality audio, such as telephone audio,\n is typically around 8,000 Hz. High-quality audio typically ranges from 16,000 Hz to 48,000 Hz.\n Note that the sample rate you specify must match that of your audio.
", "smithy.api#httpHeader": "x-amzn-transcribe-sample-rate", "smithy.api#required": {} } }, "MediaEncoding": { "target": "com.amazonaws.transcribestreaming#MediaEncoding", "traits": { "smithy.api#documentation": "Specify the encoding of your input audio. Supported formats are:
\nFLAC
\nOPUS-encoded audio in an Ogg container
\nPCM (only signed 16-bit little-endian audio formats, which does not include WAV)
\nFor more information, see Media formats.
", "smithy.api#httpHeader": "x-amzn-transcribe-media-encoding", "smithy.api#required": {} } }, "VocabularyName": { "target": "com.amazonaws.transcribestreaming#VocabularyName", "traits": { "smithy.api#documentation": "Specify the name of the custom vocabulary that you want to use when processing your\n transcription. Note that vocabulary names are case sensitive.
\nIf the language of the specified custom vocabulary doesn't match the language identified in\n your media, the custom vocabulary is not applied to your transcription.
\nThis parameter is not intended for use with the\n IdentifyLanguage parameter. If you're including IdentifyLanguage\n in your request and want to use one or more custom vocabularies with your transcription, use\n the VocabularyNames parameter instead.
For more information, see Custom vocabularies.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-name" } }, "SessionId": { "target": "com.amazonaws.transcribestreaming#SessionId", "traits": { "smithy.api#documentation": "Specify a name for your transcription session. If you don't include this parameter in your request, \n Amazon Transcribe generates an ID and returns it in the response.
", "smithy.api#httpHeader": "x-amzn-transcribe-session-id" } }, "AudioStream": { "target": "com.amazonaws.transcribestreaming#AudioStream", "traits": { "smithy.api#documentation": "An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket \n data frames.
\nFor more information, see Transcribing streaming audio.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } }, "VocabularyFilterName": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterName", "traits": { "smithy.api#documentation": "Specify the name of the custom vocabulary filter that you want to use when processing your\n transcription. Note that vocabulary filter names are case sensitive.
\nIf the language of the specified custom vocabulary filter doesn't match the language identified in\n your media, the vocabulary filter is not applied to your transcription.
\nThis parameter is not intended for use with the\n IdentifyLanguage parameter. If you're including IdentifyLanguage\n in your request and want to use one or more vocabulary filters with your transcription, use\n the VocabularyFilterNames parameter instead.
For more information, see Using vocabulary filtering with unwanted \n words.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-name" } }, "VocabularyFilterMethod": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterMethod", "traits": { "smithy.api#documentation": "Specify how you want your 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.
Enables speaker partitioning (diarization) in your transcription output. Speaker partitioning \n labels the speech from individual speakers in your media file.
\nFor more information, see Partitioning speakers (diarization).
", "smithy.api#httpHeader": "x-amzn-transcribe-show-speaker-label" } }, "EnableChannelIdentification": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Enables channel identification in multi-channel audio.
\nChannel identification transcribes the audio on each channel independently, then appends the \n output for each channel into one transcript.
\nIf you have multi-channel audio and do not enable channel identification, your audio is \n transcribed in a continuous manner and your transcript is not separated by channel.
\nIf you include EnableChannelIdentification in your request, you must also \n include NumberOfChannels.
For more information, see Transcribing multi-channel audio.
", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } }, "NumberOfChannels": { "target": "com.amazonaws.transcribestreaming#NumberOfChannels", "traits": { "smithy.api#documentation": "Specify the number of channels in your audio stream. This value must be \n 2, as only two channels are supported. If your audio doesn't contain \n multiple channels, do not include this parameter in your request.
If you include NumberOfChannels in your request, you must also \n include EnableChannelIdentification.
Enables partial result stabilization for your transcription. Partial result stabilization can reduce\n latency in your output, but may impact accuracy. For more information, see \n Partial-result \n stabilization.
", "smithy.api#httpHeader": "x-amzn-transcribe-enable-partial-results-stabilization" } }, "PartialResultsStability": { "target": "com.amazonaws.transcribestreaming#PartialResultsStability", "traits": { "smithy.api#documentation": "Specify the level of stability to use when you enable partial results stabilization \n (EnablePartialResultsStabilization).
Low stability provides the highest accuracy. High stability transcribes faster, but with slightly\n lower accuracy.
\nFor more information, see Partial-result \n stabilization.
", "smithy.api#httpHeader": "x-amzn-transcribe-partial-results-stability" } }, "ContentIdentificationType": { "target": "com.amazonaws.transcribestreaming#ContentIdentificationType", "traits": { "smithy.api#documentation": "Labels all personally identifiable information (PII) identified in your transcript.
\nContent identification is performed at the segment level; PII specified in \n PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't\n include PiiEntityTypes in your request, all PII is identified.
You can\u2019t set ContentIdentificationType and ContentRedactionType\n in the same request. If you set both, your request returns a\n BadRequestException.
For more information, see Redacting or identifying personally identifiable\n information.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-identification-type" } }, "ContentRedactionType": { "target": "com.amazonaws.transcribestreaming#ContentRedactionType", "traits": { "smithy.api#documentation": "Redacts all personally identifiable information (PII) identified in your transcript.
\nContent redaction is performed at the segment level; PII specified in \n PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't\n include PiiEntityTypes in your request, all PII is redacted.
You can\u2019t set ContentRedactionType and ContentIdentificationType\n in the same request. If you set both, your request returns a BadRequestException.
For more information, see Redacting or identifying personally identifiable\n information.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-redaction-type" } }, "PiiEntityTypes": { "target": "com.amazonaws.transcribestreaming#PiiEntityTypes", "traits": { "smithy.api#documentation": "Specify which types of personally identifiable information (PII) you want to redact in your \n transcript. You can include as many types as you'd like, or you can select \n ALL.
Values must be comma-separated and can include: ADDRESS, \n BANK_ACCOUNT_NUMBER, BANK_ROUTING,\n CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,\n CREDIT_DEBIT_NUMBER, EMAIL, \n NAME, PHONE, PIN, \n SSN, AGE, DATE_TIME,\n LICENSE_PLATE, PASSPORT_NUMBER,\n PASSWORD, USERNAME, VEHICLE_IDENTIFICATION_NUMBER, or ALL.
Note that if you include PiiEntityTypes in your request, you must also include \n ContentIdentificationType or ContentRedactionType.
If you include ContentRedactionType or \n ContentIdentificationType in your request, but do not include \n PiiEntityTypes, all PII is redacted or identified.
Specify the name of the custom language model that you want to use when processing your\n transcription. Note that language model names are case sensitive.
\nThe language of the specified language model must match the language code you specify\n in your transcription request. If the languages don't match, the custom language model isn't applied. \n There are no errors or warnings associated with a language mismatch.
\nFor more information, see Custom language models.
", "smithy.api#httpHeader": "x-amzn-transcribe-language-model-name" } }, "IdentifyLanguage": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Enables automatic language identification for your transcription.
\nIf you include IdentifyLanguage, you must include a list of\n language codes, using LanguageOptions, that you think may be present in \n your audio stream.
You can also include a preferred language using PreferredLanguage. Adding a \n preferred language can help Amazon Transcribe identify the language faster than if you omit this \n parameter.
If you have multi-channel audio that contains different languages on each channel, and you've \n enabled channel identification, automatic language identification identifies the dominant language on \n each audio channel.
\nNote that you must include either LanguageCode or \n IdentifyLanguage or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job\n fails.
Streaming language identification can't be combined with custom language models or \n redaction.
", "smithy.api#httpHeader": "x-amzn-transcribe-identify-language" } }, "LanguageOptions": { "target": "com.amazonaws.transcribestreaming#LanguageOptions", "traits": { "smithy.api#documentation": "Specify two or more language codes that represent the languages you think may be present \n in your media; including more than five is not recommended.
\nIncluding language options can improve the accuracy of language identification.
\nIf you include LanguageOptions in your request, you must also include \n IdentifyLanguage or IdentifyMultipleLanguages.
For a list of languages supported with Amazon Transcribe streaming, refer to the \n Supported \n languages table.
\nYou can only include one language dialect per language per stream. For example, you\n cannot include en-US and en-AU in the same request.
Specify a preferred language from the subset of languages codes you specified in \n LanguageOptions.
You can only use this parameter if you've included IdentifyLanguage and\n LanguageOptions in your request.
Enables automatic multi-language identification in your transcription job request. Use this parameter if your stream contains more than one language. If your stream contains only one language, use IdentifyLanguage instead.
\nIf you include IdentifyMultipleLanguages, you must include a list of language codes, using LanguageOptions, that you think may be present in your stream.
If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic multiple language identification request, include VocabularyNames or VocabularyFilterNames.
Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.
Specify the names of the custom vocabularies that you want to use when processing your\n transcription. Note that vocabulary names are case sensitive.
\nIf none of the languages of the specified custom vocabularies match the language identified in \n your media, your job fails.
\nThis parameter is only intended for use with the\n IdentifyLanguage parameter. If you're not\n including IdentifyLanguage in your request and want to use a custom vocabulary\n with your transcription, use the VocabularyName parameter instead.
For more information, see Custom vocabularies.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-names" } }, "VocabularyFilterNames": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterNames", "traits": { "smithy.api#documentation": "Specify the names of the custom vocabulary filters that you want to use when processing\n your transcription. Note that vocabulary filter names are case sensitive.
\nIf none of the languages of the specified custom vocabulary filters match the language identified\n in your media, your job fails.
\nThis parameter is only intended for use with \n the IdentifyLanguage parameter. If you're not \n including IdentifyLanguage in your request and want to use a custom vocabulary filter \n with your transcription, use the VocabularyFilterName parameter instead.
For more information, see Using vocabulary filtering with unwanted \n words.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-names" } }, "SessionResumeWindow": { "target": "com.amazonaws.transcribestreaming#SessionResumeWindow", "traits": { "smithy.api#documentation": "Specify the time window, in minutes, during which your transcription session can be resumed,\n measured from the stream start time. This optional parameter accepts integer values from 1 to 300 (5 hours).
\n For example, if your stream starts at 1 PM and you specify a SessionResumeWindow of 30 minutes,\n you can reconnect to the session as many times as you want until 1:30 PM.
Specify how numbers, dates, and other alphanumeric entities are rendered in your\n transcription results.
\n\n WRITTEN renders these entities in their standard written form\n (for example, $50, 10:30 AM, and 101).
\n SPOKEN renders these entities as words, exactly as they were\n spoken (for example, fifty dollars, ten thirty a m, and\n one oh one).
If you don't specify a value, Amazon Transcribe uses WRITTEN by default.
Provides the identifier for your streaming request.
", "smithy.api#httpHeader": "x-amzn-request-id" } }, "LanguageCode": { "target": "com.amazonaws.transcribestreaming#LanguageCode", "traits": { "smithy.api#documentation": "Provides the language code that you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-language-code" } }, "MediaSampleRateHertz": { "target": "com.amazonaws.transcribestreaming#MediaSampleRateHertz", "traits": { "smithy.api#documentation": "Provides the sample rate that you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-sample-rate" } }, "MediaEncoding": { "target": "com.amazonaws.transcribestreaming#MediaEncoding", "traits": { "smithy.api#documentation": "Provides the media encoding you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-media-encoding" } }, "VocabularyName": { "target": "com.amazonaws.transcribestreaming#VocabularyName", "traits": { "smithy.api#documentation": "Provides the name of the custom vocabulary that you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-name" } }, "SessionId": { "target": "com.amazonaws.transcribestreaming#SessionId", "traits": { "smithy.api#documentation": "Provides the identifier for your transcription session.
", "smithy.api#httpHeader": "x-amzn-transcribe-session-id" } }, "TranscriptResultStream": { "target": "com.amazonaws.transcribestreaming#TranscriptResultStream", "traits": { "smithy.api#documentation": "Provides detailed information about your streaming session.
", "smithy.api#httpPayload": {} } }, "VocabularyFilterName": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterName", "traits": { "smithy.api#documentation": "Provides the name of the custom vocabulary filter that you specified in your\n request.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-name" } }, "VocabularyFilterMethod": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterMethod", "traits": { "smithy.api#documentation": "Provides the vocabulary filtering method used in your transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-method" } }, "ShowSpeakerLabel": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Shows whether speaker partitioning was enabled for your transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-show-speaker-label" } }, "EnableChannelIdentification": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Shows whether channel identification was enabled for your transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } }, "NumberOfChannels": { "target": "com.amazonaws.transcribestreaming#NumberOfChannels", "traits": { "smithy.api#documentation": "Provides the number of channels that you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-number-of-channels" } }, "EnablePartialResultsStabilization": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Shows whether partial results stabilization was enabled for your transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-enable-partial-results-stabilization" } }, "PartialResultsStability": { "target": "com.amazonaws.transcribestreaming#PartialResultsStability", "traits": { "smithy.api#documentation": "Provides the stabilization level used for your transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-partial-results-stability" } }, "ContentIdentificationType": { "target": "com.amazonaws.transcribestreaming#ContentIdentificationType", "traits": { "smithy.api#documentation": "Shows whether content identification was enabled for your transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-identification-type" } }, "ContentRedactionType": { "target": "com.amazonaws.transcribestreaming#ContentRedactionType", "traits": { "smithy.api#documentation": "Shows whether content redaction was enabled for your transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-redaction-type" } }, "PiiEntityTypes": { "target": "com.amazonaws.transcribestreaming#PiiEntityTypes", "traits": { "smithy.api#documentation": "Lists the PII entity types you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-pii-entity-types" } }, "LanguageModelName": { "target": "com.amazonaws.transcribestreaming#ModelName", "traits": { "smithy.api#documentation": "Provides the name of the custom language model that you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-language-model-name" } }, "IdentifyLanguage": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Shows whether automatic language identification was enabled for your \n transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-identify-language" } }, "LanguageOptions": { "target": "com.amazonaws.transcribestreaming#LanguageOptions", "traits": { "smithy.api#documentation": "Provides the language codes that you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-language-options" } }, "PreferredLanguage": { "target": "com.amazonaws.transcribestreaming#LanguageCode", "traits": { "smithy.api#documentation": "Provides the preferred language that you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-preferred-language" } }, "IdentifyMultipleLanguages": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Shows whether automatic multi-language identification was enabled for your transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-identify-multiple-languages" } }, "VocabularyNames": { "target": "com.amazonaws.transcribestreaming#VocabularyNames", "traits": { "smithy.api#documentation": "Provides the names of the custom vocabularies that you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-names" } }, "VocabularyFilterNames": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterNames", "traits": { "smithy.api#documentation": "Provides the names of the custom vocabulary filters that you specified in your\n request.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-names" } }, "SessionResumeWindow": { "target": "com.amazonaws.transcribestreaming#SessionResumeWindow", "traits": { "smithy.api#documentation": "Provides the session resume window, in minutes, that you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-session-resume-window" } }, "TranscriptFormat": { "target": "com.amazonaws.transcribestreaming#TranscriptFormat", "traits": { "smithy.api#documentation": "Provides the transcript format that you specified in your request.
", "smithy.api#httpHeader": "x-amzn-transcribe-transcript-format" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.transcribestreaming#String": { "type": "string" }, "com.amazonaws.transcribestreaming#StringList": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#String" } }, "com.amazonaws.transcribestreaming#TimestampRange": { "type": "structure", "members": { "BeginOffsetMillis": { "target": "com.amazonaws.transcribestreaming#Long", "traits": { "smithy.api#documentation": "The time, in milliseconds, from the beginning of the audio stream to the start of the category \n match.
" } }, "EndOffsetMillis": { "target": "com.amazonaws.transcribestreaming#Long", "traits": { "smithy.api#documentation": "The time, in milliseconds, from the beginning of the audio stream to the end of the category \n match.
" } } }, "traits": { "smithy.api#documentation": "Contains the timestamp range (start time through end time) of a matched category.
" } }, "com.amazonaws.transcribestreaming#TimestampRanges": { "type": "list", "member": { "target": "com.amazonaws.transcribestreaming#TimestampRange" } }, "com.amazonaws.transcribestreaming#Transcribe": { "type": "service", "version": "2017-10-26", "operations": [ { "target": "com.amazonaws.transcribestreaming#GetMedicalScribeStream" }, { "target": "com.amazonaws.transcribestreaming#StartCallAnalyticsStreamTranscription" }, { "target": "com.amazonaws.transcribestreaming#StartMedicalScribeStream" }, { "target": "com.amazonaws.transcribestreaming#StartMedicalStreamTranscription" }, { "target": "com.amazonaws.transcribestreaming#StartStreamTranscription" } ], "traits": { "aws.api#service": { "sdkId": "Transcribe Streaming", "arnNamespace": "transcribe", "cloudFormationName": "TranscribeStreaming", "cloudTrailEventSource": "transcribestreaming.amazonaws.com", "endpointPrefix": "transcribestreaming" }, "aws.auth#sigv4": { "name": "transcribe" }, "aws.protocols#restJson1": { "http": [ "http/1.1", "h2" ], "eventStreamHttp": [ "h2" ] }, "smithy.api#documentation": "Amazon Transcribe streaming offers four main types of real-time transcription:\n Standard, Medical,\n Call Analytics,\n and Health Scribe.
\n\n Standard transcriptions are the most common option. Refer\n to for details.
\n\n Medical transcriptions are tailored to medical professionals \n and incorporate medical terms. A common use case for this service is transcribing doctor-patient \n dialogue in real time, so doctors can focus on their patient instead of taking notes. Refer to\n for details.
\n\n Call Analytics transcriptions are designed for use with call\n center audio on two different channels; if you're looking for insight into customer service calls, use this \n option. Refer to for details.
\n\n HealthScribe transcriptions are designed to\n automatically create clinical notes from patient-clinician conversations using generative AI.\n Refer to [here] for details.
\nContains a set of transcription results from one or more audio segments, along with additional \n information per your request parameters. This can include information relating to alternative\n transcriptions, channel identification, partial result stabilization, language identification, and other\n transcription-related data.
" } } }, "traits": { "smithy.api#documentation": "The Transcript associated with a \n .
\n Transcript contains Results, which contains a set of transcription\n results from one or more audio segments, along with additional information per your request \n parameters.
Contains Results, which contains a set of transcription results from one or\n more audio segments, along with additional information per your request parameters. This can\n include information relating to alternative transcriptions, channel identification, partial\n result stabilization, language identification, and other transcription-related data.
The TranscriptEvent associated with a \n TranscriptResultStream.
Contains a set of transcription results from one or more audio segments, along with additional \n information per your request parameters.
" } }, "com.amazonaws.transcribestreaming#TranscriptFormat": { "type": "enum", "members": { "SPOKEN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "spoken" } }, "WRITTEN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "written" } } } }, "com.amazonaws.transcribestreaming#TranscriptResultStream": { "type": "union", "members": { "TranscriptEvent": { "target": "com.amazonaws.transcribestreaming#TranscriptEvent", "traits": { "smithy.api#documentation": "Contains Transcript, which contains Results. The \n object contains a set of transcription \n results from one or more audio segments, along with additional information per your request \n parameters.
A client error occurred when the stream was created. Check the parameters of the request\n and try your request again.
" } }, "LimitExceededException": { "target": "com.amazonaws.transcribestreaming#LimitExceededException", "traits": { "smithy.api#documentation": "Your client has exceeded one of the Amazon Transcribe limits, typically the concurrent stream\n service quota. This error can also occur if a stream exceeds the maximum session duration. In rare\n cases, this error can also occur if you increase your number of concurrent streams too quickly.\n Reduce your number of concurrent streams and try your request again using an exponential backoff\n strategy.
" } }, "InternalFailureException": { "target": "com.amazonaws.transcribestreaming#InternalFailureException", "traits": { "smithy.api#documentation": "A problem occurred while processing the audio. Amazon Transcribe terminated \n processing.
" } }, "ConflictException": { "target": "com.amazonaws.transcribestreaming#ConflictException", "traits": { "smithy.api#documentation": "A new stream started with the same session ID. The current stream has been\n terminated.
" } }, "ServiceUnavailableException": { "target": "com.amazonaws.transcribestreaming#ServiceUnavailableException", "traits": { "smithy.api#documentation": "The service is currently unavailable. Try your request later.
" } } }, "traits": { "smithy.api#documentation": "Contains detailed information about your streaming session.
", "smithy.api#streaming": {} } }, "com.amazonaws.transcribestreaming#Type": { "type": "enum", "members": { "CONVERSATION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CONVERSATION" } }, "DICTATION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DICTATION" } } } }, "com.amazonaws.transcribestreaming#Uri": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2000 }, "smithy.api#pattern": "^(s3://|http(s*)://).+$" } }, "com.amazonaws.transcribestreaming#UtteranceEvent": { "type": "structure", "members": { "UtteranceId": { "target": "com.amazonaws.transcribestreaming#String", "traits": { "smithy.api#documentation": "The unique identifier that is associated with the specified UtteranceEvent.
Indicates whether the segment in the UtteranceEvent is complete \n (FALSE) or partial (TRUE).
Provides the role of the speaker for each audio channel, either CUSTOMER or \n AGENT.
The time, in milliseconds, from the beginning of the audio stream to the start of the\n UtteranceEvent.
The time, in milliseconds, from the beginning of the audio stream to the start of the \n UtteranceEvent.
Contains transcribed text.
" } }, "Items": { "target": "com.amazonaws.transcribestreaming#CallAnalyticsItemList", "traits": { "smithy.api#documentation": "Contains words, phrases, or punctuation marks that are associated with the specified \n UtteranceEvent.
Contains entities identified as personally identifiable information (PII) in your transcription \n output.
" } }, "Sentiment": { "target": "com.amazonaws.transcribestreaming#Sentiment", "traits": { "smithy.api#documentation": "Provides the sentiment that was detected in the specified segment.
" } }, "IssuesDetected": { "target": "com.amazonaws.transcribestreaming#IssuesDetected", "traits": { "smithy.api#documentation": "Provides the issue that was detected in the specified segment.
" } }, "LanguageCode": { "target": "com.amazonaws.transcribestreaming#CallAnalyticsLanguageCode", "traits": { "smithy.api#documentation": "The language code that represents the language spoken in your audio stream.
" } }, "LanguageIdentification": { "target": "com.amazonaws.transcribestreaming#CallAnalyticsLanguageIdentification", "traits": { "smithy.api#documentation": "The language code of the dominant language identified in your stream.
" } } }, "traits": { "smithy.api#documentation": "Contains set of transcription results from one or more audio segments, along with additional \n information about the parameters included in your request. For example, channel definitions, partial result \n stabilization, sentiment, and issue detection.
" } }, "com.amazonaws.transcribestreaming#VocabularyFilterMethod": { "type": "enum", "members": { "REMOVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "remove" } }, "MASK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "mask" } }, "TAG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "tag" } } } }, "com.amazonaws.transcribestreaming#VocabularyFilterName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 200 }, "smithy.api#pattern": "^[0-9a-zA-Z._-]+$" } }, "com.amazonaws.transcribestreaming#VocabularyFilterNames": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 3000 }, "smithy.api#pattern": "^[a-zA-Z0-9,-._]+$" } }, "com.amazonaws.transcribestreaming#VocabularyName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 200 }, "smithy.api#pattern": "^[0-9a-zA-Z._-]+$" } }, "com.amazonaws.transcribestreaming#VocabularyNames": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 3000 }, "smithy.api#pattern": "^[a-zA-Z0-9,-._]+$" } } } }