Paws::Config::GetDiscoveredResourceCounts - Arguments for method GetDiscoveredResourceCounts on Paws::Config
This class represents the parameters used for calling the method GetDiscoveredResourceCounts on the AWS Config service. Use the attributes of this class as arguments to method GetDiscoveredResourceCounts.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetDiscoveredResourceCounts.
my $config = Paws->service('Config'); my $GetDiscoveredResourceCountsResponse = $config->GetDiscoveredResourceCounts( Limit => 1, # OPTIONAL NextToken => 'MyNextToken', # OPTIONAL ResourceTypes => [ 'MyStringWithCharLimit256', ... # min: 1, max: 256 ], # OPTIONAL ); # Results: my $NextToken = $GetDiscoveredResourceCountsResponse->NextToken; my $ResourceCounts = $GetDiscoveredResourceCountsResponse->ResourceCounts; my $TotalDiscoveredResources = $GetDiscoveredResourceCountsResponse->TotalDiscoveredResources; # Returns a L<Paws::Config::GetDiscoveredResourceCountsResponse> 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/config/GetDiscoveredResourceCounts
The maximum number of ResourceCount objects returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
nextToken
The comma-separated list that specifies the resource types that you want AWS Config to return (for example, "AWS::EC2::Instance", "AWS::IAM::User").
"AWS::EC2::Instance"
"AWS::IAM::User"
If a value for resourceTypes is not specified, AWS Config returns all resource types that AWS Config is recording in the region for your account.
resourceTypes
If the configuration recorder is turned off, AWS Config returns an empty list of ResourceCount objects. If the configuration recorder is not recording a specific resource type (for example, S3 buckets), that resource type is not returned in the list of ResourceCount objects.
This class forms part of Paws, documenting arguments for method GetDiscoveredResourceCounts in Paws::Config
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.