aws-sdk-bedrockagent 1.39.0 → 1.40.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: be2be199f4fa27c2bd8ead88ffdf89235e1b95ebcd6596f82386851f1cf63e33
4
- data.tar.gz: dc21232bd5898e102d39ccad064975b3a0168ea051d7338325a8bfae16797ef2
3
+ metadata.gz: 2309ad897abb2bb7775fc8ed61b321f490bb5265e1e9461e6aecce4db885fc68
4
+ data.tar.gz: 2e2003f9458261b7d8e8f658828cac701a19d84ac840c3fcae6ee1566da01446
5
5
  SHA512:
6
- metadata.gz: a37030fa8ff52d85c3973bb0f921d28561b666ef0d19fb0cd49559e29c8f436ef21f0c9dd0741d5390050b6b07faa4189e54c15db970ee3ed187b1d913489cc9
7
- data.tar.gz: 70b418ac1d42965f33a8a1f369c258e8a41db9274124ebde788f48846bbfe955174400a8275a176c03e2e73dd28369bd03047dfefe5bd48e16f8d90cabf4d8d9
6
+ metadata.gz: ee8faddf9c457718896e14bec85cddd812726539bf36cb9ed47d024f804d52a107fde6936beb9794c75991206afb778a7991fc05ef9a4c1a19063e34db9b38e0
7
+ data.tar.gz: cfc51ba7af7adf4d09c5c0ec418ade66d1846749060d1a5354ec8e0747a542e155ef9fd12dcb686fcf580375110af162e2c23d59cbad580eb4c669bd6a165c27
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.40.0 (2024-12-04)
5
+ ------------------
6
+
7
+ * Feature - This release introduces the ability to generate SQL using natural language, through a new GenerateQuery API (with native integration into Knowledge Bases); ability to ingest and retrieve images through Bedrock Data Automation; and ability to create a Knowledge Base backed by Kendra GenAI Index.
8
+
4
9
  1.39.0 (2024-12-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.39.0
1
+ 1.40.0
@@ -1221,7 +1221,7 @@ module Aws::BedrockAgent
1221
1221
  # tenant_id: "Microsoft365TenantId",
1222
1222
  # },
1223
1223
  # },
1224
- # type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM
1224
+ # type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM, REDSHIFT_METADATA
1225
1225
  # web_configuration: {
1226
1226
  # crawler_configuration: {
1227
1227
  # crawler_limits: {
@@ -1287,13 +1287,17 @@ module Aws::BedrockAgent
1287
1287
  # ],
1288
1288
  # },
1289
1289
  # parsing_configuration: {
1290
+ # bedrock_data_automation_configuration: {
1291
+ # parsing_modality: "MULTIMODAL", # accepts MULTIMODAL
1292
+ # },
1290
1293
  # bedrock_foundation_model_configuration: {
1291
1294
  # model_arn: "BedrockModelArn", # required
1295
+ # parsing_modality: "MULTIMODAL", # accepts MULTIMODAL
1292
1296
  # parsing_prompt: {
1293
1297
  # parsing_prompt_text: "ParsingPromptText", # required
1294
1298
  # },
1295
1299
  # },
1296
- # parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL
1300
+ # parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, BEDROCK_DATA_AUTOMATION
1297
1301
  # },
1298
1302
  # },
1299
1303
  # })
@@ -1341,7 +1345,7 @@ module Aws::BedrockAgent
1341
1345
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls #=> Array
1342
1346
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls[0] #=> String
1343
1347
  # 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"
1348
+ # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA"
1345
1349
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.rate_limit #=> Integer
1346
1350
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters #=> Array
1347
1351
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters[0] #=> String
@@ -1372,9 +1376,11 @@ module Aws::BedrockAgent
1372
1376
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
1373
1377
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
1374
1378
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].transformation_function.transformation_lambda_configuration.lambda_arn #=> String
1379
+ # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_data_automation_configuration.parsing_modality #=> String, one of "MULTIMODAL"
1375
1380
  # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.model_arn #=> String
