aws-sdk-kendraranking 1.24.0 → 1.26.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: 813e6662e122bfd31620b6b2790e6abce0e80656f4b586dc039274a222ad696e
4
- data.tar.gz: 52f7ebb6be661c6a31917bb7a831a8e9c98c14c36a7921ac32156daecf294a7c
3
+ metadata.gz: 9978680cd995f704ddbb4b8ba42d2d2537b2cf6ef886043af288fd9c8ad45ed3
4
+ data.tar.gz: 9589b85024af28a8fd5cca1927de043a2223ebd6ad5320172654da2941418a4f
5
5
  SHA512:
6
- metadata.gz: d0c11bb994806138536e6f13fe36e9f98b9911c719de70a900abf74e12e7b5da46af61e26ecc0eaeef533cb0d33e92e52918cd635aee8417910c4e9199540002
7
- data.tar.gz: 6fbc5ffef1e3ea1aa1ff41321b088a712e50e5a86ecad1cea3727b18e778f0f1f134ec5f306392abbf8bbe7b7bab35fe6043012e9d89dae59a6c594f602bd0b4
6
+ metadata.gz: 3785c4ccca420097da8679ecca2462e13651c6b7d9be3dd3c94cceb733d2b697107ac6f436dd2db535139bce0fec7195478dc554f54e53e845ed91ee8307dc65
7
+ data.tar.gz: 55d03fa94068ab34b776ef407a6c213daf92123b79fda7d8d1c5233b54d0cd0fe4e786a0bd5d1b5091345300b759da251c9ea5352c83358e3b3c2b932edf0619
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.25.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.24.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.0
1
+ 1.26.0
@@ -257,11 +257,34 @@ module Aws::KendraRanking
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -873,7 +896,7 @@ module Aws::KendraRanking
873
896
  tracer: tracer
874
897
  )
875
898
  context[:gem_name] = 'aws-sdk-kendraranking'
876
- context[:gem_version] = '1.24.0'
899
+ context[:gem_version] = '1.26.0'
877
900
  Seahorse::Client::Request.new(handlers, context)
878
901
  end
879
902
 
@@ -45,10 +45,15 @@ module Aws::KendraRanking
45
45
  self[:region] = options[:region]
46
46
  self[:use_fips] = options[:use_fips]
47
47
  self[:use_fips] = false if self[:use_fips].nil?
48
- if self[:use_fips].nil?
49
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
50
- end
51
48
  self[:endpoint] = options[:endpoint]
52
49
  end
50
+
51
+ def self.create(config, options={})
52
+ new({
53
+ region: config.region,
54
+ use_fips: config.use_fips_endpoint,
55
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
56
+ }.merge(options))
57
+ end
53
58
  end
54
59
  end
@@ -12,95 +12,9 @@ module Aws::KendraRanking
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class CreateRescoreExecutionPlan
16
- def self.build(context)
17
- Aws::KendraRanking::EndpointParameters.new(
18
- region: context.config.region,
19
- use_fips: context.config.use_fips_endpoint,
20
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
21
- )
22
- end
23
- end
24
-
25
- class DeleteRescoreExecutionPlan
26
- def self.build(context)
27
- Aws::KendraRanking::EndpointParameters.new(
28
- region: context.config.region,
29
- use_fips: context.config.use_fips_endpoint,
30
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
31
- )
32
- end
33
- end
34
-
35
- class DescribeRescoreExecutionPlan
36
- def self.build(context)
37
- Aws::KendraRanking::EndpointParameters.new(
38
- region: context.config.region,
39
- use_fips: context.config.use_fips_endpoint,
40
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
41
- )
42
- end
43
- end
44
-
45
- class ListRescoreExecutionPlans
46
- def self.build(context)
47
- Aws::KendraRanking::EndpointParameters.new(
48
- region: context.config.region,
49
- use_fips: context.config.use_fips_endpoint,
50
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
51
- )
52
- end
53
- end
54
-
55
- class ListTagsForResource
56
- def self.build(context)
57
- Aws::KendraRanking::EndpointParameters.new(
58
- region: context.config.region,
59
- use_fips: context.config.use_fips_endpoint,
60
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
61
- )
62
- end
63
- end
64
-
65
- class Rescore
66
- def self.build(context)
67
- Aws::KendraRanking::EndpointParameters.new(
68
- region: context.config.region,
69
- use_fips: context.config.use_fips_endpoint,
70
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
71
- )
72
- end
73
- end
74
-
75
- class TagResource
76
- def self.build(context)
77
- Aws::KendraRanking::EndpointParameters.new(
78
- region: context.config.region,
79
- use_fips: context.config.use_fips_endpoint,
80
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
81
- )
82
- end
83
- end
84
-
85
- class UntagResource
86
- def self.build(context)
87
- Aws::KendraRanking::EndpointParameters.new(
88
- region: context.config.region,
89
- use_fips: context.config.use_fips_endpoint,
90
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
91
- )
92
- end
93
- end
94
15
 
95
- class UpdateRescoreExecutionPlan
96
- def self.build(context)
97
- Aws::KendraRanking::EndpointParameters.new(
98
- region: context.config.region,
99
- use_fips: context.config.use_fips_endpoint,
100
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
101
- )
102
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::KendraRanking::EndpointParameters.create(context.config)
103
18
  end
104
-
105
19
  end
106
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::KendraRanking::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,29 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :create_rescore_execution_plan
74
- Aws::KendraRanking::Endpoints::CreateRescoreExecutionPlan.build(context)
75
- when :delete_rescore_execution_plan
76
- Aws::KendraRanking::Endpoints::DeleteRescoreExecutionPlan.build(context)
77
- when :describe_rescore_execution_plan
78
- Aws::KendraRanking::Endpoints::DescribeRescoreExecutionPlan.build(context)
79
- when :list_rescore_execution_plans
80
- Aws::KendraRanking::Endpoints::ListRescoreExecutionPlans.build(context)
81
- when :list_tags_for_resource
82
- Aws::KendraRanking::Endpoints::ListTagsForResource.build(context)
83
- when :rescore
84
- Aws::KendraRanking::Endpoints::Rescore.build(context)
85
- when :tag_resource
86
- Aws::KendraRanking::Endpoints::TagResource.build(context)
87
- when :untag_resource
88
- Aws::KendraRanking::Endpoints::UntagResource.build(context)
89
- when :update_rescore_execution_plan
90
- Aws::KendraRanking::Endpoints::UpdateRescoreExecutionPlan.build(context)
91
- end
92
- end
93
70
  end
94
71
 
95
72
  def add_handlers(handlers, _config)
@@ -54,7 +54,7 @@ module Aws::KendraRanking
54
54
  autoload :EndpointProvider, 'aws-sdk-kendraranking/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-kendraranking/endpoints'
56
56
 
57
- GEM_VERSION = '1.24.0'
57
+ GEM_VERSION = '1.26.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kendraranking
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.24.0
4
+ version: 1.26.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: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2025-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement