![]() |
![]()
| ![]() |
![]()
NAMEPaws::Rekognition::StartSegmentDetection - Arguments for method StartSegmentDetection on Paws::Rekognition DESCRIPTIONThis class represents the parameters used for calling the method StartSegmentDetection on the Amazon Rekognition service. Use the attributes of this class as arguments to method StartSegmentDetection. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartSegmentDetection. SYNOPSISmy $rekognition = Paws->service('Rekognition'); my $StartSegmentDetectionResponse = $rekognition->StartSegmentDetection( SegmentTypes => [ 'TECHNICAL_CUE', ... # values: TECHNICAL_CUE, SHOT ], 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 Filters => { ShotFilter => { MinSegmentConfidence => 1.0, # min: 50, max: 100; OPTIONAL }, # OPTIONAL TechnicalCueFilter => { MinSegmentConfidence => 1.0, # min: 50, max: 100; OPTIONAL }, # OPTIONAL }, # OPTIONAL JobTag => 'MyJobTag', # OPTIONAL NotificationChannel => { RoleArn => 'MyRoleArn', SNSTopicArn => 'MySNSTopicArn', }, # OPTIONAL ); # Results: my $JobId = $StartSegmentDetectionResponse->JobId; # Returns a L<Paws::Rekognition::StartSegmentDetectionResponse> 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/StartSegmentDetection> ATTRIBUTESClientRequestToken => StrIdempotent token used to identify the start request. If you use the same token with multiple "StartSegmentDetection" requests, the same "JobId" is returned. Use "ClientRequestToken" to prevent the same job from being accidently started more than once. Filters => Paws::Rekognition::StartSegmentDetectionFiltersFilters for technical cue or shot detection. JobTag => StrAn 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::NotificationChannelThe ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the segment detection operation. REQUIRED SegmentTypes => ArrayRef[Str|Undef]An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT. REQUIRED Video => Paws::Rekognition::VideoSEE ALSOThis class forms part of Paws, documenting arguments for method StartSegmentDetection in Paws::Rekognition BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|