NAME

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

DESCRIPTION

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.

SYNOPSIS

    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 https://docs.aws.amazon.com/goto/WebAPI/amplify/StartJob

ATTRIBUTES

REQUIRED AppId => Str

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"

SEE ALSO

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

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues