aws-sdk-bedrockagent 1.77.0 → 1.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1201,6 +1201,11 @@ module Aws::BedrockAgent
1201
1201
  # resource. Note that the **vector store itself is not deleted** if
1202
1202
  # you delete a knowledge base or data source resource.
1203
1203
  #
1204
+ # <note markdown="1"> For managed knowledge bases, the only supported option is `DELETE`,
1205
+ # which is also the default.
1206
+ #
1207
+ # </note>
1208
+ #
1204
1209
  # @option params [Types::ServerSideEncryptionConfiguration] :server_side_encryption_configuration
1205
1210
  # Contains details about the server-side encryption for the data source.
1206
1211
  #
@@ -1219,7 +1224,26 @@ module Aws::BedrockAgent
1219
1224
  # name: "Name", # required
1220
1225
  # description: "Description",
1221
1226
  # data_source_configuration: { # required
1222
- # type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM, REDSHIFT_METADATA
1227
+ # type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM, REDSHIFT_METADATA, MANAGED_KNOWLEDGE_BASE_CONNECTOR
1228
+ # managed_knowledge_base_connector_configuration: {
1229
+ # deletion_protection_configuration: {
1230
+ # deletion_protection_status: "ENABLED", # required, accepts ENABLED, DISABLED
1231
+ # deletion_protection_threshold: 1,
1232
+ # },
1233
+ # media_extraction_configuration: {
1234
+ # image_extraction_configuration: {
1235
+ # image_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
1236
+ # },
1237
+ # audio_extraction_configuration: {
1238
+ # audio_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
1239
+ # },
1240
+ # video_extraction_configuration: {
1241
+ # video_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
1242
+ # },
1243
+ # },
1244
+ # connector_parameters: {
1245
+ # },
1246
+ # },
1223
1247
  # s3_configuration: {
1224
1248
  # bucket_arn: "S3BucketArn", # required
1225
1249
  # inclusion_prefixes: ["S3Prefix"],
@@ -1358,7 +1382,7 @@ module Aws::BedrockAgent
1358
1382
  # ],
1359
1383
  # },
1360
1384
  # parsing_configuration: {
1361
- # parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, BEDROCK_DATA_AUTOMATION
1385
+ # parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, BEDROCK_DATA_AUTOMATION, SMART_PARSING
1362
1386
  # bedrock_foundation_model_configuration: {
1363
1387
  # model_arn: "BedrockModelArn", # required
1364
1388
  # parsing_prompt: {
@@ -1387,9 +1411,14 @@ module Aws::BedrockAgent
1387
1411
  # resp.data_source.knowledge_base_id #=> String
1388
1412
  # resp.data_source.data_source_id #=> String
1389
1413
  # resp.data_source.name #=> String
1390
- # resp.data_source.status #=> String, one of "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL"
1414
+ # resp.data_source.status #=> String, one of "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL", "CREATING", "UPDATING", "FAILED"
1391
1415
  # resp.data_source.description #=> String
1392
- # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA"
1416
+ # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA", "MANAGED_KNOWLEDGE_BASE_CONNECTOR"
1417
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.deletion_protection_configuration.deletion_protection_status #=> String, one of "ENABLED", "DISABLED"
1418
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.deletion_protection_configuration.deletion_protection_threshold #=> Integer
1419
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.image_extraction_configuration.image_extraction_status #=> String, one of "ENABLED", "DISABLED"
1420
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.audio_extraction_configuration.audio_extraction_status #=> String, one of "ENABLED", "DISABLED"
1421
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.video_extraction_configuration.video_extraction_status #=> String, one of "ENABLED", "DISABLED"
1393
1422
  # resp.data_source.data_source_configuration.s3_configuration.bucket_arn #=> String
1394
1423
  # resp.data_source.data_source_configuration.s3_configuration.inclusion_prefixes #=> Array
1395
1424
  # resp.data_source.data_source_configuration.s3_configuration.inclusion_prefixes[0] #=> String
@@ -1454,7 +1483,7 @@ module Aws::BedrockAgent
1454
1483
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
1455
1484
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].transformation_function.transformation_lambda_configuration.lambda_arn #=> String
1456
1485
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
1457
- # resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION"
1486
+ # resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION", "SMART_PARSING"
1458
1487
  # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.model_arn #=> String
1459
1488
  # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_prompt.parsing_prompt_text #=> String
1460
1489
  # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_modality #=> String, one of "MULTIMODAL"
@@ -2200,9 +2229,9 @@ module Aws::BedrockAgent
2200
2229
  # a supported vector store. For more information, see [Set up a
2201
2230
  # knowledge base][1].
2202
2231
  #
2203
- # <note markdown="1"> If you prefer to let Amazon Bedrock create and manage a vector store
2204
- # for you in Amazon OpenSearch Service, use the console. For more
2205
- # information, see [Create a knowledge base][2].
2232
+ # <note markdown="1"> To create a managed knowledge base, provide a
2233
+ # `managedKnowledgeBaseConfiguration` during creation. For more
2234
+ # information, see [Build a managed knowledge base][2].
2206
2235
  #
2207
2236
  # </note>
2208
2237
  #
@@ -2211,11 +2240,19 @@ module Aws::BedrockAgent
2211
2240
  # * Provide the Amazon Resource Name (ARN) with permissions to create a
2212
2241
  # knowledge base in the `roleArn` field.
2213
2242
  #
2214
- # * Provide the embedding model to use in the `embeddingModelArn` field
2215
- # in the `knowledgeBaseConfiguration` object.
2243
+ # * For managed knowledge bases, set `embeddingModelType` to `MANAGED`
2244
+ # to use the service-managed embedding model, or `CUSTOM` with an
2245
+ # `embeddingModelArn` to use your own. To use your own KMS key for
2246
+ # encryption, provide the ARN in `serverSideEncryptionConfiguration`.
2247
+ # No vector store configuration is required for managed knowledge
2248
+ # bases.
2249
+ #
2250
+ # * For self-managed knowledge bases, provide the embedding model to use
2251
+ # in the `embeddingModelArn` field in the `knowledgeBaseConfiguration`
2252
+ # object.
2216
2253
  #
2217
- # * Provide the configuration for your vector store in the
2218
- # `storageConfiguration` object.
2254
+ # * For self-managed knowledge bases, provide the configuration for your
2255
+ # vector store in the `storageConfiguration` object.
2219
2256
  #
2220
2257
  # * For an Amazon OpenSearch Service database, use the
2221
2258
  # `opensearchServerlessConfiguration` object. For more information,
@@ -2235,7 +2272,7 @@ module Aws::BedrockAgent
2235
2272
  #
2236
2273
  #
2237
2274
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowlege-base-prereq.html
2238
- # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-create
2275
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-build-managed.html
2239
2276
  # [3]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html
2240
2277
  # [4]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html
2241
2278
  # [5]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-pinecone.html
@@ -2288,7 +2325,7 @@ module Aws::BedrockAgent
2288
2325
  # description: "Description",
2289
2326
  # role_arn: "KnowledgeBaseRoleArn", # required
2290
2327
  # knowledge_base_configuration: { # required
2291
- # type: "VECTOR", # required, accepts VECTOR, KENDRA, SQL
2328
+ # type: "VECTOR", # required, accepts VECTOR, KENDRA, SQL, MANAGED
2292
2329
  # vector_knowledge_base_configuration: {
2293
2330
  # embedding_model_arn: "BedrockEmbeddingModelArn", # required
2294
2331
  # embedding_model_configuration: {
@@ -2322,6 +2359,33 @@ module Aws::BedrockAgent
2322
2359
  # ],
2323
2360
  # },
2324
2361
  # },
2362
+ # managed_knowledge_base_configuration: {
2363
+ # embedding_model_type: "CUSTOM", # accepts CUSTOM, MANAGED
2364
+ # embedding_model_arn: "BedrockEmbeddingModelArn",
2365
+ # embedding_model_configuration: {
2366
+ # bedrock_embedding_model_configuration: {
2367
+ # dimensions: 1,
2368
+ # embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
2369
+ # audio: [
2370
+ # {
2371
+ # segmentation_configuration: { # required
2372
+ # fixed_length_duration: 1, # required
2373
+ # },
2374
+ # },
2375
+ # ],
2376
+ # video: [
2377
+ # {
2378
+ # segmentation_configuration: { # required
2379
+ # fixed_length_duration: 1, # required
2380
+ # },
2381
+ # },
2382
+ # ],
2383
+ # },
2384
+ # },
2385
+ # server_side_encryption_configuration: {
2386
+ # kms_key_arn: "KmsKeyArn",
2387
+ # },
2388
+ # },
2325
2389
  # kendra_knowledge_base_configuration: {
2326
2390
  # kendra_index_arn: "KendraIndexArn", # required
2327
2391
  # },
@@ -2477,7 +2541,7 @@ module Aws::BedrockAgent
2477
2541
  # resp.knowledge_base.knowledge_base_arn #=> String
2478
2542
  # resp.knowledge_base.description #=> String
2479
2543
  # resp.knowledge_base.role_arn #=> String
2480
- # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL"
2544
+ # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL", "MANAGED"
2481
2545
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
2482
2546
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
2483
2547
  # 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"
