Struct aws_sdk_chime::model::EngineTranscribeSettings
source · [−]#[non_exhaustive]pub struct EngineTranscribeSettings {
pub language_code: Option<TranscribeLanguageCode>,
pub vocabulary_filter_method: Option<TranscribeVocabularyFilterMethod>,
pub vocabulary_filter_name: Option<String>,
pub vocabulary_name: Option<String>,
pub region: Option<TranscribeRegion>,
pub enable_partial_results_stabilization: Option<bool>,
pub partial_results_stability: Option<TranscribePartialResultsStability>,
pub content_identification_type: Option<TranscribeContentIdentificationType>,
pub content_redaction_type: Option<TranscribeContentRedactionType>,
pub pii_entity_types: Option<String>,
pub language_model_name: Option<String>,
}
Expand description
Settings specific to the Amazon Transcribe engine.
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.language_code: Option<TranscribeLanguageCode>
The language code specified for the Amazon Transcribe engine.
vocabulary_filter_method: Option<TranscribeVocabularyFilterMethod>
The filtering method passed to Amazon Transcribe.
vocabulary_filter_name: Option<String>
The name of the vocabulary filter passed to Amazon Transcribe.
vocabulary_name: Option<String>
The name of the vocabulary passed to Amazon Transcribe.
region: Option<TranscribeRegion>
The AWS Region passed to Amazon Transcribe. If you don't specify a Region, Amazon Chime uses the meeting's Region.
enable_partial_results_stabilization: Option<bool>
Generates partial transcription results that are less likely to change as meeting attendees speak. It does so by only allowing the last few words from the partial results to change.
partial_results_stability: Option<TranscribePartialResultsStability>
The stabity level of a partial results transcription. Determines how stable you want the transcription results to be. A higher level means the transcription results are less likely to change.
content_identification_type: Option<TranscribeContentIdentificationType>
Set this field to PII
to identify personally identifiable information in the transcription output.
content_redaction_type: Option<TranscribeContentRedactionType>
Set this field to PII
to redact personally identifiable information in the transcription output. Content redaction is performed only upon complete transcription of the audio segments.
pii_entity_types: Option<String>
Lists the PII entity types you want to identify or redact. To specify entity types, you must enable ContentIdentificationType
or ContentRedactionType
.
PIIEntityTypes
must be comma-separated. The available values are: BANK_ACCOUNT_NUMBER
, BANK_ROUTING, CREDIT_DEBIT_NUMBER
, CREDIT_DEBIT_CVV
, CREDIT_DEBIT_EXPIRY
, PIN
, EMAIL
, ADDRESS
, NAME
, PHONE
, SSN
, and ALL
.
PiiEntityTypes
is an optional parameter with a default value of ALL
.
language_model_name: Option<String>
The name of the language model used during transcription.
Implementations
sourceimpl EngineTranscribeSettings
impl EngineTranscribeSettings
sourcepub fn language_code(&self) -> Option<&TranscribeLanguageCode>
pub fn language_code(&self) -> Option<&TranscribeLanguageCode>
The language code specified for the Amazon Transcribe engine.
sourcepub fn vocabulary_filter_method(
&self
) -> Option<&TranscribeVocabularyFilterMethod>
pub fn vocabulary_filter_method(
&self
) -> Option<&TranscribeVocabularyFilterMethod>
The filtering method passed to Amazon Transcribe.
sourcepub fn vocabulary_filter_name(&self) -> Option<&str>
pub fn vocabulary_filter_name(&self) -> Option<&str>
The name of the vocabulary filter passed to Amazon Transcribe.
sourcepub fn vocabulary_name(&self) -> Option<&str>
pub fn vocabulary_name(&self) -> Option<&str>
The name of the vocabulary passed to Amazon Transcribe.
sourcepub fn region(&self) -> Option<&TranscribeRegion>
pub fn region(&self) -> Option<&TranscribeRegion>
The AWS Region passed to Amazon Transcribe. If you don't specify a Region, Amazon Chime uses the meeting's Region.
sourcepub fn enable_partial_results_stabilization(&self) -> Option<bool>
pub fn enable_partial_results_stabilization(&self) -> Option<bool>
Generates partial transcription results that are less likely to change as meeting attendees speak. It does so by only allowing the last few words from the partial results to change.
sourcepub fn partial_results_stability(
&self
) -> Option<&TranscribePartialResultsStability>
pub fn partial_results_stability(
&self
) -> Option<&TranscribePartialResultsStability>
The stabity level of a partial results transcription. Determines how stable you want the transcription results to be. A higher level means the transcription results are less likely to change.
sourcepub fn content_identification_type(
&self
) -> Option<&TranscribeContentIdentificationType>
pub fn content_identification_type(
&self
) -> Option<&TranscribeContentIdentificationType>
Set this field to PII
to identify personally identifiable information in the transcription output.
sourcepub fn content_redaction_type(&self) -> Option<&TranscribeContentRedactionType>
pub fn content_redaction_type(&self) -> Option<&TranscribeContentRedactionType>
Set this field to PII
to redact personally identifiable information in the transcription output. Content redaction is performed only upon complete transcription of the audio segments.
sourcepub fn pii_entity_types(&self) -> Option<&str>
pub fn pii_entity_types(&self) -> Option<&str>
Lists the PII entity types you want to identify or redact. To specify entity types, you must enable ContentIdentificationType
or ContentRedactionType
.
PIIEntityTypes
must be comma-separated. The available values are: BANK_ACCOUNT_NUMBER
, BANK_ROUTING, CREDIT_DEBIT_NUMBER
, CREDIT_DEBIT_CVV
, CREDIT_DEBIT_EXPIRY
, PIN
, EMAIL
, ADDRESS
, NAME
, PHONE
, SSN
, and ALL
.
PiiEntityTypes
is an optional parameter with a default value of ALL
.
sourcepub fn language_model_name(&self) -> Option<&str>
pub fn language_model_name(&self) -> Option<&str>
The name of the language model used during transcription.
sourceimpl EngineTranscribeSettings
impl EngineTranscribeSettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EngineTranscribeSettings
Trait Implementations
sourceimpl Clone for EngineTranscribeSettings
impl Clone for EngineTranscribeSettings
sourcefn clone(&self) -> EngineTranscribeSettings
fn clone(&self) -> EngineTranscribeSettings
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 EngineTranscribeSettings
impl Debug for EngineTranscribeSettings
sourceimpl PartialEq<EngineTranscribeSettings> for EngineTranscribeSettings
impl PartialEq<EngineTranscribeSettings> for EngineTranscribeSettings
sourcefn eq(&self, other: &EngineTranscribeSettings) -> bool
fn eq(&self, other: &EngineTranscribeSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EngineTranscribeSettings) -> bool
fn ne(&self, other: &EngineTranscribeSettings) -> bool
This method tests for !=
.
impl StructuralPartialEq for EngineTranscribeSettings
Auto Trait Implementations
impl RefUnwindSafe for EngineTranscribeSettings
impl Send for EngineTranscribeSettings
impl Sync for EngineTranscribeSettings
impl Unpin for EngineTranscribeSettings
impl UnwindSafe for EngineTranscribeSettings
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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