[ aws . transcribe ]

transcribe-audio

Description

Transcribes a media file and returns the transcript in the same response. There is no job to start and no status to poll.

Use TranscribeAudio when you already have a complete media file and want the transcript right away. For large files, long audio, or bulk processing, use .

You must include the following parameters in your TranscribeAudio request:

  • Media : Your audio, either as inline bytes (MediaBytes ) or as the Amazon S3 location of a media file (MediaFileUri ).
  • One of Language or LanguageDetectionMode : Specify the language of your audio, or have Amazon Transcribe identify it.

Your audio must be between 0.5 seconds and 1 hour long. Supported formats are WAV, MP3, FLAC, M4A, MP4, Ogg, WebM, and AMR.

If you send your audio in the request (MediaBytes ), the file can be up to 25 MB. If you provide an Amazon S3 location (MediaFileUri ), the file can be up to 500 MB.

Amazon Transcribe always turns on smart formatting, also known as inverse text normalization (ITN). It writes numbers, dates, currency, and similar items in their usual written form. For example, “one hundred” becomes “100”. You can’t turn smart formatting off.

By default, Amazon Transcribe returns the transcript in TranscriptResponse . If you include OutputConfiguration , Amazon Transcribe writes the transcript to the Amazon S3 location you specify instead, and the response contains only that location.

See also: AWS API Documentation

Synopsis

  transcribe-audio
