pub struct GetWorkflowFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetWorkflow
.
Gets information about a workflow.
If a workflow is shared with you, you cannot export the workflow.
Implementations§
source§impl GetWorkflowFluentBuilder
impl GetWorkflowFluentBuilder
sourcepub fn as_input(&self) -> &GetWorkflowInputBuilder
pub fn as_input(&self) -> &GetWorkflowInputBuilder
Access the GetWorkflow as a reference.
sourcepub async fn send(
self,
) -> Result<GetWorkflowOutput, SdkError<GetWorkflowError, HttpResponse>>
pub async fn send( self, ) -> Result<GetWorkflowOutput, SdkError<GetWorkflowError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<GetWorkflowOutput, GetWorkflowError, Self>
pub fn customize( self, ) -> CustomizableOperation<GetWorkflowOutput, GetWorkflowError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn type(self, input: WorkflowType) -> Self
pub fn type(self, input: WorkflowType) -> Self
The workflow's type.
sourcepub fn set_type(self, input: Option<WorkflowType>) -> Self
pub fn set_type(self, input: Option<WorkflowType>) -> Self
The workflow's type.
sourcepub fn get_type(&self) -> &Option<WorkflowType>
pub fn get_type(&self) -> &Option<WorkflowType>
The workflow's type.
sourcepub fn export(self, input: WorkflowExport) -> Self
pub fn export(self, input: WorkflowExport) -> Self
Appends an item to export
.
To override the contents of this collection use set_export
.
The export format for the workflow.
sourcepub fn set_export(self, input: Option<Vec<WorkflowExport>>) -> Self
pub fn set_export(self, input: Option<Vec<WorkflowExport>>) -> Self
The export format for the workflow.
sourcepub fn get_export(&self) -> &Option<Vec<WorkflowExport>>
pub fn get_export(&self) -> &Option<Vec<WorkflowExport>>
The export format for the workflow.
sourcepub fn workflow_owner_id(self, input: impl Into<String>) -> Self
pub fn workflow_owner_id(self, input: impl Into<String>) -> Self
The ID of the workflow owner.
sourcepub fn set_workflow_owner_id(self, input: Option<String>) -> Self
pub fn set_workflow_owner_id(self, input: Option<String>) -> Self
The ID of the workflow owner.
sourcepub fn get_workflow_owner_id(&self) -> &Option<String>
pub fn get_workflow_owner_id(&self) -> &Option<String>
The ID of the workflow owner.
Trait Implementations§
source§impl Clone for GetWorkflowFluentBuilder
impl Clone for GetWorkflowFluentBuilder
source§fn clone(&self) -> GetWorkflowFluentBuilder
fn clone(&self) -> GetWorkflowFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for GetWorkflowFluentBuilder
impl !RefUnwindSafe for GetWorkflowFluentBuilder
impl Send for GetWorkflowFluentBuilder
impl Sync for GetWorkflowFluentBuilder
impl Unpin for GetWorkflowFluentBuilder
impl !UnwindSafe for GetWorkflowFluentBuilder
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> 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