amazonka-iam-1.5.0: Amazon Identity and Access Management SDK.

Copyright(c) 2013-2017 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.IAM.UpdateRoleDescription

Contents

Description

Modifies the description of a role.

Synopsis

Creating a Request

updateRoleDescription Source #

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

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

  • urdRoleName - The name of the role that you want to modify.
  • urdDescription - The new description that you want to apply to the specified role.

data UpdateRoleDescription Source #

See: updateRoleDescription smart constructor.

Instances

Eq UpdateRoleDescription Source # 
Data UpdateRoleDescription Source # 

Methods

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

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

toConstr :: UpdateRoleDescription -> Constr #

dataTypeOf :: UpdateRoleDescription -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateRoleDescription Source # 
Show UpdateRoleDescription Source # 
Generic UpdateRoleDescription Source # 
Hashable UpdateRoleDescription Source # 
NFData UpdateRoleDescription Source # 

Methods

rnf :: UpdateRoleDescription -> () #

AWSRequest UpdateRoleDescription Source # 
ToQuery UpdateRoleDescription Source # 
ToPath UpdateRoleDescription Source # 
ToHeaders UpdateRoleDescription Source # 
type Rep UpdateRoleDescription Source # 
type Rep UpdateRoleDescription = D1 (MetaData "UpdateRoleDescription" "Network.AWS.IAM.UpdateRoleDescription" "amazonka-iam-1.5.0-2w4nVHAOrDgI2P1QVLKd9e" False) (C1 (MetaCons "UpdateRoleDescription'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_urdRoleName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_urdDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateRoleDescription Source # 

Request Lenses

urdRoleName :: Lens' UpdateRoleDescription Text Source #

The name of the role that you want to modify.

urdDescription :: Lens' UpdateRoleDescription Text Source #

The new description that you want to apply to the specified role.

Destructuring the Response

updateRoleDescriptionResponse Source #

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

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

data UpdateRoleDescriptionResponse Source #

See: updateRoleDescriptionResponse smart constructor.

Instances

Eq UpdateRoleDescriptionResponse Source # 
Data UpdateRoleDescriptionResponse Source # 

Methods

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

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

toConstr :: UpdateRoleDescriptionResponse -> Constr #

dataTypeOf :: UpdateRoleDescriptionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateRoleDescriptionResponse Source # 
Show UpdateRoleDescriptionResponse Source # 
Generic UpdateRoleDescriptionResponse Source # 
NFData UpdateRoleDescriptionResponse Source # 
type Rep UpdateRoleDescriptionResponse Source # 
type Rep UpdateRoleDescriptionResponse = D1 (MetaData "UpdateRoleDescriptionResponse" "Network.AWS.IAM.UpdateRoleDescription" "amazonka-iam-1.5.0-2w4nVHAOrDgI2P1QVLKd9e" False) (C1 (MetaCons "UpdateRoleDescriptionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_urdrsRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Role))) (S1 (MetaSel (Just Symbol "_urdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

urdrsRole :: Lens' UpdateRoleDescriptionResponse (Maybe Role) Source #

A structure that contains details about the modified role.