| 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 |
Amazonka.IdentityStore.GetUserId
Description
Retrieves the UserId in an identity store.
Synopsis
- data GetUserId = GetUserId' {}
- newGetUserId :: Text -> AlternateIdentifier -> GetUserId
- getUserId_identityStoreId :: Lens' GetUserId Text
- getUserId_alternateIdentifier :: Lens' GetUserId AlternateIdentifier
- data GetUserIdResponse = GetUserIdResponse' {
- httpStatus :: Int
- userId :: Text
- identityStoreId :: Text
- newGetUserIdResponse :: Int -> Text -> Text -> GetUserIdResponse
- getUserIdResponse_httpStatus :: Lens' GetUserIdResponse Int
- getUserIdResponse_userId :: Lens' GetUserIdResponse Text
- getUserIdResponse_identityStoreId :: Lens' GetUserIdResponse Text
Creating a Request
See: newGetUserId smart constructor.
Constructors
| GetUserId' | |
Fields
| |
Instances
Create a value of GetUserId 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:
GetUserId, getUserId_identityStoreId - The globally unique identifier for the identity store.
$sel:alternateIdentifier:GetUserId', getUserId_alternateIdentifier - A unique identifier for a user or group that is not the primary
identifier. This value can be an identifier from an external identity
provider (IdP) that is associated with the user, the group, or a unique
attribute. For example, a unique UserDisplayName.
Request Lenses
getUserId_identityStoreId :: Lens' GetUserId Text Source #
The globally unique identifier for the identity store.
getUserId_alternateIdentifier :: Lens' GetUserId AlternateIdentifier Source #
A unique identifier for a user or group that is not the primary
identifier. This value can be an identifier from an external identity
provider (IdP) that is associated with the user, the group, or a unique
attribute. For example, a unique UserDisplayName.
Destructuring the Response
data GetUserIdResponse Source #
See: newGetUserIdResponse smart constructor.
Constructors
| GetUserIdResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> GetUserIdResponse |
Create a value of GetUserIdResponse 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:httpStatus:GetUserIdResponse', getUserIdResponse_httpStatus - The response's http status code.
GetUserIdResponse, getUserIdResponse_userId - The identifier for a user in the identity store.
GetUserId, getUserIdResponse_identityStoreId - The globally unique identifier for the identity store.
Response Lenses
getUserIdResponse_httpStatus :: Lens' GetUserIdResponse Int Source #
The response's http status code.
getUserIdResponse_userId :: Lens' GetUserIdResponse Text Source #
The identifier for a user in the identity store.
getUserIdResponse_identityStoreId :: Lens' GetUserIdResponse Text Source #
The globally unique identifier for the identity store.