« blib/lib/Paws/IoT/ListAttachedPoliciesResponse.pm
↑ Summary
blib/lib/Paws/IoT/ListAuditFindingsResponse.pm »
| 1 | |||
| 2 | package Paws::IoT::ListAuditFindings; | ||
| 3 | use Moose; | ||
| 4 | has CheckName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'checkName'); | ||
| 5 | has EndTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'endTime'); | ||
| 6 | has ListSuppressedFindings => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'listSuppressedFindings'); | ||
| 7 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults'); | ||
| 8 | has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken'); | ||
| 9 | has ResourceIdentifier => (is => 'ro', isa => 'Paws::IoT::ResourceIdentifier', traits => ['NameInRequest'], request_name => 'resourceIdentifier'); | ||
| 10 | has StartTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'startTime'); | ||
| 11 | has TaskId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'taskId'); | ||
| 12 | |||
| 13 | use MooseX::ClassAttribute; | ||
| 14 | |||
| 15 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAuditFindings'); | ||
| 16 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/audit/findings'); | ||
| 17 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 18 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT::ListAuditFindingsResponse'); | ||
| 19 | 1; | ||
| 20 | |||
| 21 | ### main pod documentation begin ### | ||
| 22 | |||
| 23 | =head1 NAME | ||
| 24 | |||
| 25 | Paws::IoT::ListAuditFindings - Arguments for method ListAuditFindings on L<Paws::IoT> | ||
| 26 | |||
| 27 | =head1 DESCRIPTION | ||
| 28 | |||
| 29 | This class represents the parameters used for calling the method ListAuditFindings on the | ||
| 30 | L<AWS IoT|Paws::IoT> service. Use the attributes of this class | ||
| 31 | as arguments to method ListAuditFindings. | ||
| 32 | |||
| 33 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAuditFindings. | ||
| 34 | |||
| 35 | =head1 SYNOPSIS | ||
| 36 | |||
| 37 | my $iot = Paws->service('IoT'); | ||
| 38 | my $ListAuditFindingsResponse = $iot->ListAuditFindings( | ||
| 39 | CheckName => 'MyAuditCheckName', # OPTIONAL | ||
| 40 | EndTime => '1970-01-01T01:00:00', # OPTIONAL | ||
| 41 | ListSuppressedFindings => 1, # OPTIONAL | ||
| 42 | MaxResults => 1, # OPTIONAL | ||
| 43 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 44 | ResourceIdentifier => { | ||
| 45 | Account => 'MyAwsAccountId', # min: 12, max: 12; OPTIONAL | ||
| 46 | CaCertificateId => 'MyCertificateId', # min: 64, max: 64; OPTIONAL | ||
| 47 | ClientId => 'MyClientId', # OPTIONAL | ||
| 48 | CognitoIdentityPoolId => 'MyCognitoIdentityPoolId', # OPTIONAL | ||
| 49 | DeviceCertificateId => 'MyCertificateId', # min: 64, max: 64; OPTIONAL | ||
| 50 | IamRoleArn => 'MyRoleArn', # min: 20, max: 2048; OPTIONAL | ||
| 51 | PolicyVersionIdentifier => { | ||
| 52 | PolicyName => 'MyPolicyName', # min: 1, max: 128; OPTIONAL | ||
| 53 | PolicyVersionId => 'MyPolicyVersionId', # OPTIONAL | ||
| 54 | }, # OPTIONAL | ||
| 55 | RoleAliasArn => 'MyRoleAliasArn', # min: 1, max: 2048; OPTIONAL | ||
| 56 | }, # OPTIONAL | ||
| 57 | StartTime => '1970-01-01T01:00:00', # OPTIONAL | ||
| 58 | TaskId => 'MyAuditTaskId', # OPTIONAL | ||
| 59 | ); | ||
| 60 | |||
| 61 | # Results: | ||
| 62 | my $Findings = $ListAuditFindingsResponse->Findings; | ||
| 63 | my $NextToken = $ListAuditFindingsResponse->NextToken; | ||
| 64 | |||
| 65 | # Returns a L<Paws::IoT::ListAuditFindingsResponse> object. | ||
| 66 | |||
| 67 | 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. | ||
| 68 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iot/ListAuditFindings> | ||
| 69 | |||
| 70 | =head1 ATTRIBUTES | ||
| 71 | |||
| 72 | |||
| 73 | =head2 CheckName => Str | ||
| 74 | |||
| 75 | A filter to limit results to the findings for the specified audit | ||
| 76 | check. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 EndTime => Str | ||
| 81 | |||
| 82 | A filter to limit results to those found before the specified time. You | ||
| 83 | must specify either the startTime and endTime or the taskId, but not | ||
| 84 | both. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head2 ListSuppressedFindings => Bool | ||
| 89 | |||
| 90 | Boolean flag indicating whether only the suppressed findings or the | ||
| 91 | unsuppressed findings should be listed. If this parameter isn't | ||
| 92 | provided, the response will list both suppressed and unsuppressed | ||
| 93 | findings. | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head2 MaxResults => Int | ||
| 98 | |||
| 99 | The maximum number of results to return at one time. The default is 25. | ||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head2 NextToken => Str | ||
| 104 | |||
| 105 | The token for the next set of results. | ||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | =head2 ResourceIdentifier => L<Paws::IoT::ResourceIdentifier> | ||
| 110 | |||
| 111 | Information identifying the noncompliant resource. | ||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | =head2 StartTime => Str | ||
| 116 | |||
| 117 | A filter to limit results to those found after the specified time. You | ||
| 118 | must specify either the startTime and endTime or the taskId, but not | ||
| 119 | both. | ||
| 120 | |||
| 121 | |||
| 122 | |||
| 123 | =head2 TaskId => Str | ||
| 124 | |||
| 125 | A filter to limit results to the audit with the specified ID. You must | ||
| 126 | specify either the taskId or the startTime and endTime, but not both. | ||
| 127 | |||
| 128 | |||
| 129 | |||
| 130 | |||
| 131 | =head1 SEE ALSO | ||
| 132 | |||
| 133 | This class forms part of L<Paws>, documenting arguments for method ListAuditFindings in L<Paws::IoT> | ||
| 134 | |||
| 135 | =head1 BUGS and CONTRIBUTIONS | ||
| 136 | |||
| 137 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 138 | |||
| 139 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 140 | |||
| 141 | =cut | ||
| 142 |