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 the list of CloudFront origin access controls in this Amazon Web Services account.
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 another request that specifies the
NextMarker
value from the current response as the Marker
value in
the next request.
Synopsis
- data ListOriginAccessControls = ListOriginAccessControls' {}
- newListOriginAccessControls :: ListOriginAccessControls
- listOriginAccessControls_marker :: Lens' ListOriginAccessControls (Maybe Text)
- listOriginAccessControls_maxItems :: Lens' ListOriginAccessControls (Maybe Text)
- data ListOriginAccessControlsResponse = ListOriginAccessControlsResponse' {}
- newListOriginAccessControlsResponse :: Int -> ListOriginAccessControlsResponse
- listOriginAccessControlsResponse_originAccessControlList :: Lens' ListOriginAccessControlsResponse (Maybe OriginAccessControlList)
- listOriginAccessControlsResponse_httpStatus :: Lens' ListOriginAccessControlsResponse Int
Creating a Request
data ListOriginAccessControls Source #
See: newListOriginAccessControls
smart constructor.
ListOriginAccessControls' | |
|
Instances
newListOriginAccessControls :: ListOriginAccessControls Source #
Create a value of ListOriginAccessControls
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:
ListOriginAccessControls
, listOriginAccessControls_marker
- Use this field when paginating results to indicate where to begin in
your list of origin access controls. The response includes the items 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.
ListOriginAccessControls
, listOriginAccessControls_maxItems
- The maximum number of origin access controls that you want in the
response.
Request Lenses
listOriginAccessControls_marker :: Lens' ListOriginAccessControls (Maybe Text) Source #
Use this field when paginating results to indicate where to begin in
your list of origin access controls. The response includes the items 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.
listOriginAccessControls_maxItems :: Lens' ListOriginAccessControls (Maybe Text) Source #
The maximum number of origin access controls that you want in the response.
Destructuring the Response
data ListOriginAccessControlsResponse Source #
See: newListOriginAccessControlsResponse
smart constructor.
ListOriginAccessControlsResponse' | |
|
Instances
Generic ListOriginAccessControlsResponse Source # | |
Read ListOriginAccessControlsResponse Source # | |
Show ListOriginAccessControlsResponse Source # | |
NFData ListOriginAccessControlsResponse Source # | |
Defined in Amazonka.CloudFront.ListOriginAccessControls rnf :: ListOriginAccessControlsResponse -> () # | |
Eq ListOriginAccessControlsResponse Source # | |
type Rep ListOriginAccessControlsResponse Source # | |
Defined in Amazonka.CloudFront.ListOriginAccessControls type Rep ListOriginAccessControlsResponse = D1 ('MetaData "ListOriginAccessControlsResponse" "Amazonka.CloudFront.ListOriginAccessControls" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ListOriginAccessControlsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "originAccessControlList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginAccessControlList)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newListOriginAccessControlsResponse Source #
Create a value of ListOriginAccessControlsResponse
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:originAccessControlList:ListOriginAccessControlsResponse'
, listOriginAccessControlsResponse_originAccessControlList
- A list of origin access controls.
$sel:httpStatus:ListOriginAccessControlsResponse'
, listOriginAccessControlsResponse_httpStatus
- The response's http status code.
Response Lenses
listOriginAccessControlsResponse_originAccessControlList :: Lens' ListOriginAccessControlsResponse (Maybe OriginAccessControlList) Source #
A list of origin access controls.
listOriginAccessControlsResponse_httpStatus :: Lens' ListOriginAccessControlsResponse Int Source #
The response's http status code.