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 async fn customize(
self
) -> Result<CustomizableOperation<AcknowledgeJobOutput, AcknowledgeJobError, Self>, SdkError<AcknowledgeJobError>>
pub async fn customize( self ) -> Result<CustomizableOperation<AcknowledgeJobOutput, AcknowledgeJobError, Self>, SdkError<AcknowledgeJobError>>
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 more