delete_application_from_environment
(**kwargs)¶Deletes a specific application from the specific runtime environment where it was previously deployed. You cannot delete a runtime environment using DeleteEnvironment if any application has ever been deployed to it. This API removes the association of the application with the runtime environment so you can delete the environment smoothly.
See also: AWS API Documentation
Request Syntax
response = client.delete_application_from_environment(
applicationId='string',
environmentId='string'
)
[REQUIRED]
The unique identifier of the application you want to delete.
[REQUIRED]
The unique identifier of the runtime environment where the application was previously deployed.
dict
Response Syntax
{}
Response Structure
Exceptions
MainframeModernization.Client.exceptions.ValidationException
MainframeModernization.Client.exceptions.ConflictException
MainframeModernization.Client.exceptions.InternalServerException
MainframeModernization.Client.exceptions.AccessDeniedException
MainframeModernization.Client.exceptions.ThrottlingException
MainframeModernization.Client.exceptions.ResourceNotFoundException