Type definitions#
Index > Rekognition > Type definitions
Auto-generated documentation for Rekognition type annotations stubs module mypy-boto3-rekognition.
BlobTypeDef#
# BlobTypeDef definition
BlobTypeDef = Union[
str,
bytes,
IO[Any],
StreamingBody,
]
ConnectedHomeSettingsUnionTypeDef#
# ConnectedHomeSettingsUnionTypeDef definition
ConnectedHomeSettingsUnionTypeDef = Union[
ConnectedHomeSettingsTypeDef, # (1)
ConnectedHomeSettingsOutputTypeDef, # (2)
]
RegionOfInterestUnionTypeDef#
# RegionOfInterestUnionTypeDef definition
RegionOfInterestUnionTypeDef = Union[
RegionOfInterestTypeDef, # (1)
RegionOfInterestOutputTypeDef, # (2)
]
AgeRangeTypeDef#
# AgeRangeTypeDef definition
class AgeRangeTypeDef(TypedDict):
Low: NotRequired[int],
High: NotRequired[int],
AssociateFacesRequestRequestTypeDef#
# AssociateFacesRequestRequestTypeDef definition
class AssociateFacesRequestRequestTypeDef(TypedDict):
CollectionId: str,
UserId: str,
FaceIds: Sequence[str],
UserMatchThreshold: NotRequired[float],
ClientRequestToken: NotRequired[str],
AssociatedFaceTypeDef#
# AssociatedFaceTypeDef definition
class AssociatedFaceTypeDef(TypedDict):
FaceId: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
UnsuccessfulFaceAssociationTypeDef#
# UnsuccessfulFaceAssociationTypeDef definition
class UnsuccessfulFaceAssociationTypeDef(TypedDict):
FaceId: NotRequired[str],
UserId: NotRequired[str],
Confidence: NotRequired[float],
Reasons: NotRequired[List[UnsuccessfulFaceAssociationReasonType]], # (1)
AudioMetadataTypeDef#
# AudioMetadataTypeDef definition
class AudioMetadataTypeDef(TypedDict):
Codec: NotRequired[str],
DurationMillis: NotRequired[int],
SampleRate: NotRequired[int],
NumberOfChannels: NotRequired[int],
BoundingBoxTypeDef#
# BoundingBoxTypeDef definition
class BoundingBoxTypeDef(TypedDict):
Width: NotRequired[float],
Height: NotRequired[float],
Left: NotRequired[float],
Top: NotRequired[float],
S3ObjectTypeDef#
# S3ObjectTypeDef definition
class S3ObjectTypeDef(TypedDict):
Bucket: NotRequired[str],
Name: NotRequired[str],
Version: NotRequired[str],
BeardTypeDef#
# BeardTypeDef definition
class BeardTypeDef(TypedDict):
Value: NotRequired[bool],
Confidence: NotRequired[float],
BlackFrameTypeDef#
# BlackFrameTypeDef definition
class BlackFrameTypeDef(TypedDict):
MaxPixelThreshold: NotRequired[float],
MinCoveragePercentage: NotRequired[float],
KnownGenderTypeDef#
# KnownGenderTypeDef definition
class KnownGenderTypeDef(TypedDict):
Type: NotRequired[KnownGenderTypeType], # (1)
EmotionTypeDef#
# EmotionTypeDef definition
class EmotionTypeDef(TypedDict):
Type: NotRequired[EmotionNameType], # (1)
Confidence: NotRequired[float],
- See EmotionNameType
ImageQualityTypeDef#
# ImageQualityTypeDef definition
class ImageQualityTypeDef(TypedDict):
Brightness: NotRequired[float],
Sharpness: NotRequired[float],
LandmarkTypeDef#
# LandmarkTypeDef definition
class LandmarkTypeDef(TypedDict):
Type: NotRequired[LandmarkTypeType], # (1)
X: NotRequired[float],
Y: NotRequired[float],
- See LandmarkTypeType
PoseTypeDef#
# PoseTypeDef definition
class PoseTypeDef(TypedDict):
Roll: NotRequired[float],
Yaw: NotRequired[float],
Pitch: NotRequired[float],
SmileTypeDef#
# SmileTypeDef definition
class SmileTypeDef(TypedDict):
Value: NotRequired[bool],
Confidence: NotRequired[float],
ConnectedHomeSettingsForUpdateTypeDef#
# ConnectedHomeSettingsForUpdateTypeDef definition
class ConnectedHomeSettingsForUpdateTypeDef(TypedDict):
Labels: NotRequired[Sequence[str]],
MinConfidence: NotRequired[float],
ConnectedHomeSettingsOutputTypeDef#
# ConnectedHomeSettingsOutputTypeDef definition
class ConnectedHomeSettingsOutputTypeDef(TypedDict):
Labels: List[str],
MinConfidence: NotRequired[float],
ConnectedHomeSettingsTypeDef#
# ConnectedHomeSettingsTypeDef definition
class ConnectedHomeSettingsTypeDef(TypedDict):
Labels: Sequence[str],
MinConfidence: NotRequired[float],
ContentTypeTypeDef#
# ContentTypeTypeDef definition
class ContentTypeTypeDef(TypedDict):
Confidence: NotRequired[float],
Name: NotRequired[str],
ModerationLabelTypeDef#
# ModerationLabelTypeDef definition
class ModerationLabelTypeDef(TypedDict):
Confidence: NotRequired[float],
Name: NotRequired[str],
ParentName: NotRequired[str],
TaxonomyLevel: NotRequired[int],
OutputConfigTypeDef#
# OutputConfigTypeDef definition
class OutputConfigTypeDef(TypedDict):
S3Bucket: NotRequired[str],
S3KeyPrefix: NotRequired[str],
CoversBodyPartTypeDef#
# CoversBodyPartTypeDef definition
class CoversBodyPartTypeDef(TypedDict):
Confidence: NotRequired[float],
Value: NotRequired[bool],
CreateCollectionRequestRequestTypeDef#
# CreateCollectionRequestRequestTypeDef definition
class CreateCollectionRequestRequestTypeDef(TypedDict):
CollectionId: str,
Tags: NotRequired[Mapping[str, str]],
LivenessOutputConfigTypeDef#
# LivenessOutputConfigTypeDef definition
class LivenessOutputConfigTypeDef(TypedDict):
S3Bucket: str,
S3KeyPrefix: NotRequired[str],
CreateProjectRequestRequestTypeDef#
# CreateProjectRequestRequestTypeDef definition
class CreateProjectRequestRequestTypeDef(TypedDict):
ProjectName: str,
Feature: NotRequired[CustomizationFeatureType], # (1)
AutoUpdate: NotRequired[ProjectAutoUpdateType], # (2)
Tags: NotRequired[Mapping[str, str]],
StreamProcessorDataSharingPreferenceTypeDef#
# StreamProcessorDataSharingPreferenceTypeDef definition
class StreamProcessorDataSharingPreferenceTypeDef(TypedDict):
OptIn: bool,
StreamProcessorNotificationChannelTypeDef#
# StreamProcessorNotificationChannelTypeDef definition
class StreamProcessorNotificationChannelTypeDef(TypedDict):
SNSTopicArn: str,
CreateUserRequestRequestTypeDef#
# CreateUserRequestRequestTypeDef definition
class CreateUserRequestRequestTypeDef(TypedDict):
CollectionId: str,
UserId: str,
ClientRequestToken: NotRequired[str],
CustomizationFeatureContentModerationConfigTypeDef#
# CustomizationFeatureContentModerationConfigTypeDef definition
class CustomizationFeatureContentModerationConfigTypeDef(TypedDict):
ConfidenceThreshold: NotRequired[float],
DatasetStatsTypeDef#
# DatasetStatsTypeDef definition
class DatasetStatsTypeDef(TypedDict):
LabeledEntries: NotRequired[int],
TotalEntries: NotRequired[int],
TotalLabels: NotRequired[int],
ErrorEntries: NotRequired[int],
DatasetLabelStatsTypeDef#
# DatasetLabelStatsTypeDef definition
class DatasetLabelStatsTypeDef(TypedDict):
EntryCount: NotRequired[int],
BoundingBoxCount: NotRequired[int],
DatasetMetadataTypeDef#
# DatasetMetadataTypeDef definition
class DatasetMetadataTypeDef(TypedDict):
CreationTimestamp: NotRequired[datetime],
DatasetType: NotRequired[DatasetTypeType], # (1)
DatasetArn: NotRequired[str],
Status: NotRequired[DatasetStatusType], # (2)
StatusMessage: NotRequired[str],
StatusMessageCode: NotRequired[DatasetStatusMessageCodeType], # (3)
DeleteCollectionRequestRequestTypeDef#
# DeleteCollectionRequestRequestTypeDef definition
class DeleteCollectionRequestRequestTypeDef(TypedDict):
CollectionId: str,
DeleteDatasetRequestRequestTypeDef#
# DeleteDatasetRequestRequestTypeDef definition
class DeleteDatasetRequestRequestTypeDef(TypedDict):
DatasetArn: str,
DeleteFacesRequestRequestTypeDef#
# DeleteFacesRequestRequestTypeDef definition
class DeleteFacesRequestRequestTypeDef(TypedDict):
CollectionId: str,
FaceIds: Sequence[str],
UnsuccessfulFaceDeletionTypeDef#
# UnsuccessfulFaceDeletionTypeDef definition
class UnsuccessfulFaceDeletionTypeDef(TypedDict):
FaceId: NotRequired[str],
UserId: NotRequired[str],
Reasons: NotRequired[List[UnsuccessfulFaceDeletionReasonType]], # (1)
DeleteProjectPolicyRequestRequestTypeDef#
# DeleteProjectPolicyRequestRequestTypeDef definition
class DeleteProjectPolicyRequestRequestTypeDef(TypedDict):
ProjectArn: str,
PolicyName: str,
PolicyRevisionId: NotRequired[str],
DeleteProjectRequestRequestTypeDef#
# DeleteProjectRequestRequestTypeDef definition
class DeleteProjectRequestRequestTypeDef(TypedDict):
ProjectArn: str,
DeleteProjectVersionRequestRequestTypeDef#
# DeleteProjectVersionRequestRequestTypeDef definition
class DeleteProjectVersionRequestRequestTypeDef(TypedDict):
ProjectVersionArn: str,
DeleteStreamProcessorRequestRequestTypeDef#
# DeleteStreamProcessorRequestRequestTypeDef definition
class DeleteStreamProcessorRequestRequestTypeDef(TypedDict):
Name: str,
DeleteUserRequestRequestTypeDef#
# DeleteUserRequestRequestTypeDef definition
class DeleteUserRequestRequestTypeDef(TypedDict):
CollectionId: str,
UserId: str,
ClientRequestToken: NotRequired[str],
DescribeCollectionRequestRequestTypeDef#
# DescribeCollectionRequestRequestTypeDef definition
class DescribeCollectionRequestRequestTypeDef(TypedDict):
CollectionId: str,
DescribeDatasetRequestRequestTypeDef#
# DescribeDatasetRequestRequestTypeDef definition
class DescribeDatasetRequestRequestTypeDef(TypedDict):
DatasetArn: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
WaiterConfigTypeDef#
# WaiterConfigTypeDef definition
class WaiterConfigTypeDef(TypedDict):
Delay: NotRequired[int],
MaxAttempts: NotRequired[int],
DescribeProjectVersionsRequestRequestTypeDef#
# DescribeProjectVersionsRequestRequestTypeDef definition
class DescribeProjectVersionsRequestRequestTypeDef(TypedDict):
ProjectArn: str,
VersionNames: NotRequired[Sequence[str]],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
DescribeProjectsRequestRequestTypeDef#
# DescribeProjectsRequestRequestTypeDef definition
class DescribeProjectsRequestRequestTypeDef(TypedDict):
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ProjectNames: NotRequired[Sequence[str]],
Features: NotRequired[Sequence[CustomizationFeatureType]], # (1)
DescribeStreamProcessorRequestRequestTypeDef#
# DescribeStreamProcessorRequestRequestTypeDef definition
class DescribeStreamProcessorRequestRequestTypeDef(TypedDict):
Name: str,
DetectLabelsImageQualityTypeDef#
# DetectLabelsImageQualityTypeDef definition
class DetectLabelsImageQualityTypeDef(TypedDict):
Brightness: NotRequired[float],
Sharpness: NotRequired[float],
Contrast: NotRequired[float],
DominantColorTypeDef#
# DominantColorTypeDef definition
class DominantColorTypeDef(TypedDict):
Red: NotRequired[int],
Blue: NotRequired[int],
Green: NotRequired[int],
HexCode: NotRequired[str],
CSSColor: NotRequired[str],
SimplifiedColor: NotRequired[str],
PixelPercent: NotRequired[float],
DetectLabelsImagePropertiesSettingsTypeDef#
# DetectLabelsImagePropertiesSettingsTypeDef definition
class DetectLabelsImagePropertiesSettingsTypeDef(TypedDict):
MaxDominantColors: NotRequired[int],
GeneralLabelsSettingsTypeDef#
# GeneralLabelsSettingsTypeDef definition
class GeneralLabelsSettingsTypeDef(TypedDict):
LabelInclusionFilters: NotRequired[Sequence[str]],
LabelExclusionFilters: NotRequired[Sequence[str]],
LabelCategoryInclusionFilters: NotRequired[Sequence[str]],
LabelCategoryExclusionFilters: NotRequired[Sequence[str]],
HumanLoopActivationOutputTypeDef#
# HumanLoopActivationOutputTypeDef definition
class HumanLoopActivationOutputTypeDef(TypedDict):
HumanLoopArn: NotRequired[str],
HumanLoopActivationReasons: NotRequired[List[str]],
HumanLoopActivationConditionsEvaluationResults: NotRequired[str],
ProtectiveEquipmentSummarizationAttributesTypeDef#
# ProtectiveEquipmentSummarizationAttributesTypeDef definition
class ProtectiveEquipmentSummarizationAttributesTypeDef(TypedDict):
MinConfidence: float,
RequiredEquipmentTypes: Sequence[ProtectiveEquipmentTypeType], # (1)
ProtectiveEquipmentSummaryTypeDef#
# ProtectiveEquipmentSummaryTypeDef definition
class ProtectiveEquipmentSummaryTypeDef(TypedDict):
PersonsWithRequiredEquipment: NotRequired[List[int]],
PersonsWithoutRequiredEquipment: NotRequired[List[int]],
PersonsIndeterminate: NotRequired[List[int]],
DetectionFilterTypeDef#
# DetectionFilterTypeDef definition
class DetectionFilterTypeDef(TypedDict):
MinConfidence: NotRequired[float],
MinBoundingBoxHeight: NotRequired[float],
MinBoundingBoxWidth: NotRequired[float],
DisassociateFacesRequestRequestTypeDef#
# DisassociateFacesRequestRequestTypeDef definition
class DisassociateFacesRequestRequestTypeDef(TypedDict):
CollectionId: str,
UserId: str,
FaceIds: Sequence[str],
ClientRequestToken: NotRequired[str],
DisassociatedFaceTypeDef#
# DisassociatedFaceTypeDef definition
class DisassociatedFaceTypeDef(TypedDict):
FaceId: NotRequired[str],
UnsuccessfulFaceDisassociationTypeDef#
# UnsuccessfulFaceDisassociationTypeDef definition
class UnsuccessfulFaceDisassociationTypeDef(TypedDict):
FaceId: NotRequired[str],
UserId: NotRequired[str],
Reasons: NotRequired[List[UnsuccessfulFaceDisassociationReasonType]], # (1)
DistributeDatasetTypeDef#
# DistributeDatasetTypeDef definition
class DistributeDatasetTypeDef(TypedDict):
Arn: str,
EyeDirectionTypeDef#
# EyeDirectionTypeDef definition
class EyeDirectionTypeDef(TypedDict):
Yaw: NotRequired[float],
Pitch: NotRequired[float],
Confidence: NotRequired[float],
EyeOpenTypeDef#
# EyeOpenTypeDef definition
class EyeOpenTypeDef(TypedDict):
Value: NotRequired[bool],
Confidence: NotRequired[float],
EyeglassesTypeDef#
# EyeglassesTypeDef definition
class EyeglassesTypeDef(TypedDict):
Value: NotRequired[bool],
Confidence: NotRequired[float],
FaceOccludedTypeDef#
# FaceOccludedTypeDef definition
class FaceOccludedTypeDef(TypedDict):
Value: NotRequired[bool],
Confidence: NotRequired[float],
GenderTypeDef#
# GenderTypeDef definition
class GenderTypeDef(TypedDict):
Value: NotRequired[GenderTypeType], # (1)
Confidence: NotRequired[float],
- See GenderTypeType
MouthOpenTypeDef#
# MouthOpenTypeDef definition
class MouthOpenTypeDef(TypedDict):
Value: NotRequired[bool],
Confidence: NotRequired[float],
MustacheTypeDef#
# MustacheTypeDef definition
class MustacheTypeDef(TypedDict):
Value: NotRequired[bool],
Confidence: NotRequired[float],
SunglassesTypeDef#
# SunglassesTypeDef definition
class SunglassesTypeDef(TypedDict):
Value: NotRequired[bool],
Confidence: NotRequired[float],
FaceSearchSettingsTypeDef#
# FaceSearchSettingsTypeDef definition
class FaceSearchSettingsTypeDef(TypedDict):
CollectionId: NotRequired[str],
FaceMatchThreshold: NotRequired[float],
PointTypeDef#
# PointTypeDef definition
class PointTypeDef(TypedDict):
X: NotRequired[float],
Y: NotRequired[float],
GetCelebrityInfoRequestRequestTypeDef#
# GetCelebrityInfoRequestRequestTypeDef definition
class GetCelebrityInfoRequestRequestTypeDef(TypedDict):
Id: str,
GetCelebrityRecognitionRequestRequestTypeDef#
# GetCelebrityRecognitionRequestRequestTypeDef definition
class GetCelebrityRecognitionRequestRequestTypeDef(TypedDict):
JobId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
SortBy: NotRequired[CelebrityRecognitionSortByType], # (1)
VideoMetadataTypeDef#
# VideoMetadataTypeDef definition
class VideoMetadataTypeDef(TypedDict):
Codec: NotRequired[str],
DurationMillis: NotRequired[int],
Format: NotRequired[str],
FrameRate: NotRequired[float],
FrameHeight: NotRequired[int],
FrameWidth: NotRequired[int],
ColorRange: NotRequired[VideoColorRangeType], # (1)
GetContentModerationRequestMetadataTypeDef#
# GetContentModerationRequestMetadataTypeDef definition
class GetContentModerationRequestMetadataTypeDef(TypedDict):
SortBy: NotRequired[ContentModerationSortByType], # (1)
AggregateBy: NotRequired[ContentModerationAggregateByType], # (2)
GetContentModerationRequestRequestTypeDef#
# GetContentModerationRequestRequestTypeDef definition
class GetContentModerationRequestRequestTypeDef(TypedDict):
JobId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
SortBy: NotRequired[ContentModerationSortByType], # (1)
AggregateBy: NotRequired[ContentModerationAggregateByType], # (2)
GetFaceDetectionRequestRequestTypeDef#
# GetFaceDetectionRequestRequestTypeDef definition
class GetFaceDetectionRequestRequestTypeDef(TypedDict):
JobId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
GetFaceLivenessSessionResultsRequestRequestTypeDef#
# GetFaceLivenessSessionResultsRequestRequestTypeDef definition
class GetFaceLivenessSessionResultsRequestRequestTypeDef(TypedDict):
SessionId: str,
GetFaceSearchRequestRequestTypeDef#
# GetFaceSearchRequestRequestTypeDef definition
class GetFaceSearchRequestRequestTypeDef(TypedDict):
JobId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
SortBy: NotRequired[FaceSearchSortByType], # (1)
GetLabelDetectionRequestMetadataTypeDef#
# GetLabelDetectionRequestMetadataTypeDef definition
class GetLabelDetectionRequestMetadataTypeDef(TypedDict):
SortBy: NotRequired[LabelDetectionSortByType], # (1)
AggregateBy: NotRequired[LabelDetectionAggregateByType], # (2)
GetLabelDetectionRequestRequestTypeDef#
# GetLabelDetectionRequestRequestTypeDef definition
class GetLabelDetectionRequestRequestTypeDef(TypedDict):
JobId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
SortBy: NotRequired[LabelDetectionSortByType], # (1)
AggregateBy: NotRequired[LabelDetectionAggregateByType], # (2)
GetMediaAnalysisJobRequestRequestTypeDef#
# GetMediaAnalysisJobRequestRequestTypeDef definition
class GetMediaAnalysisJobRequestRequestTypeDef(TypedDict):
JobId: str,
MediaAnalysisJobFailureDetailsTypeDef#
# MediaAnalysisJobFailureDetailsTypeDef definition
class MediaAnalysisJobFailureDetailsTypeDef(TypedDict):
Code: NotRequired[MediaAnalysisJobFailureCodeType], # (1)
Message: NotRequired[str],
MediaAnalysisOutputConfigTypeDef#
# MediaAnalysisOutputConfigTypeDef definition
class MediaAnalysisOutputConfigTypeDef(TypedDict):
S3Bucket: str,
S3KeyPrefix: NotRequired[str],
GetPersonTrackingRequestRequestTypeDef#
# GetPersonTrackingRequestRequestTypeDef definition
class GetPersonTrackingRequestRequestTypeDef(TypedDict):
JobId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
SortBy: NotRequired[PersonTrackingSortByType], # (1)
GetSegmentDetectionRequestRequestTypeDef#
# GetSegmentDetectionRequestRequestTypeDef definition
class GetSegmentDetectionRequestRequestTypeDef(TypedDict):
JobId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
SegmentTypeInfoTypeDef#
# SegmentTypeInfoTypeDef definition
class SegmentTypeInfoTypeDef(TypedDict):
Type: NotRequired[SegmentTypeType], # (1)
ModelVersion: NotRequired[str],
- See SegmentTypeType
GetTextDetectionRequestRequestTypeDef#
# GetTextDetectionRequestRequestTypeDef definition
class GetTextDetectionRequestRequestTypeDef(TypedDict):
JobId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
HumanLoopDataAttributesTypeDef#
# HumanLoopDataAttributesTypeDef definition
class HumanLoopDataAttributesTypeDef(TypedDict):
ContentClassifiers: NotRequired[Sequence[ContentClassifierType]], # (1)
KinesisDataStreamTypeDef#
# KinesisDataStreamTypeDef definition
class KinesisDataStreamTypeDef(TypedDict):
Arn: NotRequired[str],
KinesisVideoStreamStartSelectorTypeDef#
# KinesisVideoStreamStartSelectorTypeDef definition
class KinesisVideoStreamStartSelectorTypeDef(TypedDict):
ProducerTimestamp: NotRequired[int],
FragmentNumber: NotRequired[str],
KinesisVideoStreamTypeDef#
# KinesisVideoStreamTypeDef definition
class KinesisVideoStreamTypeDef(TypedDict):
Arn: NotRequired[str],
LabelAliasTypeDef#
# LabelAliasTypeDef definition
class LabelAliasTypeDef(TypedDict):
Name: NotRequired[str],
LabelCategoryTypeDef#
# LabelCategoryTypeDef definition
class LabelCategoryTypeDef(TypedDict):
Name: NotRequired[str],
ParentTypeDef#
# ParentTypeDef definition
class ParentTypeDef(TypedDict):
Name: NotRequired[str],
ListCollectionsRequestRequestTypeDef#
# ListCollectionsRequestRequestTypeDef definition
class ListCollectionsRequestRequestTypeDef(TypedDict):
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListDatasetEntriesRequestRequestTypeDef#
# ListDatasetEntriesRequestRequestTypeDef definition
class ListDatasetEntriesRequestRequestTypeDef(TypedDict):
DatasetArn: str,
ContainsLabels: NotRequired[Sequence[str]],
Labeled: NotRequired[bool],
SourceRefContains: NotRequired[str],
HasErrors: NotRequired[bool],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListDatasetLabelsRequestRequestTypeDef#
# ListDatasetLabelsRequestRequestTypeDef definition
class ListDatasetLabelsRequestRequestTypeDef(TypedDict):
DatasetArn: str,
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListFacesRequestRequestTypeDef#
# ListFacesRequestRequestTypeDef definition
class ListFacesRequestRequestTypeDef(TypedDict):
CollectionId: str,
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
UserId: NotRequired[str],
FaceIds: NotRequired[Sequence[str]],
ListMediaAnalysisJobsRequestRequestTypeDef#
# ListMediaAnalysisJobsRequestRequestTypeDef definition
class ListMediaAnalysisJobsRequestRequestTypeDef(TypedDict):
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListProjectPoliciesRequestRequestTypeDef#
# ListProjectPoliciesRequestRequestTypeDef definition
class ListProjectPoliciesRequestRequestTypeDef(TypedDict):
ProjectArn: str,
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ProjectPolicyTypeDef#
# ProjectPolicyTypeDef definition
class ProjectPolicyTypeDef(TypedDict):
ProjectArn: NotRequired[str],
PolicyName: NotRequired[str],
PolicyRevisionId: NotRequired[str],
PolicyDocument: NotRequired[str],
CreationTimestamp: NotRequired[datetime],
LastUpdatedTimestamp: NotRequired[datetime],
ListStreamProcessorsRequestRequestTypeDef#
# ListStreamProcessorsRequestRequestTypeDef definition
class ListStreamProcessorsRequestRequestTypeDef(TypedDict):
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
StreamProcessorTypeDef#
# StreamProcessorTypeDef definition
class StreamProcessorTypeDef(TypedDict):
Name: NotRequired[str],
Status: NotRequired[StreamProcessorStatusType], # (1)
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
ListUsersRequestRequestTypeDef#
# ListUsersRequestRequestTypeDef definition
class ListUsersRequestRequestTypeDef(TypedDict):
CollectionId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
UserTypeDef#
# UserTypeDef definition
class UserTypeDef(TypedDict):
UserId: NotRequired[str],
UserStatus: NotRequired[UserStatusType], # (1)
- See UserStatusType
MatchedUserTypeDef#
# MatchedUserTypeDef definition
class MatchedUserTypeDef(TypedDict):
UserId: NotRequired[str],
UserStatus: NotRequired[UserStatusType], # (1)
- See UserStatusType
MediaAnalysisDetectModerationLabelsConfigTypeDef#
# MediaAnalysisDetectModerationLabelsConfigTypeDef definition
class MediaAnalysisDetectModerationLabelsConfigTypeDef(TypedDict):
MinConfidence: NotRequired[float],
ProjectVersion: NotRequired[str],
MediaAnalysisModelVersionsTypeDef#
# MediaAnalysisModelVersionsTypeDef definition
class MediaAnalysisModelVersionsTypeDef(TypedDict):
Moderation: NotRequired[str],
NotificationChannelTypeDef#
# NotificationChannelTypeDef definition
class NotificationChannelTypeDef(TypedDict):
SNSTopicArn: str,
RoleArn: str,
PutProjectPolicyRequestRequestTypeDef#
# PutProjectPolicyRequestRequestTypeDef definition
class PutProjectPolicyRequestRequestTypeDef(TypedDict):
ProjectArn: str,
PolicyName: str,
PolicyDocument: str,
PolicyRevisionId: NotRequired[str],
S3DestinationTypeDef#
# S3DestinationTypeDef definition
class S3DestinationTypeDef(TypedDict):
Bucket: NotRequired[str],
KeyPrefix: NotRequired[str],
SearchFacesRequestRequestTypeDef#
# SearchFacesRequestRequestTypeDef definition
class SearchFacesRequestRequestTypeDef(TypedDict):
CollectionId: str,
FaceId: str,
MaxFaces: NotRequired[int],
FaceMatchThreshold: NotRequired[float],
SearchUsersRequestRequestTypeDef#
# SearchUsersRequestRequestTypeDef definition
class SearchUsersRequestRequestTypeDef(TypedDict):
CollectionId: str,
UserId: NotRequired[str],
FaceId: NotRequired[str],
UserMatchThreshold: NotRequired[float],
MaxUsers: NotRequired[int],
SearchedFaceTypeDef#
# SearchedFaceTypeDef definition
class SearchedFaceTypeDef(TypedDict):
FaceId: NotRequired[str],
SearchedUserTypeDef#
# SearchedUserTypeDef definition
class SearchedUserTypeDef(TypedDict):
UserId: NotRequired[str],
ShotSegmentTypeDef#
# ShotSegmentTypeDef definition
class ShotSegmentTypeDef(TypedDict):
Index: NotRequired[int],
Confidence: NotRequired[float],
TechnicalCueSegmentTypeDef#
# TechnicalCueSegmentTypeDef definition
class TechnicalCueSegmentTypeDef(TypedDict):
Type: NotRequired[TechnicalCueTypeType], # (1)
Confidence: NotRequired[float],
StartProjectVersionRequestRequestTypeDef#
# StartProjectVersionRequestRequestTypeDef definition
class StartProjectVersionRequestRequestTypeDef(TypedDict):
ProjectVersionArn: str,
MinInferenceUnits: int,
MaxInferenceUnits: NotRequired[int],
StartShotDetectionFilterTypeDef#
# StartShotDetectionFilterTypeDef definition
class StartShotDetectionFilterTypeDef(TypedDict):
MinSegmentConfidence: NotRequired[float],
StreamProcessingStopSelectorTypeDef#
# StreamProcessingStopSelectorTypeDef definition
class StreamProcessingStopSelectorTypeDef(TypedDict):
MaxDurationInSeconds: NotRequired[int],
StopProjectVersionRequestRequestTypeDef#
# StopProjectVersionRequestRequestTypeDef definition
class StopProjectVersionRequestRequestTypeDef(TypedDict):
ProjectVersionArn: str,
StopStreamProcessorRequestRequestTypeDef#
# StopStreamProcessorRequestRequestTypeDef definition
class StopStreamProcessorRequestRequestTypeDef(TypedDict):
Name: str,
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
Tags: Mapping[str, str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
TagKeys: Sequence[str],
CopyProjectVersionResponseTypeDef#
# CopyProjectVersionResponseTypeDef definition
class CopyProjectVersionResponseTypeDef(TypedDict):
ProjectVersionArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateCollectionResponseTypeDef#
# CreateCollectionResponseTypeDef definition
class CreateCollectionResponseTypeDef(TypedDict):
StatusCode: int,
CollectionArn: str,
FaceModelVersion: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateDatasetResponseTypeDef#
# CreateDatasetResponseTypeDef definition
class CreateDatasetResponseTypeDef(TypedDict):
DatasetArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateFaceLivenessSessionResponseTypeDef#
# CreateFaceLivenessSessionResponseTypeDef definition
class CreateFaceLivenessSessionResponseTypeDef(TypedDict):
SessionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateProjectResponseTypeDef#
# CreateProjectResponseTypeDef definition
class CreateProjectResponseTypeDef(TypedDict):
ProjectArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateProjectVersionResponseTypeDef#
# CreateProjectVersionResponseTypeDef definition
class CreateProjectVersionResponseTypeDef(TypedDict):
ProjectVersionArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateStreamProcessorResponseTypeDef#
# CreateStreamProcessorResponseTypeDef definition
class CreateStreamProcessorResponseTypeDef(TypedDict):
StreamProcessorArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteCollectionResponseTypeDef#
# DeleteCollectionResponseTypeDef definition
class DeleteCollectionResponseTypeDef(TypedDict):
StatusCode: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteProjectResponseTypeDef#
# DeleteProjectResponseTypeDef definition
class DeleteProjectResponseTypeDef(TypedDict):
Status: ProjectStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteProjectVersionResponseTypeDef#
# DeleteProjectVersionResponseTypeDef definition
class DeleteProjectVersionResponseTypeDef(TypedDict):
Status: ProjectVersionStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeCollectionResponseTypeDef#
# DescribeCollectionResponseTypeDef definition
class DescribeCollectionResponseTypeDef(TypedDict):
FaceCount: int,
FaceModelVersion: str,
CollectionARN: str,
CreationTimestamp: datetime,
UserCount: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListCollectionsResponseTypeDef#
# ListCollectionsResponseTypeDef definition
class ListCollectionsResponseTypeDef(TypedDict):
CollectionIds: List[str],
FaceModelVersions: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
NextToken: NotRequired[str],
ListDatasetEntriesResponseTypeDef#
# ListDatasetEntriesResponseTypeDef definition
class ListDatasetEntriesResponseTypeDef(TypedDict):
DatasetEntries: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
NextToken: NotRequired[str],
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PutProjectPolicyResponseTypeDef#
# PutProjectPolicyResponseTypeDef definition
class PutProjectPolicyResponseTypeDef(TypedDict):
PolicyRevisionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartCelebrityRecognitionResponseTypeDef#
# StartCelebrityRecognitionResponseTypeDef definition
class StartCelebrityRecognitionResponseTypeDef(TypedDict):
JobId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartContentModerationResponseTypeDef#
# StartContentModerationResponseTypeDef definition
class StartContentModerationResponseTypeDef(TypedDict):
JobId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartFaceDetectionResponseTypeDef#
# StartFaceDetectionResponseTypeDef definition
class StartFaceDetectionResponseTypeDef(TypedDict):
JobId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartFaceSearchResponseTypeDef#
# StartFaceSearchResponseTypeDef definition
class StartFaceSearchResponseTypeDef(TypedDict):
JobId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartLabelDetectionResponseTypeDef#
# StartLabelDetectionResponseTypeDef definition
class StartLabelDetectionResponseTypeDef(TypedDict):
JobId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartMediaAnalysisJobResponseTypeDef#
# StartMediaAnalysisJobResponseTypeDef definition
class StartMediaAnalysisJobResponseTypeDef(TypedDict):
JobId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartPersonTrackingResponseTypeDef#
# StartPersonTrackingResponseTypeDef definition
class StartPersonTrackingResponseTypeDef(TypedDict):
JobId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartProjectVersionResponseTypeDef#
# StartProjectVersionResponseTypeDef definition
class StartProjectVersionResponseTypeDef(TypedDict):
Status: ProjectVersionStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
StartSegmentDetectionResponseTypeDef#
# StartSegmentDetectionResponseTypeDef definition
class StartSegmentDetectionResponseTypeDef(TypedDict):
JobId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartStreamProcessorResponseTypeDef#
# StartStreamProcessorResponseTypeDef definition
class StartStreamProcessorResponseTypeDef(TypedDict):
SessionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartTextDetectionResponseTypeDef#
# StartTextDetectionResponseTypeDef definition
class StartTextDetectionResponseTypeDef(TypedDict):
JobId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StopProjectVersionResponseTypeDef#
# StopProjectVersionResponseTypeDef definition
class StopProjectVersionResponseTypeDef(TypedDict):
Status: ProjectVersionStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AssociateFacesResponseTypeDef#
# AssociateFacesResponseTypeDef definition
class AssociateFacesResponseTypeDef(TypedDict):
AssociatedFaces: List[AssociatedFaceTypeDef], # (1)
UnsuccessfulFaceAssociations: List[UnsuccessfulFaceAssociationTypeDef], # (2)
UserStatus: UserStatusType, # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See AssociatedFaceTypeDef
- See UnsuccessfulFaceAssociationTypeDef
- See UserStatusType
- See ResponseMetadataTypeDef
ComparedSourceImageFaceTypeDef#
# ComparedSourceImageFaceTypeDef definition
class ComparedSourceImageFaceTypeDef(TypedDict):
BoundingBox: NotRequired[BoundingBoxTypeDef], # (1)
Confidence: NotRequired[float],
FaceTypeDef#
# FaceTypeDef definition
class FaceTypeDef(TypedDict):
FaceId: NotRequired[str],
BoundingBox: NotRequired[BoundingBoxTypeDef], # (1)
ImageId: NotRequired[str],
ExternalImageId: NotRequired[str],
Confidence: NotRequired[float],
IndexFacesModelVersion: NotRequired[str],
UserId: NotRequired[str],
AuditImageTypeDef#
# AuditImageTypeDef definition
class AuditImageTypeDef(TypedDict):
Bytes: NotRequired[bytes],
S3Object: NotRequired[S3ObjectTypeDef], # (1)
BoundingBox: NotRequired[BoundingBoxTypeDef], # (2)
- See S3ObjectTypeDef
- See BoundingBoxTypeDef
GroundTruthManifestTypeDef#
# GroundTruthManifestTypeDef definition
class GroundTruthManifestTypeDef(TypedDict):
S3Object: NotRequired[S3ObjectTypeDef], # (1)
- See S3ObjectTypeDef
MediaAnalysisInputTypeDef#
# MediaAnalysisInputTypeDef definition
class MediaAnalysisInputTypeDef(TypedDict):
S3Object: S3ObjectTypeDef, # (1)
- See S3ObjectTypeDef
MediaAnalysisManifestSummaryTypeDef#
# MediaAnalysisManifestSummaryTypeDef definition
class MediaAnalysisManifestSummaryTypeDef(TypedDict):
S3Object: NotRequired[S3ObjectTypeDef], # (1)
- See S3ObjectTypeDef
SummaryTypeDef#
# SummaryTypeDef definition
class SummaryTypeDef(TypedDict):
S3Object: NotRequired[S3ObjectTypeDef], # (1)
- See S3ObjectTypeDef
VideoTypeDef#
# VideoTypeDef definition
class VideoTypeDef(TypedDict):
S3Object: NotRequired[S3ObjectTypeDef], # (1)
- See S3ObjectTypeDef
StartTechnicalCueDetectionFilterTypeDef#
# StartTechnicalCueDetectionFilterTypeDef definition
class StartTechnicalCueDetectionFilterTypeDef(TypedDict):
MinSegmentConfidence: NotRequired[float],
BlackFrame: NotRequired[BlackFrameTypeDef], # (1)
DatasetChangesTypeDef#
# DatasetChangesTypeDef definition
class DatasetChangesTypeDef(TypedDict):
GroundTruth: BlobTypeDef,
ImageTypeDef#
# ImageTypeDef definition
class ImageTypeDef(TypedDict):
Bytes: NotRequired[BlobTypeDef],
S3Object: NotRequired[S3ObjectTypeDef], # (1)
- See S3ObjectTypeDef
GetCelebrityInfoResponseTypeDef#
# GetCelebrityInfoResponseTypeDef definition
class GetCelebrityInfoResponseTypeDef(TypedDict):
Urls: List[str],
Name: str,
KnownGender: KnownGenderTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ComparedFaceTypeDef#
# ComparedFaceTypeDef definition
class ComparedFaceTypeDef(TypedDict):
BoundingBox: NotRequired[BoundingBoxTypeDef], # (1)
Confidence: NotRequired[float],
Landmarks: NotRequired[List[LandmarkTypeDef]], # (2)
Pose: NotRequired[PoseTypeDef], # (3)
Quality: NotRequired[ImageQualityTypeDef], # (4)
Emotions: NotRequired[List[EmotionTypeDef]], # (5)
Smile: NotRequired[SmileTypeDef], # (6)
- See BoundingBoxTypeDef
- See LandmarkTypeDef
- See PoseTypeDef
- See ImageQualityTypeDef
- See EmotionTypeDef
- See SmileTypeDef
StreamProcessorSettingsForUpdateTypeDef#
# StreamProcessorSettingsForUpdateTypeDef definition
class StreamProcessorSettingsForUpdateTypeDef(TypedDict):
ConnectedHomeForUpdate: NotRequired[ConnectedHomeSettingsForUpdateTypeDef], # (1)
ContentModerationDetectionTypeDef#
# ContentModerationDetectionTypeDef definition
class ContentModerationDetectionTypeDef(TypedDict):
Timestamp: NotRequired[int],
ModerationLabel: NotRequired[ModerationLabelTypeDef], # (1)
StartTimestampMillis: NotRequired[int],
EndTimestampMillis: NotRequired[int],
DurationMillis: NotRequired[int],
ContentTypes: NotRequired[List[ContentTypeTypeDef]], # (2)
CopyProjectVersionRequestRequestTypeDef#
# CopyProjectVersionRequestRequestTypeDef definition
class CopyProjectVersionRequestRequestTypeDef(TypedDict):
SourceProjectArn: str,
SourceProjectVersionArn: str,
DestinationProjectArn: str,
VersionName: str,
OutputConfig: OutputConfigTypeDef, # (1)
Tags: NotRequired[Mapping[str, str]],
KmsKeyId: NotRequired[str],
EquipmentDetectionTypeDef#
# EquipmentDetectionTypeDef definition
class EquipmentDetectionTypeDef(TypedDict):
BoundingBox: NotRequired[BoundingBoxTypeDef], # (1)
Confidence: NotRequired[float],
Type: NotRequired[ProtectiveEquipmentTypeType], # (2)
CoversBodyPart: NotRequired[CoversBodyPartTypeDef], # (3)
CreateFaceLivenessSessionRequestSettingsTypeDef#
# CreateFaceLivenessSessionRequestSettingsTypeDef definition
class CreateFaceLivenessSessionRequestSettingsTypeDef(TypedDict):
OutputConfig: NotRequired[LivenessOutputConfigTypeDef], # (1)
AuditImagesLimit: NotRequired[int],
CustomizationFeatureConfigTypeDef#
# CustomizationFeatureConfigTypeDef definition
class CustomizationFeatureConfigTypeDef(TypedDict):
ContentModeration: NotRequired[CustomizationFeatureContentModerationConfigTypeDef], # (1)
DatasetDescriptionTypeDef#
# DatasetDescriptionTypeDef definition
class DatasetDescriptionTypeDef(TypedDict):
CreationTimestamp: NotRequired[datetime],
LastUpdatedTimestamp: NotRequired[datetime],
Status: NotRequired[DatasetStatusType], # (1)
StatusMessage: NotRequired[str],
StatusMessageCode: NotRequired[DatasetStatusMessageCodeType], # (2)
DatasetStats: NotRequired[DatasetStatsTypeDef], # (3)
DatasetLabelDescriptionTypeDef#
# DatasetLabelDescriptionTypeDef definition
class DatasetLabelDescriptionTypeDef(TypedDict):
LabelName: NotRequired[str],
LabelStats: NotRequired[DatasetLabelStatsTypeDef], # (1)
ProjectDescriptionTypeDef#
# ProjectDescriptionTypeDef definition
class ProjectDescriptionTypeDef(TypedDict):
ProjectArn: NotRequired[str],
CreationTimestamp: NotRequired[datetime],
Status: NotRequired[ProjectStatusType], # (1)
Datasets: NotRequired[List[DatasetMetadataTypeDef]], # (2)
Feature: NotRequired[CustomizationFeatureType], # (3)
AutoUpdate: NotRequired[ProjectAutoUpdateType], # (4)
- See ProjectStatusType
- See DatasetMetadataTypeDef
- See CustomizationFeatureType
- See ProjectAutoUpdateType
DeleteFacesResponseTypeDef#
# DeleteFacesResponseTypeDef definition
class DeleteFacesResponseTypeDef(TypedDict):
DeletedFaces: List[str],
UnsuccessfulFaceDeletions: List[UnsuccessfulFaceDeletionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeProjectVersionsRequestDescribeProjectVersionsPaginateTypeDef#
# DescribeProjectVersionsRequestDescribeProjectVersionsPaginateTypeDef definition
class DescribeProjectVersionsRequestDescribeProjectVersionsPaginateTypeDef(TypedDict):
ProjectArn: str,
VersionNames: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeProjectsRequestDescribeProjectsPaginateTypeDef#
# DescribeProjectsRequestDescribeProjectsPaginateTypeDef definition
class DescribeProjectsRequestDescribeProjectsPaginateTypeDef(TypedDict):
ProjectNames: NotRequired[Sequence[str]],
Features: NotRequired[Sequence[CustomizationFeatureType]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListCollectionsRequestListCollectionsPaginateTypeDef#
# ListCollectionsRequestListCollectionsPaginateTypeDef definition
class ListCollectionsRequestListCollectionsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListDatasetEntriesRequestListDatasetEntriesPaginateTypeDef#
# ListDatasetEntriesRequestListDatasetEntriesPaginateTypeDef definition
class ListDatasetEntriesRequestListDatasetEntriesPaginateTypeDef(TypedDict):
DatasetArn: str,
ContainsLabels: NotRequired[Sequence[str]],
Labeled: NotRequired[bool],
SourceRefContains: NotRequired[str],
HasErrors: NotRequired[bool],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListDatasetLabelsRequestListDatasetLabelsPaginateTypeDef#
# ListDatasetLabelsRequestListDatasetLabelsPaginateTypeDef definition
class ListDatasetLabelsRequestListDatasetLabelsPaginateTypeDef(TypedDict):
DatasetArn: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListFacesRequestListFacesPaginateTypeDef#
# ListFacesRequestListFacesPaginateTypeDef definition
class ListFacesRequestListFacesPaginateTypeDef(TypedDict):
CollectionId: str,
UserId: NotRequired[str],
FaceIds: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListProjectPoliciesRequestListProjectPoliciesPaginateTypeDef#
# ListProjectPoliciesRequestListProjectPoliciesPaginateTypeDef definition
class ListProjectPoliciesRequestListProjectPoliciesPaginateTypeDef(TypedDict):
ProjectArn: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListStreamProcessorsRequestListStreamProcessorsPaginateTypeDef#
# ListStreamProcessorsRequestListStreamProcessorsPaginateTypeDef definition
class ListStreamProcessorsRequestListStreamProcessorsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListUsersRequestListUsersPaginateTypeDef#
# ListUsersRequestListUsersPaginateTypeDef definition
class ListUsersRequestListUsersPaginateTypeDef(TypedDict):
CollectionId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeProjectVersionsRequestProjectVersionRunningWaitTypeDef#
# DescribeProjectVersionsRequestProjectVersionRunningWaitTypeDef definition
class DescribeProjectVersionsRequestProjectVersionRunningWaitTypeDef(TypedDict):
ProjectArn: str,
VersionNames: NotRequired[Sequence[str]],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeProjectVersionsRequestProjectVersionTrainingCompletedWaitTypeDef#
# DescribeProjectVersionsRequestProjectVersionTrainingCompletedWaitTypeDef definition
class DescribeProjectVersionsRequestProjectVersionTrainingCompletedWaitTypeDef(TypedDict):
ProjectArn: str,
VersionNames: NotRequired[Sequence[str]],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DetectLabelsImageBackgroundTypeDef#
# DetectLabelsImageBackgroundTypeDef definition
class DetectLabelsImageBackgroundTypeDef(TypedDict):
Quality: NotRequired[DetectLabelsImageQualityTypeDef], # (1)
DominantColors: NotRequired[List[DominantColorTypeDef]], # (2)
DetectLabelsImageForegroundTypeDef#
# DetectLabelsImageForegroundTypeDef definition
class DetectLabelsImageForegroundTypeDef(TypedDict):
Quality: NotRequired[DetectLabelsImageQualityTypeDef], # (1)
DominantColors: NotRequired[List[DominantColorTypeDef]], # (2)
InstanceTypeDef#
# InstanceTypeDef definition
class InstanceTypeDef(TypedDict):
BoundingBox: NotRequired[BoundingBoxTypeDef], # (1)
Confidence: NotRequired[float],
DominantColors: NotRequired[List[DominantColorTypeDef]], # (2)
DetectLabelsSettingsTypeDef#
# DetectLabelsSettingsTypeDef definition
class DetectLabelsSettingsTypeDef(TypedDict):
GeneralLabels: NotRequired[GeneralLabelsSettingsTypeDef], # (1)
ImageProperties: NotRequired[DetectLabelsImagePropertiesSettingsTypeDef], # (2)
LabelDetectionSettingsTypeDef#
# LabelDetectionSettingsTypeDef definition
class LabelDetectionSettingsTypeDef(TypedDict):
GeneralLabels: NotRequired[GeneralLabelsSettingsTypeDef], # (1)
DetectModerationLabelsResponseTypeDef#
# DetectModerationLabelsResponseTypeDef definition
class DetectModerationLabelsResponseTypeDef(TypedDict):
ModerationLabels: List[ModerationLabelTypeDef], # (1)
ModerationModelVersion: str,
HumanLoopActivationOutput: HumanLoopActivationOutputTypeDef, # (2)
ProjectVersion: str,
ContentTypes: List[ContentTypeTypeDef], # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See ModerationLabelTypeDef
- See HumanLoopActivationOutputTypeDef
- See ContentTypeTypeDef
- See ResponseMetadataTypeDef
DisassociateFacesResponseTypeDef#
# DisassociateFacesResponseTypeDef definition
class DisassociateFacesResponseTypeDef(TypedDict):
DisassociatedFaces: List[DisassociatedFaceTypeDef], # (1)
UnsuccessfulFaceDisassociations: List[UnsuccessfulFaceDisassociationTypeDef], # (2)
UserStatus: UserStatusType, # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See DisassociatedFaceTypeDef
- See UnsuccessfulFaceDisassociationTypeDef
- See UserStatusType
- See ResponseMetadataTypeDef
DistributeDatasetEntriesRequestRequestTypeDef#
# DistributeDatasetEntriesRequestRequestTypeDef definition
class DistributeDatasetEntriesRequestRequestTypeDef(TypedDict):
Datasets: Sequence[DistributeDatasetTypeDef], # (1)
FaceDetailTypeDef#
# FaceDetailTypeDef definition
class FaceDetailTypeDef(TypedDict):
BoundingBox: NotRequired[BoundingBoxTypeDef], # (1)
AgeRange: NotRequired[AgeRangeTypeDef], # (2)
Smile: NotRequired[SmileTypeDef], # (3)
Eyeglasses: NotRequired[EyeglassesTypeDef], # (4)
Sunglasses: NotRequired[SunglassesTypeDef], # (5)
Gender: NotRequired[GenderTypeDef], # (6)
Beard: NotRequired[BeardTypeDef], # (7)
Mustache: NotRequired[MustacheTypeDef], # (8)
EyesOpen: NotRequired[EyeOpenTypeDef], # (9)
MouthOpen: NotRequired[MouthOpenTypeDef], # (10)
Emotions: NotRequired[List[EmotionTypeDef]], # (11)
Landmarks: NotRequired[List[LandmarkTypeDef]], # (12)
Pose: NotRequired[PoseTypeDef], # (13)
Quality: NotRequired[ImageQualityTypeDef], # (14)
Confidence: NotRequired[float],
FaceOccluded: NotRequired[FaceOccludedTypeDef], # (15)
EyeDirection: NotRequired[EyeDirectionTypeDef], # (16)
- See BoundingBoxTypeDef
- See AgeRangeTypeDef
- See SmileTypeDef
- See EyeglassesTypeDef
- See SunglassesTypeDef
- See GenderTypeDef
- See BeardTypeDef
- See MustacheTypeDef
- See EyeOpenTypeDef
- See MouthOpenTypeDef
- See EmotionTypeDef
- See LandmarkTypeDef
- See PoseTypeDef
- See ImageQualityTypeDef
- See FaceOccludedTypeDef
- See EyeDirectionTypeDef
StreamProcessorSettingsOutputTypeDef#
# StreamProcessorSettingsOutputTypeDef definition
class StreamProcessorSettingsOutputTypeDef(TypedDict):
FaceSearch: NotRequired[FaceSearchSettingsTypeDef], # (1)
ConnectedHome: NotRequired[ConnectedHomeSettingsOutputTypeDef], # (2)
GeometryTypeDef#
# GeometryTypeDef definition
class GeometryTypeDef(TypedDict):
BoundingBox: NotRequired[BoundingBoxTypeDef], # (1)
Polygon: NotRequired[List[PointTypeDef]], # (2)
- See BoundingBoxTypeDef
- See PointTypeDef
RegionOfInterestOutputTypeDef#
# RegionOfInterestOutputTypeDef definition
class RegionOfInterestOutputTypeDef(TypedDict):
BoundingBox: NotRequired[BoundingBoxTypeDef], # (1)
Polygon: NotRequired[List[PointTypeDef]], # (2)
- See BoundingBoxTypeDef
- See PointTypeDef
RegionOfInterestTypeDef#
# RegionOfInterestTypeDef definition
class RegionOfInterestTypeDef(TypedDict):
BoundingBox: NotRequired[BoundingBoxTypeDef], # (1)
Polygon: NotRequired[Sequence[PointTypeDef]], # (2)
- See BoundingBoxTypeDef
- See PointTypeDef
HumanLoopConfigTypeDef#
# HumanLoopConfigTypeDef definition
class HumanLoopConfigTypeDef(TypedDict):
HumanLoopName: str,
FlowDefinitionArn: str,
DataAttributes: NotRequired[HumanLoopDataAttributesTypeDef], # (1)
StreamProcessingStartSelectorTypeDef#
# StreamProcessingStartSelectorTypeDef definition
class StreamProcessingStartSelectorTypeDef(TypedDict):
KVSStreamStartSelector: NotRequired[KinesisVideoStreamStartSelectorTypeDef], # (1)
StreamProcessorInputTypeDef#
# StreamProcessorInputTypeDef definition
class StreamProcessorInputTypeDef(TypedDict):
KinesisVideoStream: NotRequired[KinesisVideoStreamTypeDef], # (1)
ListProjectPoliciesResponseTypeDef#
# ListProjectPoliciesResponseTypeDef definition
class ListProjectPoliciesResponseTypeDef(TypedDict):
ProjectPolicies: List[ProjectPolicyTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListStreamProcessorsResponseTypeDef#
# ListStreamProcessorsResponseTypeDef definition
class ListStreamProcessorsResponseTypeDef(TypedDict):
StreamProcessors: List[StreamProcessorTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListUsersResponseTypeDef#
# ListUsersResponseTypeDef definition
class ListUsersResponseTypeDef(TypedDict):
Users: List[UserTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See UserTypeDef
- See ResponseMetadataTypeDef
UserMatchTypeDef#
# UserMatchTypeDef definition
class UserMatchTypeDef(TypedDict):
Similarity: NotRequired[float],
User: NotRequired[MatchedUserTypeDef], # (1)
MediaAnalysisOperationsConfigTypeDef#
# MediaAnalysisOperationsConfigTypeDef definition
class MediaAnalysisOperationsConfigTypeDef(TypedDict):
DetectModerationLabels: NotRequired[MediaAnalysisDetectModerationLabelsConfigTypeDef], # (1)
MediaAnalysisResultsTypeDef#
# MediaAnalysisResultsTypeDef definition
class MediaAnalysisResultsTypeDef(TypedDict):
S3Object: NotRequired[S3ObjectTypeDef], # (1)
ModelVersions: NotRequired[MediaAnalysisModelVersionsTypeDef], # (2)
StreamProcessorOutputTypeDef#
# StreamProcessorOutputTypeDef definition
class StreamProcessorOutputTypeDef(TypedDict):
KinesisDataStream: NotRequired[KinesisDataStreamTypeDef], # (1)
S3Destination: NotRequired[S3DestinationTypeDef], # (2)
SegmentDetectionTypeDef#
# SegmentDetectionTypeDef definition
class SegmentDetectionTypeDef(TypedDict):
Type: NotRequired[SegmentTypeType], # (1)
StartTimestampMillis: NotRequired[int],
EndTimestampMillis: NotRequired[int],
DurationMillis: NotRequired[int],
StartTimecodeSMPTE: NotRequired[str],
EndTimecodeSMPTE: NotRequired[str],
DurationSMPTE: NotRequired[str],
TechnicalCueSegment: NotRequired[TechnicalCueSegmentTypeDef], # (2)
ShotSegment: NotRequired[ShotSegmentTypeDef], # (3)
StartFrameNumber: NotRequired[int],
EndFrameNumber: NotRequired[int],
DurationFrames: NotRequired[int],
FaceMatchTypeDef#
# FaceMatchTypeDef definition
class FaceMatchTypeDef(TypedDict):
Similarity: NotRequired[float],
Face: NotRequired[FaceTypeDef], # (1)
- See FaceTypeDef
ListFacesResponseTypeDef#
# ListFacesResponseTypeDef definition
class ListFacesResponseTypeDef(TypedDict):
Faces: List[FaceTypeDef], # (1)
FaceModelVersion: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See FaceTypeDef
- See ResponseMetadataTypeDef
GetFaceLivenessSessionResultsResponseTypeDef#
# GetFaceLivenessSessionResultsResponseTypeDef definition
class GetFaceLivenessSessionResultsResponseTypeDef(TypedDict):
SessionId: str,
Status: LivenessSessionStatusType, # (1)
Confidence: float,
ReferenceImage: AuditImageTypeDef, # (2)
AuditImages: List[AuditImageTypeDef], # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See LivenessSessionStatusType
- See AuditImageTypeDef
- See AuditImageTypeDef
- See ResponseMetadataTypeDef
AssetTypeDef#
# AssetTypeDef definition
class AssetTypeDef(TypedDict):
GroundTruthManifest: NotRequired[GroundTruthManifestTypeDef], # (1)
DatasetSourceTypeDef#
# DatasetSourceTypeDef definition
class DatasetSourceTypeDef(TypedDict):
GroundTruthManifest: NotRequired[GroundTruthManifestTypeDef], # (1)
DatasetArn: NotRequired[str],
EvaluationResultTypeDef#
# EvaluationResultTypeDef definition
class EvaluationResultTypeDef(TypedDict):
F1Score: NotRequired[float],
Summary: NotRequired[SummaryTypeDef], # (1)
- See SummaryTypeDef
StartCelebrityRecognitionRequestRequestTypeDef#
# StartCelebrityRecognitionRequestRequestTypeDef definition
class StartCelebrityRecognitionRequestRequestTypeDef(TypedDict):
Video: VideoTypeDef, # (1)
ClientRequestToken: NotRequired[str],
NotificationChannel: NotRequired[NotificationChannelTypeDef], # (2)
JobTag: NotRequired[str],
StartContentModerationRequestRequestTypeDef#
# StartContentModerationRequestRequestTypeDef definition
class StartContentModerationRequestRequestTypeDef(TypedDict):
Video: VideoTypeDef, # (1)
MinConfidence: NotRequired[float],
ClientRequestToken: NotRequired[str],
NotificationChannel: NotRequired[NotificationChannelTypeDef], # (2)
JobTag: NotRequired[str],
StartFaceDetectionRequestRequestTypeDef#
# StartFaceDetectionRequestRequestTypeDef definition
class StartFaceDetectionRequestRequestTypeDef(TypedDict):
Video: VideoTypeDef, # (1)
ClientRequestToken: NotRequired[str],
NotificationChannel: NotRequired[NotificationChannelTypeDef], # (2)
FaceAttributes: NotRequired[FaceAttributesType], # (3)
JobTag: NotRequired[str],
- See VideoTypeDef
- See NotificationChannelTypeDef
- See FaceAttributesType
StartFaceSearchRequestRequestTypeDef#
# StartFaceSearchRequestRequestTypeDef definition
class StartFaceSearchRequestRequestTypeDef(TypedDict):
Video: VideoTypeDef, # (1)
CollectionId: str,
ClientRequestToken: NotRequired[str],
FaceMatchThreshold: NotRequired[float],
NotificationChannel: NotRequired[NotificationChannelTypeDef], # (2)
JobTag: NotRequired[str],
StartPersonTrackingRequestRequestTypeDef#
# StartPersonTrackingRequestRequestTypeDef definition
class StartPersonTrackingRequestRequestTypeDef(TypedDict):
Video: VideoTypeDef, # (1)
ClientRequestToken: NotRequired[str],
NotificationChannel: NotRequired[NotificationChannelTypeDef], # (2)
JobTag: NotRequired[str],
StartSegmentDetectionFiltersTypeDef#
# StartSegmentDetectionFiltersTypeDef definition
class StartSegmentDetectionFiltersTypeDef(TypedDict):
TechnicalCueFilter: NotRequired[StartTechnicalCueDetectionFilterTypeDef], # (1)
ShotFilter: NotRequired[StartShotDetectionFilterTypeDef], # (2)
UpdateDatasetEntriesRequestRequestTypeDef#
# UpdateDatasetEntriesRequestRequestTypeDef definition
class UpdateDatasetEntriesRequestRequestTypeDef(TypedDict):
DatasetArn: str,
Changes: DatasetChangesTypeDef, # (1)
CompareFacesRequestRequestTypeDef#
# CompareFacesRequestRequestTypeDef definition
class CompareFacesRequestRequestTypeDef(TypedDict):
SourceImage: ImageTypeDef, # (1)
TargetImage: ImageTypeDef, # (1)
SimilarityThreshold: NotRequired[float],
QualityFilter: NotRequired[QualityFilterType], # (3)
- See ImageTypeDef
- See ImageTypeDef
- See QualityFilterType
DetectCustomLabelsRequestRequestTypeDef#
# DetectCustomLabelsRequestRequestTypeDef definition
class DetectCustomLabelsRequestRequestTypeDef(TypedDict):
ProjectVersionArn: str,
Image: ImageTypeDef, # (1)
MaxResults: NotRequired[int],
MinConfidence: NotRequired[float],
- See ImageTypeDef
DetectFacesRequestRequestTypeDef#
# DetectFacesRequestRequestTypeDef definition
class DetectFacesRequestRequestTypeDef(TypedDict):
Image: ImageTypeDef, # (1)
Attributes: NotRequired[Sequence[AttributeType]], # (2)
- See ImageTypeDef
- See AttributeType
DetectProtectiveEquipmentRequestRequestTypeDef#
# DetectProtectiveEquipmentRequestRequestTypeDef definition
class DetectProtectiveEquipmentRequestRequestTypeDef(TypedDict):
Image: ImageTypeDef, # (1)
SummarizationAttributes: NotRequired[ProtectiveEquipmentSummarizationAttributesTypeDef], # (2)
IndexFacesRequestRequestTypeDef#
# IndexFacesRequestRequestTypeDef definition
class IndexFacesRequestRequestTypeDef(TypedDict):
CollectionId: str,
Image: ImageTypeDef, # (1)
ExternalImageId: NotRequired[str],
DetectionAttributes: NotRequired[Sequence[AttributeType]], # (2)
MaxFaces: NotRequired[int],
QualityFilter: NotRequired[QualityFilterType], # (3)
- See ImageTypeDef
- See AttributeType
- See QualityFilterType
RecognizeCelebritiesRequestRequestTypeDef#
# RecognizeCelebritiesRequestRequestTypeDef definition
class RecognizeCelebritiesRequestRequestTypeDef(TypedDict):
Image: ImageTypeDef, # (1)
- See ImageTypeDef
SearchFacesByImageRequestRequestTypeDef#
# SearchFacesByImageRequestRequestTypeDef definition
class SearchFacesByImageRequestRequestTypeDef(TypedDict):
CollectionId: str,
Image: ImageTypeDef, # (1)
MaxFaces: NotRequired[int],
FaceMatchThreshold: NotRequired[float],
QualityFilter: NotRequired[QualityFilterType], # (2)
- See ImageTypeDef
- See QualityFilterType
SearchUsersByImageRequestRequestTypeDef#
# SearchUsersByImageRequestRequestTypeDef definition
class SearchUsersByImageRequestRequestTypeDef(TypedDict):
CollectionId: str,
Image: ImageTypeDef, # (1)
UserMatchThreshold: NotRequired[float],
MaxUsers: NotRequired[int],
QualityFilter: NotRequired[QualityFilterType], # (2)
- See ImageTypeDef
- See QualityFilterType
CelebrityTypeDef#
# CelebrityTypeDef definition
class CelebrityTypeDef(TypedDict):
Urls: NotRequired[List[str]],
Name: NotRequired[str],
Id: NotRequired[str],
Face: NotRequired[ComparedFaceTypeDef], # (1)
MatchConfidence: NotRequired[float],
KnownGender: NotRequired[KnownGenderTypeDef], # (2)
CompareFacesMatchTypeDef#
# CompareFacesMatchTypeDef definition
class CompareFacesMatchTypeDef(TypedDict):
Similarity: NotRequired[float],
Face: NotRequired[ComparedFaceTypeDef], # (1)
StreamProcessorSettingsTypeDef#
# StreamProcessorSettingsTypeDef definition
class StreamProcessorSettingsTypeDef(TypedDict):
FaceSearch: NotRequired[FaceSearchSettingsTypeDef], # (1)
ConnectedHome: NotRequired[ConnectedHomeSettingsUnionTypeDef], # (2)
GetContentModerationResponseTypeDef#
# GetContentModerationResponseTypeDef definition
class GetContentModerationResponseTypeDef(TypedDict):
JobStatus: VideoJobStatusType, # (1)
StatusMessage: str,
VideoMetadata: VideoMetadataTypeDef, # (2)
ModerationLabels: List[ContentModerationDetectionTypeDef], # (3)
ModerationModelVersion: str,
JobId: str,
Video: VideoTypeDef, # (4)
JobTag: str,
GetRequestMetadata: GetContentModerationRequestMetadataTypeDef, # (5)
ResponseMetadata: ResponseMetadataTypeDef, # (6)
NextToken: NotRequired[str],
- See VideoJobStatusType
- See VideoMetadataTypeDef
- See ContentModerationDetectionTypeDef
- See VideoTypeDef
- See GetContentModerationRequestMetadataTypeDef
- See ResponseMetadataTypeDef
ProtectiveEquipmentBodyPartTypeDef#
# ProtectiveEquipmentBodyPartTypeDef definition
class ProtectiveEquipmentBodyPartTypeDef(TypedDict):
Name: NotRequired[BodyPartType], # (1)
Confidence: NotRequired[float],
EquipmentDetections: NotRequired[List[EquipmentDetectionTypeDef]], # (2)
CreateFaceLivenessSessionRequestRequestTypeDef#
# CreateFaceLivenessSessionRequestRequestTypeDef definition
class CreateFaceLivenessSessionRequestRequestTypeDef(TypedDict):
KmsKeyId: NotRequired[str],
Settings: NotRequired[CreateFaceLivenessSessionRequestSettingsTypeDef], # (1)
ClientRequestToken: NotRequired[str],
DescribeDatasetResponseTypeDef#
# DescribeDatasetResponseTypeDef definition
class DescribeDatasetResponseTypeDef(TypedDict):
DatasetDescription: DatasetDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListDatasetLabelsResponseTypeDef#
# ListDatasetLabelsResponseTypeDef definition
class ListDatasetLabelsResponseTypeDef(TypedDict):
DatasetLabelDescriptions: List[DatasetLabelDescriptionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
DescribeProjectsResponseTypeDef#
# DescribeProjectsResponseTypeDef definition
class DescribeProjectsResponseTypeDef(TypedDict):
ProjectDescriptions: List[ProjectDescriptionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
DetectLabelsImagePropertiesTypeDef#
# DetectLabelsImagePropertiesTypeDef definition
class DetectLabelsImagePropertiesTypeDef(TypedDict):
Quality: NotRequired[DetectLabelsImageQualityTypeDef], # (1)
DominantColors: NotRequired[List[DominantColorTypeDef]], # (2)
Foreground: NotRequired[DetectLabelsImageForegroundTypeDef], # (3)
Background: NotRequired[DetectLabelsImageBackgroundTypeDef], # (4)
- See DetectLabelsImageQualityTypeDef
- See DominantColorTypeDef
- See DetectLabelsImageForegroundTypeDef
- See DetectLabelsImageBackgroundTypeDef
LabelTypeDef#
# LabelTypeDef definition
class LabelTypeDef(TypedDict):
Name: NotRequired[str],
Confidence: NotRequired[float],
Instances: NotRequired[List[InstanceTypeDef]], # (1)
Parents: NotRequired[List[ParentTypeDef]], # (2)
Aliases: NotRequired[List[LabelAliasTypeDef]], # (3)
Categories: NotRequired[List[LabelCategoryTypeDef]], # (4)
- See InstanceTypeDef
- See ParentTypeDef
- See LabelAliasTypeDef
- See LabelCategoryTypeDef
DetectLabelsRequestRequestTypeDef#
# DetectLabelsRequestRequestTypeDef definition
class DetectLabelsRequestRequestTypeDef(TypedDict):
Image: ImageTypeDef, # (1)
MaxLabels: NotRequired[int],
MinConfidence: NotRequired[float],
Features: NotRequired[Sequence[DetectLabelsFeatureNameType]], # (2)
Settings: NotRequired[DetectLabelsSettingsTypeDef], # (3)
StartLabelDetectionRequestRequestTypeDef#
# StartLabelDetectionRequestRequestTypeDef definition
class StartLabelDetectionRequestRequestTypeDef(TypedDict):
Video: VideoTypeDef, # (1)
ClientRequestToken: NotRequired[str],
MinConfidence: NotRequired[float],
NotificationChannel: NotRequired[NotificationChannelTypeDef], # (2)
JobTag: NotRequired[str],
Features: NotRequired[Sequence[LabelDetectionFeatureNameType]], # (3)
Settings: NotRequired[LabelDetectionSettingsTypeDef], # (4)
- See VideoTypeDef
- See NotificationChannelTypeDef
- See LabelDetectionFeatureNameType
- See LabelDetectionSettingsTypeDef
CelebrityDetailTypeDef#
# CelebrityDetailTypeDef definition
class CelebrityDetailTypeDef(TypedDict):
Urls: NotRequired[List[str]],
Name: NotRequired[str],
Id: NotRequired[str],
Confidence: NotRequired[float],
BoundingBox: NotRequired[BoundingBoxTypeDef], # (1)
Face: NotRequired[FaceDetailTypeDef], # (2)
KnownGender: NotRequired[KnownGenderTypeDef], # (3)
- See BoundingBoxTypeDef
- See FaceDetailTypeDef
- See KnownGenderTypeDef
DetectFacesResponseTypeDef#
# DetectFacesResponseTypeDef definition
class DetectFacesResponseTypeDef(TypedDict):
FaceDetails: List[FaceDetailTypeDef], # (1)
OrientationCorrection: OrientationCorrectionType, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
FaceDetectionTypeDef#
# FaceDetectionTypeDef definition
class FaceDetectionTypeDef(TypedDict):
Timestamp: NotRequired[int],
Face: NotRequired[FaceDetailTypeDef], # (1)
FaceRecordTypeDef#
# FaceRecordTypeDef definition
class FaceRecordTypeDef(TypedDict):
Face: NotRequired[FaceTypeDef], # (1)
FaceDetail: NotRequired[FaceDetailTypeDef], # (2)
- See FaceTypeDef
- See FaceDetailTypeDef
PersonDetailTypeDef#
# PersonDetailTypeDef definition
class PersonDetailTypeDef(TypedDict):
Index: NotRequired[int],
BoundingBox: NotRequired[BoundingBoxTypeDef], # (1)
Face: NotRequired[FaceDetailTypeDef], # (2)
- See BoundingBoxTypeDef
- See FaceDetailTypeDef
SearchedFaceDetailsTypeDef#
# SearchedFaceDetailsTypeDef definition
class SearchedFaceDetailsTypeDef(TypedDict):
FaceDetail: NotRequired[FaceDetailTypeDef], # (1)
UnindexedFaceTypeDef#
# UnindexedFaceTypeDef definition
class UnindexedFaceTypeDef(TypedDict):
Reasons: NotRequired[List[ReasonType]], # (1)
FaceDetail: NotRequired[FaceDetailTypeDef], # (2)
- See ReasonType
- See FaceDetailTypeDef
UnsearchedFaceTypeDef#
# UnsearchedFaceTypeDef definition
class UnsearchedFaceTypeDef(TypedDict):
FaceDetails: NotRequired[FaceDetailTypeDef], # (1)
Reasons: NotRequired[List[UnsearchedFaceReasonType]], # (2)
CustomLabelTypeDef#
# CustomLabelTypeDef definition
class CustomLabelTypeDef(TypedDict):
Name: NotRequired[str],
Confidence: NotRequired[float],
Geometry: NotRequired[GeometryTypeDef], # (1)
- See GeometryTypeDef
TextDetectionTypeDef#
# TextDetectionTypeDef definition
class TextDetectionTypeDef(TypedDict):
DetectedText: NotRequired[str],
Type: NotRequired[TextTypesType], # (1)
Id: NotRequired[int],
ParentId: NotRequired[int],
Confidence: NotRequired[float],
Geometry: NotRequired[GeometryTypeDef], # (2)
- See TextTypesType
- See GeometryTypeDef
UpdateStreamProcessorRequestRequestTypeDef#
# UpdateStreamProcessorRequestRequestTypeDef definition
class UpdateStreamProcessorRequestRequestTypeDef(TypedDict):
Name: str,
SettingsForUpdate: NotRequired[StreamProcessorSettingsForUpdateTypeDef], # (1)
RegionsOfInterestForUpdate: NotRequired[Sequence[RegionOfInterestTypeDef]], # (2)
DataSharingPreferenceForUpdate: NotRequired[StreamProcessorDataSharingPreferenceTypeDef], # (3)
ParametersToDelete: NotRequired[Sequence[StreamProcessorParameterToDeleteType]], # (4)
- See StreamProcessorSettingsForUpdateTypeDef
- See RegionOfInterestTypeDef
- See StreamProcessorDataSharingPreferenceTypeDef
- See StreamProcessorParameterToDeleteType
DetectModerationLabelsRequestRequestTypeDef#
# DetectModerationLabelsRequestRequestTypeDef definition
class DetectModerationLabelsRequestRequestTypeDef(TypedDict):
Image: ImageTypeDef, # (1)
MinConfidence: NotRequired[float],
HumanLoopConfig: NotRequired[HumanLoopConfigTypeDef], # (2)
ProjectVersion: NotRequired[str],
- See ImageTypeDef
- See HumanLoopConfigTypeDef
StartStreamProcessorRequestRequestTypeDef#
# StartStreamProcessorRequestRequestTypeDef definition
class StartStreamProcessorRequestRequestTypeDef(TypedDict):
Name: str,
StartSelector: NotRequired[StreamProcessingStartSelectorTypeDef], # (1)
StopSelector: NotRequired[StreamProcessingStopSelectorTypeDef], # (2)
SearchUsersResponseTypeDef#
# SearchUsersResponseTypeDef definition
class SearchUsersResponseTypeDef(TypedDict):
UserMatches: List[UserMatchTypeDef], # (1)
FaceModelVersion: str,
SearchedFace: SearchedFaceTypeDef, # (2)
SearchedUser: SearchedUserTypeDef, # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
StartMediaAnalysisJobRequestRequestTypeDef#
# StartMediaAnalysisJobRequestRequestTypeDef definition
class StartMediaAnalysisJobRequestRequestTypeDef(TypedDict):
OperationsConfig: MediaAnalysisOperationsConfigTypeDef, # (1)
Input: MediaAnalysisInputTypeDef, # (2)
OutputConfig: MediaAnalysisOutputConfigTypeDef, # (3)
ClientRequestToken: NotRequired[str],
JobName: NotRequired[str],
KmsKeyId: NotRequired[str],
- See MediaAnalysisOperationsConfigTypeDef
- See MediaAnalysisInputTypeDef
- See MediaAnalysisOutputConfigTypeDef
GetMediaAnalysisJobResponseTypeDef#
# GetMediaAnalysisJobResponseTypeDef definition
class GetMediaAnalysisJobResponseTypeDef(TypedDict):
JobId: str,
JobName: str,
OperationsConfig: MediaAnalysisOperationsConfigTypeDef, # (1)
Status: MediaAnalysisJobStatusType, # (2)
FailureDetails: MediaAnalysisJobFailureDetailsTypeDef, # (3)
CreationTimestamp: datetime,
CompletionTimestamp: datetime,
Input: MediaAnalysisInputTypeDef, # (4)
OutputConfig: MediaAnalysisOutputConfigTypeDef, # (5)
KmsKeyId: str,
Results: MediaAnalysisResultsTypeDef, # (6)
ManifestSummary: MediaAnalysisManifestSummaryTypeDef, # (7)
ResponseMetadata: ResponseMetadataTypeDef, # (8)
- See MediaAnalysisOperationsConfigTypeDef
- See MediaAnalysisJobStatusType
- See MediaAnalysisJobFailureDetailsTypeDef
- See MediaAnalysisInputTypeDef
- See MediaAnalysisOutputConfigTypeDef
- See MediaAnalysisResultsTypeDef
- See MediaAnalysisManifestSummaryTypeDef
- See ResponseMetadataTypeDef
MediaAnalysisJobDescriptionTypeDef#
# MediaAnalysisJobDescriptionTypeDef definition
class MediaAnalysisJobDescriptionTypeDef(TypedDict):
JobId: str,
OperationsConfig: MediaAnalysisOperationsConfigTypeDef, # (1)
Status: MediaAnalysisJobStatusType, # (2)
CreationTimestamp: datetime,
Input: MediaAnalysisInputTypeDef, # (4)
OutputConfig: MediaAnalysisOutputConfigTypeDef, # (5)
JobName: NotRequired[str],
FailureDetails: NotRequired[MediaAnalysisJobFailureDetailsTypeDef], # (3)
CompletionTimestamp: NotRequired[datetime],
KmsKeyId: NotRequired[str],
Results: NotRequired[MediaAnalysisResultsTypeDef], # (6)
ManifestSummary: NotRequired[MediaAnalysisManifestSummaryTypeDef], # (7)
- See MediaAnalysisOperationsConfigTypeDef
- See MediaAnalysisJobStatusType
- See MediaAnalysisJobFailureDetailsTypeDef
- See MediaAnalysisInputTypeDef
- See MediaAnalysisOutputConfigTypeDef
- See MediaAnalysisResultsTypeDef
- See MediaAnalysisManifestSummaryTypeDef
DescribeStreamProcessorResponseTypeDef#
# DescribeStreamProcessorResponseTypeDef definition
class DescribeStreamProcessorResponseTypeDef(TypedDict):
Name: str,
StreamProcessorArn: str,
Status: StreamProcessorStatusType, # (1)
StatusMessage: str,
CreationTimestamp: datetime,
LastUpdateTimestamp: datetime,
Input: StreamProcessorInputTypeDef, # (2)
Output: StreamProcessorOutputTypeDef, # (3)
RoleArn: str,
Settings: StreamProcessorSettingsOutputTypeDef, # (4)
NotificationChannel: StreamProcessorNotificationChannelTypeDef, # (5)
KmsKeyId: str,
RegionsOfInterest: List[RegionOfInterestOutputTypeDef], # (6)
DataSharingPreference: StreamProcessorDataSharingPreferenceTypeDef, # (7)
ResponseMetadata: ResponseMetadataTypeDef, # (8)
- See StreamProcessorStatusType
- See StreamProcessorInputTypeDef
- See StreamProcessorOutputTypeDef
- See StreamProcessorSettingsOutputTypeDef
- See StreamProcessorNotificationChannelTypeDef
- See RegionOfInterestOutputTypeDef
- See StreamProcessorDataSharingPreferenceTypeDef
- See ResponseMetadataTypeDef
GetSegmentDetectionResponseTypeDef#
# GetSegmentDetectionResponseTypeDef definition
class GetSegmentDetectionResponseTypeDef(TypedDict):
JobStatus: VideoJobStatusType, # (1)
StatusMessage: str,
VideoMetadata: List[VideoMetadataTypeDef], # (2)
AudioMetadata: List[AudioMetadataTypeDef], # (3)
Segments: List[SegmentDetectionTypeDef], # (4)
SelectedSegmentTypes: List[SegmentTypeInfoTypeDef], # (5)
JobId: str,
Video: VideoTypeDef, # (6)
JobTag: str,
ResponseMetadata: ResponseMetadataTypeDef, # (7)
NextToken: NotRequired[str],
- See VideoJobStatusType
- See VideoMetadataTypeDef
- See AudioMetadataTypeDef
- See SegmentDetectionTypeDef
- See SegmentTypeInfoTypeDef
- See VideoTypeDef
- See ResponseMetadataTypeDef
SearchFacesByImageResponseTypeDef#
# SearchFacesByImageResponseTypeDef definition
class SearchFacesByImageResponseTypeDef(TypedDict):
SearchedFaceBoundingBox: BoundingBoxTypeDef, # (1)
SearchedFaceConfidence: float,
FaceMatches: List[FaceMatchTypeDef], # (2)
FaceModelVersion: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
SearchFacesResponseTypeDef#
# SearchFacesResponseTypeDef definition
class SearchFacesResponseTypeDef(TypedDict):
SearchedFaceId: str,
FaceMatches: List[FaceMatchTypeDef], # (1)
FaceModelVersion: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
TestingDataOutputTypeDef#
# TestingDataOutputTypeDef definition
class TestingDataOutputTypeDef(TypedDict):
Assets: NotRequired[List[AssetTypeDef]], # (1)
AutoCreate: NotRequired[bool],
- See AssetTypeDef
TestingDataTypeDef#
# TestingDataTypeDef definition
class TestingDataTypeDef(TypedDict):
Assets: NotRequired[Sequence[AssetTypeDef]], # (1)
AutoCreate: NotRequired[bool],
- See AssetTypeDef
TrainingDataOutputTypeDef#
# TrainingDataOutputTypeDef definition
class TrainingDataOutputTypeDef(TypedDict):
Assets: NotRequired[List[AssetTypeDef]], # (1)
- See AssetTypeDef
TrainingDataTypeDef#
# TrainingDataTypeDef definition
class TrainingDataTypeDef(TypedDict):
Assets: NotRequired[Sequence[AssetTypeDef]], # (1)
- See AssetTypeDef
ValidationDataTypeDef#
# ValidationDataTypeDef definition
class ValidationDataTypeDef(TypedDict):
Assets: NotRequired[List[AssetTypeDef]], # (1)
- See AssetTypeDef
CreateDatasetRequestRequestTypeDef#
# CreateDatasetRequestRequestTypeDef definition
class CreateDatasetRequestRequestTypeDef(TypedDict):
DatasetType: DatasetTypeType, # (1)
ProjectArn: str,
DatasetSource: NotRequired[DatasetSourceTypeDef], # (2)
Tags: NotRequired[Mapping[str, str]],
- See DatasetTypeType
- See DatasetSourceTypeDef
StartSegmentDetectionRequestRequestTypeDef#
# StartSegmentDetectionRequestRequestTypeDef definition
class StartSegmentDetectionRequestRequestTypeDef(TypedDict):
Video: VideoTypeDef, # (1)
SegmentTypes: Sequence[SegmentTypeType], # (2)
ClientRequestToken: NotRequired[str],
NotificationChannel: NotRequired[NotificationChannelTypeDef], # (3)
JobTag: NotRequired[str],
Filters: NotRequired[StartSegmentDetectionFiltersTypeDef], # (4)
- See VideoTypeDef
- See SegmentTypeType
- See NotificationChannelTypeDef
- See StartSegmentDetectionFiltersTypeDef
RecognizeCelebritiesResponseTypeDef#
# RecognizeCelebritiesResponseTypeDef definition
class RecognizeCelebritiesResponseTypeDef(TypedDict):
CelebrityFaces: List[CelebrityTypeDef], # (1)
UnrecognizedFaces: List[ComparedFaceTypeDef], # (2)
OrientationCorrection: OrientationCorrectionType, # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See CelebrityTypeDef
- See ComparedFaceTypeDef
- See OrientationCorrectionType
- See ResponseMetadataTypeDef
CompareFacesResponseTypeDef#
# CompareFacesResponseTypeDef definition
class CompareFacesResponseTypeDef(TypedDict):
SourceImageFace: ComparedSourceImageFaceTypeDef, # (1)
FaceMatches: List[CompareFacesMatchTypeDef], # (2)
UnmatchedFaces: List[ComparedFaceTypeDef], # (3)
SourceImageOrientationCorrection: OrientationCorrectionType, # (4)
TargetImageOrientationCorrection: OrientationCorrectionType, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (6)
- See ComparedSourceImageFaceTypeDef
- See CompareFacesMatchTypeDef
- See ComparedFaceTypeDef
- See OrientationCorrectionType
- See OrientationCorrectionType
- See ResponseMetadataTypeDef
ProtectiveEquipmentPersonTypeDef#
# ProtectiveEquipmentPersonTypeDef definition
class ProtectiveEquipmentPersonTypeDef(TypedDict):
BodyParts: NotRequired[List[ProtectiveEquipmentBodyPartTypeDef]], # (1)
BoundingBox: NotRequired[BoundingBoxTypeDef], # (2)
Confidence: NotRequired[float],
Id: NotRequired[int],
DetectLabelsResponseTypeDef#
# DetectLabelsResponseTypeDef definition
class DetectLabelsResponseTypeDef(TypedDict):
Labels: List[LabelTypeDef], # (1)
OrientationCorrection: OrientationCorrectionType, # (2)
LabelModelVersion: str,
ImageProperties: DetectLabelsImagePropertiesTypeDef, # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See LabelTypeDef
- See OrientationCorrectionType
- See DetectLabelsImagePropertiesTypeDef
- See ResponseMetadataTypeDef
LabelDetectionTypeDef#
# LabelDetectionTypeDef definition
class LabelDetectionTypeDef(TypedDict):
Timestamp: NotRequired[int],
Label: NotRequired[LabelTypeDef], # (1)
StartTimestampMillis: NotRequired[int],
EndTimestampMillis: NotRequired[int],
DurationMillis: NotRequired[int],
- See LabelTypeDef
CelebrityRecognitionTypeDef#
# CelebrityRecognitionTypeDef definition
class CelebrityRecognitionTypeDef(TypedDict):
Timestamp: NotRequired[int],
Celebrity: NotRequired[CelebrityDetailTypeDef], # (1)
GetFaceDetectionResponseTypeDef#
# GetFaceDetectionResponseTypeDef definition
class GetFaceDetectionResponseTypeDef(TypedDict):
JobStatus: VideoJobStatusType, # (1)
StatusMessage: str,
VideoMetadata: VideoMetadataTypeDef, # (2)
Faces: List[FaceDetectionTypeDef], # (3)
JobId: str,
Video: VideoTypeDef, # (4)
JobTag: str,
ResponseMetadata: ResponseMetadataTypeDef, # (5)
NextToken: NotRequired[str],
- See VideoJobStatusType
- See VideoMetadataTypeDef
- See FaceDetectionTypeDef
- See VideoTypeDef
- See ResponseMetadataTypeDef
PersonDetectionTypeDef#
# PersonDetectionTypeDef definition
class PersonDetectionTypeDef(TypedDict):
Timestamp: NotRequired[int],
Person: NotRequired[PersonDetailTypeDef], # (1)
PersonMatchTypeDef#
# PersonMatchTypeDef definition
class PersonMatchTypeDef(TypedDict):
Timestamp: NotRequired[int],
Person: NotRequired[PersonDetailTypeDef], # (1)
FaceMatches: NotRequired[List[FaceMatchTypeDef]], # (2)
- See PersonDetailTypeDef
- See FaceMatchTypeDef
IndexFacesResponseTypeDef#
# IndexFacesResponseTypeDef definition
class IndexFacesResponseTypeDef(TypedDict):
FaceRecords: List[FaceRecordTypeDef], # (1)
OrientationCorrection: OrientationCorrectionType, # (2)
FaceModelVersion: str,
UnindexedFaces: List[UnindexedFaceTypeDef], # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See FaceRecordTypeDef
- See OrientationCorrectionType
- See UnindexedFaceTypeDef
- See ResponseMetadataTypeDef
SearchUsersByImageResponseTypeDef#
# SearchUsersByImageResponseTypeDef definition
class SearchUsersByImageResponseTypeDef(TypedDict):
UserMatches: List[UserMatchTypeDef], # (1)
FaceModelVersion: str,
SearchedFace: SearchedFaceDetailsTypeDef, # (2)
UnsearchedFaces: List[UnsearchedFaceTypeDef], # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See UserMatchTypeDef
- See SearchedFaceDetailsTypeDef
- See UnsearchedFaceTypeDef
- See ResponseMetadataTypeDef
DetectCustomLabelsResponseTypeDef#
# DetectCustomLabelsResponseTypeDef definition
class DetectCustomLabelsResponseTypeDef(TypedDict):
CustomLabels: List[CustomLabelTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DetectTextResponseTypeDef#
# DetectTextResponseTypeDef definition
class DetectTextResponseTypeDef(TypedDict):
TextDetections: List[TextDetectionTypeDef], # (1)
TextModelVersion: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
TextDetectionResultTypeDef#
# TextDetectionResultTypeDef definition
class TextDetectionResultTypeDef(TypedDict):
Timestamp: NotRequired[int],
TextDetection: NotRequired[TextDetectionTypeDef], # (1)
CreateStreamProcessorRequestRequestTypeDef#
# CreateStreamProcessorRequestRequestTypeDef definition
class CreateStreamProcessorRequestRequestTypeDef(TypedDict):
Input: StreamProcessorInputTypeDef, # (1)
Output: StreamProcessorOutputTypeDef, # (2)
Name: str,
Settings: StreamProcessorSettingsTypeDef, # (3)
RoleArn: str,
Tags: NotRequired[Mapping[str, str]],
NotificationChannel: NotRequired[StreamProcessorNotificationChannelTypeDef], # (4)
KmsKeyId: NotRequired[str],
RegionsOfInterest: NotRequired[Sequence[RegionOfInterestUnionTypeDef]], # (5)
DataSharingPreference: NotRequired[StreamProcessorDataSharingPreferenceTypeDef], # (6)
- See StreamProcessorInputTypeDef
- See StreamProcessorOutputTypeDef
- See StreamProcessorSettingsTypeDef
- See StreamProcessorNotificationChannelTypeDef
- See RegionOfInterestTypeDef RegionOfInterestOutputTypeDef
- See StreamProcessorDataSharingPreferenceTypeDef
DetectTextFiltersTypeDef#
# DetectTextFiltersTypeDef definition
class DetectTextFiltersTypeDef(TypedDict):
WordFilter: NotRequired[DetectionFilterTypeDef], # (1)
RegionsOfInterest: NotRequired[Sequence[RegionOfInterestUnionTypeDef]], # (2)
StartTextDetectionFiltersTypeDef#
# StartTextDetectionFiltersTypeDef definition
class StartTextDetectionFiltersTypeDef(TypedDict):
WordFilter: NotRequired[DetectionFilterTypeDef], # (1)
RegionsOfInterest: NotRequired[Sequence[RegionOfInterestUnionTypeDef]], # (2)
ListMediaAnalysisJobsResponseTypeDef#
# ListMediaAnalysisJobsResponseTypeDef definition
class ListMediaAnalysisJobsResponseTypeDef(TypedDict):
MediaAnalysisJobs: List[MediaAnalysisJobDescriptionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
CreateProjectVersionRequestRequestTypeDef#
# CreateProjectVersionRequestRequestTypeDef definition
class CreateProjectVersionRequestRequestTypeDef(TypedDict):
ProjectArn: str,
VersionName: str,
OutputConfig: OutputConfigTypeDef, # (1)
TrainingData: NotRequired[TrainingDataTypeDef], # (2)
TestingData: NotRequired[TestingDataTypeDef], # (3)
Tags: NotRequired[Mapping[str, str]],
KmsKeyId: NotRequired[str],
VersionDescription: NotRequired[str],
FeatureConfig: NotRequired[CustomizationFeatureConfigTypeDef], # (4)
- See OutputConfigTypeDef
- See TrainingDataTypeDef
- See TestingDataTypeDef
- See CustomizationFeatureConfigTypeDef
TestingDataResultTypeDef#
# TestingDataResultTypeDef definition
class TestingDataResultTypeDef(TypedDict):
Input: NotRequired[TestingDataOutputTypeDef], # (1)
Output: NotRequired[TestingDataOutputTypeDef], # (1)
Validation: NotRequired[ValidationDataTypeDef], # (3)
TrainingDataResultTypeDef#
# TrainingDataResultTypeDef definition
class TrainingDataResultTypeDef(TypedDict):
Input: NotRequired[TrainingDataOutputTypeDef], # (1)
Output: NotRequired[TrainingDataOutputTypeDef], # (1)
Validation: NotRequired[ValidationDataTypeDef], # (3)
DetectProtectiveEquipmentResponseTypeDef#
# DetectProtectiveEquipmentResponseTypeDef definition
class DetectProtectiveEquipmentResponseTypeDef(TypedDict):
ProtectiveEquipmentModelVersion: str,
Persons: List[ProtectiveEquipmentPersonTypeDef], # (1)
Summary: ProtectiveEquipmentSummaryTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See ProtectiveEquipmentPersonTypeDef
- See ProtectiveEquipmentSummaryTypeDef
- See ResponseMetadataTypeDef
GetLabelDetectionResponseTypeDef#
# GetLabelDetectionResponseTypeDef definition
class GetLabelDetectionResponseTypeDef(TypedDict):
JobStatus: VideoJobStatusType, # (1)
StatusMessage: str,
VideoMetadata: VideoMetadataTypeDef, # (2)
Labels: List[LabelDetectionTypeDef], # (3)
LabelModelVersion: str,
JobId: str,
Video: VideoTypeDef, # (4)
JobTag: str,
GetRequestMetadata: GetLabelDetectionRequestMetadataTypeDef, # (5)
ResponseMetadata: ResponseMetadataTypeDef, # (6)
NextToken: NotRequired[str],
- See VideoJobStatusType
- See VideoMetadataTypeDef
- See LabelDetectionTypeDef
- See VideoTypeDef
- See GetLabelDetectionRequestMetadataTypeDef
- See ResponseMetadataTypeDef
GetCelebrityRecognitionResponseTypeDef#
# GetCelebrityRecognitionResponseTypeDef definition
class GetCelebrityRecognitionResponseTypeDef(TypedDict):
JobStatus: VideoJobStatusType, # (1)
StatusMessage: str,
VideoMetadata: VideoMetadataTypeDef, # (2)
Celebrities: List[CelebrityRecognitionTypeDef], # (3)
JobId: str,
Video: VideoTypeDef, # (4)
JobTag: str,
ResponseMetadata: ResponseMetadataTypeDef, # (5)
NextToken: NotRequired[str],
- See VideoJobStatusType
- See VideoMetadataTypeDef
- See CelebrityRecognitionTypeDef
- See VideoTypeDef
- See ResponseMetadataTypeDef
GetPersonTrackingResponseTypeDef#
# GetPersonTrackingResponseTypeDef definition
class GetPersonTrackingResponseTypeDef(TypedDict):
JobStatus: VideoJobStatusType, # (1)
StatusMessage: str,
VideoMetadata: VideoMetadataTypeDef, # (2)
Persons: List[PersonDetectionTypeDef], # (3)
JobId: str,
Video: VideoTypeDef, # (4)
JobTag: str,
ResponseMetadata: ResponseMetadataTypeDef, # (5)
NextToken: NotRequired[str],
- See VideoJobStatusType
- See VideoMetadataTypeDef
- See PersonDetectionTypeDef
- See VideoTypeDef
- See ResponseMetadataTypeDef
GetFaceSearchResponseTypeDef#
# GetFaceSearchResponseTypeDef definition
class GetFaceSearchResponseTypeDef(TypedDict):
JobStatus: VideoJobStatusType, # (1)
StatusMessage: str,
VideoMetadata: VideoMetadataTypeDef, # (2)
Persons: List[PersonMatchTypeDef], # (3)
JobId: str,
Video: VideoTypeDef, # (4)
JobTag: str,
ResponseMetadata: ResponseMetadataTypeDef, # (5)
NextToken: NotRequired[str],
- See VideoJobStatusType
- See VideoMetadataTypeDef
- See PersonMatchTypeDef
- See VideoTypeDef
- See ResponseMetadataTypeDef
GetTextDetectionResponseTypeDef#
# GetTextDetectionResponseTypeDef definition
class GetTextDetectionResponseTypeDef(TypedDict):
JobStatus: VideoJobStatusType, # (1)
StatusMessage: str,
VideoMetadata: VideoMetadataTypeDef, # (2)
TextDetections: List[TextDetectionResultTypeDef], # (3)
TextModelVersion: str,
JobId: str,
Video: VideoTypeDef, # (4)
JobTag: str,
ResponseMetadata: ResponseMetadataTypeDef, # (5)
NextToken: NotRequired[str],
- See VideoJobStatusType
- See VideoMetadataTypeDef
- See TextDetectionResultTypeDef
- See VideoTypeDef
- See ResponseMetadataTypeDef
DetectTextRequestRequestTypeDef#
# DetectTextRequestRequestTypeDef definition
class DetectTextRequestRequestTypeDef(TypedDict):
Image: ImageTypeDef, # (1)
Filters: NotRequired[DetectTextFiltersTypeDef], # (2)
- See ImageTypeDef
- See DetectTextFiltersTypeDef
StartTextDetectionRequestRequestTypeDef#
# StartTextDetectionRequestRequestTypeDef definition
class StartTextDetectionRequestRequestTypeDef(TypedDict):
Video: VideoTypeDef, # (1)
ClientRequestToken: NotRequired[str],
NotificationChannel: NotRequired[NotificationChannelTypeDef], # (2)
JobTag: NotRequired[str],
Filters: NotRequired[StartTextDetectionFiltersTypeDef], # (3)
ProjectVersionDescriptionTypeDef#
# ProjectVersionDescriptionTypeDef definition
class ProjectVersionDescriptionTypeDef(TypedDict):
ProjectVersionArn: NotRequired[str],
CreationTimestamp: NotRequired[datetime],
MinInferenceUnits: NotRequired[int],
Status: NotRequired[ProjectVersionStatusType], # (1)
StatusMessage: NotRequired[str],
BillableTrainingTimeInSeconds: NotRequired[int],
TrainingEndTimestamp: NotRequired[datetime],
OutputConfig: NotRequired[OutputConfigTypeDef], # (2)
TrainingDataResult: NotRequired[TrainingDataResultTypeDef], # (3)
TestingDataResult: NotRequired[TestingDataResultTypeDef], # (4)
EvaluationResult: NotRequired[EvaluationResultTypeDef], # (5)
ManifestSummary: NotRequired[GroundTruthManifestTypeDef], # (6)
KmsKeyId: NotRequired[str],
MaxInferenceUnits: NotRequired[int],
SourceProjectVersionArn: NotRequired[str],
VersionDescription: NotRequired[str],
Feature: NotRequired[CustomizationFeatureType], # (7)
BaseModelVersion: NotRequired[str],
FeatureConfig: NotRequired[CustomizationFeatureConfigTypeDef], # (8)
- See ProjectVersionStatusType
- See OutputConfigTypeDef
- See TrainingDataResultTypeDef
- See TestingDataResultTypeDef
- See EvaluationResultTypeDef
- See GroundTruthManifestTypeDef
- See CustomizationFeatureType
- See CustomizationFeatureConfigTypeDef
DescribeProjectVersionsResponseTypeDef#
# DescribeProjectVersionsResponseTypeDef definition
class DescribeProjectVersionsResponseTypeDef(TypedDict):
ProjectVersionDescriptions: List[ProjectVersionDescriptionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],