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.