aws-sdk-rdsdataservice 1.50.0 → 1.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rdsdataservice/client.rb +70 -46
- data/lib/aws-sdk-rdsdataservice/plugins/endpoints.rb +1 -0
- 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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0741ee6f9eccc7019f4e9121238b77f5d78f43394d7d9f7662248e91288154b5
|
4
|
+
data.tar.gz: f6a5e4a2e452463fef526ba257b231583ffb5029e9f8964da5333cdbde44e70b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e00b2b0cefab4517436b36a83c299af8abbe91eaa67dca5360348d2788252adc888ae101779c659ddfb652a0b5b09a7f51403180ecebeadf7410a8f66ee77ba5
|
7
|
+
data.tar.gz: 7faa368b0667d3c469b4d18291c887ad6f87386323a5dbf7b4b285276ae3464318f1f08a1d56367f32ba85a179b58bd5c6c46f66271f32b4df26029d156c3be8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.52.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.51.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.50.0 (2023-12-21)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.52.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::RDSDataService
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::RDSDataService
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::RDSDataService
|
|
337
346
|
# @option options [Aws::RDSDataService::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::RDSDataService::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
365
399
|
#
|
366
|
-
# @option options [
|
367
|
-
#
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
368
402
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
372
405
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
378
|
-
#
|
379
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
380
|
-
# directory that contains the unbundled SSL certificate
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -972,7 +996,7 @@ module Aws::RDSDataService
|
|
972
996
|
params: params,
|
973
997
|
config: config)
|
974
998
|
context[:gem_name] = 'aws-sdk-rdsdataservice'
|
975
|
-
context[:gem_version] = '1.
|
999
|
+
context[:gem_version] = '1.52.0'
|
976
1000
|
Seahorse::Client::Request.new(handlers, context)
|
977
1001
|
end
|
978
1002
|
|
@@ -14,6 +14,7 @@ module Aws::RDSDataService
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::RDSDataService::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
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
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,326 @@
|
|
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::RDSDataService
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class ArrayValue
|
17
|
+
attr_accessor boolean_values: ::Array[bool]
|
18
|
+
attr_accessor long_values: ::Array[::Integer]
|
19
|
+
attr_accessor double_values: ::Array[::Float]
|
20
|
+
attr_accessor string_values: ::Array[::String]
|
21
|
+
attr_accessor array_values: ::Array[Types::ArrayValue]
|
22
|
+
attr_accessor unknown: untyped
|
23
|
+
SENSITIVE: []
|
24
|
+
|
25
|
+
class BooleanValues < ArrayValue
|
26
|
+
end
|
27
|
+
class LongValues < ArrayValue
|
28
|
+
end
|
29
|
+
class DoubleValues < ArrayValue
|
30
|
+
end
|
31
|
+
class StringValues < ArrayValue
|
32
|
+
end
|
33
|
+
class ArrayValues < ArrayValue
|
34
|
+
end
|
35
|
+
class Unknown < ArrayValue
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
class BadRequestException
|
40
|
+
attr_accessor message: ::String
|
41
|
+
SENSITIVE: []
|
42
|
+
end
|
43
|
+
|
44
|
+
class BatchExecuteStatementRequest
|
45
|
+
attr_accessor resource_arn: ::String
|
46
|
+
attr_accessor secret_arn: ::String
|
47
|
+
attr_accessor sql: ::String
|
48
|
+
attr_accessor database: ::String
|
49
|
+
attr_accessor schema: ::String
|
50
|
+
attr_accessor parameter_sets: ::Array[::Array[Types::SqlParameter]]
|
51
|
+
attr_accessor transaction_id: ::String
|
52
|
+
SENSITIVE: []
|
53
|
+
end
|
54
|
+
|
55
|
+
class BatchExecuteStatementResponse
|
56
|
+
attr_accessor update_results: ::Array[Types::UpdateResult]
|
57
|
+
SENSITIVE: []
|
58
|
+
end
|
59
|
+
|
60
|
+
class BeginTransactionRequest
|
61
|
+
attr_accessor resource_arn: ::String
|
62
|
+
attr_accessor secret_arn: ::String
|
63
|
+
attr_accessor database: ::String
|
64
|
+
attr_accessor schema: ::String
|
65
|
+
SENSITIVE: []
|
66
|
+
end
|
67
|
+
|
68
|
+
class BeginTransactionResponse
|
69
|
+
attr_accessor transaction_id: ::String
|
70
|
+
SENSITIVE: []
|
71
|
+
end
|
72
|
+
|
73
|
+
class ColumnMetadata
|
74
|
+
attr_accessor name: ::String
|
75
|
+
attr_accessor type: ::Integer
|
76
|
+
attr_accessor type_name: ::String
|
77
|
+
attr_accessor label: ::String
|
78
|
+
attr_accessor schema_name: ::String
|
79
|
+
attr_accessor table_name: ::String
|
80
|
+
attr_accessor is_auto_increment: bool
|
81
|
+
attr_accessor is_signed: bool
|
82
|
+
attr_accessor is_currency: bool
|
83
|
+
attr_accessor is_case_sensitive: bool
|
84
|
+
attr_accessor nullable: ::Integer
|
85
|
+
attr_accessor precision: ::Integer
|
86
|
+
attr_accessor scale: ::Integer
|
87
|
+
attr_accessor array_base_column_type: ::Integer
|
88
|
+
SENSITIVE: []
|
89
|
+
end
|
90
|
+
|
91
|
+
class CommitTransactionRequest
|
92
|
+
attr_accessor resource_arn: ::String
|
93
|
+
attr_accessor secret_arn: ::String
|
94
|
+
attr_accessor transaction_id: ::String
|
95
|
+
SENSITIVE: []
|
96
|
+
end
|
97
|
+
|
98
|
+
class CommitTransactionResponse
|
99
|
+
attr_accessor transaction_status: ::String
|
100
|
+
SENSITIVE: []
|
101
|
+
end
|
102
|
+
|
103
|
+
class DatabaseErrorException
|
104
|
+
attr_accessor message: ::String
|
105
|
+
SENSITIVE: []
|
106
|
+
end
|
107
|
+
|
108
|
+
class DatabaseNotFoundException
|
109
|
+
attr_accessor message: ::String
|
110
|
+
SENSITIVE: []
|
111
|
+
end
|
112
|
+
|
113
|
+
class DatabaseUnavailableException < Aws::EmptyStructure
|
114
|
+
end
|
115
|
+
|
116
|
+
class ExecuteSqlRequest
|
117
|
+
attr_accessor db_cluster_or_instance_arn: ::String
|
118
|
+
attr_accessor aws_secret_store_arn: ::String
|
119
|
+
attr_accessor sql_statements: ::String
|
120
|
+
attr_accessor database: ::String
|
121
|
+
attr_accessor schema: ::String
|
122
|
+
SENSITIVE: []
|
123
|
+
end
|
124
|
+
|
125
|
+
class ExecuteSqlResponse
|
126
|
+
attr_accessor sql_statement_results: ::Array[Types::SqlStatementResult]
|
127
|
+
SENSITIVE: []
|
128
|
+
end
|
129
|
+
|
130
|
+
class ExecuteStatementRequest
|
131
|
+
attr_accessor resource_arn: ::String
|
132
|
+
attr_accessor secret_arn: ::String
|
133
|
+
attr_accessor sql: ::String
|
134
|
+
attr_accessor database: ::String
|
135
|
+
attr_accessor schema: ::String
|
136
|
+
attr_accessor parameters: ::Array[Types::SqlParameter]
|
137
|
+
attr_accessor transaction_id: ::String
|
138
|
+
attr_accessor include_result_metadata: bool
|
139
|
+
attr_accessor continue_after_timeout: bool
|
140
|
+
attr_accessor result_set_options: Types::ResultSetOptions
|
141
|
+
attr_accessor format_records_as: ("NONE" | "JSON")
|
142
|
+
SENSITIVE: []
|
143
|
+
end
|
144
|
+
|
145
|
+
class ExecuteStatementResponse
|
146
|
+
attr_accessor records: ::Array[::Array[Types::Field]]
|
147
|
+
attr_accessor column_metadata: ::Array[Types::ColumnMetadata]
|
148
|
+
attr_accessor number_of_records_updated: ::Integer
|
149
|
+
attr_accessor generated_fields: ::Array[Types::Field]
|
150
|
+
attr_accessor formatted_records: ::String
|
151
|
+
SENSITIVE: []
|
152
|
+
end
|
153
|
+
|
154
|
+
class Field
|
155
|
+
attr_accessor is_null: bool
|
156
|
+
attr_accessor boolean_value: bool
|
157
|
+
attr_accessor long_value: ::Integer
|
158
|
+
attr_accessor double_value: ::Float
|
159
|
+
attr_accessor string_value: ::String
|
160
|
+
attr_accessor blob_value: ::String
|
161
|
+
attr_accessor array_value: Types::ArrayValue
|
162
|
+
attr_accessor unknown: untyped
|
163
|
+
SENSITIVE: []
|
164
|
+
|
165
|
+
class IsNull < Field
|
166
|
+
end
|
167
|
+
class BooleanValue < Field
|
168
|
+
end
|
169
|
+
class LongValue < Field
|
170
|
+
end
|
171
|
+
class DoubleValue < Field
|
172
|
+
end
|
173
|
+
class StringValue < Field
|
174
|
+
end
|
175
|
+
class BlobValue < Field
|
176
|
+
end
|
177
|
+
class ArrayValue < Field
|
178
|
+
end
|
179
|
+
class Unknown < Field
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
class ForbiddenException
|
184
|
+
attr_accessor message: ::String
|
185
|
+
SENSITIVE: []
|
186
|
+
end
|
187
|
+
|
188
|
+
class HttpEndpointNotEnabledException
|
189
|
+
attr_accessor message: ::String
|
190
|
+
SENSITIVE: []
|
191
|
+
end
|
192
|
+
|
193
|
+
class InternalServerErrorException < Aws::EmptyStructure
|
194
|
+
end
|
195
|
+
|
196
|
+
class InvalidSecretException
|
197
|
+
attr_accessor message: ::String
|
198
|
+
SENSITIVE: []
|
199
|
+
end
|
200
|
+
|
201
|
+
class NotFoundException
|
202
|
+
attr_accessor message: ::String
|
203
|
+
SENSITIVE: []
|
204
|
+
end
|
205
|
+
|
206
|
+
class Record
|
207
|
+
attr_accessor values: ::Array[Types::Value]
|
208
|
+
SENSITIVE: []
|
209
|
+
end
|
210
|
+
|
211
|
+
class ResultFrame
|
212
|
+
attr_accessor result_set_metadata: Types::ResultSetMetadata
|
213
|
+
attr_accessor records: ::Array[Types::Record]
|
214
|
+
SENSITIVE: []
|
215
|
+
end
|
216
|
+
|
217
|
+
class ResultSetMetadata
|
218
|
+
attr_accessor column_count: ::Integer
|
219
|
+
attr_accessor column_metadata: ::Array[Types::ColumnMetadata]
|
220
|
+
SENSITIVE: []
|
221
|
+
end
|
222
|
+
|
223
|
+
class ResultSetOptions
|
224
|
+
attr_accessor decimal_return_type: ("STRING" | "DOUBLE_OR_LONG")
|
225
|
+
attr_accessor long_return_type: ("STRING" | "LONG")
|
226
|
+
SENSITIVE: []
|
227
|
+
end
|
228
|
+
|
229
|
+
class RollbackTransactionRequest
|
230
|
+
attr_accessor resource_arn: ::String
|
231
|
+
attr_accessor secret_arn: ::String
|
232
|
+
attr_accessor transaction_id: ::String
|
233
|
+
SENSITIVE: []
|
234
|
+
end
|
235
|
+
|
236
|
+
class RollbackTransactionResponse
|
237
|
+
attr_accessor transaction_status: ::String
|
238
|
+
SENSITIVE: []
|
239
|
+
end
|
240
|
+
|
241
|
+
class SecretsErrorException
|
242
|
+
attr_accessor message: ::String
|
243
|
+
SENSITIVE: []
|
244
|
+
end
|
245
|
+
|
246
|
+
class ServiceUnavailableError < Aws::EmptyStructure
|
247
|
+
end
|
248
|
+
|
249
|
+
class SqlParameter
|
250
|
+
attr_accessor name: ::String
|
251
|
+
attr_accessor value: Types::Field
|
252
|
+
attr_accessor type_hint: ("JSON" | "UUID" | "TIMESTAMP" | "DATE" | "TIME" | "DECIMAL")
|
253
|
+
SENSITIVE: []
|
254
|
+
end
|
255
|
+
|
256
|
+
class SqlStatementResult
|
257
|
+
attr_accessor result_frame: Types::ResultFrame
|
258
|
+
attr_accessor number_of_records_updated: ::Integer
|
259
|
+
SENSITIVE: []
|
260
|
+
end
|
261
|
+
|
262
|
+
class StatementTimeoutException
|
263
|
+
attr_accessor message: ::String
|
264
|
+
attr_accessor db_connection_id: ::Integer
|
265
|
+
SENSITIVE: []
|
266
|
+
end
|
267
|
+
|
268
|
+
class StructValue
|
269
|
+
attr_accessor attributes: ::Array[Types::Value]
|
270
|
+
SENSITIVE: []
|
271
|
+
end
|
272
|
+
|
273
|
+
class TransactionNotFoundException
|
274
|
+
attr_accessor message: ::String
|
275
|
+
SENSITIVE: []
|
276
|
+
end
|
277
|
+
|
278
|
+
class UnsupportedResultException
|
279
|
+
attr_accessor message: ::String
|
280
|
+
SENSITIVE: []
|
281
|
+
end
|
282
|
+
|
283
|
+
class UpdateResult
|
284
|
+
attr_accessor generated_fields: ::Array[Types::Field]
|
285
|
+
SENSITIVE: []
|
286
|
+
end
|
287
|
+
|
288
|
+
class Value
|
289
|
+
attr_accessor is_null: bool
|
290
|
+
attr_accessor bit_value: bool
|
291
|
+
attr_accessor big_int_value: ::Integer
|
292
|
+
attr_accessor int_value: ::Integer
|
293
|
+
attr_accessor double_value: ::Float
|
294
|
+
attr_accessor real_value: ::Float
|
295
|
+
attr_accessor string_value: ::String
|
296
|
+
attr_accessor blob_value: ::String
|
297
|
+
attr_accessor array_values: ::Array[Types::Value]
|
298
|
+
attr_accessor struct_value: Types::StructValue
|
299
|
+
attr_accessor unknown: untyped
|
300
|
+
SENSITIVE: []
|
301
|
+
|
302
|
+
class IsNull < Value
|
303
|
+
end
|
304
|
+
class BitValue < Value
|
305
|
+
end
|
306
|
+
class BigIntValue < Value
|
307
|
+
end
|
308
|
+
class IntValue < Value
|
309
|
+
end
|
310
|
+
class DoubleValue < Value
|
311
|
+
end
|
312
|
+
class RealValue < Value
|
313
|
+
end
|
314
|
+
class StringValue < Value
|
315
|
+
end
|
316
|
+
class BlobValue < Value
|
317
|
+
end
|
318
|
+
class ArrayValues < Value
|
319
|
+
end
|
320
|
+
class StructValue < Value
|
321
|
+
end
|
322
|
+
class Unknown < Value
|
323
|
+
end
|
324
|
+
end
|
325
|
+
end
|
326
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
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 Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
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.52.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.193.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,13 +66,18 @@ files:
|
|
66
66
|
- lib/aws-sdk-rdsdataservice/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-rdsdataservice/resource.rb
|
68
68
|
- lib/aws-sdk-rdsdataservice/types.rb
|
69
|
+
- sig/client.rbs
|
70
|
+
- sig/errors.rbs
|
71
|
+
- sig/resource.rbs
|
72
|
+
- sig/types.rbs
|
73
|
+
- sig/waiters.rbs
|
69
74
|
homepage: https://github.com/aws/aws-sdk-ruby
|
70
75
|
licenses:
|
71
76
|
- Apache-2.0
|
72
77
|
metadata:
|
73
78
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-rdsdataservice
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-rdsdataservice/CHANGELOG.md
|
75
|
-
post_install_message:
|
80
|
+
post_install_message:
|
76
81
|
rdoc_options: []
|
77
82
|
require_paths:
|
78
83
|
- lib
|
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
92
|
- !ruby/object:Gem::Version
|
88
93
|
version: '0'
|
89
94
|
requirements: []
|
90
|
-
rubygems_version: 3.
|
91
|
-
signing_key:
|
95
|
+
rubygems_version: 3.4.10
|
96
|
+
signing_key:
|
92
97
|
specification_version: 4
|
93
98
|
summary: AWS SDK for Ruby - AWS RDS DataService
|
94
99
|
test_files: []
|