The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::Config::GetDiscoveredResourceCounts - Arguments for method GetDiscoveredResourceCounts on Paws::Config

DESCRIPTION

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.

SYNOPSIS

    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

ATTRIBUTES

Limit => Int

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.

NextToken => Str

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

ResourceTypes => ArrayRef[Str|Undef]

The comma-separated list that specifies the resource types that you want AWS Config to return (for example, "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.

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.

SEE ALSO

This class forms part of Paws, documenting arguments for method GetDiscoveredResourceCounts in Paws::Config

BUGS and CONTRIBUTIONS

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