aws-sdk-redshiftdataapiservice 1.14.0 → 1.15.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshiftdataapiservice/client.rb +81 -105
- data/lib/aws-sdk-redshiftdataapiservice/client_api.rb +6 -15
- data/lib/aws-sdk-redshiftdataapiservice/errors.rb +0 -16
- data/lib/aws-sdk-redshiftdataapiservice/types.rb +40 -56
- data/lib/aws-sdk-redshiftdataapiservice.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a18cbb6903c889d128f3973afe1dcd9f3b4540f5d4796c7bec8331de017a7c1
|
4
|
+
data.tar.gz: 9b696a2c33619ab881dd3adbfa92ef2a96eabebbe61990ce88422060290062bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ba11aa7b132c340215b9865276ceac45476ccbe8a63cb9576d6d594978bb3ab5258b8d3a34a1b71bf90eaa7a8d03718245f5734a313973727ade45278e80a68
|
7
|
+
data.tar.gz: a2ebcb05bf4d6590452b1b36b96ecbf4cc15dfba7a85da2b4611b3e7ee5c4393e534c4d37782e79857058fa5a41df5395cecd960dbc0bb8ce75fe042241fe262
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
@@ -351,30 +351,26 @@ module Aws::RedshiftDataAPIService
|
|
351
351
|
# authorization method, use one of the following combinations of request
|
352
352
|
# parameters:
|
353
353
|
#
|
354
|
-
# * Secrets Manager -
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
# @option params [String] :cluster_identifier
|
367
|
-
# The cluster identifier. This parameter is required when connecting to
|
368
|
-
# a cluster and authenticating using either Secrets Manager or temporary
|
369
|
-
# credentials.
|
354
|
+
# * Secrets Manager - specify the Amazon Resource Name (ARN) of the
|
355
|
+
# secret, the database name, and the cluster identifier that matches
|
356
|
+
# the cluster in the secret.
|
357
|
+
#
|
358
|
+
# * Temporary credentials - specify the cluster identifier, the database
|
359
|
+
# name, and the database user name. Permission to call the
|
360
|
+
# `redshift:GetClusterCredentials` operation is required to use this
|
361
|
+
# method.
|
362
|
+
#
|
363
|
+
# @option params [required, String] :cluster_identifier
|
364
|
+
# The cluster identifier. This parameter is required when authenticating
|
365
|
+
# using either Secrets Manager or temporary credentials.
|
370
366
|
#
|
371
367
|
# @option params [required, String] :database
|
372
368
|
# The name of the database. This parameter is required when
|
373
369
|
# authenticating using either Secrets Manager or temporary credentials.
|
374
370
|
#
|
375
371
|
# @option params [String] :db_user
|
376
|
-
# The database user name. This parameter is required when
|
377
|
-
#
|
372
|
+
# The database user name. This parameter is required when authenticating
|
373
|
+
# using temporary credentials.
|
378
374
|
#
|
379
375
|
# @option params [String] :secret_arn
|
380
376
|
# The name or ARN of the secret that enables access to the database.
|
@@ -403,7 +399,7 @@ module Aws::RedshiftDataAPIService
|
|
403
399
|
# @example Request syntax with placeholder values
|
404
400
|
#
|
405
401
|
# resp = client.batch_execute_statement({
|
406
|
-
# cluster_identifier: "Location",
|
402
|
+
# cluster_identifier: "Location", # required
|
407
403
|
# database: "String", # required
|
408
404
|
# db_user: "String",
|
409
405
|
# secret_arn: "SecretArn",
|
@@ -550,22 +546,18 @@ module Aws::RedshiftDataAPIService
|
|
550
546
|
# page through the column list. Depending on the authorization method,
|
551
547
|
# use one of the following combinations of request parameters:
|
552
548
|
#
|
553
|
-
# * Secrets Manager -
|
554
|
-
#
|
555
|
-
#
|
556
|
-
# connecting to a serverless endpoint, specify the Amazon Resource
|
557
|
-
# Name (ARN) of the secret and the database name.
|
549
|
+
# * Secrets Manager - specify the Amazon Resource Name (ARN) of the
|
550
|
+
# secret, the database name, and the cluster identifier that matches
|
551
|
+
# the cluster in the secret.
|
558
552
|
#
|
559
|
-
# * Temporary credentials -
|
560
|
-
#
|
561
|
-
#
|
562
|
-
#
|
563
|
-
# specify the database name.
|
553
|
+
# * Temporary credentials - specify the cluster identifier, the database
|
554
|
+
# name, and the database user name. Permission to call the
|
555
|
+
# `redshift:GetClusterCredentials` operation is required to use this
|
556
|
+
# method.
|
564
557
|
#
|
565
|
-
# @option params [String] :cluster_identifier
|
566
|
-
# The cluster identifier. This parameter is required when
|
567
|
-
#
|
568
|
-
# credentials.
|
558
|
+
# @option params [required, String] :cluster_identifier
|
559
|
+
# The cluster identifier. This parameter is required when authenticating
|
560
|
+
# using either Secrets Manager or temporary credentials.
|
569
561
|
#
|
570
562
|
# @option params [String] :connected_database
|
571
563
|
# A database name. The connected database is specified when you connect
|
@@ -577,8 +569,8 @@ module Aws::RedshiftDataAPIService
|
|
577
569
|
# connect to with your authentication credentials.
|
578
570
|
#
|
579
571
|
# @option params [String] :db_user
|
580
|
-
# The database user name. This parameter is required when
|
581
|
-
#
|
572
|
+
# The database user name. This parameter is required when authenticating
|
573
|
+
# using temporary credentials.
|
582
574
|
#
|
583
575
|
# @option params [Integer] :max_results
|
584
576
|
# The maximum number of tables to return in the response. If more tables
|
@@ -617,7 +609,7 @@ module Aws::RedshiftDataAPIService
|
|
617
609
|
# @example Request syntax with placeholder values
|
618
610
|
#
|
619
611
|
# resp = client.describe_table({
|
620
|
-
# cluster_identifier: "Location",
|
612
|
+
# cluster_identifier: "Location", # required
|
621
613
|
# connected_database: "String",
|
622
614
|
# database: "String", # required
|
623
615
|
# db_user: "String",
|
@@ -661,30 +653,26 @@ module Aws::RedshiftDataAPIService
|
|
661
653
|
# statement. Depending on the authorization method, use one of the
|
662
654
|
# following combinations of request parameters:
|
663
655
|
#
|
664
|
-
# * Secrets Manager -
|
665
|
-
#
|
666
|
-
#
|
667
|
-
# connecting to a serverless endpoint, specify the Amazon Resource
|
668
|
-
# Name (ARN) of the secret and the database name.
|
656
|
+
# * Secrets Manager - specify the Amazon Resource Name (ARN) of the
|
657
|
+
# secret, the database name, and the cluster identifier that matches
|
658
|
+
# the cluster in the secret.
|
669
659
|
#
|
670
|
-
# * Temporary credentials -
|
671
|
-
#
|
672
|
-
#
|
673
|
-
#
|
674
|
-
# specify the database name.
|
660
|
+
# * Temporary credentials - specify the cluster identifier, the database
|
661
|
+
# name, and the database user name. Permission to call the
|
662
|
+
# `redshift:GetClusterCredentials` operation is required to use this
|
663
|
+
# method.
|
675
664
|
#
|
676
|
-
# @option params [String] :cluster_identifier
|
677
|
-
# The cluster identifier. This parameter is required when
|
678
|
-
#
|
679
|
-
# credentials.
|
665
|
+
# @option params [required, String] :cluster_identifier
|
666
|
+
# The cluster identifier. This parameter is required when authenticating
|
667
|
+
# using either Secrets Manager or temporary credentials.
|
680
668
|
#
|
681
669
|
# @option params [required, String] :database
|
682
670
|
# The name of the database. This parameter is required when
|
683
671
|
# authenticating using either Secrets Manager or temporary credentials.
|
684
672
|
#
|
685
673
|
# @option params [String] :db_user
|
686
|
-
# The database user name. This parameter is required when
|
687
|
-
#
|
674
|
+
# The database user name. This parameter is required when authenticating
|
675
|
+
# using temporary credentials.
|
688
676
|
#
|
689
677
|
# @option params [Array<Types::SqlParameter>] :parameters
|
690
678
|
# The parameters for the SQL statement.
|
@@ -716,7 +704,7 @@ module Aws::RedshiftDataAPIService
|
|
716
704
|
# @example Request syntax with placeholder values
|
717
705
|
#
|
718
706
|
# resp = client.execute_statement({
|
719
|
-
# cluster_identifier: "Location",
|
707
|
+
# cluster_identifier: "Location", # required
|
720
708
|
# database: "String", # required
|
721
709
|
# db_user: "String",
|
722
710
|
# parameters: [
|
@@ -825,30 +813,26 @@ module Aws::RedshiftDataAPIService
|
|
825
813
|
# the database list. Depending on the authorization method, use one of
|
826
814
|
# the following combinations of request parameters:
|
827
815
|
#
|
828
|
-
# * Secrets Manager -
|
829
|
-
#
|
830
|
-
#
|
831
|
-
# connecting to a serverless endpoint, specify the Amazon Resource
|
832
|
-
# Name (ARN) of the secret and the database name.
|
816
|
+
# * Secrets Manager - specify the Amazon Resource Name (ARN) of the
|
817
|
+
# secret, the database name, and the cluster identifier that matches
|
818
|
+
# the cluster in the secret.
|
833
819
|
#
|
834
|
-
# * Temporary credentials -
|
835
|
-
#
|
836
|
-
#
|
837
|
-
#
|
838
|
-
# specify the database name.
|
820
|
+
# * Temporary credentials - specify the cluster identifier, the database
|
821
|
+
# name, and the database user name. Permission to call the
|
822
|
+
# `redshift:GetClusterCredentials` operation is required to use this
|
823
|
+
# method.
|
839
824
|
#
|
840
|
-
# @option params [String] :cluster_identifier
|
841
|
-
# The cluster identifier. This parameter is required when
|
842
|
-
#
|
843
|
-
# credentials.
|
825
|
+
# @option params [required, String] :cluster_identifier
|
826
|
+
# The cluster identifier. This parameter is required when authenticating
|
827
|
+
# using either Secrets Manager or temporary credentials.
|
844
828
|
#
|
845
829
|
# @option params [required, String] :database
|
846
830
|
# The name of the database. This parameter is required when
|
847
831
|
# authenticating using either Secrets Manager or temporary credentials.
|
848
832
|
#
|
849
833
|
# @option params [String] :db_user
|
850
|
-
# The database user name. This parameter is required when
|
851
|
-
#
|
834
|
+
# The database user name. This parameter is required when authenticating
|
835
|
+
# using temporary credentials.
|
852
836
|
#
|
853
837
|
# @option params [Integer] :max_results
|
854
838
|
# The maximum number of databases to return in the response. If more
|
@@ -877,7 +861,7 @@ module Aws::RedshiftDataAPIService
|
|
877
861
|
# @example Request syntax with placeholder values
|
878
862
|
#
|
879
863
|
# resp = client.list_databases({
|
880
|
-
# cluster_identifier: "Location",
|
864
|
+
# cluster_identifier: "Location", # required
|
881
865
|
# database: "String", # required
|
882
866
|
# db_user: "String",
|
883
867
|
# max_results: 1,
|
@@ -904,22 +888,18 @@ module Aws::RedshiftDataAPIService
|
|
904
888
|
# the schema list. Depending on the authorization method, use one of the
|
905
889
|
# following combinations of request parameters:
|
906
890
|
#
|
907
|
-
# * Secrets Manager -
|
908
|
-
#
|
909
|
-
#
|
910
|
-
# connecting to a serverless endpoint, specify the Amazon Resource
|
911
|
-
# Name (ARN) of the secret and the database name.
|
891
|
+
# * Secrets Manager - specify the Amazon Resource Name (ARN) of the
|
892
|
+
# secret, the database name, and the cluster identifier that matches
|
893
|
+
# the cluster in the secret.
|
912
894
|
#
|
913
|
-
# * Temporary credentials -
|
914
|
-
#
|
915
|
-
#
|
916
|
-
#
|
917
|
-
# specify the database name.
|
895
|
+
# * Temporary credentials - specify the cluster identifier, the database
|
896
|
+
# name, and the database user name. Permission to call the
|
897
|
+
# `redshift:GetClusterCredentials` operation is required to use this
|
898
|
+
# method.
|
918
899
|
#
|
919
|
-
# @option params [String] :cluster_identifier
|
920
|
-
# The cluster identifier. This parameter is required when
|
921
|
-
#
|
922
|
-
# credentials.
|
900
|
+
# @option params [required, String] :cluster_identifier
|
901
|
+
# The cluster identifier. This parameter is required when authenticating
|
902
|
+
# using either Secrets Manager or temporary credentials.
|
923
903
|
#
|
924
904
|
# @option params [String] :connected_database
|
925
905
|
# A database name. The connected database is specified when you connect
|
@@ -931,8 +911,8 @@ module Aws::RedshiftDataAPIService
|
|
931
911
|
# connect to with your authentication credentials.
|
932
912
|
#
|
933
913
|
# @option params [String] :db_user
|
934
|
-
# The database user name. This parameter is required when
|
935
|
-
#
|
914
|
+
# The database user name. This parameter is required when authenticating
|
915
|
+
# using temporary credentials.
|
936
916
|
#
|
937
917
|
# @option params [Integer] :max_results
|
938
918
|
# The maximum number of schemas to return in the response. If more
|
@@ -967,7 +947,7 @@ module Aws::RedshiftDataAPIService
|
|
967
947
|
# @example Request syntax with placeholder values
|
968
948
|
#
|
969
949
|
# resp = client.list_schemas({
|
970
|
-
# cluster_identifier: "Location",
|
950
|
+
# cluster_identifier: "Location", # required
|
971
951
|
# connected_database: "String",
|
972
952
|
# database: "String", # required
|
973
953
|
# db_user: "String",
|
@@ -1092,22 +1072,18 @@ module Aws::RedshiftDataAPIService
|
|
1092
1072
|
# Depending on the authorization method, use one of the following
|
1093
1073
|
# combinations of request parameters:
|
1094
1074
|
#
|
1095
|
-
# * Secrets Manager -
|
1096
|
-
#
|
1097
|
-
#
|
1098
|
-
# connecting to a serverless endpoint, specify the Amazon Resource
|
1099
|
-
# Name (ARN) of the secret and the database name.
|
1075
|
+
# * Secrets Manager - specify the Amazon Resource Name (ARN) of the
|
1076
|
+
# secret, the database name, and the cluster identifier that matches
|
1077
|
+
# the cluster in the secret.
|
1100
1078
|
#
|
1101
|
-
# * Temporary credentials -
|
1102
|
-
#
|
1103
|
-
#
|
1104
|
-
#
|
1105
|
-
# specify the database name.
|
1079
|
+
# * Temporary credentials - specify the cluster identifier, the database
|
1080
|
+
# name, and the database user name. Permission to call the
|
1081
|
+
# `redshift:GetClusterCredentials` operation is required to use this
|
1082
|
+
# method.
|
1106
1083
|
#
|
1107
|
-
# @option params [String] :cluster_identifier
|
1108
|
-
# The cluster identifier. This parameter is required when
|
1109
|
-
#
|
1110
|
-
# credentials.
|
1084
|
+
# @option params [required, String] :cluster_identifier
|
1085
|
+
# The cluster identifier. This parameter is required when authenticating
|
1086
|
+
# using either Secrets Manager or temporary credentials.
|
1111
1087
|
#
|
1112
1088
|
# @option params [String] :connected_database
|
1113
1089
|
# A database name. The connected database is specified when you connect
|
@@ -1119,8 +1095,8 @@ module Aws::RedshiftDataAPIService
|
|
1119
1095
|
# connect to with your authentication credentials.
|
1120
1096
|
#
|
1121
1097
|
# @option params [String] :db_user
|
1122
|
-
# The database user name. This parameter is required when
|
1123
|
-
#
|
1098
|
+
# The database user name. This parameter is required when authenticating
|
1099
|
+
# using temporary credentials.
|
1124
1100
|
#
|
1125
1101
|
# @option params [Integer] :max_results
|
1126
1102
|
# The maximum number of tables to return in the response. If more tables
|
@@ -1167,7 +1143,7 @@ module Aws::RedshiftDataAPIService
|
|
1167
1143
|
# @example Request syntax with placeholder values
|
1168
1144
|
#
|
1169
1145
|
# resp = client.list_tables({
|
1170
|
-
# cluster_identifier: "Location",
|
1146
|
+
# cluster_identifier: "Location", # required
|
1171
1147
|
# connected_database: "String",
|
1172
1148
|
# database: "String", # required
|
1173
1149
|
# db_user: "String",
|
@@ -1208,7 +1184,7 @@ module Aws::RedshiftDataAPIService
|
|
1208
1184
|
params: params,
|
1209
1185
|
config: config)
|
1210
1186
|
context[:gem_name] = 'aws-sdk-redshiftdataapiservice'
|
1211
|
-
context[:gem_version] = '1.
|
1187
|
+
context[:gem_version] = '1.15.0'
|
1212
1188
|
Seahorse::Client::Request.new(handlers, context)
|
1213
1189
|
end
|
1214
1190
|
|
@@ -27,7 +27,6 @@ module Aws::RedshiftDataAPIService
|
|
27
27
|
ColumnList = Shapes::ListShape.new(name: 'ColumnList')
|
28
28
|
ColumnMetadata = Shapes::StructureShape.new(name: 'ColumnMetadata')
|
29
29
|
ColumnMetadataList = Shapes::ListShape.new(name: 'ColumnMetadataList')
|
30
|
-
DatabaseConnectionException = Shapes::StructureShape.new(name: 'DatabaseConnectionException')
|
31
30
|
DatabaseList = Shapes::ListShape.new(name: 'DatabaseList')
|
32
31
|
DescribeStatementRequest = Shapes::StructureShape.new(name: 'DescribeStatementRequest')
|
33
32
|
DescribeStatementResponse = Shapes::StructureShape.new(name: 'DescribeStatementResponse')
|
@@ -87,7 +86,7 @@ module Aws::RedshiftDataAPIService
|
|
87
86
|
BatchExecuteStatementException.add_member(:statement_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "StatementId"))
|
88
87
|
BatchExecuteStatementException.struct_class = Types::BatchExecuteStatementException
|
89
88
|
|
90
|
-
BatchExecuteStatementInput.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, location_name: "ClusterIdentifier"))
|
89
|
+
BatchExecuteStatementInput.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "ClusterIdentifier"))
|
91
90
|
BatchExecuteStatementInput.add_member(:database, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Database"))
|
92
91
|
BatchExecuteStatementInput.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
93
92
|
BatchExecuteStatementInput.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, location_name: "SecretArn"))
|
@@ -129,9 +128,6 @@ module Aws::RedshiftDataAPIService
|
|
129
128
|
|
130
129
|
ColumnMetadataList.member = Shapes::ShapeRef.new(shape: ColumnMetadata)
|
131
130
|
|
132
|
-
DatabaseConnectionException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
133
|
-
DatabaseConnectionException.struct_class = Types::DatabaseConnectionException
|
134
|
-
|
135
131
|
DatabaseList.member = Shapes::ShapeRef.new(shape: String)
|
136
132
|
|
137
133
|
DescribeStatementRequest.add_member(:id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "Id"))
|
@@ -157,7 +153,7 @@ module Aws::RedshiftDataAPIService
|
|
157
153
|
DescribeStatementResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
158
154
|
DescribeStatementResponse.struct_class = Types::DescribeStatementResponse
|
159
155
|
|
160
|
-
DescribeTableRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, location_name: "ClusterIdentifier"))
|
156
|
+
DescribeTableRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "ClusterIdentifier"))
|
161
157
|
DescribeTableRequest.add_member(:connected_database, Shapes::ShapeRef.new(shape: String, location_name: "ConnectedDatabase"))
|
162
158
|
DescribeTableRequest.add_member(:database, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Database"))
|
163
159
|
DescribeTableRequest.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
@@ -177,7 +173,7 @@ module Aws::RedshiftDataAPIService
|
|
177
173
|
ExecuteStatementException.add_member(:statement_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "StatementId"))
|
178
174
|
ExecuteStatementException.struct_class = Types::ExecuteStatementException
|
179
175
|
|
180
|
-
ExecuteStatementInput.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, location_name: "ClusterIdentifier"))
|
176
|
+
ExecuteStatementInput.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "ClusterIdentifier"))
|
181
177
|
ExecuteStatementInput.add_member(:database, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Database"))
|
182
178
|
ExecuteStatementInput.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
183
179
|
ExecuteStatementInput.add_member(:parameters, Shapes::ShapeRef.new(shape: SqlParametersList, location_name: "Parameters"))
|
@@ -226,7 +222,7 @@ module Aws::RedshiftDataAPIService
|
|
226
222
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
227
223
|
InternalServerException.struct_class = Types::InternalServerException
|
228
224
|
|
229
|
-
ListDatabasesRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, location_name: "ClusterIdentifier"))
|
225
|
+
ListDatabasesRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "ClusterIdentifier"))
|
230
226
|
ListDatabasesRequest.add_member(:database, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Database"))
|
231
227
|
ListDatabasesRequest.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
232
228
|
ListDatabasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
@@ -238,7 +234,7 @@ module Aws::RedshiftDataAPIService
|
|
238
234
|
ListDatabasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
239
235
|
ListDatabasesResponse.struct_class = Types::ListDatabasesResponse
|
240
236
|
|
241
|
-
ListSchemasRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, location_name: "ClusterIdentifier"))
|
237
|
+
ListSchemasRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "ClusterIdentifier"))
|
242
238
|
ListSchemasRequest.add_member(:connected_database, Shapes::ShapeRef.new(shape: String, location_name: "ConnectedDatabase"))
|
243
239
|
ListSchemasRequest.add_member(:database, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Database"))
|
244
240
|
ListSchemasRequest.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
@@ -263,7 +259,7 @@ module Aws::RedshiftDataAPIService
|
|
263
259
|
ListStatementsResponse.add_member(:statements, Shapes::ShapeRef.new(shape: StatementList, required: true, location_name: "Statements"))
|
264
260
|
ListStatementsResponse.struct_class = Types::ListStatementsResponse
|
265
261
|
|
266
|
-
ListTablesRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, location_name: "ClusterIdentifier"))
|
262
|
+
ListTablesRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "ClusterIdentifier"))
|
267
263
|
ListTablesRequest.add_member(:connected_database, Shapes::ShapeRef.new(shape: String, location_name: "ConnectedDatabase"))
|
268
264
|
ListTablesRequest.add_member(:database, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Database"))
|
269
265
|
ListTablesRequest.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
@@ -374,7 +370,6 @@ module Aws::RedshiftDataAPIService
|
|
374
370
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
375
371
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
376
372
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
377
|
-
o.errors << Shapes::ShapeRef.new(shape: DatabaseConnectionException)
|
378
373
|
end)
|
379
374
|
|
380
375
|
api.add_operation(:describe_statement, Seahorse::Model::Operation.new.tap do |o|
|
@@ -396,7 +391,6 @@ module Aws::RedshiftDataAPIService
|
|
396
391
|
o.output = Shapes::ShapeRef.new(shape: DescribeTableResponse)
|
397
392
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
398
393
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
399
|
-
o.errors << Shapes::ShapeRef.new(shape: DatabaseConnectionException)
|
400
394
|
o[:pager] = Aws::Pager.new(
|
401
395
|
limit_key: "max_results",
|
402
396
|
tokens: {
|
@@ -440,7 +434,6 @@ module Aws::RedshiftDataAPIService
|
|
440
434
|
o.output = Shapes::ShapeRef.new(shape: ListDatabasesResponse)
|
441
435
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
442
436
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
443
|
-
o.errors << Shapes::ShapeRef.new(shape: DatabaseConnectionException)
|
444
437
|
o[:pager] = Aws::Pager.new(
|
445
438
|
limit_key: "max_results",
|
446
439
|
tokens: {
|
@@ -457,7 +450,6 @@ module Aws::RedshiftDataAPIService
|
|
457
450
|
o.output = Shapes::ShapeRef.new(shape: ListSchemasResponse)
|
458
451
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
459
452
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
460
|
-
o.errors << Shapes::ShapeRef.new(shape: DatabaseConnectionException)
|
461
453
|
o[:pager] = Aws::Pager.new(
|
462
454
|
limit_key: "max_results",
|
463
455
|
tokens: {
|
@@ -490,7 +482,6 @@ module Aws::RedshiftDataAPIService
|
|
490
482
|
o.output = Shapes::ShapeRef.new(shape: ListTablesResponse)
|
491
483
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
492
484
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
493
|
-
o.errors << Shapes::ShapeRef.new(shape: DatabaseConnectionException)
|
494
485
|
o[:pager] = Aws::Pager.new(
|
495
486
|
limit_key: "max_results",
|
496
487
|
tokens: {
|
@@ -29,7 +29,6 @@ module Aws::RedshiftDataAPIService
|
|
29
29
|
# ## Error Classes
|
30
30
|
# * {ActiveStatementsExceededException}
|
31
31
|
# * {BatchExecuteStatementException}
|
32
|
-
# * {DatabaseConnectionException}
|
33
32
|
# * {ExecuteStatementException}
|
34
33
|
# * {InternalServerException}
|
35
34
|
# * {ResourceNotFoundException}
|
@@ -76,21 +75,6 @@ module Aws::RedshiftDataAPIService
|
|
76
75
|
end
|
77
76
|
end
|
78
77
|
|
79
|
-
class DatabaseConnectionException < ServiceError
|
80
|
-
|
81
|
-
# @param [Seahorse::Client::RequestContext] context
|
82
|
-
# @param [String] message
|
83
|
-
# @param [Aws::RedshiftDataAPIService::Types::DatabaseConnectionException] data
|
84
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
85
|
-
super(context, message, data)
|
86
|
-
end
|
87
|
-
|
88
|
-
# @return [String]
|
89
|
-
def message
|
90
|
-
@message || @data[:message]
|
91
|
-
end
|
92
|
-
end
|
93
|
-
|
94
78
|
class ExecuteStatementException < ServiceError
|
95
79
|
|
96
80
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -45,7 +45,7 @@ module Aws::RedshiftDataAPIService
|
|
45
45
|
# data as a hash:
|
46
46
|
#
|
47
47
|
# {
|
48
|
-
# cluster_identifier: "Location",
|
48
|
+
# cluster_identifier: "Location", # required
|
49
49
|
# database: "String", # required
|
50
50
|
# db_user: "String",
|
51
51
|
# secret_arn: "SecretArn",
|
@@ -55,9 +55,9 @@ module Aws::RedshiftDataAPIService
|
|
55
55
|
# }
|
56
56
|
#
|
57
57
|
# @!attribute [rw] cluster_identifier
|
58
|
-
# The cluster identifier. This parameter is required when
|
59
|
-
#
|
60
|
-
#
|
58
|
+
# The cluster identifier. This parameter is required when
|
59
|
+
# authenticating using either Secrets Manager or temporary
|
60
|
+
# credentials.
|
61
61
|
# @return [String]
|
62
62
|
#
|
63
63
|
# @!attribute [rw] database
|
@@ -67,8 +67,8 @@ module Aws::RedshiftDataAPIService
|
|
67
67
|
# @return [String]
|
68
68
|
#
|
69
69
|
# @!attribute [rw] db_user
|
70
|
-
# The database user name. This parameter is required when
|
71
|
-
#
|
70
|
+
# The database user name. This parameter is required when
|
71
|
+
# authenticating using temporary credentials.
|
72
72
|
# @return [String]
|
73
73
|
#
|
74
74
|
# @!attribute [rw] secret_arn
|
@@ -106,8 +106,7 @@ module Aws::RedshiftDataAPIService
|
|
106
106
|
end
|
107
107
|
|
108
108
|
# @!attribute [rw] cluster_identifier
|
109
|
-
# The cluster identifier.
|
110
|
-
# connecting to a serverless endpoint.
|
109
|
+
# The cluster identifier.
|
111
110
|
# @return [String]
|
112
111
|
#
|
113
112
|
# @!attribute [rw] created_at
|
@@ -256,19 +255,6 @@ module Aws::RedshiftDataAPIService
|
|
256
255
|
include Aws::Structure
|
257
256
|
end
|
258
257
|
|
259
|
-
# Connection to a database failed.
|
260
|
-
#
|
261
|
-
# @!attribute [rw] message
|
262
|
-
# @return [String]
|
263
|
-
#
|
264
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/DatabaseConnectionException AWS API Documentation
|
265
|
-
#
|
266
|
-
class DatabaseConnectionException < Struct.new(
|
267
|
-
:message)
|
268
|
-
SENSITIVE = []
|
269
|
-
include Aws::Structure
|
270
|
-
end
|
271
|
-
|
272
258
|
# @note When making an API call, you may pass DescribeStatementRequest
|
273
259
|
# data as a hash:
|
274
260
|
#
|
@@ -321,8 +307,7 @@ module Aws::RedshiftDataAPIService
|
|
321
307
|
#
|
322
308
|
# @!attribute [rw] has_result_set
|
323
309
|
# A value that indicates whether the statement has a result set. The
|
324
|
-
# result set can be empty.
|
325
|
-
# The value is true if any substatement returns a result set.
|
310
|
+
# result set can be empty.
|
326
311
|
# @return [Boolean]
|
327
312
|
#
|
328
313
|
# @!attribute [rw] id
|
@@ -425,7 +410,7 @@ module Aws::RedshiftDataAPIService
|
|
425
410
|
# data as a hash:
|
426
411
|
#
|
427
412
|
# {
|
428
|
-
# cluster_identifier: "Location",
|
413
|
+
# cluster_identifier: "Location", # required
|
429
414
|
# connected_database: "String",
|
430
415
|
# database: "String", # required
|
431
416
|
# db_user: "String",
|
@@ -437,9 +422,9 @@ module Aws::RedshiftDataAPIService
|
|
437
422
|
# }
|
438
423
|
#
|
439
424
|
# @!attribute [rw] cluster_identifier
|
440
|
-
# The cluster identifier. This parameter is required when
|
441
|
-
#
|
442
|
-
#
|
425
|
+
# The cluster identifier. This parameter is required when
|
426
|
+
# authenticating using either Secrets Manager or temporary
|
427
|
+
# credentials.
|
443
428
|
# @return [String]
|
444
429
|
#
|
445
430
|
# @!attribute [rw] connected_database
|
@@ -454,8 +439,8 @@ module Aws::RedshiftDataAPIService
|
|
454
439
|
# @return [String]
|
455
440
|
#
|
456
441
|
# @!attribute [rw] db_user
|
457
|
-
# The database user name. This parameter is required when
|
458
|
-
#
|
442
|
+
# The database user name. This parameter is required when
|
443
|
+
# authenticating using temporary credentials.
|
459
444
|
# @return [String]
|
460
445
|
#
|
461
446
|
# @!attribute [rw] max_results
|
@@ -557,7 +542,7 @@ module Aws::RedshiftDataAPIService
|
|
557
542
|
# data as a hash:
|
558
543
|
#
|
559
544
|
# {
|
560
|
-
# cluster_identifier: "Location",
|
545
|
+
# cluster_identifier: "Location", # required
|
561
546
|
# database: "String", # required
|
562
547
|
# db_user: "String",
|
563
548
|
# parameters: [
|
@@ -573,9 +558,9 @@ module Aws::RedshiftDataAPIService
|
|
573
558
|
# }
|
574
559
|
#
|
575
560
|
# @!attribute [rw] cluster_identifier
|
576
|
-
# The cluster identifier. This parameter is required when
|
577
|
-
#
|
578
|
-
#
|
561
|
+
# The cluster identifier. This parameter is required when
|
562
|
+
# authenticating using either Secrets Manager or temporary
|
563
|
+
# credentials.
|
579
564
|
# @return [String]
|
580
565
|
#
|
581
566
|
# @!attribute [rw] database
|
@@ -585,8 +570,8 @@ module Aws::RedshiftDataAPIService
|
|
585
570
|
# @return [String]
|
586
571
|
#
|
587
572
|
# @!attribute [rw] db_user
|
588
|
-
# The database user name. This parameter is required when
|
589
|
-
#
|
573
|
+
# The database user name. This parameter is required when
|
574
|
+
# authenticating using temporary credentials.
|
590
575
|
# @return [String]
|
591
576
|
#
|
592
577
|
# @!attribute [rw] parameters
|
@@ -629,8 +614,7 @@ module Aws::RedshiftDataAPIService
|
|
629
614
|
end
|
630
615
|
|
631
616
|
# @!attribute [rw] cluster_identifier
|
632
|
-
# The cluster identifier.
|
633
|
-
# connecting to a serverless endpoint.
|
617
|
+
# The cluster identifier.
|
634
618
|
# @return [String]
|
635
619
|
#
|
636
620
|
# @!attribute [rw] created_at
|
@@ -807,7 +791,7 @@ module Aws::RedshiftDataAPIService
|
|
807
791
|
# data as a hash:
|
808
792
|
#
|
809
793
|
# {
|
810
|
-
# cluster_identifier: "Location",
|
794
|
+
# cluster_identifier: "Location", # required
|
811
795
|
# database: "String", # required
|
812
796
|
# db_user: "String",
|
813
797
|
# max_results: 1,
|
@@ -816,9 +800,9 @@ module Aws::RedshiftDataAPIService
|
|
816
800
|
# }
|
817
801
|
#
|
818
802
|
# @!attribute [rw] cluster_identifier
|
819
|
-
# The cluster identifier. This parameter is required when
|
820
|
-
#
|
821
|
-
#
|
803
|
+
# The cluster identifier. This parameter is required when
|
804
|
+
# authenticating using either Secrets Manager or temporary
|
805
|
+
# credentials.
|
822
806
|
# @return [String]
|
823
807
|
#
|
824
808
|
# @!attribute [rw] database
|
@@ -828,8 +812,8 @@ module Aws::RedshiftDataAPIService
|
|
828
812
|
# @return [String]
|
829
813
|
#
|
830
814
|
# @!attribute [rw] db_user
|
831
|
-
# The database user name. This parameter is required when
|
832
|
-
#
|
815
|
+
# The database user name. This parameter is required when
|
816
|
+
# authenticating using temporary credentials.
|
833
817
|
# @return [String]
|
834
818
|
#
|
835
819
|
# @!attribute [rw] max_results
|
@@ -892,7 +876,7 @@ module Aws::RedshiftDataAPIService
|
|
892
876
|
# data as a hash:
|
893
877
|
#
|
894
878
|
# {
|
895
|
-
# cluster_identifier: "Location",
|
879
|
+
# cluster_identifier: "Location", # required
|
896
880
|
# connected_database: "String",
|
897
881
|
# database: "String", # required
|
898
882
|
# db_user: "String",
|
@@ -903,9 +887,9 @@ module Aws::RedshiftDataAPIService
|
|
903
887
|
# }
|
904
888
|
#
|
905
889
|
# @!attribute [rw] cluster_identifier
|
906
|
-
# The cluster identifier. This parameter is required when
|
907
|
-
#
|
908
|
-
#
|
890
|
+
# The cluster identifier. This parameter is required when
|
891
|
+
# authenticating using either Secrets Manager or temporary
|
892
|
+
# credentials.
|
909
893
|
# @return [String]
|
910
894
|
#
|
911
895
|
# @!attribute [rw] connected_database
|
@@ -920,8 +904,8 @@ module Aws::RedshiftDataAPIService
|
|
920
904
|
# @return [String]
|
921
905
|
#
|
922
906
|
# @!attribute [rw] db_user
|
923
|
-
# The database user name. This parameter is required when
|
924
|
-
#
|
907
|
+
# The database user name. This parameter is required when
|
908
|
+
# authenticating using temporary credentials.
|
925
909
|
# @return [String]
|
926
910
|
#
|
927
911
|
# @!attribute [rw] max_results
|
@@ -1090,7 +1074,7 @@ module Aws::RedshiftDataAPIService
|
|
1090
1074
|
# data as a hash:
|
1091
1075
|
#
|
1092
1076
|
# {
|
1093
|
-
# cluster_identifier: "Location",
|
1077
|
+
# cluster_identifier: "Location", # required
|
1094
1078
|
# connected_database: "String",
|
1095
1079
|
# database: "String", # required
|
1096
1080
|
# db_user: "String",
|
@@ -1102,9 +1086,9 @@ module Aws::RedshiftDataAPIService
|
|
1102
1086
|
# }
|
1103
1087
|
#
|
1104
1088
|
# @!attribute [rw] cluster_identifier
|
1105
|
-
# The cluster identifier. This parameter is required when
|
1106
|
-
#
|
1107
|
-
#
|
1089
|
+
# The cluster identifier. This parameter is required when
|
1090
|
+
# authenticating using either Secrets Manager or temporary
|
1091
|
+
# credentials.
|
1108
1092
|
# @return [String]
|
1109
1093
|
#
|
1110
1094
|
# @!attribute [rw] connected_database
|
@@ -1119,8 +1103,8 @@ module Aws::RedshiftDataAPIService
|
|
1119
1103
|
# @return [String]
|
1120
1104
|
#
|
1121
1105
|
# @!attribute [rw] db_user
|
1122
|
-
# The database user name. This parameter is required when
|
1123
|
-
#
|
1106
|
+
# The database user name. This parameter is required when
|
1107
|
+
# authenticating using temporary credentials.
|
1124
1108
|
# @return [String]
|
1125
1109
|
#
|
1126
1110
|
# @!attribute [rw] max_results
|
@@ -1337,7 +1321,7 @@ module Aws::RedshiftDataAPIService
|
|
1337
1321
|
#
|
1338
1322
|
# @!attribute [rw] has_result_set
|
1339
1323
|
# A value that indicates whether the statement has a result set. The
|
1340
|
-
# result set can be empty.
|
1324
|
+
# result set can be empty.
|
1341
1325
|
# @return [Boolean]
|
1342
1326
|
#
|
1343
1327
|
# @!attribute [rw] id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-redshiftdataapiservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.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: 2021-11-
|
11
|
+
date: 2021-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|