aws-sdk-bedrockagent 1.84.0 → 1.86.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b328cdd1550bcdaac5186a5711f87b1ec43ba4b91d5077d5c4b092126107eba
4
- data.tar.gz: 90ade66081789413826b90ebeea10e956b0974ded25aca4261438cf7a63269b9
3
+ metadata.gz: 8c52572d4ecab4fe6de00ca38c41902e72167709963fea9a4d74dbf03b76be80
4
+ data.tar.gz: b912e4143bd1ab8fd8c782e1981dfc5fd7ff39cd4a84bc9588d43215566a49ed
5
5
  SHA512:
6
- metadata.gz: 5665d94a81eb6a321aa1c737318e18b2adb655f6dfc4e8dce50b5dc124ad3f5e46c60cef1172345c70b7294c342e2b00430a9dd99dfbcf7bbb36fd0bc586fb87
7
- data.tar.gz: 5810f6643e294ef0a83ab9fbb6383e229641d2752620c5093f056e86db4abafe11b1a3339000dd37f3e29ec7b9efb6ba56ba36fd1c4a7209fc78772e3c143261
6
+ metadata.gz: a334ccb03680dfc3fd4abfca30d5c1a5880688e4b81fc217ef94ab16524410445081f6a664109da169a4343ab98dcf8eefe999fc62cc7acd7fe3d746aa20baf9
7
+ data.tar.gz: b4921c322efc0e940d64cbc32d77f263274a897f3069cf9fc54887383c2bc2726621223966e02a260ec021506257293a9f8270e48e979f15ec1459c4f7284e8f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.86.0 (2026-10-01)
5
+ ------------------
6
+
7
+ * Feature - Adds an optional textReadyAt field to ListIngestionJobs and GetIngestionJob for Managed Knowledge Bases data source sync jobs. The field denotes the timestamp at which all the documents in the scope of a sync job had their text content indexed and are available for retrieval.
8
+
9
+ 1.85.0 (2026-09-25)
10
+ ------------------
11
+
12
+ * Feature - Adds support for calling VPC configuration API's in Bedrock. These configurations allow the use of On Prem connectors in Bedrock Managed Knowledge bases
13
+
4
14
  1.84.0 (2026-09-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.84.0
1
+ 1.86.0
@@ -3037,6 +3037,134 @@ module Aws::BedrockAgent
3037
3037
  req.send_request(options)
3038
3038
  end
3039
3039
 
3040
+ # Creates a VPC configuration that lets a knowledge base connect to a
3041
+ # resource in your private VPC. This operation is asynchronous: it
3042
+ # returns a `vpcConfigurationId` with status `CREATING`. Poll
3043
+ # `GetVpcConfiguration` until the status becomes `CREATED` or
3044
+ # `CREATE_FAILED`.
3045
+ #
3046
+ # @option params [required, String] :knowledge_base_id
3047
+ # The unique identifier of the knowledge base to associate this VPC
3048
+ # configuration with.
3049
+ #
3050
+ # @option params [String] :client_token
3051
+ # A unique, case-sensitive identifier to ensure that the operation
3052
+ # completes no more than one time. If this token matches a previous
3053
+ # request, the service ignores the request but does not return an error.
3054
+ #
3055
+ # **A suitable default value is auto-generated.** You should normally
3056
+ # not need to pass this option.**
3057
+ #
3058
+ # @option params [required, String] :vpc_id
3059
+ # The identifier of the VPC that the knowledge base connects through to
3060
+ # reach the resource.
3061
+ #
3062
+ # @option params [required, Array<String>] :subnet_ids
3063
+ # The subnets, in the VPC identified by `vpcId`, that the knowledge base
3064
+ # uses to connect to the resource.
3065
+ #
3066
+ # @option params [required, String] :resource_target
3067
+ # The private IPv4 address or DNS name of the resource you want the
3068
+ # knowledge base to reach. The target must be privately reachable from
3069
+ # inside your VPC, such as an internal load balancer or a private IP.
3070
+ # The following are not supported:
3071
+ #
3072
+ # * Internet-facing endpoints
3073
+ #
3074
+ # * Loopback addresses
3075
+ #
3076
+ # * Link-local addresses
3077
+ #
3078
+ # * Wildcard addresses
3079
+ #
3080
+ # * Multicast addresses
3081
+ #
3082
+ # * IPv6 literals
3083
+ #
3084
+ # @option params [required, Integer] :port
3085
+ # The port on which to reach the resource.
3086
+ #
3087
+ # @option params [required, String] :protocol
3088
+ # The protocol used to connect to the resource. Specify `HTTP` for
3089
+ # plaintext or `HTTPS` for TLS. When you specify `HTTPS`, you must also
3090
+ # provide `tlsServerName`.
3091
+ #
3092
+ # @option params [required, String] :resolution_mode
3093
+ # Controls how a domain-name `resourceTarget` is resolved. This applies
3094
+ # only when the target is a domain name; it has no effect for IP-address
3095
+ # targets, which have no name to resolve. In all cases the resolved
3096
+ # address must be reachable from inside your VPC. Valid values:
3097
+ #
3098
+ # * `IN_VPC` (default, recommended) – The target domain name is resolved
3099
+ # privately, using the DNS resolvers of the VPC, such as private Route
3100
+ # 53 hosted zones or on-premises DNS reachable from the VPC. Use this
3101
+ # for targets that are private to your VPC, such as internal load
3102
+ # balancers, private hosted-zone names, or on-premises hosts.
3103
+ #
3104
+ # * `PUBLIC` – The target domain name is resolved against public DNS
3105
+ # resolvers. Select this only when the target's domain name must be
3106
+ # resolved through public DNS and the resulting address is still
3107
+ # reachable from the VPC, an uncommon split-horizon configuration. If
3108
+ # you are unsure, use `IN_VPC`.
3109
+ #
3110
+ # @option params [String] :host_header
3111
+ # An optional HTTP `Host` header value to send when invoking the
3112
+ # resource. Set this only if your resource (or an upstream router or
3113
+ # ingress) routes by the `Host` header and that host differs from the
3114
+ # target. This setting is independent of `tlsServerName`.
3115
+ #
3116
+ # @option params [String] :tls_server_name
3117
+ # The expected TLS server name. The service matches this value against
3118
+ # the Subject Alternative Names on your resource's TLS certificate
3119
+ # during invocation. This field is required when `protocol` is `HTTPS`.
3120
+ # Set it to a hostname on your certificate, such as
3121
+ # `app.internal.example.com`. You can use a single leftmost wildcard,
3122
+ # such as `*.example.com`. The value must be a hostname without a port.
3123
+ #
3124
+ # @option params [String] :name
3125
+ # An optional human-readable name for the VPC configuration. If you
3126
+ # don't specify a name, the VPC configuration has no name.
3127
+ #
3128
+ # @option params [String] :description
3129
+ # An optional description of the VPC configuration. If you don't
3130
+ # specify a description, the VPC configuration has no description.
3131
+ #
3132
+ # @return [Types::CreateVpcConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3133
+ #
3134
+ # * {Types::CreateVpcConfigurationResponse#vpc_configuration_id #vpc_configuration_id} => String
3135
+ # * {Types::CreateVpcConfigurationResponse#status #status} => String
3136
+ #
3137
+ # @example Request syntax with placeholder values
3138
+ #
3139
+ # resp = client.create_vpc_configuration({
3140
+ # knowledge_base_id: "Id", # required
3141
+ # client_token: "ClientToken",
3142
+ # vpc_id: "VpcId", # required
3143
+ # subnet_ids: ["SubnetId"], # required
3144
+ # resource_target: "ResourceTarget", # required
3145
+ # port: 1, # required
3146
+ # protocol: "HTTP", # required, accepts HTTP, HTTPS
3147
+ # resolution_mode: "PUBLIC", # required, accepts PUBLIC, IN_VPC
3148
+ # host_header: "HostHeader",
3149
+ # tls_server_name: "TlsServerName",
3150
+ # name: "VpcConfigurationName",
3151
+ # description: "VpcConfigurationDescription",
3152
+ # })
3153
+ #
3154
+ # @example Response structure
3155
+ #
3156
+ # resp.vpc_configuration_id #=> String
3157
+ # resp.status #=> String, one of "CREATING", "CREATED", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
3158
+ #
3159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateVpcConfiguration AWS API Documentation
3160
+ #
3161
+ # @overload create_vpc_configuration(params = {})
3162
+ # @param [Hash] params ({})
3163
+ def create_vpc_configuration(params = {}, options = {})
3164
+ req = build_request(:create_vpc_configuration, params)
3165
+ req.send_request(options)
3166
+ end
3167
+
3040
3168
  # Deletes an agent.
3041
3169
  #
3042
3170
  # @option params [required, String] :agent_id
@@ -3529,6 +3657,44 @@ module Aws::BedrockAgent
3529
3657
  req.send_request(options)
3530
3658
  end
3531
3659
 
3660
+ # Deletes a VPC configuration. This operation is asynchronous: it
3661
+ # returns status `DELETING`. Poll `GetVpcConfiguration` until it returns
3662
+ # a `ResourceNotFoundException`, indicating the configuration is
3663
+ # deleted. Delete requests are idempotent and safe to retry.
3664
+ #
3665
+ # @option params [required, String] :knowledge_base_id
3666
+ # The unique identifier of the knowledge base that owns the VPC
3667
+ # configuration.
3668
+ #
3669
+ # @option params [required, String] :vpc_configuration_id
3670
+ # The unique identifier of the VPC configuration to delete.
3671
+ #
3672
+ # @return [Types::DeleteVpcConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3673
+ #
3674
+ # * {Types::DeleteVpcConfigurationResponse#vpc_configuration_id #vpc_configuration_id} => String
3675
+ # * {Types::DeleteVpcConfigurationResponse#status #status} => String
3676
+ #
3677
+ # @example Request syntax with placeholder values
3678
+ #
3679
+ # resp = client.delete_vpc_configuration({
3680
+ # knowledge_base_id: "Id", # required
3681
+ # vpc_configuration_id: "VpcConfigurationId", # required
3682
+ # })
3683
+ #
3684
+ # @example Response structure
3685
+ #
3686
+ # resp.vpc_configuration_id #=> String
3687
+ # resp.status #=> String, one of "CREATING", "CREATED", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
3688
+ #
3689
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeleteVpcConfiguration AWS API Documentation
3690
+ #
3691
+ # @overload delete_vpc_configuration(params = {})
3692
+ # @param [Hash] params ({})
3693
+ def delete_vpc_configuration(params = {}, options = {})
3694
+ req = build_request(:delete_vpc_configuration, params)
3695
+ req.send_request(options)
3696
+ end
3697
+
3532
3698
  # Disassociates an agent collaborator.
3533
3699
  #
3534
3700
  # @option params [required, String] :agent_id
@@ -4512,6 +4678,7 @@ module Aws::BedrockAgent
4512
4678
  # resp.ingestion_job.failure_reasons[0] #=> String
4513
4679
  # resp.ingestion_job.started_at #=> Time
4514
4680
  # resp.ingestion_job.updated_at #=> Time
4681
+ # resp.ingestion_job.text_ready_at #=> Time
4515
4682
  #
4516
4683
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetIngestionJob AWS API Documentation
4517
4684
  #
@@ -4853,6 +5020,56 @@ module Aws::BedrockAgent
4853
5020
  req.send_request(options)
4854
5021
  end
4855
5022
 
5023
+ # Returns the details and current status of a single VPC configuration.
5024
+ # Use this operation to poll for the outcome of an asynchronous create
5025
+ # or delete.
5026
+ #
5027
+ # @option params [required, String] :knowledge_base_id
5028
+ # The unique identifier of the knowledge base that owns the VPC
5029
+ # configuration.
5030
+ #
5031
+ # @option params [required, String] :vpc_configuration_id
5032
+ # The unique identifier of the VPC configuration to retrieve.
5033
+ #
5034
+ # @return [Types::GetVpcConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5035
+ #
5036
+ # * {Types::GetVpcConfigurationResponse#vpc_configuration #vpc_configuration} => Types::VpcConfiguration
5037
+ #
5038
+ # @example Request syntax with placeholder values
5039
+ #
5040
+ # resp = client.get_vpc_configuration({
5041
+ # knowledge_base_id: "Id", # required
5042
+ # vpc_configuration_id: "VpcConfigurationId", # required
5043
+ # })
5044
+ #
5045
+ # @example Response structure
5046
+ #
5047
+ # resp.vpc_configuration.vpc_configuration_id #=> String
5048
+ # resp.vpc_configuration.status #=> String, one of "CREATING", "CREATED", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
5049
+ # resp.vpc_configuration.status_message #=> String
5050
+ # resp.vpc_configuration.vpc_id #=> String
5051
+ # resp.vpc_configuration.subnet_ids #=> Array
5052
+ # resp.vpc_configuration.subnet_ids[0] #=> String
5053
+ # resp.vpc_configuration.resource_target #=> String
5054
+ # resp.vpc_configuration.port #=> Integer
5055
+ # resp.vpc_configuration.protocol #=> String, one of "HTTP", "HTTPS"
5056
+ # resp.vpc_configuration.resolution_mode #=> String, one of "PUBLIC", "IN_VPC"
5057
+ # resp.vpc_configuration.host_header #=> String
5058
+ # resp.vpc_configuration.tls_server_name #=> String
5059
+ # resp.vpc_configuration.name #=> String
5060
+ # resp.vpc_configuration.description #=> String
5061
+ # resp.vpc_configuration.created_at #=> Time
5062
+ # resp.vpc_configuration.updated_at #=> Time
5063
+ #
5064
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetVpcConfiguration AWS API Documentation
5065
+ #
5066
+ # @overload get_vpc_configuration(params = {})
5067
+ # @param [Hash] params ({})
5068
+ def get_vpc_configuration(params = {}, options = {})
5069
+ req = build_request(:get_vpc_configuration, params)
5070
+ req.send_request(options)
5071
+ end
5072
+
4856
5073
  # Ingests documents directly into the knowledge base that is connected
4857
5074
  # to the data source. The `dataSourceType` specified in the content for
4858
5075
  # each document must match the type of the data source that you specify
@@ -5598,6 +5815,7 @@ module Aws::BedrockAgent
5598
5815
  # resp.ingestion_job_summaries[0].status #=> String, one of "STARTING", "IN_PROGRESS", "COMPLETE", "FAILED", "STOPPING", "STOPPED"
5599
5816
  # resp.ingestion_job_summaries[0].started_at #=> Time
5600
5817
  # resp.ingestion_job_summaries[0].updated_at #=> Time
5818
+ # resp.ingestion_job_summaries[0].text_ready_at #=> Time
5601
5819
  # resp.ingestion_job_summaries[0].statistics.number_of_documents_scanned #=> Integer
5602
5820
  # resp.ingestion_job_summaries[0].statistics.number_of_metadata_documents_scanned #=> Integer
5603
5821
  # resp.ingestion_job_summaries[0].statistics.number_of_new_documents_indexed #=> Integer
@@ -5823,6 +6041,69 @@ module Aws::BedrockAgent
5823
6041
  req.send_request(options)
5824
6042
  end
5825
6043
 
6044
+ # Returns a paginated list of the VPC configurations for a knowledge
6045
+ # base. You can optionally filter by status. Use the `nextToken`
6046
+ # parameter to retrieve additional results.
6047
+ #
6048
+ # @option params [required, String] :knowledge_base_id
6049
+ # The unique identifier of the knowledge base whose VPC configurations
6050
+ # you want to list.
6051
+ #
6052
+ # @option params [String] :status_filter
6053
+ # The status to filter the results by. Only VPC configurations with the
6054
+ # specified status are returned.
6055
+ #
6056
+ # @option params [Integer] :max_results
6057
+ # The maximum number of results to return in the response. If more
6058
+ # results are available, the response returns a `nextToken`.
6059
+ #
6060
+ # @option params [String] :next_token
6061
+ # A pagination token to retrieve the next page of results, returned in a
6062
+ # previous response when more results are available.
6063
+ #
6064
+ # @return [Types::ListVpcConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6065
+ #
6066
+ # * {Types::ListVpcConfigurationsResponse#items #items} => Array&lt;Types::VpcConfigurationSummary&gt;
6067
+ # * {Types::ListVpcConfigurationsResponse#next_token #next_token} => String
6068
+ #
6069
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6070
+ #
6071
+ # @example Request syntax with placeholder values
6072
+ #
6073
+ # resp = client.list_vpc_configurations({
6074
+ # knowledge_base_id: "Id", # required
6075
+ # status_filter: "CREATING", # accepts CREATING, CREATED, DELETING, CREATE_FAILED, DELETE_FAILED
6076
+ # max_results: 1,
6077
+ # next_token: "NextToken",
6078
+ # })
6079
+ #
6080
+ # @example Response structure
6081
+ #
6082
+ # resp.items #=> Array
6083
+ # resp.items[0].vpc_configuration_id #=> String
6084
+ # resp.items[0].status #=> String, one of "CREATING", "CREATED", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
6085
+ # resp.items[0].status_message #=> String
6086
+ # resp.items[0].vpc_id #=> String
6087
+ # resp.items[0].resource_target #=> String
6088
+ # resp.items[0].port #=> Integer
6089
+ # resp.items[0].protocol #=> String, one of "HTTP", "HTTPS"
6090
+ # resp.items[0].resolution_mode #=> String, one of "PUBLIC", "IN_VPC"
6091
+ # resp.items[0].host_header #=> String
6092
+ # resp.items[0].tls_server_name #=> String
6093
+ # resp.items[0].name #=> String
6094
+ # resp.items[0].description #=> String
6095
+ # resp.items[0].created_at #=> Time
6096
+ # resp.next_token #=> String
6097
+ #
6098
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListVpcConfigurations AWS API Documentation
6099
+ #
6100
+ # @overload list_vpc_configurations(params = {})
6101
+ # @param [Hash] params ({})
6102
+ def list_vpc_configurations(params = {}, options = {})
6103
+ req = build_request(:list_vpc_configurations, params)
6104
+ req.send_request(options)
6105
+ end
6106
+
5826
6107
  # Creates a `DRAFT` version of the agent that can be used for internal
5827
6108
  # testing.
5828
6109
  #
@@ -6007,6 +6288,7 @@ module Aws::BedrockAgent
6007
6288
  # resp.ingestion_job.failure_reasons[0] #=> String
6008
6289
  # resp.ingestion_job.started_at #=> Time
6009
6290
  # resp.ingestion_job.updated_at #=> Time
6291
+ # resp.ingestion_job.text_ready_at #=> Time
6010
6292
  #
6011
6293
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/StartIngestionJob AWS API Documentation
6012
6294
  #
@@ -6063,6 +6345,7 @@ module Aws::BedrockAgent
6063
6345
  # resp.ingestion_job.failure_reasons[0] #=> String
6064
6346
  # resp.ingestion_job.started_at #=> Time
6065
6347
  # resp.ingestion_job.updated_at #=> Time
6348
+ # resp.ingestion_job.text_ready_at #=> Time
6066
6349
  #
6067
6350
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/StopIngestionJob AWS API Documentation
6068
6351
  #
@@ -8537,7 +8820,7 @@ module Aws::BedrockAgent
8537
8820
  tracer: tracer
8538
8821
  )
8539
8822
  context[:gem_name] = 'aws-sdk-bedrockagent'
8540
- context[:gem_version] = '1.84.0'
8823
+ context[:gem_version] = '1.86.0'
8541
8824
  Seahorse::Client::Request.new(handlers, context)
8542
8825
  end
8543
8826