aws-sdk-athena 1.53.0 → 1.54.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
  SHA256:
3
- metadata.gz: d45eafd0db4a2dd576613f0620092497ee6adcf1ed681f4ba4a1500b04ae14e3
4
- data.tar.gz: a53b56f8fbf2a72fb9ca8dcb7c7563ac2bee565c5895f3a149e77b3f25c3d637
3
+ metadata.gz: cee70bdcc6ab700eeb11158edbc2bb745af148eea586294ba4142df7bb47204d
4
+ data.tar.gz: 280a727beec9639123a521f021f374b7ad6ab410ab3a6fefd70d3596a66dcf61
5
5
  SHA512:
6
- metadata.gz: 05ea3defd3b925e981cbcde008389fb2223161f14a30a29f1a164cf8ec6655bb50445f31cea00889d6d8446fc53a4cd1142ef5447ca3b23da62096642f6c3156
7
- data.tar.gz: f9c403030dbec36516adc375bfd1a50a1d84259e739e68deb130687d13021165f3f70eb54d8af2bf3190a13175e64efab9944dc222c1b4abe7bcb5c0899d871d
6
+ metadata.gz: db41ec6386f593a687cca832efbf2e66ecf9bd5a0f159a8dc5e516a4d6162d6094b1036afefd3b6ff4956ee9e45d25667ed22f21427bf0863c9290f86a550ff6
7
+ data.tar.gz: 28bcdfbc159efb09fbbe90559d887295e490d869775c259f9e1d4537f61454f23708a94274fb107876644e1c3cee417f7a31309b569d48ab13cfd2adba65f617
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.54.0 (2022-06-30)
5
+ ------------------
6
+
7
+ * Feature - This feature introduces the API support for Athena's parameterized query and BatchGetPreparedStatement API.
8
+
4
9
  1.53.0 (2022-04-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.0
1
+ 1.54.0
@@ -409,6 +409,53 @@ module Aws::Athena
409
409
  req.send_request(options)
410
410
  end
411
411
 
412
+ # Returns the details of a single prepared statement or a list of up to
413
+ # 256 prepared statements for the array of prepared statement names that
414
+ # you provide. Requires you to have access to the workgroup to which the
415
+ # prepared statements belong. If a prepared statement cannot be
416
+ # retrieved for the name specified, the statement is listed in
417
+ # `UnprocessedPreparedStatementNames`.
418
+ #
419
+ # @option params [required, Array<String>] :prepared_statement_names
420
+ # A list of prepared statement names to return.
421
+ #
422
+ # @option params [required, String] :work_group
423
+ # The name of the workgroup to which the prepared statements belong.
424
+ #
425
+ # @return [Types::BatchGetPreparedStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
426
+ #
427
+ # * {Types::BatchGetPreparedStatementOutput#prepared_statements #prepared_statements} => Array&lt;Types::PreparedStatement&gt;
428
+ # * {Types::BatchGetPreparedStatementOutput#unprocessed_prepared_statement_names #unprocessed_prepared_statement_names} => Array&lt;Types::UnprocessedPreparedStatementName&gt;
429
+ #
430
+ # @example Request syntax with placeholder values
431
+ #
432
+ # resp = client.batch_get_prepared_statement({
433
+ # prepared_statement_names: ["StatementName"], # required
434
+ # work_group: "WorkGroupName", # required
435
+ # })
436
+ #
437
+ # @example Response structure
438
+ #
439
+ # resp.prepared_statements #=> Array
440
+ # resp.prepared_statements[0].statement_name #=> String
441
+ # resp.prepared_statements[0].query_statement #=> String
442
+ # resp.prepared_statements[0].work_group_name #=> String
443
+ # resp.prepared_statements[0].description #=> String
444
+ # resp.prepared_statements[0].last_modified_time #=> Time
445
+ # resp.unprocessed_prepared_statement_names #=> Array
446
+ # resp.unprocessed_prepared_statement_names[0].statement_name #=> String
447
+ # resp.unprocessed_prepared_statement_names[0].error_code #=> String
448
+ # resp.unprocessed_prepared_statement_names[0].error_message #=> String
449
+ #
450
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetPreparedStatement AWS API Documentation
451
+ #
452
+ # @overload batch_get_prepared_statement(params = {})
453
+ # @param [Hash] params ({})
454
+ def batch_get_prepared_statement(params = {}, options = {})
455
+ req = build_request(:batch_get_prepared_statement, params)
456
+ req.send_request(options)
457
+ end
458
+
412
459
  # Returns the details of a single query execution or a list of up to 50
413
460
  # query executions, which you provide as an array of query execution ID
414
461
  # strings. Requires you to have access to the workgroup in which the
@@ -462,6 +509,8 @@ module Aws::Athena
462
509
  # resp.query_executions[0].work_group #=> String
463
510
  # resp.query_executions[0].engine_version.selected_engine_version #=> String
464
511
  # resp.query_executions[0].engine_version.effective_engine_version #=> String
512
+ # resp.query_executions[0].execution_parameters #=> Array
513
+ # resp.query_executions[0].execution_parameters[0] #=> String
465
514
  # resp.unprocessed_query_execution_ids #=> Array
466
515
  # resp.unprocessed_query_execution_ids[0].query_execution_id #=> String
467
516
  # resp.unprocessed_query_execution_ids[0].error_code #=> String
@@ -1038,6 +1087,8 @@ module Aws::Athena
1038
1087
  # resp.query_execution.work_group #=> String
1039
1088
  # resp.query_execution.engine_version.selected_engine_version #=> String
1040
1089
  # resp.query_execution.engine_version.effective_engine_version #=> String
1090
+ # resp.query_execution.execution_parameters #=> Array
1091
+ # resp.query_execution.execution_parameters[0] #=> String
1041
1092
  #
1042
1093
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecution AWS API Documentation
1043
1094
  #
@@ -1400,7 +1451,7 @@ module Aws::Athena
1400
1451
  req.send_request(options)
1401
1452
  end
1402
1453
 
1403
- # Lists the prepared statements in the specfied workgroup.
1454
+ # Lists the prepared statements in the specified workgroup.
1404
1455
  #
1405
1456
  # @option params [required, String] :work_group
1406
1457
  # The workgroup to list the prepared statements for.
@@ -1705,6 +1756,11 @@ module Aws::Athena
1705
1756
  # @option params [String] :work_group
1706
1757
  # The name of the workgroup in which the query is being started.
1707
1758
  #
1759
+ # @option params [Array<String>] :execution_parameters
1760
+ # A list of values for the parameters in a query. The values are applied
1761
+ # sequentially to the parameters in the query in the order in which the
1762
+ # parameters occur.
1763
+ #
1708
1764
  # @return [Types::StartQueryExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1709
1765
  #
1710
1766
  # * {Types::StartQueryExecutionOutput#query_execution_id #query_execution_id} => String
@@ -1730,6 +1786,7 @@ module Aws::Athena
1730
1786
  # },
1731
1787
  # },
1732
1788
  # work_group: "WorkGroupName",
1789
+ # execution_parameters: ["ExecutionParameter"],
1733
1790
  # })
1734
1791
  #
1735
1792
  # @example Response structure
@@ -2063,7 +2120,7 @@ module Aws::Athena
2063
2120
  params: params,
2064
2121
  config: config)
2065
2122
  context[:gem_name] = 'aws-sdk-athena'
2066
- context[:gem_version] = '1.53.0'
2123
+ context[:gem_version] = '1.54.0'
2067
2124
  Seahorse::Client::Request.new(handlers, context)
2068
2125
  end
2069
2126
 
@@ -18,6 +18,8 @@ module Aws::Athena
18
18
  AthenaError = Shapes::StructureShape.new(name: 'AthenaError')
19
19
  BatchGetNamedQueryInput = Shapes::StructureShape.new(name: 'BatchGetNamedQueryInput')
20
20
  BatchGetNamedQueryOutput = Shapes::StructureShape.new(name: 'BatchGetNamedQueryOutput')
21
+ BatchGetPreparedStatementInput = Shapes::StructureShape.new(name: 'BatchGetPreparedStatementInput')
22
+ BatchGetPreparedStatementOutput = Shapes::StructureShape.new(name: 'BatchGetPreparedStatementOutput')
21
23
  BatchGetQueryExecutionInput = Shapes::StructureShape.new(name: 'BatchGetQueryExecutionInput')
22
24
  BatchGetQueryExecutionOutput = Shapes::StructureShape.new(name: 'BatchGetQueryExecutionOutput')
23
25
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -64,6 +66,8 @@ module Aws::Athena
64
66
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
65
67
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
66
68
  ErrorType = Shapes::IntegerShape.new(name: 'ErrorType')
