File Coverage

blib/lib/Paws/Config/DescribeComplianceByResource.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Config::DescribeComplianceByResource;
3 1     1   436 use Moose;
  1         3  
  1         7  
4             has ComplianceTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5             has Limit => (is => 'ro', isa => 'Int');
6             has NextToken => (is => 'ro', isa => 'Str');
7             has ResourceId => (is => 'ro', isa => 'Str');
8             has ResourceType => (is => 'ro', isa => 'Str');
9              
10 1     1   6214 use MooseX::ClassAttribute;
  1         3  
  1         8  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeComplianceByResource');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Config::DescribeComplianceByResourceResponse');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::Config::DescribeComplianceByResource - Arguments for method DescribeComplianceByResource on Paws::Config
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method DescribeComplianceByResource on the
26             AWS Config service. Use the attributes of this class
27             as arguments to method DescribeComplianceByResource.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeComplianceByResource.
30              
31             As an example:
32              
33             $service_obj->DescribeComplianceByResource(Att1 => $value1, Att2 => $value2, ...);
34              
35             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.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 ComplianceTypes => ArrayRef[Str|Undef]
41              
42             Filters the results by compliance.
43              
44             The allowed values are C<COMPLIANT>, C<NON_COMPLIANT>, and
45             C<INSUFFICIENT_DATA>.
46              
47              
48              
49             =head2 Limit => Int
50              
51             The maximum number of evaluation results returned on each page. The
52             default is 10. You cannot specify a limit greater than 100. If you
53             specify 0, AWS Config uses the default.
54              
55              
56              
57             =head2 NextToken => Str
58              
59             The C<NextToken> string returned on a previous page that you use to get
60             the next page of results in a paginated response.
61              
62              
63              
64             =head2 ResourceId => Str
65              
66             The ID of the AWS resource for which you want compliance information.
67             You can specify only one resource ID. If you specify a resource ID, you
68             must also specify a type for C<ResourceType>.
69              
70              
71              
72             =head2 ResourceType => Str
73              
74             The types of AWS resources for which you want compliance information;
75             for example, C<AWS::EC2::Instance>. For this action, you can specify
76             that the resource type is an AWS account by specifying
77             C<AWS::::Account>.
78              
79              
80              
81              
82             =head1 SEE ALSO
83              
84             This class forms part of L<Paws>, documenting arguments for method DescribeComplianceByResource in L<Paws::Config>
85              
86             =head1 BUGS and CONTRIBUTIONS
87              
88             The source code is located here: https://github.com/pplu/aws-sdk-perl
89              
90             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
91              
92             =cut
93