aws-sdk-athena 1.19.0 → 1.20.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
  SHA1:
3
- metadata.gz: 4ac48ea53a1a555aee6df6cddb7d534baa9ff196
4
- data.tar.gz: 04e0ddf48b0d26361acf7aa3ea53f6e69256daf5
3
+ metadata.gz: d2fec8b087ec4b9997a9e5a2eb0353bfa175d858
4
+ data.tar.gz: 28d9e18f9d9049c4bb06fb969aab923098d6615b
5
5
  SHA512:
6
- metadata.gz: 0bf498bc9ad0f96ce658d68ea75d0b82cf8327ad8f8cc61db3ef070f72de35dec957630570d2ee9623a9711e26bb494865e2e7ba82bea9f061cc63fc79e1a8c3
7
- data.tar.gz: a13d23fb0807683d2fecdd4d066a84c130966bc7b367a9b475b204bc88e73c431c9ce3511874fd91ffea82cbf44803e04371a134c45b512e00318e000b7d4ca4
6
+ metadata.gz: 0e2f2982def8b4b7c83d92bb1ba67efe339ed300de39e7255264485c3485daf61fef820a58a9ad138ff0dd7524932cb6ff27b249c914c2325c6bb16e85145c10
7
+ data.tar.gz: 2c4d20d15ba58ffa48fa6822c583195d9743e3214c6351cc16ed8984845448c1543e8b54c5fa3c046b3a15d5ea04026b12eb6545957aa4ef37b8ee1ba6768d29
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-athena/customizations'
42
42
  # @service
43
43
  module Aws::Athena
44
44
 
45
- GEM_VERSION = '1.19.0'
45
+ GEM_VERSION = '1.20.0'
46
46
 
47
47
  end
@@ -350,6 +350,7 @@ module Aws::Athena
350
350
  # resp.query_executions[0].status.completion_date_time #=> Time
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
+ # resp.query_executions[0].statistics.data_manifest_location #=> String
353
354
  # resp.query_executions[0].work_group #=> String
354
355
  # resp.unprocessed_query_execution_ids #=> Array
355
356
  # resp.unprocessed_query_execution_ids[0].query_execution_id #=> String
@@ -621,6 +622,7 @@ module Aws::Athena
621
622
  # resp.query_execution.status.completion_date_time #=> Time
622
623
  # resp.query_execution.statistics.engine_execution_time_in_millis #=> Integer
623
624
  # resp.query_execution.statistics.data_scanned_in_bytes #=> Integer
625
+ # resp.query_execution.statistics.data_manifest_location #=> String
624
626
  # resp.query_execution.work_group #=> String
625
627
  #
626
628
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecution AWS API Documentation
@@ -632,11 +634,26 @@ module Aws::Athena
632
634
  req.send_request(options)
633
635
  end
634
636
 
635
- # Returns the results of a single query execution specified by
636
- # `QueryExecutionId` if you have access to the workgroup in which the
637
- # query ran. This request does not execute the query but returns
637
+ # Streams the results of a single query execution specified by
638
+ # `QueryExecutionId` from the Athena query results location in Amazon
639
+ # S3. For more information, see [Query Results][1] in the *Amazon Athena
640
+ # User Guide*. This request does not execute the query but returns
638
641
  # results. Use StartQueryExecution to run a query.
639
642
  #
643
+ # To stream query results successfully, the IAM principal with
644
+ # permission to call `GetQueryResults` also must have permissions to the
645
+ # Amazon S3 `GetObject` action for the Athena query results location.
646
+ #
647
+ # IAM principals with permission to the Amazon S3 `GetObject` action for
648
+ # the query results location are able to retrieve query results from
649
+ # Amazon S3 even if permission to the `GetQueryResults` action is
650
+ # denied. To restrict user or role access, ensure that Amazon S3
651
+ # permissions to the Athena query location are denied.
652
+ #
653
+ #
654
+ #
655
+ # [1]: https://docs.aws.amazon.com/athena/latest/ug/querying.html
656
+ #
640
657
  # @option params [required, String] :query_execution_id
641
658
  # The unique ID of the query execution.
642
659
  #
@@ -1160,7 +1177,7 @@ module Aws::Athena
1160
1177
  params: params,
1161
1178
  config: config)
1162
1179
  context[:gem_name] = 'aws-sdk-athena'
1163
- context[:gem_version] = '1.19.0'
1180
+ context[:gem_version] = '1.20.0'
1164
1181
  Seahorse::Client::Request.new(handlers, context)
1165
1182
  end
1166
1183
 
@@ -286,6 +286,7 @@ module Aws::Athena
286
286
 
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
+ QueryExecutionStatistics.add_member(:data_manifest_location, Shapes::ShapeRef.new(shape: String, location_name: "DataManifestLocation"))
289
290
  QueryExecutionStatistics.struct_class = Types::QueryExecutionStatistics
290
291
 
291
292
  QueryExecutionStatus.add_member(:state, Shapes::ShapeRef.new(shape: QueryExecutionState, location_name: "State"))
@@ -807,9 +807,9 @@ module Aws::Athena
807
807
  # @return [Types::QueryExecutionStatus]
808
808
  #
809
809
  # @!attribute [rw] statistics
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.
810
+ # The location of a manifest file that tracks file locations generated
811
+ # by the query, the amount of data scanned by the query, and the
812
+ # amount of time that it took the query to 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 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.
853
+ # The location of a manifest file that tracks file locations generated
854
+ # by the query, the amount of data scanned by the query, and the amount
855
+ # of time that it took the query to run.
856
856
  #
857
857
  # @!attribute [rw] engine_execution_time_in_millis
858
858
  # The number of milliseconds that the query took to execute.
@@ -862,11 +862,26 @@ module Aws::Athena
862
862
  # The number of bytes in the data that was queried.
863
863
  # @return [Integer]
864
864
  #
865
+ # @!attribute [rw] data_manifest_location
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. It
868
+ # tracks files that the query wrote to Amazon S3. If the query fails,
869
+ # the manifest file also tracks files that the query intended to
870
+ # write. The manifest is useful for identifying orphaned files
871
+ # resulting from a failed query. For more information, see [Working
872
+ # with Query Output Files][1] in the *Amazon Athena User Guide*.
873
+ #
874
+ #
875
+ #
876
+ # [1]: https://docs.aws.amazon.com/athena/latest/ug/querying.html
877
+ # @return [String]
878
+ #
865
879
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecutionStatistics AWS API Documentation
866
880
  #
867
881
  class QueryExecutionStatistics < Struct.new(
868
882
  :engine_execution_time_in_millis,
869
- :data_scanned_in_bytes)
883
+ :data_scanned_in_bytes,
884
+ :data_manifest_location)
870
885
  include Aws::Structure
871
886
  end
872
887
 
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.19.0
4
+ version: 1.20.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-08-15 00:00:00.000000000 Z
11
+ date: 2019-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core