1381
+ # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_modality #=> String, one of "MULTIMODAL"
1376
1382
  # 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"
1383
+ # resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION"
1378
1384
  #
1379
1385
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateDataSource AWS API Documentation
1380
1386
  #
@@ -2001,7 +2007,7 @@ module Aws::BedrockAgent
2001
2007
  # The Amazon Resource Name (ARN) of the IAM role with permissions to
2002
2008
  # invoke API operations on the knowledge base.
2003
2009
  #
2004
- # @option params [required, Types::StorageConfiguration] :storage_configuration
2010
+ # @option params [Types::StorageConfiguration] :storage_configuration
2005
2011
  # Contains details about the configuration of the vector database used
2006
2012
  # for the knowledge base.
2007
2013
  #
@@ -2019,7 +2025,69 @@ module Aws::BedrockAgent
2019
2025
  # client_token: "ClientToken",
2020
2026
  # description: "Description",
2021
2027
  # knowledge_base_configuration: { # required
2022
- # type: "VECTOR", # required, accepts VECTOR
2028
+ # kendra_knowledge_base_configuration: {
2029
+ # kendra_index_arn: "KendraIndexArn", # required
2030
+ # },
2031
+ # sql_knowledge_base_configuration: {
2032
+ # redshift_configuration: {
2033
+ # query_engine_configuration: { # required
2034
+ # provisioned_configuration: {
2035
+ # auth_configuration: { # required
2036
+ # database_user: "String",
2037
+ # type: "IAM", # required, accepts IAM, USERNAME_PASSWORD, USERNAME
2038
+ # username_password_secret_arn: "SecretArn",
2039
+ # },
2040
+ # cluster_identifier: "RedshiftClusterIdentifier", # required
2041
+ # },
2042
+ # serverless_configuration: {
2043
+ # auth_configuration: { # required
2044
+ # type: "IAM", # required, accepts IAM, USERNAME_PASSWORD
2045
+ # username_password_secret_arn: "SecretArn",
2046
+ # },
2047
+ # workgroup_arn: "WorkgroupArn", # required
2048
+ # },
2049
+ # type: "SERVERLESS", # required, accepts SERVERLESS, PROVISIONED
2050
+ # },
2051
+ # query_generation_configuration: {
2052
+ # execution_timeout_seconds: 1,
2053
+ # generation_context: {
2054
+ # curated_queries: [
2055
+ # {
2056
+ # natural_language: "NaturalLanguageString", # required
2057
+ # sql: "SqlString", # required
2058
+ # },
2059
+ # ],
2060
+ # tables: [
2061
+ # {
2062
+ # columns: [
2063
+ # {
2064
+ # description: "DescriptionString",
2065
+ # inclusion: "INCLUDE", # accepts INCLUDE, EXCLUDE
2066
+ # name: "QueryGenerationColumnName",
2067
+ # },
2068
+ # ],
2069
+ # description: "DescriptionString",
2070
+ # inclusion: "INCLUDE", # accepts INCLUDE, EXCLUDE
2071
+ # name: "QueryGenerationTableName", # required
2072
+ # },
2073
+ # ],
2074
+ # },
2075
+ # },
2076
+ # storage_configurations: [ # required
2077
+ # {
2078
+ # aws_data_catalog_configuration: {
2079
+ # table_names: ["AwsDataCatalogTableName"], # required
2080
+ # },
2081
+ # redshift_configuration: {
2082
+ # database_name: "RedshiftDatabase", # required
2083
+ # },
2084
+ # type: "REDSHIFT", # required, accepts REDSHIFT, AWS_DATA_CATALOG
2085
+ # },
2086
+ # ],
2087
+ # },
2088
+ # type: "REDSHIFT", # required, accepts REDSHIFT
2089
+ # },
2090
+ # type: "VECTOR", # required, accepts VECTOR, KENDRA, SQL
2023
2091
  # vector_knowledge_base_configuration: {
