aws-sdk-athena 1.55.0 → 1.56.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: d93a10bf117ae8c6ab4bb6e57c3fbe33d4b116abe69e9f38786486ebba621cfb
4
- data.tar.gz: c08af9b491cbacbd85e97ed2a1e9b93fc56a716704e33ed780fe738d14da62d3
3
+ metadata.gz: 74be53714673ca3fa2a12aabe2c8cee44bc474d05cc982af921a6b462a4ba0cc
4
+ data.tar.gz: 2a6badd12bb32ddc909385ea984a845ca7d59a2608a0e6baa68a2832e5ede8b1
5
5
  SHA512:
6
- metadata.gz: 88a9ab5998ed7f54646b12ca95e92ede86b620ef0cbd6686d081862cc145b0b906772de30601fb0e9701911919e3c67c5fe9f7e11dbb0bf487d503e05e1e9e04
7
- data.tar.gz: e4113fed8f2052810d2db2883fed1715e46790e43595357b0c29cbfb71fe3a18a7ebb3a7313b63178bd067b84af0521281f7b2a901f94782aec384528b14d1e0
6
+ metadata.gz: a25ffa4171d27047a55191426c5646117b88bdb4cde400c658877a1e338c79183528826eed7691021c062378a95a4e6dbf3546813a9aacbb6b73d8b62382dfa8
7
+ data.tar.gz: a83cf1a9bdb900b53919eb5983fffbe9cc6395028f5822e3b5b6dc04948559a9cc12fb027cfeef58812c17c14222a57e551b2b3384535d12b6b22e6ee5d569b7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.56.0 (2022-07-21)
5
+ ------------------
6
+
7
+ * Feature - This feature allows customers to retrieve runtime statistics for completed queries
8
+
4
9
  1.55.0 (2022-07-14)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.0
1
+ 1.56.0
@@ -1175,6 +1175,60 @@ module Aws::Athena
1175
1175
  req.send_request(options)
1176
1176
  end
1177
1177
 
1178
+ # Returns query execution runtime statistics related to a single
1179
+ # execution of a query if you have access to the workgroup in which the
1180
+ # query ran. The query execution runtime statistics is returned only
1181
+ # when QueryExecutionStatus$State is in a SUCCEEDED or FAILED state.
1182
+ #
1183
+ # @option params [required, String] :query_execution_id
1184
+ # The unique ID of the query execution.
1185
+ #
1186
+ # @return [Types::GetQueryRuntimeStatisticsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1187
+ #
1188
+ # * {Types::GetQueryRuntimeStatisticsOutput#query_runtime_statistics #query_runtime_statistics} => Types::QueryRuntimeStatistics
1189
+ #
1190
+ # @example Request syntax with placeholder values
1191
+ #
1192
+ # resp = client.get_query_runtime_statistics({
1193
+ # query_execution_id: "QueryExecutionId", # required
1194
+ # })
1195
+ #
1196
+ # @example Response structure
1197
+ #
1198
+ # resp.query_runtime_statistics.timeline.query_queue_time_in_millis #=> Integer
1199
+ # resp.query_runtime_statistics.timeline.query_planning_time_in_millis #=> Integer
1200
+ # resp.query_runtime_statistics.timeline.engine_execution_time_in_millis #=> Integer
1201
+ # resp.query_runtime_statistics.timeline.service_processing_time_in_millis #=> Integer
1202
+ # resp.query_runtime_statistics.timeline.total_execution_time_in_millis #=> Integer
1203
+ # resp.query_runtime_statistics.rows.input_rows #=> Integer
1204
+ # resp.query_runtime_statistics.rows.input_bytes #=> Integer
1205
+ # resp.query_runtime_statistics.rows.output_bytes #=> Integer
1206
+ # resp.query_runtime_statistics.rows.output_rows #=> Integer
1207
+ # resp.query_runtime_statistics.output_stage.stage_id #=> Integer
1208
+ # resp.query_runtime_statistics.output_stage.state #=> String
1209
+ # resp.query_runtime_statistics.output_stage.output_bytes #=> Integer
1210
+ # resp.query_runtime_statistics.output_stage.output_rows #=> Integer
1211
+ # resp.query_runtime_statistics.output_stage.input_bytes #=> Integer
1212
+ # resp.query_runtime_statistics.output_stage.input_rows #=> Integer
1213
+ # resp.query_runtime_statistics.output_stage.execution_time #=> Integer
1214
+ # resp.query_runtime_statistics.output_stage.query_stage_plan.name #=> String
1215
+ # resp.query_runtime_statistics.output_stage.query_stage_plan.identifier #=> String
1216
+ # resp.query_runtime_statistics.output_stage.query_stage_plan.children #=> Array
1217
+ # resp.query_runtime_statistics.output_stage.query_stage_plan.children[0] #=> Types::QueryStagePlanNode
1218
+ # resp.query_runtime_statistics.output_stage.query_stage_plan.remote_sources #=> Array
1219
+ # resp.query_runtime_statistics.output_stage.query_stage_plan.remote_sources[0] #=> String
1220
+ # resp.query_runtime_statistics.output_stage.sub_stages #=> Array
1221
+ # resp.query_runtime_statistics.output_stage.sub_stages[0] #=> Types::QueryStage
1222
+ #
1223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryRuntimeStatistics AWS API Documentation
1224
+ #
1225
+ # @overload get_query_runtime_statistics(params = {})
1226
+ # @param [Hash] params ({})
1227
+ def get_query_runtime_statistics(params = {}, options = {})
1228
+ req = build_request(:get_query_runtime_statistics, params)
1229
+ req.send_request(options)
1230
+ end
1231
+
1178
1232
  # Returns table metadata for the specified catalog, database, and table.
