aws-sdk-cloudwatchlogs 1.145.0 → 1.146.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +13 -1
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +5 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +21 -2
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +4 -1
- data/sig/types.rbs +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9eb844c7f78fdf37274095fdcf7345ab21158d8a98cb8d1f1956ec281b508ba9
|
|
4
|
+
data.tar.gz: a34f21c858092277d94e420ce35f7f2a15b4c6a1bc7e518aa62a7cd3f04ab550
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d6d4ab4e50575af4f0b5e907ca7516f01570f4d80f08f38c603dbc38c2dfed5a5830b7622e0013f082af9a9a6a27a0ec084855473583379a2153dc6c54d5f145
|
|
7
|
+
data.tar.gz: 9ed73f786d7f5b934323c83a5de164bbe02e124044aeec903b580480334527138e36a89e11307be9e4402bcde93c095178bec3a0767b2983355b1803c39a339c
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.146.0
|
|
@@ -4647,6 +4647,14 @@ module Aws::CloudWatchLogs
|
|
|
4647
4647
|
# @option params [required, String] :query_id
|
|
4648
4648
|
# The ID number of the query.
|
|
4649
4649
|
#
|
|
4650
|
+
# @option params [String] :next_token
|
|
4651
|
+
# The token for the next set of items to return. The token expires after
|
|
4652
|
+
# 1 hour.
|
|
4653
|
+
#
|
|
4654
|
+
# @option params [Integer] :max_items
|
|
4655
|
+
# The maximum number of log events to return in the response. The
|
|
4656
|
+
# maximum is 10,000 log events.
|
|
4657
|
+
#
|
|
4650
4658
|
# @return [Types::GetQueryResultsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4651
4659
|
#
|
|
4652
4660
|
# * {Types::GetQueryResultsResponse#query_language #query_language} => String
|
|
@@ -4654,11 +4662,14 @@ module Aws::CloudWatchLogs
|
|
|
4654
4662
|
# * {Types::GetQueryResultsResponse#statistics #statistics} => Types::QueryStatistics
|
|
4655
4663
|
# * {Types::GetQueryResultsResponse#status #status} => String
|
|
4656
4664
|
# * {Types::GetQueryResultsResponse#encryption_key #encryption_key} => String
|
|
4665
|
+
# * {Types::GetQueryResultsResponse#next_token #next_token} => String
|
|
4657
4666
|
#
|
|
4658
4667
|
# @example Request syntax with placeholder values
|
|
4659
4668
|
#
|
|
4660
4669
|
# resp = client.get_query_results({
|
|
4661
4670
|
# query_id: "QueryId", # required
|
|
4671
|
+
# next_token: "GetQueryResultsNextToken",
|
|
4672
|
+
# max_items: 1,
|
|
4662
4673
|
# })
|
|
4663
4674
|
#
|
|
4664
4675
|
# @example Response structure
|
|
@@ -4676,6 +4687,7 @@ module Aws::CloudWatchLogs
|
|
|
4676
4687
|
# resp.statistics.log_groups_scanned #=> Float
|
|
4677
4688
|
# resp.status #=> String, one of "Scheduled", "Running", "Complete", "Failed", "Cancelled", "Timeout", "Unknown"
|
|
4678
4689
|
# resp.encryption_key #=> String
|
|
4690
|
+
# resp.next_token #=> String
|
|
4679
4691
|
#
|
|
4680
4692
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetQueryResults AWS API Documentation
|
|
4681
4693
|
#
|
|
@@ -9232,7 +9244,7 @@ module Aws::CloudWatchLogs
|
|
|
9232
9244
|
tracer: tracer
|
|
9233
9245
|
)
|
|
9234
9246
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
|
9235
|
-
context[:gem_version] = '1.
|
|
9247
|
+
context[:gem_version] = '1.146.0'
|
|
9236
9248
|
Seahorse::Client::Request.new(handlers, context)
|
|
9237
9249
|
end
|
|
9238
9250
|
|
|
@@ -279,6 +279,8 @@ module Aws::CloudWatchLogs
|
|
|
279
279
|
GetLogRecordResponse = Shapes::StructureShape.new(name: 'GetLogRecordResponse')
|
|
280
280
|
GetLookupTableRequest = Shapes::StructureShape.new(name: 'GetLookupTableRequest')
|
|
281
281
|
GetLookupTableResponse = Shapes::StructureShape.new(name: 'GetLookupTableResponse')
|
|
282
|
+
GetQueryResultsMaxItems = Shapes::IntegerShape.new(name: 'GetQueryResultsMaxItems')
|
|
283
|
+
GetQueryResultsNextToken = Shapes::StringShape.new(name: 'GetQueryResultsNextToken')
|
|
282
284
|
GetQueryResultsRequest = Shapes::StructureShape.new(name: 'GetQueryResultsRequest')
|
|
283
285
|
GetQueryResultsResponse = Shapes::StructureShape.new(name: 'GetQueryResultsResponse')
|
|
284
286
|
GetScheduledQueryHistoryMaxResults = Shapes::IntegerShape.new(name: 'GetScheduledQueryHistoryMaxResults')
|
|
@@ -1463,6 +1465,8 @@ module Aws::CloudWatchLogs
|
|
|
1463
1465
|
GetLookupTableResponse.struct_class = Types::GetLookupTableResponse
|
|
1464
1466
|
|
|
1465
1467
|
GetQueryResultsRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, required: true, location_name: "queryId"))
|
|
1468
|
+
GetQueryResultsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GetQueryResultsNextToken, location_name: "nextToken"))
|
|
1469
|
+
GetQueryResultsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: GetQueryResultsMaxItems, location_name: "maxItems"))
|
|
1466
1470
|
GetQueryResultsRequest.struct_class = Types::GetQueryResultsRequest
|
|
1467
1471
|
|
|
1468
1472
|
GetQueryResultsResponse.add_member(:query_language, Shapes::ShapeRef.new(shape: QueryLanguage, location_name: "queryLanguage"))
|
|
@@ -1470,6 +1474,7 @@ module Aws::CloudWatchLogs
|
|
|
1470
1474
|
GetQueryResultsResponse.add_member(:statistics, Shapes::ShapeRef.new(shape: QueryStatistics, location_name: "statistics"))
|
|
1471
1475
|
GetQueryResultsResponse.add_member(:status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "status"))
|
|
1472
1476
|
GetQueryResultsResponse.add_member(:encryption_key, Shapes::ShapeRef.new(shape: EncryptionKey, location_name: "encryptionKey"))
|
|
1477
|
+
GetQueryResultsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GetQueryResultsNextToken, location_name: "nextToken"))
|
|
1473
1478
|
GetQueryResultsResponse.struct_class = Types::GetQueryResultsResponse
|
|
1474
1479
|
|
|
1475
1480
|
GetScheduledQueryHistoryRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: ScheduledQueryIdentifier, required: true, location_name: "identifier"))
|
|
@@ -4179,10 +4179,22 @@ module Aws::CloudWatchLogs
|
|
|
4179
4179
|
# The ID number of the query.
|
|
4180
4180
|
# @return [String]
|
|
4181
4181
|
#
|
|
4182
|
+
# @!attribute [rw] next_token
|
|
4183
|
+
# The token for the next set of items to return. The token expires
|
|
4184
|
+
# after 1 hour.
|
|
4185
|
+
# @return [String]
|
|
4186
|
+
#
|
|
4187
|
+
# @!attribute [rw] max_items
|
|
4188
|
+
# The maximum number of log events to return in the response. The
|
|
4189
|
+
# maximum is 10,000 log events.
|
|
4190
|
+
# @return [Integer]
|
|
4191
|
+
#
|
|
4182
4192
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetQueryResultsRequest AWS API Documentation
|
|
4183
4193
|
#
|
|
4184
4194
|
class GetQueryResultsRequest < Struct.new(
|
|
4185
|
-
:query_id
|
|
4195
|
+
:query_id,
|
|
4196
|
+
:next_token,
|
|
4197
|
+
:max_items)
|
|
4186
4198
|
SENSITIVE = []
|
|
4187
4199
|
include Aws::Structure
|
|
4188
4200
|
end
|
|
@@ -4234,6 +4246,12 @@ module Aws::CloudWatchLogs
|
|
|
4234
4246
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html
|
|
4235
4247
|
# @return [String]
|
|
4236
4248
|
#
|
|
4249
|
+
# @!attribute [rw] next_token
|
|
4250
|
+
# If there are more log events remaining in the results, the response
|
|
4251
|
+
# includes a `nextToken`. You can use this token in a subsequent
|
|
4252
|
+
# `GetQueryResults` request to get the next set of results.
|
|
4253
|
+
# @return [String]
|
|
4254
|
+
#
|
|
4237
4255
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetQueryResultsResponse AWS API Documentation
|
|
4238
4256
|
#
|
|
4239
4257
|
class GetQueryResultsResponse < Struct.new(
|
|
@@ -4241,7 +4259,8 @@ module Aws::CloudWatchLogs
|
|
|
4241
4259
|
:results,
|
|
4242
4260
|
:statistics,
|
|
4243
4261
|
:status,
|
|
4244
|
-
:encryption_key
|
|
4262
|
+
:encryption_key,
|
|
4263
|
+
:next_token)
|
|
4245
4264
|
SENSITIVE = []
|
|
4246
4265
|
include Aws::Structure
|
|
4247
4266
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -873,10 +873,13 @@ module Aws
|
|
|
873
873
|
def statistics: () -> Types::QueryStatistics
|
|
874
874
|
def status: () -> ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
|
|
875
875
|
def encryption_key: () -> ::String
|
|
876
|
+
def next_token: () -> ::String
|
|
876
877
|
end
|
|
877
878
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_query_results-instance_method
|
|
878
879
|
def get_query_results: (
|
|
879
|
-
query_id: ::String
|
|
880
|
+
query_id: ::String,
|
|
881
|
+
?next_token: ::String,
|
|
882
|
+
?max_items: ::Integer
|
|
880
883
|
) -> _GetQueryResultsResponseSuccess
|
|
881
884
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueryResultsResponseSuccess
|
|
882
885
|
|
data/sig/types.rbs
CHANGED
|
@@ -1010,6 +1010,8 @@ module Aws::CloudWatchLogs
|
|
|
1010
1010
|
|
|
1011
1011
|
class GetQueryResultsRequest
|
|
1012
1012
|
attr_accessor query_id: ::String
|
|
1013
|
+
attr_accessor next_token: ::String
|
|
1014
|
+
attr_accessor max_items: ::Integer
|
|
1013
1015
|
SENSITIVE: []
|
|
1014
1016
|
end
|
|
1015
1017
|
|
|
@@ -1019,6 +1021,7 @@ module Aws::CloudWatchLogs
|
|
|
1019
1021
|
attr_accessor statistics: Types::QueryStatistics
|
|
1020
1022
|
attr_accessor status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
|
|
1021
1023
|
attr_accessor encryption_key: ::String
|
|
1024
|
+
attr_accessor next_token: ::String
|
|
1022
1025
|
SENSITIVE: []
|
|
1023
1026
|
end
|
|
1024
1027
|
|