aws-sdk-bedrockagent 1.39.0 → 1.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +299 -31
- data/lib/aws-sdk-bedrockagent/client_api.rb +152 -3
- data/lib/aws-sdk-bedrockagent/types.rb +537 -26
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +176 -14
- data/sig/types.rbs +135 -6
- metadata +2 -2
@@ -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
|
@@ -1221,15 +1225,17 @@ module Aws::BedrockAgent
|
|
1221
1225
|
# tenant_id: "Microsoft365TenantId",
|
1222
1226
|
# },
|
1223
1227
|
# },
|
1224
|
-
# type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM
|
1228
|
+
# type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM, REDSHIFT_METADATA
|
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
|
@@ -1287,13 +1293,17 @@ module Aws::BedrockAgent
|
|
1287
1293
|
# ],
|
1288
1294
|
# },
|
1289
1295
|
# parsing_configuration: {
|
1296
|
+
# bedrock_data_automation_configuration: {
|
1297
|
+
# parsing_modality: "MULTIMODAL", # accepts MULTIMODAL
|
1298
|
+
# },
|
1290
1299
|
# bedrock_foundation_model_configuration: {
|
1291
1300
|
# model_arn: "BedrockModelArn", # required
|
1301
|
+
# parsing_modality: "MULTIMODAL", # accepts MULTIMODAL
|
1292
1302
|
# parsing_prompt: {
|
1293
1303
|
# parsing_prompt_text: "ParsingPromptText", # required
|
1294
1304
|
# },
|
1295
1305
|
# },
|
1296
|
-
# parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL
|
1306
|
+
# parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, BEDROCK_DATA_AUTOMATION
|
1297
1307
|
# },
|
1298
1308
|
# },
|
1299
1309
|
# })
|
@@ -1334,20 +1344,22 @@ module Aws::BedrockAgent
|
|
1334
1344
|
# resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.pattern_object_filter.filters[0].inclusion_filters[0] #=> String
|
1335
1345
|
# resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.pattern_object_filter.filters[0].object_type #=> String
|
1336
1346
|
# resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.type #=> String, one of "PATTERN"
|
1337
|
-
# 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"
|
1338
1348
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.credentials_secret_arn #=> String
|
1339
1349
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.domain #=> String
|
1340
1350
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.host_type #=> String, one of "ONLINE"
|
1341
1351
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls #=> Array
|
1342
1352
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls[0] #=> String
|
1343
1353
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.tenant_id #=> String
|
1344
|
-
# resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM"
|
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
|
1345
1356
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.rate_limit #=> Integer
|
1346
1357
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters #=> Array
|
1347
1358
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters[0] #=> String
|
1348
1359
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters #=> Array
|
1349
1360
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters[0] #=> String
|
1350
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
|
1351
1363
|
# resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls #=> Array
|
1352
1364
|
# resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls[0].url #=> String
|
1353
1365
|
# resp.data_source.data_source_id #=> String
|
@@ -1372,9 +1384,11 @@ module Aws::BedrockAgent
|
|
1372
1384
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
|
1373
1385
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
|
1374
1386
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].transformation_function.transformation_lambda_configuration.lambda_arn #=> String
|
1387
|
+
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_data_automation_configuration.parsing_modality #=> String, one of "MULTIMODAL"
|
1375
1388
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.model_arn #=> String
|
1389
|
+
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_modality #=> String, one of "MULTIMODAL"
|
1376
1390
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_prompt.parsing_prompt_text #=> String
|
1377
|
-
# resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL"
|
1391
|
+
# resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION"
|
1378
1392
|
#
|
1379
1393
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateDataSource AWS API Documentation
|
1380
1394
|
#
|
@@ -2001,7 +2015,7 @@ module Aws::BedrockAgent
|
|
2001
2015
|
# The Amazon Resource Name (ARN) of the IAM role with permissions to
|
2002
2016
|
# invoke API operations on the knowledge base.
|
2003
2017
|
#
|
2004
|
-
# @option params [
|
2018
|
+
# @option params [Types::StorageConfiguration] :storage_configuration
|
2005
2019
|
# Contains details about the configuration of the vector database used
|
2006
2020
|
# for the knowledge base.
|
2007
2021
|
#
|
@@ -2019,7 +2033,69 @@ module Aws::BedrockAgent
|
|
2019
2033
|
# client_token: "ClientToken",
|
2020
2034
|
# description: "Description",
|
2021
2035
|
# knowledge_base_configuration: { # required
|
2022
|
-
#
|
2036
|
+
# kendra_knowledge_base_configuration: {
|
2037
|
+
# kendra_index_arn: "KendraIndexArn", # required
|
2038
|
+
# },
|
2039
|
+
# sql_knowledge_base_configuration: {
|
2040
|
+
# redshift_configuration: {
|
2041
|
+
# query_engine_configuration: { # required
|
2042
|
+
# provisioned_configuration: {
|
2043
|
+
# auth_configuration: { # required
|
2044
|
+
# database_user: "String",
|
2045
|
+
# type: "IAM", # required, accepts IAM, USERNAME_PASSWORD, USERNAME
|
2046
|
+
# username_password_secret_arn: "SecretArn",
|
2047
|
+
# },
|
2048
|
+
# cluster_identifier: "RedshiftClusterIdentifier", # required
|
2049
|
+
# },
|
2050
|
+
# serverless_configuration: {
|
2051
|
+
# auth_configuration: { # required
|
2052
|
+
# type: "IAM", # required, accepts IAM, USERNAME_PASSWORD
|
2053
|
+
# username_password_secret_arn: "SecretArn",
|
2054
|
+
# },
|
2055
|
+
# workgroup_arn: "WorkgroupArn", # required
|
2056
|
+
# },
|
2057
|
+
# type: "SERVERLESS", # required, accepts SERVERLESS, PROVISIONED
|
2058
|
+
# },
|
2059
|
+
# query_generation_configuration: {
|
2060
|
+
# execution_timeout_seconds: 1,
|
2061
|
+
# generation_context: {
|
2062
|
+
# curated_queries: [
|
2063
|
+
# {
|
2064
|
+
# natural_language: "NaturalLanguageString", # required
|
2065
|
+
# sql: "SqlString", # required
|
2066
|
+
# },
|
2067
|
+
# ],
|
2068
|
+
# tables: [
|
2069
|
+
# {
|
2070
|
+
# columns: [
|
2071
|
+
# {
|
2072
|
+
# description: "DescriptionString",
|
2073
|
+
# inclusion: "INCLUDE", # accepts INCLUDE, EXCLUDE
|
2074
|
+
# name: "QueryGenerationColumnName",
|
2075
|
+
# },
|
2076
|
+
# ],
|
2077
|
+
# description: "DescriptionString",
|
2078
|
+
# inclusion: "INCLUDE", # accepts INCLUDE, EXCLUDE
|
2079
|
+
# name: "QueryGenerationTableName", # required
|
2080
|
+
# },
|
2081
|
+
# ],
|
2082
|
+
# },
|
2083
|
+
# },
|
2084
|
+
# storage_configurations: [ # required
|
2085
|
+
# {
|
2086
|
+
# aws_data_catalog_configuration: {
|
2087
|
+
# table_names: ["AwsDataCatalogTableName"], # required
|
2088
|
+
# },
|
2089
|
+
# redshift_configuration: {
|
2090
|
+
# database_name: "RedshiftDatabase", # required
|
2091
|
+
# },
|
2092
|
+
# type: "REDSHIFT", # required, accepts REDSHIFT, AWS_DATA_CATALOG
|
2093
|
+
# },
|
2094
|
+
# ],
|
2095
|
+
# },
|
2096
|
+
# type: "REDSHIFT", # required, accepts REDSHIFT
|
2097
|
+
# },
|
2098
|
+
# type: "VECTOR", # required, accepts VECTOR, KENDRA, SQL
|
2023
2099
|
# vector_knowledge_base_configuration: {
|
2024
2100
|
# embedding_model_arn: "BedrockEmbeddingModelArn", # required
|
2025
2101
|
# embedding_model_configuration: {
|
@@ -2028,11 +2104,21 @@ module Aws::BedrockAgent
|
|
2028
2104
|
# embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
|
2029
2105
|
# },
|
2030
2106
|
# },
|
2107
|
+
# supplemental_data_storage_configuration: {
|
2108
|
+
# storage_locations: [ # required
|
2109
|
+
# {
|
2110
|
+
# s3_location: {
|
2111
|
+
# uri: "S3BucketUri", # required
|
2112
|
+
# },
|
2113
|
+
# type: "S3", # required, accepts S3
|
2114
|
+
# },
|
2115
|
+
# ],
|
2116
|
+
# },
|
2031
2117
|
# },
|
2032
2118
|
# },
|
2033
2119
|
# name: "Name", # required
|
2034
2120
|
# role_arn: "KnowledgeBaseRoleArn", # required
|
2035
|
-
# storage_configuration: {
|
2121
|
+
# storage_configuration: {
|
2036
2122
|
# mongo_db_atlas_configuration: {
|
2037
2123
|
# collection_name: "MongoDbAtlasCollectionName", # required
|
2038
2124
|
# credentials_secret_arn: "SecretArn", # required
|
@@ -2100,10 +2186,40 @@ module Aws::BedrockAgent
|
|
2100
2186
|
# resp.knowledge_base.failure_reasons #=> Array
|
2101
2187
|
# resp.knowledge_base.failure_reasons[0] #=> String
|
2102
2188
|
# resp.knowledge_base.knowledge_base_arn #=> String
|
2103
|
-
# resp.knowledge_base.knowledge_base_configuration.
|
2189
|
+
# resp.knowledge_base.knowledge_base_configuration.kendra_knowledge_base_configuration.kendra_index_arn #=> String
|
2190
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.database_user #=> String
|
2191
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.type #=> String, one of "IAM", "USERNAME_PASSWORD", "USERNAME"
|
2192
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.username_password_secret_arn #=> String
|
2193
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.cluster_identifier #=> String
|
2194
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.auth_configuration.type #=> String, one of "IAM", "USERNAME_PASSWORD"
|
2195
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.auth_configuration.username_password_secret_arn #=> String
|
2196
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.workgroup_arn #=> String
|
2197
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.type #=> String, one of "SERVERLESS", "PROVISIONED"
|
2198
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.execution_timeout_seconds #=> Integer
|
2199
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries #=> Array
|
2200
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries[0].natural_language #=> String
|
2201
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries[0].sql #=> String
|
2202
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables #=> Array
|
2203
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns #=> Array
|
2204
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].description #=> String
|
2205
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].inclusion #=> String, one of "INCLUDE", "EXCLUDE"
|
2206
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].name #=> String
|
2207
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].description #=> String
|
2208
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].inclusion #=> String, one of "INCLUDE", "EXCLUDE"
|
2209
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].name #=> String
|
2210
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations #=> Array
|
2211
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].aws_data_catalog_configuration.table_names #=> Array
|
2212
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].aws_data_catalog_configuration.table_names[0] #=> String
|
2213
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].redshift_configuration.database_name #=> String
|
2214
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].type #=> String, one of "REDSHIFT", "AWS_DATA_CATALOG"
|
2215
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.type #=> String, one of "REDSHIFT"
|
2216
|
+
# resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL"
|
2104
2217
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
|
2105
2218
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
|
2106
2219
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
|
2220
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
|
2221
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
|
2222
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
|
2107
2223
|
# resp.knowledge_base.knowledge_base_id #=> String
|
2108
2224
|
# resp.knowledge_base.name #=> String
|
2109
2225
|
# resp.knowledge_base.role_arn #=> String
|
@@ -3026,6 +3142,7 @@ module Aws::BedrockAgent
|
|
3026
3142
|
# resp.agent.instruction #=> String
|
3027
3143
|
# resp.agent.memory_configuration.enabled_memory_types #=> Array
|
3028
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
|
3029
3146
|
# resp.agent.memory_configuration.storage_days #=> Integer
|
3030
3147
|
# resp.agent.orchestration_type #=> String, one of "DEFAULT", "CUSTOM_ORCHESTRATION"
|
3031
3148
|
# resp.agent.prepared_at #=> Time
|
@@ -3042,7 +3159,7 @@ module Aws::BedrockAgent
|
|
3042
3159
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].parser_mode #=> String, one of "DEFAULT", "OVERRIDDEN"
|
3043
3160
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_creation_mode #=> String, one of "DEFAULT", "OVERRIDDEN"
|
3044
3161
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_state #=> String, one of "ENABLED", "DISABLED"
|
3045
|
-
# 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"
|
3046
3163
|
# resp.agent.recommended_actions #=> Array
|
3047
3164
|
# resp.agent.recommended_actions[0] #=> String
|
3048
3165
|
# resp.agent.updated_at #=> Time
|
@@ -3294,6 +3411,7 @@ module Aws::BedrockAgent
|
|
3294
3411
|
# resp.agent_version.instruction #=> String
|
3295
3412
|
# resp.agent_version.memory_configuration.enabled_memory_types #=> Array
|
3296
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
|
3297
3415
|
# resp.agent_version.memory_configuration.storage_days #=> Integer
|
3298
3416
|
# resp.agent_version.prompt_override_configuration.override_lambda #=> String
|
3299
3417
|
# resp.agent_version.prompt_override_configuration.prompt_configurations #=> Array
|
@@ -3308,7 +3426,7 @@ module Aws::BedrockAgent
|
|
3308
3426
|
# resp.agent_version.prompt_override_configuration.prompt_configurations[0].parser_mode #=> String, one of "DEFAULT", "OVERRIDDEN"
|
3309
3427
|
# resp.agent_version.prompt_override_configuration.prompt_configurations[0].prompt_creation_mode #=> String, one of "DEFAULT", "OVERRIDDEN"
|
3310
3428
|
# resp.agent_version.prompt_override_configuration.prompt_configurations[0].prompt_state #=> String, one of "ENABLED", "DISABLED"
|
3311
|
-
# 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"
|
3312
3430
|
# resp.agent_version.recommended_actions #=> Array
|
3313
3431
|
# resp.agent_version.recommended_actions[0] #=> String
|
3314
3432
|
# resp.agent_version.updated_at #=> Time
|
@@ -3378,20 +3496,22 @@ module Aws::BedrockAgent
|
|
3378
3496
|
# resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.pattern_object_filter.filters[0].inclusion_filters[0] #=> String
|
3379
3497
|
# resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.pattern_object_filter.filters[0].object_type #=> String
|
3380
3498
|
# resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.type #=> String, one of "PATTERN"
|
3381
|
-
# 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"
|
3382
3500
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.credentials_secret_arn #=> String
|
3383
3501
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.domain #=> String
|
3384
3502
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.host_type #=> String, one of "ONLINE"
|
3385
3503
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls #=> Array
|
3386
3504
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls[0] #=> String
|
3387
3505
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.tenant_id #=> String
|
3388
|
-
# resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM"
|
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
|
3389
3508
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.rate_limit #=> Integer
|
3390
3509
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters #=> Array
|
3391
3510
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters[0] #=> String
|
3392
3511
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters #=> Array
|
3393
3512
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters[0] #=> String
|
3394
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
|
3395
3515
|
# resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls #=> Array
|
3396
3516
|
# resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls[0].url #=> String
|
3397
3517
|
# resp.data_source.data_source_id #=> String
|
@@ -3416,9 +3536,11 @@ module Aws::BedrockAgent
|
|
3416
3536
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
|
3417
3537
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
|
3418
3538
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].transformation_function.transformation_lambda_configuration.lambda_arn #=> String
|
3539
|
+
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_data_automation_configuration.parsing_modality #=> String, one of "MULTIMODAL"
|
3419
3540
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.model_arn #=> String
|
3541
|
+
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_modality #=> String, one of "MULTIMODAL"
|
3420
3542
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_prompt.parsing_prompt_text #=> String
|
3421
|
-
# resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL"
|
3543
|
+
# resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION"
|
3422
3544
|
#
|
3423
3545
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetDataSource AWS API Documentation
|
3424
3546
|
#
|
@@ -3820,10 +3942,40 @@ module Aws::BedrockAgent
|
|
3820
3942
|
# resp.knowledge_base.failure_reasons #=> Array
|
3821
3943
|
# resp.knowledge_base.failure_reasons[0] #=> String
|
3822
3944
|
# resp.knowledge_base.knowledge_base_arn #=> String
|
3823
|
-
# resp.knowledge_base.knowledge_base_configuration.
|
3945
|
+
# resp.knowledge_base.knowledge_base_configuration.kendra_knowledge_base_configuration.kendra_index_arn #=> String
|
3946
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.database_user #=> String
|
3947
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.type #=> String, one of "IAM", "USERNAME_PASSWORD", "USERNAME"
|
3948
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.username_password_secret_arn #=> String
|
3949
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.cluster_identifier #=> String
|
3950
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.auth_configuration.type #=> String, one of "IAM", "USERNAME_PASSWORD"
|
3951
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.auth_configuration.username_password_secret_arn #=> String
|
3952
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.workgroup_arn #=> String
|
3953
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.type #=> String, one of "SERVERLESS", "PROVISIONED"
|
3954
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.execution_timeout_seconds #=> Integer
|
3955
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries #=> Array
|
3956
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries[0].natural_language #=> String
|
3957
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries[0].sql #=> String
|
3958
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables #=> Array
|
3959
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns #=> Array
|
3960
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].description #=> String
|
3961
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].inclusion #=> String, one of "INCLUDE", "EXCLUDE"
|
3962
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].name #=> String
|
3963
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].description #=> String
|
3964
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].inclusion #=> String, one of "INCLUDE", "EXCLUDE"
|
3965
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].name #=> String
|
3966
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations #=> Array
|
3967
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].aws_data_catalog_configuration.table_names #=> Array
|
3968
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].aws_data_catalog_configuration.table_names[0] #=> String
|
3969
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].redshift_configuration.database_name #=> String
|
3970
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].type #=> String, one of "REDSHIFT", "AWS_DATA_CATALOG"
|
3971
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.type #=> String, one of "REDSHIFT"
|
3972
|
+
# resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL"
|
3824
3973
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
|
3825
3974
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
|
3826
3975
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
|
3976
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
|
3977
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
|
3978
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
|
3827
3979
|
# resp.knowledge_base.knowledge_base_id #=> String
|
3828
3980
|
# resp.knowledge_base.name #=> String
|
3829
3981
|
# resp.knowledge_base.role_arn #=> String
|
@@ -5361,6 +5513,9 @@ module Aws::BedrockAgent
|
|
5361
5513
|
# instruction: "Instruction",
|
5362
5514
|
# memory_configuration: {
|
5363
5515
|
# enabled_memory_types: ["SESSION_SUMMARY"], # required, accepts SESSION_SUMMARY
|
5516
|
+
# session_summary_configuration: {
|
5517
|
+
# max_recent_sessions: 1,
|
5518
|
+
# },
|
5364
5519
|
# storage_days: 1,
|
5365
5520
|
# },
|
5366
5521
|
# orchestration_type: "DEFAULT", # accepts DEFAULT, CUSTOM_ORCHESTRATION
|
@@ -5380,7 +5535,7 @@ module Aws::BedrockAgent
|
|
5380
5535
|
# parser_mode: "DEFAULT", # accepts DEFAULT, OVERRIDDEN
|
5381
5536
|
# prompt_creation_mode: "DEFAULT", # accepts DEFAULT, OVERRIDDEN
|
5382
5537
|
# prompt_state: "ENABLED", # accepts ENABLED, DISABLED
|
5383
|
-
# 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
|
5384
5539
|
# },
|
5385
5540
|
# ],
|
5386
5541
|
# },
|
@@ -5409,6 +5564,7 @@ module Aws::BedrockAgent
|
|
5409
5564
|
# resp.agent.instruction #=> String
|
5410
5565
|
# resp.agent.memory_configuration.enabled_memory_types #=> Array
|
5411
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
|
5412
5568
|
# resp.agent.memory_configuration.storage_days #=> Integer
|
5413
5569
|
# resp.agent.orchestration_type #=> String, one of "DEFAULT", "CUSTOM_ORCHESTRATION"
|
5414
5570
|
# resp.agent.prepared_at #=> Time
|
@@ -5425,7 +5581,7 @@ module Aws::BedrockAgent
|
|
5425
5581
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].parser_mode #=> String, one of "DEFAULT", "OVERRIDDEN"
|
5426
5582
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_creation_mode #=> String, one of "DEFAULT", "OVERRIDDEN"
|
5427
5583
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].prompt_state #=> String, one of "ENABLED", "DISABLED"
|
5428
|
-
# 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"
|
5429
5585
|
# resp.agent.recommended_actions #=> Array
|
5430
5586
|
# resp.agent.recommended_actions[0] #=> String
|
5431
5587
|
# resp.agent.updated_at #=> Time
|
@@ -5871,7 +6027,7 @@ module Aws::BedrockAgent
|
|
5871
6027
|
# },
|
5872
6028
|
# },
|
5873
6029
|
# source_configuration: { # required
|
5874
|
-
# 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
|
5875
6031
|
# credentials_secret_arn: "SecretArn", # required
|
5876
6032
|
# domain: "SharePointDomain", # required
|
5877
6033
|
# host_type: "ONLINE", # required, accepts ONLINE
|
@@ -5879,15 +6035,17 @@ module Aws::BedrockAgent
|
|
5879
6035
|
# tenant_id: "Microsoft365TenantId",
|
5880
6036
|
# },
|
5881
6037
|
# },
|
5882
|
-
# type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM
|
6038
|
+
# type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM, REDSHIFT_METADATA
|
5883
6039
|
# web_configuration: {
|
5884
6040
|
# crawler_configuration: {
|
5885
6041
|
# crawler_limits: {
|
6042
|
+
# max_pages: 1,
|
5886
6043
|
# rate_limit: 1,
|
5887
6044
|
# },
|
5888
6045
|
# exclusion_filters: ["FilterPattern"],
|
5889
6046
|
# inclusion_filters: ["FilterPattern"],
|
5890
6047
|
# scope: "HOST_ONLY", # accepts HOST_ONLY, SUBDOMAINS
|
6048
|
+
# user_agent: "UserAgent",
|
5891
6049
|
# },
|
5892
6050
|
# source_configuration: { # required
|
5893
6051
|
# url_configuration: { # required
|
@@ -5946,13 +6104,17 @@ module Aws::BedrockAgent
|
|
5946
6104
|
# ],
|
5947
6105
|
# },
|
5948
6106
|
# parsing_configuration: {
|
6107
|
+
# bedrock_data_automation_configuration: {
|
6108
|
+
# parsing_modality: "MULTIMODAL", # accepts MULTIMODAL
|
6109
|
+
# },
|
5949
6110
|
# bedrock_foundation_model_configuration: {
|
5950
6111
|
# model_arn: "BedrockModelArn", # required
|
6112
|
+
# parsing_modality: "MULTIMODAL", # accepts MULTIMODAL
|
5951
6113
|
# parsing_prompt: {
|
5952
6114
|
# parsing_prompt_text: "ParsingPromptText", # required
|
5953
6115
|
# },
|
5954
6116
|
# },
|
5955
|
-
# parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL
|
6117
|
+
# parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, BEDROCK_DATA_AUTOMATION
|
5956
6118
|
# },
|
5957
6119
|
# },
|
5958
6120
|
# })
|
@@ -5993,20 +6155,22 @@ module Aws::BedrockAgent
|
|
5993
6155
|
# resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.pattern_object_filter.filters[0].inclusion_filters[0] #=> String
|
5994
6156
|
# resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.pattern_object_filter.filters[0].object_type #=> String
|
5995
6157
|
# resp.data_source.data_source_configuration.share_point_configuration.crawler_configuration.filter_configuration.type #=> String, one of "PATTERN"
|
5996
|
-
# 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"
|
5997
6159
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.credentials_secret_arn #=> String
|
5998
6160
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.domain #=> String
|
5999
6161
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.host_type #=> String, one of "ONLINE"
|
6000
6162
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls #=> Array
|
6001
6163
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls[0] #=> String
|
6002
6164
|
# resp.data_source.data_source_configuration.share_point_configuration.source_configuration.tenant_id #=> String
|
6003
|
-
# resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM"
|
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
|
6004
6167
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.rate_limit #=> Integer
|
6005
6168
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters #=> Array
|
6006
6169
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters[0] #=> String
|
6007
6170
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters #=> Array
|
6008
6171
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters[0] #=> String
|
6009
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
|
6010
6174
|
# resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls #=> Array
|
6011
6175
|
# resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls[0].url #=> String
|
6012
6176
|
# resp.data_source.data_source_id #=> String
|
@@ -6031,9 +6195,11 @@ module Aws::BedrockAgent
|
|
6031
6195
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
|
6032
6196
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
|
6033
6197
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].transformation_function.transformation_lambda_configuration.lambda_arn #=> String
|
6198
|
+
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_data_automation_configuration.parsing_modality #=> String, one of "MULTIMODAL"
|
6034
6199
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.model_arn #=> String
|
6200
|
+
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_modality #=> String, one of "MULTIMODAL"
|
6035
6201
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_prompt.parsing_prompt_text #=> String
|
6036
|
-
# resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL"
|
6202
|
+
# resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION"
|
6037
6203
|
#
|
6038
6204
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateDataSource AWS API Documentation
|
6039
6205
|
#
|
@@ -6457,7 +6623,7 @@ module Aws::BedrockAgent
|
|
6457
6623
|
# Specifies a different Amazon Resource Name (ARN) of the IAM role with
|
6458
6624
|
# permissions to invoke API operations on the knowledge base.
|
6459
6625
|
#
|
6460
|
-
# @option params [
|
6626
|
+
# @option params [Types::StorageConfiguration] :storage_configuration
|
6461
6627
|
# Specifies the configuration for the vector store used for the
|
6462
6628
|
# knowledge base. You must use the same configuration as when the
|
6463
6629
|
# knowledge base was created.
|
@@ -6471,7 +6637,69 @@ module Aws::BedrockAgent
|
|
6471
6637
|
# resp = client.update_knowledge_base({
|
6472
6638
|
# description: "Description",
|
6473
6639
|
# knowledge_base_configuration: { # required
|
6474
|
-
#
|
6640
|
+
# kendra_knowledge_base_configuration: {
|
6641
|
+
# kendra_index_arn: "KendraIndexArn", # required
|
6642
|
+
# },
|
6643
|
+
# sql_knowledge_base_configuration: {
|
6644
|
+
# redshift_configuration: {
|
6645
|
+
# query_engine_configuration: { # required
|
6646
|
+
# provisioned_configuration: {
|
6647
|
+
# auth_configuration: { # required
|
6648
|
+
# database_user: "String",
|
6649
|
+
# type: "IAM", # required, accepts IAM, USERNAME_PASSWORD, USERNAME
|
6650
|
+
# username_password_secret_arn: "SecretArn",
|
6651
|
+
# },
|
6652
|
+
# cluster_identifier: "RedshiftClusterIdentifier", # required
|
6653
|
+
# },
|
6654
|
+
# serverless_configuration: {
|
6655
|
+
# auth_configuration: { # required
|
6656
|
+
# type: "IAM", # required, accepts IAM, USERNAME_PASSWORD
|
6657
|
+
# username_password_secret_arn: "SecretArn",
|
6658
|
+
# },
|
6659
|
+
# workgroup_arn: "WorkgroupArn", # required
|
6660
|
+
# },
|
6661
|
+
# type: "SERVERLESS", # required, accepts SERVERLESS, PROVISIONED
|
6662
|
+
# },
|
6663
|
+
# query_generation_configuration: {
|
6664
|
+
# execution_timeout_seconds: 1,
|
6665
|
+
# generation_context: {
|
6666
|
+
# curated_queries: [
|
6667
|
+
# {
|
6668
|
+
# natural_language: "NaturalLanguageString", # required
|
6669
|
+
# sql: "SqlString", # required
|
6670
|
+
# },
|
6671
|
+
# ],
|
6672
|
+
# tables: [
|
6673
|
+
# {
|
6674
|
+
# columns: [
|
6675
|
+
# {
|
6676
|
+
# description: "DescriptionString",
|
6677
|
+
# inclusion: "INCLUDE", # accepts INCLUDE, EXCLUDE
|
6678
|
+
# name: "QueryGenerationColumnName",
|
6679
|
+
# },
|
6680
|
+
# ],
|
6681
|
+
# description: "DescriptionString",
|
6682
|
+
# inclusion: "INCLUDE", # accepts INCLUDE, EXCLUDE
|
6683
|
+
# name: "QueryGenerationTableName", # required
|
6684
|
+
# },
|
6685
|
+
# ],
|
6686
|
+
# },
|
6687
|
+
# },
|
6688
|
+
# storage_configurations: [ # required
|
6689
|
+
# {
|
6690
|
+
# aws_data_catalog_configuration: {
|
6691
|
+
# table_names: ["AwsDataCatalogTableName"], # required
|
6692
|
+
# },
|
6693
|
+
# redshift_configuration: {
|
6694
|
+
# database_name: "RedshiftDatabase", # required
|
6695
|
+
# },
|
6696
|
+
# type: "REDSHIFT", # required, accepts REDSHIFT, AWS_DATA_CATALOG
|
6697
|
+
# },
|
6698
|
+
# ],
|
6699
|
+
# },
|
6700
|
+
# type: "REDSHIFT", # required, accepts REDSHIFT
|
6701
|
+
# },
|
6702
|
+
# type: "VECTOR", # required, accepts VECTOR, KENDRA, SQL
|
6475
6703
|
# vector_knowledge_base_configuration: {
|
6476
6704
|
# embedding_model_arn: "BedrockEmbeddingModelArn", # required
|
6477
6705
|
# embedding_model_configuration: {
|
@@ -6480,12 +6708,22 @@ module Aws::BedrockAgent
|
|
6480
6708
|
# embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
|
6481
6709
|
# },
|
6482
6710
|
# },
|
6711
|
+
# supplemental_data_storage_configuration: {
|
6712
|
+
# storage_locations: [ # required
|
6713
|
+
# {
|
6714
|
+
# s3_location: {
|
6715
|
+
# uri: "S3BucketUri", # required
|
6716
|
+
# },
|
6717
|
+
# type: "S3", # required, accepts S3
|
6718
|
+
# },
|
6719
|
+
# ],
|
6720
|
+
# },
|
6483
6721
|
# },
|
6484
6722
|
# },
|
6485
6723
|
# knowledge_base_id: "Id", # required
|
6486
6724
|
# name: "Name", # required
|
6487
6725
|
# role_arn: "KnowledgeBaseRoleArn", # required
|
6488
|
-
# storage_configuration: {
|
6726
|
+
# storage_configuration: {
|
6489
6727
|
# mongo_db_atlas_configuration: {
|
6490
6728
|
# collection_name: "MongoDbAtlasCollectionName", # required
|
6491
6729
|
# credentials_secret_arn: "SecretArn", # required
|
@@ -6550,10 +6788,40 @@ module Aws::BedrockAgent
|
|
6550
6788
|
# resp.knowledge_base.failure_reasons #=> Array
|
6551
6789
|
# resp.knowledge_base.failure_reasons[0] #=> String
|
6552
6790
|
# resp.knowledge_base.knowledge_base_arn #=> String
|
6553
|
-
# resp.knowledge_base.knowledge_base_configuration.
|
6791
|
+
# resp.knowledge_base.knowledge_base_configuration.kendra_knowledge_base_configuration.kendra_index_arn #=> String
|
6792
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.database_user #=> String
|
6793
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.type #=> String, one of "IAM", "USERNAME_PASSWORD", "USERNAME"
|
6794
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.username_password_secret_arn #=> String
|
6795
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.cluster_identifier #=> String
|
6796
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.auth_configuration.type #=> String, one of "IAM", "USERNAME_PASSWORD"
|
6797
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.auth_configuration.username_password_secret_arn #=> String
|
6798
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.workgroup_arn #=> String
|
6799
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.type #=> String, one of "SERVERLESS", "PROVISIONED"
|
6800
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.execution_timeout_seconds #=> Integer
|
6801
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries #=> Array
|
6802
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries[0].natural_language #=> String
|
6803
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries[0].sql #=> String
|
6804
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables #=> Array
|
6805
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns #=> Array
|
6806
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].description #=> String
|
6807
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].inclusion #=> String, one of "INCLUDE", "EXCLUDE"
|
6808
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].name #=> String
|
6809
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].description #=> String
|
6810
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].inclusion #=> String, one of "INCLUDE", "EXCLUDE"
|
6811
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].name #=> String
|
6812
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations #=> Array
|
6813
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].aws_data_catalog_configuration.table_names #=> Array
|
6814
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].aws_data_catalog_configuration.table_names[0] #=> String
|
6815
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].redshift_configuration.database_name #=> String
|
6816
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].type #=> String, one of "REDSHIFT", "AWS_DATA_CATALOG"
|
6817
|
+
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.type #=> String, one of "REDSHIFT"
|
6818
|
+
# resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL"
|
6554
6819
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
|
6555
6820
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
|
6556
6821
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
|
6822
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
|
6823
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
|
6824
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
|
6557
6825
|
# resp.knowledge_base.knowledge_base_id #=> String
|
6558
6826
|
# resp.knowledge_base.name #=> String
|
6559
6827
|
# resp.knowledge_base.role_arn #=> String
|
@@ -7044,7 +7312,7 @@ module Aws::BedrockAgent
|
|
7044
7312
|
tracer: tracer
|
7045
7313
|
)
|
7046
7314
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
7047
|
-
context[:gem_version] = '1.
|
7315
|
+
context[:gem_version] = '1.41.0'
|
7048
7316
|
Seahorse::Client::Request.new(handlers, context)
|
7049
7317
|
end
|
7050
7318
|
|