aws-sdk-athena 1.21.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-athena.rb +1 -1
- data/lib/aws-sdk-athena/client.rb +9 -1
- data/lib/aws-sdk-athena/client_api.rb +4 -0
- data/lib/aws-sdk-athena/types.rb +41 -13
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae65dc6c33253e49092b4bbf458f49e2cc1bb883
|
4
|
+
data.tar.gz: f7c41ce3576e0d80f2bf9136f3631bed19a81d30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9982c8ebac6eaf5714692b27320e54bb7690f953ff1b3ed112dcca04d66da24287ed04a0d11a72a0959b376efe547057655bc0eb4a32148f4d6345cdad0873be
|
7
|
+
data.tar.gz: a92eb4cdf72aa9bbfb4fa53f84c917bcc54f03a0783d14040b5a330a324d732c4219aef86889341f5371a306bb60e48b191df3bf6db78096a4205cbe29667f8f
|
data/lib/aws-sdk-athena.rb
CHANGED
@@ -351,6 +351,10 @@ module Aws::Athena
|
|
351
351
|
# resp.query_executions[0].statistics.engine_execution_time_in_millis #=> Integer
|
352
352
|
# resp.query_executions[0].statistics.data_scanned_in_bytes #=> Integer
|
353
353
|
# resp.query_executions[0].statistics.data_manifest_location #=> String
|
354
|
+
# resp.query_executions[0].statistics.total_execution_time_in_millis #=> Integer
|
355
|
+
# resp.query_executions[0].statistics.query_queue_time_in_millis #=> Integer
|
356
|
+
# resp.query_executions[0].statistics.query_planning_time_in_millis #=> Integer
|
357
|
+
# resp.query_executions[0].statistics.service_processing_time_in_millis #=> Integer
|
354
358
|
# resp.query_executions[0].work_group #=> String
|
355
359
|
# resp.unprocessed_query_execution_ids #=> Array
|
356
360
|
# resp.unprocessed_query_execution_ids[0].query_execution_id #=> String
|
@@ -623,6 +627,10 @@ module Aws::Athena
|
|
623
627
|
# resp.query_execution.statistics.engine_execution_time_in_millis #=> Integer
|
624
628
|
# resp.query_execution.statistics.data_scanned_in_bytes #=> Integer
|
625
629
|
# resp.query_execution.statistics.data_manifest_location #=> String
|
630
|
+
# resp.query_execution.statistics.total_execution_time_in_millis #=> Integer
|
631
|
+
# resp.query_execution.statistics.query_queue_time_in_millis #=> Integer
|
632
|
+
# resp.query_execution.statistics.query_planning_time_in_millis #=> Integer
|
633
|
+
# resp.query_execution.statistics.service_processing_time_in_millis #=> Integer
|
626
634
|
# resp.query_execution.work_group #=> String
|
627
635
|
#
|
628
636
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecution AWS API Documentation
|
@@ -1177,7 +1185,7 @@ module Aws::Athena
|
|
1177
1185
|
params: params,
|
1178
1186
|
config: config)
|
1179
1187
|
context[:gem_name] = 'aws-sdk-athena'
|
1180
|
-
context[:gem_version] = '1.
|
1188
|
+
context[:gem_version] = '1.22.0'
|
1181
1189
|
Seahorse::Client::Request.new(handlers, context)
|
1182
1190
|
end
|
1183
1191
|
|
@@ -287,6 +287,10 @@ module Aws::Athena
|
|
287
287
|
QueryExecutionStatistics.add_member(:engine_execution_time_in_millis, Shapes::ShapeRef.new(shape: Long, location_name: "EngineExecutionTimeInMillis"))
|
288
288
|
QueryExecutionStatistics.add_member(:data_scanned_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "DataScannedInBytes"))
|
289
289
|
QueryExecutionStatistics.add_member(:data_manifest_location, Shapes::ShapeRef.new(shape: String, location_name: "DataManifestLocation"))
|
290
|
+
QueryExecutionStatistics.add_member(:total_execution_time_in_millis, Shapes::ShapeRef.new(shape: Long, location_name: "TotalExecutionTimeInMillis"))
|
291
|
+
QueryExecutionStatistics.add_member(:query_queue_time_in_millis, Shapes::ShapeRef.new(shape: Long, location_name: "QueryQueueTimeInMillis"))
|
292
|
+
QueryExecutionStatistics.add_member(:query_planning_time_in_millis, Shapes::ShapeRef.new(shape: Long, location_name: "QueryPlanningTimeInMillis"))
|
293
|
+
QueryExecutionStatistics.add_member(:service_processing_time_in_millis, Shapes::ShapeRef.new(shape: Long, location_name: "ServiceProcessingTimeInMillis"))
|
290
294
|
QueryExecutionStatistics.struct_class = Types::QueryExecutionStatistics
|
291
295
|
|
292
296
|
QueryExecutionStatus.add_member(:state, Shapes::ShapeRef.new(shape: QueryExecutionState, location_name: "State"))
|
data/lib/aws-sdk-athena/types.rb
CHANGED
@@ -807,9 +807,9 @@ module Aws::Athena
|
|
807
807
|
# @return [Types::QueryExecutionStatus]
|
808
808
|
#
|
809
809
|
# @!attribute [rw] statistics
|
810
|
-
# The
|
811
|
-
#
|
812
|
-
#
|
810
|
+
# The amount of data scanned during the query execution and the amount
|
811
|
+
# of time that it took to execute, and the type of statement that was
|
812
|
+
# run.
|
813
813
|
# @return [Types::QueryExecutionStatistics]
|
814
814
|
#
|
815
815
|
# @!attribute [rw] work_group
|
@@ -850,9 +850,9 @@ module Aws::Athena
|
|
850
850
|
include Aws::Structure
|
851
851
|
end
|
852
852
|
|
853
|
-
# The
|
854
|
-
#
|
855
|
-
#
|
853
|
+
# The amount of data scanned during the query execution and the amount
|
854
|
+
# of time that it took to execute, and the type of statement that was
|
855
|
+
# run.
|
856
856
|
#
|
857
857
|
# @!attribute [rw] engine_execution_time_in_millis
|
858
858
|
# The number of milliseconds that the query took to execute.
|
@@ -864,24 +864,52 @@ module Aws::Athena
|
|
864
864
|
#
|
865
865
|
# @!attribute [rw] data_manifest_location
|
866
866
|
# The location and file name of a data manifest file. The manifest
|
867
|
-
# file is saved to the Athena query results location in Amazon S3.
|
868
|
-
# tracks files that the query wrote to Amazon S3. If the
|
869
|
-
# the manifest file also tracks files that the query
|
870
|
-
# write. The manifest is useful for identifying orphaned
|
871
|
-
# resulting from a failed query. For more information, see
|
872
|
-
# with Query Output Files][1] in
|
867
|
+
# file is saved to the Athena query results location in Amazon S3. The
|
868
|
+
# manifest file tracks files that the query wrote to Amazon S3. If the
|
869
|
+
# query fails, the manifest file also tracks files that the query
|
870
|
+
# intended to write. The manifest is useful for identifying orphaned
|
871
|
+
# files resulting from a failed query. For more information, see
|
872
|
+
# [Working with Query Results, Output Files, and Query History][1] in
|
873
|
+
# the *Amazon Athena User Guide*.
|
873
874
|
#
|
874
875
|
#
|
875
876
|
#
|
876
877
|
# [1]: https://docs.aws.amazon.com/athena/latest/ug/querying.html
|
877
878
|
# @return [String]
|
878
879
|
#
|
880
|
+
# @!attribute [rw] total_execution_time_in_millis
|
881
|
+
# The number of milliseconds that Athena took to run the query.
|
882
|
+
# @return [Integer]
|
883
|
+
#
|
884
|
+
# @!attribute [rw] query_queue_time_in_millis
|
885
|
+
# The number of milliseconds that the query was in your query queue
|
886
|
+
# waiting for resources. Note that if transient errors occur, Athena
|
887
|
+
# might automatically add the query back to the queue.
|
888
|
+
# @return [Integer]
|
889
|
+
#
|
890
|
+
# @!attribute [rw] query_planning_time_in_millis
|
891
|
+
# The number of milliseconds that Athena took to plan the query
|
892
|
+
# processing flow. This includes the time spent retrieving table
|
893
|
+
# partitions from the data source. Note that because the query engine
|
894
|
+
# performs the query planning, query planning time is a subset of
|
895
|
+
# engine processing time.
|
896
|
+
# @return [Integer]
|
897
|
+
#
|
898
|
+
# @!attribute [rw] service_processing_time_in_millis
|
899
|
+
# The number of milliseconds that Athena took to finalize and publish
|
900
|
+
# the query results after the query engine finished running the query.
|
901
|
+
# @return [Integer]
|
902
|
+
#
|
879
903
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecutionStatistics AWS API Documentation
|
880
904
|
#
|
881
905
|
class QueryExecutionStatistics < Struct.new(
|
882
906
|
:engine_execution_time_in_millis,
|
883
907
|
:data_scanned_in_bytes,
|
884
|
-
:data_manifest_location
|
908
|
+
:data_manifest_location,
|
909
|
+
:total_execution_time_in_millis,
|
910
|
+
:query_queue_time_in_millis,
|
911
|
+
:query_planning_time_in_millis,
|
912
|
+
:service_processing_time_in_millis)
|
885
913
|
include Aws::Structure
|
886
914
|
end
|
887
915
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-athena
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.22.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: 2019-
|
11
|
+
date: 2019-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|