| 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.SESV2.GetImportJob
Description
Provides information about an import job.
Synopsis
- data GetImportJob = GetImportJob' {}
- newGetImportJob :: Text -> GetImportJob
- getImportJob_jobId :: Lens' GetImportJob Text
- data GetImportJobResponse = GetImportJobResponse' {
- completedTimestamp :: Maybe POSIX
- createdTimestamp :: Maybe POSIX
- failedRecordsCount :: Maybe Int
- failureInfo :: Maybe FailureInfo
- importDataSource :: Maybe ImportDataSource
- importDestination :: Maybe ImportDestination
- jobId :: Maybe Text
- jobStatus :: Maybe JobStatus
- processedRecordsCount :: Maybe Int
- httpStatus :: Int
- newGetImportJobResponse :: Int -> GetImportJobResponse
- getImportJobResponse_completedTimestamp :: Lens' GetImportJobResponse (Maybe UTCTime)
- getImportJobResponse_createdTimestamp :: Lens' GetImportJobResponse (Maybe UTCTime)
- getImportJobResponse_failedRecordsCount :: Lens' GetImportJobResponse (Maybe Int)
- getImportJobResponse_failureInfo :: Lens' GetImportJobResponse (Maybe FailureInfo)
- getImportJobResponse_importDataSource :: Lens' GetImportJobResponse (Maybe ImportDataSource)
- getImportJobResponse_importDestination :: Lens' GetImportJobResponse (Maybe ImportDestination)
- getImportJobResponse_jobId :: Lens' GetImportJobResponse (Maybe Text)
- getImportJobResponse_jobStatus :: Lens' GetImportJobResponse (Maybe JobStatus)
- getImportJobResponse_processedRecordsCount :: Lens' GetImportJobResponse (Maybe Int)
- 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.
Constructors
| GetImportJob' | |
Instances
Arguments
| :: Text | |
| -> GetImportJob |
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:
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.
Constructors
| GetImportJobResponse' | |
Fields
| |
Instances
newGetImportJobResponse Source #
Arguments
| :: Int | |
| -> GetImportJobResponse |
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:completedTimestamp:GetImportJobResponse', getImportJobResponse_completedTimestamp - The time stamp of when the import job was completed.
GetImportJobResponse, getImportJobResponse_createdTimestamp - The time stamp of when the import job was created.
GetImportJobResponse, getImportJobResponse_failedRecordsCount - The number of records that failed processing because of invalid input or
other reasons.
$sel:failureInfo:GetImportJobResponse', getImportJobResponse_failureInfo - The failure details about an import job.
$sel:importDataSource:GetImportJobResponse', getImportJobResponse_importDataSource - The data source of the import job.
GetImportJobResponse, getImportJobResponse_importDestination - The destination of the import job.
GetImportJob, getImportJobResponse_jobId - A string that represents the import job ID.
GetImportJobResponse, getImportJobResponse_jobStatus - The status of the import job.
GetImportJobResponse, getImportJobResponse_processedRecordsCount - The current number of records processed.
$sel:httpStatus:GetImportJobResponse', getImportJobResponse_httpStatus - The response's http status code.
Response Lenses
getImportJobResponse_completedTimestamp :: Lens' GetImportJobResponse (Maybe UTCTime) Source #
The time stamp of when the import job was completed.
getImportJobResponse_createdTimestamp :: Lens' GetImportJobResponse (Maybe UTCTime) Source #
The time stamp of when the import job was created.
getImportJobResponse_failedRecordsCount :: Lens' GetImportJobResponse (Maybe Int) Source #
The number of records that failed processing because of invalid input or other reasons.
getImportJobResponse_failureInfo :: Lens' GetImportJobResponse (Maybe FailureInfo) Source #
The failure details about an import job.
getImportJobResponse_importDataSource :: Lens' GetImportJobResponse (Maybe ImportDataSource) Source #
The data source of the import job.
getImportJobResponse_importDestination :: Lens' GetImportJobResponse (Maybe ImportDestination) Source #
The destination of the import job.
getImportJobResponse_jobId :: Lens' GetImportJobResponse (Maybe Text) Source #
A string that represents the import job ID.
getImportJobResponse_jobStatus :: Lens' GetImportJobResponse (Maybe JobStatus) Source #
The status of the import job.
getImportJobResponse_processedRecordsCount :: Lens' GetImportJobResponse (Maybe Int) Source #
The current number of records processed.
getImportJobResponse_httpStatus :: Lens' GetImportJobResponse Int Source #
The response's http status code.