aws-sdk-athena 1.23.0 → 1.24.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f14adc105f561e59b3ecd9fab081dff694332cfb
4
- data.tar.gz: 121efae7d4c6081a9aea5e49eb118444d288e36e
3
+ metadata.gz: 1824ce28dbe966d72d6fd47002ade72f49c92968
4
+ data.tar.gz: f4c217c7cf9aae82cd2482b8ded194302db600cf
5
5
  SHA512:
6
- metadata.gz: 1e3833516072c2a4823c4d5634ca58916b577c39995a49f30603e75ce1306074506756203ff21a30acb66a46eb1c394880ad957cf8c2c994c78f89cef6cab6ba
7
- data.tar.gz: cfeb9f6a3b2e1155da49dd37d54e3202e6975cde7f64c2a6886f157297d51c534462b93c794187b481d59285a7ff68a07b2b802aabfb69a8fb7c2c0bdd44ce74
6
+ metadata.gz: 48ba5521f94c615d81eba7d4fbc45eb8e20825c85e3ca42c697af66df83d991c10bfea3bfc9e7be21afbd6dbd9cd05b0c6028f760e81761450453ff6a3185bf6
7
+ data.tar.gz: 7dd8a08ece7d8d8f48af00e1695a095cd0ded2050febc3c4f792681f3e5f21da6705a56d3dec5430a5383ab19f436af533bef1276e35d9821e10e8738806f6f3
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-athena/customizations'
45
45
  # @service
46
46
  module Aws::Athena
47
47
 
48
- GEM_VERSION = '1.23.0'
48
+ GEM_VERSION = '1.24.0'
49
49
 
50
50
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:athena)
32
32
  module Aws::Athena
33
33
  # An API client for Athena. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::Athena::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::Athena::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -229,15 +229,19 @@ module Aws::Athena
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -729,6 +733,8 @@ module Aws::Athena
729
733
  # * {Types::GetQueryResultsOutput#result_set #result_set} => Types::ResultSet
730
734
  # * {Types::GetQueryResultsOutput#next_token #next_token} => String
731
735
  #
736
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
737
+ #
732
738
  # @example Request syntax with placeholder values
733
739
  #
734
740
  # resp = client.get_query_results({
@@ -805,6 +811,8 @@ module Aws::Athena
805
811
 
806
812
  # Provides a list of available query IDs only for queries saved in the
807
813
  # specified workgroup. Requires that you have access to the workgroup.
814
+ # If a workgroup is not specified, lists the saved queries for the
815
+ # primary workgroup.
808
816
  #
809
817
  # For code samples using the AWS SDK for Java, see [Examples and Code
810
818
  # Samples][1] in the *Amazon Athena User Guide*.
@@ -821,14 +829,17 @@ module Aws::Athena
821
829
  # The maximum number of queries to return in this request.
822
830
  #
823
831
  # @option params [String] :work_group
824
- # The name of the workgroup from which the named queries are being
825
- # returned.
832
+ # The name of the workgroup from which the named queries are returned.
833
+ # If a workgroup is not specified, the saved queries for the primary
834
+ # workgroup are returned.
826
835
  #
827
836
  # @return [Types::ListNamedQueriesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
828
837
  #
829
838
  # * {Types::ListNamedQueriesOutput#named_query_ids #named_query_ids} => Array<String>
830
839
  # * {Types::ListNamedQueriesOutput#next_token #next_token} => String
831
840
  #
841
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
842
+ #
832
843
  # @example Request syntax with placeholder values
833
844
  #
834
845
  # resp = client.list_named_queries({
@@ -853,8 +864,9 @@ module Aws::Athena
853
864
  end
854
865
 
855
866
  # Provides a list of available query execution IDs for the queries in
856
- # the specified workgroup. Requires you to have access to the workgroup
857
- # in which the queries ran.
867
+ # the specified workgroup. If a workgroup is not specified, returns a
868
+ # list of query execution IDs for the primary workgroup. Requires you to
869
+ # have access to the workgroup in which the queries ran.
858
870
  #
859
871
  # For code samples using the AWS SDK for Java, see [Examples and Code
860
872
  # Samples][1] in the *Amazon Athena User Guide*.
@@ -871,13 +883,17 @@ module Aws::Athena
871
883
  # The maximum number of query executions to return in this request.
872
884
  #
873
885
  # @option params [String] :work_group
