Struct aws_sdk_resourceexplorer2::model::Resource
source · #[non_exhaustive]pub struct Resource { /* private fields */ }Expand description
A resource in Amazon Web Services that Amazon Web Services Resource Explorer has discovered, and for which it has stored information in the index of the Amazon Web Services Region that contains the resource.
Implementations§
source§impl Resource
impl Resource
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon resource name (ARN) of the resource.
sourcepub fn owning_account_id(&self) -> Option<&str>
pub fn owning_account_id(&self) -> Option<&str>
The Amazon Web Services account that owns the resource.
sourcepub fn region(&self) -> Option<&str>
pub fn region(&self) -> Option<&str>
The Amazon Web Services Region in which the resource was created and exists.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The type of the resource.
sourcepub fn service(&self) -> Option<&str>
pub fn service(&self) -> Option<&str>
The Amazon Web Service that owns the resource and is responsible for creating and updating it.
sourcepub fn last_reported_at(&self) -> Option<&DateTime>
pub fn last_reported_at(&self) -> Option<&DateTime>
The date and time that Resource Explorer last queried this resource and updated the index with the latest information about the resource.
sourcepub fn properties(&self) -> Option<&[ResourceProperty]>
pub fn properties(&self) -> Option<&[ResourceProperty]>
A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.