![]() |
![]()
| ![]() |
![]()
NAMEPaws::Amplify::StartJob - Arguments for method StartJob on Paws::Amplify DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESREQUIRED AppId => StrThe unique ID for an Amplify app. REQUIRED BranchName => StrThe branch name for the job. CommitId => StrThe commit ID from a third-party repository provider for the job. CommitMessage => StrThe commit message from a third-party repository provider for the job. CommitTime => StrThe commit date and time for the job. JobId => StrThe unique ID for an existing job. This is required if the value of "jobType" is "RETRY". JobReason => StrA descriptive reason for starting this job. REQUIRED JobType => StrDescribes 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 ALSOThis class forms part of Paws, documenting arguments for method StartJob in Paws::Amplify BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|