aws-sdk-timestreamquery 1.1.0 → 1.2.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: 2a29cde9533547a0d0c50f3f630dbaf186b009864c84415b8272c5050943aa2d
4
- data.tar.gz: 19752b1bf1dec22c1812760ac1f7683bcff14e0057633117e1ad4c1d75fa9fce
3
+ metadata.gz: ffac7e2473830ff8a0409e240c5ca3dc421dd1d58943f669989f0b2eab1bb5d6
4
+ data.tar.gz: 5cf2df07907cb42fb0f4902f42931659cc4abcdff7897bb7ca28787015f7be81
5
5
  SHA512:
6
- metadata.gz: b49280ed529ccda88eff0b670b669e2046ff7e5bbe686053602f59f07d09856b2fea41aecd44a490746f8f384cf3f06c2b082d0d04bd6d12e1b0c4f7f0a66e7c
7
- data.tar.gz: ca42cbe1beaa1297579665972ebcd8813eb28f2daf3c028a33281ce52bfaad4c732e1fd471e793d1d99ac32e9a66b4de398b1b1dd44a6f0d9460e290f2ff68e2
6
+ metadata.gz: 7247ab0ba9d228e922096fddd7a6afa1d335198638cb7833ac532ad2b7c093d5ac9d58e737cae54558e1b3f7d71ee5bcf82a9442aeab77416eb495506862a25b
7
+ data.tar.gz: 387ca3c23a87e59107ec98dd68c47c26cd65e310c1ba703c914847400611405a1b3e73c47ff399c6a1127433392c9865f46ca76a40e41e7ad32ebb17f9991d15
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-timestreamquery/customizations'
48
48
  # @!group service
49
49
  module Aws::TimestreamQuery
50
50
 
51
- GEM_VERSION = '1.1.0'
51
+ GEM_VERSION = '1.2.0'
52
52
 
53
53
  end
@@ -455,6 +455,7 @@ module Aws::TimestreamQuery
455
455
  # * {Types::QueryResponse#next_token #next_token} => String
456
456
  # * {Types::QueryResponse#rows #rows} => Array<Types::Row>
457
457
  # * {Types::QueryResponse#column_info #column_info} => Array<Types::ColumnInfo>
458
+ # * {Types::QueryResponse#query_status #query_status} => Types::QueryStatus
458
459
  #
459
460
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
460
461
  #
@@ -486,6 +487,9 @@ module Aws::TimestreamQuery
486
487
  # resp.column_info[0].type.array_column_info #=> Types::ColumnInfo
487
488
  # resp.column_info[0].type.time_series_measure_value_column_info #=> Types::ColumnInfo
488
489
  # resp.column_info[0].type.row_column_info #=> Types::ColumnInfoList
490
+ # resp.query_status.progress_percentage #=> Float
491
+ # resp.query_status.cumulative_bytes_scanned #=> Integer
492
+ # resp.query_status.cumulative_bytes_metered #=> Integer
489
493
  #
490
494
  # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/Query AWS API Documentation
491
495
  #
@@ -509,7 +513,7 @@ module Aws::TimestreamQuery
509
513
  params: params,
510
514
  config: config)
511
515
  context[:gem_name] = 'aws-sdk-timestreamquery'
512
- context[:gem_version] = '1.1.0'
516
+ context[:gem_version] = '1.2.0'
513
517
  Seahorse::Client::Request.new(handlers, context)
514
518
  end
515
519
 
@@ -24,6 +24,7 @@ module Aws::TimestreamQuery
24
24
  DatumList = Shapes::ListShape.new(name: 'DatumList')
25
25
  DescribeEndpointsRequest = Shapes::StructureShape.new(name: 'DescribeEndpointsRequest')
26
26
  DescribeEndpointsResponse = Shapes::StructureShape.new(name: 'DescribeEndpointsResponse')
27
+ Double = Shapes::FloatShape.new(name: 'Double')
27
28
  Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
28
29
  Endpoints = Shapes::ListShape.new(name: 'Endpoints')
