Struct aws_sdk_codepipeline::operation::put_job_success_result::builders::PutJobSuccessResultFluentBuilder
source · pub struct PutJobSuccessResultFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutJobSuccessResult
.
Represents the success of a job as returned to the pipeline by a job worker. Used for custom actions only.
Implementations§
source§impl PutJobSuccessResultFluentBuilder
impl PutJobSuccessResultFluentBuilder
sourcepub fn as_input(&self) -> &PutJobSuccessResultInputBuilder
pub fn as_input(&self) -> &PutJobSuccessResultInputBuilder
Access the PutJobSuccessResult as a reference.
sourcepub async fn send(
self,
) -> Result<PutJobSuccessResultOutput, SdkError<PutJobSuccessResultError, HttpResponse>>
pub async fn send( self, ) -> Result<PutJobSuccessResultOutput, SdkError<PutJobSuccessResultError, 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<PutJobSuccessResultOutput, PutJobSuccessResultError, Self>
pub fn customize( self, ) -> CustomizableOperation<PutJobSuccessResultOutput, PutJobSuccessResultError, 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 that succeeded. This is the same ID returned from PollForJobs
.
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 that succeeded. This is the same ID returned from PollForJobs
.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs
.
sourcepub fn current_revision(self, input: CurrentRevision) -> Self
pub fn current_revision(self, input: CurrentRevision) -> Self
The ID of the current revision of the artifact successfully worked on by the job.
sourcepub fn set_current_revision(self, input: Option<CurrentRevision>) -> Self
pub fn set_current_revision(self, input: Option<CurrentRevision>) -> Self
The ID of the current revision of the artifact successfully worked on by the job.
sourcepub fn get_current_revision(&self) -> &Option<CurrentRevision>
pub fn get_current_revision(&self) -> &Option<CurrentRevision>
The ID of the current revision of the artifact successfully worked on by the job.
sourcepub fn continuation_token(self, input: impl Into<String>) -> Self
pub fn continuation_token(self, input: impl Into<String>) -> Self
A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the custom action. When the action is complete, no continuation token should be supplied.
sourcepub fn set_continuation_token(self, input: Option<String>) -> Self
pub fn set_continuation_token(self, input: Option<String>) -> Self
A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the custom action. When the action is complete, no continuation token should be supplied.
sourcepub fn get_continuation_token(&self) -> &Option<String>
pub fn get_continuation_token(&self) -> &Option<String>
A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the custom action. When the action is complete, no continuation token should be supplied.
sourcepub fn execution_details(self, input: ExecutionDetails) -> Self
pub fn execution_details(self, input: ExecutionDetails) -> Self
The execution details of the successful job, such as the actions taken by the job worker.
sourcepub fn set_execution_details(self, input: Option<ExecutionDetails>) -> Self
pub fn set_execution_details(self, input: Option<ExecutionDetails>) -> Self
The execution details of the successful job, such as the actions taken by the job worker.
sourcepub fn get_execution_details(&self) -> &Option<ExecutionDetails>
pub fn get_execution_details(&self) -> &Option<ExecutionDetails>
The execution details of the successful job, such as the actions taken by the job worker.
sourcepub fn output_variables(
self,
k: impl Into<String>,
v: impl Into<String>,
) -> Self
pub fn output_variables( self, k: impl Into<String>, v: impl Into<String>, ) -> Self
Adds a key-value pair to outputVariables
.
To override the contents of this collection use set_output_variables
.
Key-value pairs produced as output by a job worker that can be made available to a downstream action configuration. outputVariables
can be included only when there is no continuation token on the request.
Trait Implementations§
source§impl Clone for PutJobSuccessResultFluentBuilder
impl Clone for PutJobSuccessResultFluentBuilder
source§fn clone(&self) -> PutJobSuccessResultFluentBuilder
fn clone(&self) -> PutJobSuccessResultFluentBuilder
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 PutJobSuccessResultFluentBuilder
impl !RefUnwindSafe for PutJobSuccessResultFluentBuilder
impl Send for PutJobSuccessResultFluentBuilder
impl Sync for PutJobSuccessResultFluentBuilder
impl Unpin for PutJobSuccessResultFluentBuilder
impl !UnwindSafe for PutJobSuccessResultFluentBuilder
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