Smaws_Client_Rekognition.StartCelebrityRecognitionStarts asynchronous recognition of celebrities in a stored video.
Amazon Rekognition Video can detect celebrities in a video must be stored in an Amazon S3 bucket. Use Video to specify the bucket name and the filename of the video. StartCelebrityRecognition returns a job identifier (JobId) which you use to get the results of the analysis. When celebrity recognition analysis is finished, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic that you specify in NotificationChannel. To get the results of the celebrity recognition analysis, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetCelebrityRecognition and pass the job identifier (JobId) from the initial call to StartCelebrityRecognition.
For more information, see Recognizing celebrities in the Amazon Rekognition Developer Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `IdempotentParameterMismatchException of
Types.idempotent_parameter_mismatch_exception
| `InternalServerError of Types.internal_server_error
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidS3ObjectException of Types.invalid_s3_object_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `VideoTooLargeException of Types.video_too_large_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.start_celebrity_recognition_request ->
(Types.start_celebrity_recognition_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `IdempotentParameterMismatchException of
Types.idempotent_parameter_mismatch_exception
| `InternalServerError of Types.internal_server_error
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidS3ObjectException of Types.invalid_s3_object_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `VideoTooLargeException of Types.video_too_large_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.start_celebrity_recognition_request ->
(Types.start_celebrity_recognition_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `IdempotentParameterMismatchException of
Types.idempotent_parameter_mismatch_exception
| `InternalServerError of Types.internal_server_error
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidS3ObjectException of Types.invalid_s3_object_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `VideoTooLargeException of Types.video_too_large_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result