1179
1233
  #
1180
1234
  # @option params [required, String] :catalog_name
@@ -1372,6 +1426,8 @@ module Aws::Athena
1372
1426
  # * {Types::ListEngineVersionsOutput#engine_versions #engine_versions} => Array<Types::EngineVersion>
1373
1427
  # * {Types::ListEngineVersionsOutput#next_token #next_token} => String
1374
1428
  #
1429
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1430
+ #
1375
1431
  # @example Request syntax with placeholder values
1376
1432
  #
1377
1433
  # resp = client.list_engine_versions({
@@ -2120,7 +2176,7 @@ module Aws::Athena
2120
2176
  params: params,
2121
2177
  config: config)
2122
2178
  context[:gem_name] = 'aws-sdk-athena'
2123
- context[:gem_version] = '1.55.0'
2179
+ context[:gem_version] = '1.56.0'
2124
2180
  Seahorse::Client::Request.new(handlers, context)
2125
2181
  end
2126
2182
 
@@ -82,6 +82,8 @@ module Aws::Athena
82
82
  GetQueryExecutionOutput = Shapes::StructureShape.new(name: 'GetQueryExecutionOutput')
83
83
  GetQueryResultsInput = Shapes::StructureShape.new(name: 'GetQueryResultsInput')
84
84
  GetQueryResultsOutput = Shapes::StructureShape.new(name: 'GetQueryResultsOutput')
85
+ GetQueryRuntimeStatisticsInput = Shapes::StructureShape.new(name: 'GetQueryRuntimeStatisticsInput')
86
+ GetQueryRuntimeStatisticsOutput = Shapes::StructureShape.new(name: 'GetQueryRuntimeStatisticsOutput')
85
87
  GetTableMetadataInput = Shapes::StructureShape.new(name: 'GetTableMetadataInput')
86
88
  GetTableMetadataOutput = Shapes::StructureShape.new(name: 'GetTableMetadataOutput')
87
89
  GetWorkGroupInput = Shapes::StructureShape.new(name: 'GetWorkGroupInput')
