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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.UpdateAssumeRolePolicy

Contents

Description

Updates the policy that grants an IAM entity permission to assume a role. This is typically referred to as the "role trust policy". For more information about roles, go to Using Roles to Delegate Permissions and Federate Identities.

Synopsis

Creating a Request

updateAssumeRolePolicy Source #

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

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

data UpdateAssumeRolePolicy Source #

See: updateAssumeRolePolicy smart constructor.

Instances

Eq UpdateAssumeRolePolicy Source # 
Data UpdateAssumeRolePolicy Source # 

Methods

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

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

toConstr :: UpdateAssumeRolePolicy -> Constr #

dataTypeOf :: UpdateAssumeRolePolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateAssumeRolePolicy Source # 
Show UpdateAssumeRolePolicy Source # 
Generic UpdateAssumeRolePolicy Source # 
Hashable UpdateAssumeRolePolicy Source # 
NFData UpdateAssumeRolePolicy Source # 

Methods

rnf :: UpdateAssumeRolePolicy -> () #

AWSRequest UpdateAssumeRolePolicy Source # 
ToPath UpdateAssumeRolePolicy Source # 
ToHeaders UpdateAssumeRolePolicy Source # 
ToQuery UpdateAssumeRolePolicy Source # 
type Rep UpdateAssumeRolePolicy Source # 
type Rep UpdateAssumeRolePolicy = D1 (MetaData "UpdateAssumeRolePolicy" "Network.AWS.IAM.UpdateAssumeRolePolicy" "amazonka-iam-1.4.4-BicPZt3TaHh2CoAkQqkWBu" False) (C1 (MetaCons "UpdateAssumeRolePolicy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uarpRoleName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_uarpPolicyDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateAssumeRolePolicy Source # 

Request Lenses

uarpRoleName :: Lens' UpdateAssumeRolePolicy Text Source #

The name of the role to update with the new policy.

The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.'-

uarpPolicyDocument :: Lens' UpdateAssumeRolePolicy Text Source #

The policy that grants an entity permission to assume the role.

The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range (\u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D).

Destructuring the Response

updateAssumeRolePolicyResponse :: UpdateAssumeRolePolicyResponse Source #

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

data UpdateAssumeRolePolicyResponse Source #

See: updateAssumeRolePolicyResponse smart constructor.

Instances

Eq UpdateAssumeRolePolicyResponse Source # 
Data UpdateAssumeRolePolicyResponse Source # 

Methods

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

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

toConstr :: UpdateAssumeRolePolicyResponse -> Constr #

dataTypeOf :: UpdateAssumeRolePolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateAssumeRolePolicyResponse Source # 
Show UpdateAssumeRolePolicyResponse Source # 
Generic UpdateAssumeRolePolicyResponse Source # 
NFData UpdateAssumeRolePolicyResponse Source # 
type Rep UpdateAssumeRolePolicyResponse Source # 
type Rep UpdateAssumeRolePolicyResponse = D1 (MetaData "UpdateAssumeRolePolicyResponse" "Network.AWS.IAM.UpdateAssumeRolePolicy" "amazonka-iam-1.4.4-BicPZt3TaHh2CoAkQqkWBu" False) (C1 (MetaCons "UpdateAssumeRolePolicyResponse'" PrefixI False) U1)