| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.OpsWorks.CreateUserProfile
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.
http://docs.aws.amazon.com/opsworks/latest/APIReference/API_CreateUserProfile.html
- data CreateUserProfile
- createUserProfile :: Text -> CreateUserProfile
- cupAllowSelfManagement :: Lens' CreateUserProfile (Maybe Bool)
- cupIamUserArn :: Lens' CreateUserProfile Text
- cupSshPublicKey :: Lens' CreateUserProfile (Maybe Text)
- cupSshUsername :: Lens' CreateUserProfile (Maybe Text)
- data CreateUserProfileResponse
- createUserProfileResponse :: CreateUserProfileResponse
- cuprIamUserArn :: Lens' CreateUserProfileResponse (Maybe Text)
Request
data CreateUserProfile Source
Request constructor
Arguments
| :: Text | |
| -> CreateUserProfile |
CreateUserProfile constructor.
The fields accessible through corresponding lenses are:
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.
cupIamUserArn :: Lens' CreateUserProfile Text Source
The user's IAM ARN.
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.
Response
Response constructor
createUserProfileResponse :: CreateUserProfileResponse Source
CreateUserProfileResponse constructor.
The fields accessible through corresponding lenses are:
Response lenses
cuprIamUserArn :: Lens' CreateUserProfileResponse (Maybe Text) Source
The user's IAM ARN.