69
+ ExecutionParameter = Shapes::StringShape.new(name: 'ExecutionParameter')
70
+ ExecutionParameters = Shapes::ListShape.new(name: 'ExecutionParameters')
67
71
  ExpressionString = Shapes::StringShape.new(name: 'ExpressionString')
68
72
  GetDataCatalogInput = Shapes::StructureShape.new(name: 'GetDataCatalogInput')
69
73
  GetDataCatalogOutput = Shapes::StructureShape.new(name: 'GetDataCatalogOutput')
@@ -125,6 +129,8 @@ module Aws::Athena
125
129
  ParametersMap = Shapes::MapShape.new(name: 'ParametersMap')
126
130
  ParametersMapValue = Shapes::StringShape.new(name: 'ParametersMapValue')
127
131
  PreparedStatement = Shapes::StructureShape.new(name: 'PreparedStatement')
132
+ PreparedStatementDetailsList = Shapes::ListShape.new(name: 'PreparedStatementDetailsList')
133
+ PreparedStatementNameList = Shapes::ListShape.new(name: 'PreparedStatementNameList')
128
134
  PreparedStatementSummary = Shapes::StructureShape.new(name: 'PreparedStatementSummary')
129
135
  PreparedStatementsList = Shapes::ListShape.new(name: 'PreparedStatementsList')
130
136
  QueryExecution = Shapes::StructureShape.new(name: 'QueryExecution')
@@ -168,6 +174,8 @@ module Aws::Athena
168
174
  TypeString = Shapes::StringShape.new(name: 'TypeString')
169
175
  UnprocessedNamedQueryId = Shapes::StructureShape.new(name: 'UnprocessedNamedQueryId')
170
176
  UnprocessedNamedQueryIdList = Shapes::ListShape.new(name: 'UnprocessedNamedQueryIdList')
177
+ UnprocessedPreparedStatementName = Shapes::StructureShape.new(name: 'UnprocessedPreparedStatementName')
178
+ UnprocessedPreparedStatementNameList = Shapes::ListShape.new(name: 'UnprocessedPreparedStatementNameList')
171
179
  UnprocessedQueryExecutionId = Shapes::StructureShape.new(name: 'UnprocessedQueryExecutionId')
172
180
  UnprocessedQueryExecutionIdList = Shapes::ListShape.new(name: 'UnprocessedQueryExecutionIdList')
173
181
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
@@ -207,6 +215,14 @@ module Aws::Athena
207
215
  BatchGetNamedQueryOutput.add_member(:unprocessed_named_query_ids, Shapes::ShapeRef.new(shape: UnprocessedNamedQueryIdList, location_name: "UnprocessedNamedQueryIds"))
208
216
  BatchGetNamedQueryOutput.struct_class = Types::BatchGetNamedQueryOutput
209
217
 
218
+ BatchGetPreparedStatementInput.add_member(:prepared_statement_names, Shapes::ShapeRef.new(shape: PreparedStatementNameList, required: true, location_name: "PreparedStatementNames"))
219
+ BatchGetPreparedStatementInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "WorkGroup"))
220
+ BatchGetPreparedStatementInput.struct_class = Types::BatchGetPreparedStatementInput
221
+
222
+ BatchGetPreparedStatementOutput.add_member(:prepared_statements, Shapes::ShapeRef.new(shape: PreparedStatementDetailsList, location_name: "PreparedStatements"))
223
+ BatchGetPreparedStatementOutput.add_member(:unprocessed_prepared_statement_names, Shapes::ShapeRef.new(shape: UnprocessedPreparedStatementNameList, location_name: "UnprocessedPreparedStatementNames"))
224
+ BatchGetPreparedStatementOutput.struct_class = Types::BatchGetPreparedStatementOutput
225
+
210
226
  BatchGetQueryExecutionInput.add_member(:query_execution_ids, Shapes::ShapeRef.new(shape: QueryExecutionIdList, required: true, location_name: "QueryExecutionIds"))
211
227
  BatchGetQueryExecutionInput.struct_class = Types::BatchGetQueryExecutionInput
212
228
 
@@ -325,6 +341,8 @@ module Aws::Athena
325
341
 
326
342
  EngineVersionsList.member = Shapes::ShapeRef.new(shape: EngineVersion)
327
343
 
344
+ ExecutionParameters.member = Shapes::ShapeRef.new(shape: ExecutionParameter)
345
+
328
346
  GetDataCatalogInput.add_member(:name, Shapes::ShapeRef.new(shape: CatalogNameString, required: true, location_name: "Name"))
329
347
  GetDataCatalogInput.struct_class = Types::GetDataCatalogInput
330
348
 
@@ -493,6 +511,10 @@ module Aws::Athena
493
511
  PreparedStatement.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastModifiedTime"))
494
512
  PreparedStatement.struct_class = Types::PreparedStatement
495
513
 
514
+ PreparedStatementDetailsList.member = Shapes::ShapeRef.new(shape: PreparedStatement)
515
+
516
+ PreparedStatementNameList.member = Shapes::ShapeRef.new(shape: StatementName)
517
+
496
518
  PreparedStatementSummary.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementName, location_name: "StatementName"))
497
519
  PreparedStatementSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastModifiedTime"))
498
520
  PreparedStatementSummary.struct_class = Types::PreparedStatementSummary
@@ -508,6 +530,7 @@ module Aws::Athena
508
530
  QueryExecution.add_member(:statistics, Shapes::ShapeRef.new(shape: QueryExecutionStatistics, location_name: "Statistics"))
509
531
  QueryExecution.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroup"))
510
532
  QueryExecution.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "EngineVersion"))
533
+ QueryExecution.add_member(:execution_parameters, Shapes::ShapeRef.new(shape: ExecutionParameters, location_name: "ExecutionParameters"))
511
534
  QueryExecution.struct_class = Types::QueryExecution
512
535
 
513
536
  QueryExecutionContext.add_member(:database, Shapes::ShapeRef.new(shape: DatabaseString, location_name: "Database"))
@@ -571,6 +594,7 @@ module Aws::Athena
571
594
  StartQueryExecutionInput.add_member(:query_execution_context, Shapes::ShapeRef.new(shape: QueryExecutionContext, location_name: "QueryExecutionContext"))
572
595
  StartQueryExecutionInput.add_member(:result_configuration, Shapes::ShapeRef.new(shape: ResultConfiguration, location_name: "ResultConfiguration"))
573
596
  StartQueryExecutionInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroup"))
597
+ StartQueryExecutionInput.add_member(:execution_parameters, Shapes::ShapeRef.new(shape: ExecutionParameters, location_name: "ExecutionParameters"))
574
598
  StartQueryExecutionInput.struct_class = Types::StartQueryExecutionInput
575
599
 
576
600
  StartQueryExecutionOutput.add_member(:query_execution_id, Shapes::ShapeRef.new(shape: QueryExecutionId, location_name: "QueryExecutionId"))
@@ -617,6 +641,13 @@ module Aws::Athena
617
641
 
618
642
  UnprocessedNamedQueryIdList.member = Shapes::ShapeRef.new(shape: UnprocessedNamedQueryId)
619
643
 
644
+ UnprocessedPreparedStatementName.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementName, location_name: "StatementName"))
645
+ UnprocessedPreparedStatementName.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
646
+ UnprocessedPreparedStatementName.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
647
+ UnprocessedPreparedStatementName.struct_class = Types::UnprocessedPreparedStatementName
648
+
649
+ UnprocessedPreparedStatementNameList.member = Shapes::ShapeRef.new(shape: UnprocessedPreparedStatementName)
650
+
620
651
  UnprocessedQueryExecutionId.add_member(:query_execution_id, Shapes::ShapeRef.new(shape: QueryExecutionId, location_name: "QueryExecutionId"))
621
652
  UnprocessedQueryExecutionId.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
622
653
  UnprocessedQueryExecutionId.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
@@ -725,6 +756,16 @@ module Aws::Athena
725
756
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
726
757
  end)
727
758
 
759
+ api.add_operation(:batch_get_prepared_statement, Seahorse::Model::Operation.new.tap do |o|
760
+ o.name = "BatchGetPreparedStatement"
761
+ o.http_method = "POST"
762
+ o.http_request_uri = "/"
763
+ o.input = Shapes::ShapeRef.new(shape: BatchGetPreparedStatementInput)
764
+ o.output = Shapes::ShapeRef.new(shape: BatchGetPreparedStatementOutput)
765
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
766
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
767
+ end)
768
+
728
769
  api.add_operation(:batch_get_query_execution, Seahorse::Model::Operation.new.tap do |o|
729
770
  o.name = "BatchGetQueryExecution"
730
771
  o.http_method = "POST"
@@ -132,6 +132,49 @@ module Aws::Athena
132
132
  include Aws::Structure
133
133
  end
134
134
 
135
+ # @note When making an API call, you may pass BatchGetPreparedStatementInput
136
+ # data as a hash:
137
+ #
138
+ # {
139
+ # prepared_statement_names: ["StatementName"], # required
140
+ # work_group: "WorkGroupName", # required
141
+ # }
142
+ #
143
+ # @!attribute [rw] prepared_statement_names
144
+ # A list of prepared statement names to return.
145
+ # @return [Array<String>]
146
+ #
147
+ # @!attribute [rw] work_group
148
+ # The name of the workgroup to which the prepared statements belong.
149
+ # @return [String]
150
+ #
151
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetPreparedStatementInput AWS API Documentation
152
+ #
153
+ class BatchGetPreparedStatementInput < Struct.new(
154
+ :prepared_statement_names,
155
+ :work_group)
156
+ SENSITIVE = []
157
+ include Aws::Structure
158
+ end
159
+
160
+ # @!attribute [rw] prepared_statements
161
+ # The list of prepared statements returned.
162
+ # @return [Array<Types::PreparedStatement>]
163
+ #
164
+ # @!attribute [rw] unprocessed_prepared_statement_names
165
+ # A list of one or more prepared statements that were requested but
166
+ # could not be returned.
167
+ # @return [Array<Types::UnprocessedPreparedStatementName>]
168
+ #
169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetPreparedStatementOutput AWS API Documentation
170
+ #
171
+ class BatchGetPreparedStatementOutput < Struct.new(
172
+ :prepared_statements,
173
+ :unprocessed_prepared_statement_names)
174
+ SENSITIVE = []
175
+ include Aws::Structure
176
+ end
177
+
135
178
  # @note When making an API call, you may pass BatchGetQueryExecutionInput
136
179
  # data as a hash:
137
180
  #
@@ -1837,6 +1880,12 @@ module Aws::Athena
1837
1880
  # The engine version that executed the query.
1838
1881
  # @return [Types::EngineVersion]
1839
1882
  #
1883
+ # @!attribute [rw] execution_parameters
1884
+ # A list of values for the parameters in a query. The values are
1885
+ # applied sequentially to the parameters in the query in the order in
1886
+ # which the parameters occur.
1887
+ # @return [Array<String>]
1888
+ #
1840
1889
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecution AWS API Documentation
1841
1890
  #
1842
1891
  class QueryExecution < Struct.new(
@@ -1848,7 +1897,8 @@ module Aws::Athena
1848
1897
  :status,
1849
1898
  :statistics,
1850
1899
  :work_group,
1851
- :engine_version)
1900
+ :engine_version,
1901
+ :execution_parameters)
1852
1902
  SENSITIVE = []
1853
1903
  include Aws::Structure
1854
1904
  end
@@ -1999,6 +2049,7 @@ module Aws::Athena
1999
2049
  # @return [String]
2000
2050
  #
2001
2051
  # @!attribute [rw] resource_name
2052
+ # The name of the Amazon resource.
2002
2053
  # @return [String]
2003
2054
  #
2004
2055
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ResourceNotFoundException AWS API Documentation
@@ -2326,6 +2377,7 @@ module Aws::Athena
2326
2377
  # },
2327
2378
  # },
2328
2379
  # work_group: "WorkGroupName",
2380
+ # execution_parameters: ["ExecutionParameter"],
2329
2381
  # }
2330
2382
  #
2331
2383
  # @!attribute [rw] query_string
@@ -2367,6 +2419,12 @@ module Aws::Athena
2367
2419
  # The name of the workgroup in which the query is being started.
2368
2420
  # @return [String]
2369
2421
  #
2422
+ # @!attribute [rw] execution_parameters
2423
+ # A list of values for the parameters in a query. The values are
2424
+ # applied sequentially to the parameters in the query in the order in
2425
+ # which the parameters occur.
2426
+ # @return [Array<String>]
2427
+ #
2370
2428
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecutionInput AWS API Documentation
2371
2429
  #
2372
2430
  class StartQueryExecutionInput < Struct.new(
@@ -2374,7 +2432,8 @@ module Aws::Athena
2374
2432
  :client_request_token,
2375
2433
  :query_execution_context,
2376
2434
  :result_configuration,
2377
- :work_group)
2435
+ :work_group,
2436
+ :execution_parameters)
2378
2437
  SENSITIVE = []
2379
2438
  include Aws::Structure
2380
2439
  end
@@ -2590,6 +2649,42 @@ module Aws::Athena
2590
2649
  include Aws::Structure
2591
2650
  end
2592
2651
 
2652
+ # The name of a prepared statement that could not be returned.
2653
+ #
2654
+ # @!attribute [rw] statement_name
2655
+ # The name of a prepared statement that could not be returned due to
2656
+ # an error.
2657
+ # @return [String]
2658
+ #
2659
+ # @!attribute [rw] error_code
2660
+ # The error code returned when the request for the prepared statement
2661
+ # failed.
2662
+ # @return [String]
2663
+ #
2664
+ # @!attribute [rw] error_message
2665
+ # The error message containing the reason why the prepared statement
2666
+ # could not be returned. The following error messages are possible:
2667
+ #
2668
+ # * `INVALID_INPUT` - The name of the prepared statement that was
2669
+ # provided is not valid (for example, the name is too long).
2670
+ #
2671
+ # * `STATEMENT_NOT_FOUND` - A prepared statement with the name
2672
+ # provided could not be found.
2673
+ #
2674
+ # * `UNAUTHORIZED` - The requester does not have permission to access
2675
+ # the workgroup that contains the prepared statement.
2676
+ # @return [String]
2677
+ #
2678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UnprocessedPreparedStatementName AWS API Documentation
2679
+ #
2680
+ class UnprocessedPreparedStatementName < Struct.new(
2681
+ :statement_name,
2682
+ :error_code,
2683
+ :error_message)
2684
+ SENSITIVE = []
2685
+ include Aws::Structure
2686
+ end
2687
+
2593
2688
  # Describes a query execution that failed to process.
2594
2689
  #
2595
2690
  # @!attribute [rw] query_execution_id
@@ -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.53.0'
51
+ GEM_VERSION = '1.54.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.53.0
4
+ version: 1.54.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-04-15 00:00:00.000000000 Z
11
+ date: 2022-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core