aws-sdk-bedrockagent 1.40.0 → 1.41.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2309ad897abb2bb7775fc8ed61b321f490bb5265e1e9461e6aecce4db885fc68
4
- data.tar.gz: 2e2003f9458261b7d8e8f658828cac701a19d84ac840c3fcae6ee1566da01446
3
+ metadata.gz: e7f946007e5a6521c1c16878bf844a3335ca63e41b2dfbe134c140e92a410783
4
+ data.tar.gz: 4edf2bf2b68bcfb020e2264e98c8f29f203ef834f3c7ac688bc832470b0a0425
5
5
  SHA512:
6
- metadata.gz: ee8faddf9c457718896e14bec85cddd812726539bf36cb9ed47d024f804d52a107fde6936beb9794c75991206afb778a7991fc05ef9a4c1a19063e34db9b38e0
7
- data.tar.gz: cfc51ba7af7adf4d09c5c0ec418ade66d1846749060d1a5354ec8e0747a542e155ef9fd12dcb686fcf580375110af162e2c23d59cbad580eb4c669bd6a165c27
6
+ metadata.gz: c1f314efa67dff76d856e4acb158d34c3b74fca0acc11a5288e70796efff128d7af540b56a694365c1b9e2a73609f0eb2d7f6e30b71f756a0dbf6b9774d1b2af
7
+ data.tar.gz: dbbeffbb8169c5851b32236ddbf5c09861c10708ed1836e1ccdf095f1e5ba2cbfabbd6347c1f3b174b4a4986599026b8f19527222e61bb9facd5022b36d00243
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2024-12-20)
5
+ ------------------
6
+
7
+ * Feature - Support for custom user agent and max web pages crawled for web connector. Support app only credentials for SharePoint connector. Increase agents memory duration limit to 365 days. Support to specify max number of session summaries to include in agent invocation context.
8
+
4
9
  1.40.0 (2024-12-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.0
1
+ 1.41.0
@@ -744,6 +744,9 @@ module Aws::BedrockAgent
744
744
  # instruction: "Instruction",
745
745
  # memory_configuration: {
746
746
  # enabled_memory_types: ["SESSION_SUMMARY"], # required, accepts SESSION_SUMMARY
747
+ # session_summary_configuration: {
748
+ # max_recent_sessions: 1,
749
+ # },
747
750
  # storage_days: 1,
748
751
  # },
749
752
  # orchestration_type: "DEFAULT", # accepts DEFAULT, CUSTOM_ORCHESTRATION
@@ -763,7 +766,7 @@ module Aws::BedrockAgent
763
766
  # parser_mode: "DEFAULT", # accepts DEFAULT, OVERRIDDEN
764
767
  # prompt_creation_mode: "DEFAULT", # accepts DEFAULT, OVERRIDDEN
765
768
  # prompt_state: "ENABLED", # accepts ENABLED, DISABLED
766
- # prompt_type: "PRE_PROCESSING", # accepts PRE_PROCESSING, ORCHESTRATION, POST_PROCESSING, KNOWLEDGE_BASE_RESPONSE_GENERATION
769
+ # prompt_type: "PRE_PROCESSING", # accepts PRE_PROCESSING, ORCHESTRATION, POST_PROCESSING, KNOWLEDGE_BASE_RESPONSE_GENERATION, MEMORY_SUMMARIZATION
767
770
  # },
768
771
  # ],
769
772
  # },
@@ -795,6 +798,7 @@ module Aws::BedrockAgent
795
798
  # resp.agent.instruction #=> String
796
799
  # resp.agent.memory_configuration.enabled_memory_types #=> Array
797
800
  # resp.agent.memory_configuration.enabled_memory_types[0] #=> String, one of "SESSION_SUMMARY"
801
+ # resp.agent.memory_configuration.session_summary_configuration.max_recent_sessions #=> Integer
798
802
  # resp.agent.memory_configuration.storage_days #=> Integer
799
803
  # resp.agent.orchestration_type #=> String, one of "DEFAULT", "CUSTOM_ORCHESTRATION"
800
804
  # resp.agent.prepared_at #=> Time
@@ -811,7 +815,7 @@ module Aws::BedrockAgent
811
815
  # resp.agent.prompt_override_configuration.prompt_configurations[0].parser_mode #=> String, one of "DEFAULT", "OVERRIDDEN"
812
816
  # resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_creation_mode #=> String, one of "DEFAULT", "OVERRIDDEN"
813
817
  # resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_state #=> String, one of "ENABLED", "DISABLED"
814
- # resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_type #=> String, one of "PRE_PROCESSING", "ORCHESTRATION", "POST_PROCESSING", "KNOWLEDGE_BASE_RESPONSE_GENERATION"
818
+ # resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_type #=> String, one of "PRE_PROCESSING", "ORCHESTRATION", "POST_PROCESSING", "KNOWLEDGE_BASE_RESPONSE_GENERATION", "MEMORY_SUMMARIZATION"
815
819
  # resp.agent.recommended_actions #=> Array
816
820
  # resp.agent.recommended_actions[0] #=> String
817
821
  # resp.agent.updated_at #=> Time
@@ -1213,7 +1217,7 @@ module Aws::BedrockAgent
1213
1217
  # },
1214
1218
  # },
1215
1219
  # source_configuration: { # required
1216
- # auth_type: "OAUTH2_CLIENT_CREDENTIALS", # required, accepts OAUTH2_CLIENT_CREDENTIALS
1220
+ # auth_type: "OAUTH2_CLIENT_CREDENTIALS", # required, accepts OAUTH2_CLIENT_CREDENTIALS, OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS
1217
1221
  # credentials_secret_arn: "SecretArn", # required
1218
1222
  # domain: "SharePointDomain", # required
1219
1223
  # host_type: "ONLINE", # required, accepts ONLINE
@@ -1225,11 +1229,13 @@ module Aws::BedrockAgent
1225
1229
  # web_configuration: {
1226
1230
  # crawler_configuration: {
1227
1231
  # crawler_limits: {
1232
+ # max_pages: 1,
1228
1233
  # rate_limit: 1,
1229
1234
  # },
1230
1235
  # exclusion_filters: ["FilterPattern"],
1231
1236
  # inclusion_filters: ["FilterPattern"],
1232
1237
  # scope: "HOST_ONLY", # accepts HOST_ONLY, SUBDOMAINS
1238
+ # user_agent: "UserAgent",
1233
1239
  # },
1234
1240
  # source_configuration: { # required
1235
1241
  # url_configuration: { # required
@@ -1338,7 +1344,7 @@ module Aws::BedrockAgent
1338
1344
  # resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.pattern_object_filter.filters[0].inclusion_filters[0] #=> String
1339
1345
  # resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.pattern_object_filter.filters[0].object_type #=> String
1340
1346
  # resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.type #=> String, one of "PATTERN"
1341
- # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.auth_type #=> String, one of "OAUTH2_CLIENT_CREDENTIALS"
1347
+ # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.auth_type #=> String, one of "OAUTH2_CLIENT_CREDENTIALS", "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS"
1342
1348
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.credentials_secret_arn #=> String
1343
1349
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.domain #=> String
1344
1350
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.host_type #=> String, one of "ONLINE"
@@ -1346,12 +1352,14 @@ module Aws::BedrockAgent
1346
1352
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls[0] #=> String
1347
1353
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.tenant_id #=> String
1348
1354
  # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA"
1355
+ # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.max_pages #=> Integer
1349
1356
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.rate_limit #=> Integer
1350
1357
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters #=> Array
1351
1358
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters[0] #=> String
1352
1359
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters #=> Array
1353
1360
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters[0] #=> String
1354
1361
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.scope #=> String, one of "HOST_ONLY", "SUBDOMAINS"
1362
+ # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.user_agent #=> String
1355
1363
  # resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls #=> Array
1356
1364
  # resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls[0].url #=> String
1357
1365
  # resp.data_source.data_source_id #=> String
@@ -3134,6 +3142,7 @@ module Aws::BedrockAgent
3134
3142
  # resp.agent.instruction #=> String
3135
3143
  # resp.agent.memory_configuration.enabled_memory_types #=> Array
3136
3144
  # resp.agent.memory_configuration.enabled_memory_types[0] #=> String, one of "SESSION_SUMMARY"
3145
+ # resp.agent.memory_configuration.session_summary_configuration.max_recent_sessions #=> Integer
3137
3146
  # resp.agent.memory_configuration.storage_days #=> Integer
3138
3147
  # resp.agent.orchestration_type #=> String, one of "DEFAULT", "CUSTOM_ORCHESTRATION"
3139
3148
  # resp.agent.prepared_at #=> Time
@@ -3150,7 +3159,7 @@ module Aws::BedrockAgent
3150
3159
  # resp.agent.prompt_override_configuration.prompt_configurations[0].parser_mode #=> String, one of "DEFAULT", "OVERRIDDEN"
3151
3160
  # resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_creation_mode #=> String, one of "DEFAULT", "OVERRIDDEN"
3152
3161
  # resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_state #=> String, one of "ENABLED", "DISABLED"
3153
- # resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_type #=> String, one of "PRE_PROCESSING", "ORCHESTRATION", "POST_PROCESSING", "KNOWLEDGE_BASE_RESPONSE_GENERATION"
3162
+ # resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_type #=> String, one of "PRE_PROCESSING", "ORCHESTRATION", "POST_PROCESSING", "KNOWLEDGE_BASE_RESPONSE_GENERATION", "MEMORY_SUMMARIZATION"
3154
3163
  # resp.agent.recommended_actions #=> Array
3155
3164
  # resp.agent.recommended_actions[0] #=> String
3156
3165
  # resp.agent.updated_at #=> Time
@@ -3402,6 +3411,7 @@ module Aws::BedrockAgent
3402
3411
  # resp.agent_version.instruction #=> String
3403
3412
  # resp.agent_version.memory_configuration.enabled_memory_types #=> Array
3404
3413
  # resp.agent_version.memory_configuration.enabled_memory_types[0] #=> String, one of "SESSION_SUMMARY"
3414
+ # resp.agent_version.memory_configuration.session_summary_configuration.max_recent_sessions #=> Integer
3405
3415
  # resp.agent_version.memory_configuration.storage_days #=> Integer
3406
3416
  # resp.agent_version.prompt_override_configuration.override_lambda #=> String
3407
3417
  # resp.agent_version.prompt_override_configuration.prompt_configurations #=> Array
@@ -3416,7 +3426,7 @@ module Aws::BedrockAgent
3416
3426
  # resp.agent_version.prompt_override_configuration.prompt_configurations[0].parser_mode #=> String, one of "DEFAULT", "OVERRIDDEN"
3417
3427
  # resp.agent_version.prompt_override_configuration.prompt_configurations[0].prompt_creation_mode #=> String, one of "DEFAULT", "OVERRIDDEN"
3418
3428
  # resp.agent_version.prompt_override_configuration.prompt_configurations[0].prompt_state #=> String, one of "ENABLED", "DISABLED"
3419
- # resp.agent_version.prompt_override_configuration.prompt_configurations[0].prompt_type #=> String, one of "PRE_PROCESSING", "ORCHESTRATION", "POST_PROCESSING", "KNOWLEDGE_BASE_RESPONSE_GENERATION"
3429
+ # resp.agent_version.prompt_override_configuration.prompt_configurations[0].prompt_type #=> String, one of "PRE_PROCESSING", "ORCHESTRATION", "POST_PROCESSING", "KNOWLEDGE_BASE_RESPONSE_GENERATION", "MEMORY_SUMMARIZATION"
3420
3430
  # resp.agent_version.recommended_actions #=> Array
3421
3431
  # resp.agent_version.recommended_actions[0] #=> String
3422
3432
  # resp.agent_version.updated_at #=> Time
@@ -3486,7 +3496,7 @@ module Aws::BedrockAgent
3486
3496
  # resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.pattern_object_filter.filters[0].inclusion_filters[0] #=> String
3487
3497
  # resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.pattern_object_filter.filters[0].object_type #=> String
3488
3498
  # resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.type #=> String, one of "PATTERN"
3489
- # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.auth_type #=> String, one of "OAUTH2_CLIENT_CREDENTIALS"
3499
+ # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.auth_type #=> String, one of "OAUTH2_CLIENT_CREDENTIALS", "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS"
3490
3500
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.credentials_secret_arn #=> String
3491
3501
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.domain #=> String
3492
3502
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.host_type #=> String, one of "ONLINE"
@@ -3494,12 +3504,14 @@ module Aws::BedrockAgent
3494
3504
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls[0] #=> String
3495
3505
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.tenant_id #=> String
3496
3506
  # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA"
3507
+ # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.max_pages #=> Integer
3497
3508
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.rate_limit #=> Integer
3498
3509
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters #=> Array
3499
3510
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters[0] #=> String
3500
3511
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters #=> Array
3501
3512
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters[0] #=> String
3502
3513
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.scope #=> String, one of "HOST_ONLY", "SUBDOMAINS"
3514
+ # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.user_agent #=> String
3503
3515
  # resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls #=> Array
3504
3516
  # resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls[0].url #=> String
3505
3517
  # resp.data_source.data_source_id #=> String
@@ -5501,6 +5513,9 @@ module Aws::BedrockAgent
5501
5513
  # instruction: "Instruction",
5502
5514
  # memory_configuration: {
5503
5515
  # enabled_memory_types: ["SESSION_SUMMARY"], # required, accepts SESSION_SUMMARY
5516
+ # session_summary_configuration: {
5517
+ # max_recent_sessions: 1,
5518
+ # },
5504
5519
  # storage_days: 1,
5505
5520
  # },
5506
5521
  # orchestration_type: "DEFAULT", # accepts DEFAULT, CUSTOM_ORCHESTRATION
@@ -5520,7 +5535,7 @@ module Aws::BedrockAgent
5520
5535
  # parser_mode: "DEFAULT", # accepts DEFAULT, OVERRIDDEN
5521
5536
  # prompt_creation_mode: "DEFAULT", # accepts DEFAULT, OVERRIDDEN
5522
5537
  # prompt_state: "ENABLED", # accepts ENABLED, DISABLED
5523
- # prompt_type: "PRE_PROCESSING", # accepts PRE_PROCESSING, ORCHESTRATION, POST_PROCESSING, KNOWLEDGE_BASE_RESPONSE_GENERATION
5538
+ # prompt_type: "PRE_PROCESSING", # accepts PRE_PROCESSING, ORCHESTRATION, POST_PROCESSING, KNOWLEDGE_BASE_RESPONSE_GENERATION, MEMORY_SUMMARIZATION
5524
5539
  # },
5525
5540
  # ],
5526
5541
  # },
@@ -5549,6 +5564,7 @@ module Aws::BedrockAgent
5549
5564
  # resp.agent.instruction #=> String
5550
5565
  # resp.agent.memory_configuration.enabled_memory_types #=> Array
5551
5566
  # resp.agent.memory_configuration.enabled_memory_types[0] #=> String, one of "SESSION_SUMMARY"
5567
+ # resp.agent.memory_configuration.session_summary_configuration.max_recent_sessions #=> Integer
5552
5568
  # resp.agent.memory_configuration.storage_days #=> Integer
5553
5569
  # resp.agent.orchestration_type #=> String, one of "DEFAULT", "CUSTOM_ORCHESTRATION"
5554
5570
  # resp.agent.prepared_at #=> Time
@@ -5565,7 +5581,7 @@ module Aws::BedrockAgent
5565
5581
  # resp.agent.prompt_override_configuration.prompt_configurations[0].parser_mode #=> String, one of "DEFAULT", "OVERRIDDEN"
5566
5582
  # resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_creation_mode #=> String, one of "DEFAULT", "OVERRIDDEN"
5567
5583
  # resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_state #=> String, one of "ENABLED", "DISABLED"
5568
- # resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_type #=> String, one of "PRE_PROCESSING", "ORCHESTRATION", "POST_PROCESSING", "KNOWLEDGE_BASE_RESPONSE_GENERATION"
5584
+ # resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_type #=> String, one of "PRE_PROCESSING", "ORCHESTRATION", "POST_PROCESSING", "KNOWLEDGE_BASE_RESPONSE_GENERATION", "MEMORY_SUMMARIZATION"
5569
5585
  # resp.agent.recommended_actions #=> Array
5570
5586
  # resp.agent.recommended_actions[0] #=> String
5571
5587
  # resp.agent.updated_at #=> Time
@@ -6011,7 +6027,7 @@ module Aws::BedrockAgent
6011
6027
  # },
6012
6028
  # },
6013
6029
  # source_configuration: { # required
6014
- # auth_type: "OAUTH2_CLIENT_CREDENTIALS", # required, accepts OAUTH2_CLIENT_CREDENTIALS
6030
+ # auth_type: "OAUTH2_CLIENT_CREDENTIALS", # required, accepts OAUTH2_CLIENT_CREDENTIALS, OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS
6015
6031
  # credentials_secret_arn: "SecretArn", # required
6016
6032
  # domain: "SharePointDomain", # required
6017
6033
  # host_type: "ONLINE", # required, accepts ONLINE
@@ -6023,11 +6039,13 @@ module Aws::BedrockAgent
6023
6039
  # web_configuration: {
6024
6040
  # crawler_configuration: {
6025
6041
  # crawler_limits: {
6042
+ # max_pages: 1,
6026
6043
  # rate_limit: 1,
6027
6044
  # },
6028
6045
  # exclusion_filters: ["FilterPattern"],
6029
6046
  # inclusion_filters: ["FilterPattern"],
6030
6047
  # scope: "HOST_ONLY", # accepts HOST_ONLY, SUBDOMAINS
6048
+ # user_agent: "UserAgent",
6031
6049
  # },
6032
6050
  # source_configuration: { # required
6033
6051
  # url_configuration: { # required
@@ -6137,7 +6155,7 @@ module Aws::BedrockAgent
6137
6155
  # resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.pattern_object_filter.filters[0].inclusion_filters[0] #=> String
6138
6156
  # resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.pattern_object_filter.filters[0].object_type #=> String
6139
6157
  # resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.type #=> String, one of "PATTERN"
6140
- # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.auth_type #=> String, one of "OAUTH2_CLIENT_CREDENTIALS"
6158
+ # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.auth_type #=> String, one of "OAUTH2_CLIENT_CREDENTIALS", "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS"
6141
6159
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.credentials_secret_arn #=> String
6142
6160
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.domain #=> String
6143
6161
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.host_type #=> String, one of "ONLINE"
@@ -6145,12 +6163,14 @@ module Aws::BedrockAgent
6145
6163
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls[0] #=> String
6146
6164
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.tenant_id #=> String
6147
6165
  # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA"
6166
+ # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.max_pages #=> Integer
6148
6167
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.rate_limit #=> Integer
6149
6168
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters #=> Array
6150
6169
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters[0] #=> String
6151
6170
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters #=> Array
6152
6171
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters[0] #=> String
6153
6172
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.scope #=> String, one of "HOST_ONLY", "SUBDOMAINS"
6173
+ # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.user_agent #=> String
6154
6174
  # resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls #=> Array
6155
6175
  # resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls[0].url #=> String
6156
6176
  # resp.data_source.data_source_id #=> String
@@ -7292,7 +7312,7 @@ module Aws::BedrockAgent
7292
7312
  tracer: tracer
7293
7313
  )
7294
7314
  context[:gem_name] = 'aws-sdk-bedrockagent'
7295
- context[:gem_version] = '1.40.0'
7315
+ context[:gem_version] = '1.41.0'
7296
7316
  Seahorse::Client::Request.new(handlers, context)
7297
7317
  end
7298
7318
 
@@ -355,6 +355,7 @@ module Aws::BedrockAgent
355
355
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
356
356
  MalformedConditionExpressionFlowValidationDetails = Shapes::StructureShape.new(name: 'MalformedConditionExpressionFlowValidationDetails')
357
357
  MalformedNodeInputExpressionFlowValidationDetails = Shapes::StructureShape.new(name: 'MalformedNodeInputExpressionFlowValidationDetails')
358
+ MaxRecentSessions = Shapes::IntegerShape.new(name: 'MaxRecentSessions')
358
359
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
359
360
  MaximumLength = Shapes::IntegerShape.new(name: 'MaximumLength')
360
361
  MemoryConfiguration = Shapes::StructureShape.new(name: 'MemoryConfiguration')
@@ -521,6 +522,7 @@ module Aws::BedrockAgent
521
522
  SemanticChunkingConfigurationMaxTokensInteger = Shapes::IntegerShape.new(name: 'SemanticChunkingConfigurationMaxTokensInteger')
