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 |
Describes available Amazon Web Services 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.
We recommend that you use DescribeManagedPrefixLists instead.
This operation returns paginated results.
Synopsis
- data DescribePrefixLists = DescribePrefixLists' {}
- newDescribePrefixLists :: DescribePrefixLists
- describePrefixLists_dryRun :: Lens' DescribePrefixLists (Maybe Bool)
- describePrefixLists_filters :: Lens' DescribePrefixLists (Maybe [Filter])
- describePrefixLists_maxResults :: Lens' DescribePrefixLists (Maybe Int)
- describePrefixLists_nextToken :: Lens' DescribePrefixLists (Maybe Text)
- describePrefixLists_prefixListIds :: Lens' DescribePrefixLists (Maybe [Text])
- data DescribePrefixListsResponse = DescribePrefixListsResponse' {
- nextToken :: Maybe Text
- prefixLists :: Maybe [PrefixList]
- httpStatus :: Int
- newDescribePrefixListsResponse :: Int -> DescribePrefixListsResponse
- describePrefixListsResponse_nextToken :: Lens' DescribePrefixListsResponse (Maybe Text)
- describePrefixListsResponse_prefixLists :: Lens' DescribePrefixListsResponse (Maybe [PrefixList])
- describePrefixListsResponse_httpStatus :: Lens' DescribePrefixListsResponse Int
Creating a Request
data DescribePrefixLists Source #
See: newDescribePrefixLists
smart constructor.
DescribePrefixLists' | |
|
Instances
newDescribePrefixLists :: DescribePrefixLists Source #
Create a value of DescribePrefixLists
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:dryRun:DescribePrefixLists'
, describePrefixLists_dryRun
- 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
.
$sel:filters:DescribePrefixLists'
, describePrefixLists_filters
- One or more filters.
prefix-list-id
: The ID of a prefix list.prefix-list-name
: The name of a prefix list.
$sel:maxResults:DescribePrefixLists'
, describePrefixLists_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
DescribePrefixLists
, describePrefixLists_nextToken
- The token for the next page of results.
DescribePrefixLists
, describePrefixLists_prefixListIds
- One or more prefix list IDs.
Request Lenses
describePrefixLists_dryRun :: 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
.
describePrefixLists_filters :: Lens' DescribePrefixLists (Maybe [Filter]) Source #
One or more filters.
prefix-list-id
: The ID of a prefix list.prefix-list-name
: The name of a prefix list.
describePrefixLists_maxResults :: Lens' DescribePrefixLists (Maybe Int) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
describePrefixLists_nextToken :: Lens' DescribePrefixLists (Maybe Text) Source #
The token for the next page of results.
describePrefixLists_prefixListIds :: Lens' DescribePrefixLists (Maybe [Text]) Source #
One or more prefix list IDs.
Destructuring the Response
data DescribePrefixListsResponse Source #
See: newDescribePrefixListsResponse
smart constructor.
DescribePrefixListsResponse' | |
|
Instances
newDescribePrefixListsResponse Source #
Create a value of DescribePrefixListsResponse
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:
DescribePrefixLists
, describePrefixListsResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:prefixLists:DescribePrefixListsResponse'
, describePrefixListsResponse_prefixLists
- All available prefix lists.
$sel:httpStatus:DescribePrefixListsResponse'
, describePrefixListsResponse_httpStatus
- The response's http status code.
Response Lenses
describePrefixListsResponse_nextToken :: Lens' DescribePrefixListsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
describePrefixListsResponse_prefixLists :: Lens' DescribePrefixListsResponse (Maybe [PrefixList]) Source #
All available prefix lists.
describePrefixListsResponse_httpStatus :: Lens' DescribePrefixListsResponse Int Source #
The response's http status code.