| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.DescribeNetworkInterfacePermissions
Description
Describes the permissions for your network interfaces.
This operation returns paginated results.
Synopsis
- data DescribeNetworkInterfacePermissions = DescribeNetworkInterfacePermissions' {}
- newDescribeNetworkInterfacePermissions :: DescribeNetworkInterfacePermissions
- describeNetworkInterfacePermissions_filters :: Lens' DescribeNetworkInterfacePermissions (Maybe [Filter])
- describeNetworkInterfacePermissions_maxResults :: Lens' DescribeNetworkInterfacePermissions (Maybe Natural)
- describeNetworkInterfacePermissions_networkInterfacePermissionIds :: Lens' DescribeNetworkInterfacePermissions (Maybe [Text])
- describeNetworkInterfacePermissions_nextToken :: Lens' DescribeNetworkInterfacePermissions (Maybe Text)
- data DescribeNetworkInterfacePermissionsResponse = DescribeNetworkInterfacePermissionsResponse' {}
- newDescribeNetworkInterfacePermissionsResponse :: Int -> DescribeNetworkInterfacePermissionsResponse
- describeNetworkInterfacePermissionsResponse_networkInterfacePermissions :: Lens' DescribeNetworkInterfacePermissionsResponse (Maybe [NetworkInterfacePermission])
- describeNetworkInterfacePermissionsResponse_nextToken :: Lens' DescribeNetworkInterfacePermissionsResponse (Maybe Text)
- describeNetworkInterfacePermissionsResponse_httpStatus :: Lens' DescribeNetworkInterfacePermissionsResponse Int
Creating a Request
data DescribeNetworkInterfacePermissions Source #
Contains the parameters for DescribeNetworkInterfacePermissions.
See: newDescribeNetworkInterfacePermissions smart constructor.
Constructors
| DescribeNetworkInterfacePermissions' | |
Fields
| |
Instances
newDescribeNetworkInterfacePermissions :: DescribeNetworkInterfacePermissions Source #
Create a value of DescribeNetworkInterfacePermissions with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filters:DescribeNetworkInterfacePermissions', describeNetworkInterfacePermissions_filters - 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 Service.network-interface-permission.permission- The type of permission (INSTANCE-ATTACH|EIP-ASSOCIATE).
$sel:maxResults:DescribeNetworkInterfacePermissions', describeNetworkInterfacePermissions_maxResults - The maximum number of results to return in a single call. To retrieve
the remaining results, make another call with the returned NextToken
value. If this parameter is not specified, up to 50 results are returned
by default.
$sel:networkInterfacePermissionIds:DescribeNetworkInterfacePermissions', describeNetworkInterfacePermissions_networkInterfacePermissionIds - The network interface permission IDs.
DescribeNetworkInterfacePermissions, describeNetworkInterfacePermissions_nextToken - The token to request the next page of results.
Request Lenses
describeNetworkInterfacePermissions_filters :: Lens' DescribeNetworkInterfacePermissions (Maybe [Filter]) Source #
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 Service.network-interface-permission.permission- The type of permission (INSTANCE-ATTACH|EIP-ASSOCIATE).
describeNetworkInterfacePermissions_maxResults :: Lens' DescribeNetworkInterfacePermissions (Maybe Natural) Source #
The maximum number of results to return in a single call. To retrieve
the remaining results, make another call with the returned NextToken
value. If this parameter is not specified, up to 50 results are returned
by default.
describeNetworkInterfacePermissions_networkInterfacePermissionIds :: Lens' DescribeNetworkInterfacePermissions (Maybe [Text]) Source #
The network interface permission IDs.
describeNetworkInterfacePermissions_nextToken :: Lens' DescribeNetworkInterfacePermissions (Maybe Text) Source #
The token to request the next page of results.
Destructuring the Response
data DescribeNetworkInterfacePermissionsResponse Source #
Contains the output for DescribeNetworkInterfacePermissions.
See: newDescribeNetworkInterfacePermissionsResponse smart constructor.
Constructors
| DescribeNetworkInterfacePermissionsResponse' | |
Fields
| |
Instances
newDescribeNetworkInterfacePermissionsResponse Source #
Arguments
| :: Int |
|
| -> DescribeNetworkInterfacePermissionsResponse |
Create a value of DescribeNetworkInterfacePermissionsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:networkInterfacePermissions:DescribeNetworkInterfacePermissionsResponse', describeNetworkInterfacePermissionsResponse_networkInterfacePermissions - The network interface permissions.
DescribeNetworkInterfacePermissions, describeNetworkInterfacePermissionsResponse_nextToken - The token to use to retrieve the next page of results.
$sel:httpStatus:DescribeNetworkInterfacePermissionsResponse', describeNetworkInterfacePermissionsResponse_httpStatus - The response's http status code.
Response Lenses
describeNetworkInterfacePermissionsResponse_networkInterfacePermissions :: Lens' DescribeNetworkInterfacePermissionsResponse (Maybe [NetworkInterfacePermission]) Source #
The network interface permissions.
describeNetworkInterfacePermissionsResponse_nextToken :: Lens' DescribeNetworkInterfacePermissionsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results.
describeNetworkInterfacePermissionsResponse_httpStatus :: Lens' DescribeNetworkInterfacePermissionsResponse Int Source #
The response's http status code.