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)


10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 10847

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.



10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 10847

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



10847
10848
10849
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 10847

def unknown
  @unknown
end

#weekly ⇒ Types::WeeklySchedule

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



10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 10847

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