aws-sdk-rdsdataservice 1.49.0 → 1.50.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rdsdataservice/client.rb +4 -2
- data/lib/aws-sdk-rdsdataservice/client_api.rb +87 -20
- data/lib/aws-sdk-rdsdataservice/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-rdsdataservice/errors.rb +123 -0
- data/lib/aws-sdk-rdsdataservice/types.rb +136 -6
- data/lib/aws-sdk-rdsdataservice.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35843aaac35e21022768f0cd67e8d22422fa0f42a288e6be7d1beac14d4597a8
|
4
|
+
data.tar.gz: 336c071f44105419d7d6f0b1c5d7be5ba38bce953456d6b45beb269e02581f24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b09a57876479965a41a78105a1769f1347b2924cf3cf9620067214e7201503bf45c01caab9e6560fd588a27f69d6d44be17486042f622d5ea0ca8b178ad2ffd9
|
7
|
+
data.tar.gz: 372b15216bab32b4784b44091be20ca487566ba27c46641f1c0ce1ffe75b2a49c7939311b5cbdaba1a82725596ae8152905e7cd9252f5fa1190a0c9cbb7bad87
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.50.0 (2023-12-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for using RDS Data API with Aurora PostgreSQL Serverless v2 and provisioned DB clusters.
|
8
|
+
|
4
9
|
1.49.0 (2023-11-28)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.50.0
|
@@ -629,7 +629,9 @@ module Aws::RDSDataService
|
|
629
629
|
|
630
630
|
# Runs one or more SQL statements.
|
631
631
|
#
|
632
|
-
# <note markdown="1"> This operation
|
632
|
+
# <note markdown="1"> This operation isn't supported for Aurora PostgreSQL Serverless v2
|
633
|
+
# and provisioned DB clusters, and for Aurora Serverless v1 DB clusters,
|
634
|
+
# the operation is deprecated. Use the `BatchExecuteStatement` or
|
633
635
|
# `ExecuteStatement` operation.
|
634
636
|
#
|
635
637
|
# </note>
|
@@ -970,7 +972,7 @@ module Aws::RDSDataService
|
|
970
972
|
params: params,
|
971
973
|
config: config)
|
972
974
|
context[:gem_name] = 'aws-sdk-rdsdataservice'
|
973
|
-
context[:gem_version] = '1.
|
975
|
+
context[:gem_version] = '1.50.0'
|
974
976
|
Seahorse::Client::Request.new(handlers, context)
|
975
977
|
end
|
976
978
|
|
@@ -34,6 +34,9 @@ module Aws::RDSDataService
|
|
34
34
|
ColumnMetadata = Shapes::StructureShape.new(name: 'ColumnMetadata')
|
35
35
|
CommitTransactionRequest = Shapes::StructureShape.new(name: 'CommitTransactionRequest')
|
36
36
|
CommitTransactionResponse = Shapes::StructureShape.new(name: 'CommitTransactionResponse')
|
37
|
+
DatabaseErrorException = Shapes::StructureShape.new(name: 'DatabaseErrorException')
|
38
|
+
DatabaseNotFoundException = Shapes::StructureShape.new(name: 'DatabaseNotFoundException')
|
39
|
+
DatabaseUnavailableException = Shapes::StructureShape.new(name: 'DatabaseUnavailableException')
|
37
40
|
DbName = Shapes::StringShape.new(name: 'DbName')
|
38
41
|
DecimalReturnType = Shapes::StringShape.new(name: 'DecimalReturnType')
|
39
42
|
DoubleArray = Shapes::ListShape.new(name: 'DoubleArray')
|
@@ -46,9 +49,11 @@ module Aws::RDSDataService
|
|
46
49
|
FieldList = Shapes::ListShape.new(name: 'FieldList')
|
47
50
|
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
48
51
|
FormattedSqlRecords = Shapes::StringShape.new(name: 'FormattedSqlRecords')
|
52
|
+
HttpEndpointNotEnabledException = Shapes::StructureShape.new(name: 'HttpEndpointNotEnabledException')
|
49
53
|
Id = Shapes::StringShape.new(name: 'Id')
|
50
54
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
51
55
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
56
|
+
InvalidSecretException = Shapes::StructureShape.new(name: 'InvalidSecretException')
|
52
57
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
53
58
|
LongArray = Shapes::ListShape.new(name: 'LongArray')
|
54
59
|
LongReturnType = Shapes::StringShape.new(name: 'LongReturnType')
|
@@ -65,6 +70,7 @@ module Aws::RDSDataService
|
|
65
70
|
RollbackTransactionRequest = Shapes::StructureShape.new(name: 'RollbackTransactionRequest')
|
66
71
|
RollbackTransactionResponse = Shapes::StructureShape.new(name: 'RollbackTransactionResponse')
|
67
72
|
Row = Shapes::ListShape.new(name: 'Row')
|
73
|
+
SecretsErrorException = Shapes::StructureShape.new(name: 'SecretsErrorException')
|
68
74
|
ServiceUnavailableError = Shapes::StructureShape.new(name: 'ServiceUnavailableError')
|
69
75
|
SqlParameter = Shapes::StructureShape.new(name: 'SqlParameter')
|
70
76
|
SqlParameterSets = Shapes::ListShape.new(name: 'SqlParameterSets')
|
@@ -77,8 +83,10 @@ module Aws::RDSDataService
|
|
77
83
|
String = Shapes::StringShape.new(name: 'String')
|
78
84
|
StringArray = Shapes::ListShape.new(name: 'StringArray')
|
79
85
|
StructValue = Shapes::StructureShape.new(name: 'StructValue')
|
86
|
+
TransactionNotFoundException = Shapes::StructureShape.new(name: 'TransactionNotFoundException')
|
80
87
|
TransactionStatus = Shapes::StringShape.new(name: 'TransactionStatus')
|
81
88
|
TypeHint = Shapes::StringShape.new(name: 'TypeHint')
|
89
|
+
UnsupportedResultException = Shapes::StructureShape.new(name: 'UnsupportedResultException')
|
82
90
|
UpdateResult = Shapes::StructureShape.new(name: 'UpdateResult')
|
83
91
|
UpdateResults = Shapes::ListShape.new(name: 'UpdateResults')
|
84
92
|
Value = Shapes::UnionShape.new(name: 'Value')
|
@@ -154,6 +162,14 @@ module Aws::RDSDataService
|
|
154
162
|
CommitTransactionResponse.add_member(:transaction_status, Shapes::ShapeRef.new(shape: TransactionStatus, location_name: "transactionStatus"))
|
155
163
|
CommitTransactionResponse.struct_class = Types::CommitTransactionResponse
|
156
164
|
|
165
|
+
DatabaseErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
166
|
+
DatabaseErrorException.struct_class = Types::DatabaseErrorException
|
167
|
+
|
168
|
+
DatabaseNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
169
|
+
DatabaseNotFoundException.struct_class = Types::DatabaseNotFoundException
|
170
|
+
|
171
|
+
DatabaseUnavailableException.struct_class = Types::DatabaseUnavailableException
|
172
|
+
|
157
173
|
DoubleArray.member = Shapes::ShapeRef.new(shape: BoxedDouble)
|
158
174
|
|
159
175
|
ExecuteSqlRequest.add_member(:db_cluster_or_instance_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "dbClusterOrInstanceArn"))
|
@@ -186,10 +202,10 @@ module Aws::RDSDataService
|
|
186
202
|
ExecuteStatementResponse.add_member(:formatted_records, Shapes::ShapeRef.new(shape: FormattedSqlRecords, location_name: "formattedRecords"))
|
187
203
|
ExecuteStatementResponse.struct_class = Types::ExecuteStatementResponse
|
188
204
|
|
189
|
-
Field.add_member(:is_null, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "isNull"
|
190
|
-
Field.add_member(:boolean_value, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "booleanValue"
|
191
|
-
Field.add_member(:long_value, Shapes::ShapeRef.new(shape: BoxedLong, location_name: "longValue"
|
192
|
-
Field.add_member(:double_value, Shapes::ShapeRef.new(shape: BoxedDouble, location_name: "doubleValue"
|
205
|
+
Field.add_member(:is_null, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "isNull"))
|
206
|
+
Field.add_member(:boolean_value, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "booleanValue"))
|
207
|
+
Field.add_member(:long_value, Shapes::ShapeRef.new(shape: BoxedLong, location_name: "longValue"))
|
208
|
+
Field.add_member(:double_value, Shapes::ShapeRef.new(shape: BoxedDouble, location_name: "doubleValue"))
|
193
209
|
Field.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "stringValue"))
|
194
210
|
Field.add_member(:blob_value, Shapes::ShapeRef.new(shape: Blob, location_name: "blobValue"))
|
195
211
|
Field.add_member(:array_value, Shapes::ShapeRef.new(shape: ArrayValue, location_name: "arrayValue"))
|
@@ -209,8 +225,14 @@ module Aws::RDSDataService
|
|
209
225
|
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
210
226
|
ForbiddenException.struct_class = Types::ForbiddenException
|
211
227
|
|
228
|
+
HttpEndpointNotEnabledException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
229
|
+
HttpEndpointNotEnabledException.struct_class = Types::HttpEndpointNotEnabledException
|
230
|
+
|
212
231
|
InternalServerErrorException.struct_class = Types::InternalServerErrorException
|
213
232
|
|
233
|
+
InvalidSecretException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
234
|
+
InvalidSecretException.struct_class = Types::InvalidSecretException
|
235
|
+
|
214
236
|
LongArray.member = Shapes::ShapeRef.new(shape: BoxedLong)
|
215
237
|
|
216
238
|
Metadata.member = Shapes::ShapeRef.new(shape: ColumnMetadata)
|
@@ -245,6 +267,9 @@ module Aws::RDSDataService
|
|
245
267
|
|
246
268
|
Row.member = Shapes::ShapeRef.new(shape: Value)
|
247
269
|
|
270
|
+
SecretsErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
271
|
+
SecretsErrorException.struct_class = Types::SecretsErrorException
|
272
|
+
|
248
273
|
ServiceUnavailableError.struct_class = Types::ServiceUnavailableError
|
249
274
|
|
250
275
|
SqlParameter.add_member(:name, Shapes::ShapeRef.new(shape: ParameterName, location_name: "name"))
|
@@ -273,17 +298,23 @@ module Aws::RDSDataService
|
|
273
298
|
StructValue.add_member(:attributes, Shapes::ShapeRef.new(shape: ArrayValueList, location_name: "attributes"))
|
274
299
|
StructValue.struct_class = Types::StructValue
|
275
300
|
|
301
|
+
TransactionNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
302
|
+
TransactionNotFoundException.struct_class = Types::TransactionNotFoundException
|
303
|
+
|
304
|
+
UnsupportedResultException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
305
|
+
UnsupportedResultException.struct_class = Types::UnsupportedResultException
|
306
|
+
|
276
307
|
UpdateResult.add_member(:generated_fields, Shapes::ShapeRef.new(shape: FieldList, location_name: "generatedFields"))
|
277
308
|
UpdateResult.struct_class = Types::UpdateResult
|
278
309
|
|
279
310
|
UpdateResults.member = Shapes::ShapeRef.new(shape: UpdateResult)
|
280
311
|
|
281
|
-
Value.add_member(:is_null, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "isNull"
|
282
|
-
Value.add_member(:bit_value, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "bitValue"
|
283
|
-
Value.add_member(:big_int_value, Shapes::ShapeRef.new(shape: BoxedLong, location_name: "bigIntValue"
|
284
|
-
Value.add_member(:int_value, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "intValue"
|
285
|
-
Value.add_member(:double_value, Shapes::ShapeRef.new(shape: BoxedDouble, location_name: "doubleValue"
|
286
|
-
Value.add_member(:real_value, Shapes::ShapeRef.new(shape: BoxedFloat, location_name: "realValue"
|
312
|
+
Value.add_member(:is_null, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "isNull"))
|
313
|
+
Value.add_member(:bit_value, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "bitValue"))
|
314
|
+
Value.add_member(:big_int_value, Shapes::ShapeRef.new(shape: BoxedLong, location_name: "bigIntValue"))
|
315
|
+
Value.add_member(:int_value, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "intValue"))
|
316
|
+
Value.add_member(:double_value, Shapes::ShapeRef.new(shape: BoxedDouble, location_name: "doubleValue"))
|
317
|
+
Value.add_member(:real_value, Shapes::ShapeRef.new(shape: BoxedFloat, location_name: "realValue"))
|
287
318
|
Value.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "stringValue"))
|
288
319
|
Value.add_member(:blob_value, Shapes::ShapeRef.new(shape: Blob, location_name: "blobValue"))
|
289
320
|
Value.add_member(:array_values, Shapes::ShapeRef.new(shape: ArrayValueList, location_name: "arrayValues"))
|
@@ -326,12 +357,19 @@ module Aws::RDSDataService
|
|
326
357
|
o.http_request_uri = "/BatchExecute"
|
327
358
|
o.input = Shapes::ShapeRef.new(shape: BatchExecuteStatementRequest)
|
328
359
|
o.output = Shapes::ShapeRef.new(shape: BatchExecuteStatementResponse)
|
360
|
+
o.errors << Shapes::ShapeRef.new(shape: SecretsErrorException)
|
361
|
+
o.errors << Shapes::ShapeRef.new(shape: HttpEndpointNotEnabledException)
|
362
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseErrorException)
|
363
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseUnavailableException)
|
364
|
+
o.errors << Shapes::ShapeRef.new(shape: TransactionNotFoundException)
|
365
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecretException)
|
366
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableError)
|
367
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
368
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseNotFoundException)
|
329
369
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
330
370
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
331
371
|
o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException)
|
332
372
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
333
|
-
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
334
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableError)
|
335
373
|
end)
|
336
374
|
|
337
375
|
api.add_operation(:begin_transaction, Seahorse::Model::Operation.new.tap do |o|
|
@@ -340,12 +378,19 @@ module Aws::RDSDataService
|
|
340
378
|
o.http_request_uri = "/BeginTransaction"
|
341
379
|
o.input = Shapes::ShapeRef.new(shape: BeginTransactionRequest)
|
342
380
|
o.output = Shapes::ShapeRef.new(shape: BeginTransactionResponse)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: SecretsErrorException)
|
382
|
+
o.errors << Shapes::ShapeRef.new(shape: HttpEndpointNotEnabledException)
|
383
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseErrorException)
|
384
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseUnavailableException)
|
385
|
+
o.errors << Shapes::ShapeRef.new(shape: TransactionNotFoundException)
|
386
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecretException)
|
387
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableError)
|
388
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
389
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseNotFoundException)
|
343
390
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
344
391
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
345
392
|
o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException)
|
346
393
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
347
|
-
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
348
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableError)
|
349
394
|
end)
|
350
395
|
|
351
396
|
api.add_operation(:commit_transaction, Seahorse::Model::Operation.new.tap do |o|
|
@@ -354,12 +399,19 @@ module Aws::RDSDataService
|
|
354
399
|
o.http_request_uri = "/CommitTransaction"
|
355
400
|
o.input = Shapes::ShapeRef.new(shape: CommitTransactionRequest)
|
356
401
|
o.output = Shapes::ShapeRef.new(shape: CommitTransactionResponse)
|
402
|
+
o.errors << Shapes::ShapeRef.new(shape: SecretsErrorException)
|
403
|
+
o.errors << Shapes::ShapeRef.new(shape: HttpEndpointNotEnabledException)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseErrorException)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseUnavailableException)
|
406
|
+
o.errors << Shapes::ShapeRef.new(shape: TransactionNotFoundException)
|
407
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecretException)
|
408
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableError)
|
409
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
410
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseNotFoundException)
|
357
411
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
358
412
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
359
413
|
o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException)
|
360
414
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
361
|
-
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
362
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableError)
|
363
415
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
364
416
|
end)
|
365
417
|
|
@@ -383,12 +435,20 @@ module Aws::RDSDataService
|
|
383
435
|
o.http_request_uri = "/Execute"
|
384
436
|
o.input = Shapes::ShapeRef.new(shape: ExecuteStatementRequest)
|
385
437
|
o.output = Shapes::ShapeRef.new(shape: ExecuteStatementResponse)
|
438
|
+
o.errors << Shapes::ShapeRef.new(shape: SecretsErrorException)
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: HttpEndpointNotEnabledException)
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseErrorException)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseUnavailableException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: TransactionNotFoundException)
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecretException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableError)
|
445
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseNotFoundException)
|
386
447
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
387
448
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
388
449
|
o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException)
|
389
450
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
390
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
391
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableError)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedResultException)
|
392
452
|
end)
|
393
453
|
|
394
454
|
api.add_operation(:rollback_transaction, Seahorse::Model::Operation.new.tap do |o|
|
@@ -397,12 +457,19 @@ module Aws::RDSDataService
|
|
397
457
|
o.http_request_uri = "/RollbackTransaction"
|
398
458
|
o.input = Shapes::ShapeRef.new(shape: RollbackTransactionRequest)
|
399
459
|
o.output = Shapes::ShapeRef.new(shape: RollbackTransactionResponse)
|
460
|
+
o.errors << Shapes::ShapeRef.new(shape: SecretsErrorException)
|
461
|
+
o.errors << Shapes::ShapeRef.new(shape: HttpEndpointNotEnabledException)
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseErrorException)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseUnavailableException)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: TransactionNotFoundException)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecretException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableError)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: DatabaseNotFoundException)
|
400
469
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
401
470
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
402
471
|
o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException)
|
403
472
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
404
|
-
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
405
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableError)
|
406
473
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
407
474
|
end)
|
408
475
|
end
|
@@ -32,7 +32,7 @@ module Aws::RDSDataService
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://rds-data-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -29,11 +29,19 @@ module Aws::RDSDataService
|
|
29
29
|
# ## Error Classes
|
30
30
|
# * {AccessDeniedException}
|
31
31
|
# * {BadRequestException}
|
32
|
+
# * {DatabaseErrorException}
|
33
|
+
# * {DatabaseNotFoundException}
|
34
|
+
# * {DatabaseUnavailableException}
|
32
35
|
# * {ForbiddenException}
|
36
|
+
# * {HttpEndpointNotEnabledException}
|
33
37
|
# * {InternalServerErrorException}
|
38
|
+
# * {InvalidSecretException}
|
34
39
|
# * {NotFoundException}
|
40
|
+
# * {SecretsErrorException}
|
35
41
|
# * {ServiceUnavailableError}
|
36
42
|
# * {StatementTimeoutException}
|
43
|
+
# * {TransactionNotFoundException}
|
44
|
+
# * {UnsupportedResultException}
|
37
45
|
#
|
38
46
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
39
47
|
# if they are not defined above.
|
@@ -71,6 +79,46 @@ module Aws::RDSDataService
|
|
71
79
|
end
|
72
80
|
end
|
73
81
|
|
82
|
+
class DatabaseErrorException < ServiceError
|
83
|
+
|
84
|
+
# @param [Seahorse::Client::RequestContext] context
|
85
|
+
# @param [String] message
|
86
|
+
# @param [Aws::RDSDataService::Types::DatabaseErrorException] data
|
87
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
88
|
+
super(context, message, data)
|
89
|
+
end
|
90
|
+
|
91
|
+
# @return [String]
|
92
|
+
def message
|
93
|
+
@message || @data[:message]
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
class DatabaseNotFoundException < ServiceError
|
98
|
+
|
99
|
+
# @param [Seahorse::Client::RequestContext] context
|
100
|
+
# @param [String] message
|
101
|
+
# @param [Aws::RDSDataService::Types::DatabaseNotFoundException] data
|
102
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
103
|
+
super(context, message, data)
|
104
|
+
end
|
105
|
+
|
106
|
+
# @return [String]
|
107
|
+
def message
|
108
|
+
@message || @data[:message]
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class DatabaseUnavailableException < ServiceError
|
113
|
+
|
114
|
+
# @param [Seahorse::Client::RequestContext] context
|
115
|
+
# @param [String] message
|
116
|
+
# @param [Aws::RDSDataService::Types::DatabaseUnavailableException] data
|
117
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
118
|
+
super(context, message, data)
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
74
122
|
class ForbiddenException < ServiceError
|
75
123
|
|
76
124
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -86,6 +134,21 @@ module Aws::RDSDataService
|
|
86
134
|
end
|
87
135
|
end
|
88
136
|
|
137
|
+
class HttpEndpointNotEnabledException < ServiceError
|
138
|
+
|
139
|
+
# @param [Seahorse::Client::RequestContext] context
|
140
|
+
# @param [String] message
|
141
|
+
# @param [Aws::RDSDataService::Types::HttpEndpointNotEnabledException] data
|
142
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
143
|
+
super(context, message, data)
|
144
|
+
end
|
145
|
+
|
146
|
+
# @return [String]
|
147
|
+
def message
|
148
|
+
@message || @data[:message]
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
89
152
|
class InternalServerErrorException < ServiceError
|
90
153
|
|
91
154
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -96,6 +159,21 @@ module Aws::RDSDataService
|
|
96
159
|
end
|
97
160
|
end
|
98
161
|
|
162
|
+
class InvalidSecretException < ServiceError
|
163
|
+
|
164
|
+
# @param [Seahorse::Client::RequestContext] context
|
165
|
+
# @param [String] message
|
166
|
+
# @param [Aws::RDSDataService::Types::InvalidSecretException] data
|
167
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
168
|
+
super(context, message, data)
|
169
|
+
end
|
170
|
+
|
171
|
+
# @return [String]
|
172
|
+
def message
|
173
|
+
@message || @data[:message]
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
99
177
|
class NotFoundException < ServiceError
|
100
178
|
|
101
179
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -111,6 +189,21 @@ module Aws::RDSDataService
|
|
111
189
|
end
|
112
190
|
end
|
113
191
|
|
192
|
+
class SecretsErrorException < ServiceError
|
193
|
+
|
194
|
+
# @param [Seahorse::Client::RequestContext] context
|
195
|
+
# @param [String] message
|
196
|
+
# @param [Aws::RDSDataService::Types::SecretsErrorException] data
|
197
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
198
|
+
super(context, message, data)
|
199
|
+
end
|
200
|
+
|
201
|
+
# @return [String]
|
202
|
+
def message
|
203
|
+
@message || @data[:message]
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
114
207
|
class ServiceUnavailableError < ServiceError
|
115
208
|
|
116
209
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -141,5 +234,35 @@ module Aws::RDSDataService
|
|
141
234
|
end
|
142
235
|
end
|
143
236
|
|
237
|
+
class TransactionNotFoundException < ServiceError
|
238
|
+
|
239
|
+
# @param [Seahorse::Client::RequestContext] context
|
240
|
+
# @param [String] message
|
241
|
+
# @param [Aws::RDSDataService::Types::TransactionNotFoundException] data
|
242
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
243
|
+
super(context, message, data)
|
244
|
+
end
|
245
|
+
|
246
|
+
# @return [String]
|
247
|
+
def message
|
248
|
+
@message || @data[:message]
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
class UnsupportedResultException < ServiceError
|
253
|
+
|
254
|
+
# @param [Seahorse::Client::RequestContext] context
|
255
|
+
# @param [String] message
|
256
|
+
# @param [Aws::RDSDataService::Types::UnsupportedResultException] data
|
257
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
258
|
+
super(context, message, data)
|
259
|
+
end
|
260
|
+
|
261
|
+
# @return [String]
|
262
|
+
def message
|
263
|
+
@message || @data[:message]
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
144
267
|
end
|
145
268
|
end
|
@@ -10,7 +10,7 @@
|
|
10
10
|
module Aws::RDSDataService
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# You
|
13
|
+
# You don't have sufficient access to perform this action.
|
14
14
|
#
|
15
15
|
# @!attribute [rw] message
|
16
16
|
# @return [String]
|
@@ -70,7 +70,8 @@ module Aws::RDSDataService
|
|
70
70
|
class Unknown < ArrayValue; end
|
71
71
|
end
|
72
72
|
|
73
|
-
# There is an error in the call or in a SQL statement.
|
73
|
+
# There is an error in the call or in a SQL statement. (This error only
|
74
|
+
# appears in calls from Aurora Serverless v1 databases.)
|
74
75
|
#
|
75
76
|
# @!attribute [rw] message
|
76
77
|
# The error message returned by this `BadRequestException` error.
|
@@ -340,6 +341,38 @@ module Aws::RDSDataService
|
|
340
341
|
include Aws::Structure
|
341
342
|
end
|
342
343
|
|
344
|
+
# There was an error in processing the SQL statement.
|
345
|
+
#
|
346
|
+
# @!attribute [rw] message
|
347
|
+
# @return [String]
|
348
|
+
#
|
349
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/DatabaseErrorException AWS API Documentation
|
350
|
+
#
|
351
|
+
class DatabaseErrorException < Struct.new(
|
352
|
+
:message)
|
353
|
+
SENSITIVE = []
|
354
|
+
include Aws::Structure
|
355
|
+
end
|
356
|
+
|
357
|
+
# The DB cluster doesn't have a DB instance.
|
358
|
+
#
|
359
|
+
# @!attribute [rw] message
|
360
|
+
# @return [String]
|
361
|
+
#
|
362
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/DatabaseNotFoundException AWS API Documentation
|
363
|
+
#
|
364
|
+
class DatabaseNotFoundException < Struct.new(
|
365
|
+
:message)
|
366
|
+
SENSITIVE = []
|
367
|
+
include Aws::Structure
|
368
|
+
end
|
369
|
+
|
370
|
+
# The writer instance in the DB cluster isn't available.
|
371
|
+
#
|
372
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/DatabaseUnavailableException AWS API Documentation
|
373
|
+
#
|
374
|
+
class DatabaseUnavailableException < Aws::EmptyStructure; end
|
375
|
+
|
343
376
|
# The request parameters represent the input of a request to run one or
|
344
377
|
# more SQL statements.
|
345
378
|
#
|
@@ -530,7 +563,16 @@ module Aws::RDSDataService
|
|
530
563
|
# @!attribute [rw] generated_fields
|
531
564
|
# Values for fields generated during a DML request.
|
532
565
|
#
|
533
|
-
#
|
566
|
+
# <note markdown="1"> The `generatedFields` data isn't supported by Aurora PostgreSQL. To
|
567
|
+
# get the values of generated fields, use the `RETURNING` clause. For
|
568
|
+
# more information, see [Returning Data From Modified Rows][1] in the
|
569
|
+
# PostgreSQL documentation.
|
570
|
+
#
|
571
|
+
# </note>
|
572
|
+
#
|
573
|
+
#
|
574
|
+
#
|
575
|
+
# [1]: https://www.postgresql.org/docs/10/dml-returning.html
|
534
576
|
# @return [Array<Types::Field>]
|
535
577
|
#
|
536
578
|
# @!attribute [rw] formatted_records
|
@@ -628,12 +670,39 @@ module Aws::RDSDataService
|
|
628
670
|
include Aws::Structure
|
629
671
|
end
|
630
672
|
|
673
|
+
# The HTTP endpoint for using RDS Data API isn't enabled for the DB
|
674
|
+
# cluster.
|
675
|
+
#
|
676
|
+
# @!attribute [rw] message
|
677
|
+
# @return [String]
|
678
|
+
#
|
679
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/HttpEndpointNotEnabledException AWS API Documentation
|
680
|
+
#
|
681
|
+
class HttpEndpointNotEnabledException < Struct.new(
|
682
|
+
:message)
|
683
|
+
SENSITIVE = []
|
684
|
+
include Aws::Structure
|
685
|
+
end
|
686
|
+
|
631
687
|
# An internal error occurred.
|
632
688
|
#
|
633
689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/InternalServerErrorException AWS API Documentation
|
634
690
|
#
|
635
691
|
class InternalServerErrorException < Aws::EmptyStructure; end
|
636
692
|
|
693
|
+
# The Secrets Manager secret used with the request isn't valid.
|
694
|
+
#
|
695
|
+
# @!attribute [rw] message
|
696
|
+
# @return [String]
|
697
|
+
#
|
698
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/InvalidSecretException AWS API Documentation
|
699
|
+
#
|
700
|
+
class InvalidSecretException < Struct.new(
|
701
|
+
:message)
|
702
|
+
SENSITIVE = []
|
703
|
+
include Aws::Structure
|
704
|
+
end
|
705
|
+
|
637
706
|
# The `resourceArn`, `secretArn`, or `transactionId` value can't be
|
638
707
|
# found.
|
639
708
|
#
|
@@ -785,7 +854,27 @@ module Aws::RDSDataService
|
|
785
854
|
include Aws::Structure
|
786
855
|
end
|
787
856
|
|
788
|
-
#
|
857
|
+
# There was a problem with the Secrets Manager secret used with the
|
858
|
+
# request, caused by one of the following conditions:
|
859
|
+
#
|
860
|
+
# * RDS Data API timed out retrieving the secret.
|
861
|
+
#
|
862
|
+
# * The secret provided wasn't found.
|
863
|
+
#
|
864
|
+
# * The secret couldn't be decrypted.
|
865
|
+
#
|
866
|
+
# @!attribute [rw] message
|
867
|
+
# @return [String]
|
868
|
+
#
|
869
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/SecretsErrorException AWS API Documentation
|
870
|
+
#
|
871
|
+
class SecretsErrorException < Struct.new(
|
872
|
+
:message)
|
873
|
+
SENSITIVE = []
|
874
|
+
include Aws::Structure
|
875
|
+
end
|
876
|
+
|
877
|
+
# The service specified by the `resourceArn` parameter isn't available.
|
789
878
|
#
|
790
879
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/ServiceUnavailableError AWS API Documentation
|
791
880
|
#
|
@@ -839,7 +928,11 @@ module Aws::RDSDataService
|
|
839
928
|
|
840
929
|
# The result of a SQL statement.
|
841
930
|
#
|
842
|
-
#
|
931
|
+
# <note markdown="1"> This data structure is only used with the deprecated `ExecuteSql`
|
932
|
+
# operation. Use the `BatchExecuteStatement` or `ExecuteStatement`
|
933
|
+
# operation instead.
|
934
|
+
#
|
935
|
+
# </note>
|
843
936
|
#
|
844
937
|
# @!attribute [rw] result_frame
|
845
938
|
# The result set of the SQL statement.
|
@@ -898,6 +991,39 @@ module Aws::RDSDataService
|
|
898
991
|
include Aws::Structure
|
899
992
|
end
|
900
993
|
|
994
|
+
# The transaction ID wasn't found.
|
995
|
+
#
|
996
|
+
# @!attribute [rw] message
|
997
|
+
# @return [String]
|
998
|
+
#
|
999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/TransactionNotFoundException AWS API Documentation
|
1000
|
+
#
|
1001
|
+
class TransactionNotFoundException < Struct.new(
|
1002
|
+
:message)
|
1003
|
+
SENSITIVE = []
|
1004
|
+
include Aws::Structure
|
1005
|
+
end
|
1006
|
+
|
1007
|
+
# There was a problem with the result because of one of the following
|
1008
|
+
# conditions:
|
1009
|
+
#
|
1010
|
+
# * It contained an unsupported data type.
|
1011
|
+
#
|
1012
|
+
# * It contained a multidimensional array.
|
1013
|
+
#
|
1014
|
+
# * The size was too large.
|
1015
|
+
#
|
1016
|
+
# @!attribute [rw] message
|
1017
|
+
# @return [String]
|
1018
|
+
#
|
1019
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/UnsupportedResultException AWS API Documentation
|
1020
|
+
#
|
1021
|
+
class UnsupportedResultException < Struct.new(
|
1022
|
+
:message)
|
1023
|
+
SENSITIVE = []
|
1024
|
+
include Aws::Structure
|
1025
|
+
end
|
1026
|
+
|
901
1027
|
# The response elements represent the results of an update.
|
902
1028
|
#
|
903
1029
|
# @!attribute [rw] generated_fields
|
@@ -914,7 +1040,11 @@ module Aws::RDSDataService
|
|
914
1040
|
|
915
1041
|
# Contains the value of a column.
|
916
1042
|
#
|
917
|
-
#
|
1043
|
+
# <note markdown="1"> This data structure is only used with the deprecated `ExecuteSql`
|
1044
|
+
# operation. Use the `BatchExecuteStatement` or `ExecuteStatement`
|
1045
|
+
# operation instead.
|
1046
|
+
#
|
1047
|
+
# </note>
|
918
1048
|
#
|
919
1049
|
# @note Value is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Value corresponding to the set member.
|
920
1050
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-rdsdataservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.50.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: 2023-
|
11
|
+
date: 2023-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|