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 |
Synopsis
- data ImportTask = ImportTask' {
- applicationImportFailure :: Maybe Int
- applicationImportSuccess :: Maybe Int
- clientRequestToken :: Maybe Text
- errorsAndFailedEntriesZip :: Maybe Text
- importCompletionTime :: Maybe POSIX
- importDeletedTime :: Maybe POSIX
- importRequestTime :: Maybe POSIX
- importTaskId :: Maybe Text
- importUrl :: Maybe Text
- name :: Maybe Text
- serverImportFailure :: Maybe Int
- serverImportSuccess :: Maybe Int
- status :: Maybe ImportStatus
- newImportTask :: ImportTask
- importTask_applicationImportFailure :: Lens' ImportTask (Maybe Int)
- importTask_applicationImportSuccess :: Lens' ImportTask (Maybe Int)
- importTask_clientRequestToken :: Lens' ImportTask (Maybe Text)
- importTask_errorsAndFailedEntriesZip :: Lens' ImportTask (Maybe Text)
- importTask_importCompletionTime :: Lens' ImportTask (Maybe UTCTime)
- importTask_importDeletedTime :: Lens' ImportTask (Maybe UTCTime)
- importTask_importRequestTime :: Lens' ImportTask (Maybe UTCTime)
- importTask_importTaskId :: Lens' ImportTask (Maybe Text)
- importTask_importUrl :: Lens' ImportTask (Maybe Text)
- importTask_name :: Lens' ImportTask (Maybe Text)
- importTask_serverImportFailure :: Lens' ImportTask (Maybe Int)
- importTask_serverImportSuccess :: Lens' ImportTask (Maybe Int)
- importTask_status :: Lens' ImportTask (Maybe ImportStatus)
Documentation
data ImportTask Source #
An array of information related to the import task request that includes status information, times, IDs, the Amazon S3 Object URL for the import file, and more.
See: newImportTask
smart constructor.
ImportTask' | |
|
Instances
newImportTask :: ImportTask Source #
Create a value of ImportTask
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:applicationImportFailure:ImportTask'
, importTask_applicationImportFailure
- The total number of application records in the import file that failed
to be imported.
$sel:applicationImportSuccess:ImportTask'
, importTask_applicationImportSuccess
- The total number of application records in the import file that were
successfully imported.
$sel:clientRequestToken:ImportTask'
, importTask_clientRequestToken
- A unique token used to prevent the same import request from occurring
more than once. If you didn't provide a token, a token was
automatically generated when the import task request was sent.
$sel:errorsAndFailedEntriesZip:ImportTask'
, importTask_errorsAndFailedEntriesZip
- A link to a compressed archive folder (in the ZIP format) that contains
an error log and a file of failed records. You can use these two files
to quickly identify records that failed, why they failed, and correct
those records. Afterward, you can upload the corrected file to your
Amazon S3 bucket and create another import task request.
This field also includes authorization information so you can confirm the authenticity of the compressed archive before you download it.
If some records failed to be imported we recommend that you correct the records in the failed entries file and then imports that failed entries file. This prevents you from having to correct and update the larger original file and attempt importing it again.
$sel:importCompletionTime:ImportTask'
, importTask_importCompletionTime
- The time that the import task request finished, presented in the Unix
time stamp format.
$sel:importDeletedTime:ImportTask'
, importTask_importDeletedTime
- The time that the import task request was deleted, presented in the Unix
time stamp format.
$sel:importRequestTime:ImportTask'
, importTask_importRequestTime
- The time that the import task request was made, presented in the Unix
time stamp format.
$sel:importTaskId:ImportTask'
, importTask_importTaskId
- The unique ID for a specific import task. These IDs aren't globally
unique, but they are unique within an Amazon Web Services account.
$sel:importUrl:ImportTask'
, importTask_importUrl
- The URL for your import file that you've uploaded to Amazon S3.
$sel:name:ImportTask'
, importTask_name
- A descriptive name for an import task. You can use this name to filter
future requests related to this import task, such as identifying
applications and servers that were included in this import task. We
recommend that you use a meaningful name for each import task.
$sel:serverImportFailure:ImportTask'
, importTask_serverImportFailure
- The total number of server records in the import file that failed to be
imported.
$sel:serverImportSuccess:ImportTask'
, importTask_serverImportSuccess
- The total number of server records in the import file that were
successfully imported.
$sel:status:ImportTask'
, importTask_status
- The status of the import task. An import can have the status of
IMPORT_COMPLETE
and still have some records fail to import from the
overall request. More information can be found in the downloadable
archive defined in the errorsAndFailedEntriesZip
field, or in the
Migration Hub management console.
importTask_applicationImportFailure :: Lens' ImportTask (Maybe Int) Source #
The total number of application records in the import file that failed to be imported.
importTask_applicationImportSuccess :: Lens' ImportTask (Maybe Int) Source #
The total number of application records in the import file that were successfully imported.
importTask_clientRequestToken :: Lens' ImportTask (Maybe Text) Source #
A unique token used to prevent the same import request from occurring more than once. If you didn't provide a token, a token was automatically generated when the import task request was sent.
importTask_errorsAndFailedEntriesZip :: Lens' ImportTask (Maybe Text) Source #
A link to a compressed archive folder (in the ZIP format) that contains an error log and a file of failed records. You can use these two files to quickly identify records that failed, why they failed, and correct those records. Afterward, you can upload the corrected file to your Amazon S3 bucket and create another import task request.
This field also includes authorization information so you can confirm the authenticity of the compressed archive before you download it.
If some records failed to be imported we recommend that you correct the records in the failed entries file and then imports that failed entries file. This prevents you from having to correct and update the larger original file and attempt importing it again.
importTask_importCompletionTime :: Lens' ImportTask (Maybe UTCTime) Source #
The time that the import task request finished, presented in the Unix time stamp format.
importTask_importDeletedTime :: Lens' ImportTask (Maybe UTCTime) Source #
The time that the import task request was deleted, presented in the Unix time stamp format.
importTask_importRequestTime :: Lens' ImportTask (Maybe UTCTime) Source #
The time that the import task request was made, presented in the Unix time stamp format.
importTask_importTaskId :: Lens' ImportTask (Maybe Text) Source #
The unique ID for a specific import task. These IDs aren't globally unique, but they are unique within an Amazon Web Services account.
importTask_importUrl :: Lens' ImportTask (Maybe Text) Source #
The URL for your import file that you've uploaded to Amazon S3.
importTask_name :: Lens' ImportTask (Maybe Text) Source #
A descriptive name for an import task. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.
importTask_serverImportFailure :: Lens' ImportTask (Maybe Int) Source #
The total number of server records in the import file that failed to be imported.
importTask_serverImportSuccess :: Lens' ImportTask (Maybe Int) Source #
The total number of server records in the import file that were successfully imported.
importTask_status :: Lens' ImportTask (Maybe ImportStatus) Source #
The status of the import task. An import can have the status of
IMPORT_COMPLETE
and still have some records fail to import from the
overall request. More information can be found in the downloadable
archive defined in the errorsAndFailedEntriesZip
field, or in the
Migration Hub management console.