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.UpdateGroup

Contents

Description

Updates an existing group with a new or changed description. You cannot update the name of a resource group.

Synopsis

Creating a Request

updateGroup Source #

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

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

  • ugDescription - The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.
  • ugGroupName - The name of the resource group for which you want to update its description.

data UpdateGroup Source #

See: updateGroup smart constructor.

Instances
Eq UpdateGroup Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

Data UpdateGroup Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

Methods

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

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

toConstr :: UpdateGroup -> Constr #

dataTypeOf :: UpdateGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateGroup Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

Show UpdateGroup Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

Generic UpdateGroup Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

Associated Types

type Rep UpdateGroup :: Type -> Type #

Hashable UpdateGroup Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

ToJSON UpdateGroup Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

AWSRequest UpdateGroup Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

Associated Types

type Rs UpdateGroup :: Type #

ToHeaders UpdateGroup Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

Methods

toHeaders :: UpdateGroup -> [Header] #

ToPath UpdateGroup Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

ToQuery UpdateGroup Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

NFData UpdateGroup Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

Methods

rnf :: UpdateGroup -> () #

type Rep UpdateGroup Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

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

Defined in Network.AWS.ResourceGroups.UpdateGroup

Request Lenses

ugDescription :: Lens' UpdateGroup (Maybe Text) Source #

The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.

ugGroupName :: Lens' UpdateGroup Text Source #

The name of the resource group for which you want to update its description.

Destructuring the Response

updateGroupResponse Source #

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

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

data UpdateGroupResponse Source #

See: updateGroupResponse smart constructor.

Instances
Eq UpdateGroupResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

Data UpdateGroupResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

Methods

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

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

toConstr :: UpdateGroupResponse -> Constr #

dataTypeOf :: UpdateGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateGroupResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

Show UpdateGroupResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

Generic UpdateGroupResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

Associated Types

type Rep UpdateGroupResponse :: Type -> Type #

NFData UpdateGroupResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

Methods

rnf :: UpdateGroupResponse -> () #

type Rep UpdateGroupResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroups.UpdateGroup

type Rep UpdateGroupResponse = D1 (MetaData "UpdateGroupResponse" "Network.AWS.ResourceGroups.UpdateGroup" "amazonka-resourcegroups-1.6.1-ESIAO7l4Zjz1j0LGvWxGeP" False) (C1 (MetaCons "UpdateGroupResponse'" PrefixI True) (S1 (MetaSel (Just "_ugrsGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Group)) :*: S1 (MetaSel (Just "_ugrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

ugrsGroup :: Lens' UpdateGroupResponse (Maybe Group) Source #

The full description of the resource group after it has been updated.

ugrsResponseStatus :: Lens' UpdateGroupResponse Int Source #

  • - | The response status code.