522
523
  ServerSideEncryptionConfiguration = Shapes::StructureShape.new(name: 'ServerSideEncryptionConfiguration')
523
524
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
525
+ SessionSummaryConfiguration = Shapes::StructureShape.new(name: 'SessionSummaryConfiguration')
524
526
  SessionTTL = Shapes::IntegerShape.new(name: 'SessionTTL')
525
527
  SharePointAuthType = Shapes::StringShape.new(name: 'SharePointAuthType')
526
528
  SharePointCrawlerConfiguration = Shapes::StructureShape.new(name: 'SharePointCrawlerConfiguration')
@@ -611,6 +613,7 @@ module Aws::BedrockAgent
611
613
  UpdatePromptResponse = Shapes::StructureShape.new(name: 'UpdatePromptResponse')
612
614
  Url = Shapes::StringShape.new(name: 'Url')
613
615
  UrlConfiguration = Shapes::StructureShape.new(name: 'UrlConfiguration')
616
+ UserAgent = Shapes::StringShape.new(name: 'UserAgent')
614
617
  ValidateFlowDefinitionRequest = Shapes::StructureShape.new(name: 'ValidateFlowDefinitionRequest')
615
618
  ValidateFlowDefinitionResponse = Shapes::StructureShape.new(name: 'ValidateFlowDefinitionResponse')
