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 |
Returns information about a user, given the user name.
Synopsis
- data DescribeUser = DescribeUser' {}
- newDescribeUser :: Text -> Text -> Text -> DescribeUser
- describeUser_userName :: Lens' DescribeUser Text
- describeUser_awsAccountId :: Lens' DescribeUser Text
- describeUser_namespace :: Lens' DescribeUser Text
- data DescribeUserResponse = DescribeUserResponse' {}
- newDescribeUserResponse :: Int -> DescribeUserResponse
- describeUserResponse_requestId :: Lens' DescribeUserResponse (Maybe Text)
- describeUserResponse_user :: Lens' DescribeUserResponse (Maybe User)
- describeUserResponse_status :: Lens' DescribeUserResponse Int
Creating a Request
data DescribeUser Source #
See: newDescribeUser
smart constructor.
DescribeUser' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> DescribeUser |
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:userName:DescribeUser'
, describeUser_userName
- The name of the user that you want to describe.
$sel:awsAccountId:DescribeUser'
, describeUser_awsAccountId
- The ID for the Amazon Web Services account that the user is in.
Currently, you use the ID for the Amazon Web Services account that
contains your Amazon QuickSight account.
$sel:namespace:DescribeUser'
, describeUser_namespace
- The namespace. Currently, you should set this to default
.
Request Lenses
describeUser_userName :: Lens' DescribeUser Text Source #
The name of the user that you want to describe.
describeUser_awsAccountId :: Lens' DescribeUser Text Source #
The ID for the Amazon Web Services account that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
describeUser_namespace :: Lens' DescribeUser Text Source #
The namespace. Currently, you should set this to default
.
Destructuring the Response
data DescribeUserResponse Source #
See: newDescribeUserResponse
smart constructor.
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:requestId:DescribeUserResponse'
, describeUserResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:user:DescribeUserResponse'
, describeUserResponse_user
- The user name.
$sel:status:DescribeUserResponse'
, describeUserResponse_status
- The HTTP status of the request.
Response Lenses
describeUserResponse_requestId :: Lens' DescribeUserResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeUserResponse_user :: Lens' DescribeUserResponse (Maybe User) Source #
The user name.
describeUserResponse_status :: Lens' DescribeUserResponse Int Source #
The HTTP status of the request.