IdentityStore.Client.
get_user_id
(**kwargs)¶Retrieves the UserId
in an identity store.
See also: AWS API Documentation
Request Syntax
response = client.get_user_id(
IdentityStoreId='string',
AlternateIdentifier={
'ExternalId': {
'Issuer': 'string',
'Id': 'string'
},
'UniqueAttribute': {
'AttributePath': 'string',
'AttributeValue': {...}|[...]|123|123.4|'string'|True|None
}
}
)
[REQUIRED]
The globally unique identifier for the identity store.
[REQUIRED]
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
.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: ExternalId
, UniqueAttribute
.
The identifier issued to this resource by an external identity provider.
The issuer for an external identifier.
The identifier issued to this resource by an external identity provider.
An entity attribute that's unique to a specific entity.
A string representation of the path to a given attribute or sub-attribute. Supports JMESPath.
The value of the attribute. This is a Document
type. This type is not supported by Java V1, Go V1, and older versions of the AWS CLI.
dict
Response Syntax
{
'UserId': 'string',
'IdentityStoreId': 'string'
}
Response Structure
(dict) --
UserId (string) --
The identifier for a user in the identity store.
IdentityStoreId (string) --
The globally unique identifier for the identity store.
Exceptions
IdentityStore.Client.exceptions.ResourceNotFoundException
IdentityStore.Client.exceptions.ThrottlingException
IdentityStore.Client.exceptions.AccessDeniedException
IdentityStore.Client.exceptions.InternalServerException
IdentityStore.Client.exceptions.ValidationException