aws-sdk-bedrockagent 1.46.0 → 1.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +6 -1
- data/lib/aws-sdk-bedrockagent/client_api.rb +2 -0
- data/lib/aws-sdk-bedrockagent/types.rb +18 -21
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +2 -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: a6bb7b1ce2afdf7e73615615d8465e4488f71574dc9e720ea5fabfebd4ce78bc
|
4
|
+
data.tar.gz: 5802d539c6b7e8a62c72402da61fda264d1598d12212af9658d5ac25d7c01d5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45bce008c8d26b27f933014ddca992b8a4ea7594537b3c057a57ccd87f1d02b42335fc4e1de6f7c534e9aa591440bbef0559590bf920ea331fda36a3ddce68b5
|
7
|
+
data.tar.gz: aa7b37d639606b7da0051ad6784ad17c18092dbd700d35bbeb53b52245a020c365235ae839366de645d588a3165740ee3477417ac10508fda1706aceb2d3bcdc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.47.0 (2025-02-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Introduce a new parameter which represents the user-agent header value used by the Bedrock Knowledge Base Web Connector.
|
8
|
+
|
4
9
|
1.46.0 (2025-02-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
@@ -1261,6 +1261,7 @@ module Aws::BedrockAgent
|
|
1261
1261
|
# inclusion_filters: ["FilterPattern"],
|
1262
1262
|
# scope: "HOST_ONLY", # accepts HOST_ONLY, SUBDOMAINS
|
1263
1263
|
# user_agent: "UserAgent",
|
1264
|
+
# user_agent_header: "UserAgentHeader",
|
1264
1265
|
# },
|
1265
1266
|
# source_configuration: { # required
|
1266
1267
|
# url_configuration: { # required
|
@@ -1385,6 +1386,7 @@ module Aws::BedrockAgent
|
|
1385
1386
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters[0] #=> String
|
1386
1387
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.scope #=> String, one of "HOST_ONLY", "SUBDOMAINS"
|
1387
1388
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.user_agent #=> String
|
1389
|
+
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.user_agent_header #=> String
|
1388
1390
|
# resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls #=> Array
|
1389
1391
|
# resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls[0].url #=> String
|
1390
1392
|
# resp.data_source.data_source_id #=> String
|
@@ -3577,6 +3579,7 @@ module Aws::BedrockAgent
|
|
3577
3579
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters[0] #=> String
|
3578
3580
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.scope #=> String, one of "HOST_ONLY", "SUBDOMAINS"
|
3579
3581
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.user_agent #=> String
|
3582
|
+
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.user_agent_header #=> String
|
3580
3583
|
# resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls #=> Array
|
3581
3584
|
# resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls[0].url #=> String
|
3582
3585
|
# resp.data_source.data_source_id #=> String
|
@@ -6129,6 +6132,7 @@ module Aws::BedrockAgent
|
|
6129
6132
|
# inclusion_filters: ["FilterPattern"],
|
6130
6133
|
# scope: "HOST_ONLY", # accepts HOST_ONLY, SUBDOMAINS
|
6131
6134
|
# user_agent: "UserAgent",
|
6135
|
+
# user_agent_header: "UserAgentHeader",
|
6132
6136
|
# },
|
6133
6137
|
# source_configuration: { # required
|
6134
6138
|
# url_configuration: { # required
|
@@ -6254,6 +6258,7 @@ module Aws::BedrockAgent
|
|
6254
6258
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.inclusion_filters[0] #=> String
|
6255
6259
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.scope #=> String, one of "HOST_ONLY", "SUBDOMAINS"
|
6256
6260
|
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.user_agent #=> String
|
6261
|
+
# resp.data_source.data_source_configuration.web_configuration.crawler_configuration.user_agent_header #=> String
|
6257
6262
|
# resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls #=> Array
|
6258
6263
|
# resp.data_source.data_source_configuration.web_configuration.source_configuration.url_configuration.seed_urls[0].url #=> String
|
6259
6264
|
# resp.data_source.data_source_id #=> String
|
@@ -7443,7 +7448,7 @@ module Aws::BedrockAgent
|
|
7443
7448
|
tracer: tracer
|
7444
7449
|
)
|
7445
7450
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
7446
|
-
context[:gem_version] = '1.
|
7451
|
+
context[:gem_version] = '1.47.0'
|
7447
7452
|
Seahorse::Client::Request.new(handlers, context)
|
7448
7453
|
end
|
7449
7454
|
|
@@ -618,6 +618,7 @@ module Aws::BedrockAgent
|
|
618
618
|
Url = Shapes::StringShape.new(name: 'Url')
|
619
619
|
UrlConfiguration = Shapes::StructureShape.new(name: 'UrlConfiguration')
|
620
620
|
UserAgent = Shapes::StringShape.new(name: 'UserAgent')
|
621
|
+
UserAgentHeader = Shapes::StringShape.new(name: 'UserAgentHeader')
|
621
622
|
ValidateFlowDefinitionRequest = Shapes::StructureShape.new(name: 'ValidateFlowDefinitionRequest')
|
622
623
|
ValidateFlowDefinitionResponse = Shapes::StructureShape.new(name: 'ValidateFlowDefinitionResponse')
|
623
624
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
@@ -2705,6 +2706,7 @@ module Aws::BedrockAgent
|
|
2705
2706
|
WebCrawlerConfiguration.add_member(:inclusion_filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "inclusionFilters"))
|
2706
2707
|
WebCrawlerConfiguration.add_member(:scope, Shapes::ShapeRef.new(shape: WebScopeType, location_name: "scope"))
|
2707
2708
|
WebCrawlerConfiguration.add_member(:user_agent, Shapes::ShapeRef.new(shape: UserAgent, location_name: "userAgent"))
|
2709
|
+
WebCrawlerConfiguration.add_member(:user_agent_header, Shapes::ShapeRef.new(shape: UserAgentHeader, location_name: "userAgentHeader"))
|
2708
2710
|
WebCrawlerConfiguration.struct_class = Types::WebCrawlerConfiguration
|
2709
2711
|
|
2710
2712
|
WebCrawlerLimits.add_member(:max_pages, Shapes::ShapeRef.new(shape: WebCrawlerLimitsMaxPagesInteger, location_name: "maxPages"))
|
@@ -1231,20 +1231,11 @@ module Aws::BedrockAgent
|
|
1231
1231
|
include Aws::Structure
|
1232
1232
|
end
|
1233
1233
|
|
1234
|
-
# Settings for a foundation model
|
1235
|
-
#
|
1236
|
-
#
|
1237
|
-
#
|
1238
|
-
#
|
1239
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
|
1234
|
+
# Settings for a foundation model used to parse documents for a data
|
1235
|
+
# source.
|
1240
1236
|
#
|
1241
1237
|
# @!attribute [rw] model_arn
|
1242
|
-
# The ARN of the foundation model
|
1243
|
-
# parsing.
|
1244
|
-
#
|
1245
|
-
#
|
1246
|
-
#
|
1247
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
|
1238
|
+
# The ARN of the foundation model to use for parsing.
|
1248
1239
|
# @return [String]
|
1249
1240
|
#
|
1250
1241
|
# @!attribute [rw] parsing_modality
|
@@ -10628,8 +10619,8 @@ module Aws::BedrockAgent
|
|
10628
10619
|
# the knowledge base.
|
10629
10620
|
#
|
10630
10621
|
# @!attribute [rw] embedding_model_arn
|
10631
|
-
# The Amazon Resource Name (ARN) of the model
|
10632
|
-
#
|
10622
|
+
# The Amazon Resource Name (ARN) of the model used to create vector
|
10623
|
+
# embeddings for the knowledge base.
|
10633
10624
|
# @return [String]
|
10634
10625
|
#
|
10635
10626
|
# @!attribute [rw] embedding_model_configuration
|
@@ -10693,11 +10684,16 @@ module Aws::BedrockAgent
|
|
10693
10684
|
# @return [String]
|
10694
10685
|
#
|
10695
10686
|
# @!attribute [rw] user_agent
|
10696
|
-
#
|
10697
|
-
#
|
10698
|
-
#
|
10699
|
-
#
|
10700
|
-
#
|
10687
|
+
# Returns the user agent suffix for your web crawler.
|
10688
|
+
# @return [String]
|
10689
|
+
#
|
10690
|
+
# @!attribute [rw] user_agent_header
|
10691
|
+
# A string used for identifying the crawler or bot when it accesses a
|
10692
|
+
# web server. The user agent header value consists of the
|
10693
|
+
# `bedrockbot`, UUID, and a user agent suffix for your crawler (if one
|
10694
|
+
# is provided). By default, it is set to `bedrockbot_UUID`. You can
|
10695
|
+
# optionally append a custom suffix to `bedrockbot_UUID` to allowlist
|
10696
|
+
# a specific user agent permitted to access your source URLs.
|
10701
10697
|
# @return [String]
|
10702
10698
|
#
|
10703
10699
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/WebCrawlerConfiguration AWS API Documentation
|
@@ -10707,8 +10703,9 @@ module Aws::BedrockAgent
|
|
10707
10703
|
:exclusion_filters,
|
10708
10704
|
:inclusion_filters,
|
10709
10705
|
:scope,
|
10710
|
-
:user_agent
|
10711
|
-
|
10706
|
+
:user_agent,
|
10707
|
+
:user_agent_header)
|
10708
|
+
SENSITIVE = [:exclusion_filters, :inclusion_filters, :user_agent, :user_agent_header]
|
10712
10709
|
include Aws::Structure
|
10713
10710
|
end
|
10714
10711
|
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -319,7 +319,8 @@ module Aws
|
|
319
319
|
exclusion_filters: Array[::String]?,
|
320
320
|
inclusion_filters: Array[::String]?,
|
321
321
|
scope: ("HOST_ONLY" | "SUBDOMAINS")?,
|
322
|
-
user_agent: ::String
|
322
|
+
user_agent: ::String?,
|
323
|
+
user_agent_header: ::String?
|
323
324
|
}?,
|
324
325
|
source_configuration: {
|
325
326
|
url_configuration: {
|
@@ -1886,7 +1887,8 @@ module Aws
|
|
1886
1887
|
exclusion_filters: Array[::String]?,
|
1887
1888
|
inclusion_filters: Array[::String]?,
|
1888
1889
|
scope: ("HOST_ONLY" | "SUBDOMAINS")?,
|
1889
|
-
user_agent: ::String
|
1890
|
+
user_agent: ::String?,
|
1891
|
+
user_agent_header: ::String?
|
1890
1892
|
}?,
|
1891
1893
|
source_configuration: {
|
1892
1894
|
url_configuration: {
|
data/sig/types.rbs
CHANGED
@@ -2756,7 +2756,8 @@ module Aws::BedrockAgent
|
|
2756
2756
|
attr_accessor inclusion_filters: ::Array[::String]
|
2757
2757
|
attr_accessor scope: ("HOST_ONLY" | "SUBDOMAINS")
|
2758
2758
|
attr_accessor user_agent: ::String
|
2759
|
-
|
2759
|
+
attr_accessor user_agent_header: ::String
|
2760
|
+
SENSITIVE: [:exclusion_filters, :inclusion_filters, :user_agent, :user_agent_header]
|
2760
2761
|
end
|
2761
2762
|
|
2762
2763
|
class WebCrawlerLimits
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bedrockagent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.47.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|