amazonka-resourcegroups-1.6.0: 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.UpdateGroupQuery

Contents

Description

Updates the resource query of a group.

Synopsis

Creating a Request

updateGroupQuery Source #

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

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

  • ugqGroupName - The name of the resource group for which you want to edit the query.
  • ugqResourceQuery - The resource query that determines which AWS resources are members of the resource group.

data UpdateGroupQuery Source #

See: updateGroupQuery smart constructor.

Instances

Eq UpdateGroupQuery Source # 
Data UpdateGroupQuery Source # 

Methods

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

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

toConstr :: UpdateGroupQuery -> Constr #

dataTypeOf :: UpdateGroupQuery -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateGroupQuery Source # 
Show UpdateGroupQuery Source # 
Generic UpdateGroupQuery Source # 
Hashable UpdateGroupQuery Source # 
ToJSON UpdateGroupQuery Source # 
NFData UpdateGroupQuery Source # 

Methods

rnf :: UpdateGroupQuery -> () #

AWSRequest UpdateGroupQuery Source # 
ToHeaders UpdateGroupQuery Source # 
ToPath UpdateGroupQuery Source # 
ToQuery UpdateGroupQuery Source # 
type Rep UpdateGroupQuery Source # 
type Rep UpdateGroupQuery = D1 * (MetaData "UpdateGroupQuery" "Network.AWS.ResourceGroups.UpdateGroupQuery" "amazonka-resourcegroups-1.6.0-BcTE97yO3xiNkTKZdYgRR" False) (C1 * (MetaCons "UpdateGroupQuery'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ugqGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_ugqResourceQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ResourceQuery))))
type Rs UpdateGroupQuery Source # 

Request Lenses

ugqGroupName :: Lens' UpdateGroupQuery Text Source #

The name of the resource group for which you want to edit the query.

ugqResourceQuery :: Lens' UpdateGroupQuery ResourceQuery Source #

The resource query that determines which AWS resources are members of the resource group.

Destructuring the Response

updateGroupQueryResponse Source #

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

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

data UpdateGroupQueryResponse Source #

See: updateGroupQueryResponse smart constructor.

Instances

Eq UpdateGroupQueryResponse Source # 
Data UpdateGroupQueryResponse Source # 

Methods

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

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

toConstr :: UpdateGroupQueryResponse -> Constr #

dataTypeOf :: UpdateGroupQueryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateGroupQueryResponse Source # 
Show UpdateGroupQueryResponse Source # 
Generic UpdateGroupQueryResponse Source # 
NFData UpdateGroupQueryResponse Source # 
type Rep UpdateGroupQueryResponse Source # 
type Rep UpdateGroupQueryResponse = D1 * (MetaData "UpdateGroupQueryResponse" "Network.AWS.ResourceGroups.UpdateGroupQuery" "amazonka-resourcegroups-1.6.0-BcTE97yO3xiNkTKZdYgRR" False) (C1 * (MetaCons "UpdateGroupQueryResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ugqrsGroupQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe GroupQuery))) (S1 * (MetaSel (Just Symbol "_ugqrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

ugqrsGroupQuery :: Lens' UpdateGroupQueryResponse (Maybe GroupQuery) Source #

The resource query associated with the resource group after the update.