#[non_exhaustive]pub struct MonitoredResourceIdentifier {
pub monitored_resource_name: Option<String>,
pub type: Option<String>,
pub resource_permission: Option<ResourcePermission>,
pub last_updated: Option<DateTime>,
pub resource_collection: Option<ResourceCollection>,
}
Expand description
Information about the resource that is being monitored, including the name of the resource, the type of resource, and whether or not permission is given to DevOps Guru to access that resource.
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.monitored_resource_name: Option<String>
The name of the resource being monitored.
type: Option<String>
The type of resource being monitored.
resource_permission: Option<ResourcePermission>
The permission status of a resource.
last_updated: Option<DateTime>
The time at which DevOps Guru last updated this resource.
resource_collection: Option<ResourceCollection>
A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
Implementations§
source§impl MonitoredResourceIdentifier
impl MonitoredResourceIdentifier
sourcepub fn monitored_resource_name(&self) -> Option<&str>
pub fn monitored_resource_name(&self) -> Option<&str>
The name of the resource being monitored.
sourcepub fn resource_permission(&self) -> Option<&ResourcePermission>
pub fn resource_permission(&self) -> Option<&ResourcePermission>
The permission status of a resource.
sourcepub fn last_updated(&self) -> Option<&DateTime>
pub fn last_updated(&self) -> Option<&DateTime>
The time at which DevOps Guru last updated this resource.
sourcepub fn resource_collection(&self) -> Option<&ResourceCollection>
pub fn resource_collection(&self) -> Option<&ResourceCollection>
A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
source§impl MonitoredResourceIdentifier
impl MonitoredResourceIdentifier
sourcepub fn builder() -> MonitoredResourceIdentifierBuilder
pub fn builder() -> MonitoredResourceIdentifierBuilder
Creates a new builder-style object to manufacture MonitoredResourceIdentifier
.
Trait Implementations§
source§impl Clone for MonitoredResourceIdentifier
impl Clone for MonitoredResourceIdentifier
source§fn clone(&self) -> MonitoredResourceIdentifier
fn clone(&self) -> MonitoredResourceIdentifier
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MonitoredResourceIdentifier
impl Debug for MonitoredResourceIdentifier
impl StructuralPartialEq for MonitoredResourceIdentifier
Auto Trait Implementations§
impl Freeze for MonitoredResourceIdentifier
impl RefUnwindSafe for MonitoredResourceIdentifier
impl Send for MonitoredResourceIdentifier
impl Sync for MonitoredResourceIdentifier
impl Unpin for MonitoredResourceIdentifier
impl UnwindSafe for MonitoredResourceIdentifier
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more