AWS CodePipeline
Get job details
Returns information about a job. Used for custom actions only. When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also returns any secret values defined for the action.
Inputs
The unique system-generated ID for the job.
Outputs
Expand All
The details of the job. If AWSSessionCredentials is used, a long-running job can call GetJobDetails again to obtain new credentials.
The unique system-generated ID of the job.
Represents other information about a job required for a job worker to complete the job.
Represents information about an action type.
A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the following values. Source Build Test Deploy Invoke Approval
The creator of the action being called. There are three valid values for the Owner field in the action category section within your pipeline structure: AWS, ThirdParty, and Custom. For more information, see Valid Action Types and Providers in CodePipeline.
The provider of the service being called by the action. Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of CodeDeploy, which would be specified as CodeDeploy. For more information, see Valid Action Types and Providers in CodePipeline.
A string that describes the action version.
Represents information about an action configuration.
The configuration data for the action.
Represents information about a pipeline to a job worker. Includes pipelineArn and pipelineExecutionId for custom jobs.
The name of the pipeline. This is a user-specified value. Pipeline names must be unique across all pipeline names under an Amazon Web Services account.
The stage of the pipeline.
The context of an action to a job worker in the stage of a pipeline.
The name of the action in the context of a job.
The system-generated unique ID that corresponds to an action's execution.
The Amazon Resource Name (ARN) of the pipeline.
The execution ID of the pipeline.
The artifact supplied to the job.
The artifact's revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3).
The location of an artifact.
The type of artifact in the location.
The S3 bucket that contains the artifact.
The name of the S3 bucket.
The key of the object in the S3 bucket, which uniquely identifies the object in the bucket.
The artifact's revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3).
The location of an artifact.
The type of artifact in the location.
The S3 bucket that contains the artifact.
The name of the S3 bucket.
The key of the object in the S3 bucket, which uniquely identifies the object in the bucket.
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.
The access key for the session.
secretAccessKey [required]
The secret access key for the session.
The token for the session.
A system-generated token, such as a deployment ID, required by a job to continue the job asynchronously.
Represents information about the key used to encrypt data in the artifact store, such as an KMS key.
The ID used to identify the key. For an Amazon Web Services KMS key, you can use the key ID, the key ARN, or the alias ARN. Aliases are recognized only in the account that created the KMS key. For cross-account actions, you can only use the key ID or key ARN to identify the key. Cross-account actions involve using the role from the other account (AccountB), so specifying the key ID will use the key from the other account (AccountB).
The type of encryption key, such as an Amazon Web Services KMS key. When creating or updating a pipeline, the value must be set to 'KMS'.
The Amazon Web Services account ID associated with the job.