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

Description

Starts a synchronization job for a data source connector. If a synchronization job is already in progress, Amazon Kendra returns a ResourceInUseException exception.

Synopsis

Creating a Request

data StartDataSourceSyncJob Source #

See: newStartDataSourceSyncJob smart constructor.

Constructors

StartDataSourceSyncJob' 

Fields

  • id :: Text

    The identifier of the data source connector to synchronize.

  • indexId :: Text

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

Instances

Instances details
ToJSON StartDataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

ToHeaders StartDataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

ToPath StartDataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

ToQuery StartDataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

AWSRequest StartDataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

Associated Types

type AWSResponse StartDataSourceSyncJob #

Generic StartDataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

Associated Types

type Rep StartDataSourceSyncJob :: Type -> Type #

Read StartDataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

Show StartDataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

NFData StartDataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

Methods

rnf :: StartDataSourceSyncJob -> () #

Eq StartDataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

Hashable StartDataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

type AWSResponse StartDataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

type Rep StartDataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

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

newStartDataSourceSyncJob Source #

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

StartDataSourceSyncJob, startDataSourceSyncJob_id - The identifier of the data source connector to synchronize.

$sel:indexId:StartDataSourceSyncJob', startDataSourceSyncJob_indexId - The identifier of the index used with the data source connector.

Request Lenses

startDataSourceSyncJob_id :: Lens' StartDataSourceSyncJob Text Source #

The identifier of the data source connector to synchronize.

startDataSourceSyncJob_indexId :: Lens' StartDataSourceSyncJob Text Source #

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

Destructuring the Response

data StartDataSourceSyncJobResponse Source #

See: newStartDataSourceSyncJobResponse smart constructor.

Constructors

StartDataSourceSyncJobResponse' 

Fields

Instances

Instances details
Generic StartDataSourceSyncJobResponse Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

Associated Types

type Rep StartDataSourceSyncJobResponse :: Type -> Type #

Read StartDataSourceSyncJobResponse Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

Show StartDataSourceSyncJobResponse Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

NFData StartDataSourceSyncJobResponse Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

Eq StartDataSourceSyncJobResponse Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

type Rep StartDataSourceSyncJobResponse Source # 
Instance details

Defined in Amazonka.Kendra.StartDataSourceSyncJob

type Rep StartDataSourceSyncJobResponse = D1 ('MetaData "StartDataSourceSyncJobResponse" "Amazonka.Kendra.StartDataSourceSyncJob" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "StartDataSourceSyncJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "executionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartDataSourceSyncJobResponse Source #

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

StartDataSourceSyncJobResponse, startDataSourceSyncJobResponse_executionId - Identifies a particular synchronization job.

$sel:httpStatus:StartDataSourceSyncJobResponse', startDataSourceSyncJobResponse_httpStatus - The response's http status code.

Response Lenses