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

Description

Gets information about an Amazon Kendra data source connector.

Synopsis

Creating a Request

data DescribeDataSource Source #

See: newDescribeDataSource smart constructor.

Constructors

DescribeDataSource' 

Fields

  • id :: Text

    The identifier of the data source connector.

  • indexId :: Text

    The identifier of the index used with the data source connector.

Instances

Instances details
ToJSON DescribeDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

ToHeaders DescribeDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

ToPath DescribeDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

ToQuery DescribeDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

AWSRequest DescribeDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

Associated Types

type AWSResponse DescribeDataSource #

Generic DescribeDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

Associated Types

type Rep DescribeDataSource :: Type -> Type #

Read DescribeDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

Show DescribeDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

NFData DescribeDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

Methods

rnf :: DescribeDataSource -> () #

Eq DescribeDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

Hashable DescribeDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

type AWSResponse DescribeDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

type Rep DescribeDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

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

newDescribeDataSource Source #

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

DescribeDataSource, describeDataSource_id - The identifier of the data source connector.

DescribeDataSource, describeDataSource_indexId - The identifier of the index used with the data source connector.

Request Lenses

describeDataSource_id :: Lens' DescribeDataSource Text Source #

The identifier of the data source connector.

describeDataSource_indexId :: Lens' DescribeDataSource Text Source #

The identifier of the index used with the data source connector.

Destructuring the Response

data DescribeDataSourceResponse Source #

See: newDescribeDataSourceResponse smart constructor.

Constructors

DescribeDataSourceResponse' 

Fields

Instances

Instances details
Generic DescribeDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

Associated Types

type Rep DescribeDataSourceResponse :: Type -> Type #

Read DescribeDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

Show DescribeDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

NFData DescribeDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

Eq DescribeDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

type Rep DescribeDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeDataSource

type Rep DescribeDataSourceResponse = D1 ('MetaData "DescribeDataSourceResponse" "Amazonka.Kendra.DescribeDataSource" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "DescribeDataSourceResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataSourceConfiguration)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "customDocumentEnrichmentConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomDocumentEnrichmentConfiguration)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "indexId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "schedule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataSourceStatus)))) :*: ((S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataSourceType)) :*: S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "vpcConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataSourceVpcConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newDescribeDataSourceResponse Source #

Create a value of DescribeDataSourceResponse 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:configuration:DescribeDataSourceResponse', describeDataSourceResponse_configuration - Configuration details for the data source connector. This shows how the data source is configured. The configuration options for a data source depend on the data source provider.

DescribeDataSourceResponse, describeDataSourceResponse_createdAt - The Unix timestamp of when the data source connector was created.

$sel:customDocumentEnrichmentConfiguration:DescribeDataSourceResponse', describeDataSourceResponse_customDocumentEnrichmentConfiguration - Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.

For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.

$sel:description:DescribeDataSourceResponse', describeDataSourceResponse_description - The description for the data source connector.

DescribeDataSourceResponse, describeDataSourceResponse_errorMessage - When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source to fail.

DescribeDataSource, describeDataSourceResponse_id - The identifier of the data source connector.

DescribeDataSource, describeDataSourceResponse_indexId - The identifier of the index used with the data source connector.

DescribeDataSourceResponse, describeDataSourceResponse_languageCode - The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

DescribeDataSourceResponse, describeDataSourceResponse_name - The name for the data source connector.

DescribeDataSourceResponse, describeDataSourceResponse_roleArn - The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.

$sel:schedule:DescribeDataSourceResponse', describeDataSourceResponse_schedule - The schedule for Amazon Kendra to update the index.

DescribeDataSourceResponse, describeDataSourceResponse_status - The current status of the data source connector. When the status is ACTIVE the data source is ready to use. When the status is FAILED, the ErrorMessage field contains the reason that the data source failed.

DescribeDataSourceResponse, describeDataSourceResponse_type - The type of the data source. For example, SHAREPOINT.

DescribeDataSourceResponse, describeDataSourceResponse_updatedAt - The Unix timestamp of when the data source connector was last updated.

DescribeDataSourceResponse, describeDataSourceResponse_vpcConfiguration - Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.

$sel:httpStatus:DescribeDataSourceResponse', describeDataSourceResponse_httpStatus - The response's http status code.

Response Lenses

describeDataSourceResponse_configuration :: Lens' DescribeDataSourceResponse (Maybe DataSourceConfiguration) Source #

Configuration details for the data source connector. This shows how the data source is configured. The configuration options for a data source depend on the data source provider.

describeDataSourceResponse_createdAt :: Lens' DescribeDataSourceResponse (Maybe UTCTime) Source #

The Unix timestamp of when the data source connector was created.

describeDataSourceResponse_customDocumentEnrichmentConfiguration :: Lens' DescribeDataSourceResponse (Maybe CustomDocumentEnrichmentConfiguration) Source #

Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.

For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.

describeDataSourceResponse_description :: Lens' DescribeDataSourceResponse (Maybe Text) Source #

The description for the data source connector.

describeDataSourceResponse_errorMessage :: Lens' DescribeDataSourceResponse (Maybe Text) Source #

When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source to fail.

describeDataSourceResponse_id :: Lens' DescribeDataSourceResponse (Maybe Text) Source #

The identifier of the data source connector.

describeDataSourceResponse_indexId :: Lens' DescribeDataSourceResponse (Maybe Text) Source #

The identifier of the index used with the data source connector.

describeDataSourceResponse_languageCode :: Lens' DescribeDataSourceResponse (Maybe Text) Source #

The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

describeDataSourceResponse_roleArn :: Lens' DescribeDataSourceResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.

describeDataSourceResponse_schedule :: Lens' DescribeDataSourceResponse (Maybe Text) Source #

The schedule for Amazon Kendra to update the index.

describeDataSourceResponse_status :: Lens' DescribeDataSourceResponse (Maybe DataSourceStatus) Source #

The current status of the data source connector. When the status is ACTIVE the data source is ready to use. When the status is FAILED, the ErrorMessage field contains the reason that the data source failed.

describeDataSourceResponse_type :: Lens' DescribeDataSourceResponse (Maybe DataSourceType) Source #

The type of the data source. For example, SHAREPOINT.

describeDataSourceResponse_updatedAt :: Lens' DescribeDataSourceResponse (Maybe UTCTime) Source #

The Unix timestamp of when the data source connector was last updated.

describeDataSourceResponse_vpcConfiguration :: Lens' DescribeDataSourceResponse (Maybe DataSourceVpcConfiguration) Source #

Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.