describe_volume_attribute¶
Operation¶
describe_volume_attribute
¶
describe_volume_attribute(request: DescribeVolumeAttributeInput | DescribeVolumeAttributeInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DescribeVolumeAttributeInputDict]) -> 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 |
|---|---|---|---|
request
|
DescribeVolumeAttributeInput | DescribeVolumeAttributeInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[DescribeVolumeAttributeInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DescribeVolumeAttributeOutput
|
An instance of |
describe_volume_attribute
async
¶
describe_volume_attribute(request: DescribeVolumeAttributeInput | DescribeVolumeAttributeInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DescribeVolumeAttributeInputDict]) -> 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 |
|---|---|---|---|
request
|
DescribeVolumeAttributeInput | DescribeVolumeAttributeInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[DescribeVolumeAttributeInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DescribeVolumeAttributeOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
DescribeVolumeAttributeInputDict
¶
Bases: TypedDict
Dictionary form of DescribeVolumeAttributeInput.
Attributes¶
attribute
instance-attribute
¶
The attribute of the volume. This parameter is required.
dry_run
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.
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
¶
auto_enable_io: AttributeBooleanValue | None = ...
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.