amazonka-opsworks-1.4.2: Amazon OpsWorks 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.OpsWorks.UpdateUserProfile

Contents

Description

Updates a specified user profile.

Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Synopsis

Creating a Request

updateUserProfile Source #

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

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

data UpdateUserProfile Source #

See: updateUserProfile smart constructor.

Instances

Eq UpdateUserProfile Source # 
Data UpdateUserProfile Source # 

Methods

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

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

toConstr :: UpdateUserProfile -> Constr #

dataTypeOf :: UpdateUserProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateUserProfile Source # 
Show UpdateUserProfile Source # 
Generic UpdateUserProfile Source # 
ToJSON UpdateUserProfile Source # 
Hashable UpdateUserProfile Source # 
NFData UpdateUserProfile Source # 

Methods

rnf :: UpdateUserProfile -> () #

AWSRequest UpdateUserProfile Source # 
ToPath UpdateUserProfile Source # 
ToHeaders UpdateUserProfile Source # 
ToQuery UpdateUserProfile Source # 
type Rep UpdateUserProfile Source # 
type Rep UpdateUserProfile = D1 (MetaData "UpdateUserProfile" "Network.AWS.OpsWorks.UpdateUserProfile" "amazonka-opsworks-1.4.2-H1NWw2Q6WTvKlcJsv19jGW" False) (C1 (MetaCons "UpdateUserProfile'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_uupAllowSelfManagement") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_uupSSHPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_uupSSHUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uupIAMUserARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateUserProfile Source # 

Request Lenses

uupAllowSelfManagement :: Lens' UpdateUserProfile (Maybe Bool) Source #

Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.

uupSSHPublicKey :: Lens' UpdateUserProfile (Maybe Text) Source #

The user's new SSH public key.

uupSSHUsername :: Lens' UpdateUserProfile (Maybe Text) Source #

The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks removes them. For example, 'my.name' will be changed to myname. If you do not specify an SSH user name, AWS OpsWorks generates one from the IAM user name.

Destructuring the Response

updateUserProfileResponse :: UpdateUserProfileResponse Source #

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

data UpdateUserProfileResponse Source #

See: updateUserProfileResponse smart constructor.

Instances

Eq UpdateUserProfileResponse Source # 
Data UpdateUserProfileResponse Source # 

Methods

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

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

toConstr :: UpdateUserProfileResponse -> Constr #

dataTypeOf :: UpdateUserProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateUserProfileResponse Source # 
Show UpdateUserProfileResponse Source # 
Generic UpdateUserProfileResponse Source # 
NFData UpdateUserProfileResponse Source # 
type Rep UpdateUserProfileResponse Source # 
type Rep UpdateUserProfileResponse = D1 (MetaData "UpdateUserProfileResponse" "Network.AWS.OpsWorks.UpdateUserProfile" "amazonka-opsworks-1.4.2-H1NWw2Q6WTvKlcJsv19jGW" False) (C1 (MetaCons "UpdateUserProfileResponse'" PrefixI False) U1)