#[non_exhaustive]pub struct CodeDeployEvent {
pub account_id: Option<String>,
pub region: Option<String>,
pub detail_type: Option<String>,
pub source: Option<String>,
pub version: Option<String>,
pub time: DateTime<Utc>,
pub id: Option<String>,
pub resources: Vec<String>,
pub detail: CodeDeployEventDetail,
pub other: Map<String, Value>,
}codedeploy only.Expand description
CodeDeployEvent is documented at:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html#acd_event_types
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.account_id: Option<String>AccountID is the id of the AWS account from which the event originated.
region: Option<String>Region is the AWS region from which the event originated.
detail_type: Option<String>DetailType informs the schema of the Detail field. For deployment state-change events, the value should be equal to CodeDeployDeploymentEventDetailType. For instance state-change events, the value should be equal to CodeDeployInstanceEventDetailType.
source: Option<String>Source should be equal to CodeDeployEventSource.
version: Option<String>Version is the version of the event’s schema.
time: DateTime<Utc>Time is the event’s timestamp.
id: Option<String>ID is the GUID of this event.
resources: Vec<String>Resources is a list of ARNs of CodeDeploy applications and deployment groups that this event pertains to.
detail: CodeDeployEventDetailDetail contains information specific to a deployment event.
other: Map<String, Value>catch-all-fields only.Catchall to catch any additional fields that were present but not explicitly defined by this struct.
Enabled with Cargo feature catch-all-fields.
If catch-all-fields is disabled, any additional fields that are present will be ignored.
Trait Implementations§
Source§impl Clone for CodeDeployEvent
impl Clone for CodeDeployEvent
Source§fn clone(&self) -> CodeDeployEvent
fn clone(&self) -> CodeDeployEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more