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.