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 all backend environments from your Amplify project.
Synopsis
- data RemoveAllBackends = RemoveAllBackends' {
- cleanAmplifyApp :: Maybe Bool
- appId :: Text
- newRemoveAllBackends :: Text -> RemoveAllBackends
- removeAllBackends_cleanAmplifyApp :: Lens' RemoveAllBackends (Maybe Bool)
- removeAllBackends_appId :: Lens' RemoveAllBackends Text
- data RemoveAllBackendsResponse = RemoveAllBackendsResponse' {}
- newRemoveAllBackendsResponse :: Int -> RemoveAllBackendsResponse
- removeAllBackendsResponse_status :: Lens' RemoveAllBackendsResponse (Maybe Text)
- removeAllBackendsResponse_jobId :: Lens' RemoveAllBackendsResponse (Maybe Text)
- removeAllBackendsResponse_operation :: Lens' RemoveAllBackendsResponse (Maybe Text)
- removeAllBackendsResponse_error :: Lens' RemoveAllBackendsResponse (Maybe Text)
- removeAllBackendsResponse_appId :: Lens' RemoveAllBackendsResponse (Maybe Text)
- removeAllBackendsResponse_httpStatus :: Lens' RemoveAllBackendsResponse Int
Creating a Request
data RemoveAllBackends Source #
The request body for RemoveAllBackends.
See: newRemoveAllBackends
smart constructor.
RemoveAllBackends' | |
|
Instances
Create a value of RemoveAllBackends
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:cleanAmplifyApp:RemoveAllBackends'
, removeAllBackends_cleanAmplifyApp
- Cleans up the Amplify Console app if this value is set to true.
$sel:appId:RemoveAllBackends'
, removeAllBackends_appId
- The app ID.
Request Lenses
removeAllBackends_cleanAmplifyApp :: Lens' RemoveAllBackends (Maybe Bool) Source #
Cleans up the Amplify Console app if this value is set to true.
removeAllBackends_appId :: Lens' RemoveAllBackends Text Source #
The app ID.
Destructuring the Response
data RemoveAllBackendsResponse Source #
See: newRemoveAllBackendsResponse
smart constructor.
Instances
newRemoveAllBackendsResponse Source #
Create a value of RemoveAllBackendsResponse
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:RemoveAllBackendsResponse'
, removeAllBackendsResponse_status
- The current status of the request.
$sel:jobId:RemoveAllBackendsResponse'
, removeAllBackendsResponse_jobId
- The ID for the job.
$sel:operation:RemoveAllBackendsResponse'
, removeAllBackendsResponse_operation
- The name of the operation.
$sel:error:RemoveAllBackendsResponse'
, removeAllBackendsResponse_error
- If the request fails, this error is returned.
$sel:appId:RemoveAllBackends'
, removeAllBackendsResponse_appId
- The app ID.
$sel:httpStatus:RemoveAllBackendsResponse'
, removeAllBackendsResponse_httpStatus
- The response's http status code.
Response Lenses
removeAllBackendsResponse_status :: Lens' RemoveAllBackendsResponse (Maybe Text) Source #
The current status of the request.
removeAllBackendsResponse_jobId :: Lens' RemoveAllBackendsResponse (Maybe Text) Source #
The ID for the job.
removeAllBackendsResponse_operation :: Lens' RemoveAllBackendsResponse (Maybe Text) Source #
The name of the operation.
removeAllBackendsResponse_error :: Lens' RemoveAllBackendsResponse (Maybe Text) Source #
If the request fails, this error is returned.
removeAllBackendsResponse_appId :: Lens' RemoveAllBackendsResponse (Maybe Text) Source #
The app ID.
removeAllBackendsResponse_httpStatus :: Lens' RemoveAllBackendsResponse Int Source #
The response's http status code.