Skip to content

aws.amplify.get_job

Example SQL Queries

SELECT * FROM
aws.amplify.get_job
WHERE
"app_id" = 'VALUE'
AND "branch_name" = 'VALUE'
AND "job_id" = 'VALUE';

Description

Returns a job for a branch of an Amplify app.

Table Definition

Column NameColumn Data Type
app_id Required Input Column

The unique ID for an Amplify app.

VARCHAR
branch_name Required Input Column

The name of the branch to use for the job.

VARCHAR
job_id Required Input Column

The unique ID for the job.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
job

Describes an execution job for an Amplify app.

STRUCT(
"summary" STRUCT(
"job_arn" VARCHAR,
"job_id" VARCHAR,
"commit_id" VARCHAR,
"commit_message" VARCHAR,
"commit_time" TIMESTAMP_S,
"start_time" TIMESTAMP_S,
"status" VARCHAR,
"end_time" TIMESTAMP_S,
"job_type" VARCHAR
),
"steps" STRUCT(
"step_name" VARCHAR,
"start_time" TIMESTAMP_S,
"status" VARCHAR,
"end_time" TIMESTAMP_S,
"log_url" VARCHAR,
"artifacts_url" VARCHAR,
"test_artifacts_url" VARCHAR,
"test_config_url" VARCHAR,
"screenshots" MAP(VARCHAR, VARCHAR),
"status_reason" VARCHAR,
"context" VARCHAR
)[]
)
Show child fields
job.steps[]
Show child fields
job.steps[].artifacts_url

The URL to the artifact for the execution step.

job.steps[].context

The context for the current step. Includes a build image if the step is build.

job.steps[].end_time

The end date and time of the execution step.

job.steps[].log_url

The URL to the logs for the execution step.

job.steps[].screenshots

The list of screenshot URLs for the execution step, if relevant.

job.steps[].start_time

The start date and time of the execution step.

job.steps[].status

The status of the execution step.

job.steps[].status_reason

The reason for the current step status.

job.steps[].step_name

The name of the execution step.

job.steps[].test_artifacts_url

The URL to the test artifact for the execution step.

job.steps[].test_config_url

The URL to the test configuration for the execution step.

job.summary

Describes the summary for an execution job for an Amplify app.

Show child fields
job.summary.commit_id

The commit ID from a third-party repository provider for the job.

job.summary.commit_message

The commit message from a third-party repository provider for the job.

job.summary.commit_time

The commit date and time for the job.

job.summary.end_time

The end date and time for the job.

job.summary.job_arn

The Amazon Resource Name (ARN) for the job.

job.summary.job_id

The unique ID for the job.

job.summary.job_type

The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks.

job.summary.start_time

The start date and time for the job.

job.summary.status

The current status for the job.