You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ApplicationDiscoveryService::Types::ImportTask

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#application_import_failureInteger

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

Returns:

  • (Integer)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1224

class ImportTask < Struct.new(
  :import_task_id,
  :client_request_token,
  :name,
  :import_url,
  :status,
  :import_request_time,
  :import_completion_time,
  :import_deleted_time,
  :server_import_success,
  :server_import_failure,
  :application_import_success,
  :application_import_failure,
  :errors_and_failed_entries_zip)
  include Aws::Structure
end

#application_import_successInteger

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

Returns:

  • (Integer)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1224

class ImportTask < Struct.new(
  :import_task_id,
  :client_request_token,
  :name,
  :import_url,
  :status,
  :import_request_time,
  :import_completion_time,
  :import_deleted_time,
  :server_import_success,
  :server_import_failure,
  :application_import_success,
  :application_import_failure,
  :errors_and_failed_entries_zip)
  include Aws::Structure
end

#client_request_tokenString

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.

Returns:

  • (String)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1224

class ImportTask < Struct.new(
  :import_task_id,
  :client_request_token,
  :name,
  :import_url,
  :status,
  :import_request_time,
  :import_completion_time,
  :import_deleted_time,
  :server_import_success,
  :server_import_failure,
  :application_import_success,
  :application_import_failure,
  :errors_and_failed_entries_zip)
  include Aws::Structure
end

#errors_and_failed_entries_zipString

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.

Returns:

  • (String)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1224

class ImportTask < Struct.new(
  :import_task_id,
  :client_request_token,
  :name,
  :import_url,
  :status,
  :import_request_time,
  :import_completion_time,
  :import_deleted_time,
  :server_import_success,
  :server_import_failure,
  :application_import_success,
  :application_import_failure,
  :errors_and_failed_entries_zip)
  include Aws::Structure
end

#import_completion_timeTime

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

Returns:

  • (Time)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1224

class ImportTask < Struct.new(
  :import_task_id,
  :client_request_token,
  :name,
  :import_url,
  :status,
  :import_request_time,
  :import_completion_time,
  :import_deleted_time,
  :server_import_success,
  :server_import_failure,
  :application_import_success,
  :application_import_failure,
  :errors_and_failed_entries_zip)
  include Aws::Structure
end

#import_deleted_timeTime

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

Returns:

  • (Time)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1224

class ImportTask < Struct.new(
  :import_task_id,
  :client_request_token,
  :name,
  :import_url,
  :status,
  :import_request_time,
  :import_completion_time,
  :import_deleted_time,
  :server_import_success,
  :server_import_failure,
  :application_import_success,
  :application_import_failure,
  :errors_and_failed_entries_zip)
  include Aws::Structure
end

#import_request_timeTime

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

Returns:

  • (Time)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1224

class ImportTask < Struct.new(
  :import_task_id,
  :client_request_token,
  :name,
  :import_url,
  :status,
  :import_request_time,
  :import_completion_time,
  :import_deleted_time,
  :server_import_success,
  :server_import_failure,
  :application_import_success,
  :application_import_failure,
  :errors_and_failed_entries_zip)
  include Aws::Structure
end

#import_task_idString

The unique ID for a specific import task. These IDs aren't globally unique, but they are unique within an AWS account.

Returns:

  • (String)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1224

class ImportTask < Struct.new(
  :import_task_id,
  :client_request_token,
  :name,
  :import_url,
  :status,
  :import_request_time,
  :import_completion_time,
  :import_deleted_time,
  :server_import_success,
  :server_import_failure,
  :application_import_success,
  :application_import_failure,
  :errors_and_failed_entries_zip)
  include Aws::Structure
end

#import_urlString

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

Returns:

  • (String)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1224

class ImportTask < Struct.new(
  :import_task_id,
  :client_request_token,
  :name,
  :import_url,
  :status,
  :import_request_time,
  :import_completion_time,
  :import_deleted_time,
  :server_import_success,
  :server_import_failure,
  :application_import_success,
  :application_import_failure,
  :errors_and_failed_entries_zip)
  include Aws::Structure
end

#nameString

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.

Returns:

  • (String)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1224

class ImportTask < Struct.new(
  :import_task_id,
  :client_request_token,
  :name,
  :import_url,
  :status,
  :import_request_time,
  :import_completion_time,
  :import_deleted_time,
  :server_import_success,
  :server_import_failure,
  :application_import_success,
  :application_import_failure,
  :errors_and_failed_entries_zip)
  include Aws::Structure
end

#server_import_failureInteger

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

Returns:

  • (Integer)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1224

class ImportTask < Struct.new(
  :import_task_id,
  :client_request_token,
  :name,
  :import_url,
  :status,
  :import_request_time,
  :import_completion_time,
  :import_deleted_time,
  :server_import_success,
  :server_import_failure,
  :application_import_success,
  :application_import_failure,
  :errors_and_failed_entries_zip)
  include Aws::Structure
end

#server_import_successInteger

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

Returns:

  • (Integer)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1224

class ImportTask < Struct.new(
  :import_task_id,
  :client_request_token,
  :name,
  :import_url,
  :status,
  :import_request_time,
  :import_completion_time,
  :import_deleted_time,
  :server_import_success,
  :server_import_failure,
  :application_import_success,
  :application_import_failure,
  :errors_and_failed_entries_zip)
  include Aws::Structure
end

#statusString

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.

Returns:

  • (String)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1224

class ImportTask < Struct.new(
  :import_task_id,
  :client_request_token,
  :name,
  :import_url,
  :status,
  :import_request_time,
  :import_completion_time,
  :import_deleted_time,
  :server_import_success,
  :server_import_failure,
  :application_import_success,
  :application_import_failure,
  :errors_and_failed_entries_zip)
  include Aws::Structure
end