« blib/lib/Paws/Config/GetConformancePackComplianceSummaryResponse.pm
↑ Summary
blib/lib/Paws/Config/GetDiscoveredResourceCountsResponse.pm »
| 1 | |||
| 2 | package Paws::Config::GetDiscoveredResourceCounts; | ||
| 3 | use Moose; | ||
| 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 | use MooseX::ClassAttribute; | ||
| 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 L<Paws::Config> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method GetDiscoveredResourceCounts on the | ||
| 24 | L<AWS Config|Paws::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 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $config = Paws->service('Config'); | ||
| 32 | my $GetDiscoveredResourceCountsResponse = | ||
| 33 | $config->GetDiscoveredResourceCounts( | ||
| 34 | Limit => 1, # OPTIONAL | ||
| 35 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 36 | ResourceTypes => [ | ||
| 37 | 'MyStringWithCharLimit256', ... # min: 1, max: 256 | ||
| 38 | ], # OPTIONAL | ||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $NextToken = $GetDiscoveredResourceCountsResponse->NextToken; | ||
| 43 | my $ResourceCounts = $GetDiscoveredResourceCountsResponse->ResourceCounts; | ||
| 44 | my $TotalDiscoveredResources = | ||
| 45 | $GetDiscoveredResourceCountsResponse->TotalDiscoveredResources; | ||
| 46 | |||
| 47 | # Returns a L<Paws::Config::GetDiscoveredResourceCountsResponse> object. | ||
| 48 | |||
| 49 | 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. | ||
| 50 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/config/GetDiscoveredResourceCounts> | ||
| 51 | |||
| 52 | =head1 ATTRIBUTES | ||
| 53 | |||
| 54 | |||
| 55 | =head2 Limit => Int | ||
| 56 | |||
| 57 | The maximum number of ResourceCount objects returned on each page. The | ||
| 58 | default is 100. You cannot specify a number greater than 100. If you | ||
| 59 | specify 0, AWS Config uses the default. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 NextToken => Str | ||
| 64 | |||
| 65 | The C<nextToken> string returned on a previous page that you use to get | ||
| 66 | the next page of results in a paginated response. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 ResourceTypes => ArrayRef[Str|Undef] | ||
| 71 | |||
| 72 | The comma-separated list that specifies the resource types that you | ||
| 73 | want AWS Config to return (for example, C<"AWS::EC2::Instance">, | ||
| 74 | C<"AWS::IAM::User">). | ||
| 75 | |||
| 76 | If a value for C<resourceTypes> is not specified, AWS Config returns | ||
| 77 | all resource types that AWS Config is recording in the region for your | ||
| 78 | account. | ||
| 79 | |||
| 80 | If the configuration recorder is turned off, AWS Config returns an | ||
| 81 | empty list of ResourceCount objects. If the configuration recorder is | ||
| 82 | not recording a specific resource type (for example, S3 buckets), that | ||
| 83 | resource type is not returned in the list of ResourceCount objects. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head1 SEE ALSO | ||
| 89 | |||
| 90 | This class forms part of L<Paws>, documenting arguments for method GetDiscoveredResourceCounts in L<Paws::Config> | ||
| 91 | |||
| 92 | =head1 BUGS and CONTRIBUTIONS | ||
| 93 | |||
| 94 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 95 | |||
| 96 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 97 | |||
| 98 | =cut | ||
| 99 |