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

  • uupAllowSelfManagement - Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions .
  • uupSSHPublicKey - The user's new SSH public key.
  • uupSSHUsername - 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 Stacks removes them. For example, my.name will be changed to myname . If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name.
  • uupIAMUserARN - The user IAM ARN. This can also be a federated user's ARN.

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 # 
Hashable UpdateUserProfile Source # 
ToJSON UpdateUserProfile Source # 
NFData UpdateUserProfile Source # 

Methods

rnf :: UpdateUserProfile -> () #

AWSRequest UpdateUserProfile Source # 
ToHeaders UpdateUserProfile Source # 
ToPath UpdateUserProfile Source # 
ToQuery UpdateUserProfile Source # 
type Rep UpdateUserProfile Source # 
type Rep UpdateUserProfile = D1 * (MetaData "UpdateUserProfile" "Network.AWS.OpsWorks.UpdateUserProfile" "amazonka-opsworks-1.6.0-dhw3H9lmJm2qKjEl8vg7Z" 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 Stacks removes them. For example, my.name will be changed to myname . If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name.

uupIAMUserARN :: Lens' UpdateUserProfile Text Source #

The user IAM ARN. This can also be a federated user's ARN.

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.6.0-dhw3H9lmJm2qKjEl8vg7Z" False) (C1 * (MetaCons "UpdateUserProfileResponse'" PrefixI False) (U1 *))