29
30
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
@@ -36,6 +37,7 @@ module Aws::TimestreamQuery
36
37
  QueryId = Shapes::StringShape.new(name: 'QueryId')
37
38
  QueryRequest = Shapes::StructureShape.new(name: 'QueryRequest')
38
39
  QueryResponse = Shapes::StructureShape.new(name: 'QueryResponse')
40
+ QueryStatus = Shapes::StructureShape.new(name: 'QueryStatus')
39
41
  QueryString = Shapes::StringShape.new(name: 'QueryString')
40
42
  Row = Shapes::StructureShape.new(name: 'Row')
41
43
  RowList = Shapes::ListShape.new(name: 'RowList')
@@ -107,8 +109,14 @@ module Aws::TimestreamQuery
107
109
  QueryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
108
110
  QueryResponse.add_member(:rows, Shapes::ShapeRef.new(shape: RowList, required: true, location_name: "Rows"))
109
111
  QueryResponse.add_member(:column_info, Shapes::ShapeRef.new(shape: ColumnInfoList, required: true, location_name: "ColumnInfo"))
112
+ QueryResponse.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "QueryStatus"))
110
113
  QueryResponse.struct_class = Types::QueryResponse
111
114
 
115
+ QueryStatus.add_member(:progress_percentage, Shapes::ShapeRef.new(shape: Double, location_name: "ProgressPercentage"))
116
+ QueryStatus.add_member(:cumulative_bytes_scanned, Shapes::ShapeRef.new(shape: Long, location_name: "CumulativeBytesScanned"))
117
+ QueryStatus.add_member(:cumulative_bytes_metered, Shapes::ShapeRef.new(shape: Long, location_name: "CumulativeBytesMetered"))
118
+ QueryStatus.struct_class = Types::QueryStatus
119
+
112
120
  Row.add_member(:data, Shapes::ShapeRef.new(shape: DatumList, required: true, location_name: "Data"))
113
121
  Row.struct_class = Types::Row
114
122
 
@@ -282,13 +282,50 @@ module Aws::TimestreamQuery
282
282
  # The column data types of the returned result set.
283
283
  # @return [Array<Types::ColumnInfo>]
284
284
  #
285
+ # @!attribute [rw] query_status
286
+ # Information about the status of the query, including progress and
287
+ # bytes scannned.
288
+ # @return [Types::QueryStatus]
289
+ #
285
290
  # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/QueryResponse AWS API Documentation
286
291
  #
287
292
  class QueryResponse < Struct.new(
288
293
  :query_id,
289
294
  :next_token,
290
295
  :rows,
291
- :column_info)
296
+ :column_info,
297
+ :query_status)
298
+ SENSITIVE = []
299
+ include Aws::Structure
300
+ end
301
+
302
+ # Information about the status of the query, including progress and
303
+ # bytes scannned.
304
+ #
305
+ # @!attribute [rw] progress_percentage
306
+ # The progress of the query, expressed as a percentage.
307
+ # @return [Float]
308
+ #
309
+ # @!attribute [rw] cumulative_bytes_scanned
310
+ # The amount of data scanned by the query in bytes. This is a
311
+ # cumulative sum and represents the total amount of bytes scanned
312
+ # since the query was started.
313
+ # @return [Integer]
314
+ #
315
+ # @!attribute [rw] cumulative_bytes_metered
316
+ # The amount of data scanned by the query in bytes that you will be
317
+ # charged for. This is a cumulative sum and represents the total
318
+ # amount of data that you will be charged for since the query was
319
+ # started. The charge is applied only once and is either applied when
320
+ # the query completes execution or when the query is cancelled.
321
+ # @return [Integer]
322
+ #
323
+ # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/QueryStatus AWS API Documentation
324
+ #
325
+ class QueryStatus < Struct.new(
326
+ :progress_percentage,
327
+ :cumulative_bytes_scanned,
328
+ :cumulative_bytes_metered)
292
329
  SENSITIVE = []
293
330
  include Aws::Structure
294
331
  end
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.1.0
4
+ version: 1.2.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: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core