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 |
Provides information about an import job.
Synopsis
- data GetImportJob = GetImportJob' {}
- newGetImportJob :: Text -> GetImportJob
- getImportJob_jobId :: Lens' GetImportJob Text
- data GetImportJobResponse = GetImportJobResponse' {
- processedRecordsCount :: Maybe Int
- jobId :: Maybe Text
- importDataSource :: Maybe ImportDataSource
- completedTimestamp :: Maybe POSIX
- failureInfo :: Maybe FailureInfo
- importDestination :: Maybe ImportDestination
- jobStatus :: Maybe JobStatus
- failedRecordsCount :: Maybe Int
- createdTimestamp :: Maybe POSIX
- httpStatus :: Int
- newGetImportJobResponse :: Int -> GetImportJobResponse
- getImportJobResponse_processedRecordsCount :: Lens' GetImportJobResponse (Maybe Int)
- getImportJobResponse_jobId :: Lens' GetImportJobResponse (Maybe Text)
- getImportJobResponse_importDataSource :: Lens' GetImportJobResponse (Maybe ImportDataSource)
- getImportJobResponse_completedTimestamp :: Lens' GetImportJobResponse (Maybe UTCTime)
- getImportJobResponse_failureInfo :: Lens' GetImportJobResponse (Maybe FailureInfo)
- getImportJobResponse_importDestination :: Lens' GetImportJobResponse (Maybe ImportDestination)
- getImportJobResponse_jobStatus :: Lens' GetImportJobResponse (Maybe JobStatus)
- getImportJobResponse_failedRecordsCount :: Lens' GetImportJobResponse (Maybe Int)
- getImportJobResponse_createdTimestamp :: Lens' GetImportJobResponse (Maybe UTCTime)
- getImportJobResponse_httpStatus :: Lens' GetImportJobResponse Int
Creating a Request
data GetImportJob Source #
Represents a request for information about an import job using the import job ID.
See: newGetImportJob
smart constructor.
Instances
Create a value of GetImportJob
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:GetImportJob'
, getImportJob_jobId
- The ID of the import job.
Request Lenses
getImportJob_jobId :: Lens' GetImportJob Text Source #
The ID of the import job.
Destructuring the Response
data GetImportJobResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newGetImportJobResponse
smart constructor.
GetImportJobResponse' | |
|
Instances
newGetImportJobResponse Source #
Create a value of GetImportJobResponse
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:processedRecordsCount:GetImportJobResponse'
, getImportJobResponse_processedRecordsCount
- The current number of records processed.
$sel:jobId:GetImportJob'
, getImportJobResponse_jobId
- A string that represents the import job ID.
$sel:importDataSource:GetImportJobResponse'
, getImportJobResponse_importDataSource
- The data source of the import job.
$sel:completedTimestamp:GetImportJobResponse'
, getImportJobResponse_completedTimestamp
- The time stamp of when the import job was completed.
$sel:failureInfo:GetImportJobResponse'
, getImportJobResponse_failureInfo
- The failure details about an import job.
$sel:importDestination:GetImportJobResponse'
, getImportJobResponse_importDestination
- The destination of the import job.
$sel:jobStatus:GetImportJobResponse'
, getImportJobResponse_jobStatus
- The status of the import job.
$sel:failedRecordsCount:GetImportJobResponse'
, getImportJobResponse_failedRecordsCount
- The number of records that failed processing because of invalid input or
other reasons.
$sel:createdTimestamp:GetImportJobResponse'
, getImportJobResponse_createdTimestamp
- The time stamp of when the import job was created.
$sel:httpStatus:GetImportJobResponse'
, getImportJobResponse_httpStatus
- The response's http status code.
Response Lenses
getImportJobResponse_processedRecordsCount :: Lens' GetImportJobResponse (Maybe Int) Source #
The current number of records processed.
getImportJobResponse_jobId :: Lens' GetImportJobResponse (Maybe Text) Source #
A string that represents the import job ID.
getImportJobResponse_importDataSource :: Lens' GetImportJobResponse (Maybe ImportDataSource) Source #
The data source of the import job.
getImportJobResponse_completedTimestamp :: Lens' GetImportJobResponse (Maybe UTCTime) Source #
The time stamp of when the import job was completed.
getImportJobResponse_failureInfo :: Lens' GetImportJobResponse (Maybe FailureInfo) Source #
The failure details about an import job.
getImportJobResponse_importDestination :: Lens' GetImportJobResponse (Maybe ImportDestination) Source #
The destination of the import job.
getImportJobResponse_jobStatus :: Lens' GetImportJobResponse (Maybe JobStatus) Source #
The status of the import job.
getImportJobResponse_failedRecordsCount :: Lens' GetImportJobResponse (Maybe Int) Source #
The number of records that failed processing because of invalid input or other reasons.
getImportJobResponse_createdTimestamp :: Lens' GetImportJobResponse (Maybe UTCTime) Source #
The time stamp of when the import job was created.
getImportJobResponse_httpStatus :: Lens' GetImportJobResponse Int Source #
The response's http status code.