Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes available AWS services in a prefix list format, which includes the prefix list name and prefix list ID of the service and the IP address range for the service. A prefix list ID is required for creating an outbound security group rule that allows traffic from a VPC to access an AWS service through a VPC endpoint.
- describePrefixLists :: DescribePrefixLists
- data DescribePrefixLists
- dplFilters :: Lens' DescribePrefixLists [Filter]
- dplPrefixListIds :: Lens' DescribePrefixLists [Text]
- dplNextToken :: Lens' DescribePrefixLists (Maybe Text)
- dplDryRun :: Lens' DescribePrefixLists (Maybe Bool)
- dplMaxResults :: Lens' DescribePrefixLists (Maybe Int)
- describePrefixListsResponse :: Int -> DescribePrefixListsResponse
- data DescribePrefixListsResponse
- dplrsNextToken :: Lens' DescribePrefixListsResponse (Maybe Text)
- dplrsPrefixLists :: Lens' DescribePrefixListsResponse [PrefixList]
- dplrsResponseStatus :: Lens' DescribePrefixListsResponse Int
Creating a Request
describePrefixLists :: DescribePrefixLists Source #
Creates a value of DescribePrefixLists
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribePrefixLists Source #
Contains the parameters for DescribePrefixLists.
See: describePrefixLists
smart constructor.
Request Lenses
dplFilters :: Lens' DescribePrefixLists [Filter] Source #
One or more filters.
- 'prefix-list-id': The ID of a prefix list.
- 'prefix-list-name': The name of a prefix list.
dplPrefixListIds :: Lens' DescribePrefixLists [Text] Source #
One or more prefix list IDs.
dplNextToken :: Lens' DescribePrefixLists (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a prior call.)
dplDryRun :: Lens' DescribePrefixLists (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
dplMaxResults :: Lens' DescribePrefixLists (Maybe Int) Source #
The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value specified is greater than 1000, we return only 1000 items.
Destructuring the Response
describePrefixListsResponse Source #
Creates a value of DescribePrefixListsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribePrefixListsResponse Source #
Contains the output of DescribePrefixLists.
See: describePrefixListsResponse
smart constructor.
Response Lenses
dplrsNextToken :: Lens' DescribePrefixListsResponse (Maybe Text) Source #
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
dplrsPrefixLists :: Lens' DescribePrefixListsResponse [PrefixList] Source #
All available prefix lists.
dplrsResponseStatus :: Lens' DescribePrefixListsResponse Int Source #
The response status code.