NAME

Paws::IoT::ListAuditTasks - Arguments for method ListAuditTasks on Paws::IoT

DESCRIPTION

This class represents the parameters used for calling the method ListAuditTasks on the AWS IoT service. Use the attributes of this class as arguments to method ListAuditTasks.

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

SYNOPSIS

my $iot = Paws->service('IoT');
my $ListAuditTasksResponse = $iot->ListAuditTasks(
  EndTime    => '1970-01-01T01:00:00',
  StartTime  => '1970-01-01T01:00:00',
  MaxResults => 1,                         # OPTIONAL
  NextToken  => 'MyNextToken',             # OPTIONAL
  TaskStatus => 'IN_PROGRESS',             # OPTIONAL
  TaskType   => 'ON_DEMAND_AUDIT_TASK',    # OPTIONAL
);

# Results:
my $NextToken = $ListAuditTasksResponse->NextToken;
my $Tasks     = $ListAuditTasksResponse->Tasks;

# Returns a L<Paws::IoT::ListAuditTasksResponse> 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/iot/ListAuditTasks

ATTRIBUTES

REQUIRED EndTime => Str

The end of the time period.

MaxResults => Int

The maximum number of results to return at one time. The default is 25.

NextToken => Str

The token for the next set of results.

REQUIRED StartTime => Str

The beginning of the time period. Audit information is retained for a limited time (90 days). Requesting a start time prior to what is retained results in an "InvalidRequestException".

TaskStatus => Str

A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".

Valid values are: "IN_PROGRESS", "COMPLETED", "FAILED", "CANCELED"

TaskType => Str

A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".

Valid values are: "ON_DEMAND_AUDIT_TASK", "SCHEDULED_AUDIT_TASK"

SEE ALSO

This class forms part of Paws, documenting arguments for method ListAuditTasks in Paws::IoT

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