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