@@ -142,6 +144,13 @@ module Aws::Athena
142
144
  QueryExecutionState = Shapes::StringShape.new(name: 'QueryExecutionState')
143
145
  QueryExecutionStatistics = Shapes::StructureShape.new(name: 'QueryExecutionStatistics')
144
146
  QueryExecutionStatus = Shapes::StructureShape.new(name: 'QueryExecutionStatus')
147
+ QueryRuntimeStatistics = Shapes::StructureShape.new(name: 'QueryRuntimeStatistics')
148
+ QueryRuntimeStatisticsRows = Shapes::StructureShape.new(name: 'QueryRuntimeStatisticsRows')
149
+ QueryRuntimeStatisticsTimeline = Shapes::StructureShape.new(name: 'QueryRuntimeStatisticsTimeline')
150
+ QueryStage = Shapes::StructureShape.new(name: 'QueryStage')
151
+ QueryStagePlanNode = Shapes::StructureShape.new(name: 'QueryStagePlanNode')
152
+ QueryStagePlanNodes = Shapes::ListShape.new(name: 'QueryStagePlanNodes')
153
+ QueryStages = Shapes::ListShape.new(name: 'QueryStages')
145
154
  QueryString = Shapes::StringShape.new(name: 'QueryString')
146
155
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
147
156
  ResultConfiguration = Shapes::StructureShape.new(name: 'ResultConfiguration')
@@ -159,6 +168,7 @@ module Aws::Athena
159
168
  StopQueryExecutionInput = Shapes::StructureShape.new(name: 'StopQueryExecutionInput')
160
169
  StopQueryExecutionOutput = Shapes::StructureShape.new(name: 'StopQueryExecutionOutput')
161
170
  String = Shapes::StringShape.new(name: 'String')
171
+ StringList = Shapes::ListShape.new(name: 'StringList')
162
172
  TableMetadata = Shapes::StructureShape.new(name: 'TableMetadata')
163
173
  TableMetadataList = Shapes::ListShape.new(name: 'TableMetadataList')
164
174
  TableTypeString = Shapes::StringShape.new(name: 'TableTypeString')
@@ -387,6 +397,12 @@ module Aws::Athena
387
397
  GetQueryResultsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
388
398
  GetQueryResultsOutput.struct_class = Types::GetQueryResultsOutput
389
399
 
400
+ GetQueryRuntimeStatisticsInput.add_member(:query_execution_id, Shapes::ShapeRef.new(shape: QueryExecutionId, required: true, location_name: "QueryExecutionId"))
401
+ GetQueryRuntimeStatisticsInput.struct_class = Types::GetQueryRuntimeStatisticsInput
402
+
403
+ GetQueryRuntimeStatisticsOutput.add_member(:query_runtime_statistics, Shapes::ShapeRef.new(shape: QueryRuntimeStatistics, location_name: "QueryRuntimeStatistics"))
404
+ GetQueryRuntimeStatisticsOutput.struct_class = Types::GetQueryRuntimeStatisticsOutput
405
+
390
406
  GetTableMetadataInput.add_member(:catalog_name, Shapes::ShapeRef.new(shape: CatalogNameString, required: true, location_name: "CatalogName"))
391
407
  GetTableMetadataInput.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
392
408
  GetTableMetadataInput.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
@@ -559,6 +575,45 @@ module Aws::Athena
559
575
  QueryExecutionStatus.add_member(:athena_error, Shapes::ShapeRef.new(shape: AthenaError, location_name: "AthenaError"))
560
576
  QueryExecutionStatus.struct_class = Types::QueryExecutionStatus
561
577
 
