aws-sdk-cloudwatchlogs 1.24.0 → 1.25.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
  SHA1:
3
- metadata.gz: dffe775c3803f9e17ead875a4ed54147e5cab656
4
- data.tar.gz: e61b62997345c6148877c8e74348bcfa58481b84
3
+ metadata.gz: 6bcd07ac61a97e4a3d3a6aea0db33d2809834f71
4
+ data.tar.gz: e684e8ce3ad743085472768182f1d61edd5e1f70
5
5
  SHA512:
6
- metadata.gz: df565021126cb2a620ce75bd07fd1c8777da4100a604534ccc009872214ab309b32ab501f261c2128be7b9107e8be496ee258df43060b518deb3945f9961805c
7
- data.tar.gz: 896a8e54b9f11186a78af3456ae03b37fac09fa1a046931aadf319e4022d5691741228e3a18a0d488072552e68bde08a088b4be0b4218caad0428c20e23a0bc9
6
+ metadata.gz: 69796f87bda84d1a99cab9d2c48e23efa4543df02c908689d10141e9f4845ff1a3cb1393c62c01aacdd7222828ec7514a1fc86dadbfd9d1726e18952f5cd6f05
7
+ data.tar.gz: cc49ae2326d06d8eaac4ce44e73820541c749a2cf5ddd17b238623e5d83b20f64d9de9a7bd9ac4d9bdcf44a314d1abb4da78aa6a81d26ba01b8d647f718777ea
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-cloudwatchlogs/customizations'
42
42
  # @service
43
43
  module Aws::CloudWatchLogs
44
44
 
45
- GEM_VERSION = '1.24.0'
45
+ GEM_VERSION = '1.25.0'
46
46
 
47
47
  end
@@ -351,6 +351,9 @@ module Aws::CloudWatchLogs
351
351
  # you can specify a prefix to be used as the Amazon S3 key prefix for
352
352
  # all exported objects.
353
353
  #
354
+ # Exporting to S3 buckets that are encrypted with AES-256 is supported.
355
+ # Exporting to S3 buckets encrypted with SSE-KMS is not supported.
356
+ #
354
357
  # @option params [String] :task_name
355
358
  # The name of the export task.
356
359
  #
@@ -1308,6 +1311,9 @@ module Aws::CloudWatchLogs
1308
1311
  # the value is false, the latest log events are returned first. The
1309
1312
  # default value is false.
1310
1313
  #
1314
+ # If you are using `nextToken` in this operation, you must specify
1315
+ # `true` for `startFromHead`.
1316
+ #
1311
1317
  # @return [Types::GetLogEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1312
1318
  #
1313
1319
  # * {Types::GetLogEventsResponse#events #events} => Array<Types::OutputLogEvent>
@@ -1432,8 +1438,7 @@ module Aws::CloudWatchLogs
1432
1438
  req.send_request(options)
1433
1439
  end
1434
1440
 
1435
- # Returns the results from the specified query. If the query is in
1436
- # progress, partial results of that current execution are returned.
1441
+ # Returns the results from the specified query.
1437
1442
  #
1438
1443
  # Only the fields requested in the query are returned, along with a
1439
1444
  # `@ptr` field which is the identifier for the log record. You can use
@@ -1442,6 +1447,11 @@ module Aws::CloudWatchLogs
1442
1447
  # `GetQueryResults` does not start a query execution. To run a query,
1443
1448
  # use .
1444
1449
  #
1450
+ # If the value of the `Status` field in the output is `Running`, this
1451
+ # operation returns only partial results. If you see a value of
1452
+ # `Scheduled` or `Running` for the status, you can retry the operation
1453
+ # later to see the final results.
1454
+ #
1445
1455
  # @option params [required, String] :query_id
1446
1456
  # The ID number of the query.
1447
1457
  #
@@ -1509,15 +1519,15 @@ module Aws::CloudWatchLogs
1509
1519
  # Creates or updates a destination. A destination encapsulates a
1510
1520
  # physical resource (such as an Amazon Kinesis stream) and enables you
1511
1521
  # to subscribe to a real-time stream of log events for a different
1512
- # account, ingested using PutLogEvents. Currently, the only supported
1513
- # physical resource is a Kinesis stream belonging to the same account as
1514
- # the destination.
1522
+ # account, ingested using PutLogEvents. A destination can be an Amazon
1523
+ # Kinesis stream, Amazon Kinesis Data Firehose strea, or an AWS Lambda
1524
+ # function.
1515
1525
  #
