aws-sdk-bedrockagent 1.80.0 → 1.81.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b85b992dc85b22a80c71ae8d17a9c122c10ca566098bc7204cfcad947f37ad2
4
- data.tar.gz: fcefcda39180adb567817f0ee02f3d8415fb5b9c94eb7a66b9ef5a9dec227ccb
3
+ metadata.gz: 26db2c2b54a0c3485fe0ecad55a8c9f32428797dcfd8747fb4fa123b59f837d8
4
+ data.tar.gz: ef60f01487f7e77040ebb2d04607f688a9693a6bf88d3efde6f685e3f74f4b1c
5
5
  SHA512:
6
- metadata.gz: cf2f7c1627564a1ac1a9c3856763042fc22e29f938b3d8cfb915d245641e97083bab8f85d6344cdfccf57a605d46d72a8e5683abab9a97b791e7c12f7cbf81ec
7
- data.tar.gz: 1115770a45185dc028a5528f1670a710a9ea0584245e33e4b3abe9b49977d65ea43e597a8b52f6b39699b0c5492814aefc31f47b5a2d124f95b2dde41281cfde
6
+ metadata.gz: 6d7c6b65590d315902989b9a88e758940ff4d0e14115dff900dc2c47615c66cc54875169a38d1c6a5459cb202d75e729c28a830bae22e6f03e6083512f50fd35
7
+ data.tar.gz: 2149d469a83cf1442eab0f29ea19c34cfbd42e42facf4bbf5d5522480aea0f1ebab29c63c559d7af76f5e44687fc49b0b49ada17b11ae0ed048aee12d45899fe
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.81.0 (2026-08-28)
5
+ ------------------
6
+
7
+ * Feature - Adds an optional syncSchedule field to CreateDataSource and UpdateDataSource for Managed Knowledge Bases data source connectors, so a data source can sync automatically on a daily, weekly, or monthly schedule.
8
+
4
9
  1.80.0 (2026-07-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.80.0
1
+ 1.81.0
@@ -1243,6 +1243,20 @@ module Aws::BedrockAgent
1243
1243
  # },
1244
1244
  # connector_parameters: {
1245
1245
  # },
1246
+ # sync_schedule: {
1247
+ # daily: {
1248
+ # },
1249
+ # weekly: {
1250
+ # day_of_week: "SUNDAY", # required, accepts SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
1251
+ # },
1252
+ # monthly: {
1253
+ # day_of_month: { # required
1254
+ # day_number: 1,
1255
+ # last_day_of_month: {
1256
+ # },
1257
+ # },
1258
+ # },
1259
+ # },
1246
1260
  # },
1247
1261
  # s3_configuration: {
1248
1262
  # bucket_arn: "S3BucketArn", # required
@@ -1419,6 +1433,8 @@ module Aws::BedrockAgent
1419
1433
  # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.image_extraction_configuration.image_extraction_status #=> String, one of "ENABLED", "DISABLED"
1420
1434
  # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.audio_extraction_configuration.audio_extraction_status #=> String, one of "ENABLED", "DISABLED"
1421
1435
  # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.video_extraction_configuration.video_extraction_status #=> String, one of "ENABLED", "DISABLED"
1436
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.sync_schedule.weekly.day_of_week #=> String, one of "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"
1437
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.sync_schedule.monthly.day_of_month.day_number #=> Integer
1422
1438
  # resp.data_source.data_source_configuration.s3_configuration.bucket_arn #=> String
1423
1439
  # resp.data_source.data_source_configuration.s3_configuration.inclusion_prefixes #=> Array
1424
1440
  # resp.data_source.data_source_configuration.s3_configuration.inclusion_prefixes[0] #=> String
@@ -3920,6 +3936,8 @@ module Aws::BedrockAgent
3920
3936
  # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.image_extraction_configuration.image_extraction_status #=> String, one of "ENABLED", "DISABLED"
3921
3937
  # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.audio_extraction_configuration.audio_extraction_status #=> String, one of "ENABLED", "DISABLED"
3922
3938
  # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.video_extraction_configuration.video_extraction_status #=> String, one of "ENABLED", "DISABLED"
3939
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.sync_schedule.weekly.day_of_week #=> String, one of "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"
3940
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.sync_schedule.monthly.day_of_month.day_number #=> Integer
3923
3941
  # resp.data_source.data_source_configuration.s3_configuration.bucket_arn #=> String
3924
3942
  # resp.data_source.data_source_configuration.s3_configuration.inclusion_prefixes #=> Array
3925
3943
  # resp.data_source.data_source_configuration.s3_configuration.inclusion_prefixes[0] #=> String
@@ -6736,6 +6754,20 @@ module Aws::BedrockAgent
6736
6754
  # },
6737
6755
  # connector_parameters: {
6738
6756
  # },
6757
+ # sync_schedule: {
6758
+ # daily: {
6759
+ # },
6760
+ # weekly: {
6761
+ # day_of_week: "SUNDAY", # required, accepts SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
6762
+ # },
6763
+ # monthly: {
6764
+ # day_of_month: { # required
6765
+ # day_number: 1,
6766
+ # last_day_of_month: {
6767
+ # },
6768
+ # },
6769
+ # },
6770
+ # },
6739
6771
  # },
6740
6772
  # s3_configuration: {
6741
6773
  # bucket_arn: "S3BucketArn", # required
@@ -6912,6 +6944,8 @@ module Aws::BedrockAgent
6912
6944
  # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.image_extraction_configuration.image_extraction_status #=> String, one of "ENABLED", "DISABLED"
6913
6945
  # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.audio_extraction_configuration.audio_extraction_status #=> String, one of "ENABLED", "DISABLED"
6914
6946
  # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.video_extraction_configuration.video_extraction_status #=> String, one of "ENABLED", "DISABLED"
6947
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.sync_schedule.weekly.day_of_week #=> String, one of "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"
6948
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.sync_schedule.monthly.day_of_month.day_number #=> Integer
6915
6949
  # resp.data_source.data_source_configuration.s3_configuration.bucket_arn #=> String
6916
6950
  # resp.data_source.data_source_configuration.s3_configuration.inclusion_prefixes #=> Array
6917
6951
  # resp.data_source.data_source_configuration.s3_configuration.inclusion_prefixes[0] #=> String
@@ -8456,7 +8490,7 @@ module Aws::BedrockAgent
8456
8490
  tracer: tracer
8457
8491
  )
