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 number greater than 100. If you specify 0, AWS Config uses the default.

Returns:

  • (Integer)


2688
2689
2690
2691
2692
2693
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 2688

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)


2688
2689
2690
2691
2692
2693
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 2688

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 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>)


2688
2689
2690
2691
2692
2693
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 2688

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