2024
2092
  # embedding_model_arn: "BedrockEmbeddingModelArn", # required
2025
2093
  # embedding_model_configuration: {
@@ -2028,11 +2096,21 @@ module Aws::BedrockAgent
2028
2096
  # embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
2029
2097
  # },
2030
2098
  # },
2099
+ # supplemental_data_storage_configuration: {
2100
+ # storage_locations: [ # required
2101
+ # {
2102
+ # s3_location: {
2103
+ # uri: "S3BucketUri", # required
2104
+ # },
2105
+ # type: "S3", # required, accepts S3
2106
+ # },
2107
+ # ],
2108
+ # },
2031
2109
  # },
2032
2110
  # },
2033
2111
  # name: "Name", # required
2034
2112
  # role_arn: "KnowledgeBaseRoleArn", # required
2035
- # storage_configuration: { # required
2113
+ # storage_configuration: {
2036
2114
  # mongo_db_atlas_configuration: {
2037
2115
  # collection_name: "MongoDbAtlasCollectionName", # required
2038
2116
  # credentials_secret_arn: "SecretArn", # required
@@ -2100,10 +2178,40 @@ module Aws::BedrockAgent
2100
2178
  # resp.knowledge_base.failure_reasons #=> Array
2101
2179
  # resp.knowledge_base.failure_reasons[0] #=> String
2102
2180
  # resp.knowledge_base.knowledge_base_arn #=> String
2103
- # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
2181
+ # resp.knowledge_base.knowledge_base_configuration.kendra_knowledge_base_configuration.kendra_index_arn #=> String
2182
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.database_user #=> String
2183
+ # 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"
2184
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.username_password_secret_arn #=> String
2185
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.cluster_identifier #=> String
2186
+ # 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"
2187
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.auth_configuration.username_password_secret_arn #=> String
2188
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.workgroup_arn #=> String
2189
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.type #=> String, one of "SERVERLESS", "PROVISIONED"
2190
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.execution_timeout_seconds #=> Integer
2191
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries #=> Array
2192
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries[0].natural_language #=> String
2193
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries[0].sql #=> String
2194
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables #=> Array
2195
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns #=> Array
2196
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].description #=> String
2197
+ # 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"
2198
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].name #=> String
2199
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].description #=> String
2200
+ # 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"
2201
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].name #=> String
2202
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations #=> Array
2203
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].aws_data_catalog_configuration.table_names #=> Array
2204
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].aws_data_catalog_configuration.table_names[0] #=> String
2205
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].redshift_configuration.database_name #=> String
2206
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].type #=> String, one of "REDSHIFT", "AWS_DATA_CATALOG"
2207
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.type #=> String, one of "REDSHIFT"
2208
+ # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL"
2104
2209
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
2105
2210
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
2106
2211
  # 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"
2212
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
2213
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
2214
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
2107
2215
  # resp.knowledge_base.knowledge_base_id #=> String
2108
2216
  # resp.knowledge_base.name #=> String
2109
2217
  # resp.knowledge_base.role_arn #=> String
@@ -3385,7 +3493,7 @@ module Aws::BedrockAgent
3385
3493
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls #=> Array
3386
3494
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls[0] #=> String
3387
3495
  # 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"
3496
+ # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA"
3389
3497
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.rate_limit #=> Integer
3390
3498
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters #=> Array
3391
3499
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters[0] #=> String
@@ -3416,9 +3524,11 @@ module Aws::BedrockAgent
3416
3524
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
3417
3525
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
3418
3526
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].transformation_function.transformation_lambda_configuration.lambda_arn #=> String
3527
+ # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_data_automation_configuration.parsing_modality #=> String, one of "MULTIMODAL"
3419
3528
  # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.model_arn #=> String
3529
+ # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_modality #=> String, one of "MULTIMODAL"
3420
3530
  # 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"
