Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Gets a list of distribution IDs for distributions that have a cache behavior that’s associated with the specified cache policy.
You can optionally specify the maximum number of items to receive in the
response. If the total number of items in the list exceeds the maximum
that you specify, or the default maximum, the response is paginated. To
get the next page of items, send a subsequent request that specifies the
NextMarker
value from the current response as the Marker
value in
the subsequent request.
Synopsis
- data ListDistributionsByCachePolicyId = ListDistributionsByCachePolicyId' {}
- newListDistributionsByCachePolicyId :: Text -> ListDistributionsByCachePolicyId
- listDistributionsByCachePolicyId_marker :: Lens' ListDistributionsByCachePolicyId (Maybe Text)
- listDistributionsByCachePolicyId_maxItems :: Lens' ListDistributionsByCachePolicyId (Maybe Text)
- listDistributionsByCachePolicyId_cachePolicyId :: Lens' ListDistributionsByCachePolicyId Text
- data ListDistributionsByCachePolicyIdResponse = ListDistributionsByCachePolicyIdResponse' {}
- newListDistributionsByCachePolicyIdResponse :: Int -> ListDistributionsByCachePolicyIdResponse
- listDistributionsByCachePolicyIdResponse_distributionIdList :: Lens' ListDistributionsByCachePolicyIdResponse (Maybe DistributionIdList)
- listDistributionsByCachePolicyIdResponse_httpStatus :: Lens' ListDistributionsByCachePolicyIdResponse Int
Creating a Request
data ListDistributionsByCachePolicyId Source #
See: newListDistributionsByCachePolicyId
smart constructor.
ListDistributionsByCachePolicyId' | |
|
Instances
newListDistributionsByCachePolicyId Source #
Create a value of ListDistributionsByCachePolicyId
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:marker:ListDistributionsByCachePolicyId'
, listDistributionsByCachePolicyId_marker
- Use this field when paginating results to indicate where to begin in
your list of distribution IDs. The response includes distribution IDs in
the list that occur after the marker. To get the next page of the list,
set this field’s value to the value of NextMarker
from the current
page’s response.
$sel:maxItems:ListDistributionsByCachePolicyId'
, listDistributionsByCachePolicyId_maxItems
- The maximum number of distribution IDs that you want in the response.
$sel:cachePolicyId:ListDistributionsByCachePolicyId'
, listDistributionsByCachePolicyId_cachePolicyId
- The ID of the cache policy whose associated distribution IDs you want to
list.
Request Lenses
listDistributionsByCachePolicyId_marker :: Lens' ListDistributionsByCachePolicyId (Maybe Text) Source #
Use this field when paginating results to indicate where to begin in
your list of distribution IDs. The response includes distribution IDs in
the list that occur after the marker. To get the next page of the list,
set this field’s value to the value of NextMarker
from the current
page’s response.
listDistributionsByCachePolicyId_maxItems :: Lens' ListDistributionsByCachePolicyId (Maybe Text) Source #
The maximum number of distribution IDs that you want in the response.
listDistributionsByCachePolicyId_cachePolicyId :: Lens' ListDistributionsByCachePolicyId Text Source #
The ID of the cache policy whose associated distribution IDs you want to list.
Destructuring the Response
data ListDistributionsByCachePolicyIdResponse Source #
See: newListDistributionsByCachePolicyIdResponse
smart constructor.
ListDistributionsByCachePolicyIdResponse' | |
|
Instances
newListDistributionsByCachePolicyIdResponse Source #
Create a value of ListDistributionsByCachePolicyIdResponse
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:distributionIdList:ListDistributionsByCachePolicyIdResponse'
, listDistributionsByCachePolicyIdResponse_distributionIdList
- A list of distribution IDs.
$sel:httpStatus:ListDistributionsByCachePolicyIdResponse'
, listDistributionsByCachePolicyIdResponse_httpStatus
- The response's http status code.
Response Lenses
listDistributionsByCachePolicyIdResponse_distributionIdList :: Lens' ListDistributionsByCachePolicyIdResponse (Maybe DistributionIdList) Source #
A list of distribution IDs.
listDistributionsByCachePolicyIdResponse_httpStatus :: Lens' ListDistributionsByCachePolicyIdResponse Int Source #
The response's http status code.