@@ -2488,6 +2552,15 @@ module Aws::BedrockAgent
2488
2552
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
2489
2553
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
2490
2554
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
2555
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_type #=> String, one of "CUSTOM", "MANAGED"
2556
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_arn #=> String
2557
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
2558
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
2559
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.audio #=> Array
2560
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.audio[0].segmentation_configuration.fixed_length_duration #=> Integer
2561
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video #=> Array
2562
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video[0].segmentation_configuration.fixed_length_duration #=> Integer
2563
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.server_side_encryption_configuration.kms_key_arn #=> String
2491
2564
  # resp.knowledge_base.knowledge_base_configuration.kendra_knowledge_base_configuration.kendra_index_arn #=> String
2492
2565
  # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.type #=> String, one of "REDSHIFT"
2493
2566
  # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations #=> Array
@@ -2563,7 +2636,7 @@ module Aws::BedrockAgent
2563
2636
  # resp.knowledge_base.storage_configuration.s3_vectors_configuration.vector_bucket_arn #=> String
2564
2637
  # resp.knowledge_base.storage_configuration.s3_vectors_configuration.index_arn #=> String
2565
2638
  # resp.knowledge_base.storage_configuration.s3_vectors_configuration.index_name #=> String
2566
- # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL"
2639
+ # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL", "UPDATE_UNSUCCESSFUL"
2567
2640
  # resp.knowledge_base.created_at #=> Time
2568
2641
  # resp.knowledge_base.updated_at #=> Time
2569
2642
  # resp.knowledge_base.failure_reasons #=> Array
@@ -3097,7 +3170,7 @@ module Aws::BedrockAgent
3097
3170
  #
3098
3171
  # resp.knowledge_base_id #=> String
3099
3172
  # resp.data_source_id #=> String
3100
- # resp.status #=> String, one of "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL"
3173
+ # resp.status #=> String, one of "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL", "CREATING", "UPDATING", "FAILED"
3101
3174
  #
3102
3175
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeleteDataSource AWS API Documentation
3103
3176
  #
@@ -3242,7 +3315,7 @@ module Aws::BedrockAgent
3242
3315
  # @example Response structure
3243
3316
  #
3244
3317
  # resp.knowledge_base_id #=> String
3245
- # resp.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL"
3318
+ # resp.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL", "UPDATE_UNSUCCESSFUL"
3246
3319
  #
3247
3320
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeleteKnowledgeBase AWS API Documentation
3248
3321
  #
@@ -3374,6 +3447,45 @@ module Aws::BedrockAgent
3374
3447
  req.send_request(options)
3375
3448
  end
3376
3449
 
3450
+ # Removes the resource policy associated with a knowledge base. After
3451
+ # deletion, other AWS accounts can no longer access the knowledge base
3452
+ # using cross-account permissions.
3453
+ #
3454
+ # @option params [required, String] :resource_arn
3455
+ # The Amazon Resource Name (ARN) of the knowledge base to remove the
3456
+ # resource policy from.
3457
+ #
3458
+ # @option params [String] :expected_revision_id
3459
+ # The expected revision identifier of the resource policy. Use this to
3460
+ # prevent conflicts when multiple users update the same policy
3461
+ # concurrently.
3462
+ #
3463
+ # @return [Types::DeleteResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3464
+ #
3465
+ # * {Types::DeleteResourcePolicyResponse#resource_arn #resource_arn} => String
3466
+ # * {Types::DeleteResourcePolicyResponse#revision_id #revision_id} => String
3467
+ #
3468
+ # @example Request syntax with placeholder values
3469
+ #
3470
+ # resp = client.delete_resource_policy({
3471
+ # resource_arn: "ResourceArn", # required
3472
+ # expected_revision_id: "RevisionId",
3473
+ # })
3474
+ #
3475
+ # @example Response structure
3476
+ #
3477
+ # resp.resource_arn #=> String
3478
+ # resp.revision_id #=> String
3479
+ #
3480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeleteResourcePolicy AWS API Documentation
3481
+ #
3482
+ # @overload delete_resource_policy(params = {})
3483
+ # @param [Hash] params ({})
3484
+ def delete_resource_policy(params = {}, options = {})
3485
+ req = build_request(:delete_resource_policy, params)
3486
+ req.send_request(options)
3487
+ end
3488
+
3377
3489
  # Disassociates an agent collaborator.
3378
3490
  #
3379
3491
  # @option params [required, String] :agent_id
@@ -3800,9 +3912,14 @@ module Aws::BedrockAgent
3800
3912
  # resp.data_source.knowledge_base_id #=> String
3801
3913
  # resp.data_source.data_source_id #=> String
3802
3914
  # resp.data_source.name #=> String
3803
- # resp.data_source.status #=> String, one of "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL"
3915
+ # resp.data_source.status #=> String, one of "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL", "CREATING", "UPDATING", "FAILED"
3804
3916
  # resp.data_source.description #=> String