3531
+ # resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION"
3422
3532
  #
3423
3533
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetDataSource AWS API Documentation
3424
3534
  #
@@ -3820,10 +3930,40 @@ module Aws::BedrockAgent
3820
3930
  # resp.knowledge_base.failure_reasons #=> Array
3821
3931
  # resp.knowledge_base.failure_reasons[0] #=> String
3822
3932
  # resp.knowledge_base.knowledge_base_arn #=> String
3823
- # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
3933
+ # resp.knowledge_base.knowledge_base_configuration.kendra_knowledge_base_configuration.kendra_index_arn #=> String
3934
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.database_user #=> String
3935
+ # 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"
3936
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.username_password_secret_arn #=> String
3937
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.cluster_identifier #=> String
3938
+ # 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"
3939
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.auth_configuration.username_password_secret_arn #=> String
3940
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.workgroup_arn #=> String
3941
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.type #=> String, one of "SERVERLESS", "PROVISIONED"
3942
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.execution_timeout_seconds #=> Integer
3943
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries #=> Array
3944
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries[0].natural_language #=> String
3945
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries[0].sql #=> String
3946
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables #=> Array
3947
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns #=> Array
3948
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].description #=> String
3949
+ # 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"
3950
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].name #=> String
3951
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].description #=> String
3952
+ # 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"
3953
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].name #=> String
3954
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations #=> Array
3955
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].aws_data_catalog_configuration.table_names #=> Array
3956
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].aws_data_catalog_configuration.table_names[0] #=> String
3957
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].redshift_configuration.database_name #=> String
3958
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].type #=> String, one of "REDSHIFT", "AWS_DATA_CATALOG"
3959
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.type #=> String, one of "REDSHIFT"
3960
+ # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL"
3824
3961
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
3825
3962
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
3826
3963
  # 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"
3964
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
3965
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
3966
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
3827
3967
  # resp.knowledge_base.knowledge_base_id #=> String
3828
3968
  # resp.knowledge_base.name #=> String
3829
3969
  # resp.knowledge_base.role_arn #=> String
@@ -5879,7 +6019,7 @@ module Aws::BedrockAgent
5879
6019
  # tenant_id: "Microsoft365TenantId",
5880
6020
  # },
5881
6021
  # },
5882
- # type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM
6022
+ # type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM, REDSHIFT_METADATA
5883
6023
  # web_configuration: {
5884
6024
  # crawler_configuration: {
5885
6025
  # crawler_limits: {
@@ -5946,13 +6086,17 @@ module Aws::BedrockAgent
5946
6086
  # ],
5947
6087
  # },
5948
6088
  # parsing_configuration: {
6089
+ # bedrock_data_automation_configuration: {
6090
+ # parsing_modality: "MULTIMODAL", # accepts MULTIMODAL
6091
+ # },
5949
6092
  # bedrock_foundation_model_configuration: {
5950
6093
  # model_arn: "BedrockModelArn", # required
6094
+ # parsing_modality: "MULTIMODAL", # accepts MULTIMODAL
5951
6095
  # parsing_prompt: {
5952
6096
  # parsing_prompt_text: "ParsingPromptText", # required
5953
6097
  # },
5954
6098
  # },
5955
- # parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL
6099
+ # parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, BEDROCK_DATA_AUTOMATION
5956
6100
  # },
5957
6101
  # },
5958
6102
  # })
@@ -6000,7 +6144,7 @@ module Aws::BedrockAgent
6000
6144
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls #=> Array
6001
6145
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls[0] #=> String
6002
6146
  # 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"
6147
+ # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA"
6004
6148
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.rate_limit #=> Integer
6005
6149
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters #=> Array
6006
6150
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters[0] #=> String
@@ -6031,9 +6175,11 @@ module Aws::BedrockAgent
6031
6175
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
6032
6176
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
6033
6177
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].transformation_function.transformation_lambda_configuration.lambda_arn #=> String
6178
+ # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_data_automation_configuration.parsing_modality #=> String, one of "MULTIMODAL"
6034
6179
  # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.model_arn #=> String
