Class: Aws::ResourceExplorer2::Types::ResourceCount

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

Overview

Information about the number of results that match the query. At this time, Amazon Web Services Resource Explorer doesn't count more than 1,000 matches for any query. This structure provides information about whether the query exceeded this limit.

This field is included in every page when you paginate the results.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#completeBoolean

Indicates whether the TotalResources value represents an exhaustive count of search results.

  • If True, it indicates that the search was exhaustive. Every resource that matches the query was counted.

  • If False, then the search reached the limit of 1,000 matching results, and stopped counting.

Returns:

  • (Boolean)


1030
1031
1032
1033
1034
1035
# File 'gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2/types.rb', line 1030

class ResourceCount < Struct.new(
  :complete,
  :total_resources)
  SENSITIVE = []
  include Aws::Structure
end

#total_resourcesInteger

The number of resources that match the search query. This value can't exceed 1,000. If there are more than 1,000 resources that match the query, then only 1,000 are counted and the Complete field is set to false. We recommend that you refine your query to return a smaller number of results.

Returns:

  • (Integer)


1030
1031
1032
1033
1034
1035
# File 'gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2/types.rb', line 1030

class ResourceCount < Struct.new(
  :complete,
  :total_resources)
  SENSITIVE = []
  include Aws::Structure
end