Skip to content

Type definitions#

Index > Comprehend > Type definitions

Auto-generated documentation for Comprehend type annotations stubs module mypy-boto3-comprehend.

BlobTypeDef#

# BlobTypeDef definition

BlobTypeDef = Union[
    str,
    bytes,
    IO[Any],
    StreamingBody,
]

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AugmentedManifestsListItemUnionTypeDef#

# AugmentedManifestsListItemUnionTypeDef definition

AugmentedManifestsListItemUnionTypeDef = Union[
    AugmentedManifestsListItemTypeDef,  # (1)
    AugmentedManifestsListItemOutputTypeDef,  # (2)
]
  1. See AugmentedManifestsListItemTypeDef
  2. See AugmentedManifestsListItemOutputTypeDef

VpcConfigUnionTypeDef#

# VpcConfigUnionTypeDef definition

VpcConfigUnionTypeDef = Union[
    VpcConfigTypeDef,  # (1)
    VpcConfigOutputTypeDef,  # (2)
]
  1. See VpcConfigTypeDef
  2. See VpcConfigOutputTypeDef

DocumentClassificationConfigUnionTypeDef#

# DocumentClassificationConfigUnionTypeDef definition

DocumentClassificationConfigUnionTypeDef = Union[
    DocumentClassificationConfigTypeDef,  # (1)
    DocumentClassificationConfigOutputTypeDef,  # (2)
]
  1. See DocumentClassificationConfigTypeDef
  2. See DocumentClassificationConfigOutputTypeDef

DocumentReaderConfigUnionTypeDef#

# DocumentReaderConfigUnionTypeDef definition

DocumentReaderConfigUnionTypeDef = Union[
    DocumentReaderConfigTypeDef,  # (1)
    DocumentReaderConfigOutputTypeDef,  # (2)
]
  1. See DocumentReaderConfigTypeDef
  2. See DocumentReaderConfigOutputTypeDef

EntityRecognitionConfigUnionTypeDef#

# EntityRecognitionConfigUnionTypeDef definition

EntityRecognitionConfigUnionTypeDef = Union[
    EntityRecognitionConfigTypeDef,  # (1)
    EntityRecognitionConfigOutputTypeDef,  # (2)
]
  1. See EntityRecognitionConfigTypeDef
  2. See EntityRecognitionConfigOutputTypeDef

AugmentedManifestsListItemOutputTypeDef#

# AugmentedManifestsListItemOutputTypeDef definition

class AugmentedManifestsListItemOutputTypeDef(TypedDict):
    S3Uri: str,
    AttributeNames: List[str],
    Split: NotRequired[SplitType],  # (1)
    AnnotationDataS3Uri: NotRequired[str],
    SourceDocumentsS3Uri: NotRequired[str],
    DocumentType: NotRequired[AugmentedManifestsDocumentTypeFormatType],  # (2)
  1. See SplitType
  2. See AugmentedManifestsDocumentTypeFormatType

AugmentedManifestsListItemTypeDef#

# AugmentedManifestsListItemTypeDef definition

class AugmentedManifestsListItemTypeDef(TypedDict):
    S3Uri: str,
    AttributeNames: Sequence[str],
    Split: NotRequired[SplitType],  # (1)
    AnnotationDataS3Uri: NotRequired[str],
    SourceDocumentsS3Uri: NotRequired[str],
    DocumentType: NotRequired[AugmentedManifestsDocumentTypeFormatType],  # (2)
  1. See SplitType
  2. See AugmentedManifestsDocumentTypeFormatType

DominantLanguageTypeDef#

# DominantLanguageTypeDef definition

class DominantLanguageTypeDef(TypedDict):
    LanguageCode: NotRequired[str],
    Score: NotRequired[float],

BatchDetectDominantLanguageRequestRequestTypeDef#

# BatchDetectDominantLanguageRequestRequestTypeDef definition

class BatchDetectDominantLanguageRequestRequestTypeDef(TypedDict):
    TextList: Sequence[str],

BatchItemErrorTypeDef#

# BatchItemErrorTypeDef definition

class BatchItemErrorTypeDef(TypedDict):
    Index: NotRequired[int],
    ErrorCode: NotRequired[str],
    ErrorMessage: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

BatchDetectEntitiesRequestRequestTypeDef#

# BatchDetectEntitiesRequestRequestTypeDef definition

class BatchDetectEntitiesRequestRequestTypeDef(TypedDict):
    TextList: Sequence[str],
    LanguageCode: LanguageCodeType,  # (1)
  1. See LanguageCodeType

KeyPhraseTypeDef#

# KeyPhraseTypeDef definition

class KeyPhraseTypeDef(TypedDict):
    Score: NotRequired[float],
    Text: NotRequired[str],
    BeginOffset: NotRequired[int],
    EndOffset: NotRequired[int],

BatchDetectKeyPhrasesRequestRequestTypeDef#

# BatchDetectKeyPhrasesRequestRequestTypeDef definition

class BatchDetectKeyPhrasesRequestRequestTypeDef(TypedDict):
    TextList: Sequence[str],
    LanguageCode: LanguageCodeType,  # (1)
  1. See LanguageCodeType

SentimentScoreTypeDef#

# SentimentScoreTypeDef definition

class SentimentScoreTypeDef(TypedDict):
    Positive: NotRequired[float],
    Negative: NotRequired[float],
    Neutral: NotRequired[float],
    Mixed: NotRequired[float],

BatchDetectSentimentRequestRequestTypeDef#

# BatchDetectSentimentRequestRequestTypeDef definition

class BatchDetectSentimentRequestRequestTypeDef(TypedDict):
    TextList: Sequence[str],
    LanguageCode: LanguageCodeType,  # (1)
  1. See LanguageCodeType

BatchDetectSyntaxRequestRequestTypeDef#

# BatchDetectSyntaxRequestRequestTypeDef definition

class BatchDetectSyntaxRequestRequestTypeDef(TypedDict):
    TextList: Sequence[str],
    LanguageCode: SyntaxLanguageCodeType,  # (1)
  1. See SyntaxLanguageCodeType

BatchDetectTargetedSentimentRequestRequestTypeDef#

# BatchDetectTargetedSentimentRequestRequestTypeDef definition

class BatchDetectTargetedSentimentRequestRequestTypeDef(TypedDict):
    TextList: Sequence[str],
    LanguageCode: LanguageCodeType,  # (1)
  1. See LanguageCodeType

ChildBlockTypeDef#

# ChildBlockTypeDef definition

class ChildBlockTypeDef(TypedDict):
    ChildBlockId: NotRequired[str],
    BeginOffset: NotRequired[int],
    EndOffset: NotRequired[int],

RelationshipsListItemTypeDef#

# RelationshipsListItemTypeDef definition

class RelationshipsListItemTypeDef(TypedDict):
    Ids: NotRequired[List[str]],
    Type: NotRequired[RelationshipTypeType],  # (1)
  1. See RelationshipTypeType

BoundingBoxTypeDef#

# BoundingBoxTypeDef definition

class BoundingBoxTypeDef(TypedDict):
    Height: NotRequired[float],
    Left: NotRequired[float],
    Top: NotRequired[float],
    Width: NotRequired[float],

ClassifierEvaluationMetricsTypeDef#

# ClassifierEvaluationMetricsTypeDef definition

class ClassifierEvaluationMetricsTypeDef(TypedDict):
    Accuracy: NotRequired[float],
    Precision: NotRequired[float],
    Recall: NotRequired[float],
    F1Score: NotRequired[float],
    MicroPrecision: NotRequired[float],
    MicroRecall: NotRequired[float],
    MicroF1Score: NotRequired[float],
    HammingLoss: NotRequired[float],

DocumentReaderConfigTypeDef#

# DocumentReaderConfigTypeDef definition

class DocumentReaderConfigTypeDef(TypedDict):
    DocumentReadAction: DocumentReadActionType,  # (1)
    DocumentReadMode: NotRequired[DocumentReadModeType],  # (2)
    FeatureTypes: NotRequired[Sequence[DocumentReadFeatureTypesType]],  # (3)
  1. See DocumentReadActionType
  2. See DocumentReadModeType
  3. See DocumentReadFeatureTypesType

DocumentClassTypeDef#

# DocumentClassTypeDef definition

class DocumentClassTypeDef(TypedDict):
    Name: NotRequired[str],
    Score: NotRequired[float],
    Page: NotRequired[int],

DocumentLabelTypeDef#

# DocumentLabelTypeDef definition

class DocumentLabelTypeDef(TypedDict):
    Name: NotRequired[str],
    Score: NotRequired[float],
    Page: NotRequired[int],

DocumentTypeListItemTypeDef#

# DocumentTypeListItemTypeDef definition

class DocumentTypeListItemTypeDef(TypedDict):
    Page: NotRequired[int],
    Type: NotRequired[DocumentTypeType],  # (1)
  1. See DocumentTypeType

ErrorsListItemTypeDef#

# ErrorsListItemTypeDef definition

class ErrorsListItemTypeDef(TypedDict):
    Page: NotRequired[int],
    ErrorCode: NotRequired[PageBasedErrorCodeType],  # (1)
    ErrorMessage: NotRequired[str],
  1. See PageBasedErrorCodeType

WarningsListItemTypeDef#

# WarningsListItemTypeDef definition

class WarningsListItemTypeDef(TypedDict):
    Page: NotRequired[int],
    WarnCode: NotRequired[PageBasedWarningCodeType],  # (1)
    WarnMessage: NotRequired[str],
  1. See PageBasedWarningCodeType

ContainsPiiEntitiesRequestRequestTypeDef#

# ContainsPiiEntitiesRequestRequestTypeDef definition

class ContainsPiiEntitiesRequestRequestTypeDef(TypedDict):
    Text: str,
    LanguageCode: LanguageCodeType,  # (1)
  1. See LanguageCodeType

EntityLabelTypeDef#

# EntityLabelTypeDef definition

class EntityLabelTypeDef(TypedDict):
    Name: NotRequired[PiiEntityTypeType],  # (1)
    Score: NotRequired[float],
  1. See PiiEntityTypeType

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: NotRequired[str],

DocumentClassifierOutputDataConfigTypeDef#

# DocumentClassifierOutputDataConfigTypeDef definition

class DocumentClassifierOutputDataConfigTypeDef(TypedDict):
    S3Uri: NotRequired[str],
    KmsKeyId: NotRequired[str],
    FlywheelStatsS3Prefix: NotRequired[str],

VpcConfigTypeDef#

# VpcConfigTypeDef definition

class VpcConfigTypeDef(TypedDict):
    SecurityGroupIds: Sequence[str],
    Subnets: Sequence[str],

VpcConfigOutputTypeDef#

# VpcConfigOutputTypeDef definition

class VpcConfigOutputTypeDef(TypedDict):
    SecurityGroupIds: List[str],
    Subnets: List[str],

DatasetAugmentedManifestsListItemTypeDef#

# DatasetAugmentedManifestsListItemTypeDef definition

class DatasetAugmentedManifestsListItemTypeDef(TypedDict):
    AttributeNames: Sequence[str],
    S3Uri: str,
    AnnotationDataS3Uri: NotRequired[str],
    SourceDocumentsS3Uri: NotRequired[str],
    DocumentType: NotRequired[AugmentedManifestsDocumentTypeFormatType],  # (1)
  1. See AugmentedManifestsDocumentTypeFormatType

DatasetDocumentClassifierInputDataConfigTypeDef#

# DatasetDocumentClassifierInputDataConfigTypeDef definition

class DatasetDocumentClassifierInputDataConfigTypeDef(TypedDict):
    S3Uri: str,
    LabelDelimiter: NotRequired[str],

DatasetEntityRecognizerAnnotationsTypeDef#

# DatasetEntityRecognizerAnnotationsTypeDef definition

class DatasetEntityRecognizerAnnotationsTypeDef(TypedDict):
    S3Uri: str,

DatasetEntityRecognizerDocumentsTypeDef#

# DatasetEntityRecognizerDocumentsTypeDef definition

class DatasetEntityRecognizerDocumentsTypeDef(TypedDict):
    S3Uri: str,
    InputFormat: NotRequired[InputFormatType],  # (1)
  1. See InputFormatType

DatasetEntityRecognizerEntityListTypeDef#

# DatasetEntityRecognizerEntityListTypeDef definition

class DatasetEntityRecognizerEntityListTypeDef(TypedDict):
    S3Uri: str,

DatasetPropertiesTypeDef#

# DatasetPropertiesTypeDef definition

class DatasetPropertiesTypeDef(TypedDict):
    DatasetArn: NotRequired[str],
    DatasetName: NotRequired[str],
    DatasetType: NotRequired[DatasetTypeType],  # (1)
    DatasetS3Uri: NotRequired[str],
    Description: NotRequired[str],
    Status: NotRequired[DatasetStatusType],  # (2)
    Message: NotRequired[str],
    NumberOfDocuments: NotRequired[int],
    CreationTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
  1. See DatasetTypeType
  2. See DatasetStatusType

DeleteDocumentClassifierRequestRequestTypeDef#

# DeleteDocumentClassifierRequestRequestTypeDef definition

class DeleteDocumentClassifierRequestRequestTypeDef(TypedDict):
    DocumentClassifierArn: str,

DeleteEndpointRequestRequestTypeDef#

# DeleteEndpointRequestRequestTypeDef definition

