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 |
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_status :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_jobId :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_operation :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_error :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_updateTime :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_appId :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_backendEnvironmentName :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_createTime :: Lens' GetBackendJobResponse (Maybe Text)
- getBackendJobResponse_httpStatus :: Lens' GetBackendJobResponse Int
Creating a Request
data GetBackendJob Source #
See: newGetBackendJob
smart constructor.
Instances
:: 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:
$sel:appId:GetBackendJob'
, getBackendJob_appId
- The app ID.
$sel:backendEnvironmentName:GetBackendJob'
, getBackendJob_backendEnvironmentName
- The name of the backend environment.
$sel:jobId: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.
GetBackendJobResponse' | |
|
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:
$sel:status:GetBackendJobResponse'
, getBackendJobResponse_status
- The current status of the request.
$sel:jobId:GetBackendJob'
, getBackendJobResponse_jobId
- The ID for the job.
$sel:operation:GetBackendJobResponse'
, getBackendJobResponse_operation
- The name of the operation.
$sel:error:GetBackendJobResponse'
, getBackendJobResponse_error
- If the request fails, this error is returned.
$sel:updateTime:GetBackendJobResponse'
, getBackendJobResponse_updateTime
- The time when the job was last updated.
$sel:appId:GetBackendJob'
, getBackendJobResponse_appId
- The app ID.
$sel:backendEnvironmentName:GetBackendJob'
, getBackendJobResponse_backendEnvironmentName
- The name of the backend environment.
$sel:createTime:GetBackendJobResponse'
, getBackendJobResponse_createTime
- The time when the job was created.
$sel:httpStatus:GetBackendJobResponse'
, getBackendJobResponse_httpStatus
- The response's http status code.
Response Lenses
getBackendJobResponse_status :: Lens' GetBackendJobResponse (Maybe Text) Source #
The current status of the request.
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_error :: Lens' GetBackendJobResponse (Maybe Text) Source #
If the request fails, this error is returned.
getBackendJobResponse_updateTime :: Lens' GetBackendJobResponse (Maybe Text) Source #
The time when the job was last updated.
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_httpStatus :: Lens' GetBackendJobResponse Int Source #
The response's http status code.