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 https://docs.aws.amazon.com/goto/WebAPI/amplify/StartJob
The unique ID for an Amplify app.
The branch name for the job.
The commit ID from a third-party repository provider for the job.
The commit message from a third-party repository provider for the job.
The commit date and time for the job.
The unique ID for an existing job. This is required if the value of jobType is RETRY.
jobType
RETRY
A descriptive reason for starting this job.
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.
RELEASE
jobId
Valid values are: "RELEASE", "RETRY", "MANUAL", "WEB_HOOK"
"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: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.