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 your managed prefix lists and any Amazon Web Services-managed prefix lists.
To view the entries for your prefix list, use GetManagedPrefixListEntries.
This operation returns paginated results.
Synopsis
- data DescribeManagedPrefixLists = DescribeManagedPrefixLists' {}
- newDescribeManagedPrefixLists :: DescribeManagedPrefixLists
- describeManagedPrefixLists_dryRun :: Lens' DescribeManagedPrefixLists (Maybe Bool)
- describeManagedPrefixLists_filters :: Lens' DescribeManagedPrefixLists (Maybe [Filter])
- describeManagedPrefixLists_maxResults :: Lens' DescribeManagedPrefixLists (Maybe Natural)
- describeManagedPrefixLists_nextToken :: Lens' DescribeManagedPrefixLists (Maybe Text)
- describeManagedPrefixLists_prefixListIds :: Lens' DescribeManagedPrefixLists (Maybe [Text])
- data DescribeManagedPrefixListsResponse = DescribeManagedPrefixListsResponse' {
- nextToken :: Maybe Text
- prefixLists :: Maybe [ManagedPrefixList]
- httpStatus :: Int
- newDescribeManagedPrefixListsResponse :: Int -> DescribeManagedPrefixListsResponse
- describeManagedPrefixListsResponse_nextToken :: Lens' DescribeManagedPrefixListsResponse (Maybe Text)
- describeManagedPrefixListsResponse_prefixLists :: Lens' DescribeManagedPrefixListsResponse (Maybe [ManagedPrefixList])
- describeManagedPrefixListsResponse_httpStatus :: Lens' DescribeManagedPrefixListsResponse Int
Creating a Request
data DescribeManagedPrefixLists Source #
See: newDescribeManagedPrefixLists
smart constructor.
DescribeManagedPrefixLists' | |
|
Instances
newDescribeManagedPrefixLists :: DescribeManagedPrefixLists Source #
Create a value of DescribeManagedPrefixLists
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:DescribeManagedPrefixLists'
, describeManagedPrefixLists_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:DescribeManagedPrefixLists'
, describeManagedPrefixLists_filters
- One or more filters.
owner-id
- The ID of the prefix list owner.prefix-list-id
- The ID of the prefix list.prefix-list-name
- The name of the prefix list.
$sel:maxResults:DescribeManagedPrefixLists'
, describeManagedPrefixLists_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.
DescribeManagedPrefixLists
, describeManagedPrefixLists_nextToken
- The token for the next page of results.
DescribeManagedPrefixLists
, describeManagedPrefixLists_prefixListIds
- One or more prefix list IDs.
Request Lenses
describeManagedPrefixLists_dryRun :: Lens' DescribeManagedPrefixLists (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
.
describeManagedPrefixLists_filters :: Lens' DescribeManagedPrefixLists (Maybe [Filter]) Source #
One or more filters.
owner-id
- The ID of the prefix list owner.prefix-list-id
- The ID of the prefix list.prefix-list-name
- The name of the prefix list.
describeManagedPrefixLists_maxResults :: Lens' DescribeManagedPrefixLists (Maybe Natural) 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.
describeManagedPrefixLists_nextToken :: Lens' DescribeManagedPrefixLists (Maybe Text) Source #
The token for the next page of results.
describeManagedPrefixLists_prefixListIds :: Lens' DescribeManagedPrefixLists (Maybe [Text]) Source #
One or more prefix list IDs.
Destructuring the Response
data DescribeManagedPrefixListsResponse Source #
See: newDescribeManagedPrefixListsResponse
smart constructor.
DescribeManagedPrefixListsResponse' | |
|
Instances
newDescribeManagedPrefixListsResponse Source #
Create a value of DescribeManagedPrefixListsResponse
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:
DescribeManagedPrefixLists
, describeManagedPrefixListsResponse_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:DescribeManagedPrefixListsResponse'
, describeManagedPrefixListsResponse_prefixLists
- Information about the prefix lists.
$sel:httpStatus:DescribeManagedPrefixListsResponse'
, describeManagedPrefixListsResponse_httpStatus
- The response's http status code.
Response Lenses
describeManagedPrefixListsResponse_nextToken :: Lens' DescribeManagedPrefixListsResponse (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.
describeManagedPrefixListsResponse_prefixLists :: Lens' DescribeManagedPrefixListsResponse (Maybe [ManagedPrefixList]) Source #
Information about the prefix lists.
describeManagedPrefixListsResponse_httpStatus :: Lens' DescribeManagedPrefixListsResponse Int Source #
The response's http status code.