You can use a PUT request and this API to archive an application and release the AWS resources allocated to host it.
Any sessions that are currently active on the application will continue, but the application does not accept new sessions.
When all the currently active sessions have concluded, the application reaches the
An application that is archived can later be restarted with application:reactivate.
The updated Application Status. This resource will initially have a state of
Archiving, but the state will eventually be
Archived. You can periodically poll this resource to see its progress.