describe_network_interface_attribute¶
Operation¶
describe_network_interface_attribute
async
¶
describe_network_interface_attribute(input: DescribeNetworkInterfaceAttributeInput, plugins: list[Plugin] | None = None) -> DescribeNetworkInterfaceAttributeOutput
Describes a network interface attribute. You can specify only one attribute at a time.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DescribeNetworkInterfaceAttributeInput
|
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 |
|---|---|
DescribeNetworkInterfaceAttributeOutput
|
An instance of |
Input¶
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.
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
¶
The attachment (if any) of the network interface.
description
class-attribute
instance-attribute
¶
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
¶
Indicates whether source/destination checking is enabled.