Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
See: AWS API Reference for CreateUser.
Creating a Request
:: Text | |
-> 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:
data CreateUser Source
See: createUser
smart constructor.
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
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:
data CreateUserResponse Source
Contains the response to a successful CreateUser request.
See: createUserResponse
smart constructor.
Response Lenses
cursResponseStatus :: Lens' CreateUserResponse Int Source
The response status code.