aws-sdk-bedrockagent 1.45.0 → 1.47.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: a5ba5f9eeeeb03eebe2f9d07b5dd6583b7f4193a125f137fa8bb6d9441410a73
4
- data.tar.gz: 8ff84745a2b5c8bc004d41cfceab3df471559c2914f79f2b106c59e3e2292d6f
3
+ metadata.gz: a6bb7b1ce2afdf7e73615615d8465e4488f71574dc9e720ea5fabfebd4ce78bc
4
+ data.tar.gz: 5802d539c6b7e8a62c72402da61fda264d1598d12212af9658d5ac25d7c01d5a
5
5
  SHA512:
6
- metadata.gz: e3d5be609ec5e24c7df4fca49d0f2abdf2c29107f7262f8bd8c801685928189aca452b4844aa1d97832918a76c8043735a2afc6e4c82a22a7fd6ea6a7a5afc44
7
- data.tar.gz: 4f7165f7255f41efe050d2142805a1b07e0afc98a563c05a527274722db3611a6f2e80273ef5a9d1873e5a7ab91cdfeaec3c7ba67518d5c8a02ce19b110193ec
6
+ metadata.gz: 45bce008c8d26b27f933014ddca992b8a4ea7594537b3c057a57ccd87f1d02b42335fc4e1de6f7c534e9aa591440bbef0559590bf920ea331fda36a3ddce68b5
7
+ data.tar.gz: aa7b37d639606b7da0051ad6784ad17c18092dbd700d35bbeb53b52245a020c365235ae839366de645d588a3165740ee3477417ac10508fda1706aceb2d3bcdc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.46.0 (2025-02-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.45.0 (2025-02-12)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.47.0
@@ -7,34 +7,34 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
- require 'seahorse/client/plugins/content_length.rb'
11
- require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
- require 'aws-sdk-core/plugins/logging.rb'
13
- require 'aws-sdk-core/plugins/param_converter.rb'
14
- require 'aws-sdk-core/plugins/param_validator.rb'
15
- require 'aws-sdk-core/plugins/user_agent.rb'
16
- require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
- require 'aws-sdk-core/plugins/retry_errors.rb'
18
- require 'aws-sdk-core/plugins/global_configuration.rb'
19
- require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
- require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
- require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
- require 'aws-sdk-core/plugins/response_paging.rb'
23
- require 'aws-sdk-core/plugins/stub_responses.rb'
24
- require 'aws-sdk-core/plugins/idempotency_token.rb'
25
- require 'aws-sdk-core/plugins/invocation_id.rb'
26
- require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
27
- require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
28
- require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
29
- require 'aws-sdk-core/plugins/transfer_encoding.rb'
30
- require 'aws-sdk-core/plugins/http_checksum.rb'
31
- require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
- require 'aws-sdk-core/plugins/request_compression.rb'
33
- require 'aws-sdk-core/plugins/defaults_mode.rb'
34
- require 'aws-sdk-core/plugins/recursion_detection.rb'
35
- require 'aws-sdk-core/plugins/telemetry.rb'
36
- require 'aws-sdk-core/plugins/sign.rb'
37
- require 'aws-sdk-core/plugins/protocols/rest_json.rb'
10
+ require 'seahorse/client/plugins/content_length'
11
+ require 'aws-sdk-core/plugins/credentials_configuration'
12
+ require 'aws-sdk-core/plugins/logging'
13
+ require 'aws-sdk-core/plugins/param_converter'
14
+ require 'aws-sdk-core/plugins/param_validator'
15
+ require 'aws-sdk-core/plugins/user_agent'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors'
17
+ require 'aws-sdk-core/plugins/retry_errors'
18
+ require 'aws-sdk-core/plugins/global_configuration'
19
+ require 'aws-sdk-core/plugins/regional_endpoint'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern'
22
+ require 'aws-sdk-core/plugins/response_paging'
23
+ require 'aws-sdk-core/plugins/stub_responses'
24
+ require 'aws-sdk-core/plugins/idempotency_token'
25
+ require 'aws-sdk-core/plugins/invocation_id'
26
+ require 'aws-sdk-core/plugins/jsonvalue_converter'
27
+ require 'aws-sdk-core/plugins/client_metrics_plugin'
28
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin'
29
+ require 'aws-sdk-core/plugins/transfer_encoding'
30
+ require 'aws-sdk-core/plugins/http_checksum'
31
+ require 'aws-sdk-core/plugins/checksum_algorithm'
32
+ require 'aws-sdk-core/plugins/request_compression'
33
+ require 'aws-sdk-core/plugins/defaults_mode'
34
+ require 'aws-sdk-core/plugins/recursion_detection'
35
+ require 'aws-sdk-core/plugins/telemetry'
36
+ require 'aws-sdk-core/plugins/sign'
37
+ require 'aws-sdk-core/plugins/protocols/rest_json'
38
38
 
39
39
  module Aws::BedrockAgent
40
40
  # An API client for BedrockAgent. To construct a client, you need to configure a `:region` and `:credentials`.
@@ -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.45.0'
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 or [inference profile][1] used to
1235
- # parse documents for a data source.
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 or [inference profile][1] to use for
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 or inference profile
10632
- # used to create vector embeddings for the knowledge base.
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
- # A string used for identifying the crawler or a bot when it accesses
10697
- # a web server. By default, this is set to `bedrockbot_UUID` for your
10698
- # crawler. You can optionally append a custom string to
10699
- # `bedrockbot_UUID` to allowlist a specific user agent permitted to
10700
- # access your source URLs.
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
- SENSITIVE = [:exclusion_filters, :inclusion_filters, :user_agent]
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
 
@@ -54,7 +54,7 @@ module Aws::BedrockAgent
54
54
  autoload :EndpointProvider, 'aws-sdk-bedrockagent/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-bedrockagent/endpoints'
56
56
 
57
- GEM_VERSION = '1.45.0'
57
+ GEM_VERSION = '1.47.0'
58
58
 
59
59
  end
60
60
 
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
- SENSITIVE: [:exclusion_filters, :inclusion_filters, :user_agent]
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.45.0
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-12 00:00:00.000000000 Z
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