Class: Aws::EC2::Types::CancelConversionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CancelConversionRequest
- 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
-
#conversion_task_id ⇒ String
The ID of the conversion task.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#reason_message ⇒ String
The reason for canceling the conversion task.
Instance Attribute Details
#conversion_task_id ⇒ String
The ID of the conversion task.
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_run ⇒ Boolean
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`.
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_message ⇒ String
The reason for canceling the conversion task.
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 |