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 Elasticsearch versions
This operation returns paginated results.
Synopsis
- data ListElasticsearchVersions = ListElasticsearchVersions' {}
- newListElasticsearchVersions :: ListElasticsearchVersions
- listElasticsearchVersions_nextToken :: Lens' ListElasticsearchVersions (Maybe Text)
- listElasticsearchVersions_maxResults :: Lens' ListElasticsearchVersions (Maybe Int)
- data ListElasticsearchVersionsResponse = ListElasticsearchVersionsResponse' {
- nextToken :: Maybe Text
- elasticsearchVersions :: Maybe [Text]
- httpStatus :: Int
- newListElasticsearchVersionsResponse :: Int -> ListElasticsearchVersionsResponse
- listElasticsearchVersionsResponse_nextToken :: Lens' ListElasticsearchVersionsResponse (Maybe Text)
- listElasticsearchVersionsResponse_elasticsearchVersions :: Lens' ListElasticsearchVersionsResponse (Maybe [Text])
- listElasticsearchVersionsResponse_httpStatus :: Lens' ListElasticsearchVersionsResponse Int
Creating a Request
data ListElasticsearchVersions Source #
Container for the parameters to the ListElasticsearchVersions
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, then there are no more results to
retrieve.
See: newListElasticsearchVersions
smart constructor.
Instances
newListElasticsearchVersions :: ListElasticsearchVersions Source #
Create a value of ListElasticsearchVersions
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:ListElasticsearchVersions'
, listElasticsearchVersions_nextToken
- Undocumented member.
$sel:maxResults:ListElasticsearchVersions'
, listElasticsearchVersions_maxResults
- Set this value to limit the number of results returned. Value provided
must be greater than 10 else it wont be honored.
Request Lenses
listElasticsearchVersions_nextToken :: Lens' ListElasticsearchVersions (Maybe Text) Source #
Undocumented member.
listElasticsearchVersions_maxResults :: Lens' ListElasticsearchVersions (Maybe Int) Source #
Set this value to limit the number of results returned. Value provided must be greater than 10 else it wont be honored.
Destructuring the Response
data ListElasticsearchVersionsResponse Source #
Container for the parameters for response received from
ListElasticsearchVersions
operation.
See: newListElasticsearchVersionsResponse
smart constructor.
ListElasticsearchVersionsResponse' | |
|
Instances
newListElasticsearchVersionsResponse Source #
Create a value of ListElasticsearchVersionsResponse
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:ListElasticsearchVersions'
, listElasticsearchVersionsResponse_nextToken
- Undocumented member.
$sel:elasticsearchVersions:ListElasticsearchVersionsResponse'
, listElasticsearchVersionsResponse_elasticsearchVersions
- Undocumented member.
$sel:httpStatus:ListElasticsearchVersionsResponse'
, listElasticsearchVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listElasticsearchVersionsResponse_nextToken :: Lens' ListElasticsearchVersionsResponse (Maybe Text) Source #
Undocumented member.
listElasticsearchVersionsResponse_elasticsearchVersions :: Lens' ListElasticsearchVersionsResponse (Maybe [Text]) Source #
Undocumented member.
listElasticsearchVersionsResponse_httpStatus :: Lens' ListElasticsearchVersionsResponse Int Source #
The response's http status code.