aws-sdk-redshiftdataapiservice 1.0.0 → 1.5.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-redshiftdataapiservice.rb +2 -1
- data/lib/aws-sdk-redshiftdataapiservice/client.rb +39 -12
- data/lib/aws-sdk-redshiftdataapiservice/client_api.rb +11 -1
- data/lib/aws-sdk-redshiftdataapiservice/errors.rb +16 -0
- data/lib/aws-sdk-redshiftdataapiservice/types.rb +60 -8
- 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: b7f01a45bf6dd4709278fbe7cc5696f6af9f43f9ff14514b733111af5dd5f337
|
4
|
+
data.tar.gz: aafbab3f11a09fad9f62d70757065be982681a79be59fb2bc4cc04a26868c578
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab29f8bdcb5a4c0166292e881d288938d4c2271de869ecc1af9ee6af0714e25dd5ab589286f6c1ffab4e189d5ca4f83dfda53028a18a67d870b9aa1bf12c23b9
|
7
|
+
data.tar.gz: 9a4e32053fc512d1347e18a2e255c618d807e7351320bfdf26d9b991f9ba8ecf5cacbec64a183f8bc161e753c4a5a2209e697d1248cc2d1099374b9214a2ac27
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-redshiftdataapiservice/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::RedshiftDataAPIService
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.5.0'
|
51
52
|
|
52
53
|
end
|
@@ -387,6 +387,7 @@ module Aws::RedshiftDataAPIService
|
|
387
387
|
# * {Types::DescribeStatementResponse#db_user #db_user} => String
|
388
388
|
# * {Types::DescribeStatementResponse#duration #duration} => Integer
|
389
389
|
# * {Types::DescribeStatementResponse#error #error} => String
|
390
|
+
# * {Types::DescribeStatementResponse#has_result_set #has_result_set} => Boolean
|
390
391
|
# * {Types::DescribeStatementResponse#id #id} => String
|
391
392
|
# * {Types::DescribeStatementResponse#query_string #query_string} => String
|
392
393
|
# * {Types::DescribeStatementResponse#redshift_pid #redshift_pid} => Integer
|
@@ -411,6 +412,7 @@ module Aws::RedshiftDataAPIService
|
|
411
412
|
# resp.db_user #=> String
|
412
413
|
# resp.duration #=> Integer
|
413
414
|
# resp.error #=> String
|
415
|
+
# resp.has_result_set #=> Boolean
|
414
416
|
# resp.id #=> String
|
415
417
|
# resp.query_string #=> String
|
416
418
|
# resp.redshift_pid #=> Integer
|
@@ -418,7 +420,7 @@ module Aws::RedshiftDataAPIService
|
|
418
420
|
# resp.result_rows #=> Integer
|
419
421
|
# resp.result_size #=> Integer
|
420
422
|
# resp.secret_arn #=> String
|
421
|
-
# resp.status #=> String, one of "
|
423
|
+
# resp.status #=> String, one of "SUBMITTED", "PICKED", "STARTED", "FINISHED", "ABORTED", "FAILED", "ALL"
|
422
424
|
# resp.updated_at #=> Time
|
423
425
|
#
|
424
426
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/DescribeStatement AWS API Documentation
|
@@ -448,9 +450,14 @@ module Aws::RedshiftDataAPIService
|
|
448
450
|
# The cluster identifier. This parameter is required when authenticating
|
449
451
|
# using either AWS Secrets Manager or temporary credentials.
|
450
452
|
#
|
451
|
-
# @option params [String] :
|
452
|
-
#
|
453
|
-
#
|
453
|
+
# @option params [String] :connected_database
|
454
|
+
# A database name. The connected database is specified when you connect
|
455
|
+
# with your authentication credentials.
|
456
|
+
#
|
457
|
+
# @option params [required, String] :database
|
458
|
+
# The name of the database that contains the tables to be described. If
|
459
|
+
# `ConnectedDatabase` is not specified, this is also the database to
|
460
|
+
# connect to with your authentication credentials.
|
454
461
|
#
|
455
462
|
# @option params [String] :db_user
|
456
463
|
# The database user name. This parameter is required when authenticating
|
@@ -495,7 +502,8 @@ module Aws::RedshiftDataAPIService
|
|
495
502
|
#
|
496
503
|
# resp = client.describe_table({
|
497
504
|
# cluster_identifier: "Location", # required
|
498
|
-
#
|
505
|
+
# connected_database: "String",
|
506
|
+
# database: "String", # required
|
499
507
|
# db_user: "String",
|
500
508
|
# max_results: 1,
|
501
509
|
# next_token: "String",
|
@@ -775,9 +783,14 @@ module Aws::RedshiftDataAPIService
|
|
775
783
|
# The cluster identifier. This parameter is required when authenticating
|
776
784
|
# using either AWS Secrets Manager or temporary credentials.
|
777
785
|
#
|
786
|
+
# @option params [String] :connected_database
|
787
|
+
# A database name. The connected database is specified when you connect
|
788
|
+
# with your authentication credentials.
|
789
|
+
#
|
778
790
|
# @option params [required, String] :database
|
779
|
-
# The name of the database
|
780
|
-
#
|
791
|
+
# The name of the database that contains the schemas to list. If
|
792
|
+
# `ConnectedDatabase` is not specified, this is also the database to
|
793
|
+
# connect to with your authentication credentials.
|
781
794
|
#
|
782
795
|
# @option params [String] :db_user
|
783
796
|
# The database user name. This parameter is required when authenticating
|
@@ -818,6 +831,7 @@ module Aws::RedshiftDataAPIService
|
|
818
831
|
#
|
819
832
|
# resp = client.list_schemas({
|
820
833
|
# cluster_identifier: "Location", # required
|
834
|
+
# connected_database: "String",
|
821
835
|
# database: "String", # required
|
822
836
|
# db_user: "String",
|
823
837
|
# max_results: 1,
|
@@ -857,6 +871,12 @@ module Aws::RedshiftDataAPIService
|
|
857
871
|
# command. If the NextToken field is empty, all response records have
|
858
872
|
# been retrieved for the request.
|
859
873
|
#
|
874
|
+
# @option params [Boolean] :role_level
|
875
|
+
# A value that filters which statements to return in the response. If
|
876
|
+
# true, all statements run by the caller's IAM role are returned. If
|
877
|
+
# false, only statements run by the caller's IAM role in the current
|
878
|
+
# IAM session are returned. The default is true.
|
879
|
+
#
|
860
880
|
# @option params [String] :statement_name
|
861
881
|
# The name of the SQL statement specified as input to `ExecuteStatement`
|
862
882
|
# to identify the query. You can list multiple statements by providing a
|
@@ -896,8 +916,9 @@ module Aws::RedshiftDataAPIService
|
|
896
916
|
# resp = client.list_statements({
|
897
917
|
# max_results: 1,
|
898
918
|
# next_token: "String",
|
919
|
+
# role_level: false,
|
899
920
|
# statement_name: "StatementNameString",
|
900
|
-
# status: "
|
921
|
+
# status: "SUBMITTED", # accepts SUBMITTED, PICKED, STARTED, FINISHED, ABORTED, FAILED, ALL
|
901
922
|
# })
|
902
923
|
#
|
903
924
|
# @example Response structure
|
@@ -909,7 +930,7 @@ module Aws::RedshiftDataAPIService
|
|
909
930
|
# resp.statements[0].query_string #=> String
|
910
931
|
# resp.statements[0].secret_arn #=> String
|
911
932
|
# resp.statements[0].statement_name #=> String
|
912
|
-
# resp.statements[0].status #=> String, one of "
|
933
|
+
# resp.statements[0].status #=> String, one of "SUBMITTED", "PICKED", "STARTED", "FINISHED", "ABORTED", "FAILED", "ALL"
|
913
934
|
# resp.statements[0].updated_at #=> Time
|
914
935
|
#
|
915
936
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListStatements AWS API Documentation
|
@@ -940,9 +961,14 @@ module Aws::RedshiftDataAPIService
|
|
940
961
|
# The cluster identifier. This parameter is required when authenticating
|
941
962
|
# using either AWS Secrets Manager or temporary credentials.
|
942
963
|
#
|
964
|
+
# @option params [String] :connected_database
|
965
|
+
# A database name. The connected database is specified when you connect
|
966
|
+
# with your authentication credentials.
|
967
|
+
#
|
943
968
|
# @option params [required, String] :database
|
944
|
-
# The name of the database
|
945
|
-
#
|
969
|
+
# The name of the database that contains the tables to list. If
|
970
|
+
# `ConnectedDatabase` is not specified, this is also the database to
|
971
|
+
# connect to with your authentication credentials.
|
946
972
|
#
|
947
973
|
# @option params [String] :db_user
|
948
974
|
# The database user name. This parameter is required when authenticating
|
@@ -995,6 +1021,7 @@ module Aws::RedshiftDataAPIService
|
|
995
1021
|
#
|
996
1022
|
# resp = client.list_tables({
|
997
1023
|
# cluster_identifier: "Location", # required
|
1024
|
+
# connected_database: "String",
|
998
1025
|
# database: "String", # required
|
999
1026
|
# db_user: "String",
|
1000
1027
|
# max_results: 1,
|
@@ -1034,7 +1061,7 @@ module Aws::RedshiftDataAPIService
|
|
1034
1061
|
params: params,
|
1035
1062
|
config: config)
|
1036
1063
|
context[:gem_name] = 'aws-sdk-redshiftdataapiservice'
|
1037
|
-
context[:gem_version] = '1.
|
1064
|
+
context[:gem_version] = '1.5.0'
|
1038
1065
|
Seahorse::Client::Request.new(handlers, context)
|
1039
1066
|
end
|
1040
1067
|
|
@@ -13,6 +13,7 @@ module Aws::RedshiftDataAPIService
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
ActiveStatementsExceededException = Shapes::StructureShape.new(name: 'ActiveStatementsExceededException')
|
16
17
|
Blob = Shapes::BlobShape.new(name: 'Blob')
|
17
18
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
18
19
|
BoxedBoolean = Shapes::BooleanShape.new(name: 'BoxedBoolean')
|
@@ -66,6 +67,9 @@ module Aws::RedshiftDataAPIService
|
|
66
67
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
67
68
|
bool = Shapes::BooleanShape.new(name: 'bool')
|
68
69
|
|
70
|
+
ActiveStatementsExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
71
|
+
ActiveStatementsExceededException.struct_class = Types::ActiveStatementsExceededException
|
72
|
+
|
69
73
|
CancelStatementRequest.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "Id"))
|
70
74
|
CancelStatementRequest.struct_class = Types::CancelStatementRequest
|
71
75
|
|
@@ -102,6 +106,7 @@ module Aws::RedshiftDataAPIService
|
|
102
106
|
DescribeStatementResponse.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
103
107
|
DescribeStatementResponse.add_member(:duration, Shapes::ShapeRef.new(shape: Long, location_name: "Duration"))
|
104
108
|
DescribeStatementResponse.add_member(:error, Shapes::ShapeRef.new(shape: String, location_name: "Error"))
|
109
|
+
DescribeStatementResponse.add_member(:has_result_set, Shapes::ShapeRef.new(shape: Boolean, location_name: "HasResultSet"))
|
105
110
|
DescribeStatementResponse.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "Id"))
|
106
111
|
DescribeStatementResponse.add_member(:query_string, Shapes::ShapeRef.new(shape: StatementString, location_name: "QueryString"))
|
107
112
|
DescribeStatementResponse.add_member(:redshift_pid, Shapes::ShapeRef.new(shape: Long, location_name: "RedshiftPid"))
|
@@ -114,7 +119,8 @@ module Aws::RedshiftDataAPIService
|
|
114
119
|
DescribeStatementResponse.struct_class = Types::DescribeStatementResponse
|
115
120
|
|
116
121
|
DescribeTableRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "ClusterIdentifier"))
|
117
|
-
DescribeTableRequest.add_member(:
|
122
|
+
DescribeTableRequest.add_member(:connected_database, Shapes::ShapeRef.new(shape: String, location_name: "ConnectedDatabase"))
|
123
|
+
DescribeTableRequest.add_member(:database, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Database"))
|
118
124
|
DescribeTableRequest.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
119
125
|
DescribeTableRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
120
126
|
DescribeTableRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
@@ -185,6 +191,7 @@ module Aws::RedshiftDataAPIService
|
|
185
191
|
ListDatabasesResponse.struct_class = Types::ListDatabasesResponse
|
186
192
|
|
187
193
|
ListSchemasRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "ClusterIdentifier"))
|
194
|
+
ListSchemasRequest.add_member(:connected_database, Shapes::ShapeRef.new(shape: String, location_name: "ConnectedDatabase"))
|
188
195
|
ListSchemasRequest.add_member(:database, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Database"))
|
189
196
|
ListSchemasRequest.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
190
197
|
ListSchemasRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
@@ -199,6 +206,7 @@ module Aws::RedshiftDataAPIService
|
|
199
206
|
|
200
207
|
ListStatementsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListStatementsLimit, location_name: "MaxResults"))
|
201
208
|
ListStatementsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
209
|
+
ListStatementsRequest.add_member(:role_level, Shapes::ShapeRef.new(shape: Boolean, location_name: "RoleLevel"))
|
202
210
|
ListStatementsRequest.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementNameString, location_name: "StatementName"))
|
203
211
|
ListStatementsRequest.add_member(:status, Shapes::ShapeRef.new(shape: StatusString, location_name: "Status"))
|
204
212
|
ListStatementsRequest.struct_class = Types::ListStatementsRequest
|
@@ -208,6 +216,7 @@ module Aws::RedshiftDataAPIService
|
|
208
216
|
ListStatementsResponse.struct_class = Types::ListStatementsResponse
|
209
217
|
|
210
218
|
ListTablesRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "ClusterIdentifier"))
|
219
|
+
ListTablesRequest.add_member(:connected_database, Shapes::ShapeRef.new(shape: String, location_name: "ConnectedDatabase"))
|
211
220
|
ListTablesRequest.add_member(:database, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Database"))
|
212
221
|
ListTablesRequest.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
213
222
|
ListTablesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
@@ -314,6 +323,7 @@ module Aws::RedshiftDataAPIService
|
|
314
323
|
o.output = Shapes::ShapeRef.new(shape: ExecuteStatementOutput)
|
315
324
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
316
325
|
o.errors << Shapes::ShapeRef.new(shape: ExecuteStatementException)
|
326
|
+
o.errors << Shapes::ShapeRef.new(shape: ActiveStatementsExceededException)
|
317
327
|
end)
|
318
328
|
|
319
329
|
api.add_operation(:get_statement_result, Seahorse::Model::Operation.new.tap do |o|
|
@@ -27,6 +27,7 @@ module Aws::RedshiftDataAPIService
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {ActiveStatementsExceededException}
|
30
31
|
# * {ExecuteStatementException}
|
31
32
|
# * {InternalServerException}
|
32
33
|
# * {ResourceNotFoundException}
|
@@ -38,6 +39,21 @@ module Aws::RedshiftDataAPIService
|
|
38
39
|
|
39
40
|
extend Aws::Errors::DynamicErrors
|
40
41
|
|
42
|
+
class ActiveStatementsExceededException < ServiceError
|
43
|
+
|
44
|
+
# @param [Seahorse::Client::RequestContext] context
|
45
|
+
# @param [String] message
|
46
|
+
# @param [Aws::RedshiftDataAPIService::Types::ActiveStatementsExceededException] data
|
47
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
48
|
+
super(context, message, data)
|
49
|
+
end
|
50
|
+
|
51
|
+
# @return [String]
|
52
|
+
def message
|
53
|
+
@message || @data[:message]
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
41
57
|
class ExecuteStatementException < ServiceError
|
42
58
|
|
43
59
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -10,6 +10,19 @@
|
|
10
10
|
module Aws::RedshiftDataAPIService
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# The number of active statements exceeds the limit.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ActiveStatementsExceededException AWS API Documentation
|
19
|
+
#
|
20
|
+
class ActiveStatementsExceededException < Struct.new(
|
21
|
+
:message)
|
22
|
+
SENSITIVE = []
|
23
|
+
include Aws::Structure
|
24
|
+
end
|
25
|
+
|
13
26
|
# @note When making an API call, you may pass CancelStatementRequest
|
14
27
|
# data as a hash:
|
15
28
|
#
|
@@ -167,6 +180,11 @@ module Aws::RedshiftDataAPIService
|
|
167
180
|
# an error while running.
|
168
181
|
# @return [String]
|
169
182
|
#
|
183
|
+
# @!attribute [rw] has_result_set
|
184
|
+
# A value that indicates whether the statement has a result set. The
|
185
|
+
# result set can be empty.
|
186
|
+
# @return [Boolean]
|
187
|
+
#
|
170
188
|
# @!attribute [rw] id
|
171
189
|
# The identifier of the SQL statement described. This value is a
|
172
190
|
# universally unique identifier (UUID) generated by Amazon Redshift
|
@@ -237,6 +255,7 @@ module Aws::RedshiftDataAPIService
|
|
237
255
|
:db_user,
|
238
256
|
:duration,
|
239
257
|
:error,
|
258
|
+
:has_result_set,
|
240
259
|
:id,
|
241
260
|
:query_string,
|
242
261
|
:redshift_pid,
|
@@ -255,7 +274,8 @@ module Aws::RedshiftDataAPIService
|
|
255
274
|
#
|
256
275
|
# {
|
257
276
|
# cluster_identifier: "Location", # required
|
258
|
-
#
|
277
|
+
# connected_database: "String",
|
278
|
+
# database: "String", # required
|
259
279
|
# db_user: "String",
|
260
280
|
# max_results: 1,
|
261
281
|
# next_token: "String",
|
@@ -270,9 +290,15 @@ module Aws::RedshiftDataAPIService
|
|
270
290
|
# credentials.
|
271
291
|
# @return [String]
|
272
292
|
#
|
293
|
+
# @!attribute [rw] connected_database
|
294
|
+
# A database name. The connected database is specified when you
|
295
|
+
# connect with your authentication credentials.
|
296
|
+
# @return [String]
|
297
|
+
#
|
273
298
|
# @!attribute [rw] database
|
274
|
-
# The name of the database
|
275
|
-
#
|
299
|
+
# The name of the database that contains the tables to be described.
|
300
|
+
# If `ConnectedDatabase` is not specified, this is also the database
|
301
|
+
# to connect to with your authentication credentials.
|
276
302
|
# @return [String]
|
277
303
|
#
|
278
304
|
# @!attribute [rw] db_user
|
@@ -317,6 +343,7 @@ module Aws::RedshiftDataAPIService
|
|
317
343
|
#
|
318
344
|
class DescribeTableRequest < Struct.new(
|
319
345
|
:cluster_identifier,
|
346
|
+
:connected_database,
|
320
347
|
:database,
|
321
348
|
:db_user,
|
322
349
|
:max_results,
|
@@ -685,6 +712,7 @@ module Aws::RedshiftDataAPIService
|
|
685
712
|
#
|
686
713
|
# {
|
687
714
|
# cluster_identifier: "Location", # required
|
715
|
+
# connected_database: "String",
|
688
716
|
# database: "String", # required
|
689
717
|
# db_user: "String",
|
690
718
|
# max_results: 1,
|
@@ -699,9 +727,15 @@ module Aws::RedshiftDataAPIService
|
|
699
727
|
# credentials.
|
700
728
|
# @return [String]
|
701
729
|
#
|
730
|
+
# @!attribute [rw] connected_database
|
731
|
+
# A database name. The connected database is specified when you
|
732
|
+
# connect with your authentication credentials.
|
733
|
+
# @return [String]
|
734
|
+
#
|
702
735
|
# @!attribute [rw] database
|
703
|
-
# The name of the database
|
704
|
-
#
|
736
|
+
# The name of the database that contains the schemas to list. If
|
737
|
+
# `ConnectedDatabase` is not specified, this is also the database to
|
738
|
+
# connect to with your authentication credentials.
|
705
739
|
# @return [String]
|
706
740
|
#
|
707
741
|
# @!attribute [rw] db_user
|
@@ -741,6 +775,7 @@ module Aws::RedshiftDataAPIService
|
|
741
775
|
#
|
742
776
|
class ListSchemasRequest < Struct.new(
|
743
777
|
:cluster_identifier,
|
778
|
+
:connected_database,
|
744
779
|
:database,
|
745
780
|
:db_user,
|
746
781
|
:max_results,
|
@@ -779,8 +814,9 @@ module Aws::RedshiftDataAPIService
|
|
779
814
|
# {
|
780
815
|
# max_results: 1,
|
781
816
|
# next_token: "String",
|
817
|
+
# role_level: false,
|
782
818
|
# statement_name: "StatementNameString",
|
783
|
-
# status: "
|
819
|
+
# status: "SUBMITTED", # accepts SUBMITTED, PICKED, STARTED, FINISHED, ABORTED, FAILED, ALL
|
784
820
|
# }
|
785
821
|
#
|
786
822
|
# @!attribute [rw] max_results
|
@@ -798,6 +834,13 @@ module Aws::RedshiftDataAPIService
|
|
798
834
|
# records have been retrieved for the request.
|
799
835
|
# @return [String]
|
800
836
|
#
|
837
|
+
# @!attribute [rw] role_level
|
838
|
+
# A value that filters which statements to return in the response. If
|
839
|
+
# true, all statements run by the caller's IAM role are returned. If
|
840
|
+
# false, only statements run by the caller's IAM role in the current
|
841
|
+
# IAM session are returned. The default is true.
|
842
|
+
# @return [Boolean]
|
843
|
+
#
|
801
844
|
# @!attribute [rw] statement_name
|
802
845
|
# The name of the SQL statement specified as input to
|
803
846
|
# `ExecuteStatement` to identify the query. You can list multiple
|
@@ -833,6 +876,7 @@ module Aws::RedshiftDataAPIService
|
|
833
876
|
class ListStatementsRequest < Struct.new(
|
834
877
|
:max_results,
|
835
878
|
:next_token,
|
879
|
+
:role_level,
|
836
880
|
:statement_name,
|
837
881
|
:status)
|
838
882
|
SENSITIVE = []
|
@@ -866,6 +910,7 @@ module Aws::RedshiftDataAPIService
|
|
866
910
|
#
|
867
911
|
# {
|
868
912
|
# cluster_identifier: "Location", # required
|
913
|
+
# connected_database: "String",
|
869
914
|
# database: "String", # required
|
870
915
|
# db_user: "String",
|
871
916
|
# max_results: 1,
|
@@ -881,9 +926,15 @@ module Aws::RedshiftDataAPIService
|
|
881
926
|
# credentials.
|
882
927
|
# @return [String]
|
883
928
|
#
|
929
|
+
# @!attribute [rw] connected_database
|
930
|
+
# A database name. The connected database is specified when you
|
931
|
+
# connect with your authentication credentials.
|
932
|
+
# @return [String]
|
933
|
+
#
|
884
934
|
# @!attribute [rw] database
|
885
|
-
# The name of the database
|
886
|
-
#
|
935
|
+
# The name of the database that contains the tables to list. If
|
936
|
+
# `ConnectedDatabase` is not specified, this is also the database to
|
937
|
+
# connect to with your authentication credentials.
|
887
938
|
# @return [String]
|
888
939
|
#
|
889
940
|
# @!attribute [rw] db_user
|
@@ -936,6 +987,7 @@ module Aws::RedshiftDataAPIService
|
|
936
987
|
#
|
937
988
|
class ListTablesRequest < Struct.new(
|
938
989
|
:cluster_identifier,
|
990
|
+
:connected_database,
|
939
991
|
:database,
|
940
992
|
:db_user,
|
941
993
|
:max_results,
|
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.5.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-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.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
|