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
source§fn eq(&self, other: &ExecutionStepResult) -> bool
fn eq(&self, other: &ExecutionStepResult) -> bool
self and other values to be equal, and is used
by ==.