Skip to content

Typed dictionaries#

Index > Translate > Typed dictionaries

Auto-generated documentation for Translate type annotations stubs module mypy-boto3-translate.

TermTypeDef#

# TermTypeDef usage example

from mypy_boto3_translate.type_defs import TermTypeDef

def get_value() -> TermTypeDef:
    return {
        "SourceText": ...,
    }
# TermTypeDef definition

class TermTypeDef(TypedDict):
    SourceText: NotRequired[str],
    TargetText: NotRequired[str],

EncryptionKeyTypeDef#

# EncryptionKeyTypeDef usage example

from mypy_boto3_translate.type_defs import EncryptionKeyTypeDef

def get_value() -> EncryptionKeyTypeDef:
    return {
        "Type": ...,
        "Id": ...,
    }
# EncryptionKeyTypeDef definition

class EncryptionKeyTypeDef(TypedDict):
    Type: EncryptionKeyTypeType,  # (1)
    Id: str,
  1. See EncryptionKeyTypeType

ParallelDataConfigTypeDef#

# ParallelDataConfigTypeDef usage example

from mypy_boto3_translate.type_defs import ParallelDataConfigTypeDef

def get_value() -> ParallelDataConfigTypeDef:
    return {
        "S3Uri": ...,
        "Format": ...,
    }
# ParallelDataConfigTypeDef definition

class ParallelDataConfigTypeDef(TypedDict):
    S3Uri: str,
    Format: ParallelDataFormatType,  # (1)
  1. See ParallelDataFormatType

TagTypeDef#

# TagTypeDef usage example

from mypy_boto3_translate.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
        "Value": ...,
    }
# TagTypeDef definition

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

CreateParallelDataResponseTypeDef#

# CreateParallelDataResponseTypeDef usage example

from mypy_boto3_translate.type_defs import CreateParallelDataResponseTypeDef

def get_value() -> CreateParallelDataResponseTypeDef:
    return {
        "Name": ...,
        "Status": ...,
        "ResponseMetadata": ...,
    }
# CreateParallelDataResponseTypeDef definition

class CreateParallelDataResponseTypeDef(TypedDict):
    Name: str,
    Status: ParallelDataStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ParallelDataStatusType
  2. See ResponseMetadataTypeDef

DeleteParallelDataRequestRequestTypeDef#

# DeleteParallelDataRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import DeleteParallelDataRequestRequestTypeDef

def get_value() -> DeleteParallelDataRequestRequestTypeDef:
    return {
        "Name": ...,
    }
# DeleteParallelDataRequestRequestTypeDef definition

class DeleteParallelDataRequestRequestTypeDef(TypedDict):
    Name: str,

DeleteParallelDataResponseTypeDef#

# DeleteParallelDataResponseTypeDef usage example

from mypy_boto3_translate.type_defs import DeleteParallelDataResponseTypeDef

def get_value() -> DeleteParallelDataResponseTypeDef:
    return {
        "Name": ...,
        "Status": ...,
        "ResponseMetadata": ...,
    }
# DeleteParallelDataResponseTypeDef definition

class DeleteParallelDataResponseTypeDef(TypedDict):
    Name: str,
    Status: ParallelDataStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ParallelDataStatusType
  2. See ResponseMetadataTypeDef

DeleteTerminologyRequestRequestTypeDef#

# DeleteTerminologyRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import DeleteTerminologyRequestRequestTypeDef

def get_value() -> DeleteTerminologyRequestRequestTypeDef:
    return {
        "Name": ...,
    }
# DeleteTerminologyRequestRequestTypeDef definition

class DeleteTerminologyRequestRequestTypeDef(TypedDict):
    Name: str,

DescribeTextTranslationJobRequestRequestTypeDef#

# DescribeTextTranslationJobRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import DescribeTextTranslationJobRequestRequestTypeDef

def get_value() -> DescribeTextTranslationJobRequestRequestTypeDef:
    return {
        "JobId": ...,
    }
# DescribeTextTranslationJobRequestRequestTypeDef definition

class DescribeTextTranslationJobRequestRequestTypeDef(TypedDict):
    JobId: str,

