Struct aws_sdk_codecatalyst::operation::start_workflow_run::builders::StartWorkflowRunFluentBuilder
source · pub struct StartWorkflowRunFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartWorkflowRun
.
Begins a run of a specified workflow.
Implementations§
source§impl StartWorkflowRunFluentBuilder
impl StartWorkflowRunFluentBuilder
sourcepub fn as_input(&self) -> &StartWorkflowRunInputBuilder
pub fn as_input(&self) -> &StartWorkflowRunInputBuilder
Access the StartWorkflowRun as a reference.
sourcepub async fn send(
self
) -> Result<StartWorkflowRunOutput, SdkError<StartWorkflowRunError, HttpResponse>>
pub async fn send( self ) -> Result<StartWorkflowRunOutput, SdkError<StartWorkflowRunError, 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<StartWorkflowRunOutput, StartWorkflowRunError, Self>
pub fn customize( self ) -> CustomizableOperation<StartWorkflowRunOutput, StartWorkflowRunError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn space_name(self, input: impl Into<String>) -> Self
pub fn space_name(self, input: impl Into<String>) -> Self
The name of the space.
sourcepub fn set_space_name(self, input: Option<String>) -> Self
pub fn set_space_name(self, input: Option<String>) -> Self
The name of the space.
sourcepub fn get_space_name(&self) -> &Option<String>
pub fn get_space_name(&self) -> &Option<String>
The name of the space.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project in the space.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project in the space.
sourcepub fn get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
The name of the project in the space.
sourcepub fn workflow_id(self, input: impl Into<String>) -> Self
pub fn workflow_id(self, input: impl Into<String>) -> Self
The system-generated unique ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows
.
sourcepub fn set_workflow_id(self, input: Option<String>) -> Self
pub fn set_workflow_id(self, input: Option<String>) -> Self
The system-generated unique ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows
.
sourcepub fn get_workflow_id(&self) -> &Option<String>
pub fn get_workflow_id(&self) -> &Option<String>
The system-generated unique ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows
.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
Trait Implementations§
source§impl Clone for StartWorkflowRunFluentBuilder
impl Clone for StartWorkflowRunFluentBuilder
source§fn clone(&self) -> StartWorkflowRunFluentBuilder
fn clone(&self) -> StartWorkflowRunFluentBuilder
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 StartWorkflowRunFluentBuilder
impl !RefUnwindSafe for StartWorkflowRunFluentBuilder
impl Send for StartWorkflowRunFluentBuilder
impl Sync for StartWorkflowRunFluentBuilder
impl Unpin for StartWorkflowRunFluentBuilder
impl !UnwindSafe for StartWorkflowRunFluentBuilder
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