| 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.ListElasticsearchInstanceTypes
Description
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 #
Arguments
| :: Text | |
| -> ListElasticsearchInstanceTypes |
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 #
Container for the parameters to the operation.ListElasticsearchInstanceTypes
See: listElasticsearchInstanceTypes smart constructor.
Instances
Request Lenses
leitNextToken :: Lens' ListElasticsearchInstanceTypes (Maybe Text) #
NextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.
leitDomainName :: Lens' ListElasticsearchInstanceTypes (Maybe Text) #
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) #
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 #
Version of Elasticsearch for which list of supported elasticsearch instance types are needed.
Destructuring the Response
listElasticsearchInstanceTypesResponse #
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 givenElasticsearchVersionleitrsNextToken- 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 #
Container for the parameters returned by operation.ListElasticsearchInstanceTypes
See: listElasticsearchInstanceTypesResponse smart constructor.
Instances
Response Lenses
leitrsElasticsearchInstanceTypes :: Lens' ListElasticsearchInstanceTypesResponse [ESPartitionInstanceType] #
List of instance types supported by Amazon Elasticsearch service for given ElasticsearchVersion
leitrsNextToken :: Lens' ListElasticsearchInstanceTypesResponse (Maybe Text) #
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 #
- - | The response status code.