| 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.GetBackendJob
Description
Returns information about a specific job.
Synopsis
- data GetBackendJob = GetBackendJob' {}
- newGetBackendJob :: Text -> Text -> Text -> GetBackendJob
- getBackendJob_appId :: Lens' GetBackendJob Text
- getBackendJob_backendEnvironmentName :: Lens' GetBackendJob Text
- getBackendJob_jobId :: Lens' GetBackendJob Text
- data GetBackendJobResponse = GetBackendJobResponse' {}
- newGetBackendJobResponse :: Int -> GetBackendJobResponse
- getBackendJobResponse_appId :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_backendEnvironmentName :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_createTime :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_error :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_jobId :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_operation :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_status :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_updateTime :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_httpStatus :: Lens' GetBackendJobResponse Int
Creating a Request
data GetBackendJob Source #
See: newGetBackendJob smart constructor.
Constructors
| GetBackendJob' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> GetBackendJob |
Create a value of GetBackendJob 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:
GetBackendJob, getBackendJob_appId - The app ID.
GetBackendJob, getBackendJob_backendEnvironmentName - The name of the backend environment.
GetBackendJob, getBackendJob_jobId - The ID for the job.
Request Lenses
getBackendJob_appId :: Lens' GetBackendJob Text Source #
The app ID.
getBackendJob_backendEnvironmentName :: Lens' GetBackendJob Text Source #
The name of the backend environment.
getBackendJob_jobId :: Lens' GetBackendJob Text Source #
The ID for the job.
Destructuring the Response
data GetBackendJobResponse Source #
See: newGetBackendJobResponse smart constructor.
Constructors
| GetBackendJobResponse' | |
Fields
| |
Instances
newGetBackendJobResponse Source #
Create a value of GetBackendJobResponse 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:
GetBackendJob, getBackendJobResponse_appId - The app ID.
GetBackendJob, getBackendJobResponse_backendEnvironmentName - The name of the backend environment.
GetBackendJobResponse, getBackendJobResponse_createTime - The time when the job was created.
GetBackendJobResponse, getBackendJobResponse_error - If the request fails, this error is returned.
GetBackendJob, getBackendJobResponse_jobId - The ID for the job.
GetBackendJobResponse, getBackendJobResponse_operation - The name of the operation.
GetBackendJobResponse, getBackendJobResponse_status - The current status of the request.
GetBackendJobResponse, getBackendJobResponse_updateTime - The time when the job was last updated.
$sel:httpStatus:GetBackendJobResponse', getBackendJobResponse_httpStatus - The response's http status code.
Response Lenses
getBackendJobResponse_appId :: Lens' GetBackendJobResponse (Maybe Text) Source #
The app ID.
getBackendJobResponse_backendEnvironmentName :: Lens' GetBackendJobResponse (Maybe Text) Source #
The name of the backend environment.
getBackendJobResponse_createTime :: Lens' GetBackendJobResponse (Maybe Text) Source #
The time when the job was created.
getBackendJobResponse_error :: Lens' GetBackendJobResponse (Maybe Text) Source #
If the request fails, this error is returned.
getBackendJobResponse_jobId :: Lens' GetBackendJobResponse (Maybe Text) Source #
The ID for the job.
getBackendJobResponse_operation :: Lens' GetBackendJobResponse (Maybe Text) Source #
The name of the operation.
getBackendJobResponse_status :: Lens' GetBackendJobResponse (Maybe Text) Source #
The current status of the request.
getBackendJobResponse_updateTime :: Lens' GetBackendJobResponse (Maybe Text) Source #
The time when the job was last updated.
getBackendJobResponse_httpStatus :: Lens' GetBackendJobResponse Int Source #
The response's http status code.