DocumentTypeDef#

# DocumentTypeDef usage example

from mypy_boto3_translate.type_defs import DocumentTypeDef

def get_value() -> DocumentTypeDef:
    return {
        "Content": ...,
        "ContentType": ...,
    }
# DocumentTypeDef definition

class DocumentTypeDef(TypedDict):
    Content: Union[str, bytes, IO[Any], StreamingBody],
    ContentType: str,

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef usage example

from mypy_boto3_translate.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetParallelDataRequestRequestTypeDef#

# GetParallelDataRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import GetParallelDataRequestRequestTypeDef

def get_value() -> GetParallelDataRequestRequestTypeDef:
    return {
        "Name": ...,
    }
# GetParallelDataRequestRequestTypeDef definition

class GetParallelDataRequestRequestTypeDef(TypedDict):
    Name: str,

ParallelDataDataLocationTypeDef#

# ParallelDataDataLocationTypeDef usage example

from mypy_boto3_translate.type_defs import ParallelDataDataLocationTypeDef

def get_value() -> ParallelDataDataLocationTypeDef:
    return {
        "RepositoryType": ...,
        "Location": ...,
    }
# ParallelDataDataLocationTypeDef definition

class ParallelDataDataLocationTypeDef(TypedDict):
    RepositoryType: str,
    Location: str,

GetTerminologyRequestRequestTypeDef#

# GetTerminologyRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import GetTerminologyRequestRequestTypeDef

def get_value() -> GetTerminologyRequestRequestTypeDef:
    return {
        "Name": ...,
    }
# GetTerminologyRequestRequestTypeDef definition

class GetTerminologyRequestRequestTypeDef(TypedDict):
    Name: str,
    TerminologyDataFormat: NotRequired[TerminologyDataFormatType],  # (1)
  1. See TerminologyDataFormatType

TerminologyDataLocationTypeDef#

# TerminologyDataLocationTypeDef usage example

from mypy_boto3_translate.type_defs import TerminologyDataLocationTypeDef

def get_value() -> TerminologyDataLocationTypeDef:
    return {
        "RepositoryType": ...,
        "Location": ...,
    }
# TerminologyDataLocationTypeDef definition

class TerminologyDataLocationTypeDef(TypedDict):
    RepositoryType: str,
    Location: str,

TerminologyDataTypeDef#

# TerminologyDataTypeDef usage example

from mypy_boto3_translate.type_defs import TerminologyDataTypeDef

def get_value() -> TerminologyDataTypeDef:
    return {
        "File": ...,
        "Format": ...,
    }
# TerminologyDataTypeDef definition

class TerminologyDataTypeDef(TypedDict):
    File: Union[str, bytes, IO[Any], StreamingBody],
    Format: TerminologyDataFormatType,  # (1)
    Directionality: NotRequired[DirectionalityType],  # (2)
  1. See TerminologyDataFormatType
  2. See DirectionalityType

InputDataConfigTypeDef#

# InputDataConfigTypeDef usage example

from mypy_boto3_translate.type_defs import InputDataConfigTypeDef

def get_value() -> InputDataConfigTypeDef:
    return {
        "S3Uri": ...,
        "ContentType": ...,
    }
# InputDataConfigTypeDef definition

class InputDataConfigTypeDef(TypedDict):
    S3Uri: str,
    ContentType: str,

JobDetailsTypeDef#

# JobDetailsTypeDef usage example

from mypy_boto3_translate.type_defs import JobDetailsTypeDef

def get_value() -> JobDetailsTypeDef:
    return {
        "TranslatedDocumentsCount": ...,
    }
# JobDetailsTypeDef definition

class JobDetailsTypeDef(TypedDict):
    TranslatedDocumentsCount: NotRequired[int],
    DocumentsWithErrorsCount: NotRequired[int],
    InputDocumentsCount: NotRequired[int],

LanguageTypeDef#

# LanguageTypeDef usage example

from mypy_boto3_translate.type_defs import LanguageTypeDef

def get_value() -> LanguageTypeDef:
    return {
        "LanguageName": ...,
        "LanguageCode": ...,
    }
# LanguageTypeDef definition

