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.CreateUserProfile

Contents

Description

Creates a new 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

createUserProfile Source #

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

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

data CreateUserProfile Source #

See: createUserProfile smart constructor.

Instances

Eq CreateUserProfile Source # 
Data CreateUserProfile Source # 

Methods

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

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

toConstr :: CreateUserProfile -> Constr #

dataTypeOf :: CreateUserProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: CreateUserProfile -> () #

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

Request Lenses

cupAllowSelfManagement :: Lens' CreateUserProfile (Maybe Bool) Source #

Whether users can specify their own SSH public key through the My Settings page. For more information, see Setting an IAM User's Public SSH Key.

cupSSHPublicKey :: Lens' CreateUserProfile (Maybe Text) Source #

The user's public SSH key.

cupSSHUsername :: Lens' CreateUserProfile (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

createUserProfileResponse Source #

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

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

data CreateUserProfileResponse Source #

Contains the response to a CreateUserProfile request.

See: createUserProfileResponse smart constructor.

Instances

Eq CreateUserProfileResponse Source # 
Data CreateUserProfileResponse Source # 

Methods

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

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

toConstr :: CreateUserProfileResponse -> Constr #

dataTypeOf :: CreateUserProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateUserProfileResponse Source # 
Show CreateUserProfileResponse Source # 
Generic CreateUserProfileResponse Source # 
NFData CreateUserProfileResponse Source # 
type Rep CreateUserProfileResponse Source # 
type Rep CreateUserProfileResponse = D1 (MetaData "CreateUserProfileResponse" "Network.AWS.OpsWorks.CreateUserProfile" "amazonka-opsworks-1.4.2-H1NWw2Q6WTvKlcJsv19jGW" False) (C1 (MetaCons "CreateUserProfileResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cuprsIAMUserARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cuprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses