#[non_exhaustive]pub struct GetWorkflowOutput {
pub space_name: String,
pub project_name: String,
pub id: String,
pub name: String,
pub source_repository_name: Option<String>,
pub source_branch_name: Option<String>,
pub definition: Option<WorkflowDefinition>,
pub created_time: DateTime,
pub last_updated_time: DateTime,
pub run_mode: WorkflowRunMode,
pub status: WorkflowStatus,
/* private fields */
}
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.space_name: String
The name of the space.
project_name: String
The name of the project in the space.
id: String
The ID of the workflow.
name: String
The name of the workflow.
source_repository_name: Option<String>
The name of the source repository where the workflow YAML is stored.
source_branch_name: Option<String>
The name of the branch that contains the workflow YAML.
definition: Option<WorkflowDefinition>
Information about the workflow definition file for the workflow.
created_time: DateTime
The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
last_updated_time: DateTime
The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
run_mode: WorkflowRunMode
The behavior to use when multiple workflows occur at the same time. For more information, see https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html in the Amazon CodeCatalyst User Guide.
status: WorkflowStatus
The status of the workflow.
Implementations§
source§impl GetWorkflowOutput
impl GetWorkflowOutput
sourcepub fn space_name(&self) -> &str
pub fn space_name(&self) -> &str
The name of the space.
sourcepub fn project_name(&self) -> &str
pub fn project_name(&self) -> &str
The name of the project in the space.
sourcepub fn source_repository_name(&self) -> Option<&str>
pub fn source_repository_name(&self) -> Option<&str>
The name of the source repository where the workflow YAML is stored.
sourcepub fn source_branch_name(&self) -> Option<&str>
pub fn source_branch_name(&self) -> Option<&str>
The name of the branch that contains the workflow YAML.
sourcepub fn definition(&self) -> Option<&WorkflowDefinition>
pub fn definition(&self) -> Option<&WorkflowDefinition>
Information about the workflow definition file for the workflow.
sourcepub fn created_time(&self) -> &DateTime
pub fn created_time(&self) -> &DateTime
The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
sourcepub fn last_updated_time(&self) -> &DateTime
pub fn last_updated_time(&self) -> &DateTime
The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
sourcepub fn run_mode(&self) -> &WorkflowRunMode
pub fn run_mode(&self) -> &WorkflowRunMode
The behavior to use when multiple workflows occur at the same time. For more information, see https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html in the Amazon CodeCatalyst User Guide.
sourcepub fn status(&self) -> &WorkflowStatus
pub fn status(&self) -> &WorkflowStatus
The status of the workflow.
source§impl GetWorkflowOutput
impl GetWorkflowOutput
sourcepub fn builder() -> GetWorkflowOutputBuilder
pub fn builder() -> GetWorkflowOutputBuilder
Creates a new builder-style object to manufacture GetWorkflowOutput
.
Trait Implementations§
source§impl Clone for GetWorkflowOutput
impl Clone for GetWorkflowOutput
source§fn clone(&self) -> GetWorkflowOutput
fn clone(&self) -> GetWorkflowOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetWorkflowOutput
impl Debug for GetWorkflowOutput
source§impl PartialEq for GetWorkflowOutput
impl PartialEq for GetWorkflowOutput
source§fn eq(&self, other: &GetWorkflowOutput) -> bool
fn eq(&self, other: &GetWorkflowOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetWorkflowOutput
impl RequestId for GetWorkflowOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.