Struct aws_sdk_transfer::model::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>,
}
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: custom step with a lambda target
-
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 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
.
custom_step_details: Option<CustomStepDetails>
Details for a step that invokes a lambda function.
Consists of the lambda function 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.
Implementations
sourceimpl 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: custom step with a lambda 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.
sourceimpl WorkflowStep
impl WorkflowStep
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture WorkflowStep
Trait Implementations
sourceimpl Clone for WorkflowStep
impl Clone for WorkflowStep
sourcefn clone(&self) -> WorkflowStep
fn clone(&self) -> WorkflowStep
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WorkflowStep
impl Debug for WorkflowStep
sourceimpl PartialEq<WorkflowStep> for WorkflowStep
impl PartialEq<WorkflowStep> for WorkflowStep
sourcefn eq(&self, other: &WorkflowStep) -> bool
fn eq(&self, other: &WorkflowStep) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WorkflowStep) -> bool
fn ne(&self, other: &WorkflowStep) -> bool
This method tests for !=
.
impl StructuralPartialEq for WorkflowStep
Auto Trait Implementations
impl RefUnwindSafe for WorkflowStep
impl Send for WorkflowStep
impl Sync for WorkflowStep
impl Unpin for WorkflowStep
impl UnwindSafe for WorkflowStep
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more