« blib/lib/Paws/IoT/ListAuditSuppressionsResponse.pm
↑ Summary
blib/lib/Paws/IoT/ListAuditTasksResponse.pm »
| 1 | |||
| 2 | package Paws::IoT::ListAuditTasks; | ||
| 3 | use Moose; | ||
| 4 | has EndTime => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'endTime', required => 1); | ||
| 5 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults'); | ||
| 6 | has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken'); | ||
| 7 | has StartTime => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'startTime', required => 1); | ||
| 8 | has TaskStatus => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'taskStatus'); | ||
| 9 | has TaskType => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'taskType'); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAuditTasks'); | ||
| 14 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/audit/tasks'); | ||
| 15 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 16 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT::ListAuditTasksResponse'); | ||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::IoT::ListAuditTasks - Arguments for method ListAuditTasks on L<Paws::IoT> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method ListAuditTasks on the | ||
| 28 | L<AWS IoT|Paws::IoT> service. Use the attributes of this class | ||
| 29 | as arguments to method ListAuditTasks. | ||
| 30 | |||
| 31 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAuditTasks. | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $iot = Paws->service('IoT'); | ||
| 36 | my $ListAuditTasksResponse = $iot->ListAuditTasks( | ||
| 37 | EndTime => '1970-01-01T01:00:00', | ||
| 38 | StartTime => '1970-01-01T01:00:00', | ||
| 39 | MaxResults => 1, # OPTIONAL | ||
| 40 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 41 | TaskStatus => 'IN_PROGRESS', # OPTIONAL | ||
| 42 | TaskType => 'ON_DEMAND_AUDIT_TASK', # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $NextToken = $ListAuditTasksResponse->NextToken; | ||
| 47 | my $Tasks = $ListAuditTasksResponse->Tasks; | ||
| 48 | |||
| 49 | # Returns a L<Paws::IoT::ListAuditTasksResponse> object. | ||
| 50 | |||
| 51 | 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. | ||
| 52 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iot/ListAuditTasks> | ||
| 53 | |||
| 54 | =head1 ATTRIBUTES | ||
| 55 | |||
| 56 | |||
| 57 | =head2 B<REQUIRED> EndTime => Str | ||
| 58 | |||
| 59 | The end of the time period. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 MaxResults => Int | ||
| 64 | |||
| 65 | The maximum number of results to return at one time. The default is 25. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 NextToken => Str | ||
| 70 | |||
| 71 | The token for the next set of results. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 B<REQUIRED> StartTime => Str | ||
| 76 | |||
| 77 | The beginning of the time period. Audit information is retained for a | ||
| 78 | limited time (90 days). Requesting a start time prior to what is | ||
| 79 | retained results in an "InvalidRequestException". | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head2 TaskStatus => Str | ||
| 84 | |||
| 85 | A filter to limit the output to audits with the specified completion | ||
| 86 | status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or | ||
| 87 | "CANCELED". | ||
| 88 | |||
| 89 | Valid values are: C<"IN_PROGRESS">, C<"COMPLETED">, C<"FAILED">, C<"CANCELED"> | ||
| 90 | |||
| 91 | =head2 TaskType => Str | ||
| 92 | |||
| 93 | A filter to limit the output to the specified type of audit: can be one | ||
| 94 | of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK". | ||
| 95 | |||
| 96 | Valid values are: C<"ON_DEMAND_AUDIT_TASK">, C<"SCHEDULED_AUDIT_TASK"> | ||
| 97 | |||
| 98 | |||
| 99 | =head1 SEE ALSO | ||
| 100 | |||
| 101 | This class forms part of L<Paws>, documenting arguments for method ListAuditTasks in L<Paws::IoT> | ||
| 102 | |||
| 103 | =head1 BUGS and CONTRIBUTIONS | ||
| 104 | |||
| 105 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 106 | |||
| 107 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 108 | |||
| 109 | =cut | ||
| 110 |