616
619
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
@@ -621,6 +624,7 @@ module Aws::BedrockAgent
621
624
  Version = Shapes::StringShape.new(name: 'Version')
622
625
  WebCrawlerConfiguration = Shapes::StructureShape.new(name: 'WebCrawlerConfiguration')
623
626
  WebCrawlerLimits = Shapes::StructureShape.new(name: 'WebCrawlerLimits')
627
+ WebCrawlerLimitsMaxPagesInteger = Shapes::IntegerShape.new(name: 'WebCrawlerLimitsMaxPagesInteger')
624
628
  WebCrawlerLimitsRateLimitInteger = Shapes::IntegerShape.new(name: 'WebCrawlerLimitsRateLimitInteger')
625
629
  WebDataSourceConfiguration = Shapes::StructureShape.new(name: 'WebDataSourceConfiguration')
626
630
  WebScopeType = Shapes::StringShape.new(name: 'WebScopeType')
@@ -1919,6 +1923,7 @@ module Aws::BedrockAgent
1919
1923
  MalformedNodeInputExpressionFlowValidationDetails.struct_class = Types::MalformedNodeInputExpressionFlowValidationDetails
1920
1924
 
1921
1925
  MemoryConfiguration.add_member(:enabled_memory_types, Shapes::ShapeRef.new(shape: EnabledMemoryTypes, required: true, location_name: "enabledMemoryTypes"))
