Struct aws_sdk_transcribe::types::ContentRedaction
source · #[non_exhaustive]pub struct ContentRedaction {
pub redaction_type: Option<RedactionType>,
pub redaction_output: Option<RedactionOutput>,
pub pii_entity_types: Option<Vec<PiiEntityType>>,
}Expand description
Makes it possible to redact or flag specified personally identifiable information (PII) in your transcript. If you use ContentRedaction, you must also include the sub-parameters: PiiEntityTypes, RedactionOutput, and RedactionType.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.redaction_type: Option<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.
redaction_output: Option<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 (as two separate files).
pii_entity_types: Option<Vec<PiiEntityType>>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.
Implementations§
source§impl ContentRedaction
impl ContentRedaction
sourcepub fn redaction_type(&self) -> Option<&RedactionType>
pub fn redaction_type(&self) -> Option<&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.
sourcepub fn redaction_output(&self) -> Option<&RedactionOutput>
pub fn redaction_output(&self) -> Option<&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 (as two separate files).
sourcepub fn pii_entity_types(&self) -> Option<&[PiiEntityType]>
pub fn pii_entity_types(&self) -> Option<&[PiiEntityType]>
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.
source§impl ContentRedaction
impl ContentRedaction
sourcepub fn builder() -> ContentRedactionBuilder
pub fn builder() -> ContentRedactionBuilder
Creates a new builder-style object to manufacture ContentRedaction.
Trait Implementations§
source§impl Clone for ContentRedaction
impl Clone for ContentRedaction
source§fn clone(&self) -> ContentRedaction
fn clone(&self) -> ContentRedaction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ContentRedaction
impl Debug for ContentRedaction
source§impl PartialEq for ContentRedaction
impl PartialEq for ContentRedaction
source§fn eq(&self, other: &ContentRedaction) -> bool
fn eq(&self, other: &ContentRedaction) -> bool
self and other values to be equal, and is used
by ==.