aws-sdk-athena 1.52.0 → 1.53.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
  SHA256:
3
- metadata.gz: a8b8b6530d32dc05758dff613a83c110600fb7830f0ffaf07d516686f8f43b9e
4
- data.tar.gz: e49d2175aa7b1a4d078fb2d751df78db378b779b64bfd7d4b9951598d2fd879a
3
+ metadata.gz: d45eafd0db4a2dd576613f0620092497ee6adcf1ed681f4ba4a1500b04ae14e3
4
+ data.tar.gz: a53b56f8fbf2a72fb9ca8dcb7c7563ac2bee565c5895f3a149e77b3f25c3d637
5
5
  SHA512:
6
- metadata.gz: bbf9867493f0ab6a68ca13fb32914dad2b888f0250022969053020aaf5766c7c45bbcbe42158b24ef557b6678f3419476813baa52c91290d8d06f2657259e2d2
7
- data.tar.gz: 6b9a5ba85d3db12347c340493db813ad4b2d27270509b4e00689eaa8a26d2467f7be8d0e9a6f65762d8ed504d9fce4e75e9a20b01be67eb23228b73250342e97
6
+ metadata.gz: 05ea3defd3b925e981cbcde008389fb2223161f14a30a29f1a164cf8ec6655bb50445f31cea00889d6d8446fc53a4cd1142ef5447ca3b23da62096642f6c3156
7
+ data.tar.gz: f9c403030dbec36516adc375bfd1a50a1d84259e739e68deb130687d13021165f3f70eb54d8af2bf3190a13175e64efab9944dc222c1b4abe7bcb5c0899d871d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.53.0 (2022-04-15)
5
+ ------------------
6
+
7
+ * Feature - This release adds subfields, ErrorMessage, Retryable, to the AthenaError response object in the GetQueryExecution API when a query fails.
8
+
4
9
  1.52.0 (2022-03-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.52.0
1
+ 1.53.0
@@ -450,6 +450,8 @@ module Aws::Athena
450
450
  # resp.query_executions[0].status.completion_date_time #=> Time
451
451
  # resp.query_executions[0].status.athena_error.error_category #=> Integer
452
452
  # resp.query_executions[0].status.athena_error.error_type #=> Integer
453
+ # resp.query_executions[0].status.athena_error.retryable #=> Boolean
454
+ # resp.query_executions[0].status.athena_error.error_message #=> String
453
455
  # resp.query_executions[0].statistics.engine_execution_time_in_millis #=> Integer
454
456
  # resp.query_executions[0].statistics.data_scanned_in_bytes #=> Integer
455
457
  # resp.query_executions[0].statistics.data_manifest_location #=> String
@@ -1024,6 +1026,8 @@ module Aws::Athena
1024
1026
  # resp.query_execution.status.completion_date_time #=> Time
1025
1027
  # resp.query_execution.status.athena_error.error_category #=> Integer
1026
1028
  # resp.query_execution.status.athena_error.error_type #=> Integer
1029
+ # resp.query_execution.status.athena_error.retryable #=> Boolean
1030
+ # resp.query_execution.status.athena_error.error_message #=> String
1027
1031
  # resp.query_execution.statistics.engine_execution_time_in_millis #=> Integer
1028
1032
  # resp.query_execution.statistics.data_scanned_in_bytes #=> Integer
1029
1033
  # resp.query_execution.statistics.data_manifest_location #=> String
@@ -2059,7 +2063,7 @@ module Aws::Athena
2059
2063
  params: params,
2060
2064
  config: config)
2061
2065
  context[:gem_name] = 'aws-sdk-athena'
2062
- context[:gem_version] = '1.52.0'
2066
+ context[:gem_version] = '1.53.0'
2063
2067
  Seahorse::Client::Request.new(handlers, context)
2064
2068
  end
2065
2069
 
@@ -196,6 +196,8 @@ module Aws::Athena
196
196
 
197
197
  AthenaError.add_member(:error_category, Shapes::ShapeRef.new(shape: ErrorCategory, location_name: "ErrorCategory"))
