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
The unique ID for an Amplify app.
REQUIRED BranchName => Str
The branch name for the job.
CommitId => Str
The commit ID from a third-party repository provider for the job.
CommitMessage => Str
The commit message from a third-party repository provider for the job.
CommitTime => Str
The commit date and time for the job.
JobId => Str
The unique ID for an existing job. This is required if the value of jobType
is RETRY
.
JobReason => Str
A descriptive reason for starting this job.
REQUIRED JobType => Str
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.
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