1926
+ MemoryConfiguration.add_member(:session_summary_configuration, Shapes::ShapeRef.new(shape: SessionSummaryConfiguration, location_name: "sessionSummaryConfiguration"))
1922
1927
  MemoryConfiguration.add_member(:storage_days, Shapes::ShapeRef.new(shape: StorageDays, location_name: "storageDays"))
1923
1928
  MemoryConfiguration.struct_class = Types::MemoryConfiguration
1924
1929
 
@@ -2309,6 +2314,9 @@ module Aws::BedrockAgent
2309
2314
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
2310
2315
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
2311
2316
 
2317
+ SessionSummaryConfiguration.add_member(:max_recent_sessions, Shapes::ShapeRef.new(shape: MaxRecentSessions, location_name: "maxRecentSessions"))
2318
+ SessionSummaryConfiguration.struct_class = Types::SessionSummaryConfiguration
2319
+
2312
2320
  SharePointCrawlerConfiguration.add_member(:filter_configuration, Shapes::ShapeRef.new(shape: CrawlFilterConfiguration, location_name: "filterConfiguration"))
2313
2321
  SharePointCrawlerConfiguration.struct_class = Types::SharePointCrawlerConfiguration
2314
2322
 
@@ -2669,8 +2677,10 @@ module Aws::BedrockAgent
2669
2677
  WebCrawlerConfiguration.add_member(:exclusion_filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "exclusionFilters"))
