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: String
A unique identifier for the workflow.
execution_role: String
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
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
source§fn eq(&self, other: &WorkflowDetail) -> bool
fn eq(&self, other: &WorkflowDetail) -> bool
self
and other
values to be equal, and is used
by ==
.