class DeleteEndpointRequestRequestTypeDef(TypedDict):
    EndpointArn: str,

DeleteEntityRecognizerRequestRequestTypeDef#

# DeleteEntityRecognizerRequestRequestTypeDef definition

class DeleteEntityRecognizerRequestRequestTypeDef(TypedDict):
    EntityRecognizerArn: str,

DeleteFlywheelRequestRequestTypeDef#

# DeleteFlywheelRequestRequestTypeDef definition

class DeleteFlywheelRequestRequestTypeDef(TypedDict):
    FlywheelArn: str,

DeleteResourcePolicyRequestRequestTypeDef#

# DeleteResourcePolicyRequestRequestTypeDef definition

class DeleteResourcePolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    PolicyRevisionId: NotRequired[str],

DescribeDatasetRequestRequestTypeDef#

# DescribeDatasetRequestRequestTypeDef definition

class DescribeDatasetRequestRequestTypeDef(TypedDict):
    DatasetArn: str,

DescribeDocumentClassificationJobRequestRequestTypeDef#

# DescribeDocumentClassificationJobRequestRequestTypeDef definition

class DescribeDocumentClassificationJobRequestRequestTypeDef(TypedDict):
    JobId: str,

DescribeDocumentClassifierRequestRequestTypeDef#

# DescribeDocumentClassifierRequestRequestTypeDef definition

class DescribeDocumentClassifierRequestRequestTypeDef(TypedDict):
    DocumentClassifierArn: str,

DescribeDominantLanguageDetectionJobRequestRequestTypeDef#

# DescribeDominantLanguageDetectionJobRequestRequestTypeDef definition

class DescribeDominantLanguageDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

DescribeEndpointRequestRequestTypeDef#

# DescribeEndpointRequestRequestTypeDef definition

class DescribeEndpointRequestRequestTypeDef(TypedDict):
    EndpointArn: str,

EndpointPropertiesTypeDef#

# EndpointPropertiesTypeDef definition

class EndpointPropertiesTypeDef(TypedDict):
    EndpointArn: NotRequired[str],
    Status: NotRequired[EndpointStatusType],  # (1)
    Message: NotRequired[str],
    ModelArn: NotRequired[str],
    DesiredModelArn: NotRequired[str],
    DesiredInferenceUnits: NotRequired[int],
    CurrentInferenceUnits: NotRequired[int],
    CreationTime: NotRequired[datetime],
    LastModifiedTime: NotRequired[datetime],
    DataAccessRoleArn: NotRequired[str],
    DesiredDataAccessRoleArn: NotRequired[str],
    FlywheelArn: NotRequired[str],
  1. See EndpointStatusType

DescribeEntitiesDetectionJobRequestRequestTypeDef#

# DescribeEntitiesDetectionJobRequestRequestTypeDef definition

class DescribeEntitiesDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

DescribeEntityRecognizerRequestRequestTypeDef#

# DescribeEntityRecognizerRequestRequestTypeDef definition

class DescribeEntityRecognizerRequestRequestTypeDef(TypedDict):
    EntityRecognizerArn: str,

DescribeEventsDetectionJobRequestRequestTypeDef#

# DescribeEventsDetectionJobRequestRequestTypeDef definition

class DescribeEventsDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

DescribeFlywheelIterationRequestRequestTypeDef#

# DescribeFlywheelIterationRequestRequestTypeDef definition

class DescribeFlywheelIterationRequestRequestTypeDef(TypedDict):
    FlywheelArn: str,
    FlywheelIterationId: str,

DescribeFlywheelRequestRequestTypeDef#

# DescribeFlywheelRequestRequestTypeDef definition

class DescribeFlywheelRequestRequestTypeDef(TypedDict):
    FlywheelArn: str,

DescribeKeyPhrasesDetectionJobRequestRequestTypeDef#

# DescribeKeyPhrasesDetectionJobRequestRequestTypeDef definition

class DescribeKeyPhrasesDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

DescribePiiEntitiesDetectionJobRequestRequestTypeDef#

# DescribePiiEntitiesDetectionJobRequestRequestTypeDef definition

class DescribePiiEntitiesDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

DescribeResourcePolicyRequestRequestTypeDef#

# DescribeResourcePolicyRequestRequestTypeDef definition

class DescribeResourcePolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DescribeSentimentDetectionJobRequestRequestTypeDef#

# DescribeSentimentDetectionJobRequestRequestTypeDef definition

class DescribeSentimentDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

DescribeTargetedSentimentDetectionJobRequestRequestTypeDef#

# DescribeTargetedSentimentDetectionJobRequestRequestTypeDef definition

class DescribeTargetedSentimentDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

DescribeTopicsDetectionJobRequestRequestTypeDef#

# DescribeTopicsDetectionJobRequestRequestTypeDef definition

class DescribeTopicsDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

DetectDominantLanguageRequestRequestTypeDef#

# DetectDominantLanguageRequestRequestTypeDef definition

class DetectDominantLanguageRequestRequestTypeDef(TypedDict):
    Text: str,

DetectKeyPhrasesRequestRequestTypeDef#

# DetectKeyPhrasesRequestRequestTypeDef definition

class DetectKeyPhrasesRequestRequestTypeDef(TypedDict):
    Text: str,
    LanguageCode: LanguageCodeType,  # (1)
  1. See LanguageCodeType

DetectPiiEntitiesRequestRequestTypeDef#

# DetectPiiEntitiesRequestRequestTypeDef definition

class DetectPiiEntitiesRequestRequestTypeDef(TypedDict):
    Text: str,
    LanguageCode: LanguageCodeType,  # (1)
  1. See LanguageCodeType

PiiEntityTypeDef#

# PiiEntityTypeDef definition

class PiiEntityTypeDef(TypedDict):
    Score: NotRequired[float],
    Type: NotRequired[PiiEntityTypeType],  # (1)
    BeginOffset: NotRequired[int],
    EndOffset: NotRequired[int],
  1. See PiiEntityTypeType

DetectSentimentRequestRequestTypeDef#

# DetectSentimentRequestRequestTypeDef definition

class DetectSentimentRequestRequestTypeDef(TypedDict):
    Text: str,
    LanguageCode: LanguageCodeType,  # (1)
  1. See LanguageCodeType

DetectSyntaxRequestRequestTypeDef#

# DetectSyntaxRequestRequestTypeDef definition

class DetectSyntaxRequestRequestTypeDef(TypedDict):
    Text: str,
    LanguageCode: SyntaxLanguageCodeType,  # (1)
  1. See SyntaxLanguageCodeType

DetectTargetedSentimentRequestRequestTypeDef#

# DetectTargetedSentimentRequestRequestTypeDef definition

class DetectTargetedSentimentRequestRequestTypeDef(TypedDict):
    Text: str,
    LanguageCode: LanguageCodeType,  # (1)
  1. See LanguageCodeType

TextSegmentTypeDef#

# TextSegmentTypeDef definition

class TextSegmentTypeDef(TypedDict):
    Text: str,

DocumentClassificationConfigOutputTypeDef#

# DocumentClassificationConfigOutputTypeDef definition

class DocumentClassificationConfigOutputTypeDef(TypedDict):
    Mode: DocumentClassifierModeType,  # (1)
    Labels: NotRequired[List[str]],
  1. See DocumentClassifierModeType

DocumentClassificationConfigTypeDef#

# DocumentClassificationConfigTypeDef definition

class DocumentClassificationConfigTypeDef(TypedDict):
    Mode: DocumentClassifierModeType,  # (1)
    Labels: NotRequired[Sequence[str]],
  1. See DocumentClassifierModeType

OutputDataConfigTypeDef#

# OutputDataConfigTypeDef definition

class OutputDataConfigTypeDef(TypedDict):
    S3Uri: str,
    KmsKeyId: NotRequired[str],

DocumentClassifierDocumentsTypeDef#

# DocumentClassifierDocumentsTypeDef definition

class DocumentClassifierDocumentsTypeDef(TypedDict):
    S3Uri: str,
    TestS3Uri: NotRequired[str],

DocumentReaderConfigOutputTypeDef#

# DocumentReaderConfigOutputTypeDef definition

class DocumentReaderConfigOutputTypeDef(TypedDict):
    DocumentReadAction: DocumentReadActionType,  # (1)
    DocumentReadMode: NotRequired[DocumentReadModeType],  # (2)
    FeatureTypes: NotRequired[List[DocumentReadFeatureTypesType]],  # (3)
  1. See DocumentReadActionType
  2. See DocumentReadModeType
  3. See DocumentReadFeatureTypesType

DocumentClassifierSummaryTypeDef#

# DocumentClassifierSummaryTypeDef definition

class DocumentClassifierSummaryTypeDef(TypedDict):
    DocumentClassifierName: NotRequired[str],
    NumberOfVersions: NotRequired[int],
    LatestVersionCreatedAt: NotRequired[datetime],
    LatestVersionName: NotRequired[str],
    LatestVersionStatus: NotRequired[ModelStatusType],  # (1)
  1. See ModelStatusType

ExtractedCharactersListItemTypeDef#

# ExtractedCharactersListItemTypeDef definition

class ExtractedCharactersListItemTypeDef(TypedDict):
    Page: NotRequired[int],
    Count: NotRequired[int],

EntityTypesListItemTypeDef#

# EntityTypesListItemTypeDef definition

class EntityTypesListItemTypeDef(TypedDict):
    Type: str,

EntityRecognizerAnnotationsTypeDef#

# EntityRecognizerAnnotationsTypeDef definition

class EntityRecognizerAnnotationsTypeDef(TypedDict):
    S3Uri: str,
    TestS3Uri: NotRequired[str],

EntityRecognizerDocumentsTypeDef#

# EntityRecognizerDocumentsTypeDef definition

class EntityRecognizerDocumentsTypeDef(TypedDict):
    S3Uri: str,
    TestS3Uri: NotRequired[str],
    InputFormat: NotRequired[InputFormatType],  # (1)
  1. See InputFormatType

EntityRecognizerEntityListTypeDef#

# EntityRecognizerEntityListTypeDef definition

class EntityRecognizerEntityListTypeDef(TypedDict):
    S3Uri: str,

EntityRecognizerEvaluationMetricsTypeDef#

# EntityRecognizerEvaluationMetricsTypeDef definition

class EntityRecognizerEvaluationMetricsTypeDef(TypedDict):
    Precision: NotRequired[float],
    Recall: NotRequired[float],
    F1Score: NotRequired[float],

EntityTypesEvaluationMetricsTypeDef#

# EntityTypesEvaluationMetricsTypeDef definition

class EntityTypesEvaluationMetricsTypeDef(TypedDict):
    Precision: NotRequired[float],
    Recall: NotRequired[float],
    F1Score: NotRequired[float],

EntityRecognizerOutputDataConfigTypeDef#

# EntityRecognizerOutputDataConfigTypeDef definition

class EntityRecognizerOutputDataConfigTypeDef(TypedDict):
    FlywheelStatsS3Prefix: NotRequired[str],

EntityRecognizerSummaryTypeDef#

# EntityRecognizerSummaryTypeDef definition

class EntityRecognizerSummaryTypeDef(TypedDict):
    RecognizerName: NotRequired[str],
    NumberOfVersions: NotRequired[int],
    LatestVersionCreatedAt: NotRequired[datetime],
    LatestVersionName: NotRequired[str],
    LatestVersionStatus: NotRequired[ModelStatusType],  # (1)
  1. See ModelStatusType

FlywheelModelEvaluationMetricsTypeDef#

# FlywheelModelEvaluationMetricsTypeDef definition

class FlywheelModelEvaluationMetricsTypeDef(TypedDict):
    AverageF1Score: NotRequired[float],
    AveragePrecision: NotRequired[float],
    AverageRecall: NotRequired[float],
    AverageAccuracy: NotRequired[float],

FlywheelSummaryTypeDef#

# FlywheelSummaryTypeDef definition

class FlywheelSummaryTypeDef(TypedDict):
    FlywheelArn: NotRequired[str],
    ActiveModelArn: NotRequired[str],
    DataLakeS3Uri: NotRequired[str],
    Status: NotRequired[FlywheelStatusType],  # (1)
    ModelType: NotRequired[ModelTypeType],  # (2)
    Message: NotRequired[str],
    CreationTime: NotRequired[datetime],
    LastModifiedTime: NotRequired[datetime],
    LatestFlywheelIteration: NotRequired[str],
  1. See FlywheelStatusType
  2. See ModelTypeType

PointTypeDef#

# PointTypeDef definition

class PointTypeDef(TypedDict):
    X: NotRequired[float],
    Y: NotRequired[float],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListDocumentClassifierSummariesRequestRequestTypeDef#

# ListDocumentClassifierSummariesRequestRequestTypeDef definition

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

ListEntityRecognizerSummariesRequestRequestTypeDef#

# ListEntityRecognizerSummariesRequestRequestTypeDef definition

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

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

PartOfSpeechTagTypeDef#

# PartOfSpeechTagTypeDef definition

class PartOfSpeechTagTypeDef(TypedDict):
    Tag: NotRequired[PartOfSpeechTagTypeType],  # (1)
    Score: NotRequired[float],
  1. See PartOfSpeechTagTypeType

PiiOutputDataConfigTypeDef#

# PiiOutputDataConfigTypeDef definition

class PiiOutputDataConfigTypeDef(TypedDict):
    S3Uri: str,
    KmsKeyId: NotRequired[str],

RedactionConfigOutputTypeDef#

# RedactionConfigOutputTypeDef definition

class RedactionConfigOutputTypeDef(TypedDict):
    PiiEntityTypes: NotRequired[List[PiiEntityTypeType]],  # (1)
    MaskMode: NotRequired[PiiEntitiesDetectionMaskModeType],  # (2)
    MaskCharacter: NotRequired[str],
  1. See PiiEntityTypeType
  2. See PiiEntitiesDetectionMaskModeType

PutResourcePolicyRequestRequestTypeDef#

# PutResourcePolicyRequestRequestTypeDef definition

class PutResourcePolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    ResourcePolicy: str,
    PolicyRevisionId: NotRequired[str],

RedactionConfigTypeDef#

# RedactionConfigTypeDef definition

class RedactionConfigTypeDef(TypedDict):
    PiiEntityTypes: NotRequired[Sequence[PiiEntityTypeType]],  # (1)
    MaskMode: NotRequired[PiiEntitiesDetectionMaskModeType],  # (2)
    MaskCharacter: NotRequired[str],
  1. See PiiEntityTypeType
  2. See PiiEntitiesDetectionMaskModeType

StartFlywheelIterationRequestRequestTypeDef#

# StartFlywheelIterationRequestRequestTypeDef definition

class StartFlywheelIterationRequestRequestTypeDef(TypedDict):
    FlywheelArn: str,
    ClientRequestToken: NotRequired[str],

StopDominantLanguageDetectionJobRequestRequestTypeDef#

# StopDominantLanguageDetectionJobRequestRequestTypeDef definition

class StopDominantLanguageDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

StopEntitiesDetectionJobRequestRequestTypeDef#

# StopEntitiesDetectionJobRequestRequestTypeDef definition

class StopEntitiesDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

StopEventsDetectionJobRequestRequestTypeDef#

# StopEventsDetectionJobRequestRequestTypeDef definition

class StopEventsDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

StopKeyPhrasesDetectionJobRequestRequestTypeDef#

# StopKeyPhrasesDetectionJobRequestRequestTypeDef definition

class StopKeyPhrasesDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

StopPiiEntitiesDetectionJobRequestRequestTypeDef#

# StopPiiEntitiesDetectionJobRequestRequestTypeDef definition

class StopPiiEntitiesDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

StopSentimentDetectionJobRequestRequestTypeDef#

# StopSentimentDetectionJobRequestRequestTypeDef definition

class StopSentimentDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

StopTargetedSentimentDetectionJobRequestRequestTypeDef#

# StopTargetedSentimentDetectionJobRequestRequestTypeDef definition

class StopTargetedSentimentDetectionJobRequestRequestTypeDef(TypedDict):
    JobId: str,

StopTrainingDocumentClassifierRequestRequestTypeDef#

# StopTrainingDocumentClassifierRequestRequestTypeDef definition

class StopTrainingDocumentClassifierRequestRequestTypeDef(TypedDict):
    DocumentClassifierArn: str,

StopTrainingEntityRecognizerRequestRequestTypeDef#

# StopTrainingEntityRecognizerRequestRequestTypeDef definition

class StopTrainingEntityRecognizerRequestRequestTypeDef(TypedDict):
    EntityRecognizerArn: str,

ToxicContentTypeDef#

# ToxicContentTypeDef definition

class ToxicContentTypeDef(TypedDict):
    Name: NotRequired[ToxicContentTypeType],  # (1)
    Score: NotRequired[float],
  1. See ToxicContentTypeType

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

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

UpdateEndpointRequestRequestTypeDef#

# UpdateEndpointRequestRequestTypeDef definition

class UpdateEndpointRequestRequestTypeDef(TypedDict):
    EndpointArn: str,
    DesiredModelArn: NotRequired[str],
    DesiredInferenceUnits: NotRequired[int],
    DesiredDataAccessRoleArn: NotRequired[str],
    FlywheelArn: NotRequired[str],

BatchDetectDominantLanguageItemResultTypeDef#

# BatchDetectDominantLanguageItemResultTypeDef definition

class BatchDetectDominantLanguageItemResultTypeDef(TypedDict):
    Index: NotRequired[int],
    Languages: NotRequired[List[DominantLanguageTypeDef]],  # (1)
  1. See DominantLanguageTypeDef

CreateDatasetResponseTypeDef#

# CreateDatasetResponseTypeDef definition

class CreateDatasetResponseTypeDef(TypedDict):
    DatasetArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDocumentClassifierResponseTypeDef#

# CreateDocumentClassifierResponseTypeDef definition

class CreateDocumentClassifierResponseTypeDef(TypedDict):
    DocumentClassifierArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateEndpointResponseTypeDef#

# CreateEndpointResponseTypeDef definition

class CreateEndpointResponseTypeDef(TypedDict):
    EndpointArn: str,
    ModelArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateEntityRecognizerResponseTypeDef#

# CreateEntityRecognizerResponseTypeDef definition

class CreateEntityRecognizerResponseTypeDef(TypedDict):
    EntityRecognizerArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateFlywheelResponseTypeDef#

# CreateFlywheelResponseTypeDef definition

class CreateFlywheelResponseTypeDef(TypedDict):
    FlywheelArn: str,
    ActiveModelArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeResourcePolicyResponseTypeDef#

# DescribeResourcePolicyResponseTypeDef definition

class DescribeResourcePolicyResponseTypeDef(TypedDict):
    ResourcePolicy: str,
    CreationTime: datetime,
    LastModifiedTime: datetime,
    PolicyRevisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DetectDominantLanguageResponseTypeDef#

# DetectDominantLanguageResponseTypeDef definition

