Struct aws_sdk_codedeploy::operation::put_lifecycle_event_hook_execution_status::PutLifecycleEventHookExecutionStatusInput
source · #[non_exhaustive]pub struct PutLifecycleEventHookExecutionStatusInput {
pub deployment_id: Option<String>,
pub lifecycle_event_hook_execution_id: Option<String>,
pub status: Option<LifecycleEventStatus>,
}
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.deployment_id: Option<String>
The unique ID of a deployment. Pass this ID to a Lambda function that validates a deployment lifecycle event.
lifecycle_event_hook_execution_id: Option<String>
The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook is specified in the hooks
section of the AppSpec file.
status: Option<LifecycleEventStatus>
The result of a Lambda function that validates a deployment lifecycle event. The values listed in Valid Values are valid for lifecycle statuses in general; however, only Succeeded
and Failed
can be passed successfully in your API call.
Implementations§
source§impl PutLifecycleEventHookExecutionStatusInput
impl PutLifecycleEventHookExecutionStatusInput
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The unique ID of a deployment. Pass this ID to a Lambda function that validates a deployment lifecycle event.
sourcepub fn lifecycle_event_hook_execution_id(&self) -> Option<&str>
pub fn lifecycle_event_hook_execution_id(&self) -> Option<&str>
The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook is specified in the hooks
section of the AppSpec file.
sourcepub fn status(&self) -> Option<&LifecycleEventStatus>
pub fn status(&self) -> Option<&LifecycleEventStatus>
The result of a Lambda function that validates a deployment lifecycle event. The values listed in Valid Values are valid for lifecycle statuses in general; however, only Succeeded
and Failed
can be passed successfully in your API call.
source§impl PutLifecycleEventHookExecutionStatusInput
impl PutLifecycleEventHookExecutionStatusInput
sourcepub fn builder() -> PutLifecycleEventHookExecutionStatusInputBuilder
pub fn builder() -> PutLifecycleEventHookExecutionStatusInputBuilder
Creates a new builder-style object to manufacture PutLifecycleEventHookExecutionStatusInput
.
Trait Implementations§
source§impl Clone for PutLifecycleEventHookExecutionStatusInput
impl Clone for PutLifecycleEventHookExecutionStatusInput
source§fn clone(&self) -> PutLifecycleEventHookExecutionStatusInput
fn clone(&self) -> PutLifecycleEventHookExecutionStatusInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PutLifecycleEventHookExecutionStatusInput
impl PartialEq for PutLifecycleEventHookExecutionStatusInput
source§fn eq(&self, other: &PutLifecycleEventHookExecutionStatusInput) -> bool
fn eq(&self, other: &PutLifecycleEventHookExecutionStatusInput) -> bool
self
and other
values to be equal, and is used
by ==
.