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 |
Describes the specified user account. You can find the instance ID in the console (it’s the final part of the ARN). The console does not display the user IDs. Instead, list the users and note the IDs provided in the output.
Synopsis
- data DescribeUser = DescribeUser' {
- userId :: Text
- instanceId :: Text
- newDescribeUser :: Text -> Text -> DescribeUser
- describeUser_userId :: Lens' DescribeUser Text
- describeUser_instanceId :: Lens' DescribeUser Text
- data DescribeUserResponse = DescribeUserResponse' {
- user :: Maybe User
- httpStatus :: Int
- newDescribeUserResponse :: Int -> DescribeUserResponse
- describeUserResponse_user :: Lens' DescribeUserResponse (Maybe User)
- describeUserResponse_httpStatus :: Lens' DescribeUserResponse Int
Creating a Request
data DescribeUser Source #
See: newDescribeUser
smart constructor.
DescribeUser' | |
|
Instances
Create a value of DescribeUser
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:userId:DescribeUser'
, describeUser_userId
- The identifier of the user account.
$sel:instanceId:DescribeUser'
, describeUser_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
describeUser_userId :: Lens' DescribeUser Text Source #
The identifier of the user account.
describeUser_instanceId :: Lens' DescribeUser Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data DescribeUserResponse Source #
See: newDescribeUserResponse
smart constructor.
DescribeUserResponse' | |
|
Instances
newDescribeUserResponse Source #
Create a value of DescribeUserResponse
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:user:DescribeUserResponse'
, describeUserResponse_user
- Information about the user account and configuration settings.
$sel:httpStatus:DescribeUserResponse'
, describeUserResponse_httpStatus
- The response's http status code.
Response Lenses
describeUserResponse_user :: Lens' DescribeUserResponse (Maybe User) Source #
Information about the user account and configuration settings.
describeUserResponse_httpStatus :: Lens' DescribeUserResponse Int Source #
The response's http status code.