Struct aws_sdk_transfer::model::WorkflowStep
source · #[non_exhaustive]pub struct WorkflowStep { /* private fields */ }
Expand description
The basic building block of a workflow.
Implementations§
source§impl WorkflowStep
impl WorkflowStep
sourcepub fn type(&self) -> Option<&WorkflowStepType>
pub fn type(&self) -> Option<&WorkflowStepType>
Currently, the following step types are supported.
-
COPY: Copy the file to another location.
-
CUSTOM: Perform a custom step with an Lambda function target.
-
DELETE: Delete the file.
-
TAG: Add a tag to the file.
sourcepub fn copy_step_details(&self) -> Option<&CopyStepDetails>
pub fn copy_step_details(&self) -> Option<&CopyStepDetails>
Details for a step that performs a file copy.
Consists of the following values:
-
A description
-
An S3 location for the destination of the file copy.
-
A flag that indicates whether or not to overwrite an existing file of the same name. The default is
FALSE
.
sourcepub fn custom_step_details(&self) -> Option<&CustomStepDetails>
pub fn custom_step_details(&self) -> Option<&CustomStepDetails>
Details for a step that invokes a lambda function.
Consists of the lambda function name, target, and timeout (in seconds).
sourcepub fn delete_step_details(&self) -> Option<&DeleteStepDetails>
pub fn delete_step_details(&self) -> Option<&DeleteStepDetails>
Details for a step that deletes the file.
sourcepub fn tag_step_details(&self) -> Option<&TagStepDetails>
pub fn tag_step_details(&self) -> Option<&TagStepDetails>
Details for a step that creates one or more tags.
You specify one or more tags: each tag contains a key/value pair.
pub fn decrypt_step_details(&self) -> Option<&DecryptStepDetails>
source§impl WorkflowStep
impl WorkflowStep
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture WorkflowStep
.
Trait Implementations§
source§impl Clone for WorkflowStep
impl Clone for WorkflowStep
source§fn clone(&self) -> WorkflowStep
fn clone(&self) -> WorkflowStep
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WorkflowStep
impl Debug for WorkflowStep
source§impl PartialEq<WorkflowStep> for WorkflowStep
impl PartialEq<WorkflowStep> for WorkflowStep
source§fn eq(&self, other: &WorkflowStep) -> bool
fn eq(&self, other: &WorkflowStep) -> bool
self
and other
values to be equal, and is used
by ==
.