1516
1526
  # Through an access policy, a destination controls what is written to
1517
- # its Kinesis stream. By default, `PutDestination` does not set any
1518
- # access policy with the destination, which means a cross-account user
1519
- # cannot call PutSubscriptionFilter against this destination. To enable
1520
- # this, the destination owner must call PutDestinationPolicy after
1527
+ # it. By default, `PutDestination` does not set any access policy with
1528
+ # the destination, which means a cross-account user cannot call
1529
+ # PutSubscriptionFilter against this destination. To enable this, the
1530
+ # destination owner must call PutDestinationPolicy after
1521
1531
  # `PutDestination`.
1522
1532
  #
1523
1533
  # @option params [required, String] :destination_name
@@ -1908,9 +1918,19 @@ module Aws::CloudWatchLogs
1908
1918
  #
1909
1919
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html
1910
1920
  #
1911
- # @option params [required, String] :log_group_name
1921
+ # @option params [String] :log_group_name
1912
1922
  # The log group on which to perform the query.
1913
1923
  #
1924
+ # A `StartQuery` operation must include a `logGroupNames` or a
1925
+ # `logGroupName` parameter, but not both.
1926
+ #
1927
+ # @option params [Array<String>] :log_group_names
1928
+ # The list of log groups to be queried. You can include up to 20 log
1929
+ # groups.
1930
+ #
1931
+ # A `StartQuery` operation must include a `logGroupNames` or a
1932
+ # `logGroupName` parameter, but not both.
1933
+ #
1914
1934
  # @option params [required, Integer] :start_time
1915
1935
  # The beginning of the time range to query. The range is inclusive, so
1916
1936
  # the specified start time is included in the query. Specified as epoch
@@ -1941,7 +1961,8 @@ module Aws::CloudWatchLogs
1941
1961
  # @example Request syntax with placeholder values
1942
1962
  #
1943
1963
  # resp = client.start_query({
1944
- # log_group_name: "LogGroupName", # required
1964
+ # log_group_name: "LogGroupName",
1965
+ # log_group_names: ["LogGroupName"],
1945
1966
  # start_time: 1, # required
1946
1967
  # end_time: 1, # required
1947
1968
  # query_string: "QueryString", # required
@@ -2113,7 +2134,7 @@ module Aws::CloudWatchLogs
2113
2134
  params: params,
2114
2135
  config: config)
2115
2136
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
2116
- context[:gem_version] = '1.24.0'
2137
+ context[:gem_version] = '1.25.0'
2117
2138
  Seahorse::Client::Request.new(handlers, context)
2118
2139
  end
2119
2140
 
@@ -101,6 +101,7 @@ module Aws::CloudWatchLogs
101
101
  LogGroupField = Shapes::StructureShape.new(name: 'LogGroupField')
102
102
  LogGroupFieldList = Shapes::ListShape.new(name: 'LogGroupFieldList')
103
103
  LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
104
+ LogGroupNames = Shapes::ListShape.new(name: 'LogGroupNames')
104
105
  LogGroups = Shapes::ListShape.new(name: 'LogGroups')
105
106
  LogRecord = Shapes::MapShape.new(name: 'LogRecord')
106
107
  LogRecordPointer = Shapes::StringShape.new(name: 'LogRecordPointer')
@@ -364,7 +365,7 @@ module Aws::CloudWatchLogs
364
365
  FilterLogEventsRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
365
366
  FilterLogEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
366
367
  FilterLogEventsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: EventsLimit, location_name: "limit"))
367
- FilterLogEventsRequest.add_member(:interleaved, Shapes::ShapeRef.new(shape: Interleaved, location_name: "interleaved"))
368
+ FilterLogEventsRequest.add_member(:interleaved, Shapes::ShapeRef.new(shape: Interleaved, deprecated: true, location_name: "interleaved", metadata: {"deprecatedMessage"=>"Starting on June 17, 2019, this parameter will be ignored and the value will be assumed to be true. The response from this operation will always interleave events from multiple log streams within a log group."}))
368
369
  FilterLogEventsRequest.struct_class = Types::FilterLogEventsRequest
369
370
 
370
371
  FilterLogEventsResponse.add_member(:events, Shapes::ShapeRef.new(shape: FilteredLogEvents, location_name: "events"))
