#[non_exhaustive]pub struct GetDiscoveredResourceCountsOutput {
pub total_discovered_resources: i64,
pub resource_counts: Option<Vec<ResourceCount>>,
pub next_token: Option<String>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.total_discovered_resources: i64The total number of resources that Config is recording in the region for your account. If you specify resource types in the request, Config returns only the total number of resources for those resource types.
Example
-
Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources.
-
You make a call to the
GetDiscoveredResourceCountsaction and specify the resource type,"AWS::EC2::Instances", in the request. -
Config returns 25 for
totalDiscoveredResources.
resource_counts: Option<Vec<ResourceCount>>The list of ResourceCount objects. Each object is listed in descending order by the number of resources.
next_token: Option<String>The string that you use in a subsequent request to get the next page of results in a paginated response.
Implementations
The total number of resources that Config is recording in the region for your account. If you specify resource types in the request, Config returns only the total number of resources for those resource types.
Example
-
Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources.
-
You make a call to the
GetDiscoveredResourceCountsaction and specify the resource type,"AWS::EC2::Instances", in the request. -
Config returns 25 for
totalDiscoveredResources.
The list of ResourceCount objects. Each object is listed in descending order by the number of resources.
The string that you use in a subsequent request to get the next page of results in a paginated response.
Creates a new builder-style object to manufacture GetDiscoveredResourceCountsOutput
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for GetDiscoveredResourceCountsOutput
impl Sync for GetDiscoveredResourceCountsOutput
impl Unpin for GetDiscoveredResourceCountsOutput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more