Class: Aws::Kendra::Types::GroupMembers

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb

Overview

A list of users or sub groups that belong to a group. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#member_groupsArray<Types::MemberGroup>

A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".

Returns:



5187
5188
5189
5190
5191
5192
5193
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5187

class GroupMembers < Struct.new(
  :member_groups,
  :member_users,
  :s3_pathfor_group_members)
  SENSITIVE = []
  include Aws::Structure
end

#member_usersArray<Types::MemberUser>

A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.

Returns:



5187
5188
5189
5190
5191
5192
5193
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5187

class GroupMembers < Struct.new(
  :member_groups,
  :member_users,
  :s3_pathfor_group_members)
  SENSITIVE = []
  include Aws::Structure
end

#s3_pathfor_group_membersTypes::S3Path

If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.

You can download this example S3 file that uses the correct format for listing group members. Note, dataSourceId is optional. The value of type for a group is always GROUP and for a user it is always USER.

Returns:



5187
5188
5189
5190
5191
5192
5193
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5187

class GroupMembers < Struct.new(
  :member_groups,
  :member_users,
  :s3_pathfor_group_members)
  SENSITIVE = []
  include Aws::Structure
end