aws-sdk-bedrockagent 1.37.0 → 1.38.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 +333 -7
- data/lib/aws-sdk-bedrockagent/client_api.rb +215 -0
- data/lib/aws-sdk-bedrockagent/types.rb +615 -0
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +124 -2
- data/sig/types.rbs +147 -1
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: a8a92e76badf45c52f22f99378b97a2445f2db8aa304958c0d96c96b41c3b229
         | 
| 4 | 
            +
              data.tar.gz: 7108a21b94cf824467c1d10c44848e80784b10f4ef8669e42a95dec77307f285
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 209557f034d389dc5fe61b6caf87c668820e8d1f55d1d9f8de326e857c785fe75272d7460951ebd67f673d8e83c37b59359ea686bd2cdb27cdf20e52f37b7e58
         | 
| 7 | 
            +
              data.tar.gz: 11daa0da2db0a83cf3d5898e0f63c92990c5c38d3b73105a7c5314122dd57f37321d47cf03db6bbffa1269fbfc91dcb29e85f036a6efa6f6fbaccea92a5c4fbc
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.38.0
         | 
| @@ -1011,7 +1011,9 @@ module Aws::BedrockAgent | |
| 1011 1011 | 
             
                  req.send_request(options)
         | 
| 1012 1012 | 
             
                end
         | 
| 1013 1013 |  | 
| 1014 | 
            -
                #  | 
| 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
         | 
| @@ -2730,6 +2732,83 @@ module Aws::BedrockAgent | |
| 2730 2732 | 
             
                  req.send_request(options)
         | 
| 2731 2733 | 
             
                end
         | 
| 2732 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<Types::KnowledgeBaseDocumentDetail>
         | 
| 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 | 
            +
             | 
| 2733 2812 | 
             
                # Deletes a prompt or a version of it, depending on whether you include
         | 
| 2734 2813 | 
             
                # the `promptVersion` field or not. For more information, see [Delete
         | 
| 2735 2814 | 
             
                # prompts from the Prompt management tool][1] and [Delete a version of a
         | 
| @@ -3154,7 +3233,7 @@ module Aws::BedrockAgent | |
| 3154 3233 | 
             
                #   resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls #=> Array
         | 
| 3155 3234 | 
             
                #   resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls[0] #=> String
         | 
| 3156 3235 | 
             
                #   resp.data_source.data_source_configuration.share_point_configuration.source_configuration.tenant_id #=> String
         | 
| 3157 | 
            -
                #   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"
         | 
| 3158 3237 | 
             
                #   resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.rate_limit #=> Integer
         | 
| 3159 3238 | 
             
                #   resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters #=> Array
         | 
| 3160 3239 | 
             
                #   resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters[0] #=> String
         | 
| @@ -3642,6 +3721,68 @@ module Aws::BedrockAgent | |
| 3642 3721 | 
             
                  req.send_request(options)
         | 
| 3643 3722 | 
             
                end
         | 
| 3644 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<Types::KnowledgeBaseDocumentDetail>
         | 
| 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 | 
            +
             | 
| 3645 3786 | 
             
                # Retrieves information about the working draft (`DRAFT` version) of a
         | 
| 3646 3787 | 
             
                # prompt or a version of it, depending on whether you include the
         | 
| 3647 3788 | 
             
                # `promptVersion` field or not. For more information, see [View
         | 
| @@ -3731,6 +3872,125 @@ module Aws::BedrockAgent | |
| 3731 3872 | 
             
                  req.send_request(options)
         | 
| 3732 3873 | 
             
                end
         | 
| 3733 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<Types::KnowledgeBaseDocumentDetail>
         | 
| 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 | 
            +
             | 
| 3734 3994 | 
             
                # Lists the action groups for an agent and information about each one.
         | 
| 3735 3995 | 
             
                #
         | 
| 3736 3996 | 
             
                # @option params [required, String] :agent_id
         | 
| @@ -4310,6 +4570,72 @@ module Aws::BedrockAgent | |
| 4310 4570 | 
             
                  req.send_request(options)
         | 
| 4311 4571 | 
             
                end
         | 
| 4312 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<Types::KnowledgeBaseDocumentDetail>
         | 
| 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 | 
            +
             | 
| 4313 4639 | 
             
                # Lists the knowledge bases in an account. The list also
         | 
| 4314 4640 | 
             
                # includesinformation about each knowledge base.
         | 
| 4315 4641 | 
             
                #
         | 
| @@ -5276,7 +5602,7 @@ module Aws::BedrockAgent | |
| 5276 5602 | 
             
                #           tenant_id: "Microsoft365TenantId",
         | 
| 5277 5603 | 
             
                #         },
         | 
| 5278 5604 | 
             
                #       },
         | 
| 5279 | 
            -
                #       type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT
         | 
| 5605 | 
            +
                #       type: "S3", # required, accepts S3, WEB, CONFLUENCE, SALESFORCE, SHAREPOINT, CUSTOM
         | 
| 5280 5606 | 
             
                #       web_configuration: {
         | 
| 5281 5607 | 
             
                #         crawler_configuration: {
         | 
| 5282 5608 | 
             
                #           crawler_limits: {
         | 
| @@ -5397,7 +5723,7 @@ module Aws::BedrockAgent | |
| 5397 5723 | 
             
                #   resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls #=> Array
         | 
| 5398 5724 | 
             
                #   resp.data_source.data_source_configuration.share_point_configuration.source_configuration.site_urls[0] #=> String
         | 
| 5399 5725 | 
             
                #   resp.data_source.data_source_configuration.share_point_configuration.source_configuration.tenant_id #=> String
         | 
| 5400 | 
            -
                #   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"
         | 
| 5401 5727 | 
             
                #   resp.data_source.data_source_configuration.web_configuration.crawler_configuration.crawler_limits.rate_limit #=> Integer
         | 
| 5402 5728 | 
             
                #   resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters #=> Array
         | 
| 5403 5729 | 
             
                #   resp.data_source.data_source_configuration.web_configuration.crawler_configuration.exclusion_filters[0] #=> String
         | 
| @@ -6441,7 +6767,7 @@ module Aws::BedrockAgent | |
| 6441 6767 | 
             
                    tracer: tracer
         | 
| 6442 6768 | 
             
                  )
         | 
| 6443 6769 | 
             
                  context[:gem_name] = 'aws-sdk-bedrockagent'
         | 
| 6444 | 
            -
                  context[:gem_version] = '1. | 
| 6770 | 
            +
                  context[:gem_version] = '1.38.0'
         | 
| 6445 6771 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 6446 6772 | 
             
                end
         | 
| 6447 6773 |  |