Struct aws_sdk_transcribe::model::ContentRedaction
source · [−]#[non_exhaustive]pub struct ContentRedaction { /* private fields */ }Expand description
Allows you 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.
Implementations
sourceimpl 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.
sourceimpl ContentRedaction
impl ContentRedaction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ContentRedaction.
Trait Implementations
sourceimpl Clone for ContentRedaction
impl Clone for ContentRedaction
sourcefn clone(&self) -> ContentRedaction
fn clone(&self) -> ContentRedaction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ContentRedaction
impl Debug for ContentRedaction
sourceimpl PartialEq<ContentRedaction> for ContentRedaction
impl PartialEq<ContentRedaction> for ContentRedaction
sourcefn eq(&self, other: &ContentRedaction) -> bool
fn eq(&self, other: &ContentRedaction) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for ContentRedaction
Auto Trait Implementations
impl RefUnwindSafe for ContentRedaction
impl Send for ContentRedaction
impl Sync for ContentRedaction
impl Unpin for ContentRedaction
impl UnwindSafe for ContentRedaction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more