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

Class: Aws::MigrationHub::Types::Task

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

Overview

Note:

When making an API call, you may pass Task data as a hash:

{
  status: "NOT_STARTED", # required, accepts NOT_STARTED, IN_PROGRESS, FAILED, COMPLETED
  status_detail: "StatusDetail",
  progress_percent: 1,
}

Task object encapsulating task information.

Instance Attribute Summary collapse

Instance Attribute Details

#progress_percentInteger

Indication of the percentage completion of the task.

Returns:

  • (Integer)


897
898
899
900
901
902
# File 'gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/types.rb', line 897

class Task < Struct.new(
  :status,
  :status_detail,
  :progress_percent)
  include Aws::Structure
end

#statusString

Status of the task - Not Started, In-Progress, Complete.

Returns:

  • (String)


897
898
899
900
901
902
# File 'gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/types.rb', line 897

class Task < Struct.new(
  :status,
  :status_detail,
  :progress_percent)
  include Aws::Structure
end

#status_detailString

Details of task status as notified by a migration tool. A tool might use this field to provide clarifying information about the status that is unique to that tool or that explains an error state.

Returns:

  • (String)


897
898
899
900
901
902
# File 'gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/types.rb', line 897

class Task < Struct.new(
  :status,
  :status_detail,
  :progress_percent)
  include Aws::Structure
end