describe_volume_attribute¶
Operation¶
describe_volume_attribute
async
¶
describe_volume_attribute(input: DescribeVolumeAttributeInput, plugins: list[Plugin] | None = None) -> DescribeVolumeAttributeOutput
Describes the specified attribute of the specified volume. You can specify only one attribute at a time.
For more information about EBS volumes, see Amazon EBS volumes in the Amazon EBS User Guide.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DescribeVolumeAttributeInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
DescribeVolumeAttributeOutput
|
An instance of |
Input¶
DescribeVolumeAttributeInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DescribeVolumeAttributeInput structure.
Attributes¶
attribute
class-attribute
instance-attribute
¶
attribute: str | None = ...
The attribute of the volume. This parameter is required.
dry_run
class-attribute
instance-attribute
¶
dry_run: bool | None = ...
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.
Output¶
DescribeVolumeAttributeOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DescribeVolumeAttributeOutput structure.
Attributes¶
auto_enable_io
class-attribute
instance-attribute
¶
The state of autoEnableIO attribute.
product_codes
class-attribute
instance-attribute
¶
product_codes: list[ProductCode] | None = ...
A list of product codes.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.