« blib/lib/Paws/Rekognition/StartCelebrityRecognitionResponse.pm
↑ Summary
blib/lib/Paws/Rekognition/StartContentModerationResponse.pm »
| 1 | |||
| 2 | package Paws::Rekognition::StartContentModeration; | ||
| 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 => 'StartContentModeration'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Rekognition::StartContentModerationResponse'); | ||
| 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::StartContentModeration - Arguments for method StartContentModeration on L<Paws::Rekognition> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method StartContentModeration on the | ||
| 26 | L<Amazon Rekognition|Paws::Rekognition> service. Use the attributes of this class | ||
| 27 | as arguments to method StartContentModeration. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartContentModeration. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $rekognition = Paws->service('Rekognition'); | ||
| 34 | my $StartContentModerationResponse = $rekognition->StartContentModeration( | ||
| 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 = $StartContentModerationResponse->JobId; | ||
| 54 | |||
| 55 | # Returns a L<Paws::Rekognition::StartContentModerationResponse> 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/StartContentModeration> | ||
| 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<StartContentModeration> 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 must have in | ||
| 84 | order to return a moderated content label. Confidence represents how | ||
| 85 | certain Amazon Rekognition is that the moderated content is correctly | ||
| 86 | identified. 0 is the lowest confidence. 100 is the highest confidence. | ||
| 87 | Amazon Rekognition doesn't return any moderated content labels with a | ||
| 88 | confidence level lower than this specified value. If you don't specify | ||
| 89 | C<MinConfidence>, C<GetContentModeration> returns labels with | ||
| 90 | confidence values greater than or equal to 50 percent. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head2 NotificationChannel => L<Paws::Rekognition::NotificationChannel> | ||
| 95 | |||
| 96 | The Amazon SNS topic ARN that you want Amazon Rekognition Video to | ||
| 97 | publish the completion status of the unsafe content analysis to. | ||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | =head2 B<REQUIRED> Video => L<Paws::Rekognition::Video> | ||
| 102 | |||
| 103 | The video in which you want to detect unsafe content. The video must be | ||
| 104 | stored in an Amazon S3 bucket. | ||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | =head1 SEE ALSO | ||
| 110 | |||
| 111 | This class forms part of L<Paws>, documenting arguments for method StartContentModeration in L<Paws::Rekognition> | ||
| 112 | |||
| 113 | =head1 BUGS and CONTRIBUTIONS | ||
| 114 | |||
| 115 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 116 | |||
| 117 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 118 | |||
| 119 | =cut | ||
| 120 |