amazonka-resourcegroups-1.6.1: Amazon Resource Groups 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.ResourceGroups.ListGroupResources

Contents

Description

Returns a list of ARNs of resources that are members of a specified resource group.

This operation returns paginated results.

Synopsis

Creating a Request

listGroupResources Source #

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

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

  • lgrNextToken - The NextToken value that is returned in a paginated ListGroupResources request. To get the next page of results, run the call again, add the NextToken parameter, and specify the NextToken value.
  • lgrMaxResults - The maximum number of group member ARNs that are returned in a single call by ListGroupResources, in paginated output. By default, this number is 50.
  • lgrGroupName - The name of the resource group.

data ListGroupResources Source #

See: listGroupResources smart constructor.

Instances
Eq ListGroupResources Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

Data ListGroupResources Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

Methods

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

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

toConstr :: ListGroupResources -> Constr #

dataTypeOf :: ListGroupResources -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListGroupResources Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

Show ListGroupResources Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

Generic ListGroupResources Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

Associated Types

type Rep ListGroupResources :: Type -> Type #

Hashable ListGroupResources Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

AWSPager ListGroupResources Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

AWSRequest ListGroupResources Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

Associated Types

type Rs ListGroupResources :: Type #

ToHeaders ListGroupResources Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

ToPath ListGroupResources Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

ToQuery ListGroupResources Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

NFData ListGroupResources Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

Methods

rnf :: ListGroupResources -> () #

type Rep ListGroupResources Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

type Rep ListGroupResources = D1 (MetaData "ListGroupResources" "Network.AWS.ResourceGroups.ListGroupResources" "amazonka-resourcegroups-1.6.1-ESIAO7l4Zjz1j0LGvWxGeP" False) (C1 (MetaCons "ListGroupResources'" PrefixI True) (S1 (MetaSel (Just "_lgrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lgrMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_lgrGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListGroupResources Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

Request Lenses

lgrNextToken :: Lens' ListGroupResources (Maybe Text) Source #

The NextToken value that is returned in a paginated ListGroupResources request. To get the next page of results, run the call again, add the NextToken parameter, and specify the NextToken value.

lgrMaxResults :: Lens' ListGroupResources (Maybe Natural) Source #

The maximum number of group member ARNs that are returned in a single call by ListGroupResources, in paginated output. By default, this number is 50.

lgrGroupName :: Lens' ListGroupResources Text Source #

The name of the resource group.

Destructuring the Response

listGroupResourcesResponse Source #

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

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

data ListGroupResourcesResponse Source #

See: listGroupResourcesResponse smart constructor.

Instances
Eq ListGroupResourcesResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

Data ListGroupResourcesResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

Methods

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

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

toConstr :: ListGroupResourcesResponse -> Constr #

dataTypeOf :: ListGroupResourcesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListGroupResourcesResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

Show ListGroupResourcesResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

Generic ListGroupResourcesResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

Associated Types

type Rep ListGroupResourcesResponse :: Type -> Type #

NFData ListGroupResourcesResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

type Rep ListGroupResourcesResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroups.ListGroupResources

type Rep ListGroupResourcesResponse = D1 (MetaData "ListGroupResourcesResponse" "Network.AWS.ResourceGroups.ListGroupResources" "amazonka-resourcegroups-1.6.1-ESIAO7l4Zjz1j0LGvWxGeP" False) (C1 (MetaCons "ListGroupResourcesResponse'" PrefixI True) (S1 (MetaSel (Just "_lgrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lgrrsResourceIdentifiers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ResourceIdentifier])) :*: S1 (MetaSel (Just "_lgrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lgrrsNextToken :: Lens' ListGroupResourcesResponse (Maybe Text) Source #

The NextToken value to include in a subsequent ListGroupResources request, to get more results.

lgrrsResourceIdentifiers :: Lens' ListGroupResourcesResponse [ResourceIdentifier] Source #

The ARNs and resource types of resources that are members of the group that you specified.