874
- # The name of the workgroup from which queries are being returned.
886
+ # The name of the workgroup from which queries are returned. If a
887
+ # workgroup is not specified, a list of available query execution IDs
888
+ # for the queries in the primary workgroup is returned.
875
889
  #
876
890
  # @return [Types::ListQueryExecutionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
877
891
  #
878
892
  # * {Types::ListQueryExecutionsOutput#query_execution_ids #query_execution_ids} => Array<String>
879
893
  # * {Types::ListQueryExecutionsOutput#next_token #next_token} => String
880
894
  #
895
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
896
+ #
881
897
  # @example Request syntax with placeholder values
882
898
  #
883
899
  # resp = client.list_query_executions({
@@ -957,6 +973,8 @@ module Aws::Athena
957
973
  # * {Types::ListWorkGroupsOutput#work_groups #work_groups} => Array<Types::WorkGroupSummary>
958
974
  # * {Types::ListWorkGroupsOutput#next_token #next_token} => String
959
975
  #
976
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
977
+ #
960
978
  # @example Request syntax with placeholder values
961
979
  #
962
980
  # resp = client.list_work_groups({
@@ -1236,7 +1254,7 @@ module Aws::Athena
1236
1254
  params: params,
1237
1255
  config: config)
1238
1256
  context[:gem_name] = 'aws-sdk-athena'
1239
- context[:gem_version] = '1.23.0'
1257
+ context[:gem_version] = '1.24.0'
1240
1258
  Seahorse::Client::Request.new(handlers, context)
1241
1259
  end
1242
1260
 
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Athena
9
- # This class provides a resource oriented interface for Athena.
10
- # To create a resource object:
11
- # resource = Aws::Athena::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::Athena::Client.new(region: 'us-west-2')
15
- # resource = Aws::Athena::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -565,8 +565,9 @@ module Aws::Athena
565
565
  # @return [Integer]
566
566
  #
567
567
  # @!attribute [rw] work_group
568
- # The name of the workgroup from which the named queries are being
569
- # returned.
568
+ # The name of the workgroup from which the named queries are returned.
569
+ # If a workgroup is not specified, the saved queries for the primary
570
+ # workgroup are returned.
570
571
  # @return [String]
571
572
  #
572
573
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListNamedQueriesInput AWS API Documentation
@@ -613,7 +614,9 @@ module Aws::Athena
613
614
  # @return [Integer]
614
615
  #
615
616
  # @!attribute [rw] work_group
616
- # The name of the workgroup from which queries are being returned.
617
+ # The name of the workgroup from which queries are returned. If a
618
+ # workgroup is not specified, a list of available query execution IDs
619
+ # for the queries in the primary workgroup is returned.
617
620
  # @return [String]
618
621
  #
619
622
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListQueryExecutionsInput AWS API Documentation
@@ -807,9 +810,9 @@ module Aws::Athena
807
810
  # @return [Types::QueryExecutionStatus]
808
811
  #
809
812
  # @!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.
813
+ # Query execution statistics, such as the amount of data scanned, the
814
+ # amount of time that the query took to process, and the type of
815
+ # statement that was run.
813
816
  # @return [Types::QueryExecutionStatistics]
814
817
  #
815
818
  # @!attribute [rw] work_group
@@ -917,14 +920,13 @@ module Aws::Athena
917
920
  # reason (if applicable) for the query execution.
918
921
  #
919
922
  # @!attribute [rw] state
920
- # The state of query execution. `QUEUED` state is listed but is not
921
- # used by Athena and is reserved for future use. `RUNNING` indicates
922
- # that the query has been submitted to the service, and Athena will
923
- # execute the query as soon as resources are available. `SUCCEEDED`
924
- # indicates that the query completed without errors. `FAILED`
925
- # indicates that the query experienced an error and did not complete
926
- # processing. `CANCELLED` indicates that a user input interrupted
927
- # query execution.
923
+ # The state of query execution. `QUEUED` indicates that the query has
924
+ # been submitted to the service, and Athena will execute the query as
925
+ # soon as resources are available. `RUNNING` indicates that the query
926
+ # is in execution phase. `SUCCEEDED` indicates that the query
927
+ # completed without errors. `FAILED` indicates that the query
928
+ # experienced an error and did not complete processing. `CANCELLED`
929
+ # indicates that a user input interrupted query execution.
928
930
  # @return [String]
929
931
  #
930
932
  # @!attribute [rw] state_change_reason
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.23.0
4
+ version: 1.24.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-03-09 00:00:00.000000000 Z
11
+ date: 2020-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core