3805
- # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA"
3917
+ # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA", "MANAGED_KNOWLEDGE_BASE_CONNECTOR"
3918
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.deletion_protection_configuration.deletion_protection_status #=> String, one of "ENABLED", "DISABLED"
3919
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.deletion_protection_configuration.deletion_protection_threshold #=> Integer
3920
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.image_extraction_configuration.image_extraction_status #=> String, one of "ENABLED", "DISABLED"
3921
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.audio_extraction_configuration.audio_extraction_status #=> String, one of "ENABLED", "DISABLED"
3922
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.video_extraction_configuration.video_extraction_status #=> String, one of "ENABLED", "DISABLED"
3806
3923
  # resp.data_source.data_source_configuration.s3_configuration.bucket_arn #=> String
3807
3924
  # resp.data_source.data_source_configuration.s3_configuration.inclusion_prefixes #=> Array
3808
3925
  # resp.data_source.data_source_configuration.s3_configuration.inclusion_prefixes[0] #=> String
@@ -3867,7 +3984,7 @@ module Aws::BedrockAgent
3867
3984
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
3868
3985
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].transformation_function.transformation_lambda_configuration.lambda_arn #=> String
3869
3986
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
3870
- # resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION"
3987
+ # resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION", "SMART_PARSING"
3871
3988
  # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.model_arn #=> String
3872
3989
  # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_prompt.parsing_prompt_text #=> String
3873
3990
  # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_modality #=> String, one of "MULTIMODAL"
@@ -3900,6 +4017,11 @@ module Aws::BedrockAgent
3900
4017
  # @option params [required, String] :flow_identifier
3901
4018
  # The unique identifier of the flow.
3902
4019
  #
4020
+ # @option params [String] :included_data
4021
+ # Controls the scope of data returned. Set to `METADATA_ONLY` to return
4022
+ # only resource metadata. Set to `ALL_DATA` or omit this field to return
4023
+ # the full response.
4024
+ #
3903
4025
  # @return [Types::GetFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3904
4026
  #
3905
4027
  # * {Types::GetFlowResponse#name #name} => String
@@ -3919,6 +4041,7 @@ module Aws::BedrockAgent
3919
4041
  #
3920
4042
  # resp = client.get_flow({
3921
4043
  # flow_identifier: "FlowIdentifier", # required
4044
+ # included_data: "ALL_DATA", # accepts ALL_DATA, METADATA_ONLY
3922
4045
  # })
3923
4046
  #
3924
4047
  # @example Response structure
@@ -4158,6 +4281,11 @@ module Aws::BedrockAgent
4158
4281
  # @option params [required, String] :flow_version
4159
4282
  # The version of the flow for which to get information.
4160
4283
  #
4284
+ # @option params [String] :included_data
4285
+ # Controls the scope of data returned. Set to `METADATA_ONLY` to return
4286
+ # only resource metadata. Set to `ALL_DATA` or omit this field to return
4287
+ # the full response.
4288
+ #
4161
4289
  # @return [Types::GetFlowVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4162
4290
  #
4163
4291
  # * {Types::GetFlowVersionResponse#name #name} => String
@@ -4176,6 +4304,7 @@ module Aws::BedrockAgent
4176
4304
  # resp = client.get_flow_version({
4177
4305
  # flow_identifier: "FlowIdentifier", # required
4178
4306
  # flow_version: "NumericalVersion", # required
4307
+ # included_data: "ALL_DATA", # accepts ALL_DATA, METADATA_ONLY
4179
4308
  # })
4180
4309
  #
4181
4310
  # @example Response structure
@@ -4333,6 +4462,7 @@ module Aws::BedrockAgent
4333
4462
  # resp.ingestion_job.statistics.number_of_metadata_documents_modified #=> Integer
4334
4463
  # resp.ingestion_job.statistics.number_of_documents_deleted #=> Integer
4335
4464
  # resp.ingestion_job.statistics.number_of_documents_failed #=> Integer
4465
+ # resp.ingestion_job.statistics.number_of_documents_skipped #=> Integer
4336
4466
  # resp.ingestion_job.failure_reasons #=> Array
4337
4467
  # resp.ingestion_job.failure_reasons[0] #=> String
4338
4468
  # resp.ingestion_job.started_at #=> Time
@@ -4370,7 +4500,7 @@ module Aws::BedrockAgent
4370
4500
  # resp.knowledge_base.knowledge_base_arn #=> String
4371
4501
  # resp.knowledge_base.description #=> String
4372
4502
  # resp.knowledge_base.role_arn #=> String
4373
- # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL"
4503
+ # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL", "MANAGED"
4374
4504
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
4375
4505
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
4376
4506
  # 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"
