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 a list of response headers policies.
You can optionally apply a filter to get only the managed policies created by Amazon Web Services, or only the custom policies created in your 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 a subsequent request that specifies the
NextMarker
value from the current response as the Marker
value in
the subsequent request.
Synopsis
- data ListResponseHeadersPolicies = ListResponseHeadersPolicies' {}
- newListResponseHeadersPolicies :: ListResponseHeadersPolicies
- listResponseHeadersPolicies_marker :: Lens' ListResponseHeadersPolicies (Maybe Text)
- listResponseHeadersPolicies_maxItems :: Lens' ListResponseHeadersPolicies (Maybe Text)
- listResponseHeadersPolicies_type :: Lens' ListResponseHeadersPolicies (Maybe ResponseHeadersPolicyType)
- data ListResponseHeadersPoliciesResponse = ListResponseHeadersPoliciesResponse' {}
- newListResponseHeadersPoliciesResponse :: Int -> ListResponseHeadersPoliciesResponse
- listResponseHeadersPoliciesResponse_responseHeadersPolicyList :: Lens' ListResponseHeadersPoliciesResponse (Maybe ResponseHeadersPolicyList)
- listResponseHeadersPoliciesResponse_httpStatus :: Lens' ListResponseHeadersPoliciesResponse Int
Creating a Request
data ListResponseHeadersPolicies Source #
See: newListResponseHeadersPolicies
smart constructor.
ListResponseHeadersPolicies' | |
|
Instances
newListResponseHeadersPolicies :: ListResponseHeadersPolicies Source #
Create a value of ListResponseHeadersPolicies
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:
ListResponseHeadersPolicies
, listResponseHeadersPolicies_marker
- Use this field when paginating results to indicate where to begin in
your list of response headers policies. The response includes response
headers policies 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.
ListResponseHeadersPolicies
, listResponseHeadersPolicies_maxItems
- The maximum number of response headers policies that you want to get in
the response.
ListResponseHeadersPolicies
, listResponseHeadersPolicies_type
- A filter to get only the specified kind of response headers policies.
Valid values are:
managed
– Gets only the managed policies created by Amazon Web Services.custom
– Gets only the custom policies created in your Amazon Web Services account.
Request Lenses
listResponseHeadersPolicies_marker :: Lens' ListResponseHeadersPolicies (Maybe Text) Source #
Use this field when paginating results to indicate where to begin in
your list of response headers policies. The response includes response
headers policies 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.
listResponseHeadersPolicies_maxItems :: Lens' ListResponseHeadersPolicies (Maybe Text) Source #
The maximum number of response headers policies that you want to get in the response.
listResponseHeadersPolicies_type :: Lens' ListResponseHeadersPolicies (Maybe ResponseHeadersPolicyType) Source #
A filter to get only the specified kind of response headers policies. Valid values are:
managed
– Gets only the managed policies created by Amazon Web Services.custom
– Gets only the custom policies created in your Amazon Web Services account.
Destructuring the Response
data ListResponseHeadersPoliciesResponse Source #
See: newListResponseHeadersPoliciesResponse
smart constructor.
ListResponseHeadersPoliciesResponse' | |
|
Instances
newListResponseHeadersPoliciesResponse Source #
Create a value of ListResponseHeadersPoliciesResponse
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:responseHeadersPolicyList:ListResponseHeadersPoliciesResponse'
, listResponseHeadersPoliciesResponse_responseHeadersPolicyList
- A list of response headers policies.
$sel:httpStatus:ListResponseHeadersPoliciesResponse'
, listResponseHeadersPoliciesResponse_httpStatus
- The response's http status code.
Response Lenses
listResponseHeadersPoliciesResponse_responseHeadersPolicyList :: Lens' ListResponseHeadersPoliciesResponse (Maybe ResponseHeadersPolicyList) Source #
A list of response headers policies.
listResponseHeadersPoliciesResponse_httpStatus :: Lens' ListResponseHeadersPoliciesResponse Int Source #
The response's http status code.