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

Description

Gets information about an existing Amazon Kendra index.

Synopsis

Creating a Request

data DescribeIndex Source #

See: newDescribeIndex smart constructor.

Constructors

DescribeIndex' 

Fields

  • id :: Text

    The identifier of the index you want to get information on.

Instances

Instances details
ToJSON DescribeIndex Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

ToHeaders DescribeIndex Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

ToPath DescribeIndex Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

ToQuery DescribeIndex Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

AWSRequest DescribeIndex Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

Associated Types

type AWSResponse DescribeIndex #

Generic DescribeIndex Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

Associated Types

type Rep DescribeIndex :: Type -> Type #

Read DescribeIndex Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

Show DescribeIndex Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

NFData DescribeIndex Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

Methods

rnf :: DescribeIndex -> () #

Eq DescribeIndex Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

Hashable DescribeIndex Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

type AWSResponse DescribeIndex Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

type Rep DescribeIndex Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

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

newDescribeIndex Source #

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

DescribeIndex, describeIndex_id - The identifier of the index you want to get information on.

Request Lenses

describeIndex_id :: Lens' DescribeIndex Text Source #

The identifier of the index you want to get information on.

Destructuring the Response

data DescribeIndexResponse Source #

See: newDescribeIndexResponse smart constructor.

Constructors

DescribeIndexResponse' 

Fields

Instances

Instances details
Generic DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

Associated Types

type Rep DescribeIndexResponse :: Type -> Type #

Show DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

NFData DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

Methods

rnf :: DescribeIndexResponse -> () #

Eq DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

type Rep DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeIndex

type Rep DescribeIndexResponse = D1 ('MetaData "DescribeIndexResponse" "Amazonka.Kendra.DescribeIndex" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "DescribeIndexResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "capacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CapacityUnitsConfiguration)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "documentMetadataConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DocumentMetadataConfiguration])))) :*: ((S1 ('MetaSel ('Just "edition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IndexEdition)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "indexStatistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IndexStatistics))))) :*: (((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "serverSideEncryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerSideEncryptionConfiguration)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IndexStatus)))) :*: ((S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "userContextPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserContextPolicy))) :*: (S1 ('MetaSel ('Just "userGroupResolutionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserGroupResolutionConfiguration)) :*: (S1 ('MetaSel ('Just "userTokenConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserTokenConfiguration])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))))

newDescribeIndexResponse Source #

Create a value of DescribeIndexResponse 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:capacityUnits:DescribeIndexResponse', describeIndexResponse_capacityUnits - For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application. This contains the capacity units used for the index. A query or document storage capacity of zero indicates that the index is using the default capacity. For more information on the default capacity for an index and adjusting this, see Adjusting capacity.

DescribeIndexResponse, describeIndexResponse_createdAt - The Unix datetime that the index was created.

$sel:description:DescribeIndexResponse', describeIndexResponse_description - The description for the index.

$sel:documentMetadataConfigurations:DescribeIndexResponse', describeIndexResponse_documentMetadataConfigurations - Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.

DescribeIndexResponse, describeIndexResponse_edition - The Amazon Kendra edition used for the index. You decide the edition when you create the index.

DescribeIndexResponse, describeIndexResponse_errorMessage - When the Status field value is FAILED, the ErrorMessage field contains a message that explains why.

DescribeIndex, describeIndexResponse_id - The identifier of the index.

$sel:indexStatistics:DescribeIndexResponse', describeIndexResponse_indexStatistics - Provides information about the number of FAQ questions and answers and the number of text documents indexed.

DescribeIndexResponse, describeIndexResponse_name - The name of the index.

DescribeIndexResponse, describeIndexResponse_roleArn - The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon Cloudwatch logs.

$sel:serverSideEncryptionConfiguration:DescribeIndexResponse', describeIndexResponse_serverSideEncryptionConfiguration - The identifier of the KMScustomer master key (CMK) that is used to encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.

DescribeIndexResponse, describeIndexResponse_status - The current status of the index. When the value is ACTIVE, the index is ready for use. If the Status field value is FAILED, the ErrorMessage field contains a message that explains why.

DescribeIndexResponse, describeIndexResponse_updatedAt - The Unix datetime that the index was last updated.

$sel:userContextPolicy:DescribeIndexResponse', describeIndexResponse_userContextPolicy - The user context policy for the Amazon Kendra index.

$sel:userGroupResolutionConfiguration:DescribeIndexResponse', describeIndexResponse_userGroupResolutionConfiguration - Whether you have enabled the configuration for fetching access levels of groups and users from an IAM Identity Center (successor to Single Sign-On) identity source.

$sel:userTokenConfigurations:DescribeIndexResponse', describeIndexResponse_userTokenConfigurations - The user token configuration for the Amazon Kendra index.

$sel:httpStatus:DescribeIndexResponse', describeIndexResponse_httpStatus - The response's http status code.

Response Lenses

describeIndexResponse_capacityUnits :: Lens' DescribeIndexResponse (Maybe CapacityUnitsConfiguration) Source #

For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application. This contains the capacity units used for the index. A query or document storage capacity of zero indicates that the index is using the default capacity. For more information on the default capacity for an index and adjusting this, see Adjusting capacity.

describeIndexResponse_createdAt :: Lens' DescribeIndexResponse (Maybe UTCTime) Source #

The Unix datetime that the index was created.

describeIndexResponse_documentMetadataConfigurations :: Lens' DescribeIndexResponse (Maybe [DocumentMetadataConfiguration]) Source #

Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.

describeIndexResponse_edition :: Lens' DescribeIndexResponse (Maybe IndexEdition) Source #

The Amazon Kendra edition used for the index. You decide the edition when you create the index.

describeIndexResponse_errorMessage :: Lens' DescribeIndexResponse (Maybe Text) Source #

When the Status field value is FAILED, the ErrorMessage field contains a message that explains why.

describeIndexResponse_indexStatistics :: Lens' DescribeIndexResponse (Maybe IndexStatistics) Source #

Provides information about the number of FAQ questions and answers and the number of text documents indexed.

describeIndexResponse_roleArn :: Lens' DescribeIndexResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon Cloudwatch logs.

describeIndexResponse_serverSideEncryptionConfiguration :: Lens' DescribeIndexResponse (Maybe ServerSideEncryptionConfiguration) Source #

The identifier of the KMScustomer master key (CMK) that is used to encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.

describeIndexResponse_status :: Lens' DescribeIndexResponse (Maybe IndexStatus) Source #

The current status of the index. When the value is ACTIVE, the index is ready for use. If the Status field value is FAILED, the ErrorMessage field contains a message that explains why.

describeIndexResponse_updatedAt :: Lens' DescribeIndexResponse (Maybe UTCTime) Source #

The Unix datetime that the index was last updated.

describeIndexResponse_userContextPolicy :: Lens' DescribeIndexResponse (Maybe UserContextPolicy) Source #

The user context policy for the Amazon Kendra index.

describeIndexResponse_userGroupResolutionConfiguration :: Lens' DescribeIndexResponse (Maybe UserGroupResolutionConfiguration) Source #

Whether you have enabled the configuration for fetching access levels of groups and users from an IAM Identity Center (successor to Single Sign-On) identity source.

describeIndexResponse_userTokenConfigurations :: Lens' DescribeIndexResponse (Maybe [UserTokenConfiguration]) Source #

The user token configuration for the Amazon Kendra index.