8458
8492
  context[:gem_name] = 'aws-sdk-bedrockagent'
8459
- context[:gem_version] = '1.80.0'
8493
+ context[:gem_version] = '1.81.0'
8460
8494
  Seahorse::Client::Request.new(handlers, context)
8461
8495
  end
8462
8496
 
@@ -142,6 +142,7 @@ module Aws::BedrockAgent
142
142
  CustomSourceType = Shapes::StringShape.new(name: 'CustomSourceType')
143
143
  CustomTransformationConfiguration = Shapes::StructureShape.new(name: 'CustomTransformationConfiguration')
144
144
  CyclicConnectionFlowValidationDetails = Shapes::StructureShape.new(name: 'CyclicConnectionFlowValidationDetails')
145
+ DailySchedule = Shapes::StructureShape.new(name: 'DailySchedule')
145
146
  Data = Shapes::StringShape.new(name: 'Data')
146
147
  DataDeletionPolicy = Shapes::StringShape.new(name: 'DataDeletionPolicy')
147
148
  DataSource = Shapes::StructureShape.new(name: 'DataSource')
@@ -151,6 +152,9 @@ module Aws::BedrockAgent
151
152
  DataSourceSummary = Shapes::StructureShape.new(name: 'DataSourceSummary')
152
153
  DataSourceType = Shapes::StringShape.new(name: 'DataSourceType')
153
154
  DateTimestamp = Shapes::TimestampShape.new(name: 'DateTimestamp', timestampFormat: "iso8601")
155
+ DayOfMonth = Shapes::UnionShape.new(name: 'DayOfMonth')
156
+ DayOfMonthNumber = Shapes::IntegerShape.new(name: 'DayOfMonthNumber')
157
+ DayOfWeek = Shapes::StringShape.new(name: 'DayOfWeek')
154
158
  DeleteAgentActionGroupRequest = Shapes::StructureShape.new(name: 'DeleteAgentActionGroupRequest')
