File Coverage

blib/lib/Paws/Config/GetDiscoveredResourceCounts.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::GetDiscoveredResourceCounts;
3 1     1   410 use Moose;
  1         3  
  1         7  
4             has Limit => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'limit' );
5             has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
6             has ResourceTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'resourceTypes' );
7              
8 1     1   5815 use MooseX::ClassAttribute;
  1         3  
  1         8  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetDiscoveredResourceCounts');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Config::GetDiscoveredResourceCountsResponse');
12             class_has _result_key => (isa => 'Str', is => 'ro');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::Config::GetDiscoveredResourceCounts - Arguments for method GetDiscoveredResourceCounts on Paws::Config
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method GetDiscoveredResourceCounts on the
24             AWS Config service. Use the attributes of this class
25             as arguments to method GetDiscoveredResourceCounts.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetDiscoveredResourceCounts.
28              
29             As an example:
30              
31             $service_obj->GetDiscoveredResourceCounts(Att1 => $value1, Att2 => $value2, ...);
32              
33             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.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 Limit => Int
39              
40             The maximum number of ResourceCount objects returned on each page. The
41             default is 100. You cannot specify a limit greater than 100. If you
42             specify 0, AWS Config uses the default.
43              
44              
45              
46             =head2 NextToken => Str
47              
48             The C<nextToken> string returned on a previous page that you use to get
49             the next page of results in a paginated response.
50              
51              
52              
53             =head2 ResourceTypes => ArrayRef[Str|Undef]
54              
55             The comma-separated list that specifies the resource types that you
56             want the AWS Config to return. For example, (C<"AWS::EC2::Instance">,
57             C<"AWS::IAM::User">).
58              
59             If a value for C<resourceTypes> is not specified, AWS Config returns
60             all resource types that AWS Config is recording in the region for your
61             account.
62              
63             If the configuration recorder is turned off, AWS Config returns an
64             empty list of ResourceCount objects. If the configuration recorder is
65             not recording a specific resource type (for example, S3 buckets), that
66             resource type is not returned in the list of ResourceCount objects.
67              
68              
69              
70              
71             =head1 SEE ALSO
72              
73             This class forms part of L<Paws>, documenting arguments for method GetDiscoveredResourceCounts in L<Paws::Config>
74              
75             =head1 BUGS and CONTRIBUTIONS
76              
77             The source code is located here: https://github.com/pplu/aws-sdk-perl
78              
79             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
80              
81             =cut
82