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 solution versions for the given solution. When a solution is not specified, all the solution versions associated with the account are listed. The response provides the properties for each solution version, including the Amazon Resource Name (ARN). For more information on solutions, see CreateSolution.
This operation returns paginated results.
Synopsis
- data ListSolutionVersions = ListSolutionVersions' {
- solutionArn :: Maybe Text
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- newListSolutionVersions :: ListSolutionVersions
- listSolutionVersions_solutionArn :: Lens' ListSolutionVersions (Maybe Text)
- listSolutionVersions_nextToken :: Lens' ListSolutionVersions (Maybe Text)
- listSolutionVersions_maxResults :: Lens' ListSolutionVersions (Maybe Natural)
- data ListSolutionVersionsResponse = ListSolutionVersionsResponse' {}
- newListSolutionVersionsResponse :: Int -> ListSolutionVersionsResponse
- listSolutionVersionsResponse_nextToken :: Lens' ListSolutionVersionsResponse (Maybe Text)
- listSolutionVersionsResponse_solutionVersions :: Lens' ListSolutionVersionsResponse (Maybe [SolutionVersionSummary])
- listSolutionVersionsResponse_httpStatus :: Lens' ListSolutionVersionsResponse Int
Creating a Request
data ListSolutionVersions Source #
See: newListSolutionVersions
smart constructor.
ListSolutionVersions' | |
|
Instances
newListSolutionVersions :: ListSolutionVersions Source #
Create a value of ListSolutionVersions
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:solutionArn:ListSolutionVersions'
, listSolutionVersions_solutionArn
- The Amazon Resource Name (ARN) of the solution.
$sel:nextToken:ListSolutionVersions'
, listSolutionVersions_nextToken
- A token returned from the previous call to ListSolutionVersions
for
getting the next set of solution versions (if they exist).
$sel:maxResults:ListSolutionVersions'
, listSolutionVersions_maxResults
- The maximum number of solution versions to return.
Request Lenses
listSolutionVersions_solutionArn :: Lens' ListSolutionVersions (Maybe Text) Source #
The Amazon Resource Name (ARN) of the solution.
listSolutionVersions_nextToken :: Lens' ListSolutionVersions (Maybe Text) Source #
A token returned from the previous call to ListSolutionVersions
for
getting the next set of solution versions (if they exist).
listSolutionVersions_maxResults :: Lens' ListSolutionVersions (Maybe Natural) Source #
The maximum number of solution versions to return.
Destructuring the Response
data ListSolutionVersionsResponse Source #
See: newListSolutionVersionsResponse
smart constructor.
ListSolutionVersionsResponse' | |
|
Instances
newListSolutionVersionsResponse Source #
Create a value of ListSolutionVersionsResponse
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:ListSolutionVersions'
, listSolutionVersionsResponse_nextToken
- A token for getting the next set of solution versions (if they exist).
$sel:solutionVersions:ListSolutionVersionsResponse'
, listSolutionVersionsResponse_solutionVersions
- A list of solution versions describing the version properties.
$sel:httpStatus:ListSolutionVersionsResponse'
, listSolutionVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listSolutionVersionsResponse_nextToken :: Lens' ListSolutionVersionsResponse (Maybe Text) Source #
A token for getting the next set of solution versions (if they exist).
listSolutionVersionsResponse_solutionVersions :: Lens' ListSolutionVersionsResponse (Maybe [SolutionVersionSummary]) Source #
A list of solution versions describing the version properties.
listSolutionVersionsResponse_httpStatus :: Lens' ListSolutionVersionsResponse Int Source #
The response's http status code.