Skip to content

/AWS1/CL_AMF=>CREATEDEPLOYMENT()

About CreateDeployment

Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a 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 job.

Optional arguments:

IT_FILEMAP TYPE /AWS1/CL_AMFFILEMAP_W=>TT_FILEMAP TT_FILEMAP

An optional file map that contains the file name as the key and the file content md5 hash as the value. If this argument is provided, the service will generate a unique upload URL per file. Otherwise, the service will only generate a single upload URL for the zipped files.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AMFCREDEPLOYMENTRSLT /AWS1/CL_AMFCREDEPLOYMENTRSLT