Struct aws_sdk_transfer::types::ExecutionStepResult
source · #[non_exhaustive]pub struct ExecutionStepResult {
pub step_type: Option<WorkflowStepType>,
pub outputs: Option<String>,
pub error: Option<ExecutionError>,
}Expand description
Specifies the following details for the step: error (if any), outputs (if any), and the step type.
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_type: Option<WorkflowStepType>One of the available step types.
-
COPY- Copy the file to another location. -
CUSTOM- Perform a custom step with an Lambda function target. -
DECRYPT- Decrypt a file that was encrypted before it was uploaded. -
DELETE- Delete the file. -
TAG- Add a tag to the file.
outputs: Option<String>The values for the key/value pair applied as a tag to the file. Only applicable if the step type is TAG.
error: Option<ExecutionError>Specifies the details for an error, if it occurred during execution of the specified workflow step.
Implementations§
source§impl ExecutionStepResult
impl ExecutionStepResult
sourcepub fn step_type(&self) -> Option<&WorkflowStepType>
pub fn step_type(&self) -> Option<&WorkflowStepType>
One of the available step types.
-
COPY- Copy the file to another location. -
CUSTOM- Perform a custom step with an Lambda function target. -
DECRYPT- Decrypt a file that was encrypted before it was uploaded. -
DELETE- Delete the file. -
TAG- Add a tag to the file.
sourcepub fn outputs(&self) -> Option<&str>
pub fn outputs(&self) -> Option<&str>
The values for the key/value pair applied as a tag to the file. Only applicable if the step type is TAG.
sourcepub fn error(&self) -> Option<&ExecutionError>
pub fn error(&self) -> Option<&ExecutionError>
Specifies the details for an error, if it occurred during execution of the specified workflow step.
source§impl ExecutionStepResult
impl ExecutionStepResult
sourcepub fn builder() -> ExecutionStepResultBuilder
pub fn builder() -> ExecutionStepResultBuilder
Creates a new builder-style object to manufacture ExecutionStepResult.
Trait Implementations§
source§impl Clone for ExecutionStepResult
impl Clone for ExecutionStepResult
source§fn clone(&self) -> ExecutionStepResult
fn clone(&self) -> ExecutionStepResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExecutionStepResult
impl Debug for ExecutionStepResult
source§impl PartialEq for ExecutionStepResult
impl PartialEq for ExecutionStepResult
impl StructuralPartialEq for ExecutionStepResult
Auto Trait Implementations§
impl Freeze for ExecutionStepResult
impl RefUnwindSafe for ExecutionStepResult
impl Send for ExecutionStepResult
impl Sync for ExecutionStepResult
impl Unpin for ExecutionStepResult
impl UnwindSafe for ExecutionStepResult
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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