#[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
impl StructuralPartialEq for PutJobSuccessResultInput
Auto Trait Implementations§
impl Freeze for PutJobSuccessResultInput
impl RefUnwindSafe for PutJobSuccessResultInput
impl Send for PutJobSuccessResultInput
impl Sync for PutJobSuccessResultInput
impl Unpin for PutJobSuccessResultInput
impl UnwindSafe for PutJobSuccessResultInput
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