| 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.AmplifyBackend.DeleteBackend
Description
Removes an existing environment from your Amplify project.
Synopsis
- data DeleteBackend = DeleteBackend' {}
 - newDeleteBackend :: Text -> Text -> DeleteBackend
 - deleteBackend_appId :: Lens' DeleteBackend Text
 - deleteBackend_backendEnvironmentName :: Lens' DeleteBackend Text
 - data DeleteBackendResponse = DeleteBackendResponse' {}
 - newDeleteBackendResponse :: Int -> DeleteBackendResponse
 - deleteBackendResponse_appId :: Lens' DeleteBackendResponse (Maybe Text)
 - deleteBackendResponse_backendEnvironmentName :: Lens' DeleteBackendResponse (Maybe Text)
 - deleteBackendResponse_error :: Lens' DeleteBackendResponse (Maybe Text)
 - deleteBackendResponse_jobId :: Lens' DeleteBackendResponse (Maybe Text)
 - deleteBackendResponse_operation :: Lens' DeleteBackendResponse (Maybe Text)
 - deleteBackendResponse_status :: Lens' DeleteBackendResponse (Maybe Text)
 - deleteBackendResponse_httpStatus :: Lens' DeleteBackendResponse Int
 
Creating a Request
data DeleteBackend Source #
See: newDeleteBackend smart constructor.
Constructors
| DeleteBackend' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteBackend | 
Create a value of DeleteBackend 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:
DeleteBackend, deleteBackend_appId - The app ID.
DeleteBackend, deleteBackend_backendEnvironmentName - The name of the backend environment.
Request Lenses
deleteBackend_appId :: Lens' DeleteBackend Text Source #
The app ID.
deleteBackend_backendEnvironmentName :: Lens' DeleteBackend Text Source #
The name of the backend environment.
Destructuring the Response
data DeleteBackendResponse Source #
See: newDeleteBackendResponse smart constructor.
Constructors
| DeleteBackendResponse' | |
Fields 
  | |
Instances
newDeleteBackendResponse Source #
Create a value of DeleteBackendResponse 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:
DeleteBackend, deleteBackendResponse_appId - The app ID.
DeleteBackend, deleteBackendResponse_backendEnvironmentName - The name of the backend environment.
DeleteBackendResponse, deleteBackendResponse_error - If the request fails, this error is returned.
DeleteBackendResponse, deleteBackendResponse_jobId - The ID for the job.
DeleteBackendResponse, deleteBackendResponse_operation - The name of the operation.
DeleteBackendResponse, deleteBackendResponse_status - The current status of the request.
$sel:httpStatus:DeleteBackendResponse', deleteBackendResponse_httpStatus - The response's http status code.
Response Lenses
deleteBackendResponse_appId :: Lens' DeleteBackendResponse (Maybe Text) Source #
The app ID.
deleteBackendResponse_backendEnvironmentName :: Lens' DeleteBackendResponse (Maybe Text) Source #
The name of the backend environment.
deleteBackendResponse_error :: Lens' DeleteBackendResponse (Maybe Text) Source #
If the request fails, this error is returned.
deleteBackendResponse_jobId :: Lens' DeleteBackendResponse (Maybe Text) Source #
The ID for the job.
deleteBackendResponse_operation :: Lens' DeleteBackendResponse (Maybe Text) Source #
The name of the operation.
deleteBackendResponse_status :: Lens' DeleteBackendResponse (Maybe Text) Source #
The current status of the request.
deleteBackendResponse_httpStatus :: Lens' DeleteBackendResponse Int Source #
The response's http status code.