| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.AlexaBusiness.CreateUser
Description
Creates a user.
Synopsis
- createUser :: Text -> CreateUser
- data CreateUser
- cuEmail :: Lens' CreateUser (Maybe Text)
- cuLastName :: Lens' CreateUser (Maybe Text)
- cuFirstName :: Lens' CreateUser (Maybe Text)
- cuClientRequestToken :: Lens' CreateUser (Maybe Text)
- cuTags :: Lens' CreateUser [Tag]
- cuUserId :: Lens' CreateUser Text
- createUserResponse :: Int -> CreateUserResponse
- data CreateUserResponse
- cursUserARN :: Lens' CreateUserResponse (Maybe Text)
- cursResponseStatus :: Lens' CreateUserResponse Int
Creating a Request
Arguments
| :: 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:
cuEmail- The email address for the user.cuLastName- The last name for the user.cuFirstName- The first name for the user.cuClientRequestToken- A unique, user-specified identifier for this request that ensures idempotency.cuTags- The tags for the user.cuUserId- The ARN for the user.
data CreateUser Source #
See: createUser smart constructor.
Instances
Request Lenses
cuLastName :: Lens' CreateUser (Maybe Text) Source #
The last name for the user.
cuFirstName :: Lens' CreateUser (Maybe Text) Source #
The first name for the user.
cuClientRequestToken :: Lens' CreateUser (Maybe Text) Source #
A unique, user-specified identifier for this request that ensures idempotency.
Destructuring the Response
Arguments
| :: Int | |
| -> CreateUserResponse |
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:
cursUserARN- The ARN of the newly created user in the response.cursResponseStatus- -- | The response status code.
data CreateUserResponse Source #
See: createUserResponse smart constructor.
Instances
Response Lenses
cursUserARN :: Lens' CreateUserResponse (Maybe Text) Source #
The ARN of the newly created user in the response.
cursResponseStatus :: Lens' CreateUserResponse Int Source #
- - | The response status code.