Skip to content

PutGroupRequest

Source code in docs_src/capo_qbusiness/types/put_group_request.py
class PutGroupRequest(TypedDict, closed=True):
    application_id: "capo_qbusiness.types.application_id.ApplicationId"
    """<p>The identifier of the application in which the user and group mapping belongs.</p>"""
    index_id: "capo_qbusiness.types.index_id.IndexId"
    """<p>The identifier of the index in which you want to map users to their groups.</p>"""
    group_name: "capo_qbusiness.types.group_name.GroupName"
    """<p>The list that contains your users or sub groups that belong the same group. For example, the group "Company" includes the user "CEO" and the sub groups "Research", "Engineering", and "Sales and Marketing".</p>"""
    data_source_id: NotRequired["capo_qbusiness.types.data_source_id.DataSourceId"]
    """<p>The identifier of the data source for which you want to map users to their groups. This is useful if a group is tied to multiple data sources, but you only want the group to access documents of a certain data source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the company's documents stored in the data sources Confluence and Salesforce. However, "Sales and Marketing" team only needs access to customer-related documents stored in Salesforce.</p>"""
    type: "capo_qbusiness.types.membership_type.MembershipType"
    """<p>The type of the group.</p>"""
    group_members: "capo_qbusiness.types.group_members.GroupMembers"
    role_arn: NotRequired["capo_qbusiness.types.role_arn.RoleArn"]
    """<p>The Amazon Resource Name (ARN) of an IAM role that has access to the S3 file that contains your list of users that belong to a group.</p>"""

application_id instance-attribute

application_id: ApplicationId

The identifier of the application in which the user and group mapping belongs.

data_source_id instance-attribute

data_source_id: NotRequired[DataSourceId]

The identifier of the data source for which you want to map users to their groups. This is useful if a group is tied to multiple data sources, but you only want the group to access documents of a certain data source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the company's documents stored in the data sources Confluence and Salesforce. However, "Sales and Marketing" team only needs access to customer-related documents stored in Salesforce.

group_members instance-attribute

group_members: GroupMembers

group_name instance-attribute

group_name: GroupName

The list that contains your users or sub groups that belong the same group. For example, the group "Company" includes the user "CEO" and the sub groups "Research", "Engineering", and "Sales and Marketing".

index_id instance-attribute

index_id: IndexId

The identifier of the index in which you want to map users to their groups.

role_arn instance-attribute

role_arn: NotRequired[RoleArn]

The Amazon Resource Name (ARN) of an IAM role that has access to the S3 file that contains your list of users that belong to a group.

type instance-attribute

The type of the group.