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 |
This API is in preview release for Amazon Connect and is subject to change.
Returns a paginated list of all Lambda functions that display in the dropdown options in the relevant contact flow blocks.
This operation returns paginated results.
Synopsis
- data ListLambdaFunctions = ListLambdaFunctions' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- instanceId :: Text
- newListLambdaFunctions :: Text -> ListLambdaFunctions
- listLambdaFunctions_nextToken :: Lens' ListLambdaFunctions (Maybe Text)
- listLambdaFunctions_maxResults :: Lens' ListLambdaFunctions (Maybe Natural)
- listLambdaFunctions_instanceId :: Lens' ListLambdaFunctions Text
- data ListLambdaFunctionsResponse = ListLambdaFunctionsResponse' {
- lambdaFunctions :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListLambdaFunctionsResponse :: Int -> ListLambdaFunctionsResponse
- listLambdaFunctionsResponse_lambdaFunctions :: Lens' ListLambdaFunctionsResponse (Maybe [Text])
- listLambdaFunctionsResponse_nextToken :: Lens' ListLambdaFunctionsResponse (Maybe Text)
- listLambdaFunctionsResponse_httpStatus :: Lens' ListLambdaFunctionsResponse Int
Creating a Request
data ListLambdaFunctions Source #
See: newListLambdaFunctions
smart constructor.
ListLambdaFunctions' | |
|
Instances
newListLambdaFunctions Source #
Create a value of ListLambdaFunctions
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:nextToken:ListLambdaFunctions'
, listLambdaFunctions_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:maxResults:ListLambdaFunctions'
, listLambdaFunctions_maxResults
- The maximum number of results to return per page.
$sel:instanceId:ListLambdaFunctions'
, listLambdaFunctions_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
listLambdaFunctions_nextToken :: Lens' ListLambdaFunctions (Maybe Text) Source #
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
listLambdaFunctions_maxResults :: Lens' ListLambdaFunctions (Maybe Natural) Source #
The maximum number of results to return per page.
listLambdaFunctions_instanceId :: Lens' ListLambdaFunctions Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data ListLambdaFunctionsResponse Source #
See: newListLambdaFunctionsResponse
smart constructor.
ListLambdaFunctionsResponse' | |
|
Instances
newListLambdaFunctionsResponse Source #
Create a value of ListLambdaFunctionsResponse
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:lambdaFunctions:ListLambdaFunctionsResponse'
, listLambdaFunctionsResponse_lambdaFunctions
- The Lambdafunction ARNs associated with the specified instance.
$sel:nextToken:ListLambdaFunctions'
, listLambdaFunctionsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListLambdaFunctionsResponse'
, listLambdaFunctionsResponse_httpStatus
- The response's http status code.
Response Lenses
listLambdaFunctionsResponse_lambdaFunctions :: Lens' ListLambdaFunctionsResponse (Maybe [Text]) Source #
The Lambdafunction ARNs associated with the specified instance.
listLambdaFunctionsResponse_nextToken :: Lens' ListLambdaFunctionsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listLambdaFunctionsResponse_httpStatus :: Lens' ListLambdaFunctionsResponse Int Source #
The response's http status code.