#[non_exhaustive]pub struct GetDiscoveredResourceCountsOutput { /* private fields */ }Implementations§
source§impl GetDiscoveredResourceCountsOutput
impl GetDiscoveredResourceCountsOutput
sourcepub fn total_discovered_resources(&self) -> i64
pub fn total_discovered_resources(&self) -> i64
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.
sourcepub fn resource_counts(&self) -> Option<&[ResourceCount]>
pub fn resource_counts(&self) -> Option<&[ResourceCount]>
The list of ResourceCount objects. Each object is listed in descending order by the number of resources.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The string that you use in a subsequent request to get the next page of results in a paginated response.
source§impl GetDiscoveredResourceCountsOutput
impl GetDiscoveredResourceCountsOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetDiscoveredResourceCountsOutput.
Trait Implementations§
source§impl Clone for GetDiscoveredResourceCountsOutput
impl Clone for GetDiscoveredResourceCountsOutput
source§fn clone(&self) -> GetDiscoveredResourceCountsOutput
fn clone(&self) -> GetDiscoveredResourceCountsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq<GetDiscoveredResourceCountsOutput> for GetDiscoveredResourceCountsOutput
impl PartialEq<GetDiscoveredResourceCountsOutput> for GetDiscoveredResourceCountsOutput
source§fn eq(&self, other: &GetDiscoveredResourceCountsOutput) -> bool
fn eq(&self, other: &GetDiscoveredResourceCountsOutput) -> bool
self and other values to be equal, and is used
by ==.