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 |
List all Elasticsearch instance types that are supported for given ElasticsearchVersion
This operation returns paginated results.
- listElasticsearchInstanceTypes :: Text -> ListElasticsearchInstanceTypes
- data ListElasticsearchInstanceTypes
- leitNextToken :: Lens' ListElasticsearchInstanceTypes (Maybe Text)
- leitDomainName :: Lens' ListElasticsearchInstanceTypes (Maybe Text)
- leitMaxResults :: Lens' ListElasticsearchInstanceTypes (Maybe Int)
- leitElasticsearchVersion :: Lens' ListElasticsearchInstanceTypes Text
- listElasticsearchInstanceTypesResponse :: Int -> ListElasticsearchInstanceTypesResponse
- data ListElasticsearchInstanceTypesResponse
- leitrsElasticsearchInstanceTypes :: Lens' ListElasticsearchInstanceTypesResponse [ESPartitionInstanceType]
- leitrsNextToken :: Lens' ListElasticsearchInstanceTypesResponse (Maybe Text)
- leitrsResponseStatus :: Lens' ListElasticsearchInstanceTypesResponse Int
Creating a Request
listElasticsearchInstanceTypes Source #
Creates a value of ListElasticsearchInstanceTypes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
leitNextToken
- NextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.leitDomainName
- DomainName represents the name of the Domain that we are trying to modify. This should be present only if we are querying for list of available Elasticsearch instance types when modifying existing domain.leitMaxResults
- Set this value to limit the number of results returned. Value provided must be greater than 30 else it wont be honored.leitElasticsearchVersion
- Version of Elasticsearch for which list of supported elasticsearch instance types are needed.
data ListElasticsearchInstanceTypes Source #
Container for the parameters to the
operation.ListElasticsearchInstanceTypes
See: listElasticsearchInstanceTypes
smart constructor.
Request Lenses
leitNextToken :: Lens' ListElasticsearchInstanceTypes (Maybe Text) Source #
NextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.
leitDomainName :: Lens' ListElasticsearchInstanceTypes (Maybe Text) Source #
DomainName represents the name of the Domain that we are trying to modify. This should be present only if we are querying for list of available Elasticsearch instance types when modifying existing domain.
leitMaxResults :: Lens' ListElasticsearchInstanceTypes (Maybe Int) Source #
Set this value to limit the number of results returned. Value provided must be greater than 30 else it wont be honored.
leitElasticsearchVersion :: Lens' ListElasticsearchInstanceTypes Text Source #
Version of Elasticsearch for which list of supported elasticsearch instance types are needed.
Destructuring the Response
listElasticsearchInstanceTypesResponse Source #
Creates a value of ListElasticsearchInstanceTypesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
leitrsElasticsearchInstanceTypes
- List of instance types supported by Amazon Elasticsearch service for givenElasticsearchVersion
leitrsNextToken
- In case if there are more results available NextToken would be present, make further request to the same API with received NextToken to paginate remaining results.leitrsResponseStatus
- -- | The response status code.
data ListElasticsearchInstanceTypesResponse Source #
Container for the parameters returned by
operation.ListElasticsearchInstanceTypes
See: listElasticsearchInstanceTypesResponse
smart constructor.
Response Lenses
leitrsElasticsearchInstanceTypes :: Lens' ListElasticsearchInstanceTypesResponse [ESPartitionInstanceType] Source #
List of instance types supported by Amazon Elasticsearch service for given ElasticsearchVersion
leitrsNextToken :: Lens' ListElasticsearchInstanceTypesResponse (Maybe Text) Source #
In case if there are more results available NextToken would be present, make further request to the same API with received NextToken to paginate remaining results.
leitrsResponseStatus :: Lens' ListElasticsearchInstanceTypesResponse Int Source #
- - | The response status code.