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 |
Retrieves the user metadata and attributes from the UserId
in an
identity store.
Synopsis
- data DescribeUser = DescribeUser' {
- identityStoreId :: Text
- userId :: Text
- newDescribeUser :: Text -> Text -> DescribeUser
- describeUser_identityStoreId :: Lens' DescribeUser Text
- describeUser_userId :: Lens' DescribeUser Text
- data DescribeUserResponse = DescribeUserResponse' {
- addresses :: Maybe (NonEmpty Address)
- displayName :: Maybe (Sensitive Text)
- emails :: Maybe (NonEmpty Email)
- externalIds :: Maybe (NonEmpty ExternalId)
- locale :: Maybe (Sensitive Text)
- name :: Maybe Name
- nickName :: Maybe (Sensitive Text)
- phoneNumbers :: Maybe (NonEmpty PhoneNumber)
- preferredLanguage :: Maybe (Sensitive Text)
- profileUrl :: Maybe (Sensitive Text)
- timezone :: Maybe (Sensitive Text)
- title :: Maybe (Sensitive Text)
- userName :: Maybe (Sensitive Text)
- userType :: Maybe (Sensitive Text)
- httpStatus :: Int
- userId :: Text
- identityStoreId :: Text
- newDescribeUserResponse :: Int -> Text -> Text -> DescribeUserResponse
- describeUserResponse_addresses :: Lens' DescribeUserResponse (Maybe (NonEmpty Address))
- describeUserResponse_displayName :: Lens' DescribeUserResponse (Maybe Text)
- describeUserResponse_emails :: Lens' DescribeUserResponse (Maybe (NonEmpty Email))
- describeUserResponse_externalIds :: Lens' DescribeUserResponse (Maybe (NonEmpty ExternalId))
- describeUserResponse_locale :: Lens' DescribeUserResponse (Maybe Text)
- describeUserResponse_name :: Lens' DescribeUserResponse (Maybe Name)
- describeUserResponse_nickName :: Lens' DescribeUserResponse (Maybe Text)
- describeUserResponse_phoneNumbers :: Lens' DescribeUserResponse (Maybe (NonEmpty PhoneNumber))
- describeUserResponse_preferredLanguage :: Lens' DescribeUserResponse (Maybe Text)
- describeUserResponse_profileUrl :: Lens' DescribeUserResponse (Maybe Text)
- describeUserResponse_timezone :: Lens' DescribeUserResponse (Maybe Text)
- describeUserResponse_title :: Lens' DescribeUserResponse (Maybe Text)
- describeUserResponse_userName :: Lens' DescribeUserResponse (Maybe Text)
- describeUserResponse_userType :: Lens' DescribeUserResponse (Maybe Text)
- describeUserResponse_httpStatus :: Lens' DescribeUserResponse Int
- describeUserResponse_userId :: Lens' DescribeUserResponse Text
- describeUserResponse_identityStoreId :: Lens' DescribeUserResponse Text
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:
DescribeUser
, describeUser_identityStoreId
- The globally unique identifier for the identity store, such as
d-1234567890
. In this example, d-
is a fixed prefix, and
1234567890
is a randomly generated string that contains numbers and
lower case letters. This value is generated at the time that a new
identity store is created.
DescribeUser
, describeUser_userId
- The identifier for a user in the identity store.
Request Lenses
describeUser_identityStoreId :: Lens' DescribeUser Text Source #
The globally unique identifier for the identity store, such as
d-1234567890
. In this example, d-
is a fixed prefix, and
1234567890
is a randomly generated string that contains numbers and
lower case letters. This value is generated at the time that a new
identity store is created.
describeUser_userId :: Lens' DescribeUser Text Source #
The identifier for a user in the identity store.
Destructuring the Response
data DescribeUserResponse Source #
See: newDescribeUserResponse
smart constructor.
DescribeUserResponse' | |
|
Instances
newDescribeUserResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> DescribeUserResponse |
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:
DescribeUserResponse
, describeUserResponse_addresses
- The user's physical address.
DescribeUserResponse
, describeUserResponse_displayName
- The user's name value for display.
DescribeUserResponse
, describeUserResponse_emails
- The user's email value.
DescribeUserResponse
, describeUserResponse_externalIds
- A list of ExternalId
objects that contains the identifiers issued to
this resource by an external identity provider.
DescribeUserResponse
, describeUserResponse_locale
- A string containing the user's geographical region or location.
DescribeUserResponse
, describeUserResponse_name
- The name of the user.
DescribeUserResponse
, describeUserResponse_nickName
- An alternative descriptive name for the user.
DescribeUserResponse
, describeUserResponse_phoneNumbers
- A list of PhoneNumber
objects associated with a user.
DescribeUserResponse
, describeUserResponse_preferredLanguage
- The preferred language of the user.
DescribeUserResponse
, describeUserResponse_profileUrl
- A URL link for the user's profile.
DescribeUserResponse
, describeUserResponse_timezone
- The time zone for a user.
DescribeUserResponse
, describeUserResponse_title
- A string containing the user's title.
DescribeUserResponse
, describeUserResponse_userName
- A unique string used to identify the user. The length limit is 128
characters. This value can consist of letters, accented characters,
symbols, numbers, and punctuation. This value is specified at the time
the user is created and stored as an attribute of the user object in the
identity store.
DescribeUserResponse
, describeUserResponse_userType
- A string indicating the user's type.
$sel:httpStatus:DescribeUserResponse'
, describeUserResponse_httpStatus
- The response's http status code.
DescribeUser
, describeUserResponse_userId
- The identifier for a user in the identity store.
DescribeUser
, describeUserResponse_identityStoreId
- The globally unique identifier for the identity store.
Response Lenses
describeUserResponse_addresses :: Lens' DescribeUserResponse (Maybe (NonEmpty Address)) Source #
The user's physical address.
describeUserResponse_displayName :: Lens' DescribeUserResponse (Maybe Text) Source #
The user's name value for display.
describeUserResponse_emails :: Lens' DescribeUserResponse (Maybe (NonEmpty Email)) Source #
The user's email value.
describeUserResponse_externalIds :: Lens' DescribeUserResponse (Maybe (NonEmpty ExternalId)) Source #
A list of ExternalId
objects that contains the identifiers issued to
this resource by an external identity provider.
describeUserResponse_locale :: Lens' DescribeUserResponse (Maybe Text) Source #
A string containing the user's geographical region or location.
describeUserResponse_name :: Lens' DescribeUserResponse (Maybe Name) Source #
The name of the user.
describeUserResponse_nickName :: Lens' DescribeUserResponse (Maybe Text) Source #
An alternative descriptive name for the user.
describeUserResponse_phoneNumbers :: Lens' DescribeUserResponse (Maybe (NonEmpty PhoneNumber)) Source #
A list of PhoneNumber
objects associated with a user.
describeUserResponse_preferredLanguage :: Lens' DescribeUserResponse (Maybe Text) Source #
The preferred language of the user.
describeUserResponse_profileUrl :: Lens' DescribeUserResponse (Maybe Text) Source #
A URL link for the user's profile.
describeUserResponse_timezone :: Lens' DescribeUserResponse (Maybe Text) Source #
The time zone for a user.
describeUserResponse_title :: Lens' DescribeUserResponse (Maybe Text) Source #
A string containing the user's title.
describeUserResponse_userName :: Lens' DescribeUserResponse (Maybe Text) Source #
A unique string used to identify the user. The length limit is 128 characters. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store.
describeUserResponse_userType :: Lens' DescribeUserResponse (Maybe Text) Source #
A string indicating the user's type.
describeUserResponse_httpStatus :: Lens' DescribeUserResponse Int Source #
The response's http status code.
describeUserResponse_userId :: Lens' DescribeUserResponse Text Source #
The identifier for a user in the identity store.
describeUserResponse_identityStoreId :: Lens' DescribeUserResponse Text Source #
The globally unique identifier for the identity store.