2670
2678
  WebCrawlerConfiguration.add_member(:inclusion_filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "inclusionFilters"))
2671
2679
  WebCrawlerConfiguration.add_member(:scope, Shapes::ShapeRef.new(shape: WebScopeType, location_name: "scope"))
2680
+ WebCrawlerConfiguration.add_member(:user_agent, Shapes::ShapeRef.new(shape: UserAgent, location_name: "userAgent"))
2672
2681
  WebCrawlerConfiguration.struct_class = Types::WebCrawlerConfiguration
2673
2682
 
2683
+ WebCrawlerLimits.add_member(:max_pages, Shapes::ShapeRef.new(shape: WebCrawlerLimitsMaxPagesInteger, location_name: "maxPages"))
2674
2684
  WebCrawlerLimits.add_member(:rate_limit, Shapes::ShapeRef.new(shape: WebCrawlerLimitsRateLimitInteger, location_name: "rateLimit"))
2675
2685
  WebCrawlerLimits.struct_class = Types::WebCrawlerLimits
2676
2686
 
@@ -6721,6 +6721,11 @@ module Aws::BedrockAgent
6721
6721
  # The type of memory that is stored.
6722
6722
  # @return [Array<String>]
6723
6723
  #
6724
+ # @!attribute [rw] session_summary_configuration
6725
+ # Contains the configuration for SESSION\_SUMMARY memory type enabled
6726
+ # for the agent.
6727
+ # @return [Types::SessionSummaryConfiguration]
6728
+ #
6724
6729
  # @!attribute [rw] storage_days
6725
6730
  # The number of days the agent is configured to retain the
6726
6731
  # conversational context.
@@ -6730,6 +6735,7 @@ module Aws::BedrockAgent
6730
6735
  #
6731
6736
  class MemoryConfiguration < Struct.new(
6732
6737
  :enabled_memory_types,
6738
+ :session_summary_configuration,
6733
6739
  :storage_days)
6734
6740
  SENSITIVE = []
6735
6741
  include Aws::Structure
@@ -8763,6 +8769,21 @@ module Aws::BedrockAgent
8763
8769
  include Aws::Structure
8764
8770
  end
8765
8771
 
8772
+ # Configuration for SESSION\_SUMMARY memory type enabled for the agent.
8773
+ #
8774
+ # @!attribute [rw] max_recent_sessions
8775
+ # Maximum number of recent session summaries to include in the
8776
+ # agent's prompt context.
8777
+ # @return [Integer]
8778
+ #
8779
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/SessionSummaryConfiguration AWS API Documentation
8780
+ #
8781
+ class SessionSummaryConfiguration < Struct.new(
8782
+ :max_recent_sessions)
8783
+ SENSITIVE = []
8784
+ include Aws::Structure
8785
+ end
8786
+
8766
8787
  # The configuration of the SharePoint content. For example, configuring
8767
8788
  # specific types of SharePoint content.
8768
8789
  #
@@ -10570,20 +10591,35 @@ module Aws::BedrockAgent
10570
10591
  # "docs.aws.amazon.com".
10571
10592
  # @return [String]
10572
10593
  #
