amazonka-ssm-1.4.5: Amazon Simple Systems Manager (SSM) 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.SSM.UpdateManagedInstanceRole

Contents

Description

Assigns or changes an Amazon Identity and Access Management (IAM) role to the managed instance.

Synopsis

Creating a Request

updateManagedInstanceRole #

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

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

  • umirInstanceId - The ID of the managed instance where you want to update the role.
  • umirIAMRole - The IAM role you want to assign or change.

data UpdateManagedInstanceRole #

See: updateManagedInstanceRole smart constructor.

Instances

Eq UpdateManagedInstanceRole # 
Data UpdateManagedInstanceRole # 

Methods

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

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

toConstr :: UpdateManagedInstanceRole -> Constr #

dataTypeOf :: UpdateManagedInstanceRole -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateManagedInstanceRole # 
Show UpdateManagedInstanceRole # 
Generic UpdateManagedInstanceRole # 
Hashable UpdateManagedInstanceRole # 
ToJSON UpdateManagedInstanceRole # 
NFData UpdateManagedInstanceRole # 
AWSRequest UpdateManagedInstanceRole # 
ToQuery UpdateManagedInstanceRole # 
ToPath UpdateManagedInstanceRole # 
ToHeaders UpdateManagedInstanceRole # 
type Rep UpdateManagedInstanceRole # 
type Rep UpdateManagedInstanceRole = D1 (MetaData "UpdateManagedInstanceRole" "Network.AWS.SSM.UpdateManagedInstanceRole" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" False) (C1 (MetaCons "UpdateManagedInstanceRole'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_umirInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_umirIAMRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateManagedInstanceRole # 

Request Lenses

umirInstanceId :: Lens' UpdateManagedInstanceRole Text #

The ID of the managed instance where you want to update the role.

umirIAMRole :: Lens' UpdateManagedInstanceRole Text #

The IAM role you want to assign or change.

Destructuring the Response

updateManagedInstanceRoleResponse #

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

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

data UpdateManagedInstanceRoleResponse #

See: updateManagedInstanceRoleResponse smart constructor.

Instances

Eq UpdateManagedInstanceRoleResponse # 
Data UpdateManagedInstanceRoleResponse # 

Methods

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

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

toConstr :: UpdateManagedInstanceRoleResponse -> Constr #

dataTypeOf :: UpdateManagedInstanceRoleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateManagedInstanceRoleResponse # 
Show UpdateManagedInstanceRoleResponse # 
Generic UpdateManagedInstanceRoleResponse # 
NFData UpdateManagedInstanceRoleResponse # 
type Rep UpdateManagedInstanceRoleResponse # 
type Rep UpdateManagedInstanceRoleResponse = D1 (MetaData "UpdateManagedInstanceRoleResponse" "Network.AWS.SSM.UpdateManagedInstanceRole" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" True) (C1 (MetaCons "UpdateManagedInstanceRoleResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_umirrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses