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 |
Provides information about the prompts for the specified Amazon Connect instance.
This operation returns paginated results.
Synopsis
- data ListPrompts = ListPrompts' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- instanceId :: Text
- newListPrompts :: Text -> ListPrompts
- listPrompts_nextToken :: Lens' ListPrompts (Maybe Text)
- listPrompts_maxResults :: Lens' ListPrompts (Maybe Natural)
- listPrompts_instanceId :: Lens' ListPrompts Text
- data ListPromptsResponse = ListPromptsResponse' {}
- newListPromptsResponse :: Int -> ListPromptsResponse
- listPromptsResponse_promptSummaryList :: Lens' ListPromptsResponse (Maybe [PromptSummary])
- listPromptsResponse_nextToken :: Lens' ListPromptsResponse (Maybe Text)
- listPromptsResponse_httpStatus :: Lens' ListPromptsResponse Int
Creating a Request
data ListPrompts Source #
See: newListPrompts
smart constructor.
ListPrompts' | |
|
Instances
Create a value of ListPrompts
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:ListPrompts'
, listPrompts_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:ListPrompts'
, listPrompts_maxResults
- The maximum number of results to return per page.
$sel:instanceId:ListPrompts'
, listPrompts_instanceId
- The identifier of the Amazon Connect instance.
Request Lenses
listPrompts_nextToken :: Lens' ListPrompts (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.
listPrompts_maxResults :: Lens' ListPrompts (Maybe Natural) Source #
The maximum number of results to return per page.
listPrompts_instanceId :: Lens' ListPrompts Text Source #
The identifier of the Amazon Connect instance.
Destructuring the Response
data ListPromptsResponse Source #
See: newListPromptsResponse
smart constructor.
ListPromptsResponse' | |
|
Instances
newListPromptsResponse Source #
Create a value of ListPromptsResponse
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:promptSummaryList:ListPromptsResponse'
, listPromptsResponse_promptSummaryList
- Information about the prompts.
$sel:nextToken:ListPrompts'
, listPromptsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListPromptsResponse'
, listPromptsResponse_httpStatus
- The response's http status code.
Response Lenses
listPromptsResponse_promptSummaryList :: Lens' ListPromptsResponse (Maybe [PromptSummary]) Source #
Information about the prompts.
listPromptsResponse_nextToken :: Lens' ListPromptsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listPromptsResponse_httpStatus :: Lens' ListPromptsResponse Int Source #
The response's http status code.