Paws::Rekognition::StartFaceDetection - Arguments for method StartFaceDetection on Paws::Rekognition
This class represents the parameters used for calling the method StartFaceDetection on the Amazon Rekognition service. Use the attributes of this class as arguments to method StartFaceDetection.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartFaceDetection.
my $rekognition = Paws->service('Rekognition'); my $StartFaceDetectionResponse = $rekognition->StartFaceDetection( Video => { S3Object => { Bucket => 'MyS3Bucket', # min: 3, max: 255; OPTIONAL Name => 'MyS3ObjectName', # min: 1, max: 1024; OPTIONAL Version => 'MyS3ObjectVersion', # min: 1, max: 1024; OPTIONAL }, # OPTIONAL }, ClientRequestToken => 'MyClientRequestToken', # OPTIONAL FaceAttributes => 'DEFAULT', # OPTIONAL JobTag => 'MyJobTag', # OPTIONAL NotificationChannel => { RoleArn => 'MyRoleArn', SNSTopicArn => 'MySNSTopicArn', }, # OPTIONAL ); # Results: my $JobId = $StartFaceDetectionResponse->JobId; # Returns a L<Paws::Rekognition::StartFaceDetectionResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/rekognition/StartFaceDetection
Idempotent token used to identify the start request. If you use the same token with multiple StartFaceDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.
StartFaceDetection
JobId
ClientRequestToken
The face attributes you want returned.
DEFAULT - The following subset of facial attributes are returned: BoundingBox, Confidence, Pose, Quality and Landmarks.
DEFAULT
ALL - All facial attributes are returned.
ALL
Valid values are: "DEFAULT", "ALL"
"DEFAULT"
"ALL"
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.
JobTag
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the face detection operation.
The video in which you want to detect faces. The video must be stored in an Amazon S3 bucket.
This class forms part of Paws, documenting arguments for method StartFaceDetection in Paws::Rekognition
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.