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