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

Class: Aws::EC2::Types::CancelImportTaskResult

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

Overview

Contains the output for CancelImportTask.

Instance Attribute Summary collapse

Instance Attribute Details

#import_task_idString

The ID of the task being canceled.

Returns:

  • (String)


1690
1691
1692
1693
1694
1695
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1690

class CancelImportTaskResult < Struct.new(
  :import_task_id,
  :previous_state,
  :state)
  include Aws::Structure
end

#previous_stateString

The current state of the task being canceled.

Returns:

  • (String)


1690
1691
1692
1693
1694
1695
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1690

class CancelImportTaskResult < Struct.new(
  :import_task_id,
  :previous_state,
  :state)
  include Aws::Structure
end

#stateString

The current state of the task being canceled.

Returns:

  • (String)


1690
1691
1692
1693
1694
1695
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1690

class CancelImportTaskResult < Struct.new(
  :import_task_id,
  :previous_state,
  :state)
  include Aws::Structure
end