Class: Aws::IdentityStore::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::IdentityStore::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb
Overview
An API client for IdentityStore. To construct a client, you need to configure a :region and :credentials.
client = Aws::IdentityStore::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#create_group(params = {}) ⇒ Types::CreateGroupResponse
Creates a group within the specified identity store.
-
#create_group_membership(params = {}) ⇒ Types::CreateGroupMembershipResponse
Creates a relationship between a member and a group.
-
#create_user(params = {}) ⇒ Types::CreateUserResponse
Creates a user within the specified identity store.
-
#delete_group(params = {}) ⇒ Struct
Delete a group within an identity store given
GroupId. -
#delete_group_membership(params = {}) ⇒ Struct
Delete a membership within a group given
MembershipId. -
#delete_user(params = {}) ⇒ Struct
Deletes a user within an identity store given
UserId. -
#describe_group(params = {}) ⇒ Types::DescribeGroupResponse
Retrieves the group metadata and attributes from
GroupIdin an identity store. -
#describe_group_membership(params = {}) ⇒ Types::DescribeGroupMembershipResponse
Retrieves membership metadata and attributes from
MembershipIdin an identity store. -
#describe_identity_store(params = {}) ⇒ Types::DescribeIdentityStoreResponse
Retrieves details about the specified identity store, including its Amazon Resource Name (ARN) and network configuration.
-
#describe_user(params = {}) ⇒ Types::DescribeUserResponse
Retrieves the user metadata and attributes from the
UserIdin an identity store. -
#get_group_id(params = {}) ⇒ Types::GetGroupIdResponse
Retrieves
GroupIdin an identity store. -
#get_group_membership_id(params = {}) ⇒ Types::GetGroupMembershipIdResponse
Retrieves the
MembershipIdin an identity store. -
#get_user_id(params = {}) ⇒ Types::GetUserIdResponse
Retrieves the
UserIdin an identity store. -
#is_member_in_groups(params = {}) ⇒ Types::IsMemberInGroupsResponse
Checks the user's membership in all requested groups and returns if the member exists in all queried groups.
-
#list_group_memberships(params = {}) ⇒ Types::ListGroupMembershipsResponse
For the specified group in the specified identity store, returns the list of all
GroupMembershipobjects and returns results in paginated form. -
#list_group_memberships_for_member(params = {}) ⇒ Types::ListGroupMembershipsForMemberResponse
For the specified member in the specified identity store, returns the list of all
GroupMembershipobjects and returns results in paginated form. -
#list_groups(params = {}) ⇒ Types::ListGroupsResponse
Lists all groups in the identity store.
-
#list_identity_stores(params = {}) ⇒ Types::ListIdentityStoresResponse
Lists the identity stores that you have access to.
-
#list_users(params = {}) ⇒ Types::ListUsersResponse
Lists all users in the identity store.
-
#update_group(params = {}) ⇒ Types::UpdateGroupResponse
Updates the specified group metadata and attributes in the specified identity store.
-
#update_identity_store(params = {}) ⇒ Types::UpdateIdentityStoreResponse
Updates the configuration of the specified identity store, including its network configuration.
-
#update_user(params = {}) ⇒ Types::UpdateUserResponse
Updates the specified user metadata and attributes in the specified identity store.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
485 486 487 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 485 def initialize(*args) super end |
Instance Method Details
#create_group(params = {}) ⇒ Types::CreateGroupResponse
Creates a group within the specified identity store.
535 536 537 538 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 535 def create_group(params = {}, = {}) req = build_request(:create_group, params) req.send_request() end |
#create_group_membership(params = {}) ⇒ Types::CreateGroupMembershipResponse
Creates a relationship between a member and a group. The following
identifiers must be specified: GroupId, IdentityStoreId, and
MemberId.
589 590 591 592 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 589 def create_group_membership(params = {}, = {}) req = build_request(:create_group_membership, params) req.send_request() end |
#create_user(params = {}) ⇒ Types::CreateUserResponse
Creates a user within the specified identity store.
766 767 768 769 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 766 def create_user(params = {}, = {}) req = build_request(:create_user, params) req.send_request() end |
#delete_group(params = {}) ⇒ Struct
Delete a group within an identity store given GroupId.
808 809 810 811 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 808 def delete_group(params = {}, = {}) req = build_request(:delete_group, params) req.send_request() end |
#delete_group_membership(params = {}) ⇒ Struct
Delete a membership within a group given MembershipId.
843 844 845 846 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 843 def delete_group_membership(params = {}, = {}) req = build_request(:delete_group_membership, params) req.send_request() end |
#delete_user(params = {}) ⇒ Struct
Deletes a user within an identity store given UserId.
885 886 887 888 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 885 def delete_user(params = {}, = {}) req = build_request(:delete_user, params) req.send_request() end |
#describe_group(params = {}) ⇒ Types::DescribeGroupResponse
Retrieves the group metadata and attributes from GroupId in an
identity store.
963 964 965 966 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 963 def describe_group(params = {}, = {}) req = build_request(:describe_group, params) req.send_request() end |
#describe_group_membership(params = {}) ⇒ Types::DescribeGroupMembershipResponse
Retrieves membership metadata and attributes from MembershipId in an
identity store.
1032 1033 1034 1035 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 1032 def describe_group_membership(params = {}, = {}) req = build_request(:describe_group_membership, params) req.send_request() end |
#describe_identity_store(params = {}) ⇒ Types::DescribeIdentityStoreResponse
Retrieves details about the specified identity store, including its Amazon Resource Name (ARN) and network configuration.
1075 1076 1077 1078 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 1075 def describe_identity_store(params = {}, = {}) req = build_request(:describe_identity_store, params) req.send_request() end |
#describe_user(params = {}) ⇒ Types::DescribeUserResponse
Retrieves the user metadata and attributes from the UserId in an
identity store.
1220 1221 1222 1223 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 1220 def describe_user(params = {}, = {}) req = build_request(:describe_user, params) req.send_request() end |
#get_group_id(params = {}) ⇒ Types::GetGroupIdResponse
Retrieves GroupId in an identity store.
1284 1285 1286 1287 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 1284 def get_group_id(params = {}, = {}) req = build_request(:get_group_id, params) req.send_request() end |
#get_group_membership_id(params = {}) ⇒ Types::GetGroupMembershipIdResponse
Retrieves the MembershipId in an identity store.
1347 1348 1349 1350 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 1347 def get_group_membership_id(params = {}, = {}) req = build_request(:get_group_membership_id, params) req.send_request() end |
#get_user_id(params = {}) ⇒ Types::GetUserIdResponse
Retrieves the UserId in an identity store.
1411 1412 1413 1414 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 1411 def get_user_id(params = {}, = {}) req = build_request(:get_user_id, params) req.send_request() end |
#is_member_in_groups(params = {}) ⇒ Types::IsMemberInGroupsResponse
Checks the user's membership in all requested groups and returns if the member exists in all queried groups.
1472 1473 1474 1475 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 1472 def is_member_in_groups(params = {}, = {}) req = build_request(:is_member_in_groups, params) req.send_request() end |
#list_group_memberships(params = {}) ⇒ Types::ListGroupMembershipsResponse
For the specified group in the specified identity store, returns the
list of all GroupMembership objects and returns results in
paginated form.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1553 1554 1555 1556 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 1553 def list_group_memberships(params = {}, = {}) req = build_request(:list_group_memberships, params) req.send_request() end |
#list_group_memberships_for_member(params = {}) ⇒ Types::ListGroupMembershipsForMemberResponse
For the specified member in the specified identity store, returns the
list of all GroupMembership objects and returns results in
paginated form.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1634 1635 1636 1637 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 1634 def list_group_memberships_for_member(params = {}, = {}) req = build_request(:list_group_memberships_for_member, params) req.send_request() end |
#list_groups(params = {}) ⇒ Types::ListGroupsResponse
Lists all groups in the identity store. Returns a paginated list of
complete Group objects. Filtering for a Group by the DisplayName
attribute is deprecated. Instead, use the GetGroupId API action.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1724 1725 1726 1727 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 1724 def list_groups(params = {}, = {}) req = build_request(:list_groups, params) req.send_request() end |
#list_identity_stores(params = {}) ⇒ Types::ListIdentityStoresResponse
Lists the identity stores that you have access to. This operation
returns only the identity store ID and Amazon Resource Name (ARN) of
each identity store. To obtain additional information about an
identity store, call DescribeIdentityStore.
This operation returns results in paginated form. Use the NextToken
parameter to retrieve additional pages of results.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1775 1776 1777 1778 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 1775 def list_identity_stores(params = {}, = {}) req = build_request(:list_identity_stores, params) req.send_request() end |
#list_users(params = {}) ⇒ Types::ListUsersResponse
Lists all users in the identity store. Returns a paginated list of
complete User objects. Filtering for a User by the UserName
attribute is deprecated. Instead, use the GetUserId API action.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1915 1916 1917 1918 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 1915 def list_users(params = {}, = {}) req = build_request(:list_users, params) req.send_request() end |
#update_group(params = {}) ⇒ Types::UpdateGroupResponse
Updates the specified group metadata and attributes in the specified identity store.
1987 1988 1989 1990 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 1987 def update_group(params = {}, = {}) req = build_request(:update_group, params) req.send_request() end |
#update_identity_store(params = {}) ⇒ Types::UpdateIdentityStoreResponse
Updates the configuration of the specified identity store, including its network configuration.
2041 2042 2043 2044 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 2041 def update_identity_store(params = {}, = {}) req = build_request(:update_identity_store, params) req.send_request() end |
#update_user(params = {}) ⇒ Types::UpdateUserResponse
Updates the specified user metadata and attributes in the specified identity store.
2113 2114 2115 2116 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb', line 2113 def update_user(params = {}, = {}) req = build_request(:update_user, params) req.send_request() end |