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 |
Returns a list of solutions that use the given dataset group. When a dataset group is not specified, all the solutions associated with the account are listed. The response provides the properties for each solution, including the Amazon Resource Name (ARN). For more information on solutions, see CreateSolution.
This operation returns paginated results.
Synopsis
- data ListSolutions = ListSolutions' {}
- newListSolutions :: ListSolutions
- listSolutions_nextToken :: Lens' ListSolutions (Maybe Text)
- listSolutions_datasetGroupArn :: Lens' ListSolutions (Maybe Text)
- listSolutions_maxResults :: Lens' ListSolutions (Maybe Natural)
- data ListSolutionsResponse = ListSolutionsResponse' {
- nextToken :: Maybe Text
- solutions :: Maybe [SolutionSummary]
- httpStatus :: Int
- newListSolutionsResponse :: Int -> ListSolutionsResponse
- listSolutionsResponse_nextToken :: Lens' ListSolutionsResponse (Maybe Text)
- listSolutionsResponse_solutions :: Lens' ListSolutionsResponse (Maybe [SolutionSummary])
- listSolutionsResponse_httpStatus :: Lens' ListSolutionsResponse Int
Creating a Request
data ListSolutions Source #
See: newListSolutions
smart constructor.
ListSolutions' | |
|
Instances
newListSolutions :: ListSolutions Source #
Create a value of ListSolutions
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:ListSolutions'
, listSolutions_nextToken
- A token returned from the previous call to ListSolutions
for getting
the next set of solutions (if they exist).
$sel:datasetGroupArn:ListSolutions'
, listSolutions_datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group.
$sel:maxResults:ListSolutions'
, listSolutions_maxResults
- The maximum number of solutions to return.
Request Lenses
listSolutions_nextToken :: Lens' ListSolutions (Maybe Text) Source #
A token returned from the previous call to ListSolutions
for getting
the next set of solutions (if they exist).
listSolutions_datasetGroupArn :: Lens' ListSolutions (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dataset group.
listSolutions_maxResults :: Lens' ListSolutions (Maybe Natural) Source #
The maximum number of solutions to return.
Destructuring the Response
data ListSolutionsResponse Source #
See: newListSolutionsResponse
smart constructor.
ListSolutionsResponse' | |
|
Instances
newListSolutionsResponse Source #
Create a value of ListSolutionsResponse
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:ListSolutions'
, listSolutionsResponse_nextToken
- A token for getting the next set of solutions (if they exist).
$sel:solutions:ListSolutionsResponse'
, listSolutionsResponse_solutions
- A list of the current solutions.
$sel:httpStatus:ListSolutionsResponse'
, listSolutionsResponse_httpStatus
- The response's http status code.
Response Lenses
listSolutionsResponse_nextToken :: Lens' ListSolutionsResponse (Maybe Text) Source #
A token for getting the next set of solutions (if they exist).
listSolutionsResponse_solutions :: Lens' ListSolutionsResponse (Maybe [SolutionSummary]) Source #
A list of the current solutions.
listSolutionsResponse_httpStatus :: Lens' ListSolutionsResponse Int Source #
The response's http status code.