NAME
Paws::Rekognition::StartLabelDetection - Arguments for method StartLabelDetection on Paws::Rekognition
DESCRIPTION
This class represents the parameters used for calling the method StartLabelDetection on the Amazon Rekognition service. Use the attributes of this class as arguments to method StartLabelDetection.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartLabelDetection.
SYNOPSIS
my $rekognition = Paws->service('Rekognition');
my $StartLabelDetectionResponse = $rekognition->StartLabelDetection(
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
JobTag => 'MyJobTag', # OPTIONAL
MinConfidence => 1.0, # OPTIONAL
NotificationChannel => {
RoleArn => 'MyRoleArn',
SNSTopicArn => 'MySNSTopicArn',
}, # OPTIONAL
);
# Results:
my $JobId = $StartLabelDetectionResponse->JobId;
# Returns a L<Paws::Rekognition::StartLabelDetectionResponse> 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/StartLabelDetection
ATTRIBUTES
ClientRequestToken => Str
Idempotent token used to identify the start request. If you use the same token with multiple StartLabelDetection
requests, the same JobId
is returned. Use ClientRequestToken
to prevent the same job from being accidently started more than once.
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.
MinConfidence => Num
Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected label. Confidence represents how certain Amazon Rekognition is that a label is correctly identified.0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video doesn't return any labels with a confidence level lower than this specified value.
If you don't specify MinConfidence
, the operation returns labels with confidence values greater than or equal to 50 percent.
NotificationChannel => Paws::Rekognition::NotificationChannel
The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label detection operation to.
REQUIRED Video => Paws::Rekognition::Video
The video in which you want to detect labels. The video must be stored in an Amazon S3 bucket.
SEE ALSO
This class forms part of Paws, documenting arguments for method StartLabelDetection 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