aws-sdk-athena 1.48.0 → 1.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-athena/client.rb +3 -9
- data/lib/aws-sdk-athena/client_api.rb +2 -0
- data/lib/aws-sdk-athena/types.rb +16 -5
- data/lib/aws-sdk-athena.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '064385639b14b6d34b48798e2ca0eafe9c4d20dc2b6bc71c39a72a525f8fdf15'
|
4
|
+
data.tar.gz: f03200ae7b442ef16ffaf8cfc44ec52af450a6cee9d8de1b215b8fc44cfeb0d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83ba29160a4fbd6948d67b9edefa5270a577173d0fc8284cc823d96fc14470c87d3ae990dcf3e4b6581445d21abdc64311c963cee0493e47694ac084562db821
|
7
|
+
data.tar.gz: 1e54e055b72a31165681ab9855074b28cddab73039132b010cffe25634c2697f130262da576ff03acb78ffbecfd34aad3024536d3d3a3537c294aaf37fc95027
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.49.0 (2022-02-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds a subfield, ErrorType, to the AthenaError response object in the GetQueryExecution API when a query fails.
|
8
|
+
|
4
9
|
1.48.0 (2022-02-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
@@ -446,6 +446,7 @@ module Aws::Athena
|
|
446
446
|
# resp.query_executions[0].status.submission_date_time #=> Time
|
447
447
|
# resp.query_executions[0].status.completion_date_time #=> Time
|
448
448
|
# resp.query_executions[0].status.athena_error.error_category #=> Integer
|
449
|
+
# resp.query_executions[0].status.athena_error.error_type #=> Integer
|
449
450
|
# resp.query_executions[0].statistics.engine_execution_time_in_millis #=> Integer
|
450
451
|
# resp.query_executions[0].statistics.data_scanned_in_bytes #=> Integer
|
451
452
|
# resp.query_executions[0].statistics.data_manifest_location #=> String
|
@@ -1015,6 +1016,7 @@ module Aws::Athena
|
|
1015
1016
|
# resp.query_execution.status.submission_date_time #=> Time
|
1016
1017
|
# resp.query_execution.status.completion_date_time #=> Time
|
1017
1018
|
# resp.query_execution.status.athena_error.error_category #=> Integer
|
1019
|
+
# resp.query_execution.status.athena_error.error_type #=> Integer
|
1018
1020
|
# resp.query_execution.statistics.engine_execution_time_in_millis #=> Integer
|
1019
1021
|
# resp.query_execution.statistics.data_scanned_in_bytes #=> Integer
|
1020
1022
|
# resp.query_execution.statistics.data_manifest_location #=> String
|
@@ -1041,14 +1043,6 @@ module Aws::Athena
|
|
1041
1043
|
# User Guide*. This request does not execute the query but returns
|
1042
1044
|
# results. Use StartQueryExecution to run a query.
|
1043
1045
|
#
|
1044
|
-
# If the original query execution ran using an
|
1045
|
-
# ResultConfiguration$ExpectedBucketOwner setting, the setting also
|
1046
|
-
# applies to Amazon S3 read operations when `GetQueryResults` is called.
|
1047
|
-
# If an expected bucket owner has been specified and the query results
|
1048
|
-
# are in an Amazon S3 bucket whose owner account ID is different from
|
1049
|
-
# the expected bucket owner, the `GetQueryResults` call fails with an
|
1050
|
-
# Amazon S3 permissions error.
|
1051
|
-
#
|
1052
1046
|
# To stream query results successfully, the IAM principal with
|
1053
1047
|
# permission to call `GetQueryResults` also must have permissions to the
|
1054
1048
|
# Amazon S3 `GetObject` action for the Athena query results location.
|
@@ -2015,7 +2009,7 @@ module Aws::Athena
|
|
2015
2009
|
params: params,
|
2016
2010
|
config: config)
|
2017
2011
|
context[:gem_name] = 'aws-sdk-athena'
|
2018
|
-
context[:gem_version] = '1.
|
2012
|
+
context[:gem_version] = '1.49.0'
|
2019
2013
|
Seahorse::Client::Request.new(handlers, context)
|
2020
2014
|
end
|
2021
2015
|
|
@@ -62,6 +62,7 @@ module Aws::Athena
|
|
62
62
|
ErrorCategory = Shapes::IntegerShape.new(name: 'ErrorCategory')
|
63
63
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
64
64
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
65
|
+
ErrorType = Shapes::IntegerShape.new(name: 'ErrorType')
|
65
66
|
ExpressionString = Shapes::StringShape.new(name: 'ExpressionString')
|
66
67
|
GetDataCatalogInput = Shapes::StructureShape.new(name: 'GetDataCatalogInput')
|
67
68
|
GetDataCatalogOutput = Shapes::StructureShape.new(name: 'GetDataCatalogOutput')
|
@@ -186,6 +187,7 @@ module Aws::Athena
|
|
186
187
|
datumString = Shapes::StringShape.new(name: 'datumString')
|
187
188
|
|
188
189
|
AthenaError.add_member(:error_category, Shapes::ShapeRef.new(shape: ErrorCategory, location_name: "ErrorCategory"))
|
190
|
+
AthenaError.add_member(:error_type, Shapes::ShapeRef.new(shape: ErrorType, location_name: "ErrorType"))
|
189
191
|
AthenaError.struct_class = Types::AthenaError
|
190
192
|
|
191
193
|
BatchGetNamedQueryInput.add_member(:named_query_ids, Shapes::ShapeRef.new(shape: NamedQueryIdList, required: true, location_name: "NamedQueryIds"))
|
data/lib/aws-sdk-athena/types.rb
CHANGED
@@ -28,10 +28,21 @@ module Aws::Athena
|
|
28
28
|
# **3** - Unknown
|
29
29
|
# @return [Integer]
|
30
30
|
#
|
31
|
+
# @!attribute [rw] error_type
|
32
|
+
# An integer value that provides specific information about an Athena
|
33
|
+
# query error. For the meaning of specific values, see the [Error Type
|
34
|
+
# Reference][1] in the *Amazon Athena User Guide*.
|
35
|
+
#
|
36
|
+
#
|
37
|
+
#
|
38
|
+
# [1]: https://docs.aws.amazon.com/athena/latest/ug/error-reference.html#error-reference-error-type-reference
|
39
|
+
# @return [Integer]
|
40
|
+
#
|
31
41
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/AthenaError AWS API Documentation
|
32
42
|
#
|
33
43
|
class AthenaError < Struct.new(
|
34
|
-
:error_category
|
44
|
+
:error_category,
|
45
|
+
:error_type)
|
35
46
|
SENSITIVE = []
|
36
47
|
include Aws::Structure
|
37
48
|
end
|
@@ -2067,7 +2078,7 @@ module Aws::Athena
|
|
2067
2078
|
# in this workgroup should be ignored and set to null. If set to
|
2068
2079
|
# "false" or not set, and a value is present in the `OutputLocation`
|
2069
2080
|
# in `ResultConfigurationUpdates` (the client-side setting), the
|
2070
|
-
# `OutputLocation` in the workgroup's `ResultConfiguration`
|
2081
|
+
# `OutputLocation` in the workgroup's `ResultConfiguration` will be
|
2071
2082
|
# updated with the new value. For more information, see [Workgroup
|
2072
2083
|
# Settings Override Client-Side Settings][1].
|
2073
2084
|
#
|
@@ -2087,9 +2098,9 @@ module Aws::Athena
|
|
2087
2098
|
# to "false" or not set, and a value is present in the
|
2088
2099
|
# `EncryptionConfiguration` in `ResultConfigurationUpdates` (the
|
2089
2100
|
# client-side setting), the `EncryptionConfiguration` in the
|
2090
|
-
# workgroup's `ResultConfiguration`
|
2091
|
-
# For more information, see [Workgroup Settings Override
|
2092
|
-
# Settings][1].
|
2101
|
+
# workgroup's `ResultConfiguration` will be updated with the new
|
2102
|
+
# value. For more information, see [Workgroup Settings Override
|
2103
|
+
# Client-Side Settings][1].
|
2093
2104
|
#
|
2094
2105
|
#
|
2095
2106
|
#
|
data/lib/aws-sdk-athena.rb
CHANGED
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.49.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: 2022-02-
|
11
|
+
date: 2022-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|