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 |
Deletes an existing backend API resource.
Synopsis
- data DeleteBackendAPI = DeleteBackendAPI' {}
- newDeleteBackendAPI :: Text -> Text -> Text -> DeleteBackendAPI
- deleteBackendAPI_resourceConfig :: Lens' DeleteBackendAPI (Maybe BackendAPIResourceConfig)
- deleteBackendAPI_appId :: Lens' DeleteBackendAPI Text
- deleteBackendAPI_backendEnvironmentName :: Lens' DeleteBackendAPI Text
- deleteBackendAPI_resourceName :: Lens' DeleteBackendAPI Text
- data DeleteBackendAPIResponse = DeleteBackendAPIResponse' {}
- newDeleteBackendAPIResponse :: Int -> DeleteBackendAPIResponse
- deleteBackendAPIResponse_status :: Lens' DeleteBackendAPIResponse (Maybe Text)
- deleteBackendAPIResponse_jobId :: Lens' DeleteBackendAPIResponse (Maybe Text)
- deleteBackendAPIResponse_operation :: Lens' DeleteBackendAPIResponse (Maybe Text)
- deleteBackendAPIResponse_error :: Lens' DeleteBackendAPIResponse (Maybe Text)
- deleteBackendAPIResponse_appId :: Lens' DeleteBackendAPIResponse (Maybe Text)
- deleteBackendAPIResponse_backendEnvironmentName :: Lens' DeleteBackendAPIResponse (Maybe Text)
- deleteBackendAPIResponse_httpStatus :: Lens' DeleteBackendAPIResponse Int
Creating a Request
data DeleteBackendAPI Source #
The request body for DeleteBackendAPI.
See: newDeleteBackendAPI
smart constructor.
DeleteBackendAPI' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> DeleteBackendAPI |
Create a value of DeleteBackendAPI
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:resourceConfig:DeleteBackendAPI'
, deleteBackendAPI_resourceConfig
- Defines the resource configuration for the data model in your Amplify
project.
$sel:appId:DeleteBackendAPI'
, deleteBackendAPI_appId
- The app ID.
$sel:backendEnvironmentName:DeleteBackendAPI'
, deleteBackendAPI_backendEnvironmentName
- The name of the backend environment.
$sel:resourceName:DeleteBackendAPI'
, deleteBackendAPI_resourceName
- The name of this resource.
Request Lenses
deleteBackendAPI_resourceConfig :: Lens' DeleteBackendAPI (Maybe BackendAPIResourceConfig) Source #
Defines the resource configuration for the data model in your Amplify project.
deleteBackendAPI_appId :: Lens' DeleteBackendAPI Text Source #
The app ID.
deleteBackendAPI_backendEnvironmentName :: Lens' DeleteBackendAPI Text Source #
The name of the backend environment.
deleteBackendAPI_resourceName :: Lens' DeleteBackendAPI Text Source #
The name of this resource.
Destructuring the Response
data DeleteBackendAPIResponse Source #
See: newDeleteBackendAPIResponse
smart constructor.
DeleteBackendAPIResponse' | |
|
Instances
newDeleteBackendAPIResponse Source #
Create a value of DeleteBackendAPIResponse
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:DeleteBackendAPIResponse'
, deleteBackendAPIResponse_status
- The current status of the request.
$sel:jobId:DeleteBackendAPIResponse'
, deleteBackendAPIResponse_jobId
- The ID for the job.
$sel:operation:DeleteBackendAPIResponse'
, deleteBackendAPIResponse_operation
- The name of the operation.
$sel:error:DeleteBackendAPIResponse'
, deleteBackendAPIResponse_error
- If the request fails, this error is returned.
$sel:appId:DeleteBackendAPI'
, deleteBackendAPIResponse_appId
- The app ID.
$sel:backendEnvironmentName:DeleteBackendAPI'
, deleteBackendAPIResponse_backendEnvironmentName
- The name of the backend environment.
$sel:httpStatus:DeleteBackendAPIResponse'
, deleteBackendAPIResponse_httpStatus
- The response's http status code.
Response Lenses
deleteBackendAPIResponse_status :: Lens' DeleteBackendAPIResponse (Maybe Text) Source #
The current status of the request.
deleteBackendAPIResponse_jobId :: Lens' DeleteBackendAPIResponse (Maybe Text) Source #
The ID for the job.
deleteBackendAPIResponse_operation :: Lens' DeleteBackendAPIResponse (Maybe Text) Source #
The name of the operation.
deleteBackendAPIResponse_error :: Lens' DeleteBackendAPIResponse (Maybe Text) Source #
If the request fails, this error is returned.
deleteBackendAPIResponse_appId :: Lens' DeleteBackendAPIResponse (Maybe Text) Source #
The app ID.
deleteBackendAPIResponse_backendEnvironmentName :: Lens' DeleteBackendAPIResponse (Maybe Text) Source #
The name of the backend environment.
deleteBackendAPIResponse_httpStatus :: Lens' DeleteBackendAPIResponse Int Source #
The response's http status code.