amazonka-emr-1.4.5: Amazon Elastic MapReduce SDK.

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

Network.AWS.EMR.ListInstanceGroups

Contents

Description

Provides all available details about the instance groups in a cluster.

This operation returns paginated results.

Synopsis

Creating a Request

listInstanceGroups #

Creates a value of ListInstanceGroups with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ligMarker - The pagination token that indicates the next set of results to retrieve.
  • ligClusterId - The identifier of the cluster for which to list the instance groups.

data ListInstanceGroups #

This input determines which instance groups to retrieve.

See: listInstanceGroups smart constructor.

Instances

Eq ListInstanceGroups # 
Data ListInstanceGroups # 

Methods

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

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

toConstr :: ListInstanceGroups -> Constr #

dataTypeOf :: ListInstanceGroups -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListInstanceGroups # 
Show ListInstanceGroups # 
Generic ListInstanceGroups # 
Hashable ListInstanceGroups # 
ToJSON ListInstanceGroups # 
NFData ListInstanceGroups # 

Methods

rnf :: ListInstanceGroups -> () #

AWSPager ListInstanceGroups # 
AWSRequest ListInstanceGroups # 
ToQuery ListInstanceGroups # 
ToPath ListInstanceGroups # 
ToHeaders ListInstanceGroups # 
type Rep ListInstanceGroups # 
type Rep ListInstanceGroups = D1 (MetaData "ListInstanceGroups" "Network.AWS.EMR.ListInstanceGroups" "amazonka-emr-1.4.5-GRo1oO6f7JSBJNAYUVYNd0" False) (C1 (MetaCons "ListInstanceGroups'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ligMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ligClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListInstanceGroups # 

Request Lenses

ligMarker :: Lens' ListInstanceGroups (Maybe Text) #

The pagination token that indicates the next set of results to retrieve.

ligClusterId :: Lens' ListInstanceGroups Text #

The identifier of the cluster for which to list the instance groups.

Destructuring the Response

listInstanceGroupsResponse #

Creates a value of ListInstanceGroupsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListInstanceGroupsResponse #

This input determines which instance groups to retrieve.

See: listInstanceGroupsResponse smart constructor.

Instances

Eq ListInstanceGroupsResponse # 
Data ListInstanceGroupsResponse # 

Methods

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

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

toConstr :: ListInstanceGroupsResponse -> Constr #

dataTypeOf :: ListInstanceGroupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListInstanceGroupsResponse # 
Show ListInstanceGroupsResponse # 
Generic ListInstanceGroupsResponse # 
NFData ListInstanceGroupsResponse # 
type Rep ListInstanceGroupsResponse # 
type Rep ListInstanceGroupsResponse = D1 (MetaData "ListInstanceGroupsResponse" "Network.AWS.EMR.ListInstanceGroups" "amazonka-emr-1.4.5-GRo1oO6f7JSBJNAYUVYNd0" False) (C1 (MetaCons "ListInstanceGroupsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ligrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ligrsInstanceGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstanceGroup]))) (S1 (MetaSel (Just Symbol "_ligrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

ligrsMarker :: Lens' ListInstanceGroupsResponse (Maybe Text) #

The pagination token that indicates the next set of results to retrieve.

ligrsInstanceGroups :: Lens' ListInstanceGroupsResponse [InstanceGroup] #

The list of instance groups for the cluster and given filters.

ligrsResponseStatus :: Lens' ListInstanceGroupsResponse Int #

  • - | The response status code.