aws amplify37 CLI commands available for AWS Amplify.
| Command | API Operation | Sample |
|---|---|---|
create-appCreates a new Amplify app. | CreateApp | |
create-backend-environmentCreates a new backend environment for an Amplify app. This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with A | CreateBackendEnvironment | |
create-branchCreates a new branch for an Amplify app. | CreateBranch | |
create-deploymentCreates a deployment for a manually deployed Amplify 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 associ | CreateDeployment | |
create-domain-associationCreates a new domain association for an Amplify app. This action associates a custom domain with the Amplify app | CreateDomainAssociation | |
create-webhookCreates a new webhook on an Amplify app. | CreateWebhook | |
delete-appDeletes an existing Amplify app specified by an app ID. | DeleteApp | |
delete-backend-environmentDeletes a backend environment for an Amplify app. This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Ampli | DeleteBackendEnvironment | |
delete-branchDeletes a branch for an Amplify app. | DeleteBranch | |
delete-domain-associationDeletes a domain association for an Amplify app. | DeleteDomainAssociation | |
delete-jobDeletes a job for a branch of an Amplify app. | DeleteJob | |
delete-webhookDeletes a webhook. | DeleteWebhook | |
generate-access-logsReturns the website access logs for a specific time range using a presigned URL. | GenerateAccessLogs | |
get-appReturns an existing Amplify app specified by an app ID. | GetApp | |
get-artifact-urlReturns the artifact info that corresponds to an artifact id. | GetArtifactUrl | |
get-backend-environmentReturns a backend environment for an Amplify app. This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Ampli | GetBackendEnvironment | |
get-branchReturns a branch for an Amplify app. | GetBranch | |
get-domain-associationReturns the domain information for an Amplify app. | GetDomainAssociation | |
get-jobReturns a job for a branch of an Amplify app. | GetJob | |
get-webhookReturns the webhook information that corresponds to a specified webhook ID. | GetWebhook | |
list-appsReturns a list of the existing Amplify apps. | ListApps | |
list-artifactsReturns a list of end-to-end testing artifacts for a specified app, branch, and job. To return the build artifacts, use the GetJob API. For more information about Amplify testing support, see Setting up end-to-end Cypress tests for your Amplify application in the Amplify Hosting User Guide. | ListArtifacts | |
list-backend-environmentsLists the backend environments for an Amplify app. This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Ampl | ListBackendEnvironments | |
list-branchesLists the branches of an Amplify app. | ListBranches | |
list-domain-associationsReturns the domain associations for an Amplify app. | ListDomainAssociations | |
list-jobsLists the jobs for a branch of an Amplify app. | ListJobs | |
list-tags-for-resourceReturns a list of tags for a specified Amazon Resource Name (ARN). | ListTagsForResource | |
list-webhooksReturns a list of webhooks for an Amplify app. | ListWebhooks | |
start-deploymentStarts 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 | StartDeployment | |
start-jobStarts a new job for a branch of an Amplify app. | StartJob | |
stop-jobStops a job that is in progress for a branch of an Amplify app. | StopJob | |
tag-resourceTags the resource with a tag key and value. | TagResource | |
untag-resourceUntags a resource with a specified Amazon Resource Name (ARN). | UntagResource | |
update-appUpdates an existing Amplify app. | UpdateApp | |
update-branchUpdates a branch for an Amplify app. | UpdateBranch | |
update-domain-associationCreates a new domain association for an Amplify app. | UpdateDomainAssociation | |
update-webhookUpdates a webhook. | UpdateWebhook |
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterAmplify