aws-sdk-bedrockagent 1.77.0 → 1.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +317 -34
- data/lib/aws-sdk-bedrockagent/client_api.rb +130 -0
- data/lib/aws-sdk-bedrockagent/types.rb +397 -28
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +47 -3
- data/sig/params.rbs +36 -3
- data/sig/types.rbs +100 -9
- metadata +1 -1
|
@@ -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">
|
|
2204
|
-
#
|
|
2205
|
-
# information, see [
|
|
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
|
-
# *
|
|
2215
|
-
#
|
|
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
|
-
# *
|
|
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/
|
|
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"
|
|
@@ -4333,6 +4450,7 @@ module Aws::BedrockAgent
|
|
|
4333
4450
|
# resp.ingestion_job.statistics.number_of_metadata_documents_modified #=> Integer
|
|
4334
4451
|
# resp.ingestion_job.statistics.number_of_documents_deleted #=> Integer
|
|
4335
4452
|
# resp.ingestion_job.statistics.number_of_documents_failed #=> Integer
|
|
4453
|
+
# resp.ingestion_job.statistics.number_of_documents_skipped #=> Integer
|
|
4336
4454
|
# resp.ingestion_job.failure_reasons #=> Array
|
|
4337
4455
|
# resp.ingestion_job.failure_reasons[0] #=> String
|
|
4338
4456
|
# resp.ingestion_job.started_at #=> Time
|
|
@@ -4370,7 +4488,7 @@ module Aws::BedrockAgent
|
|
|
4370
4488
|
# resp.knowledge_base.knowledge_base_arn #=> String
|
|
4371
4489
|
# resp.knowledge_base.description #=> String
|
|
4372
4490
|
# resp.knowledge_base.role_arn #=> String
|
|
4373
|
-
# resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL"
|
|
4491
|
+
# resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL", "MANAGED"
|
|
4374
4492
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
|
|
4375
4493
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
|
|
4376
4494
|
# 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 +4499,15 @@ module Aws::BedrockAgent
|
|
|
4381
4499
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
|
|
4382
4500
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
|
|
4383
4501
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
|
|
4502
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_type #=> String, one of "CUSTOM", "MANAGED"
|
|
4503
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_arn #=> String
|
|
4504
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
|
|
4505
|
+
# 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"
|
|
4506
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.audio #=> Array
|
|
4507
|
+
# 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
|
|
4508
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video #=> Array
|
|
4509
|
+
# 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
|
|
4510
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.server_side_encryption_configuration.kms_key_arn #=> String
|
|
4384
4511
|
# resp.knowledge_base.knowledge_base_configuration.kendra_knowledge_base_configuration.kendra_index_arn #=> String
|
|
4385
4512
|
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.type #=> String, one of "REDSHIFT"
|
|
4386
4513
|
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations #=> Array
|
|
@@ -4456,7 +4583,7 @@ module Aws::BedrockAgent
|
|
|
4456
4583
|
# resp.knowledge_base.storage_configuration.s3_vectors_configuration.vector_bucket_arn #=> String
|
|
4457
4584
|
# resp.knowledge_base.storage_configuration.s3_vectors_configuration.index_arn #=> String
|
|
4458
4585
|
# 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"
|
|
4586
|
+
# resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL", "UPDATE_UNSUCCESSFUL"
|
|
4460
4587
|
# resp.knowledge_base.created_at #=> Time
|
|
4461
4588
|
# resp.knowledge_base.updated_at #=> Time
|
|
4462
4589
|
# resp.knowledge_base.failure_reasons #=> Array
|
|
@@ -4627,6 +4754,39 @@ module Aws::BedrockAgent
|
|
|
4627
4754
|
req.send_request(options)
|
|
4628
4755
|
end
|
|
4629
4756
|
|
|
4757
|
+
# Retrieves the resource policy associated with a knowledge base.
|
|
4758
|
+
#
|
|
4759
|
+
# @option params [required, String] :resource_arn
|
|
4760
|
+
# The Amazon Resource Name (ARN) of the knowledge base to retrieve the
|
|
4761
|
+
# resource policy for.
|
|
4762
|
+
#
|
|
4763
|
+
# @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4764
|
+
#
|
|
4765
|
+
# * {Types::GetResourcePolicyResponse#resource_arn #resource_arn} => String
|
|
4766
|
+
# * {Types::GetResourcePolicyResponse#policy #policy} => String
|
|
4767
|
+
# * {Types::GetResourcePolicyResponse#revision_id #revision_id} => String
|
|
4768
|
+
#
|
|
4769
|
+
# @example Request syntax with placeholder values
|
|
4770
|
+
#
|
|
4771
|
+
# resp = client.get_resource_policy({
|
|
4772
|
+
# resource_arn: "ResourceArn", # required
|
|
4773
|
+
# })
|
|
4774
|
+
#
|
|
4775
|
+
# @example Response structure
|
|
4776
|
+
#
|
|
4777
|
+
# resp.resource_arn #=> String
|
|
4778
|
+
# resp.policy #=> String
|
|
4779
|
+
# resp.revision_id #=> String
|
|
4780
|
+
#
|
|
4781
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetResourcePolicy AWS API Documentation
|
|
4782
|
+
#
|
|
4783
|
+
# @overload get_resource_policy(params = {})
|
|
4784
|
+
# @param [Hash] params ({})
|
|
4785
|
+
def get_resource_policy(params = {}, options = {})
|
|
4786
|
+
req = build_request(:get_resource_policy, params)
|
|
4787
|
+
req.send_request(options)
|
|
4788
|
+
end
|
|
4789
|
+
|
|
4630
4790
|
# Ingests documents directly into the knowledge base that is connected
|
|
4631
4791
|
# to the data source. The `dataSourceType` specified in the content for
|
|
4632
4792
|
# each document must match the type of the data source that you specify
|
|
@@ -4692,6 +4852,13 @@ module Aws::BedrockAgent
|
|
|
4692
4852
|
# uri: "S3ObjectUri", # required
|
|
4693
4853
|
# bucket_owner_account_id: "BucketOwnerAccountId",
|
|
4694
4854
|
# },
|
|
4855
|
+
# access_control_list: [
|
|
4856
|
+
# {
|
|
4857
|
+
# name: "DocumentAccessControlEntryNameString", # required
|
|
4858
|
+
# type: "USER", # required, accepts USER
|
|
4859
|
+
# access: "ALLOW", # required, accepts ALLOW, DENY
|
|
4860
|
+
# },
|
|
4861
|
+
# ],
|
|
4695
4862
|
# },
|
|
4696
4863
|
# content: { # required
|
|
4697
4864
|
# data_source_type: "CUSTOM", # required, accepts CUSTOM, S3
|
|
@@ -5114,7 +5281,7 @@ module Aws::BedrockAgent
|
|
|
5114
5281
|
# resp.data_source_summaries[0].knowledge_base_id #=> String
|
|
5115
5282
|
# resp.data_source_summaries[0].data_source_id #=> String
|
|
5116
5283
|
# resp.data_source_summaries[0].name #=> String
|
|
5117
|
-
# resp.data_source_summaries[0].status #=> String, one of "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL"
|
|
5284
|
+
# resp.data_source_summaries[0].status #=> String, one of "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL", "CREATING", "UPDATING", "FAILED"
|
|
5118
5285
|
# resp.data_source_summaries[0].description #=> String
|
|
5119
5286
|
# resp.data_source_summaries[0].updated_at #=> Time
|
|
5120
5287
|
# resp.next_token #=> String
|
|
@@ -5372,6 +5539,7 @@ module Aws::BedrockAgent
|
|
|
5372
5539
|
# resp.ingestion_job_summaries[0].statistics.number_of_metadata_documents_modified #=> Integer
|
|
5373
5540
|
# resp.ingestion_job_summaries[0].statistics.number_of_documents_deleted #=> Integer
|
|
5374
5541
|
# resp.ingestion_job_summaries[0].statistics.number_of_documents_failed #=> Integer
|
|
5542
|
+
# resp.ingestion_job_summaries[0].statistics.number_of_documents_skipped #=> Integer
|
|
5375
5543
|
# resp.next_token #=> String
|
|
5376
5544
|
#
|
|
5377
5545
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListIngestionJobs AWS API Documentation
|
|
@@ -5484,7 +5652,7 @@ module Aws::BedrockAgent
|
|
|
5484
5652
|
# resp.knowledge_base_summaries[0].knowledge_base_id #=> String
|
|
5485
5653
|
# resp.knowledge_base_summaries[0].name #=> String
|
|
5486
5654
|
# resp.knowledge_base_summaries[0].description #=> String
|
|
5487
|
-
# resp.knowledge_base_summaries[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL"
|
|
5655
|
+
# resp.knowledge_base_summaries[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL", "UPDATE_UNSUCCESSFUL"
|
|
5488
5656
|
# resp.knowledge_base_summaries[0].updated_at #=> Time
|
|
5489
5657
|
# resp.next_token #=> String
|
|
5490
5658
|
#
|
|
@@ -5661,6 +5829,59 @@ module Aws::BedrockAgent
|
|
|
5661
5829
|
req.send_request(options)
|
|
5662
5830
|
end
|
|
5663
5831
|
|
|
5832
|
+
# Associates a resource policy with a knowledge base. A resource policy
|
|
5833
|
+
# allows other AWS accounts to access the knowledge base. For more
|
|
5834
|
+
# information, see [Cross-account access for knowledge bases][1].
|
|
5835
|
+
#
|
|
5836
|
+
#
|
|
5837
|
+
#
|
|
5838
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-cross-account.html
|
|
5839
|
+
#
|
|
5840
|
+
# @option params [required, String] :resource_arn
|
|
5841
|
+
# The Amazon Resource Name (ARN) of the knowledge base to attach the
|
|
5842
|
+
# resource policy to.
|
|
5843
|
+
#
|
|
5844
|
+
# @option params [required, String] :policy
|
|
5845
|
+
# The JSON-formatted resource policy to associate with the knowledge
|
|
5846
|
+
# base.
|
|
5847
|
+
#
|
|
5848
|
+
# **SDK automatically handles json encoding and base64 encoding for you
|
|
5849
|
+
# when the required value (Hash, Array, etc.) is provided according to
|
|
5850
|
+
# the description.**
|
|
5851
|
+
#
|
|
5852
|
+
# @option params [String] :expected_revision_id
|
|
5853
|
+
# The expected revision identifier of the resource policy. Use this to
|
|
5854
|
+
# prevent conflicts when multiple users update the same policy
|
|
5855
|
+
# concurrently. Specify the `revisionId` from the most recent
|
|
5856
|
+
# `GetResourcePolicy` or `PutResourcePolicy` response.
|
|
5857
|
+
#
|
|
5858
|
+
# @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5859
|
+
#
|
|
5860
|
+
# * {Types::PutResourcePolicyResponse#resource_arn #resource_arn} => String
|
|
5861
|
+
# * {Types::PutResourcePolicyResponse#revision_id #revision_id} => String
|
|
5862
|
+
#
|
|
5863
|
+
# @example Request syntax with placeholder values
|
|
5864
|
+
#
|
|
5865
|
+
# resp = client.put_resource_policy({
|
|
5866
|
+
# resource_arn: "ResourceArn", # required
|
|
5867
|
+
# policy: "ResourcePolicy", # required
|
|
5868
|
+
# expected_revision_id: "RevisionId",
|
|
5869
|
+
# })
|
|
5870
|
+
#
|
|
5871
|
+
# @example Response structure
|
|
5872
|
+
#
|
|
5873
|
+
# resp.resource_arn #=> String
|
|
5874
|
+
# resp.revision_id #=> String
|
|
5875
|
+
#
|
|
5876
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/PutResourcePolicy AWS API Documentation
|
|
5877
|
+
#
|
|
5878
|
+
# @overload put_resource_policy(params = {})
|
|
5879
|
+
# @param [Hash] params ({})
|
|
5880
|
+
def put_resource_policy(params = {}, options = {})
|
|
5881
|
+
req = build_request(:put_resource_policy, params)
|
|
5882
|
+
req.send_request(options)
|
|
5883
|
+
end
|
|
5884
|
+
|
|
5664
5885
|
# Begins a data ingestion job. Data sources are ingested into your
|
|
5665
5886
|
# knowledge base so that Large Language Models (LLMs) can use your data.
|
|
5666
5887
|
#
|
|
@@ -5715,6 +5936,7 @@ module Aws::BedrockAgent
|
|
|
5715
5936
|
# resp.ingestion_job.statistics.number_of_metadata_documents_modified #=> Integer
|
|
5716
5937
|
# resp.ingestion_job.statistics.number_of_documents_deleted #=> Integer
|
|
5717
5938
|
# resp.ingestion_job.statistics.number_of_documents_failed #=> Integer
|
|
5939
|
+
# resp.ingestion_job.statistics.number_of_documents_skipped #=> Integer
|
|
5718
5940
|
# resp.ingestion_job.failure_reasons #=> Array
|
|
5719
5941
|
# resp.ingestion_job.failure_reasons[0] #=> String
|
|
5720
5942
|
# resp.ingestion_job.started_at #=> Time
|
|
@@ -5770,6 +5992,7 @@ module Aws::BedrockAgent
|
|
|
5770
5992
|
# resp.ingestion_job.statistics.number_of_metadata_documents_modified #=> Integer
|
|
5771
5993
|
# resp.ingestion_job.statistics.number_of_documents_deleted #=> Integer
|
|
5772
5994
|
# resp.ingestion_job.statistics.number_of_documents_failed #=> Integer
|
|
5995
|
+
# resp.ingestion_job.statistics.number_of_documents_skipped #=> Integer
|
|
5773
5996
|
# resp.ingestion_job.failure_reasons #=> Array
|
|
5774
5997
|
# resp.ingestion_job.failure_reasons[0] #=> String
|
|
5775
5998
|
# resp.ingestion_job.started_at #=> Time
|
|
@@ -6476,7 +6699,26 @@ module Aws::BedrockAgent
|
|
|
6476
6699
|
# name: "Name", # required
|
|
6477
6700
|
# description: "Description",
|
|
6478
6701
|
# data_source_configuration: { # required
|
|
6479
|
-
# type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM, REDSHIFT_METADATA
|
|
6702
|
+
# type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM, REDSHIFT_METADATA, MANAGED_KNOWLEDGE_BASE_CONNECTOR
|
|
6703
|
+
# managed_knowledge_base_connector_configuration: {
|
|
6704
|
+
# deletion_protection_configuration: {
|
|
6705
|
+
# deletion_protection_status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
6706
|
+
# deletion_protection_threshold: 1,
|
|
6707
|
+
# },
|
|
6708
|
+
# media_extraction_configuration: {
|
|
6709
|
+
# image_extraction_configuration: {
|
|
6710
|
+
# image_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
6711
|
+
# },
|
|
6712
|
+
# audio_extraction_configuration: {
|
|
6713
|
+
# audio_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
6714
|
+
# },
|
|
6715
|
+
# video_extraction_configuration: {
|
|
6716
|
+
# video_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
6717
|
+
# },
|
|
6718
|
+
# },
|
|
6719
|
+
# connector_parameters: {
|
|
6720
|
+
# },
|
|
6721
|
+
# },
|
|
6480
6722
|
# s3_configuration: {
|
|
6481
6723
|
# bucket_arn: "S3BucketArn", # required
|
|
6482
6724
|
# inclusion_prefixes: ["S3Prefix"],
|
|
@@ -6615,7 +6857,7 @@ module Aws::BedrockAgent
|
|
|
6615
6857
|
# ],
|
|
6616
6858
|
# },
|
|
6617
6859
|
# parsing_configuration: {
|
|
6618
|
-
# parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, BEDROCK_DATA_AUTOMATION
|
|
6860
|
+
# parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, BEDROCK_DATA_AUTOMATION, SMART_PARSING
|
|
6619
6861
|
# bedrock_foundation_model_configuration: {
|
|
6620
6862
|
# model_arn: "BedrockModelArn", # required
|
|
6621
6863
|
# parsing_prompt: {
|
|
@@ -6644,9 +6886,14 @@ module Aws::BedrockAgent
|
|
|
6644
6886
|
# resp.data_source.knowledge_base_id #=> String
|
|
6645
6887
|
# resp.data_source.data_source_id #=> String
|
|
6646
6888
|
# resp.data_source.name #=> String
|
|
6647
|
-
# resp.data_source.status #=> String, one of "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL"
|
|
6889
|
+
# resp.data_source.status #=> String, one of "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL", "CREATING", "UPDATING", "FAILED"
|
|
6648
6890
|
# resp.data_source.description #=> String
|
|
6649
|
-
# resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA"
|
|
6891
|
+
# resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA", "MANAGED_KNOWLEDGE_BASE_CONNECTOR"
|
|
6892
|
+
# resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.deletion_protection_configuration.deletion_protection_status #=> String, one of "ENABLED", "DISABLED"
|
|
6893
|
+
# resp.data_source.data_source_configuration.managed_knowledge_base_connector_configuration.deletion_protection_configuration.deletion_protection_threshold #=> Integer
|
|
6894
|
+
# 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"
|
|
6895
|
+
# 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"
|
|
6896
|
+
# 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
6897
|
# resp.data_source.data_source_configuration.s3_configuration.bucket_arn #=> String
|
|
6651
6898
|
# resp.data_source.data_source_configuration.s3_configuration.inclusion_prefixes #=> Array
|
|
6652
6899
|
# resp.data_source.data_source_configuration.s3_configuration.inclusion_prefixes[0] #=> String
|
|
@@ -6711,7 +6958,7 @@ module Aws::BedrockAgent
|
|
|
6711
6958
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
|
|
6712
6959
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].transformation_function.transformation_lambda_configuration.lambda_arn #=> String
|
|
6713
6960
|
# 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"
|
|
6961
|
+
# resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION", "SMART_PARSING"
|
|
6715
6962
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.model_arn #=> String
|
|
6716
6963
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_prompt.parsing_prompt_text #=> String
|
|
6717
6964
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_modality #=> String, one of "MULTIMODAL"
|
|
@@ -7303,7 +7550,7 @@ module Aws::BedrockAgent
|
|
|
7303
7550
|
# description: "Description",
|
|
7304
7551
|
# role_arn: "KnowledgeBaseRoleArn", # required
|
|
7305
7552
|
# knowledge_base_configuration: { # required
|
|
7306
|
-
# type: "VECTOR", # required, accepts VECTOR, KENDRA, SQL
|
|
7553
|
+
# type: "VECTOR", # required, accepts VECTOR, KENDRA, SQL, MANAGED
|
|
7307
7554
|
# vector_knowledge_base_configuration: {
|
|
7308
7555
|
# embedding_model_arn: "BedrockEmbeddingModelArn", # required
|
|
7309
7556
|
# embedding_model_configuration: {
|
|
@@ -7337,6 +7584,33 @@ module Aws::BedrockAgent
|
|
|
7337
7584
|
# ],
|
|
7338
7585
|
# },
|
|
7339
7586
|
# },
|
|
7587
|
+
# managed_knowledge_base_configuration: {
|
|
7588
|
+
# embedding_model_type: "CUSTOM", # accepts CUSTOM, MANAGED
|
|
7589
|
+
# embedding_model_arn: "BedrockEmbeddingModelArn",
|
|
7590
|
+
# embedding_model_configuration: {
|
|
7591
|
+
# bedrock_embedding_model_configuration: {
|
|
7592
|
+
# dimensions: 1,
|
|
7593
|
+
# embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
|
|
7594
|
+
# audio: [
|
|
7595
|
+
# {
|
|
7596
|
+
# segmentation_configuration: { # required
|
|
7597
|
+
# fixed_length_duration: 1, # required
|
|
7598
|
+
# },
|
|
7599
|
+
# },
|
|
7600
|
+
# ],
|
|
7601
|
+
# video: [
|
|
7602
|
+
# {
|
|
7603
|
+
# segmentation_configuration: { # required
|
|
7604
|
+
# fixed_length_duration: 1, # required
|
|
7605
|
+
# },
|
|
7606
|
+
# },
|
|
7607
|
+
# ],
|
|
7608
|
+
# },
|
|
7609
|
+
# },
|
|
7610
|
+
# server_side_encryption_configuration: {
|
|
7611
|
+
# kms_key_arn: "KmsKeyArn",
|
|
7612
|
+
# },
|
|
7613
|
+
# },
|
|
7340
7614
|
# kendra_knowledge_base_configuration: {
|
|
7341
7615
|
# kendra_index_arn: "KendraIndexArn", # required
|
|
7342
7616
|
# },
|
|
@@ -7489,7 +7763,7 @@ module Aws::BedrockAgent
|
|
|
7489
7763
|
# resp.knowledge_base.knowledge_base_arn #=> String
|
|
7490
7764
|
# resp.knowledge_base.description #=> String
|
|
7491
7765
|
# resp.knowledge_base.role_arn #=> String
|
|
7492
|
-
# resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL"
|
|
7766
|
+
# resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR", "KENDRA", "SQL", "MANAGED"
|
|
7493
7767
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
|
|
7494
7768
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
|
|
7495
7769
|
# 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 +7774,15 @@ module Aws::BedrockAgent
|
|
|
7500
7774
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
|
|
7501
7775
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
|
|
7502
7776
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
|
|
7777
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_type #=> String, one of "CUSTOM", "MANAGED"
|
|
7778
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_arn #=> String
|
|
7779
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
|
|
7780
|
+
# 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"
|
|
7781
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.audio #=> Array
|
|
7782
|
+
# 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
|
|
7783
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video #=> Array
|
|
7784
|
+
# 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
|
|
7785
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.server_side_encryption_configuration.kms_key_arn #=> String
|
|
7503
7786
|
# resp.knowledge_base.knowledge_base_configuration.kendra_knowledge_base_configuration.kendra_index_arn #=> String
|
|
7504
7787
|
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.type #=> String, one of "REDSHIFT"
|
|
7505
7788
|
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations #=> Array
|
|
@@ -7575,7 +7858,7 @@ module Aws::BedrockAgent
|
|
|
7575
7858
|
# resp.knowledge_base.storage_configuration.s3_vectors_configuration.vector_bucket_arn #=> String
|
|
7576
7859
|
# resp.knowledge_base.storage_configuration.s3_vectors_configuration.index_arn #=> String
|
|
7577
7860
|
# 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"
|
|
7861
|
+
# resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL", "UPDATE_UNSUCCESSFUL"
|
|
7579
7862
|
# resp.knowledge_base.created_at #=> Time
|
|
7580
7863
|
# resp.knowledge_base.updated_at #=> Time
|
|
7581
7864
|
# resp.knowledge_base.failure_reasons #=> Array
|
|
@@ -8155,7 +8438,7 @@ module Aws::BedrockAgent
|
|
|
8155
8438
|
tracer: tracer
|
|
8156
8439
|
)
|
|
8157
8440
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
|
8158
|
-
context[:gem_version] = '1.
|
|
8441
|
+
context[:gem_version] = '1.78.0'
|
|
8159
8442
|
Seahorse::Client::Request.new(handlers, context)
|
|
8160
8443
|
end
|
|
8161
8444
|
|