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 origin request 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 ListDistributionsByOriginRequestPolicyId = ListDistributionsByOriginRequestPolicyId' {}
- newListDistributionsByOriginRequestPolicyId :: Text -> ListDistributionsByOriginRequestPolicyId
- listDistributionsByOriginRequestPolicyId_marker :: Lens' ListDistributionsByOriginRequestPolicyId (Maybe Text)
- listDistributionsByOriginRequestPolicyId_maxItems :: Lens' ListDistributionsByOriginRequestPolicyId (Maybe Text)
- listDistributionsByOriginRequestPolicyId_originRequestPolicyId :: Lens' ListDistributionsByOriginRequestPolicyId Text
- data ListDistributionsByOriginRequestPolicyIdResponse = ListDistributionsByOriginRequestPolicyIdResponse' {}
- newListDistributionsByOriginRequestPolicyIdResponse :: Int -> ListDistributionsByOriginRequestPolicyIdResponse
- listDistributionsByOriginRequestPolicyIdResponse_distributionIdList :: Lens' ListDistributionsByOriginRequestPolicyIdResponse (Maybe DistributionIdList)
- listDistributionsByOriginRequestPolicyIdResponse_httpStatus :: Lens' ListDistributionsByOriginRequestPolicyIdResponse Int
Creating a Request
data ListDistributionsByOriginRequestPolicyId Source #
See: newListDistributionsByOriginRequestPolicyId
smart constructor.
ListDistributionsByOriginRequestPolicyId' | |
|
Instances
newListDistributionsByOriginRequestPolicyId Source #
:: Text |
|
-> ListDistributionsByOriginRequestPolicyId |
Create a value of ListDistributionsByOriginRequestPolicyId
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:ListDistributionsByOriginRequestPolicyId'
, listDistributionsByOriginRequestPolicyId_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:ListDistributionsByOriginRequestPolicyId'
, listDistributionsByOriginRequestPolicyId_maxItems
- The maximum number of distribution IDs that you want in the response.
$sel:originRequestPolicyId:ListDistributionsByOriginRequestPolicyId'
, listDistributionsByOriginRequestPolicyId_originRequestPolicyId
- The ID of the origin request policy whose associated distribution IDs
you want to list.
Request Lenses
listDistributionsByOriginRequestPolicyId_marker :: Lens' ListDistributionsByOriginRequestPolicyId (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.
listDistributionsByOriginRequestPolicyId_maxItems :: Lens' ListDistributionsByOriginRequestPolicyId (Maybe Text) Source #
The maximum number of distribution IDs that you want in the response.
listDistributionsByOriginRequestPolicyId_originRequestPolicyId :: Lens' ListDistributionsByOriginRequestPolicyId Text Source #
The ID of the origin request policy whose associated distribution IDs you want to list.
Destructuring the Response
data ListDistributionsByOriginRequestPolicyIdResponse Source #
See: newListDistributionsByOriginRequestPolicyIdResponse
smart constructor.
ListDistributionsByOriginRequestPolicyIdResponse' | |
|
Instances
newListDistributionsByOriginRequestPolicyIdResponse Source #
:: Int |
|
-> ListDistributionsByOriginRequestPolicyIdResponse |
Create a value of ListDistributionsByOriginRequestPolicyIdResponse
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:ListDistributionsByOriginRequestPolicyIdResponse'
, listDistributionsByOriginRequestPolicyIdResponse_distributionIdList
- A list of distribution IDs.
$sel:httpStatus:ListDistributionsByOriginRequestPolicyIdResponse'
, listDistributionsByOriginRequestPolicyIdResponse_httpStatus
- The response's http status code.
Response Lenses
listDistributionsByOriginRequestPolicyIdResponse_distributionIdList :: Lens' ListDistributionsByOriginRequestPolicyIdResponse (Maybe DistributionIdList) Source #
A list of distribution IDs.
listDistributionsByOriginRequestPolicyIdResponse_httpStatus :: Lens' ListDistributionsByOriginRequestPolicyIdResponse Int Source #
The response's http status code.