155
159
  DeleteAgentActionGroupResponse = Shapes::StructureShape.new(name: 'DeleteAgentActionGroupResponse')
156
160
  DeleteAgentAliasRequest = Shapes::StructureShape.new(name: 'DeleteAgentAliasRequest')
@@ -380,6 +384,7 @@ module Aws::BedrockAgent
380
384
  KnowledgeBaseType = Shapes::StringShape.new(name: 'KnowledgeBaseType')
381
385
  LambdaArn = Shapes::StringShape.new(name: 'LambdaArn')
382
386
  LambdaFunctionFlowNodeConfiguration = Shapes::StructureShape.new(name: 'LambdaFunctionFlowNodeConfiguration')
387
+ LastDayOfMonth = Shapes::StructureShape.new(name: 'LastDayOfMonth')
383
388
  LexFlowNodeConfiguration = Shapes::StructureShape.new(name: 'LexFlowNodeConfiguration')
384
389
  ListAgentActionGroupsRequest = Shapes::StructureShape.new(name: 'ListAgentActionGroupsRequest')
385
390
  ListAgentActionGroupsResponse = Shapes::StructureShape.new(name: 'ListAgentActionGroupsResponse')
@@ -454,6 +459,7 @@ module Aws::BedrockAgent
454
459
  MongoDbAtlasEndpointServiceName = Shapes::StringShape.new(name: 'MongoDbAtlasEndpointServiceName')
455
460
  MongoDbAtlasFieldMapping = Shapes::StructureShape.new(name: 'MongoDbAtlasFieldMapping')
456
461
  MongoDbAtlasIndexName = Shapes::StringShape.new(name: 'MongoDbAtlasIndexName')
462
+ MonthlySchedule = Shapes::StructureShape.new(name: 'MonthlySchedule')
457
463
  MultipleLoopControllerNodesFlowValidationDetails = Shapes::StructureShape.new(name: 'MultipleLoopControllerNodesFlowValidationDetails')
458
464
  MultipleLoopInputNodesFlowValidationDetails = Shapes::StructureShape.new(name: 'MultipleLoopInputNodesFlowValidationDetails')
459
465
  MultipleNodeInputConnectionsFlowValidationDetails = Shapes::StructureShape.new(name: 'MultipleNodeInputConnectionsFlowValidationDetails')
@@ -641,6 +647,7 @@ module Aws::BedrockAgent
641
647
  SupplementalDataStorageLocationType = Shapes::StringShape.new(name: 'SupplementalDataStorageLocationType')
642
648
  SupplementalDataStorageLocations = Shapes::ListShape.new(name: 'SupplementalDataStorageLocations')
643
649
  SupportedLanguages = Shapes::StringShape.new(name: 'SupportedLanguages')
650
+ SyncSchedule = Shapes::UnionShape.new(name: 'SyncSchedule')
644
651
  SystemContentBlock = Shapes::UnionShape.new(name: 'SystemContentBlock')
645
652
  SystemContentBlocks = Shapes::ListShape.new(name: 'SystemContentBlocks')
646
653
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -732,6 +739,7 @@ module Aws::BedrockAgent
732
739
  WebDataSourceConfiguration = Shapes::StructureShape.new(name: 'WebDataSourceConfiguration')
733
740
  WebScopeType = Shapes::StringShape.new(name: 'WebScopeType')
734
741
  WebSourceConfiguration = Shapes::StructureShape.new(name: 'WebSourceConfiguration')
742
+ WeeklySchedule = Shapes::StructureShape.new(name: 'WeeklySchedule')
735
743
  WorkgroupArn = Shapes::StringShape.new(name: 'WorkgroupArn')
736
744
 
737
745
  APISchema.add_member(:s3, Shapes::ShapeRef.new(shape: S3Identifier, location_name: "s3"))
