Struct aws_lambda_events::event::cloudwatch_events::CloudWatchEvent
source · pub struct CloudWatchEvent {
pub version: Option<String>,
pub id: Option<String>,
pub detail_type: Option<String>,
pub source: Option<String>,
pub account_id: Option<String>,
pub time: DateTime<Utc>,
pub region: Option<String>,
pub resources: Vec<String>,
pub detail: Value,
}
Expand description
CloudWatchEvent
is the outer structure of an event sent via CloudWatch Events.
For examples of events that come via CloudWatch Events, see https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html
Fields§
§version: Option<String>
§id: Option<String>
§detail_type: Option<String>
§source: Option<String>
§account_id: Option<String>
§time: DateTime<Utc>
§region: Option<String>
§resources: Vec<String>
§detail: Value
Trait Implementations§
source§impl Clone for CloudWatchEvent
impl Clone for CloudWatchEvent
source§fn clone(&self) -> CloudWatchEvent
fn clone(&self) -> CloudWatchEvent
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 CloudWatchEvent
impl Debug for CloudWatchEvent
source§impl<'de> Deserialize<'de> for CloudWatchEvent
impl<'de> Deserialize<'de> for CloudWatchEvent
source§fn 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