| 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.DataExchange.GetJob
Description
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_arn :: Lens' GetJobResponse (Maybe Text)
 - getJobResponse_createdAt :: Lens' GetJobResponse (Maybe UTCTime)
 - getJobResponse_details :: Lens' GetJobResponse (Maybe ResponseDetails)
 - getJobResponse_errors :: Lens' GetJobResponse (Maybe [JobError])
 - getJobResponse_id :: Lens' GetJobResponse (Maybe Text)
 - getJobResponse_state :: Lens' GetJobResponse (Maybe State)
 - getJobResponse_type :: Lens' GetJobResponse (Maybe Type)
 - getJobResponse_updatedAt :: Lens' GetJobResponse (Maybe UTCTime)
 - getJobResponse_httpStatus :: Lens' GetJobResponse Int
 
Creating a Request
See: newGetJob smart constructor.
Instances
| ToHeaders GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob  | |
| ToPath GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob Methods toPath :: GetJob -> ByteString #  | |
| ToQuery GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob Methods toQuery :: GetJob -> QueryString #  | |
| AWSRequest GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob Associated Types type AWSResponse GetJob # Methods request :: (Service -> Service) -> GetJob -> Request GetJob # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetJob -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetJob))) #  | |
| Generic GetJob Source # | |
| Read GetJob Source # | |
| Show GetJob Source # | |
| NFData GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob  | |
| Eq GetJob Source # | |
| Hashable GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob  | |
| type AWSResponse GetJob Source # | |
Defined in Amazonka.DataExchange.GetJob  | |
| type Rep 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.
Constructors
| GetJobResponse' | |
Fields 
  | |
Instances
Arguments
| :: Int | |
| -> GetJobResponse | 
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:
GetJobResponse, getJobResponse_arn - The ARN for the job.
GetJobResponse, getJobResponse_createdAt - The date and time that the job was created, in ISO 8601 format.
GetJobResponse, getJobResponse_details - Details about the job.
GetJobResponse, getJobResponse_errors - The errors associated with jobs.
GetJobResponse, getJobResponse_id - The unique identifier for the job.
GetJobResponse, getJobResponse_state - The state of the job.
GetJobResponse, getJobResponse_type - The job type.
GetJobResponse, getJobResponse_updatedAt - The date and time that the job was last updated, in ISO 8601 format.
$sel:httpStatus:GetJobResponse', getJobResponse_httpStatus - The response's http status code.
Response Lenses
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_errors :: Lens' GetJobResponse (Maybe [JobError]) Source #
The errors associated with jobs.
getJobResponse_id :: Lens' GetJobResponse (Maybe Text) Source #
The unique identifier for the job.
getJobResponse_state :: Lens' GetJobResponse (Maybe State) Source #
The state of 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_httpStatus :: Lens' GetJobResponse Int Source #
The response's http status code.