class LanguageTypeDef(TypedDict):
    LanguageName: str,
    LanguageCode: str,

ListLanguagesRequestRequestTypeDef#

# ListLanguagesRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import ListLanguagesRequestRequestTypeDef

def get_value() -> ListLanguagesRequestRequestTypeDef:
    return {
        "DisplayLanguageCode": ...,
    }
# ListLanguagesRequestRequestTypeDef definition

class ListLanguagesRequestRequestTypeDef(TypedDict):
    DisplayLanguageCode: NotRequired[DisplayLanguageCodeType],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See DisplayLanguageCodeType

ListParallelDataRequestRequestTypeDef#

# ListParallelDataRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import ListParallelDataRequestRequestTypeDef

def get_value() -> ListParallelDataRequestRequestTypeDef:
    return {
        "NextToken": ...,
    }
# ListParallelDataRequestRequestTypeDef definition

class ListParallelDataRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

ListTerminologiesRequestListTerminologiesPaginateTypeDef#

# ListTerminologiesRequestListTerminologiesPaginateTypeDef usage example

from mypy_boto3_translate.type_defs import ListTerminologiesRequestListTerminologiesPaginateTypeDef

def get_value() -> ListTerminologiesRequestListTerminologiesPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListTerminologiesRequestListTerminologiesPaginateTypeDef definition

class ListTerminologiesRequestListTerminologiesPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTerminologiesRequestRequestTypeDef#

# ListTerminologiesRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import ListTerminologiesRequestRequestTypeDef

def get_value() -> ListTerminologiesRequestRequestTypeDef:
    return {
        "NextToken": ...,
    }
# ListTerminologiesRequestRequestTypeDef definition

class ListTerminologiesRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

TextTranslationJobFilterTypeDef#

# TextTranslationJobFilterTypeDef usage example

from mypy_boto3_translate.type_defs import TextTranslationJobFilterTypeDef

def get_value() -> TextTranslationJobFilterTypeDef:
    return {
        "JobName": ...,
    }
# TextTranslationJobFilterTypeDef definition

class TextTranslationJobFilterTypeDef(TypedDict):
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    SubmittedBeforeTime: NotRequired[Union[datetime, str]],
    SubmittedAfterTime: NotRequired[Union[datetime, str]],
  1. See JobStatusType

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef usage example

from mypy_boto3_translate.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_translate.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
# ResponseMetadataTypeDef definition

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

TranslationSettingsTypeDef#

# TranslationSettingsTypeDef usage example

from mypy_boto3_translate.type_defs import TranslationSettingsTypeDef

def get_value() -> TranslationSettingsTypeDef:
    return {
        "Formality": ...,
    }
# TranslationSettingsTypeDef definition

class TranslationSettingsTypeDef(TypedDict):
    Formality: NotRequired[FormalityType],  # (1)
    Profanity: NotRequired[ProfanityType],  # (2)
  1. See FormalityType
  2. See ProfanityType

StartTextTranslationJobResponseTypeDef#

# StartTextTranslationJobResponseTypeDef usage example

from mypy_boto3_translate.type_defs import StartTextTranslationJobResponseTypeDef

def get_value() -> StartTextTranslationJobResponseTypeDef:
    return {
        "JobId": ...,
        "JobStatus": ...,
        "ResponseMetadata": ...,
    }
# StartTextTranslationJobResponseTypeDef definition

class StartTextTranslationJobResponseTypeDef(TypedDict):
    JobId: str,
    JobStatus: JobStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See JobStatusType
  2. See ResponseMetadataTypeDef

StopTextTranslationJobRequestRequestTypeDef#

# StopTextTranslationJobRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import StopTextTranslationJobRequestRequestTypeDef

def get_value() -> StopTextTranslationJobRequestRequestTypeDef:
    return {
        "JobId": ...,
    }
# StopTextTranslationJobRequestRequestTypeDef definition

class StopTextTranslationJobRequestRequestTypeDef(TypedDict):
    JobId: str,

StopTextTranslationJobResponseTypeDef#

# StopTextTranslationJobResponseTypeDef usage example

