StartJobRequest

public struct StartJobRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The unique ID for an Amplify app.

    Declaration

    Swift

    public let appId: String
  • The branch name for the job.

    Declaration

    Swift

    public let branchName: String
  • The commit ID from a third-party repository provider for the job.

    Declaration

    Swift

    public let commitId: String?
  • The commit message from a third-party repository provider for the job.

    Declaration

    Swift

    public let commitMessage: String?
  • The commit date and time for the job.

    Declaration

    Swift

    public let commitTime: TimeStamp?
  • The unique ID for an existing job. This is required if the value of jobType is RETRY.

    Declaration

    Swift

    public let jobId: String?
  • A descriptive reason for starting this job.

    Declaration

    Swift

    public let jobReason: String?
  • Describes the type for the job. The job type RELEASE starts a new job with the latest change from the specified branch. This value is available only for apps that are connected to a repository. The job type RETRY retries an existing job. If the job type value is RETRY, the jobId is also required.

    Declaration

    Swift

    public let jobType: JobType
  • Undocumented

    Declaration

    Swift

    public init(appId: String, branchName: String, commitId: String? = nil, commitMessage: String? = nil, commitTime: TimeStamp? = nil, jobId: String? = nil, jobReason: String? = nil, jobType: JobType)
  • Declaration

    Swift

    public func validate(name: String) throws