NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $inspector = Paws->service('Inspector');
# Preview agents
# Previews the agents installed on the EC2 instances that are part of the
# specified assessment target.
my $PreviewAgentsResponse = $inspector->PreviewAgents(
  'MaxResults'       => 123,
  'PreviewAgentsArn' =>
    'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq'
);

# Results:
my $agentPreviews = $PreviewAgentsResponse->agentPreviews;
my $nextToken     = $PreviewAgentsResponse->nextToken;

# Returns a L<Paws::Inspector::PreviewAgentsResponse> 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/PreviewAgents

ATTRIBUTES

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 PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

REQUIRED PreviewAgentsArn => Str

The ARN of the assessment target whose agents you want to preview.

SEE ALSO

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