aws-sdk-dax 1.17.0 → 1.22.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 +5 -5
- data/lib/aws-sdk-dax.rb +7 -4
- data/lib/aws-sdk-dax/client.rb +83 -21
- data/lib/aws-sdk-dax/client_api.rb +48 -0
- data/lib/aws-sdk-dax/errors.rb +286 -0
- data/lib/aws-sdk-dax/resource.rb +1 -0
- data/lib/aws-sdk-dax/types.rb +162 -7
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 86f291642f7dc5d3a3f5351e0ec16d02bd3eb1e2f457ed7e5d8608d340d2ee7f
|
4
|
+
data.tar.gz: 5259882db0c5842cd2775855985a8b49024e8c1ab61d54279a56bdbc78ceaa82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbd08a0512999d6b1099654c920328dd7df92a505b87983ee0d092631bce92b003c6123b36d03e9a2cb20c14282f25ecbf7c3e08bf52434bafc2845aa02941c7
|
7
|
+
data.tar.gz: a40882445562d4382c15be394c6ea07946cb167ad8c81de9b9e8de1443a70db0a4539565f799d19b9f0d7db5c62dede543a1a9f75a394690836c7a10d94d9227
|
data/lib/aws-sdk-dax.rb
CHANGED
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-dax/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# dax = Aws::DAX::Client.new
|
28
|
+
# resp = dax.create_cluster(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from Amazon DynamoDB Accelerator (DAX)
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from Amazon DynamoDB Accelerator (DAX) are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::DAX::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all Amazon DynamoDB Accelerator (DAX) API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-dax/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::DAX
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.22.0'
|
46
49
|
|
47
50
|
end
|
data/lib/aws-sdk-dax/client.rb
CHANGED
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:dax)
|
31
31
|
|
32
32
|
module Aws::DAX
|
33
|
+
# An API client for DAX. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::DAX::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::DAX
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::DAX
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::DAX
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::DAX
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::DAX
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::DAX
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::DAX
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -219,16 +274,15 @@ module Aws::DAX
|
|
219
274
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
275
|
#
|
221
276
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
277
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
278
|
# `Timeout::Error`.
|
224
279
|
#
|
225
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
281
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
229
283
|
#
|
230
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
285
|
+
# seconds a connection is allowed to sit idle before it is
|
232
286
|
# considered stale. Stale connections are closed and removed
|
233
287
|
# from the pool before making a request.
|
234
288
|
#
|
@@ -237,7 +291,7 @@ module Aws::DAX
|
|
237
291
|
# request body. This option has no effect unless the request has
|
238
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
293
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
294
|
+
# request on the session.
|
241
295
|
#
|
242
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -289,18 +343,21 @@ module Aws::DAX
|
|
289
343
|
# The number of nodes in the DAX cluster. A replication factor of 1 will
|
290
344
|
# create a single-node cluster, without any read replicas. For
|
291
345
|
# additional fault tolerance, you can create a multiple node cluster
|
292
|
-
# with one or more read replicas. To do this, set
|
293
|
-
#
|
346
|
+
# with one or more read replicas. To do this, set `ReplicationFactor` to
|
347
|
+
# a number between 3 (one primary and two read replicas) and 10 (one
|
348
|
+
# primary and nine read replicas). `If the AvailabilityZones` parameter
|
349
|
+
# is provided, its length must equal the `ReplicationFactor`.
|
294
350
|
#
|
295
351
|
# <note markdown="1"> AWS recommends that you have at least two read replicas per cluster.
|
296
352
|
#
|
297
353
|
# </note>
|
298
354
|
#
|
299
355
|
# @option params [Array<String>] :availability_zones
|
300
|
-
# The Availability Zones (AZs) in which the cluster nodes will
|
301
|
-
#
|
302
|
-
#
|
303
|
-
# nodes across
|
356
|
+
# The Availability Zones (AZs) in which the cluster nodes will reside
|
357
|
+
# after the cluster has been created or updated. If provided, the length
|
358
|
+
# of this list must equal the `ReplicationFactor` parameter. If you omit
|
359
|
+
# this parameter, DAX will spread the nodes across Availability Zones
|
360
|
+
# for the highest availability.
|
304
361
|
#
|
305
362
|
# @option params [String] :subnet_group_name
|
306
363
|
# The name of the subnet group to be used for the replication group.
|
@@ -870,7 +927,7 @@ module Aws::DAX
|
|
870
927
|
# obtain events specific to a particular DAX cluster or parameter group
|
871
928
|
# by providing the name as a parameter.
|
872
929
|
#
|
873
|
-
# By default, only the events occurring within the last
|
930
|
+
# By default, only the events occurring within the last 24 hours are
|
874
931
|
# returned; however, you can retrieve up to 14 days' worth of events if
|
875
932
|
# necessary.
|
876
933
|
#
|
@@ -1221,6 +1278,11 @@ module Aws::DAX
|
|
1221
1278
|
# as soon as possible. During the reboot, the node status is set to
|
1222
1279
|
# REBOOTING.
|
1223
1280
|
#
|
1281
|
+
# <note markdown="1"> `RebootNode` restarts the DAX engine process and does not remove the
|
1282
|
+
# contents of the cache.
|
1283
|
+
#
|
1284
|
+
# </note>
|
1285
|
+
#
|
1224
1286
|
# @option params [required, String] :cluster_name
|
1225
1287
|
# The name of the DAX cluster containing the node to be rebooted.
|
1226
1288
|
#
|
@@ -1543,7 +1605,7 @@ module Aws::DAX
|
|
1543
1605
|
params: params,
|
1544
1606
|
config: config)
|
1545
1607
|
context[:gem_name] = 'aws-sdk-dax'
|
1546
|
-
context[:gem_version] = '1.
|
1608
|
+
context[:gem_version] = '1.22.0'
|
1547
1609
|
Seahorse::Client::Request.new(handlers, context)
|
1548
1610
|
end
|
1549
1611
|
|
@@ -147,10 +147,16 @@ module Aws::DAX
|
|
147
147
|
Cluster.add_member(:sse_description, Shapes::ShapeRef.new(shape: SSEDescription, location_name: "SSEDescription"))
|
148
148
|
Cluster.struct_class = Types::Cluster
|
149
149
|
|
150
|
+
ClusterAlreadyExistsFault.struct_class = Types::ClusterAlreadyExistsFault
|
151
|
+
|
150
152
|
ClusterList.member = Shapes::ShapeRef.new(shape: Cluster)
|
151
153
|
|
152
154
|
ClusterNameList.member = Shapes::ShapeRef.new(shape: String)
|
153
155
|
|
156
|
+
ClusterNotFoundFault.struct_class = Types::ClusterNotFoundFault
|
157
|
+
|
158
|
+
ClusterQuotaForCustomerExceededFault.struct_class = Types::ClusterQuotaForCustomerExceededFault
|
159
|
+
|
154
160
|
CreateClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterName"))
|
155
161
|
CreateClusterRequest.add_member(:node_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "NodeType"))
|
156
162
|
CreateClusterRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
@@ -289,12 +295,24 @@ module Aws::DAX
|
|
289
295
|
IncreaseReplicationFactorResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
|
290
296
|
IncreaseReplicationFactorResponse.struct_class = Types::IncreaseReplicationFactorResponse
|
291
297
|
|
298
|
+
InsufficientClusterCapacityFault.struct_class = Types::InsufficientClusterCapacityFault
|
299
|
+
|
300
|
+
InvalidARNFault.struct_class = Types::InvalidARNFault
|
301
|
+
|
302
|
+
InvalidClusterStateFault.struct_class = Types::InvalidClusterStateFault
|
303
|
+
|
292
304
|
InvalidParameterCombinationException.add_member(:message, Shapes::ShapeRef.new(shape: AwsQueryErrorMessage, location_name: "message"))
|
293
305
|
InvalidParameterCombinationException.struct_class = Types::InvalidParameterCombinationException
|
294
306
|
|
307
|
+
InvalidParameterGroupStateFault.struct_class = Types::InvalidParameterGroupStateFault
|
308
|
+
|
295
309
|
InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: AwsQueryErrorMessage, location_name: "message"))
|
296
310
|
InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
|
297
311
|
|
312
|
+
InvalidSubnet.struct_class = Types::InvalidSubnet
|
313
|
+
|
314
|
+
InvalidVPCNetworkStateFault.struct_class = Types::InvalidVPCNetworkStateFault
|
315
|
+
|
298
316
|
KeyList.member = Shapes::ShapeRef.new(shape: String)
|
299
317
|
|
300
318
|
ListTagsRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceName"))
|
@@ -317,6 +335,12 @@ module Aws::DAX
|
|
317
335
|
|
318
336
|
NodeList.member = Shapes::ShapeRef.new(shape: Node)
|
319
337
|
|
338
|
+
NodeNotFoundFault.struct_class = Types::NodeNotFoundFault
|
339
|
+
|
340
|
+
NodeQuotaForClusterExceededFault.struct_class = Types::NodeQuotaForClusterExceededFault
|
341
|
+
|
342
|
+
NodeQuotaForCustomerExceededFault.struct_class = Types::NodeQuotaForCustomerExceededFault
|
343
|
+
|
320
344
|
NodeTypeSpecificValue.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
|
321
345
|
NodeTypeSpecificValue.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
322
346
|
NodeTypeSpecificValue.struct_class = Types::NodeTypeSpecificValue
|
@@ -343,10 +367,16 @@ module Aws::DAX
|
|
343
367
|
ParameterGroup.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
344
368
|
ParameterGroup.struct_class = Types::ParameterGroup
|
345
369
|
|
370
|
+
ParameterGroupAlreadyExistsFault.struct_class = Types::ParameterGroupAlreadyExistsFault
|
371
|
+
|
346
372
|
ParameterGroupList.member = Shapes::ShapeRef.new(shape: ParameterGroup)
|
347
373
|
|
348
374
|
ParameterGroupNameList.member = Shapes::ShapeRef.new(shape: String)
|
349
375
|
|
376
|
+
ParameterGroupNotFoundFault.struct_class = Types::ParameterGroupNotFoundFault
|
377
|
+
|
378
|
+
ParameterGroupQuotaExceededFault.struct_class = Types::ParameterGroupQuotaExceededFault
|
379
|
+
|
350
380
|
ParameterGroupStatus.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "ParameterGroupName"))
|
351
381
|
ParameterGroupStatus.add_member(:parameter_apply_status, Shapes::ShapeRef.new(shape: String, location_name: "ParameterApplyStatus"))
|
352
382
|
ParameterGroupStatus.add_member(:node_ids_to_reboot, Shapes::ShapeRef.new(shape: NodeIdentifierList, location_name: "NodeIdsToReboot"))
|
@@ -381,6 +411,8 @@ module Aws::DAX
|
|
381
411
|
|
382
412
|
SecurityGroupMembershipList.member = Shapes::ShapeRef.new(shape: SecurityGroupMembership)
|
383
413
|
|
414
|
+
ServiceLinkedRoleNotFoundFault.struct_class = Types::ServiceLinkedRoleNotFoundFault
|
415
|
+
|
384
416
|
Subnet.add_member(:subnet_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SubnetIdentifier"))
|
385
417
|
Subnet.add_member(:subnet_availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "SubnetAvailabilityZone"))
|
386
418
|
Subnet.struct_class = Types::Subnet
|
@@ -391,20 +423,36 @@ module Aws::DAX
|
|
391
423
|
SubnetGroup.add_member(:subnets, Shapes::ShapeRef.new(shape: SubnetList, location_name: "Subnets"))
|
392
424
|
SubnetGroup.struct_class = Types::SubnetGroup
|
393
425
|
|
426
|
+
SubnetGroupAlreadyExistsFault.struct_class = Types::SubnetGroupAlreadyExistsFault
|
427
|
+
|
428
|
+
SubnetGroupInUseFault.struct_class = Types::SubnetGroupInUseFault
|
429
|
+
|
394
430
|
SubnetGroupList.member = Shapes::ShapeRef.new(shape: SubnetGroup)
|
395
431
|
|
396
432
|
SubnetGroupNameList.member = Shapes::ShapeRef.new(shape: String)
|
397
433
|
|
434
|
+
SubnetGroupNotFoundFault.struct_class = Types::SubnetGroupNotFoundFault
|
435
|
+
|
436
|
+
SubnetGroupQuotaExceededFault.struct_class = Types::SubnetGroupQuotaExceededFault
|
437
|
+
|
398
438
|
SubnetIdentifierList.member = Shapes::ShapeRef.new(shape: String)
|
399
439
|
|
440
|
+
SubnetInUse.struct_class = Types::SubnetInUse
|
441
|
+
|
400
442
|
SubnetList.member = Shapes::ShapeRef.new(shape: Subnet)
|
401
443
|
|
444
|
+
SubnetQuotaExceededFault.struct_class = Types::SubnetQuotaExceededFault
|
445
|
+
|
402
446
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "Key"))
|
403
447
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
404
448
|
Tag.struct_class = Types::Tag
|
405
449
|
|
406
450
|
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
407
451
|
|
452
|
+
TagNotFoundFault.struct_class = Types::TagNotFoundFault
|
453
|
+
|
454
|
+
TagQuotaPerResourceExceeded.struct_class = Types::TagQuotaPerResourceExceeded
|
455
|
+
|
408
456
|
TagResourceRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceName"))
|
409
457
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
410
458
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
data/lib/aws-sdk-dax/errors.rb
CHANGED
@@ -6,10 +6,118 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::DAX
|
9
|
+
|
10
|
+
# When DAX returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::DAX::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all DAX errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::DAX::Errors::ServiceError
|
18
|
+
# # rescues all DAX API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {ClusterAlreadyExistsFault}
|
29
|
+
# * {ClusterNotFoundFault}
|
30
|
+
# * {ClusterQuotaForCustomerExceededFault}
|
31
|
+
# * {InsufficientClusterCapacityFault}
|
32
|
+
# * {InvalidARNFault}
|
33
|
+
# * {InvalidClusterStateFault}
|
34
|
+
# * {InvalidParameterCombinationException}
|
35
|
+
# * {InvalidParameterGroupStateFault}
|
36
|
+
# * {InvalidParameterValueException}
|
37
|
+
# * {InvalidSubnet}
|
38
|
+
# * {InvalidVPCNetworkStateFault}
|
39
|
+
# * {NodeNotFoundFault}
|
40
|
+
# * {NodeQuotaForClusterExceededFault}
|
41
|
+
# * {NodeQuotaForCustomerExceededFault}
|
42
|
+
# * {ParameterGroupAlreadyExistsFault}
|
43
|
+
# * {ParameterGroupNotFoundFault}
|
44
|
+
# * {ParameterGroupQuotaExceededFault}
|
45
|
+
# * {ServiceLinkedRoleNotFoundFault}
|
46
|
+
# * {SubnetGroupAlreadyExistsFault}
|
47
|
+
# * {SubnetGroupInUseFault}
|
48
|
+
# * {SubnetGroupNotFoundFault}
|
49
|
+
# * {SubnetGroupQuotaExceededFault}
|
50
|
+
# * {SubnetInUse}
|
51
|
+
# * {SubnetQuotaExceededFault}
|
52
|
+
# * {TagNotFoundFault}
|
53
|
+
# * {TagQuotaPerResourceExceeded}
|
54
|
+
#
|
55
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
56
|
+
# if they are not defined above.
|
9
57
|
module Errors
|
10
58
|
|
11
59
|
extend Aws::Errors::DynamicErrors
|
12
60
|
|
61
|
+
class ClusterAlreadyExistsFault < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::DAX::Types::ClusterAlreadyExistsFault] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
class ClusterNotFoundFault < ServiceError
|
72
|
+
|
73
|
+
# @param [Seahorse::Client::RequestContext] context
|
74
|
+
# @param [String] message
|
75
|
+
# @param [Aws::DAX::Types::ClusterNotFoundFault] data
|
76
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
77
|
+
super(context, message, data)
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
class ClusterQuotaForCustomerExceededFault < ServiceError
|
82
|
+
|
83
|
+
# @param [Seahorse::Client::RequestContext] context
|
84
|
+
# @param [String] message
|
85
|
+
# @param [Aws::DAX::Types::ClusterQuotaForCustomerExceededFault] data
|
86
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
87
|
+
super(context, message, data)
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
class InsufficientClusterCapacityFault < ServiceError
|
92
|
+
|
93
|
+
# @param [Seahorse::Client::RequestContext] context
|
94
|
+
# @param [String] message
|
95
|
+
# @param [Aws::DAX::Types::InsufficientClusterCapacityFault] data
|
96
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
97
|
+
super(context, message, data)
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
class InvalidARNFault < ServiceError
|
102
|
+
|
103
|
+
# @param [Seahorse::Client::RequestContext] context
|
104
|
+
# @param [String] message
|
105
|
+
# @param [Aws::DAX::Types::InvalidARNFault] data
|
106
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
107
|
+
super(context, message, data)
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
class InvalidClusterStateFault < ServiceError
|
112
|
+
|
113
|
+
# @param [Seahorse::Client::RequestContext] context
|
114
|
+
# @param [String] message
|
115
|
+
# @param [Aws::DAX::Types::InvalidClusterStateFault] data
|
116
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
117
|
+
super(context, message, data)
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
13
121
|
class InvalidParameterCombinationException < ServiceError
|
14
122
|
|
15
123
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -23,7 +131,16 @@ module Aws::DAX
|
|
23
131
|
def message
|
24
132
|
@message || @data[:message]
|
25
133
|
end
|
134
|
+
end
|
135
|
+
|
136
|
+
class InvalidParameterGroupStateFault < ServiceError
|
26
137
|
|
138
|
+
# @param [Seahorse::Client::RequestContext] context
|
139
|
+
# @param [String] message
|
140
|
+
# @param [Aws::DAX::Types::InvalidParameterGroupStateFault] data
|
141
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
142
|
+
super(context, message, data)
|
143
|
+
end
|
27
144
|
end
|
28
145
|
|
29
146
|
class InvalidParameterValueException < ServiceError
|
@@ -39,7 +156,176 @@ module Aws::DAX
|
|
39
156
|
def message
|
40
157
|
@message || @data[:message]
|
41
158
|
end
|
159
|
+
end
|
160
|
+
|
161
|
+
class InvalidSubnet < ServiceError
|
162
|
+
|
163
|
+
# @param [Seahorse::Client::RequestContext] context
|
164
|
+
# @param [String] message
|
165
|
+
# @param [Aws::DAX::Types::InvalidSubnet] data
|
166
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
167
|
+
super(context, message, data)
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
class InvalidVPCNetworkStateFault < ServiceError
|
172
|
+
|
173
|
+
# @param [Seahorse::Client::RequestContext] context
|
174
|
+
# @param [String] message
|
175
|
+
# @param [Aws::DAX::Types::InvalidVPCNetworkStateFault] data
|
176
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
177
|
+
super(context, message, data)
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
class NodeNotFoundFault < ServiceError
|
182
|
+
|
183
|
+
# @param [Seahorse::Client::RequestContext] context
|
184
|
+
# @param [String] message
|
185
|
+
# @param [Aws::DAX::Types::NodeNotFoundFault] data
|
186
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
187
|
+
super(context, message, data)
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
class NodeQuotaForClusterExceededFault < ServiceError
|
192
|
+
|
193
|
+
# @param [Seahorse::Client::RequestContext] context
|
194
|
+
# @param [String] message
|
195
|
+
# @param [Aws::DAX::Types::NodeQuotaForClusterExceededFault] data
|
196
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
197
|
+
super(context, message, data)
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
class NodeQuotaForCustomerExceededFault < ServiceError
|
42
202
|
|
203
|
+
# @param [Seahorse::Client::RequestContext] context
|
204
|
+
# @param [String] message
|
205
|
+
# @param [Aws::DAX::Types::NodeQuotaForCustomerExceededFault] data
|
206
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
207
|
+
super(context, message, data)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
class ParameterGroupAlreadyExistsFault < ServiceError
|
212
|
+
|
213
|
+
# @param [Seahorse::Client::RequestContext] context
|
214
|
+
# @param [String] message
|
215
|
+
# @param [Aws::DAX::Types::ParameterGroupAlreadyExistsFault] data
|
216
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
217
|
+
super(context, message, data)
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
class ParameterGroupNotFoundFault < ServiceError
|
222
|
+
|
223
|
+
# @param [Seahorse::Client::RequestContext] context
|
224
|
+
# @param [String] message
|
225
|
+
# @param [Aws::DAX::Types::ParameterGroupNotFoundFault] data
|
226
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
227
|
+
super(context, message, data)
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
class ParameterGroupQuotaExceededFault < ServiceError
|
232
|
+
|
233
|
+
# @param [Seahorse::Client::RequestContext] context
|
234
|
+
# @param [String] message
|
235
|
+
# @param [Aws::DAX::Types::ParameterGroupQuotaExceededFault] data
|
236
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
237
|
+
super(context, message, data)
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
241
|
+
class ServiceLinkedRoleNotFoundFault < ServiceError
|
242
|
+
|
243
|
+
# @param [Seahorse::Client::RequestContext] context
|
244
|
+
# @param [String] message
|
245
|
+
# @param [Aws::DAX::Types::ServiceLinkedRoleNotFoundFault] data
|
246
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
247
|
+
super(context, message, data)
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
class SubnetGroupAlreadyExistsFault < ServiceError
|
252
|
+
|
253
|
+
# @param [Seahorse::Client::RequestContext] context
|
254
|
+
# @param [String] message
|
255
|
+
# @param [Aws::DAX::Types::SubnetGroupAlreadyExistsFault] data
|
256
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
257
|
+
super(context, message, data)
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
class SubnetGroupInUseFault < ServiceError
|
262
|
+
|
263
|
+
# @param [Seahorse::Client::RequestContext] context
|
264
|
+
# @param [String] message
|
265
|
+
# @param [Aws::DAX::Types::SubnetGroupInUseFault] data
|
266
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
267
|
+
super(context, message, data)
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
class SubnetGroupNotFoundFault < ServiceError
|
272
|
+
|
273
|
+
# @param [Seahorse::Client::RequestContext] context
|
274
|
+
# @param [String] message
|
275
|
+
# @param [Aws::DAX::Types::SubnetGroupNotFoundFault] data
|
276
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
277
|
+
super(context, message, data)
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
class SubnetGroupQuotaExceededFault < ServiceError
|
282
|
+
|
283
|
+
# @param [Seahorse::Client::RequestContext] context
|
284
|
+
# @param [String] message
|
285
|
+
# @param [Aws::DAX::Types::SubnetGroupQuotaExceededFault] data
|
286
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
287
|
+
super(context, message, data)
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
class SubnetInUse < ServiceError
|
292
|
+
|
293
|
+
# @param [Seahorse::Client::RequestContext] context
|
294
|
+
# @param [String] message
|
295
|
+
# @param [Aws::DAX::Types::SubnetInUse] data
|
296
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
297
|
+
super(context, message, data)
|
298
|
+
end
|
299
|
+
end
|
300
|
+
|
301
|
+
class SubnetQuotaExceededFault < ServiceError
|
302
|
+
|
303
|
+
# @param [Seahorse::Client::RequestContext] context
|
304
|
+
# @param [String] message
|
305
|
+
# @param [Aws::DAX::Types::SubnetQuotaExceededFault] data
|
306
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
307
|
+
super(context, message, data)
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
311
|
+
class TagNotFoundFault < ServiceError
|
312
|
+
|
313
|
+
# @param [Seahorse::Client::RequestContext] context
|
314
|
+
# @param [String] message
|
315
|
+
# @param [Aws::DAX::Types::TagNotFoundFault] data
|
316
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
317
|
+
super(context, message, data)
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
321
|
+
class TagQuotaPerResourceExceeded < ServiceError
|
322
|
+
|
323
|
+
# @param [Seahorse::Client::RequestContext] context
|
324
|
+
# @param [String] message
|
325
|
+
# @param [Aws::DAX::Types::TagQuotaPerResourceExceeded] data
|
326
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
327
|
+
super(context, message, data)
|
328
|
+
end
|
43
329
|
end
|
44
330
|
|
45
331
|
end
|
data/lib/aws-sdk-dax/resource.rb
CHANGED
data/lib/aws-sdk-dax/types.rb
CHANGED
@@ -116,6 +116,25 @@ module Aws::DAX
|
|
116
116
|
include Aws::Structure
|
117
117
|
end
|
118
118
|
|
119
|
+
# You already have a DAX cluster with the given identifier.
|
120
|
+
#
|
121
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ClusterAlreadyExistsFault AWS API Documentation
|
122
|
+
#
|
123
|
+
class ClusterAlreadyExistsFault < Aws::EmptyStructure; end
|
124
|
+
|
125
|
+
# The requested cluster ID does not refer to an existing DAX cluster.
|
126
|
+
#
|
127
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ClusterNotFoundFault AWS API Documentation
|
128
|
+
#
|
129
|
+
class ClusterNotFoundFault < Aws::EmptyStructure; end
|
130
|
+
|
131
|
+
# You have attempted to exceed the maximum number of DAX clusters for
|
132
|
+
# your AWS account.
|
133
|
+
#
|
134
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ClusterQuotaForCustomerExceededFault AWS API Documentation
|
135
|
+
#
|
136
|
+
class ClusterQuotaForCustomerExceededFault < Aws::EmptyStructure; end
|
137
|
+
|
119
138
|
# @note When making an API call, you may pass CreateClusterRequest
|
120
139
|
# data as a hash:
|
121
140
|
#
|
@@ -169,8 +188,11 @@ module Aws::DAX
|
|
169
188
|
# The number of nodes in the DAX cluster. A replication factor of 1
|
170
189
|
# will create a single-node cluster, without any read replicas. For
|
171
190
|
# additional fault tolerance, you can create a multiple node cluster
|
172
|
-
# with one or more read replicas. To do this, set
|
173
|
-
# to
|
191
|
+
# with one or more read replicas. To do this, set `ReplicationFactor`
|
192
|
+
# to a number between 3 (one primary and two read replicas) and 10
|
193
|
+
# (one primary and nine read replicas). `If the AvailabilityZones`
|
194
|
+
# parameter is provided, its length must equal the
|
195
|
+
# `ReplicationFactor`.
|
174
196
|
#
|
175
197
|
# <note markdown="1"> AWS recommends that you have at least two read replicas per cluster.
|
176
198
|
#
|
@@ -178,10 +200,11 @@ module Aws::DAX
|
|
178
200
|
# @return [Integer]
|
179
201
|
#
|
180
202
|
# @!attribute [rw] availability_zones
|
181
|
-
# The Availability Zones (AZs) in which the cluster nodes will
|
182
|
-
#
|
183
|
-
#
|
184
|
-
# nodes across
|
203
|
+
# The Availability Zones (AZs) in which the cluster nodes will reside
|
204
|
+
# after the cluster has been created or updated. If provided, the
|
205
|
+
# length of this list must equal the `ReplicationFactor` parameter. If
|
206
|
+
# you omit this parameter, DAX will spread the nodes across
|
207
|
+
# Availability Zones for the highest availability.
|
185
208
|
# @return [Array<String>]
|
186
209
|
#
|
187
210
|
# @!attribute [rw] subnet_group_name
|
@@ -958,6 +981,25 @@ module Aws::DAX
|
|
958
981
|
include Aws::Structure
|
959
982
|
end
|
960
983
|
|
984
|
+
# There are not enough system resources to create the cluster you
|
985
|
+
# requested (or to resize an already-existing cluster).
|
986
|
+
#
|
987
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/InsufficientClusterCapacityFault AWS API Documentation
|
988
|
+
#
|
989
|
+
class InsufficientClusterCapacityFault < Aws::EmptyStructure; end
|
990
|
+
|
991
|
+
# The Amazon Resource Name (ARN) supplied in the request is not valid.
|
992
|
+
#
|
993
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/InvalidARNFault AWS API Documentation
|
994
|
+
#
|
995
|
+
class InvalidARNFault < Aws::EmptyStructure; end
|
996
|
+
|
997
|
+
# The requested DAX cluster is not in the *available* state.
|
998
|
+
#
|
999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/InvalidClusterStateFault AWS API Documentation
|
1000
|
+
#
|
1001
|
+
class InvalidClusterStateFault < Aws::EmptyStructure; end
|
1002
|
+
|
961
1003
|
# Two or more incompatible parameters were specified.
|
962
1004
|
#
|
963
1005
|
# @!attribute [rw] message
|
@@ -970,6 +1012,12 @@ module Aws::DAX
|
|
970
1012
|
include Aws::Structure
|
971
1013
|
end
|
972
1014
|
|
1015
|
+
# One or more parameters in a parameter group are in an invalid state.
|
1016
|
+
#
|
1017
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/InvalidParameterGroupStateFault AWS API Documentation
|
1018
|
+
#
|
1019
|
+
class InvalidParameterGroupStateFault < Aws::EmptyStructure; end
|
1020
|
+
|
973
1021
|
# The value for a parameter is invalid.
|
974
1022
|
#
|
975
1023
|
# @!attribute [rw] message
|
@@ -982,6 +1030,18 @@ module Aws::DAX
|
|
982
1030
|
include Aws::Structure
|
983
1031
|
end
|
984
1032
|
|
1033
|
+
# An invalid subnet identifier was specified.
|
1034
|
+
#
|
1035
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/InvalidSubnet AWS API Documentation
|
1036
|
+
#
|
1037
|
+
class InvalidSubnet < Aws::EmptyStructure; end
|
1038
|
+
|
1039
|
+
# The VPC network is in an invalid state.
|
1040
|
+
#
|
1041
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/InvalidVPCNetworkStateFault AWS API Documentation
|
1042
|
+
#
|
1043
|
+
class InvalidVPCNetworkStateFault < Aws::EmptyStructure; end
|
1044
|
+
|
985
1045
|
# @note When making an API call, you may pass ListTagsRequest
|
986
1046
|
# data as a hash:
|
987
1047
|
#
|
@@ -1069,6 +1129,26 @@ module Aws::DAX
|
|
1069
1129
|
include Aws::Structure
|
1070
1130
|
end
|
1071
1131
|
|
1132
|
+
# None of the nodes in the cluster have the given node ID.
|
1133
|
+
#
|
1134
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/NodeNotFoundFault AWS API Documentation
|
1135
|
+
#
|
1136
|
+
class NodeNotFoundFault < Aws::EmptyStructure; end
|
1137
|
+
|
1138
|
+
# You have attempted to exceed the maximum number of nodes for a DAX
|
1139
|
+
# cluster.
|
1140
|
+
#
|
1141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/NodeQuotaForClusterExceededFault AWS API Documentation
|
1142
|
+
#
|
1143
|
+
class NodeQuotaForClusterExceededFault < Aws::EmptyStructure; end
|
1144
|
+
|
1145
|
+
# You have attempted to exceed the maximum number of nodes for your AWS
|
1146
|
+
# account.
|
1147
|
+
#
|
1148
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/NodeQuotaForCustomerExceededFault AWS API Documentation
|
1149
|
+
#
|
1150
|
+
class NodeQuotaForCustomerExceededFault < Aws::EmptyStructure; end
|
1151
|
+
|
1072
1152
|
# Represents a parameter value that is applicable to a particular node
|
1073
1153
|
# type.
|
1074
1154
|
#
|
@@ -1190,6 +1270,24 @@ module Aws::DAX
|
|
1190
1270
|
include Aws::Structure
|
1191
1271
|
end
|
1192
1272
|
|
1273
|
+
# The specified parameter group already exists.
|
1274
|
+
#
|
1275
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ParameterGroupAlreadyExistsFault AWS API Documentation
|
1276
|
+
#
|
1277
|
+
class ParameterGroupAlreadyExistsFault < Aws::EmptyStructure; end
|
1278
|
+
|
1279
|
+
# The specified parameter group does not exist.
|
1280
|
+
#
|
1281
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ParameterGroupNotFoundFault AWS API Documentation
|
1282
|
+
#
|
1283
|
+
class ParameterGroupNotFoundFault < Aws::EmptyStructure; end
|
1284
|
+
|
1285
|
+
# You have attempted to exceed the maximum number of parameter groups.
|
1286
|
+
#
|
1287
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ParameterGroupQuotaExceededFault AWS API Documentation
|
1288
|
+
#
|
1289
|
+
class ParameterGroupQuotaExceededFault < Aws::EmptyStructure; end
|
1290
|
+
|
1193
1291
|
# The status of a parameter group.
|
1194
1292
|
#
|
1195
1293
|
# @!attribute [rw] parameter_group_name
|
@@ -1335,6 +1433,12 @@ module Aws::DAX
|
|
1335
1433
|
include Aws::Structure
|
1336
1434
|
end
|
1337
1435
|
|
1436
|
+
# The specified service linked role (SLR) was not found.
|
1437
|
+
#
|
1438
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ServiceLinkedRoleNotFoundFault AWS API Documentation
|
1439
|
+
#
|
1440
|
+
class ServiceLinkedRoleNotFoundFault < Aws::EmptyStructure; end
|
1441
|
+
|
1338
1442
|
# Represents the subnet associated with a DAX cluster. This parameter
|
1339
1443
|
# refers to subnets defined in Amazon Virtual Private Cloud (Amazon VPC)
|
1340
1444
|
# and used with DAX.
|
@@ -1344,7 +1448,7 @@ module Aws::DAX
|
|
1344
1448
|
# @return [String]
|
1345
1449
|
#
|
1346
1450
|
# @!attribute [rw] subnet_availability_zone
|
1347
|
-
# The Availability Zone (AZ) for
|
1451
|
+
# The Availability Zone (AZ) for the subnet.
|
1348
1452
|
# @return [String]
|
1349
1453
|
#
|
1350
1454
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/Subnet AWS API Documentation
|
@@ -1388,6 +1492,45 @@ module Aws::DAX
|
|
1388
1492
|
include Aws::Structure
|
1389
1493
|
end
|
1390
1494
|
|
1495
|
+
# The specified subnet group already exists.
|
1496
|
+
#
|
1497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/SubnetGroupAlreadyExistsFault AWS API Documentation
|
1498
|
+
#
|
1499
|
+
class SubnetGroupAlreadyExistsFault < Aws::EmptyStructure; end
|
1500
|
+
|
1501
|
+
# The specified subnet group is currently in use.
|
1502
|
+
#
|
1503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/SubnetGroupInUseFault AWS API Documentation
|
1504
|
+
#
|
1505
|
+
class SubnetGroupInUseFault < Aws::EmptyStructure; end
|
1506
|
+
|
1507
|
+
# The requested subnet group name does not refer to an existing subnet
|
1508
|
+
# group.
|
1509
|
+
#
|
1510
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/SubnetGroupNotFoundFault AWS API Documentation
|
1511
|
+
#
|
1512
|
+
class SubnetGroupNotFoundFault < Aws::EmptyStructure; end
|
1513
|
+
|
1514
|
+
# The request cannot be processed because it would exceed the allowed
|
1515
|
+
# number of subnets in a subnet group.
|
1516
|
+
#
|
1517
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/SubnetGroupQuotaExceededFault AWS API Documentation
|
1518
|
+
#
|
1519
|
+
class SubnetGroupQuotaExceededFault < Aws::EmptyStructure; end
|
1520
|
+
|
1521
|
+
# The requested subnet is being used by another subnet group.
|
1522
|
+
#
|
1523
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/SubnetInUse AWS API Documentation
|
1524
|
+
#
|
1525
|
+
class SubnetInUse < Aws::EmptyStructure; end
|
1526
|
+
|
1527
|
+
# The request cannot be processed because it would exceed the allowed
|
1528
|
+
# number of subnets in a subnet group.
|
1529
|
+
#
|
1530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/SubnetQuotaExceededFault AWS API Documentation
|
1531
|
+
#
|
1532
|
+
class SubnetQuotaExceededFault < Aws::EmptyStructure; end
|
1533
|
+
|
1391
1534
|
# A description of a tag. Every tag is a key-value pair. You can add up
|
1392
1535
|
# to 50 tags to a single DAX cluster.
|
1393
1536
|
#
|
@@ -1425,6 +1568,18 @@ module Aws::DAX
|
|
1425
1568
|
include Aws::Structure
|
1426
1569
|
end
|
1427
1570
|
|
1571
|
+
# The tag does not exist.
|
1572
|
+
#
|
1573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/TagNotFoundFault AWS API Documentation
|
1574
|
+
#
|
1575
|
+
class TagNotFoundFault < Aws::EmptyStructure; end
|
1576
|
+
|
1577
|
+
# You have exceeded the maximum number of tags for this DAX cluster.
|
1578
|
+
#
|
1579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/TagQuotaPerResourceExceeded AWS API Documentation
|
1580
|
+
#
|
1581
|
+
class TagQuotaPerResourceExceeded < Aws::EmptyStructure; end
|
1582
|
+
|
1428
1583
|
# @note When making an API call, you may pass TagResourceRequest
|
1429
1584
|
# data as a hash:
|
1430
1585
|
#
|
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.22.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: 2020-05-28 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.71.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.71.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - Amazon DAX
|