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

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

Overview

Note:

When making an API call, you may pass GroupMembers data as a hash:

{
  member_groups: [
    {
      group_id: "GroupId", # required
      data_source_id: "DataSourceId",
    },
  ],
  member_users: [
    {
      user_id: "UserId", # required
    },
  ],
  s3_pathfor_group_members: {
    bucket: "S3BucketName", # required
    key: "S3ObjectKey", # required
  },
}

A list of users or sub groups that belong to a group. Users and groups are useful for filtering search results to different users based on their group's 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:



4896
4897
4898
4899
4900
4901
4902
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 4896

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:



4896
4897
4898
4899
4900
4901
4902
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 4896

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:



4896
4897
4898
4899
4900
4901
4902
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 4896

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