Skip to content

describe_network_interface_permissions

Operation

describe_network_interface_permissions

Describes the permissions for your network interfaces.

Parameters:

Name Type Description Default
request DescribeNetworkInterfacePermissionsInput | DescribeNetworkInterfacePermissionsInputDict | 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[DescribeNetworkInterfacePermissionsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DescribeNetworkInterfacePermissionsOutput

An instance of DescribeNetworkInterfacePermissionsOutput.

describe_network_interface_permissions async

Describes the permissions for your network interfaces.

Parameters:

Name Type Description Default
request DescribeNetworkInterfacePermissionsInput | DescribeNetworkInterfacePermissionsInputDict | 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[DescribeNetworkInterfacePermissionsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DescribeNetworkInterfacePermissionsOutput

An instance of DescribeNetworkInterfacePermissionsOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

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.

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.

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.