The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Inspector::ListAssessmentTemplates - Arguments for method ListAssessmentTemplates on Paws::Inspector

DESCRIPTION

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

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

SYNOPSIS

    my $inspector = Paws->service('Inspector');
 # List assessment templates
 # Lists the assessment templates that correspond to the assessment targets that
 # are specified by the ARNs of the assessment targets.
    my $ListAssessmentTemplatesResponse = $inspector->ListAssessmentTemplates(
      'AssessmentTargetArns' =>
        ['arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq'],
      'MaxResults' => 123
    );

    # Results:
    my $assessmentTemplateArns =
      $ListAssessmentTemplatesResponse->assessmentTemplateArns;
    my $nextToken = $ListAssessmentTemplatesResponse->nextToken;

    # Returns a L<Paws::Inspector::ListAssessmentTemplatesResponse> 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/inspector/ListAssessmentTemplates

ATTRIBUTES

AssessmentTargetArns => ArrayRef[Str|Undef]

A list of ARNs that specifies the assessment targets whose assessment templates you want to list.

Filter => Paws::Inspector::AssessmentTemplateFilter

You can use this parameter to specify a subset of data to be included in the action's response.

For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.

MaxResults => Int

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.

NextToken => Str

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTemplates action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

SEE ALSO

This class forms part of Paws, documenting arguments for method ListAssessmentTemplates in Paws::Inspector

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