aws-sdk-athena 1.55.0 → 1.57.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.
@@ -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
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-athena/types'
15
15
  require_relative 'aws-sdk-athena/client_api'
16
+ require_relative 'aws-sdk-athena/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-athena/client'
17
18
  require_relative 'aws-sdk-athena/errors'
18
19
  require_relative 'aws-sdk-athena/resource'
20
+ require_relative 'aws-sdk-athena/endpoint_parameters'
21
+ require_relative 'aws-sdk-athena/endpoint_provider'
22
+ require_relative 'aws-sdk-athena/endpoints'
19
23
  require_relative 'aws-sdk-athena/customizations'
20
24
 
21
25
  # This module provides support for Amazon Athena. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-athena/customizations'
48
52
  # @!group service
49
53
  module Aws::Athena
50
54
 
51
- GEM_VERSION = '1.55.0'
55
+ GEM_VERSION = '1.57.0'
52
56
 
53
57
  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.57.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-10-25 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.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-athena/client.rb
60
60
  - lib/aws-sdk-athena/client_api.rb
61
61
  - lib/aws-sdk-athena/customizations.rb
62
+ - lib/aws-sdk-athena/endpoint_parameters.rb
63
+ - lib/aws-sdk-athena/endpoint_provider.rb
64
+ - lib/aws-sdk-athena/endpoints.rb
62
65
  - lib/aws-sdk-athena/errors.rb
66
+ - lib/aws-sdk-athena/plugins/endpoints.rb
63
67
  - lib/aws-sdk-athena/resource.rb
64
68
  - lib/aws-sdk-athena/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby