Copyright | (c) 2013-2021 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 |
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.
CreateAppInstanceUser' | |
|
Instances
newCreateAppInstanceUser Source #
:: 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:
$sel:metadata:CreateAppInstanceUser'
, createAppInstanceUser_metadata
- The request's metadata. Limited to a 1KB string in UTF-8.
$sel:tags:CreateAppInstanceUser'
, createAppInstanceUser_tags
- Tags assigned to the AppInstanceUser
.
$sel:appInstanceArn:CreateAppInstanceUser'
, createAppInstanceUser_appInstanceArn
- The ARN of the AppInstance
request.
$sel:appInstanceUserId:CreateAppInstanceUser'
, createAppInstanceUser_appInstanceUserId
- The user ID of the AppInstance
.
$sel:name: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.
CreateAppInstanceUserResponse' | |
|
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:
$sel:appInstanceUserArn: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.