aws-sdk-cloudfrontkeyvaluestore 1.16.0 → 1.18.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb +24 -1
- data/lib/aws-sdk-cloudfrontkeyvaluestore/endpoint_parameters.rb +8 -3
- data/lib/aws-sdk-cloudfrontkeyvaluestore/endpoints.rb +31 -24
- data/lib/aws-sdk-cloudfrontkeyvaluestore/plugins/endpoints.rb +1 -18
- data/lib/aws-sdk-cloudfrontkeyvaluestore.rb +1 -1
- data/sig/client.rbs +2 -0
- data/sig/resource.rbs +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad4f90e3272918bcdc9e683f04e04ef691847684912a921f58ba208d13023d20
|
4
|
+
data.tar.gz: b485d518e2b8bceb7f3dd35e35eb2bfcf83af8f18e8589dfa0cb61a81b5e9863
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4350111f407cb4271bc95d88facf29ae4d778a8ab8b1a6a081941d6bd7dfae58b004c89731ae7ae0c7e3f375da953d8079501a157633c19c0d233f68e31fadef
|
7
|
+
data.tar.gz: 523fc08a18db6d61e54b25846e518887f690644166a17aaeb02e68776cd598fa9cb9042ff36b6449ac8232e9bb9a80cd7ce0eb8f60cc7192e9a0a3266a3e8fba
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.18.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.17.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.16.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.18.0
|
@@ -257,11 +257,34 @@ module Aws::CloudFrontKeyValueStore
|
|
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.
|
@@ -731,7 +754,7 @@ module Aws::CloudFrontKeyValueStore
|
|
731
754
|
tracer: tracer
|
732
755
|
)
|
733
756
|
context[:gem_name] = 'aws-sdk-cloudfrontkeyvaluestore'
|
734
|
-
context[:gem_version] = '1.
|
757
|
+
context[:gem_version] = '1.18.0'
|
735
758
|
Seahorse::Client::Request.new(handlers, context)
|
736
759
|
end
|
737
760
|
|
@@ -53,10 +53,15 @@ module Aws::CloudFrontKeyValueStore
|
|
53
53
|
self[:region] = options[:region]
|
54
54
|
self[:use_fips] = options[:use_fips]
|
55
55
|
self[:use_fips] = false if self[:use_fips].nil?
|
56
|
-
if self[:use_fips].nil?
|
57
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
58
|
-
end
|
59
56
|
self[:endpoint] = options[:endpoint]
|
60
57
|
end
|
58
|
+
|
59
|
+
def self.create(config, options={})
|
60
|
+
new({
|
61
|
+
region: config.region,
|
62
|
+
use_fips: config.use_fips_endpoint,
|
63
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
64
|
+
}.merge(options))
|
65
|
+
end
|
61
66
|
end
|
62
67
|
end
|
@@ -14,69 +14,76 @@ module Aws::CloudFrontKeyValueStore
|
|
14
14
|
|
15
15
|
class DeleteKey
|
16
16
|
def self.build(context)
|
17
|
-
Aws::CloudFrontKeyValueStore::EndpointParameters.
|
17
|
+
Aws::CloudFrontKeyValueStore::EndpointParameters.create(
|
18
|
+
context.config,
|
18
19
|
kvs_arn: context.params[:kvs_arn],
|
19
|
-
region: context.config.region,
|
20
|
-
use_fips: context.config.use_fips_endpoint,
|
21
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
22
20
|
)
|
23
21
|
end
|
24
22
|
end
|
25
23
|
|
26
24
|
class DescribeKeyValueStore
|
27
25
|
def self.build(context)
|
28
|
-
Aws::CloudFrontKeyValueStore::EndpointParameters.
|
26
|
+
Aws::CloudFrontKeyValueStore::EndpointParameters.create(
|
27
|
+
context.config,
|
29
28
|
kvs_arn: context.params[:kvs_arn],
|
30
|
-
region: context.config.region,
|
31
|
-
use_fips: context.config.use_fips_endpoint,
|
32
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
33
29
|
)
|
34
30
|
end
|
35
31
|
end
|
36
32
|
|
37
33
|
class GetKey
|
38
34
|
def self.build(context)
|
39
|
-
Aws::CloudFrontKeyValueStore::EndpointParameters.
|
35
|
+
Aws::CloudFrontKeyValueStore::EndpointParameters.create(
|
36
|
+
context.config,
|
40
37
|
kvs_arn: context.params[:kvs_arn],
|
41
|
-
region: context.config.region,
|
42
|
-
use_fips: context.config.use_fips_endpoint,
|
43
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
44
38
|
)
|
45
39
|
end
|
46
40
|
end
|
47
41
|
|
48
42
|
class ListKeys
|
49
43
|
def self.build(context)
|
50
|
-
Aws::CloudFrontKeyValueStore::EndpointParameters.
|
44
|
+
Aws::CloudFrontKeyValueStore::EndpointParameters.create(
|
45
|
+
context.config,
|
51
46
|
kvs_arn: context.params[:kvs_arn],
|
52
|
-
region: context.config.region,
|
53
|
-
use_fips: context.config.use_fips_endpoint,
|
54
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
55
47
|
)
|
56
48
|
end
|
57
49
|
end
|
58
50
|
|
59
51
|
class PutKey
|
60
52
|
def self.build(context)
|
61
|
-
Aws::CloudFrontKeyValueStore::EndpointParameters.
|
53
|
+
Aws::CloudFrontKeyValueStore::EndpointParameters.create(
|
54
|
+
context.config,
|
62
55
|
kvs_arn: context.params[:kvs_arn],
|
63
|
-
region: context.config.region,
|
64
|
-
use_fips: context.config.use_fips_endpoint,
|
65
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
66
56
|
)
|
67
57
|
end
|
68
58
|
end
|
69
59
|
|
70
60
|
class UpdateKeys
|
71
61
|
def self.build(context)
|
72
|
-
Aws::CloudFrontKeyValueStore::EndpointParameters.
|
62
|
+
Aws::CloudFrontKeyValueStore::EndpointParameters.create(
|
63
|
+
context.config,
|
73
64
|
kvs_arn: context.params[:kvs_arn],
|
74
|
-
region: context.config.region,
|
75
|
-
use_fips: context.config.use_fips_endpoint,
|
76
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
77
65
|
)
|
78
66
|
end
|
79
67
|
end
|
80
68
|
|
69
|
+
|
70
|
+
def self.parameters_for_operation(context)
|
71
|
+
case context.operation_name
|
72
|
+
when :delete_key
|
73
|
+
DeleteKey.build(context)
|
74
|
+
when :describe_key_value_store
|
75
|
+
DescribeKeyValueStore.build(context)
|
76
|
+
when :get_key
|
77
|
+
GetKey.build(context)
|
78
|
+
when :list_keys
|
79
|
+
ListKeys.build(context)
|
80
|
+
when :put_key
|
81
|
+
PutKey.build(context)
|
82
|
+
when :update_keys
|
83
|
+
UpdateKeys.build(context)
|
84
|
+
else
|
85
|
+
Aws::CloudFrontKeyValueStore::EndpointParameters.create(context.config)
|
86
|
+
end
|
87
|
+
end
|
81
88
|
end
|
82
89
|
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::CloudFrontKeyValueStore::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,23 +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 :delete_key
|
74
|
-
Aws::CloudFrontKeyValueStore::Endpoints::DeleteKey.build(context)
|
75
|
-
when :describe_key_value_store
|
76
|
-
Aws::CloudFrontKeyValueStore::Endpoints::DescribeKeyValueStore.build(context)
|
77
|
-
when :get_key
|
78
|
-
Aws::CloudFrontKeyValueStore::Endpoints::GetKey.build(context)
|
79
|
-
when :list_keys
|
80
|
-
Aws::CloudFrontKeyValueStore::Endpoints::ListKeys.build(context)
|
81
|
-
when :put_key
|
82
|
-
Aws::CloudFrontKeyValueStore::Endpoints::PutKey.build(context)
|
83
|
-
when :update_keys
|
84
|
-
Aws::CloudFrontKeyValueStore::Endpoints::UpdateKeys.build(context)
|
85
|
-
end
|
86
|
-
end
|
87
70
|
end
|
88
71
|
|
89
72
|
def add_handlers(handlers, _config)
|
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-cloudfrontkeyvaluestore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.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:
|
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.
|
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.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|