6180
+ # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_modality #=> String, one of "MULTIMODAL"
6035
6181
  # 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"
6182
+ # resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION"
6037
6183
  #
6038
6184
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateDataSource AWS API Documentation
6039
6185
  #
@@ -6457,7 +6603,7 @@ module Aws::BedrockAgent
6457
6603
  # Specifies a different Amazon Resource Name (ARN) of the IAM role with
6458
6604
  # permissions to invoke API operations on the knowledge base.
6459
6605
  #
6460
- # @option params [required, Types::StorageConfiguration] :storage_configuration
6606
+ # @option params [Types::StorageConfiguration] :storage_configuration
6461
6607
  # Specifies the configuration for the vector store used for the
6462
6608
  # knowledge base. You must use the same configuration as when the
6463
6609
  # knowledge base was created.
@@ -6471,7 +6617,69 @@ module Aws::BedrockAgent
6471
6617
  # resp = client.update_knowledge_base({
6472
6618
  # description: "Description",
6473
6619
  # knowledge_base_configuration: { # required
6474
- # type: "VECTOR", # required, accepts VECTOR
6620
+ # kendra_knowledge_base_configuration: {
6621
+ # kendra_index_arn: "KendraIndexArn", # required
6622
+ # },
6623
+ # sql_knowledge_base_configuration: {
6624
+ # redshift_configuration: {
6625
+ # query_engine_configuration: { # required
6626
+ # provisioned_configuration: {
6627
+ # auth_configuration: { # required
6628
+ # database_user: "String",
6629
+ # type: "IAM", # required, accepts IAM, USERNAME_PASSWORD, USERNAME
6630
+ # username_password_secret_arn: "SecretArn",
6631
+ # },
6632
+ # cluster_identifier: "RedshiftClusterIdentifier", # required
6633
+ # },
6634
+ # serverless_configuration: {
6635
+ # auth_configuration: { # required
6636
+ # type: "IAM", # required, accepts IAM, USERNAME_PASSWORD
6637
+ # username_password_secret_arn: "SecretArn",
6638
+ # },
6639
+ # workgroup_arn: "WorkgroupArn", # required
6640
+ # },
6641
+ # type: "SERVERLESS", # required, accepts SERVERLESS, PROVISIONED
6642
+ # },
6643
+ # query_generation_configuration: {
6644
+ # execution_timeout_seconds: 1,
6645
+ # generation_context: {
6646
+ # curated_queries: [
6647
+ # {
6648
+ # natural_language: "NaturalLanguageString", # required
6649
+ # sql: "SqlString", # required
6650
+ # },
6651
+ # ],
6652
+ # tables: [
6653
+ # {
6654
+ # columns: [
6655
+ # {
6656
+ # description: "DescriptionString",
6657
+ # inclusion: "INCLUDE", # accepts INCLUDE, EXCLUDE
6658
+ # name: "QueryGenerationColumnName",
6659
+ # },
6660
+ # ],
6661
+ # description: "DescriptionString",
6662
+ # inclusion: "INCLUDE", # accepts INCLUDE, EXCLUDE
6663
+ # name: "QueryGenerationTableName", # required
6664
+ # },
6665
+ # ],
6666
+ # },
6667
+ # },
6668
+ # storage_configurations: [ # required
6669
+ # {
6670
+ # aws_data_catalog_configuration: {
6671
+ # table_names: ["AwsDataCatalogTableName"], # required
6672
+ # },
6673
+ # redshift_configuration: {
6674
+ # database_name: "RedshiftDatabase", # required
6675
+ # },
6676
+ # type: "REDSHIFT", # required, accepts REDSHIFT, AWS_DATA_CATALOG
6677
+ # },
6678
+ # ],
6679
+ # },
6680
+ # type: "REDSHIFT", # required, accepts REDSHIFT
6681
+ # },
6682
+ # type: "VECTOR", # required, accepts VECTOR, KENDRA, SQL
6475
6683
  # vector_knowledge_base_configuration: {
