aws-sdk-timestreamquery 1.45.0 → 1.47.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.
@@ -54,7 +54,7 @@ module Aws::TimestreamQuery
54
54
  autoload :EndpointProvider, 'aws-sdk-timestreamquery/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-timestreamquery/endpoints'
56
56
 
57
- GEM_VERSION = '1.45.0'
57
+ GEM_VERSION = '1.47.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -170,6 +170,7 @@ module Aws
170
170
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountSettingsResponse]
171
171
  def max_query_tcu: () -> ::Integer
172
172
  def query_pricing_model: () -> ("BYTES_SCANNED" | "COMPUTE_UNITS")
173
+ def query_compute: () -> Types::QueryComputeResponse
173
174
  end
174
175
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#describe_account_settings-instance_method
175
176
  def describe_account_settings: (
@@ -199,7 +200,10 @@ module Aws
199
200
  def execute_scheduled_query: (
200
201
  scheduled_query_arn: ::String,
201
202
  invocation_time: ::Time,
202
- ?client_token: ::String
203
+ ?client_token: ::String,
204
+ ?query_insights: {
205
+ mode: ("ENABLED_WITH_RATE_CONTROL" | "DISABLED")
206
+ }
203
207
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
204
208
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
205
209
 
@@ -248,13 +252,17 @@ module Aws
248
252
  def rows: () -> ::Array[Types::Row]
249
253
  def column_info: () -> ::Array[Types::ColumnInfo]
250
254
  def query_status: () -> Types::QueryStatus
255
+ def query_insights_response: () -> Types::QueryInsightsResponse
251
256
  end
252
257
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#query-instance_method
253
258
  def query: (
254
259
  query_string: ::String,
255
260
  ?client_token: ::String,
256
261
  ?next_token: ::String,
257
- ?max_rows: ::Integer
262
+ ?max_rows: ::Integer,
263
+ ?query_insights: {
264
+ mode: ("ENABLED_WITH_RATE_CONTROL" | "DISABLED")
265
+ }
258
266
  ) -> _QueryResponseSuccess
259
267
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _QueryResponseSuccess
260
268
 
@@ -287,11 +295,24 @@ module Aws
287
295
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAccountSettingsResponse]
288
296
  def max_query_tcu: () -> ::Integer
289
297
  def query_pricing_model: () -> ("BYTES_SCANNED" | "COMPUTE_UNITS")
298
+ def query_compute: () -> Types::QueryComputeResponse
290
299
  end
291
300
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#update_account_settings-instance_method
292
301
  def update_account_settings: (
293
302
  ?max_query_tcu: ::Integer,
294
- ?query_pricing_model: ("BYTES_SCANNED" | "COMPUTE_UNITS")
303
+ ?query_pricing_model: ("BYTES_SCANNED" | "COMPUTE_UNITS"),
304
+ ?query_compute: {
305
+ compute_mode: ("ON_DEMAND" | "PROVISIONED")?,
306
+ provisioned_capacity: {
307
+ target_query_tcu: ::Integer,
308
+ notification_configuration: {
309
+ sns_configuration: {
310
+ topic_arn: ::String
311
+ }?,
312
+ role_arn: ::String
313
+ }?
314
+ }?
315
+ }
295
316
  ) -> _UpdateAccountSettingsResponseSuccess
296
317
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAccountSettingsResponseSuccess
297
318
 
data/sig/types.rbs CHANGED
@@ -13,6 +13,12 @@ module Aws::TimestreamQuery
13
13
  SENSITIVE: []
14
14
  end
15
15
 
16
+ class AccountSettingsNotificationConfiguration
17
+ attr_accessor sns_configuration: Types::SnsConfiguration
18
+ attr_accessor role_arn: ::String
19
+ SENSITIVE: []
20
+ end
21
+
16
22
  class CancelQueryRequest
17
23
  attr_accessor query_id: ::String
18
24
  SENSITIVE: []
@@ -73,6 +79,7 @@ module Aws::TimestreamQuery
73
79
  class DescribeAccountSettingsResponse
74
80
  attr_accessor max_query_tcu: ::Integer
75
81
  attr_accessor query_pricing_model: ("BYTES_SCANNED" | "COMPUTE_UNITS")
82
+ attr_accessor query_compute: Types::QueryComputeResponse
76
83
  SENSITIVE: []
77
84
  end
78
85
 
@@ -120,6 +127,7 @@ module Aws::TimestreamQuery
120
127
  attr_accessor scheduled_query_arn: ::String
121
128
  attr_accessor invocation_time: ::Time
122
129
  attr_accessor client_token: ::String
130
+ attr_accessor query_insights: Types::ScheduledQueryInsights
123
131
  SENSITIVE: [:client_token]
124
132
  end
125
133
 
@@ -143,6 +151,13 @@ module Aws::TimestreamQuery
143
151
  SENSITIVE: []
144
152
  end
145
153
 
154
+ class LastUpdate
155
+ attr_accessor target_query_tcu: ::Integer
156
+ attr_accessor status: ("PENDING" | "FAILED" | "SUCCEEDED")
157
+ attr_accessor status_message: ::String
158
+ SENSITIVE: []
159
+ end
160
+
146
161
  class ListScheduledQueriesRequest
147
162
  attr_accessor max_results: ::Integer
148
163
  attr_accessor next_token: ::String
@@ -214,16 +229,59 @@ module Aws::TimestreamQuery
214
229
  SENSITIVE: [:query_string]
215
230
  end
216
231
 
232
+ class ProvisionedCapacityRequest
233
+ attr_accessor target_query_tcu: ::Integer
234
+ attr_accessor notification_configuration: Types::AccountSettingsNotificationConfiguration
235
+ SENSITIVE: []
236
+ end
237
+
238
+ class ProvisionedCapacityResponse
239
+ attr_accessor active_query_tcu: ::Integer
240
+ attr_accessor notification_configuration: Types::AccountSettingsNotificationConfiguration
241
+ attr_accessor last_update: Types::LastUpdate
242
+ SENSITIVE: []
243
+ end
244
+
245
+ class QueryComputeRequest
246
+ attr_accessor compute_mode: ("ON_DEMAND" | "PROVISIONED")
247
+ attr_accessor provisioned_capacity: Types::ProvisionedCapacityRequest
248
+ SENSITIVE: []
249
+ end
250
+
251
+ class QueryComputeResponse
252
+ attr_accessor compute_mode: ("ON_DEMAND" | "PROVISIONED")
253
+ attr_accessor provisioned_capacity: Types::ProvisionedCapacityResponse
254
+ SENSITIVE: []
255
+ end
256
+
217
257
  class QueryExecutionException
218
258
  attr_accessor message: ::String
219
259
  SENSITIVE: []
220
260
  end
221
261
 
262
+ class QueryInsights
263
+ attr_accessor mode: ("ENABLED_WITH_RATE_CONTROL" | "DISABLED")
264
+ SENSITIVE: []
265
+ end
266
+
267
+ class QueryInsightsResponse
268
+ attr_accessor query_spatial_coverage: Types::QuerySpatialCoverage
269
+ attr_accessor query_temporal_range: Types::QueryTemporalRange
270
+ attr_accessor query_table_count: ::Integer
271
+ attr_accessor output_rows: ::Integer
272
+ attr_accessor output_bytes: ::Integer
273
+ attr_accessor unload_partition_count: ::Integer
274
+ attr_accessor unload_written_rows: ::Integer
275
+ attr_accessor unload_written_bytes: ::Integer
276
+ SENSITIVE: []
277
+ end
278
+
222
279
  class QueryRequest
223
280
  attr_accessor query_string: ::String
224
281
  attr_accessor client_token: ::String
225
282
  attr_accessor next_token: ::String
226
283
  attr_accessor max_rows: ::Integer
284
+ attr_accessor query_insights: Types::QueryInsights
227
285
  SENSITIVE: [:query_string, :client_token]
228
286
  end
229
287
 
@@ -233,6 +291,19 @@ module Aws::TimestreamQuery
233
291
  attr_accessor rows: ::Array[Types::Row]
234
292
  attr_accessor column_info: ::Array[Types::ColumnInfo]
235
293
  attr_accessor query_status: Types::QueryStatus
294
+ attr_accessor query_insights_response: Types::QueryInsightsResponse
295
+ SENSITIVE: []
296
+ end
297
+
298
+ class QuerySpatialCoverage
299
+ attr_accessor max: Types::QuerySpatialCoverageMax
300
+ SENSITIVE: []
301
+ end
302
+
303
+ class QuerySpatialCoverageMax
304
+ attr_accessor value: ::Float
305
+ attr_accessor table_arn: ::String
306
+ attr_accessor partition_key: ::Array[::String]
236
307
  SENSITIVE: []
237
308
  end
238
309
 
@@ -243,6 +314,17 @@ module Aws::TimestreamQuery
243
314
  SENSITIVE: []
244
315
  end
245
316
 
317
+ class QueryTemporalRange
318
+ attr_accessor max: Types::QueryTemporalRangeMax
319
+ SENSITIVE: []
320
+ end
321
+
322
+ class QueryTemporalRangeMax
323
+ attr_accessor value: ::Integer
324
+ attr_accessor table_arn: ::String
325
+ SENSITIVE: []
326
+ end
327
+
246
328
  class ResourceNotFoundException
247
329
  attr_accessor message: ::String
248
330
  attr_accessor scheduled_query_arn: ::String
@@ -304,11 +386,26 @@ module Aws::TimestreamQuery
304
386
  SENSITIVE: [:query_string]
305
387
  end
306
388
 
389
+ class ScheduledQueryInsights
390
+ attr_accessor mode: ("ENABLED_WITH_RATE_CONTROL" | "DISABLED")
391
+ SENSITIVE: []
392
+ end
393
+
394
+ class ScheduledQueryInsightsResponse
395
+ attr_accessor query_spatial_coverage: Types::QuerySpatialCoverage
396
+ attr_accessor query_temporal_range: Types::QueryTemporalRange
397
+ attr_accessor query_table_count: ::Integer
398
+ attr_accessor output_rows: ::Integer
399
+ attr_accessor output_bytes: ::Integer
400
+ SENSITIVE: []
401
+ end
402
+
307
403
  class ScheduledQueryRunSummary
308
404
  attr_accessor invocation_time: ::Time
309
405
  attr_accessor trigger_time: ::Time
310
406
  attr_accessor run_status: ("AUTO_TRIGGER_SUCCESS" | "AUTO_TRIGGER_FAILURE" | "MANUAL_TRIGGER_SUCCESS" | "MANUAL_TRIGGER_FAILURE")
311
407
  attr_accessor execution_stats: Types::ExecutionStats
408
+ attr_accessor query_insights_response: Types::ScheduledQueryInsightsResponse
312
409
  attr_accessor error_report_location: Types::ErrorReportLocation
313
410
  attr_accessor failure_reason: ::String
314
411
  SENSITIVE: []
@@ -406,12 +503,14 @@ module Aws::TimestreamQuery
406
503
  class UpdateAccountSettingsRequest
407
504
  attr_accessor max_query_tcu: ::Integer
408
505
  attr_accessor query_pricing_model: ("BYTES_SCANNED" | "COMPUTE_UNITS")
506
+ attr_accessor query_compute: Types::QueryComputeRequest
409
507
  SENSITIVE: []
410
508
  end
411
509
 
412
510
  class UpdateAccountSettingsResponse
413
511
  attr_accessor max_query_tcu: ::Integer
414
512
  attr_accessor query_pricing_model: ("BYTES_SCANNED" | "COMPUTE_UNITS")
513
+ attr_accessor query_compute: Types::QueryComputeResponse
415
514
  SENSITIVE: []
416
515
  end
417
516
 
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.45.0
4
+ version: 1.47.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-10-18 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core