ImportTask
¶
Source code in docs_src/capo_application_discovery_service/types/import_task.py
application_import_failure
instance-attribute
¶
application_import_failure: Integer
The total number of application records in the import file that failed to be imported.
application_import_success
instance-attribute
¶
application_import_success: Integer
The total number of application records in the import file that were successfully imported.
client_request_token
instance-attribute
¶
client_request_token: NotRequired[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.
errors_and_failed_entries_zip
instance-attribute
¶
errors_and_failed_entries_zip: NotRequired[S3PresignedUrl]
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.
file_classification
instance-attribute
¶
file_classification: NotRequired[FileClassification]
The type of file detected by the import task.
import_completion_time
instance-attribute
¶
import_completion_time: NotRequired[TimeStamp]
The time that the import task request finished, presented in the Unix time stamp format.
import_deleted_time
instance-attribute
¶
import_deleted_time: NotRequired[TimeStamp]
The time that the import task request was deleted, presented in the Unix time stamp format.
import_request_time
instance-attribute
¶
import_request_time: NotRequired[TimeStamp]
The time that the import task request was made, presented in the Unix time stamp format.
import_task_id
instance-attribute
¶
import_task_id: NotRequired[ImportTaskIdentifier]
The unique ID for a specific import task. These IDs aren't globally unique, but they are unique within an Amazon Web Services account.
import_url
instance-attribute
¶
import_url: NotRequired[ImportURL]
The URL for your import file that you've uploaded to Amazon S3.
name
instance-attribute
¶
name: NotRequired[ImportTaskName]
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.
server_import_failure
instance-attribute
¶
server_import_failure: Integer
The total number of server records in the import file that failed to be imported.
server_import_success
instance-attribute
¶
server_import_success: Integer
The total number of server records in the import file that were successfully imported.
status
instance-attribute
¶
status: NotRequired[ImportStatus]
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.