Class: Aws::ConfigService::Types::GetDiscoveredResourceCountsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConfigService::Types::GetDiscoveredResourceCountsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-configservice/types.rb
Overview
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
-
#limit ⇒ Integer
The maximum number of ResourceCount objects returned on each page.
-
#next_token ⇒ String
The ‘nextToken` string returned on a previous page that you use to get the next page of results in a paginated response.
-
#resource_types ⇒ Array<String>
The comma-separated list that specifies the resource types that you want AWS Config to return (for example, ‘“AWS::EC2::Instance”`, `“AWS::IAM::User”`).
Instance Attribute Details
#limit ⇒ Integer
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.
2914 2915 2916 2917 2918 2919 |
# File 'lib/aws-sdk-configservice/types.rb', line 2914 class GetDiscoveredResourceCountsRequest < Struct.new( :resource_types, :limit, :next_token) include Aws::Structure end |
#next_token ⇒ String
The ‘nextToken` string returned on a previous page that you use to get the next page of results in a paginated response.
2914 2915 2916 2917 2918 2919 |
# File 'lib/aws-sdk-configservice/types.rb', line 2914 class GetDiscoveredResourceCountsRequest < Struct.new( :resource_types, :limit, :next_token) include Aws::Structure end |
#resource_types ⇒ Array<String>
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.
<note markdown=“1”> 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.
</note>
2914 2915 2916 2917 2918 2919 |
# File 'lib/aws-sdk-configservice/types.rb', line 2914 class GetDiscoveredResourceCountsRequest < Struct.new( :resource_types, :limit, :next_token) include Aws::Structure end |