Struct aws_sdk_codepipeline::model::JobData
source · [−]#[non_exhaustive]pub struct JobData {
pub action_type_id: Option<ActionTypeId>,
pub action_configuration: Option<ActionConfiguration>,
pub pipeline_context: Option<PipelineContext>,
pub input_artifacts: Option<Vec<Artifact>>,
pub output_artifacts: Option<Vec<Artifact>>,
pub artifact_credentials: Option<AwsSessionCredentials>,
pub continuation_token: Option<String>,
pub encryption_key: Option<EncryptionKey>,
}
Expand description
Represents other information about a job required for a job worker to complete the job.
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.action_type_id: Option<ActionTypeId>
Represents information about an action type.
action_configuration: Option<ActionConfiguration>
Represents information about an action configuration.
pipeline_context: Option<PipelineContext>
Represents information about a pipeline to a job worker.
Includes pipelineArn
and pipelineExecutionId
for custom jobs.
input_artifacts: Option<Vec<Artifact>>
The artifact supplied to the job.
output_artifacts: Option<Vec<Artifact>>
The output of the job.
artifact_credentials: Option<AwsSessionCredentials>
Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifacts for the pipeline in AWS CodePipeline.
continuation_token: Option<String>
A system-generated token, such as a AWS CodeDeploy deployment ID, required by a job to continue the job asynchronously.
encryption_key: Option<EncryptionKey>
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.
Implementations
sourceimpl JobData
impl JobData
sourcepub fn action_type_id(&self) -> Option<&ActionTypeId>
pub fn action_type_id(&self) -> Option<&ActionTypeId>
Represents information about an action type.
sourcepub fn action_configuration(&self) -> Option<&ActionConfiguration>
pub fn action_configuration(&self) -> Option<&ActionConfiguration>
Represents information about an action configuration.
sourcepub fn pipeline_context(&self) -> Option<&PipelineContext>
pub fn pipeline_context(&self) -> Option<&PipelineContext>
Represents information about a pipeline to a job worker.
Includes pipelineArn
and pipelineExecutionId
for custom jobs.
sourcepub fn input_artifacts(&self) -> Option<&[Artifact]>
pub fn input_artifacts(&self) -> Option<&[Artifact]>
The artifact supplied to the job.
sourcepub fn output_artifacts(&self) -> Option<&[Artifact]>
pub fn output_artifacts(&self) -> Option<&[Artifact]>
The output of the job.
sourcepub fn artifact_credentials(&self) -> Option<&AwsSessionCredentials>
pub fn artifact_credentials(&self) -> Option<&AwsSessionCredentials>
Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifacts for the pipeline in AWS CodePipeline.
sourcepub fn continuation_token(&self) -> Option<&str>
pub fn continuation_token(&self) -> Option<&str>
A system-generated token, such as a AWS CodeDeploy deployment ID, required by a job to continue the job asynchronously.
sourcepub fn encryption_key(&self) -> Option<&EncryptionKey>
pub fn encryption_key(&self) -> Option<&EncryptionKey>
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.
Trait Implementations
impl StructuralPartialEq for JobData
Auto Trait Implementations
impl RefUnwindSafe for JobData
impl Send for JobData
impl Sync for JobData
impl Unpin for JobData
impl UnwindSafe for JobData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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> 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