Struct aws_sdk_codepipeline::types::ThirdPartyJobData
source · #[non_exhaustive]pub struct ThirdPartyJobData {
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 information about the job data for a partner 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.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.
Does not include pipelineArn
and pipelineExecutionId
for ThirdParty jobs.
input_artifacts: Option<Vec<Artifact>>
The name of the artifact that is worked on by the action, if any. This name might be system-generated, such as "MyApp", or it might be defined by the user when the action is created. The input artifact name must match the name of an output artifact generated by an action in an earlier action or stage of the pipeline.
output_artifacts: Option<Vec<Artifact>>
The name of the artifact that is the result of the action, if any. This name might be system-generated, such as "MyBuiltApp", or it might be defined by the user when the action is created.
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 artifact for the pipeline in CodePipeline.
continuation_token: Option<String>
A system-generated token, such as a CodeDeploy deployment ID, that a job requires to continue the job asynchronously.
encryption_key: Option<EncryptionKey>
The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an Amazon Web Services Key Management Service (Amazon Web Services KMS) key. This is optional and might not be present.
Implementations§
source§impl ThirdPartyJobData
impl ThirdPartyJobData
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.
Does not include pipelineArn
and pipelineExecutionId
for ThirdParty jobs.
sourcepub fn input_artifacts(&self) -> &[Artifact]
pub fn input_artifacts(&self) -> &[Artifact]
The name of the artifact that is worked on by the action, if any. This name might be system-generated, such as "MyApp", or it might be defined by the user when the action is created. The input artifact name must match the name of an output artifact generated by an action in an earlier action or stage of the pipeline.
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 name of the artifact that is the result of the action, if any. This name might be system-generated, such as "MyBuiltApp", or it might be defined by the user when the action is created.
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 artifact 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 CodeDeploy deployment ID, that a job requires to continue the job asynchronously.
sourcepub fn encryption_key(&self) -> Option<&EncryptionKey>
pub fn encryption_key(&self) -> Option<&EncryptionKey>
The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an Amazon Web Services Key Management Service (Amazon Web Services KMS) key. This is optional and might not be present.
source§impl ThirdPartyJobData
impl ThirdPartyJobData
sourcepub fn builder() -> ThirdPartyJobDataBuilder
pub fn builder() -> ThirdPartyJobDataBuilder
Creates a new builder-style object to manufacture ThirdPartyJobData
.
Trait Implementations§
source§impl Clone for ThirdPartyJobData
impl Clone for ThirdPartyJobData
source§fn clone(&self) -> ThirdPartyJobData
fn clone(&self) -> ThirdPartyJobData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ThirdPartyJobData
impl Debug for ThirdPartyJobData
source§impl PartialEq for ThirdPartyJobData
impl PartialEq for ThirdPartyJobData
source§fn eq(&self, other: &ThirdPartyJobData) -> bool
fn eq(&self, other: &ThirdPartyJobData) -> bool
self
and other
values to be equal, and is used
by ==
.