#[non_exhaustive]pub struct PutJobSuccessResultInput {
pub job_id: Option<String>,
pub current_revision: Option<CurrentRevision>,
pub continuation_token: Option<String>,
pub execution_details: Option<ExecutionDetails>,
pub output_variables: Option<HashMap<String, String>>,
}
Expand description
Represents the input of a PutJobSuccessResult
action.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.job_id: Option<String>
The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs
.
current_revision: Option<CurrentRevision>
The ID of the current revision of the artifact successfully worked on by the job.
continuation_token: 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.
execution_details: Option<ExecutionDetails>
The execution details of the successful job, such as the actions taken by the job worker.
output_variables: Option<HashMap<String, String>>
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.
Implementations§
source§impl PutJobSuccessResultInput
impl PutJobSuccessResultInput
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs
.
sourcepub fn current_revision(&self) -> Option<&CurrentRevision>
pub fn 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) -> Option<&str>
pub fn continuation_token(&self) -> Option<&str>
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) -> Option<&ExecutionDetails>
pub fn execution_details(&self) -> Option<&ExecutionDetails>
The execution details of the successful job, such as the actions taken by the job worker.
source§impl PutJobSuccessResultInput
impl PutJobSuccessResultInput
sourcepub fn builder() -> PutJobSuccessResultInputBuilder
pub fn builder() -> PutJobSuccessResultInputBuilder
Creates a new builder-style object to manufacture PutJobSuccessResultInput
.
Trait Implementations§
source§impl Clone for PutJobSuccessResultInput
impl Clone for PutJobSuccessResultInput
source§fn clone(&self) -> PutJobSuccessResultInput
fn clone(&self) -> PutJobSuccessResultInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutJobSuccessResultInput
impl Debug for PutJobSuccessResultInput
source§impl PartialEq for PutJobSuccessResultInput
impl PartialEq for PutJobSuccessResultInput
source§fn eq(&self, other: &PutJobSuccessResultInput) -> bool
fn eq(&self, other: &PutJobSuccessResultInput) -> bool
self
and other
values to be equal, and is used
by ==
.