@@ -1254,6 +1262,8 @@ module Aws::BedrockAgent
1254
1262
  CyclicConnectionFlowValidationDetails.add_member(:connection, Shapes::ShapeRef.new(shape: FlowConnectionName, required: true, location_name: "connection"))
1255
1263
  CyclicConnectionFlowValidationDetails.struct_class = Types::CyclicConnectionFlowValidationDetails
1256
1264
 
1265
+ DailySchedule.struct_class = Types::DailySchedule
1266
+
1257
1267
  DataSource.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "knowledgeBaseId"))
1258
1268
  DataSource.add_member(:data_source_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "dataSourceId"))
1259
1269
  DataSource.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
@@ -1287,6 +1297,14 @@ module Aws::BedrockAgent
1287
1297
  DataSourceSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
1288
1298
  DataSourceSummary.struct_class = Types::DataSourceSummary
1289
1299
 
1300
+ DayOfMonth.add_member(:day_number, Shapes::ShapeRef.new(shape: DayOfMonthNumber, location_name: "dayNumber"))
1301
+ DayOfMonth.add_member(:last_day_of_month, Shapes::ShapeRef.new(shape: LastDayOfMonth, location_name: "lastDayOfMonth"))
1302
+ DayOfMonth.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1303
+ DayOfMonth.add_member_subclass(:day_number, Types::DayOfMonth::DayNumber)
1304
+ DayOfMonth.add_member_subclass(:last_day_of_month, Types::DayOfMonth::LastDayOfMonth)
1305
+ DayOfMonth.add_member_subclass(:unknown, Types::DayOfMonth::Unknown)
1306
+ DayOfMonth.struct_class = Types::DayOfMonth
1307
+
1290
1308
  DeleteAgentActionGroupRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
1291
1309
  DeleteAgentActionGroupRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
1292
1310
  DeleteAgentActionGroupRequest.add_member(:action_group_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "actionGroupId"))
@@ -2012,6 +2030,8 @@ module Aws::BedrockAgent
2012
2030
  LambdaFunctionFlowNodeConfiguration.add_member(:lambda_arn, Shapes::ShapeRef.new(shape: FlowLambdaArn, required: true, location_name: "lambdaArn"))
2013
2031
  LambdaFunctionFlowNodeConfiguration.struct_class = Types::LambdaFunctionFlowNodeConfiguration
2014
2032
 
2033
+ LastDayOfMonth.struct_class = Types::LastDayOfMonth
2034
+
2015
2035
  LexFlowNodeConfiguration.add_member(:bot_alias_arn, Shapes::ShapeRef.new(shape: FlowLexBotAliasArn, required: true, location_name: "botAliasArn"))
2016
2036
  LexFlowNodeConfiguration.add_member(:locale_id, Shapes::ShapeRef.new(shape: FlowLexBotLocaleId, required: true, location_name: "localeId"))
2017
2037
  LexFlowNodeConfiguration.struct_class = Types::LexFlowNodeConfiguration
@@ -2185,6 +2205,7 @@ module Aws::BedrockAgent
2185
2205
  ManagedKnowledgeBaseConnectorConfiguration.add_member(:deletion_protection_configuration, Shapes::ShapeRef.new(shape: DeletionProtectionConfiguration, location_name: "deletionProtectionConfiguration"))
2186
2206
  ManagedKnowledgeBaseConnectorConfiguration.add_member(:media_extraction_configuration, Shapes::ShapeRef.new(shape: MediaExtractionConfiguration, location_name: "mediaExtractionConfiguration"))
2187
2207
  ManagedKnowledgeBaseConnectorConfiguration.add_member(:connector_parameters, Shapes::ShapeRef.new(shape: Document, location_name: "connectorParameters"))
2208
+ ManagedKnowledgeBaseConnectorConfiguration.add_member(:sync_schedule, Shapes::ShapeRef.new(shape: SyncSchedule, location_name: "syncSchedule"))
2188
2209
  ManagedKnowledgeBaseConnectorConfiguration.struct_class = Types::ManagedKnowledgeBaseConnectorConfiguration
2189
2210
 
2190
2211
  MediaExtractionConfiguration.add_member(:image_extraction_configuration, Shapes::ShapeRef.new(shape: ImageExtractionConfiguration, location_name: "imageExtractionConfiguration"))
@@ -2272,6 +2293,9 @@ module Aws::BedrockAgent
2272
2293
  MongoDbAtlasFieldMapping.add_member(:metadata_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "metadataField"))
2273
2294
  MongoDbAtlasFieldMapping.struct_class = Types::MongoDbAtlasFieldMapping
2274
2295
 
2296
+ MonthlySchedule.add_member(:day_of_month, Shapes::ShapeRef.new(shape: DayOfMonth, required: true, location_name: "dayOfMonth"))
2297
+ MonthlySchedule.struct_class = Types::MonthlySchedule
2298
+
2275
2299
  MultipleLoopControllerNodesFlowValidationDetails.add_member(:loop_node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "loopNode"))
2276
2300
  MultipleLoopControllerNodesFlowValidationDetails.struct_class = Types::MultipleLoopControllerNodesFlowValidationDetails
2277
2301
 
@@ -2725,6 +2749,16 @@ module Aws::BedrockAgent
2725
2749
 
2726
2750
  SupplementalDataStorageLocations.member = Shapes::ShapeRef.new(shape: SupplementalDataStorageLocation)
2727
2751
 
2752
+ SyncSchedule.add_member(:daily, Shapes::ShapeRef.new(shape: DailySchedule, location_name: "daily"))
2753
+ SyncSchedule.add_member(:weekly, Shapes::ShapeRef.new(shape: WeeklySchedule, location_name: "weekly"))
2754
+ SyncSchedule.add_member(:monthly, Shapes::ShapeRef.new(shape: MonthlySchedule, location_name: "monthly"))
2755
+ SyncSchedule.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2756
+ SyncSchedule.add_member_subclass(:daily, Types::SyncSchedule::Daily)
2757
+ SyncSchedule.add_member_subclass(:weekly, Types::SyncSchedule::Weekly)
2758
+ SyncSchedule.add_member_subclass(:monthly, Types::SyncSchedule::Monthly)
2759
+ SyncSchedule.add_member_subclass(:unknown, Types::SyncSchedule::Unknown)
2760
+ SyncSchedule.struct_class = Types::SyncSchedule
2761
+
2728
2762
  SystemContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "text"))
2729
2763
  SystemContentBlock.add_member(:cache_point, Shapes::ShapeRef.new(shape: CachePointBlock, location_name: "cachePoint"))
2730
2764
  SystemContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
@@ -3071,6 +3105,9 @@ module Aws::BedrockAgent
3071
3105
  WebSourceConfiguration.add_member(:url_configuration, Shapes::ShapeRef.new(shape: UrlConfiguration, required: true, location_name: "urlConfiguration"))
3072
3106
  WebSourceConfiguration.struct_class = Types::WebSourceConfiguration
3073
3107
 
3108
+ WeeklySchedule.add_member(:day_of_week, Shapes::ShapeRef.new(shape: DayOfWeek, required: true, location_name: "dayOfWeek"))
3109
+ WeeklySchedule.struct_class = Types::WeeklySchedule
3110
+
3074
3111
 
3075
3112
  # @api private
3076
3113
  API = Seahorse::Model::Api.new.tap do |api|
@@ -2992,6 +2992,15 @@ module Aws::BedrockAgent
2992
2992
  include Aws::Structure
2993
2993
  end
2994
2994
 
2995
+ # A daily sync. The run time is system-chosen (off-peak) and not
2996
+ # configurable.
2997
+ #
2998
+ # @api private
2999
+ #
3000
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DailySchedule AWS API Documentation
3001
+ #
3002
+ class DailySchedule < Aws::EmptyStructure; end
3003
+
2995
3004
  # Contains details about a data source.
2996
3005
  #
2997
3006
  # @!attribute [rw] knowledge_base_id
@@ -3205,6 +3214,38 @@ module Aws::BedrockAgent
3205
3214
  include Aws::Structure
3206
3215
  end
3207
3216
 
3217
+ # The day of the month on which a monthly sync runs. Specify exactly one
3218
+ # of `dayNumber` or `lastDayOfMonth`.
3219
+ #
3220
+ # @note DayOfMonth is a union - when making an API calls you must set exactly one of the members.
3221
+ #
3222
+ # @note DayOfMonth is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DayOfMonth corresponding to the set member.
3223
+ #
3224
+ # @!attribute [rw] day_number
3225
+ # A specific day of the month, from 1 to 28. Values are capped at 28,
3226
+ # so a monthly sync runs in every month, including February.
3227
+ # @return [Integer]
3228
+ #
3229
+ # @!attribute [rw] last_day_of_month
3230
+ # Set this option to run the monthly sync on the last calendar day of
3231
+ # each month.
3232
+ # @return [Types::LastDayOfMonth]
3233
+ #
3234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DayOfMonth AWS API Documentation
3235
+ #
3236
+ class DayOfMonth < Struct.new(
3237
+ :day_number,
3238
+ :last_day_of_month,
3239
+ :unknown)
3240
+ SENSITIVE = []
3241
+ include Aws::Structure
3242
+ include Aws::Structure::Union
3243
+
3244
+ class DayNumber < DayOfMonth; end
3245
+ class LastDayOfMonth < DayOfMonth; end
3246
+ class Unknown < DayOfMonth; end
3247
+ end
3248
+
3208
3249
  # @!attribute [rw] agent_id
3209
3250
  # The unique identifier of the agent that the action group belongs to.
3210
3251
  # @return [String]
@@ -6610,6 +6651,15 @@ module Aws::BedrockAgent
6610
6651
  include Aws::Structure
6611
6652
  end
6612
6653
 
6654
+ # The option to run the monthly sync on the last calendar day of each
6655
+ # month.
6656
+ #
6657
+ # @api private
6658
+ #
6659
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/LastDayOfMonth AWS API Documentation
6660
+ #
6661
+ class LastDayOfMonth < Aws::EmptyStructure; end
6662
+
6613
6663
  # Contains configurations for a Lex node in the flow. You specify a
6614
6664
  # Amazon Lex bot to invoke. This node takes an utterance as the input
6615
6665
  # and returns as the output the intent identified by the Amazon Lex bot.
@@ -7573,12 +7623,20 @@ module Aws::BedrockAgent
7573
7623
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-connect-ds.html
7574
7624
  # @return [Hash,Array,String,Numeric,Boolean]
7575
7625
  #
7626
+ # @!attribute [rw] sync_schedule
7627
+ # The recurring schedule on which the connector automatically syncs
7628
+ # this data source. If not specified, the data source is not synced
7629
+ # automatically and you start each sync yourself. Not supported for
7630
+ # the Custom connector.
7631
+ # @return [Types::SyncSchedule]
7632
+ #
7576
7633
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ManagedKnowledgeBaseConnectorConfiguration AWS API Documentation
7577
7634
  #
7578
7635
  class ManagedKnowledgeBaseConnectorConfiguration < Struct.new(
7579
7636
  :deletion_protection_configuration,
7580
7637
  :media_extraction_configuration,
7581
- :connector_parameters)
7638
+ :connector_parameters,
7639
+ :sync_schedule)
7582
7640
  SENSITIVE = []
7583
7641
  include Aws::Structure
7584
7642
  end
@@ -7994,6 +8052,20 @@ module Aws::BedrockAgent
7994
8052
  include Aws::Structure
7995
8053
  end
7996
8054
 
8055
+ # A monthly sync on a specified day of the month.
8056
+ #
8057
+ # @!attribute [rw] day_of_month
8058
+ # The day of the month on which the monthly sync runs.
8059
+ # @return [Types::DayOfMonth]
8060
+ #
8061
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/MonthlySchedule AWS API Documentation
8062
+ #
8063
+ class MonthlySchedule < Struct.new(
8064
+ :day_of_month)
8065
+ SENSITIVE = []
8066
+ include Aws::Structure
8067
+ end
8068
+
7997
8069
  # Details about a flow that contains multiple `LoopController` nodes in
7998
8070
  # a DoWhile loop.
