describe_network_interface_permissions
async
¶
describe_network_interface_permissions(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
network_interface_permission_ids: Optional[NetworkInterfacePermissionIdList] = None,
filters: Optional[FilterList] = None,
next_token: Optional[String] = None,
max_results: Optional[DescribeNetworkInterfacePermissionsMaxResults] = None,
) -> DescribeNetworkInterfacePermissionsResult
Describes the permissions for your network interfaces.
Parameters:
-
network_interface_permission_ids(Optional[NetworkInterfacePermissionIdList], default:None) –The network interface permission IDs.
-
filters(Optional[FilterList], default: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).
-
-
next_token(Optional[String], default:None) –The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
-
max_results(Optional[DescribeNetworkInterfacePermissionsMaxResults], default: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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
31112 31113 31114 31115 31116 31117 31118 31119 31120 31121 31122 31123 31124 31125 31126 31127 31128 31129 31130 31131 31132 31133 31134 31135 31136 31137 31138 31139 31140 31141 31142 31143 31144 31145 31146 31147 31148 31149 31150 31151 31152 31153 31154 31155 31156 31157 31158 31159 31160 31161 31162 31163 31164 31165 31166 31167 31168 31169 31170 31171 31172 31173 | |