Struct aws_sdk_amplify::types::Step
source · #[non_exhaustive]pub struct Step {
pub step_name: String,
pub start_time: DateTime,
pub status: JobStatus,
pub end_time: DateTime,
pub log_url: Option<String>,
pub artifacts_url: Option<String>,
pub test_artifacts_url: Option<String>,
pub test_config_url: Option<String>,
pub screenshots: Option<HashMap<String, String>>,
pub status_reason: Option<String>,
pub context: Option<String>,
}Expand description
Describes an execution step, for an execution job, for an Amplify app.
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.step_name: StringThe name of the execution step.
start_time: DateTimeThe start date and time of the execution step.
status: JobStatusThe status of the execution step.
end_time: DateTimeThe end date and time of the execution step.
log_url: Option<String>The URL to the logs for the execution step.
artifacts_url: Option<String>The URL to the artifact for the execution step.
test_artifacts_url: Option<String>The URL to the test artifact for the execution step.
test_config_url: Option<String>The URL to the test configuration for the execution step.
screenshots: Option<HashMap<String, String>>The list of screenshot URLs for the execution step, if relevant.
status_reason: Option<String>The reason for the current step status.
context: Option<String>The context for the current step. Includes a build image if the step is build.
Implementations§
source§impl Step
impl Step
sourcepub fn start_time(&self) -> &DateTime
pub fn start_time(&self) -> &DateTime
The start date and time of the execution step.
sourcepub fn artifacts_url(&self) -> Option<&str>
pub fn artifacts_url(&self) -> Option<&str>
The URL to the artifact for the execution step.
sourcepub fn test_artifacts_url(&self) -> Option<&str>
pub fn test_artifacts_url(&self) -> Option<&str>
The URL to the test artifact for the execution step.
sourcepub fn test_config_url(&self) -> Option<&str>
pub fn test_config_url(&self) -> Option<&str>
The URL to the test configuration for the execution step.
sourcepub fn screenshots(&self) -> Option<&HashMap<String, String>>
pub fn screenshots(&self) -> Option<&HashMap<String, String>>
The list of screenshot URLs for the execution step, if relevant.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
The reason for the current step status.
Trait Implementations§
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnwindSafe for Step
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more