« blib/lib/Paws/Config/GetDiscoveredResourceCounts.pm
↑ Summary
blib/lib/Paws/Config/GetOrganizationConfigRuleDetailedStatus.pm »
| 1 | |||
| 2 | package Paws::Config::GetDiscoveredResourceCountsResponse; | ||
| 3 | use Moose; | ||
| 4 | has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' ); | ||
| 5 | has ResourceCounts => (is => 'ro', isa => 'ArrayRef[Paws::Config::ResourceCount]', traits => ['NameInRequest'], request_name => 'resourceCounts' ); | ||
| 6 | has TotalDiscoveredResources => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'totalDiscoveredResources' ); | ||
| 7 | |||
| 8 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::Config::GetDiscoveredResourceCountsResponse | ||
| 15 | |||
| 16 | =head1 ATTRIBUTES | ||
| 17 | |||
| 18 | |||
| 19 | =head2 NextToken => Str | ||
| 20 | |||
| 21 | The string that you use in a subsequent request to get the next page of | ||
| 22 | results in a paginated response. | ||
| 23 | |||
| 24 | |||
| 25 | =head2 ResourceCounts => ArrayRef[L<Paws::Config::ResourceCount>] | ||
| 26 | |||
| 27 | The list of C<ResourceCount> objects. Each object is listed in | ||
| 28 | descending order by the number of resources. | ||
| 29 | |||
| 30 | |||
| 31 | =head2 TotalDiscoveredResources => Int | ||
| 32 | |||
| 33 | The total number of resources that AWS Config is recording in the | ||
| 34 | region for your account. If you specify resource types in the request, | ||
| 35 | AWS Config returns only the total number of resources for those | ||
| 36 | resource types. | ||
| 37 | |||
| 38 | B<Example> | ||
| 39 | |||
| 40 | =over | ||
| 41 | |||
| 42 | =item 1. | ||
| 43 | |||
| 44 | AWS Config is recording three resource types in the US East (Ohio) | ||
| 45 | Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 | ||
| 46 | buckets, for a total of 60 resources. | ||
| 47 | |||
| 48 | =item 2. | ||
| 49 | |||
| 50 | You make a call to the C<GetDiscoveredResourceCounts> action and | ||
| 51 | specify the resource type, C<"AWS::EC2::Instances">, in the request. | ||
| 52 | |||
| 53 | =item 3. | ||
| 54 | |||
| 55 | AWS Config returns 25 for C<totalDiscoveredResources>. | ||
| 56 | |||
| 57 | =back | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head2 _request_id => Str | ||
| 62 | |||
| 63 | |||
| 64 | =cut | ||
| 65 | |||
| 66 | 1; |