amazonka-iam-1.4.0: Amazon Identity and Access Management 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.IAM.CreateUser

Contents

Description

Creates a new user for your AWS account.

For information about limitations on the number of users you can create, see Limitations on IAM Entities in the IAM User Guide.

Synopsis

Creating a Request

createUser Source

Arguments

:: Text

cuUserName

-> CreateUser 

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

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

Request Lenses

cuPath :: Lens' CreateUser (Maybe Text) Source

The path for the user name. For more information about paths, see IAM Identifiers in the Using IAM guide.

This parameter is optional. If it is not included, it defaults to a slash (/).

cuUserName :: Lens' CreateUser Text Source

The name of the user to create.

Destructuring the Response

createUserResponse Source

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

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

Response Lenses

cursUser :: Lens' CreateUserResponse (Maybe User) Source

Information about the user.