aws-sdk-dsql 1.0.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 +7 -0
- data/CHANGELOG.md +9 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-dsql/client.rb +1143 -0
- data/lib/aws-sdk-dsql/client_api.rb +377 -0
- data/lib/aws-sdk-dsql/customizations/auth_token_generator.rb +70 -0
- data/lib/aws-sdk-dsql/customizations.rb +3 -0
- data/lib/aws-sdk-dsql/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-dsql/endpoint_provider.rb +35 -0
- data/lib/aws-sdk-dsql/endpoints.rb +20 -0
- data/lib/aws-sdk-dsql/errors.rb +232 -0
- data/lib/aws-sdk-dsql/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-dsql/resource.rb +26 -0
- data/lib/aws-sdk-dsql/types.rb +682 -0
- data/lib/aws-sdk-dsql/waiters.rb +150 -0
- data/lib/aws-sdk-dsql.rb +62 -0
- data/sig/client.rbs +214 -0
- data/sig/errors.rbs +51 -0
- data/sig/resource.rbs +82 -0
- data/sig/types.rbs +196 -0
- data/sig/waiters.rbs +33 -0
- metadata +101 -0
@@ -0,0 +1,682 @@
|
|
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::DSQL
|
11
|
+
module Types
|
12
|
+
|
13
|
+
# You do not have sufficient access to perform this action.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/AccessDeniedException AWS API Documentation
|
19
|
+
#
|
20
|
+
class AccessDeniedException < Struct.new(
|
21
|
+
:message)
|
22
|
+
SENSITIVE = []
|
23
|
+
include Aws::Structure
|
24
|
+
end
|
25
|
+
|
26
|
+
# A summary of the properties of a cluster.
|
27
|
+
#
|
28
|
+
# @!attribute [rw] identifier
|
29
|
+
# The ID of the cluster.
|
30
|
+
# @return [String]
|
31
|
+
#
|
32
|
+
# @!attribute [rw] arn
|
33
|
+
# The ARN of the cluster.
|
34
|
+
# @return [String]
|
35
|
+
#
|
36
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ClusterSummary AWS API Documentation
|
37
|
+
#
|
38
|
+
class ClusterSummary < Struct.new(
|
39
|
+
:identifier,
|
40
|
+
:arn)
|
41
|
+
SENSITIVE = []
|
42
|
+
include Aws::Structure
|
43
|
+
end
|
44
|
+
|
45
|
+
# The submitted action has conflicts.
|
46
|
+
#
|
47
|
+
# @!attribute [rw] message
|
48
|
+
# @return [String]
|
49
|
+
#
|
50
|
+
# @!attribute [rw] resource_id
|
51
|
+
# Resource Id
|
52
|
+
# @return [String]
|
53
|
+
#
|
54
|
+
# @!attribute [rw] resource_type
|
55
|
+
# Resource Type
|
56
|
+
# @return [String]
|
57
|
+
#
|
58
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ConflictException AWS API Documentation
|
59
|
+
#
|
60
|
+
class ConflictException < Struct.new(
|
61
|
+
:message,
|
62
|
+
:resource_id,
|
63
|
+
:resource_type)
|
64
|
+
SENSITIVE = []
|
65
|
+
include Aws::Structure
|
66
|
+
end
|
67
|
+
|
68
|
+
# @!attribute [rw] deletion_protection_enabled
|
69
|
+
# If enabled, you can't delete your cluster. You must first disable
|
70
|
+
# this property before you can delete your cluster.
|
71
|
+
# @return [Boolean]
|
72
|
+
#
|
73
|
+
# @!attribute [rw] tags
|
74
|
+
# A map of key and value pairs to use to tag your cluster.
|
75
|
+
# @return [Hash<String,String>]
|
76
|
+
#
|
77
|
+
# @!attribute [rw] client_token
|
78
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
79
|
+
# idempotency of the request. Idempotency ensures that an API request
|
80
|
+
# completes only once. With an idempotent request, if the original
|
81
|
+
# request completes successfully, the subsequent retries with the same
|
82
|
+
# client token return the result from the original successful request
|
83
|
+
# and they have no additional effect.
|
84
|
+
#
|
85
|
+
# If you don't specify a client token, the Amazon Web Services SDK
|
86
|
+
# automatically generates one.
|
87
|
+
#
|
88
|
+
# **A suitable default value is auto-generated.** You should normally
|
89
|
+
# not need to pass this option.
|
90
|
+
# @return [String]
|
91
|
+
#
|
92
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/CreateClusterInput AWS API Documentation
|
93
|
+
#
|
94
|
+
class CreateClusterInput < Struct.new(
|
95
|
+
:deletion_protection_enabled,
|
96
|
+
:tags,
|
97
|
+
:client_token)
|
98
|
+
SENSITIVE = []
|
99
|
+
include Aws::Structure
|
100
|
+
end
|
101
|
+
|
102
|
+
# Output Mixin
|
103
|
+
#
|
104
|
+
# @!attribute [rw] identifier
|
105
|
+
# The ID of the created cluster.
|
106
|
+
# @return [String]
|
107
|
+
#
|
108
|
+
# @!attribute [rw] arn
|
109
|
+
# The ARN of the created cluster.
|
110
|
+
# @return [String]
|
111
|
+
#
|
112
|
+
# @!attribute [rw] status
|
113
|
+
# The status of the created cluster.
|
114
|
+
# @return [String]
|
115
|
+
#
|
116
|
+
# @!attribute [rw] creation_time
|
117
|
+
# The time of when created the cluster.
|
118
|
+
# @return [Time]
|
119
|
+
#
|
120
|
+
# @!attribute [rw] deletion_protection_enabled
|
121
|
+
# Whether deletion protection is enabled on this cluster.
|
122
|
+
# @return [Boolean]
|
123
|
+
#
|
124
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/CreateClusterOutput AWS API Documentation
|
125
|
+
#
|
126
|
+
class CreateClusterOutput < Struct.new(
|
127
|
+
:identifier,
|
128
|
+
:arn,
|
129
|
+
:status,
|
130
|
+
:creation_time,
|
131
|
+
:deletion_protection_enabled)
|
132
|
+
SENSITIVE = []
|
133
|
+
include Aws::Structure
|
134
|
+
end
|
135
|
+
|
136
|
+
# @!attribute [rw] linked_region_list
|
137
|
+
# An array of the Regions in which you want to create additional
|
138
|
+
# clusters.
|
139
|
+
# @return [Array<String>]
|
140
|
+
#
|
141
|
+
# @!attribute [rw] cluster_properties
|
142
|
+
# A mapping of properties to use when creating linked clusters.
|
143
|
+
# @return [Hash<String,Types::LinkedClusterProperties>]
|
144
|
+
#
|
145
|
+
# @!attribute [rw] witness_region
|
146
|
+
# The witness Region of multi-Region clusters.
|
147
|
+
# @return [String]
|
148
|
+
#
|
149
|
+
# @!attribute [rw] client_token
|
150
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
151
|
+
# idempotency of the request. Idempotency ensures that an API request
|
152
|
+
# completes only once. With an idempotent request, if the original
|
153
|
+
# request completes successfully. The subsequent retries with the same
|
154
|
+
# client token return the result from the original successful request
|
155
|
+
# and they have no additional effect.
|
156
|
+
#
|
157
|
+
# If you don't specify a client token, the Amazon Web Services SDK
|
158
|
+
# automatically generates one.
|
159
|
+
#
|
160
|
+
# **A suitable default value is auto-generated.** You should normally
|
161
|
+
# not need to pass this option.
|
162
|
+
# @return [String]
|
163
|
+
#
|
164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/CreateMultiRegionClustersInput AWS API Documentation
|
165
|
+
#
|
166
|
+
class CreateMultiRegionClustersInput < Struct.new(
|
167
|
+
:linked_region_list,
|
168
|
+
:cluster_properties,
|
169
|
+
:witness_region,
|
170
|
+
:client_token)
|
171
|
+
SENSITIVE = []
|
172
|
+
include Aws::Structure
|
173
|
+
end
|
174
|
+
|
175
|
+
# @!attribute [rw] linked_cluster_arns
|
176
|
+
# An array that contains the ARNs of all linked clusters.
|
177
|
+
# @return [Array<String>]
|
178
|
+
#
|
179
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/CreateMultiRegionClustersOutput AWS API Documentation
|
180
|
+
#
|
181
|
+
class CreateMultiRegionClustersOutput < Struct.new(
|
182
|
+
:linked_cluster_arns)
|
183
|
+
SENSITIVE = []
|
184
|
+
include Aws::Structure
|
185
|
+
end
|
186
|
+
|
187
|
+
# @!attribute [rw] identifier
|
188
|
+
# The ID of the cluster to delete.
|
189
|
+
# @return [String]
|
190
|
+
#
|
191
|
+
# @!attribute [rw] client_token
|
192
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
193
|
+
# idempotency of the request. Idempotency ensures that an API request
|
194
|
+
# completes only once. With an idempotent request, if the original
|
195
|
+
# request completes successfully. The subsequent retries with the same
|
196
|
+
# client token return the result from the original successful request
|
197
|
+
# and they have no additional effect.
|
198
|
+
#
|
199
|
+
# If you don't specify a client token, the Amazon Web Services SDK
|
200
|
+
# automatically generates one.
|
201
|
+
#
|
202
|
+
# **A suitable default value is auto-generated.** You should normally
|
203
|
+
# not need to pass this option.
|
204
|
+
# @return [String]
|
205
|
+
#
|
206
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/DeleteClusterInput AWS API Documentation
|
207
|
+
#
|
208
|
+
class DeleteClusterInput < Struct.new(
|
209
|
+
:identifier,
|
210
|
+
:client_token)
|
211
|
+
SENSITIVE = []
|
212
|
+
include Aws::Structure
|
213
|
+
end
|
214
|
+
|
215
|
+
# Output Mixin
|
216
|
+
#
|
217
|
+
# @!attribute [rw] identifier
|
218
|
+
# The ID of the deleted cluster.
|
219
|
+
# @return [String]
|
220
|
+
#
|
221
|
+
# @!attribute [rw] arn
|
222
|
+
# The ARN of the deleted cluster.
|
223
|
+
# @return [String]
|
224
|
+
#
|
225
|
+
# @!attribute [rw] status
|
226
|
+
# The status of the cluster.
|
227
|
+
# @return [String]
|
228
|
+
#
|
229
|
+
# @!attribute [rw] creation_time
|
230
|
+
# The time of when the cluster was created.
|
231
|
+
# @return [Time]
|
232
|
+
#
|
233
|
+
# @!attribute [rw] deletion_protection_enabled
|
234
|
+
# Specifies whether deletion protection was enabled on the cluster.
|
235
|
+
# @return [Boolean]
|
236
|
+
#
|
237
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/DeleteClusterOutput AWS API Documentation
|
238
|
+
#
|
239
|
+
class DeleteClusterOutput < Struct.new(
|
240
|
+
:identifier,
|
241
|
+
:arn,
|
242
|
+
:status,
|
243
|
+
:creation_time,
|
244
|
+
:deletion_protection_enabled)
|
245
|
+
SENSITIVE = []
|
246
|
+
include Aws::Structure
|
247
|
+
end
|
248
|
+
|
249
|
+
# @!attribute [rw] linked_cluster_arns
|
250
|
+
# The ARNs of the clusters linked to the cluster you want to delete.
|
251
|
+
# also deletes these clusters as part of the operation.
|
252
|
+
# @return [Array<String>]
|
253
|
+
#
|
254
|
+
# @!attribute [rw] client_token
|
255
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
256
|
+
# idempotency of the request. Idempotency ensures that an API request
|
257
|
+
# completes only once. With an idempotent request, if the original
|
258
|
+
# request completes successfully. The subsequent retries with the same
|
259
|
+
# client token return the result from the original successful request
|
260
|
+
# and they have no additional effect.
|
261
|
+
#
|
262
|
+
# If you don't specify a client token, the Amazon Web Services SDK
|
263
|
+
# automatically generates one.
|
264
|
+
#
|
265
|
+
# **A suitable default value is auto-generated.** You should normally
|
266
|
+
# not need to pass this option.
|
267
|
+
# @return [String]
|
268
|
+
#
|
269
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/DeleteMultiRegionClustersInput AWS API Documentation
|
270
|
+
#
|
271
|
+
class DeleteMultiRegionClustersInput < Struct.new(
|
272
|
+
:linked_cluster_arns,
|
273
|
+
:client_token)
|
274
|
+
SENSITIVE = []
|
275
|
+
include Aws::Structure
|
276
|
+
end
|
277
|
+
|
278
|
+
# @!attribute [rw] identifier
|
279
|
+
# The ID of the cluster to retrieve.
|
280
|
+
# @return [String]
|
281
|
+
#
|
282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/GetClusterInput AWS API Documentation
|
283
|
+
#
|
284
|
+
class GetClusterInput < Struct.new(
|
285
|
+
:identifier)
|
286
|
+
SENSITIVE = []
|
287
|
+
include Aws::Structure
|
288
|
+
end
|
289
|
+
|
290
|
+
# Output Mixin
|
291
|
+
#
|
292
|
+
# @!attribute [rw] identifier
|
293
|
+
# The ID of the retrieved cluster.
|
294
|
+
# @return [String]
|
295
|
+
#
|
296
|
+
# @!attribute [rw] arn
|
297
|
+
# The ARN of the retrieved cluster.
|
298
|
+
# @return [String]
|
299
|
+
#
|
300
|
+
# @!attribute [rw] status
|
301
|
+
# The status of the retrieved cluster.
|
302
|
+
# @return [String]
|
303
|
+
#
|
304
|
+
# @!attribute [rw] creation_time
|
305
|
+
# The time of when the cluster was created.
|
306
|
+
# @return [Time]
|
307
|
+
#
|
308
|
+
# @!attribute [rw] deletion_protection_enabled
|
309
|
+
# Whether deletion protection is enabled in this cluster.
|
310
|
+
# @return [Boolean]
|
311
|
+
#
|
312
|
+
# @!attribute [rw] witness_region
|
313
|
+
# The witness Region of the cluster. Applicable only for multi-Region
|
314
|
+
# clusters.
|
315
|
+
# @return [String]
|
316
|
+
#
|
317
|
+
# @!attribute [rw] linked_cluster_arns
|
318
|
+
# The ARNs of the clusters linked to the retrieved cluster.
|
319
|
+
# @return [Array<String>]
|
320
|
+
#
|
321
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/GetClusterOutput AWS API Documentation
|
322
|
+
#
|
323
|
+
class GetClusterOutput < Struct.new(
|
324
|
+
:identifier,
|
325
|
+
:arn,
|
326
|
+
:status,
|
327
|
+
:creation_time,
|
328
|
+
:deletion_protection_enabled,
|
329
|
+
:witness_region,
|
330
|
+
:linked_cluster_arns)
|
331
|
+
SENSITIVE = []
|
332
|
+
include Aws::Structure
|
333
|
+
end
|
334
|
+
|
335
|
+
# The request processing has failed because of an unknown error,
|
336
|
+
# exception or failure.
|
337
|
+
#
|
338
|
+
# @!attribute [rw] message
|
339
|
+
# @return [String]
|
340
|
+
#
|
341
|
+
# @!attribute [rw] retry_after_seconds
|
342
|
+
# Retry after seconds.
|
343
|
+
# @return [Integer]
|
344
|
+
#
|
345
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/InternalServerException AWS API Documentation
|
346
|
+
#
|
347
|
+
class InternalServerException < Struct.new(
|
348
|
+
:message,
|
349
|
+
:retry_after_seconds)
|
350
|
+
SENSITIVE = []
|
351
|
+
include Aws::Structure
|
352
|
+
end
|
353
|
+
|
354
|
+
# Properties of linked clusters.
|
355
|
+
#
|
356
|
+
# @!attribute [rw] deletion_protection_enabled
|
357
|
+
# Whether deletion protection is enabled.
|
358
|
+
# @return [Boolean]
|
359
|
+
#
|
360
|
+
# @!attribute [rw] tags
|
361
|
+
# A map of key and value pairs the linked cluster is tagged with.
|
362
|
+
# @return [Hash<String,String>]
|
363
|
+
#
|
364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/LinkedClusterProperties AWS API Documentation
|
365
|
+
#
|
366
|
+
class LinkedClusterProperties < Struct.new(
|
367
|
+
:deletion_protection_enabled,
|
368
|
+
:tags)
|
369
|
+
SENSITIVE = []
|
370
|
+
include Aws::Structure
|
371
|
+
end
|
372
|
+
|
373
|
+
# @!attribute [rw] max_results
|
374
|
+
# An optional parameter that specifies the maximum number of results
|
375
|
+
# to return. You can use nextToken to display the next page of
|
376
|
+
# results.
|
377
|
+
# @return [Integer]
|
378
|
+
#
|
379
|
+
# @!attribute [rw] next_token
|
380
|
+
# If your initial ListClusters operation returns a nextToken, you can
|
381
|
+
# include the returned nextToken in following ListClusters operations,
|
382
|
+
# which returns results in the next page.
|
383
|
+
# @return [String]
|
384
|
+
#
|
385
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ListClustersInput AWS API Documentation
|
386
|
+
#
|
387
|
+
class ListClustersInput < Struct.new(
|
388
|
+
:max_results,
|
389
|
+
:next_token)
|
390
|
+
SENSITIVE = []
|
391
|
+
include Aws::Structure
|
392
|
+
end
|
393
|
+
|
394
|
+
# @!attribute [rw] next_token
|
395
|
+
# If nextToken is returned, there are more results available. The
|
396
|
+
# value of nextToken is a unique pagination token for each page. To
|
397
|
+
# retrieve the next page, make the call again using the returned
|
398
|
+
# token.
|
399
|
+
# @return [String]
|
400
|
+
#
|
401
|
+
# @!attribute [rw] clusters
|
402
|
+
# An array of the returned clusters.
|
403
|
+
# @return [Array<Types::ClusterSummary>]
|
404
|
+
#
|
405
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ListClustersOutput AWS API Documentation
|
406
|
+
#
|
407
|
+
class ListClustersOutput < Struct.new(
|
408
|
+
:next_token,
|
409
|
+
:clusters)
|
410
|
+
SENSITIVE = []
|
411
|
+
include Aws::Structure
|
412
|
+
end
|
413
|
+
|
414
|
+
# @!attribute [rw] resource_arn
|
415
|
+
# The ARN of the resource for which you want to list the tags.
|
416
|
+
# @return [String]
|
417
|
+
#
|
418
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ListTagsForResourceInput AWS API Documentation
|
419
|
+
#
|
420
|
+
class ListTagsForResourceInput < Struct.new(
|
421
|
+
:resource_arn)
|
422
|
+
SENSITIVE = []
|
423
|
+
include Aws::Structure
|
424
|
+
end
|
425
|
+
|
426
|
+
# @!attribute [rw] tags
|
427
|
+
# A map of key and value pairs that you used to tag your resource.
|
428
|
+
# @return [Hash<String,String>]
|
429
|
+
#
|
430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ListTagsForResourceOutput AWS API Documentation
|
431
|
+
#
|
432
|
+
class ListTagsForResourceOutput < Struct.new(
|
433
|
+
:tags)
|
434
|
+
SENSITIVE = []
|
435
|
+
include Aws::Structure
|
436
|
+
end
|
437
|
+
|
438
|
+
# The resource could not be found.
|
439
|
+
#
|
440
|
+
# @!attribute [rw] message
|
441
|
+
# @return [String]
|
442
|
+
#
|
443
|
+
# @!attribute [rw] resource_id
|
444
|
+
# Hypothetical identifier of the resource which does not exist
|
445
|
+
# @return [String]
|
446
|
+
#
|
447
|
+
# @!attribute [rw] resource_type
|
448
|
+
# Hypothetical type of the resource which does not exist
|
449
|
+
# @return [String]
|
450
|
+
#
|
451
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ResourceNotFoundException AWS API Documentation
|
452
|
+
#
|
453
|
+
class ResourceNotFoundException < Struct.new(
|
454
|
+
:message,
|
455
|
+
:resource_id,
|
456
|
+
:resource_type)
|
457
|
+
SENSITIVE = []
|
458
|
+
include Aws::Structure
|
459
|
+
end
|
460
|
+
|
461
|
+
# The service limit was exceeded.
|
462
|
+
#
|
463
|
+
# @!attribute [rw] message
|
464
|
+
# Description of the error
|
465
|
+
# @return [String]
|
466
|
+
#
|
467
|
+
# @!attribute [rw] resource_id
|
468
|
+
# Identifier of the resource affected
|
469
|
+
# @return [String]
|
470
|
+
#
|
471
|
+
# @!attribute [rw] resource_type
|
472
|
+
# Type of the resource affected
|
473
|
+
# @return [String]
|
474
|
+
#
|
475
|
+
# @!attribute [rw] service_code
|
476
|
+
# Service Quotas requirement to identify originating service
|
477
|
+
# @return [String]
|
478
|
+
#
|
479
|
+
# @!attribute [rw] quota_code
|
480
|
+
# Service Quotas requirement to identify originating quota
|
481
|
+
# @return [String]
|
482
|
+
#
|
483
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ServiceQuotaExceededException AWS API Documentation
|
484
|
+
#
|
485
|
+
class ServiceQuotaExceededException < Struct.new(
|
486
|
+
:message,
|
487
|
+
:resource_id,
|
488
|
+
:resource_type,
|
489
|
+
:service_code,
|
490
|
+
:quota_code)
|
491
|
+
SENSITIVE = []
|
492
|
+
include Aws::Structure
|
493
|
+
end
|
494
|
+
|
495
|
+
# @!attribute [rw] resource_arn
|
496
|
+
# The ARN of the resource that you want to tag.
|
497
|
+
# @return [String]
|
498
|
+
#
|
499
|
+
# @!attribute [rw] tags
|
500
|
+
# A map of key and value pairs to use to tag your resource.
|
501
|
+
# @return [Hash<String,String>]
|
502
|
+
#
|
503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/TagResourceInput AWS API Documentation
|
504
|
+
#
|
505
|
+
class TagResourceInput < Struct.new(
|
506
|
+
:resource_arn,
|
507
|
+
:tags)
|
508
|
+
SENSITIVE = []
|
509
|
+
include Aws::Structure
|
510
|
+
end
|
511
|
+
|
512
|
+
# The request was denied due to request throttling.
|
513
|
+
#
|
514
|
+
# @!attribute [rw] message
|
515
|
+
# Description of the error
|
516
|
+
# @return [String]
|
517
|
+
#
|
518
|
+
# @!attribute [rw] service_code
|
519
|
+
# Service Quotas requirement to identify originating service
|
520
|
+
# @return [String]
|
521
|
+
#
|
522
|
+
# @!attribute [rw] quota_code
|
523
|
+
# Service Quotas requirement to identify originating quota
|
524
|
+
# @return [String]
|
525
|
+
#
|
526
|
+
# @!attribute [rw] retry_after_seconds
|
527
|
+
# Advice to clients on when the call can be safely retried
|
528
|
+
# @return [Integer]
|
529
|
+
#
|
530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ThrottlingException AWS API Documentation
|
531
|
+
#
|
532
|
+
class ThrottlingException < Struct.new(
|
533
|
+
:message,
|
534
|
+
:service_code,
|
535
|
+
:quota_code,
|
536
|
+
:retry_after_seconds)
|
537
|
+
SENSITIVE = []
|
538
|
+
include Aws::Structure
|
539
|
+
end
|
540
|
+
|
541
|
+
# @!attribute [rw] resource_arn
|
542
|
+
# The ARN of the resource from which to remove tags.
|
543
|
+
# @return [String]
|
544
|
+
#
|
545
|
+
# @!attribute [rw] tag_keys
|
546
|
+
# The array of keys of the tags that you want to remove.
|
547
|
+
# @return [Array<String>]
|
548
|
+
#
|
549
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/UntagResourceInput AWS API Documentation
|
550
|
+
#
|
551
|
+
class UntagResourceInput < Struct.new(
|
552
|
+
:resource_arn,
|
553
|
+
:tag_keys)
|
554
|
+
SENSITIVE = []
|
555
|
+
include Aws::Structure
|
556
|
+
end
|
557
|
+
|
558
|
+
# @!attribute [rw] identifier
|
559
|
+
# The ID of the cluster you want to update.
|
560
|
+
# @return [String]
|
561
|
+
#
|
562
|
+
# @!attribute [rw] deletion_protection_enabled
|
563
|
+
# Specifies whether to enable deletion protection in your cluster.
|
564
|
+
# @return [Boolean]
|
565
|
+
#
|
566
|
+
# @!attribute [rw] client_token
|
567
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
568
|
+
# idempotency of the request. Idempotency ensures that an API request
|
569
|
+
# completes only once. With an idempotent request, if the original
|
570
|
+
# request completes successfully. The subsequent retries with the same
|
571
|
+
# client token return the result from the original successful request
|
572
|
+
# and they have no additional effect.
|
573
|
+
#
|
574
|
+
# If you don't specify a client token, the Amazon Web Services SDK
|
575
|
+
# automatically generates one.
|
576
|
+
#
|
577
|
+
# **A suitable default value is auto-generated.** You should normally
|
578
|
+
# not need to pass this option.
|
579
|
+
# @return [String]
|
580
|
+
#
|
581
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/UpdateClusterInput AWS API Documentation
|
582
|
+
#
|
583
|
+
class UpdateClusterInput < Struct.new(
|
584
|
+
:identifier,
|
585
|
+
:deletion_protection_enabled,
|
586
|
+
:client_token)
|
587
|
+
SENSITIVE = []
|
588
|
+
include Aws::Structure
|
589
|
+
end
|
590
|
+
|
591
|
+
# Output Mixin
|
592
|
+
#
|
593
|
+
# @!attribute [rw] identifier
|
594
|
+
# The ID of the cluster to update.
|
595
|
+
# @return [String]
|
596
|
+
#
|
597
|
+
# @!attribute [rw] arn
|
598
|
+
# The ARN of the updated cluster.
|
599
|
+
# @return [String]
|
600
|
+
#
|
601
|
+
# @!attribute [rw] status
|
602
|
+
# The status of the updated cluster.
|
603
|
+
# @return [String]
|
604
|
+
#
|
605
|
+
# @!attribute [rw] creation_time
|
606
|
+
# The time of when the cluster was created.
|
607
|
+
# @return [Time]
|
608
|
+
#
|
609
|
+
# @!attribute [rw] deletion_protection_enabled
|
610
|
+
# Whether deletion protection is enabled for the updated cluster.
|
611
|
+
# @return [Boolean]
|
612
|
+
#
|
613
|
+
# @!attribute [rw] witness_region
|
614
|
+
# The Region that receives all data you write to linked clusters.
|
615
|
+
# @return [String]
|
616
|
+
#
|
617
|
+
# @!attribute [rw] linked_cluster_arns
|
618
|
+
# The ARNs of the clusters linked to the updated cluster. Applicable
|
619
|
+
# only for multi-Region clusters.
|
620
|
+
# @return [Array<String>]
|
621
|
+
#
|
622
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/UpdateClusterOutput AWS API Documentation
|
623
|
+
#
|
624
|
+
class UpdateClusterOutput < Struct.new(
|
625
|
+
:identifier,
|
626
|
+
:arn,
|
627
|
+
:status,
|
628
|
+
:creation_time,
|
629
|
+
:deletion_protection_enabled,
|
630
|
+
:witness_region,
|
631
|
+
:linked_cluster_arns)
|
632
|
+
SENSITIVE = []
|
633
|
+
include Aws::Structure
|
634
|
+
end
|
635
|
+
|
636
|
+
# The input failed to satisfy the constraints specified by an Amazon Web
|
637
|
+
# Services service.
|
638
|
+
#
|
639
|
+
# @!attribute [rw] message
|
640
|
+
# @return [String]
|
641
|
+
#
|
642
|
+
# @!attribute [rw] reason
|
643
|
+
# Reason the request failed validation
|
644
|
+
# @return [String]
|
645
|
+
#
|
646
|
+
# @!attribute [rw] field_list
|
647
|
+
# List of fields that caused the error
|
648
|
+
# @return [Array<Types::ValidationExceptionField>]
|
649
|
+
#
|
650
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ValidationException AWS API Documentation
|
651
|
+
#
|
652
|
+
class ValidationException < Struct.new(
|
653
|
+
:message,
|
654
|
+
:reason,
|
655
|
+
:field_list)
|
656
|
+
SENSITIVE = []
|
657
|
+
include Aws::Structure
|
658
|
+
end
|
659
|
+
|
660
|
+
# Stores information about a field passed inside a request that resulted
|
661
|
+
# in an validation error.
|
662
|
+
#
|
663
|
+
# @!attribute [rw] name
|
664
|
+
# The name of the field.
|
665
|
+
# @return [String]
|
666
|
+
#
|
667
|
+
# @!attribute [rw] message
|
668
|
+
# A message describing why this field failed validation.
|
669
|
+
# @return [String]
|
670
|
+
#
|
671
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ValidationExceptionField AWS API Documentation
|
672
|
+
#
|
673
|
+
class ValidationExceptionField < Struct.new(
|
674
|
+
:name,
|
675
|
+
:message)
|
676
|
+
SENSITIVE = []
|
677
|
+
include Aws::Structure
|
678
|
+
end
|
679
|
+
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|