Class: Aws::EC2::Types::CancelConversionRequest

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

Overview

Note:

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

{
  conversion_task_id: "String", # required
  dry_run: false,
  reason_message: "String",
}

Contains the parameters for CancelConversionTask.

Instance Attribute Summary collapse

Instance Attribute Details

#conversion_task_idString

The ID of the conversion task.

Returns:

  • (String)


2149
2150
2151
2152
2153
2154
# File 'lib/aws-sdk-ec2/types.rb', line 2149

class CancelConversionRequest < Struct.new(
  :conversion_task_id,
  :dry_run,
  :reason_message)
  include Aws::Structure
end

#dry_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ‘DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.

Returns:

  • (Boolean)


2149
2150
2151
2152
2153
2154
# File 'lib/aws-sdk-ec2/types.rb', line 2149

class CancelConversionRequest < Struct.new(
  :conversion_task_id,
  :dry_run,
  :reason_message)
  include Aws::Structure
end

#reason_messageString

The reason for canceling the conversion task.

Returns:

  • (String)


2149
2150
2151
2152
2153
2154
# File 'lib/aws-sdk-ec2/types.rb', line 2149

class CancelConversionRequest < Struct.new(
  :conversion_task_id,
  :dry_run,
  :reason_message)
  include Aws::Structure
end