Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the permissions for your network interfaces.
Synopsis
- describeNetworkInterfacePermissions :: DescribeNetworkInterfacePermissions
- data DescribeNetworkInterfacePermissions
- dnipFilters :: Lens' DescribeNetworkInterfacePermissions [Filter]
- dnipNextToken :: Lens' DescribeNetworkInterfacePermissions (Maybe Text)
- dnipNetworkInterfacePermissionIds :: Lens' DescribeNetworkInterfacePermissions [Text]
- dnipMaxResults :: Lens' DescribeNetworkInterfacePermissions (Maybe Int)
- describeNetworkInterfacePermissionsResponse :: Int -> DescribeNetworkInterfacePermissionsResponse
- data DescribeNetworkInterfacePermissionsResponse
- dnipsrsNetworkInterfacePermissions :: Lens' DescribeNetworkInterfacePermissionsResponse [NetworkInterfacePermission]
- dnipsrsNextToken :: Lens' DescribeNetworkInterfacePermissionsResponse (Maybe Text)
- dnipsrsResponseStatus :: Lens' DescribeNetworkInterfacePermissionsResponse Int
Creating a Request
describeNetworkInterfacePermissions :: DescribeNetworkInterfacePermissions Source #
Creates a value of DescribeNetworkInterfacePermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dnipFilters
- 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 AWS account ID. *network-interface-permission.aws-service
- The AWS service. *network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
|EIP-ASSOCIATE
).dnipNextToken
- The token to request the next page of results.dnipNetworkInterfacePermissionIds
- One or more network interface permission IDs.dnipMaxResults
- The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returnedNextToken
value. If this parameter is not specified, up to 50 results are returned by default.
data DescribeNetworkInterfacePermissions Source #
Contains the parameters for DescribeNetworkInterfacePermissions.
See: describeNetworkInterfacePermissions
smart constructor.
Instances
Request Lenses
dnipFilters :: Lens' DescribeNetworkInterfacePermissions [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 AWS account ID. * network-interface-permission.aws-service
- The AWS service. * network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
| EIP-ASSOCIATE
).
dnipNextToken :: Lens' DescribeNetworkInterfacePermissions (Maybe Text) Source #
The token to request the next page of results.
dnipNetworkInterfacePermissionIds :: Lens' DescribeNetworkInterfacePermissions [Text] Source #
One or more network interface permission IDs.
dnipMaxResults :: Lens' DescribeNetworkInterfacePermissions (Maybe Int) 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.
Destructuring the Response
describeNetworkInterfacePermissionsResponse Source #
Creates a value of DescribeNetworkInterfacePermissionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dnipsrsNetworkInterfacePermissions
- The network interface permissions.dnipsrsNextToken
- The token to use to retrieve the next page of results.dnipsrsResponseStatus
- -- | The response status code.
data DescribeNetworkInterfacePermissionsResponse Source #
Contains the output for DescribeNetworkInterfacePermissions.
See: describeNetworkInterfacePermissionsResponse
smart constructor.
Instances
Response Lenses
dnipsrsNetworkInterfacePermissions :: Lens' DescribeNetworkInterfacePermissionsResponse [NetworkInterfacePermission] Source #
The network interface permissions.
dnipsrsNextToken :: Lens' DescribeNetworkInterfacePermissionsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results.
dnipsrsResponseStatus :: Lens' DescribeNetworkInterfacePermissionsResponse Int Source #
- - | The response status code.