aws-sdk-timestreamquery 1.29.0 → 1.31.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-timestreamquery/client.rb +152 -46
- data/lib/aws-sdk-timestreamquery/client_api.rb +53 -0
- data/lib/aws-sdk-timestreamquery/endpoints.rb +28 -0
- data/lib/aws-sdk-timestreamquery/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-timestreamquery/types.rb +81 -1
- data/lib/aws-sdk-timestreamquery.rb +1 -1
- data/sig/client.rbs +22 -0
- data/sig/types.rbs +22 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59deacfcd5042b6351a1e370a11d076972fe1bbba5295d262df703902ba07a91
|
4
|
+
data.tar.gz: 1b47a40267077ecba6a62cfb20213549209c970fbdaf54859a5bcf3e9b1ec484
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a969f5a2ce07d7c6d9395443db6c2769eadff4cfe96626255f0be3f00ff0a5b880ee4fff1074ca4367a68cb00776a6930a9b7e67554caf32ca3ba983e7142d5
|
7
|
+
data.tar.gz: 8c652af8620ca3d565e60eb9360246cfaec15c3c5f78dd70f6b42fad3f9a36590d394adddc3e599b0420e6364880a229535f06a508aa893d10d2c55f5be2a25e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.31.0 (2024-04-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This change allows users to update and describe account settings associated with their accounts.
|
8
|
+
|
9
|
+
1.30.0 (2024-04-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.29.0 (2024-03-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.31.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::TimestreamQuery
|
|
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::TimestreamQuery
|
|
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::TimestreamQuery
|
|
347
356
|
# @option options [Aws::TimestreamQuery::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::TimestreamQuery::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
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
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.
|
378
409
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# connection.
|
410
|
+
# @option options [String] :ssl_ca_store
|
411
|
+
# Sets the X509::Store to verify peer certificate.
|
382
412
|
#
|
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.
|
413
|
+
# @option options [Float] :ssl_timeout
|
414
|
+
# Sets the SSL timeout in seconds
|
388
415
|
#
|
389
|
-
# @option options [
|
390
|
-
#
|
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
|
@@ -614,6 +638,32 @@ module Aws::TimestreamQuery
|
|
614
638
|
req.send_request(options)
|
615
639
|
end
|
616
640
|
|
641
|
+
# Describes the settings for your account that include the query pricing
|
642
|
+
# model and the configured maximum TCUs the service can use for your
|
643
|
+
# query workload.
|
644
|
+
#
|
645
|
+
# You're charged only for the duration of compute units used for your
|
646
|
+
# workloads.
|
647
|
+
#
|
648
|
+
# @return [Types::DescribeAccountSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
649
|
+
#
|
650
|
+
# * {Types::DescribeAccountSettingsResponse#max_query_tcu #max_query_tcu} => Integer
|
651
|
+
# * {Types::DescribeAccountSettingsResponse#query_pricing_model #query_pricing_model} => String
|
652
|
+
#
|
653
|
+
# @example Response structure
|
654
|
+
#
|
655
|
+
# resp.max_query_tcu #=> Integer
|
656
|
+
# resp.query_pricing_model #=> String, one of "BYTES_SCANNED", "COMPUTE_UNITS"
|
657
|
+
#
|
658
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/DescribeAccountSettings AWS API Documentation
|
659
|
+
#
|
660
|
+
# @overload describe_account_settings(params = {})
|
661
|
+
# @param [Hash] params ({})
|
662
|
+
def describe_account_settings(params = {}, options = {})
|
663
|
+
req = build_request(:describe_account_settings, params)
|
664
|
+
req.send_request(options)
|
665
|
+
end
|
666
|
+
|
617
667
|
# DescribeEndpoints returns a list of available endpoints to make
|
618
668
|
# Timestream API calls against. This API is available through both Write
|
619
669
|
# and Query.
|
@@ -716,6 +766,7 @@ module Aws::TimestreamQuery
|
|
716
766
|
# resp.scheduled_query.last_run_summary.execution_stats.execution_time_in_millis #=> Integer
|
717
767
|
# resp.scheduled_query.last_run_summary.execution_stats.data_writes #=> Integer
|
718
768
|
# resp.scheduled_query.last_run_summary.execution_stats.bytes_metered #=> Integer
|
769
|
+
# resp.scheduled_query.last_run_summary.execution_stats.cumulative_bytes_scanned #=> Integer
|
719
770
|
# resp.scheduled_query.last_run_summary.execution_stats.records_ingested #=> Integer
|
720
771
|
# resp.scheduled_query.last_run_summary.execution_stats.query_result_rows #=> Integer
|
721
772
|
# resp.scheduled_query.last_run_summary.error_report_location.s3_report_location.bucket_name #=> String
|
@@ -728,6 +779,7 @@ module Aws::TimestreamQuery
|
|
728
779
|
# resp.scheduled_query.recently_failed_runs[0].execution_stats.execution_time_in_millis #=> Integer
|
729
780
|
# resp.scheduled_query.recently_failed_runs[0].execution_stats.data_writes #=> Integer
|
730
781
|
# resp.scheduled_query.recently_failed_runs[0].execution_stats.bytes_metered #=> Integer
|
782
|
+
# resp.scheduled_query.recently_failed_runs[0].execution_stats.cumulative_bytes_scanned #=> Integer
|
731
783
|
# resp.scheduled_query.recently_failed_runs[0].execution_stats.records_ingested #=> Integer
|
732
784
|
# resp.scheduled_query.recently_failed_runs[0].execution_stats.query_result_rows #=> Integer
|
733
785
|
# resp.scheduled_query.recently_failed_runs[0].error_report_location.s3_report_location.bucket_name #=> String
|
@@ -1158,6 +1210,60 @@ module Aws::TimestreamQuery
|
|
1158
1210
|
req.send_request(options)
|
1159
1211
|
end
|
1160
1212
|
|
1213
|
+
# Transitions your account to use TCUs for query pricing and modifies
|
1214
|
+
# the maximum query compute units that you've configured. If you reduce
|
1215
|
+
# the value of `MaxQueryTCU` to a desired configuration, the new value
|
1216
|
+
# can take up to 24 hours to be effective.
|
1217
|
+
#
|
1218
|
+
# <note markdown="1"> After you've transitioned your account to use TCUs for query pricing,
|
1219
|
+
# you can't transition to using bytes scanned for query pricing.
|
1220
|
+
#
|
1221
|
+
# </note>
|
1222
|
+
#
|
1223
|
+
# @option params [Integer] :max_query_tcu
|
1224
|
+
# The maximum number of compute units the service will use at any point
|
1225
|
+
# in time to serve your queries. To run queries, you must set a minimum
|
1226
|
+
# capacity of 4 TCU. You can set the maximum number of TCU in multiples
|
1227
|
+
# of 4, for example, 4, 8, 16, 32, and so on.
|
1228
|
+
#
|
1229
|
+
# The maximum value supported for `MaxQueryTCU` is 1000. To request an
|
1230
|
+
# increase to this soft limit, contact Amazon Web Services Support. For
|
1231
|
+
# information about the default quota for maxQueryTCU, see [Default
|
1232
|
+
# quotas][1].
|
1233
|
+
#
|
1234
|
+
#
|
1235
|
+
#
|
1236
|
+
# [1]: https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.default
|
1237
|
+
#
|
1238
|
+
# @option params [String] :query_pricing_model
|
1239
|
+
# The pricing model for queries in an account.
|
1240
|
+
#
|
1241
|
+
# @return [Types::UpdateAccountSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1242
|
+
#
|
1243
|
+
# * {Types::UpdateAccountSettingsResponse#max_query_tcu #max_query_tcu} => Integer
|
1244
|
+
# * {Types::UpdateAccountSettingsResponse#query_pricing_model #query_pricing_model} => String
|
1245
|
+
#
|
1246
|
+
# @example Request syntax with placeholder values
|
1247
|
+
#
|
1248
|
+
# resp = client.update_account_settings({
|
1249
|
+
# max_query_tcu: 1,
|
1250
|
+
# query_pricing_model: "BYTES_SCANNED", # accepts BYTES_SCANNED, COMPUTE_UNITS
|
1251
|
+
# })
|
1252
|
+
#
|
1253
|
+
# @example Response structure
|
1254
|
+
#
|
1255
|
+
# resp.max_query_tcu #=> Integer
|
1256
|
+
# resp.query_pricing_model #=> String, one of "BYTES_SCANNED", "COMPUTE_UNITS"
|
1257
|
+
#
|
1258
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/UpdateAccountSettings AWS API Documentation
|
1259
|
+
#
|
1260
|
+
# @overload update_account_settings(params = {})
|
1261
|
+
# @param [Hash] params ({})
|
1262
|
+
def update_account_settings(params = {}, options = {})
|
1263
|
+
req = build_request(:update_account_settings, params)
|
1264
|
+
req.send_request(options)
|
1265
|
+
end
|
1266
|
+
|
1161
1267
|
# Update a scheduled query.
|
1162
1268
|
#
|
1163
1269
|
# @option params [required, String] :scheduled_query_arn
|
@@ -1197,7 +1303,7 @@ module Aws::TimestreamQuery
|
|
1197
1303
|
params: params,
|
1198
1304
|
config: config)
|
1199
1305
|
context[:gem_name] = 'aws-sdk-timestreamquery'
|
1200
|
-
context[:gem_version] = '1.
|
1306
|
+
context[:gem_version] = '1.31.0'
|
1201
1307
|
Seahorse::Client::Request.new(handlers, context)
|
1202
1308
|
end
|
1203
1309
|
|
@@ -27,6 +27,8 @@ module Aws::TimestreamQuery
|
|
27
27
|
Datum = Shapes::StructureShape.new(name: 'Datum')
|
28
28
|
DatumList = Shapes::ListShape.new(name: 'DatumList')
|
29
29
|
DeleteScheduledQueryRequest = Shapes::StructureShape.new(name: 'DeleteScheduledQueryRequest')
|
30
|
+
DescribeAccountSettingsRequest = Shapes::StructureShape.new(name: 'DescribeAccountSettingsRequest')
|
31
|
+
DescribeAccountSettingsResponse = Shapes::StructureShape.new(name: 'DescribeAccountSettingsResponse')
|
30
32
|
DescribeEndpointsRequest = Shapes::StructureShape.new(name: 'DescribeEndpointsRequest')
|
31
33
|
DescribeEndpointsResponse = Shapes::StructureShape.new(name: 'DescribeEndpointsResponse')
|
32
34
|
DescribeScheduledQueryRequest = Shapes::StructureShape.new(name: 'DescribeScheduledQueryRequest')
|
@@ -49,6 +51,7 @@ module Aws::TimestreamQuery
|
|
49
51
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
50
52
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
51
53
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
54
|
+
MaxQueryCapacity = Shapes::IntegerShape.new(name: 'MaxQueryCapacity')
|
52
55
|
MaxQueryResults = Shapes::IntegerShape.new(name: 'MaxQueryResults')
|
53
56
|
MaxScheduledQueriesResults = Shapes::IntegerShape.new(name: 'MaxScheduledQueriesResults')
|
54
57
|
MaxTagsForResourceResult = Shapes::IntegerShape.new(name: 'MaxTagsForResourceResult')
|
@@ -69,6 +72,7 @@ module Aws::TimestreamQuery
|
|
69
72
|
PrepareQueryResponse = Shapes::StructureShape.new(name: 'PrepareQueryResponse')
|
70
73
|
QueryExecutionException = Shapes::StructureShape.new(name: 'QueryExecutionException')
|
71
74
|
QueryId = Shapes::StringShape.new(name: 'QueryId')
|
75
|
+
QueryPricingModel = Shapes::StringShape.new(name: 'QueryPricingModel')
|
72
76
|
QueryRequest = Shapes::StructureShape.new(name: 'QueryRequest')
|
73
77
|
QueryResponse = Shapes::StructureShape.new(name: 'QueryResponse')
|
74
78
|
QueryStatus = Shapes::StructureShape.new(name: 'QueryStatus')
|
@@ -123,6 +127,8 @@ module Aws::TimestreamQuery
|
|
123
127
|
Type = Shapes::StructureShape.new(name: 'Type')
|
124
128
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
125
129
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
130
|
+
UpdateAccountSettingsRequest = Shapes::StructureShape.new(name: 'UpdateAccountSettingsRequest')
|
131
|
+
UpdateAccountSettingsResponse = Shapes::StructureShape.new(name: 'UpdateAccountSettingsResponse')
|
126
132
|
UpdateScheduledQueryRequest = Shapes::StructureShape.new(name: 'UpdateScheduledQueryRequest')
|
127
133
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
128
134
|
|
@@ -171,6 +177,12 @@ module Aws::TimestreamQuery
|
|
171
177
|
DeleteScheduledQueryRequest.add_member(:scheduled_query_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ScheduledQueryArn"))
|
172
178
|
DeleteScheduledQueryRequest.struct_class = Types::DeleteScheduledQueryRequest
|
173
179
|
|
180
|
+
DescribeAccountSettingsRequest.struct_class = Types::DescribeAccountSettingsRequest
|
181
|
+
|
182
|
+
DescribeAccountSettingsResponse.add_member(:max_query_tcu, Shapes::ShapeRef.new(shape: MaxQueryCapacity, location_name: "MaxQueryTCU"))
|
183
|
+
DescribeAccountSettingsResponse.add_member(:query_pricing_model, Shapes::ShapeRef.new(shape: QueryPricingModel, location_name: "QueryPricingModel"))
|
184
|
+
DescribeAccountSettingsResponse.struct_class = Types::DescribeAccountSettingsResponse
|
185
|
+
|
174
186
|
DescribeEndpointsRequest.struct_class = Types::DescribeEndpointsRequest
|
175
187
|
|
176
188
|
DescribeEndpointsResponse.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, required: true, location_name: "Endpoints"))
|
@@ -208,6 +220,7 @@ module Aws::TimestreamQuery
|
|
208
220
|
ExecutionStats.add_member(:execution_time_in_millis, Shapes::ShapeRef.new(shape: Long, location_name: "ExecutionTimeInMillis"))
|
209
221
|
ExecutionStats.add_member(:data_writes, Shapes::ShapeRef.new(shape: Long, location_name: "DataWrites"))
|
210
222
|
ExecutionStats.add_member(:bytes_metered, Shapes::ShapeRef.new(shape: Long, location_name: "BytesMetered"))
|
223
|
+
ExecutionStats.add_member(:cumulative_bytes_scanned, Shapes::ShapeRef.new(shape: Long, location_name: "CumulativeBytesScanned"))
|
211
224
|
ExecutionStats.add_member(:records_ingested, Shapes::ShapeRef.new(shape: Long, location_name: "RecordsIngested"))
|
212
225
|
ExecutionStats.add_member(:query_result_rows, Shapes::ShapeRef.new(shape: Long, location_name: "QueryResultRows"))
|
213
226
|
ExecutionStats.struct_class = Types::ExecutionStats
|
@@ -424,6 +437,14 @@ module Aws::TimestreamQuery
|
|
424
437
|
|
425
438
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
426
439
|
|
440
|
+
UpdateAccountSettingsRequest.add_member(:max_query_tcu, Shapes::ShapeRef.new(shape: MaxQueryCapacity, location_name: "MaxQueryTCU"))
|
441
|
+
UpdateAccountSettingsRequest.add_member(:query_pricing_model, Shapes::ShapeRef.new(shape: QueryPricingModel, location_name: "QueryPricingModel"))
|
442
|
+
UpdateAccountSettingsRequest.struct_class = Types::UpdateAccountSettingsRequest
|
443
|
+
|
444
|
+
UpdateAccountSettingsResponse.add_member(:max_query_tcu, Shapes::ShapeRef.new(shape: MaxQueryCapacity, location_name: "MaxQueryTCU"))
|
445
|
+
UpdateAccountSettingsResponse.add_member(:query_pricing_model, Shapes::ShapeRef.new(shape: QueryPricingModel, location_name: "QueryPricingModel"))
|
446
|
+
UpdateAccountSettingsResponse.struct_class = Types::UpdateAccountSettingsResponse
|
447
|
+
|
427
448
|
UpdateScheduledQueryRequest.add_member(:scheduled_query_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ScheduledQueryArn"))
|
428
449
|
UpdateScheduledQueryRequest.add_member(:state, Shapes::ShapeRef.new(shape: ScheduledQueryState, required: true, location_name: "State"))
|
429
450
|
UpdateScheduledQueryRequest.struct_class = Types::UpdateScheduledQueryRequest
|
@@ -442,6 +463,7 @@ module Aws::TimestreamQuery
|
|
442
463
|
"endpointPrefix" => "query.timestream",
|
443
464
|
"jsonVersion" => "1.0",
|
444
465
|
"protocol" => "json",
|
466
|
+
"protocols" => ["json"],
|
445
467
|
"serviceAbbreviation" => "Timestream Query",
|
446
468
|
"serviceFullName" => "Amazon Timestream Query",
|
447
469
|
"serviceId" => "Timestream Query",
|
@@ -504,6 +526,21 @@ module Aws::TimestreamQuery
|
|
504
526
|
o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
|
505
527
|
end)
|
506
528
|
|
529
|
+
api.add_operation(:describe_account_settings, Seahorse::Model::Operation.new.tap do |o|
|
530
|
+
o.name = "DescribeAccountSettings"
|
531
|
+
o.http_method = "POST"
|
532
|
+
o.http_request_uri = "/"
|
533
|
+
o.endpoint_discovery = {
|
534
|
+
"required" => true,
|
535
|
+
}
|
536
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAccountSettingsRequest)
|
537
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAccountSettingsResponse)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
541
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
|
542
|
+
end)
|
543
|
+
|
507
544
|
api.add_operation(:describe_endpoints, Seahorse::Model::Operation.new.tap do |o|
|
508
545
|
o.name = "DescribeEndpoints"
|
509
546
|
o.http_method = "POST"
|
@@ -664,6 +701,22 @@ module Aws::TimestreamQuery
|
|
664
701
|
o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
|
665
702
|
end)
|
666
703
|
|
704
|
+
api.add_operation(:update_account_settings, Seahorse::Model::Operation.new.tap do |o|
|
705
|
+
o.name = "UpdateAccountSettings"
|
706
|
+
o.http_method = "POST"
|
707
|
+
o.http_request_uri = "/"
|
708
|
+
o.endpoint_discovery = {
|
709
|
+
"required" => true,
|
710
|
+
}
|
711
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAccountSettingsRequest)
|
712
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAccountSettingsResponse)
|
713
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
714
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
715
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
716
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
717
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
|
718
|
+
end)
|
719
|
+
|
667
720
|
api.add_operation(:update_scheduled_query, Seahorse::Model::Operation.new.tap do |o|
|
668
721
|
o.name = "UpdateScheduledQuery"
|
669
722
|
o.http_method = "POST"
|
@@ -54,6 +54,20 @@ module Aws::TimestreamQuery
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
+
class DescribeAccountSettings
|
58
|
+
def self.build(context)
|
59
|
+
unless context.config.regional_endpoint
|
60
|
+
endpoint = context.config.endpoint.to_s
|
61
|
+
end
|
62
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
63
|
+
region: context.config.region,
|
64
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
65
|
+
use_fips: context.config.use_fips_endpoint,
|
66
|
+
endpoint: endpoint,
|
67
|
+
)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
57
71
|
class DescribeEndpoints
|
58
72
|
def self.build(context)
|
59
73
|
unless context.config.regional_endpoint
|
@@ -180,6 +194,20 @@ module Aws::TimestreamQuery
|
|
180
194
|
end
|
181
195
|
end
|
182
196
|
|
197
|
+
class UpdateAccountSettings
|
198
|
+
def self.build(context)
|
199
|
+
unless context.config.regional_endpoint
|
200
|
+
endpoint = context.config.endpoint.to_s
|
201
|
+
end
|
202
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
203
|
+
region: context.config.region,
|
204
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
205
|
+
use_fips: context.config.use_fips_endpoint,
|
206
|
+
endpoint: endpoint,
|
207
|
+
)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
183
211
|
class UpdateScheduledQuery
|
184
212
|
def self.build(context)
|
185
213
|
unless context.config.regional_endpoint
|
@@ -64,6 +64,8 @@ module Aws::TimestreamQuery
|
|
64
64
|
Aws::TimestreamQuery::Endpoints::CreateScheduledQuery.build(context)
|
65
65
|
when :delete_scheduled_query
|
66
66
|
Aws::TimestreamQuery::Endpoints::DeleteScheduledQuery.build(context)
|
67
|
+
when :describe_account_settings
|
68
|
+
Aws::TimestreamQuery::Endpoints::DescribeAccountSettings.build(context)
|
67
69
|
when :describe_endpoints
|
68
70
|
Aws::TimestreamQuery::Endpoints::DescribeEndpoints.build(context)
|
69
71
|
when :describe_scheduled_query
|
@@ -82,6 +84,8 @@ module Aws::TimestreamQuery
|
|
82
84
|
Aws::TimestreamQuery::Endpoints::TagResource.build(context)
|
83
85
|
when :untag_resource
|
84
86
|
Aws::TimestreamQuery::Endpoints::UntagResource.build(context)
|
87
|
+
when :update_account_settings
|
88
|
+
Aws::TimestreamQuery::Endpoints::UpdateAccountSettings.build(context)
|
85
89
|
when :update_scheduled_query
|
86
90
|
Aws::TimestreamQuery::Endpoints::UpdateScheduledQuery.build(context)
|
87
91
|
end
|
@@ -236,6 +236,34 @@ module Aws::TimestreamQuery
|
|
236
236
|
include Aws::Structure
|
237
237
|
end
|
238
238
|
|
239
|
+
# @api private
|
240
|
+
#
|
241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/DescribeAccountSettingsRequest AWS API Documentation
|
242
|
+
#
|
243
|
+
class DescribeAccountSettingsRequest < Aws::EmptyStructure; end
|
244
|
+
|
245
|
+
# @!attribute [rw] max_query_tcu
|
246
|
+
# The maximum number of [Timestream compute units][1] (TCUs) the
|
247
|
+
# service will use at any point in time to serve your queries.
|
248
|
+
#
|
249
|
+
#
|
250
|
+
#
|
251
|
+
# [1]: https://docs.aws.amazon.com/timestream/latest/developerguide/tcu.html
|
252
|
+
# @return [Integer]
|
253
|
+
#
|
254
|
+
# @!attribute [rw] query_pricing_model
|
255
|
+
# The pricing model for queries in your account.
|
256
|
+
# @return [String]
|
257
|
+
#
|
258
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/DescribeAccountSettingsResponse AWS API Documentation
|
259
|
+
#
|
260
|
+
class DescribeAccountSettingsResponse < Struct.new(
|
261
|
+
:max_query_tcu,
|
262
|
+
:query_pricing_model)
|
263
|
+
SENSITIVE = []
|
264
|
+
include Aws::Structure
|
265
|
+
end
|
266
|
+
|
239
267
|
# @api private
|
240
268
|
#
|
241
269
|
# @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/DescribeEndpointsRequest AWS API Documentation
|
@@ -390,6 +418,10 @@ module Aws::TimestreamQuery
|
|
390
418
|
# Bytes metered for a single scheduled query run.
|
391
419
|
# @return [Integer]
|
392
420
|
#
|
421
|
+
# @!attribute [rw] cumulative_bytes_scanned
|
422
|
+
# Bytes scanned for a single scheduled query run.
|
423
|
+
# @return [Integer]
|
424
|
+
#
|
393
425
|
# @!attribute [rw] records_ingested
|
394
426
|
# The number of records ingested for a single scheduled query run.
|
395
427
|
# @return [Integer]
|
@@ -405,13 +437,14 @@ module Aws::TimestreamQuery
|
|
405
437
|
:execution_time_in_millis,
|
406
438
|
:data_writes,
|
407
439
|
:bytes_metered,
|
440
|
+
:cumulative_bytes_scanned,
|
408
441
|
:records_ingested,
|
409
442
|
:query_result_rows)
|
410
443
|
SENSITIVE = []
|
411
444
|
include Aws::Structure
|
412
445
|
end
|
413
446
|
|
414
|
-
#
|
447
|
+
# The service was unable to fully process this request because of an
|
415
448
|
# internal server error.
|
416
449
|
#
|
417
450
|
# @!attribute [rw] message
|
@@ -1448,6 +1481,53 @@ module Aws::TimestreamQuery
|
|
1448
1481
|
#
|
1449
1482
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
1450
1483
|
|
1484
|
+
# @!attribute [rw] max_query_tcu
|
1485
|
+
# The maximum number of compute units the service will use at any
|
1486
|
+
# point in time to serve your queries. To run queries, you must set a
|
1487
|
+
# minimum capacity of 4 TCU. You can set the maximum number of TCU in
|
1488
|
+
# multiples of 4, for example, 4, 8, 16, 32, and so on.
|
1489
|
+
#
|
1490
|
+
# The maximum value supported for `MaxQueryTCU` is 1000. To request an
|
1491
|
+
# increase to this soft limit, contact Amazon Web Services Support.
|
1492
|
+
# For information about the default quota for maxQueryTCU, see
|
1493
|
+
# [Default quotas][1].
|
1494
|
+
#
|
1495
|
+
#
|
1496
|
+
#
|
1497
|
+
# [1]: https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.default
|
1498
|
+
# @return [Integer]
|
1499
|
+
#
|
1500
|
+
# @!attribute [rw] query_pricing_model
|
1501
|
+
# The pricing model for queries in an account.
|
1502
|
+
# @return [String]
|
1503
|
+
#
|
1504
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/UpdateAccountSettingsRequest AWS API Documentation
|
1505
|
+
#
|
1506
|
+
class UpdateAccountSettingsRequest < Struct.new(
|
1507
|
+
:max_query_tcu,
|
1508
|
+
:query_pricing_model)
|
1509
|
+
SENSITIVE = []
|
1510
|
+
include Aws::Structure
|
1511
|
+
end
|
1512
|
+
|
1513
|
+
# @!attribute [rw] max_query_tcu
|
1514
|
+
# The configured maximum number of compute units the service will use
|
1515
|
+
# at any point in time to serve your queries.
|
1516
|
+
# @return [Integer]
|
1517
|
+
#
|
1518
|
+
# @!attribute [rw] query_pricing_model
|
1519
|
+
# The pricing model for an account.
|
1520
|
+
# @return [String]
|
1521
|
+
#
|
1522
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/UpdateAccountSettingsResponse AWS API Documentation
|
1523
|
+
#
|
1524
|
+
class UpdateAccountSettingsResponse < Struct.new(
|
1525
|
+
:max_query_tcu,
|
1526
|
+
:query_pricing_model)
|
1527
|
+
SENSITIVE = []
|
1528
|
+
include Aws::Structure
|
1529
|
+
end
|
1530
|
+
|
1451
1531
|
# @!attribute [rw] scheduled_query_arn
|
1452
1532
|
# ARN of the scheuled query.
|
1453
1533
|
# @return [String]
|
data/sig/client.rbs
CHANGED
@@ -163,6 +163,16 @@ module Aws
|
|
163
163
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
164
164
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
165
165
|
|
166
|
+
interface _DescribeAccountSettingsResponseSuccess
|
167
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountSettingsResponse]
|
168
|
+
def max_query_tcu: () -> ::Integer
|
169
|
+
def query_pricing_model: () -> ("BYTES_SCANNED" | "COMPUTE_UNITS")
|
170
|
+
end
|
171
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#describe_account_settings-instance_method
|
172
|
+
def describe_account_settings: (
|
173
|
+
) -> _DescribeAccountSettingsResponseSuccess
|
174
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountSettingsResponseSuccess
|
175
|
+
|
166
176
|
interface _DescribeEndpointsResponseSuccess
|
167
177
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEndpointsResponse]
|
168
178
|
def endpoints: () -> ::Array[Types::Endpoint]
|
@@ -270,6 +280,18 @@ module Aws
|
|
270
280
|
) -> _UntagResourceResponseSuccess
|
271
281
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
272
282
|
|
283
|
+
interface _UpdateAccountSettingsResponseSuccess
|
284
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAccountSettingsResponse]
|
285
|
+
def max_query_tcu: () -> ::Integer
|
286
|
+
def query_pricing_model: () -> ("BYTES_SCANNED" | "COMPUTE_UNITS")
|
287
|
+
end
|
288
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#update_account_settings-instance_method
|
289
|
+
def update_account_settings: (
|
290
|
+
?max_query_tcu: ::Integer,
|
291
|
+
?query_pricing_model: ("BYTES_SCANNED" | "COMPUTE_UNITS")
|
292
|
+
) -> _UpdateAccountSettingsResponseSuccess
|
293
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAccountSettingsResponseSuccess
|
294
|
+
|
273
295
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#update_scheduled_query-instance_method
|
274
296
|
def update_scheduled_query: (
|
275
297
|
scheduled_query_arn: ::String,
|
data/sig/types.rbs
CHANGED
@@ -67,6 +67,15 @@ module Aws::TimestreamQuery
|
|
67
67
|
SENSITIVE: []
|
68
68
|
end
|
69
69
|
|
70
|
+
class DescribeAccountSettingsRequest < Aws::EmptyStructure
|
71
|
+
end
|
72
|
+
|
73
|
+
class DescribeAccountSettingsResponse
|
74
|
+
attr_accessor max_query_tcu: ::Integer
|
75
|
+
attr_accessor query_pricing_model: ("BYTES_SCANNED" | "COMPUTE_UNITS")
|
76
|
+
SENSITIVE: []
|
77
|
+
end
|
78
|
+
|
70
79
|
class DescribeEndpointsRequest < Aws::EmptyStructure
|
71
80
|
end
|
72
81
|
|
@@ -118,6 +127,7 @@ module Aws::TimestreamQuery
|
|
118
127
|
attr_accessor execution_time_in_millis: ::Integer
|
119
128
|
attr_accessor data_writes: ::Integer
|
120
129
|
attr_accessor bytes_metered: ::Integer
|
130
|
+
attr_accessor cumulative_bytes_scanned: ::Integer
|
121
131
|
attr_accessor records_ingested: ::Integer
|
122
132
|
attr_accessor query_result_rows: ::Integer
|
123
133
|
SENSITIVE: []
|
@@ -393,6 +403,18 @@ module Aws::TimestreamQuery
|
|
393
403
|
class UntagResourceResponse < Aws::EmptyStructure
|
394
404
|
end
|
395
405
|
|
406
|
+
class UpdateAccountSettingsRequest
|
407
|
+
attr_accessor max_query_tcu: ::Integer
|
408
|
+
attr_accessor query_pricing_model: ("BYTES_SCANNED" | "COMPUTE_UNITS")
|
409
|
+
SENSITIVE: []
|
410
|
+
end
|
411
|
+
|
412
|
+
class UpdateAccountSettingsResponse
|
413
|
+
attr_accessor max_query_tcu: ::Integer
|
414
|
+
attr_accessor query_pricing_model: ("BYTES_SCANNED" | "COMPUTE_UNITS")
|
415
|
+
SENSITIVE: []
|
416
|
+
end
|
417
|
+
|
396
418
|
class UpdateScheduledQueryRequest
|
397
419
|
attr_accessor scheduled_query_arn: ::String
|
398
420
|
attr_accessor state: ("ENABLED" | "DISABLED")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-timestreamquery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.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.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|