Struct aws_sdk_codepipeline::operation::acknowledge_job::builders::AcknowledgeJobFluentBuilder
source · pub struct AcknowledgeJobFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AcknowledgeJob
.
Returns information about a specified job and whether that job has been received by the job worker. Used for custom actions only.
Implementations§
source§impl AcknowledgeJobFluentBuilder
impl AcknowledgeJobFluentBuilder
sourcepub fn as_input(&self) -> &AcknowledgeJobInputBuilder
pub fn as_input(&self) -> &AcknowledgeJobInputBuilder
Access the AcknowledgeJob as a reference.
sourcepub async fn send(
self,
) -> Result<AcknowledgeJobOutput, SdkError<AcknowledgeJobError, HttpResponse>>
pub async fn send( self, ) -> Result<AcknowledgeJobOutput, SdkError<AcknowledgeJobError, 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<AcknowledgeJobOutput, AcknowledgeJobError, Self>
pub fn customize( self, ) -> CustomizableOperation<AcknowledgeJobOutput, AcknowledgeJobError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The unique system-generated ID of the job for which you want to confirm receipt.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The unique system-generated ID of the job for which you want to confirm receipt.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The unique system-generated ID of the job for which you want to confirm receipt.
sourcepub fn nonce(self, input: impl Into<String>) -> Self
pub fn nonce(self, input: impl Into<String>) -> Self
A system-generated random number that CodePipeline uses to ensure that the job is being worked on by only one job worker. Get this number from the response of the PollForJobs
request that returned this job.
Trait Implementations§
source§impl Clone for AcknowledgeJobFluentBuilder
impl Clone for AcknowledgeJobFluentBuilder
source§fn clone(&self) -> AcknowledgeJobFluentBuilder
fn clone(&self) -> AcknowledgeJobFluentBuilder
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 AcknowledgeJobFluentBuilder
impl !RefUnwindSafe for AcknowledgeJobFluentBuilder
impl Send for AcknowledgeJobFluentBuilder
impl Sync for AcknowledgeJobFluentBuilder
impl Unpin for AcknowledgeJobFluentBuilder
impl !UnwindSafe for AcknowledgeJobFluentBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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