Class: Aws::EC2::Types::DescribeReplaceRootVolumeTasksRequest

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 DescribeReplaceRootVolumeTasksRequest data as a hash:

{
  replace_root_volume_task_ids: ["ReplaceRootVolumeTaskId"],
  filters: [
    {
      name: "String",
      values: ["String"],
    },
  ],
  max_results: 1,
  next_token: "NextToken",
  dry_run: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#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)


24218
24219
24220
24221
24222
24223
24224
24225
24226
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24218

class DescribeReplaceRootVolumeTasksRequest < Struct.new(
  :replace_root_volume_task_ids,
  :filters,
  :max_results,
  :next_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#filtersArray<Types::Filter>

Filter to use:

  • instance-id - The ID of the instance for which the root volume replacement task was created.

^

Returns:



24218
24219
24220
24221
24222
24223
24224
24225
24226
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24218

class DescribeReplaceRootVolumeTasksRequest < Struct.new(
  :replace_root_volume_task_ids,
  :filters,
  :max_results,
  :next_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Returns:

  • (Integer)


24218
24219
24220
24221
24222
24223
24224
24225
24226
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24218

class DescribeReplaceRootVolumeTasksRequest < Struct.new(
  :replace_root_volume_task_ids,
  :filters,
  :max_results,
  :next_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token for the next page of results.

Returns:

  • (String)


24218
24219
24220
24221
24222
24223
24224
24225
24226
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24218

class DescribeReplaceRootVolumeTasksRequest < Struct.new(
  :replace_root_volume_task_ids,
  :filters,
  :max_results,
  :next_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#replace_root_volume_task_idsArray<String>

The ID of the root volume replacement task to view.

Returns:

  • (Array<String>)


24218
24219
24220
24221
24222
24223
24224
24225
24226
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24218

class DescribeReplaceRootVolumeTasksRequest < Struct.new(
  :replace_root_volume_task_ids,
  :filters,
  :max_results,
  :next_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end