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

NAME

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

DESCRIPTION

This class represents the parameters used for calling the method GetContentModeration on the Amazon Rekognition service. Use the attributes of this class as arguments to method GetContentModeration.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetContentModeration.

SYNOPSIS

    my $rekognition = Paws->service('Rekognition');
    my $GetContentModerationResponse = $rekognition->GetContentModeration(
      JobId      => 'MyJobId',
      MaxResults => 1,                      # OPTIONAL
      NextToken  => 'MyPaginationToken',    # OPTIONAL
      SortBy     => 'NAME',                 # OPTIONAL
    );

    # Results:
    my $JobStatus        = $GetContentModerationResponse->JobStatus;
    my $ModerationLabels = $GetContentModerationResponse->ModerationLabels;
    my $ModerationModelVersion =
      $GetContentModerationResponse->ModerationModelVersion;
    my $NextToken     = $GetContentModerationResponse->NextToken;
    my $StatusMessage = $GetContentModerationResponse->StatusMessage;
    my $VideoMetadata = $GetContentModerationResponse->VideoMetadata;

    # Returns a L<Paws::Rekognition::GetContentModerationResponse> 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/GetContentModeration

ATTRIBUTES

REQUIRED JobId => Str

The identifier for the unsafe content job. Use JobId to identify the job in a subsequent call to GetContentModeration.

MaxResults => Int

Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.

NextToken => Str

If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of unsafe content labels.

SortBy => Str

Sort to use for elements in the ModerationLabelDetections array. Use TIMESTAMP to sort array elements by the time labels are detected. Use NAME to alphabetically group elements for a label together. Within each label group, the array element are sorted by detection confidence. The default sort is by TIMESTAMP.

Valid values are: "NAME", "TIMESTAMP"

SEE ALSO

This class forms part of Paws, documenting arguments for method GetContentModeration 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