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

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

Overview

Note:

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#conversion_task_idString

The ID of the conversion task.

Returns:

  • (String)


2587
2588
2589
2590
2591
2592
2593
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2587

class CancelConversionRequest < Struct.new(
  :conversion_task_id,
  :dry_run,
  :reason_message)
  SENSITIVE = []
  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)


2587
2588
2589
2590
2591
2592
2593
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2587

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

#reason_messageString

The reason for canceling the conversion task.

Returns:

  • (String)


2587
2588
2589
2590
2591
2592
2593
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2587

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