--media <value>
[--language <value>]
[--language-detection-mode <value>]
[--language-options <value>]
[--channel-identification | --no-channel-identification]
[--show-speaker-labels | --no-show-speaker-labels]
[--max-speaker-labels <value>]
[--vocabulary-settings <value>]
[--vocabulary-filter-settings <value>]
[--content-redaction <value>]
[--output-configuration <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
[--help]

Options

--media (tagged union structure) [required]

The audio to transcribe. Specify exactly one of MediaBytes or MediaFileUri .

Audio sent in the request (MediaBytes ) can be up to 25 MB. Audio in Amazon S3 (MediaFileUri ) can be up to 500 MB.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: MediaBytes, MediaFileUri.

MediaBytes -> (blob)

Your audio file, provided inline in the request. The maximum size is 25 MB (26,214,400 bytes) of audio, measured before base64 encoding.

If you use an Amazon Web Services SDK, the SDK base64-encodes the bytes for you. If you call the API directly, base64-encode the bytes yourself.

Constraints:

  • min: 1
  • max: 26214400

MediaFileUri -> (string)

The Amazon S3 location of the media file you want to transcribe. For example:

  • s3://amzn-s3-demo-bucket/my-media-file.flac
  • s3://amzn-s3-demo-bucket/media-files/my-media-file.flac

The maximum file size is 500 MB. You must have read permission for the file.

The Amazon S3 bucket that contains your input media must be located in the same Amazon Web Services Region where you’re making your transcription request.

Constraints:

  • min: 1
  • max: 2000
  • pattern: (s3://|http(s*)://).+

Shorthand Syntax:

MediaBytes=blob,MediaFileUri=string

JSON Syntax:

{
  "MediaBytes": blob,
  "MediaFileUri": "string"
}

--language (string)

The language spoken in your audio, as a base language code (for example, en or es ).

Include either Language or LanguageDetectionMode in your request, but not both.

Possible values:

  • en
  • es
  • fr
  • it
  • de
  • ja
  • pt
  • ko
  • zh-CN
  • zh-TW
  • zh-HK

--language-detection-mode (string)

Enables automatic language identification. Use IDENTIFY_LANGUAGE if your audio contains a single language that you don’t know in advance.

You can optionally include LanguageOptions to limit identification to languages you think may be present, which can improve accuracy.

Amazon Transcribe returns the identified language, as a locale (for example, en-US ), in the response metadata.

Include either Language or LanguageDetectionMode in your request, but not both.

Possible values:

  • IDENTIFY_LANGUAGE

--language-options (list)

A list of two or more languages that you think may be present in your audio, as base language codes (for example, en and es ). Each language can appear only once. A list with only one language returns a BadRequestException .

You can use LanguageOptions only with LanguageDetectionMode .

Constraints:

  • min: 1

(string)

Possible values:

  • en
  • es
  • fr
  • it
  • de
  • ja
  • pt
  • ko
  • zh-CN
  • zh-TW
  • zh-HK

Syntax:

"string" "string" ...

--channel-identification | --no-channel-identification (boolean)

Enables channel identification in multi-channel audio. Each channel is transcribed independently, and each item in the transcript is labeled with its channel.

Channel identification supports up to two channels.

--show-speaker-labels | --no-show-speaker-labels (boolean)

Enables speaker partitioning (diarization) in your transcript. Speaker partitioning labels the speech from individual speakers in your media file.

If you set ShowSpeakerLabels to true , you must also include MaxSpeakerLabels .

For more information, see Partitioning speakers (diarization) .

--max-speaker-labels (integer)

Specify the maximum number of speakers you want to partition in your media.

Note that if your media contains more speakers than the specified number, Amazon Transcribe treats multiple speakers as a single speaker.

You can set MaxSpeakerLabels only if ShowSpeakerLabels is true .

Constraints:

  • min: 2
  • max: 30

--vocabulary-settings (list)

Custom vocabularies to apply to your transcript, with one entry per language. In each entry, you can reference a custom vocabulary you created or provide phrases inline. All entries must use the same type, either all by name or all inline.

If you specify Language , include exactly one entry, and its Language must match. If you use LanguageDetectionMode , you can include one entry for each language in LanguageOptions .

Constraints:

  • min: 1
  • max: 5

(structure)

A custom vocabulary for one language. Specify exactly one of VocabularyName or Phrases .

Language -> (string) [required]

The language this custom vocabulary applies to, as a base language code (for example, en ). Each language can appear in only one entry.

Possible values:

  • en
  • es
  • fr
  • it
  • de
  • ja
  • pt
  • ko
  • zh-CN
  • zh-TW
  • zh-HK

VocabularyName -> (string)

The name of a custom vocabulary you created. The vocabulary must be in the READY state, and its language must match this entry’s Language .

Vocabulary names are case sensitive.

Include either VocabularyName or Phrases in each entry, but not both.

Constraints:

  • min: 1
  • max: 200
  • pattern: ^[0-9a-zA-Z._-]+

Phrases -> (list)

Up to 100 phrases to use as a custom vocabulary, provided inline. You don’t need to create the vocabulary first.

Include either Phrases or VocabularyName in each entry, but not both.

Constraints:

  • min: 1
  • max: 100

(structure)

A phrase in an inline custom vocabulary.

Text -> (string) [required]

The phrase to recognize in your audio.

Constraints:

  • min: 1
  • max: 256

DisplayAs -> (string)

How the phrase is written in your transcript. If you don’t include DisplayAs , the phrase is written as it appears in Text .

Constraints:

  • min: 1
  • max: 256

Shorthand Syntax:

Language=string,VocabularyName=string,Phrases=[{Text=string,DisplayAs=string},{Text=string,DisplayAs=string}] ...

JSON Syntax:

[
  {
    "Language": "en"|"es"|"fr"|"it"|"de"|"ja"|"pt"|"ko"|"zh-CN"|"zh-TW"|"zh-HK",
    "VocabularyName": "string",
    "Phrases": [
      {
        "Text": "string",
        "DisplayAs": "string"
      }
      ...
    ]
  }
  ...
]

--vocabulary-filter-settings (structure)

Custom vocabulary filters to apply to your transcript, and how to apply them.

VocabularyFilterMethod -> (string) [required]

Specify how you want your custom vocabulary filter applied to your transcript.

To replace words with *** , choose mask .

To delete words, choose remove .

To flag words without changing them, choose tag .

Possible values:

  • remove
  • mask
  • tag

Filters -> (list) [required]

Custom vocabulary filters, with one entry per language. In each entry, you can reference a custom vocabulary filter you created or provide words inline. All entries must use the same type, either all by name or all inline.

If you specify Language , include exactly one entry, and its Language must match. If you use LanguageDetectionMode , you can include one entry for each language in LanguageOptions .

Constraints:

  • min: 1
  • max: 5

(structure)

A custom vocabulary filter for one language. Specify exactly one of VocabularyFilterName or Words .

Language -> (string) [required]

The language this custom vocabulary filter applies to, as a base language code (for example, en ). Each language can appear in only one entry.

Possible values:

  • en
  • es
  • fr
  • it
  • de
  • ja
  • pt
  • ko
  • zh-CN
  • zh-TW
  • zh-HK

VocabularyFilterName -> (string)

The name of a custom vocabulary filter you created. The filter’s language must match this entry’s Language .

Vocabulary filter names are case sensitive.

Include either VocabularyFilterName or Words in each entry, but not both.

Constraints:

  • min: 1
  • max: 200
  • pattern: ^[0-9a-zA-Z._-]+

Words -> (list)

The words to filter, provided inline. You don’t need to create the vocabulary filter first.

Include either Words or VocabularyFilterName in each entry, but not both.

Constraints:

  • min: 1

(string)

Constraints:

  • min: 1
  • max: 256

JSON Syntax:

{
  "VocabularyFilterMethod": "remove"|"mask"|"tag",
  "Filters": [
    {
      "Language": "en"|"es"|"fr"|"it"|"de"|"ja"|"pt"|"ko"|"zh-CN"|"zh-TW"|"zh-HK",
      "VocabularyFilterName": "string",
      "Words": ["string", ...]
    }
    ...
  ]
}

--content-redaction (structure)

Redacts personally identifiable information (PII) from your transcript. Amazon Transcribe returns the redacted transcript in RedactedResults .

If you set RedactionOutput to redacted_and_unredacted , Amazon Transcribe also returns the unredacted transcript in Results .

In Sync, content redaction has these limits:

  • Languages: English (en ), Spanish (es ), French (fr ), Italian (it ), German (de ), and Portuguese (pt ).
  • Language identification: If you use LanguageDetectionMode , you must also include LanguageOptions , and every language in it must be one of the languages above. A request that has no LanguageOptions , or that lists a language that isn’t supported, returns a BadRequestException .
  • Regions: Content redaction isn’t available in the South America (São Paulo) Region (sa-east-1 ). It’s available in the other Amazon Web Services Regions where Sync is available.

RedactionType -> (string) [required]

Specify the category of information you want to redact; PII (personally identifiable information) is the only valid value. You can use PiiEntityTypes to choose which types of PII you want to redact. If you do not include PiiEntityTypes in your request, all PII is redacted.

Possible values:

  • PII

RedactionOutput -> (string) [required]

Specify if you want only a redacted transcript, or if you want a redacted and an unredacted transcript.

When you choose redacted Amazon Transcribe creates only a redacted transcript.

When you choose redacted_and_unredacted Amazon Transcribe creates a redacted and an unredacted transcript. For batch jobs, Amazon Transcribe creates two separate files. For TranscribeAudio , Amazon Transcribe returns them in RedactedResults and Results , or writes them as two separate files if you use OutputConfiguration .

Possible values:

  • redacted
  • redacted_and_unredacted

PiiEntityTypes -> (list)

Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you’d like, or you can select ALL . If you do not include PiiEntityTypes in your request, all PII is redacted.

Constraints:

  • min: 0
  • max: 29

(string)

Possible values:

  • BANK_ACCOUNT_NUMBER
  • BANK_ROUTING
  • CREDIT_DEBIT_NUMBER
  • CREDIT_DEBIT_CVV
  • CREDIT_DEBIT_EXPIRY
  • PIN
  • EMAIL
  • ADDRESS
  • NAME
  • PHONE
  • SSN
  • DATE_TIME
  • PASSPORT_NUMBER
  • DRIVER_ID
  • URL
  • AGE
  • USERNAME
  • PASSWORD
  • AWS_ACCESS_KEY
  • AWS_SECRET_KEY
  • IP_ADDRESS
  • MAC_ADDRESS
  • LICENSE_PLATE
  • VEHICLE_IDENTIFICATION_NUMBER
  • US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER
  • CA_HEALTH_NUMBER
  • CA_SOCIAL_INSURANCE_NUMBER
  • INTERNATIONAL_BANK_ACCOUNT_NUMBER
  • SWIFT_CODE
  • ALL

Shorthand Syntax:

RedactionType=string,RedactionOutput=string,PiiEntityTypes=string,string

JSON Syntax:

{
  "RedactionType": "PII",
  "RedactionOutput": "redacted"|"redacted_and_unredacted",
  "PiiEntityTypes": ["BANK_ACCOUNT_NUMBER"|"BANK_ROUTING"|"CREDIT_DEBIT_NUMBER"|"CREDIT_DEBIT_CVV"|"CREDIT_DEBIT_EXPIRY"|"PIN"|"EMAIL"|"ADDRESS"|"NAME"|"PHONE"|"SSN"|"DATE_TIME"|"PASSPORT_NUMBER"|"DRIVER_ID"|"URL"|"AGE"|"USERNAME"|"PASSWORD"|"AWS_ACCESS_KEY"|"AWS_SECRET_KEY"|"IP_ADDRESS"|"MAC_ADDRESS"|"LICENSE_PLATE"|"VEHICLE_IDENTIFICATION_NUMBER"|"US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER"|"CA_HEALTH_NUMBER"|"CA_SOCIAL_INSURANCE_NUMBER"|"INTERNATIONAL_BANK_ACCOUNT_NUMBER"|"SWIFT_CODE"|"ALL", ...]
}

--output-configuration (structure)

Writes the transcript to an Amazon S3 location instead of returning it in the response. If you include OutputConfiguration , the response contains only the output location.

You must have write permission for the location you specify.

OutputMediaFileUri -> (string) [required]

The Amazon S3 location where you want your transcript written. For example:

  • s3://amzn-s3-demo-bucket/my-transcript.json
  • s3://amzn-s3-demo-bucket/transcripts/

If the location ends with an object key, Amazon Transcribe writes the transcript to that key. If it is a bucket or ends with a forward slash (/ ), it’s treated as a prefix, and Amazon Transcribe writes the transcript under it to a file named with the request ID of your call and a .json extension.

If you use ContentRedaction , Amazon Transcribe writes the redacted transcript to the same location and adds redacted- before the file name (for example, redacted-my-transcript.json ). With redacted_and_unredacted , Amazon Transcribe writes both files.

If an object already exists at that key, Amazon Transcribe overwrites it.

In a response, this is the location where Amazon Transcribe wrote your transcript. If you requested redacted_and_unredacted output, this is the location of the unredacted transcript.

Constraints:

  • min: 1
  • max: 2000
  • pattern: (s3://|http(s*)://).+

Shorthand Syntax:

OutputMediaFileUri=string

JSON Syntax:

{
  "OutputMediaFileUri": "string"
}

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.

Global Options

--debug (boolean)

Turn on debug logging.

--endpoint-url (string)

Override command’s default URL with the given URL.

--no-verify-ssl (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

--no-paginate (boolean)

Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.

--output (string)

The formatting style for command output.

  • json
  • text
  • table
  • yaml
  • yaml-stream
  • off

--query (string)

A JMESPath query to use in filtering the response data.

--profile (string)

Use a specific profile from your credential file.

--region (string)

The region to use. Overrides config/env settings.

--version (string)

Display the version of this tool.

--color (string)

Turn on/off color output.

  • on
  • off
  • auto

--no-sign-request (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

--ca-bundle (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

--cli-read-timeout (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

--cli-connect-timeout (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

--cli-binary-format (string)

The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.

  • base64
  • raw-in-base64-out

--no-cli-pager (boolean)

Disable cli pager for output.

--cli-auto-prompt (boolean)

Automatically prompt for CLI input parameters.

--no-cli-auto-prompt (boolean)

Disable automatically prompt for CLI input parameters.

--cli-error-format (string)

The formatting style for error output. By default, errors are displayed in enhanced format.

  • legacy
  • json
  • yaml
  • text
  • table
  • enhanced

--help (boolean)

Display help for the command/subcommand.

Output

OutputConfiguration -> (structure)

The Amazon S3 location where your transcript was written. Present only if you included OutputConfiguration in your request. In that case, TranscriptResponse isn’t returned.

OutputMediaFileUri -> (string) [required]

The Amazon S3 location where you want your transcript written. For example:

  • s3://amzn-s3-demo-bucket/my-transcript.json
  • s3://amzn-s3-demo-bucket/transcripts/

If the location ends with an object key, Amazon Transcribe writes the transcript to that key. If it is a bucket or ends with a forward slash (/ ), it’s treated as a prefix, and Amazon Transcribe writes the transcript under it to a file named with the request ID of your call and a .json extension.

If you use ContentRedaction , Amazon Transcribe writes the redacted transcript to the same location and adds redacted- before the file name (for example, redacted-my-transcript.json ). With redacted_and_unredacted , Amazon Transcribe writes both files.

If an object already exists at that key, Amazon Transcribe overwrites it.

In a response, this is the location where Amazon Transcribe wrote your transcript. If you requested redacted_and_unredacted output, this is the location of the unredacted transcript.

Constraints:

  • min: 1
  • max: 2000
  • pattern: (s3://|http(s*)://).+

TranscriptResponse -> (structure)

Your transcript and information about your audio. Present only if you didn’t include OutputConfiguration in your request.

Metadata -> (structure)

Information about your audio, such as the detected language, format, and sample rate.

LanguageCode -> (string)

The language of your transcript, as a locale (for example, en-US ). Present if you used LanguageDetectionMode .

Possible values:

  • en-US
  • en-AB
  • en-AU
  • en-GB
  • en-IE
  • en-IN
  • en-WL
  • en-ZA
  • en-NZ
  • es-US
  • es-ES
  • es-MX
  • fr-FR
  • fr-CA
  • it-IT
  • de-DE
  • de-CH
  • ja-JP
  • pt-BR
  • pt-PT
  • zh-CN
  • zh-TW
  • zh-HK
  • ko-KR

LanguageCodes -> (list)

The language identified in your audio, and how long it’s spoken. Present if you used LanguageDetectionMode .

(structure)

A language identified in your audio, and how long it’s spoken.

LanguageCode -> (string)

The identified language, as a locale (for example, en-US ).

Possible values:

  • en-US
  • en-AB
  • en-AU
  • en-GB
  • en-IE
  • en-IN
  • en-WL
  • en-ZA
  • en-NZ
  • es-US
  • es-ES
  • es-MX
  • fr-FR
  • fr-CA
  • it-IT
  • de-DE
  • de-CH
  • ja-JP
  • pt-BR
  • pt-PT
  • zh-CN
  • zh-TW
  • zh-HK
  • ko-KR

DurationInSeconds -> (float)

The total time, in seconds, the identified language is spoken in your audio.

MediaFormat -> (string)

The format of your audio, as detected by Amazon Transcribe.

Possible values:

  • mp3
  • mp4
  • wav
  • flac
  • ogg
  • amr
  • webm
  • m4a

MediaSampleRateHertz -> (integer)

The sample rate of your audio, in hertz, as detected by Amazon Transcribe.

Constraints:

  • min: 8000
  • max: 48000

SpeakersCount -> (integer)

The number of speakers identified in your audio. Present if you enabled ShowSpeakerLabels .

NumberOfChannels -> (integer)

The number of audio channels in your media. Present if you enabled ChannelIdentification .

Results -> (structure)

Your unredacted transcript.

If you set RedactionOutput to redacted , Amazon Transcribe doesn’t return this field. Use RedactedResults instead.

Transcript -> (string)

The full text of your transcript.

If you enabled ChannelIdentification , the text of channel ch_0 is followed by the text of channel ch_1 .

Items -> (list)

The words and punctuation in your transcript, with timing and any labels you requested.

(structure)

A word or punctuation mark in your transcript. Labels such as SpeakerLabel and ChannelLabel are present only if you enabled the related feature.

Id -> (integer)

The position of this item in the transcript, starting at 0.

Content -> (string)

The word or punctuation mark. In RedactedResults , Amazon Transcribe replaces redacted words with [PII] .

StartTime -> (double)

The time, in seconds from the start of your audio, when this item starts.

EndTime -> (double)

The time, in seconds from the start of your audio, when this item ends.

LanguageCode -> (string)

The language of this item, as a locale (for example, en-US ).

Possible values:

  • en-US
  • en-AB
  • en-AU
  • en-GB
  • en-IE
  • en-IN
  • en-WL
  • en-ZA
  • en-NZ
  • es-US
  • es-ES
  • es-MX
  • fr-FR
  • fr-CA
  • it-IT
  • de-DE
  • de-CH
  • ja-JP
  • pt-BR
  • pt-PT
  • zh-CN
  • zh-TW
  • zh-HK
  • ko-KR

ChannelLabel -> (string)

The audio channel this item came from (ch_0 or ch_1 ). Present if you enabled ChannelIdentification .

Item start and end times are measured from the start of the audio, separately for each channel.

SpeakerLabel -> (string)

The speaker of this item (for example, spk_0 ). Present if you enabled ShowSpeakerLabels .

VocabularyFilterMatch -> (boolean)

Indicates whether this item matched a word in your custom vocabulary filter. Present if you included VocabularyFilterSettings .

Redactions -> (list)

The types of personally identifiable information (PII) that Amazon Transcribe redacted from this item. Present only on redacted items in RedactedResults .

(structure)

A type of personally identifiable information (PII) redacted from an item.

Type -> (string)

The type of PII that was redacted, for example NAME or SSN .

Possible values:

  • BANK_ACCOUNT_NUMBER
  • BANK_ROUTING
  • CREDIT_DEBIT_NUMBER
  • CREDIT_DEBIT_CVV
  • CREDIT_DEBIT_EXPIRY
  • PIN
  • EMAIL
  • ADDRESS
  • NAME
  • PHONE
  • SSN
  • DATE_TIME
  • PASSPORT_NUMBER
  • DRIVER_ID
  • URL
  • AGE
  • USERNAME
  • PASSWORD
  • AWS_ACCESS_KEY
  • AWS_SECRET_KEY
  • IP_ADDRESS
  • MAC_ADDRESS
  • LICENSE_PLATE
  • VEHICLE_IDENTIFICATION_NUMBER
  • US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER
  • CA_HEALTH_NUMBER
  • CA_SOCIAL_INSURANCE_NUMBER
  • INTERNATIONAL_BANK_ACCOUNT_NUMBER
  • SWIFT_CODE
  • ALL

RedactedResults -> (structure)

Your transcript with personally identifiable information (PII) redacted. Present only if you included ContentRedaction in your request.

Transcript -> (string)

The full text of your transcript.

If you enabled ChannelIdentification , the text of channel ch_0 is followed by the text of channel ch_1 .

Items -> (list)

The words and punctuation in your transcript, with timing and any labels you requested.

(structure)

A word or punctuation mark in your transcript. Labels such as SpeakerLabel and ChannelLabel are present only if you enabled the related feature.

Id -> (integer)

The position of this item in the transcript, starting at 0.

Content -> (string)

The word or punctuation mark. In RedactedResults , Amazon Transcribe replaces redacted words with [PII] .

StartTime -> (double)

The time, in seconds from the start of your audio, when this item starts.

EndTime -> (double)

The time, in seconds from the start of your audio, when this item ends.

LanguageCode -> (string)

The language of this item, as a locale (for example, en-US ).

Possible values:

  • en-US
  • en-AB
  • en-AU
  • en-GB
  • en-IE
  • en-IN
  • en-WL
  • en-ZA
  • en-NZ
  • es-US
  • es-ES
  • es-MX
  • fr-FR
  • fr-CA
  • it-IT
  • de-DE
  • de-CH
  • ja-JP
  • pt-BR
  • pt-PT
  • zh-CN
  • zh-TW
  • zh-HK
  • ko-KR

ChannelLabel -> (string)

The audio channel this item came from (ch_0 or ch_1 ). Present if you enabled ChannelIdentification .

Item start and end times are measured from the start of the audio, separately for each channel.

SpeakerLabel -> (string)

The speaker of this item (for example, spk_0 ). Present if you enabled ShowSpeakerLabels .

VocabularyFilterMatch -> (boolean)

Indicates whether this item matched a word in your custom vocabulary filter. Present if you included VocabularyFilterSettings .

Redactions -> (list)

The types of personally identifiable information (PII) that Amazon Transcribe redacted from this item. Present only on redacted items in RedactedResults .

(structure)

A type of personally identifiable information (PII) redacted from an item.

Type -> (string)

The type of PII that was redacted, for example NAME or SSN .

Possible values:

  • BANK_ACCOUNT_NUMBER
  • BANK_ROUTING
  • CREDIT_DEBIT_NUMBER
  • CREDIT_DEBIT_CVV
  • CREDIT_DEBIT_EXPIRY
  • PIN
  • EMAIL
  • ADDRESS
  • NAME
  • PHONE
  • SSN
  • DATE_TIME
  • PASSPORT_NUMBER
  • DRIVER_ID
  • URL
  • AGE
  • USERNAME
  • PASSWORD
  • AWS_ACCESS_KEY
  • AWS_SECRET_KEY
  • IP_ADDRESS
  • MAC_ADDRESS
  • LICENSE_PLATE
  • VEHICLE_IDENTIFICATION_NUMBER
  • US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER
  • CA_HEALTH_NUMBER
  • CA_SOCIAL_INSURANCE_NUMBER
  • INTERNATIONAL_BANK_ACCOUNT_NUMBER
  • SWIFT_CODE
  • ALL