aws-sdk-dax 1.39.0 → 1.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-dax/client.rb +20 -3
- data/lib/aws-sdk-dax/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-dax/endpoint_provider.rb +51 -0
- data/lib/aws-sdk-dax/endpoints.rb +309 -0
- data/lib/aws-sdk-dax/plugins/endpoints.rb +110 -0
- data/lib/aws-sdk-dax/types.rb +0 -237
- data/lib/aws-sdk-dax.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f3456762f6070b33ac5fed5481c64748074b4c6412c2aee04faca726f634df3
|
4
|
+
data.tar.gz: dd5befa1426f6e21d447a337eeccc93dc93bc17df313a7e8b8985c45bc845a6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9124ebc88949b63aeb47970de7ca42c2c83b92e9fc56f921f9bb81b3307a8fb7adc2b7bf1c7199426623cc54229760b60934b1f7d957755cd0fcc70f8f82172b
|
7
|
+
data.tar.gz: ce74880b84dcb2bf951543a88a6f6aa5c798681f6ec6c03c593966ae9ae67a102fbb07f0872a82ed1cab66509eedf463d31b2cefbe14a4a95002ad4aeebce9e6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.41.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.40.0 (2022-10-25)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
15
|
+
|
4
16
|
1.39.0 (2022-02-24)
|
5
17
|
------------------
|
6
18
|
|
@@ -238,4 +250,4 @@ Unreleased Changes
|
|
238
250
|
1.0.0.rc1 (2017-06-26)
|
239
251
|
------------------
|
240
252
|
|
241
|
-
* Feature - Initial release of `aws-sdk-dax`.
|
253
|
+
* Feature - Initial release of `aws-sdk-dax`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.0
|
data/lib/aws-sdk-dax/client.rb
CHANGED
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:dax)
|
@@ -79,8 +79,9 @@ module Aws::DAX
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
84
|
+
add_plugin(Aws::DAX::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -297,6 +298,19 @@ module Aws::DAX
|
|
297
298
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
298
299
|
# requests are made, and retries are disabled.
|
299
300
|
#
|
301
|
+
# @option options [Aws::TokenProvider] :token_provider
|
302
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
303
|
+
# following classes:
|
304
|
+
#
|
305
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
306
|
+
# tokens.
|
307
|
+
#
|
308
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
309
|
+
# access token generated from `aws login`.
|
310
|
+
#
|
311
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
312
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
313
|
+
#
|
300
314
|
# @option options [Boolean] :use_dualstack_endpoint
|
301
315
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
302
316
|
# will be used if available.
|
@@ -310,6 +324,9 @@ module Aws::DAX
|
|
310
324
|
# When `true`, request parameters are validated before
|
311
325
|
# sending the request.
|
312
326
|
#
|
327
|
+
# @option options [Aws::DAX::EndpointProvider] :endpoint_provider
|
328
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::DAX::EndpointParameters`
|
329
|
+
#
|
313
330
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
314
331
|
# requests through. Formatted like 'http://proxy.com:123'.
|
315
332
|
#
|
@@ -1689,7 +1706,7 @@ module Aws::DAX
|
|
1689
1706
|
params: params,
|
1690
1707
|
config: config)
|
1691
1708
|
context[:gem_name] = 'aws-sdk-dax'
|
1692
|
-
context[:gem_version] = '1.
|
1709
|
+
context[:gem_version] = '1.41.0'
|
1693
1710
|
Seahorse::Client::Request.new(handlers, context)
|
1694
1711
|
end
|
1695
1712
|
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::DAX
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
+
if self[:use_dual_stack].nil?
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
+
end
|
58
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
+
if self[:use_fips].nil?
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
+
end
|
63
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::DAX
|
11
|
+
class EndpointProvider
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dax-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dax-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dax.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dax.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
48
|
+
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,309 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::DAX
|
12
|
+
module Endpoints
|
13
|
+
|
14
|
+
class CreateCluster
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::DAX::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class CreateParameterGroup
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::DAX::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class CreateSubnetGroup
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::DAX::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class DecreaseReplicationFactor
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::DAX::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class DeleteCluster
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::DAX::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class DeleteParameterGroup
|
85
|
+
def self.build(context)
|
86
|
+
unless context.config.regional_endpoint
|
87
|
+
endpoint = context.config.endpoint.to_s
|
88
|
+
end
|
89
|
+
Aws::DAX::EndpointParameters.new(
|
90
|
+
region: context.config.region,
|
91
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
92
|
+
use_fips: context.config.use_fips_endpoint,
|
93
|
+
endpoint: endpoint,
|
94
|
+
)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
class DeleteSubnetGroup
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::DAX::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class DescribeClusters
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::DAX::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class DescribeDefaultParameters
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::DAX::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class DescribeEvents
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::DAX::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class DescribeParameterGroups
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::DAX::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
162
|
+
use_fips: context.config.use_fips_endpoint,
|
163
|
+
endpoint: endpoint,
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class DescribeParameters
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::DAX::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class DescribeSubnetGroups
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::DAX::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class IncreaseReplicationFactor
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::DAX::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
class ListTags
|
211
|
+
def self.build(context)
|
212
|
+
unless context.config.regional_endpoint
|
213
|
+
endpoint = context.config.endpoint.to_s
|
214
|
+
end
|
215
|
+
Aws::DAX::EndpointParameters.new(
|
216
|
+
region: context.config.region,
|
217
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
+
use_fips: context.config.use_fips_endpoint,
|
219
|
+
endpoint: endpoint,
|
220
|
+
)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class RebootNode
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::DAX::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class TagResource
|
239
|
+
def self.build(context)
|
240
|
+
unless context.config.regional_endpoint
|
241
|
+
endpoint = context.config.endpoint.to_s
|
242
|
+
end
|
243
|
+
Aws::DAX::EndpointParameters.new(
|
244
|
+
region: context.config.region,
|
245
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
246
|
+
use_fips: context.config.use_fips_endpoint,
|
247
|
+
endpoint: endpoint,
|
248
|
+
)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
class UntagResource
|
253
|
+
def self.build(context)
|
254
|
+
unless context.config.regional_endpoint
|
255
|
+
endpoint = context.config.endpoint.to_s
|
256
|
+
end
|
257
|
+
Aws::DAX::EndpointParameters.new(
|
258
|
+
region: context.config.region,
|
259
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
+
use_fips: context.config.use_fips_endpoint,
|
261
|
+
endpoint: endpoint,
|
262
|
+
)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
class UpdateCluster
|
267
|
+
def self.build(context)
|
268
|
+
unless context.config.regional_endpoint
|
269
|
+
endpoint = context.config.endpoint.to_s
|
270
|
+
end
|
271
|
+
Aws::DAX::EndpointParameters.new(
|
272
|
+
region: context.config.region,
|
273
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
274
|
+
use_fips: context.config.use_fips_endpoint,
|
275
|
+
endpoint: endpoint,
|
276
|
+
)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class UpdateParameterGroup
|
281
|
+
def self.build(context)
|
282
|
+
unless context.config.regional_endpoint
|
283
|
+
endpoint = context.config.endpoint.to_s
|
284
|
+
end
|
285
|
+
Aws::DAX::EndpointParameters.new(
|
286
|
+
region: context.config.region,
|
287
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
288
|
+
use_fips: context.config.use_fips_endpoint,
|
289
|
+
endpoint: endpoint,
|
290
|
+
)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
class UpdateSubnetGroup
|
295
|
+
def self.build(context)
|
296
|
+
unless context.config.regional_endpoint
|
297
|
+
endpoint = context.config.endpoint.to_s
|
298
|
+
end
|
299
|
+
Aws::DAX::EndpointParameters.new(
|
300
|
+
region: context.config.region,
|
301
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
302
|
+
use_fips: context.config.use_fips_endpoint,
|
303
|
+
endpoint: endpoint,
|
304
|
+
)
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
end
|
309
|
+
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::DAX
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::DAX::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::DAX::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::DAX::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :create_cluster
|
60
|
+
Aws::DAX::Endpoints::CreateCluster.build(context)
|
61
|
+
when :create_parameter_group
|
62
|
+
Aws::DAX::Endpoints::CreateParameterGroup.build(context)
|
63
|
+
when :create_subnet_group
|
64
|
+
Aws::DAX::Endpoints::CreateSubnetGroup.build(context)
|
65
|
+
when :decrease_replication_factor
|
66
|
+
Aws::DAX::Endpoints::DecreaseReplicationFactor.build(context)
|
67
|
+
when :delete_cluster
|
68
|
+
Aws::DAX::Endpoints::DeleteCluster.build(context)
|
69
|
+
when :delete_parameter_group
|
70
|
+
Aws::DAX::Endpoints::DeleteParameterGroup.build(context)
|
71
|
+
when :delete_subnet_group
|
72
|
+
Aws::DAX::Endpoints::DeleteSubnetGroup.build(context)
|
73
|
+
when :describe_clusters
|
74
|
+
Aws::DAX::Endpoints::DescribeClusters.build(context)
|
75
|
+
when :describe_default_parameters
|
76
|
+
Aws::DAX::Endpoints::DescribeDefaultParameters.build(context)
|
77
|
+
when :describe_events
|
78
|
+
Aws::DAX::Endpoints::DescribeEvents.build(context)
|
79
|
+
when :describe_parameter_groups
|
80
|
+
Aws::DAX::Endpoints::DescribeParameterGroups.build(context)
|
81
|
+
when :describe_parameters
|
82
|
+
Aws::DAX::Endpoints::DescribeParameters.build(context)
|
83
|
+
when :describe_subnet_groups
|
84
|
+
Aws::DAX::Endpoints::DescribeSubnetGroups.build(context)
|
85
|
+
when :increase_replication_factor
|
86
|
+
Aws::DAX::Endpoints::IncreaseReplicationFactor.build(context)
|
87
|
+
when :list_tags
|
88
|
+
Aws::DAX::Endpoints::ListTags.build(context)
|
89
|
+
when :reboot_node
|
90
|
+
Aws::DAX::Endpoints::RebootNode.build(context)
|
91
|
+
when :tag_resource
|
92
|
+
Aws::DAX::Endpoints::TagResource.build(context)
|
93
|
+
when :untag_resource
|
94
|
+
Aws::DAX::Endpoints::UntagResource.build(context)
|
95
|
+
when :update_cluster
|
96
|
+
Aws::DAX::Endpoints::UpdateCluster.build(context)
|
97
|
+
when :update_parameter_group
|
98
|
+
Aws::DAX::Endpoints::UpdateParameterGroup.build(context)
|
99
|
+
when :update_subnet_group
|
100
|
+
Aws::DAX::Endpoints::UpdateSubnetGroup.build(context)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
def add_handlers(handlers, _config)
|
106
|
+
handlers.add(Handler, step: :build, priority: 75)
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
data/lib/aws-sdk-dax/types.rb
CHANGED
@@ -146,33 +146,6 @@ module Aws::DAX
|
|
146
146
|
#
|
147
147
|
class ClusterQuotaForCustomerExceededFault < Aws::EmptyStructure; end
|
148
148
|
|
149
|
-
# @note When making an API call, you may pass CreateClusterRequest
|
150
|
-
# data as a hash:
|
151
|
-
#
|
152
|
-
# {
|
153
|
-
# cluster_name: "String", # required
|
154
|
-
# node_type: "String", # required
|
155
|
-
# description: "String",
|
156
|
-
# replication_factor: 1, # required
|
157
|
-
# availability_zones: ["String"],
|
158
|
-
# subnet_group_name: "String",
|
159
|
-
# security_group_ids: ["String"],
|
160
|
-
# preferred_maintenance_window: "String",
|
161
|
-
# notification_topic_arn: "String",
|
162
|
-
# iam_role_arn: "String", # required
|
163
|
-
# parameter_group_name: "String",
|
164
|
-
# tags: [
|
165
|
-
# {
|
166
|
-
# key: "String",
|
167
|
-
# value: "String",
|
168
|
-
# },
|
169
|
-
# ],
|
170
|
-
# sse_specification: {
|
171
|
-
# enabled: false, # required
|
172
|
-
# },
|
173
|
-
# cluster_endpoint_encryption_type: "NONE", # accepts NONE, TLS
|
174
|
-
# }
|
175
|
-
#
|
176
149
|
# @!attribute [rw] cluster_name
|
177
150
|
# The cluster identifier. This parameter is stored as a lowercase
|
178
151
|
# string.
|
@@ -334,14 +307,6 @@ module Aws::DAX
|
|
334
307
|
include Aws::Structure
|
335
308
|
end
|
336
309
|
|
337
|
-
# @note When making an API call, you may pass CreateParameterGroupRequest
|
338
|
-
# data as a hash:
|
339
|
-
#
|
340
|
-
# {
|
341
|
-
# parameter_group_name: "String", # required
|
342
|
-
# description: "String",
|
343
|
-
# }
|
344
|
-
#
|
345
310
|
# @!attribute [rw] parameter_group_name
|
346
311
|
# The name of the parameter group to apply to all of the clusters in
|
347
312
|
# this replication group.
|
@@ -372,15 +337,6 @@ module Aws::DAX
|
|
372
337
|
include Aws::Structure
|
373
338
|
end
|
374
339
|
|
375
|
-
# @note When making an API call, you may pass CreateSubnetGroupRequest
|
376
|
-
# data as a hash:
|
377
|
-
#
|
378
|
-
# {
|
379
|
-
# subnet_group_name: "String", # required
|
380
|
-
# description: "String",
|
381
|
-
# subnet_ids: ["String"], # required
|
382
|
-
# }
|
383
|
-
#
|
384
340
|
# @!attribute [rw] subnet_group_name
|
385
341
|
# A name for the subnet group. This value is stored as a lowercase
|
386
342
|
# string.
|
@@ -416,16 +372,6 @@ module Aws::DAX
|
|
416
372
|
include Aws::Structure
|
417
373
|
end
|
418
374
|
|
419
|
-
# @note When making an API call, you may pass DecreaseReplicationFactorRequest
|
420
|
-
# data as a hash:
|
421
|
-
#
|
422
|
-
# {
|
423
|
-
# cluster_name: "String", # required
|
424
|
-
# new_replication_factor: 1, # required
|
425
|
-
# availability_zones: ["String"],
|
426
|
-
# node_ids_to_remove: ["String"],
|
427
|
-
# }
|
428
|
-
#
|
429
375
|
# @!attribute [rw] cluster_name
|
430
376
|
# The name of the DAX cluster from which you want to remove nodes.
|
431
377
|
# @return [String]
|
@@ -466,13 +412,6 @@ module Aws::DAX
|
|
466
412
|
include Aws::Structure
|
467
413
|
end
|
468
414
|
|
469
|
-
# @note When making an API call, you may pass DeleteClusterRequest
|
470
|
-
# data as a hash:
|
471
|
-
#
|
472
|
-
# {
|
473
|
-
# cluster_name: "String", # required
|
474
|
-
# }
|
475
|
-
#
|
476
415
|
# @!attribute [rw] cluster_name
|
477
416
|
# The name of the cluster to be deleted.
|
478
417
|
# @return [String]
|
@@ -497,13 +436,6 @@ module Aws::DAX
|
|
497
436
|
include Aws::Structure
|
498
437
|
end
|
499
438
|
|
500
|
-
# @note When making an API call, you may pass DeleteParameterGroupRequest
|
501
|
-
# data as a hash:
|
502
|
-
#
|
503
|
-
# {
|
504
|
-
# parameter_group_name: "String", # required
|
505
|
-
# }
|
506
|
-
#
|
507
439
|
# @!attribute [rw] parameter_group_name
|
508
440
|
# The name of the parameter group to delete.
|
509
441
|
# @return [String]
|
@@ -529,13 +461,6 @@ module Aws::DAX
|
|
529
461
|
include Aws::Structure
|
530
462
|
end
|
531
463
|
|
532
|
-
# @note When making an API call, you may pass DeleteSubnetGroupRequest
|
533
|
-
# data as a hash:
|
534
|
-
#
|
535
|
-
# {
|
536
|
-
# subnet_group_name: "String", # required
|
537
|
-
# }
|
538
|
-
#
|
539
464
|
# @!attribute [rw] subnet_group_name
|
540
465
|
# The name of the subnet group to delete.
|
541
466
|
# @return [String]
|
@@ -561,15 +486,6 @@ module Aws::DAX
|
|
561
486
|
include Aws::Structure
|
562
487
|
end
|
563
488
|
|
564
|
-
# @note When making an API call, you may pass DescribeClustersRequest
|
565
|
-
# data as a hash:
|
566
|
-
#
|
567
|
-
# {
|
568
|
-
# cluster_names: ["String"],
|
569
|
-
# max_results: 1,
|
570
|
-
# next_token: "String",
|
571
|
-
# }
|
572
|
-
#
|
573
489
|
# @!attribute [rw] cluster_names
|
574
490
|
# The names of the DAX clusters being described.
|
575
491
|
# @return [Array<String>]
|
@@ -618,14 +534,6 @@ module Aws::DAX
|
|
618
534
|
include Aws::Structure
|
619
535
|
end
|
620
536
|
|
621
|
-
# @note When making an API call, you may pass DescribeDefaultParametersRequest
|
622
|
-
# data as a hash:
|
623
|
-
#
|
624
|
-
# {
|
625
|
-
# max_results: 1,
|
626
|
-
# next_token: "String",
|
627
|
-
# }
|
628
|
-
#
|
629
537
|
# @!attribute [rw] max_results
|
630
538
|
# The maximum number of results to include in the response. If more
|
631
539
|
# results exist than the specified `MaxResults` value, a token is
|
@@ -669,19 +577,6 @@ module Aws::DAX
|
|
669
577
|
include Aws::Structure
|
670
578
|
end
|
671
579
|
|
672
|
-
# @note When making an API call, you may pass DescribeEventsRequest
|
673
|
-
# data as a hash:
|
674
|
-
#
|
675
|
-
# {
|
676
|
-
# source_name: "String",
|
677
|
-
# source_type: "CLUSTER", # accepts CLUSTER, PARAMETER_GROUP, SUBNET_GROUP
|
678
|
-
# start_time: Time.now,
|
679
|
-
# end_time: Time.now,
|
680
|
-
# duration: 1,
|
681
|
-
# max_results: 1,
|
682
|
-
# next_token: "String",
|
683
|
-
# }
|
684
|
-
#
|
685
580
|
# @!attribute [rw] source_name
|
686
581
|
# The identifier of the event source for which events will be
|
687
582
|
# returned. If not specified, then all sources are included in the
|
@@ -754,15 +649,6 @@ module Aws::DAX
|
|
754
649
|
include Aws::Structure
|
755
650
|
end
|
756
651
|
|
757
|
-
# @note When making an API call, you may pass DescribeParameterGroupsRequest
|
758
|
-
# data as a hash:
|
759
|
-
#
|
760
|
-
# {
|
761
|
-
# parameter_group_names: ["String"],
|
762
|
-
# max_results: 1,
|
763
|
-
# next_token: "String",
|
764
|
-
# }
|
765
|
-
#
|
766
652
|
# @!attribute [rw] parameter_group_names
|
767
653
|
# The names of the parameter groups.
|
768
654
|
# @return [Array<String>]
|
@@ -811,16 +697,6 @@ module Aws::DAX
|
|
811
697
|
include Aws::Structure
|
812
698
|
end
|
813
699
|
|
814
|
-
# @note When making an API call, you may pass DescribeParametersRequest
|
815
|
-
# data as a hash:
|
816
|
-
#
|
817
|
-
# {
|
818
|
-
# parameter_group_name: "String", # required
|
819
|
-
# source: "String",
|
820
|
-
# max_results: 1,
|
821
|
-
# next_token: "String",
|
822
|
-
# }
|
823
|
-
#
|
824
700
|
# @!attribute [rw] parameter_group_name
|
825
701
|
# The name of the parameter group.
|
826
702
|
# @return [String]
|
@@ -875,15 +751,6 @@ module Aws::DAX
|
|
875
751
|
include Aws::Structure
|
876
752
|
end
|
877
753
|
|
878
|
-
# @note When making an API call, you may pass DescribeSubnetGroupsRequest
|
879
|
-
# data as a hash:
|
880
|
-
#
|
881
|
-
# {
|
882
|
-
# subnet_group_names: ["String"],
|
883
|
-
# max_results: 1,
|
884
|
-
# next_token: "String",
|
885
|
-
# }
|
886
|
-
#
|
887
754
|
# @!attribute [rw] subnet_group_names
|
888
755
|
# The name of the subnet group.
|
889
756
|
# @return [Array<String>]
|
@@ -993,15 +860,6 @@ module Aws::DAX
|
|
993
860
|
include Aws::Structure
|
994
861
|
end
|
995
862
|
|
996
|
-
# @note When making an API call, you may pass IncreaseReplicationFactorRequest
|
997
|
-
# data as a hash:
|
998
|
-
#
|
999
|
-
# {
|
1000
|
-
# cluster_name: "String", # required
|
1001
|
-
# new_replication_factor: 1, # required
|
1002
|
-
# availability_zones: ["String"],
|
1003
|
-
# }
|
1004
|
-
#
|
1005
863
|
# @!attribute [rw] cluster_name
|
1006
864
|
# The name of the DAX cluster that will receive additional nodes.
|
1007
865
|
# @return [String]
|
@@ -1102,14 +960,6 @@ module Aws::DAX
|
|
1102
960
|
#
|
1103
961
|
class InvalidVPCNetworkStateFault < Aws::EmptyStructure; end
|
1104
962
|
|
1105
|
-
# @note When making an API call, you may pass ListTagsRequest
|
1106
|
-
# data as a hash:
|
1107
|
-
#
|
1108
|
-
# {
|
1109
|
-
# resource_name: "String", # required
|
1110
|
-
# next_token: "String",
|
1111
|
-
# }
|
1112
|
-
#
|
1113
963
|
# @!attribute [rw] resource_name
|
1114
964
|
# The name of the DAX resource to which the tags belong.
|
1115
965
|
# @return [String]
|
@@ -1383,14 +1233,6 @@ module Aws::DAX
|
|
1383
1233
|
|
1384
1234
|
# An individual DAX parameter.
|
1385
1235
|
#
|
1386
|
-
# @note When making an API call, you may pass ParameterNameValue
|
1387
|
-
# data as a hash:
|
1388
|
-
#
|
1389
|
-
# {
|
1390
|
-
# parameter_name: "String",
|
1391
|
-
# parameter_value: "String",
|
1392
|
-
# }
|
1393
|
-
#
|
1394
1236
|
# @!attribute [rw] parameter_name
|
1395
1237
|
# The name of the parameter.
|
1396
1238
|
# @return [String]
|
@@ -1408,14 +1250,6 @@ module Aws::DAX
|
|
1408
1250
|
include Aws::Structure
|
1409
1251
|
end
|
1410
1252
|
|
1411
|
-
# @note When making an API call, you may pass RebootNodeRequest
|
1412
|
-
# data as a hash:
|
1413
|
-
#
|
1414
|
-
# {
|
1415
|
-
# cluster_name: "String", # required
|
1416
|
-
# node_id: "String", # required
|
1417
|
-
# }
|
1418
|
-
#
|
1419
1253
|
# @!attribute [rw] cluster_name
|
1420
1254
|
# The name of the DAX cluster containing the node to be rebooted.
|
1421
1255
|
# @return [String]
|
@@ -1470,13 +1304,6 @@ module Aws::DAX
|
|
1470
1304
|
|
1471
1305
|
# Represents the settings used to enable server-side encryption.
|
1472
1306
|
#
|
1473
|
-
# @note When making an API call, you may pass SSESpecification
|
1474
|
-
# data as a hash:
|
1475
|
-
#
|
1476
|
-
# {
|
1477
|
-
# enabled: false, # required
|
1478
|
-
# }
|
1479
|
-
#
|
1480
1307
|
# @!attribute [rw] enabled
|
1481
1308
|
# Indicates whether server-side encryption is enabled (true) or
|
1482
1309
|
# disabled (false) on the cluster.
|
@@ -1628,14 +1455,6 @@ module Aws::DAX
|
|
1628
1455
|
#
|
1629
1456
|
# You cannot backdate the application of a tag.
|
1630
1457
|
#
|
1631
|
-
# @note When making an API call, you may pass Tag
|
1632
|
-
# data as a hash:
|
1633
|
-
#
|
1634
|
-
# {
|
1635
|
-
# key: "String",
|
1636
|
-
# value: "String",
|
1637
|
-
# }
|
1638
|
-
#
|
1639
1458
|
# @!attribute [rw] key
|
1640
1459
|
# The key for the tag. Tag keys are case sensitive. Every DAX cluster
|
1641
1460
|
# can only have one tag with the same key. If you try to add an
|
@@ -1668,19 +1487,6 @@ module Aws::DAX
|
|
1668
1487
|
#
|
1669
1488
|
class TagQuotaPerResourceExceeded < Aws::EmptyStructure; end
|
1670
1489
|
|
1671
|
-
# @note When making an API call, you may pass TagResourceRequest
|
1672
|
-
# data as a hash:
|
1673
|
-
#
|
1674
|
-
# {
|
1675
|
-
# resource_name: "String", # required
|
1676
|
-
# tags: [ # required
|
1677
|
-
# {
|
1678
|
-
# key: "String",
|
1679
|
-
# value: "String",
|
1680
|
-
# },
|
1681
|
-
# ],
|
1682
|
-
# }
|
1683
|
-
#
|
1684
1490
|
# @!attribute [rw] resource_name
|
1685
1491
|
# The name of the DAX resource to which tags should be added.
|
1686
1492
|
# @return [String]
|
@@ -1710,14 +1516,6 @@ module Aws::DAX
|
|
1710
1516
|
include Aws::Structure
|
1711
1517
|
end
|
1712
1518
|
|
1713
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
1714
|
-
# data as a hash:
|
1715
|
-
#
|
1716
|
-
# {
|
1717
|
-
# resource_name: "String", # required
|
1718
|
-
# tag_keys: ["String"], # required
|
1719
|
-
# }
|
1720
|
-
#
|
1721
1519
|
# @!attribute [rw] resource_name
|
1722
1520
|
# The name of the DAX resource from which the tags should be removed.
|
1723
1521
|
# @return [String]
|
@@ -1748,19 +1546,6 @@ module Aws::DAX
|
|
1748
1546
|
include Aws::Structure
|
1749
1547
|
end
|
1750
1548
|
|
1751
|
-
# @note When making an API call, you may pass UpdateClusterRequest
|
1752
|
-
# data as a hash:
|
1753
|
-
#
|
1754
|
-
# {
|
1755
|
-
# cluster_name: "String", # required
|
1756
|
-
# description: "String",
|
1757
|
-
# preferred_maintenance_window: "String",
|
1758
|
-
# notification_topic_arn: "String",
|
1759
|
-
# notification_topic_status: "String",
|
1760
|
-
# parameter_group_name: "String",
|
1761
|
-
# security_group_ids: ["String"],
|
1762
|
-
# }
|
1763
|
-
#
|
1764
1549
|
# @!attribute [rw] cluster_name
|
1765
1550
|
# The name of the DAX cluster to be modified.
|
1766
1551
|
# @return [String]
|
@@ -1822,19 +1607,6 @@ module Aws::DAX
|
|
1822
1607
|
include Aws::Structure
|
1823
1608
|
end
|
1824
1609
|
|
1825
|
-
# @note When making an API call, you may pass UpdateParameterGroupRequest
|
1826
|
-
# data as a hash:
|
1827
|
-
#
|
1828
|
-
# {
|
1829
|
-
# parameter_group_name: "String", # required
|
1830
|
-
# parameter_name_values: [ # required
|
1831
|
-
# {
|
1832
|
-
# parameter_name: "String",
|
1833
|
-
# parameter_value: "String",
|
1834
|
-
# },
|
1835
|
-
# ],
|
1836
|
-
# }
|
1837
|
-
#
|
1838
1610
|
# @!attribute [rw] parameter_group_name
|
1839
1611
|
# The name of the parameter group.
|
1840
1612
|
# @return [String]
|
@@ -1875,15 +1647,6 @@ module Aws::DAX
|
|
1875
1647
|
include Aws::Structure
|
1876
1648
|
end
|
1877
1649
|
|
1878
|
-
# @note When making an API call, you may pass UpdateSubnetGroupRequest
|
1879
|
-
# data as a hash:
|
1880
|
-
#
|
1881
|
-
# {
|
1882
|
-
# subnet_group_name: "String", # required
|
1883
|
-
# description: "String",
|
1884
|
-
# subnet_ids: ["String"],
|
1885
|
-
# }
|
1886
|
-
#
|
1887
1650
|
# @!attribute [rw] subnet_group_name
|
1888
1651
|
# The name of the subnet group.
|
1889
1652
|
# @return [String]
|
data/lib/aws-sdk-dax.rb
CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-dax/types'
|
15
15
|
require_relative 'aws-sdk-dax/client_api'
|
16
|
+
require_relative 'aws-sdk-dax/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-dax/client'
|
17
18
|
require_relative 'aws-sdk-dax/errors'
|
18
19
|
require_relative 'aws-sdk-dax/resource'
|
20
|
+
require_relative 'aws-sdk-dax/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-dax/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-dax/endpoints'
|
19
23
|
require_relative 'aws-sdk-dax/customizations'
|
20
24
|
|
21
25
|
# This module provides support for Amazon DynamoDB Accelerator (DAX). This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-dax/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::DAX
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.41.0'
|
52
56
|
|
53
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-dax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.41.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: 2023-01-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.165.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.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-dax/client.rb
|
60
60
|
- lib/aws-sdk-dax/client_api.rb
|
61
61
|
- lib/aws-sdk-dax/customizations.rb
|
62
|
+
- lib/aws-sdk-dax/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-dax/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-dax/endpoints.rb
|
62
65
|
- lib/aws-sdk-dax/errors.rb
|
66
|
+
- lib/aws-sdk-dax/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-dax/resource.rb
|
64
68
|
- lib/aws-sdk-dax/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|