Class: Aws::EC2::Types::DescribeVolumesModificationsRequest

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

{
  dry_run: false,
  volume_ids: ["VolumeId"],
  filters: [
    {
      name: "String",
      values: ["String"],
    },
  ],
  next_token: "String",
  max_results: 1,
}

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)


21324
21325
21326
21327
21328
21329
21330
21331
21332
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21324

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

#filtersArray<Types::Filter>

The filters.

  • modification-state - The current modification state (modifying | optimizing | completed | failed).

  • original-iops - The original IOPS rate of the volume.

  • original-size - The original size of the volume, in GiB.

  • original-volume-type - The original volume type of the volume (standard | io1 | gp2 | sc1 | st1).

  • originalMultiAttachEnabled - Indicates whether Multi-Attach support was enabled (true | false).

  • start-time - The modification start time.

  • target-iops - The target IOPS rate of the volume.

  • target-size - The target size of the volume, in GiB.

  • target-volume-type - The target volume type of the volume (standard | io1 | gp2 | sc1 | st1).

  • targetMultiAttachEnabled - Indicates whether Multi-Attach support is to be enabled (true | false).

  • volume-id - The ID of the volume.

Returns:



21324
21325
21326
21327
21328
21329
21330
21331
21332
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21324

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

#max_resultsInteger

The maximum number of results (up to a limit of 500) to be returned in a paginated request.

Returns:

  • (Integer)


21324
21325
21326
21327
21328
21329
21330
21331
21332
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21324

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

#next_tokenString

The nextToken value returned by a previous paginated request.

Returns:

  • (String)


21324
21325
21326
21327
21328
21329
21330
21331
21332
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21324

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

#volume_idsArray<String>

The IDs of the volumes.

Returns:

  • (Array<String>)


21324
21325
21326
21327
21328
21329
21330
21331
21332
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21324

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