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)


2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2998

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)


2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2998

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)


2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2998

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)


2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2998

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)


2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2998

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.



2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2998

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)


2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2998

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)


2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2998

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