Struct aws_sdk_glue::types::BlueprintRun
source · #[non_exhaustive]pub struct BlueprintRun {
pub blueprint_name: Option<String>,
pub run_id: Option<String>,
pub workflow_name: Option<String>,
pub state: Option<BlueprintRunState>,
pub started_on: Option<DateTime>,
pub completed_on: Option<DateTime>,
pub error_message: Option<String>,
pub rollback_error_message: Option<String>,
pub parameters: Option<String>,
pub role_arn: Option<String>,
}
Expand description
The details of a blueprint run.
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.blueprint_name: Option<String>
The name of the blueprint.
run_id: Option<String>
The run ID for this blueprint run.
workflow_name: Option<String>
The name of a workflow that is created as a result of a successful blueprint run. If a blueprint run has an error, there will not be a workflow created.
state: Option<BlueprintRunState>
The state of the blueprint run. Possible values are:
-
Running — The blueprint run is in progress.
-
Succeeded — The blueprint run completed successfully.
-
Failed — The blueprint run failed and rollback is complete.
-
Rolling Back — The blueprint run failed and rollback is in progress.
started_on: Option<DateTime>
The date and time that the blueprint run started.
completed_on: Option<DateTime>
The date and time that the blueprint run completed.
error_message: Option<String>
Indicates any errors that are seen while running the blueprint.
rollback_error_message: Option<String>
If there are any errors while creating the entities of a workflow, we try to roll back the created entities until that point and delete them. This attribute indicates the errors seen while trying to delete the entities that are created.
parameters: Option<String>
The blueprint parameters as a string. You will have to provide a value for each key that is required from the parameter spec that is defined in the Blueprint$ParameterSpec
.
role_arn: Option<String>
The role ARN. This role will be assumed by the Glue service and will be used to create the workflow and other entities of a workflow.
Implementations§
source§impl BlueprintRun
impl BlueprintRun
sourcepub fn blueprint_name(&self) -> Option<&str>
pub fn blueprint_name(&self) -> Option<&str>
The name of the blueprint.
sourcepub fn workflow_name(&self) -> Option<&str>
pub fn workflow_name(&self) -> Option<&str>
The name of a workflow that is created as a result of a successful blueprint run. If a blueprint run has an error, there will not be a workflow created.
sourcepub fn state(&self) -> Option<&BlueprintRunState>
pub fn state(&self) -> Option<&BlueprintRunState>
The state of the blueprint run. Possible values are:
-
Running — The blueprint run is in progress.
-
Succeeded — The blueprint run completed successfully.
-
Failed — The blueprint run failed and rollback is complete.
-
Rolling Back — The blueprint run failed and rollback is in progress.
sourcepub fn started_on(&self) -> Option<&DateTime>
pub fn started_on(&self) -> Option<&DateTime>
The date and time that the blueprint run started.
sourcepub fn completed_on(&self) -> Option<&DateTime>
pub fn completed_on(&self) -> Option<&DateTime>
The date and time that the blueprint run completed.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
Indicates any errors that are seen while running the blueprint.
sourcepub fn rollback_error_message(&self) -> Option<&str>
pub fn rollback_error_message(&self) -> Option<&str>
If there are any errors while creating the entities of a workflow, we try to roll back the created entities until that point and delete them. This attribute indicates the errors seen while trying to delete the entities that are created.
sourcepub fn parameters(&self) -> Option<&str>
pub fn parameters(&self) -> Option<&str>
The blueprint parameters as a string. You will have to provide a value for each key that is required from the parameter spec that is defined in the Blueprint$ParameterSpec
.
source§impl BlueprintRun
impl BlueprintRun
sourcepub fn builder() -> BlueprintRunBuilder
pub fn builder() -> BlueprintRunBuilder
Creates a new builder-style object to manufacture BlueprintRun
.
Trait Implementations§
source§impl Clone for BlueprintRun
impl Clone for BlueprintRun
source§fn clone(&self) -> BlueprintRun
fn clone(&self) -> BlueprintRun
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BlueprintRun
impl Debug for BlueprintRun
source§impl PartialEq for BlueprintRun
impl PartialEq for BlueprintRun
source§fn eq(&self, other: &BlueprintRun) -> bool
fn eq(&self, other: &BlueprintRun) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BlueprintRun
Auto Trait Implementations§
impl Freeze for BlueprintRun
impl RefUnwindSafe for BlueprintRun
impl Send for BlueprintRun
impl Sync for BlueprintRun
impl Unpin for BlueprintRun
impl UnwindSafe for BlueprintRun
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> 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