AmplifyGen3 / Client / delete_environment

delete_environment

AmplifyGen3.Client.delete_environment(**kwargs)

Deletes an environment for a Gen 3 app.

See also: AWS API Documentation

Request Syntax

response = client.delete_environment(
    AppName='string',
    EnvironmentName='string'
)
Parameters:
  • AppName (string) –

    [REQUIRED]

    The name of the app.

  • EnvironmentName (string) –

    [REQUIRED]

    The name of the environment.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • AmplifyGen3.Client.exceptions.ThrottlingException

  • AmplifyGen3.Client.exceptions.AccessDeniedException

  • AmplifyGen3.Client.exceptions.ResourceNotFoundException

  • AmplifyGen3.Client.exceptions.ValidationException

  • AmplifyGen3.Client.exceptions.ConflictException

  • AmplifyGen3.Client.exceptions.InternalServerException