Class: Aws::Kendra::Types::DataSourceSyncJob

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb

Overview

Provides information about a data source synchronization job.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_source_error_codeString

If the reason that the synchronization failed is due to an error with the underlying data source, this field contains a code that identifies the error.

Returns:

  • (String)


3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 3031

class DataSourceSyncJob < Struct.new(
  :execution_id,
  :start_time,
  :end_time,
  :status,
  :error_message,
  :error_code,
  :data_source_error_code,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeTime

The Unix timestamp when the synchronization job completed.

Returns:

  • (Time)


3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 3031

class DataSourceSyncJob < Struct.new(
  :execution_id,
  :start_time,
  :end_time,
  :status,
  :error_message,
  :error_code,
  :data_source_error_code,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#error_codeString

If the Status field is set to FAILED, the ErrorCode field indicates the reason the synchronization failed.

Returns:

  • (String)


3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 3031

class DataSourceSyncJob < Struct.new(
  :execution_id,
  :start_time,
  :end_time,
  :status,
  :error_message,
  :error_code,
  :data_source_error_code,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

If the Status field is set to ERROR, the ErrorMessage field contains a description of the error that caused the synchronization to fail.

Returns:

  • (String)


3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 3031

class DataSourceSyncJob < Struct.new(
  :execution_id,
  :start_time,
  :end_time,
  :status,
  :error_message,
  :error_code,
  :data_source_error_code,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#execution_idString

A identifier for the synchronization job.

Returns:

  • (String)


3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 3031

class DataSourceSyncJob < Struct.new(
  :execution_id,
  :start_time,
  :end_time,
  :status,
  :error_message,
  :error_code,
  :data_source_error_code,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#metricsTypes::DataSourceSyncJobMetrics

Maps a batch delete document request to a specific data source sync job. This is optional and should only be supplied when documents are deleted by a data source connector.



3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 3031

class DataSourceSyncJob < Struct.new(
  :execution_id,
  :start_time,
  :end_time,
  :status,
  :error_message,
  :error_code,
  :data_source_error_code,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

The Unix timestamp when the synchronization job started.

Returns:

  • (Time)


3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 3031

class DataSourceSyncJob < Struct.new(
  :execution_id,
  :start_time,
  :end_time,
  :status,
  :error_message,
  :error_code,
  :data_source_error_code,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The execution status of the synchronization job. When the Status field is set to SUCCEEDED, the synchronization job is done. If the status code is set to FAILED, the ErrorCode and ErrorMessage fields give you the reason for the failure.

Returns:

  • (String)


3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 3031

class DataSourceSyncJob < Struct.new(
  :execution_id,
  :start_time,
  :end_time,
  :status,
  :error_message,
  :error_code,
  :data_source_error_code,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end