Struct aws_sdk_transfer::types::WorkflowStep
source · #[non_exhaustive]pub struct WorkflowStep {
pub type: Option<WorkflowStepType>,
pub copy_step_details: Option<CopyStepDetails>,
pub custom_step_details: Option<CustomStepDetails>,
pub delete_step_details: Option<DeleteStepDetails>,
pub tag_step_details: Option<TagStepDetails>,
pub decrypt_step_details: Option<DecryptStepDetails>,
}
Expand description
The basic building block of a workflow.
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.type: 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. -
DECRYPT
- Decrypt a file that was encrypted before it was uploaded. -
DELETE
- Delete the file. -
TAG
- Add a tag to the file.
copy_step_details: Option<CopyStepDetails>
Details for a step that performs a file copy.
Consists of the following values:
-
A description
-
An Amazon S3 location for the destination of the file copy.
-
A flag that indicates whether to overwrite an existing file of the same name. The default is
FALSE
.
custom_step_details: Option<CustomStepDetails>
Details for a step that invokes an Lambda function.
Consists of the Lambda function's name, target, and timeout (in seconds).
delete_step_details: Option<DeleteStepDetails>
Details for a step that deletes the file.
tag_step_details: 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.
decrypt_step_details: Option<DecryptStepDetails>
Details for a step that decrypts an encrypted file.
Consists of the following values:
-
A descriptive name
-
An Amazon S3 or Amazon Elastic File System (Amazon EFS) location for the source file to decrypt.
-
An S3 or Amazon EFS location for the destination of the file decryption.
-
A flag that indicates whether to overwrite an existing file of the same name. The default is
FALSE
. -
The type of encryption that's used. Currently, only PGP encryption is supported.
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. -
DECRYPT
- Decrypt a file that was encrypted before it was uploaded. -
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 Amazon S3 location for the destination of the file copy.
-
A flag that indicates whether 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 an Lambda function.
Consists of the Lambda function's 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.
sourcepub fn decrypt_step_details(&self) -> Option<&DecryptStepDetails>
pub fn decrypt_step_details(&self) -> Option<&DecryptStepDetails>
Details for a step that decrypts an encrypted file.
Consists of the following values:
-
A descriptive name
-
An Amazon S3 or Amazon Elastic File System (Amazon EFS) location for the source file to decrypt.
-
An S3 or Amazon EFS location for the destination of the file decryption.
-
A flag that indicates whether to overwrite an existing file of the same name. The default is
FALSE
. -
The type of encryption that's used. Currently, only PGP encryption is supported.
source§impl WorkflowStep
impl WorkflowStep
sourcepub fn builder() -> WorkflowStepBuilder
pub fn builder() -> WorkflowStepBuilder
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 for WorkflowStep
impl PartialEq 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 ==
.