from mypy_boto3_translate.type_defs import StopTextTranslationJobResponseTypeDef

def get_value() -> StopTextTranslationJobResponseTypeDef:
    return {
        "JobId": ...,
        "JobStatus": ...,
        "ResponseMetadata": ...,
    }
# StopTextTranslationJobResponseTypeDef definition

class StopTextTranslationJobResponseTypeDef(TypedDict):
    JobId: str,
    JobStatus: JobStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See JobStatusType
  2. See ResponseMetadataTypeDef

TranslatedDocumentTypeDef#

# TranslatedDocumentTypeDef usage example

from mypy_boto3_translate.type_defs import TranslatedDocumentTypeDef

def get_value() -> TranslatedDocumentTypeDef:
    return {
        "Content": ...,
    }
# TranslatedDocumentTypeDef definition

class TranslatedDocumentTypeDef(TypedDict):
    Content: bytes,

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "TagKeys": ...,
    }
# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateParallelDataResponseTypeDef#

# UpdateParallelDataResponseTypeDef usage example

from mypy_boto3_translate.type_defs import UpdateParallelDataResponseTypeDef

def get_value() -> UpdateParallelDataResponseTypeDef:
    return {
        "Name": ...,
        "Status": ...,
        "LatestUpdateAttemptStatus": ...,
        "LatestUpdateAttemptAt": ...,
        "ResponseMetadata": ...,
    }
# UpdateParallelDataResponseTypeDef definition

class UpdateParallelDataResponseTypeDef(TypedDict):
    Name: str,
    Status: ParallelDataStatusType,  # (1)
    LatestUpdateAttemptStatus: ParallelDataStatusType,  # (1)
    LatestUpdateAttemptAt: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ParallelDataStatusType
  2. See ParallelDataStatusType
  3. See ResponseMetadataTypeDef

AppliedTerminologyTypeDef#

# AppliedTerminologyTypeDef usage example

from mypy_boto3_translate.type_defs import AppliedTerminologyTypeDef

def get_value() -> AppliedTerminologyTypeDef:
    return {
        "Name": ...,
    }
# AppliedTerminologyTypeDef definition

class AppliedTerminologyTypeDef(TypedDict):
    Name: NotRequired[str],
    Terms: NotRequired[List[TermTypeDef]],  # (1)
  1. See TermTypeDef

OutputDataConfigTypeDef#

# OutputDataConfigTypeDef usage example

from mypy_boto3_translate.type_defs import OutputDataConfigTypeDef

def get_value() -> OutputDataConfigTypeDef:
    return {
        "S3Uri": ...,
    }
# OutputDataConfigTypeDef definition

class OutputDataConfigTypeDef(TypedDict):
    S3Uri: str,
    EncryptionKey: NotRequired[EncryptionKeyTypeDef],  # (1)
  1. See EncryptionKeyTypeDef

TerminologyPropertiesTypeDef#

# TerminologyPropertiesTypeDef usage example

from mypy_boto3_translate.type_defs import TerminologyPropertiesTypeDef

def get_value() -> TerminologyPropertiesTypeDef:
    return {
        "Name": ...,
    }
# TerminologyPropertiesTypeDef definition

class TerminologyPropertiesTypeDef(TypedDict):
    Name: NotRequired[str],
    Description: NotRequired[str],
    Arn: NotRequired[str],
    SourceLanguageCode: NotRequired[str],
    TargetLanguageCodes: NotRequired[List[str]],
    EncryptionKey: NotRequired[EncryptionKeyTypeDef],  # (1)
    SizeBytes: NotRequired[int],
    TermCount: NotRequired[int],
    CreatedAt: NotRequired[datetime],
    LastUpdatedAt: NotRequired[datetime],
    Directionality: NotRequired[DirectionalityType],  # (2)
    Message: NotRequired[str],
    SkippedTermCount: NotRequired[int],
    Format: NotRequired[TerminologyDataFormatType],  # (3)
  1. See EncryptionKeyTypeDef
  2. See DirectionalityType
  3. See TerminologyDataFormatType

ParallelDataPropertiesTypeDef#

# ParallelDataPropertiesTypeDef usage example

