amazonka-elasticsearch-1.6.0: Amazon Elasticsearch Service SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElasticSearch.ListElasticsearchInstanceTypes

Contents

Description

List all Elasticsearch instance types that are supported for given ElasticsearchVersion

This operation returns paginated results.

Synopsis

Creating a Request

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 ListElasticsearchInstanceTypes operation.

See: listElasticsearchInstanceTypes smart constructor.

Instances

Eq ListElasticsearchInstanceTypes # 
Data ListElasticsearchInstanceTypes # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListElasticsearchInstanceTypes -> c ListElasticsearchInstanceTypes #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListElasticsearchInstanceTypes #

toConstr :: ListElasticsearchInstanceTypes -> Constr #

dataTypeOf :: ListElasticsearchInstanceTypes -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListElasticsearchInstanceTypes) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListElasticsearchInstanceTypes) #

gmapT :: (forall b. Data b => b -> b) -> ListElasticsearchInstanceTypes -> ListElasticsearchInstanceTypes #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListElasticsearchInstanceTypes -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListElasticsearchInstanceTypes -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListElasticsearchInstanceTypes -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListElasticsearchInstanceTypes -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListElasticsearchInstanceTypes -> m ListElasticsearchInstanceTypes #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListElasticsearchInstanceTypes -> m ListElasticsearchInstanceTypes #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListElasticsearchInstanceTypes -> m ListElasticsearchInstanceTypes #

Read ListElasticsearchInstanceTypes # 
Show ListElasticsearchInstanceTypes # 
Generic ListElasticsearchInstanceTypes # 
Hashable ListElasticsearchInstanceTypes # 
NFData ListElasticsearchInstanceTypes # 
AWSPager ListElasticsearchInstanceTypes # 
AWSRequest ListElasticsearchInstanceTypes # 
ToHeaders ListElasticsearchInstanceTypes # 
ToPath ListElasticsearchInstanceTypes # 
ToQuery ListElasticsearchInstanceTypes # 
type Rep ListElasticsearchInstanceTypes # 
type Rep ListElasticsearchInstanceTypes = D1 * (MetaData "ListElasticsearchInstanceTypes" "Network.AWS.ElasticSearch.ListElasticsearchInstanceTypes" "amazonka-elasticsearch-1.6.0-IXBa4fsFRGW2lp0aQwxWXa" False) (C1 * (MetaCons "ListElasticsearchInstanceTypes'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_leitNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_leitDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_leitMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_leitElasticsearchVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListElasticsearchInstanceTypes # 

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 given ElasticsearchVersion
  • 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 #

Container for the parameters returned by ListElasticsearchInstanceTypes operation.

See: listElasticsearchInstanceTypesResponse smart constructor.

Instances

Eq ListElasticsearchInstanceTypesResponse # 
Data ListElasticsearchInstanceTypesResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListElasticsearchInstanceTypesResponse -> c ListElasticsearchInstanceTypesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListElasticsearchInstanceTypesResponse #

toConstr :: ListElasticsearchInstanceTypesResponse -> Constr #

dataTypeOf :: ListElasticsearchInstanceTypesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListElasticsearchInstanceTypesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListElasticsearchInstanceTypesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListElasticsearchInstanceTypesResponse -> ListElasticsearchInstanceTypesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListElasticsearchInstanceTypesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListElasticsearchInstanceTypesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListElasticsearchInstanceTypesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListElasticsearchInstanceTypesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListElasticsearchInstanceTypesResponse -> m ListElasticsearchInstanceTypesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListElasticsearchInstanceTypesResponse -> m ListElasticsearchInstanceTypesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListElasticsearchInstanceTypesResponse -> m ListElasticsearchInstanceTypesResponse #

Read ListElasticsearchInstanceTypesResponse # 
Show ListElasticsearchInstanceTypesResponse # 
Generic ListElasticsearchInstanceTypesResponse # 
NFData ListElasticsearchInstanceTypesResponse # 
type Rep ListElasticsearchInstanceTypesResponse # 
type Rep ListElasticsearchInstanceTypesResponse = D1 * (MetaData "ListElasticsearchInstanceTypesResponse" "Network.AWS.ElasticSearch.ListElasticsearchInstanceTypes" "amazonka-elasticsearch-1.6.0-IXBa4fsFRGW2lp0aQwxWXa" False) (C1 * (MetaCons "ListElasticsearchInstanceTypesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_leitrsElasticsearchInstanceTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ESPartitionInstanceType]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_leitrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_leitrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

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.