class DetectDominantLanguageResponseTypeDef(TypedDict):
    Languages: List[DominantLanguageTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DominantLanguageTypeDef
  2. See ResponseMetadataTypeDef

ImportModelResponseTypeDef#

# ImportModelResponseTypeDef definition

class ImportModelResponseTypeDef(TypedDict):
    ModelArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutResourcePolicyResponseTypeDef#

# PutResourcePolicyResponseTypeDef definition

class PutResourcePolicyResponseTypeDef(TypedDict):
    PolicyRevisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartDocumentClassificationJobResponseTypeDef#

# StartDocumentClassificationJobResponseTypeDef definition

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

StartDominantLanguageDetectionJobResponseTypeDef#

# StartDominantLanguageDetectionJobResponseTypeDef definition

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

StartEntitiesDetectionJobResponseTypeDef#

# StartEntitiesDetectionJobResponseTypeDef definition

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

StartEventsDetectionJobResponseTypeDef#

# StartEventsDetectionJobResponseTypeDef definition

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

StartFlywheelIterationResponseTypeDef#

# StartFlywheelIterationResponseTypeDef definition

class StartFlywheelIterationResponseTypeDef(TypedDict):
    FlywheelArn: str,
    FlywheelIterationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartKeyPhrasesDetectionJobResponseTypeDef#

# StartKeyPhrasesDetectionJobResponseTypeDef definition

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

StartPiiEntitiesDetectionJobResponseTypeDef#

# StartPiiEntitiesDetectionJobResponseTypeDef definition

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

StartSentimentDetectionJobResponseTypeDef#

# StartSentimentDetectionJobResponseTypeDef definition

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

StartTargetedSentimentDetectionJobResponseTypeDef#

# StartTargetedSentimentDetectionJobResponseTypeDef definition

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

StartTopicsDetectionJobResponseTypeDef#

# StartTopicsDetectionJobResponseTypeDef definition

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

StopDominantLanguageDetectionJobResponseTypeDef#

# StopDominantLanguageDetectionJobResponseTypeDef definition

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

StopEntitiesDetectionJobResponseTypeDef#

# StopEntitiesDetectionJobResponseTypeDef definition

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

StopEventsDetectionJobResponseTypeDef#

# StopEventsDetectionJobResponseTypeDef definition

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

StopKeyPhrasesDetectionJobResponseTypeDef#

# StopKeyPhrasesDetectionJobResponseTypeDef definition

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

StopPiiEntitiesDetectionJobResponseTypeDef#

# StopPiiEntitiesDetectionJobResponseTypeDef definition

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

StopSentimentDetectionJobResponseTypeDef#

# StopSentimentDetectionJobResponseTypeDef definition

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

StopTargetedSentimentDetectionJobResponseTypeDef#

# StopTargetedSentimentDetectionJobResponseTypeDef definition

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

UpdateEndpointResponseTypeDef#

# UpdateEndpointResponseTypeDef definition

class UpdateEndpointResponseTypeDef(TypedDict):
    DesiredModelArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

BatchDetectKeyPhrasesItemResultTypeDef#

# BatchDetectKeyPhrasesItemResultTypeDef definition

class BatchDetectKeyPhrasesItemResultTypeDef(TypedDict):
    Index: NotRequired[int],
    KeyPhrases: NotRequired[List[KeyPhraseTypeDef]],  # (1)
  1. See KeyPhraseTypeDef

DetectKeyPhrasesResponseTypeDef#

# DetectKeyPhrasesResponseTypeDef definition

class DetectKeyPhrasesResponseTypeDef(TypedDict):
    KeyPhrases: List[KeyPhraseTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See KeyPhraseTypeDef
  2. See ResponseMetadataTypeDef

BatchDetectSentimentItemResultTypeDef#

# BatchDetectSentimentItemResultTypeDef definition

class BatchDetectSentimentItemResultTypeDef(TypedDict):
    Index: NotRequired[int],
    Sentiment: NotRequired[SentimentTypeType],  # (1)
    SentimentScore: NotRequired[SentimentScoreTypeDef],  # (2)
  1. See SentimentTypeType
  2. See SentimentScoreTypeDef

DetectSentimentResponseTypeDef#

# DetectSentimentResponseTypeDef definition

class DetectSentimentResponseTypeDef(TypedDict):
    Sentiment: SentimentTypeType,  # (1)
    SentimentScore: SentimentScoreTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SentimentTypeType
  2. See SentimentScoreTypeDef
  3. See ResponseMetadataTypeDef

MentionSentimentTypeDef#

# MentionSentimentTypeDef definition

class MentionSentimentTypeDef(TypedDict):
    Sentiment: NotRequired[SentimentTypeType],  # (1)
    SentimentScore: NotRequired[SentimentScoreTypeDef],  # (2)
  1. See SentimentTypeType
  2. See SentimentScoreTypeDef

BlockReferenceTypeDef#

# BlockReferenceTypeDef definition

class BlockReferenceTypeDef(TypedDict):
    BlockId: NotRequired[str],
    BeginOffset: NotRequired[int],
    EndOffset: NotRequired[int],
    ChildBlocks: NotRequired[List[ChildBlockTypeDef]],  # (1)
  1. See ChildBlockTypeDef

ClassifierMetadataTypeDef#

# ClassifierMetadataTypeDef definition

class ClassifierMetadataTypeDef(TypedDict):
    NumberOfLabels: NotRequired[int],
    NumberOfTrainedDocuments: NotRequired[int],
    NumberOfTestDocuments: NotRequired[int],
    EvaluationMetrics: NotRequired[ClassifierEvaluationMetricsTypeDef],  # (1)
  1. See ClassifierEvaluationMetricsTypeDef

ClassifyDocumentRequestRequestTypeDef#

# ClassifyDocumentRequestRequestTypeDef definition

class ClassifyDocumentRequestRequestTypeDef(TypedDict):
    EndpointArn: str,
    Text: NotRequired[str],
    Bytes: NotRequired[BlobTypeDef],
    DocumentReaderConfig: NotRequired[DocumentReaderConfigTypeDef],  # (1)
  1. See DocumentReaderConfigTypeDef

DetectEntitiesRequestRequestTypeDef#

# DetectEntitiesRequestRequestTypeDef definition

class DetectEntitiesRequestRequestTypeDef(TypedDict):
    Text: NotRequired[str],
    LanguageCode: NotRequired[LanguageCodeType],  # (1)
    EndpointArn: NotRequired[str],
    Bytes: NotRequired[BlobTypeDef],
    DocumentReaderConfig: NotRequired[DocumentReaderConfigTypeDef],  # (2)
  1. See LanguageCodeType
  2. See DocumentReaderConfigTypeDef

ContainsPiiEntitiesResponseTypeDef#

# ContainsPiiEntitiesResponseTypeDef definition

class ContainsPiiEntitiesResponseTypeDef(TypedDict):
    Labels: List[EntityLabelTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EntityLabelTypeDef
  2. See ResponseMetadataTypeDef

CreateEndpointRequestRequestTypeDef#

# CreateEndpointRequestRequestTypeDef definition

class CreateEndpointRequestRequestTypeDef(TypedDict):
    EndpointName: str,
    DesiredInferenceUnits: int,
    ModelArn: NotRequired[str],
    ClientRequestToken: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    DataAccessRoleArn: NotRequired[str],
    FlywheelArn: NotRequired[str],
  1. See TagTypeDef

ImportModelRequestRequestTypeDef#

# ImportModelRequestRequestTypeDef definition

class ImportModelRequestRequestTypeDef(TypedDict):
    SourceModelArn: str,
    ModelName: NotRequired[str],
    VersionName: NotRequired[str],
    ModelKmsKeyId: NotRequired[str],
    DataAccessRoleArn: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

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

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

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

DataSecurityConfigOutputTypeDef#

# DataSecurityConfigOutputTypeDef definition

class DataSecurityConfigOutputTypeDef(TypedDict):
    ModelKmsKeyId: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    DataLakeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigOutputTypeDef],  # (1)
  1. See VpcConfigOutputTypeDef

DatasetEntityRecognizerInputDataConfigTypeDef#

# DatasetEntityRecognizerInputDataConfigTypeDef definition

class DatasetEntityRecognizerInputDataConfigTypeDef(TypedDict):
    Documents: DatasetEntityRecognizerDocumentsTypeDef,  # (2)
    Annotations: NotRequired[DatasetEntityRecognizerAnnotationsTypeDef],  # (1)
    EntityList: NotRequired[DatasetEntityRecognizerEntityListTypeDef],  # (3)
  1. See DatasetEntityRecognizerAnnotationsTypeDef
  2. See DatasetEntityRecognizerDocumentsTypeDef
  3. See DatasetEntityRecognizerEntityListTypeDef

DatasetFilterTypeDef#

# DatasetFilterTypeDef definition

class DatasetFilterTypeDef(TypedDict):
    Status: NotRequired[DatasetStatusType],  # (1)
    DatasetType: NotRequired[DatasetTypeType],  # (2)
    CreationTimeAfter: NotRequired[TimestampTypeDef],
    CreationTimeBefore: NotRequired[TimestampTypeDef],
  1. See DatasetStatusType
  2. See DatasetTypeType

DocumentClassificationJobFilterTypeDef#

# DocumentClassificationJobFilterTypeDef definition

class DocumentClassificationJobFilterTypeDef(TypedDict):
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    SubmitTimeBefore: NotRequired[TimestampTypeDef],
    SubmitTimeAfter: NotRequired[TimestampTypeDef],
  1. See JobStatusType

DocumentClassifierFilterTypeDef#

# DocumentClassifierFilterTypeDef definition

class DocumentClassifierFilterTypeDef(TypedDict):
    Status: NotRequired[ModelStatusType],  # (1)
    DocumentClassifierName: NotRequired[str],
    SubmitTimeBefore: NotRequired[TimestampTypeDef],
    SubmitTimeAfter: NotRequired[TimestampTypeDef],
  1. See ModelStatusType

DominantLanguageDetectionJobFilterTypeDef#

# DominantLanguageDetectionJobFilterTypeDef definition

class DominantLanguageDetectionJobFilterTypeDef(TypedDict):
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    SubmitTimeBefore: NotRequired[TimestampTypeDef],
    SubmitTimeAfter: NotRequired[TimestampTypeDef],
  1. See JobStatusType

EndpointFilterTypeDef#

# EndpointFilterTypeDef definition

class EndpointFilterTypeDef(TypedDict):
    ModelArn: NotRequired[str],
    Status: NotRequired[EndpointStatusType],  # (1)
    CreationTimeBefore: NotRequired[TimestampTypeDef],
    CreationTimeAfter: NotRequired[TimestampTypeDef],
  1. See EndpointStatusType

EntitiesDetectionJobFilterTypeDef#

# EntitiesDetectionJobFilterTypeDef definition

class EntitiesDetectionJobFilterTypeDef(TypedDict):
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    SubmitTimeBefore: NotRequired[TimestampTypeDef],
    SubmitTimeAfter: NotRequired[TimestampTypeDef],
  1. See JobStatusType

EntityRecognizerFilterTypeDef#

# EntityRecognizerFilterTypeDef definition

class EntityRecognizerFilterTypeDef(TypedDict):
    Status: NotRequired[ModelStatusType],  # (1)
    RecognizerName: NotRequired[str],
    SubmitTimeBefore: NotRequired[TimestampTypeDef],
    SubmitTimeAfter: NotRequired[TimestampTypeDef],
  1. See ModelStatusType

EventsDetectionJobFilterTypeDef#

# EventsDetectionJobFilterTypeDef definition

class EventsDetectionJobFilterTypeDef(TypedDict):
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    SubmitTimeBefore: NotRequired[TimestampTypeDef],
    SubmitTimeAfter: NotRequired[TimestampTypeDef],
  1. See JobStatusType

FlywheelFilterTypeDef#

# FlywheelFilterTypeDef definition

class FlywheelFilterTypeDef(TypedDict):
    Status: NotRequired[FlywheelStatusType],  # (1)
    CreationTimeAfter: NotRequired[TimestampTypeDef],
    CreationTimeBefore: NotRequired[TimestampTypeDef],
  1. See FlywheelStatusType

FlywheelIterationFilterTypeDef#

# FlywheelIterationFilterTypeDef definition

class FlywheelIterationFilterTypeDef(TypedDict):
    CreationTimeAfter: NotRequired[TimestampTypeDef],
    CreationTimeBefore: NotRequired[TimestampTypeDef],

KeyPhrasesDetectionJobFilterTypeDef#

# KeyPhrasesDetectionJobFilterTypeDef definition

class KeyPhrasesDetectionJobFilterTypeDef(TypedDict):
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    SubmitTimeBefore: NotRequired[TimestampTypeDef],
    SubmitTimeAfter: NotRequired[TimestampTypeDef],
  1. See JobStatusType

PiiEntitiesDetectionJobFilterTypeDef#

# PiiEntitiesDetectionJobFilterTypeDef definition

class PiiEntitiesDetectionJobFilterTypeDef(TypedDict):
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    SubmitTimeBefore: NotRequired[TimestampTypeDef],
    SubmitTimeAfter: NotRequired[TimestampTypeDef],
  1. See JobStatusType

SentimentDetectionJobFilterTypeDef#

# SentimentDetectionJobFilterTypeDef definition

class SentimentDetectionJobFilterTypeDef(TypedDict):
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    SubmitTimeBefore: NotRequired[TimestampTypeDef],
    SubmitTimeAfter: NotRequired[TimestampTypeDef],
  1. See JobStatusType

TargetedSentimentDetectionJobFilterTypeDef#

# TargetedSentimentDetectionJobFilterTypeDef definition

class TargetedSentimentDetectionJobFilterTypeDef(TypedDict):
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    SubmitTimeBefore: NotRequired[TimestampTypeDef],
    SubmitTimeAfter: NotRequired[TimestampTypeDef],
  1. See JobStatusType

TopicsDetectionJobFilterTypeDef#

# TopicsDetectionJobFilterTypeDef definition

class TopicsDetectionJobFilterTypeDef(TypedDict):
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    SubmitTimeBefore: NotRequired[TimestampTypeDef],
    SubmitTimeAfter: NotRequired[TimestampTypeDef],
  1. See JobStatusType

DescribeDatasetResponseTypeDef#

# DescribeDatasetResponseTypeDef definition

class DescribeDatasetResponseTypeDef(TypedDict):
    DatasetProperties: DatasetPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DatasetPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListDatasetsResponseTypeDef#

# ListDatasetsResponseTypeDef definition

class ListDatasetsResponseTypeDef(TypedDict):
    DatasetPropertiesList: List[DatasetPropertiesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See DatasetPropertiesTypeDef
  2. See ResponseMetadataTypeDef

DescribeEndpointResponseTypeDef#

# DescribeEndpointResponseTypeDef definition

class DescribeEndpointResponseTypeDef(TypedDict):
    EndpointProperties: EndpointPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EndpointPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListEndpointsResponseTypeDef#

# ListEndpointsResponseTypeDef definition

class ListEndpointsResponseTypeDef(TypedDict):
    EndpointPropertiesList: List[EndpointPropertiesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See EndpointPropertiesTypeDef
  2. See ResponseMetadataTypeDef

DetectPiiEntitiesResponseTypeDef#

# DetectPiiEntitiesResponseTypeDef definition

class DetectPiiEntitiesResponseTypeDef(TypedDict):
    Entities: List[PiiEntityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PiiEntityTypeDef
  2. See ResponseMetadataTypeDef

DetectToxicContentRequestRequestTypeDef#

# DetectToxicContentRequestRequestTypeDef definition

class DetectToxicContentRequestRequestTypeDef(TypedDict):
    TextSegments: Sequence[TextSegmentTypeDef],  # (1)
    LanguageCode: LanguageCodeType,  # (2)
  1. See TextSegmentTypeDef
  2. See LanguageCodeType

DocumentClassifierInputDataConfigOutputTypeDef#

# DocumentClassifierInputDataConfigOutputTypeDef definition

class DocumentClassifierInputDataConfigOutputTypeDef(TypedDict):
    DataFormat: NotRequired[DocumentClassifierDataFormatType],  # (1)
    S3Uri: NotRequired[str],
    TestS3Uri: NotRequired[str],
    LabelDelimiter: NotRequired[str],
    AugmentedManifests: NotRequired[List[AugmentedManifestsListItemOutputTypeDef]],  # (2)
    DocumentType: NotRequired[DocumentClassifierDocumentTypeFormatType],  # (3)
    Documents: NotRequired[DocumentClassifierDocumentsTypeDef],  # (4)
    DocumentReaderConfig: NotRequired[DocumentReaderConfigOutputTypeDef],  # (5)
  1. See DocumentClassifierDataFormatType
  2. See AugmentedManifestsListItemOutputTypeDef
  3. See DocumentClassifierDocumentTypeFormatType
  4. See DocumentClassifierDocumentsTypeDef
  5. See DocumentReaderConfigOutputTypeDef

InputDataConfigOutputTypeDef#

# InputDataConfigOutputTypeDef definition

class InputDataConfigOutputTypeDef(TypedDict):
    S3Uri: str,
    InputFormat: NotRequired[InputFormatType],  # (1)
    DocumentReaderConfig: NotRequired[DocumentReaderConfigOutputTypeDef],  # (2)
  1. See InputFormatType
  2. See DocumentReaderConfigOutputTypeDef

ListDocumentClassifierSummariesResponseTypeDef#

# ListDocumentClassifierSummariesResponseTypeDef definition

class ListDocumentClassifierSummariesResponseTypeDef(TypedDict):
    DocumentClassifierSummariesList: List[DocumentClassifierSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See DocumentClassifierSummaryTypeDef
  2. See ResponseMetadataTypeDef

DocumentMetadataTypeDef#

# DocumentMetadataTypeDef definition

class DocumentMetadataTypeDef(TypedDict):
    Pages: NotRequired[int],
    ExtractedCharacters: NotRequired[List[ExtractedCharactersListItemTypeDef]],  # (1)
  1. See ExtractedCharactersListItemTypeDef

EntityRecognitionConfigOutputTypeDef#

# EntityRecognitionConfigOutputTypeDef definition

class EntityRecognitionConfigOutputTypeDef(TypedDict):
    EntityTypes: List[EntityTypesListItemTypeDef],  # (1)
  1. See EntityTypesListItemTypeDef

EntityRecognitionConfigTypeDef#

# EntityRecognitionConfigTypeDef definition

class EntityRecognitionConfigTypeDef(TypedDict):
    EntityTypes: Sequence[EntityTypesListItemTypeDef],  # (1)
  1. See EntityTypesListItemTypeDef

EntityRecognizerInputDataConfigOutputTypeDef#

# EntityRecognizerInputDataConfigOutputTypeDef definition

class EntityRecognizerInputDataConfigOutputTypeDef(TypedDict):
    EntityTypes: List[EntityTypesListItemTypeDef],  # (2)
    DataFormat: NotRequired[EntityRecognizerDataFormatType],  # (1)
    Documents: NotRequired[EntityRecognizerDocumentsTypeDef],  # (3)
    Annotations: NotRequired[EntityRecognizerAnnotationsTypeDef],  # (4)
    EntityList: NotRequired[EntityRecognizerEntityListTypeDef],  # (5)
    AugmentedManifests: NotRequired[List[AugmentedManifestsListItemOutputTypeDef]],  # (6)
  1. See EntityRecognizerDataFormatType
  2. See EntityTypesListItemTypeDef
  3. See EntityRecognizerDocumentsTypeDef
  4. See EntityRecognizerAnnotationsTypeDef
  5. See EntityRecognizerEntityListTypeDef
  6. See AugmentedManifestsListItemOutputTypeDef

EntityRecognizerMetadataEntityTypesListItemTypeDef#

# EntityRecognizerMetadataEntityTypesListItemTypeDef definition

class EntityRecognizerMetadataEntityTypesListItemTypeDef(TypedDict):
    Type: NotRequired[str],
    EvaluationMetrics: NotRequired[EntityTypesEvaluationMetricsTypeDef],  # (1)
    NumberOfTrainMentions: NotRequired[int],
  1. See EntityTypesEvaluationMetricsTypeDef

ListEntityRecognizerSummariesResponseTypeDef#

# ListEntityRecognizerSummariesResponseTypeDef definition

class ListEntityRecognizerSummariesResponseTypeDef(TypedDict):
    EntityRecognizerSummariesList: List[EntityRecognizerSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See EntityRecognizerSummaryTypeDef
  2. See ResponseMetadataTypeDef

FlywheelIterationPropertiesTypeDef#

# FlywheelIterationPropertiesTypeDef definition

class FlywheelIterationPropertiesTypeDef(TypedDict):
    FlywheelArn: NotRequired[str],
    FlywheelIterationId: NotRequired[str],
    CreationTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    Status: NotRequired[FlywheelIterationStatusType],  # (1)
    Message: NotRequired[str],
    EvaluatedModelArn: NotRequired[str],
    EvaluatedModelMetrics: NotRequired[FlywheelModelEvaluationMetricsTypeDef],  # (2)
    TrainedModelArn: NotRequired[str],
    TrainedModelMetrics: NotRequired[FlywheelModelEvaluationMetricsTypeDef],  # (2)
    EvaluationManifestS3Prefix: NotRequired[str],
  1. See FlywheelIterationStatusType
  2. See FlywheelModelEvaluationMetricsTypeDef
  3. See FlywheelModelEvaluationMetricsTypeDef

ListFlywheelsResponseTypeDef#

# ListFlywheelsResponseTypeDef definition

class ListFlywheelsResponseTypeDef(TypedDict):
    FlywheelSummaryList: List[FlywheelSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See FlywheelSummaryTypeDef
  2. See ResponseMetadataTypeDef

GeometryTypeDef#

# GeometryTypeDef definition

class GeometryTypeDef(TypedDict):
    BoundingBox: NotRequired[BoundingBoxTypeDef],  # (1)
    Polygon: NotRequired[List[PointTypeDef]],  # (2)
  1. See BoundingBoxTypeDef
  2. See PointTypeDef

SyntaxTokenTypeDef#

# SyntaxTokenTypeDef definition

class SyntaxTokenTypeDef(TypedDict):
    TokenId: NotRequired[int],
    Text: NotRequired[str],
    BeginOffset: NotRequired[int],
    EndOffset: NotRequired[int],
    PartOfSpeech: NotRequired[PartOfSpeechTagTypeDef],  # (1)
  1. See PartOfSpeechTagTypeDef

ToxicLabelsTypeDef#

# ToxicLabelsTypeDef definition

class ToxicLabelsTypeDef(TypedDict):
    Labels: NotRequired[List[ToxicContentTypeDef]],  # (1)
    Toxicity: NotRequired[float],
  1. See ToxicContentTypeDef

EntityRecognizerInputDataConfigTypeDef#

# EntityRecognizerInputDataConfigTypeDef definition

class EntityRecognizerInputDataConfigTypeDef(TypedDict):
    EntityTypes: Sequence[EntityTypesListItemTypeDef],  # (2)
    DataFormat: NotRequired[EntityRecognizerDataFormatType],  # (1)
    Documents: NotRequired[EntityRecognizerDocumentsTypeDef],  # (3)
    Annotations: NotRequired[EntityRecognizerAnnotationsTypeDef],  # (4)
    EntityList: NotRequired[EntityRecognizerEntityListTypeDef],  # (5)
    AugmentedManifests: NotRequired[Sequence[AugmentedManifestsListItemUnionTypeDef]],  # (6)
  1. See EntityRecognizerDataFormatType
  2. See EntityTypesListItemTypeDef
  3. See EntityRecognizerDocumentsTypeDef
  4. See EntityRecognizerAnnotationsTypeDef
  5. See EntityRecognizerEntityListTypeDef
  6. See AugmentedManifestsListItemTypeDef AugmentedManifestsListItemOutputTypeDef

BatchDetectDominantLanguageResponseTypeDef#

# BatchDetectDominantLanguageResponseTypeDef definition

class BatchDetectDominantLanguageResponseTypeDef(TypedDict):
    ResultList: List[BatchDetectDominantLanguageItemResultTypeDef],  # (1)
    ErrorList: List[BatchItemErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See BatchDetectDominantLanguageItemResultTypeDef
  2. See BatchItemErrorTypeDef
  3. See ResponseMetadataTypeDef

BatchDetectKeyPhrasesResponseTypeDef#

# BatchDetectKeyPhrasesResponseTypeDef definition

class BatchDetectKeyPhrasesResponseTypeDef(TypedDict):
    ResultList: List[BatchDetectKeyPhrasesItemResultTypeDef],  # (1)
    ErrorList: List[BatchItemErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See BatchDetectKeyPhrasesItemResultTypeDef
  2. See BatchItemErrorTypeDef
  3. See ResponseMetadataTypeDef

BatchDetectSentimentResponseTypeDef#

# BatchDetectSentimentResponseTypeDef definition

class BatchDetectSentimentResponseTypeDef(TypedDict):
    ResultList: List[BatchDetectSentimentItemResultTypeDef],  # (1)
    ErrorList: List[BatchItemErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See BatchDetectSentimentItemResultTypeDef
  2. See BatchItemErrorTypeDef
  3. See ResponseMetadataTypeDef

TargetedSentimentMentionTypeDef#

# TargetedSentimentMentionTypeDef definition

class TargetedSentimentMentionTypeDef(TypedDict):
    Score: NotRequired[float],
    GroupScore: NotRequired[float],
    Text: NotRequired[str],
    Type: NotRequired[TargetedSentimentEntityTypeType],  # (1)
    MentionSentiment: NotRequired[MentionSentimentTypeDef],  # (2)
    BeginOffset: NotRequired[int],
    EndOffset: NotRequired[int],
  1. See TargetedSentimentEntityTypeType
  2. See MentionSentimentTypeDef

EntityTypeDef#

# EntityTypeDef definition

class EntityTypeDef(TypedDict):
    Score: NotRequired[float],
    Type: NotRequired[EntityTypeType],  # (1)
    Text: NotRequired[str],
    BeginOffset: NotRequired[int],
    EndOffset: NotRequired[int],
    BlockReferences: NotRequired[List[BlockReferenceTypeDef]],  # (2)
  1. See EntityTypeType
  2. See BlockReferenceTypeDef

DataSecurityConfigTypeDef#

# DataSecurityConfigTypeDef definition

class DataSecurityConfigTypeDef(TypedDict):
    ModelKmsKeyId: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    DataLakeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigUnionTypeDef],  # (1)
  1. See VpcConfigTypeDef VpcConfigOutputTypeDef

UpdateDataSecurityConfigTypeDef#

# UpdateDataSecurityConfigTypeDef definition

class UpdateDataSecurityConfigTypeDef(TypedDict):
    ModelKmsKeyId: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigUnionTypeDef],  # (1)
  1. See VpcConfigTypeDef VpcConfigOutputTypeDef

DatasetInputDataConfigTypeDef#

# DatasetInputDataConfigTypeDef definition

class DatasetInputDataConfigTypeDef(TypedDict):
    AugmentedManifests: NotRequired[Sequence[DatasetAugmentedManifestsListItemTypeDef]],  # (1)
    DataFormat: NotRequired[DatasetDataFormatType],  # (2)
    DocumentClassifierInputDataConfig: NotRequired[DatasetDocumentClassifierInputDataConfigTypeDef],  # (3)
    EntityRecognizerInputDataConfig: NotRequired[DatasetEntityRecognizerInputDataConfigTypeDef],  # (4)
  1. See DatasetAugmentedManifestsListItemTypeDef
  2. See DatasetDataFormatType
  3. See DatasetDocumentClassifierInputDataConfigTypeDef
  4. See DatasetEntityRecognizerInputDataConfigTypeDef

ListDatasetsRequestRequestTypeDef#

# ListDatasetsRequestRequestTypeDef definition

class ListDatasetsRequestRequestTypeDef(TypedDict):
    FlywheelArn: NotRequired[str],
    Filter: NotRequired[DatasetFilterTypeDef],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See DatasetFilterTypeDef

ListDocumentClassificationJobsRequestListDocumentClassificationJobsPaginateTypeDef#

# ListDocumentClassificationJobsRequestListDocumentClassificationJobsPaginateTypeDef definition

class ListDocumentClassificationJobsRequestListDocumentClassificationJobsPaginateTypeDef(TypedDict):
    Filter: NotRequired[DocumentClassificationJobFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See DocumentClassificationJobFilterTypeDef
  2. See PaginatorConfigTypeDef

ListDocumentClassificationJobsRequestRequestTypeDef#

# ListDocumentClassificationJobsRequestRequestTypeDef definition

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

ListDocumentClassifiersRequestListDocumentClassifiersPaginateTypeDef#

# ListDocumentClassifiersRequestListDocumentClassifiersPaginateTypeDef definition

class ListDocumentClassifiersRequestListDocumentClassifiersPaginateTypeDef(TypedDict):
    Filter: NotRequired[DocumentClassifierFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See DocumentClassifierFilterTypeDef
  2. See PaginatorConfigTypeDef

ListDocumentClassifiersRequestRequestTypeDef#

# ListDocumentClassifiersRequestRequestTypeDef definition

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

ListDominantLanguageDetectionJobsRequestListDominantLanguageDetectionJobsPaginateTypeDef#

# ListDominantLanguageDetectionJobsRequestListDominantLanguageDetectionJobsPaginateTypeDef definition

class ListDominantLanguageDetectionJobsRequestListDominantLanguageDetectionJobsPaginateTypeDef(TypedDict):
    Filter: NotRequired[DominantLanguageDetectionJobFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See DominantLanguageDetectionJobFilterTypeDef
  2. See PaginatorConfigTypeDef

ListDominantLanguageDetectionJobsRequestRequestTypeDef#

# ListDominantLanguageDetectionJobsRequestRequestTypeDef definition

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

ListEndpointsRequestListEndpointsPaginateTypeDef#

# ListEndpointsRequestListEndpointsPaginateTypeDef definition

class ListEndpointsRequestListEndpointsPaginateTypeDef(TypedDict):
    Filter: NotRequired[EndpointFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See EndpointFilterTypeDef
  2. See PaginatorConfigTypeDef

ListEndpointsRequestRequestTypeDef#

# ListEndpointsRequestRequestTypeDef definition

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

ListEntitiesDetectionJobsRequestListEntitiesDetectionJobsPaginateTypeDef#

# ListEntitiesDetectionJobsRequestListEntitiesDetectionJobsPaginateTypeDef definition

class ListEntitiesDetectionJobsRequestListEntitiesDetectionJobsPaginateTypeDef(TypedDict):
    Filter: NotRequired[EntitiesDetectionJobFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See EntitiesDetectionJobFilterTypeDef
  2. See PaginatorConfigTypeDef

ListEntitiesDetectionJobsRequestRequestTypeDef#

# ListEntitiesDetectionJobsRequestRequestTypeDef definition

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

ListEntityRecognizersRequestListEntityRecognizersPaginateTypeDef#

# ListEntityRecognizersRequestListEntityRecognizersPaginateTypeDef definition

class ListEntityRecognizersRequestListEntityRecognizersPaginateTypeDef(TypedDict):
    Filter: NotRequired[EntityRecognizerFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See EntityRecognizerFilterTypeDef
  2. See PaginatorConfigTypeDef

ListEntityRecognizersRequestRequestTypeDef#

# ListEntityRecognizersRequestRequestTypeDef definition

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

ListEventsDetectionJobsRequestRequestTypeDef#

# ListEventsDetectionJobsRequestRequestTypeDef definition

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

ListFlywheelsRequestRequestTypeDef#

# ListFlywheelsRequestRequestTypeDef definition

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

ListFlywheelIterationHistoryRequestRequestTypeDef#

# ListFlywheelIterationHistoryRequestRequestTypeDef definition

class ListFlywheelIterationHistoryRequestRequestTypeDef(TypedDict):
    FlywheelArn: str,
    Filter: NotRequired[FlywheelIterationFilterTypeDef],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FlywheelIterationFilterTypeDef

ListKeyPhrasesDetectionJobsRequestListKeyPhrasesDetectionJobsPaginateTypeDef#

# ListKeyPhrasesDetectionJobsRequestListKeyPhrasesDetectionJobsPaginateTypeDef definition

class ListKeyPhrasesDetectionJobsRequestListKeyPhrasesDetectionJobsPaginateTypeDef(TypedDict):
    Filter: NotRequired[KeyPhrasesDetectionJobFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See KeyPhrasesDetectionJobFilterTypeDef
  2. See PaginatorConfigTypeDef

ListKeyPhrasesDetectionJobsRequestRequestTypeDef#

# ListKeyPhrasesDetectionJobsRequestRequestTypeDef definition

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

ListPiiEntitiesDetectionJobsRequestListPiiEntitiesDetectionJobsPaginateTypeDef#

# ListPiiEntitiesDetectionJobsRequestListPiiEntitiesDetectionJobsPaginateTypeDef definition

class ListPiiEntitiesDetectionJobsRequestListPiiEntitiesDetectionJobsPaginateTypeDef(TypedDict):
    Filter: NotRequired[PiiEntitiesDetectionJobFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See PiiEntitiesDetectionJobFilterTypeDef
  2. See PaginatorConfigTypeDef

ListPiiEntitiesDetectionJobsRequestRequestTypeDef#

# ListPiiEntitiesDetectionJobsRequestRequestTypeDef definition

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

ListSentimentDetectionJobsRequestListSentimentDetectionJobsPaginateTypeDef#

# ListSentimentDetectionJobsRequestListSentimentDetectionJobsPaginateTypeDef definition

class ListSentimentDetectionJobsRequestListSentimentDetectionJobsPaginateTypeDef(TypedDict):
    Filter: NotRequired[SentimentDetectionJobFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See SentimentDetectionJobFilterTypeDef
  2. See PaginatorConfigTypeDef

ListSentimentDetectionJobsRequestRequestTypeDef#

# ListSentimentDetectionJobsRequestRequestTypeDef definition

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

ListTargetedSentimentDetectionJobsRequestRequestTypeDef#

# ListTargetedSentimentDetectionJobsRequestRequestTypeDef definition

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

ListTopicsDetectionJobsRequestListTopicsDetectionJobsPaginateTypeDef#

# ListTopicsDetectionJobsRequestListTopicsDetectionJobsPaginateTypeDef definition

class ListTopicsDetectionJobsRequestListTopicsDetectionJobsPaginateTypeDef(TypedDict):
    Filter: NotRequired[TopicsDetectionJobFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TopicsDetectionJobFilterTypeDef
  2. See PaginatorConfigTypeDef

ListTopicsDetectionJobsRequestRequestTypeDef#

# ListTopicsDetectionJobsRequestRequestTypeDef definition

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

DocumentClassifierPropertiesTypeDef#

# DocumentClassifierPropertiesTypeDef definition

class DocumentClassifierPropertiesTypeDef(TypedDict):
    DocumentClassifierArn: NotRequired[str],
    LanguageCode: NotRequired[LanguageCodeType],  # (1)
    Status: NotRequired[ModelStatusType],  # (2)
    Message: NotRequired[str],
    SubmitTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    TrainingStartTime: NotRequired[datetime],
    TrainingEndTime: NotRequired[datetime],
    InputDataConfig: NotRequired[DocumentClassifierInputDataConfigOutputTypeDef],  # (3)
    OutputDataConfig: NotRequired[DocumentClassifierOutputDataConfigTypeDef],  # (4)
    ClassifierMetadata: NotRequired[ClassifierMetadataTypeDef],  # (5)
    DataAccessRoleArn: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigOutputTypeDef],  # (6)
    Mode: NotRequired[DocumentClassifierModeType],  # (7)
    ModelKmsKeyId: NotRequired[str],
    VersionName: NotRequired[str],
    SourceModelArn: NotRequired[str],
    FlywheelArn: NotRequired[str],
  1. See LanguageCodeType
  2. See ModelStatusType
  3. See DocumentClassifierInputDataConfigOutputTypeDef
  4. See DocumentClassifierOutputDataConfigTypeDef
  5. See ClassifierMetadataTypeDef
  6. See VpcConfigOutputTypeDef
  7. See DocumentClassifierModeType

DocumentClassifierInputDataConfigTypeDef#

# DocumentClassifierInputDataConfigTypeDef definition

class DocumentClassifierInputDataConfigTypeDef(TypedDict):
    DataFormat: NotRequired[DocumentClassifierDataFormatType],  # (1)
    S3Uri: NotRequired[str],
    TestS3Uri: NotRequired[str],
    LabelDelimiter: NotRequired[str],
    AugmentedManifests: NotRequired[Sequence[AugmentedManifestsListItemUnionTypeDef]],  # (2)
    DocumentType: NotRequired[DocumentClassifierDocumentTypeFormatType],  # (3)
    Documents: NotRequired[DocumentClassifierDocumentsTypeDef],  # (4)
    DocumentReaderConfig: NotRequired[DocumentReaderConfigUnionTypeDef],  # (5)
  1. See DocumentClassifierDataFormatType
  2. See AugmentedManifestsListItemTypeDef AugmentedManifestsListItemOutputTypeDef
  3. See DocumentClassifierDocumentTypeFormatType
  4. See DocumentClassifierDocumentsTypeDef
  5. See DocumentReaderConfigTypeDef DocumentReaderConfigOutputTypeDef

InputDataConfigTypeDef#

# InputDataConfigTypeDef definition

class InputDataConfigTypeDef(TypedDict):
    S3Uri: str,
    InputFormat: NotRequired[InputFormatType],  # (1)
    DocumentReaderConfig: NotRequired[DocumentReaderConfigUnionTypeDef],  # (2)
  1. See InputFormatType
  2. See DocumentReaderConfigTypeDef DocumentReaderConfigOutputTypeDef

DocumentClassificationJobPropertiesTypeDef#

# DocumentClassificationJobPropertiesTypeDef definition

class DocumentClassificationJobPropertiesTypeDef(TypedDict):
    JobId: NotRequired[str],
    JobArn: NotRequired[str],
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    Message: NotRequired[str],
    SubmitTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    DocumentClassifierArn: NotRequired[str],
    InputDataConfig: NotRequired[InputDataConfigOutputTypeDef],  # (2)
    OutputDataConfig: NotRequired[OutputDataConfigTypeDef],  # (3)
    DataAccessRoleArn: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigOutputTypeDef],  # (4)
    FlywheelArn: NotRequired[str],
  1. See JobStatusType
  2. See InputDataConfigOutputTypeDef
  3. See OutputDataConfigTypeDef
  4. See VpcConfigOutputTypeDef

DominantLanguageDetectionJobPropertiesTypeDef#

# DominantLanguageDetectionJobPropertiesTypeDef definition

class DominantLanguageDetectionJobPropertiesTypeDef(TypedDict):
    JobId: NotRequired[str],
    JobArn: NotRequired[str],
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    Message: NotRequired[str],
    SubmitTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    InputDataConfig: NotRequired[InputDataConfigOutputTypeDef],  # (2)
    OutputDataConfig: NotRequired[OutputDataConfigTypeDef],  # (3)
    DataAccessRoleArn: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigOutputTypeDef],  # (4)
  1. See JobStatusType
  2. See InputDataConfigOutputTypeDef
  3. See OutputDataConfigTypeDef
  4. See VpcConfigOutputTypeDef

EntitiesDetectionJobPropertiesTypeDef#

# EntitiesDetectionJobPropertiesTypeDef definition

class EntitiesDetectionJobPropertiesTypeDef(TypedDict):
    JobId: NotRequired[str],
    JobArn: NotRequired[str],
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    Message: NotRequired[str],
    SubmitTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    EntityRecognizerArn: NotRequired[str],
    InputDataConfig: NotRequired[InputDataConfigOutputTypeDef],  # (2)
    OutputDataConfig: NotRequired[OutputDataConfigTypeDef],  # (3)
    LanguageCode: NotRequired[LanguageCodeType],  # (4)
    DataAccessRoleArn: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigOutputTypeDef],  # (5)
    FlywheelArn: NotRequired[str],
  1. See JobStatusType
  2. See InputDataConfigOutputTypeDef
  3. See OutputDataConfigTypeDef
  4. See LanguageCodeType
  5. See VpcConfigOutputTypeDef

EventsDetectionJobPropertiesTypeDef#

# EventsDetectionJobPropertiesTypeDef definition

class EventsDetectionJobPropertiesTypeDef(TypedDict):
    JobId: NotRequired[str],
    JobArn: NotRequired[str],
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    Message: NotRequired[str],
    SubmitTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    InputDataConfig: NotRequired[InputDataConfigOutputTypeDef],  # (2)
    OutputDataConfig: NotRequired[OutputDataConfigTypeDef],  # (3)
    LanguageCode: NotRequired[LanguageCodeType],  # (4)
    DataAccessRoleArn: NotRequired[str],
    TargetEventTypes: NotRequired[List[str]],
  1. See JobStatusType
  2. See InputDataConfigOutputTypeDef
  3. See OutputDataConfigTypeDef
  4. See LanguageCodeType

KeyPhrasesDetectionJobPropertiesTypeDef#

# KeyPhrasesDetectionJobPropertiesTypeDef definition

class KeyPhrasesDetectionJobPropertiesTypeDef(TypedDict):
    JobId: NotRequired[str],
    JobArn: NotRequired[str],
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    Message: NotRequired[str],
    SubmitTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    InputDataConfig: NotRequired[InputDataConfigOutputTypeDef],  # (2)
    OutputDataConfig: NotRequired[OutputDataConfigTypeDef],  # (3)
    LanguageCode: NotRequired[LanguageCodeType],  # (4)
    DataAccessRoleArn: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigOutputTypeDef],  # (5)
  1. See JobStatusType
  2. See InputDataConfigOutputTypeDef
  3. See OutputDataConfigTypeDef
  4. See LanguageCodeType
  5. See VpcConfigOutputTypeDef

PiiEntitiesDetectionJobPropertiesTypeDef#

# PiiEntitiesDetectionJobPropertiesTypeDef definition

class PiiEntitiesDetectionJobPropertiesTypeDef(TypedDict):
    JobId: NotRequired[str],
    JobArn: NotRequired[str],
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    Message: NotRequired[str],
    SubmitTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    InputDataConfig: NotRequired[InputDataConfigOutputTypeDef],  # (2)
    OutputDataConfig: NotRequired[PiiOutputDataConfigTypeDef],  # (3)
    RedactionConfig: NotRequired[RedactionConfigOutputTypeDef],  # (4)
    LanguageCode: NotRequired[LanguageCodeType],  # (5)
    DataAccessRoleArn: NotRequired[str],
    Mode: NotRequired[PiiEntitiesDetectionModeType],  # (6)
  1. See JobStatusType
  2. See InputDataConfigOutputTypeDef
  3. See PiiOutputDataConfigTypeDef
  4. See RedactionConfigOutputTypeDef
  5. See LanguageCodeType
  6. See PiiEntitiesDetectionModeType

SentimentDetectionJobPropertiesTypeDef#

# SentimentDetectionJobPropertiesTypeDef definition

class SentimentDetectionJobPropertiesTypeDef(TypedDict):
    JobId: NotRequired[str],
    JobArn: NotRequired[str],
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    Message: NotRequired[str],
    SubmitTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    InputDataConfig: NotRequired[InputDataConfigOutputTypeDef],  # (2)
    OutputDataConfig: NotRequired[OutputDataConfigTypeDef],  # (3)
    LanguageCode: NotRequired[LanguageCodeType],  # (4)
    DataAccessRoleArn: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigOutputTypeDef],  # (5)
  1. See JobStatusType
  2. See InputDataConfigOutputTypeDef
  3. See OutputDataConfigTypeDef
  4. See LanguageCodeType
  5. See VpcConfigOutputTypeDef

TargetedSentimentDetectionJobPropertiesTypeDef#

# TargetedSentimentDetectionJobPropertiesTypeDef definition

class TargetedSentimentDetectionJobPropertiesTypeDef(TypedDict):
    JobId: NotRequired[str],
    JobArn: NotRequired[str],
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    Message: NotRequired[str],
    SubmitTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    InputDataConfig: NotRequired[InputDataConfigOutputTypeDef],  # (2)
    OutputDataConfig: NotRequired[OutputDataConfigTypeDef],  # (3)
    LanguageCode: NotRequired[LanguageCodeType],  # (4)
    DataAccessRoleArn: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigOutputTypeDef],  # (5)
  1. See JobStatusType
  2. See InputDataConfigOutputTypeDef
  3. See OutputDataConfigTypeDef
  4. See LanguageCodeType
  5. See VpcConfigOutputTypeDef

TopicsDetectionJobPropertiesTypeDef#

# TopicsDetectionJobPropertiesTypeDef definition

class TopicsDetectionJobPropertiesTypeDef(TypedDict):
    JobId: NotRequired[str],
    JobArn: NotRequired[str],
    JobName: NotRequired[str],
    JobStatus: NotRequired[JobStatusType],  # (1)
    Message: NotRequired[str],
    SubmitTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    InputDataConfig: NotRequired[InputDataConfigOutputTypeDef],  # (2)
    OutputDataConfig: NotRequired[OutputDataConfigTypeDef],  # (3)
    NumberOfTopics: NotRequired[int],
    DataAccessRoleArn: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigOutputTypeDef],  # (4)
  1. See JobStatusType
  2. See InputDataConfigOutputTypeDef
  3. See OutputDataConfigTypeDef
  4. See VpcConfigOutputTypeDef

ClassifyDocumentResponseTypeDef#

# ClassifyDocumentResponseTypeDef definition

class ClassifyDocumentResponseTypeDef(TypedDict):
    Classes: List[DocumentClassTypeDef],  # (1)
    Labels: List[DocumentLabelTypeDef],  # (2)
    DocumentMetadata: DocumentMetadataTypeDef,  # (3)
    DocumentType: List[DocumentTypeListItemTypeDef],  # (4)
    Errors: List[ErrorsListItemTypeDef],  # (5)
    Warnings: List[WarningsListItemTypeDef],  # (6)
    ResponseMetadata: ResponseMetadataTypeDef,  # (7)
  1. See DocumentClassTypeDef
  2. See DocumentLabelTypeDef
  3. See DocumentMetadataTypeDef
  4. See DocumentTypeListItemTypeDef
  5. See ErrorsListItemTypeDef
  6. See WarningsListItemTypeDef
  7. See ResponseMetadataTypeDef

TaskConfigOutputTypeDef#

# TaskConfigOutputTypeDef definition

class TaskConfigOutputTypeDef(TypedDict):
    LanguageCode: LanguageCodeType,  # (1)
    DocumentClassificationConfig: NotRequired[DocumentClassificationConfigOutputTypeDef],  # (2)
    EntityRecognitionConfig: NotRequired[EntityRecognitionConfigOutputTypeDef],  # (3)
  1. See LanguageCodeType
  2. See DocumentClassificationConfigOutputTypeDef
  3. See EntityRecognitionConfigOutputTypeDef

EntityRecognizerMetadataTypeDef#

# EntityRecognizerMetadataTypeDef definition

class EntityRecognizerMetadataTypeDef(TypedDict):
    NumberOfTrainedDocuments: NotRequired[int],
    NumberOfTestDocuments: NotRequired[int],
    EvaluationMetrics: NotRequired[EntityRecognizerEvaluationMetricsTypeDef],  # (1)
    EntityTypes: NotRequired[List[EntityRecognizerMetadataEntityTypesListItemTypeDef]],  # (2)
  1. See EntityRecognizerEvaluationMetricsTypeDef
  2. See EntityRecognizerMetadataEntityTypesListItemTypeDef

DescribeFlywheelIterationResponseTypeDef#

# DescribeFlywheelIterationResponseTypeDef definition

class DescribeFlywheelIterationResponseTypeDef(TypedDict):
    FlywheelIterationProperties: FlywheelIterationPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FlywheelIterationPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListFlywheelIterationHistoryResponseTypeDef#

# ListFlywheelIterationHistoryResponseTypeDef definition

class ListFlywheelIterationHistoryResponseTypeDef(TypedDict):
    FlywheelIterationPropertiesList: List[FlywheelIterationPropertiesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See FlywheelIterationPropertiesTypeDef
  2. See ResponseMetadataTypeDef

BlockTypeDef#

# BlockTypeDef definition

class BlockTypeDef(TypedDict):
    Id: NotRequired[str],
    BlockType: NotRequired[BlockTypeType],  # (1)
    Text: NotRequired[str],
    Page: NotRequired[int],
    Geometry: NotRequired[GeometryTypeDef],  # (2)
    Relationships: NotRequired[List[RelationshipsListItemTypeDef]],  # (3)
  1. See BlockTypeType
  2. See GeometryTypeDef
  3. See RelationshipsListItemTypeDef

BatchDetectSyntaxItemResultTypeDef#

# BatchDetectSyntaxItemResultTypeDef definition

class BatchDetectSyntaxItemResultTypeDef(TypedDict):
    Index: NotRequired[int],
    SyntaxTokens: NotRequired[List[SyntaxTokenTypeDef]],  # (1)
  1. See SyntaxTokenTypeDef

DetectSyntaxResponseTypeDef#

# DetectSyntaxResponseTypeDef definition

class DetectSyntaxResponseTypeDef(TypedDict):
    SyntaxTokens: List[SyntaxTokenTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SyntaxTokenTypeDef
  2. See ResponseMetadataTypeDef

DetectToxicContentResponseTypeDef#

# DetectToxicContentResponseTypeDef definition

class DetectToxicContentResponseTypeDef(TypedDict):
    ResultList: List[ToxicLabelsTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ToxicLabelsTypeDef
  2. See ResponseMetadataTypeDef

CreateEntityRecognizerRequestRequestTypeDef#

# CreateEntityRecognizerRequestRequestTypeDef definition

class CreateEntityRecognizerRequestRequestTypeDef(TypedDict):
    RecognizerName: str,
    DataAccessRoleArn: str,
    InputDataConfig: EntityRecognizerInputDataConfigTypeDef,  # (1)
    LanguageCode: LanguageCodeType,  # (2)
    VersionName: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (3)
    ClientRequestToken: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigTypeDef],  # (4)
    ModelKmsKeyId: NotRequired[str],
    ModelPolicy: NotRequired[str],
  1. See EntityRecognizerInputDataConfigTypeDef
  2. See LanguageCodeType
  3. See TagTypeDef
  4. See VpcConfigTypeDef

TargetedSentimentEntityTypeDef#

# TargetedSentimentEntityTypeDef definition

class TargetedSentimentEntityTypeDef(TypedDict):
    DescriptiveMentionIndex: NotRequired[List[int]],
    Mentions: NotRequired[List[TargetedSentimentMentionTypeDef]],  # (1)
  1. See TargetedSentimentMentionTypeDef

BatchDetectEntitiesItemResultTypeDef#

# BatchDetectEntitiesItemResultTypeDef definition

class BatchDetectEntitiesItemResultTypeDef(TypedDict):
    Index: NotRequired[int],
    Entities: NotRequired[List[EntityTypeDef]],  # (1)
  1. See EntityTypeDef

UpdateFlywheelRequestRequestTypeDef#

# UpdateFlywheelRequestRequestTypeDef definition

class UpdateFlywheelRequestRequestTypeDef(TypedDict):
    FlywheelArn: str,
    ActiveModelArn: NotRequired[str],
    DataAccessRoleArn: NotRequired[str],
    DataSecurityConfig: NotRequired[UpdateDataSecurityConfigTypeDef],  # (1)
  1. See UpdateDataSecurityConfigTypeDef

CreateDatasetRequestRequestTypeDef#

# CreateDatasetRequestRequestTypeDef definition

class CreateDatasetRequestRequestTypeDef(TypedDict):
    FlywheelArn: str,
    DatasetName: str,
    InputDataConfig: DatasetInputDataConfigTypeDef,  # (1)
    DatasetType: NotRequired[DatasetTypeType],  # (2)
    Description: NotRequired[str],
    ClientRequestToken: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (3)
  1. See DatasetInputDataConfigTypeDef
  2. See DatasetTypeType
  3. See TagTypeDef

DescribeDocumentClassifierResponseTypeDef#

# DescribeDocumentClassifierResponseTypeDef definition

class DescribeDocumentClassifierResponseTypeDef(TypedDict):
    DocumentClassifierProperties: DocumentClassifierPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DocumentClassifierPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListDocumentClassifiersResponseTypeDef#

# ListDocumentClassifiersResponseTypeDef definition

class ListDocumentClassifiersResponseTypeDef(TypedDict):
    DocumentClassifierPropertiesList: List[DocumentClassifierPropertiesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See DocumentClassifierPropertiesTypeDef
  2. See ResponseMetadataTypeDef

CreateDocumentClassifierRequestRequestTypeDef#

# CreateDocumentClassifierRequestRequestTypeDef definition

class CreateDocumentClassifierRequestRequestTypeDef(TypedDict):
    DocumentClassifierName: str,
    DataAccessRoleArn: str,
    InputDataConfig: DocumentClassifierInputDataConfigTypeDef,  # (1)
    LanguageCode: LanguageCodeType,  # (2)
    VersionName: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (3)
    OutputDataConfig: NotRequired[DocumentClassifierOutputDataConfigTypeDef],  # (4)
    ClientRequestToken: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigTypeDef],  # (5)
    Mode: NotRequired[DocumentClassifierModeType],  # (6)
    ModelKmsKeyId: NotRequired[str],
    ModelPolicy: NotRequired[str],
  1. See DocumentClassifierInputDataConfigTypeDef
  2. See LanguageCodeType
  3. See TagTypeDef
  4. See DocumentClassifierOutputDataConfigTypeDef
  5. See VpcConfigTypeDef
  6. See DocumentClassifierModeType

StartDocumentClassificationJobRequestRequestTypeDef#

# StartDocumentClassificationJobRequestRequestTypeDef definition

class StartDocumentClassificationJobRequestRequestTypeDef(TypedDict):
    InputDataConfig: InputDataConfigTypeDef,  # (1)
    OutputDataConfig: OutputDataConfigTypeDef,  # (2)
    DataAccessRoleArn: str,
    JobName: NotRequired[str],
    DocumentClassifierArn: NotRequired[str],
    ClientRequestToken: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigTypeDef],  # (3)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (4)
    FlywheelArn: NotRequired[str],
  1. See InputDataConfigTypeDef
  2. See OutputDataConfigTypeDef
  3. See VpcConfigTypeDef
  4. See TagTypeDef

StartDominantLanguageDetectionJobRequestRequestTypeDef#

# StartDominantLanguageDetectionJobRequestRequestTypeDef definition

class StartDominantLanguageDetectionJobRequestRequestTypeDef(TypedDict):
    InputDataConfig: InputDataConfigTypeDef,  # (1)
    OutputDataConfig: OutputDataConfigTypeDef,  # (2)
    DataAccessRoleArn: str,
    JobName: NotRequired[str],
    ClientRequestToken: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigTypeDef],  # (3)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (4)
  1. See InputDataConfigTypeDef
  2. See OutputDataConfigTypeDef
  3. See VpcConfigTypeDef
  4. See TagTypeDef

StartEntitiesDetectionJobRequestRequestTypeDef#

# StartEntitiesDetectionJobRequestRequestTypeDef definition

class StartEntitiesDetectionJobRequestRequestTypeDef(TypedDict):
    InputDataConfig: InputDataConfigTypeDef,  # (1)
    OutputDataConfig: OutputDataConfigTypeDef,  # (2)
    DataAccessRoleArn: str,
    LanguageCode: LanguageCodeType,  # (3)
    JobName: NotRequired[str],
    EntityRecognizerArn: NotRequired[str],
    ClientRequestToken: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigTypeDef],  # (4)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (5)
    FlywheelArn: NotRequired[str],
  1. See InputDataConfigTypeDef
  2. See OutputDataConfigTypeDef
  3. See LanguageCodeType
  4. See VpcConfigTypeDef
  5. See TagTypeDef

StartEventsDetectionJobRequestRequestTypeDef#

# StartEventsDetectionJobRequestRequestTypeDef definition

class StartEventsDetectionJobRequestRequestTypeDef(TypedDict):
    InputDataConfig: InputDataConfigTypeDef,  # (1)
    OutputDataConfig: OutputDataConfigTypeDef,  # (2)
    DataAccessRoleArn: str,
    LanguageCode: LanguageCodeType,  # (3)
    TargetEventTypes: Sequence[str],
    JobName: NotRequired[str],
    ClientRequestToken: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (4)
  1. See InputDataConfigTypeDef
  2. See OutputDataConfigTypeDef
  3. See LanguageCodeType
  4. See TagTypeDef

StartKeyPhrasesDetectionJobRequestRequestTypeDef#

# StartKeyPhrasesDetectionJobRequestRequestTypeDef definition

class StartKeyPhrasesDetectionJobRequestRequestTypeDef(TypedDict):
    InputDataConfig: InputDataConfigTypeDef,  # (1)
    OutputDataConfig: OutputDataConfigTypeDef,  # (2)
    DataAccessRoleArn: str,
    LanguageCode: LanguageCodeType,  # (3)
    JobName: NotRequired[str],
    ClientRequestToken: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigTypeDef],  # (4)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (5)
  1. See InputDataConfigTypeDef
  2. See OutputDataConfigTypeDef
  3. See LanguageCodeType
  4. See VpcConfigTypeDef
  5. See TagTypeDef

StartPiiEntitiesDetectionJobRequestRequestTypeDef#

# StartPiiEntitiesDetectionJobRequestRequestTypeDef definition

class StartPiiEntitiesDetectionJobRequestRequestTypeDef(TypedDict):
    InputDataConfig: InputDataConfigTypeDef,  # (1)
    OutputDataConfig: OutputDataConfigTypeDef,  # (2)
    Mode: PiiEntitiesDetectionModeType,  # (3)
    DataAccessRoleArn: str,
    LanguageCode: LanguageCodeType,  # (4)
    RedactionConfig: NotRequired[RedactionConfigTypeDef],  # (5)
    JobName: NotRequired[str],
    ClientRequestToken: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (6)
  1. See InputDataConfigTypeDef
  2. See OutputDataConfigTypeDef
  3. See PiiEntitiesDetectionModeType
  4. See LanguageCodeType
  5. See RedactionConfigTypeDef
  6. See TagTypeDef

StartSentimentDetectionJobRequestRequestTypeDef#

# StartSentimentDetectionJobRequestRequestTypeDef definition

class StartSentimentDetectionJobRequestRequestTypeDef(TypedDict):
    InputDataConfig: InputDataConfigTypeDef,  # (1)
    OutputDataConfig: OutputDataConfigTypeDef,  # (2)
    DataAccessRoleArn: str,
    LanguageCode: LanguageCodeType,  # (3)
    JobName: NotRequired[str],
    ClientRequestToken: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigTypeDef],  # (4)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (5)
  1. See InputDataConfigTypeDef
  2. See OutputDataConfigTypeDef
  3. See LanguageCodeType
  4. See VpcConfigTypeDef
  5. See TagTypeDef

StartTargetedSentimentDetectionJobRequestRequestTypeDef#

# StartTargetedSentimentDetectionJobRequestRequestTypeDef definition

class StartTargetedSentimentDetectionJobRequestRequestTypeDef(TypedDict):
    InputDataConfig: InputDataConfigTypeDef,  # (1)
    OutputDataConfig: OutputDataConfigTypeDef,  # (2)
    DataAccessRoleArn: str,
    LanguageCode: LanguageCodeType,  # (3)
    JobName: NotRequired[str],
    ClientRequestToken: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigTypeDef],  # (4)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (5)
  1. See InputDataConfigTypeDef
  2. See OutputDataConfigTypeDef
  3. See LanguageCodeType
  4. See VpcConfigTypeDef
  5. See TagTypeDef

StartTopicsDetectionJobRequestRequestTypeDef#

# StartTopicsDetectionJobRequestRequestTypeDef definition

class StartTopicsDetectionJobRequestRequestTypeDef(TypedDict):
    InputDataConfig: InputDataConfigTypeDef,  # (1)
    OutputDataConfig: OutputDataConfigTypeDef,  # (2)
    DataAccessRoleArn: str,
    JobName: NotRequired[str],
    NumberOfTopics: NotRequired[int],
    ClientRequestToken: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigTypeDef],  # (3)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (4)
  1. See InputDataConfigTypeDef
  2. See OutputDataConfigTypeDef
  3. See VpcConfigTypeDef
  4. See TagTypeDef

DescribeDocumentClassificationJobResponseTypeDef#

# DescribeDocumentClassificationJobResponseTypeDef definition

class DescribeDocumentClassificationJobResponseTypeDef(TypedDict):
    DocumentClassificationJobProperties: DocumentClassificationJobPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DocumentClassificationJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListDocumentClassificationJobsResponseTypeDef#

# ListDocumentClassificationJobsResponseTypeDef definition

class ListDocumentClassificationJobsResponseTypeDef(TypedDict):
    DocumentClassificationJobPropertiesList: List[DocumentClassificationJobPropertiesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See DocumentClassificationJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

DescribeDominantLanguageDetectionJobResponseTypeDef#

# DescribeDominantLanguageDetectionJobResponseTypeDef definition

class DescribeDominantLanguageDetectionJobResponseTypeDef(TypedDict):
    DominantLanguageDetectionJobProperties: DominantLanguageDetectionJobPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DominantLanguageDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListDominantLanguageDetectionJobsResponseTypeDef#

# ListDominantLanguageDetectionJobsResponseTypeDef definition

class ListDominantLanguageDetectionJobsResponseTypeDef(TypedDict):
    DominantLanguageDetectionJobPropertiesList: List[DominantLanguageDetectionJobPropertiesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See DominantLanguageDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

DescribeEntitiesDetectionJobResponseTypeDef#

# DescribeEntitiesDetectionJobResponseTypeDef definition

class DescribeEntitiesDetectionJobResponseTypeDef(TypedDict):
    EntitiesDetectionJobProperties: EntitiesDetectionJobPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EntitiesDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListEntitiesDetectionJobsResponseTypeDef#

# ListEntitiesDetectionJobsResponseTypeDef definition

class ListEntitiesDetectionJobsResponseTypeDef(TypedDict):
    EntitiesDetectionJobPropertiesList: List[EntitiesDetectionJobPropertiesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See EntitiesDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

DescribeEventsDetectionJobResponseTypeDef#

# DescribeEventsDetectionJobResponseTypeDef definition

class DescribeEventsDetectionJobResponseTypeDef(TypedDict):
    EventsDetectionJobProperties: EventsDetectionJobPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EventsDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListEventsDetectionJobsResponseTypeDef#

# ListEventsDetectionJobsResponseTypeDef definition

class ListEventsDetectionJobsResponseTypeDef(TypedDict):
    EventsDetectionJobPropertiesList: List[EventsDetectionJobPropertiesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See EventsDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

DescribeKeyPhrasesDetectionJobResponseTypeDef#

# DescribeKeyPhrasesDetectionJobResponseTypeDef definition

class DescribeKeyPhrasesDetectionJobResponseTypeDef(TypedDict):
    KeyPhrasesDetectionJobProperties: KeyPhrasesDetectionJobPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See KeyPhrasesDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListKeyPhrasesDetectionJobsResponseTypeDef#

# ListKeyPhrasesDetectionJobsResponseTypeDef definition

class ListKeyPhrasesDetectionJobsResponseTypeDef(TypedDict):
    KeyPhrasesDetectionJobPropertiesList: List[KeyPhrasesDetectionJobPropertiesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See KeyPhrasesDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

DescribePiiEntitiesDetectionJobResponseTypeDef#

# DescribePiiEntitiesDetectionJobResponseTypeDef definition

class DescribePiiEntitiesDetectionJobResponseTypeDef(TypedDict):
    PiiEntitiesDetectionJobProperties: PiiEntitiesDetectionJobPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PiiEntitiesDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListPiiEntitiesDetectionJobsResponseTypeDef#

# ListPiiEntitiesDetectionJobsResponseTypeDef definition

class ListPiiEntitiesDetectionJobsResponseTypeDef(TypedDict):
    PiiEntitiesDetectionJobPropertiesList: List[PiiEntitiesDetectionJobPropertiesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See PiiEntitiesDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

DescribeSentimentDetectionJobResponseTypeDef#

# DescribeSentimentDetectionJobResponseTypeDef definition

class DescribeSentimentDetectionJobResponseTypeDef(TypedDict):
    SentimentDetectionJobProperties: SentimentDetectionJobPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SentimentDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListSentimentDetectionJobsResponseTypeDef#

# ListSentimentDetectionJobsResponseTypeDef definition

class ListSentimentDetectionJobsResponseTypeDef(TypedDict):
    SentimentDetectionJobPropertiesList: List[SentimentDetectionJobPropertiesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See SentimentDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

DescribeTargetedSentimentDetectionJobResponseTypeDef#

# DescribeTargetedSentimentDetectionJobResponseTypeDef definition

class DescribeTargetedSentimentDetectionJobResponseTypeDef(TypedDict):
    TargetedSentimentDetectionJobProperties: TargetedSentimentDetectionJobPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TargetedSentimentDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListTargetedSentimentDetectionJobsResponseTypeDef#

# ListTargetedSentimentDetectionJobsResponseTypeDef definition

class ListTargetedSentimentDetectionJobsResponseTypeDef(TypedDict):
    TargetedSentimentDetectionJobPropertiesList: List[TargetedSentimentDetectionJobPropertiesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See TargetedSentimentDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

DescribeTopicsDetectionJobResponseTypeDef#

# DescribeTopicsDetectionJobResponseTypeDef definition

class DescribeTopicsDetectionJobResponseTypeDef(TypedDict):
    TopicsDetectionJobProperties: TopicsDetectionJobPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TopicsDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListTopicsDetectionJobsResponseTypeDef#

# ListTopicsDetectionJobsResponseTypeDef definition

class ListTopicsDetectionJobsResponseTypeDef(TypedDict):
    TopicsDetectionJobPropertiesList: List[TopicsDetectionJobPropertiesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See TopicsDetectionJobPropertiesTypeDef
  2. See ResponseMetadataTypeDef

FlywheelPropertiesTypeDef#

# FlywheelPropertiesTypeDef definition

class FlywheelPropertiesTypeDef(TypedDict):
    FlywheelArn: NotRequired[str],
    ActiveModelArn: NotRequired[str],
    DataAccessRoleArn: NotRequired[str],
    TaskConfig: NotRequired[TaskConfigOutputTypeDef],  # (1)
    DataLakeS3Uri: NotRequired[str],
    DataSecurityConfig: NotRequired[DataSecurityConfigOutputTypeDef],  # (2)
    Status: NotRequired[FlywheelStatusType],  # (3)
    ModelType: NotRequired[ModelTypeType],  # (4)
    Message: NotRequired[str],
    CreationTime: NotRequired[datetime],
    LastModifiedTime: NotRequired[datetime],
    LatestFlywheelIteration: NotRequired[str],
  1. See TaskConfigOutputTypeDef
  2. See DataSecurityConfigOutputTypeDef
  3. See FlywheelStatusType
  4. See ModelTypeType

TaskConfigTypeDef#

# TaskConfigTypeDef definition

class TaskConfigTypeDef(TypedDict):
    LanguageCode: LanguageCodeType,  # (1)
    DocumentClassificationConfig: NotRequired[DocumentClassificationConfigUnionTypeDef],  # (2)
    EntityRecognitionConfig: NotRequired[EntityRecognitionConfigUnionTypeDef],  # (3)
  1. See LanguageCodeType
  2. See DocumentClassificationConfigTypeDef DocumentClassificationConfigOutputTypeDef
  3. See EntityRecognitionConfigTypeDef EntityRecognitionConfigOutputTypeDef

EntityRecognizerPropertiesTypeDef#

# EntityRecognizerPropertiesTypeDef definition

class EntityRecognizerPropertiesTypeDef(TypedDict):
    EntityRecognizerArn: NotRequired[str],
    LanguageCode: NotRequired[LanguageCodeType],  # (1)
    Status: NotRequired[ModelStatusType],  # (2)
    Message: NotRequired[str],
    SubmitTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    TrainingStartTime: NotRequired[datetime],
    TrainingEndTime: NotRequired[datetime],
    InputDataConfig: NotRequired[EntityRecognizerInputDataConfigOutputTypeDef],  # (3)
    RecognizerMetadata: NotRequired[EntityRecognizerMetadataTypeDef],  # (4)
    DataAccessRoleArn: NotRequired[str],
    VolumeKmsKeyId: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigOutputTypeDef],  # (5)
    ModelKmsKeyId: NotRequired[str],
    VersionName: NotRequired[str],
    SourceModelArn: NotRequired[str],
    FlywheelArn: NotRequired[str],
    OutputDataConfig: NotRequired[EntityRecognizerOutputDataConfigTypeDef],  # (6)
  1. See LanguageCodeType
  2. See ModelStatusType
  3. See EntityRecognizerInputDataConfigOutputTypeDef
  4. See EntityRecognizerMetadataTypeDef
  5. See VpcConfigOutputTypeDef
  6. See EntityRecognizerOutputDataConfigTypeDef

DetectEntitiesResponseTypeDef#

# DetectEntitiesResponseTypeDef definition

class DetectEntitiesResponseTypeDef(TypedDict):
    Entities: List[EntityTypeDef],  # (1)
    DocumentMetadata: DocumentMetadataTypeDef,  # (2)
    DocumentType: List[DocumentTypeListItemTypeDef],  # (3)
    Blocks: List[BlockTypeDef],  # (4)
    Errors: List[ErrorsListItemTypeDef],  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See EntityTypeDef
  2. See DocumentMetadataTypeDef
  3. See DocumentTypeListItemTypeDef
  4. See BlockTypeDef
  5. See ErrorsListItemTypeDef
  6. See ResponseMetadataTypeDef

BatchDetectSyntaxResponseTypeDef#

# BatchDetectSyntaxResponseTypeDef definition

class BatchDetectSyntaxResponseTypeDef(TypedDict):
    ResultList: List[BatchDetectSyntaxItemResultTypeDef],  # (1)
    ErrorList: List[BatchItemErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See BatchDetectSyntaxItemResultTypeDef
  2. See BatchItemErrorTypeDef
  3. See ResponseMetadataTypeDef

BatchDetectTargetedSentimentItemResultTypeDef#

# BatchDetectTargetedSentimentItemResultTypeDef definition

class BatchDetectTargetedSentimentItemResultTypeDef(TypedDict):
    Index: NotRequired[int],
    Entities: NotRequired[List[TargetedSentimentEntityTypeDef]],  # (1)
  1. See TargetedSentimentEntityTypeDef

DetectTargetedSentimentResponseTypeDef#

# DetectTargetedSentimentResponseTypeDef definition

class DetectTargetedSentimentResponseTypeDef(TypedDict):
    Entities: List[TargetedSentimentEntityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TargetedSentimentEntityTypeDef
  2. See ResponseMetadataTypeDef

BatchDetectEntitiesResponseTypeDef#

# BatchDetectEntitiesResponseTypeDef definition

class BatchDetectEntitiesResponseTypeDef(TypedDict):
    ResultList: List[BatchDetectEntitiesItemResultTypeDef],  # (1)
    ErrorList: List[BatchItemErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See BatchDetectEntitiesItemResultTypeDef
  2. See BatchItemErrorTypeDef
  3. See ResponseMetadataTypeDef

DescribeFlywheelResponseTypeDef#

# DescribeFlywheelResponseTypeDef definition

class DescribeFlywheelResponseTypeDef(TypedDict):
    FlywheelProperties: FlywheelPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FlywheelPropertiesTypeDef
  2. See ResponseMetadataTypeDef

UpdateFlywheelResponseTypeDef#

# UpdateFlywheelResponseTypeDef definition

class UpdateFlywheelResponseTypeDef(TypedDict):
    FlywheelProperties: FlywheelPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FlywheelPropertiesTypeDef
  2. See ResponseMetadataTypeDef

CreateFlywheelRequestRequestTypeDef#

# CreateFlywheelRequestRequestTypeDef definition

class CreateFlywheelRequestRequestTypeDef(TypedDict):
    FlywheelName: str,
    DataAccessRoleArn: str,
    DataLakeS3Uri: str,
    ActiveModelArn: NotRequired[str],
    TaskConfig: NotRequired[TaskConfigTypeDef],  # (1)
    ModelType: NotRequired[ModelTypeType],  # (2)
    DataSecurityConfig: NotRequired[DataSecurityConfigTypeDef],  # (3)
    ClientRequestToken: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (4)
  1. See TaskConfigTypeDef
  2. See ModelTypeType
  3. See DataSecurityConfigTypeDef
  4. See TagTypeDef

DescribeEntityRecognizerResponseTypeDef#

# DescribeEntityRecognizerResponseTypeDef definition

class DescribeEntityRecognizerResponseTypeDef(TypedDict):
    EntityRecognizerProperties: EntityRecognizerPropertiesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EntityRecognizerPropertiesTypeDef
  2. See ResponseMetadataTypeDef

ListEntityRecognizersResponseTypeDef#

# ListEntityRecognizersResponseTypeDef definition

class ListEntityRecognizersResponseTypeDef(TypedDict):
    EntityRecognizerPropertiesList: List[EntityRecognizerPropertiesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See EntityRecognizerPropertiesTypeDef
  2. See ResponseMetadataTypeDef

BatchDetectTargetedSentimentResponseTypeDef#

# BatchDetectTargetedSentimentResponseTypeDef definition

class BatchDetectTargetedSentimentResponseTypeDef(TypedDict):
    ResultList: List[BatchDetectTargetedSentimentItemResultTypeDef],  # (1)
    ErrorList: List[BatchItemErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See BatchDetectTargetedSentimentItemResultTypeDef
  2. See BatchItemErrorTypeDef
  3. See ResponseMetadataTypeDef