Class: Aws::Context::Types::SyncSchedule

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

Overview

Note:

SyncSchedule is a union - when making an API calls you must set exactly one of the members.

Note:

SyncSchedule is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SyncSchedule corresponding to the set member.

How often AWS Context re-syncs metadata from a third-party source. Applies to DATABRICKS and SNOWFLAKE. For GLUE_DATA_CATALOG and BEDROCK_KNOWLEDGE_BASE, which are event-driven, it fails with ValidationException. Specify exactly one member: a fixed cadence or an exact cron expression.

Defined Under Namespace

Classes: CronExpression, Frequency, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cron_expression ⇒ String

Not supported. Catalog synchronization doesn't support cron schedules, so publishing a connection with this member returns ValidationException. Use frequency instead.

Returns:

  • (String)


6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6968

class SyncSchedule < Struct.new(
  :frequency,
  :cron_expression,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Frequency < SyncSchedule; end
  class CronExpression < SyncSchedule; end
  class Unknown < SyncSchedule; end
end

#frequency ⇒ String

How often catalog synchronization runs. AWS Glue determines the schedule's start time. Valid values:

  • HOURLY - Every 60 minutes.

  • DAILY - Every 1,440 minutes.

  • WEEKLY - Not supported. You can save this value on a connection created with publish set to false, but publishing the connection with this value returns ValidationException.

  • MONTHLY - Not supported. You can save this value on a connection created with publish set to false, but publishing the connection with this value returns ValidationException.

Returns:

  • (String)


6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6968

class SyncSchedule < Struct.new(
  :frequency,
  :cron_expression,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Frequency < SyncSchedule; end
  class CronExpression < SyncSchedule; end
  class Unknown < SyncSchedule; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



6968
6969
6970
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6968

def unknown
  @unknown
end