Struct aws_sdk_config::types::AggregateResourceIdentifier
source · #[non_exhaustive]pub struct AggregateResourceIdentifier {
pub source_account_id: String,
pub source_region: String,
pub resource_id: String,
pub resource_type: ResourceType,
pub resource_name: Option<String>,
}Expand description
The details that identify a resource that is collected by Config aggregator, including the resource type, ID, (if available) the custom resource name, the source account, and source region.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.source_account_id: StringThe 12-digit account ID of the source account.
source_region: StringThe source region where data is aggregated.
resource_id: StringThe ID of the Amazon Web Services resource.
resource_type: ResourceTypeThe type of the Amazon Web Services resource.
resource_name: Option<String>The name of the Amazon Web Services resource.
Implementations§
source§impl AggregateResourceIdentifier
impl AggregateResourceIdentifier
sourcepub fn source_account_id(&self) -> &str
pub fn source_account_id(&self) -> &str
The 12-digit account ID of the source account.
sourcepub fn source_region(&self) -> &str
pub fn source_region(&self) -> &str
The source region where data is aggregated.
sourcepub fn resource_id(&self) -> &str
pub fn resource_id(&self) -> &str
The ID of the Amazon Web Services resource.
sourcepub fn resource_type(&self) -> &ResourceType
pub fn resource_type(&self) -> &ResourceType
The type of the Amazon Web Services resource.
sourcepub fn resource_name(&self) -> Option<&str>
pub fn resource_name(&self) -> Option<&str>
The name of the Amazon Web Services resource.
source§impl AggregateResourceIdentifier
impl AggregateResourceIdentifier
sourcepub fn builder() -> AggregateResourceIdentifierBuilder
pub fn builder() -> AggregateResourceIdentifierBuilder
Creates a new builder-style object to manufacture AggregateResourceIdentifier.
Trait Implementations§
source§impl Clone for AggregateResourceIdentifier
impl Clone for AggregateResourceIdentifier
source§fn clone(&self) -> AggregateResourceIdentifier
fn clone(&self) -> AggregateResourceIdentifier
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AggregateResourceIdentifier
impl Debug for AggregateResourceIdentifier
source§impl PartialEq for AggregateResourceIdentifier
impl PartialEq for AggregateResourceIdentifier
source§fn eq(&self, other: &AggregateResourceIdentifier) -> bool
fn eq(&self, other: &AggregateResourceIdentifier) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AggregateResourceIdentifier
Auto Trait Implementations§
impl RefUnwindSafe for AggregateResourceIdentifier
impl Send for AggregateResourceIdentifier
impl Sync for AggregateResourceIdentifier
impl Unpin for AggregateResourceIdentifier
impl UnwindSafe for AggregateResourceIdentifier
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.