NAME

Search::Elasticsearch::Client::8_0::Direct::ConnectorSyncJob - A client for create and manage Elastic sync jobs

VERSION

version 8.12

DESCRIPTION

The sync jobs API provides a convenient way to create and manage Elastic sync jobs in an internal index.

This API provides an alternative to relying solely on Kibana UI for sync job management.

The full documentation for Sync job feature is available here: https://www.elastic.co/guide/en/elasticsearch/reference/8.12/connector-apis.html#sync-job-apis

It does Search::Elasticsearch::Role::Client::Direct.

METHODS

put()

$response = $e->connector_sync_job->post(
    body => {
        id => "connector-id",
        job_type => "full",
        trigger_method => 'on_demand'
    }
);

The post() method create a connector sync job.

AUTHOR

Enrico Zimuel <enrico.zimuel@elastic.co>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2024 by Elasticsearch BV.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004