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 |
Gets information about the entries for a specified managed prefix list.
This operation returns paginated results.
Synopsis
- data GetManagedPrefixListEntries = GetManagedPrefixListEntries' {
- dryRun :: Maybe Bool
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- targetVersion :: Maybe Integer
- prefixListId :: Text
- newGetManagedPrefixListEntries :: Text -> GetManagedPrefixListEntries
- getManagedPrefixListEntries_dryRun :: Lens' GetManagedPrefixListEntries (Maybe Bool)
- getManagedPrefixListEntries_maxResults :: Lens' GetManagedPrefixListEntries (Maybe Natural)
- getManagedPrefixListEntries_nextToken :: Lens' GetManagedPrefixListEntries (Maybe Text)
- getManagedPrefixListEntries_targetVersion :: Lens' GetManagedPrefixListEntries (Maybe Integer)
- getManagedPrefixListEntries_prefixListId :: Lens' GetManagedPrefixListEntries Text
- data GetManagedPrefixListEntriesResponse = GetManagedPrefixListEntriesResponse' {
- entries :: Maybe [PrefixListEntry]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetManagedPrefixListEntriesResponse :: Int -> GetManagedPrefixListEntriesResponse
- getManagedPrefixListEntriesResponse_entries :: Lens' GetManagedPrefixListEntriesResponse (Maybe [PrefixListEntry])
- getManagedPrefixListEntriesResponse_nextToken :: Lens' GetManagedPrefixListEntriesResponse (Maybe Text)
- getManagedPrefixListEntriesResponse_httpStatus :: Lens' GetManagedPrefixListEntriesResponse Int
Creating a Request
data GetManagedPrefixListEntries Source #
See: newGetManagedPrefixListEntries
smart constructor.
GetManagedPrefixListEntries' | |
|
Instances
newGetManagedPrefixListEntries Source #
Create a value of GetManagedPrefixListEntries
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:GetManagedPrefixListEntries'
, getManagedPrefixListEntries_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:maxResults:GetManagedPrefixListEntries'
, getManagedPrefixListEntries_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.
GetManagedPrefixListEntries
, getManagedPrefixListEntries_nextToken
- The token for the next page of results.
$sel:targetVersion:GetManagedPrefixListEntries'
, getManagedPrefixListEntries_targetVersion
- The version of the prefix list for which to return the entries. The
default is the current version.
GetManagedPrefixListEntries
, getManagedPrefixListEntries_prefixListId
- The ID of the prefix list.
Request Lenses
getManagedPrefixListEntries_dryRun :: Lens' GetManagedPrefixListEntries (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
.
getManagedPrefixListEntries_maxResults :: Lens' GetManagedPrefixListEntries (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.
getManagedPrefixListEntries_nextToken :: Lens' GetManagedPrefixListEntries (Maybe Text) Source #
The token for the next page of results.
getManagedPrefixListEntries_targetVersion :: Lens' GetManagedPrefixListEntries (Maybe Integer) Source #
The version of the prefix list for which to return the entries. The default is the current version.
getManagedPrefixListEntries_prefixListId :: Lens' GetManagedPrefixListEntries Text Source #
The ID of the prefix list.
Destructuring the Response
data GetManagedPrefixListEntriesResponse Source #
See: newGetManagedPrefixListEntriesResponse
smart constructor.
GetManagedPrefixListEntriesResponse' | |
|
Instances
newGetManagedPrefixListEntriesResponse Source #
Create a value of GetManagedPrefixListEntriesResponse
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:
GetManagedPrefixListEntriesResponse
, getManagedPrefixListEntriesResponse_entries
- Information about the prefix list entries.
GetManagedPrefixListEntries
, getManagedPrefixListEntriesResponse_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:httpStatus:GetManagedPrefixListEntriesResponse'
, getManagedPrefixListEntriesResponse_httpStatus
- The response's http status code.
Response Lenses
getManagedPrefixListEntriesResponse_entries :: Lens' GetManagedPrefixListEntriesResponse (Maybe [PrefixListEntry]) Source #
Information about the prefix list entries.
getManagedPrefixListEntriesResponse_nextToken :: Lens' GetManagedPrefixListEntriesResponse (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.
getManagedPrefixListEntriesResponse_httpStatus :: Lens' GetManagedPrefixListEntriesResponse Int Source #
The response's http status code.