« blib/lib/Paws/Rekognition/StartFaceSearchResponse.pm
↑ Summary
blib/lib/Paws/Rekognition/StartLabelDetectionResponse.pm »
| 1 | |||
| 2 | package Paws::Rekognition::StartLabelDetection; | ||
| 3 | use Moose; | ||
| 4 | has ClientRequestToken => (is => 'ro', isa => 'Str'); | ||
| 5 | has JobTag => (is => 'ro', isa => 'Str'); | ||
| 6 | has MinConfidence => (is => 'ro', isa => 'Num'); | ||
| 7 | has NotificationChannel => (is => 'ro', isa => 'Paws::Rekognition::NotificationChannel'); | ||
| 8 | has Video => (is => 'ro', isa => 'Paws::Rekognition::Video', required => 1); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartLabelDetection'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Rekognition::StartLabelDetectionResponse'); | ||
| 14 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::Rekognition::StartLabelDetection - Arguments for method StartLabelDetection on L<Paws::Rekognition> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method StartLabelDetection on the | ||
| 26 | L<Amazon Rekognition|Paws::Rekognition> service. Use the attributes of this class | ||
| 27 | as arguments to method StartLabelDetection. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartLabelDetection. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $rekognition = Paws->service('Rekognition'); | ||
| 34 | my $StartLabelDetectionResponse = $rekognition->StartLabelDetection( | ||
| 35 | Video => { | ||
| 36 | S3Object => { | ||
| 37 | Bucket => 'MyS3Bucket', # min: 3, max: 255; OPTIONAL | ||
| 38 | Name => 'MyS3ObjectName', # min: 1, max: 1024; OPTIONAL | ||
| 39 | Version => 'MyS3ObjectVersion', # min: 1, max: 1024; OPTIONAL | ||
| 40 | }, # OPTIONAL | ||
| 41 | }, | ||
| 42 | ClientRequestToken => 'MyClientRequestToken', # OPTIONAL | ||
| 43 | JobTag => 'MyJobTag', # OPTIONAL | ||
| 44 | MinConfidence => 1.0, # OPTIONAL | ||
| 45 | NotificationChannel => { | ||
| 46 | RoleArn => 'MyRoleArn', | ||
| 47 | SNSTopicArn => 'MySNSTopicArn', | ||
| 48 | |||
| 49 | }, # OPTIONAL | ||
| 50 | ); | ||
| 51 | |||
| 52 | # Results: | ||
| 53 | my $JobId = $StartLabelDetectionResponse->JobId; | ||
| 54 | |||
| 55 | # Returns a L<Paws::Rekognition::StartLabelDetectionResponse> object. | ||
| 56 | |||
| 57 | 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. | ||
| 58 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rekognition/StartLabelDetection> | ||
| 59 | |||
| 60 | =head1 ATTRIBUTES | ||
| 61 | |||
| 62 | |||
| 63 | =head2 ClientRequestToken => Str | ||
| 64 | |||
| 65 | Idempotent token used to identify the start request. If you use the | ||
| 66 | same token with multiple C<StartLabelDetection> requests, the same | ||
| 67 | C<JobId> is returned. Use C<ClientRequestToken> to prevent the same job | ||
| 68 | from being accidently started more than once. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 JobTag => Str | ||
| 73 | |||
| 74 | An identifier you specify that's returned in the completion | ||
| 75 | notification that's published to your Amazon Simple Notification | ||
| 76 | Service topic. For example, you can use C<JobTag> to group related jobs | ||
| 77 | and identify them in the completion notification. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 MinConfidence => Num | ||
| 82 | |||
| 83 | Specifies the minimum confidence that Amazon Rekognition Video must | ||
| 84 | have in order to return a detected label. Confidence represents how | ||
| 85 | certain Amazon Rekognition is that a label is correctly identified.0 is | ||
| 86 | the lowest confidence. 100 is the highest confidence. Amazon | ||
| 87 | Rekognition Video doesn't return any labels with a confidence level | ||
| 88 | lower than this specified value. | ||
| 89 | |||
| 90 | If you don't specify C<MinConfidence>, the operation returns labels | ||
| 91 | with confidence values greater than or equal to 50 percent. | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =head2 NotificationChannel => L<Paws::Rekognition::NotificationChannel> | ||
| 96 | |||
| 97 | The Amazon SNS topic ARN you want Amazon Rekognition Video to publish | ||
| 98 | the completion status of the label detection operation to. | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | =head2 B<REQUIRED> Video => L<Paws::Rekognition::Video> | ||
| 103 | |||
| 104 | The video in which you want to detect labels. The video must be stored | ||
| 105 | in an Amazon S3 bucket. | ||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | =head1 SEE ALSO | ||
| 111 | |||
| 112 | This class forms part of L<Paws>, documenting arguments for method StartLabelDetection in L<Paws::Rekognition> | ||
| 113 | |||
| 114 | =head1 BUGS and CONTRIBUTIONS | ||
| 115 | |||
| 116 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 117 | |||
| 118 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 119 | |||
| 120 | =cut | ||
| 121 |