Struct aws_sdk_chimesdkmediapipelines::types::AmazonTranscribeCallAnalyticsProcessorConfiguration
source · #[non_exhaustive]pub struct AmazonTranscribeCallAnalyticsProcessorConfiguration {Show 13 fields
pub language_code: CallAnalyticsLanguageCode,
pub vocabulary_name: Option<String>,
pub vocabulary_filter_name: Option<String>,
pub vocabulary_filter_method: Option<VocabularyFilterMethod>,
pub language_model_name: Option<String>,
pub enable_partial_results_stabilization: bool,
pub partial_results_stability: Option<PartialResultsStability>,
pub content_identification_type: Option<ContentType>,
pub content_redaction_type: Option<ContentType>,
pub pii_entity_types: Option<String>,
pub filter_partial_results: bool,
pub post_call_analytics_settings: Option<PostCallAnalyticsSettings>,
pub call_analytics_stream_categories: Option<Vec<String>>,
}Expand description
A structure that contains the configuration settings for an Amazon Transcribe call analytics processor.
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: CallAnalyticsLanguageCodeThe language code in the configuration.
vocabulary_name: Option<String>Specifies the name of the custom vocabulary to use when processing a transcription. Note that vocabulary names are case sensitive.
If the language of the specified custom vocabulary doesn't match the language identified in your media, the custom vocabulary is not applied to your transcription.
For more information, see Custom vocabularies in the Amazon Transcribe Developer Guide.
Length Constraints: Minimum length of 1. Maximum length of 200.
vocabulary_filter_name: Option<String>Specifies the name of the custom vocabulary filter to use when processing a transcription. Note that vocabulary filter names are case sensitive.
If the language of the specified custom vocabulary filter doesn't match the language identified in your media, the vocabulary filter is not applied to your transcription.
For more information, see Using vocabulary filtering with unwanted words in the Amazon Transcribe Developer Guide.
Length Constraints: Minimum length of 1. Maximum length of 200.
vocabulary_filter_method: Option<VocabularyFilterMethod>Specifies how to apply a vocabulary filter to a transcript.
To replace words with ***, choose mask.
To delete words, choose remove.
To flag words without changing them, choose tag.
language_model_name: Option<String>Specifies the name of the custom language model to use when processing a transcription. Note that language model names are case sensitive.
The language of the specified language model must match the language code specified in the transcription request. If the languages don't match, the custom language model isn't applied. Language mismatches don't generate errors or warnings.
For more information, see Custom language models in the Amazon Transcribe Developer Guide.
enable_partial_results_stabilization: boolEnables partial result stabilization for your transcription. Partial result stabilization can reduce latency in your output, but may impact accuracy. For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide.
partial_results_stability: Option<PartialResultsStability>Specifies the level of stability to use when you enable partial results stabilization (EnablePartialResultsStabilization).
Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy.
For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide.
content_identification_type: Option<ContentType>Labels all personally identifiable information (PII) identified in your transcript.
Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.
You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you do, your request returns a BadRequestException.
For more information, see Redacting or identifying personally identifiable information in the Amazon Transcribe Developer Guide.
content_redaction_type: Option<ContentType>Redacts all personally identifiable information (PII) identified in your transcript.
Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.
You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you do, your request returns a BadRequestException.
For more information, see Redacting or identifying personally identifiable information in the Amazon Transcribe Developer Guide.
pii_entity_types: Option<String>Specifies the types of personally identifiable information (PII) to redact from a transcript. You can include as many types as you'd like, or you can select ALL.
To include PiiEntityTypes in your Call Analytics request, you must also include ContentIdentificationType or ContentRedactionType, but you can't include both.
Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.
Length Constraints: Minimum length of 1. Maximum length of 300.
filter_partial_results: boolIf true, UtteranceEvents with IsPartial: true are filtered out of the insights target.
post_call_analytics_settings: Option<PostCallAnalyticsSettings>The settings for a post-call analysis task in an analytics configuration.
call_analytics_stream_categories: Option<Vec<String>>By default, all CategoryEvents are sent to the insights target. If this parameter is specified, only included categories are sent to the insights target.
Implementations§
source§impl AmazonTranscribeCallAnalyticsProcessorConfiguration
impl AmazonTranscribeCallAnalyticsProcessorConfiguration
sourcepub fn language_code(&self) -> &CallAnalyticsLanguageCode
pub fn language_code(&self) -> &CallAnalyticsLanguageCode
The language code in the configuration.
sourcepub fn vocabulary_name(&self) -> Option<&str>
pub fn vocabulary_name(&self) -> Option<&str>
Specifies the name of the custom vocabulary to use when processing a transcription. Note that vocabulary names are case sensitive.
If the language of the specified custom vocabulary doesn't match the language identified in your media, the custom vocabulary is not applied to your transcription.
For more information, see Custom vocabularies in the Amazon Transcribe Developer Guide.
Length Constraints: Minimum length of 1. Maximum length of 200.
sourcepub fn vocabulary_filter_name(&self) -> Option<&str>
pub fn vocabulary_filter_name(&self) -> Option<&str>
Specifies the name of the custom vocabulary filter to use when processing a transcription. Note that vocabulary filter names are case sensitive.
If the language of the specified custom vocabulary filter doesn't match the language identified in your media, the vocabulary filter is not applied to your transcription.
For more information, see Using vocabulary filtering with unwanted words in the Amazon Transcribe Developer Guide.
Length Constraints: Minimum length of 1. Maximum length of 200.
sourcepub fn vocabulary_filter_method(&self) -> Option<&VocabularyFilterMethod>
pub fn vocabulary_filter_method(&self) -> Option<&VocabularyFilterMethod>
Specifies how to apply a vocabulary filter to a transcript.
To replace words with ***, choose mask.
To delete words, choose remove.
To flag words without changing them, choose tag.
sourcepub fn language_model_name(&self) -> Option<&str>
pub fn language_model_name(&self) -> Option<&str>
Specifies the name of the custom language model to use when processing a transcription. Note that language model names are case sensitive.
The language of the specified language model must match the language code specified in the transcription request. If the languages don't match, the custom language model isn't applied. Language mismatches don't generate errors or warnings.
For more information, see Custom language models in the Amazon Transcribe Developer Guide.
sourcepub fn enable_partial_results_stabilization(&self) -> bool
pub fn enable_partial_results_stabilization(&self) -> bool
Enables partial result stabilization for your transcription. Partial result stabilization can reduce latency in your output, but may impact accuracy. For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide.
sourcepub fn partial_results_stability(&self) -> Option<&PartialResultsStability>
pub fn partial_results_stability(&self) -> Option<&PartialResultsStability>
Specifies the level of stability to use when you enable partial results stabilization (EnablePartialResultsStabilization).
Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy.
For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide.
sourcepub fn content_identification_type(&self) -> Option<&ContentType>
pub fn content_identification_type(&self) -> Option<&ContentType>
Labels all personally identifiable information (PII) identified in your transcript.
Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.
You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you do, your request returns a BadRequestException.
For more information, see Redacting or identifying personally identifiable information in the Amazon Transcribe Developer Guide.
sourcepub fn content_redaction_type(&self) -> Option<&ContentType>
pub fn content_redaction_type(&self) -> Option<&ContentType>
Redacts all personally identifiable information (PII) identified in your transcript.
Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.
You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you do, your request returns a BadRequestException.
For more information, see Redacting or identifying personally identifiable information in the Amazon Transcribe Developer Guide.
sourcepub fn pii_entity_types(&self) -> Option<&str>
pub fn pii_entity_types(&self) -> Option<&str>
Specifies the types of personally identifiable information (PII) to redact from a transcript. You can include as many types as you'd like, or you can select ALL.
To include PiiEntityTypes in your Call Analytics request, you must also include ContentIdentificationType or ContentRedactionType, but you can't include both.
Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.
Length Constraints: Minimum length of 1. Maximum length of 300.
sourcepub fn filter_partial_results(&self) -> bool
pub fn filter_partial_results(&self) -> bool
If true, UtteranceEvents with IsPartial: true are filtered out of the insights target.
sourcepub fn post_call_analytics_settings(&self) -> Option<&PostCallAnalyticsSettings>
pub fn post_call_analytics_settings(&self) -> Option<&PostCallAnalyticsSettings>
The settings for a post-call analysis task in an analytics configuration.
sourcepub fn call_analytics_stream_categories(&self) -> &[String]
pub fn call_analytics_stream_categories(&self) -> &[String]
By default, all CategoryEvents are sent to the insights target. If this parameter is specified, only included categories are sent to the insights target.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .call_analytics_stream_categories.is_none().
source§impl AmazonTranscribeCallAnalyticsProcessorConfiguration
impl AmazonTranscribeCallAnalyticsProcessorConfiguration
sourcepub fn builder() -> AmazonTranscribeCallAnalyticsProcessorConfigurationBuilder
pub fn builder() -> AmazonTranscribeCallAnalyticsProcessorConfigurationBuilder
Creates a new builder-style object to manufacture AmazonTranscribeCallAnalyticsProcessorConfiguration.
Trait Implementations§
source§impl Clone for AmazonTranscribeCallAnalyticsProcessorConfiguration
impl Clone for AmazonTranscribeCallAnalyticsProcessorConfiguration
source§fn clone(&self) -> AmazonTranscribeCallAnalyticsProcessorConfiguration
fn clone(&self) -> AmazonTranscribeCallAnalyticsProcessorConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for AmazonTranscribeCallAnalyticsProcessorConfiguration
impl PartialEq for AmazonTranscribeCallAnalyticsProcessorConfiguration
source§fn eq(
&self,
other: &AmazonTranscribeCallAnalyticsProcessorConfiguration
) -> bool
fn eq( &self, other: &AmazonTranscribeCallAnalyticsProcessorConfiguration ) -> bool
self and other values to be equal, and is used
by ==.