Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data ResourceCount Source #
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.
See: newResourceCount
smart constructor.
ResourceCount' | |
|
Instances
newResourceCount :: ResourceCount Source #
Create a value of ResourceCount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:complete:ResourceCount'
, resourceCount_complete
- 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.
$sel:totalResources:ResourceCount'
, resourceCount_totalResources
- 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.
resourceCount_complete :: Lens' ResourceCount (Maybe Bool) Source #
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.
resourceCount_totalResources :: Lens' ResourceCount (Maybe Integer) Source #
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.