10594
+ # @!attribute [rw] user_agent
10595
+ # A string used for identifying the crawler or a bot when it accesses
10596
+ # a web server. By default, this is set to `bedrockbot_UUID` for your
10597
+ # crawler. You can optionally append a custom string to
10598
+ # `bedrockbot_UUID` to allowlist a specific user agent permitted to
10599
+ # access your source URLs.
10600
+ # @return [String]
10601
+ #
10573
10602
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/WebCrawlerConfiguration AWS API Documentation
10574
10603
  #
10575
10604
  class WebCrawlerConfiguration < Struct.new(
10576
10605
  :crawler_limits,
10577
10606
  :exclusion_filters,
10578
10607
  :inclusion_filters,
10579
- :scope)
10580
- SENSITIVE = [:exclusion_filters, :inclusion_filters]
10608
+ :scope,
10609
+ :user_agent)
10610
+ SENSITIVE = [:exclusion_filters, :inclusion_filters, :user_agent]
10581
10611
  include Aws::Structure
10582
10612
  end
10583
10613
 
10584
10614
  # The rate limits for the URLs that you want to crawl. You should be
10585
10615
  # authorized to crawl the URLs.
10586
10616
  #
10617
+ # @!attribute [rw] max_pages
10618
+ # The max number of web pages crawled from your source URLs, up to
10619
+ # 25,000 pages. If the web pages exceed this limit, the data source
10620
+ # sync will fail and no web pages will be ingested.
10621
+ # @return [Integer]
10622
+ #
10587
10623
  # @!attribute [rw] rate_limit
10588
10624
  # The max rate at which pages are crawled, up to 300 per minute per
10589
10625
  # host.
@@ -10592,6 +10628,7 @@ module Aws::BedrockAgent
10592
10628
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/WebCrawlerLimits AWS API Documentation
10593
10629
  #
10594
10630
  class WebCrawlerLimits < Struct.new(
10631
+ :max_pages,
10595
10632
  :rate_limit)
10596
10633
  SENSITIVE = []
10597
10634
  include Aws::Structure
@@ -54,7 +54,7 @@ module Aws::BedrockAgent
54
54
  autoload :EndpointProvider, 'aws-sdk-bedrockagent/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-bedrockagent/endpoints'
56
56
 
57
- GEM_VERSION = '1.40.0'
57
+ GEM_VERSION = '1.41.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -133,6 +133,9 @@ module Aws
133
133
  ?instruction: ::String,
134
134
  ?memory_configuration: {
135
135
  enabled_memory_types: Array[("SESSION_SUMMARY")],
136
+ session_summary_configuration: {
137
+ max_recent_sessions: ::Integer?
138
+ }?,
136
139
  storage_days: ::Integer?
137
140
  },
138
141
  ?orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION"),
@@ -152,7 +155,7 @@ module Aws
152
155
  parser_mode: ("DEFAULT" | "OVERRIDDEN")?,
153
156
  prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")?,
154
157
  prompt_state: ("ENABLED" | "DISABLED")?,
155
- prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION")?
158
+ prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION" | "MEMORY_SUMMARIZATION")?
156
159
  },
157
160
  ]
158
161
  },
@@ -294,7 +297,7 @@ module Aws
294
297
  }?
295
298
  }?,
296
299
  source_configuration: {
297
- auth_type: ("OAUTH2_CLIENT_CREDENTIALS"),
300
+ auth_type: ("OAUTH2_CLIENT_CREDENTIALS" | "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS"),
298
301
  credentials_secret_arn: ::String,
299
302
  domain: ::String,
300
303
  host_type: ("ONLINE"),
@@ -306,11 +309,13 @@ module Aws
306
309
  web_configuration: {
307
310
  crawler_configuration: {
308
311
  crawler_limits: {
312
+ max_pages: ::Integer?,
309
313
  rate_limit: ::Integer?
310
314
  }?,
311
315
  exclusion_filters: Array[::String]?,
312
316
  inclusion_filters: Array[::String]?,
313
- scope: ("HOST_ONLY" | "SUBDOMAINS")?
317
+ scope: ("HOST_ONLY" | "SUBDOMAINS")?,
318
+ user_agent: ::String?
314
319
  }?,
315
320
  source_configuration: {
316
321
  url_configuration: {
@@ -1640,6 +1645,9 @@ module Aws
1640
1645
  ?instruction: ::String,
1641
1646
  ?memory_configuration: {
1642
1647
  enabled_memory_types: Array[("SESSION_SUMMARY")],
1648
+ session_summary_configuration: {
1649
+ max_recent_sessions: ::Integer?
1650
+ }?,
1643
1651
  storage_days: ::Integer?
1644
1652
  },
1645
1653
  ?orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION"),
@@ -1659,7 +1667,7 @@ module Aws
1659
1667
  parser_mode: ("DEFAULT" | "OVERRIDDEN")?,
1660
1668
  prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")?,
1661
1669
  prompt_state: ("ENABLED" | "DISABLED")?,
1662
- prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION")?
1670
+ prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION" | "MEMORY_SUMMARIZATION")?
1663
1671
  },
1664
1672
  ]
1665
1673
  }
@@ -1830,7 +1838,7 @@ module Aws
1830
1838
  }?
