Struct aws_sdk_codepipeline::types::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 Amazon Web Services session credentials object. These credentials are temporary credentials that are issued by Amazon Web Services 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 CodePipeline.
continuation_token: Option<String>
A system-generated token, such as a 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 KMS key.
Implementations§
source§impl 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) -> &[Artifact]
pub fn input_artifacts(&self) -> &[Artifact]
The artifact supplied to the job.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .input_artifacts.is_none()
.
sourcepub fn output_artifacts(&self) -> &[Artifact]
pub fn output_artifacts(&self) -> &[Artifact]
The output of the job.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .output_artifacts.is_none()
.
sourcepub fn artifact_credentials(&self) -> Option<&AwsSessionCredentials>
pub fn artifact_credentials(&self) -> Option<&AwsSessionCredentials>
Represents an Amazon Web Services session credentials object. These credentials are temporary credentials that are issued by Amazon Web Services 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 CodePipeline.
sourcepub fn continuation_token(&self) -> Option<&str>
pub fn continuation_token(&self) -> Option<&str>
A system-generated token, such as a 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 KMS key.
Trait Implementations§
impl StructuralPartialEq for JobData
Auto Trait Implementations§
impl Freeze for JobData
impl RefUnwindSafe for JobData
impl Send for JobData
impl Sync for JobData
impl Unpin for JobData
impl UnwindSafe for JobData
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