Skip to content

/AWS1/CL_AMF=>STARTDEPLOYMENT()

About StartDeployment

Starts a deployment for a manually deployed app. Manually deployed apps are not connected to a Git repository.

The maximum duration between the CreateDeployment call and the StartDeployment call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment call and the associated Job will fail.

Method Signature

IMPORTING

Required arguments:

IV_APPID TYPE /AWS1/AMFAPPID /AWS1/AMFAPPID

The unique ID for an Amplify app.

IV_BRANCHNAME TYPE /AWS1/AMFBRANCHNAME /AWS1/AMFBRANCHNAME

The name of the branch to use for the deployment job.

Optional arguments:

IV_JOBID TYPE /AWS1/AMFJOBID /AWS1/AMFJOBID

The job ID for this deployment that is generated by the CreateDeployment request.

IV_SOURCEURL TYPE /AWS1/AMFSOURCEURL /AWS1/AMFSOURCEURL

The source URL for the deployment that is used when calling StartDeployment without CreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

IV_SOURCEURLTYPE TYPE /AWS1/AMFSOURCEURLTYPE /AWS1/AMFSOURCEURLTYPE

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AMFSTRTDEPLOYMENTRSLT /AWS1/CL_AMFSTRTDEPLOYMENTRSLT