| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Chime.CreateAppInstanceUser
Description
Creates a user under an Amazon Chime AppInstance. The request consists
of a unique appInstanceUserId and Name for that user.
Synopsis
- data CreateAppInstanceUser = CreateAppInstanceUser' {}
- newCreateAppInstanceUser :: Text -> Text -> Text -> Text -> CreateAppInstanceUser
- createAppInstanceUser_metadata :: Lens' CreateAppInstanceUser (Maybe Text)
- createAppInstanceUser_tags :: Lens' CreateAppInstanceUser (Maybe (NonEmpty Tag))
- createAppInstanceUser_appInstanceArn :: Lens' CreateAppInstanceUser Text
- createAppInstanceUser_appInstanceUserId :: Lens' CreateAppInstanceUser Text
- createAppInstanceUser_name :: Lens' CreateAppInstanceUser Text
- createAppInstanceUser_clientRequestToken :: Lens' CreateAppInstanceUser Text
- data CreateAppInstanceUserResponse = CreateAppInstanceUserResponse' {}
- newCreateAppInstanceUserResponse :: Int -> CreateAppInstanceUserResponse
- createAppInstanceUserResponse_appInstanceUserArn :: Lens' CreateAppInstanceUserResponse (Maybe Text)
- createAppInstanceUserResponse_httpStatus :: Lens' CreateAppInstanceUserResponse Int
Creating a Request
data CreateAppInstanceUser Source #
See: newCreateAppInstanceUser smart constructor.
Constructors
| CreateAppInstanceUser' | |
Fields
| |
Instances
newCreateAppInstanceUser Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> CreateAppInstanceUser |
Create a value of CreateAppInstanceUser with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateAppInstanceUser, createAppInstanceUser_metadata - The request's metadata. Limited to a 1KB string in UTF-8.
CreateAppInstanceUser, createAppInstanceUser_tags - Tags assigned to the AppInstanceUser.
CreateAppInstanceUser, createAppInstanceUser_appInstanceArn - The ARN of the AppInstance request.
$sel:appInstanceUserId:CreateAppInstanceUser', createAppInstanceUser_appInstanceUserId - The user ID of the AppInstance.
CreateAppInstanceUser, createAppInstanceUser_name - The user's name.
$sel:clientRequestToken:CreateAppInstanceUser', createAppInstanceUser_clientRequestToken - The token assigned to the user requesting an AppInstance.
Request Lenses
createAppInstanceUser_metadata :: Lens' CreateAppInstanceUser (Maybe Text) Source #
The request's metadata. Limited to a 1KB string in UTF-8.
createAppInstanceUser_tags :: Lens' CreateAppInstanceUser (Maybe (NonEmpty Tag)) Source #
Tags assigned to the AppInstanceUser.
createAppInstanceUser_appInstanceArn :: Lens' CreateAppInstanceUser Text Source #
The ARN of the AppInstance request.
createAppInstanceUser_appInstanceUserId :: Lens' CreateAppInstanceUser Text Source #
The user ID of the AppInstance.
createAppInstanceUser_name :: Lens' CreateAppInstanceUser Text Source #
The user's name.
createAppInstanceUser_clientRequestToken :: Lens' CreateAppInstanceUser Text Source #
The token assigned to the user requesting an AppInstance.
Destructuring the Response
data CreateAppInstanceUserResponse Source #
See: newCreateAppInstanceUserResponse smart constructor.
Constructors
| CreateAppInstanceUserResponse' | |
Fields
| |
Instances
newCreateAppInstanceUserResponse Source #
Create a value of CreateAppInstanceUserResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateAppInstanceUserResponse, createAppInstanceUserResponse_appInstanceUserArn - The user's ARN.
$sel:httpStatus:CreateAppInstanceUserResponse', createAppInstanceUserResponse_httpStatus - The response's http status code.
Response Lenses
createAppInstanceUserResponse_appInstanceUserArn :: Lens' CreateAppInstanceUserResponse (Maybe Text) Source #
The user's ARN.
createAppInstanceUserResponse_httpStatus :: Lens' CreateAppInstanceUserResponse Int Source #
The response's http status code.