aws-sdk-bedrockagent 1.36.0 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3414020facddac75cefbc36472d96d4bad6c0e8568ca535ca375d48c7b5fb2f
4
- data.tar.gz: 2cd5f6d7db9261b27093719241943461dece4ef23a6b1e4be5cdeacd0bf30f10
3
+ metadata.gz: a8a92e76badf45c52f22f99378b97a2445f2db8aa304958c0d96c96b41c3b229
4
+ data.tar.gz: 7108a21b94cf824467c1d10c44848e80784b10f4ef8669e42a95dec77307f285
5
5
  SHA512:
6
- metadata.gz: 8e94b2893c2db2e61530c3a5d6484148bd89dc2eb50cc5c04155b37d7a95fe170e79f209e9b13b4b8972c305720c4b3258ad6a912a518022172229e0dd31719e
7
- data.tar.gz: fff585fddb41fc8dc0610092ffc910d63e2280c1869e384649bc1c5aa3ab0e1d6e14fab213c1787a4ff555171c0068ce0e768559090964234cab0a2855a7b05c
6
+ metadata.gz: 209557f034d389dc5fe61b6caf87c668820e8d1f55d1d9f8de326e857c785fe75272d7460951ebd67f673d8e83c37b59359ea686bd2cdb27cdf20e52f37b7e58
7
+ data.tar.gz: 11daa0da2db0a83cf3d5898e0f63c92990c5c38d3b73105a7c5314122dd57f37321d47cf03db6bbffa1269fbfc91dcb29e85f036a6efa6f6fbaccea92a5c4fbc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.38.0 (2024-12-02)
5
+ ------------------
6
+
7
+ * Feature - This release introduces APIs to upload documents directly into a Knowledge Base
8
+
9
+ 1.37.0 (2024-11-27)
10
+ ------------------
11
+
12
+ * Feature - Add support for specifying embeddingDataType, either FLOAT32 or BINARY
13
+
4
14
  1.36.0 (2024-11-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.38.0
@@ -1011,7 +1011,9 @@ module Aws::BedrockAgent
1011
1011
  req.send_request(options)
1012
1012
  end
1013
1013
 
1014
- # Creates a data source connector for a knowledge base.
1014
+ # Connects a knowledge base to a data source. You specify the
1015
+ # configuration for the specific data source service in the
1016
+ # `dataSourceConfiguration` field.
1015
1017
  #
1016
1018
  # You can't change the `chunkingConfiguration` after you create the
1017
1019
  # data source connector.
@@ -1146,7 +1148,7 @@ module Aws::BedrockAgent
1146
1148
  # tenant_id: "Microsoft365TenantId",
1147
1149
  # },
1148
1150
  # },
1149
- # type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT
1151
+ # type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM
1150
1152
  # web_configuration: {
1151
1153
  # crawler_configuration: {
1152
1154
  # crawler_limits: {
@@ -1266,7 +1268,7 @@ module Aws::BedrockAgent
1266
1268
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls #=> Array
1267
1269
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls[0] #=> String
1268
1270
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.tenant_id #=> String
1269
- # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT"
1271
+ # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM"
1270
1272
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.rate_limit #=> Integer
1271
1273
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters #=> Array
1272
1274
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters[0] #=> String
@@ -1950,6 +1952,7 @@ module Aws::BedrockAgent
1950
1952
  # embedding_model_configuration: {
1951
1953
  # bedrock_embedding_model_configuration: {
1952
1954
  # dimensions: 1,
1955
+ # embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
1953
1956
  # },
1954
1957
  # },
1955
1958
  # },
@@ -2027,6 +2030,7 @@ module Aws::BedrockAgent
2027
2030
  # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
2028
2031
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
2029
2032
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
2033
+ # 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"
2030
2034
  # resp.knowledge_base.knowledge_base_id #=> String
2031
2035
  # resp.knowledge_base.name #=> String
2032
2036
  # resp.knowledge_base.role_arn #=> String
@@ -2728,6 +2732,83 @@ module Aws::BedrockAgent
2728
2732
  req.send_request(options)
2729
2733
  end
2730
2734
 
2735
+ # Deletes documents from a data source and syncs the changes to the
2736
+ # knowledge base that is connected to it. For more information, see
2737
+ # [Ingest documents into a knowledge base in real-time][1] in the Amazon
2738
+ # Bedrock User Guide.
2739
+ #
2740
+ #
2741
+ #
2742
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-real-time-ingestion.html
2743
+ #
2744
+ # @option params [String] :client_token
2745
+ # A unique, case-sensitive identifier to ensure that the API request
2746
+ # completes no more than one time. If this token matches a previous
2747
+ # request, Amazon Bedrock ignores the request, but does not return an
2748
+ # error. For more information, see [Ensuring idempotency][1].
2749
+ #
2750
+ # **A suitable default value is auto-generated.** You should normally
2751
+ # not need to pass this option.**
2752
+ #
2753
+ #
2754
+ #
2755
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
2756
+ #
2757
+ # @option params [required, String] :data_source_id
2758
+ # The unique identifier of the data source that contains the documents.
2759
+ #
2760
+ # @option params [required, Array<Types::DocumentIdentifier>] :document_identifiers
2761
+ # A list of objects, each of which contains information to identify a
2762
+ # document to delete.
2763
+ #
2764
+ # @option params [required, String] :knowledge_base_id
2765
+ # The unique identifier of the knowledge base that is connected to the
2766
+ # data source.
2767
+ #
2768
+ # @return [Types::DeleteKnowledgeBaseDocumentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2769
+ #
2770
+ # * {Types::DeleteKnowledgeBaseDocumentsResponse#document_details #document_details} => Array&lt;Types::KnowledgeBaseDocumentDetail&gt;
2771
+ #
2772
+ # @example Request syntax with placeholder values
2773
+ #
2774
+ # resp = client.delete_knowledge_base_documents({
2775
+ # client_token: "ClientToken",
2776
+ # data_source_id: "Id", # required
2777
+ # document_identifiers: [ # required
2778
+ # {
2779
+ # custom: {
2780
+ # id: "CustomDocumentIdentifierIdString", # required
2781
+ # },
2782
+ # data_source_type: "CUSTOM", # required, accepts CUSTOM, S3
2783
+ # s3: {
2784
+ # uri: "S3BucketUri", # required
2785
+ # },
2786
+ # },
2787
+ # ],
2788
+ # knowledge_base_id: "Id", # required
2789
+ # })
2790
+ #
2791
+ # @example Response structure
2792
+ #
2793
+ # resp.document_details #=> Array
2794
+ # resp.document_details[0].data_source_id #=> String
2795
+ # resp.document_details[0].identifier.custom.id #=> String
2796
+ # resp.document_details[0].identifier.data_source_type #=> String, one of "CUSTOM", "S3"
2797
+ # resp.document_details[0].identifier.s3.uri #=> String
2798
+ # resp.document_details[0].knowledge_base_id #=> String
2799
+ # resp.document_details[0].status #=> String, one of "INDEXED", "PARTIALLY_INDEXED", "PENDING", "FAILED", "METADATA_PARTIALLY_INDEXED", "METADATA_UPDATE_FAILED", "IGNORED", "NOT_FOUND", "STARTING", "IN_PROGRESS", "DELETING", "DELETE_IN_PROGRESS"
2800
+ # resp.document_details[0].status_reason #=> String
2801
+ # resp.document_details[0].updated_at #=> Time
2802
+ #
2803
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeleteKnowledgeBaseDocuments AWS API Documentation
2804
+ #
2805
+ # @overload delete_knowledge_base_documents(params = {})
2806
+ # @param [Hash] params ({})
2807
+ def delete_knowledge_base_documents(params = {}, options = {})
2808
+ req = build_request(:delete_knowledge_base_documents, params)
2809
+ req.send_request(options)
2810
+ end
2811
+
2731
2812
  # Deletes a prompt or a version of it, depending on whether you include
2732
2813
  # the `promptVersion` field or not. For more information, see [Delete
2733
2814
  # prompts from the Prompt management tool][1] and [Delete a version of a
@@ -3152,7 +3233,7 @@ module Aws::BedrockAgent
3152
3233
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls #=> Array
3153
3234
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls[0] #=> String
3154
3235
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.tenant_id #=> String
3155
- # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT"
3236
+ # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM"
3156
3237
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.rate_limit #=> Integer
3157
3238
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters #=> Array
3158
3239
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters[0] #=> String
@@ -3590,6 +3671,7 @@ module Aws::BedrockAgent
3590
3671
  # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
3591
3672
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
3592
3673
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
3674
+ # 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"
3593
3675
  # resp.knowledge_base.knowledge_base_id #=> String
3594
3676
  # resp.knowledge_base.name #=> String
3595
3677
  # resp.knowledge_base.role_arn #=> String
@@ -3639,6 +3721,68 @@ module Aws::BedrockAgent
3639
3721
  req.send_request(options)
3640
3722
  end
3641
3723
 
3724
+ # Retrieves specific documents from a data source that is connected to a
3725
+ # knowledge base. For more information, see [Ingest documents into a
3726
+ # knowledge base in real-time][1] in the Amazon Bedrock User Guide.
3727
+ #
3728
+ #
3729
+ #
3730
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-real-time-ingestion.html
3731
+ #
3732
+ # @option params [required, String] :data_source_id
3733
+ # The unique identifier of the data source that contains the documents.
3734
+ #
3735
+ # @option params [required, Array<Types::DocumentIdentifier>] :document_identifiers
3736
+ # A list of objects, each of which contains information to identify a
3737
+ # document for which to retrieve information.
3738
+ #
3739
+ # @option params [required, String] :knowledge_base_id
3740
+ # The unique identifier of the knowledge base that is connected to the
3741
+ # data source.
3742
+ #
3743
+ # @return [Types::GetKnowledgeBaseDocumentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3744
+ #
3745
+ # * {Types::GetKnowledgeBaseDocumentsResponse#document_details #document_details} => Array&lt;Types::KnowledgeBaseDocumentDetail&gt;
3746
+ #
3747
+ # @example Request syntax with placeholder values
3748
+ #
3749
+ # resp = client.get_knowledge_base_documents({
3750
+ # data_source_id: "Id", # required
3751
+ # document_identifiers: [ # required
3752
+ # {
3753
+ # custom: {
3754
+ # id: "CustomDocumentIdentifierIdString", # required
3755
+ # },
3756
+ # data_source_type: "CUSTOM", # required, accepts CUSTOM, S3
3757
+ # s3: {
3758
+ # uri: "S3BucketUri", # required
3759
+ # },
3760
+ # },
3761
+ # ],
3762
+ # knowledge_base_id: "Id", # required
3763
+ # })
3764
+ #
3765
+ # @example Response structure
3766
+ #
3767
+ # resp.document_details #=> Array
3768
+ # resp.document_details[0].data_source_id #=> String
3769
+ # resp.document_details[0].identifier.custom.id #=> String
3770
+ # resp.document_details[0].identifier.data_source_type #=> String, one of "CUSTOM", "S3"
3771
+ # resp.document_details[0].identifier.s3.uri #=> String
3772
+ # resp.document_details[0].knowledge_base_id #=> String
3773
+ # resp.document_details[0].status #=> String, one of "INDEXED", "PARTIALLY_INDEXED", "PENDING", "FAILED", "METADATA_PARTIALLY_INDEXED", "METADATA_UPDATE_FAILED", "IGNORED", "NOT_FOUND", "STARTING", "IN_PROGRESS", "DELETING", "DELETE_IN_PROGRESS"
3774
+ # resp.document_details[0].status_reason #=> String
3775
+ # resp.document_details[0].updated_at #=> Time
3776
+ #
3777
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetKnowledgeBaseDocuments AWS API Documentation
3778
+ #
3779
+ # @overload get_knowledge_base_documents(params = {})
3780
+ # @param [Hash] params ({})
3781
+ def get_knowledge_base_documents(params = {}, options = {})
3782
+ req = build_request(:get_knowledge_base_documents, params)
3783
+ req.send_request(options)
3784
+ end
3785
+
3642
3786
  # Retrieves information about the working draft (`DRAFT` version) of a
3643
3787
  # prompt or a version of it, depending on whether you include the
3644
3788
  # `promptVersion` field or not. For more information, see [View
@@ -3728,6 +3872,125 @@ module Aws::BedrockAgent
3728
3872
  req.send_request(options)
3729
3873
  end
3730
3874
 
3875
+ # Ingests documents directly into the knowledge base that is connected
3876
+ # to the data source. The `dataSourceType` specified in the content for
3877
+ # each document must match the type of the data source that you specify
3878
+ # in the header. For more information, see [Ingest documents into a
3879
+ # knowledge base in real-time][1] in the Amazon Bedrock User Guide.
3880
+ #
3881
+ #
3882
+ #
3883
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-real-time-ingestion.html
3884
+ #
3885
+ # @option params [String] :client_token
3886
+ # A unique, case-sensitive identifier to ensure that the API request
3887
+ # completes no more than one time. If this token matches a previous
3888
+ # request, Amazon Bedrock ignores the request, but does not return an
3889
+ # error. For more information, see [Ensuring idempotency][1].
3890
+ #
3891
+ # **A suitable default value is auto-generated.** You should normally
3892
+ # not need to pass this option.**
3893
+ #
3894
+ #
3895
+ #
3896
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
3897
+ #
3898
+ # @option params [required, String] :data_source_id
3899
+ # The unique identifier of the data source connected to the knowledge
3900
+ # base that you're adding documents to.
3901
+ #
3902
+ # @option params [required, Array<Types::KnowledgeBaseDocument>] :documents
3903
+ # A list of objects, each of which contains information about the
3904
+ # documents to add.
3905
+ #
3906
+ # @option params [required, String] :knowledge_base_id
3907
+ # The unique identifier of the knowledge base to ingest the documents
3908
+ # into.
3909
+ #
3910
+ # @return [Types::IngestKnowledgeBaseDocumentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3911
+ #
3912
+ # * {Types::IngestKnowledgeBaseDocumentsResponse#document_details #document_details} => Array&lt;Types::KnowledgeBaseDocumentDetail&gt;
3913
+ #
3914
+ # @example Request syntax with placeholder values
3915
+ #
3916
+ # resp = client.ingest_knowledge_base_documents({
3917
+ # client_token: "ClientToken",
3918
+ # data_source_id: "Id", # required
3919
+ # documents: [ # required
3920
+ # {
3921
+ # content: { # required
3922
+ # custom: {
3923
+ # custom_document_identifier: { # required
3924
+ # id: "CustomDocumentIdentifierIdString", # required
3925
+ # },
3926
+ # inline_content: {
3927
+ # byte_content: {
3928
+ # data: "data", # required
3929
+ # mime_type: "ByteContentDocMimeTypeString", # required
3930
+ # },
3931
+ # text_content: {
3932
+ # data: "Data", # required
3933
+ # },
3934
+ # type: "BYTE", # required, accepts BYTE, TEXT
3935
+ # },
3936
+ # s3_location: {
3937
+ # bucket_owner_account_id: "BucketOwnerAccountId",
3938
+ # uri: "S3ObjectUri", # required
3939
+ # },
3940
+ # source_type: "IN_LINE", # required, accepts IN_LINE, S3_LOCATION
3941
+ # },
3942
+ # data_source_type: "CUSTOM", # required, accepts CUSTOM, S3
3943
+ # s3: {
3944
+ # s3_location: { # required
3945
+ # uri: "S3BucketUri", # required
3946
+ # },
3947
+ # },
3948
+ # },
3949
+ # metadata: {
3950
+ # inline_attributes: [
3951
+ # {
3952
+ # key: "Key", # required
3953
+ # value: { # required
3954
+ # boolean_value: false,
3955
+ # number_value: 1.0,
3956
+ # string_list_value: ["StringValue"],
3957
+ # string_value: "StringValue",
3958
+ # type: "BOOLEAN", # required, accepts BOOLEAN, NUMBER, STRING, STRING_LIST
3959
+ # },
3960
+ # },
3961
+ # ],
3962
+ # s3_location: {
3963
+ # bucket_owner_account_id: "BucketOwnerAccountId",
3964
+ # uri: "S3ObjectUri", # required
3965
+ # },
3966
+ # type: "IN_LINE_ATTRIBUTE", # required, accepts IN_LINE_ATTRIBUTE, S3_LOCATION
3967
+ # },
3968
+ # },
3969
+ # ],
3970
+ # knowledge_base_id: "Id", # required
3971
+ # })
3972
+ #
3973
+ # @example Response structure
3974
+ #
3975
+ # resp.document_details #=> Array
3976
+ # resp.document_details[0].data_source_id #=> String
3977
+ # resp.document_details[0].identifier.custom.id #=> String
3978
+ # resp.document_details[0].identifier.data_source_type #=> String, one of "CUSTOM", "S3"
3979
+ # resp.document_details[0].identifier.s3.uri #=> String
3980
+ # resp.document_details[0].knowledge_base_id #=> String
3981
+ # resp.document_details[0].status #=> String, one of "INDEXED", "PARTIALLY_INDEXED", "PENDING", "FAILED", "METADATA_PARTIALLY_INDEXED", "METADATA_UPDATE_FAILED", "IGNORED", "NOT_FOUND", "STARTING", "IN_PROGRESS", "DELETING", "DELETE_IN_PROGRESS"
3982
+ # resp.document_details[0].status_reason #=> String
3983
+ # resp.document_details[0].updated_at #=> Time
3984
+ #
3985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/IngestKnowledgeBaseDocuments AWS API Documentation
3986
+ #
3987
+ # @overload ingest_knowledge_base_documents(params = {})
3988
+ # @param [Hash] params ({})
3989
+ def ingest_knowledge_base_documents(params = {}, options = {})
3990
+ req = build_request(:ingest_knowledge_base_documents, params)
3991
+ req.send_request(options)
3992
+ end
3993
+
3731
3994
  # Lists the action groups for an agent and information about each one.
3732
3995
  #
3733
3996
  # @option params [required, String] :agent_id
@@ -4307,6 +4570,72 @@ module Aws::BedrockAgent
4307
4570
  req.send_request(options)
4308
4571
  end
4309
4572
 
4573
+ # Retrieves all the documents contained in a data source that is
4574
+ # connected to a knowledge base. For more information, see [Ingest
4575
+ # documents into a knowledge base in real-time][1] in the Amazon Bedrock
4576
+ # User Guide.
4577
+ #
4578
+ #
4579
+ #
4580
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-real-time-ingestion.html
4581
+ #
4582
+ # @option params [required, String] :data_source_id
4583
+ # The unique identifier of the data source that contains the documents.
4584
+ #
4585
+ # @option params [required, String] :knowledge_base_id
4586
+ # The unique identifier of the knowledge base that is connected to the
4587
+ # data source.
4588
+ #
4589
+ # @option params [Integer] :max_results
4590
+ # The maximum number of results to return in the response. If the total
4591
+ # number of results is greater than this value, use the token returned
4592
+ # in the response in the `nextToken` field when making another request
4593
+ # to return the next batch of results.
4594
+ #
4595
+ # @option params [String] :next_token
4596
+ # If the total number of results is greater than the `maxResults` value
4597
+ # provided in the request, enter the token returned in the `nextToken`
4598
+ # field in the response in this field to return the next batch of
4599
+ # results.
4600
+ #
4601
+ # @return [Types::ListKnowledgeBaseDocumentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4602
+ #
4603
+ # * {Types::ListKnowledgeBaseDocumentsResponse#document_details #document_details} => Array&lt;Types::KnowledgeBaseDocumentDetail&gt;
4604
+ # * {Types::ListKnowledgeBaseDocumentsResponse#next_token #next_token} => String
4605
+ #
4606
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4607
+ #
4608
+ # @example Request syntax with placeholder values
4609
+ #
4610
+ # resp = client.list_knowledge_base_documents({
4611
+ # data_source_id: "Id", # required
4612
+ # knowledge_base_id: "Id", # required
4613
+ # max_results: 1,
4614
+ # next_token: "NextToken",
4615
+ # })
4616
+ #
4617
+ # @example Response structure
4618
+ #
4619
+ # resp.document_details #=> Array
4620
+ # resp.document_details[0].data_source_id #=> String
4621
+ # resp.document_details[0].identifier.custom.id #=> String
4622
+ # resp.document_details[0].identifier.data_source_type #=> String, one of "CUSTOM", "S3"
4623
+ # resp.document_details[0].identifier.s3.uri #=> String
4624
+ # resp.document_details[0].knowledge_base_id #=> String
4625
+ # resp.document_details[0].status #=> String, one of "INDEXED", "PARTIALLY_INDEXED", "PENDING", "FAILED", "METADATA_PARTIALLY_INDEXED", "METADATA_UPDATE_FAILED", "IGNORED", "NOT_FOUND", "STARTING", "IN_PROGRESS", "DELETING", "DELETE_IN_PROGRESS"
4626
+ # resp.document_details[0].status_reason #=> String
4627
+ # resp.document_details[0].updated_at #=> Time
4628
+ # resp.next_token #=> String
4629
+ #
4630
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListKnowledgeBaseDocuments AWS API Documentation
4631
+ #
4632
+ # @overload list_knowledge_base_documents(params = {})
4633
+ # @param [Hash] params ({})
4634
+ def list_knowledge_base_documents(params = {}, options = {})
4635
+ req = build_request(:list_knowledge_base_documents, params)
4636
+ req.send_request(options)
4637
+ end
4638
+
4310
4639
  # Lists the knowledge bases in an account. The list also
4311
4640
  # includesinformation about each knowledge base.
4312
4641
  #
@@ -5273,7 +5602,7 @@ module Aws::BedrockAgent
5273
5602
  # tenant_id: "Microsoft365TenantId",
5274
5603
  # },
5275
5604
  # },
5276
- # type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT
5605
+ # type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM
5277
5606
  # web_configuration: {
5278
5607
  # crawler_configuration: {
5279
5608
  # crawler_limits: {
@@ -5394,7 +5723,7 @@ module Aws::BedrockAgent
5394
5723
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls #=> Array
5395
5724
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls[0] #=> String
5396
5725
  # resp.data_source.data_source_configuration.share_point_configuration.source_configuration.tenant_id #=> String
5397
- # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT"
5726
+ # resp.data_source.data_source_configuration.type #=> String, one of "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM"
5398
5727
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.rate_limit #=> Integer
5399
5728
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters #=> Array
5400
5729
  # resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters[0] #=> String
@@ -5871,6 +6200,7 @@ module Aws::BedrockAgent
5871
6200
  # embedding_model_configuration: {
5872
6201
  # bedrock_embedding_model_configuration: {
5873
6202
  # dimensions: 1,
6203
+ # embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
5874
6204
  # },
5875
6205
  # },
5876
6206
  # },
@@ -5946,6 +6276,7 @@ module Aws::BedrockAgent
5946
6276
  # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
5947
6277
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
5948
6278
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
6279
+ # 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"
5949
6280
  # resp.knowledge_base.knowledge_base_id #=> String
5950
6281
  # resp.knowledge_base.name #=> String
5951
6282
  # resp.knowledge_base.role_arn #=> String
@@ -6436,7 +6767,7 @@ module Aws::BedrockAgent
6436
6767
  tracer: tracer
6437
6768
  )
6438
6769
  context[:gem_name] = 'aws-sdk-bedrockagent'
6439
- context[:gem_version] = '1.36.0'
6770
+ context[:gem_version] = '1.38.0'
6440
6771
  Seahorse::Client::Request.new(handlers, context)
6441
6772
  end
6442
6773