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.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribePrefixLists.html
- data DescribePrefixLists
- describePrefixLists :: DescribePrefixLists
- dplDryRun :: Lens' DescribePrefixLists (Maybe Bool)
- dplFilters :: Lens' DescribePrefixLists [Filter]
- dplMaxResults :: Lens' DescribePrefixLists (Maybe Int)
- dplNextToken :: Lens' DescribePrefixLists (Maybe Text)
- dplPrefixListIds :: Lens' DescribePrefixLists [Text]
- data DescribePrefixListsResponse
- describePrefixListsResponse :: DescribePrefixListsResponse
- dplrNextToken :: Lens' DescribePrefixListsResponse (Maybe Text)
- dplrPrefixLists :: Lens' DescribePrefixListsResponse [PrefixList]
Request
Request constructor
describePrefixLists :: DescribePrefixLists Source
DescribePrefixLists
constructor.
The fields accessible through corresponding lenses are:
dplDryRun
::
Maybe
Bool
dplFilters
::
[Filter
]dplMaxResults
::
Maybe
Int
dplNextToken
::
Maybe
Text
dplPrefixListIds
::
[Text
]
Request lenses
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
.
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.
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.
dplNextToken :: Lens' DescribePrefixLists (Maybe Text) Source
The token for the next set of items to return. (You received this token from a prior call.)
dplPrefixListIds :: Lens' DescribePrefixLists [Text] Source
One or more prefix list IDs.
Response
Response constructor
describePrefixListsResponse :: DescribePrefixListsResponse Source
DescribePrefixListsResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
dplrNextToken :: 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.
dplrPrefixLists :: Lens' DescribePrefixListsResponse [PrefixList] Source
All available prefix lists.