paws.compute (version 0.1.0)

ec2_describe_volume_attribute: Describes the specified attribute of the specified volume

Description

Describes the specified attribute of the specified volume. You can specify only one attribute at a time.

Usage

ec2_describe_volume_attribute(Attribute, VolumeId, DryRun)

Arguments

Attribute

[required] The attribute of the volume. This parameter is required.

VolumeId

[required] The ID of the volume.

DryRun

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.

Request syntax

svc$describe_volume_attribute(
  Attribute = "autoEnableIO"|"productCodes",
  VolumeId = "string",
  DryRun = TRUE|FALSE
)

Details

For more information about EBS volumes, see Amazon EBS Volumes in the Amazon Elastic Compute Cloud User Guide.

Examples

Run this code
# NOT RUN {
# This example describes the ``autoEnableIo`` attribute of the volume with
# the ID ``vol-049df61146c4d7901``.
# }
# NOT RUN {
svc$describe_volume_attribute(
  Attribute = "autoEnableIO",
  VolumeId = "vol-049df61146c4d7901"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace