aws-sdk-rdsdataservice 1.19.1 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-rdsdataservice.rb +5 -2
- data/lib/aws-sdk-rdsdataservice/client.rb +32 -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 +2 -0
- data/lib/aws-sdk-rdsdataservice/types.rb +51 -12
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d5213924441e7c63bbff6d9f453dab73620aeb29fc444b649575be780611a7c
|
4
|
+
data.tar.gz: 653ac71bc95b21748b1f62631db978b47196e45f535230efa0e586336e764932
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f40b95c9d4c31b5a7d23ef836dc42a595b1e9e15a9b5e79fdda54058a19fe16c3d888fbd7f3a70ef43e6661dffc3b58aa4804b77e8e65ecd6279b1f31a4d5025
|
7
|
+
data.tar.gz: 840d732b00b676a7c3244ada5beb9137042e2db5f8aa4cb15c99585b20aad2c45d2c0f361c4fec909fdb8958838b64a581f1747cf3319db65fb115f5b6e17b16
|
@@ -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:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-rdsdataservice/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::RDSDataService
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.24.0'
|
49
52
|
|
50
53
|
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:
|
@@ -83,13 +85,28 @@ module Aws::RDSDataService
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::RDSDataService
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -372,7 +389,7 @@ module Aws::RDSDataService
|
|
372
389
|
# [
|
373
390
|
# {
|
374
391
|
# name: "ParameterName",
|
375
|
-
# type_hint: "
|
392
|
+
# type_hint: "JSON", # accepts JSON, UUID, TIMESTAMP, DATE, TIME, DECIMAL
|
376
393
|
# value: {
|
377
394
|
# array_value: {
|
378
395
|
# array_values: [
|
@@ -635,6 +652,10 @@ module Aws::RDSDataService
|
|
635
652
|
# @option params [String] :schema
|
636
653
|
# The name of the database schema.
|
637
654
|
#
|
655
|
+
# <note markdown="1"> Currently, the `schema` parameter isn't supported.
|
656
|
+
#
|
657
|
+
# </note>
|
658
|
+
#
|
638
659
|
# @option params [required, String] :secret_arn
|
639
660
|
# The name or ARN of the secret that enables access to the DB cluster.
|
640
661
|
#
|
@@ -665,7 +686,7 @@ module Aws::RDSDataService
|
|
665
686
|
# parameters: [
|
666
687
|
# {
|
667
688
|
# name: "ParameterName",
|
668
|
-
# type_hint: "
|
689
|
+
# type_hint: "JSON", # accepts JSON, UUID, TIMESTAMP, DATE, TIME, DECIMAL
|
669
690
|
# value: {
|
670
691
|
# array_value: {
|
671
692
|
# array_values: [
|
@@ -689,7 +710,7 @@ module Aws::RDSDataService
|
|
689
710
|
# ],
|
690
711
|
# resource_arn: "Arn", # required
|
691
712
|
# result_set_options: {
|
692
|
-
# decimal_return_type: "
|
713
|
+
# decimal_return_type: "STRING", # accepts STRING, DOUBLE_OR_LONG
|
693
714
|
# },
|
694
715
|
# schema: "DbName",
|
695
716
|
# secret_arn: "Arn", # required
|
@@ -810,7 +831,7 @@ module Aws::RDSDataService
|
|
810
831
|
params: params,
|
811
832
|
config: config)
|
812
833
|
context[:gem_name] = 'aws-sdk-rdsdataservice'
|
813
|
-
context[:gem_version] = '1.
|
834
|
+
context[:gem_version] = '1.24.0'
|
814
835
|
Seahorse::Client::Request.new(handlers, context)
|
815
836
|
end
|
816
837
|
|
@@ -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
|
|
@@ -87,7 +91,7 @@ module Aws::RDSDataService
|
|
87
91
|
# [
|
88
92
|
# {
|
89
93
|
# name: "ParameterName",
|
90
|
-
# type_hint: "
|
94
|
+
# type_hint: "JSON", # accepts JSON, UUID, TIMESTAMP, DATE, TIME, DECIMAL
|
91
95
|
# value: {
|
92
96
|
# array_value: {
|
93
97
|
# array_values: [
|
@@ -173,6 +177,7 @@ module Aws::RDSDataService
|
|
173
177
|
:secret_arn,
|
174
178
|
:sql,
|
175
179
|
:transaction_id)
|
180
|
+
SENSITIVE = []
|
176
181
|
include Aws::Structure
|
177
182
|
end
|
178
183
|
|
@@ -187,6 +192,7 @@ module Aws::RDSDataService
|
|
187
192
|
#
|
188
193
|
class BatchExecuteStatementResponse < Struct.new(
|
189
194
|
:update_results)
|
195
|
+
SENSITIVE = []
|
190
196
|
include Aws::Structure
|
191
197
|
end
|
192
198
|
|
@@ -226,6 +232,7 @@ module Aws::RDSDataService
|
|
226
232
|
:resource_arn,
|
227
233
|
:schema,
|
228
234
|
:secret_arn)
|
235
|
+
SENSITIVE = []
|
229
236
|
include Aws::Structure
|
230
237
|
end
|
231
238
|
|
@@ -240,6 +247,7 @@ module Aws::RDSDataService
|
|
240
247
|
#
|
241
248
|
class BeginTransactionResponse < Struct.new(
|
242
249
|
:transaction_id)
|
250
|
+
SENSITIVE = []
|
243
251
|
include Aws::Structure
|
244
252
|
end
|
245
253
|
|
@@ -318,6 +326,7 @@ module Aws::RDSDataService
|
|
318
326
|
:table_name,
|
319
327
|
:type,
|
320
328
|
:type_name)
|
329
|
+
SENSITIVE = []
|
321
330
|
include Aws::Structure
|
322
331
|
end
|
323
332
|
|
@@ -351,6 +360,7 @@ module Aws::RDSDataService
|
|
351
360
|
:resource_arn,
|
352
361
|
:secret_arn,
|
353
362
|
:transaction_id)
|
363
|
+
SENSITIVE = []
|
354
364
|
include Aws::Structure
|
355
365
|
end
|
356
366
|
|
@@ -365,6 +375,7 @@ module Aws::RDSDataService
|
|
365
375
|
#
|
366
376
|
class CommitTransactionResponse < Struct.new(
|
367
377
|
:transaction_status)
|
378
|
+
SENSITIVE = []
|
368
379
|
include Aws::Structure
|
369
380
|
end
|
370
381
|
|
@@ -415,6 +426,7 @@ module Aws::RDSDataService
|
|
415
426
|
:db_cluster_or_instance_arn,
|
416
427
|
:schema,
|
417
428
|
:sql_statements)
|
429
|
+
SENSITIVE = []
|
418
430
|
include Aws::Structure
|
419
431
|
end
|
420
432
|
|
@@ -429,6 +441,7 @@ module Aws::RDSDataService
|
|
429
441
|
#
|
430
442
|
class ExecuteSqlResponse < Struct.new(
|
431
443
|
:sql_statement_results)
|
444
|
+
SENSITIVE = []
|
432
445
|
include Aws::Structure
|
433
446
|
end
|
434
447
|
|
@@ -445,7 +458,7 @@ module Aws::RDSDataService
|
|
445
458
|
# parameters: [
|
446
459
|
# {
|
447
460
|
# name: "ParameterName",
|
448
|
-
# type_hint: "
|
461
|
+
# type_hint: "JSON", # accepts JSON, UUID, TIMESTAMP, DATE, TIME, DECIMAL
|
449
462
|
# value: {
|
450
463
|
# array_value: {
|
451
464
|
# array_values: [
|
@@ -469,7 +482,7 @@ module Aws::RDSDataService
|
|
469
482
|
# ],
|
470
483
|
# resource_arn: "Arn", # required
|
471
484
|
# result_set_options: {
|
472
|
-
# decimal_return_type: "
|
485
|
+
# decimal_return_type: "STRING", # accepts STRING, DOUBLE_OR_LONG
|
473
486
|
# },
|
474
487
|
# schema: "DbName",
|
475
488
|
# secret_arn: "Arn", # required
|
@@ -514,6 +527,10 @@ module Aws::RDSDataService
|
|
514
527
|
#
|
515
528
|
# @!attribute [rw] schema
|
516
529
|
# The name of the database schema.
|
530
|
+
#
|
531
|
+
# <note markdown="1"> Currently, the `schema` parameter isn't supported.
|
532
|
+
#
|
533
|
+
# </note>
|
517
534
|
# @return [String]
|
518
535
|
#
|
519
536
|
# @!attribute [rw] secret_arn
|
@@ -546,6 +563,7 @@ module Aws::RDSDataService
|
|
546
563
|
:secret_arn,
|
547
564
|
:sql,
|
548
565
|
:transaction_id)
|
566
|
+
SENSITIVE = []
|
549
567
|
include Aws::Structure
|
550
568
|
end
|
551
569
|
|
@@ -577,6 +595,7 @@ module Aws::RDSDataService
|
|
577
595
|
:generated_fields,
|
578
596
|
:number_of_records_updated,
|
579
597
|
:records)
|
598
|
+
SENSITIVE = []
|
580
599
|
include Aws::Structure
|
581
600
|
end
|
582
601
|
|
@@ -643,6 +662,7 @@ module Aws::RDSDataService
|
|
643
662
|
:is_null,
|
644
663
|
:long_value,
|
645
664
|
:string_value)
|
665
|
+
SENSITIVE = []
|
646
666
|
include Aws::Structure
|
647
667
|
end
|
648
668
|
|
@@ -656,6 +676,7 @@ module Aws::RDSDataService
|
|
656
676
|
#
|
657
677
|
class ForbiddenException < Struct.new(
|
658
678
|
:message)
|
679
|
+
SENSITIVE = []
|
659
680
|
include Aws::Structure
|
660
681
|
end
|
661
682
|
|
@@ -676,6 +697,7 @@ module Aws::RDSDataService
|
|
676
697
|
#
|
677
698
|
class NotFoundException < Struct.new(
|
678
699
|
:message)
|
700
|
+
SENSITIVE = []
|
679
701
|
include Aws::Structure
|
680
702
|
end
|
681
703
|
|
@@ -689,6 +711,7 @@ module Aws::RDSDataService
|
|
689
711
|
#
|
690
712
|
class Record < Struct.new(
|
691
713
|
:values)
|
714
|
+
SENSITIVE = []
|
692
715
|
include Aws::Structure
|
693
716
|
end
|
694
717
|
|
@@ -707,6 +730,7 @@ module Aws::RDSDataService
|
|
707
730
|
class ResultFrame < Struct.new(
|
708
731
|
:records,
|
709
732
|
:result_set_metadata)
|
733
|
+
SENSITIVE = []
|
710
734
|
include Aws::Structure
|
711
735
|
end
|
712
736
|
|
@@ -725,6 +749,7 @@ module Aws::RDSDataService
|
|
725
749
|
class ResultSetMetadata < Struct.new(
|
726
750
|
:column_count,
|
727
751
|
:column_metadata)
|
752
|
+
SENSITIVE = []
|
728
753
|
include Aws::Structure
|
729
754
|
end
|
730
755
|
|
@@ -734,7 +759,7 @@ module Aws::RDSDataService
|
|
734
759
|
# data as a hash:
|
735
760
|
#
|
736
761
|
# {
|
737
|
-
# decimal_return_type: "
|
762
|
+
# decimal_return_type: "STRING", # accepts STRING, DOUBLE_OR_LONG
|
738
763
|
# }
|
739
764
|
#
|
740
765
|
# @!attribute [rw] decimal_return_type
|
@@ -753,6 +778,7 @@ module Aws::RDSDataService
|
|
753
778
|
#
|
754
779
|
class ResultSetOptions < Struct.new(
|
755
780
|
:decimal_return_type)
|
781
|
+
SENSITIVE = []
|
756
782
|
include Aws::Structure
|
757
783
|
end
|
758
784
|
|
@@ -786,6 +812,7 @@ module Aws::RDSDataService
|
|
786
812
|
:resource_arn,
|
787
813
|
:secret_arn,
|
788
814
|
:transaction_id)
|
815
|
+
SENSITIVE = []
|
789
816
|
include Aws::Structure
|
790
817
|
end
|
791
818
|
|
@@ -800,6 +827,7 @@ module Aws::RDSDataService
|
|
800
827
|
#
|
801
828
|
class RollbackTransactionResponse < Struct.new(
|
802
829
|
:transaction_status)
|
830
|
+
SENSITIVE = []
|
803
831
|
include Aws::Structure
|
804
832
|
end
|
805
833
|
|
@@ -816,7 +844,7 @@ module Aws::RDSDataService
|
|
816
844
|
#
|
817
845
|
# {
|
818
846
|
# name: "ParameterName",
|
819
|
-
# type_hint: "
|
847
|
+
# type_hint: "JSON", # accepts JSON, UUID, TIMESTAMP, DATE, TIME, DECIMAL
|
820
848
|
# value: {
|
821
849
|
# array_value: {
|
822
850
|
# array_values: [
|
@@ -844,23 +872,28 @@ module Aws::RDSDataService
|
|
844
872
|
#
|
845
873
|
# @!attribute [rw] type_hint
|
846
874
|
# A hint that specifies the correct object type for data type mapping.
|
875
|
+
# Possible values are as follows:
|
847
876
|
#
|
848
|
-
#
|
877
|
+
# * `DATE` - The corresponding `String` parameter value is sent as an
|
878
|
+
# object of `DATE` type to the database. The accepted format is
|
879
|
+
# `YYYY-MM-DD`.
|
849
880
|
#
|
850
881
|
# * `DECIMAL` - The corresponding `String` parameter value is sent as
|
851
882
|
# an object of `DECIMAL` type to the database.
|
852
883
|
#
|
853
|
-
# * `
|
854
|
-
#
|
855
|
-
# format is `YYYY-MM-DD HH:MM:SS[.FFF]`.
|
884
|
+
# * `JSON` - The corresponding `String` parameter value is sent as an
|
885
|
+
# object of `JSON` type to the database.
|
856
886
|
#
|
857
887
|
# * `TIME` - The corresponding `String` parameter value is sent as an
|
858
888
|
# object of `TIME` type to the database. The accepted format is
|
859
889
|
# `HH:MM:SS[.FFF]`.
|
860
890
|
#
|
861
|
-
# * `
|
862
|
-
# object of `
|
863
|
-
# `YYYY-MM-DD`.
|
891
|
+
# * `TIMESTAMP` - The corresponding `String` parameter value is sent
|
892
|
+
# as an object of `TIMESTAMP` type to the database. The accepted
|
893
|
+
# format is `YYYY-MM-DD HH:MM:SS[.FFF]`.
|
894
|
+
#
|
895
|
+
# * `UUID` - The corresponding `String` parameter value is sent as an
|
896
|
+
# object of `UUID` type to the database.
|
864
897
|
# @return [String]
|
865
898
|
#
|
866
899
|
# @!attribute [rw] value
|
@@ -873,6 +906,7 @@ module Aws::RDSDataService
|
|
873
906
|
:name,
|
874
907
|
:type_hint,
|
875
908
|
:value)
|
909
|
+
SENSITIVE = []
|
876
910
|
include Aws::Structure
|
877
911
|
end
|
878
912
|
|
@@ -893,6 +927,7 @@ module Aws::RDSDataService
|
|
893
927
|
class SqlStatementResult < Struct.new(
|
894
928
|
:number_of_records_updated,
|
895
929
|
:result_frame)
|
930
|
+
SENSITIVE = []
|
896
931
|
include Aws::Structure
|
897
932
|
end
|
898
933
|
|
@@ -912,6 +947,7 @@ module Aws::RDSDataService
|
|
912
947
|
class StatementTimeoutException < Struct.new(
|
913
948
|
:db_connection_id,
|
914
949
|
:message)
|
950
|
+
SENSITIVE = []
|
915
951
|
include Aws::Structure
|
916
952
|
end
|
917
953
|
|
@@ -925,6 +961,7 @@ module Aws::RDSDataService
|
|
925
961
|
#
|
926
962
|
class StructValue < Struct.new(
|
927
963
|
:attributes)
|
964
|
+
SENSITIVE = []
|
928
965
|
include Aws::Structure
|
929
966
|
end
|
930
967
|
|
@@ -938,6 +975,7 @@ module Aws::RDSDataService
|
|
938
975
|
#
|
939
976
|
class UpdateResult < Struct.new(
|
940
977
|
:generated_fields)
|
978
|
+
SENSITIVE = []
|
941
979
|
include Aws::Structure
|
942
980
|
end
|
943
981
|
|
@@ -998,6 +1036,7 @@ module Aws::RDSDataService
|
|
998
1036
|
:real_value,
|
999
1037
|
:string_value,
|
1000
1038
|
:struct_value)
|
1039
|
+
SENSITIVE = []
|
1001
1040
|
include Aws::Structure
|
1002
1041
|
end
|
1003
1042
|
|
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.24.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:
|
11
|
+
date: 2021-02-02 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.112.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.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|