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 |
Retrieves the details about a specific import task.
Synopsis
- data GetImportFileTask = GetImportFileTask' {}
- newGetImportFileTask :: Text -> GetImportFileTask
- getImportFileTask_id :: Lens' GetImportFileTask Text
- data GetImportFileTaskResponse = GetImportFileTaskResponse' {
- completionTime :: Maybe POSIX
- id :: Maybe Text
- importName :: Maybe Text
- inputS3Bucket :: Maybe Text
- inputS3Key :: Maybe Text
- numberOfRecordsFailed :: Maybe Int
- numberOfRecordsSuccess :: Maybe Int
- startTime :: Maybe POSIX
- status :: Maybe ImportFileTaskStatus
- statusReportS3Bucket :: Maybe Text
- statusReportS3Key :: Maybe Text
- httpStatus :: Int
- newGetImportFileTaskResponse :: Int -> GetImportFileTaskResponse
- getImportFileTaskResponse_completionTime :: Lens' GetImportFileTaskResponse (Maybe UTCTime)
- getImportFileTaskResponse_id :: Lens' GetImportFileTaskResponse (Maybe Text)
- getImportFileTaskResponse_importName :: Lens' GetImportFileTaskResponse (Maybe Text)
- getImportFileTaskResponse_inputS3Bucket :: Lens' GetImportFileTaskResponse (Maybe Text)
- getImportFileTaskResponse_inputS3Key :: Lens' GetImportFileTaskResponse (Maybe Text)
- getImportFileTaskResponse_numberOfRecordsFailed :: Lens' GetImportFileTaskResponse (Maybe Int)
- getImportFileTaskResponse_numberOfRecordsSuccess :: Lens' GetImportFileTaskResponse (Maybe Int)
- getImportFileTaskResponse_startTime :: Lens' GetImportFileTaskResponse (Maybe UTCTime)
- getImportFileTaskResponse_status :: Lens' GetImportFileTaskResponse (Maybe ImportFileTaskStatus)
- getImportFileTaskResponse_statusReportS3Bucket :: Lens' GetImportFileTaskResponse (Maybe Text)
- getImportFileTaskResponse_statusReportS3Key :: Lens' GetImportFileTaskResponse (Maybe Text)
- getImportFileTaskResponse_httpStatus :: Lens' GetImportFileTaskResponse Int
Creating a Request
data GetImportFileTask Source #
See: newGetImportFileTask
smart constructor.
Instances
Create a value of GetImportFileTask
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:
GetImportFileTask
, getImportFileTask_id
- The ID of the import file task. This ID is returned in the response of
StartImportFileTask.
Request Lenses
getImportFileTask_id :: Lens' GetImportFileTask Text Source #
The ID of the import file task. This ID is returned in the response of StartImportFileTask.
Destructuring the Response
data GetImportFileTaskResponse Source #
See: newGetImportFileTaskResponse
smart constructor.
GetImportFileTaskResponse' | |
|
Instances
newGetImportFileTaskResponse Source #
Create a value of GetImportFileTaskResponse
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:
GetImportFileTaskResponse
, getImportFileTaskResponse_completionTime
- The time that the import task completed.
GetImportFileTask
, getImportFileTaskResponse_id
- The import file task id
returned in the response of
StartImportFileTask.
GetImportFileTaskResponse
, getImportFileTaskResponse_importName
- The name of the import task given in StartImportFileTask.
GetImportFileTaskResponse
, getImportFileTaskResponse_inputS3Bucket
- The S3 bucket where import file is located.
GetImportFileTaskResponse
, getImportFileTaskResponse_inputS3Key
- The Amazon S3 key name of the import file.
GetImportFileTaskResponse
, getImportFileTaskResponse_numberOfRecordsFailed
- The number of records that failed to be imported.
GetImportFileTaskResponse
, getImportFileTaskResponse_numberOfRecordsSuccess
- The number of records successfully imported.
GetImportFileTaskResponse
, getImportFileTaskResponse_startTime
- Start time of the import task.
GetImportFileTaskResponse
, getImportFileTaskResponse_status
- Status of import file task.
GetImportFileTaskResponse
, getImportFileTaskResponse_statusReportS3Bucket
- The S3 bucket name for status report of import task.
GetImportFileTaskResponse
, getImportFileTaskResponse_statusReportS3Key
- The Amazon S3 key name for status report of import task. The report
contains details about whether each record imported successfully or why
it did not.
$sel:httpStatus:GetImportFileTaskResponse'
, getImportFileTaskResponse_httpStatus
- The response's http status code.
Response Lenses
getImportFileTaskResponse_completionTime :: Lens' GetImportFileTaskResponse (Maybe UTCTime) Source #
The time that the import task completed.
getImportFileTaskResponse_id :: Lens' GetImportFileTaskResponse (Maybe Text) Source #
The import file task id
returned in the response of
StartImportFileTask.
getImportFileTaskResponse_importName :: Lens' GetImportFileTaskResponse (Maybe Text) Source #
The name of the import task given in StartImportFileTask.
getImportFileTaskResponse_inputS3Bucket :: Lens' GetImportFileTaskResponse (Maybe Text) Source #
The S3 bucket where import file is located.
getImportFileTaskResponse_inputS3Key :: Lens' GetImportFileTaskResponse (Maybe Text) Source #
The Amazon S3 key name of the import file.
getImportFileTaskResponse_numberOfRecordsFailed :: Lens' GetImportFileTaskResponse (Maybe Int) Source #
The number of records that failed to be imported.
getImportFileTaskResponse_numberOfRecordsSuccess :: Lens' GetImportFileTaskResponse (Maybe Int) Source #
The number of records successfully imported.
getImportFileTaskResponse_startTime :: Lens' GetImportFileTaskResponse (Maybe UTCTime) Source #
Start time of the import task.
getImportFileTaskResponse_status :: Lens' GetImportFileTaskResponse (Maybe ImportFileTaskStatus) Source #
Status of import file task.
getImportFileTaskResponse_statusReportS3Bucket :: Lens' GetImportFileTaskResponse (Maybe Text) Source #
The S3 bucket name for status report of import task.
getImportFileTaskResponse_statusReportS3Key :: Lens' GetImportFileTaskResponse (Maybe Text) Source #
The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.
getImportFileTaskResponse_httpStatus :: Lens' GetImportFileTaskResponse Int Source #
The response's http status code.