ContentRedaction
¶
Used by
Source code in docs_src/capo_transcribe/types/content_redaction.py
pii_entity_types
instance-attribute
¶
pii_entity_types: NotRequired[PiiEntityTypes]
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.
redaction_output
instance-attribute
¶
redaction_output: RedactionOutput
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.
redaction_type
instance-attribute
¶
redaction_type: RedactionType
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.