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)


11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11469

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.



11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11469

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



11469
11470
11471
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11469

def unknown
  @unknown
end

#weekly ⇒ Types::WeeklySchedule

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



11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11469

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