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 |
This operation returns information about a job.
Synopsis
- data GetJob = GetJob' {}
- newGetJob :: Text -> GetJob
- getJob_jobId :: Lens' GetJob Text
- data GetJobResponse = GetJobResponse' {}
- newGetJobResponse :: Int -> GetJobResponse
- getJobResponse_state :: Lens' GetJobResponse (Maybe State)
- getJobResponse_arn :: Lens' GetJobResponse (Maybe Text)
- getJobResponse_createdAt :: Lens' GetJobResponse (Maybe UTCTime)
- getJobResponse_details :: Lens' GetJobResponse (Maybe ResponseDetails)
- getJobResponse_id :: Lens' GetJobResponse (Maybe Text)
- getJobResponse_type :: Lens' GetJobResponse (Maybe Type)
- getJobResponse_updatedAt :: Lens' GetJobResponse (Maybe UTCTime)
- getJobResponse_errors :: Lens' GetJobResponse (Maybe [JobError])
- getJobResponse_httpStatus :: Lens' GetJobResponse Int
Creating a Request
See: newGetJob
smart constructor.
Instances
Eq GetJob Source # | |
Read GetJob Source # | |
Show GetJob Source # | |
Generic GetJob Source # | |
NFData GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob | |
Hashable GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob | |
AWSRequest GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob type AWSResponse GetJob # request :: GetJob -> Request GetJob # response :: MonadResource m => Logger -> Service -> Proxy GetJob -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetJob))) # | |
ToHeaders GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob | |
ToPath GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob toPath :: GetJob -> ByteString # | |
ToQuery GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob toQuery :: GetJob -> QueryString # | |
type Rep GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob | |
type AWSResponse GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob |
Create a value of GetJob
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:jobId:GetJob'
, getJob_jobId
- The unique identifier for a job.
Request Lenses
Destructuring the Response
data GetJobResponse Source #
See: newGetJobResponse
smart constructor.
GetJobResponse' | |
|
Instances
Create a value of GetJobResponse
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:state:GetJobResponse'
, getJobResponse_state
- The state of the job.
$sel:arn:GetJobResponse'
, getJobResponse_arn
- The ARN for the job.
$sel:createdAt:GetJobResponse'
, getJobResponse_createdAt
- The date and time that the job was created, in ISO 8601 format.
$sel:details:GetJobResponse'
, getJobResponse_details
- Details about the job.
$sel:id:GetJobResponse'
, getJobResponse_id
- The unique identifier for the job.
$sel:type':GetJobResponse'
, getJobResponse_type
- The job type.
$sel:updatedAt:GetJobResponse'
, getJobResponse_updatedAt
- The date and time that the job was last updated, in ISO 8601 format.
$sel:errors:GetJobResponse'
, getJobResponse_errors
- The errors associated with jobs.
$sel:httpStatus:GetJobResponse'
, getJobResponse_httpStatus
- The response's http status code.
Response Lenses
getJobResponse_state :: Lens' GetJobResponse (Maybe State) Source #
The state of the job.
getJobResponse_arn :: Lens' GetJobResponse (Maybe Text) Source #
The ARN for the job.
getJobResponse_createdAt :: Lens' GetJobResponse (Maybe UTCTime) Source #
The date and time that the job was created, in ISO 8601 format.
getJobResponse_details :: Lens' GetJobResponse (Maybe ResponseDetails) Source #
Details about the job.
getJobResponse_id :: Lens' GetJobResponse (Maybe Text) Source #
The unique identifier for the job.
getJobResponse_type :: Lens' GetJobResponse (Maybe Type) Source #
The job type.
getJobResponse_updatedAt :: Lens' GetJobResponse (Maybe UTCTime) Source #
The date and time that the job was last updated, in ISO 8601 format.
getJobResponse_errors :: Lens' GetJobResponse (Maybe [JobError]) Source #
The errors associated with jobs.
getJobResponse_httpStatus :: Lens' GetJobResponse Int Source #
The response's http status code.