Skip to content

Type definitions#

Index > TranscribeService > Type definitions

Auto-generated documentation for TranscribeService type annotations stubs module mypy-boto3-transcribe.

ContentRedactionUnionTypeDef#

# ContentRedactionUnionTypeDef definition

ContentRedactionUnionTypeDef = Union[
    ContentRedactionTypeDef,  # (1)
    ContentRedactionOutputTypeDef,  # (2)
]
  1. See ContentRedactionTypeDef
  2. See ContentRedactionOutputTypeDef

ToxicityDetectionSettingsUnionTypeDef#

# ToxicityDetectionSettingsUnionTypeDef definition

ToxicityDetectionSettingsUnionTypeDef = Union[
    ToxicityDetectionSettingsTypeDef,  # (1)
    ToxicityDetectionSettingsOutputTypeDef,  # (2)
]
  1. See ToxicityDetectionSettingsTypeDef
  2. See ToxicityDetectionSettingsOutputTypeDef

CallAnalyticsJobSettingsUnionTypeDef#

# CallAnalyticsJobSettingsUnionTypeDef definition

CallAnalyticsJobSettingsUnionTypeDef = Union[
    CallAnalyticsJobSettingsTypeDef,  # (1)
    CallAnalyticsJobSettingsOutputTypeDef,  # (2)
]
  1. See CallAnalyticsJobSettingsTypeDef
  2. See CallAnalyticsJobSettingsOutputTypeDef

RuleUnionTypeDef#

# RuleUnionTypeDef definition

RuleUnionTypeDef = Union[
    RuleTypeDef,  # (1)
    RuleOutputTypeDef,  # (2)
]
  1. See RuleTypeDef
  2. See RuleOutputTypeDef

AbsoluteTimeRangeTypeDef#

# AbsoluteTimeRangeTypeDef definition

class AbsoluteTimeRangeTypeDef(TypedDict):
    StartTime: NotRequired[int],
    EndTime: NotRequired[int],
    First: NotRequired[int],
    Last: NotRequired[int],

CallAnalyticsSkippedFeatureTypeDef#

# CallAnalyticsSkippedFeatureTypeDef definition

class CallAnalyticsSkippedFeatureTypeDef(TypedDict):
    Feature: NotRequired[CallAnalyticsFeatureType],  # (1)
    ReasonCode: NotRequired[CallAnalyticsSkippedReasonCodeType],  # (2)
    Message: NotRequired[str],
  1. See CallAnalyticsFeatureType
  2. See CallAnalyticsSkippedReasonCodeType

ContentRedactionOutputTypeDef#

# ContentRedactionOutputTypeDef definition

class ContentRedactionOutputTypeDef(TypedDict):
    RedactionType: RedactionTypeType,  # (1)
    RedactionOutput: RedactionOutputType,  # (2)
    PiiEntityTypes: NotRequired[List[PiiEntityTypeType]],  # (3)
  1. See RedactionTypeType
  2. See RedactionOutputType
  3. See PiiEntityTypeType

LanguageIdSettingsTypeDef#

# LanguageIdSettingsTypeDef definition

class LanguageIdSettingsTypeDef(TypedDict):
    VocabularyName: NotRequired[str],
    VocabularyFilterName: NotRequired[str],
    LanguageModelName: NotRequired[str],

SummarizationTypeDef#

# SummarizationTypeDef definition

class SummarizationTypeDef(TypedDict):
    GenerateAbstractiveSummary: bool,

ContentRedactionTypeDef#

# ContentRedactionTypeDef definition

class ContentRedactionTypeDef(TypedDict):
    RedactionType: RedactionTypeType,  # (1)
    RedactionOutput: RedactionOutputType,  # (2)
    PiiEntityTypes: NotRequired[Sequence[PiiEntityTypeType]],  # (3)
  1. See RedactionTypeType
  2. See RedactionOutputType
  3. See PiiEntityTypeType

ChannelDefinitionTypeDef#

# ChannelDefinitionTypeDef definition

class ChannelDefinitionTypeDef(TypedDict):
    ChannelId: NotRequired[int],
    ParticipantRole: NotRequired[ParticipantRoleType],  # (1)
  1. See ParticipantRoleType

MediaTypeDef#

# MediaTypeDef definition

class MediaTypeDef(TypedDict):
    MediaFileUri: NotRequired[str],
    RedactedMediaFileUri: NotRequired[str],

TranscriptTypeDef#

# TranscriptTypeDef definition

class TranscriptTypeDef(TypedDict):
    TranscriptFileUri: NotRequired[str],
    RedactedTranscriptFileUri: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

InputDataConfigTypeDef#

# InputDataConfigTypeDef definition

class InputDataConfigTypeDef(TypedDict):
    S3Uri: str,
    DataAccessRoleArn: str,
    TuningDataS3Uri: NotRequired[str],

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

DeleteCallAnalyticsCategoryRequestRequestTypeDef#

# DeleteCallAnalyticsCategoryRequestRequestTypeDef definition

class DeleteCallAnalyticsCategoryRequestRequestTypeDef(TypedDict):
    CategoryName: str,

DeleteCallAnalyticsJobRequestRequestTypeDef#

# DeleteCallAnalyticsJobRequestRequestTypeDef definition

class DeleteCallAnalyticsJobRequestRequestTypeDef(TypedDict):
    CallAnalyticsJobName: str,

DeleteLanguageModelRequestRequestTypeDef#

# DeleteLanguageModelRequestRequestTypeDef definition

class DeleteLanguageModelRequestRequestTypeDef(TypedDict):
    ModelName: str,

DeleteMedicalScribeJobRequestRequestTypeDef#

# DeleteMedicalScribeJobRequestRequestTypeDef definition

class DeleteMedicalScribeJobRequestRequestTypeDef(TypedDict):
    MedicalScribeJobName: str,

DeleteMedicalTranscriptionJobRequestRequestTypeDef#

# DeleteMedicalTranscriptionJobRequestRequestTypeDef definition

class DeleteMedicalTranscriptionJobRequestRequestTypeDef(TypedDict):
    MedicalTranscriptionJobName: str,

DeleteMedicalVocabularyRequestRequestTypeDef#

# DeleteMedicalVocabularyRequestRequestTypeDef definition

class DeleteMedicalVocabularyRequestRequestTypeDef(TypedDict):
    VocabularyName: str,

DeleteTranscriptionJobRequestRequestTypeDef#

# DeleteTranscriptionJobRequestRequestTypeDef definition

class DeleteTranscriptionJobRequestRequestTypeDef(TypedDict):
    TranscriptionJobName: str,

DeleteVocabularyFilterRequestRequestTypeDef#