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 a specific job.
Synopsis
- data UpdateBackendJob = UpdateBackendJob' {}
- newUpdateBackendJob :: Text -> Text -> Text -> UpdateBackendJob
- updateBackendJob_status :: Lens' UpdateBackendJob (Maybe Text)
- updateBackendJob_operation :: Lens' UpdateBackendJob (Maybe Text)
- updateBackendJob_appId :: Lens' UpdateBackendJob Text
- updateBackendJob_backendEnvironmentName :: Lens' UpdateBackendJob Text
- updateBackendJob_jobId :: Lens' UpdateBackendJob Text
- data UpdateBackendJobResponse = UpdateBackendJobResponse' {}
- newUpdateBackendJobResponse :: Int -> UpdateBackendJobResponse
- updateBackendJobResponse_status :: Lens' UpdateBackendJobResponse (Maybe Text)
- updateBackendJobResponse_jobId :: Lens' UpdateBackendJobResponse (Maybe Text)
- updateBackendJobResponse_operation :: Lens' UpdateBackendJobResponse (Maybe Text)
- updateBackendJobResponse_error :: Lens' UpdateBackendJobResponse (Maybe Text)
- updateBackendJobResponse_updateTime :: Lens' UpdateBackendJobResponse (Maybe Text)
- updateBackendJobResponse_appId :: Lens' UpdateBackendJobResponse (Maybe Text)
- updateBackendJobResponse_backendEnvironmentName :: Lens' UpdateBackendJobResponse (Maybe Text)
- updateBackendJobResponse_createTime :: Lens' UpdateBackendJobResponse (Maybe Text)
- updateBackendJobResponse_httpStatus :: Lens' UpdateBackendJobResponse Int
Creating a Request
data UpdateBackendJob Source #
The request body for GetBackendJob.
See: newUpdateBackendJob
smart constructor.
UpdateBackendJob' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> UpdateBackendJob |
Create a value of UpdateBackendJob
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:UpdateBackendJob'
, updateBackendJob_status
- Filters the list of response objects to include only those with the
specified status.
$sel:operation:UpdateBackendJob'
, updateBackendJob_operation
- Filters the list of response objects to include only those with the
specified operation name.
$sel:appId:UpdateBackendJob'
, updateBackendJob_appId
- The app ID.
$sel:backendEnvironmentName:UpdateBackendJob'
, updateBackendJob_backendEnvironmentName
- The name of the backend environment.
$sel:jobId:UpdateBackendJob'
, updateBackendJob_jobId
- The ID for the job.
Request Lenses
updateBackendJob_status :: Lens' UpdateBackendJob (Maybe Text) Source #
Filters the list of response objects to include only those with the specified status.
updateBackendJob_operation :: Lens' UpdateBackendJob (Maybe Text) Source #
Filters the list of response objects to include only those with the specified operation name.
updateBackendJob_appId :: Lens' UpdateBackendJob Text Source #
The app ID.
updateBackendJob_backendEnvironmentName :: Lens' UpdateBackendJob Text Source #
The name of the backend environment.
updateBackendJob_jobId :: Lens' UpdateBackendJob Text Source #
The ID for the job.
Destructuring the Response
data UpdateBackendJobResponse Source #
See: newUpdateBackendJobResponse
smart constructor.
UpdateBackendJobResponse' | |
|
Instances
newUpdateBackendJobResponse Source #
Create a value of UpdateBackendJobResponse
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:UpdateBackendJob'
, updateBackendJobResponse_status
- The current status of the request.
$sel:jobId:UpdateBackendJob'
, updateBackendJobResponse_jobId
- The ID for the job.
$sel:operation:UpdateBackendJob'
, updateBackendJobResponse_operation
- The name of the operation.
$sel:error:UpdateBackendJobResponse'
, updateBackendJobResponse_error
- If the request fails, this error is returned.
$sel:updateTime:UpdateBackendJobResponse'
, updateBackendJobResponse_updateTime
- The time when the job was last updated.
$sel:appId:UpdateBackendJob'
, updateBackendJobResponse_appId
- The app ID.
$sel:backendEnvironmentName:UpdateBackendJob'
, updateBackendJobResponse_backendEnvironmentName
- The name of the backend environment.
$sel:createTime:UpdateBackendJobResponse'
, updateBackendJobResponse_createTime
- The time when the job was created.
$sel:httpStatus:UpdateBackendJobResponse'
, updateBackendJobResponse_httpStatus
- The response's http status code.
Response Lenses
updateBackendJobResponse_status :: Lens' UpdateBackendJobResponse (Maybe Text) Source #
The current status of the request.
updateBackendJobResponse_jobId :: Lens' UpdateBackendJobResponse (Maybe Text) Source #
The ID for the job.
updateBackendJobResponse_operation :: Lens' UpdateBackendJobResponse (Maybe Text) Source #
The name of the operation.
updateBackendJobResponse_error :: Lens' UpdateBackendJobResponse (Maybe Text) Source #
If the request fails, this error is returned.
updateBackendJobResponse_updateTime :: Lens' UpdateBackendJobResponse (Maybe Text) Source #
The time when the job was last updated.
updateBackendJobResponse_appId :: Lens' UpdateBackendJobResponse (Maybe Text) Source #
The app ID.
updateBackendJobResponse_backendEnvironmentName :: Lens' UpdateBackendJobResponse (Maybe Text) Source #
The name of the backend environment.
updateBackendJobResponse_createTime :: Lens' UpdateBackendJobResponse (Maybe Text) Source #
The time when the job was created.
updateBackendJobResponse_httpStatus :: Lens' UpdateBackendJobResponse Int Source #
The response's http status code.