aws-sdk-redshiftdataapiservice 1.64.0 → 1.65.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshiftdataapiservice/client.rb +289 -289
- data/lib/aws-sdk-redshiftdataapiservice/client_api.rb +97 -89
- data/lib/aws-sdk-redshiftdataapiservice/types.rb +506 -507
- data/lib/aws-sdk-redshiftdataapiservice.rb +1 -1
- data/sig/client.rbs +68 -68
- data/sig/types.rbs +91 -91
- metadata +1 -1
data/sig/client.rbs
CHANGED
|
@@ -81,30 +81,30 @@ module Aws
|
|
|
81
81
|
|
|
82
82
|
interface _BatchExecuteStatementResponseSuccess
|
|
83
83
|
include ::Seahorse::Client::_ResponseSuccess[Types::BatchExecuteStatementOutput]
|
|
84
|
-
def
|
|
84
|
+
def id: () -> ::String
|
|
85
85
|
def created_at: () -> ::Time
|
|
86
|
-
def
|
|
87
|
-
def db_groups: () -> ::Array[::String]
|
|
86
|
+
def cluster_identifier: () -> ::String
|
|
88
87
|
def db_user: () -> ::String
|
|
89
|
-
def
|
|
88
|
+
def db_groups: () -> ::Array[::String]
|
|
89
|
+
def database: () -> ::String
|
|
90
90
|
def secret_arn: () -> ::String
|
|
91
|
-
def session_id: () -> ::String
|
|
92
91
|
def workgroup_name: () -> ::String
|
|
92
|
+
def session_id: () -> ::String
|
|
93
93
|
end
|
|
94
94
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#batch_execute_statement-instance_method
|
|
95
95
|
def batch_execute_statement: (
|
|
96
|
-
|
|
96
|
+
sqls: Array[::String],
|
|
97
97
|
?cluster_identifier: ::String,
|
|
98
|
-
?
|
|
98
|
+
?secret_arn: ::String,
|
|
99
99
|
?db_user: ::String,
|
|
100
|
+
?database: ::String,
|
|
101
|
+
?with_event: bool,
|
|
102
|
+
?statement_name: ::String,
|
|
103
|
+
?workgroup_name: ::String,
|
|
104
|
+
?client_token: ::String,
|
|
100
105
|
?result_format: ("JSON" | "CSV"),
|
|
101
|
-
?secret_arn: ::String,
|
|
102
|
-
?session_id: ::String,
|
|
103
106
|
?session_keep_alive_seconds: ::Integer,
|
|
104
|
-
|
|
105
|
-
?statement_name: ::String,
|
|
106
|
-
?with_event: bool,
|
|
107
|
-
?workgroup_name: ::String
|
|
107
|
+
?session_id: ::String
|
|
108
108
|
) -> _BatchExecuteStatementResponseSuccess
|
|
109
109
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchExecuteStatementResponseSuccess
|
|
110
110
|
|
|
@@ -120,26 +120,26 @@ module Aws
|
|
|
120
120
|
|
|
121
121
|
interface _DescribeStatementResponseSuccess
|
|
122
122
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStatementResponse]
|
|
123
|
-
def
|
|
124
|
-
def
|
|
125
|
-
def database: () -> ::String
|
|
123
|
+
def id: () -> ::String
|
|
124
|
+
def secret_arn: () -> ::String
|
|
126
125
|
def db_user: () -> ::String
|
|
126
|
+
def database: () -> ::String
|
|
127
|
+
def cluster_identifier: () -> ::String
|
|
127
128
|
def duration: () -> ::Integer
|
|
129
|
+
def status: () -> ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL")
|
|
130
|
+
def created_at: () -> ::Time
|
|
131
|
+
def updated_at: () -> ::Time
|
|
132
|
+
def redshift_pid: () -> ::Integer
|
|
128
133
|
def has_result_set: () -> bool
|
|
129
|
-
def id: () -> ::String
|
|
130
|
-
def query_parameters: () -> ::Array[Types::SqlParameter]
|
|
131
134
|
def query_string: () -> ::String
|
|
132
|
-
def redshift_pid: () -> ::Integer
|
|
133
|
-
def redshift_query_id: () -> ::Integer
|
|
134
|
-
def result_format: () -> ("JSON" | "CSV")
|
|
135
135
|
def result_rows: () -> ::Integer
|
|
136
136
|
def result_size: () -> ::Integer
|
|
137
|
-
def
|
|
138
|
-
def
|
|
139
|
-
def status: () -> ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL")
|
|
137
|
+
def redshift_query_id: () -> ::Integer
|
|
138
|
+
def query_parameters: () -> ::Array[Types::SqlParameter]
|
|
140
139
|
def sub_statements: () -> ::Array[Types::SubStatementData]
|
|
141
|
-
def updated_at: () -> ::Time
|
|
142
140
|
def workgroup_name: () -> ::String
|
|
141
|
+
def result_format: () -> ("JSON" | "CSV")
|
|
142
|
+
def session_id: () -> ::String
|
|
143
143
|
end
|
|
144
144
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#describe_statement-instance_method
|
|
145
145
|
def describe_statement: (
|
|
@@ -149,66 +149,66 @@ module Aws
|
|
|
149
149
|
|
|
150
150
|
interface _DescribeTableResponseSuccess
|
|
151
151
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTableResponse]
|
|
152
|
+
def table_name: () -> ::String
|
|
152
153
|
def column_list: () -> ::Array[Types::ColumnMetadata]
|
|
153
154
|
def next_token: () -> ::String
|
|
154
|
-
def table_name: () -> ::String
|
|
155
155
|
end
|
|
156
156
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#describe_table-instance_method
|
|
157
157
|
def describe_table: (
|
|
158
158
|
?cluster_identifier: ::String,
|
|
159
|
-
?
|
|
160
|
-
database: ::String,
|
|
159
|
+
?secret_arn: ::String,
|
|
161
160
|
?db_user: ::String,
|
|
162
|
-
|
|
163
|
-
?
|
|
161
|
+
database: ::String,
|
|
162
|
+
?connected_database: ::String,
|
|
164
163
|
?schema: ::String,
|
|
165
|
-
?secret_arn: ::String,
|
|
166
164
|
?table: ::String,
|
|
165
|
+
?next_token: ::String,
|
|
166
|
+
?max_results: ::Integer,
|
|
167
167
|
?workgroup_name: ::String
|
|
168
168
|
) -> _DescribeTableResponseSuccess
|
|
169
169
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTableResponseSuccess
|
|
170
170
|
|
|
171
171
|
interface _ExecuteStatementResponseSuccess
|
|
172
172
|
include ::Seahorse::Client::_ResponseSuccess[Types::ExecuteStatementOutput]
|
|
173
|
-
def
|
|
173
|
+
def id: () -> ::String
|
|
174
174
|
def created_at: () -> ::Time
|
|
175
|
-
def
|
|
176
|
-
def db_groups: () -> ::Array[::String]
|
|
175
|
+
def cluster_identifier: () -> ::String
|
|
177
176
|
def db_user: () -> ::String
|
|
178
|
-
def
|
|
177
|
+
def db_groups: () -> ::Array[::String]
|
|
178
|
+
def database: () -> ::String
|
|
179
179
|
def secret_arn: () -> ::String
|
|
180
|
-
def session_id: () -> ::String
|
|
181
180
|
def workgroup_name: () -> ::String
|
|
181
|
+
def session_id: () -> ::String
|
|
182
182
|
end
|
|
183
183
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#execute_statement-instance_method
|
|
184
184
|
def execute_statement: (
|
|
185
|
-
|
|
185
|
+
sql: ::String,
|
|
186
186
|
?cluster_identifier: ::String,
|
|
187
|
-
?
|
|
187
|
+
?secret_arn: ::String,
|
|
188
188
|
?db_user: ::String,
|
|
189
|
+
?database: ::String,
|
|
190
|
+
?with_event: bool,
|
|
191
|
+
?statement_name: ::String,
|
|
189
192
|
?parameters: Array[
|
|
190
193
|
{
|
|
191
194
|
name: ::String,
|
|
192
195
|
value: ::String
|
|
193
196
|
},
|
|
194
197
|
],
|
|
198
|
+
?workgroup_name: ::String,
|
|
199
|
+
?client_token: ::String,
|
|
195
200
|
?result_format: ("JSON" | "CSV"),
|
|
196
|
-
?secret_arn: ::String,
|
|
197
|
-
?session_id: ::String,
|
|
198
201
|
?session_keep_alive_seconds: ::Integer,
|
|
199
|
-
|
|
200
|
-
?statement_name: ::String,
|
|
201
|
-
?with_event: bool,
|
|
202
|
-
?workgroup_name: ::String
|
|
202
|
+
?session_id: ::String
|
|
203
203
|
) -> _ExecuteStatementResponseSuccess
|
|
204
204
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExecuteStatementResponseSuccess
|
|
205
205
|
|
|
206
206
|
interface _GetStatementResultResponseSuccess
|
|
207
207
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetStatementResultResponse]
|
|
208
|
-
def column_metadata: () -> ::Array[Types::ColumnMetadata]
|
|
209
|
-
def next_token: () -> ::String
|
|
210
208
|
def records: () -> ::Array[::Array[Types::Field]]
|
|
209
|
+
def column_metadata: () -> ::Array[Types::ColumnMetadata]
|
|
211
210
|
def total_num_rows: () -> ::Integer
|
|
211
|
+
def next_token: () -> ::String
|
|
212
212
|
end
|
|
213
213
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#get_statement_result-instance_method
|
|
214
214
|
def get_statement_result: (
|
|
@@ -219,11 +219,11 @@ module Aws
|
|
|
219
219
|
|
|
220
220
|
interface _GetStatementResultV2ResponseSuccess
|
|
221
221
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetStatementResultV2Response]
|
|
222
|
-
def column_metadata: () -> ::Array[Types::ColumnMetadata]
|
|
223
|
-
def next_token: () -> ::String
|
|
224
222
|
def records: () -> ::Array[Types::QueryRecords]
|
|
225
|
-
def
|
|
223
|
+
def column_metadata: () -> ::Array[Types::ColumnMetadata]
|
|
226
224
|
def total_num_rows: () -> ::Integer
|
|
225
|
+
def result_format: () -> ("JSON" | "CSV")
|
|
226
|
+
def next_token: () -> ::String
|
|
227
227
|
end
|
|
228
228
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#get_statement_result_v2-instance_method
|
|
229
229
|
def get_statement_result_v2: (
|
|
@@ -241,67 +241,67 @@ module Aws
|
|
|
241
241
|
def list_databases: (
|
|
242
242
|
?cluster_identifier: ::String,
|
|
243
243
|
database: ::String,
|
|
244
|
+
?secret_arn: ::String,
|
|
244
245
|
?db_user: ::String,
|
|
245
|
-
?max_results: ::Integer,
|
|
246
246
|
?next_token: ::String,
|
|
247
|
-
?
|
|
247
|
+
?max_results: ::Integer,
|
|
248
248
|
?workgroup_name: ::String
|
|
249
249
|
) -> _ListDatabasesResponseSuccess
|
|
250
250
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatabasesResponseSuccess
|
|
251
251
|
|
|
252
252
|
interface _ListSchemasResponseSuccess
|
|
253
253
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListSchemasResponse]
|
|
254
|
-
def next_token: () -> ::String
|
|
255
254
|
def schemas: () -> ::Array[::String]
|
|
255
|
+
def next_token: () -> ::String
|
|
256
256
|
end
|
|
257
257
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#list_schemas-instance_method
|
|
258
258
|
def list_schemas: (
|
|
259
259
|
?cluster_identifier: ::String,
|
|
260
|
-
?
|
|
261
|
-
database: ::String,
|
|
260
|
+
?secret_arn: ::String,
|
|
262
261
|
?db_user: ::String,
|
|
263
|
-
|
|
264
|
-
?
|
|
262
|
+
database: ::String,
|
|
263
|
+
?connected_database: ::String,
|
|
265
264
|
?schema_pattern: ::String,
|
|
266
|
-
?
|
|
265
|
+
?next_token: ::String,
|
|
266
|
+
?max_results: ::Integer,
|
|
267
267
|
?workgroup_name: ::String
|
|
268
268
|
) -> _ListSchemasResponseSuccess
|
|
269
269
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSchemasResponseSuccess
|
|
270
270
|
|
|
271
271
|
interface _ListStatementsResponseSuccess
|
|
272
272
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListStatementsResponse]
|
|
273
|
-
def next_token: () -> ::String
|
|
274
273
|
def statements: () -> ::Array[Types::StatementData]
|
|
274
|
+
def next_token: () -> ::String
|
|
275
275
|
end
|
|
276
276
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#list_statements-instance_method
|
|
277
277
|
def list_statements: (
|
|
278
|
-
?cluster_identifier: ::String,
|
|
279
|
-
?database: ::String,
|
|
280
|
-
?max_results: ::Integer,
|
|
281
278
|
?next_token: ::String,
|
|
282
|
-
?
|
|
279
|
+
?max_results: ::Integer,
|
|
283
280
|
?statement_name: ::String,
|
|
284
281
|
?status: ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL"),
|
|
282
|
+
?role_level: bool,
|
|
283
|
+
?database: ::String,
|
|
284
|
+
?cluster_identifier: ::String,
|
|
285
285
|
?workgroup_name: ::String
|
|
286
286
|
) -> _ListStatementsResponseSuccess
|
|
287
287
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStatementsResponseSuccess
|
|
288
288
|
|
|
289
289
|
interface _ListTablesResponseSuccess
|
|
290
290
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTablesResponse]
|
|
291
|
-
def next_token: () -> ::String
|
|
292
291
|
def tables: () -> ::Array[Types::TableMember]
|
|
292
|
+
def next_token: () -> ::String
|
|
293
293
|
end
|
|
294
294
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#list_tables-instance_method
|
|
295
295
|
def list_tables: (
|
|
296
296
|
?cluster_identifier: ::String,
|
|
297
|
-
?
|
|
298
|
-
database: ::String,
|
|
297
|
+
?secret_arn: ::String,
|
|
299
298
|
?db_user: ::String,
|
|
300
|
-
|
|
301
|
-
?
|
|
299
|
+
database: ::String,
|
|
300
|
+
?connected_database: ::String,
|
|
302
301
|
?schema_pattern: ::String,
|
|
303
|
-
?secret_arn: ::String,
|
|
304
302
|
?table_pattern: ::String,
|
|
303
|
+
?next_token: ::String,
|
|
304
|
+
?max_results: ::Integer,
|
|
305
305
|
?workgroup_name: ::String
|
|
306
306
|
) -> _ListTablesResponseSuccess
|
|
307
307
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTablesResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -25,31 +25,31 @@ module Aws::RedshiftDataAPIService
|
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
class BatchExecuteStatementInput
|
|
28
|
-
attr_accessor
|
|
28
|
+
attr_accessor sqls: ::Array[::String]
|
|
29
29
|
attr_accessor cluster_identifier: ::String
|
|
30
|
-
attr_accessor database: ::String
|
|
31
|
-
attr_accessor db_user: ::String
|
|
32
|
-
attr_accessor result_format: ("JSON" | "CSV")
|
|
33
30
|
attr_accessor secret_arn: ::String
|
|
34
|
-
attr_accessor
|
|
35
|
-
attr_accessor
|
|
36
|
-
attr_accessor sqls: ::Array[::String]
|
|
37
|
-
attr_accessor statement_name: ::String
|
|
31
|
+
attr_accessor db_user: ::String
|
|
32
|
+
attr_accessor database: ::String
|
|
38
33
|
attr_accessor with_event: bool
|
|
34
|
+
attr_accessor statement_name: ::String
|
|
39
35
|
attr_accessor workgroup_name: ::String
|
|
36
|
+
attr_accessor client_token: ::String
|
|
37
|
+
attr_accessor result_format: ("JSON" | "CSV")
|
|
38
|
+
attr_accessor session_keep_alive_seconds: ::Integer
|
|
39
|
+
attr_accessor session_id: ::String
|
|
40
40
|
SENSITIVE: []
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
class BatchExecuteStatementOutput
|
|
44
|
-
attr_accessor
|
|
44
|
+
attr_accessor id: ::String
|
|
45
45
|
attr_accessor created_at: ::Time
|
|
46
|
-
attr_accessor
|
|
47
|
-
attr_accessor db_groups: ::Array[::String]
|
|
46
|
+
attr_accessor cluster_identifier: ::String
|
|
48
47
|
attr_accessor db_user: ::String
|
|
49
|
-
attr_accessor
|
|
48
|
+
attr_accessor db_groups: ::Array[::String]
|
|
49
|
+
attr_accessor database: ::String
|
|
50
50
|
attr_accessor secret_arn: ::String
|
|
51
|
-
attr_accessor session_id: ::String
|
|
52
51
|
attr_accessor workgroup_name: ::String
|
|
52
|
+
attr_accessor session_id: ::String
|
|
53
53
|
SENSITIVE: []
|
|
54
54
|
end
|
|
55
55
|
|
|
@@ -64,12 +64,10 @@ module Aws::RedshiftDataAPIService
|
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
class ColumnMetadata
|
|
67
|
-
attr_accessor column_default: ::String
|
|
68
67
|
attr_accessor is_case_sensitive: bool
|
|
69
68
|
attr_accessor is_currency: bool
|
|
70
69
|
attr_accessor is_signed: bool
|
|
71
70
|
attr_accessor label: ::String
|
|
72
|
-
attr_accessor length: ::Integer
|
|
73
71
|
attr_accessor name: ::String
|
|
74
72
|
attr_accessor nullable: ::Integer
|
|
75
73
|
attr_accessor precision: ::Integer
|
|
@@ -77,6 +75,8 @@ module Aws::RedshiftDataAPIService
|
|
|
77
75
|
attr_accessor schema_name: ::String
|
|
78
76
|
attr_accessor table_name: ::String
|
|
79
77
|
attr_accessor type_name: ::String
|
|
78
|
+
attr_accessor length: ::Integer
|
|
79
|
+
attr_accessor column_default: ::String
|
|
80
80
|
SENSITIVE: []
|
|
81
81
|
end
|
|
82
82
|
|
|
@@ -91,48 +91,48 @@ module Aws::RedshiftDataAPIService
|
|
|
91
91
|
end
|
|
92
92
|
|
|
93
93
|
class DescribeStatementResponse
|
|
94
|
-
attr_accessor
|
|
95
|
-
attr_accessor
|
|
96
|
-
attr_accessor database: ::String
|
|
94
|
+
attr_accessor id: ::String
|
|
95
|
+
attr_accessor secret_arn: ::String
|
|
97
96
|
attr_accessor db_user: ::String
|
|
97
|
+
attr_accessor database: ::String
|
|
98
|
+
attr_accessor cluster_identifier: ::String
|
|
98
99
|
attr_accessor duration: ::Integer
|
|
99
100
|
attr_accessor error: ::String
|
|
101
|
+
attr_accessor status: ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL")
|
|
102
|
+
attr_accessor created_at: ::Time
|
|
103
|
+
attr_accessor updated_at: ::Time
|
|
104
|
+
attr_accessor redshift_pid: ::Integer
|
|
100
105
|
attr_accessor has_result_set: bool
|
|
101
|
-
attr_accessor id: ::String
|
|
102
|
-
attr_accessor query_parameters: ::Array[Types::SqlParameter]
|
|
103
106
|
attr_accessor query_string: ::String
|
|
104
|
-
attr_accessor redshift_pid: ::Integer
|
|
105
|
-
attr_accessor redshift_query_id: ::Integer
|
|
106
|
-
attr_accessor result_format: ("JSON" | "CSV")
|
|
107
107
|
attr_accessor result_rows: ::Integer
|
|
108
108
|
attr_accessor result_size: ::Integer
|
|
109
|
-
attr_accessor
|
|
110
|
-
attr_accessor
|
|
111
|
-
attr_accessor status: ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL")
|
|
109
|
+
attr_accessor redshift_query_id: ::Integer
|
|
110
|
+
attr_accessor query_parameters: ::Array[Types::SqlParameter]
|
|
112
111
|
attr_accessor sub_statements: ::Array[Types::SubStatementData]
|
|
113
|
-
attr_accessor updated_at: ::Time
|
|
114
112
|
attr_accessor workgroup_name: ::String
|
|
113
|
+
attr_accessor result_format: ("JSON" | "CSV")
|
|
114
|
+
attr_accessor session_id: ::String
|
|
115
115
|
SENSITIVE: []
|
|
116
116
|
end
|
|
117
117
|
|
|
118
118
|
class DescribeTableRequest
|
|
119
119
|
attr_accessor cluster_identifier: ::String
|
|
120
|
-
attr_accessor
|
|
121
|
-
attr_accessor database: ::String
|
|
120
|
+
attr_accessor secret_arn: ::String
|
|
122
121
|
attr_accessor db_user: ::String
|
|
123
|
-
attr_accessor
|
|
124
|
-
attr_accessor
|
|
122
|
+
attr_accessor database: ::String
|
|
123
|
+
attr_accessor connected_database: ::String
|
|
125
124
|
attr_accessor schema: ::String
|
|
126
|
-
attr_accessor secret_arn: ::String
|
|
127
125
|
attr_accessor table: ::String
|
|
126
|
+
attr_accessor next_token: ::String
|
|
127
|
+
attr_accessor max_results: ::Integer
|
|
128
128
|
attr_accessor workgroup_name: ::String
|
|
129
129
|
SENSITIVE: []
|
|
130
130
|
end
|
|
131
131
|
|
|
132
132
|
class DescribeTableResponse
|
|
133
|
+
attr_accessor table_name: ::String
|
|
133
134
|
attr_accessor column_list: ::Array[Types::ColumnMetadata]
|
|
134
135
|
attr_accessor next_token: ::String
|
|
135
|
-
attr_accessor table_name: ::String
|
|
136
136
|
SENSITIVE: []
|
|
137
137
|
end
|
|
138
138
|
|
|
@@ -143,57 +143,57 @@ module Aws::RedshiftDataAPIService
|
|
|
143
143
|
end
|
|
144
144
|
|
|
145
145
|
class ExecuteStatementInput
|
|
146
|
-
attr_accessor
|
|
146
|
+
attr_accessor sql: ::String
|
|
147
147
|
attr_accessor cluster_identifier: ::String
|
|
148
|
-
attr_accessor
|
|
148
|
+
attr_accessor secret_arn: ::String
|
|
149
149
|
attr_accessor db_user: ::String
|
|
150
|
+
attr_accessor database: ::String
|
|
151
|
+
attr_accessor with_event: bool
|
|
152
|
+
attr_accessor statement_name: ::String
|
|
150
153
|
attr_accessor parameters: ::Array[Types::SqlParameter]
|
|
154
|
+
attr_accessor workgroup_name: ::String
|
|
155
|
+
attr_accessor client_token: ::String
|
|
151
156
|
attr_accessor result_format: ("JSON" | "CSV")
|
|
152
|
-
attr_accessor secret_arn: ::String
|
|
153
|
-
attr_accessor session_id: ::String
|
|
154
157
|
attr_accessor session_keep_alive_seconds: ::Integer
|
|
155
|
-
attr_accessor
|
|
156
|
-
attr_accessor statement_name: ::String
|
|
157
|
-
attr_accessor with_event: bool
|
|
158
|
-
attr_accessor workgroup_name: ::String
|
|
158
|
+
attr_accessor session_id: ::String
|
|
159
159
|
SENSITIVE: []
|
|
160
160
|
end
|
|
161
161
|
|
|
162
162
|
class ExecuteStatementOutput
|
|
163
|
-
attr_accessor
|
|
163
|
+
attr_accessor id: ::String
|
|
164
164
|
attr_accessor created_at: ::Time
|
|
165
|
-
attr_accessor
|
|
166
|
-
attr_accessor db_groups: ::Array[::String]
|
|
165
|
+
attr_accessor cluster_identifier: ::String
|
|
167
166
|
attr_accessor db_user: ::String
|
|
168
|
-
attr_accessor
|
|
167
|
+
attr_accessor db_groups: ::Array[::String]
|
|
168
|
+
attr_accessor database: ::String
|
|
169
169
|
attr_accessor secret_arn: ::String
|
|
170
|
-
attr_accessor session_id: ::String
|
|
171
170
|
attr_accessor workgroup_name: ::String
|
|
171
|
+
attr_accessor session_id: ::String
|
|
172
172
|
SENSITIVE: []
|
|
173
173
|
end
|
|
174
174
|
|
|
175
175
|
class Field
|
|
176
|
-
attr_accessor blob_value: ::String
|
|
177
|
-
attr_accessor boolean_value: bool
|
|
178
|
-
attr_accessor double_value: ::Float
|
|
179
176
|
attr_accessor is_null: bool
|
|
177
|
+
attr_accessor boolean_value: bool
|
|
180
178
|
attr_accessor long_value: ::Integer
|
|
179
|
+
attr_accessor double_value: ::Float
|
|
181
180
|
attr_accessor string_value: ::String
|
|
181
|
+
attr_accessor blob_value: ::String
|
|
182
182
|
attr_accessor unknown: untyped
|
|
183
183
|
SENSITIVE: []
|
|
184
184
|
|
|
185
|
-
class
|
|
185
|
+
class IsNull < Field
|
|
186
186
|
end
|
|
187
187
|
class BooleanValue < Field
|
|
188
188
|
end
|
|
189
|
-
class DoubleValue < Field
|
|
190
|
-
end
|
|
191
|
-
class IsNull < Field
|
|
192
|
-
end
|
|
193
189
|
class LongValue < Field
|
|
194
190
|
end
|
|
191
|
+
class DoubleValue < Field
|
|
192
|
+
end
|
|
195
193
|
class StringValue < Field
|
|
196
194
|
end
|
|
195
|
+
class BlobValue < Field
|
|
196
|
+
end
|
|
197
197
|
class Unknown < Field
|
|
198
198
|
end
|
|
199
199
|
end
|
|
@@ -205,10 +205,10 @@ module Aws::RedshiftDataAPIService
|
|
|
205
205
|
end
|
|
206
206
|
|
|
207
207
|
class GetStatementResultResponse
|
|
208
|
-
attr_accessor column_metadata: ::Array[Types::ColumnMetadata]
|
|
209
|
-
attr_accessor next_token: ::String
|
|
210
208
|
attr_accessor records: ::Array[::Array[Types::Field]]
|
|
209
|
+
attr_accessor column_metadata: ::Array[Types::ColumnMetadata]
|
|
211
210
|
attr_accessor total_num_rows: ::Integer
|
|
211
|
+
attr_accessor next_token: ::String
|
|
212
212
|
SENSITIVE: []
|
|
213
213
|
end
|
|
214
214
|
|
|
@@ -219,11 +219,11 @@ module Aws::RedshiftDataAPIService
|
|
|
219
219
|
end
|
|
220
220
|
|
|
221
221
|
class GetStatementResultV2Response
|
|
222
|
-
attr_accessor column_metadata: ::Array[Types::ColumnMetadata]
|
|
223
|
-
attr_accessor next_token: ::String
|
|
224
222
|
attr_accessor records: ::Array[Types::QueryRecords]
|
|
225
|
-
attr_accessor
|
|
223
|
+
attr_accessor column_metadata: ::Array[Types::ColumnMetadata]
|
|
226
224
|
attr_accessor total_num_rows: ::Integer
|
|
225
|
+
attr_accessor result_format: ("JSON" | "CSV")
|
|
226
|
+
attr_accessor next_token: ::String
|
|
227
227
|
SENSITIVE: []
|
|
228
228
|
end
|
|
229
229
|
|
|
@@ -235,10 +235,10 @@ module Aws::RedshiftDataAPIService
|
|
|
235
235
|
class ListDatabasesRequest
|
|
236
236
|
attr_accessor cluster_identifier: ::String
|
|
237
237
|
attr_accessor database: ::String
|
|
238
|
+
attr_accessor secret_arn: ::String
|
|
238
239
|
attr_accessor db_user: ::String
|
|
239
|
-
attr_accessor max_results: ::Integer
|
|
240
240
|
attr_accessor next_token: ::String
|
|
241
|
-
attr_accessor
|
|
241
|
+
attr_accessor max_results: ::Integer
|
|
242
242
|
attr_accessor workgroup_name: ::String
|
|
243
243
|
SENSITIVE: []
|
|
244
244
|
end
|
|
@@ -251,58 +251,58 @@ module Aws::RedshiftDataAPIService
|
|
|
251
251
|
|
|
252
252
|
class ListSchemasRequest
|
|
253
253
|
attr_accessor cluster_identifier: ::String
|
|
254
|
-
attr_accessor
|
|
255
|
-
attr_accessor database: ::String
|
|
254
|
+
attr_accessor secret_arn: ::String
|
|
256
255
|
attr_accessor db_user: ::String
|
|
257
|
-
attr_accessor
|
|
258
|
-
attr_accessor
|
|
256
|
+
attr_accessor database: ::String
|
|
257
|
+
attr_accessor connected_database: ::String
|
|
259
258
|
attr_accessor schema_pattern: ::String
|
|
260
|
-
attr_accessor
|
|
259
|
+
attr_accessor next_token: ::String
|
|
260
|
+
attr_accessor max_results: ::Integer
|
|
261
261
|
attr_accessor workgroup_name: ::String
|
|
262
262
|
SENSITIVE: []
|
|
263
263
|
end
|
|
264
264
|
|
|
265
265
|
class ListSchemasResponse
|
|
266
|
-
attr_accessor next_token: ::String
|
|
267
266
|
attr_accessor schemas: ::Array[::String]
|
|
267
|
+
attr_accessor next_token: ::String
|
|
268
268
|
SENSITIVE: []
|
|
269
269
|
end
|
|
270
270
|
|
|
271
271
|
class ListStatementsRequest
|
|
272
|
-
attr_accessor cluster_identifier: ::String
|
|
273
|
-
attr_accessor database: ::String
|
|
274
|
-
attr_accessor max_results: ::Integer
|
|
275
272
|
attr_accessor next_token: ::String
|
|
276
|
-
attr_accessor
|
|
273
|
+
attr_accessor max_results: ::Integer
|
|
277
274
|
attr_accessor statement_name: ::String
|
|
278
275
|
attr_accessor status: ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL")
|
|
276
|
+
attr_accessor role_level: bool
|
|
277
|
+
attr_accessor database: ::String
|
|
278
|
+
attr_accessor cluster_identifier: ::String
|
|
279
279
|
attr_accessor workgroup_name: ::String
|
|
280
280
|
SENSITIVE: []
|
|
281
281
|
end
|
|
282
282
|
|
|
283
283
|
class ListStatementsResponse
|
|
284
|
-
attr_accessor next_token: ::String
|
|
285
284
|
attr_accessor statements: ::Array[Types::StatementData]
|
|
285
|
+
attr_accessor next_token: ::String
|
|
286
286
|
SENSITIVE: []
|
|
287
287
|
end
|
|
288
288
|
|
|
289
289
|
class ListTablesRequest
|
|
290
290
|
attr_accessor cluster_identifier: ::String
|
|
291
|
-
attr_accessor
|
|
292
|
-
attr_accessor database: ::String
|
|
291
|
+
attr_accessor secret_arn: ::String
|
|
293
292
|
attr_accessor db_user: ::String
|
|
294
|
-
attr_accessor
|
|
295
|
-
attr_accessor
|
|
293
|
+
attr_accessor database: ::String
|
|
294
|
+
attr_accessor connected_database: ::String
|
|
296
295
|
attr_accessor schema_pattern: ::String
|
|
297
|
-
attr_accessor secret_arn: ::String
|
|
298
296
|
attr_accessor table_pattern: ::String
|
|
297
|
+
attr_accessor next_token: ::String
|
|
298
|
+
attr_accessor max_results: ::Integer
|
|
299
299
|
attr_accessor workgroup_name: ::String
|
|
300
300
|
SENSITIVE: []
|
|
301
301
|
end
|
|
302
302
|
|
|
303
303
|
class ListTablesResponse
|
|
304
|
-
attr_accessor next_token: ::String
|
|
305
304
|
attr_accessor tables: ::Array[Types::TableMember]
|
|
305
|
+
attr_accessor next_token: ::String
|
|
306
306
|
SENSITIVE: []
|
|
307
307
|
end
|
|
308
308
|
|
|
@@ -335,40 +335,40 @@ module Aws::RedshiftDataAPIService
|
|
|
335
335
|
end
|
|
336
336
|
|
|
337
337
|
class StatementData
|
|
338
|
-
attr_accessor created_at: ::Time
|
|
339
338
|
attr_accessor id: ::String
|
|
340
|
-
attr_accessor is_batch_statement: bool
|
|
341
|
-
attr_accessor query_parameters: ::Array[Types::SqlParameter]
|
|
342
339
|
attr_accessor query_string: ::String
|
|
343
340
|
attr_accessor query_strings: ::Array[::String]
|
|
344
|
-
attr_accessor result_format: ("JSON" | "CSV")
|
|
345
341
|
attr_accessor secret_arn: ::String
|
|
346
|
-
attr_accessor session_id: ::String
|
|
347
|
-
attr_accessor statement_name: ::String
|
|
348
342
|
attr_accessor status: ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL")
|
|
343
|
+
attr_accessor statement_name: ::String
|
|
344
|
+
attr_accessor created_at: ::Time
|
|
349
345
|
attr_accessor updated_at: ::Time
|
|
346
|
+
attr_accessor query_parameters: ::Array[Types::SqlParameter]
|
|
347
|
+
attr_accessor is_batch_statement: bool
|
|
348
|
+
attr_accessor result_format: ("JSON" | "CSV")
|
|
349
|
+
attr_accessor session_id: ::String
|
|
350
350
|
SENSITIVE: []
|
|
351
351
|
end
|
|
352
352
|
|
|
353
353
|
class SubStatementData
|
|
354
|
-
attr_accessor
|
|
354
|
+
attr_accessor id: ::String
|
|
355
355
|
attr_accessor duration: ::Integer
|
|
356
356
|
attr_accessor error: ::String
|
|
357
|
-
attr_accessor
|
|
358
|
-
attr_accessor
|
|
357
|
+
attr_accessor status: ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED")
|
|
358
|
+
attr_accessor created_at: ::Time
|
|
359
|
+
attr_accessor updated_at: ::Time
|
|
359
360
|
attr_accessor query_string: ::String
|
|
360
|
-
attr_accessor redshift_query_id: ::Integer
|
|
361
361
|
attr_accessor result_rows: ::Integer
|
|
362
362
|
attr_accessor result_size: ::Integer
|
|
363
|
-
attr_accessor
|
|
364
|
-
attr_accessor
|
|
363
|
+
attr_accessor redshift_query_id: ::Integer
|
|
364
|
+
attr_accessor has_result_set: bool
|
|
365
365
|
SENSITIVE: []
|
|
366
366
|
end
|
|
367
367
|
|
|
368
368
|
class TableMember
|
|
369
369
|
attr_accessor name: ::String
|
|
370
|
-
attr_accessor schema: ::String
|
|
371
370
|
attr_accessor type: ::String
|
|
371
|
+
attr_accessor schema: ::String
|
|
372
372
|
SENSITIVE: []
|
|
373
373
|
end
|
|
374
374
|
|