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 |
Amazonka.CloudFront.ListFunctions
Description
Gets a list of all CloudFront functions in your Amazon Web Services 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_marker :: Lens' ListFunctions (Maybe Text)
- listFunctions_maxItems :: Lens' ListFunctions (Maybe Text)
- listFunctions_stage :: Lens' ListFunctions (Maybe FunctionStage)
- 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.
Constructors
ListFunctions' | |
Fields
|
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:
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.
ListFunctions
, listFunctions_maxItems
- The maximum number of functions that you want in the response.
ListFunctions
, listFunctions_stage
- An optional filter to return only the functions that are in the
specified stage, either DEVELOPMENT
or LIVE
.
Request Lenses
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.
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
.
Destructuring the Response
data ListFunctionsResponse Source #
See: newListFunctionsResponse
smart constructor.
Constructors
ListFunctionsResponse' | |
Fields
|
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.