@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSIdentityStore
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSIdentityStore
instead.
The AWS Single Sign-On (SSO) Identity Store service provides a single place to retrieve all of your identities (users and groups). For more information about AWS, see the AWS Single Sign-On User Guide.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateGroupResult |
createGroup(CreateGroupRequest createGroupRequest)
Creates a group within the specified identity store.
|
CreateGroupMembershipResult |
createGroupMembership(CreateGroupMembershipRequest createGroupMembershipRequest)
Creates a relationship between a member and a group.
|
CreateUserResult |
createUser(CreateUserRequest createUserRequest)
Creates a new user within the specified identity store.
|
DeleteGroupResult |
deleteGroup(DeleteGroupRequest deleteGroupRequest)
Delete a group within an identity store given
GroupId . |
DeleteGroupMembershipResult |
deleteGroupMembership(DeleteGroupMembershipRequest deleteGroupMembershipRequest)
Delete a membership within a group given
MembershipId . |
DeleteUserResult |
deleteUser(DeleteUserRequest deleteUserRequest)
Deletes a user within an identity store given
UserId . |
DescribeGroupResult |
describeGroup(DescribeGroupRequest describeGroupRequest)
Retrieves the group metadata and attributes from
GroupId in an identity store. |
DescribeGroupMembershipResult |
describeGroupMembership(DescribeGroupMembershipRequest describeGroupMembershipRequest)
Retrieves membership metadata and attributes from
MembershipId in a group. |
DescribeUserResult |
describeUser(DescribeUserRequest describeUserRequest)
Retrieves the user metadata and attributes from the
UserId in an identity store. |
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetGroupIdResult |
getGroupId(GetGroupIdRequest getGroupIdRequest)
Retrieves
GroupId in an identity store. |
GetGroupMembershipIdResult |
getGroupMembershipId(GetGroupMembershipIdRequest getGroupMembershipIdRequest)
Retrieves the
MembershipId in a group. |
GetUserIdResult |
getUserId(GetUserIdRequest getUserIdRequest)
Retrieves the
UserId in an identity store. |
IsMemberInGroupsResult |
isMemberInGroups(IsMemberInGroupsRequest isMemberInGroupsRequest)
Returns if a member exists in specified groups.
|
ListGroupMembershipsResult |
listGroupMemberships(ListGroupMembershipsRequest listGroupMembershipsRequest)
For the specified group in the specified identity store, returns the list of all
GroupMembership
objects and returns results in paginated form. |
ListGroupMembershipsForMemberResult |
listGroupMembershipsForMember(ListGroupMembershipsForMemberRequest listGroupMembershipsForMemberRequest)
For the specified member in the specified identity store, returns the list of all
GroupMembership
objects and returns results in paginated form. |
ListGroupsResult |
listGroups(ListGroupsRequest listGroupsRequest)
Filtering for a group by the group
DisplayName attribute is deprecated. |
ListUsersResult |
listUsers(ListUsersRequest listUsersRequest)
Filtering for a user by the
UserName attribute is deprecated. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateGroupResult |
updateGroup(UpdateGroupRequest updateGroupRequest)
For the specified group in the specified identity store, updates the group metadata and attributes.
|
UpdateUserResult |
updateUser(UpdateUserRequest updateUserRequest)
For the specified user in the specified identity store, updates the user metadata and attributes.
|
static final String ENDPOINT_PREFIX
CreateGroupResult createGroup(CreateGroupRequest createGroupRequest)
Creates a group within the specified identity store.
createGroupRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.ServiceQuotaExceededException
- The request would cause the number of users or groups in the identity store to exceed the maximum
allowed.CreateGroupMembershipResult createGroupMembership(CreateGroupMembershipRequest createGroupMembershipRequest)
Creates a relationship between a member and a group. The following identifiers must be specified:
GroupId
, IdentityStoreId
, and MemberId
.
createGroupMembershipRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.ServiceQuotaExceededException
- The request would cause the number of users or groups in the identity store to exceed the maximum
allowed.CreateUserResult createUser(CreateUserRequest createUserRequest)
Creates a new user within the specified identity store.
createUserRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.ServiceQuotaExceededException
- The request would cause the number of users or groups in the identity store to exceed the maximum
allowed.DeleteGroupResult deleteGroup(DeleteGroupRequest deleteGroupRequest)
Delete a group within an identity store given GroupId
.
deleteGroupRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.DeleteGroupMembershipResult deleteGroupMembership(DeleteGroupMembershipRequest deleteGroupMembershipRequest)
Delete a membership within a group given MembershipId
.
deleteGroupMembershipRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.DeleteUserResult deleteUser(DeleteUserRequest deleteUserRequest)
Deletes a user within an identity store given UserId
.
deleteUserRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.DescribeGroupResult describeGroup(DescribeGroupRequest describeGroupRequest)
Retrieves the group metadata and attributes from GroupId
in an identity store.
describeGroupRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.DescribeGroupMembershipResult describeGroupMembership(DescribeGroupMembershipRequest describeGroupMembershipRequest)
Retrieves membership metadata and attributes from MembershipId
in a group.
describeGroupMembershipRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.DescribeUserResult describeUser(DescribeUserRequest describeUserRequest)
Retrieves the user metadata and attributes from the UserId
in an identity store.
describeUserRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.GetGroupIdResult getGroupId(GetGroupIdRequest getGroupIdRequest)
Retrieves GroupId
in an identity store.
getGroupIdRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.GetGroupMembershipIdResult getGroupMembershipId(GetGroupMembershipIdRequest getGroupMembershipIdRequest)
Retrieves the MembershipId
in a group.
getGroupMembershipIdRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.GetUserIdResult getUserId(GetUserIdRequest getUserIdRequest)
Retrieves the UserId
in an identity store.
getUserIdRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.IsMemberInGroupsResult isMemberInGroups(IsMemberInGroupsRequest isMemberInGroupsRequest)
Returns if a member exists in specified groups.
isMemberInGroupsRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.ListGroupMembershipsResult listGroupMemberships(ListGroupMembershipsRequest listGroupMembershipsRequest)
For the specified group in the specified identity store, returns the list of all GroupMembership
objects and returns results in paginated form.
listGroupMembershipsRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.ListGroupMembershipsForMemberResult listGroupMembershipsForMember(ListGroupMembershipsForMemberRequest listGroupMembershipsForMemberRequest)
For the specified member in the specified identity store, returns the list of all GroupMembership
objects and returns results in paginated form.
listGroupMembershipsForMemberRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.ListGroupsResult listGroups(ListGroupsRequest listGroupsRequest)
Filtering for a group by the group DisplayName
attribute is deprecated. Instead, use the
GetGroupId
API action.
Lists all groups in the identity store. Returns a paginated list of complete Group
objects.
listGroupsRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.ListUsersResult listUsers(ListUsersRequest listUsersRequest)
Filtering for a user by the UserName
attribute is deprecated. Instead, use the
GetUserId
API action.
Lists all users in the identity store. Returns a paginated list of complete User
objects.
listUsersRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.UpdateGroupResult updateGroup(UpdateGroupRequest updateGroupRequest)
For the specified group in the specified identity store, updates the group metadata and attributes.
updateGroupRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.ServiceQuotaExceededException
- The request would cause the number of users or groups in the identity store to exceed the maximum
allowed.UpdateUserResult updateUser(UpdateUserRequest updateUserRequest)
For the specified user in the specified identity store, updates the user metadata and attributes.
updateUserRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
InternalServerException
- The request processing has failed because of an unknown error, exception or failure with an internal
server.ValidationException
- The request failed because it contains a syntax error.ServiceQuotaExceededException
- The request would cause the number of users or groups in the identity store to exceed the maximum
allowed.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.Copyright © 2022. All rights reserved.