578
+ QueryRuntimeStatistics.add_member(:timeline, Shapes::ShapeRef.new(shape: QueryRuntimeStatisticsTimeline, location_name: "Timeline"))
579
+ QueryRuntimeStatistics.add_member(:rows, Shapes::ShapeRef.new(shape: QueryRuntimeStatisticsRows, location_name: "Rows"))
580
+ QueryRuntimeStatistics.add_member(:output_stage, Shapes::ShapeRef.new(shape: QueryStage, location_name: "OutputStage"))
581
+ QueryRuntimeStatistics.struct_class = Types::QueryRuntimeStatistics
582
+
583
+ QueryRuntimeStatisticsRows.add_member(:input_rows, Shapes::ShapeRef.new(shape: Long, location_name: "InputRows"))
584
+ QueryRuntimeStatisticsRows.add_member(:input_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "InputBytes"))
585
+ QueryRuntimeStatisticsRows.add_member(:output_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "OutputBytes"))
586
+ QueryRuntimeStatisticsRows.add_member(:output_rows, Shapes::ShapeRef.new(shape: Long, location_name: "OutputRows"))
587
+ QueryRuntimeStatisticsRows.struct_class = Types::QueryRuntimeStatisticsRows
588
+
589
+ QueryRuntimeStatisticsTimeline.add_member(:query_queue_time_in_millis, Shapes::ShapeRef.new(shape: Long, location_name: "QueryQueueTimeInMillis"))
590
+ QueryRuntimeStatisticsTimeline.add_member(:query_planning_time_in_millis, Shapes::ShapeRef.new(shape: Long, location_name: "QueryPlanningTimeInMillis"))
591
+ QueryRuntimeStatisticsTimeline.add_member(:engine_execution_time_in_millis, Shapes::ShapeRef.new(shape: Long, location_name: "EngineExecutionTimeInMillis"))
592
+ QueryRuntimeStatisticsTimeline.add_member(:service_processing_time_in_millis, Shapes::ShapeRef.new(shape: Long, location_name: "ServiceProcessingTimeInMillis"))
593
+ QueryRuntimeStatisticsTimeline.add_member(:total_execution_time_in_millis, Shapes::ShapeRef.new(shape: Long, location_name: "TotalExecutionTimeInMillis"))
594
+ QueryRuntimeStatisticsTimeline.struct_class = Types::QueryRuntimeStatisticsTimeline
595
+
596
+ QueryStage.add_member(:stage_id, Shapes::ShapeRef.new(shape: Long, location_name: "StageId"))
597
+ QueryStage.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "State"))
598
+ QueryStage.add_member(:output_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "OutputBytes"))
599
+ QueryStage.add_member(:output_rows, Shapes::ShapeRef.new(shape: Long, location_name: "OutputRows"))
600
+ QueryStage.add_member(:input_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "InputBytes"))
601
+ QueryStage.add_member(:input_rows, Shapes::ShapeRef.new(shape: Long, location_name: "InputRows"))
602
+ QueryStage.add_member(:execution_time, Shapes::ShapeRef.new(shape: Long, location_name: "ExecutionTime"))
603
+ QueryStage.add_member(:query_stage_plan, Shapes::ShapeRef.new(shape: QueryStagePlanNode, location_name: "QueryStagePlan"))
604
+ QueryStage.add_member(:sub_stages, Shapes::ShapeRef.new(shape: QueryStages, location_name: "SubStages"))
605
+ QueryStage.struct_class = Types::QueryStage
606
+
607
+ QueryStagePlanNode.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
608
+ QueryStagePlanNode.add_member(:identifier, Shapes::ShapeRef.new(shape: String, location_name: "Identifier"))
609
+ QueryStagePlanNode.add_member(:children, Shapes::ShapeRef.new(shape: QueryStagePlanNodes, location_name: "Children"))
610
+ QueryStagePlanNode.add_member(:remote_sources, Shapes::ShapeRef.new(shape: StringList, location_name: "RemoteSources"))
611
+ QueryStagePlanNode.struct_class = Types::QueryStagePlanNode
612
+
613
+ QueryStagePlanNodes.member = Shapes::ShapeRef.new(shape: QueryStagePlanNode)
614
+
615
+ QueryStages.member = Shapes::ShapeRef.new(shape: QueryStage)
616
+
562
617
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
563
618
  ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ResourceName"))
564
619
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
@@ -607,6 +662,8 @@ module Aws::Athena
607
662
 
608
663
  StopQueryExecutionOutput.struct_class = Types::StopQueryExecutionOutput
609
664
 
665
+ StringList.member = Shapes::ShapeRef.new(shape: String)
666
+
610
667
  TableMetadata.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
611
668
  TableMetadata.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTime"))
612
669
  TableMetadata.add_member(:last_access_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastAccessTime"))
@@ -927,6 +984,16 @@ module Aws::Athena
927
984
  )
928
985
  end)
929
986
 
987
+ api.add_operation(:get_query_runtime_statistics, Seahorse::Model::Operation.new.tap do |o|
988
+ o.name = "GetQueryRuntimeStatistics"
989
+ o.http_method = "POST"
990
+ o.http_request_uri = "/"
991
+ o.input = Shapes::ShapeRef.new(shape: GetQueryRuntimeStatisticsInput)
992
+ o.output = Shapes::ShapeRef.new(shape: GetQueryRuntimeStatisticsOutput)
993
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
994
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
995
+ end)
996
+
930
997
  api.add_operation(:get_table_metadata, Seahorse::Model::Operation.new.tap do |o|
931
998
  o.name = "GetTableMetadata"
932
999
  o.http_method = "POST"
@@ -989,6 +1056,12 @@ module Aws::Athena
989
1056
  o.output = Shapes::ShapeRef.new(shape: ListEngineVersionsOutput)
990
1057
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
991
1058
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1059
+ o[:pager] = Aws::Pager.new(
1060
+ limit_key: "max_results",
1061
+ tokens: {
1062
+ "next_token" => "next_token"
1063
+ }
1064
+ )
992
1065
  end)
993
1066
 