1831
1839
  }?,
1832
1840
  source_configuration: {
1833
- auth_type: ("OAUTH2_CLIENT_CREDENTIALS"),
1841
+ auth_type: ("OAUTH2_CLIENT_CREDENTIALS" | "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS"),
1834
1842
  credentials_secret_arn: ::String,
1835
1843
  domain: ::String,
1836
1844
  host_type: ("ONLINE"),
@@ -1842,11 +1850,13 @@ module Aws
1842
1850
  web_configuration: {
1843
1851
  crawler_configuration: {
1844
1852
  crawler_limits: {
1853
+ max_pages: ::Integer?,
1845
1854
  rate_limit: ::Integer?
1846
1855
  }?,
1847
1856
  exclusion_filters: Array[::String]?,
1848
1857
  inclusion_filters: Array[::String]?,
1849
- scope: ("HOST_ONLY" | "SUBDOMAINS")?
1858
+ scope: ("HOST_ONLY" | "SUBDOMAINS")?,
1859
+ user_agent: ::String?
1850
1860
  }?,
1851
1861
  source_configuration: {
1852
1862
  url_configuration: {
data/sig/types.rbs CHANGED
@@ -1694,6 +1694,7 @@ module Aws::BedrockAgent
1694
1694
 
1695
1695
  class MemoryConfiguration
1696
1696
  attr_accessor enabled_memory_types: ::Array[("SESSION_SUMMARY")]
1697
+ attr_accessor session_summary_configuration: Types::SessionSummaryConfiguration
1697
1698
  attr_accessor storage_days: ::Integer
1698
1699
  SENSITIVE: []
1699
1700
  end
@@ -1899,7 +1900,7 @@ module Aws::BedrockAgent
1899
1900
  attr_accessor parser_mode: ("DEFAULT" | "OVERRIDDEN")
1900
1901
  attr_accessor prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")
1901
1902
  attr_accessor prompt_state: ("ENABLED" | "DISABLED")
1902
- attr_accessor prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION")
1903
+ attr_accessor prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION" | "MEMORY_SUMMARIZATION")
1903
1904
  SENSITIVE: [:base_prompt_template]
1904
1905
  end
1905
1906
 
@@ -2225,6 +2226,11 @@ module Aws::BedrockAgent
2225
2226
  SENSITIVE: []
2226
2227
  end
2227
2228
 
2229
+ class SessionSummaryConfiguration
2230
+ attr_accessor max_recent_sessions: ::Integer
2231
+ SENSITIVE: []
2232
+ end
2233
+
2228
2234
  class SharePointCrawlerConfiguration
2229
2235
  attr_accessor filter_configuration: Types::CrawlFilterConfiguration
2230
2236
  SENSITIVE: []
@@ -2237,7 +2243,7 @@ module Aws::BedrockAgent
2237
2243
  end
2238
2244
 
2239
2245
  class SharePointSourceConfiguration
2240
- attr_accessor auth_type: ("OAUTH2_CLIENT_CREDENTIALS")
2246
+ attr_accessor auth_type: ("OAUTH2_CLIENT_CREDENTIALS" | "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS")
2241
2247
  attr_accessor credentials_secret_arn: ::String
2242
2248
  attr_accessor domain: ::String
2243
2249
  attr_accessor host_type: ("ONLINE")
@@ -2715,10 +2721,12 @@ module Aws::BedrockAgent
2715
2721
  attr_accessor exclusion_filters: ::Array[::String]
2716
2722
  attr_accessor inclusion_filters: ::Array[::String]
2717
2723
  attr_accessor scope: ("HOST_ONLY" | "SUBDOMAINS")
2718
- SENSITIVE: [:exclusion_filters, :inclusion_filters]
2724
+ attr_accessor user_agent: ::String
2725
+ SENSITIVE: [:exclusion_filters, :inclusion_filters, :user_agent]
2719
2726
  end
2720
2727
 
2721
2728
  class WebCrawlerLimits
2729
+ attr_accessor max_pages: ::Integer
2722
2730
  attr_accessor rate_limit: ::Integer
2723
2731
  SENSITIVE: []
2724
2732
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.40.0
4
+ version: 1.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
11
+ date: 2024-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core