Struct aws_sdk_transfer::types::CustomStepDetails
source · #[non_exhaustive]pub struct CustomStepDetails {
pub name: Option<String>,
pub target: Option<String>,
pub timeout_seconds: Option<i32>,
pub source_file_location: Option<String>,
}Expand description
Each step type has its own StepDetails structure.
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.name: Option<String>The name of the step, used as an identifier.
target: Option<String>The ARN for the Lambda function that is being called.
timeout_seconds: Option<i32>Timeout, in seconds, for the step.
source_file_location: Option<String>Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.
-
To use the previous file as the input, enter
${previous.file}. In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value. -
To use the originally uploaded file location as input for this step, enter
${original.file}.
Implementations§
source§impl CustomStepDetails
impl CustomStepDetails
sourcepub fn timeout_seconds(&self) -> Option<i32>
pub fn timeout_seconds(&self) -> Option<i32>
Timeout, in seconds, for the step.
sourcepub fn source_file_location(&self) -> Option<&str>
pub fn source_file_location(&self) -> Option<&str>
Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.
-
To use the previous file as the input, enter
${previous.file}. In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value. -
To use the originally uploaded file location as input for this step, enter
${original.file}.
source§impl CustomStepDetails
impl CustomStepDetails
sourcepub fn builder() -> CustomStepDetailsBuilder
pub fn builder() -> CustomStepDetailsBuilder
Creates a new builder-style object to manufacture CustomStepDetails.
Trait Implementations§
source§impl Clone for CustomStepDetails
impl Clone for CustomStepDetails
source§fn clone(&self) -> CustomStepDetails
fn clone(&self) -> CustomStepDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CustomStepDetails
impl Debug for CustomStepDetails
source§impl PartialEq for CustomStepDetails
impl PartialEq for CustomStepDetails
impl StructuralPartialEq for CustomStepDetails
Auto Trait Implementations§
impl Freeze for CustomStepDetails
impl RefUnwindSafe for CustomStepDetails
impl Send for CustomStepDetails
impl Sync for CustomStepDetails
impl Unpin for CustomStepDetails
impl UnwindSafe for CustomStepDetails
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