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::IoT::ListAuditFindings - Arguments for method ListAuditFindings on Paws::IoT

DESCRIPTION

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

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

SYNOPSIS

my $iot = Paws->service('IoT');
my $ListAuditFindingsResponse = $iot->ListAuditFindings(
  CheckName              => 'MyAuditCheckName',       # OPTIONAL
  EndTime                => '1970-01-01T01:00:00',    # OPTIONAL
  ListSuppressedFindings => 1,                        # OPTIONAL
  MaxResults             => 1,                        # OPTIONAL
  NextToken              => 'MyNextToken',            # OPTIONAL
  ResourceIdentifier     => {
    Account               => 'MyAwsAccountId',  # min: 12, max: 12; OPTIONAL
    CaCertificateId       => 'MyCertificateId', # min: 64, max: 64; OPTIONAL
    ClientId              => 'MyClientId',      # OPTIONAL
    CognitoIdentityPoolId => 'MyCognitoIdentityPoolId',    # OPTIONAL
    DeviceCertificateId => 'MyCertificateId', # min: 64, max: 64; OPTIONAL
    IamRoleArn          => 'MyRoleArn',       # min: 20, max: 2048; OPTIONAL
    PolicyVersionIdentifier => {
      PolicyName      => 'MyPolicyName',        # min: 1, max: 128; OPTIONAL
      PolicyVersionId => 'MyPolicyVersionId',   # OPTIONAL
    },    # OPTIONAL
    RoleAliasArn => 'MyRoleAliasArn',    # min: 1, max: 2048; OPTIONAL
  },    # OPTIONAL
  StartTime => '1970-01-01T01:00:00',    # OPTIONAL
  TaskId    => 'MyAuditTaskId',          # OPTIONAL
);

# Results:
my $Findings  = $ListAuditFindingsResponse->Findings;
my $NextToken = $ListAuditFindingsResponse->NextToken;

# Returns a L<Paws::IoT::ListAuditFindingsResponse> 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/ListAuditFindings

ATTRIBUTES

CheckName => Str

A filter to limit results to the findings for the specified audit check.

EndTime => Str

A filter to limit results to those found before the specified time. You must specify either the startTime and endTime or the taskId, but not both.

ListSuppressedFindings => Bool

Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.

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.

ResourceIdentifier => Paws::IoT::ResourceIdentifier

Information identifying the noncompliant resource.

StartTime => Str

A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.

TaskId => Str

A filter to limit results to the audit with the specified ID. You must specify either the taskId or the startTime and endTime, but not both.

SEE ALSO

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