Skip to content

/AWS1/CL_AMF=>DELETEBACKENDENVIRONMENT()

About DeleteBackendEnvironment

Deletes 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 Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.

Method Signature

IMPORTING

Required arguments:

IV_APPID TYPE /AWS1/AMFAPPID /AWS1/AMFAPPID

The unique ID of an Amplify app.

IV_ENVIRONMENTNAME TYPE /AWS1/AMFENVIRONMENTNAME /AWS1/AMFENVIRONMENTNAME

The name of a backend environment of an Amplify app.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AMFDELBACKENDENVIRO01 /AWS1/CL_AMFDELBACKENDENVIRO01