The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::Rekognition::StartFaceDetection - Arguments for method StartFaceDetection on Paws::Rekognition

DESCRIPTION

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.

SYNOPSIS

    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

ATTRIBUTES

ClientRequestToken => Str

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.

FaceAttributes => Str

The face attributes you want returned.

DEFAULT - The following subset of facial attributes are returned: BoundingBox, Confidence, Pose, Quality and Landmarks.

ALL - All facial attributes are returned.

Valid values are: "DEFAULT", "ALL"

JobTag => Str

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.

NotificationChannel => Paws::Rekognition::NotificationChannel

The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the face detection operation.

REQUIRED Video => Paws::Rekognition::Video

The video in which you want to detect faces. The video must be stored in an Amazon S3 bucket.

SEE ALSO

This class forms part of Paws, documenting arguments for method StartFaceDetection in Paws::Rekognition

BUGS and CONTRIBUTIONS

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