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 |
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).
This operation returns paginated results.
Synopsis
- data ListSolutionVersions = ListSolutionVersions' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- solutionArn :: Maybe Text
- newListSolutionVersions :: ListSolutionVersions
- listSolutionVersions_maxResults :: Lens' ListSolutionVersions (Maybe Natural)
- listSolutionVersions_nextToken :: Lens' ListSolutionVersions (Maybe Text)
- listSolutionVersions_solutionArn :: Lens' ListSolutionVersions (Maybe Text)
- 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:maxResults:ListSolutionVersions'
, listSolutionVersions_maxResults
- The maximum number of solution versions to return.
ListSolutionVersions
, listSolutionVersions_nextToken
- A token returned from the previous call to ListSolutionVersions
for
getting the next set of solution versions (if they exist).
ListSolutionVersions
, listSolutionVersions_solutionArn
- The Amazon Resource Name (ARN) of the solution.
Request Lenses
listSolutionVersions_maxResults :: Lens' ListSolutionVersions (Maybe Natural) Source #
The maximum number of solution versions to return.
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_solutionArn :: Lens' ListSolutionVersions (Maybe Text) Source #
The Amazon Resource Name (ARN) of the solution.
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:
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.