Struct aws_sdk_appconfig::types::DeploymentEvent
source · #[non_exhaustive]pub struct DeploymentEvent {
pub event_type: Option<DeploymentEventType>,
pub triggered_by: Option<TriggeredBy>,
pub description: Option<String>,
pub action_invocations: Option<Vec<ActionInvocation>>,
pub occurred_at: Option<DateTime>,
}Expand description
An object that describes a deployment event.
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.event_type: Option<DeploymentEventType>The type of deployment event. Deployment event types include the start, stop, or completion of a deployment; a percentage update; the start or stop of a bake period; and the start or completion of a rollback.
triggered_by: Option<TriggeredBy>The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an internal error.
description: Option<String>A description of the deployment event. Descriptions include, but are not limited to, the following:
-
The Amazon Web Services account or the Amazon CloudWatch alarm ARN that initiated a rollback.
-
The percentage of hosts that received the deployment.
-
A recommendation to attempt a new deployment (in the case of an internal error).
action_invocations: Option<Vec<ActionInvocation>>The list of extensions that were invoked as part of the deployment.
occurred_at: Option<DateTime>The date and time the event occurred.
Implementations§
source§impl DeploymentEvent
impl DeploymentEvent
sourcepub fn event_type(&self) -> Option<&DeploymentEventType>
pub fn event_type(&self) -> Option<&DeploymentEventType>
The type of deployment event. Deployment event types include the start, stop, or completion of a deployment; a percentage update; the start or stop of a bake period; and the start or completion of a rollback.
sourcepub fn triggered_by(&self) -> Option<&TriggeredBy>
pub fn triggered_by(&self) -> Option<&TriggeredBy>
The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an internal error.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the deployment event. Descriptions include, but are not limited to, the following:
-
The Amazon Web Services account or the Amazon CloudWatch alarm ARN that initiated a rollback.
-
The percentage of hosts that received the deployment.
-
A recommendation to attempt a new deployment (in the case of an internal error).
sourcepub fn action_invocations(&self) -> &[ActionInvocation]
pub fn action_invocations(&self) -> &[ActionInvocation]
The list of extensions that were invoked as part of the deployment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .action_invocations.is_none().
sourcepub fn occurred_at(&self) -> Option<&DateTime>
pub fn occurred_at(&self) -> Option<&DateTime>
The date and time the event occurred.
source§impl DeploymentEvent
impl DeploymentEvent
sourcepub fn builder() -> DeploymentEventBuilder
pub fn builder() -> DeploymentEventBuilder
Creates a new builder-style object to manufacture DeploymentEvent.
Trait Implementations§
source§impl Clone for DeploymentEvent
impl Clone for DeploymentEvent
source§fn clone(&self) -> DeploymentEvent
fn clone(&self) -> DeploymentEvent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeploymentEvent
impl Debug for DeploymentEvent
source§impl PartialEq for DeploymentEvent
impl PartialEq for DeploymentEvent
source§fn eq(&self, other: &DeploymentEvent) -> bool
fn eq(&self, other: &DeploymentEvent) -> bool
self and other values to be equal, and is used
by ==.