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 all CloudFront functions in your account.
You can optionally apply a filter to return only the functions that are
in the specified stage, either DEVELOPMENT
or LIVE
.
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 ListFunctions = ListFunctions' {}
- newListFunctions :: ListFunctions
- listFunctions_stage :: Lens' ListFunctions (Maybe FunctionStage)
- listFunctions_marker :: Lens' ListFunctions (Maybe Text)
- listFunctions_maxItems :: Lens' ListFunctions (Maybe Text)
- data ListFunctionsResponse = ListFunctionsResponse' {}
- newListFunctionsResponse :: Int -> ListFunctionsResponse
- listFunctionsResponse_functionList :: Lens' ListFunctionsResponse (Maybe FunctionList)
- listFunctionsResponse_httpStatus :: Lens' ListFunctionsResponse Int
Creating a Request
data ListFunctions Source #
See: newListFunctions
smart constructor.
ListFunctions' | |
|
Instances
newListFunctions :: ListFunctions Source #
Create a value of ListFunctions
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:stage:ListFunctions'
, listFunctions_stage
- An optional filter to return only the functions that are in the
specified stage, either DEVELOPMENT
or LIVE
.
$sel:marker:ListFunctions'
, listFunctions_marker
- Use this field when paginating results to indicate where to begin in
your list of functions. The response includes functions 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:ListFunctions'
, listFunctions_maxItems
- The maximum number of functions that you want in the response.
Request Lenses
listFunctions_stage :: Lens' ListFunctions (Maybe FunctionStage) Source #
An optional filter to return only the functions that are in the
specified stage, either DEVELOPMENT
or LIVE
.
listFunctions_marker :: Lens' ListFunctions (Maybe Text) Source #
Use this field when paginating results to indicate where to begin in
your list of functions. The response includes functions 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.
listFunctions_maxItems :: Lens' ListFunctions (Maybe Text) Source #
The maximum number of functions that you want in the response.
Destructuring the Response
data ListFunctionsResponse Source #
See: newListFunctionsResponse
smart constructor.
ListFunctionsResponse' | |
|
Instances
newListFunctionsResponse Source #
Create a value of ListFunctionsResponse
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:functionList:ListFunctionsResponse'
, listFunctionsResponse_functionList
- A list of CloudFront functions.
$sel:httpStatus:ListFunctionsResponse'
, listFunctionsResponse_httpStatus
- The response's http status code.
Response Lenses
listFunctionsResponse_functionList :: Lens' ListFunctionsResponse (Maybe FunctionList) Source #
A list of CloudFront functions.
listFunctionsResponse_httpStatus :: Lens' ListFunctionsResponse Int Source #
The response's http status code.