RekognitionClient#
Index > Rekognition > RekognitionClient
Auto-generated documentation for Rekognition type annotations stubs module mypy-boto3-rekognition.
RekognitionClient#
Type annotations and code completion for boto3.client("rekognition")
.
boto3 documentation
# RekognitionClient usage example
from boto3.session import Session
from mypy_boto3_rekognition.client import RekognitionClient
def get_rekognition_client() -> RekognitionClient:
return Session().client("rekognition")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("rekognition").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("rekognition")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.HumanLoopQuotaExceededException,
client.exceptions.IdempotentParameterMismatchException,
client.exceptions.ImageTooLargeException,
client.exceptions.InternalServerError,
client.exceptions.InvalidImageFormatException,
client.exceptions.InvalidManifestException,
client.exceptions.InvalidPaginationTokenException,
client.exceptions.InvalidParameterException,
client.exceptions.InvalidPolicyRevisionIdException,
client.exceptions.InvalidS3ObjectException,
client.exceptions.LimitExceededException,
client.exceptions.MalformedPolicyDocumentException,
client.exceptions.ProvisionedThroughputExceededException,
client.exceptions.ResourceAlreadyExistsException,
client.exceptions.ResourceInUseException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ResourceNotReadyException,
client.exceptions.ServiceQuotaExceededException,
client.exceptions.SessionNotFoundException,
client.exceptions.ThrottlingException,
client.exceptions.VideoTooLargeException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_rekognition.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
associate_faces#
Associates one or more faces with an existing UserID.
Type annotations and code completion for boto3.client("rekognition").associate_faces
method.
boto3 documentation
# associate_faces method definition
def associate_faces(
self,
*,
CollectionId: str,
UserId: str,
FaceIds: Sequence[str],
UserMatchThreshold: float = ...,
ClientRequestToken: str = ...,
) -> AssociateFacesResponseTypeDef: # (1)
...
# associate_faces method usage example with argument unpacking
kwargs: AssociateFacesRequestRequestTypeDef = { # (1)
"CollectionId": ...,
"UserId": ...,
"FaceIds": ...,
}
parent.associate_faces(**kwargs)
can_paginate#
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("rekognition").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
close#
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("rekognition").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
compare_faces#
Compares a face in the source input image with each of the 100 largest faces detected in the target input image.
Type annotations and code completion for boto3.client("rekognition").compare_faces
method.
boto3 documentation
# compare_faces method definition
def compare_faces(
self,
*,
SourceImage: ImageTypeDef, # (1)
TargetImage: ImageTypeDef, # (1)
SimilarityThreshold: float = ...,
QualityFilter: QualityFilterType = ..., # (3)
) -> CompareFacesResponseTypeDef: # (4)
...
- See ImageTypeDef
- See ImageTypeDef
- See QualityFilterType
- See CompareFacesResponseTypeDef
# compare_faces method usage example with argument unpacking
kwargs: CompareFacesRequestRequestTypeDef = { # (1)
"SourceImage": ...,
"TargetImage": ...,
}
parent.compare_faces(**kwargs)
copy_project_version#
.
Type annotations and code completion for boto3.client("rekognition").copy_project_version
method.
boto3 documentation
# copy_project_version method definition
def copy_project_version(
self,
*,
SourceProjectArn: str,
SourceProjectVersionArn: str,
DestinationProjectArn: str,
VersionName: str,
OutputConfig: OutputConfigTypeDef, # (1)
Tags: Mapping[str, str] = ...,
KmsKeyId: str = ...,
) -> CopyProjectVersionResponseTypeDef: # (2)
...
# copy_project_version method usage example with argument unpacking
kwargs: CopyProjectVersionRequestRequestTypeDef = { # (1)
"SourceProjectArn": ...,
"SourceProjectVersionArn": ...,
"DestinationProjectArn": ...,
"VersionName": ...,
"OutputConfig": ...,
}
parent.copy_project_version(**kwargs)
create_collection#
Creates a collection in an AWS Region.
Type annotations and code completion for boto3.client("rekognition").create_collection
method.
boto3 documentation
# create_collection method definition
def create_collection(
self,
*,
CollectionId: str,
Tags: Mapping[str, str] = ...,
) -> CreateCollectionResponseTypeDef: # (1)
...
# create_collection method usage example with argument unpacking
kwargs: CreateCollectionRequestRequestTypeDef = { # (1)
"CollectionId": ...,
}
parent.create_collection(**kwargs)
create_dataset#
.
Type annotations and code completion for boto3.client("rekognition").create_dataset
method.
boto3 documentation
# create_dataset method definition
def create_dataset(
self,
*,
DatasetType: DatasetTypeType, # (1)
ProjectArn: str,
DatasetSource: DatasetSourceTypeDef = ..., # (2)
Tags: Mapping[str, str] = ...,
) -> CreateDatasetResponseTypeDef: # (3)
...
# create_dataset method usage example with argument unpacking
kwargs: CreateDatasetRequestRequestTypeDef = { # (1)
"DatasetType": ...,
"ProjectArn": ...,
}
parent.create_dataset(**kwargs)
create_face_liveness_session#
This API operation initiates a Face Liveness session.
Type annotations and code completion for boto3.client("rekognition").create_face_liveness_session
method.
boto3 documentation
# create_face_liveness_session method definition
def create_face_liveness_session(
self,
*,
KmsKeyId: str = ...,
Settings: CreateFaceLivenessSessionRequestSettingsTypeDef = ..., # (1)
ClientRequestToken: str = ...,
) -> CreateFaceLivenessSessionResponseTypeDef: # (2)
...
# create_face_liveness_session method usage example with argument unpacking
kwargs: CreateFaceLivenessSessionRequestRequestTypeDef = { # (1)
"KmsKeyId": ...,
}
parent.create_face_liveness_session(**kwargs)
create_project#
Creates a new Amazon Rekognition project.
Type annotations and code completion for boto3.client("rekognition").create_project
method.
boto3 documentation
# create_project method definition
def create_project(
self,
*,
ProjectName: str,
Feature: CustomizationFeatureType = ..., # (1)
AutoUpdate: ProjectAutoUpdateType = ..., # (2)
Tags: Mapping[str, str] = ...,
) -> CreateProjectResponseTypeDef: # (3)
...
# create_project method usage example with argument unpacking
kwargs: CreateProjectRequestRequestTypeDef = { # (1)
"ProjectName": ...,
}
parent.create_project(**kwargs)
create_project_version#
Creates a new version of Amazon Rekognition project (like a Custom Labels model or a custom adapter) and begins training.
Type annotations and code completion for boto3.client("rekognition").create_project_version
method.
boto3 documentation
# create_project_version method definition
def create_project_version(
self,
*,
ProjectArn: str,
VersionName: str,
OutputConfig: OutputConfigTypeDef, # (1)
TrainingData: TrainingDataTypeDef = ..., # (2)
TestingData: TestingDataTypeDef = ..., # (3)
Tags: Mapping[str, str] = ...,
KmsKeyId: str = ...,
VersionDescription: str = ...,
FeatureConfig: CustomizationFeatureConfigTypeDef = ..., # (4)
) -> CreateProjectVersionResponseTypeDef: # (5)
...
- See OutputConfigTypeDef
- See TrainingDataTypeDef
- See TestingDataTypeDef
- See CustomizationFeatureConfigTypeDef
- See CreateProjectVersionResponseTypeDef
# create_project_version method usage example with argument unpacking
kwargs: CreateProjectVersionRequestRequestTypeDef = { # (1)
"ProjectArn": ...,
"VersionName": ...,
"OutputConfig": ...,
}
parent.create_project_version(**kwargs)
create_stream_processor#
Creates an Amazon Rekognition stream processor that you can use to detect and recognize faces or to detect labels in a streaming video.
Type annotations and code completion for boto3.client("rekognition").create_stream_processor
method.
boto3 documentation
# create_stream_processor method definition
def create_stream_processor(
self,
*,
Input: StreamProcessorInputTypeDef, # (1)
Output: StreamProcessorOutputTypeDef, # (2)
Name: str,
Settings: StreamProcessorSettingsTypeDef, # (3)
RoleArn: str,
Tags: Mapping[str, str] = ...,
NotificationChannel: StreamProcessorNotificationChannelTypeDef = ..., # (4)
KmsKeyId: str = ...,
RegionsOfInterest: Sequence[RegionOfInterestUnionTypeDef] = ..., # (5)
DataSharingPreference: StreamProcessorDataSharingPreferenceTypeDef = ..., # (6)
) -> CreateStreamProcessorResponseTypeDef: # (7)
...
- See StreamProcessorInputTypeDef
- See StreamProcessorOutputTypeDef
- See StreamProcessorSettingsTypeDef
- See StreamProcessorNotificationChannelTypeDef
- See RegionOfInterestTypeDef RegionOfInterestOutputTypeDef
- See StreamProcessorDataSharingPreferenceTypeDef
- See CreateStreamProcessorResponseTypeDef
# create_stream_processor method usage example with argument unpacking
kwargs: CreateStreamProcessorRequestRequestTypeDef = { # (1)
"Input": ...,
"Output": ...,
"Name": ...,
"Settings": ...,
"RoleArn": ...,
}
parent.create_stream_processor(**kwargs)
create_user#
Creates a new User within a collection specified by CollectionId
.
Type annotations and code completion for boto3.client("rekognition").create_user
method.
boto3 documentation
# create_user method definition
def create_user(
self,
*,
CollectionId: str,
UserId: str,
ClientRequestToken: str = ...,
) -> Dict[str, Any]:
...
# create_user method usage example with argument unpacking
kwargs: CreateUserRequestRequestTypeDef = { # (1)
"CollectionId": ...,
"UserId": ...,
}
parent.create_user(**kwargs)
delete_collection#
Deletes the specified collection.
Type annotations and code completion for boto3.client("rekognition").delete_collection
method.
boto3 documentation
# delete_collection method definition
def delete_collection(
self,
*,
CollectionId: str,
) -> DeleteCollectionResponseTypeDef: # (1)
...
# delete_collection method usage example with argument unpacking
kwargs: DeleteCollectionRequestRequestTypeDef = { # (1)
"CollectionId": ...,
}
parent.delete_collection(**kwargs)
delete_dataset#
.
Type annotations and code completion for boto3.client("rekognition").delete_dataset
method.
boto3 documentation
# delete_dataset method definition
def delete_dataset(
self,
*,
DatasetArn: str,
) -> Dict[str, Any]:
...
# delete_dataset method usage example with argument unpacking
kwargs: DeleteDatasetRequestRequestTypeDef = { # (1)
"DatasetArn": ...,
}
parent.delete_dataset(**kwargs)
delete_faces#
Deletes faces from a collection.
Type annotations and code completion for boto3.client("rekognition").delete_faces
method.
boto3 documentation
# delete_faces method definition
def delete_faces(
self,
*,
CollectionId: str,
FaceIds: Sequence[str],
) -> DeleteFacesResponseTypeDef: # (1)
...
# delete_faces method usage example with argument unpacking
kwargs: DeleteFacesRequestRequestTypeDef = { # (1)
"CollectionId": ...,
"FaceIds": ...,
}
parent.delete_faces(**kwargs)
delete_project#
Deletes a Amazon Rekognition project.
Type annotations and code completion for boto3.client("rekognition").delete_project
method.
boto3 documentation
# delete_project method definition
def delete_project(
self,
*,
ProjectArn: str,
) -> DeleteProjectResponseTypeDef: # (1)
...
# delete_project method usage example with argument unpacking
kwargs: DeleteProjectRequestRequestTypeDef = { # (1)
"ProjectArn": ...,
}
parent.delete_project(**kwargs)
delete_project_policy#
.
Type annotations and code completion for boto3.client("rekognition").delete_project_policy
method.
boto3 documentation
# delete_project_policy method definition
def delete_project_policy(
self,
*,
ProjectArn: str,
PolicyName: str,
PolicyRevisionId: str = ...,
) -> Dict[str, Any]:
...
# delete_project_policy method usage example with argument unpacking
kwargs: DeleteProjectPolicyRequestRequestTypeDef = { # (1)
"ProjectArn": ...,
"PolicyName": ...,
}
parent.delete_project_policy(**kwargs)
delete_project_version#
Deletes a Rekognition project model or project version, like a Amazon Rekognition Custom Labels model or a custom adapter.
Type annotations and code completion for boto3.client("rekognition").delete_project_version
method.
boto3 documentation
# delete_project_version method definition
def delete_project_version(
self,
*,
ProjectVersionArn: str,
) -> DeleteProjectVersionResponseTypeDef: # (1)
...
# delete_project_version method usage example with argument unpacking
kwargs: DeleteProjectVersionRequestRequestTypeDef = { # (1)
"ProjectVersionArn": ...,
}
parent.delete_project_version(**kwargs)
delete_stream_processor#
Deletes the stream processor identified by Name
.
Type annotations and code completion for boto3.client("rekognition").delete_stream_processor
method.
boto3 documentation
# delete_stream_processor method definition
def delete_stream_processor(
self,
*,
Name: str,
) -> Dict[str, Any]:
...
# delete_stream_processor method usage example with argument unpacking
kwargs: DeleteStreamProcessorRequestRequestTypeDef = { # (1)
"Name": ...,
}
parent.delete_stream_processor(**kwargs)
delete_user#
Deletes the specified UserID within the collection.
Type annotations and code completion for boto3.client("rekognition").delete_user
method.
boto3 documentation
# delete_user method definition
def delete_user(
self,
*,
CollectionId: str,
UserId: str,
ClientRequestToken: str = ...,
) -> Dict[str, Any]:
...
# delete_user method usage example with argument unpacking
kwargs: DeleteUserRequestRequestTypeDef = { # (1)
"CollectionId": ...,
"UserId": ...,
}
parent.delete_user(**kwargs)
describe_collection#
Describes the specified collection.
Type annotations and code completion for boto3.client("rekognition").describe_collection
method.
boto3 documentation
# describe_collection method definition
def describe_collection(
self,
*,
CollectionId: str,
) -> DescribeCollectionResponseTypeDef: # (1)
...
# describe_collection method usage example with argument unpacking
kwargs: DescribeCollectionRequestRequestTypeDef = { # (1)
"CollectionId": ...,
}
parent.describe_collection(**kwargs)
describe_dataset#
.
Type annotations and code completion for boto3.client("rekognition").describe_dataset
method.
boto3 documentation
# describe_dataset method definition
def describe_dataset(
self,
*,
DatasetArn: str,
) -> DescribeDatasetResponseTypeDef: # (1)
...
# describe_dataset method usage example with argument unpacking
kwargs: DescribeDatasetRequestRequestTypeDef = { # (1)
"DatasetArn": ...,
}
parent.describe_dataset(**kwargs)
describe_project_versions#
Lists and describes the versions of an Amazon Rekognition project.
Type annotations and code completion for boto3.client("rekognition").describe_project_versions
method.
boto3 documentation
# describe_project_versions method definition
def describe_project_versions(
self,
*,
ProjectArn: str,
VersionNames: Sequence[str] = ...,
NextToken: str = ...,
MaxResults: int = ...,
) -> DescribeProjectVersionsResponseTypeDef: # (1)
...
# describe_project_versions method usage example with argument unpacking
kwargs: DescribeProjectVersionsRequestRequestTypeDef = { # (1)
"ProjectArn": ...,
}
parent.describe_project_versions(**kwargs)
describe_projects#
Gets information about your Rekognition projects.
Type annotations and code completion for boto3.client("rekognition").describe_projects
method.
boto3 documentation
# describe_projects method definition
def describe_projects(
self,
*,
NextToken: str = ...,
MaxResults: int = ...,
ProjectNames: Sequence[str] = ...,
Features: Sequence[CustomizationFeatureType] = ..., # (1)
) -> DescribeProjectsResponseTypeDef: # (2)
...
# describe_projects method usage example with argument unpacking
kwargs: DescribeProjectsRequestRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.describe_projects(**kwargs)
describe_stream_processor#
Provides information about a stream processor created by CreateStreamProcessor.
Type annotations and code completion for boto3.client("rekognition").describe_stream_processor
method.
boto3 documentation
# describe_stream_processor method definition
def describe_stream_processor(
self,
*,
Name: str,
) -> DescribeStreamProcessorResponseTypeDef: # (1)
...
# describe_stream_processor method usage example with argument unpacking
kwargs: DescribeStreamProcessorRequestRequestTypeDef = { # (1)
"Name": ...,
}
parent.describe_stream_processor(**kwargs)
detect_custom_labels#
.
Type annotations and code completion for boto3.client("rekognition").detect_custom_labels
method.
boto3 documentation
# detect_custom_labels method definition
def detect_custom_labels(
self,
*,
ProjectVersionArn: str,
Image: ImageTypeDef, # (1)
MaxResults: int = ...,
MinConfidence: float = ...,
) -> DetectCustomLabelsResponseTypeDef: # (2)
...
# detect_custom_labels method usage example with argument unpacking
kwargs: DetectCustomLabelsRequestRequestTypeDef = { # (1)
"ProjectVersionArn": ...,
"Image": ...,
}
parent.detect_custom_labels(**kwargs)
detect_faces#
Detects faces within an image that is provided as input.
Type annotations and code completion for boto3.client("rekognition").detect_faces
method.
boto3 documentation
# detect_faces method definition
def detect_faces(
self,
*,
Image: ImageTypeDef, # (1)
Attributes: Sequence[AttributeType] = ..., # (2)
) -> DetectFacesResponseTypeDef: # (3)
...
- See ImageTypeDef
- See AttributeType
- See DetectFacesResponseTypeDef
# detect_faces method usage example with argument unpacking
kwargs: DetectFacesRequestRequestTypeDef = { # (1)
"Image": ...,
}
parent.detect_faces(**kwargs)
detect_labels#
Detects instances of real-world entities within an image (JPEG or PNG) provided as input.
Type annotations and code completion for boto3.client("rekognition").detect_labels
method.
boto3 documentation
# detect_labels method definition
def detect_labels(
self,
*,
Image: ImageTypeDef, # (1)
MaxLabels: int = ...,
MinConfidence: float = ...,
Features: Sequence[DetectLabelsFeatureNameType] = ..., # (2)
Settings: DetectLabelsSettingsTypeDef = ..., # (3)
) -> DetectLabelsResponseTypeDef: # (4)
...
- See ImageTypeDef
- See DetectLabelsFeatureNameType
- See DetectLabelsSettingsTypeDef
- See DetectLabelsResponseTypeDef
# detect_labels method usage example with argument unpacking
kwargs: DetectLabelsRequestRequestTypeDef = { # (1)
"Image": ...,
}
parent.detect_labels(**kwargs)
detect_moderation_labels#
Detects unsafe content in a specified JPEG or PNG format image.
Type annotations and code completion for boto3.client("rekognition").detect_moderation_labels
method.
boto3 documentation
# detect_moderation_labels method definition
def detect_moderation_labels(
self,
*,
Image: ImageTypeDef, # (1)
MinConfidence: float = ...,
HumanLoopConfig: HumanLoopConfigTypeDef = ..., # (2)
ProjectVersion: str = ...,
) -> DetectModerationLabelsResponseTypeDef: # (3)
...
# detect_moderation_labels method usage example with argument unpacking
kwargs: DetectModerationLabelsRequestRequestTypeDef = { # (1)
"Image": ...,
}
parent.detect_moderation_labels(**kwargs)
detect_protective_equipment#
Detects Personal Protective Equipment (PPE) worn by people detected in an image.
Type annotations and code completion for boto3.client("rekognition").detect_protective_equipment
method.
boto3 documentation
# detect_protective_equipment method definition
def detect_protective_equipment(
self,
*,
Image: ImageTypeDef, # (1)
SummarizationAttributes: ProtectiveEquipmentSummarizationAttributesTypeDef = ..., # (2)
) -> DetectProtectiveEquipmentResponseTypeDef: # (3)
...
- See ImageTypeDef
- See ProtectiveEquipmentSummarizationAttributesTypeDef
- See DetectProtectiveEquipmentResponseTypeDef
# detect_protective_equipment method usage example with argument unpacking
kwargs: DetectProtectiveEquipmentRequestRequestTypeDef = { # (1)
"Image": ...,
}
parent.detect_protective_equipment(**kwargs)
detect_text#
Detects text in the input image and converts it into machine-readable text.
Type annotations and code completion for boto3.client("rekognition").detect_text
method.
boto3 documentation
# detect_text method definition
def detect_text(
self,
*,
Image: ImageTypeDef, # (1)
Filters: DetectTextFiltersTypeDef = ..., # (2)
) -> DetectTextResponseTypeDef: # (3)
...
# detect_text method usage example with argument unpacking
kwargs: DetectTextRequestRequestTypeDef = { # (1)
"Image": ...,
}
parent.detect_text(**kwargs)
disassociate_faces#
Removes the association between a Face
supplied in an array of FaceIds
and
the
User.
Type annotations and code completion for boto3.client("rekognition").disassociate_faces
method.
boto3 documentation
# disassociate_faces method definition
def disassociate_faces(
self,
*,
CollectionId: str,
UserId: str,
FaceIds: Sequence[str],
ClientRequestToken: str = ...,
) -> DisassociateFacesResponseTypeDef: # (1)
...
# disassociate_faces method usage example with argument unpacking
kwargs: DisassociateFacesRequestRequestTypeDef = { # (1)
"CollectionId": ...,
"UserId": ...,
"FaceIds": ...,
}
parent.disassociate_faces(**kwargs)
distribute_dataset_entries#
.
Type annotations and code completion for boto3.client("rekognition").distribute_dataset_entries
method.
boto3 documentation
# distribute_dataset_entries method definition
def distribute_dataset_entries(
self,
*,
Datasets: Sequence[DistributeDatasetTypeDef], # (1)
) -> Dict[str, Any]:
...
# distribute_dataset_entries method usage example with argument unpacking
kwargs: DistributeDatasetEntriesRequestRequestTypeDef = { # (1)
"Datasets": ...,
}
parent.distribute_dataset_entries(**kwargs)
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("rekognition").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_celebrity_info#
Gets the name and additional information about a celebrity based on their Amazon Rekognition ID.
Type annotations and code completion for boto3.client("rekognition").get_celebrity_info
method.
boto3 documentation
# get_celebrity_info method definition
def get_celebrity_info(
self,
*,
Id: str,
) -> GetCelebrityInfoResponseTypeDef: # (1)
...
# get_celebrity_info method usage example with argument unpacking
kwargs: GetCelebrityInfoRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_celebrity_info(**kwargs)
get_celebrity_recognition#
Gets the celebrity recognition results for a Amazon Rekognition Video analysis started by StartCelebrityRecognition.
Type annotations and code completion for boto3.client("rekognition").get_celebrity_recognition
method.
boto3 documentation
# get_celebrity_recognition method definition
def get_celebrity_recognition(
self,
*,
JobId: str,
MaxResults: int = ...,
NextToken: str = ...,
SortBy: CelebrityRecognitionSortByType = ..., # (1)
) -> GetCelebrityRecognitionResponseTypeDef: # (2)
...
# get_celebrity_recognition method usage example with argument unpacking
kwargs: GetCelebrityRecognitionRequestRequestTypeDef = { # (1)
"JobId": ...,
}
parent.get_celebrity_recognition(**kwargs)
get_content_moderation#
Gets the inappropriate, unwanted, or offensive content analysis results for a Amazon Rekognition Video analysis started by StartContentModeration.
Type annotations and code completion for boto3.client("rekognition").get_content_moderation
method.
boto3 documentation
# get_content_moderation method definition
def get_content_moderation(
self,
*,
JobId: str,
MaxResults: int = ...,
NextToken: str = ...,
SortBy: ContentModerationSortByType = ..., # (1)
AggregateBy: ContentModerationAggregateByType = ..., # (2)
) -> GetContentModerationResponseTypeDef: # (3)
...
- See ContentModerationSortByType
- See ContentModerationAggregateByType
- See GetContentModerationResponseTypeDef
# get_content_moderation method usage example with argument unpacking
kwargs: GetContentModerationRequestRequestTypeDef = { # (1)
"JobId": ...,
}
parent.get_content_moderation(**kwargs)
get_face_detection#
Gets face detection results for a Amazon Rekognition Video analysis started by StartFaceDetection.
Type annotations and code completion for boto3.client("rekognition").get_face_detection
method.
boto3 documentation
# get_face_detection method definition
def get_face_detection(
self,
*,
JobId: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> GetFaceDetectionResponseTypeDef: # (1)
...
# get_face_detection method usage example with argument unpacking
kwargs: GetFaceDetectionRequestRequestTypeDef = { # (1)
"JobId": ...,
}
parent.get_face_detection(**kwargs)
get_face_liveness_session_results#
Retrieves the results of a specific Face Liveness session.
Type annotations and code completion for boto3.client("rekognition").get_face_liveness_session_results
method.
boto3 documentation
# get_face_liveness_session_results method definition
def get_face_liveness_session_results(
self,
*,
SessionId: str,
) -> GetFaceLivenessSessionResultsResponseTypeDef: # (1)
...
# get_face_liveness_session_results method usage example with argument unpacking
kwargs: GetFaceLivenessSessionResultsRequestRequestTypeDef = { # (1)
"SessionId": ...,
}
parent.get_face_liveness_session_results(**kwargs)
get_face_search#
Gets the face search results for Amazon Rekognition Video face search started by StartFaceSearch.
Type annotations and code completion for boto3.client("rekognition").get_face_search
method.
boto3 documentation
# get_face_search method definition
def get_face_search(
self,
*,
JobId: str,
MaxResults: int = ...,
NextToken: str = ...,
SortBy: FaceSearchSortByType = ..., # (1)
) -> GetFaceSearchResponseTypeDef: # (2)
...
# get_face_search method usage example with argument unpacking
kwargs: GetFaceSearchRequestRequestTypeDef = { # (1)
"JobId": ...,
}
parent.get_face_search(**kwargs)
get_label_detection#
Gets the label detection results of a Amazon Rekognition Video analysis started by StartLabelDetection.
Type annotations and code completion for boto3.client("rekognition").get_label_detection
method.
boto3 documentation
# get_label_detection method definition
def get_label_detection(
self,
*,
JobId: str,
MaxResults: int = ...,
NextToken: str = ...,
SortBy: LabelDetectionSortByType = ..., # (1)
AggregateBy: LabelDetectionAggregateByType = ..., # (2)
) -> GetLabelDetectionResponseTypeDef: # (3)
...
# get_label_detection method usage example with argument unpacking
kwargs: GetLabelDetectionRequestRequestTypeDef = { # (1)
"JobId": ...,
}
parent.get_label_detection(**kwargs)
get_media_analysis_job#
Retrieves the results for a given media analysis job.
Type annotations and code completion for boto3.client("rekognition").get_media_analysis_job
method.
boto3 documentation
# get_media_analysis_job method definition
def get_media_analysis_job(
self,
*,
JobId: str,
) -> GetMediaAnalysisJobResponseTypeDef: # (1)
...
# get_media_analysis_job method usage example with argument unpacking
kwargs: GetMediaAnalysisJobRequestRequestTypeDef = { # (1)
"JobId": ...,
}
parent.get_media_analysis_job(**kwargs)
get_person_tracking#
Gets the path tracking results of a Amazon Rekognition Video analysis started by StartPersonTracking.
Type annotations and code completion for boto3.client("rekognition").get_person_tracking
method.
boto3 documentation
# get_person_tracking method definition
def get_person_tracking(
self,
*,
JobId: str,
MaxResults: int = ...,
NextToken: str = ...,
SortBy: PersonTrackingSortByType = ..., # (1)
) -> GetPersonTrackingResponseTypeDef: # (2)
...
# get_person_tracking method usage example with argument unpacking
kwargs: GetPersonTrackingRequestRequestTypeDef = { # (1)
"JobId": ...,
}
parent.get_person_tracking(**kwargs)
get_segment_detection#
Gets the segment detection results of a Amazon Rekognition Video analysis started by StartSegmentDetection.
Type annotations and code completion for boto3.client("rekognition").get_segment_detection
method.
boto3 documentation
# get_segment_detection method definition
def get_segment_detection(
self,
*,
JobId: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> GetSegmentDetectionResponseTypeDef: # (1)
...
# get_segment_detection method usage example with argument unpacking
kwargs: GetSegmentDetectionRequestRequestTypeDef = { # (1)
"JobId": ...,
}
parent.get_segment_detection(**kwargs)
get_text_detection#
Gets the text detection results of a Amazon Rekognition Video analysis started by StartTextDetection.
Type annotations and code completion for boto3.client("rekognition").get_text_detection
method.
boto3 documentation
# get_text_detection method definition
def get_text_detection(
self,
*,
JobId: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> GetTextDetectionResponseTypeDef: # (1)
...
# get_text_detection method usage example with argument unpacking
kwargs: GetTextDetectionRequestRequestTypeDef = { # (1)
"JobId": ...,
}
parent.get_text_detection(**kwargs)
index_faces#
Detects faces in the input image and adds them to the specified collection.
Type annotations and code completion for boto3.client("rekognition").index_faces
method.
boto3 documentation
# index_faces method definition
def index_faces(
self,
*,
CollectionId: str,
Image: ImageTypeDef, # (1)
ExternalImageId: str = ...,
DetectionAttributes: Sequence[AttributeType] = ..., # (2)
MaxFaces: int = ...,
QualityFilter: QualityFilterType = ..., # (3)
) -> IndexFacesResponseTypeDef: # (4)
...
- See ImageTypeDef
- See AttributeType
- See QualityFilterType
- See IndexFacesResponseTypeDef
# index_faces method usage example with argument unpacking
kwargs: IndexFacesRequestRequestTypeDef = { # (1)
"CollectionId": ...,
"Image": ...,
}
parent.index_faces(**kwargs)
list_collections#
Returns list of collection IDs in your account.
Type annotations and code completion for boto3.client("rekognition").list_collections
method.
boto3 documentation
# list_collections method definition
def list_collections(
self,
*,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListCollectionsResponseTypeDef: # (1)
...
# list_collections method usage example with argument unpacking
kwargs: ListCollectionsRequestRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_collections(**kwargs)
list_dataset_entries#
.
Type annotations and code completion for boto3.client("rekognition").list_dataset_entries
method.
boto3 documentation
# list_dataset_entries method definition
def list_dataset_entries(
self,
*,
DatasetArn: str,
ContainsLabels: Sequence[str] = ...,
Labeled: bool = ...,
SourceRefContains: str = ...,
HasErrors: bool = ...,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListDatasetEntriesResponseTypeDef: # (1)
...
# list_dataset_entries method usage example with argument unpacking
kwargs: ListDatasetEntriesRequestRequestTypeDef = { # (1)
"DatasetArn": ...,
}
parent.list_dataset_entries(**kwargs)
list_dataset_labels#
.
Type annotations and code completion for boto3.client("rekognition").list_dataset_labels
method.
boto3 documentation
# list_dataset_labels method definition
def list_dataset_labels(
self,
*,
DatasetArn: str,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListDatasetLabelsResponseTypeDef: # (1)
...
# list_dataset_labels method usage example with argument unpacking
kwargs: ListDatasetLabelsRequestRequestTypeDef = { # (1)
"DatasetArn": ...,
}
parent.list_dataset_labels(**kwargs)
list_faces#
Returns metadata for faces in the specified collection.
Type annotations and code completion for boto3.client("rekognition").list_faces
method.
boto3 documentation
# list_faces method definition
def list_faces(
self,
*,
CollectionId: str,
NextToken: str = ...,
MaxResults: int = ...,
UserId: str = ...,
FaceIds: Sequence[str] = ...,
) -> ListFacesResponseTypeDef: # (1)
...
# list_faces method usage example with argument unpacking
kwargs: ListFacesRequestRequestTypeDef = { # (1)
"CollectionId": ...,
}
parent.list_faces(**kwargs)
list_media_analysis_jobs#
Returns a list of media analysis jobs.
Type annotations and code completion for boto3.client("rekognition").list_media_analysis_jobs
method.
boto3 documentation
# list_media_analysis_jobs method definition
def list_media_analysis_jobs(
self,
*,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListMediaAnalysisJobsResponseTypeDef: # (1)
...
# list_media_analysis_jobs method usage example with argument unpacking
kwargs: ListMediaAnalysisJobsRequestRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_media_analysis_jobs(**kwargs)
list_project_policies#
.
Type annotations and code completion for boto3.client("rekognition").list_project_policies
method.
boto3 documentation
# list_project_policies method definition
def list_project_policies(
self,
*,
ProjectArn: str,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListProjectPoliciesResponseTypeDef: # (1)
...
# list_project_policies method usage example with argument unpacking
kwargs: ListProjectPoliciesRequestRequestTypeDef = { # (1)
"ProjectArn": ...,
}
parent.list_project_policies(**kwargs)
list_stream_processors#
Gets a list of stream processors that you have created with CreateStreamProcessor.
Type annotations and code completion for boto3.client("rekognition").list_stream_processors
method.
boto3 documentation
# list_stream_processors method definition
def list_stream_processors(
self,
*,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListStreamProcessorsResponseTypeDef: # (1)
...
# list_stream_processors method usage example with argument unpacking
kwargs: ListStreamProcessorsRequestRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_stream_processors(**kwargs)
list_tags_for_resource#
Returns a list of tags in an Amazon Rekognition collection, stream processor, or Custom Labels model.
Type annotations and code completion for boto3.client("rekognition").list_tags_for_resource
method.
boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
self,
*,
ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
list_users#
Returns metadata of the User such as UserID
in the specified collection.
Type annotations and code completion for boto3.client("rekognition").list_users
method.
boto3 documentation
# list_users method definition
def list_users(
self,
*,
CollectionId: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListUsersResponseTypeDef: # (1)
...
# list_users method usage example with argument unpacking
kwargs: ListUsersRequestRequestTypeDef = { # (1)
"CollectionId": ...,
}
parent.list_users(**kwargs)
put_project_policy#
.
Type annotations and code completion for boto3.client("rekognition").put_project_policy
method.
boto3 documentation
# put_project_policy method definition
def put_project_policy(
self,
*,
ProjectArn: str,
PolicyName: str,
PolicyDocument: str,
PolicyRevisionId: str = ...,
) -> PutProjectPolicyResponseTypeDef: # (1)
...
# put_project_policy method usage example with argument unpacking
kwargs: PutProjectPolicyRequestRequestTypeDef = { # (1)
"ProjectArn": ...,
"PolicyName": ...,
"PolicyDocument": ...,
}
parent.put_project_policy(**kwargs)
recognize_celebrities#
Returns an array of celebrities recognized in the input image.
Type annotations and code completion for boto3.client("rekognition").recognize_celebrities
method.
boto3 documentation
# recognize_celebrities method definition
def recognize_celebrities(
self,
*,
Image: ImageTypeDef, # (1)
) -> RecognizeCelebritiesResponseTypeDef: # (2)
...
# recognize_celebrities method usage example with argument unpacking
kwargs: RecognizeCelebritiesRequestRequestTypeDef = { # (1)
"Image": ...,
}
parent.recognize_celebrities(**kwargs)
search_faces#
For a given input face ID, searches for matching faces in the collection the face belongs to.
Type annotations and code completion for boto3.client("rekognition").search_faces
method.
boto3 documentation
# search_faces method definition
def search_faces(
self,
*,
CollectionId: str,
FaceId: str,
MaxFaces: int = ...,
FaceMatchThreshold: float = ...,
) -> SearchFacesResponseTypeDef: # (1)
...
# search_faces method usage example with argument unpacking
kwargs: SearchFacesRequestRequestTypeDef = { # (1)
"CollectionId": ...,
"FaceId": ...,
}
parent.search_faces(**kwargs)
search_faces_by_image#
For a given input image, first detects the largest face in the image, and then searches the specified collection for matching faces.
Type annotations and code completion for boto3.client("rekognition").search_faces_by_image
method.
boto3 documentation
# search_faces_by_image method definition
def search_faces_by_image(
self,
*,
CollectionId: str,
Image: ImageTypeDef, # (1)
MaxFaces: int = ...,
FaceMatchThreshold: float = ...,
QualityFilter: QualityFilterType = ..., # (2)
) -> SearchFacesByImageResponseTypeDef: # (3)
...
# search_faces_by_image method usage example with argument unpacking
kwargs: SearchFacesByImageRequestRequestTypeDef = { # (1)
"CollectionId": ...,
"Image": ...,
}
parent.search_faces_by_image(**kwargs)
search_users#
Searches for UserIDs within a collection based on a FaceId
or UserId
.
Type annotations and code completion for boto3.client("rekognition").search_users
method.
boto3 documentation
# search_users method definition
def search_users(
self,
*,
CollectionId: str,
UserId: str = ...,
FaceId: str = ...,
UserMatchThreshold: float = ...,
MaxUsers: int = ...,
) -> SearchUsersResponseTypeDef: # (1)
...
# search_users method usage example with argument unpacking
kwargs: SearchUsersRequestRequestTypeDef = { # (1)
"CollectionId": ...,
}
parent.search_users(**kwargs)
search_users_by_image#
Searches for UserIDs using a supplied image.
Type annotations and code completion for boto3.client("rekognition").search_users_by_image
method.
boto3 documentation
# search_users_by_image method definition
def search_users_by_image(
self,
*,
CollectionId: str,
Image: ImageTypeDef, # (1)
UserMatchThreshold: float = ...,
MaxUsers: int = ...,
QualityFilter: QualityFilterType = ..., # (2)
) -> SearchUsersByImageResponseTypeDef: # (3)
...
# search_users_by_image method usage example with argument unpacking
kwargs: SearchUsersByImageRequestRequestTypeDef = { # (1)
"CollectionId": ...,
"Image": ...,
}
parent.search_users_by_image(**kwargs)
start_celebrity_recognition#
Starts asynchronous recognition of celebrities in a stored video.
Type annotations and code completion for boto3.client("rekognition").start_celebrity_recognition
method.
boto3 documentation
# start_celebrity_recognition method definition
def start_celebrity_recognition(
self,
*,
Video: VideoTypeDef, # (1)
ClientRequestToken: str = ...,
NotificationChannel: NotificationChannelTypeDef = ..., # (2)
JobTag: str = ...,
) -> StartCelebrityRecognitionResponseTypeDef: # (3)
...
# start_celebrity_recognition method usage example with argument unpacking
kwargs: StartCelebrityRecognitionRequestRequestTypeDef = { # (1)
"Video": ...,
}
parent.start_celebrity_recognition(**kwargs)
start_content_moderation#
Starts asynchronous detection of inappropriate, unwanted, or offensive content in a stored video.
Type annotations and code completion for boto3.client("rekognition").start_content_moderation
method.
boto3 documentation
# start_content_moderation method definition
def start_content_moderation(
self,
*,
Video: VideoTypeDef, # (1)
MinConfidence: float = ...,
ClientRequestToken: str = ...,
NotificationChannel: NotificationChannelTypeDef = ..., # (2)
JobTag: str = ...,
) -> StartContentModerationResponseTypeDef: # (3)
...
# start_content_moderation method usage example with argument unpacking
kwargs: StartContentModerationRequestRequestTypeDef = { # (1)
"Video": ...,
}
parent.start_content_moderation(**kwargs)
start_face_detection#
Starts asynchronous detection of faces in a stored video.
Type annotations and code completion for boto3.client("rekognition").start_face_detection
method.
boto3 documentation
# start_face_detection method definition
def start_face_detection(
self,
*,
Video: VideoTypeDef, # (1)
ClientRequestToken: str = ...,
NotificationChannel: NotificationChannelTypeDef = ..., # (2)
FaceAttributes: FaceAttributesType = ..., # (3)
JobTag: str = ...,
) -> StartFaceDetectionResponseTypeDef: # (4)
...
- See VideoTypeDef
- See NotificationChannelTypeDef
- See FaceAttributesType
- See StartFaceDetectionResponseTypeDef
# start_face_detection method usage example with argument unpacking
kwargs: StartFaceDetectionRequestRequestTypeDef = { # (1)
"Video": ...,
}
parent.start_face_detection(**kwargs)
start_face_search#
Starts the asynchronous search for faces in a collection that match the faces of persons detected in a stored video.
Type annotations and code completion for boto3.client("rekognition").start_face_search
method.
boto3 documentation
# start_face_search method definition
def start_face_search(
self,
*,
Video: VideoTypeDef, # (1)
CollectionId: str,
ClientRequestToken: str = ...,
FaceMatchThreshold: float = ...,
NotificationChannel: NotificationChannelTypeDef = ..., # (2)
JobTag: str = ...,
) -> StartFaceSearchResponseTypeDef: # (3)
...
# start_face_search method usage example with argument unpacking
kwargs: StartFaceSearchRequestRequestTypeDef = { # (1)
"Video": ...,
"CollectionId": ...,
}
parent.start_face_search(**kwargs)
start_label_detection#
Starts asynchronous detection of labels in a stored video.
Type annotations and code completion for boto3.client("rekognition").start_label_detection
method.
boto3 documentation
# start_label_detection method definition
def start_label_detection(
self,
*,
Video: VideoTypeDef, # (1)
ClientRequestToken: str = ...,
MinConfidence: float = ...,
NotificationChannel: NotificationChannelTypeDef = ..., # (2)
JobTag: str = ...,
Features: Sequence[LabelDetectionFeatureNameType] = ..., # (3)
Settings: LabelDetectionSettingsTypeDef = ..., # (4)
) -> StartLabelDetectionResponseTypeDef: # (5)
...
- See VideoTypeDef
- See NotificationChannelTypeDef
- See LabelDetectionFeatureNameType
- See LabelDetectionSettingsTypeDef
- See StartLabelDetectionResponseTypeDef
# start_label_detection method usage example with argument unpacking
kwargs: StartLabelDetectionRequestRequestTypeDef = { # (1)
"Video": ...,
}
parent.start_label_detection(**kwargs)
start_media_analysis_job#
Initiates a new media analysis job.
Type annotations and code completion for boto3.client("rekognition").start_media_analysis_job
method.
boto3 documentation
# start_media_analysis_job method definition
def start_media_analysis_job(
self,
*,
OperationsConfig: MediaAnalysisOperationsConfigTypeDef, # (1)
Input: MediaAnalysisInputTypeDef, # (2)
OutputConfig: MediaAnalysisOutputConfigTypeDef, # (3)
ClientRequestToken: str = ...,
JobName: str = ...,
KmsKeyId: str = ...,
) -> StartMediaAnalysisJobResponseTypeDef: # (4)
...
- See MediaAnalysisOperationsConfigTypeDef
- See MediaAnalysisInputTypeDef
- See MediaAnalysisOutputConfigTypeDef
- See StartMediaAnalysisJobResponseTypeDef
# start_media_analysis_job method usage example with argument unpacking
kwargs: StartMediaAnalysisJobRequestRequestTypeDef = { # (1)
"OperationsConfig": ...,
"Input": ...,
"OutputConfig": ...,
}
parent.start_media_analysis_job(**kwargs)
start_person_tracking#
Starts the asynchronous tracking of a person's path in a stored video.
Type annotations and code completion for boto3.client("rekognition").start_person_tracking
method.
boto3 documentation
# start_person_tracking method definition
def start_person_tracking(
self,
*,
Video: VideoTypeDef, # (1)
ClientRequestToken: str = ...,
NotificationChannel: NotificationChannelTypeDef = ..., # (2)
JobTag: str = ...,
) -> StartPersonTrackingResponseTypeDef: # (3)
...
# start_person_tracking method usage example with argument unpacking
kwargs: StartPersonTrackingRequestRequestTypeDef = { # (1)
"Video": ...,
}
parent.start_person_tracking(**kwargs)
start_project_version#
.
Type annotations and code completion for boto3.client("rekognition").start_project_version
method.
boto3 documentation
# start_project_version method definition
def start_project_version(
self,
*,
ProjectVersionArn: str,
MinInferenceUnits: int,
MaxInferenceUnits: int = ...,
) -> StartProjectVersionResponseTypeDef: # (1)
...
# start_project_version method usage example with argument unpacking
kwargs: StartProjectVersionRequestRequestTypeDef = { # (1)
"ProjectVersionArn": ...,
"MinInferenceUnits": ...,
}
parent.start_project_version(**kwargs)
start_segment_detection#
Starts asynchronous detection of segment detection in a stored video.
Type annotations and code completion for boto3.client("rekognition").start_segment_detection
method.
boto3 documentation
# start_segment_detection method definition
def start_segment_detection(
self,
*,
Video: VideoTypeDef, # (1)
SegmentTypes: Sequence[SegmentTypeType], # (2)
ClientRequestToken: str = ...,
NotificationChannel: NotificationChannelTypeDef = ..., # (3)
JobTag: str = ...,
Filters: StartSegmentDetectionFiltersTypeDef = ..., # (4)
) -> StartSegmentDetectionResponseTypeDef: # (5)
...
- See VideoTypeDef
- See SegmentTypeType
- See NotificationChannelTypeDef
- See StartSegmentDetectionFiltersTypeDef
- See StartSegmentDetectionResponseTypeDef
# start_segment_detection method usage example with argument unpacking
kwargs: StartSegmentDetectionRequestRequestTypeDef = { # (1)
"Video": ...,
"SegmentTypes": ...,
}
parent.start_segment_detection(**kwargs)
start_stream_processor#
Starts processing a stream processor.
Type annotations and code completion for boto3.client("rekognition").start_stream_processor
method.
boto3 documentation
# start_stream_processor method definition
def start_stream_processor(
self,
*,
Name: str,
StartSelector: StreamProcessingStartSelectorTypeDef = ..., # (1)
StopSelector: StreamProcessingStopSelectorTypeDef = ..., # (2)
) -> StartStreamProcessorResponseTypeDef: # (3)
...
- See StreamProcessingStartSelectorTypeDef
- See StreamProcessingStopSelectorTypeDef
- See StartStreamProcessorResponseTypeDef
# start_stream_processor method usage example with argument unpacking
kwargs: StartStreamProcessorRequestRequestTypeDef = { # (1)
"Name": ...,
}
parent.start_stream_processor(**kwargs)
start_text_detection#
Starts asynchronous detection of text in a stored video.
Type annotations and code completion for boto3.client("rekognition").start_text_detection
method.
boto3 documentation
# start_text_detection method definition
def start_text_detection(
self,
*,
Video: VideoTypeDef, # (1)
ClientRequestToken: str = ...,
NotificationChannel: NotificationChannelTypeDef = ..., # (2)
JobTag: str = ...,
Filters: StartTextDetectionFiltersTypeDef = ..., # (3)
) -> StartTextDetectionResponseTypeDef: # (4)
...
- See VideoTypeDef
- See NotificationChannelTypeDef
- See StartTextDetectionFiltersTypeDef
- See StartTextDetectionResponseTypeDef
# start_text_detection method usage example with argument unpacking
kwargs: StartTextDetectionRequestRequestTypeDef = { # (1)
"Video": ...,
}
parent.start_text_detection(**kwargs)
stop_project_version#
.
Type annotations and code completion for boto3.client("rekognition").stop_project_version
method.
boto3 documentation
# stop_project_version method definition
def stop_project_version(
self,
*,
ProjectVersionArn: str,
) -> StopProjectVersionResponseTypeDef: # (1)
...
# stop_project_version method usage example with argument unpacking
kwargs: StopProjectVersionRequestRequestTypeDef = { # (1)
"ProjectVersionArn": ...,
}
parent.stop_project_version(**kwargs)
stop_stream_processor#
Stops a running stream processor that was created by CreateStreamProcessor.
Type annotations and code completion for boto3.client("rekognition").stop_stream_processor
method.
boto3 documentation
# stop_stream_processor method definition
def stop_stream_processor(
self,
*,
Name: str,
) -> Dict[str, Any]:
...
# stop_stream_processor method usage example with argument unpacking
kwargs: StopStreamProcessorRequestRequestTypeDef = { # (1)
"Name": ...,
}
parent.stop_stream_processor(**kwargs)
tag_resource#
Adds one or more key-value tags to an Amazon Rekognition collection, stream processor, or Custom Labels model.
Type annotations and code completion for boto3.client("rekognition").tag_resource
method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
ResourceArn: str,
Tags: Mapping[str, str],
) -> Dict[str, Any]:
...
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
Removes one or more tags from an Amazon Rekognition collection, stream processor, or Custom Labels model.
Type annotations and code completion for boto3.client("rekognition").untag_resource
method.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
ResourceArn: str,
TagKeys: Sequence[str],
) -> Dict[str, Any]:
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_dataset_entries#
.
Type annotations and code completion for boto3.client("rekognition").update_dataset_entries
method.
boto3 documentation
# update_dataset_entries method definition
def update_dataset_entries(
self,
*,
DatasetArn: str,
Changes: DatasetChangesTypeDef, # (1)
) -> Dict[str, Any]:
...
# update_dataset_entries method usage example with argument unpacking
kwargs: UpdateDatasetEntriesRequestRequestTypeDef = { # (1)
"DatasetArn": ...,
"Changes": ...,
}
parent.update_dataset_entries(**kwargs)
update_stream_processor#
Allows you to update a stream processor.
Type annotations and code completion for boto3.client("rekognition").update_stream_processor
method.
boto3 documentation
# update_stream_processor method definition
def update_stream_processor(
self,
*,
Name: str,
SettingsForUpdate: StreamProcessorSettingsForUpdateTypeDef = ..., # (1)
RegionsOfInterestForUpdate: Sequence[RegionOfInterestTypeDef] = ..., # (2)
DataSharingPreferenceForUpdate: StreamProcessorDataSharingPreferenceTypeDef = ..., # (3)
ParametersToDelete: Sequence[StreamProcessorParameterToDeleteType] = ..., # (4)
) -> Dict[str, Any]:
...
- See StreamProcessorSettingsForUpdateTypeDef
- See RegionOfInterestTypeDef
- See StreamProcessorDataSharingPreferenceTypeDef
- See StreamProcessorParameterToDeleteType
# update_stream_processor method usage example with argument unpacking
kwargs: UpdateStreamProcessorRequestRequestTypeDef = { # (1)
"Name": ...,
}
parent.update_stream_processor(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("rekognition").get_paginator
method with overloads.
client.get_paginator("describe_project_versions")
-> DescribeProjectVersionsPaginatorclient.get_paginator("describe_projects")
-> DescribeProjectsPaginatorclient.get_paginator("list_collections")
-> ListCollectionsPaginatorclient.get_paginator("list_dataset_entries")
-> ListDatasetEntriesPaginatorclient.get_paginator("list_dataset_labels")
-> ListDatasetLabelsPaginatorclient.get_paginator("list_faces")
-> ListFacesPaginatorclient.get_paginator("list_project_policies")
-> ListProjectPoliciesPaginatorclient.get_paginator("list_stream_processors")
-> ListStreamProcessorsPaginatorclient.get_paginator("list_users")
-> ListUsersPaginator
get_waiter#
Type annotations and code completion for boto3.client("rekognition").get_waiter
method with overloads.
client.get_waiter("project_version_running")
-> ProjectVersionRunningWaiterclient.get_waiter("project_version_training_completed")
-> ProjectVersionTrainingCompletedWaiter