@@ -4381,6 +4511,15 @@ module Aws::BedrockAgent
4381
4511
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
4382
4512
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
4383
4513
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
4514
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_type #=> String, one of "CUSTOM", "MANAGED"
4515
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_arn #=> String
4516
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
4517
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
4518
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.audio #=> Array
4519
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.audio[0].segmentation_configuration.fixed_length_duration #=> Integer
4520
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video #=> Array
4521
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video[0].segmentation_configuration.fixed_length_duration #=> Integer
4522
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.server_side_encryption_configuration.kms_key_arn #=> String
4384
4523
  # resp.knowledge_base.knowledge_base_configuration.kendra_knowledge_base_configuration.kendra_index_arn #=> String
4385
4524
  # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.type #=> String, one of "REDSHIFT"
4386
4525
  # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations #=> Array
@@ -4456,7 +4595,7 @@ module Aws::BedrockAgent
4456
4595
  # resp.knowledge_base.storage_configuration.s3_vectors_configuration.vector_bucket_arn #=> String
4457
4596
  # resp.knowledge_base.storage_configuration.s3_vectors_configuration.index_arn #=> String
4458
4597
  # resp.knowledge_base.storage_configuration.s3_vectors_configuration.index_name #=> String
4459
- # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL"
4598
+ # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL", "UPDATE_UNSUCCESSFUL"
4460
4599
  # resp.knowledge_base.created_at #=> Time
4461
4600
  # resp.knowledge_base.updated_at #=> Time
4462
4601
  # resp.knowledge_base.failure_reasons #=> Array
@@ -4553,6 +4692,11 @@ module Aws::BedrockAgent
4553
4692
  # information. Omit this field to return information about the working
4554
4693
  # draft of the prompt.
4555
4694
  #
4695
+ # @option params [String] :included_data
4696
+ # Controls the scope of data returned. Set to `METADATA_ONLY` to return
4697
+ # only resource metadata. Set to `ALL_DATA` or omit this field to return
4698
+ # the full response.
4699
+ #
4556
4700
  # @return [Types::GetPromptResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4557
4701
  #
4558
4702
  # * {Types::GetPromptResponse#name #name} => String
@@ -4571,6 +4715,7 @@ module Aws::BedrockAgent
4571
4715
  # resp = client.get_prompt({
4572
4716
  # prompt_identifier: "PromptIdentifier", # required
4573
4717
  # prompt_version: "Version",
4718
+ # included_data: "ALL_DATA", # accepts ALL_DATA, METADATA_ONLY
4574
4719
  # })
4575
4720
  #
4576
4721
  # @example Response structure
@@ -4627,6 +4772,39 @@ module Aws::BedrockAgent
4627
4772
  req.send_request(options)
4628
4773
  end
4629
4774
 
4775
+ # Retrieves the resource policy associated with a knowledge base.
4776
+ #
4777
+ # @option params [required, String] :resource_arn
4778
+ # The Amazon Resource Name (ARN) of the knowledge base to retrieve the
4779
+ # resource policy for.
4780
+ #
4781
+ # @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4782
+ #
4783
+ # * {Types::GetResourcePolicyResponse#resource_arn #resource_arn} => String
4784
+ # * {Types::GetResourcePolicyResponse#policy #policy} => String
4785
+ # * {Types::GetResourcePolicyResponse#revision_id #revision_id} => String
4786
+ #
4787
+ # @example Request syntax with placeholder values
4788
+ #
4789
+ # resp = client.get_resource_policy({
4790
+ # resource_arn: "ResourceArn", # required
4791
+ # })
4792
+ #
4793
+ # @example Response structure
4794
+ #
4795
+ # resp.resource_arn #=> String
4796
+ # resp.policy #=> String
4797
+ # resp.revision_id #=> String
4798
+ #
4799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetResourcePolicy AWS API Documentation
4800
+ #
4801
+ # @overload get_resource_policy(params = {})
4802
+ # @param [Hash] params ({})
4803
+ def get_resource_policy(params = {}, options = {})
4804
+ req = build_request(:get_resource_policy, params)
4805
+ req.send_request(options)
4806
+ end
4807
+
4630
4808
  # Ingests documents directly into the knowledge base that is connected
4631
4809
  # to the data source. The `dataSourceType` specified in the content for
4632
4810
  # each document must match the type of the data source that you specify
@@ -4692,6 +4870,13 @@ module Aws::BedrockAgent
4692
4870
  # uri: "S3ObjectUri", # required
4693
4871
  # bucket_owner_account_id: "BucketOwnerAccountId",
4694
4872
  # },
4873
+ # access_control_list: [
4874
+ # {
4875
+ # name: "DocumentAccessControlEntryNameString", # required
4876
+ # type: "USER", # required, accepts USER
4877
+ # access: "ALLOW", # required, accepts ALLOW, DENY
4878
+ # },
4879
+ # ],
4695
4880
  # },
4696
4881
  # content: { # required
