amazonka-iam-1.6.1: Amazon Identity and Access Management 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.IAM.UpdateRoleDescription

Contents

Description

Use instead.

Modifies only the description of a role. This operation performs the same function as the Description parameter in the UpdateRole operation.

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 # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

Data UpdateRoleDescription Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

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 # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

Show UpdateRoleDescription Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

Generic UpdateRoleDescription Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

Associated Types

type Rep UpdateRoleDescription :: Type -> Type #

Hashable UpdateRoleDescription Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

AWSRequest UpdateRoleDescription Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

Associated Types

type Rs UpdateRoleDescription :: Type #

ToHeaders UpdateRoleDescription Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

ToPath UpdateRoleDescription Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

ToQuery UpdateRoleDescription Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

NFData UpdateRoleDescription Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

Methods

rnf :: UpdateRoleDescription -> () #

type Rep UpdateRoleDescription Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

type Rep UpdateRoleDescription = D1 (MetaData "UpdateRoleDescription" "Network.AWS.IAM.UpdateRoleDescription" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "UpdateRoleDescription'" PrefixI True) (S1 (MetaSel (Just "_urdRoleName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_urdDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs UpdateRoleDescription Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

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 # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

Data UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

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 # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

Show UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

Generic UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

Associated Types

type Rep UpdateRoleDescriptionResponse :: Type -> Type #

NFData UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

type Rep UpdateRoleDescriptionResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateRoleDescription

type Rep UpdateRoleDescriptionResponse = D1 (MetaData "UpdateRoleDescriptionResponse" "Network.AWS.IAM.UpdateRoleDescription" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "UpdateRoleDescriptionResponse'" PrefixI True) (S1 (MetaSel (Just "_urdrsRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Role)) :*: S1 (MetaSel (Just "_urdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

A structure that contains details about the modified role.