aws-sdk-rdsdataservice 1.15.0 → 1.20.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/lib/aws-sdk-rdsdataservice.rb +3 -1
- data/lib/aws-sdk-rdsdataservice/client.rb +28 -11
- data/lib/aws-sdk-rdsdataservice/client_api.rb +2 -0
- data/lib/aws-sdk-rdsdataservice/errors.rb +2 -0
- data/lib/aws-sdk-rdsdataservice/resource.rb +3 -7
- data/lib/aws-sdk-rdsdataservice/types.rb +46 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e2272ee6a4b01b1b1defbbc42b8f33053217c244d23cb1a87cd786c7250bfe7
|
4
|
+
data.tar.gz: 38b1424a3b3793966b94243fa6895fa52b11a8601ac3d5c74ded71a67c43b8f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7784e12efc983d216b603fdd2939ea1661e4921b6f7780da7f20aa0173147346410aed3da4018ea3876a1c1e1b450461491fa7eb2f1eeb40ebb63e2f1a9703f1
|
7
|
+
data.tar.gz: cefb31909d5d97c83e729fd25e833741a72db3ac0abdb205b4f4267db583bd7879ec03c2e62019f3310b982e2b15d8af2895b4f8a2c693150339462350f8cf8a
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-rdsdataservice/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::RDSDataService
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.20.0'
|
49
51
|
|
50
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::RDSDataService
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -105,7 +109,7 @@ module Aws::RDSDataService
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::RDSDataService
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::RDSDataService
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -269,8 +273,7 @@ module Aws::RDSDataService
|
|
269
273
|
#
|
270
274
|
# @option options [Integer] :http_read_timeout (60) The default
|
271
275
|
# number of seconds to wait for response data. This value can
|
272
|
-
# safely be set
|
273
|
-
# per-request on the session yielded by {#session_for}.
|
276
|
+
# safely be set per-request on the session.
|
274
277
|
#
|
275
278
|
# @option options [Float] :http_idle_timeout (5) The number of
|
276
279
|
# seconds a connection is allowed to sit idle before it is
|
@@ -282,7 +285,7 @@ module Aws::RDSDataService
|
|
282
285
|
# request body. This option has no effect unless the request has
|
283
286
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
284
287
|
# disables this behaviour. This value can safely be set per
|
285
|
-
# request on the session
|
288
|
+
# request on the session.
|
286
289
|
#
|
287
290
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
288
291
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -326,7 +329,18 @@ module Aws::RDSDataService
|
|
326
329
|
# @option params [Array<Array>] :parameter_sets
|
327
330
|
# The parameter set for the batch operation.
|
328
331
|
#
|
329
|
-
# The
|
332
|
+
# The SQL statement is executed as many times as the number of parameter
|
333
|
+
# sets provided. To execute a SQL statement with no parameters, use one
|
334
|
+
# of the following options:
|
335
|
+
#
|
336
|
+
# * Specify one or more empty parameter sets.
|
337
|
+
#
|
338
|
+
# * Use the `ExecuteStatement` operation instead of the
|
339
|
+
# `BatchExecuteStatement` operation.
|
340
|
+
#
|
341
|
+
# <note markdown="1"> Array parameters are not supported.
|
342
|
+
#
|
343
|
+
# </note>
|
330
344
|
#
|
331
345
|
# @option params [required, String] :resource_arn
|
332
346
|
# The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
|
@@ -588,9 +602,8 @@ module Aws::RDSDataService
|
|
588
602
|
# `transactionID` parameter, changes that result from the call are
|
589
603
|
# committed automatically.
|
590
604
|
#
|
591
|
-
# The response size limit is 1 MB
|
592
|
-
#
|
593
|
-
# terminated.
|
605
|
+
# The response size limit is 1 MB. If the call returns more than 1 MB of
|
606
|
+
# response data, the call is terminated.
|
594
607
|
#
|
595
608
|
# @option params [Boolean] :continue_after_timeout
|
596
609
|
# A value that indicates whether to continue running the statement after
|
@@ -611,6 +624,10 @@ module Aws::RDSDataService
|
|
611
624
|
# @option params [Array<Types::SqlParameter>] :parameters
|
612
625
|
# The parameters for the SQL statement.
|
613
626
|
#
|
627
|
+
# <note markdown="1"> Array parameters are not supported.
|
628
|
+
#
|
629
|
+
# </note>
|
630
|
+
#
|
614
631
|
# @option params [required, String] :resource_arn
|
615
632
|
# The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
|
616
633
|
#
|
@@ -795,7 +812,7 @@ module Aws::RDSDataService
|
|
795
812
|
params: params,
|
796
813
|
config: config)
|
797
814
|
context[:gem_name] = 'aws-sdk-rdsdataservice'
|
798
|
-
context[:gem_version] = '1.
|
815
|
+
context[:gem_version] = '1.20.0'
|
799
816
|
Seahorse::Client::Request.new(handlers, context)
|
800
817
|
end
|
801
818
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::RDSDataService
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::RDSDataService::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::RDSDataService::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::RDSDataService::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -59,6 +61,7 @@ module Aws::RDSDataService
|
|
59
61
|
:double_values,
|
60
62
|
:long_values,
|
61
63
|
:string_values)
|
64
|
+
SENSITIVE = []
|
62
65
|
include Aws::Structure
|
63
66
|
end
|
64
67
|
|
@@ -72,6 +75,7 @@ module Aws::RDSDataService
|
|
72
75
|
#
|
73
76
|
class BadRequestException < Struct.new(
|
74
77
|
:message)
|
78
|
+
SENSITIVE = []
|
75
79
|
include Aws::Structure
|
76
80
|
end
|
77
81
|
|
@@ -124,7 +128,18 @@ module Aws::RDSDataService
|
|
124
128
|
# @!attribute [rw] parameter_sets
|
125
129
|
# The parameter set for the batch operation.
|
126
130
|
#
|
127
|
-
# The
|
131
|
+
# The SQL statement is executed as many times as the number of
|
132
|
+
# parameter sets provided. To execute a SQL statement with no
|
133
|
+
# parameters, use one of the following options:
|
134
|
+
#
|
135
|
+
# * Specify one or more empty parameter sets.
|
136
|
+
#
|
137
|
+
# * Use the `ExecuteStatement` operation instead of the
|
138
|
+
# `BatchExecuteStatement` operation.
|
139
|
+
#
|
140
|
+
# <note markdown="1"> Array parameters are not supported.
|
141
|
+
#
|
142
|
+
# </note>
|
128
143
|
# @return [Array<Array<Types::SqlParameter>>]
|
129
144
|
#
|
130
145
|
# @!attribute [rw] resource_arn
|
@@ -162,6 +177,7 @@ module Aws::RDSDataService
|
|
162
177
|
:secret_arn,
|
163
178
|
:sql,
|
164
179
|
:transaction_id)
|
180
|
+
SENSITIVE = []
|
165
181
|
include Aws::Structure
|
166
182
|
end
|
167
183
|
|
@@ -176,6 +192,7 @@ module Aws::RDSDataService
|
|
176
192
|
#
|
177
193
|
class BatchExecuteStatementResponse < Struct.new(
|
178
194
|
:update_results)
|
195
|
+
SENSITIVE = []
|
179
196
|
include Aws::Structure
|
180
197
|
end
|
181
198
|
|
@@ -215,6 +232,7 @@ module Aws::RDSDataService
|
|
215
232
|
:resource_arn,
|
216
233
|
:schema,
|
217
234
|
:secret_arn)
|
235
|
+
SENSITIVE = []
|
218
236
|
include Aws::Structure
|
219
237
|
end
|
220
238
|
|
@@ -229,6 +247,7 @@ module Aws::RDSDataService
|
|
229
247
|
#
|
230
248
|
class BeginTransactionResponse < Struct.new(
|
231
249
|
:transaction_id)
|
250
|
+
SENSITIVE = []
|
232
251
|
include Aws::Structure
|
233
252
|
end
|
234
253
|
|
@@ -307,6 +326,7 @@ module Aws::RDSDataService
|
|
307
326
|
:table_name,
|
308
327
|
:type,
|
309
328
|
:type_name)
|
329
|
+
SENSITIVE = []
|
310
330
|
include Aws::Structure
|
311
331
|
end
|
312
332
|
|
@@ -340,6 +360,7 @@ module Aws::RDSDataService
|
|
340
360
|
:resource_arn,
|
341
361
|
:secret_arn,
|
342
362
|
:transaction_id)
|
363
|
+
SENSITIVE = []
|
343
364
|
include Aws::Structure
|
344
365
|
end
|
345
366
|
|
@@ -354,6 +375,7 @@ module Aws::RDSDataService
|
|
354
375
|
#
|
355
376
|
class CommitTransactionResponse < Struct.new(
|
356
377
|
:transaction_status)
|
378
|
+
SENSITIVE = []
|
357
379
|
include Aws::Structure
|
358
380
|
end
|
359
381
|
|
@@ -404,6 +426,7 @@ module Aws::RDSDataService
|
|
404
426
|
:db_cluster_or_instance_arn,
|
405
427
|
:schema,
|
406
428
|
:sql_statements)
|
429
|
+
SENSITIVE = []
|
407
430
|
include Aws::Structure
|
408
431
|
end
|
409
432
|
|
@@ -418,6 +441,7 @@ module Aws::RDSDataService
|
|
418
441
|
#
|
419
442
|
class ExecuteSqlResponse < Struct.new(
|
420
443
|
:sql_statement_results)
|
444
|
+
SENSITIVE = []
|
421
445
|
include Aws::Structure
|
422
446
|
end
|
423
447
|
|
@@ -487,6 +511,10 @@ module Aws::RDSDataService
|
|
487
511
|
#
|
488
512
|
# @!attribute [rw] parameters
|
489
513
|
# The parameters for the SQL statement.
|
514
|
+
#
|
515
|
+
# <note markdown="1"> Array parameters are not supported.
|
516
|
+
#
|
517
|
+
# </note>
|
490
518
|
# @return [Array<Types::SqlParameter>]
|
491
519
|
#
|
492
520
|
# @!attribute [rw] resource_arn
|
@@ -531,6 +559,7 @@ module Aws::RDSDataService
|
|
531
559
|
:secret_arn,
|
532
560
|
:sql,
|
533
561
|
:transaction_id)
|
562
|
+
SENSITIVE = []
|
534
563
|
include Aws::Structure
|
535
564
|
end
|
536
565
|
|
@@ -562,6 +591,7 @@ module Aws::RDSDataService
|
|
562
591
|
:generated_fields,
|
563
592
|
:number_of_records_updated,
|
564
593
|
:records)
|
594
|
+
SENSITIVE = []
|
565
595
|
include Aws::Structure
|
566
596
|
end
|
567
597
|
|
@@ -628,6 +658,7 @@ module Aws::RDSDataService
|
|
628
658
|
:is_null,
|
629
659
|
:long_value,
|
630
660
|
:string_value)
|
661
|
+
SENSITIVE = []
|
631
662
|
include Aws::Structure
|
632
663
|
end
|
633
664
|
|
@@ -641,6 +672,7 @@ module Aws::RDSDataService
|
|
641
672
|
#
|
642
673
|
class ForbiddenException < Struct.new(
|
643
674
|
:message)
|
675
|
+
SENSITIVE = []
|
644
676
|
include Aws::Structure
|
645
677
|
end
|
646
678
|
|
@@ -661,6 +693,7 @@ module Aws::RDSDataService
|
|
661
693
|
#
|
662
694
|
class NotFoundException < Struct.new(
|
663
695
|
:message)
|
696
|
+
SENSITIVE = []
|
664
697
|
include Aws::Structure
|
665
698
|
end
|
666
699
|
|
@@ -674,6 +707,7 @@ module Aws::RDSDataService
|
|
674
707
|
#
|
675
708
|
class Record < Struct.new(
|
676
709
|
:values)
|
710
|
+
SENSITIVE = []
|
677
711
|
include Aws::Structure
|
678
712
|
end
|
679
713
|
|
@@ -692,6 +726,7 @@ module Aws::RDSDataService
|
|
692
726
|
class ResultFrame < Struct.new(
|
693
727
|
:records,
|
694
728
|
:result_set_metadata)
|
729
|
+
SENSITIVE = []
|
695
730
|
include Aws::Structure
|
696
731
|
end
|
697
732
|
|
@@ -710,6 +745,7 @@ module Aws::RDSDataService
|
|
710
745
|
class ResultSetMetadata < Struct.new(
|
711
746
|
:column_count,
|
712
747
|
:column_metadata)
|
748
|
+
SENSITIVE = []
|
713
749
|
include Aws::Structure
|
714
750
|
end
|
715
751
|
|
@@ -738,6 +774,7 @@ module Aws::RDSDataService
|
|
738
774
|
#
|
739
775
|
class ResultSetOptions < Struct.new(
|
740
776
|
:decimal_return_type)
|
777
|
+
SENSITIVE = []
|
741
778
|
include Aws::Structure
|
742
779
|
end
|
743
780
|
|
@@ -771,6 +808,7 @@ module Aws::RDSDataService
|
|
771
808
|
:resource_arn,
|
772
809
|
:secret_arn,
|
773
810
|
:transaction_id)
|
811
|
+
SENSITIVE = []
|
774
812
|
include Aws::Structure
|
775
813
|
end
|
776
814
|
|
@@ -785,6 +823,7 @@ module Aws::RDSDataService
|
|
785
823
|
#
|
786
824
|
class RollbackTransactionResponse < Struct.new(
|
787
825
|
:transaction_status)
|
826
|
+
SENSITIVE = []
|
788
827
|
include Aws::Structure
|
789
828
|
end
|
790
829
|
|
@@ -858,6 +897,7 @@ module Aws::RDSDataService
|
|
858
897
|
:name,
|
859
898
|
:type_hint,
|
860
899
|
:value)
|
900
|
+
SENSITIVE = []
|
861
901
|
include Aws::Structure
|
862
902
|
end
|
863
903
|
|
@@ -878,6 +918,7 @@ module Aws::RDSDataService
|
|
878
918
|
class SqlStatementResult < Struct.new(
|
879
919
|
:number_of_records_updated,
|
880
920
|
:result_frame)
|
921
|
+
SENSITIVE = []
|
881
922
|
include Aws::Structure
|
882
923
|
end
|
883
924
|
|
@@ -897,6 +938,7 @@ module Aws::RDSDataService
|
|
897
938
|
class StatementTimeoutException < Struct.new(
|
898
939
|
:db_connection_id,
|
899
940
|
:message)
|
941
|
+
SENSITIVE = []
|
900
942
|
include Aws::Structure
|
901
943
|
end
|
902
944
|
|
@@ -910,6 +952,7 @@ module Aws::RDSDataService
|
|
910
952
|
#
|
911
953
|
class StructValue < Struct.new(
|
912
954
|
:attributes)
|
955
|
+
SENSITIVE = []
|
913
956
|
include Aws::Structure
|
914
957
|
end
|
915
958
|
|
@@ -923,6 +966,7 @@ module Aws::RDSDataService
|
|
923
966
|
#
|
924
967
|
class UpdateResult < Struct.new(
|
925
968
|
:generated_fields)
|
969
|
+
SENSITIVE = []
|
926
970
|
include Aws::Structure
|
927
971
|
end
|
928
972
|
|
@@ -983,6 +1027,7 @@ module Aws::RDSDataService
|
|
983
1027
|
:real_value,
|
984
1028
|
:string_value,
|
985
1029
|
:struct_value)
|
1030
|
+
SENSITIVE = []
|
986
1031
|
include Aws::Structure
|
987
1032
|
end
|
988
1033
|
|
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.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-23 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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,7 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 2.7.6.2
|
84
85
|
signing_key:
|
85
86
|
specification_version: 4
|
86
87
|
summary: AWS SDK for Ruby - AWS RDS DataService
|