amazonka-opsworks-1.6.1: 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 # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

Data UpdateUserProfile Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

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

Defined in Network.AWS.OpsWorks.UpdateUserProfile

Show UpdateUserProfile Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

Generic UpdateUserProfile Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

Associated Types

type Rep UpdateUserProfile :: Type -> Type #

Hashable UpdateUserProfile Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

ToJSON UpdateUserProfile Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

AWSRequest UpdateUserProfile Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

Associated Types

type Rs UpdateUserProfile :: Type #

ToHeaders UpdateUserProfile Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

ToPath UpdateUserProfile Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

ToQuery UpdateUserProfile Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

NFData UpdateUserProfile Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

Methods

rnf :: UpdateUserProfile -> () #

type Rep UpdateUserProfile Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

type Rep UpdateUserProfile = D1 (MetaData "UpdateUserProfile" "Network.AWS.OpsWorks.UpdateUserProfile" "amazonka-opsworks-1.6.1-DPqCyF3LO9t3rjfO10vXJE" False) (C1 (MetaCons "UpdateUserProfile'" PrefixI True) ((S1 (MetaSel (Just "_uupAllowSelfManagement") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_uupSSHPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_uupSSHUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uupIAMUserARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateUserProfile Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

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

Defined in Network.AWS.OpsWorks.UpdateUserProfile

Data UpdateUserProfileResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

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

Defined in Network.AWS.OpsWorks.UpdateUserProfile

Show UpdateUserProfileResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

Generic UpdateUserProfileResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

Associated Types

type Rep UpdateUserProfileResponse :: Type -> Type #

NFData UpdateUserProfileResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

type Rep UpdateUserProfileResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateUserProfile

type Rep UpdateUserProfileResponse = D1 (MetaData "UpdateUserProfileResponse" "Network.AWS.OpsWorks.UpdateUserProfile" "amazonka-opsworks-1.6.1-DPqCyF3LO9t3rjfO10vXJE" False) (C1 (MetaCons "UpdateUserProfileResponse'" PrefixI False) (U1 :: Type -> Type))