amazonka-kendra-2.0: Amazon KendraFrontendService SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kendra.Types.DataSourceGroup

Description

 
Synopsis

Documentation

data DataSourceGroup Source #

Data source information for user context filtering.

See: newDataSourceGroup smart constructor.

Constructors

DataSourceGroup' 

Fields

  • groupId :: Text

    The identifier of the group you want to add to your list of groups. This is for filtering search results based on the groups' access to documents.

  • dataSourceId :: Text

    The identifier of the data source group you want to add to your list of data source groups. This is for filtering search results based on the groups' access to documents in that data source.

Instances

Instances details
ToJSON DataSourceGroup Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceGroup

Generic DataSourceGroup Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceGroup

Associated Types

type Rep DataSourceGroup :: Type -> Type #

Read DataSourceGroup Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceGroup

Show DataSourceGroup Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceGroup

NFData DataSourceGroup Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceGroup

Methods

rnf :: DataSourceGroup -> () #

Eq DataSourceGroup Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceGroup

Hashable DataSourceGroup Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceGroup

type Rep DataSourceGroup Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceGroup

type Rep DataSourceGroup = D1 ('MetaData "DataSourceGroup" "Amazonka.Kendra.Types.DataSourceGroup" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "DataSourceGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "dataSourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDataSourceGroup Source #

Create a value of DataSourceGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:groupId:DataSourceGroup', dataSourceGroup_groupId - The identifier of the group you want to add to your list of groups. This is for filtering search results based on the groups' access to documents.

$sel:dataSourceId:DataSourceGroup', dataSourceGroup_dataSourceId - The identifier of the data source group you want to add to your list of data source groups. This is for filtering search results based on the groups' access to documents in that data source.

dataSourceGroup_groupId :: Lens' DataSourceGroup Text Source #

The identifier of the group you want to add to your list of groups. This is for filtering search results based on the groups' access to documents.

dataSourceGroup_dataSourceId :: Lens' DataSourceGroup Text Source #

The identifier of the data source group you want to add to your list of data source groups. This is for filtering search results based on the groups' access to documents in that data source.