7999
8071
  #
@@ -10431,6 +10503,46 @@ module Aws::BedrockAgent
10431
10503
  include Aws::Structure
10432
10504
  end
10433
10505
 
10506
+ # The recurring schedule on which a managed knowledge base connector
10507
+ # automatically syncs its data source. Specify exactly one of `daily`,
10508
+ # `weekly`, or `monthly`.
10509
+ #
10510
+ # @note SyncSchedule is a union - when making an API calls you must set exactly one of the members.
10511
+ #
10512
+ # @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.
10513
+ #
10514
+ # @!attribute [rw] daily
10515
+ # A daily sync that runs once a day at a system-chosen off-peak time.
10516
+ # The run time is not configurable.
10517
+ # @return [Types::DailySchedule]
10518
+ #
10519
+ # @!attribute [rw] weekly
10520
+ # A weekly sync that runs once a week on the specified day of the
10521
+ # week.
10522
+ # @return [Types::WeeklySchedule]
10523
+ #
10524
+ # @!attribute [rw] monthly
10525
+ # A monthly sync that runs once a month on the specified day of the
10526
+ # month.
10527
+ # @return [Types::MonthlySchedule]
10528
+ #
10529
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/SyncSchedule AWS API Documentation
10530
+ #
10531
+ class SyncSchedule < Struct.new(
10532
+ :daily,
10533
+ :weekly,
10534
+ :monthly,
10535
+ :unknown)
10536
+ SENSITIVE = []
10537
+ include Aws::Structure
10538
+ include Aws::Structure::Union
10539
+
10540
+ class Daily < SyncSchedule; end
10541
+ class Weekly < SyncSchedule; end
10542
+ class Monthly < SyncSchedule; end
10543
+ class Unknown < SyncSchedule; end
10544
+ end
10545
+
10434
10546
  # Contains a system prompt to provide context to the model or to
10435
10547
  # describe how it should behave. For more information, see [Create a
10436
10548
  # prompt using Prompt management][1].
@@ -12201,6 +12313,20 @@ module Aws::BedrockAgent
12201
12313
  include Aws::Structure
12202
12314
  end
12203
12315
 
12316
+ # A weekly sync on a specified day of the week.
12317
+ #
12318
+ # @!attribute [rw] day_of_week
12319
+ # The day of the week on which the weekly sync runs.
12320
+ # @return [String]
12321
+ #
12322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/WeeklySchedule AWS API Documentation
12323
+ #
12324
+ class WeeklySchedule < Struct.new(
12325
+ :day_of_week)
12326
+ SENSITIVE = []
12327
+ include Aws::Structure
12328
+ end
12329
+
12204
12330
  end
12205
12331
  end
12206
12332
 
@@ -55,7 +55,7 @@ module Aws::BedrockAgent
55
55
  autoload :EndpointProvider, 'aws-sdk-bedrockagent/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-bedrockagent/endpoints'
57
57
 
58
- GEM_VERSION = '1.80.0'
58
+ GEM_VERSION = '1.81.0'
59
59
 
60
60
  end
61
61
 
data/sig/params.rbs CHANGED
@@ -62,6 +62,21 @@ module Aws
62
62
  }?
63
63
  }
64
64
 
65
+ type sync_schedule = {
66
+ daily: {
67
+ }?,
68
+ weekly: {
69
+ day_of_week: ("SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY")
70
+ }?,
71
+ monthly: {
72
+ day_of_month: {
73
+ day_number: ::Integer?,
74
+ last_day_of_month: {
75
+ }?
76
+ }
77
+ }?
78
+ }
79
+
65
80
  type managed_knowledge_base_connector_configuration = {
66
81
  deletion_protection_configuration: {
67
82
  deletion_protection_status: ("ENABLED" | "DISABLED"),
@@ -69,7 +84,8 @@ module Aws
69
84
  }?,
70
85
  media_extraction_configuration: Params::media_extraction_configuration?,
71
86
  connector_parameters: {
72
- }?
87
+ }?,
88
+ sync_schedule: Params::sync_schedule?
73
89
  }
74
90
 
