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