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 |
Lists the use cases for the integration association.
This operation returns paginated results.
Synopsis
- data ListUseCases = ListUseCases' {}
- newListUseCases :: Text -> Text -> ListUseCases
- listUseCases_nextToken :: Lens' ListUseCases (Maybe Text)
- listUseCases_maxResults :: Lens' ListUseCases (Maybe Natural)
- listUseCases_instanceId :: Lens' ListUseCases Text
- listUseCases_integrationAssociationId :: Lens' ListUseCases Text
- data ListUseCasesResponse = ListUseCasesResponse' {
- useCaseSummaryList :: Maybe [UseCase]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListUseCasesResponse :: Int -> ListUseCasesResponse
- listUseCasesResponse_useCaseSummaryList :: Lens' ListUseCasesResponse (Maybe [UseCase])
- listUseCasesResponse_nextToken :: Lens' ListUseCasesResponse (Maybe Text)
- listUseCasesResponse_httpStatus :: Lens' ListUseCasesResponse Int
Creating a Request
data ListUseCases Source #
Provides summary information about the use cases for the specified integration association.
See: newListUseCases
smart constructor.
ListUseCases' | |
|
Instances
:: Text | |
-> Text | |
-> ListUseCases |
Create a value of ListUseCases
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:ListUseCases'
, listUseCases_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:ListUseCases'
, listUseCases_maxResults
- The maximum number of results to return per page.
$sel:instanceId:ListUseCases'
, listUseCases_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:integrationAssociationId:ListUseCases'
, listUseCases_integrationAssociationId
- The identifier for the integration association.
Request Lenses
listUseCases_nextToken :: Lens' ListUseCases (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.
listUseCases_maxResults :: Lens' ListUseCases (Maybe Natural) Source #
The maximum number of results to return per page.
listUseCases_instanceId :: Lens' ListUseCases Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
listUseCases_integrationAssociationId :: Lens' ListUseCases Text Source #
The identifier for the integration association.
Destructuring the Response
data ListUseCasesResponse Source #
See: newListUseCasesResponse
smart constructor.
ListUseCasesResponse' | |
|
Instances
newListUseCasesResponse Source #
Create a value of ListUseCasesResponse
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:useCaseSummaryList:ListUseCasesResponse'
, listUseCasesResponse_useCaseSummaryList
- The use cases.
$sel:nextToken:ListUseCases'
, listUseCasesResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListUseCasesResponse'
, listUseCasesResponse_httpStatus
- The response's http status code.
Response Lenses
listUseCasesResponse_useCaseSummaryList :: Lens' ListUseCasesResponse (Maybe [UseCase]) Source #
The use cases.
listUseCasesResponse_nextToken :: Lens' ListUseCasesResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listUseCasesResponse_httpStatus :: Lens' ListUseCasesResponse Int Source #
The response's http status code.