aws-sdk-redshiftdataapiservice 1.34.0 → 1.36.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b7fdb0250ef58a8467b5631e75583435e773595e94e7a6ba9e1f7d1052ca4d8
4
- data.tar.gz: d344f6c8be4a1d2e8938a8f20bc7d1d4e146bf82e7a57ba40ce2659d06f57bfb
3
+ metadata.gz: d56f20909fd7802041264909b7fc2cfb80ffbb3749de15f1886cd399b7f8cb9a
4
+ data.tar.gz: b6b03b74d171eed62b610725ed276e3c03b1460a2023fd0fbf39ba8736b32b2e
5
5
  SHA512:
6
- metadata.gz: 28139a1d4ef153da9e102f9c5a04978ea3e798e22e16f6a67b202b20bacdd9f0e7f2644e5511e3e71b3857e9d4f2acc3a71e19aff7ffbc56a580563ea81baec2
7
- data.tar.gz: 0c152a997541f2d5ba6edd770bf0164ad741233a1fb13c2e69c16294057cf1ddfde9384617103f268153704c06800f193113e9217645a9a6261105cf5ceb1ec4
6
+ metadata.gz: 0c1dcdf90aac752aad9c1e7625407ea0668b8c3e01a595d75fdec4a089c33d27ff056ecd92b48a29763e609dbd0bb65f69c25f09572a132b87facf175150ef9e
7
+ data.tar.gz: 717a4611b7044d6ea851946bc8a1bb32f23e3be82361f0569d9d4a0f87014f7b7dc7350df8c5c3b4a2afca5959ed0fbe81226471f9a7d1726b3bade82608d5dc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.36.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.35.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.34.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.34.0
1
+ 1.36.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::RedshiftDataAPIService
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::RedshiftDataAPIService
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -347,50 +356,65 @@ module Aws::RedshiftDataAPIService
347
356
  # @option options [Aws::RedshiftDataAPIService::EndpointProvider] :endpoint_provider
348
357
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::RedshiftDataAPIService::EndpointParameters`
349
358
  #
350
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
351
- # requests through. Formatted like 'http://proxy.com:123'.
352
- #
353
- # @option options [Float] :http_open_timeout (15) The number of
354
- # seconds to wait when opening a HTTP session before raising a
355
- # `Timeout::Error`.
356
- #
357
- # @option options [Float] :http_read_timeout (60) The default
358
- # number of seconds to wait for response data. This value can
359
- # safely be set per-request on the session.
360
- #
361
- # @option options [Float] :http_idle_timeout (5) The number of
362
- # seconds a connection is allowed to sit idle before it is
363
- # considered stale. Stale connections are closed and removed
364
- # from the pool before making a request.
365
- #
366
- # @option options [Float] :http_continue_timeout (1) The number of
367
- # seconds to wait for a 100-continue response before sending the
368
- # request body. This option has no effect unless the request has
369
- # "Expect" header set to "100-continue". Defaults to `nil` which
370
- # disables this behaviour. This value can safely be set per
371
- # request on the session.
372
- #
373
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
- # in seconds.
359
+ # @option options [Float] :http_continue_timeout (1)
360
+ # The number of seconds to wait for a 100-continue response before sending the
361
+ # request body. This option has no effect unless the request has "Expect"
362
+ # header set to "100-continue". Defaults to `nil` which disables this
363
+ # behaviour. This value can safely be set per request on the session.
364
+ #
365
+ # @option options [Float] :http_idle_timeout (5)
366
+ # The number of seconds a connection is allowed to sit idle before it
367
+ # is considered stale. Stale connections are closed and removed from the
368
+ # pool before making a request.
369
+ #
370
+ # @option options [Float] :http_open_timeout (15)
371
+ # The default number of seconds to wait for response data.
372
+ # This value can safely be set per-request on the session.
373
+ #
374
+ # @option options [URI::HTTP,String] :http_proxy
375
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
376
+ #
377
+ # @option options [Float] :http_read_timeout (60)
378
+ # The default number of seconds to wait for response data.
379
+ # This value can safely be set per-request on the session.
380
+ #
381
+ # @option options [Boolean] :http_wire_trace (false)
382
+ # When `true`, HTTP debug output will be sent to the `:logger`.
383
+ #
384
+ # @option options [Proc] :on_chunk_received
385
+ # When a Proc object is provided, it will be used as callback when each chunk
386
+ # of the response body is received. It provides three arguments: the chunk,
387
+ # the number of bytes received, and the total number of
388
+ # bytes in the response (or nil if the server did not send a `content-length`).
389
+ #
390
+ # @option options [Proc] :on_chunk_sent
391
+ # When a Proc object is provided, it will be used as callback when each chunk
392
+ # of the request body is sent. It provides three arguments: the chunk,
393
+ # the number of bytes read from the body, and the total number of
394
+ # bytes in the body.
395
+ #
396
+ # @option options [Boolean] :raise_response_errors (true)
397
+ # When `true`, response errors are raised.
398
+ #
399
+ # @option options [String] :ssl_ca_bundle
400
+ # Full path to the SSL certificate authority bundle file that should be used when
401
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
402
+ # `:ssl_ca_directory` the the system default will be used if available.
403
+ #
404
+ # @option options [String] :ssl_ca_directory
405
+ # Full path of the directory that contains the unbundled SSL certificate
406
+ # authority files for verifying peer certificates. If you do
407
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
408
+ # default will be used if available.
375
409
  #
376
- # @option options [Boolean] :http_wire_trace (false) When `true`,
377
- # HTTP debug output will be sent to the `:logger`.
410
+ # @option options [String] :ssl_ca_store
411
+ # Sets the X509::Store to verify peer certificate.
378
412
  #
379
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
380
- # SSL peer certificates are verified when establishing a
381
- # connection.
413
+ # @option options [Float] :ssl_timeout
414
+ # Sets the SSL timeout in seconds
382
415
  #
383
- # @option options [String] :ssl_ca_bundle Full path to the SSL
384
- # certificate authority bundle file that should be used when
385
- # verifying peer certificates. If you do not pass
386
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
387
- # will be used if available.
388
- #
389
- # @option options [String] :ssl_ca_directory Full path of the
390
- # directory that contains the unbundled SSL certificate
391
- # authority files for verifying peer certificates. If you do
392
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
393
- # system default will be used if available.
416
+ # @option options [Boolean] :ssl_verify_peer (true)
417
+ # When `true`, SSL peer certificates are verified when establishing a connection.
394
418
  #
395
419
  def initialize(*args)
396
420
  super
@@ -1516,7 +1540,7 @@ module Aws::RedshiftDataAPIService
1516
1540
  params: params,
1517
1541
  config: config)
1518
1542
  context[:gem_name] = 'aws-sdk-redshiftdataapiservice'
1519
- context[:gem_version] = '1.34.0'
1543
+ context[:gem_version] = '1.36.0'
1520
1544
  Seahorse::Client::Request.new(handlers, context)
1521
1545
  end
1522
1546
 
@@ -14,6 +14,7 @@ module Aws::RedshiftDataAPIService
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::RedshiftDataAPIService::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-redshiftdataapiservice/customizations'
52
52
  # @!group service
53
53
  module Aws::RedshiftDataAPIService
54
54
 
55
- GEM_VERSION = '1.34.0'
55
+ GEM_VERSION = '1.36.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,275 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module RedshiftDataAPIService
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _BatchExecuteStatementResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchExecuteStatementOutput]
78
+ def cluster_identifier: () -> ::String
79
+ def created_at: () -> ::Time
80
+ def database: () -> ::String
81
+ def db_user: () -> ::String
82
+ def id: () -> ::String
83
+ def secret_arn: () -> ::String
84
+ def workgroup_name: () -> ::String
85
+ end
86
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#batch_execute_statement-instance_method
87
+ def batch_execute_statement: (
88
+ ?client_token: ::String,
89
+ ?cluster_identifier: ::String,
90
+ database: ::String,
91
+ ?db_user: ::String,
92
+ ?secret_arn: ::String,
93
+ sqls: Array[::String],
94
+ ?statement_name: ::String,
95
+ ?with_event: bool,
96
+ ?workgroup_name: ::String
97
+ ) -> _BatchExecuteStatementResponseSuccess
98
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchExecuteStatementResponseSuccess
99
+
100
+ interface _CancelStatementResponseSuccess
101
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelStatementResponse]
102
+ def status: () -> bool
103
+ end
104
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#cancel_statement-instance_method
105
+ def cancel_statement: (
106
+ id: ::String
107
+ ) -> _CancelStatementResponseSuccess
108
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelStatementResponseSuccess
109
+
110
+ interface _DescribeStatementResponseSuccess
111
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStatementResponse]
112
+ def cluster_identifier: () -> ::String
113
+ def created_at: () -> ::Time
114
+ def database: () -> ::String
115
+ def db_user: () -> ::String
116
+ def duration: () -> ::Integer
117
+ def has_result_set: () -> bool
118
+ def id: () -> ::String
119
+ def query_parameters: () -> ::Array[Types::SqlParameter]
120
+ def query_string: () -> ::String
121
+ def redshift_pid: () -> ::Integer
122
+ def redshift_query_id: () -> ::Integer
123
+ def result_rows: () -> ::Integer
124
+ def result_size: () -> ::Integer
125
+ def secret_arn: () -> ::String
126
+ def status: () -> ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL")
127
+ def sub_statements: () -> ::Array[Types::SubStatementData]
128
+ def updated_at: () -> ::Time
129
+ def workgroup_name: () -> ::String
130
+ end
131
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#describe_statement-instance_method
132
+ def describe_statement: (
133
+ id: ::String
134
+ ) -> _DescribeStatementResponseSuccess
135
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStatementResponseSuccess
136
+
137
+ interface _DescribeTableResponseSuccess
138
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTableResponse]
139
+ def column_list: () -> ::Array[Types::ColumnMetadata]
140
+ def next_token: () -> ::String
141
+ def table_name: () -> ::String
142
+ end
143
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#describe_table-instance_method
144
+ def describe_table: (
145
+ ?cluster_identifier: ::String,
146
+ ?connected_database: ::String,
147
+ database: ::String,
148
+ ?db_user: ::String,
149
+ ?max_results: ::Integer,
150
+ ?next_token: ::String,
151
+ ?schema: ::String,
152
+ ?secret_arn: ::String,
153
+ ?table: ::String,
154
+ ?workgroup_name: ::String
155
+ ) -> _DescribeTableResponseSuccess
156
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTableResponseSuccess
157
+
158
+ interface _ExecuteStatementResponseSuccess
159
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExecuteStatementOutput]
160
+ def cluster_identifier: () -> ::String
161
+ def created_at: () -> ::Time
162
+ def database: () -> ::String
163
+ def db_user: () -> ::String
164
+ def id: () -> ::String
165
+ def secret_arn: () -> ::String
166
+ def workgroup_name: () -> ::String
167
+ end
168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#execute_statement-instance_method
169
+ def execute_statement: (
170
+ ?client_token: ::String,
171
+ ?cluster_identifier: ::String,
172
+ database: ::String,
173
+ ?db_user: ::String,
174
+ ?parameters: Array[
175
+ {
176
+ name: ::String,
177
+ value: ::String
178
+ },
179
+ ],
180
+ ?secret_arn: ::String,
181
+ sql: ::String,
182
+ ?statement_name: ::String,
183
+ ?with_event: bool,
184
+ ?workgroup_name: ::String
185
+ ) -> _ExecuteStatementResponseSuccess
186
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExecuteStatementResponseSuccess
187
+
188
+ interface _GetStatementResultResponseSuccess
189
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetStatementResultResponse]
190
+ def column_metadata: () -> ::Array[Types::ColumnMetadata]
191
+ def next_token: () -> ::String
192
+ def records: () -> ::Array[::Array[Types::Field]]
193
+ def total_num_rows: () -> ::Integer
194
+ end
195
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#get_statement_result-instance_method
196
+ def get_statement_result: (
197
+ id: ::String,
198
+ ?next_token: ::String
199
+ ) -> _GetStatementResultResponseSuccess
200
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStatementResultResponseSuccess
201
+
202
+ interface _ListDatabasesResponseSuccess
203
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDatabasesResponse]
204
+ def databases: () -> ::Array[::String]
205
+ def next_token: () -> ::String
206
+ end
207
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#list_databases-instance_method
208
+ def list_databases: (
209
+ ?cluster_identifier: ::String,
210
+ database: ::String,
211
+ ?db_user: ::String,
212
+ ?max_results: ::Integer,
213
+ ?next_token: ::String,
214
+ ?secret_arn: ::String,
215
+ ?workgroup_name: ::String
216
+ ) -> _ListDatabasesResponseSuccess
217
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatabasesResponseSuccess
218
+
219
+ interface _ListSchemasResponseSuccess
220
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSchemasResponse]
221
+ def next_token: () -> ::String
222
+ def schemas: () -> ::Array[::String]
223
+ end
224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#list_schemas-instance_method
225
+ def list_schemas: (
226
+ ?cluster_identifier: ::String,
227
+ ?connected_database: ::String,
228
+ database: ::String,
229
+ ?db_user: ::String,
230
+ ?max_results: ::Integer,
231
+ ?next_token: ::String,
232
+ ?schema_pattern: ::String,
233
+ ?secret_arn: ::String,
234
+ ?workgroup_name: ::String
235
+ ) -> _ListSchemasResponseSuccess
236
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSchemasResponseSuccess
237
+
238
+ interface _ListStatementsResponseSuccess
239
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListStatementsResponse]
240
+ def next_token: () -> ::String
241
+ def statements: () -> ::Array[Types::StatementData]
242
+ end
243
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#list_statements-instance_method
244
+ def list_statements: (
245
+ ?max_results: ::Integer,
246
+ ?next_token: ::String,
247
+ ?role_level: bool,
248
+ ?statement_name: ::String,
249
+ ?status: ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL")
250
+ ) -> _ListStatementsResponseSuccess
251
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStatementsResponseSuccess
252
+
253
+ interface _ListTablesResponseSuccess
254
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTablesResponse]
255
+ def next_token: () -> ::String
256
+ def tables: () -> ::Array[Types::TableMember]
257
+ end
258
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#list_tables-instance_method
259
+ def list_tables: (
260
+ ?cluster_identifier: ::String,
261
+ ?connected_database: ::String,
262
+ database: ::String,
263
+ ?db_user: ::String,
264
+ ?max_results: ::Integer,
265
+ ?next_token: ::String,
266
+ ?schema_pattern: ::String,
267
+ ?secret_arn: ::String,
268
+ ?table_pattern: ::String,
269
+ ?workgroup_name: ::String
270
+ ) -> _ListTablesResponseSuccess
271
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTablesResponseSuccess
272
+ end
273
+ end
274
+ end
275
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,40 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module RedshiftDataAPIService
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class ActiveStatementsExceededException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class BatchExecuteStatementException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ def statement_id: () -> ::String
20
+ end
21
+ class DatabaseConnectionException < ::Aws::Errors::ServiceError
22
+ def message: () -> ::String
23
+ end
24
+ class ExecuteStatementException < ::Aws::Errors::ServiceError
25
+ def message: () -> ::String
26
+ def statement_id: () -> ::String
27
+ end
28
+ class InternalServerException < ::Aws::Errors::ServiceError
29
+ def message: () -> ::String
30
+ end
31
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
32
+ def message: () -> ::String
33
+ def resource_id: () -> ::String
34
+ end
35
+ class ValidationException < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ end
38
+ end
39
+ end
40
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,80 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module RedshiftDataAPIService
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> void
73
+ | (?Hash[Symbol, untyped]) -> void
74
+
75
+ def client: () -> Client
76
+
77
+
78
+ end
79
+ end
80
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,327 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::RedshiftDataAPIService
9
+ module Types
10
+
11
+ class ActiveStatementsExceededException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class BatchExecuteStatementException
17
+ attr_accessor message: ::String
18
+ attr_accessor statement_id: ::String
19
+ SENSITIVE: []
20
+ end
21
+
22
+ class BatchExecuteStatementInput
23
+ attr_accessor client_token: ::String
24
+ attr_accessor cluster_identifier: ::String
25
+ attr_accessor database: ::String
26
+ attr_accessor db_user: ::String
27
+ attr_accessor secret_arn: ::String
28
+ attr_accessor sqls: ::Array[::String]
29
+ attr_accessor statement_name: ::String
30
+ attr_accessor with_event: bool
31
+ attr_accessor workgroup_name: ::String
32
+ SENSITIVE: []
33
+ end
34
+
35
+ class BatchExecuteStatementOutput
36
+ attr_accessor cluster_identifier: ::String
37
+ attr_accessor created_at: ::Time
38
+ attr_accessor database: ::String
39
+ attr_accessor db_user: ::String
40
+ attr_accessor id: ::String
41
+ attr_accessor secret_arn: ::String
42
+ attr_accessor workgroup_name: ::String
43
+ SENSITIVE: []
44
+ end
45
+
46
+ class CancelStatementRequest
47
+ attr_accessor id: ::String
48
+ SENSITIVE: []
49
+ end
50
+
51
+ class CancelStatementResponse
52
+ attr_accessor status: bool
53
+ SENSITIVE: []
54
+ end
55
+
56
+ class ColumnMetadata
57
+ attr_accessor column_default: ::String
58
+ attr_accessor is_case_sensitive: bool
59
+ attr_accessor is_currency: bool
60
+ attr_accessor is_signed: bool
61
+ attr_accessor label: ::String
62
+ attr_accessor length: ::Integer
63
+ attr_accessor name: ::String
64
+ attr_accessor nullable: ::Integer
65
+ attr_accessor precision: ::Integer
66
+ attr_accessor scale: ::Integer
67
+ attr_accessor schema_name: ::String
68
+ attr_accessor table_name: ::String
69
+ attr_accessor type_name: ::String
70
+ SENSITIVE: []
71
+ end
72
+
73
+ class DatabaseConnectionException
74
+ attr_accessor message: ::String
75
+ SENSITIVE: []
76
+ end
77
+
78
+ class DescribeStatementRequest
79
+ attr_accessor id: ::String
80
+ SENSITIVE: []
81
+ end
82
+
83
+ class DescribeStatementResponse
84
+ attr_accessor cluster_identifier: ::String
85
+ attr_accessor created_at: ::Time
86
+ attr_accessor database: ::String
87
+ attr_accessor db_user: ::String
88
+ attr_accessor duration: ::Integer
89
+ attr_accessor error: ::String
90
+ attr_accessor has_result_set: bool
91
+ attr_accessor id: ::String
92
+ attr_accessor query_parameters: ::Array[Types::SqlParameter]
93
+ attr_accessor query_string: ::String
94
+ attr_accessor redshift_pid: ::Integer
95
+ attr_accessor redshift_query_id: ::Integer
96
+ attr_accessor result_rows: ::Integer
97
+ attr_accessor result_size: ::Integer
98
+ attr_accessor secret_arn: ::String
99
+ attr_accessor status: ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL")
100
+ attr_accessor sub_statements: ::Array[Types::SubStatementData]
101
+ attr_accessor updated_at: ::Time
102
+ attr_accessor workgroup_name: ::String
103
+ SENSITIVE: []
104
+ end
105
+
106
+ class DescribeTableRequest
107
+ attr_accessor cluster_identifier: ::String
108
+ attr_accessor connected_database: ::String
109
+ attr_accessor database: ::String
110
+ attr_accessor db_user: ::String
111
+ attr_accessor max_results: ::Integer
112
+ attr_accessor next_token: ::String
113
+ attr_accessor schema: ::String
114
+ attr_accessor secret_arn: ::String
115
+ attr_accessor table: ::String
116
+ attr_accessor workgroup_name: ::String
117
+ SENSITIVE: []
118
+ end
119
+
120
+ class DescribeTableResponse
121
+ attr_accessor column_list: ::Array[Types::ColumnMetadata]
122
+ attr_accessor next_token: ::String
123
+ attr_accessor table_name: ::String
124
+ SENSITIVE: []
125
+ end
126
+
127
+ class ExecuteStatementException
128
+ attr_accessor message: ::String
129
+ attr_accessor statement_id: ::String
130
+ SENSITIVE: []
131
+ end
132
+
133
+ class ExecuteStatementInput
134
+ attr_accessor client_token: ::String
135
+ attr_accessor cluster_identifier: ::String
136
+ attr_accessor database: ::String
137
+ attr_accessor db_user: ::String
138
+ attr_accessor parameters: ::Array[Types::SqlParameter]
139
+ attr_accessor secret_arn: ::String
140
+ attr_accessor sql: ::String
141
+ attr_accessor statement_name: ::String
142
+ attr_accessor with_event: bool
143
+ attr_accessor workgroup_name: ::String
144
+ SENSITIVE: []
145
+ end
146
+
147
+ class ExecuteStatementOutput
148
+ attr_accessor cluster_identifier: ::String
149
+ attr_accessor created_at: ::Time
150
+ attr_accessor database: ::String
151
+ attr_accessor db_user: ::String
152
+ attr_accessor id: ::String
153
+ attr_accessor secret_arn: ::String
154
+ attr_accessor workgroup_name: ::String
155
+ SENSITIVE: []
156
+ end
157
+
158
+ class Field
159
+ attr_accessor blob_value: ::String
160
+ attr_accessor boolean_value: bool
161
+ attr_accessor double_value: ::Float
162
+ attr_accessor is_null: bool
163
+ attr_accessor long_value: ::Integer
164
+ attr_accessor string_value: ::String
165
+ attr_accessor unknown: untyped
166
+ SENSITIVE: []
167
+
168
+ class BlobValue < Field
169
+ end
170
+ class BooleanValue < Field
171
+ end
172
+ class DoubleValue < Field
173
+ end
174
+ class IsNull < Field
175
+ end
176
+ class LongValue < Field
177
+ end
178
+ class StringValue < Field
179
+ end
180
+ class Unknown < Field
181
+ end
182
+ end
183
+
184
+ class GetStatementResultRequest
185
+ attr_accessor id: ::String
186
+ attr_accessor next_token: ::String
187
+ SENSITIVE: []
188
+ end
189
+
190
+ class GetStatementResultResponse
191
+ attr_accessor column_metadata: ::Array[Types::ColumnMetadata]
192
+ attr_accessor next_token: ::String
193
+ attr_accessor records: ::Array[::Array[Types::Field]]
194
+ attr_accessor total_num_rows: ::Integer
195
+ SENSITIVE: []
196
+ end
197
+
198
+ class InternalServerException
199
+ attr_accessor message: ::String
200
+ SENSITIVE: []
201
+ end
202
+
203
+ class ListDatabasesRequest
204
+ attr_accessor cluster_identifier: ::String
205
+ attr_accessor database: ::String
206
+ attr_accessor db_user: ::String
207
+ attr_accessor max_results: ::Integer
208
+ attr_accessor next_token: ::String
209
+ attr_accessor secret_arn: ::String
210
+ attr_accessor workgroup_name: ::String
211
+ SENSITIVE: []
212
+ end
213
+
214
+ class ListDatabasesResponse
215
+ attr_accessor databases: ::Array[::String]
216
+ attr_accessor next_token: ::String
217
+ SENSITIVE: []
218
+ end
219
+
220
+ class ListSchemasRequest
221
+ attr_accessor cluster_identifier: ::String
222
+ attr_accessor connected_database: ::String
223
+ attr_accessor database: ::String
224
+ attr_accessor db_user: ::String
225
+ attr_accessor max_results: ::Integer
226
+ attr_accessor next_token: ::String
227
+ attr_accessor schema_pattern: ::String
228
+ attr_accessor secret_arn: ::String
229
+ attr_accessor workgroup_name: ::String
230
+ SENSITIVE: []
231
+ end
232
+
233
+ class ListSchemasResponse
234
+ attr_accessor next_token: ::String
235
+ attr_accessor schemas: ::Array[::String]
236
+ SENSITIVE: []
237
+ end
238
+
239
+ class ListStatementsRequest
240
+ attr_accessor max_results: ::Integer
241
+ attr_accessor next_token: ::String
242
+ attr_accessor role_level: bool
243
+ attr_accessor statement_name: ::String
244
+ attr_accessor status: ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL")
245
+ SENSITIVE: []
246
+ end
247
+
248
+ class ListStatementsResponse
249
+ attr_accessor next_token: ::String
250
+ attr_accessor statements: ::Array[Types::StatementData]
251
+ SENSITIVE: []
252
+ end
253
+
254
+ class ListTablesRequest
255
+ attr_accessor cluster_identifier: ::String
256
+ attr_accessor connected_database: ::String
257
+ attr_accessor database: ::String
258
+ attr_accessor db_user: ::String
259
+ attr_accessor max_results: ::Integer
260
+ attr_accessor next_token: ::String
261
+ attr_accessor schema_pattern: ::String
262
+ attr_accessor secret_arn: ::String
263
+ attr_accessor table_pattern: ::String
264
+ attr_accessor workgroup_name: ::String
265
+ SENSITIVE: []
266
+ end
267
+
268
+ class ListTablesResponse
269
+ attr_accessor next_token: ::String
270
+ attr_accessor tables: ::Array[Types::TableMember]
271
+ SENSITIVE: []
272
+ end
273
+
274
+ class ResourceNotFoundException
275
+ attr_accessor message: ::String
276
+ attr_accessor resource_id: ::String
277
+ SENSITIVE: []
278
+ end
279
+
280
+ class SqlParameter
281
+ attr_accessor name: ::String
282
+ attr_accessor value: ::String
283
+ SENSITIVE: []
284
+ end
285
+
286
+ class StatementData
287
+ attr_accessor created_at: ::Time
288
+ attr_accessor id: ::String
289
+ attr_accessor is_batch_statement: bool
290
+ attr_accessor query_parameters: ::Array[Types::SqlParameter]
291
+ attr_accessor query_string: ::String
292
+ attr_accessor query_strings: ::Array[::String]
293
+ attr_accessor secret_arn: ::String
294
+ attr_accessor statement_name: ::String
295
+ attr_accessor status: ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL")
296
+ attr_accessor updated_at: ::Time
297
+ SENSITIVE: []
298
+ end
299
+
300
+ class SubStatementData
301
+ attr_accessor created_at: ::Time
302
+ attr_accessor duration: ::Integer
303
+ attr_accessor error: ::String
304
+ attr_accessor has_result_set: bool
305
+ attr_accessor id: ::String
306
+ attr_accessor query_string: ::String
307
+ attr_accessor redshift_query_id: ::Integer
308
+ attr_accessor result_rows: ::Integer
309
+ attr_accessor result_size: ::Integer
310
+ attr_accessor status: ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED")
311
+ attr_accessor updated_at: ::Time
312
+ SENSITIVE: []
313
+ end
314
+
315
+ class TableMember
316
+ attr_accessor name: ::String
317
+ attr_accessor schema: ::String
318
+ attr_accessor type: ::String
319
+ SENSITIVE: []
320
+ end
321
+
322
+ class ValidationException
323
+ attr_accessor message: ::String
324
+ SENSITIVE: []
325
+ end
326
+ end
327
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module RedshiftDataAPIService
10
+ module Waiters
11
+ end
12
+ end
13
+ end
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.34.0
4
+ version: 1.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-04-25 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.188.0
22
+ version: 3.193.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.188.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-redshiftdataapiservice/plugins/endpoints.rb
67
67
  - lib/aws-sdk-redshiftdataapiservice/resource.rb
68
68
  - lib/aws-sdk-redshiftdataapiservice/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-redshiftdataapiservice
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-redshiftdataapiservice/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - Redshift Data API Service
94
99
  test_files: []