aws-sdk-rdsdataservice 1.49.0 → 1.51.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 +10 -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/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-rdsdataservice/types.rb +136 -6
- data/lib/aws-sdk-rdsdataservice.rb +1 -1
- data/sig/client.rbs +217 -0
- data/sig/errors.rbs +59 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +326 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
@@ -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
|
#
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,217 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module RDSDataService
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDSDataService/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _BatchExecuteStatementResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchExecuteStatementResponse]
|
77
|
+
def update_results: () -> ::Array[Types::UpdateResult]
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDSDataService/Client.html#batch_execute_statement-instance_method
|
80
|
+
def batch_execute_statement: (
|
81
|
+
resource_arn: ::String,
|
82
|
+
secret_arn: ::String,
|
83
|
+
sql: ::String,
|
84
|
+
?database: ::String,
|
85
|
+
?schema: ::String,
|
86
|
+
?parameter_sets: Array[
|
87
|
+
Array[
|
88
|
+
{
|
89
|
+
name: ::String?,
|
90
|
+
value: {
|
91
|
+
is_null: bool?,
|
92
|
+
boolean_value: bool?,
|
93
|
+
long_value: ::Integer?,
|
94
|
+
double_value: ::Float?,
|
95
|
+
string_value: ::String?,
|
96
|
+
blob_value: ::String?,
|
97
|
+
array_value: {
|
98
|
+
boolean_values: Array[bool]?,
|
99
|
+
long_values: Array[::Integer]?,
|
100
|
+
double_values: Array[::Float]?,
|
101
|
+
string_values: Array[::String]?,
|
102
|
+
array_values: Array[
|
103
|
+
untyped,
|
104
|
+
]?
|
105
|
+
}?
|
106
|
+
}?,
|
107
|
+
type_hint: ("JSON" | "UUID" | "TIMESTAMP" | "DATE" | "TIME" | "DECIMAL")?
|
108
|
+
},
|
109
|
+
],
|
110
|
+
],
|
111
|
+
?transaction_id: ::String
|
112
|
+
) -> _BatchExecuteStatementResponseSuccess
|
113
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchExecuteStatementResponseSuccess
|
114
|
+
|
115
|
+
interface _BeginTransactionResponseSuccess
|
116
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BeginTransactionResponse]
|
117
|
+
def transaction_id: () -> ::String
|
118
|
+
end
|
119
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDSDataService/Client.html#begin_transaction-instance_method
|
120
|
+
def begin_transaction: (
|
121
|
+
resource_arn: ::String,
|
122
|
+
secret_arn: ::String,
|
123
|
+
?database: ::String,
|
124
|
+
?schema: ::String
|
125
|
+
) -> _BeginTransactionResponseSuccess
|
126
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BeginTransactionResponseSuccess
|
127
|
+
|
128
|
+
interface _CommitTransactionResponseSuccess
|
129
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CommitTransactionResponse]
|
130
|
+
def transaction_status: () -> ::String
|
131
|
+
end
|
132
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDSDataService/Client.html#commit_transaction-instance_method
|
133
|
+
def commit_transaction: (
|
134
|
+
resource_arn: ::String,
|
135
|
+
secret_arn: ::String,
|
136
|
+
transaction_id: ::String
|
137
|
+
) -> _CommitTransactionResponseSuccess
|
138
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CommitTransactionResponseSuccess
|
139
|
+
|
140
|
+
interface _ExecuteSqlResponseSuccess
|
141
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ExecuteSqlResponse]
|
142
|
+
def sql_statement_results: () -> ::Array[Types::SqlStatementResult]
|
143
|
+
end
|
144
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDSDataService/Client.html#execute_sql-instance_method
|
145
|
+
def execute_sql: (
|
146
|
+
db_cluster_or_instance_arn: ::String,
|
147
|
+
aws_secret_store_arn: ::String,
|
148
|
+
sql_statements: ::String,
|
149
|
+
?database: ::String,
|
150
|
+
?schema: ::String
|
151
|
+
) -> _ExecuteSqlResponseSuccess
|
152
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExecuteSqlResponseSuccess
|
153
|
+
|
154
|
+
interface _ExecuteStatementResponseSuccess
|
155
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ExecuteStatementResponse]
|
156
|
+
def records: () -> ::Array[::Array[Types::Field]]
|
157
|
+
def column_metadata: () -> ::Array[Types::ColumnMetadata]
|
158
|
+
def number_of_records_updated: () -> ::Integer
|
159
|
+
def generated_fields: () -> ::Array[Types::Field]
|
160
|
+
def formatted_records: () -> ::String
|
161
|
+
end
|
162
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDSDataService/Client.html#execute_statement-instance_method
|
163
|
+
def execute_statement: (
|
164
|
+
resource_arn: ::String,
|
165
|
+
secret_arn: ::String,
|
166
|
+
sql: ::String,
|
167
|
+
?database: ::String,
|
168
|
+
?schema: ::String,
|
169
|
+
?parameters: Array[
|
170
|
+
{
|
171
|
+
name: ::String?,
|
172
|
+
value: {
|
173
|
+
is_null: bool?,
|
174
|
+
boolean_value: bool?,
|
175
|
+
long_value: ::Integer?,
|
176
|
+
double_value: ::Float?,
|
177
|
+
string_value: ::String?,
|
178
|
+
blob_value: ::String?,
|
179
|
+
array_value: {
|
180
|
+
boolean_values: Array[bool]?,
|
181
|
+
long_values: Array[::Integer]?,
|
182
|
+
double_values: Array[::Float]?,
|
183
|
+
string_values: Array[::String]?,
|
184
|
+
array_values: Array[
|
185
|
+
untyped,
|
186
|
+
]?
|
187
|
+
}?
|
188
|
+
}?,
|
189
|
+
type_hint: ("JSON" | "UUID" | "TIMESTAMP" | "DATE" | "TIME" | "DECIMAL")?
|
190
|
+
},
|
191
|
+
],
|
192
|
+
?transaction_id: ::String,
|
193
|
+
?include_result_metadata: bool,
|
194
|
+
?continue_after_timeout: bool,
|
195
|
+
?result_set_options: {
|
196
|
+
decimal_return_type: ("STRING" | "DOUBLE_OR_LONG")?,
|
197
|
+
long_return_type: ("STRING" | "LONG")?
|
198
|
+
},
|
199
|
+
?format_records_as: ("NONE" | "JSON")
|
200
|
+
) -> _ExecuteStatementResponseSuccess
|
201
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExecuteStatementResponseSuccess
|
202
|
+
|
203
|
+
interface _RollbackTransactionResponseSuccess
|
204
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RollbackTransactionResponse]
|
205
|
+
def transaction_status: () -> ::String
|
206
|
+
end
|
207
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDSDataService/Client.html#rollback_transaction-instance_method
|
208
|
+
def rollback_transaction: (
|
209
|
+
resource_arn: ::String,
|
210
|
+
secret_arn: ::String,
|
211
|
+
transaction_id: ::String
|
212
|
+
) -> _RollbackTransactionResponseSuccess
|
213
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RollbackTransactionResponseSuccess
|
214
|
+
end
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module RDSDataService
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class BadRequestException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class DatabaseErrorException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
class DatabaseNotFoundException < ::Aws::Errors::ServiceError
|
24
|
+
def message: () -> ::String
|
25
|
+
end
|
26
|
+
class DatabaseUnavailableException < ::Aws::Errors::ServiceError
|
27
|
+
end
|
28
|
+
class ForbiddenException < ::Aws::Errors::ServiceError
|
29
|
+
def message: () -> ::String
|
30
|
+
end
|
31
|
+
class HttpEndpointNotEnabledException < ::Aws::Errors::ServiceError
|
32
|
+
def message: () -> ::String
|
33
|
+
end
|
34
|
+
class InternalServerErrorException < ::Aws::Errors::ServiceError
|
35
|
+
end
|
36
|
+
class InvalidSecretException < ::Aws::Errors::ServiceError
|
37
|
+
def message: () -> ::String
|
38
|
+
end
|
39
|
+
class NotFoundException < ::Aws::Errors::ServiceError
|
40
|
+
def message: () -> ::String
|
41
|
+
end
|
42
|
+
class SecretsErrorException < ::Aws::Errors::ServiceError
|
43
|
+
def message: () -> ::String
|
44
|
+
end
|
45
|
+
class ServiceUnavailableError < ::Aws::Errors::ServiceError
|
46
|
+
end
|
47
|
+
class StatementTimeoutException < ::Aws::Errors::ServiceError
|
48
|
+
def message: () -> ::String
|
49
|
+
def db_connection_id: () -> ::String
|
50
|
+
end
|
51
|
+
class TransactionNotFoundException < ::Aws::Errors::ServiceError
|
52
|
+
def message: () -> ::String
|
53
|
+
end
|
54
|
+
class UnsupportedResultException < ::Aws::Errors::ServiceError
|
55
|
+
def message: () -> ::String
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module RDSDataService
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDSDataService/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDSDataService/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|