MainframeModernization / Client / delete_application_from_environment
delete_application_from_environment#
- MainframeModernization.Client.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' )
- Parameters:
applicationId (string) –
[REQUIRED]
The unique identifier of the application you want to delete.
environmentId (string) –
[REQUIRED]
The unique identifier of the runtime environment where the application was previously deployed.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
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