Class: Aws::BedrockAgent::Types::SyncSchedule

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/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.

The recurring schedule on which a managed knowledge base connector automatically syncs its data source. Specify exactly one of daily, weekly, or monthly.

Defined Under Namespace

Classes: Daily, Monthly, Unknown, Weekly

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#daily ⇒ Types::DailySchedule

A daily sync that runs once a day at a system-chosen off-peak time. The run time is not configurable.

Returns:

  • (Types::DailySchedule)


10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 10829

class SyncSchedule < Struct.new(
  :daily,
  :weekly,
  :monthly,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Daily < SyncSchedule; end
  class Weekly < SyncSchedule; end
  class Monthly < SyncSchedule; end
  class Unknown < SyncSchedule; end
end

#monthly ⇒ Types::MonthlySchedule

A monthly sync that runs once a month on the specified day of the month.



10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 10829

class SyncSchedule < Struct.new(
  :daily,
  :weekly,
  :monthly,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Daily < SyncSchedule; end
  class Weekly < SyncSchedule; end
  class Monthly < SyncSchedule; end
  class Unknown < SyncSchedule; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



10829
10830
10831
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 10829

def unknown
  @unknown
end

#weekly ⇒ Types::WeeklySchedule

A weekly sync that runs once a week on the specified day of the week.



10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 10829

class SyncSchedule < Struct.new(
  :daily,
  :weekly,
  :monthly,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Daily < SyncSchedule; end
  class Weekly < SyncSchedule; end
  class Monthly < SyncSchedule; end
  class Unknown < SyncSchedule; end
end