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 |
Updates an existing backend API resource.
Synopsis
- data UpdateBackendAPI = UpdateBackendAPI' {}
- newUpdateBackendAPI :: Text -> Text -> Text -> UpdateBackendAPI
- updateBackendAPI_resourceConfig :: Lens' UpdateBackendAPI (Maybe BackendAPIResourceConfig)
- updateBackendAPI_appId :: Lens' UpdateBackendAPI Text
- updateBackendAPI_backendEnvironmentName :: Lens' UpdateBackendAPI Text
- updateBackendAPI_resourceName :: Lens' UpdateBackendAPI Text
- data UpdateBackendAPIResponse = UpdateBackendAPIResponse' {}
- newUpdateBackendAPIResponse :: Int -> UpdateBackendAPIResponse
- updateBackendAPIResponse_status :: Lens' UpdateBackendAPIResponse (Maybe Text)
- updateBackendAPIResponse_jobId :: Lens' UpdateBackendAPIResponse (Maybe Text)
- updateBackendAPIResponse_operation :: Lens' UpdateBackendAPIResponse (Maybe Text)
- updateBackendAPIResponse_error :: Lens' UpdateBackendAPIResponse (Maybe Text)
- updateBackendAPIResponse_appId :: Lens' UpdateBackendAPIResponse (Maybe Text)
- updateBackendAPIResponse_backendEnvironmentName :: Lens' UpdateBackendAPIResponse (Maybe Text)
- updateBackendAPIResponse_httpStatus :: Lens' UpdateBackendAPIResponse Int
Creating a Request
data UpdateBackendAPI Source #
The request body for UpdateBackendAPI.
See: newUpdateBackendAPI
smart constructor.
UpdateBackendAPI' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> UpdateBackendAPI |
Create a value of UpdateBackendAPI
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:UpdateBackendAPI'
, updateBackendAPI_resourceConfig
- Defines the resource configuration for the data model in your Amplify
project.
$sel:appId:UpdateBackendAPI'
, updateBackendAPI_appId
- The app ID.
$sel:backendEnvironmentName:UpdateBackendAPI'
, updateBackendAPI_backendEnvironmentName
- The name of the backend environment.
$sel:resourceName:UpdateBackendAPI'
, updateBackendAPI_resourceName
- The name of this resource.
Request Lenses
updateBackendAPI_resourceConfig :: Lens' UpdateBackendAPI (Maybe BackendAPIResourceConfig) Source #
Defines the resource configuration for the data model in your Amplify project.
updateBackendAPI_appId :: Lens' UpdateBackendAPI Text Source #
The app ID.
updateBackendAPI_backendEnvironmentName :: Lens' UpdateBackendAPI Text Source #
The name of the backend environment.
updateBackendAPI_resourceName :: Lens' UpdateBackendAPI Text Source #
The name of this resource.
Destructuring the Response
data UpdateBackendAPIResponse Source #
See: newUpdateBackendAPIResponse
smart constructor.
UpdateBackendAPIResponse' | |
|
Instances
newUpdateBackendAPIResponse Source #
Create a value of UpdateBackendAPIResponse
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:UpdateBackendAPIResponse'
, updateBackendAPIResponse_status
- The current status of the request.
$sel:jobId:UpdateBackendAPIResponse'
, updateBackendAPIResponse_jobId
- The ID for the job.
$sel:operation:UpdateBackendAPIResponse'
, updateBackendAPIResponse_operation
- The name of the operation.
$sel:error:UpdateBackendAPIResponse'
, updateBackendAPIResponse_error
- If the request fails, this error is returned.
$sel:appId:UpdateBackendAPI'
, updateBackendAPIResponse_appId
- The app ID.
$sel:backendEnvironmentName:UpdateBackendAPI'
, updateBackendAPIResponse_backendEnvironmentName
- The name of the backend environment.
$sel:httpStatus:UpdateBackendAPIResponse'
, updateBackendAPIResponse_httpStatus
- The response's http status code.
Response Lenses
updateBackendAPIResponse_status :: Lens' UpdateBackendAPIResponse (Maybe Text) Source #
The current status of the request.
updateBackendAPIResponse_jobId :: Lens' UpdateBackendAPIResponse (Maybe Text) Source #
The ID for the job.
updateBackendAPIResponse_operation :: Lens' UpdateBackendAPIResponse (Maybe Text) Source #
The name of the operation.
updateBackendAPIResponse_error :: Lens' UpdateBackendAPIResponse (Maybe Text) Source #
If the request fails, this error is returned.
updateBackendAPIResponse_appId :: Lens' UpdateBackendAPIResponse (Maybe Text) Source #
The app ID.
updateBackendAPIResponse_backendEnvironmentName :: Lens' UpdateBackendAPIResponse (Maybe Text) Source #
The name of the backend environment.
updateBackendAPIResponse_httpStatus :: Lens' UpdateBackendAPIResponse Int Source #
The response's http status code.