from mypy_boto3_translate.type_defs import ParallelDataPropertiesTypeDef

def get_value() -> ParallelDataPropertiesTypeDef:
    return {
        "Name": ...,
    }
# ParallelDataPropertiesTypeDef definition

class ParallelDataPropertiesTypeDef(TypedDict):
    Name: NotRequired[str],
    Arn: NotRequired[str],
    Description: NotRequired[str],
    Status: NotRequired[ParallelDataStatusType],  # (1)
    SourceLanguageCode: NotRequired[str],
    TargetLanguageCodes: NotRequired[List[str]],
    ParallelDataConfig: NotRequired[ParallelDataConfigTypeDef],  # (2)
    Message: NotRequired[str],
    ImportedDataSize: NotRequired[int],
    ImportedRecordCount: NotRequired[int],
    FailedRecordCount: NotRequired[int],
    SkippedRecordCount: NotRequired[int],
    EncryptionKey: NotRequired[EncryptionKeyTypeDef],  # (3)
    CreatedAt: NotRequired[datetime],
    LastUpdatedAt: NotRequired[datetime],
    LatestUpdateAttemptStatus: NotRequired[ParallelDataStatusType],  # (1)
    LatestUpdateAttemptAt: NotRequired[datetime],
  1. See ParallelDataStatusType
  2. See ParallelDataConfigTypeDef
  3. See EncryptionKeyTypeDef
  4. See ParallelDataStatusType

UpdateParallelDataRequestRequestTypeDef#

# UpdateParallelDataRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import UpdateParallelDataRequestRequestTypeDef

def get_value() -> UpdateParallelDataRequestRequestTypeDef:
    return {
        "Name": ...,
        "ParallelDataConfig": ...,
        "ClientToken": ...,
    }
# UpdateParallelDataRequestRequestTypeDef definition

class UpdateParallelDataRequestRequestTypeDef(TypedDict):
    Name: str,
    ParallelDataConfig: ParallelDataConfigTypeDef,  # (1)
    ClientToken: str,
    Description: NotRequired[str],
  1. See ParallelDataConfigTypeDef

CreateParallelDataRequestRequestTypeDef#

# CreateParallelDataRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import CreateParallelDataRequestRequestTypeDef

def get_value() -> CreateParallelDataRequestRequestTypeDef:
    return {
        "Name": ...,
        "ParallelDataConfig": ...,
        "ClientToken": ...,
    }
# CreateParallelDataRequestRequestTypeDef definition

class CreateParallelDataRequestRequestTypeDef(TypedDict):
    Name: str,
    ParallelDataConfig: ParallelDataConfigTypeDef,  # (1)
    ClientToken: str,
    Description: NotRequired[str],
    EncryptionKey: NotRequired[EncryptionKeyTypeDef],  # (2)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (3)
  1. See ParallelDataConfigTypeDef
  2. See EncryptionKeyTypeDef
  3. See TagTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef usage example

from mypy_boto3_translate.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "Tags": ...,
        "ResponseMetadata": ...,
    }
# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Tags": ...,
    }
# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

ImportTerminologyRequestRequestTypeDef#

# ImportTerminologyRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import ImportTerminologyRequestRequestTypeDef

def get_value() -> ImportTerminologyRequestRequestTypeDef:
    return {
        "Name": ...,
        "MergeStrategy": ...,
        "TerminologyData": ...,
    }
# ImportTerminologyRequestRequestTypeDef definition

class ImportTerminologyRequestRequestTypeDef(TypedDict):
    Name: str,
    MergeStrategy: MergeStrategyType,  # (1)
    TerminologyData: TerminologyDataTypeDef,  # (2)
    Description: NotRequired[str],
    EncryptionKey: NotRequired[EncryptionKeyTypeDef],  # (3)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (4)
  1. See MergeStrategyType
  2. See TerminologyDataTypeDef
  3. See EncryptionKeyTypeDef
  4. See TagTypeDef

ListLanguagesResponseTypeDef#

# ListLanguagesResponseTypeDef usage example

from mypy_boto3_translate.type_defs import ListLanguagesResponseTypeDef