994
1067
  api.add_operation(:list_named_queries, Seahorse::Model::Operation.new.tap do |o|
@@ -1132,6 +1132,37 @@ module Aws::Athena
1132
1132
  include Aws::Structure
1133
1133
  end
1134
1134
 
1135
+ # @note When making an API call, you may pass GetQueryRuntimeStatisticsInput
1136
+ # data as a hash:
1137
+ #
1138
+ # {
1139
+ # query_execution_id: "QueryExecutionId", # required
1140
+ # }
1141
+ #
1142
+ # @!attribute [rw] query_execution_id
1143
+ # The unique ID of the query execution.
1144
+ # @return [String]
1145
+ #
1146
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryRuntimeStatisticsInput AWS API Documentation
1147
+ #
1148
+ class GetQueryRuntimeStatisticsInput < Struct.new(
1149
+ :query_execution_id)
1150
+ SENSITIVE = []
1151
+ include Aws::Structure
1152
+ end
1153
+
1154
+ # @!attribute [rw] query_runtime_statistics
1155
+ # Runtime statistics about the query execution.
1156
+ # @return [Types::QueryRuntimeStatistics]
1157
+ #
1158
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryRuntimeStatisticsOutput AWS API Documentation
1159
+ #
1160
+ class GetQueryRuntimeStatisticsOutput < Struct.new(
1161
+ :query_runtime_statistics)
1162
+ SENSITIVE = []
1163
+ include Aws::Structure
1164
+ end
1165
+
1135
1166
  # @note When making an API call, you may pass GetTableMetadataInput
1136
1167
  # data as a hash:
1137
1168
  #
@@ -2047,6 +2078,200 @@ module Aws::Athena
2047
2078
  include Aws::Structure
2048
2079
  end
2049
2080
 
2081
+ # The query execution timeline, statistics on input and output rows and
2082
+ # bytes, and the different query stages that form the query execution
2083
+ # plan.
2084
+ #
2085
+ # @!attribute [rw] timeline
2086
+ # Timeline statistics such as query queue time, planning time,
2087
+ # execution time, service processing time, and total execution time.
2088
+ # @return [Types::QueryRuntimeStatisticsTimeline]
2089
+ #
2090
+ # @!attribute [rw] rows
2091
+ # Statistics such as input rows and bytes read by the query, rows and
2092
+ # bytes output by the query, and the number of rows written by the
2093
+ # query.
2094
+ # @return [Types::QueryRuntimeStatisticsRows]
2095
+ #
2096
+ # @!attribute [rw] output_stage
2097
+ # Stage statistics such as input and output rows and bytes, execution
2098
+ # time, and stage state. This information also includes substages and
2099
+ # the query stage plan.
2100
+ # @return [Types::QueryStage]
2101
+ #
2102
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryRuntimeStatistics AWS API Documentation
2103
+ #
2104
+ class QueryRuntimeStatistics < Struct.new(
2105
+ :timeline,
2106
+ :rows,
2107
+ :output_stage)
2108
+ SENSITIVE = []
2109
+ include Aws::Structure
2110
+ end
2111
+
2112
+ # Statistics such as input rows and bytes read by the query, rows and
2113
+ # bytes output by the query, and the number of rows written by the
2114
+ # query.
2115
+ #
2116
+ # @!attribute [rw] input_rows
2117
+ # The number of rows read to execute the query.
2118
+ # @return [Integer]
2119
+ #
2120
+ # @!attribute [rw] input_bytes
2121
+ # The number of bytes read to execute the query.
2122
+ # @return [Integer]
2123
+ #
2124
+ # @!attribute [rw] output_bytes
2125
+ # The number of bytes returned by the query.
2126
+ # @return [Integer]
2127
+ #
2128
+ # @!attribute [rw] output_rows
2129
+ # The number of rows returned by the query.
2130
+ # @return [Integer]
2131
+ #
2132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryRuntimeStatisticsRows AWS API Documentation
2133
+ #
2134
+ class QueryRuntimeStatisticsRows < Struct.new(
2135
+ :input_rows,
2136
+ :input_bytes,
2137
+ :output_bytes,
2138
+ :output_rows)
2139
+ SENSITIVE = []
2140
+ include Aws::Structure
2141
+ end
2142
+
2143
+ # Timeline statistics such as query queue time, planning time, execution
2144
+ # time, service processing time, and total execution time.
2145
+ #
2146
+ # @!attribute [rw] query_queue_time_in_millis
2147
+ # The number of milliseconds that the query was in your query queue
2148
+ # waiting for resources. Note that if transient errors occur, Athena
2149
+ # might automatically add the query back to the queue.
2150
+ # @return [Integer]
2151
+ #
2152
+ # @!attribute [rw] query_planning_time_in_millis
2153
+ # The number of milliseconds that Athena took to plan the query
2154
+ # processing flow. This includes the time spent retrieving table
2155
+ # partitions from the data source. Note that because the query engine
2156
+ # performs the query planning, query planning time is a subset of
2157
+ # engine processing time.
2158
+ # @return [Integer]
2159
+ #
2160
+ # @!attribute [rw] engine_execution_time_in_millis
2161
+ # The number of milliseconds that the query took to execute.
2162
+ # @return [Integer]
2163
+ #
2164
+ # @!attribute [rw] service_processing_time_in_millis
2165
+ # The number of milliseconds that Athena took to finalize and publish
2166
+ # the query results after the query engine finished running the query.
2167
+ # @return [Integer]
2168
+ #
2169
+ # @!attribute [rw] total_execution_time_in_millis
2170
+ # The number of milliseconds that Athena took to run the query.
2171
+ # @return [Integer]
2172
+ #
2173
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryRuntimeStatisticsTimeline AWS API Documentation
2174
+ #
2175
+ class QueryRuntimeStatisticsTimeline < Struct.new(
2176
+ :query_queue_time_in_millis,
2177
+ :query_planning_time_in_millis,
2178
+ :engine_execution_time_in_millis,
2179
+ :service_processing_time_in_millis,
2180
+ :total_execution_time_in_millis)
2181
+ SENSITIVE = []
2182
+ include Aws::Structure
2183
+ end
2184
+
2185
+ # Stage statistics such as input and output rows and bytes, execution
2186
+ # time and stage state. This information also includes substages and the
2187
+ # query stage plan.
2188
+ #
2189
+ # @!attribute [rw] stage_id
2190
+ # The identifier for a stage.
2191
+ # @return [Integer]
2192
+ #
2193
+ # @!attribute [rw] state
2194
+ # State of the stage after query execution.
2195
+ # @return [String]
2196
+ #
2197
+ # @!attribute [rw] output_bytes
2198
+ # The number of bytes output from the stage after execution.
2199
+ # @return [Integer]
2200
+ #
2201
+ # @!attribute [rw] output_rows
2202
+ # The number of rows output from the stage after execution.
2203
+ # @return [Integer]
2204
+ #
2205
+ # @!attribute [rw] input_bytes
2206
+ # The number of bytes input into the stage for execution.
2207
+ # @return [Integer]
2208
+ #
2209
+ # @!attribute [rw] input_rows
2210
+ # The number of rows input into the stage for execution.
2211
+ # @return [Integer]
2212
+ #
2213
+ # @!attribute [rw] execution_time
2214
+ # Time taken to execute this stage.
2215
+ # @return [Integer]
2216
+ #
2217
+ # @!attribute [rw] query_stage_plan
2218
+ # Stage plan information such as name, identifier, sub plans, and
2219
+ # source stages.
2220
+ # @return [Types::QueryStagePlanNode]
2221
+ #
2222
+ # @!attribute [rw] sub_stages
2223
+ # List of sub query stages that form this stage execution plan.
2224
+ # @return [Array<Types::QueryStage>]
2225
+ #
2226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryStage AWS API Documentation
2227
+ #
2228
+ class QueryStage < Struct.new(
2229
+ :stage_id,
2230
+ :state,
2231
+ :output_bytes,
2232
+ :output_rows,
2233
+ :input_bytes,
2234
+ :input_rows,
2235
+ :execution_time,
2236
+ :query_stage_plan,
2237
+ :sub_stages)
2238
+ SENSITIVE = []
2239
+ include Aws::Structure
2240
+ end
2241
+
2242
+ # Stage plan information such as name, identifier, sub plans, and remote
2243
+ # sources.
2244
+ #
2245
+ # @!attribute [rw] name
2246
+ # Name of the query stage plan that describes the operation this stage
2247
+ # is performing as part of query execution.
2248
+ # @return [String]
2249
+ #
2250
+ # @!attribute [rw] identifier
2251
+ # Information about the operation this query stage plan node is
2252
+ # performing.
2253
+ # @return [String]
2254
+ #
2255
+ # @!attribute [rw] children
2256
+ # Stage plan information such as name, identifier, sub plans, and
2257
+ # remote sources of child plan nodes/
2258
+ # @return [Array<Types::QueryStagePlanNode>]
2259
+ #
2260
+ # @!attribute [rw] remote_sources
2261
+ # Source plan node IDs.
2262
+ # @return [Array<String>]
2263
+ #
2264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryStagePlanNode AWS API Documentation
2265
+ #
2266
+ class QueryStagePlanNode < Struct.new(
2267
+ :name,
2268
+ :identifier,
2269
+ :children,
2270
+ :remote_sources)
2271
+ SENSITIVE = []
2272
+ include Aws::Structure
2273
+ end
2274
+
2050
2275
  # A resource, such as a workgroup, was not found.
2051
2276
  #
2052
2277
  # @!attribute [rw] message
@@ -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.55.0'
51
+ GEM_VERSION = '1.56.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.55.0
4
+ version: 1.56.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-07-14 00:00:00.000000000 Z
11
+ date: 2022-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core