75
91
  type web_crawler_configuration = {
data/sig/types.rbs CHANGED
@@ -651,6 +651,9 @@ module Aws::BedrockAgent
651
651
  SENSITIVE: []
652
652
  end
653
653
 
654
+ class DailySchedule < Aws::EmptyStructure
655
+ end
656
+
654
657
  class DataSource
655
658
  attr_accessor knowledge_base_id: ::String
656
659
  attr_accessor data_source_id: ::String
@@ -688,6 +691,20 @@ module Aws::BedrockAgent
688
691
  SENSITIVE: []
689
692
  end
690
693
 
694
+ class DayOfMonth
695
+ attr_accessor day_number: ::Integer
696
+ attr_accessor last_day_of_month: Types::LastDayOfMonth
697
+ attr_accessor unknown: untyped
698
+ SENSITIVE: []
699
+
700
+ class DayNumber < DayOfMonth
701
+ end
702
+ class LastDayOfMonth < DayOfMonth
703
+ end
704
+ class Unknown < DayOfMonth
705
+ end
706
+ end
707
+
691
708
  class DeleteAgentActionGroupRequest
692
709
  attr_accessor agent_id: ::String
693
710
  attr_accessor agent_version: ::String
@@ -1654,6 +1671,9 @@ module Aws::BedrockAgent
1654
1671
  SENSITIVE: []
1655
1672
  end
1656
1673
 
1674
+ class LastDayOfMonth < Aws::EmptyStructure
1675
+ end
1676
+
1657
1677
  class LexFlowNodeConfiguration
1658
1678
  attr_accessor bot_alias_arn: ::String
1659
1679
  attr_accessor locale_id: ::String
@@ -1903,6 +1923,7 @@ module Aws::BedrockAgent
1903
1923
  attr_accessor deletion_protection_configuration: Types::DeletionProtectionConfiguration
1904
1924
  attr_accessor media_extraction_configuration: Types::MediaExtractionConfiguration
1905
1925
  attr_accessor connector_parameters: untyped
1926
+ attr_accessor sync_schedule: Types::SyncSchedule
1906
1927
  SENSITIVE: []
1907
1928
  end
1908
1929
 
@@ -2023,6 +2044,11 @@ module Aws::BedrockAgent
2023
2044
  SENSITIVE: []
2024
2045
  end
2025
2046
 
2047
+ class MonthlySchedule
2048
+ attr_accessor day_of_month: Types::DayOfMonth
2049
+ SENSITIVE: []
2050
+ end
2051
+
2026
2052
  class MultipleLoopControllerNodesFlowValidationDetails
2027
2053
  attr_accessor loop_node: ::String
2028
2054
  SENSITIVE: []
@@ -2649,6 +2675,23 @@ module Aws::BedrockAgent
2649
2675
  SENSITIVE: []
2650
2676
  end
2651
2677
 
2678
+ class SyncSchedule
2679
+ attr_accessor daily: Types::DailySchedule
2680
+ attr_accessor weekly: Types::WeeklySchedule
2681
+ attr_accessor monthly: Types::MonthlySchedule
2682
+ attr_accessor unknown: untyped
2683
+ SENSITIVE: []
2684
+
2685
+ class Daily < SyncSchedule
2686
+ end
2687
+ class Weekly < SyncSchedule
2688
+ end
2689
+ class Monthly < SyncSchedule
2690
+ end
2691
+ class Unknown < SyncSchedule
2692
+ end
2693
+ end
2694
+
2652
2695
  class SystemContentBlock
2653
2696
  attr_accessor text: ::String
2654
2697
  attr_accessor cache_point: Types::CachePointBlock
@@ -3120,5 +3163,10 @@ module Aws::BedrockAgent
3120
3163
  attr_accessor url_configuration: Types::UrlConfiguration
3121
3164
  SENSITIVE: []
3122
3165
  end
3166
+
3167
+ class WeeklySchedule
3168
+ attr_accessor day_of_week: ("SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY")
3169
+ SENSITIVE: []
3170
+ end
3123
3171
  end
3124
3172
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.80.0
4
+ version: 1.81.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services