4697
4882
  # data_source_type: "CUSTOM", # required, accepts CUSTOM, S3
@@ -5114,7 +5299,7 @@ module Aws::BedrockAgent
5114
5299
  # resp.data_source_summaries[0].knowledge_base_id #=> String
5115
5300
  # resp.data_source_summaries[0].data_source_id #=> String
5116
5301
  # resp.data_source_summaries[0].name #=> String
5117
- # resp.data_source_summaries[0].status #=> String, one of "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL"
5302
+ # resp.data_source_summaries[0].status #=> String, one of "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL", "CREATING", "UPDATING", "FAILED"
5118
5303
  # resp.data_source_summaries[0].description #=> String
5119
5304
  # resp.data_source_summaries[0].updated_at #=> Time
5120
5305
  # resp.next_token #=> String
@@ -5372,6 +5557,7 @@ module Aws::BedrockAgent
5372
5557
  # resp.ingestion_job_summaries[0].statistics.number_of_metadata_documents_modified #=> Integer
5373
5558
  # resp.ingestion_job_summaries[0].statistics.number_of_documents_deleted #=> Integer
5374
5559
  # resp.ingestion_job_summaries[0].statistics.number_of_documents_failed #=> Integer
5560
+ # resp.ingestion_job_summaries[0].statistics.number_of_documents_skipped #=> Integer
5375
5561
  # resp.next_token #=> String
5376
5562
  #
5377
5563
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListIngestionJobs AWS API Documentation
@@ -5484,7 +5670,7 @@ module Aws::BedrockAgent
5484
5670
  # resp.knowledge_base_summaries[0].knowledge_base_id #=> String
5485
5671
  # resp.knowledge_base_summaries[0].name #=> String
5486
5672
  # resp.knowledge_base_summaries[0].description #=> String
5487
- # resp.knowledge_base_summaries[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL"
5673
+ # resp.knowledge_base_summaries[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL", "UPDATE_UNSUCCESSFUL"
5488
5674
  # resp.knowledge_base_summaries[0].updated_at #=> Time
5489
5675
  # resp.next_token #=> String
5490
5676
  #
@@ -5661,6 +5847,59 @@ module Aws::BedrockAgent
5661
5847
  req.send_request(options)
5662
5848
  end
5663
5849
 
5850
+ # Associates a resource policy with a knowledge base. A resource policy
5851
+ # allows other AWS accounts to access the knowledge base. For more
5852
+ # information, see [Cross-account access for knowledge bases][1].
5853
+ #
5854
+ #
5855
+ #
5856
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-cross-account.html
5857
+ #
5858
+ # @option params [required, String] :resource_arn
5859
+ # The Amazon Resource Name (ARN) of the knowledge base to attach the
5860
+ # resource policy to.
5861
+ #
5862
+ # @option params [required, String] :policy
5863
+ # The JSON-formatted resource policy to associate with the knowledge
5864
+ # base.
5865
+ #
5866
+ # **SDK automatically handles json encoding and base64 encoding for you
5867
+ # when the required value (Hash, Array, etc.) is provided according to
5868
+ # the description.**
5869
+ #
5870
+ # @option params [String] :expected_revision_id
5871
+ # The expected revision identifier of the resource policy. Use this to
5872
+ # prevent conflicts when multiple users update the same policy
5873
+ # concurrently. Specify the `revisionId` from the most recent
5874
+ # `GetResourcePolicy` or `PutResourcePolicy` response.
5875
+ #
5876
+ # @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5877
+ #
5878
+ # * {Types::PutResourcePolicyResponse#resource_arn #resource_arn} => String
5879
+ # * {Types::PutResourcePolicyResponse#revision_id #revision_id} => String
5880
+ #
5881
+ # @example Request syntax with placeholder values
5882
+ #
5883
+ # resp = client.put_resource_policy({
5884
+ # resource_arn: "ResourceArn", # required
5885
+ # policy: "ResourcePolicy", # required
5886
+ # expected_revision_id: "RevisionId",
5887
+ # })
5888
+ #
5889
+ # @example Response structure
5890
+ #
5891
+ # resp.resource_arn #=> String
5892
+ # resp.revision_id #=> String
5893
+ #
5894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/PutResourcePolicy AWS API Documentation
5895
+ #
5896
+ # @overload put_resource_policy(params = {})
5897
+ # @param [Hash] params ({})
5898
+ def put_resource_policy(params = {}, options = {})
5899
+ req = build_request(:put_resource_policy, params)
5900
+ req.send_request(options)
5901
+ end
5902
+
5664
5903
  # Begins a data ingestion job. Data sources are ingested into your
5665
5904
  # knowledge base so that Large Language Models (LLMs) can use your data.
5666
5905
  #
@@ -5715,6 +5954,7 @@ module Aws::BedrockAgent
5715
5954
  # resp.ingestion_job.statistics.number_of_metadata_documents_modified #=> Integer
5716
5955
  # resp.ingestion_job.statistics.number_of_documents_deleted #=> Integer
5717
5956
  # resp.ingestion_job.statistics.number_of_documents_failed #=> Integer
5957
+ # resp.ingestion_job.statistics.number_of_documents_skipped #=> Integer
5718
5958
  # resp.ingestion_job.failure_reasons #=> Array
5719
5959
  # resp.ingestion_job.failure_reasons[0] #=> String
5720
5960
  # resp.ingestion_job.started_at #=> Time
@@ -5770,6 +6010,7 @@ module Aws::BedrockAgent
5770
6010
  # resp.ingestion_job.statistics.number_of_metadata_documents_modified #=> Integer
5771
6011
  # resp.ingestion_job.statistics.number_of_documents_deleted #=> Integer
5772
6012
  # resp.ingestion_job.statistics.number_of_documents_failed #=> Integer
6013
+ # resp.ingestion_job.statistics.number_of_documents_skipped #=> Integer
5773
6014
  # resp.ingestion_job.failure_reasons #=> Array
5774
6015
  # resp.ingestion_job.failure_reasons[0] #=> String
5775
6016
  # resp.ingestion_job.started_at #=> Time
@@ -6476,7 +6717,26 @@ module Aws::BedrockAgent
6476
6717
  # name: "Name", # required
6477
6718
  # description: "Description",
6478
6719
  # data_source_configuration: { # required
6479
- # type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM, REDSHIFT_METADATA
6720
+ # type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM, REDSHIFT_METADATA, MANAGED_KNOWLEDGE_BASE_CONNECTOR
6721
+ # managed_knowledge_base_connector_configuration: {
6722
+ # deletion_protection_configuration: {
6723
+ # deletion_protection_status: "ENABLED", # required, accepts ENABLED, DISABLED
6724
+ # deletion_protection_threshold: 1,
6725
+ # },
6726
+ # media_extraction_configuration: {
6727
+ # image_extraction_configuration: {
6728
+ # image_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
6729
+ # },
6730
+ # audio_extraction_configuration: {
6731
+ # audio_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
6732
+ # },
6733
+ # video_extraction_configuration: {
6734
+ # video_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
6735
+ # },
6736
+ # },
6737
+ # connector_parameters: {
6738
+ # },
6739
+ # },
6480
6740
  # s3_configuration: {
6481
6741
  # bucket_arn: "S3BucketArn", # required
6482
6742
  # inclusion_prefixes: ["S3Prefix"],
@@ -6615,7 +6875,7 @@ module Aws::BedrockAgent
6615
6875
  # ],
6616
6876
  # },
6617
6877
  # parsing_configuration: {
6618
- # parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, BEDROCK_DATA_AUTOMATION
6878
+ # parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, BEDROCK_DATA_AUTOMATION, SMART_PARSING
6619
6879
  # bedrock_foundation_model_configuration: {
6620
6880
  # model_arn: "BedrockModelArn", # required
6621
6881
  # parsing_prompt: {
@@ -6644,9 +6904,14 @@ module Aws::BedrockAgent
6644
6904
  # resp.data_source.knowledge_base_id #=> String
6645
6905
  # resp.data_source.data_source_id #=> String
6646
6906
  # resp.data_source.name #=> String
6647
- # resp.data_source.status #=> String, one of "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL"
6907
+ # resp.data_source.status #=> String, one of "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL", "CREATING", "UPDATING", "FAILED"
6648
6908
  # resp.data_source.description #=> String
6649
- # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA"
6909
+ # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA", "MANAGED_KNOWLEDGE_BASE_CONNECTOR"
6910
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.deletion_protection_configuration.deletion_protection_status #=> String, one of "ENABLED", "DISABLED"
6911
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.deletion_protection_configuration.deletion_protection_threshold #=> Integer
6912
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.image_extraction_configuration.image_extraction_status #=> String, one of "ENABLED", "DISABLED"
6913
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.audio_extraction_configuration.audio_extraction_status #=> String, one of "ENABLED", "DISABLED"
6914
+ # resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.media_extraction_configuration.video_extraction_configuration.video_extraction_status #=> String, one of "ENABLED", "DISABLED"
6650
6915
  # resp.data_source.data_source_configuration.s3_configuration.bucket_arn #=> String
6651
6916
  # resp.data_source.data_source_configuration.s3_configuration.inclusion_prefixes #=> Array
6652
6917
  # resp.data_source.data_source_configuration.s3_configuration.inclusion_prefixes[0] #=> String
