Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_status :: Lens' DeleteBackendResponse (Maybe Text)
- deleteBackendResponse_jobId :: Lens' DeleteBackendResponse (Maybe Text)
- deleteBackendResponse_operation :: Lens' DeleteBackendResponse (Maybe Text)
- deleteBackendResponse_error :: Lens' DeleteBackendResponse (Maybe Text)
- deleteBackendResponse_appId :: Lens' DeleteBackendResponse (Maybe Text)
- deleteBackendResponse_backendEnvironmentName :: Lens' DeleteBackendResponse (Maybe Text)
- deleteBackendResponse_httpStatus :: Lens' DeleteBackendResponse Int
Creating a Request
data DeleteBackend Source #
See: newDeleteBackend
smart constructor.
DeleteBackend' | |
|
Instances
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:
$sel:appId:DeleteBackend'
, deleteBackend_appId
- The app ID.
$sel:backendEnvironmentName: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.
DeleteBackendResponse' | |
|
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:
$sel:status:DeleteBackendResponse'
, deleteBackendResponse_status
- The current status of the request.
$sel:jobId:DeleteBackendResponse'
, deleteBackendResponse_jobId
- The ID for the job.
$sel:operation:DeleteBackendResponse'
, deleteBackendResponse_operation
- The name of the operation.
$sel:error:DeleteBackendResponse'
, deleteBackendResponse_error
- If the request fails, this error is returned.
$sel:appId:DeleteBackend'
, deleteBackendResponse_appId
- The app ID.
$sel:backendEnvironmentName:DeleteBackend'
, deleteBackendResponse_backendEnvironmentName
- The name of the backend environment.
$sel:httpStatus:DeleteBackendResponse'
, deleteBackendResponse_httpStatus
- The response's http status code.
Response Lenses
deleteBackendResponse_status :: Lens' DeleteBackendResponse (Maybe Text) Source #
The current status of the request.
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_error :: Lens' DeleteBackendResponse (Maybe Text) Source #
If the request fails, this error is returned.
deleteBackendResponse_appId :: Lens' DeleteBackendResponse (Maybe Text) Source #
The app ID.
deleteBackendResponse_backendEnvironmentName :: Lens' DeleteBackendResponse (Maybe Text) Source #
The name of the backend environment.
deleteBackendResponse_httpStatus :: Lens' DeleteBackendResponse Int Source #
The response's http status code.