aws-sdk-athena 1.14.0 → 1.15.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 +4 -4
- data/lib/aws-sdk-athena.rb +1 -1
- data/lib/aws-sdk-athena/client.rb +1 -1
- data/lib/aws-sdk-athena/client_api.rb +15 -0
- data/lib/aws-sdk-athena/errors.rb +79 -0
- data/lib/aws-sdk-athena/types.rb +66 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8822c077fe2700888353a01b728428b77d650e84
|
|
4
|
+
data.tar.gz: 8cbb98ab8e665c71c334a862d3275877f8fff7f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz: '
|
|
6
|
+
metadata.gz: 8353fbf77b1264b51ab28eed0c2b26ab0066f13e3e7cebdb5a890c5a11cda8b3a28e1cfec2b1de66a35f9942306263f0712dc236d64d144e3cc90ba06f6ebbf2
|
|
7
|
+
data.tar.gz: '0975e343c0d47ec402341d2a89efcb9eda92d0c31aa8633ae37c8f6c786728364c18b7315b763368137631d13fa44cf373e250b7ef6c8a777c3e5474a314ddf9'
|
data/lib/aws-sdk-athena.rb
CHANGED
|
@@ -1153,7 +1153,7 @@ module Aws::Athena
|
|
|
1153
1153
|
params: params,
|
|
1154
1154
|
config: config)
|
|
1155
1155
|
context[:gem_name] = 'aws-sdk-athena'
|
|
1156
|
-
context[:gem_version] = '1.
|
|
1156
|
+
context[:gem_version] = '1.15.0'
|
|
1157
1157
|
Seahorse::Client::Request.new(handlers, context)
|
|
1158
1158
|
end
|
|
1159
1159
|
|
|
@@ -213,6 +213,13 @@ module Aws::Athena
|
|
|
213
213
|
GetWorkGroupOutput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroup, location_name: "WorkGroup"))
|
|
214
214
|
GetWorkGroupOutput.struct_class = Types::GetWorkGroupOutput
|
|
215
215
|
|
|
216
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
217
|
+
InternalServerException.struct_class = Types::InternalServerException
|
|
218
|
+
|
|
219
|
+
InvalidRequestException.add_member(:athena_error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "AthenaErrorCode"))
|
|
220
|
+
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
221
|
+
InvalidRequestException.struct_class = Types::InvalidRequestException
|
|
222
|
+
|
|
216
223
|
ListNamedQueriesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
|
217
224
|
ListNamedQueriesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxNamedQueriesCount, location_name: "MaxResults"))
|
|
218
225
|
ListNamedQueriesInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroup"))
|
|
@@ -287,6 +294,10 @@ module Aws::Athena
|
|
|
287
294
|
QueryExecutionStatus.add_member(:completion_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "CompletionDateTime"))
|
|
288
295
|
QueryExecutionStatus.struct_class = Types::QueryExecutionStatus
|
|
289
296
|
|
|
297
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
298
|
+
ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ResourceName"))
|
|
299
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
300
|
+
|
|
290
301
|
ResultConfiguration.add_member(:output_location, Shapes::ShapeRef.new(shape: String, location_name: "OutputLocation"))
|
|
291
302
|
ResultConfiguration.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
|
292
303
|
ResultConfiguration.struct_class = Types::ResultConfiguration
|
|
@@ -338,6 +349,10 @@ module Aws::Athena
|
|
|
338
349
|
|
|
339
350
|
TagResourceOutput.struct_class = Types::TagResourceOutput
|
|
340
351
|
|
|
352
|
+
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
353
|
+
TooManyRequestsException.add_member(:reason, Shapes::ShapeRef.new(shape: ThrottleReason, location_name: "Reason"))
|
|
354
|
+
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
|
355
|
+
|
|
341
356
|
UnprocessedNamedQueryId.add_member(:named_query_id, Shapes::ShapeRef.new(shape: NamedQueryId, location_name: "NamedQueryId"))
|
|
342
357
|
UnprocessedNamedQueryId.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
|
343
358
|
UnprocessedNamedQueryId.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
|
@@ -10,5 +10,84 @@ module Aws::Athena
|
|
|
10
10
|
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
|
12
12
|
|
|
13
|
+
class InternalServerException < ServiceError
|
|
14
|
+
|
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
16
|
+
# @param [String] message
|
|
17
|
+
# @param [Aws::Athena::Types::InternalServerException] data
|
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
19
|
+
super(context, message, data)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# @return [String]
|
|
23
|
+
def message
|
|
24
|
+
@message || @data[:message]
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
class InvalidRequestException < ServiceError
|
|
30
|
+
|
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
32
|
+
# @param [String] message
|
|
33
|
+
# @param [Aws::Athena::Types::InvalidRequestException] data
|
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
35
|
+
super(context, message, data)
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# @return [String]
|
|
39
|
+
def athena_error_code
|
|
40
|
+
@data[:athena_error_code]
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# @return [String]
|
|
44
|
+
def message
|
|
45
|
+
@message || @data[:message]
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
class ResourceNotFoundException < ServiceError
|
|
51
|
+
|
|
52
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
53
|
+
# @param [String] message
|
|
54
|
+
# @param [Aws::Athena::Types::ResourceNotFoundException] data
|
|
55
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
56
|
+
super(context, message, data)
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# @return [String]
|
|
60
|
+
def message
|
|
61
|
+
@message || @data[:message]
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# @return [String]
|
|
65
|
+
def resource_name
|
|
66
|
+
@data[:resource_name]
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
class TooManyRequestsException < ServiceError
|
|
72
|
+
|
|
73
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
74
|
+
# @param [String] message
|
|
75
|
+
# @param [Aws::Athena::Types::TooManyRequestsException] data
|
|
76
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
77
|
+
super(context, message, data)
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# @return [String]
|
|
81
|
+
def message
|
|
82
|
+
@message || @data[:message]
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# @return [String]
|
|
86
|
+
def reason
|
|
87
|
+
@data[:reason]
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
end
|
|
91
|
+
|
|
13
92
|
end
|
|
14
93
|
end
|
data/lib/aws-sdk-athena/types.rb
CHANGED
|
@@ -513,6 +513,38 @@ module Aws::Athena
|
|
|
513
513
|
include Aws::Structure
|
|
514
514
|
end
|
|
515
515
|
|
|
516
|
+
# Indicates a platform issue, which may be due to a transient condition
|
|
517
|
+
# or outage.
|
|
518
|
+
#
|
|
519
|
+
# @!attribute [rw] message
|
|
520
|
+
# @return [String]
|
|
521
|
+
#
|
|
522
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/InternalServerException AWS API Documentation
|
|
523
|
+
#
|
|
524
|
+
class InternalServerException < Struct.new(
|
|
525
|
+
:message)
|
|
526
|
+
include Aws::Structure
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
# Indicates that something is wrong with the input to the request. For
|
|
530
|
+
# example, a required parameter may be missing or out of range.
|
|
531
|
+
#
|
|
532
|
+
# @!attribute [rw] athena_error_code
|
|
533
|
+
# The error code returned when the query execution failed to process,
|
|
534
|
+
# or when the processing request for the named query failed.
|
|
535
|
+
# @return [String]
|
|
536
|
+
#
|
|
537
|
+
# @!attribute [rw] message
|
|
538
|
+
# @return [String]
|
|
539
|
+
#
|
|
540
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/InvalidRequestException AWS API Documentation
|
|
541
|
+
#
|
|
542
|
+
class InvalidRequestException < Struct.new(
|
|
543
|
+
:athena_error_code,
|
|
544
|
+
:message)
|
|
545
|
+
include Aws::Structure
|
|
546
|
+
end
|
|
547
|
+
|
|
516
548
|
# @note When making an API call, you may pass ListNamedQueriesInput
|
|
517
549
|
# data as a hash:
|
|
518
550
|
#
|
|
@@ -873,6 +905,22 @@ module Aws::Athena
|
|
|
873
905
|
include Aws::Structure
|
|
874
906
|
end
|
|
875
907
|
|
|
908
|
+
# A resource, such as a workgroup, was not found.
|
|
909
|
+
#
|
|
910
|
+
# @!attribute [rw] message
|
|
911
|
+
# @return [String]
|
|
912
|
+
#
|
|
913
|
+
# @!attribute [rw] resource_name
|
|
914
|
+
# @return [String]
|
|
915
|
+
#
|
|
916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ResourceNotFoundException AWS API Documentation
|
|
917
|
+
#
|
|
918
|
+
class ResourceNotFoundException < Struct.new(
|
|
919
|
+
:message,
|
|
920
|
+
:resource_name)
|
|
921
|
+
include Aws::Structure
|
|
922
|
+
end
|
|
923
|
+
|
|
876
924
|
# The location in Amazon S3 where query results are stored and the
|
|
877
925
|
# encryption option, if any, used for query results. These are known as
|
|
878
926
|
# "client-side settings". If workgroup settings override client-side
|
|
@@ -1234,6 +1282,24 @@ module Aws::Athena
|
|
|
1234
1282
|
#
|
|
1235
1283
|
class TagResourceOutput < Aws::EmptyStructure; end
|
|
1236
1284
|
|
|
1285
|
+
# Indicates that the request was throttled.
|
|
1286
|
+
#
|
|
1287
|
+
# @!attribute [rw] message
|
|
1288
|
+
# @return [String]
|
|
1289
|
+
#
|
|
1290
|
+
# @!attribute [rw] reason
|
|
1291
|
+
# The reason for the query throttling, for example, when it exceeds
|
|
1292
|
+
# the concurrent query limit.
|
|
1293
|
+
# @return [String]
|
|
1294
|
+
#
|
|
1295
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/TooManyRequestsException AWS API Documentation
|
|
1296
|
+
#
|
|
1297
|
+
class TooManyRequestsException < Struct.new(
|
|
1298
|
+
:message,
|
|
1299
|
+
:reason)
|
|
1300
|
+
include Aws::Structure
|
|
1301
|
+
end
|
|
1302
|
+
|
|
1237
1303
|
# Information about a named query ID that could not be processed.
|
|
1238
1304
|
#
|
|
1239
1305
|
# @!attribute [rw] named_query_id
|
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.15.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-05-
|
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.
|
|
22
|
+
version: 3.53.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '3'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 3.
|
|
32
|
+
version: 3.53.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|