@@ -6711,7 +6976,7 @@ module Aws::BedrockAgent
6711
6976
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
6712
6977
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].transformation_function.transformation_lambda_configuration.lambda_arn #=> String
6713
6978
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
6714
- # resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION"
6979
+ # resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION", "SMART_PARSING"
6715
6980
  # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.model_arn #=> String
6716
6981
  # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_prompt.parsing_prompt_text #=> String
6717
6982
  # resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_modality #=> String, one of "MULTIMODAL"
@@ -7303,7 +7568,7 @@ module Aws::BedrockAgent
7303
7568
  # description: "Description",
7304
7569
  # role_arn: "KnowledgeBaseRoleArn", # required
7305
7570
  # knowledge_base_configuration: { # required
7306
- # type: "VECTOR", # required, accepts VECTOR, KENDRA, SQL
7571
+ # type: "VECTOR", # required, accepts VECTOR, KENDRA, SQL, MANAGED
7307
7572
  # vector_knowledge_base_configuration: {
7308
7573
  # embedding_model_arn: "BedrockEmbeddingModelArn", # required
7309
7574
  # embedding_model_configuration: {
@@ -7337,6 +7602,33 @@ module Aws::BedrockAgent
7337
7602
  # ],
7338
7603
  # },
7339
7604
  # },
7605
+ # managed_knowledge_base_configuration: {
7606
+ # embedding_model_type: "CUSTOM", # accepts CUSTOM, MANAGED
7607
+ # embedding_model_arn: "BedrockEmbeddingModelArn",
7608
+ # embedding_model_configuration: {
7609
+ # bedrock_embedding_model_configuration: {
7610
+ # dimensions: 1,
7611
+ # embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
7612
+ # audio: [
7613
+ # {
7614
+ # segmentation_configuration: { # required
7615
+ # fixed_length_duration: 1, # required
7616
+ # },
7617
+ # },
7618
+ # ],
7619
+ # video: [
7620
+ # {
7621
+ # segmentation_configuration: { # required
7622
+ # fixed_length_duration: 1, # required
7623
+ # },
7624
+ # },
7625
+ # ],
7626
+ # },
7627
+ # },
7628
+ # server_side_encryption_configuration: {
7629
+ # kms_key_arn: "KmsKeyArn",
7630
+ # },
7631
+ # },
7340
7632
  # kendra_knowledge_base_configuration: {
7341
7633
  # kendra_index_arn: "KendraIndexArn", # required
7342
7634
  # },
@@ -7489,7 +7781,7 @@ module Aws::BedrockAgent
7489
7781
  # resp.knowledge_base.knowledge_base_arn #=> String
7490
7782
  # resp.knowledge_base.description #=> String
7491
7783
  # resp.knowledge_base.role_arn #=> String
7492
- # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL"
7784
+ # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL", "MANAGED"
7493
7785
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
7494
7786
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
7495
7787
  # 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"
@@ -7500,6 +7792,15 @@ module Aws::BedrockAgent
7500
7792
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
7501
7793
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
7502
7794
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
7795
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_type #=> String, one of "CUSTOM", "MANAGED"
7796
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_arn #=> String
7797
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
7798
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
7799
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.audio #=> Array
7800
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.audio[0].segmentation_configuration.fixed_length_duration #=> Integer
7801
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video #=> Array
7802
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video[0].segmentation_configuration.fixed_length_duration #=> Integer
7803
+ # resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.server_side_encryption_configuration.kms_key_arn #=> String
7503
7804
  # resp.knowledge_base.knowledge_base_configuration.kendra_knowledge_base_configuration.kendra_index_arn #=> String
7504
7805
  # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.type #=> String, one of "REDSHIFT"
7505
7806
  # resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations #=> Array
@@ -7575,7 +7876,7 @@ module Aws::BedrockAgent
7575
7876
  # resp.knowledge_base.storage_configuration.s3_vectors_configuration.vector_bucket_arn #=> String
7576
7877
  # resp.knowledge_base.storage_configuration.s3_vectors_configuration.index_arn #=> String
7577
7878
  # resp.knowledge_base.storage_configuration.s3_vectors_configuration.index_name #=> String
7578
- # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL"
7879
+ # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL", "UPDATE_UNSUCCESSFUL"
7579
7880
  # resp.knowledge_base.created_at #=> Time
7580
7881
  # resp.knowledge_base.updated_at #=> Time
7581
7882
  # resp.knowledge_base.failure_reasons #=> Array
@@ -8155,7 +8456,7 @@ module Aws::BedrockAgent
8155
8456
  tracer: tracer
8156
8457
  )
8157
8458
  context[:gem_name] = 'aws-sdk-bedrockagent'
8158
- context[:gem_version] = '1.77.0'
8459
+ context[:gem_version] = '1.79.0'
8159
8460
  Seahorse::Client::Request.new(handlers, context)
8160
8461
  end
8161
8462