aws-sdk-dax 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b6a8db31999d3d4309f09ea9ef3d1c352e46911f
4
- data.tar.gz: 57435273e9431589a6fe91ee02e1bcca14af9f74
2
+ SHA256:
3
+ metadata.gz: d98ca1af069643dd21c60d2a2514d2c23deac462262cea5054c1f1c8e7f66e97
4
+ data.tar.gz: bbffef82422f734483f1fe844fd47cd904d8c38ee4ced97f872fba4db12b6731
5
5
  SHA512:
6
- metadata.gz: 8569d7fe52dc8daad1801c26d9880ee683c8cc5178aaa654bca369aa3f7947179b88e2c887bcb14b6c49c5db27e702dcbccd022b3fa70073c401cadf855654c2
7
- data.tar.gz: 93836e177c5854e2c90509cd0bc355a17bfc60d5ab2313339f49e2138395f955660b20031c936c4892ffa918af8c18e6b88406820dfd86c93bdb0cf492214b66
6
+ metadata.gz: 6feb7386c1624154ed4e9a8d86fe75068d25e18350a01b5e6439220aa4a9fed8f3e37bba681746505ca98953a9cb3dcac4ba1ee3ea1ed4d3579c26011b412a4c
7
+ data.tar.gz: 19403e2496bb8ca8da5983138c9da5bacb374c410ff6cd0da8350e6df93b943345de7afffa9b11466611ba96c2f1150e19b9660dfad5619f3779025bc6d4ba6c
@@ -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) all
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 service API errors
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.19.0'
48
+ GEM_VERSION = '1.20.0'
46
49
 
47
50
  end
@@ -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
@@ -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.
@@ -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. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
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 and auth
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) used by the default backoff function.
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,16 @@ 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 rasing a
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
282
  # safely be set
228
- # per-request on the session yeidled by {#session_for}.
283
+ # per-request on the session yielded by {#session_for}.
229
284
  #
230
285
  # @option options [Float] :http_idle_timeout (5) The number of
231
- # seconds a connection is allowed to sit idble before it is
286
+ # seconds a connection is allowed to sit idle before it is
232
287
  # considered stale. Stale connections are closed and removed
233
288
  # from the pool before making a request.
234
289
  #
@@ -237,7 +292,7 @@ module Aws::DAX
237
292
  # request body. This option has no effect unless the request has
238
293
  # "Expect" header set to "100-continue". Defaults to `nil` which
239
294
  # disables this behaviour. This value can safely be set per
240
- # request on the session yeidled by {#session_for}.
295
+ # request on the session yielded by {#session_for}.
241
296
  #
242
297
  # @option options [Boolean] :http_wire_trace (false) When `true`,
243
298
  # HTTP debug output will be sent to the `:logger`.
@@ -1551,7 +1606,7 @@ module Aws::DAX
1551
1606
  params: params,
1552
1607
  config: config)
1553
1608
  context[:gem_name] = 'aws-sdk-dax'
1554
- context[:gem_version] = '1.19.0'
1609
+ context[:gem_version] = '1.20.0'
1555
1610
  Seahorse::Client::Request.new(handlers, context)
1556
1611
  end
1557
1612
 
@@ -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
@@ -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
@@ -6,6 +6,13 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::DAX
9
+ # This class provides a resource oriented interface for DAX.
10
+ # To create a resource object:
11
+ # resource = Aws::DAX::Resource.new(region: 'us-west-2')
12
+ # You can supply a client object with custom configuration that will be used for all resource operations.
13
+ # If you do not pass +:client+, a default client will be constructed.
14
+ # client = Aws::DAX::Client.new(region: 'us-west-2')
15
+ # resource = Aws::DAX::Resource.new(client: client)
9
16
  class Resource
10
17
 
11
18
  # @param options ({})
@@ -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
  #
@@ -962,6 +981,25 @@ module Aws::DAX
962
981
  include Aws::Structure
963
982
  end
964
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
+
965
1003
  # Two or more incompatible parameters were specified.
966
1004
  #
967
1005
  # @!attribute [rw] message
@@ -974,6 +1012,12 @@ module Aws::DAX
974
1012
  include Aws::Structure
975
1013
  end
976
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
+
977
1021
  # The value for a parameter is invalid.
978
1022
  #
979
1023
  # @!attribute [rw] message
@@ -986,6 +1030,18 @@ module Aws::DAX
986
1030
  include Aws::Structure
987
1031
  end
988
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
+
989
1045
  # @note When making an API call, you may pass ListTagsRequest
990
1046
  # data as a hash:
991
1047
  #
@@ -1073,6 +1129,26 @@ module Aws::DAX
1073
1129
  include Aws::Structure
1074
1130
  end
1075
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
+
1076
1152
  # Represents a parameter value that is applicable to a particular node
1077
1153
  # type.
1078
1154
  #
@@ -1194,6 +1270,24 @@ module Aws::DAX
1194
1270
  include Aws::Structure
1195
1271
  end
1196
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
+
1197
1291
  # The status of a parameter group.
1198
1292
  #
1199
1293
  # @!attribute [rw] parameter_group_name
@@ -1339,6 +1433,12 @@ module Aws::DAX
1339
1433
  include Aws::Structure
1340
1434
  end
1341
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
+
1342
1442
  # Represents the subnet associated with a DAX cluster. This parameter
1343
1443
  # refers to subnets defined in Amazon Virtual Private Cloud (Amazon VPC)
1344
1444
  # and used with DAX.
@@ -1392,6 +1492,45 @@ module Aws::DAX
1392
1492
  include Aws::Structure
1393
1493
  end
1394
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
+
1395
1534
  # A description of a tag. Every tag is a key-value pair. You can add up
1396
1535
  # to 50 tags to a single DAX cluster.
1397
1536
  #
@@ -1429,6 +1568,18 @@ module Aws::DAX
1429
1568
  include Aws::Structure
1430
1569
  end
1431
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
+
1432
1583
  # @note When making an API call, you may pass TagResourceRequest
1433
1584
  # data as a hash:
1434
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.19.0
4
+ version: 1.20.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: 2019-11-04 00:00:00.000000000 Z
11
+ date: 2020-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -80,8 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.5.2.3
83
+ rubygems_version: 3.0.3
85
84
  signing_key:
86
85
  specification_version: 4
87
86
  summary: AWS SDK for Ruby - Amazon DAX