@@ -448,6 +449,8 @@ module Aws::CloudWatchLogs
448
449
 
449
450
  LogGroupFieldList.member = Shapes::ShapeRef.new(shape: LogGroupField)
450
451
 
452
+ LogGroupNames.member = Shapes::ShapeRef.new(shape: LogGroupName)
453
+
451
454
  LogGroups.member = Shapes::ShapeRef.new(shape: LogGroup)
452
455
 
453
456
  LogRecord.key = Shapes::ShapeRef.new(shape: Field)
@@ -460,7 +463,7 @@ module Aws::CloudWatchLogs
460
463
  LogStream.add_member(:last_ingestion_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastIngestionTime"))
461
464
  LogStream.add_member(:upload_sequence_token, Shapes::ShapeRef.new(shape: SequenceToken, location_name: "uploadSequenceToken"))
462
465
  LogStream.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
463
- LogStream.add_member(:stored_bytes, Shapes::ShapeRef.new(shape: StoredBytes, location_name: "storedBytes"))
466
+ LogStream.add_member(:stored_bytes, Shapes::ShapeRef.new(shape: StoredBytes, deprecated: true, location_name: "storedBytes", metadata: {"deprecatedMessage"=>"Starting on June 17, 2019, this parameter will be deprecated for log streams, and will be reported as zero. This change applies only to log streams. The storedBytes parameter for log groups is not affected."}))
464
467
  LogStream.struct_class = Types::LogStream
465
468
 
466
469
  LogStreams.member = Shapes::ShapeRef.new(shape: LogStream)
@@ -594,7 +597,8 @@ module Aws::CloudWatchLogs
594
597
 
595
598
  SearchedLogStreams.member = Shapes::ShapeRef.new(shape: SearchedLogStream)
596
599
 
597
- StartQueryRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
600
+ StartQueryRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
601
+ StartQueryRequest.add_member(:log_group_names, Shapes::ShapeRef.new(shape: LogGroupNames, location_name: "logGroupNames"))
598
602
  StartQueryRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
599
603
  StartQueryRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "endTime"))
600
604
  StartQueryRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
@@ -1175,6 +1175,9 @@ module Aws::CloudWatchLogs
1175
1175
  # If the value is true, the earliest log events are returned first. If
1176
1176
  # the value is false, the latest log events are returned first. The
1177
1177
  # default value is false.
1178
+ #
1179
+ # If you are using `nextToken` in this operation, you must specify
1180
+ # `true` for `startFromHead`.
1178
1181
  # @return [Boolean]
1179
1182
  #
1180
1183
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEventsRequest AWS API Documentation
@@ -2196,7 +2199,8 @@ module Aws::CloudWatchLogs
2196
2199
  # data as a hash:
2197
2200
  #
2198
2201
  # {
2199
- # log_group_name: "LogGroupName", # required
2202
+ # log_group_name: "LogGroupName",
2203
+ # log_group_names: ["LogGroupName"],
2200
2204
  # start_time: 1, # required
2201
2205
  # end_time: 1, # required
2202
2206
  # query_string: "QueryString", # required
@@ -2205,8 +2209,19 @@ module Aws::CloudWatchLogs
2205
2209
  #
2206
2210
  # @!attribute [rw] log_group_name
2207
2211
  # The log group on which to perform the query.
2212
+ #
2213
+ # A `StartQuery` operation must include a `logGroupNames` or a
2214
+ # `logGroupName` parameter, but not both.
2208
2215
  # @return [String]
2209
2216
  #
2217
+ # @!attribute [rw] log_group_names
2218
+ # The list of log groups to be queried. You can include up to 20 log
2219
+ # groups.
2220
+ #
2221
+ # A `StartQuery` operation must include a `logGroupNames` or a
2222
+ # `logGroupName` parameter, but not both.
2223
+ # @return [Array<String>]
2224
+ #
2210
2225
  # @!attribute [rw] start_time
2211
2226
  # The beginning of the time range to query. The range is inclusive, so
2212
2227
  # the specified start time is included in the query. Specified as
@@ -2239,6 +2254,7 @@ module Aws::CloudWatchLogs
2239
2254
  #
2240
2255
  class StartQueryRequest < Struct.new(
2241
2256
  :log_group_name,
2257
+ :log_group_names,
2242
2258
  :start_time,
2243
2259
  :end_time,
2244
2260
  :query_string,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchlogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.24.0
4
+ version: 1.25.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: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core