Class: Aws::IdentityStore::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::IdentityStore::Client
- Includes:
- ClientStubs
- Defined in:
- 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](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
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 ‘GroupId` in an identity store.
-
#describe_group_membership(params = {}) ⇒ Types::DescribeGroupMembershipResponse
Retrieves membership metadata and attributes from ‘MembershipId` in an identity store.
-
#describe_user(params = {}) ⇒ Types::DescribeUserResponse
Retrieves the user metadata and attributes from the ‘UserId` in an identity store.
-
#get_group_id(params = {}) ⇒ Types::GetGroupIdResponse
Retrieves ‘GroupId` in an identity store.
-
#get_group_membership_id(params = {}) ⇒ Types::GetGroupMembershipIdResponse
Retrieves the ‘MembershipId` in an identity store.
-
#get_user_id(params = {}) ⇒ Types::GetUserIdResponse
Retrieves the ‘UserId` in 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 ‘GroupMembership` objects 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 ‘GroupMembership` objects and returns results in paginated form.
-
#list_groups(params = {}) ⇒ Types::ListGroupsResponse
Lists all groups in the identity store.
-
#list_users(params = {}) ⇒ Types::ListUsersResponse
Lists all users in the identity store.
-
#update_group(params = {}) ⇒ Struct
For the specified group in the specified identity store, updates the group metadata and attributes.
-
#update_user(params = {}) ⇒ Struct
For the specified user in the specified identity store, updates the user metadata and attributes.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
474 475 476 |
# File 'lib/aws-sdk-identitystore/client.rb', line 474 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1624 1625 1626 |
# File 'lib/aws-sdk-identitystore/client.rb', line 1624 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1627 1628 1629 |
# File 'lib/aws-sdk-identitystore/client.rb', line 1627 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 |
# File 'lib/aws-sdk-identitystore/client.rb', line 1597 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::IdentityStore') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-identitystore' context[:gem_version] = '1.50.0' Seahorse::Client::Request.new(handlers, context) end |
#create_group(params = {}) ⇒ Types::CreateGroupResponse
Creates a group within the specified identity store.
516 517 518 519 |
# File 'lib/aws-sdk-identitystore/client.rb', line 516 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`.
560 561 562 563 |
# File 'lib/aws-sdk-identitystore/client.rb', line 560 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.
685 686 687 688 |
# File 'lib/aws-sdk-identitystore/client.rb', line 685 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`.
711 712 713 714 |
# File 'lib/aws-sdk-identitystore/client.rb', line 711 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`.
737 738 739 740 |
# File 'lib/aws-sdk-identitystore/client.rb', line 737 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`.
763 764 765 766 |
# File 'lib/aws-sdk-identitystore/client.rb', line 763 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.
<note markdown=“1”> If you have administrator access to a member account, you can use this API from the member account. Read about [member accounts] in the *Organizations User Guide*.
</note>
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html
820 821 822 823 |
# File 'lib/aws-sdk-identitystore/client.rb', line 820 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.
<note markdown=“1”> If you have administrator access to a member account, you can use this API from the member account. Read about [member accounts] in the *Organizations User Guide*.
</note>
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html
869 870 871 872 |
# File 'lib/aws-sdk-identitystore/client.rb', line 869 def describe_group_membership(params = {}, = {}) req = build_request(:describe_group_membership, params) req.send_request() end |
#describe_user(params = {}) ⇒ Types::DescribeUserResponse
Retrieves the user metadata and attributes from the ‘UserId` in an identity store.
<note markdown=“1”> If you have administrator access to a member account, you can use this API from the member account. Read about [member accounts] in the *Organizations User Guide*.
</note>
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html
967 968 969 970 |
# File 'lib/aws-sdk-identitystore/client.rb', line 967 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.
<note markdown=“1”> If you have administrator access to a member account, you can use this API from the member account. Read about [member accounts] in the *Organizations User Guide*.
</note>
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html
1024 1025 1026 1027 |
# File 'lib/aws-sdk-identitystore/client.rb', line 1024 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.
<note markdown=“1”> If you have administrator access to a member account, you can use this API from the member account. Read about [member accounts] in the *Organizations User Guide*.
</note>
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html
1076 1077 1078 1079 |
# File 'lib/aws-sdk-identitystore/client.rb', line 1076 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.
<note markdown=“1”> If you have administrator access to a member account, you can use this API from the member account. Read about [member accounts] in the *Organizations User Guide*.
</note>
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html
1133 1134 1135 1136 |
# File 'lib/aws-sdk-identitystore/client.rb', line 1133 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.
<note markdown=“1”> If you have administrator access to a member account, you can use this API from the member account. Read about [member accounts] in the *Organizations User Guide*.
</note>
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html
1185 1186 1187 1188 |
# File 'lib/aws-sdk-identitystore/client.rb', line 1185 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.
<note markdown=“1”> If you have administrator access to a member account, you can use this API from the member account. Read about [member accounts] in the *Organizations User Guide*.
</note>
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1252 1253 1254 1255 |
# File 'lib/aws-sdk-identitystore/client.rb', line 1252 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.
<note markdown=“1”> If you have administrator access to a member account, you can use this API from the member account. Read about [member accounts] in the *Organizations User Guide*.
</note>
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1324 1325 1326 1327 |
# File 'lib/aws-sdk-identitystore/client.rb', line 1324 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.
<note markdown=“1”> If you have administrator access to a member account, you can use this API from the member account. Read about [member accounts] in the *Organizations User Guide*.
</note>
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1404 1405 1406 1407 |
# File 'lib/aws-sdk-identitystore/client.rb', line 1404 def list_groups(params = {}, = {}) req = build_request(:list_groups, 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.
<note markdown=“1”> If you have administrator access to a member account, you can use this API from the member account. Read about [member accounts] in the *Organizations User Guide*.
</note>
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1514 1515 1516 1517 |
# File 'lib/aws-sdk-identitystore/client.rb', line 1514 def list_users(params = {}, = {}) req = build_request(:list_users, params) req.send_request() end |
#update_group(params = {}) ⇒ Struct
For the specified group in the specified identity store, updates the group metadata and attributes.
1551 1552 1553 1554 |
# File 'lib/aws-sdk-identitystore/client.rb', line 1551 def update_group(params = {}, = {}) req = build_request(:update_group, params) req.send_request() end |
#update_user(params = {}) ⇒ Struct
For the specified user in the specified identity store, updates the user metadata and attributes.
1588 1589 1590 1591 |
# File 'lib/aws-sdk-identitystore/client.rb', line 1588 def update_user(params = {}, = {}) req = build_request(:update_user, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1617 1618 1619 |
# File 'lib/aws-sdk-identitystore/client.rb', line 1617 def waiter_names [] end |