| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.ElasticSearch.ListElasticsearchVersions
Description
List all supported Elasticsearch versions
This operation returns paginated results.
- listElasticsearchVersions :: ListElasticsearchVersions
- data ListElasticsearchVersions
- levNextToken :: Lens' ListElasticsearchVersions (Maybe Text)
- levMaxResults :: Lens' ListElasticsearchVersions (Maybe Int)
- listElasticsearchVersionsResponse :: Int -> ListElasticsearchVersionsResponse
- data ListElasticsearchVersionsResponse
- levrsNextToken :: Lens' ListElasticsearchVersionsResponse (Maybe Text)
- levrsElasticsearchVersions :: Lens' ListElasticsearchVersionsResponse [Text]
- levrsResponseStatus :: Lens' ListElasticsearchVersionsResponse Int
Creating a Request
listElasticsearchVersions :: ListElasticsearchVersions Source #
Creates a value of ListElasticsearchVersions with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
levNextToken- Undocumented member.levMaxResults- Set this value to limit the number of results returned. Value provided must be greater than 10 else it wont be honored.
data ListElasticsearchVersions Source #
Container for the parameters to the operation. Use ListElasticsearchVersions to control the maximum number of results to retrieve in a single call.MaxResults
Use in response to retrieve more results. If the received response does not contain a NextToken, then there are no more results to retrieve.NextToken
See: listElasticsearchVersions smart constructor.
Instances
Request Lenses
levNextToken :: Lens' ListElasticsearchVersions (Maybe Text) Source #
Undocumented member.
levMaxResults :: 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
listElasticsearchVersionsResponse Source #
Arguments
| :: Int | |
| -> ListElasticsearchVersionsResponse |
Creates a value of ListElasticsearchVersionsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
levrsNextToken- Undocumented member.levrsElasticsearchVersions- Undocumented member.levrsResponseStatus- -- | The response status code.
data ListElasticsearchVersionsResponse Source #
Container for the parameters for response received from operation.ListElasticsearchVersions
See: listElasticsearchVersionsResponse smart constructor.
Instances
Response Lenses
levrsNextToken :: Lens' ListElasticsearchVersionsResponse (Maybe Text) Source #
Undocumented member.
levrsElasticsearchVersions :: Lens' ListElasticsearchVersionsResponse [Text] Source #
Undocumented member.
levrsResponseStatus :: Lens' ListElasticsearchVersionsResponse Int Source #
- - | The response status code.