JobSummary
Describes the summary for an execution job for an Amplify app.
Contents
- commitId
-
The commit ID from a third-party repository provider for the job.
Type: String
Length Constraints: Maximum length of 255.
Pattern:
(?s).*
Required: Yes
- commitMessage
-
The commit message from a third-party repository provider for the job.
Type: String
Length Constraints: Maximum length of 10000.
Pattern:
(?s).*
Required: Yes
- commitTime
-
The commit date and time for the job.
Type: Timestamp
Required: Yes
- jobArn
-
The Amazon Resource Name (ARN) for the job.
Type: String
Length Constraints: Maximum length of 1000.
Required: Yes
- jobId
-
The unique ID for the job.
Type: String
Length Constraints: Maximum length of 255.
Pattern:
[0-9]+
Required: Yes
- jobType
-
The type for the job. If the value is
RELEASE
, the job was manually released from its source by using theStartJob
API. This value is available only for apps that are connected to a repository.If the value is
RETRY
, the job was manually retried using theStartJob
API. If the value isWEB_HOOK
, the job was automatically triggered by webhooks. If the value isMANUAL
, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.Type: String
Length Constraints: Maximum length of 10.
Valid Values:
RELEASE | RETRY | MANUAL | WEB_HOOK
Required: Yes
- startTime
-
The start date and time for the job.
Type: Timestamp
Required: Yes
- status
-
The current status for the job.
Type: String
Valid Values:
PENDING | PROVISIONING | RUNNING | FAILED | SUCCEED | CANCELLING | CANCELLED
Required: Yes
- endTime
-
The end date and time for the job.
Type: Timestamp
Required: No
- sourceUrl
-
The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.
Type: String
Length Constraints: Maximum length of 3000.
Pattern:
^(s3|https|http)://.*
Required: No
- sourceUrlType
-
The type of source specified by the
sourceURL
. If the value isZIP
, the source is a .zip file. If the value isBUCKET_PREFIX
, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP
.Type: String
Valid Values:
ZIP | BUCKET_PREFIX
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: