Struct aws_sdk_transfer::types::WorkflowDetail
source · #[non_exhaustive]pub struct WorkflowDetail {
pub workflow_id: String,
pub execution_role: String,
}Expand description
Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.
In addition to a workflow to execute when a file is uploaded completely, WorkflowDetails can also contain a workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when the server session disconnects while the file is still being uploaded.
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.workflow_id: StringA unique identifier for the workflow.
execution_role: StringIncludes the necessary permissions for S3, EFS, and Lambda operations that Transfer can assume, so that all workflow steps can operate on the required resources
Implementations§
source§impl WorkflowDetail
impl WorkflowDetail
sourcepub fn workflow_id(&self) -> &str
pub fn workflow_id(&self) -> &str
A unique identifier for the workflow.
sourcepub fn execution_role(&self) -> &str
pub fn execution_role(&self) -> &str
Includes the necessary permissions for S3, EFS, and Lambda operations that Transfer can assume, so that all workflow steps can operate on the required resources
source§impl WorkflowDetail
impl WorkflowDetail
sourcepub fn builder() -> WorkflowDetailBuilder
pub fn builder() -> WorkflowDetailBuilder
Creates a new builder-style object to manufacture WorkflowDetail.
Trait Implementations§
source§impl Clone for WorkflowDetail
impl Clone for WorkflowDetail
source§fn clone(&self) -> WorkflowDetail
fn clone(&self) -> WorkflowDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for WorkflowDetail
impl Debug for WorkflowDetail
source§impl PartialEq for WorkflowDetail
impl PartialEq for WorkflowDetail
impl StructuralPartialEq for WorkflowDetail
Auto Trait Implementations§
impl Freeze for WorkflowDetail
impl RefUnwindSafe for WorkflowDetail
impl Send for WorkflowDetail
impl Sync for WorkflowDetail
impl Unpin for WorkflowDetail
impl UnwindSafe for WorkflowDetail
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