aws-sdk-cloudfrontkeyvaluestore 1.15.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 349cb1acc970ca3c8e378f377282e4a3167a5a01d280cef0988ecdaaaa34110d
4
- data.tar.gz: f3de99f067231533308c42845d2ef1cb1b678b9333fbdb38d69940688b8aee75
3
+ metadata.gz: cfb28e53f2bf4289f4af9516d5028bf41dc7fa93cef43b20e37b29f5000d4d4b
4
+ data.tar.gz: fd9f0ee2e1c696f994b50cea413915ce16ee4b0a56006fe27a5b010a1850322d
5
5
  SHA512:
6
- metadata.gz: be3acdf9683469da24264c51ed5837e3ffe7e663b9ebc146844c7503182c83df8ccd7e0e62dab05c7444818a66c4e74e780cf8976e026af7f1ed8fac7c1f5e7c
7
- data.tar.gz: d5bb9944007a97ee594d75b2102230bc51861d83d062581817918d6c9653c59fc275aa4f117ecbb7a3a7d8206151eabb37145ae49beb7f5590c2ad4a8c4af88a
6
+ metadata.gz: 95e1b932d2c19ac21cea7679020aa0651b38df69d181c2c4e62073d96be8089c188bfe7cb9996a60466924775473f3b88bc4fe048473ceaaafb01f46b33ca637
7
+ data.tar.gz: e97ffca2594034b8b5ed304e90c5180ba6e3bb15c37f72e36c0e888c0e976b9497f5345568b6a79f94bedab5f22f0e0fc508bbceeab1a1509a509a7f7c5ed89f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.17.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.16.0 (2024-09-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.15.0 (2024-09-23)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.17.0
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
36
36
  require 'aws-sdk-core/plugins/sign.rb'
37
37
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
38
38
 
39
- Aws::Plugins::GlobalConfiguration.add_identifier(:cloudfrontkeyvaluestore)
40
-
41
39
  module Aws::CloudFrontKeyValueStore
42
40
  # An API client for CloudFrontKeyValueStore. To construct a client, you need to configure a `:region` and `:credentials`.
43
41
  #
@@ -733,7 +731,7 @@ module Aws::CloudFrontKeyValueStore
733
731
  tracer: tracer
734
732
  )
735
733
  context[:gem_name] = 'aws-sdk-cloudfrontkeyvaluestore'
736
- context[:gem_version] = '1.15.0'
734
+ context[:gem_version] = '1.17.0'
737
735
  Seahorse::Client::Request.new(handlers, context)
738
736
  end
739
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.new(
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.new(
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.new(
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.new(
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.new(
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.new(
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)
@@ -11,6 +11,8 @@
11
11
  require 'aws-sdk-core'
12
12
  require 'aws-sigv4'
13
13
 
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:cloudfrontkeyvaluestore)
15
+
14
16
  # This module provides support for Amazon CloudFront KeyValueStore. This module is available in the
15
17
  # `aws-sdk-cloudfrontkeyvaluestore` gem.
16
18
  #
@@ -52,7 +54,7 @@ module Aws::CloudFrontKeyValueStore
52
54
  autoload :EndpointProvider, 'aws-sdk-cloudfrontkeyvaluestore/endpoint_provider'
53
55
  autoload :Endpoints, 'aws-sdk-cloudfrontkeyvaluestore/endpoints'
54
56
 
55
- GEM_VERSION = '1.15.0'
57
+ GEM_VERSION = '1.17.0'
56
58
 
57
59
  end
58
60
 
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.15.0
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-09-23 00:00:00.000000000 Z
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.207.0
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.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement