describe_network_interface_attribute¶
Operation¶
describe_network_interface_attribute
async
¶
describe_network_interface_attribute(request: DescribeNetworkInterfaceAttributeInput | DescribeNetworkInterfaceAttributeInputDict, /, *, plugins: list[Plugin] | None = None) -> DescribeNetworkInterfaceAttributeOutput
describe_network_interface_attribute(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DescribeNetworkInterfaceAttributeInputDict]) -> DescribeNetworkInterfaceAttributeOutput
Describes a network interface attribute. You can specify only one attribute at a time.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
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 |
|---|---|
DescribeNetworkInterfaceAttributeOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
DescribeNetworkInterfaceAttributeInput
dataclass
¶
Bases: _SerdeShape
Contains the parameters for DescribeNetworkInterfaceAttribute.
Attributes¶
attribute
class-attribute
instance-attribute
¶
attribute: str | None = ...
The attribute of the network interface. 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.
Dictionaries¶
DescribeNetworkInterfaceAttributeInputDict
¶
Bases: TypedDict
Dictionary form of DescribeNetworkInterfaceAttributeInput.
Attributes¶
attribute
instance-attribute
¶
attribute: str | None
The attribute of the network interface. 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.
Output¶
DescribeNetworkInterfaceAttributeOutput
dataclass
¶
Bases: _SerdeShape
Contains the output of DescribeNetworkInterfaceAttribute.
Attributes¶
associate_public_ip_address
class-attribute
instance-attribute
¶
associate_public_ip_address: bool | None = ...
Indicates whether to assign a public IPv4 address to a network interface. This option can be enabled for any network interface but will only apply to the primary network interface (eth0).
attachment
class-attribute
instance-attribute
¶
attachment: NetworkInterfaceAttachment | None = ...
The attachment (if any) of the network interface.
description
class-attribute
instance-attribute
¶
description: AttributeValue | None = ...
The description of the network interface.
groups
class-attribute
instance-attribute
¶
groups: list[GroupIdentifier] | None = ...
The security groups associated with the network interface.
network_interface_id
class-attribute
instance-attribute
¶
network_interface_id: str | None = ...
The ID of the network interface.
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.
source_dest_check
class-attribute
instance-attribute
¶
source_dest_check: AttributeBooleanValue | None = ...
Indicates whether source/destination checking is enabled.