#[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 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.
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
sourceimpl PutJobSuccessResultInput
impl PutJobSuccessResultInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutJobSuccessResult, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutJobSuccessResult, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutJobSuccessResult
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutJobSuccessResultInput
sourceimpl 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 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) -> 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.
Trait Implementations
sourceimpl Clone for PutJobSuccessResultInput
impl Clone for PutJobSuccessResultInput
sourcefn clone(&self) -> PutJobSuccessResultInput
fn clone(&self) -> PutJobSuccessResultInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PutJobSuccessResultInput
impl Debug for PutJobSuccessResultInput
sourceimpl PartialEq<PutJobSuccessResultInput> for PutJobSuccessResultInput
impl PartialEq<PutJobSuccessResultInput> for PutJobSuccessResultInput
sourcefn eq(&self, other: &PutJobSuccessResultInput) -> bool
fn eq(&self, other: &PutJobSuccessResultInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PutJobSuccessResultInput) -> bool
fn ne(&self, other: &PutJobSuccessResultInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for PutJobSuccessResultInput
Auto Trait Implementations
impl RefUnwindSafe for PutJobSuccessResultInput
impl Send for PutJobSuccessResultInput
impl Sync for PutJobSuccessResultInput
impl Unpin for PutJobSuccessResultInput
impl UnwindSafe for PutJobSuccessResultInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more