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 |
List all supported versions of OpenSearch and Elasticsearch.
Synopsis
- data ListVersions = ListVersions' {}
- newListVersions :: ListVersions
- listVersions_nextToken :: Lens' ListVersions (Maybe Text)
- listVersions_maxResults :: Lens' ListVersions (Maybe Int)
- data ListVersionsResponse = ListVersionsResponse' {}
- newListVersionsResponse :: Int -> ListVersionsResponse
- listVersionsResponse_versions :: Lens' ListVersionsResponse (Maybe [Text])
- listVersionsResponse_nextToken :: Lens' ListVersionsResponse (Maybe Text)
- listVersionsResponse_httpStatus :: Lens' ListVersionsResponse Int
Creating a Request
data ListVersions Source #
Container for the parameters to the ListVersions
operation.
Use MaxResults
to control the maximum number of results to retrieve
in a single call.
Use NextToken
in response to retrieve more results. If the received
response does not contain a NextToken, there are no more results to
retrieve.
See: newListVersions
smart constructor.
Instances
newListVersions :: ListVersions Source #
Create a value of ListVersions
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:ListVersions'
, listVersions_nextToken
- Undocumented member.
$sel:maxResults:ListVersions'
, listVersions_maxResults
- Set this value to limit the number of results returned. Value must be
greater than 10 or it won't be honored.
Request Lenses
listVersions_nextToken :: Lens' ListVersions (Maybe Text) Source #
Undocumented member.
listVersions_maxResults :: Lens' ListVersions (Maybe Int) Source #
Set this value to limit the number of results returned. Value must be greater than 10 or it won't be honored.
Destructuring the Response
data ListVersionsResponse Source #
Container for the parameters for response received from the
ListVersions
operation.
See: newListVersionsResponse
smart constructor.
Instances
newListVersionsResponse Source #
Create a value of ListVersionsResponse
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:versions:ListVersionsResponse'
, listVersionsResponse_versions
- Undocumented member.
$sel:nextToken:ListVersions'
, listVersionsResponse_nextToken
- Undocumented member.
$sel:httpStatus:ListVersionsResponse'
, listVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listVersionsResponse_versions :: Lens' ListVersionsResponse (Maybe [Text]) Source #
Undocumented member.
listVersionsResponse_nextToken :: Lens' ListVersionsResponse (Maybe Text) Source #
Undocumented member.
listVersionsResponse_httpStatus :: Lens' ListVersionsResponse Int Source #
The response's http status code.