Paws::Amplify::StartJob - Arguments for method StartJob on Paws::Amplify


This class represents the parameters used for calling the method StartJob on the AWS Amplify service. Use the attributes of this class as arguments to method StartJob.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartJob.


    my $amplify = Paws->service('Amplify');
    my $StartJobResult = $amplify->StartJob(
      AppId         => 'MyAppId',
      BranchName    => 'MyBranchName',
      JobType       => 'RELEASE',
      CommitId      => 'MyCommitId',             # OPTIONAL
      CommitMessage => 'MyCommitMessage',        # OPTIONAL
      CommitTime    => '1970-01-01T01:00:00',    # OPTIONAL
      JobId         => 'MyJobId',                # OPTIONAL
      JobReason     => 'MyJobReason',            # OPTIONAL

    # Results:
    my $JobSummary = $StartJobResult->JobSummary;

    # Returns a L<Paws::Amplify::StartJobResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see



Unique Id for an Amplify App.

REQUIRED BranchName => Str

Name for the branch, for the Job.

CommitId => Str

Commit Id from 3rd party repository provider for the Job.

CommitMessage => Str

Commit message from 3rd party repository provider for the Job.

CommitTime => Str

Commit date / time for the Job.

JobId => Str

Unique Id for an existing job. Required for "RETRY" JobType.

JobReason => Str

Descriptive reason for starting this job.

REQUIRED JobType => Str

Type for the Job. Available JobTypes are: \n "RELEASE": Start a new job with the latest change from the specified branch. Only available for apps that have connected to a repository. "RETRY": Retry an existing job. JobId is required for this type of job.

Valid values are: "RELEASE", "RETRY", "MANUAL", "WEB_HOOK"


This class forms part of Paws, documenting arguments for method StartJob in Paws::Amplify


The source code is located here:

Please report bugs to: