v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1437207152.4 KB

Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a repository.

post/apps/{appId}/branches/{branchName}/deployments

Path parameters

appIdstring required

The unique ID for an Amplify app.

branchNamestring required

The name for the branch, for the job.

Request body

fileMapobject

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.

Response

Success

jobIdstring

The job ID for this deployment. will supply to start deployment api.

fileUploadUrlsobject required

When the <code>fileMap</code> argument is provided in the request, <code>fileUploadUrls</code> will contain a map of file names to upload URLs.

zipUploadUrlstring required

When the <code>fileMap</code> argument is not provided in the request, this <code>zipUploadUrl</code> is returned.