pub struct PutJobSuccessResult { /* 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 PutJobSuccessResult
impl PutJobSuccessResult
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<PutJobSuccessResult, AwsResponseRetryClassifier>, SdkError<PutJobSuccessResultError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<PutJobSuccessResult, AwsResponseRetryClassifier>, SdkError<PutJobSuccessResultError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<PutJobSuccessResultOutput, SdkError<PutJobSuccessResultError>>
pub async fn send(
self
) -> Result<PutJobSuccessResultOutput, SdkError<PutJobSuccessResultError>>
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 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 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 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 an AWS 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 an AWS 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 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 PutJobSuccessResult
impl Clone for PutJobSuccessResult
source§fn clone(&self) -> PutJobSuccessResult
fn clone(&self) -> PutJobSuccessResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more