6476
6684
  # embedding_model_arn: "BedrockEmbeddingModelArn", # required
6477
6685
  # embedding_model_configuration: {
@@ -6480,12 +6688,22 @@ module Aws::BedrockAgent
6480
6688
  # embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
6481
6689
  # },
6482
6690
  # },
6691
+ # supplemental_data_storage_configuration: {
6692
+ # storage_locations: [ # required
6693
+ # {
6694
+ # s3_location: {
6695
+ # uri: "S3BucketUri", # required
6696
+ # },
6697
+ # type: "S3", # required, accepts S3
6698
+ # },
6699
+ # ],
6700
+ # },
6483
6701
  # },
6484
6702
  # },
6485
6703
  # knowledge_base_id: "Id", # required
6486
6704
  # name: "Name", # required
6487
6705
  # role_arn: "KnowledgeBaseRoleArn", # required
6488
- # storage_configuration: { # required
6706
+ # storage_configuration: {
6489
6707
  # mongo_db_atlas_configuration: {
6490
6708
  # collection_name: "MongoDbAtlasCollectionName", # required
6491
6709
  # credentials_secret_arn: "SecretArn", # required
@@ -6550,10 +6768,40 @@ module Aws::BedrockAgent
6550
6768
  # resp.knowledge_base.failure_reasons #=> Array
6551
6769
  # resp.knowledge_base.failure_reasons[0] #=> String
6552
6770
  # resp.knowledge_base.knowledge_base_arn #=> String
6553
- # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
6771
+ # resp.knowledge_base.knowledge_base_configuration.kendra_knowledge_base_configuration.kendra_index_arn #=> String
6772
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.database_user #=> String
6773
+ # 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"
6774
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.auth_configuration.username_password_secret_arn #=> String
6775
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.provisioned_configuration.cluster_identifier #=> String
6776
+ # 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"
6777
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.auth_configuration.username_password_secret_arn #=> String
6778
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.serverless_configuration.workgroup_arn #=> String
6779
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_engine_configuration.type #=> String, one of "SERVERLESS", "PROVISIONED"
6780
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.execution_timeout_seconds #=> Integer
6781
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries #=> Array
6782
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries[0].natural_language #=> String
6783
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.curated_queries[0].sql #=> String
6784
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables #=> Array
6785
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns #=> Array
6786
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].description #=> String
6787
+ # 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"
6788
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].columns[0].name #=> String
6789
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].description #=> String
6790
+ # 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"
6791
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.query_generation_configuration.generation_context.tables[0].name #=> String
6792
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations #=> Array
6793
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].aws_data_catalog_configuration.table_names #=> Array
6794
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].aws_data_catalog_configuration.table_names[0] #=> String
6795
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].redshift_configuration.database_name #=> String
6796
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations[0].type #=> String, one of "REDSHIFT", "AWS_DATA_CATALOG"
6797
+ # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.type #=> String, one of "REDSHIFT"
6798
+ # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL"
6554
6799
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
6555
6800
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
6556
6801
  # 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"
6802
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
6803
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
6804
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
6557
6805
  # resp.knowledge_base.knowledge_base_id #=> String
6558
6806
  # resp.knowledge_base.name #=> String
6559
6807
  # resp.knowledge_base.role_arn #=> String
@@ -7044,7 +7292,7 @@ module Aws::BedrockAgent
7044
7292
  tracer: tracer
7045
7293
  )
7046
7294
  context[:gem_name] = 'aws-sdk-bedrockagent'
7047
- context[:gem_version] = '1.39.0'
7295
+ context[:gem_version] = '1.40.0'
7048
7296
  Seahorse::Client::Request.new(handlers, context)
7049
7297
  end
7050
7298