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 resources that are associated with the specified managed prefix list.
This operation returns paginated results.
Synopsis
- data GetManagedPrefixListAssociations = GetManagedPrefixListAssociations' {}
- newGetManagedPrefixListAssociations :: Text -> GetManagedPrefixListAssociations
- getManagedPrefixListAssociations_dryRun :: Lens' GetManagedPrefixListAssociations (Maybe Bool)
- getManagedPrefixListAssociations_maxResults :: Lens' GetManagedPrefixListAssociations (Maybe Natural)
- getManagedPrefixListAssociations_nextToken :: Lens' GetManagedPrefixListAssociations (Maybe Text)
- getManagedPrefixListAssociations_prefixListId :: Lens' GetManagedPrefixListAssociations Text
- data GetManagedPrefixListAssociationsResponse = GetManagedPrefixListAssociationsResponse' {}
- newGetManagedPrefixListAssociationsResponse :: Int -> GetManagedPrefixListAssociationsResponse
- getManagedPrefixListAssociationsResponse_nextToken :: Lens' GetManagedPrefixListAssociationsResponse (Maybe Text)
- getManagedPrefixListAssociationsResponse_prefixListAssociations :: Lens' GetManagedPrefixListAssociationsResponse (Maybe [PrefixListAssociation])
- getManagedPrefixListAssociationsResponse_httpStatus :: Lens' GetManagedPrefixListAssociationsResponse Int
Creating a Request
data GetManagedPrefixListAssociations Source #
See: newGetManagedPrefixListAssociations
smart constructor.
GetManagedPrefixListAssociations' | |
|
Instances
newGetManagedPrefixListAssociations Source #
Create a value of GetManagedPrefixListAssociations
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:GetManagedPrefixListAssociations'
, getManagedPrefixListAssociations_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:GetManagedPrefixListAssociations'
, getManagedPrefixListAssociations_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.
GetManagedPrefixListAssociations
, getManagedPrefixListAssociations_nextToken
- The token for the next page of results.
GetManagedPrefixListAssociations
, getManagedPrefixListAssociations_prefixListId
- The ID of the prefix list.
Request Lenses
getManagedPrefixListAssociations_dryRun :: Lens' GetManagedPrefixListAssociations (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
.
getManagedPrefixListAssociations_maxResults :: Lens' GetManagedPrefixListAssociations (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.
getManagedPrefixListAssociations_nextToken :: Lens' GetManagedPrefixListAssociations (Maybe Text) Source #
The token for the next page of results.
getManagedPrefixListAssociations_prefixListId :: Lens' GetManagedPrefixListAssociations Text Source #
The ID of the prefix list.
Destructuring the Response
data GetManagedPrefixListAssociationsResponse Source #
See: newGetManagedPrefixListAssociationsResponse
smart constructor.
GetManagedPrefixListAssociationsResponse' | |
|
Instances
newGetManagedPrefixListAssociationsResponse Source #
Create a value of GetManagedPrefixListAssociationsResponse
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:
GetManagedPrefixListAssociations
, getManagedPrefixListAssociationsResponse_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:prefixListAssociations:GetManagedPrefixListAssociationsResponse'
, getManagedPrefixListAssociationsResponse_prefixListAssociations
- Information about the associations.
$sel:httpStatus:GetManagedPrefixListAssociationsResponse'
, getManagedPrefixListAssociationsResponse_httpStatus
- The response's http status code.
Response Lenses
getManagedPrefixListAssociationsResponse_nextToken :: Lens' GetManagedPrefixListAssociationsResponse (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.
getManagedPrefixListAssociationsResponse_prefixListAssociations :: Lens' GetManagedPrefixListAssociationsResponse (Maybe [PrefixListAssociation]) Source #
Information about the associations.
getManagedPrefixListAssociationsResponse_httpStatus :: Lens' GetManagedPrefixListAssociationsResponse Int Source #
The response's http status code.