| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MigrationHubReFactorSpaces.DeleteApplication
Description
Deletes an Amazon Web Services Migration Hub Refactor Spaces application. Before you can delete an application, you must first delete any services or routes within the application.
Synopsis
- data DeleteApplication = DeleteApplication' {}
- newDeleteApplication :: Text -> Text -> DeleteApplication
- deleteApplication_applicationIdentifier :: Lens' DeleteApplication Text
- deleteApplication_environmentIdentifier :: Lens' DeleteApplication Text
- data DeleteApplicationResponse = DeleteApplicationResponse' {
- applicationId :: Maybe Text
- arn :: Maybe Text
- environmentId :: Maybe Text
- lastUpdatedTime :: Maybe POSIX
- name :: Maybe Text
- state :: Maybe ApplicationState
- httpStatus :: Int
- newDeleteApplicationResponse :: Int -> DeleteApplicationResponse
- deleteApplicationResponse_applicationId :: Lens' DeleteApplicationResponse (Maybe Text)
- deleteApplicationResponse_arn :: Lens' DeleteApplicationResponse (Maybe Text)
- deleteApplicationResponse_environmentId :: Lens' DeleteApplicationResponse (Maybe Text)
- deleteApplicationResponse_lastUpdatedTime :: Lens' DeleteApplicationResponse (Maybe UTCTime)
- deleteApplicationResponse_name :: Lens' DeleteApplicationResponse (Maybe Text)
- deleteApplicationResponse_state :: Lens' DeleteApplicationResponse (Maybe ApplicationState)
- deleteApplicationResponse_httpStatus :: Lens' DeleteApplicationResponse Int
Creating a Request
data DeleteApplication Source #
See: newDeleteApplication smart constructor.
Constructors
| DeleteApplication' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteApplication |
Create a value of DeleteApplication with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:applicationIdentifier:DeleteApplication', deleteApplication_applicationIdentifier - The ID of the application.
$sel:environmentIdentifier:DeleteApplication', deleteApplication_environmentIdentifier - The ID of the environment.
Request Lenses
deleteApplication_applicationIdentifier :: Lens' DeleteApplication Text Source #
The ID of the application.
deleteApplication_environmentIdentifier :: Lens' DeleteApplication Text Source #
The ID of the environment.
Destructuring the Response
data DeleteApplicationResponse Source #
See: newDeleteApplicationResponse smart constructor.
Constructors
| DeleteApplicationResponse' | |
Fields
| |
Instances
newDeleteApplicationResponse Source #
Create a value of DeleteApplicationResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteApplicationResponse, deleteApplicationResponse_applicationId - The ID of the application.
DeleteApplicationResponse, deleteApplicationResponse_arn - The Amazon Resource Name (ARN) of the application.
DeleteApplicationResponse, deleteApplicationResponse_environmentId - The unique identifier of the application’s environment.
DeleteApplicationResponse, deleteApplicationResponse_lastUpdatedTime - A timestamp that indicates when the environment was last updated.
DeleteApplicationResponse, deleteApplicationResponse_name - The name of the application.
DeleteApplicationResponse, deleteApplicationResponse_state - The current state of the application.
$sel:httpStatus:DeleteApplicationResponse', deleteApplicationResponse_httpStatus - The response's http status code.
Response Lenses
deleteApplicationResponse_applicationId :: Lens' DeleteApplicationResponse (Maybe Text) Source #
The ID of the application.
deleteApplicationResponse_arn :: Lens' DeleteApplicationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the application.
deleteApplicationResponse_environmentId :: Lens' DeleteApplicationResponse (Maybe Text) Source #
The unique identifier of the application’s environment.
deleteApplicationResponse_lastUpdatedTime :: Lens' DeleteApplicationResponse (Maybe UTCTime) Source #
A timestamp that indicates when the environment was last updated.
deleteApplicationResponse_name :: Lens' DeleteApplicationResponse (Maybe Text) Source #
The name of the application.
deleteApplicationResponse_state :: Lens' DeleteApplicationResponse (Maybe ApplicationState) Source #
The current state of the application.
deleteApplicationResponse_httpStatus :: Lens' DeleteApplicationResponse Int Source #
The response's http status code.