Skip to content

EC2  >  Operations  >  describe_network_interface_permissions

describe_network_interface_permissions

Operation

describe_network_interface_permissions async

describe_network_interface_permissions(request: DescribeNetworkInterfacePermissionsInput | DescribeNetworkInterfacePermissionsInputDict, /, *, plugins: list[Plugin] | None = None) -> DescribeNetworkInterfacePermissionsOutput
describe_network_interface_permissions(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DescribeNetworkInterfacePermissionsInputDict]) -> DescribeNetworkInterfacePermissionsOutput

Describes the permissions for your network interfaces.

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
DescribeNetworkInterfacePermissionsOutput

An instance of DescribeNetworkInterfacePermissionsOutput.

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

DescribeNetworkInterfacePermissionsInput dataclass

Bases: _SerdeShape

Contains the parameters for DescribeNetworkInterfacePermissions.

Attributes
filters class-attribute instance-attribute
filters: list[Filter] | None = ...

One or more filters.

  • network-interface-permission.network-interface-permission-id - The ID of the permission.

  • network-interface-permission.network-interface-id - The ID of the network interface.

  • network-interface-permission.aws-account-id - The Amazon Web Services account ID.

  • network-interface-permission.aws-service - The Amazon Web Services service.

  • network-interface-permission.permission - The type of permission (INSTANCE-ATTACH | EIP-ASSOCIATE).

max_results class-attribute instance-attribute
max_results: int | None = ...

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. If this parameter is not specified, up to 50 results are returned by default. For more information, see Pagination.

network_interface_permission_ids class-attribute instance-attribute
network_interface_permission_ids: list[str] | None = ...

The network interface permission IDs.

next_token class-attribute instance-attribute
next_token: str | None = ...

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

Dictionaries

DescribeNetworkInterfacePermissionsInputDict

Bases: TypedDict

Dictionary form of DescribeNetworkInterfacePermissionsInput.

Attributes
filters instance-attribute
filters: Sequence[Filter | FilterDict] | None

One or more filters.

  • network-interface-permission.network-interface-permission-id - The ID of the permission.

  • network-interface-permission.network-interface-id - The ID of the network interface.

  • network-interface-permission.aws-account-id - The Amazon Web Services account ID.

  • network-interface-permission.aws-service - The Amazon Web Services service.

  • network-interface-permission.permission - The type of permission (INSTANCE-ATTACH | EIP-ASSOCIATE).

max_results instance-attribute
max_results: int | None

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. If this parameter is not specified, up to 50 results are returned by default. For more information, see Pagination.

network_interface_permission_ids instance-attribute
network_interface_permission_ids: Sequence[str] | None

The network interface permission IDs.

next_token instance-attribute
next_token: str | None

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

Output

DescribeNetworkInterfacePermissionsOutput dataclass

Bases: _SerdeShape

Contains the output for DescribeNetworkInterfacePermissions.

Attributes

network_interface_permissions class-attribute instance-attribute
network_interface_permissions: list[NetworkInterfacePermission] | None = ...

The network interface permissions.

next_token class-attribute instance-attribute
next_token: str | None = ...

The token to include in another request to get the next page of items. This value is null when there are no more items to return.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

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.