AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.ApplicationDiscoveryService.Model.ImportTask

Namespace: Amazon.ApplicationDiscoveryService.Model
Assembly: AWSSDK.ApplicationDiscoveryService.dll
Version: 3.x.y.z

Syntax

C#
public class ImportTask

The ImportTask type exposes the following members

Constructors

NameDescription
Public Method ImportTask()

Properties

NameTypeDescription
Public Property ApplicationImportFailure System.Int32

Gets and sets the property ApplicationImportFailure.

The total number of application records in the import file that failed to be imported.

Public Property ApplicationImportSuccess System.Int32

Gets and sets the property ApplicationImportSuccess.

The total number of application records in the import file that were successfully imported.

Public Property ClientRequestToken System.String

Gets and sets the property 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.

Public Property ErrorsAndFailedEntriesZip System.String

Gets and sets the property 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.

Public Property ImportCompletionTime System.DateTime

Gets and sets the property ImportCompletionTime.

The time that the import task request finished, presented in the Unix time stamp format.

Public Property ImportDeletedTime System.DateTime

Gets and sets the property ImportDeletedTime.

The time that the import task request was deleted, presented in the Unix time stamp format.

Public Property ImportRequestTime System.DateTime

Gets and sets the property ImportRequestTime.

The time that the import task request was made, presented in the Unix time stamp format.

Public Property ImportTaskId System.String

Gets and sets the property 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.

Public Property ImportUrl System.String

Gets and sets the property ImportUrl.

The URL for your import file that you've uploaded to Amazon S3.

Public Property Name System.String

Gets and sets the property 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.

Public Property ServerImportFailure System.Int32

Gets and sets the property ServerImportFailure.

The total number of server records in the import file that failed to be imported.

Public Property ServerImportSuccess System.Int32

Gets and sets the property ServerImportSuccess.

The total number of server records in the import file that were successfully imported.

Public Property Status Amazon.ApplicationDiscoveryService.ImportStatus

Gets and sets the property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5