amazonka-identitystore-2.0: Amazon SSO Identity Store SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IdentityStore.DescribeUser

Description

Retrieves the user metadata and attributes from the UserId in an identity store.

Synopsis

Creating a Request

data DescribeUser Source #

See: newDescribeUser smart constructor.

Constructors

DescribeUser' 

Fields

  • identityStoreId :: Text

    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.

  • userId :: Text

    The identifier for a user in the identity store.

Instances

Instances details
ToJSON DescribeUser Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

ToHeaders DescribeUser Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

ToPath DescribeUser Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

ToQuery DescribeUser Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

AWSRequest DescribeUser Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

Associated Types

type AWSResponse DescribeUser #

Generic DescribeUser Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

Associated Types

type Rep DescribeUser :: Type -> Type #

Read DescribeUser Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

Show DescribeUser Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

NFData DescribeUser Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

Methods

rnf :: DescribeUser -> () #

Eq DescribeUser Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

Hashable DescribeUser Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

type AWSResponse DescribeUser Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

type Rep DescribeUser Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

type Rep DescribeUser = D1 ('MetaData "DescribeUser" "Amazonka.IdentityStore.DescribeUser" "amazonka-identitystore-2.0-FD6RUaLi6gx9YE16ATGTMj" 'False) (C1 ('MetaCons "DescribeUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identityStoreId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeUser Source #

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.

Constructors

DescribeUserResponse' 

Fields

Instances

Instances details
Generic DescribeUserResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

Associated Types

type Rep DescribeUserResponse :: Type -> Type #

Show DescribeUserResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

NFData DescribeUserResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

Methods

rnf :: DescribeUserResponse -> () #

Eq DescribeUserResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

type Rep DescribeUserResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.DescribeUser

type Rep DescribeUserResponse = D1 ('MetaData "DescribeUserResponse" "Amazonka.IdentityStore.DescribeUser" "amazonka-identitystore-2.0-FD6RUaLi6gx9YE16ATGTMj" 'False) (C1 ('MetaCons "DescribeUserResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "addresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Address))) :*: S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "emails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Email))) :*: S1 ('MetaSel ('Just "externalIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty ExternalId))))) :*: ((S1 ('MetaSel ('Just "locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Name))) :*: (S1 ('MetaSel ('Just "nickName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "phoneNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty PhoneNumber)))))) :*: (((S1 ('MetaSel ('Just "preferredLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "profileUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "timezone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: ((S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "userType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "identityStoreId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))))

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:

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_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_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_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_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.