aws-sdk-cloudwatchlogs 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +290 -16
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +191 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +440 -31
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77abb4b497dba745c931f7359da3f13a1a712599
|
4
|
+
data.tar.gz: 00d90a3f1c5a1625a193e503a9273d11de6494ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2fd0108fe3cc96cb9dd45570c2fd204e9b545cd369b79cf45e18e3f0adc72dff9fe688e5bc485268d4018debabae26199138e454ef3191362512f59beb87e74
|
7
|
+
data.tar.gz: ccf4562b70b4a1433527a71f534be572ef9c99cb91eec991f0db096d82553dc8cdcd5900203be5e93e06412dff29d09a1df46e43387767c82ddf22f9962757ec
|
@@ -314,12 +314,12 @@ module Aws::CloudWatchLogs
|
|
314
314
|
#
|
315
315
|
# @option params [required, Integer] :from
|
316
316
|
# The start time of the range for the request, expressed as the number
|
317
|
-
# of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a
|
318
|
-
#
|
317
|
+
# of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a
|
318
|
+
# timestamp earlier than this time are not exported.
|
319
319
|
#
|
320
320
|
# @option params [required, Integer] :to
|
321
321
|
# The end time of the range for the request, expressed as the number of
|
322
|
-
# milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a
|
322
|
+
# milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp
|
323
323
|
# later than this time are not exported.
|
324
324
|
#
|
325
325
|
# @option params [required, String] :destination
|
@@ -933,6 +933,59 @@ module Aws::CloudWatchLogs
|
|
933
933
|
req.send_request(options)
|
934
934
|
end
|
935
935
|
|
936
|
+
# Returns a list of CloudWatch Logs Insights queries that are scheduled,
|
937
|
+
# executing, or have been executed recently in this account. You can
|
938
|
+
# request all queries, or limit it to queries of a specific log group or
|
939
|
+
# queries with a certain status.
|
940
|
+
#
|
941
|
+
# @option params [String] :log_group_name
|
942
|
+
# Limits the returned queries to only those for the specified log group.
|
943
|
+
#
|
944
|
+
# @option params [String] :status
|
945
|
+
# Limits the returned queries to only those that have the specified
|
946
|
+
# status. Valid values are `Cancelled`, `Complete`, `Failed`, `Running`,
|
947
|
+
# and `Scheduled`.
|
948
|
+
#
|
949
|
+
# @option params [Integer] :max_results
|
950
|
+
# Limits the number of returned queries to the specified number.
|
951
|
+
#
|
952
|
+
# @option params [String] :next_token
|
953
|
+
# The token for the next set of items to return. The token expires after
|
954
|
+
# 24 hours.
|
955
|
+
#
|
956
|
+
# @return [Types::DescribeQueriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
957
|
+
#
|
958
|
+
# * {Types::DescribeQueriesResponse#queries #queries} => Array<Types::QueryInfo>
|
959
|
+
# * {Types::DescribeQueriesResponse#next_token #next_token} => String
|
960
|
+
#
|
961
|
+
# @example Request syntax with placeholder values
|
962
|
+
#
|
963
|
+
# resp = client.describe_queries({
|
964
|
+
# log_group_name: "LogGroupName",
|
965
|
+
# status: "Scheduled", # accepts Scheduled, Running, Complete, Failed, Cancelled
|
966
|
+
# max_results: 1,
|
967
|
+
# next_token: "NextToken",
|
968
|
+
# })
|
969
|
+
#
|
970
|
+
# @example Response structure
|
971
|
+
#
|
972
|
+
# resp.queries #=> Array
|
973
|
+
# resp.queries[0].query_id #=> String
|
974
|
+
# resp.queries[0].query_string #=> String
|
975
|
+
# resp.queries[0].status #=> String, one of "Scheduled", "Running", "Complete", "Failed", "Cancelled"
|
976
|
+
# resp.queries[0].create_time #=> Integer
|
977
|
+
# resp.queries[0].log_group_name #=> String
|
978
|
+
# resp.next_token #=> String
|
979
|
+
#
|
980
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeQueries AWS API Documentation
|
981
|
+
#
|
982
|
+
# @overload describe_queries(params = {})
|
983
|
+
# @param [Hash] params ({})
|
984
|
+
def describe_queries(params = {}, options = {})
|
985
|
+
req = build_request(:describe_queries, params)
|
986
|
+
req.send_request(options)
|
987
|
+
end
|
988
|
+
|
936
989
|
# Lists the resource policies in this account.
|
937
990
|
#
|
938
991
|
# @option params [String] :next_token
|
@@ -1075,9 +1128,8 @@ module Aws::CloudWatchLogs
|
|
1075
1128
|
# Filters the results to only logs from the log streams in this list.
|
1076
1129
|
#
|
1077
1130
|
# If you specify a value for both `logStreamNamePrefix` and
|
1078
|
-
# `logStreamNames`,
|
1079
|
-
#
|
1080
|
-
# returns an `InvalidParameterException` error.
|
1131
|
+
# `logStreamNames`, the action returns an `InvalidParameterException`
|
1132
|
+
# error.
|
1081
1133
|
#
|
1082
1134
|
# @option params [String] :log_stream_name_prefix
|
1083
1135
|
# Filters the results to include only events from log streams that have
|
@@ -1090,12 +1142,12 @@ module Aws::CloudWatchLogs
|
|
1090
1142
|
#
|
1091
1143
|
# @option params [Integer] :start_time
|
1092
1144
|
# The start of the time range, expressed as the number of milliseconds
|
1093
|
-
# after Jan 1, 1970 00:00:00 UTC. Events with a
|
1145
|
+
# after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this
|
1094
1146
|
# time are not returned.
|
1095
1147
|
#
|
1096
1148
|
# @option params [Integer] :end_time
|
1097
1149
|
# The end of the time range, expressed as the number of milliseconds
|
1098
|
-
# after Jan 1, 1970 00:00:00 UTC. Events with a
|
1150
|
+
# after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than
|
1099
1151
|
# this time are not returned.
|
1100
1152
|
#
|
1101
1153
|
# @option params [String] :filter_pattern
|
@@ -1179,13 +1231,13 @@ module Aws::CloudWatchLogs
|
|
1179
1231
|
#
|
1180
1232
|
# @option params [Integer] :start_time
|
1181
1233
|
# The start of the time range, expressed as the number of milliseconds
|
1182
|
-
# after Jan 1, 1970 00:00:00 UTC. Events with a
|
1183
|
-
# time or later than this time are included. Events with a
|
1234
|
+
# after Jan 1, 1970 00:00:00 UTC. Events with a timestamp equal to this
|
1235
|
+
# time or later than this time are included. Events with a timestamp
|
1184
1236
|
# earlier than this time are not included.
|
1185
1237
|
#
|
1186
1238
|
# @option params [Integer] :end_time
|
1187
1239
|
# The end of the time range, expressed as the number of milliseconds
|
1188
|
-
# after Jan 1, 1970 00:00:00 UTC. Events with a
|
1240
|
+
# after Jan 1, 1970 00:00:00 UTC. Events with a timestamp equal to or
|
1189
1241
|
# later than this time are not included.
|
1190
1242
|
#
|
1191
1243
|
# @option params [String] :next_token
|
@@ -1238,6 +1290,136 @@ module Aws::CloudWatchLogs
|
|
1238
1290
|
req.send_request(options)
|
1239
1291
|
end
|
1240
1292
|
|
1293
|
+
# Returns a list of the fields that are included in log events in the
|
1294
|
+
# specified log group, along with the percentage of log events that
|
1295
|
+
# contain each field. The search is limited to a time period that you
|
1296
|
+
# specify.
|
1297
|
+
#
|
1298
|
+
# In the results, fields that start with @ are fields generated by
|
1299
|
+
# CloudWatch Logs. For example, `@timestamp` is the timestamp of each
|
1300
|
+
# log event.
|
1301
|
+
#
|
1302
|
+
# The response results are sorted by the frequency percentage, starting
|
1303
|
+
# with the highest percentage.
|
1304
|
+
#
|
1305
|
+
# @option params [required, String] :log_group_name
|
1306
|
+
# The name of the log group to search.
|
1307
|
+
#
|
1308
|
+
# @option params [Integer] :time
|
1309
|
+
# The time to set as the center of the query. If you specify `time`, the
|
1310
|
+
# 8 minutes before and 8 minutes after this time are searched. If you
|
1311
|
+
# omit `time`, the past 15 minutes are queried.
|
1312
|
+
#
|
1313
|
+
# The `time` value is specified as epoch time, the number of seconds
|
1314
|
+
# since January 1, 1970, 00:00:00 UTC.
|
1315
|
+
#
|
1316
|
+
# @return [Types::GetLogGroupFieldsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1317
|
+
#
|
1318
|
+
# * {Types::GetLogGroupFieldsResponse#log_group_fields #log_group_fields} => Array<Types::LogGroupField>
|
1319
|
+
#
|
1320
|
+
# @example Request syntax with placeholder values
|
1321
|
+
#
|
1322
|
+
# resp = client.get_log_group_fields({
|
1323
|
+
# log_group_name: "LogGroupName", # required
|
1324
|
+
# time: 1,
|
1325
|
+
# })
|
1326
|
+
#
|
1327
|
+
# @example Response structure
|
1328
|
+
#
|
1329
|
+
# resp.log_group_fields #=> Array
|
1330
|
+
# resp.log_group_fields[0].name #=> String
|
1331
|
+
# resp.log_group_fields[0].percent #=> Integer
|
1332
|
+
#
|
1333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogGroupFields AWS API Documentation
|
1334
|
+
#
|
1335
|
+
# @overload get_log_group_fields(params = {})
|
1336
|
+
# @param [Hash] params ({})
|
1337
|
+
def get_log_group_fields(params = {}, options = {})
|
1338
|
+
req = build_request(:get_log_group_fields, params)
|
1339
|
+
req.send_request(options)
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
# Retrieves all the fields and values of a single log event. All fields
|
1343
|
+
# are retrieved, even if the original query that produced the
|
1344
|
+
# `logRecordPointer` retrieved only a subset of fields. Fields are
|
1345
|
+
# returned as field name/field value pairs.
|
1346
|
+
#
|
1347
|
+
# Additionally, the entire unparsed log event is returned within
|
1348
|
+
# `@message`.
|
1349
|
+
#
|
1350
|
+
# @option params [required, String] :log_record_pointer
|
1351
|
+
# The pointer corresponding to the log event record you want to
|
1352
|
+
# retrieve. You get this from the response of a `GetQueryResults`
|
1353
|
+
# operation. In that response, the value of the `@ptr` field for a log
|
1354
|
+
# event is the value to use as `logRecordPointer` to retrieve that
|
1355
|
+
# complete log event record.
|
1356
|
+
#
|
1357
|
+
# @return [Types::GetLogRecordResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1358
|
+
#
|
1359
|
+
# * {Types::GetLogRecordResponse#log_record #log_record} => Hash<String,String>
|
1360
|
+
#
|
1361
|
+
# @example Request syntax with placeholder values
|
1362
|
+
#
|
1363
|
+
# resp = client.get_log_record({
|
1364
|
+
# log_record_pointer: "LogRecordPointer", # required
|
1365
|
+
# })
|
1366
|
+
#
|
1367
|
+
# @example Response structure
|
1368
|
+
#
|
1369
|
+
# resp.log_record #=> Hash
|
1370
|
+
# resp.log_record["Field"] #=> String
|
1371
|
+
#
|
1372
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogRecord AWS API Documentation
|
1373
|
+
#
|
1374
|
+
# @overload get_log_record(params = {})
|
1375
|
+
# @param [Hash] params ({})
|
1376
|
+
def get_log_record(params = {}, options = {})
|
1377
|
+
req = build_request(:get_log_record, params)
|
1378
|
+
req.send_request(options)
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
# Returns the results from the specified query. If the query is in
|
1382
|
+
# progress, partial results of that current execution are returned. Only
|
1383
|
+
# the fields requested in the query are returned.
|
1384
|
+
#
|
1385
|
+
# `GetQueryResults` does not start a query execution. To run a query,
|
1386
|
+
# use .
|
1387
|
+
#
|
1388
|
+
# @option params [required, String] :query_id
|
1389
|
+
# The ID number of the query.
|
1390
|
+
#
|
1391
|
+
# @return [Types::GetQueryResultsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1392
|
+
#
|
1393
|
+
# * {Types::GetQueryResultsResponse#results #results} => Array<Array<Types::ResultField>>
|
1394
|
+
# * {Types::GetQueryResultsResponse#statistics #statistics} => Types::QueryStatistics
|
1395
|
+
# * {Types::GetQueryResultsResponse#status #status} => String
|
1396
|
+
#
|
1397
|
+
# @example Request syntax with placeholder values
|
1398
|
+
#
|
1399
|
+
# resp = client.get_query_results({
|
1400
|
+
# query_id: "QueryId", # required
|
1401
|
+
# })
|
1402
|
+
#
|
1403
|
+
# @example Response structure
|
1404
|
+
#
|
1405
|
+
# resp.results #=> Array
|
1406
|
+
# resp.results[0] #=> Array
|
1407
|
+
# resp.results[0][0].field #=> String
|
1408
|
+
# resp.results[0][0].value #=> String
|
1409
|
+
# resp.statistics.records_matched #=> Float
|
1410
|
+
# resp.statistics.records_scanned #=> Float
|
1411
|
+
# resp.statistics.bytes_scanned #=> Float
|
1412
|
+
# resp.status #=> String, one of "Scheduled", "Running", "Complete", "Failed", "Cancelled"
|
1413
|
+
#
|
1414
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetQueryResults AWS API Documentation
|
1415
|
+
#
|
1416
|
+
# @overload get_query_results(params = {})
|
1417
|
+
# @param [Hash] params ({})
|
1418
|
+
def get_query_results(params = {}, options = {})
|
1419
|
+
req = build_request(:get_query_results, params)
|
1420
|
+
req.send_request(options)
|
1421
|
+
end
|
1422
|
+
|
1241
1423
|
# Lists the tags for the specified log group.
|
1242
1424
|
#
|
1243
1425
|
# @option params [required, String] :log_group_name
|
@@ -1378,7 +1560,7 @@ module Aws::CloudWatchLogs
|
|
1378
1560
|
# retention period of the log group.
|
1379
1561
|
#
|
1380
1562
|
# * The log events in the batch must be in chronological ordered by
|
1381
|
-
# their
|
1563
|
+
# their timestamp. The timestamp is the time the event occurred,
|
1382
1564
|
# expressed as the number of milliseconds after Jan 1, 1970 00:00:00
|
1383
1565
|
# UTC. (In AWS Tools for PowerShell and the AWS SDK for .NET, the
|
1384
1566
|
# timestamp is specified in .NET format: yyyy-mm-ddThh:mm:ss. For
|
@@ -1655,6 +1837,98 @@ module Aws::CloudWatchLogs
|
|
1655
1837
|
req.send_request(options)
|
1656
1838
|
end
|
1657
1839
|
|
1840
|
+
# Schedules a query of a log group using CloudWatch Logs Insights. You
|
1841
|
+
# specify the log group to query, the query string to use, and the time
|
1842
|
+
# to query.
|
1843
|
+
#
|
1844
|
+
# For more information, see [CloudWatch Logs Insights Query Syntax][1].
|
1845
|
+
#
|
1846
|
+
#
|
1847
|
+
#
|
1848
|
+
# [1]: http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html
|
1849
|
+
#
|
1850
|
+
# @option params [required, String] :log_group_name
|
1851
|
+
# The log group on which to perform the query.
|
1852
|
+
#
|
1853
|
+
# @option params [required, Integer] :start_time
|
1854
|
+
# The time to start the query. Specified as epoch time, the number of
|
1855
|
+
# seconds since January 1, 1970, 00:00:00 UTC.
|
1856
|
+
#
|
1857
|
+
# @option params [required, Integer] :end_time
|
1858
|
+
# The time to end this query, if it is still running. Specified as epoch
|
1859
|
+
# time, the number of seconds since January 1, 1970, 00:00:00 UTC.
|
1860
|
+
#
|
1861
|
+
# @option params [required, String] :query_string
|
1862
|
+
# The query string to use. For more information, see [CloudWatch Logs
|
1863
|
+
# Insights Query Syntax][1].
|
1864
|
+
#
|
1865
|
+
#
|
1866
|
+
#
|
1867
|
+
# [1]: http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html
|
1868
|
+
#
|
1869
|
+
# @option params [Integer] :limit
|
1870
|
+
# The maximum number of log events to return in the query. If the query
|
1871
|
+
# string uses the `fields` command, only the specified fields and their
|
1872
|
+
# values are returned.
|
1873
|
+
#
|
1874
|
+
# @return [Types::StartQueryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1875
|
+
#
|
1876
|
+
# * {Types::StartQueryResponse#query_id #query_id} => String
|
1877
|
+
#
|
1878
|
+
# @example Request syntax with placeholder values
|
1879
|
+
#
|
1880
|
+
# resp = client.start_query({
|
1881
|
+
# log_group_name: "LogGroupName", # required
|
1882
|
+
# start_time: 1, # required
|
1883
|
+
# end_time: 1, # required
|
1884
|
+
# query_string: "QueryString", # required
|
1885
|
+
# limit: 1,
|
1886
|
+
# })
|
1887
|
+
#
|
1888
|
+
# @example Response structure
|
1889
|
+
#
|
1890
|
+
# resp.query_id #=> String
|
1891
|
+
#
|
1892
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/StartQuery AWS API Documentation
|
1893
|
+
#
|
1894
|
+
# @overload start_query(params = {})
|
1895
|
+
# @param [Hash] params ({})
|
1896
|
+
def start_query(params = {}, options = {})
|
1897
|
+
req = build_request(:start_query, params)
|
1898
|
+
req.send_request(options)
|
1899
|
+
end
|
1900
|
+
|
1901
|
+
# Stops a CloudWatch Logs Insights query that is in progress. If the
|
1902
|
+
# query has already ended, the operation returns an error indicating
|
1903
|
+
# that the specified query is not running.
|
1904
|
+
#
|
1905
|
+
# @option params [required, String] :query_id
|
1906
|
+
# The ID number of the query to stop. If necessary, you can use
|
1907
|
+
# `DescribeQueries` to find this ID number.
|
1908
|
+
#
|
1909
|
+
# @return [Types::StopQueryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1910
|
+
#
|
1911
|
+
# * {Types::StopQueryResponse#success #success} => Boolean
|
1912
|
+
#
|
1913
|
+
# @example Request syntax with placeholder values
|
1914
|
+
#
|
1915
|
+
# resp = client.stop_query({
|
1916
|
+
# query_id: "QueryId", # required
|
1917
|
+
# })
|
1918
|
+
#
|
1919
|
+
# @example Response structure
|
1920
|
+
#
|
1921
|
+
# resp.success #=> Boolean
|
1922
|
+
#
|
1923
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/StopQuery AWS API Documentation
|
1924
|
+
#
|
1925
|
+
# @overload stop_query(params = {})
|
1926
|
+
# @param [Hash] params ({})
|
1927
|
+
def stop_query(params = {}, options = {})
|
1928
|
+
req = build_request(:stop_query, params)
|
1929
|
+
req.send_request(options)
|
1930
|
+
end
|
1931
|
+
|
1658
1932
|
# Adds or updates the specified tags for the specified log group.
|
1659
1933
|
#
|
1660
1934
|
# To list the tags for a log group, use ListTagsLogGroup. To remove
|
@@ -1699,9 +1973,9 @@ module Aws::CloudWatchLogs
|
|
1699
1973
|
#
|
1700
1974
|
# @option params [required, String] :filter_pattern
|
1701
1975
|
# A symbolic description of how CloudWatch Logs should interpret the
|
1702
|
-
# data in each log event. For example, a log event may contain
|
1703
|
-
#
|
1704
|
-
# to specify what to look for in the log event message.
|
1976
|
+
# data in each log event. For example, a log event may contain
|
1977
|
+
# timestamps, IP addresses, strings, and so on. You use the filter
|
1978
|
+
# pattern to specify what to look for in the log event message.
|
1705
1979
|
#
|
1706
1980
|
# @option params [required, Array<String>] :log_event_messages
|
1707
1981
|
# The log event messages to test.
|
@@ -1776,7 +2050,7 @@ module Aws::CloudWatchLogs
|
|
1776
2050
|
params: params,
|
1777
2051
|
config: config)
|
1778
2052
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
1779
|
-
context[:gem_version] = '1.
|
2053
|
+
context[:gem_version] = '1.12.0'
|
1780
2054
|
Seahorse::Client::Request.new(handlers, context)
|
1781
2055
|
end
|
1782
2056
|
|
@@ -41,6 +41,9 @@ module Aws::CloudWatchLogs
|
|
41
41
|
DescribeLogStreamsResponse = Shapes::StructureShape.new(name: 'DescribeLogStreamsResponse')
|
42
42
|
DescribeMetricFiltersRequest = Shapes::StructureShape.new(name: 'DescribeMetricFiltersRequest')
|
43
43
|
DescribeMetricFiltersResponse = Shapes::StructureShape.new(name: 'DescribeMetricFiltersResponse')
|
44
|
+
DescribeQueriesMaxResults = Shapes::IntegerShape.new(name: 'DescribeQueriesMaxResults')
|
45
|
+
DescribeQueriesRequest = Shapes::StructureShape.new(name: 'DescribeQueriesRequest')
|
46
|
+
DescribeQueriesResponse = Shapes::StructureShape.new(name: 'DescribeQueriesResponse')
|
44
47
|
DescribeResourcePoliciesRequest = Shapes::StructureShape.new(name: 'DescribeResourcePoliciesRequest')
|
45
48
|
DescribeResourcePoliciesResponse = Shapes::StructureShape.new(name: 'DescribeResourcePoliciesResponse')
|
46
49
|
DescribeSubscriptionFiltersRequest = Shapes::StructureShape.new(name: 'DescribeSubscriptionFiltersRequest')
|
@@ -66,6 +69,7 @@ module Aws::CloudWatchLogs
|
|
66
69
|
ExportTaskStatusMessage = Shapes::StringShape.new(name: 'ExportTaskStatusMessage')
|
67
70
|
ExportTasks = Shapes::ListShape.new(name: 'ExportTasks')
|
68
71
|
ExtractedValues = Shapes::MapShape.new(name: 'ExtractedValues')
|
72
|
+
Field = Shapes::StringShape.new(name: 'Field')
|
69
73
|
FilterCount = Shapes::IntegerShape.new(name: 'FilterCount')
|
70
74
|
FilterLogEventsRequest = Shapes::StructureShape.new(name: 'FilterLogEventsRequest')
|
71
75
|
FilterLogEventsResponse = Shapes::StructureShape.new(name: 'FilterLogEventsResponse')
|
@@ -75,6 +79,12 @@ module Aws::CloudWatchLogs
|
|
75
79
|
FilteredLogEvents = Shapes::ListShape.new(name: 'FilteredLogEvents')
|
76
80
|
GetLogEventsRequest = Shapes::StructureShape.new(name: 'GetLogEventsRequest')
|
77
81
|
GetLogEventsResponse = Shapes::StructureShape.new(name: 'GetLogEventsResponse')
|
82
|
+
GetLogGroupFieldsRequest = Shapes::StructureShape.new(name: 'GetLogGroupFieldsRequest')
|
83
|
+
GetLogGroupFieldsResponse = Shapes::StructureShape.new(name: 'GetLogGroupFieldsResponse')
|
84
|
+
GetLogRecordRequest = Shapes::StructureShape.new(name: 'GetLogRecordRequest')
|
85
|
+
GetLogRecordResponse = Shapes::StructureShape.new(name: 'GetLogRecordResponse')
|
86
|
+
GetQueryResultsRequest = Shapes::StructureShape.new(name: 'GetQueryResultsRequest')
|
87
|
+
GetQueryResultsResponse = Shapes::StructureShape.new(name: 'GetQueryResultsResponse')
|
78
88
|
InputLogEvent = Shapes::StructureShape.new(name: 'InputLogEvent')
|
79
89
|
InputLogEvents = Shapes::ListShape.new(name: 'InputLogEvents')
|
80
90
|
InputLogStreamNames = Shapes::ListShape.new(name: 'InputLogStreamNames')
|
@@ -88,12 +98,18 @@ module Aws::CloudWatchLogs
|
|
88
98
|
ListTagsLogGroupResponse = Shapes::StructureShape.new(name: 'ListTagsLogGroupResponse')
|
89
99
|
LogEventIndex = Shapes::IntegerShape.new(name: 'LogEventIndex')
|
90
100
|
LogGroup = Shapes::StructureShape.new(name: 'LogGroup')
|
101
|
+
LogGroupField = Shapes::StructureShape.new(name: 'LogGroupField')
|
102
|
+
LogGroupFieldList = Shapes::ListShape.new(name: 'LogGroupFieldList')
|
91
103
|
LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
|
92
104
|
LogGroups = Shapes::ListShape.new(name: 'LogGroups')
|
105
|
+
LogRecord = Shapes::MapShape.new(name: 'LogRecord')
|
106
|
+
LogRecordPointer = Shapes::StringShape.new(name: 'LogRecordPointer')
|
93
107
|
LogStream = Shapes::StructureShape.new(name: 'LogStream')
|
94
108
|
LogStreamName = Shapes::StringShape.new(name: 'LogStreamName')
|
95
109
|
LogStreamSearchedCompletely = Shapes::BooleanShape.new(name: 'LogStreamSearchedCompletely')
|
96
110
|
LogStreams = Shapes::ListShape.new(name: 'LogStreams')
|
111
|
+
MalformedQueryException = Shapes::StructureShape.new(name: 'MalformedQueryException')
|
112
|
+
Message = Shapes::StringShape.new(name: 'Message')
|
97
113
|
MetricFilter = Shapes::StructureShape.new(name: 'MetricFilter')
|
98
114
|
MetricFilterMatchRecord = Shapes::StructureShape.new(name: 'MetricFilterMatchRecord')
|
99
115
|
MetricFilterMatches = Shapes::ListShape.new(name: 'MetricFilterMatches')
|
@@ -108,6 +124,7 @@ module Aws::CloudWatchLogs
|
|
108
124
|
OrderBy = Shapes::StringShape.new(name: 'OrderBy')
|
109
125
|
OutputLogEvent = Shapes::StructureShape.new(name: 'OutputLogEvent')
|
110
126
|
OutputLogEvents = Shapes::ListShape.new(name: 'OutputLogEvents')
|
127
|
+
Percentage = Shapes::IntegerShape.new(name: 'Percentage')
|
111
128
|
PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
|
112
129
|
PolicyName = Shapes::StringShape.new(name: 'PolicyName')
|
113
130
|
PutDestinationPolicyRequest = Shapes::StructureShape.new(name: 'PutDestinationPolicyRequest')
|
@@ -120,20 +137,38 @@ module Aws::CloudWatchLogs
|
|
120
137
|
PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
|
121
138
|
PutRetentionPolicyRequest = Shapes::StructureShape.new(name: 'PutRetentionPolicyRequest')
|
122
139
|
PutSubscriptionFilterRequest = Shapes::StructureShape.new(name: 'PutSubscriptionFilterRequest')
|
140
|
+
QueryCharOffset = Shapes::IntegerShape.new(name: 'QueryCharOffset')
|
141
|
+
QueryCompileError = Shapes::StructureShape.new(name: 'QueryCompileError')
|
142
|
+
QueryCompileErrorLocation = Shapes::StructureShape.new(name: 'QueryCompileErrorLocation')
|
143
|
+
QueryId = Shapes::StringShape.new(name: 'QueryId')
|
144
|
+
QueryInfo = Shapes::StructureShape.new(name: 'QueryInfo')
|
145
|
+
QueryInfoList = Shapes::ListShape.new(name: 'QueryInfoList')
|
146
|
+
QueryResults = Shapes::ListShape.new(name: 'QueryResults')
|
147
|
+
QueryStatistics = Shapes::StructureShape.new(name: 'QueryStatistics')
|
148
|
+
QueryStatus = Shapes::StringShape.new(name: 'QueryStatus')
|
149
|
+
QueryString = Shapes::StringShape.new(name: 'QueryString')
|
123
150
|
RejectedLogEventsInfo = Shapes::StructureShape.new(name: 'RejectedLogEventsInfo')
|
124
151
|
ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
|
125
152
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
126
153
|
ResourcePolicies = Shapes::ListShape.new(name: 'ResourcePolicies')
|
127
154
|
ResourcePolicy = Shapes::StructureShape.new(name: 'ResourcePolicy')
|
155
|
+
ResultField = Shapes::StructureShape.new(name: 'ResultField')
|
156
|
+
ResultRows = Shapes::ListShape.new(name: 'ResultRows')
|
128
157
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
129
158
|
SearchedLogStream = Shapes::StructureShape.new(name: 'SearchedLogStream')
|
130
159
|
SearchedLogStreams = Shapes::ListShape.new(name: 'SearchedLogStreams')
|
131
160
|
SequenceToken = Shapes::StringShape.new(name: 'SequenceToken')
|
132
161
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
133
162
|
StartFromHead = Shapes::BooleanShape.new(name: 'StartFromHead')
|
163
|
+
StartQueryRequest = Shapes::StructureShape.new(name: 'StartQueryRequest')
|
164
|
+
StartQueryResponse = Shapes::StructureShape.new(name: 'StartQueryResponse')
|
165
|
+
StatsValue = Shapes::FloatShape.new(name: 'StatsValue')
|
166
|
+
StopQueryRequest = Shapes::StructureShape.new(name: 'StopQueryRequest')
|
167
|
+
StopQueryResponse = Shapes::StructureShape.new(name: 'StopQueryResponse')
|
134
168
|
StoredBytes = Shapes::IntegerShape.new(name: 'StoredBytes')
|
135
169
|
SubscriptionFilter = Shapes::StructureShape.new(name: 'SubscriptionFilter')
|
136
170
|
SubscriptionFilters = Shapes::ListShape.new(name: 'SubscriptionFilters')
|
171
|
+
Success = Shapes::BooleanShape.new(name: 'Success')
|
137
172
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
138
173
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
139
174
|
TagLogGroupRequest = Shapes::StructureShape.new(name: 'TagLogGroupRequest')
|
@@ -253,6 +288,16 @@ module Aws::CloudWatchLogs
|
|
253
288
|
DescribeMetricFiltersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
254
289
|
DescribeMetricFiltersResponse.struct_class = Types::DescribeMetricFiltersResponse
|
255
290
|
|
291
|
+
DescribeQueriesRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
|
292
|
+
DescribeQueriesRequest.add_member(:status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "status"))
|
293
|
+
DescribeQueriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeQueriesMaxResults, location_name: "maxResults"))
|
294
|
+
DescribeQueriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
295
|
+
DescribeQueriesRequest.struct_class = Types::DescribeQueriesRequest
|
296
|
+
|
297
|
+
DescribeQueriesResponse.add_member(:queries, Shapes::ShapeRef.new(shape: QueryInfoList, location_name: "queries"))
|
298
|
+
DescribeQueriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
299
|
+
DescribeQueriesResponse.struct_class = Types::DescribeQueriesResponse
|
300
|
+
|
256
301
|
DescribeResourcePoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
257
302
|
DescribeResourcePoliciesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
|
258
303
|
DescribeResourcePoliciesRequest.struct_class = Types::DescribeResourcePoliciesRequest
|
@@ -347,6 +392,27 @@ module Aws::CloudWatchLogs
|
|
347
392
|
GetLogEventsResponse.add_member(:next_backward_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextBackwardToken"))
|
348
393
|
GetLogEventsResponse.struct_class = Types::GetLogEventsResponse
|
349
394
|
|
395
|
+
GetLogGroupFieldsRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
396
|
+
GetLogGroupFieldsRequest.add_member(:time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "time"))
|
397
|
+
GetLogGroupFieldsRequest.struct_class = Types::GetLogGroupFieldsRequest
|
398
|
+
|
399
|
+
GetLogGroupFieldsResponse.add_member(:log_group_fields, Shapes::ShapeRef.new(shape: LogGroupFieldList, location_name: "logGroupFields"))
|
400
|
+
GetLogGroupFieldsResponse.struct_class = Types::GetLogGroupFieldsResponse
|
401
|
+
|
402
|
+
GetLogRecordRequest.add_member(:log_record_pointer, Shapes::ShapeRef.new(shape: LogRecordPointer, required: true, location_name: "logRecordPointer"))
|
403
|
+
GetLogRecordRequest.struct_class = Types::GetLogRecordRequest
|
404
|
+
|
405
|
+
GetLogRecordResponse.add_member(:log_record, Shapes::ShapeRef.new(shape: LogRecord, location_name: "logRecord"))
|
406
|
+
GetLogRecordResponse.struct_class = Types::GetLogRecordResponse
|
407
|
+
|
408
|
+
GetQueryResultsRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, required: true, location_name: "queryId"))
|
409
|
+
GetQueryResultsRequest.struct_class = Types::GetQueryResultsRequest
|
410
|
+
|
411
|
+
GetQueryResultsResponse.add_member(:results, Shapes::ShapeRef.new(shape: QueryResults, location_name: "results"))
|
412
|
+
GetQueryResultsResponse.add_member(:statistics, Shapes::ShapeRef.new(shape: QueryStatistics, location_name: "statistics"))
|
413
|
+
GetQueryResultsResponse.add_member(:status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "status"))
|
414
|
+
GetQueryResultsResponse.struct_class = Types::GetQueryResultsResponse
|
415
|
+
|
350
416
|
InputLogEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
|
351
417
|
InputLogEvent.add_member(:message, Shapes::ShapeRef.new(shape: EventMessage, required: true, location_name: "message"))
|
352
418
|
InputLogEvent.struct_class = Types::InputLogEvent
|
@@ -370,8 +436,17 @@ module Aws::CloudWatchLogs
|
|
370
436
|
LogGroup.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
371
437
|
LogGroup.struct_class = Types::LogGroup
|
372
438
|
|
439
|
+
LogGroupField.add_member(:name, Shapes::ShapeRef.new(shape: Field, location_name: "name"))
|
440
|
+
LogGroupField.add_member(:percent, Shapes::ShapeRef.new(shape: Percentage, location_name: "percent"))
|
441
|
+
LogGroupField.struct_class = Types::LogGroupField
|
442
|
+
|
443
|
+
LogGroupFieldList.member = Shapes::ShapeRef.new(shape: LogGroupField)
|
444
|
+
|
373
445
|
LogGroups.member = Shapes::ShapeRef.new(shape: LogGroup)
|
374
446
|
|
447
|
+
LogRecord.key = Shapes::ShapeRef.new(shape: Field)
|
448
|
+
LogRecord.value = Shapes::ShapeRef.new(shape: Value)
|
449
|
+
|
375
450
|
LogStream.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "logStreamName"))
|
376
451
|
LogStream.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
377
452
|
LogStream.add_member(:first_event_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "firstEventTimestamp"))
|
@@ -462,6 +537,30 @@ module Aws::CloudWatchLogs
|
|
462
537
|
PutSubscriptionFilterRequest.add_member(:distribution, Shapes::ShapeRef.new(shape: Distribution, location_name: "distribution"))
|
463
538
|
PutSubscriptionFilterRequest.struct_class = Types::PutSubscriptionFilterRequest
|
464
539
|
|
540
|
+
QueryCompileError.add_member(:location, Shapes::ShapeRef.new(shape: QueryCompileErrorLocation, location_name: "location"))
|
541
|
+
QueryCompileError.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
542
|
+
QueryCompileError.struct_class = Types::QueryCompileError
|
543
|
+
|
544
|
+
QueryCompileErrorLocation.add_member(:start_char_offset, Shapes::ShapeRef.new(shape: QueryCharOffset, location_name: "startCharOffset"))
|
545
|
+
QueryCompileErrorLocation.add_member(:end_char_offset, Shapes::ShapeRef.new(shape: QueryCharOffset, location_name: "endCharOffset"))
|
546
|
+
QueryCompileErrorLocation.struct_class = Types::QueryCompileErrorLocation
|
547
|
+
|
548
|
+
QueryInfo.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "queryId"))
|
549
|
+
QueryInfo.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, location_name: "queryString"))
|
550
|
+
QueryInfo.add_member(:status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "status"))
|
551
|
+
QueryInfo.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createTime"))
|
552
|
+
QueryInfo.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
|
553
|
+
QueryInfo.struct_class = Types::QueryInfo
|
554
|
+
|
555
|
+
QueryInfoList.member = Shapes::ShapeRef.new(shape: QueryInfo)
|
556
|
+
|
557
|
+
QueryResults.member = Shapes::ShapeRef.new(shape: ResultRows)
|
558
|
+
|
559
|
+
QueryStatistics.add_member(:records_matched, Shapes::ShapeRef.new(shape: StatsValue, location_name: "recordsMatched"))
|
560
|
+
QueryStatistics.add_member(:records_scanned, Shapes::ShapeRef.new(shape: StatsValue, location_name: "recordsScanned"))
|
561
|
+
QueryStatistics.add_member(:bytes_scanned, Shapes::ShapeRef.new(shape: StatsValue, location_name: "bytesScanned"))
|
562
|
+
QueryStatistics.struct_class = Types::QueryStatistics
|
563
|
+
|
465
564
|
RejectedLogEventsInfo.add_member(:too_new_log_event_start_index, Shapes::ShapeRef.new(shape: LogEventIndex, location_name: "tooNewLogEventStartIndex"))
|
466
565
|
RejectedLogEventsInfo.add_member(:too_old_log_event_end_index, Shapes::ShapeRef.new(shape: LogEventIndex, location_name: "tooOldLogEventEndIndex"))
|
467
566
|
RejectedLogEventsInfo.add_member(:expired_log_event_end_index, Shapes::ShapeRef.new(shape: LogEventIndex, location_name: "expiredLogEventEndIndex"))
|
@@ -474,12 +573,34 @@ module Aws::CloudWatchLogs
|
|
474
573
|
ResourcePolicy.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
|
475
574
|
ResourcePolicy.struct_class = Types::ResourcePolicy
|
476
575
|
|
576
|
+
ResultField.add_member(:field, Shapes::ShapeRef.new(shape: Field, location_name: "field"))
|
577
|
+
ResultField.add_member(:value, Shapes::ShapeRef.new(shape: Value, location_name: "value"))
|
578
|
+
ResultField.struct_class = Types::ResultField
|
579
|
+
|
580
|
+
ResultRows.member = Shapes::ShapeRef.new(shape: ResultField)
|
581
|
+
|
477
582
|
SearchedLogStream.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "logStreamName"))
|
478
583
|
SearchedLogStream.add_member(:searched_completely, Shapes::ShapeRef.new(shape: LogStreamSearchedCompletely, location_name: "searchedCompletely"))
|
479
584
|
SearchedLogStream.struct_class = Types::SearchedLogStream
|
480
585
|
|
481
586
|
SearchedLogStreams.member = Shapes::ShapeRef.new(shape: SearchedLogStream)
|
482
587
|
|
588
|
+
StartQueryRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
589
|
+
StartQueryRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
|
590
|
+
StartQueryRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "endTime"))
|
591
|
+
StartQueryRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
|
592
|
+
StartQueryRequest.add_member(:limit, Shapes::ShapeRef.new(shape: EventsLimit, location_name: "limit"))
|
593
|
+
StartQueryRequest.struct_class = Types::StartQueryRequest
|
594
|
+
|
595
|
+
StartQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "queryId"))
|
596
|
+
StartQueryResponse.struct_class = Types::StartQueryResponse
|
597
|
+
|
598
|
+
StopQueryRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, required: true, location_name: "queryId"))
|
599
|
+
StopQueryRequest.struct_class = Types::StopQueryRequest
|
600
|
+
|
601
|
+
StopQueryResponse.add_member(:success, Shapes::ShapeRef.new(shape: Success, location_name: "success"))
|
602
|
+
StopQueryResponse.struct_class = Types::StopQueryResponse
|
603
|
+
|
483
604
|
SubscriptionFilter.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, location_name: "filterName"))
|
484
605
|
SubscriptionFilter.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
|
485
606
|
SubscriptionFilter.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
|
@@ -753,6 +874,17 @@ module Aws::CloudWatchLogs
|
|
753
874
|
)
|
754
875
|
end)
|
755
876
|
|
877
|
+
api.add_operation(:describe_queries, Seahorse::Model::Operation.new.tap do |o|
|
878
|
+
o.name = "DescribeQueries"
|
879
|
+
o.http_method = "POST"
|
880
|
+
o.http_request_uri = "/"
|
881
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeQueriesRequest)
|
882
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeQueriesResponse)
|
883
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
884
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
885
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
886
|
+
end)
|
887
|
+
|
756
888
|
api.add_operation(:describe_resource_policies, Seahorse::Model::Operation.new.tap do |o|
|
757
889
|
o.name = "DescribeResourcePolicies"
|
758
890
|
o.http_method = "POST"
|
@@ -826,6 +958,41 @@ module Aws::CloudWatchLogs
|
|
826
958
|
)
|
827
959
|
end)
|
828
960
|
|
961
|
+
api.add_operation(:get_log_group_fields, Seahorse::Model::Operation.new.tap do |o|
|
962
|
+
o.name = "GetLogGroupFields"
|
963
|
+
o.http_method = "POST"
|
964
|
+
o.http_request_uri = "/"
|
965
|
+
o.input = Shapes::ShapeRef.new(shape: GetLogGroupFieldsRequest)
|
966
|
+
o.output = Shapes::ShapeRef.new(shape: GetLogGroupFieldsResponse)
|
967
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
968
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
969
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
970
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
971
|
+
end)
|
972
|
+
|
973
|
+
api.add_operation(:get_log_record, Seahorse::Model::Operation.new.tap do |o|
|
974
|
+
o.name = "GetLogRecord"
|
975
|
+
o.http_method = "POST"
|
976
|
+
o.http_request_uri = "/"
|
977
|
+
o.input = Shapes::ShapeRef.new(shape: GetLogRecordRequest)
|
978
|
+
o.output = Shapes::ShapeRef.new(shape: GetLogRecordResponse)
|
979
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
980
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
981
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
982
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
983
|
+
end)
|
984
|
+
|
985
|
+
api.add_operation(:get_query_results, Seahorse::Model::Operation.new.tap do |o|
|
986
|
+
o.name = "GetQueryResults"
|
987
|
+
o.http_method = "POST"
|
988
|
+
o.http_request_uri = "/"
|
989
|
+
o.input = Shapes::ShapeRef.new(shape: GetQueryResultsRequest)
|
990
|
+
o.output = Shapes::ShapeRef.new(shape: GetQueryResultsResponse)
|
991
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
992
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
993
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
994
|
+
end)
|
995
|
+
|
829
996
|
api.add_operation(:list_tags_log_group, Seahorse::Model::Operation.new.tap do |o|
|
830
997
|
o.name = "ListTagsLogGroup"
|
831
998
|
o.http_method = "POST"
|
@@ -921,6 +1088,30 @@ module Aws::CloudWatchLogs
|
|
921
1088
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
922
1089
|
end)
|
923
1090
|
|
1091
|
+
api.add_operation(:start_query, Seahorse::Model::Operation.new.tap do |o|
|
1092
|
+
o.name = "StartQuery"
|
1093
|
+
o.http_method = "POST"
|
1094
|
+
o.http_request_uri = "/"
|
1095
|
+
o.input = Shapes::ShapeRef.new(shape: StartQueryRequest)
|
1096
|
+
o.output = Shapes::ShapeRef.new(shape: StartQueryResponse)
|
1097
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedQueryException)
|
1098
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1099
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1100
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1101
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1102
|
+
end)
|
1103
|
+
|
1104
|
+
api.add_operation(:stop_query, Seahorse::Model::Operation.new.tap do |o|
|
1105
|
+
o.name = "StopQuery"
|
1106
|
+
o.http_method = "POST"
|
1107
|
+
o.http_request_uri = "/"
|
1108
|
+
o.input = Shapes::ShapeRef.new(shape: StopQueryRequest)
|
1109
|
+
o.output = Shapes::ShapeRef.new(shape: StopQueryResponse)
|
1110
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1111
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1112
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1113
|
+
end)
|
1114
|
+
|
924
1115
|
api.add_operation(:tag_log_group, Seahorse::Model::Operation.new.tap do |o|
|
925
1116
|
o.name = "TagLogGroup"
|
926
1117
|
o.http_method = "POST"
|