You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ConfigService::Types::GetDiscoveredResourceCountsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb

Overview

Note:

When making an API call, you may pass GetDiscoveredResourceCountsRequest data as a hash:

{
  resource_types: ["StringWithCharLimit256"],
  limit: 1,
  next_token: "NextToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#limitInteger

The maximum number of ResourceCount objects returned on each page. The default is 100. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.

Returns:

  • (Integer)


1691
1692
1693
1694
1695
1696
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1691

class GetDiscoveredResourceCountsRequest < Struct.new(
  :resource_types,
  :limit,
  :next_token)
  include Aws::Structure
end

#next_tokenString

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

Returns:

  • (String)


1691
1692
1693
1694
1695
1696
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1691

class GetDiscoveredResourceCountsRequest < Struct.new(
  :resource_types,
  :limit,
  :next_token)
  include Aws::Structure
end

#resource_typesArray<String>

The comma-separated list that specifies the resource types that you want the 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.

Returns:

  • (Array<String>)


1691
1692
1693
1694
1695
1696
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1691

class GetDiscoveredResourceCountsRequest < Struct.new(
  :resource_types,
  :limit,
  :next_token)
  include Aws::Structure
end