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.DescribeAccessControlConfiguration

Description

Gets information about an access control configuration that you created for your documents in an index. This includes user and group access information for your documents. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

Synopsis

Creating a Request

data DescribeAccessControlConfiguration Source #

Constructors

DescribeAccessControlConfiguration' 

Fields

  • indexId :: Text

    The identifier of the index for an access control configuration.

  • id :: Text

    The identifier of the access control configuration you want to get information on.

Instances

Instances details
ToJSON DescribeAccessControlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

ToHeaders DescribeAccessControlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

ToPath DescribeAccessControlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

ToQuery DescribeAccessControlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

AWSRequest DescribeAccessControlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

Generic DescribeAccessControlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

Associated Types

type Rep DescribeAccessControlConfiguration :: Type -> Type #

Read DescribeAccessControlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

Show DescribeAccessControlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

NFData DescribeAccessControlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

Eq DescribeAccessControlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

Hashable DescribeAccessControlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

type AWSResponse DescribeAccessControlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

type Rep DescribeAccessControlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

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

newDescribeAccessControlConfiguration Source #

Create a value of DescribeAccessControlConfiguration 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:indexId:DescribeAccessControlConfiguration', describeAccessControlConfiguration_indexId - The identifier of the index for an access control configuration.

DescribeAccessControlConfiguration, describeAccessControlConfiguration_id - The identifier of the access control configuration you want to get information on.

Request Lenses

describeAccessControlConfiguration_indexId :: Lens' DescribeAccessControlConfiguration Text Source #

The identifier of the index for an access control configuration.

describeAccessControlConfiguration_id :: Lens' DescribeAccessControlConfiguration Text Source #

The identifier of the access control configuration you want to get information on.

Destructuring the Response

data DescribeAccessControlConfigurationResponse Source #

Constructors

DescribeAccessControlConfigurationResponse' 

Fields

Instances

Instances details
Generic DescribeAccessControlConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

Read DescribeAccessControlConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

Show DescribeAccessControlConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

NFData DescribeAccessControlConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

Eq DescribeAccessControlConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

type Rep DescribeAccessControlConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeAccessControlConfiguration

type Rep DescribeAccessControlConfigurationResponse = D1 ('MetaData "DescribeAccessControlConfigurationResponse" "Amazonka.Kendra.DescribeAccessControlConfiguration" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "DescribeAccessControlConfigurationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accessControlList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Principal])) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "hierarchicalAccessControlList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty HierarchicalPrincipal))) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newDescribeAccessControlConfigurationResponse Source #

Create a value of DescribeAccessControlConfigurationResponse 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:

DescribeAccessControlConfigurationResponse, describeAccessControlConfigurationResponse_accessControlList - Information on principals (users and/or groups) and which documents they should have access to. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

$sel:description:DescribeAccessControlConfigurationResponse', describeAccessControlConfigurationResponse_description - The description for the access control configuration.

DescribeAccessControlConfigurationResponse, describeAccessControlConfigurationResponse_errorMessage - The error message containing details if there are issues processing the access control configuration.

DescribeAccessControlConfigurationResponse, describeAccessControlConfigurationResponse_hierarchicalAccessControlList - The list of principal lists that define the hierarchy for which documents users should have access to.

$sel:httpStatus:DescribeAccessControlConfigurationResponse', describeAccessControlConfigurationResponse_httpStatus - The response's http status code.

DescribeAccessControlConfigurationResponse, describeAccessControlConfigurationResponse_name - The name for the access control configuration.

Response Lenses

describeAccessControlConfigurationResponse_accessControlList :: Lens' DescribeAccessControlConfigurationResponse (Maybe [Principal]) Source #

Information on principals (users and/or groups) and which documents they should have access to. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

describeAccessControlConfigurationResponse_errorMessage :: Lens' DescribeAccessControlConfigurationResponse (Maybe Text) Source #

The error message containing details if there are issues processing the access control configuration.