198
198
  AthenaError.add_member(:error_type, Shapes::ShapeRef.new(shape: ErrorType, location_name: "ErrorType"))
199
+ AthenaError.add_member(:retryable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Retryable"))
200
+ AthenaError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
199
201
  AthenaError.struct_class = Types::AthenaError
200
202
 
201
203
  BatchGetNamedQueryInput.add_member(:named_query_ids, Shapes::ShapeRef.new(shape: NamedQueryIdList, required: true, location_name: "NamedQueryIds"))
@@ -77,11 +77,21 @@ module Aws::Athena
77
77
  # [1]: https://docs.aws.amazon.com/athena/latest/ug/error-reference.html#error-reference-error-type-reference
78
78
  # @return [Integer]
79
79
  #
80
+ # @!attribute [rw] retryable
81
+ # True if the query might succeed if resubmitted.
82
+ # @return [Boolean]
83
+ #
84
+ # @!attribute [rw] error_message
85
+ # Contains a short description of the error that occurred.
86
+ # @return [String]
87
+ #
80
88
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/AthenaError AWS API Documentation
81
89
  #
82
90
  class AthenaError < Struct.new(
83
91
  :error_category,
84
- :error_type)
92
+ :error_type,
93
+ :retryable,
94
+ :error_message)
85
95
  SENSITIVE = []
86
96
  include Aws::Structure
87
97
  end
@@ -778,7 +788,7 @@ module Aws::Athena
778
788
  class DeleteWorkGroupOutput < Aws::EmptyStructure; end
779
789
 
780
790
  # If query results are encrypted in Amazon S3, indicates the encryption
781
- # option used (for example, `SSE-KMS` or `CSE-KMS`) and key information.
791
+ # option used (for example, `SSE_KMS` or `CSE_KMS`) and key information.
782
792
  #
783
793
  # @note When making an API call, you may pass EncryptionConfiguration
784
794
  # data as a hash:
@@ -790,9 +800,9 @@ module Aws::Athena
790
800
  #
791
801
  # @!attribute [rw] encryption_option
792
802
  # Indicates whether Amazon S3 server-side encryption with Amazon
793
- # S3-managed keys (`SSE-S3`), server-side encryption with KMS-managed
794
- # keys (`SSE-KMS`), or client-side encryption with KMS-managed keys
795
- # (CSE-KMS) is used.
803
+ # S3-managed keys (`SSE_S3`), server-side encryption with KMS-managed
804
+ # keys (`SSE_KMS`), or client-side encryption with KMS-managed keys
805
+ # (`CSE_KMS`) is used.
796
806
  #
797
807
  # If a query runs in a workgroup and the workgroup overrides
798
808
  # client-side settings, then the workgroup's setting for encryption
@@ -801,7 +811,7 @@ module Aws::Athena
801
811
  # @return [String]
802
812
  #
803
813
  # @!attribute [rw] kms_key
804
- # For `SSE-KMS` and `CSE-KMS`, this is the KMS key ARN or ID.
814
+ # For `SSE_KMS` and `CSE_KMS`, this is the KMS key ARN or ID.
805
815
  # @return [String]
806
816
  #
807
817
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/EncryptionConfiguration AWS API Documentation
@@ -2039,7 +2049,7 @@ module Aws::Athena
2039
2049
  #
2040
2050
  # @!attribute [rw] encryption_configuration
2041
2051
  # If query results are encrypted in Amazon S3, indicates the
2042
- # encryption option used (for example, `SSE-KMS` or `CSE-KMS`) and key
2052
+ # encryption option used (for example, `SSE_KMS` or `CSE_KMS`) and key
2043
2053
  # information. This is a client-side setting. If workgroup settings
2044
2054
  # override client-side settings, then the query uses the encryption
2045
2055
  # configuration that is specified for the workgroup, and also uses the
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-athena/customizations'
48
48
  # @!group service
49
49
  module Aws::Athena
50
50
 
51
- GEM_VERSION = '1.52.0'
51
+ GEM_VERSION = '1.53.0'
52
52
 
53
53
  end
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.52.0
4
+ version: 1.53.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-03-02 00:00:00.000000000 Z
11
+ date: 2022-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core