Struct aws_sdk_codedeploy::model::Diagnostics
source · #[non_exhaustive]pub struct Diagnostics { /* private fields */ }
Expand description
Diagnostic information about executable scripts that are part of a deployment.
Implementations§
source§impl Diagnostics
impl Diagnostics
sourcepub fn error_code(&self) -> Option<&LifecycleErrorCode>
pub fn error_code(&self) -> Option<&LifecycleErrorCode>
The associated error code:
-
Success: The specified script ran.
-
ScriptMissing: The specified script was not found in the specified location.
-
ScriptNotExecutable: The specified script is not a recognized executable file type.
-
ScriptTimedOut: The specified script did not finish running in the specified time period.
-
ScriptFailed: The specified script failed to run as expected.
-
UnknownError: The specified script did not run for an unknown reason.
sourcepub fn script_name(&self) -> Option<&str>
pub fn script_name(&self) -> Option<&str>
The name of the script.
source§impl Diagnostics
impl Diagnostics
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Diagnostics
.
Trait Implementations§
source§impl Clone for Diagnostics
impl Clone for Diagnostics
source§fn clone(&self) -> Diagnostics
fn clone(&self) -> Diagnostics
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 Diagnostics
impl Debug for Diagnostics
source§impl PartialEq<Diagnostics> for Diagnostics
impl PartialEq<Diagnostics> for Diagnostics
source§fn eq(&self, other: &Diagnostics) -> bool
fn eq(&self, other: &Diagnostics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.