pub struct GetDiscoveredResourceCountsResponse {
pub next_token: Option<String>,
pub resource_counts: Option<Vec<ResourceCount>>,
pub total_discovered_resources: Option<i64>,
}
Fields
next_token: Option<String>
The string that you use in a subsequent request to get the next page of results in a paginated response.
resource_counts: Option<Vec<ResourceCount>>
The list of ResourceCount
objects. Each object is listed in descending order by the number of resources.
total_discovered_resources: Option<i64>
The total number of resources that AWS Config is recording in the region for your account. If you specify resource types in the request, AWS Config returns only the total number of resources for those resource types.
Example
-
AWS 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
GetDiscoveredResourceCounts
action and specify the resource type,"AWS::EC2::Instances"
, in the request. -
AWS Config returns 25 for
totalDiscoveredResources
.
Trait Implementations
sourceimpl Clone for GetDiscoveredResourceCountsResponse
impl Clone for GetDiscoveredResourceCountsResponse
sourcefn clone(&self) -> GetDiscoveredResourceCountsResponse
fn clone(&self) -> GetDiscoveredResourceCountsResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for GetDiscoveredResourceCountsResponse
impl Default for GetDiscoveredResourceCountsResponse
sourcefn default() -> GetDiscoveredResourceCountsResponse
fn default() -> GetDiscoveredResourceCountsResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetDiscoveredResourceCountsResponse
impl<'de> Deserialize<'de> for GetDiscoveredResourceCountsResponse
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<GetDiscoveredResourceCountsResponse> for GetDiscoveredResourceCountsResponse
impl PartialEq<GetDiscoveredResourceCountsResponse> for GetDiscoveredResourceCountsResponse
sourcefn eq(&self, other: &GetDiscoveredResourceCountsResponse) -> bool
fn eq(&self, other: &GetDiscoveredResourceCountsResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetDiscoveredResourceCountsResponse) -> bool
fn ne(&self, other: &GetDiscoveredResourceCountsResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetDiscoveredResourceCountsResponse
Auto Trait Implementations
impl RefUnwindSafe for GetDiscoveredResourceCountsResponse
impl Send for GetDiscoveredResourceCountsResponse
impl Sync for GetDiscoveredResourceCountsResponse
impl Unpin for GetDiscoveredResourceCountsResponse
impl UnwindSafe for GetDiscoveredResourceCountsResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more