aws-sdk-timestreamwrite 1.27.0 → 1.29.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-timestreamwrite/client.rb +70 -46
- data/lib/aws-sdk-timestreamwrite/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-timestreamwrite.rb +1 -1
- data/sig/client.rbs +451 -0
- data/sig/errors.rbs +44 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +497 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f01cb61dcffe7452fbe39cd484b6c37f6f67e0b32999078a6b62417c69e65a82
|
4
|
+
data.tar.gz: 13f52f8a571e3feac1824af1d95c7eea927d4a36ba6ff9120f87c1b0a134b1b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbf179225dc7603663d6cab2e5c378be8d7f7a62027c509af29558714daf674f7a1fceaac013823752121e4e231a798ff20c6d88c539f4caa881224e7953e52c
|
7
|
+
data.tar.gz: 5e7649d23a7b6f3c2f4f560c124799ffd8e39173b69dab26d5defb117c924d5854d25a6d200182cc39f750e2fe1ca51eade83cb5350888b2a883013da0a21bde
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.29.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.28.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.27.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.29.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::TimestreamWrite
|
|
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::TimestreamWrite
|
|
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
|
-
#
|
201
|
-
#
|
202
|
-
#
|
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::TimestreamWrite
|
|
347
356
|
# @option options [Aws::TimestreamWrite::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::TimestreamWrite::EndpointParameters`
|
349
358
|
#
|
350
|
-
# @option options [
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
# @option options [Float] :
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
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 [
|
377
|
-
#
|
410
|
+
# @option options [String] :ssl_ca_store
|
411
|
+
# Sets the X509::Store to verify peer certificate.
|
378
412
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# connection.
|
413
|
+
# @option options [Float] :ssl_timeout
|
414
|
+
# Sets the SSL timeout in seconds
|
382
415
|
#
|
383
|
-
# @option options [
|
384
|
-
#
|
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
|
@@ -1594,7 +1618,7 @@ module Aws::TimestreamWrite
|
|
1594
1618
|
params: params,
|
1595
1619
|
config: config)
|
1596
1620
|
context[:gem_name] = 'aws-sdk-timestreamwrite'
|
1597
|
-
context[:gem_version] = '1.
|
1621
|
+
context[:gem_version] = '1.29.0'
|
1598
1622
|
Seahorse::Client::Request.new(handlers, context)
|
1599
1623
|
end
|
1600
1624
|
|
@@ -14,6 +14,7 @@ module Aws::TimestreamWrite
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::TimestreamWrite::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 '\
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,451 @@
|
|
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 TimestreamWrite
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/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 _CreateBatchLoadTaskResponseSuccess
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateBatchLoadTaskResponse]
|
78
|
+
def task_id: () -> ::String
|
79
|
+
end
|
80
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#create_batch_load_task-instance_method
|
81
|
+
def create_batch_load_task: (
|
82
|
+
?client_token: ::String,
|
83
|
+
?data_model_configuration: {
|
84
|
+
data_model: {
|
85
|
+
time_column: ::String?,
|
86
|
+
time_unit: ("MILLISECONDS" | "SECONDS" | "MICROSECONDS" | "NANOSECONDS")?,
|
87
|
+
dimension_mappings: Array[
|
88
|
+
{
|
89
|
+
source_column: ::String?,
|
90
|
+
destination_column: ::String?
|
91
|
+
},
|
92
|
+
],
|
93
|
+
multi_measure_mappings: {
|
94
|
+
target_multi_measure_name: ::String?,
|
95
|
+
multi_measure_attribute_mappings: Array[
|
96
|
+
{
|
97
|
+
source_column: ::String,
|
98
|
+
target_multi_measure_attribute_name: ::String?,
|
99
|
+
measure_value_type: ("DOUBLE" | "BIGINT" | "BOOLEAN" | "VARCHAR" | "TIMESTAMP")?
|
100
|
+
},
|
101
|
+
]
|
102
|
+
}?,
|
103
|
+
mixed_measure_mappings: Array[
|
104
|
+
{
|
105
|
+
measure_name: ::String?,
|
106
|
+
source_column: ::String?,
|
107
|
+
target_measure_name: ::String?,
|
108
|
+
measure_value_type: ("DOUBLE" | "BIGINT" | "VARCHAR" | "BOOLEAN" | "TIMESTAMP" | "MULTI"),
|
109
|
+
multi_measure_attribute_mappings: Array[
|
110
|
+
{
|
111
|
+
source_column: ::String,
|
112
|
+
target_multi_measure_attribute_name: ::String?,
|
113
|
+
measure_value_type: ("DOUBLE" | "BIGINT" | "BOOLEAN" | "VARCHAR" | "TIMESTAMP")?
|
114
|
+
},
|
115
|
+
]?
|
116
|
+
},
|
117
|
+
]?,
|
118
|
+
measure_name_column: ::String?
|
119
|
+
}?,
|
120
|
+
data_model_s3_configuration: {
|
121
|
+
bucket_name: ::String?,
|
122
|
+
object_key: ::String?
|
123
|
+
}?
|
124
|
+
},
|
125
|
+
data_source_configuration: {
|
126
|
+
data_source_s3_configuration: {
|
127
|
+
bucket_name: ::String,
|
128
|
+
object_key_prefix: ::String?
|
129
|
+
},
|
130
|
+
csv_configuration: {
|
131
|
+
column_separator: ::String?,
|
132
|
+
escape_char: ::String?,
|
133
|
+
quote_char: ::String?,
|
134
|
+
null_value: ::String?,
|
135
|
+
trim_white_space: bool?
|
136
|
+
}?,
|
137
|
+
data_format: ("CSV")
|
138
|
+
},
|
139
|
+
report_configuration: {
|
140
|
+
report_s3_configuration: {
|
141
|
+
bucket_name: ::String,
|
142
|
+
object_key_prefix: ::String?,
|
143
|
+
encryption_option: ("SSE_S3" | "SSE_KMS")?,
|
144
|
+
kms_key_id: ::String?
|
145
|
+
}?
|
146
|
+
},
|
147
|
+
target_database_name: ::String,
|
148
|
+
target_table_name: ::String,
|
149
|
+
?record_version: ::Integer
|
150
|
+
) -> _CreateBatchLoadTaskResponseSuccess
|
151
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBatchLoadTaskResponseSuccess
|
152
|
+
|
153
|
+
interface _CreateDatabaseResponseSuccess
|
154
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDatabaseResponse]
|
155
|
+
def database: () -> Types::Database
|
156
|
+
end
|
157
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#create_database-instance_method
|
158
|
+
def create_database: (
|
159
|
+
database_name: ::String,
|
160
|
+
?kms_key_id: ::String,
|
161
|
+
?tags: Array[
|
162
|
+
{
|
163
|
+
key: ::String,
|
164
|
+
value: ::String
|
165
|
+
},
|
166
|
+
]
|
167
|
+
) -> _CreateDatabaseResponseSuccess
|
168
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDatabaseResponseSuccess
|
169
|
+
|
170
|
+
interface _CreateTableResponseSuccess
|
171
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTableResponse]
|
172
|
+
def table: () -> Types::Table
|
173
|
+
end
|
174
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#create_table-instance_method
|
175
|
+
def create_table: (
|
176
|
+
database_name: ::String,
|
177
|
+
table_name: ::String,
|
178
|
+
?retention_properties: {
|
179
|
+
memory_store_retention_period_in_hours: ::Integer,
|
180
|
+
magnetic_store_retention_period_in_days: ::Integer
|
181
|
+
},
|
182
|
+
?tags: Array[
|
183
|
+
{
|
184
|
+
key: ::String,
|
185
|
+
value: ::String
|
186
|
+
},
|
187
|
+
],
|
188
|
+
?magnetic_store_write_properties: {
|
189
|
+
enable_magnetic_store_writes: bool,
|
190
|
+
magnetic_store_rejected_data_location: {
|
191
|
+
s3_configuration: {
|
192
|
+
bucket_name: ::String?,
|
193
|
+
object_key_prefix: ::String?,
|
194
|
+
encryption_option: ("SSE_S3" | "SSE_KMS")?,
|
195
|
+
kms_key_id: ::String?
|
196
|
+
}?
|
197
|
+
}?
|
198
|
+
},
|
199
|
+
?schema: {
|
200
|
+
composite_partition_key: Array[
|
201
|
+
{
|
202
|
+
type: ("DIMENSION" | "MEASURE"),
|
203
|
+
name: ::String?,
|
204
|
+
enforcement_in_record: ("REQUIRED" | "OPTIONAL")?
|
205
|
+
},
|
206
|
+
]?
|
207
|
+
}
|
208
|
+
) -> _CreateTableResponseSuccess
|
209
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableResponseSuccess
|
210
|
+
|
211
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#delete_database-instance_method
|
212
|
+
def delete_database: (
|
213
|
+
database_name: ::String
|
214
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
215
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
216
|
+
|
217
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#delete_table-instance_method
|
218
|
+
def delete_table: (
|
219
|
+
database_name: ::String,
|
220
|
+
table_name: ::String
|
221
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
222
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
223
|
+
|
224
|
+
interface _DescribeBatchLoadTaskResponseSuccess
|
225
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBatchLoadTaskResponse]
|
226
|
+
def batch_load_task_description: () -> Types::BatchLoadTaskDescription
|
227
|
+
end
|
228
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#describe_batch_load_task-instance_method
|
229
|
+
def describe_batch_load_task: (
|
230
|
+
task_id: ::String
|
231
|
+
) -> _DescribeBatchLoadTaskResponseSuccess
|
232
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBatchLoadTaskResponseSuccess
|
233
|
+
|
234
|
+
interface _DescribeDatabaseResponseSuccess
|
235
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDatabaseResponse]
|
236
|
+
def database: () -> Types::Database
|
237
|
+
end
|
238
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#describe_database-instance_method
|
239
|
+
def describe_database: (
|
240
|
+
database_name: ::String
|
241
|
+
) -> _DescribeDatabaseResponseSuccess
|
242
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDatabaseResponseSuccess
|
243
|
+
|
244
|
+
interface _DescribeEndpointsResponseSuccess
|
245
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEndpointsResponse]
|
246
|
+
def endpoints: () -> ::Array[Types::Endpoint]
|
247
|
+
end
|
248
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#describe_endpoints-instance_method
|
249
|
+
def describe_endpoints: (
|
250
|
+
) -> _DescribeEndpointsResponseSuccess
|
251
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEndpointsResponseSuccess
|
252
|
+
|
253
|
+
interface _DescribeTableResponseSuccess
|
254
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTableResponse]
|
255
|
+
def table: () -> Types::Table
|
256
|
+
end
|
257
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#describe_table-instance_method
|
258
|
+
def describe_table: (
|
259
|
+
database_name: ::String,
|
260
|
+
table_name: ::String
|
261
|
+
) -> _DescribeTableResponseSuccess
|
262
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTableResponseSuccess
|
263
|
+
|
264
|
+
interface _ListBatchLoadTasksResponseSuccess
|
265
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBatchLoadTasksResponse]
|
266
|
+
def next_token: () -> ::String
|
267
|
+
def batch_load_tasks: () -> ::Array[Types::BatchLoadTask]
|
268
|
+
end
|
269
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#list_batch_load_tasks-instance_method
|
270
|
+
def list_batch_load_tasks: (
|
271
|
+
?next_token: ::String,
|
272
|
+
?max_results: ::Integer,
|
273
|
+
?task_status: ("CREATED" | "IN_PROGRESS" | "FAILED" | "SUCCEEDED" | "PROGRESS_STOPPED" | "PENDING_RESUME")
|
274
|
+
) -> _ListBatchLoadTasksResponseSuccess
|
275
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBatchLoadTasksResponseSuccess
|
276
|
+
|
277
|
+
interface _ListDatabasesResponseSuccess
|
278
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDatabasesResponse]
|
279
|
+
def databases: () -> ::Array[Types::Database]
|
280
|
+
def next_token: () -> ::String
|
281
|
+
end
|
282
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#list_databases-instance_method
|
283
|
+
def list_databases: (
|
284
|
+
?next_token: ::String,
|
285
|
+
?max_results: ::Integer
|
286
|
+
) -> _ListDatabasesResponseSuccess
|
287
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatabasesResponseSuccess
|
288
|
+
|
289
|
+
interface _ListTablesResponseSuccess
|
290
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTablesResponse]
|
291
|
+
def tables: () -> ::Array[Types::Table]
|
292
|
+
def next_token: () -> ::String
|
293
|
+
end
|
294
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#list_tables-instance_method
|
295
|
+
def list_tables: (
|
296
|
+
?database_name: ::String,
|
297
|
+
?next_token: ::String,
|
298
|
+
?max_results: ::Integer
|
299
|
+
) -> _ListTablesResponseSuccess
|
300
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTablesResponseSuccess
|
301
|
+
|
302
|
+
interface _ListTagsForResourceResponseSuccess
|
303
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
304
|
+
def tags: () -> ::Array[Types::Tag]
|
305
|
+
end
|
306
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#list_tags_for_resource-instance_method
|
307
|
+
def list_tags_for_resource: (
|
308
|
+
resource_arn: ::String
|
309
|
+
) -> _ListTagsForResourceResponseSuccess
|
310
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
311
|
+
|
312
|
+
interface _ResumeBatchLoadTaskResponseSuccess
|
313
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ResumeBatchLoadTaskResponse]
|
314
|
+
end
|
315
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#resume_batch_load_task-instance_method
|
316
|
+
def resume_batch_load_task: (
|
317
|
+
task_id: ::String
|
318
|
+
) -> _ResumeBatchLoadTaskResponseSuccess
|
319
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResumeBatchLoadTaskResponseSuccess
|
320
|
+
|
321
|
+
interface _TagResourceResponseSuccess
|
322
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
323
|
+
end
|
324
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#tag_resource-instance_method
|
325
|
+
def tag_resource: (
|
326
|
+
resource_arn: ::String,
|
327
|
+
tags: Array[
|
328
|
+
{
|
329
|
+
key: ::String,
|
330
|
+
value: ::String
|
331
|
+
},
|
332
|
+
]
|
333
|
+
) -> _TagResourceResponseSuccess
|
334
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
335
|
+
|
336
|
+
interface _UntagResourceResponseSuccess
|
337
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
338
|
+
end
|
339
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#untag_resource-instance_method
|
340
|
+
def untag_resource: (
|
341
|
+
resource_arn: ::String,
|
342
|
+
tag_keys: Array[::String]
|
343
|
+
) -> _UntagResourceResponseSuccess
|
344
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
345
|
+
|
346
|
+
interface _UpdateDatabaseResponseSuccess
|
347
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDatabaseResponse]
|
348
|
+
def database: () -> Types::Database
|
349
|
+
end
|
350
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#update_database-instance_method
|
351
|
+
def update_database: (
|
352
|
+
database_name: ::String,
|
353
|
+
kms_key_id: ::String
|
354
|
+
) -> _UpdateDatabaseResponseSuccess
|
355
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDatabaseResponseSuccess
|
356
|
+
|
357
|
+
interface _UpdateTableResponseSuccess
|
358
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTableResponse]
|
359
|
+
def table: () -> Types::Table
|
360
|
+
end
|
361
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#update_table-instance_method
|
362
|
+
def update_table: (
|
363
|
+
database_name: ::String,
|
364
|
+
table_name: ::String,
|
365
|
+
?retention_properties: {
|
366
|
+
memory_store_retention_period_in_hours: ::Integer,
|
367
|
+
magnetic_store_retention_period_in_days: ::Integer
|
368
|
+
},
|
369
|
+
?magnetic_store_write_properties: {
|
370
|
+
enable_magnetic_store_writes: bool,
|
371
|
+
magnetic_store_rejected_data_location: {
|
372
|
+
s3_configuration: {
|
373
|
+
bucket_name: ::String?,
|
374
|
+
object_key_prefix: ::String?,
|
375
|
+
encryption_option: ("SSE_S3" | "SSE_KMS")?,
|
376
|
+
kms_key_id: ::String?
|
377
|
+
}?
|
378
|
+
}?
|
379
|
+
},
|
380
|
+
?schema: {
|
381
|
+
composite_partition_key: Array[
|
382
|
+
{
|
383
|
+
type: ("DIMENSION" | "MEASURE"),
|
384
|
+
name: ::String?,
|
385
|
+
enforcement_in_record: ("REQUIRED" | "OPTIONAL")?
|
386
|
+
},
|
387
|
+
]?
|
388
|
+
}
|
389
|
+
) -> _UpdateTableResponseSuccess
|
390
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTableResponseSuccess
|
391
|
+
|
392
|
+
interface _WriteRecordsResponseSuccess
|
393
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::WriteRecordsResponse]
|
394
|
+
def records_ingested: () -> Types::RecordsIngested
|
395
|
+
end
|
396
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#write_records-instance_method
|
397
|
+
def write_records: (
|
398
|
+
database_name: ::String,
|
399
|
+
table_name: ::String,
|
400
|
+
?common_attributes: {
|
401
|
+
dimensions: Array[
|
402
|
+
{
|
403
|
+
name: ::String,
|
404
|
+
value: ::String,
|
405
|
+
dimension_value_type: ("VARCHAR")?
|
406
|
+
},
|
407
|
+
]?,
|
408
|
+
measure_name: ::String?,
|
409
|
+
measure_value: ::String?,
|
410
|
+
measure_value_type: ("DOUBLE" | "BIGINT" | "VARCHAR" | "BOOLEAN" | "TIMESTAMP" | "MULTI")?,
|
411
|
+
time: ::String?,
|
412
|
+
time_unit: ("MILLISECONDS" | "SECONDS" | "MICROSECONDS" | "NANOSECONDS")?,
|
413
|
+
version: ::Integer?,
|
414
|
+
measure_values: Array[
|
415
|
+
{
|
416
|
+
name: ::String,
|
417
|
+
value: ::String,
|
418
|
+
type: ("DOUBLE" | "BIGINT" | "VARCHAR" | "BOOLEAN" | "TIMESTAMP" | "MULTI")
|
419
|
+
},
|
420
|
+
]?
|
421
|
+
},
|
422
|
+
records: Array[
|
423
|
+
{
|
424
|
+
dimensions: Array[
|
425
|
+
{
|
426
|
+
name: ::String,
|
427
|
+
value: ::String,
|
428
|
+
dimension_value_type: ("VARCHAR")?
|
429
|
+
},
|
430
|
+
]?,
|
431
|
+
measure_name: ::String?,
|
432
|
+
measure_value: ::String?,
|
433
|
+
measure_value_type: ("DOUBLE" | "BIGINT" | "VARCHAR" | "BOOLEAN" | "TIMESTAMP" | "MULTI")?,
|
434
|
+
time: ::String?,
|
435
|
+
time_unit: ("MILLISECONDS" | "SECONDS" | "MICROSECONDS" | "NANOSECONDS")?,
|
436
|
+
version: ::Integer?,
|
437
|
+
measure_values: Array[
|
438
|
+
{
|
439
|
+
name: ::String,
|
440
|
+
value: ::String,
|
441
|
+
type: ("DOUBLE" | "BIGINT" | "VARCHAR" | "BOOLEAN" | "TIMESTAMP" | "MULTI")
|
442
|
+
},
|
443
|
+
]?
|
444
|
+
},
|
445
|
+
]
|
446
|
+
) -> _WriteRecordsResponseSuccess
|
447
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _WriteRecordsResponseSuccess
|
448
|
+
end
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|