aws-sdk-cloudfrontkeyvaluestore 1.16.0 → 1.17.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb +1 -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
- 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: cfb28e53f2bf4289f4af9516d5028bf41dc7fa93cef43b20e37b29f5000d4d4b
|
4
|
+
data.tar.gz: fd9f0ee2e1c696f994b50cea413915ce16ee4b0a56006fe27a5b010a1850322d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95e1b932d2c19ac21cea7679020aa0651b38df69d181c2c4e62073d96be8089c188bfe7cb9996a60466924775473f3b88bc4fe048473ceaaafb01f46b33ca637
|
7
|
+
data.tar.gz: e97ffca2594034b8b5ed304e90c5180ba6e3bb15c37f72e36c0e888c0e976b9497f5345568b6a79f94bedab5f22f0e0fc508bbceeab1a1509a509a7f7c5ed89f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.17.0
|
@@ -731,7 +731,7 @@ module Aws::CloudFrontKeyValueStore
|
|
731
731
|
tracer: tracer
|
732
732
|
)
|
733
733
|
context[:gem_name] = 'aws-sdk-cloudfrontkeyvaluestore'
|
734
|
-
context[:gem_version] = '1.
|
734
|
+
context[:gem_version] = '1.17.0'
|
735
735
|
Seahorse::Client::Request.new(handlers, context)
|
736
736
|
end
|
737
737
|
|
@@ -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)
|
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.17.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-
|
11
|
+
date: 2024-10-18 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.210.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.210.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|