Struct aws_sdk_devopsguru::model::Event
source · #[non_exhaustive]pub struct Event { /* private fields */ }
Expand description
An Amazon Web Services resource event. Amazon Web Services resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.
Implementations§
source§impl Event
impl Event
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.
sourcepub fn time(&self) -> Option<&DateTime>
pub fn time(&self) -> Option<&DateTime>
A Timestamp
that specifies the time the event occurred.
sourcepub fn event_source(&self) -> Option<&str>
pub fn event_source(&self) -> Option<&str>
The Amazon Web Services source that emitted the event.
sourcepub fn data_source(&self) -> Option<&EventDataSource>
pub fn data_source(&self) -> Option<&EventDataSource>
The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
, where DevOps Guru analysis found the event.
sourcepub fn event_class(&self) -> Option<&EventClass>
pub fn event_class(&self) -> Option<&EventClass>
The class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change.
sourcepub fn resources(&self) -> Option<&[EventResource]>
pub fn resources(&self) -> Option<&[EventResource]>
An EventResource
object that contains information about the resource that emitted the event.