| 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.RemoveAllBackends
Description
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_appId :: Lens' RemoveAllBackendsResponse (Maybe Text)
 - removeAllBackendsResponse_error :: Lens' RemoveAllBackendsResponse (Maybe Text)
 - removeAllBackendsResponse_jobId :: Lens' RemoveAllBackendsResponse (Maybe Text)
 - removeAllBackendsResponse_operation :: Lens' RemoveAllBackendsResponse (Maybe Text)
 - removeAllBackendsResponse_status :: Lens' RemoveAllBackendsResponse (Maybe Text)
 - removeAllBackendsResponse_httpStatus :: Lens' RemoveAllBackendsResponse Int
 
Creating a Request
data RemoveAllBackends Source #
The request body for RemoveAllBackends.
See: newRemoveAllBackends smart constructor.
Constructors
| RemoveAllBackends' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> RemoveAllBackends | 
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.
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.
Constructors
| RemoveAllBackendsResponse' | |
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:
RemoveAllBackends, removeAllBackendsResponse_appId - The app ID.
RemoveAllBackendsResponse, removeAllBackendsResponse_error - If the request fails, this error is returned.
RemoveAllBackendsResponse, removeAllBackendsResponse_jobId - The ID for the job.
RemoveAllBackendsResponse, removeAllBackendsResponse_operation - The name of the operation.
RemoveAllBackendsResponse, removeAllBackendsResponse_status - The current status of the request.
$sel:httpStatus:RemoveAllBackendsResponse', removeAllBackendsResponse_httpStatus - The response's http status code.
Response Lenses
removeAllBackendsResponse_appId :: Lens' RemoveAllBackendsResponse (Maybe Text) Source #
The app ID.
removeAllBackendsResponse_error :: Lens' RemoveAllBackendsResponse (Maybe Text) Source #
If the request fails, this error is returned.
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_status :: Lens' RemoveAllBackendsResponse (Maybe Text) Source #
The current status of the request.
removeAllBackendsResponse_httpStatus :: Lens' RemoveAllBackendsResponse Int Source #
The response's http status code.