def get_value() -> ListLanguagesResponseTypeDef:
    return {
        "Languages": ...,
        "DisplayLanguageCode": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListLanguagesResponseTypeDef definition

class ListLanguagesResponseTypeDef(TypedDict):
    Languages: List[LanguageTypeDef],  # (1)
    DisplayLanguageCode: DisplayLanguageCodeType,  # (2)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See LanguageTypeDef
  2. See DisplayLanguageCodeType
  3. See ResponseMetadataTypeDef

ListTextTranslationJobsRequestRequestTypeDef#

# ListTextTranslationJobsRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import ListTextTranslationJobsRequestRequestTypeDef

def get_value() -> ListTextTranslationJobsRequestRequestTypeDef:
    return {
        "Filter": ...,
    }
# ListTextTranslationJobsRequestRequestTypeDef definition

class ListTextTranslationJobsRequestRequestTypeDef(TypedDict):
    Filter: NotRequired[TextTranslationJobFilterTypeDef],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See TextTranslationJobFilterTypeDef

TranslateDocumentRequestRequestTypeDef#

# TranslateDocumentRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import TranslateDocumentRequestRequestTypeDef

def get_value() -> TranslateDocumentRequestRequestTypeDef:
    return {
        "Document": ...,
        "SourceLanguageCode": ...,
        "TargetLanguageCode": ...,
    }
# TranslateDocumentRequestRequestTypeDef definition

class TranslateDocumentRequestRequestTypeDef(TypedDict):
    Document: DocumentTypeDef,  # (1)
    SourceLanguageCode: str,
    TargetLanguageCode: str,
    TerminologyNames: NotRequired[Sequence[str]],
    Settings: NotRequired[TranslationSettingsTypeDef],  # (2)
  1. See DocumentTypeDef
  2. See TranslationSettingsTypeDef

TranslateTextRequestRequestTypeDef#

# TranslateTextRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import TranslateTextRequestRequestTypeDef

def get_value() -> TranslateTextRequestRequestTypeDef:
    return {
        "Text": ...,
        "SourceLanguageCode": ...,
        "TargetLanguageCode": ...,
    }
# TranslateTextRequestRequestTypeDef definition

class TranslateTextRequestRequestTypeDef(TypedDict):
    Text: str,
    SourceLanguageCode: str,
    TargetLanguageCode: str,
    TerminologyNames: NotRequired[Sequence[str]],
    Settings: NotRequired[TranslationSettingsTypeDef],  # (1)
  1. See TranslationSettingsTypeDef

TranslateDocumentResponseTypeDef#

# TranslateDocumentResponseTypeDef usage example

from mypy_boto3_translate.type_defs import TranslateDocumentResponseTypeDef

def get_value() -> TranslateDocumentResponseTypeDef:
    return {
        "TranslatedDocument": ...,
        "SourceLanguageCode": ...,
        "TargetLanguageCode": ...,
        "AppliedTerminologies": ...,
        "AppliedSettings": ...,
        "ResponseMetadata": ...,
    }
# TranslateDocumentResponseTypeDef definition

class TranslateDocumentResponseTypeDef(TypedDict):
    TranslatedDocument: TranslatedDocumentTypeDef,  # (1)
    SourceLanguageCode: str,
    TargetLanguageCode: str,
    AppliedTerminologies: List[AppliedTerminologyTypeDef],  # (2)
    AppliedSettings: TranslationSettingsTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See TranslatedDocumentTypeDef
  2. See AppliedTerminologyTypeDef
  3. See TranslationSettingsTypeDef
  4. See ResponseMetadataTypeDef

TranslateTextResponseTypeDef#

# TranslateTextResponseTypeDef usage example

from mypy_boto3_translate.type_defs import TranslateTextResponseTypeDef

def get_value() -> TranslateTextResponseTypeDef:
    return {
        "TranslatedText": ...,
        "SourceLanguageCode": ...,
        "TargetLanguageCode": ...,
        "AppliedTerminologies": ...,
        "AppliedSettings": ...,
        "ResponseMetadata": ...,
    }
# TranslateTextResponseTypeDef definition

class TranslateTextResponseTypeDef(TypedDict):
    TranslatedText: str,
    SourceLanguageCode: str,
    TargetLanguageCode: str,
    AppliedTerminologies: List[AppliedTerminologyTypeDef],  # (1)
    AppliedSettings: TranslationSettingsTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AppliedTerminologyTypeDef
  2. See TranslationSettingsTypeDef
  3. See ResponseMetadataTypeDef

StartTextTranslationJobRequestRequestTypeDef#

# StartTextTranslationJobRequestRequestTypeDef usage example

from mypy_boto3_translate.type_defs import StartTextTranslationJobRequestRequestTypeDef

def get_value() -> StartTextTranslationJobRequestRequestTypeDef:
    return {
        "InputDataConfig": ...,
        "OutputDataConfig": ...,
        "DataAccessRoleArn": ...,
        "SourceLanguageCode": ...,
        "TargetLanguageCodes": ...,
        "ClientToken": ...,
    }
# StartTextTranslationJobRequestRequestTypeDef definition

class StartTextTranslationJobRequestRequestTypeDef(TypedDict):
    InputDataConfig: InputDataConfigTypeDef,  # (1)
    OutputDataConfig: OutputDataConfigTypeDef,  # (2)
    DataAccessRoleArn: str,
    SourceLanguageCode: str,
    TargetLanguageCodes: Sequence[str],
    ClientToken: str,
    JobName: NotRequired[str],
    TerminologyNames: NotRequired[Sequence[str]],
    ParallelDataNames: NotRequired[Sequence[str]],
    Settings: NotRequired[TranslationSettingsTypeDef],  # (3)
  1. See InputDataConfigTypeDef
  2. See OutputDataConfigTypeDef
  3. See TranslationSettingsTypeDef

TextTranslationJobPropertiesTypeDef#

# TextTranslationJobPropertiesTypeDef usage example

from mypy_boto3_translate.type_defs import TextTranslationJobPropertiesTypeDef

def get_value() -> TextTranslationJobPropertiesTypeDef:
    return {
        "JobId": ...,
    }
# TextTranslationJobPropertiesTypeDef definition

class TextTranslationJobPropertiesTypeDef(TypedDict):
    JobId: NotRequired[str],
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    JobDetails: NotRequired[JobDetailsTypeDef],  # (2)
    SourceLanguageCode: NotRequired[str],
    TargetLanguageCodes: NotRequired[List[str]],
    TerminologyNames: NotRequired[List[str]],
    ParallelDataNames: NotRequired[List[str]],
    Message: NotRequired[str],
    SubmittedTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    InputDataConfig: NotRequired[InputDataConfigTypeDef],  # (3)
    OutputDataConfig: NotRequired[OutputDataConfigTypeDef],  # (4)
    DataAccessRoleArn: NotRequired[str],
    Settings: NotRequired[TranslationSettingsTypeDef],  # (5)
  1. See JobStatusType
  2. See JobDetailsTypeDef
  3. See InputDataConfigTypeDef
  4. See OutputDataConfigTypeDef
  5. See TranslationSettingsTypeDef

GetTerminologyResponseTypeDef#

# GetTerminologyResponseTypeDef usage example

from mypy_boto3_translate.type_defs import GetTerminologyResponseTypeDef

def get_value() -> GetTerminologyResponseTypeDef:
    return {
        "TerminologyProperties": ...,
        "TerminologyDataLocation": ...,
        "AuxiliaryDataLocation": ...,
        "ResponseMetadata": ...,
    }
# GetTerminologyResponseTypeDef definition

class GetTerminologyResponseTypeDef(TypedDict):
    TerminologyProperties: TerminologyPropertiesTypeDef,  # (1)
    TerminologyDataLocation: TerminologyDataLocationTypeDef,  # (2)
    AuxiliaryDataLocation: TerminologyDataLocationTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See TerminologyPropertiesTypeDef
  2. See TerminologyDataLocationTypeDef
  3. See TerminologyDataLocationTypeDef
  4. See ResponseMetadataTypeDef

ImportTerminologyResponseTypeDef#

# ImportTerminologyResponseTypeDef usage example

from mypy_boto3_translate.type_defs import ImportTerminologyResponseTypeDef

def get_value() -> ImportTerminologyResponseTypeDef:
    return {
        "TerminologyProperties": ...,
        "AuxiliaryDataLocation": ...,
        "ResponseMetadata": ...,
    }
# ImportTerminologyResponseTypeDef definition

class ImportTerminologyResponseTypeDef(TypedDict):
    TerminologyProperties: TerminologyPropertiesTypeDef,  # (1)
    AuxiliaryDataLocation: TerminologyDataLocationTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TerminologyPropertiesTypeDef
  2. See TerminologyDataLocationTypeDef
  3. See ResponseMetadataTypeDef

ListTerminologiesResponseTypeDef#

# ListTerminologiesResponseTypeDef usage example

from mypy_boto3_translate.type_defs import ListTerminologiesResponseTypeDef

def get_value() -> ListTerminologiesResponseTypeDef:
    return {
        "TerminologyPropertiesList": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListTerminologiesResponseTypeDef definition

class ListTerminologiesResponseTypeDef(TypedDict):
    TerminologyPropertiesList: List[TerminologyPropertiesTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TerminologyPropertiesTypeDef
  2. See ResponseMetadataTypeDef

GetParallelDataResponseTypeDef#

# GetParallelDataResponseTypeDef usage example

from mypy_boto3_translate.type_defs import GetParallelDataResponseTypeDef

def get_value() -> GetParallelDataResponseTypeDef:
    return {
        "ParallelDataProperties": ...,
        "DataLocation": ...,
        "AuxiliaryDataLocation": ...,
        "LatestUpdateAttemptAuxiliaryDataLocation": ...,
        "ResponseMetadata": ...,
    }
# GetParallelDataResponseTypeDef definition

class GetParallelDataResponseTypeDef(TypedDict):
    ParallelDataProperties: ParallelDataPropertiesTypeDef,  # (1)
    DataLocation: ParallelDataDataLocationTypeDef,  # (2)
    AuxiliaryDataLocation: ParallelDataDataLocationTypeDef,  # (2)
    LatestUpdateAttemptAuxiliaryDataLocation: ParallelDataDataLocationTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See ParallelDataPropertiesTypeDef
  2. See ParallelDataDataLocationTypeDef
  3. See ParallelDataDataLocationTypeDef
  4. See ParallelDataDataLocationTypeDef
  5. See ResponseMetadataTypeDef

ListParallelDataResponseTypeDef#

# ListParallelDataResponseTypeDef usage example

from mypy_boto3_translate.type_defs import ListParallelDataResponseTypeDef

def get_value() -> ListParallelDataResponseTypeDef:
    return {
        "ParallelDataPropertiesList": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListParallelDataResponseTypeDef definition

class ListParallelDataResponseTypeDef(TypedDict):
    ParallelDataPropertiesList: List[ParallelDataPropertiesTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ParallelDataPropertiesTypeDef
  2. See ResponseMetadataTypeDef

DescribeTextTranslationJobResponseTypeDef#

# DescribeTextTranslationJobResponseTypeDef usage example

from mypy_boto3_translate.type_defs import DescribeTextTranslationJobResponseTypeDef

def get_value() -> DescribeTextTranslationJobResponseTypeDef:
    return {
        "TextTranslationJobProperties": ...,
        "ResponseMetadata": ...,
    }
# DescribeTextTranslationJobResponseTypeDef definition

class DescribeTextTranslationJobResponseTypeDef(TypedDict):
    TextTranslationJobProperties: TextTranslationJobPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TextTranslationJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListTextTranslationJobsResponseTypeDef#

# ListTextTranslationJobsResponseTypeDef usage example

from mypy_boto3_translate.type_defs import ListTextTranslationJobsResponseTypeDef

def get_value() -> ListTextTranslationJobsResponseTypeDef:
    return {
        "TextTranslationJobPropertiesList": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListTextTranslationJobsResponseTypeDef definition

class ListTextTranslationJobsResponseTypeDef(TypedDict):
    TextTranslationJobPropertiesList: List[TextTranslationJobPropertiesTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TextTranslationJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef