aws-sdk-cloudwatchlogs 1.145.0 → 1.147.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5303d92d69d03c4d1fdea8392fed536e484255022346723f2eec9fdd98b54568
4
- data.tar.gz: e4fe07c30d3ed54d93b378f03029deee1de23611a1f08cc6f40c4f85e49f1b1c
3
+ metadata.gz: 4d8887efc6a9f880d973a21b4e63fe48dbbd7c98898f0017f30cb105d4be852b
4
+ data.tar.gz: e3eb1cce37bc8fdf8e0313fa4b66eb350ba503e75bc175d273e352703a6fdc54
5
5
  SHA512:
6
- metadata.gz: c6b19c24cb3ae5d99c4d946861d83ab1bc07b18131fe349bc56fea2ae2f408435088f73c1074662c389cbe2cf0900b04f6d16ca12b55b4851f4fb81ee7b70b73
7
- data.tar.gz: 8f4c62752f0f36df438aa5777b72304a95fb8e633d9f512e43745e45db3056469d303f5abe2dce091acc175269e8b4c4dd24a856ba13fefa6c5dc8593f3047d7
6
+ metadata.gz: a963a4a6a87f3bd4e2912e9fb204b4a08e048118246bced618749ebcd36df9eb20e407577d82a2c141f39a14ff3d719f2fb607dedad58485aa98c5250799a944
7
+ data.tar.gz: cddd9e1435b9adc8a67022fe1798004d3a23c82310e026802cb50f42d7a7ce3e89fb14e151a383bfe9555742cf80e576caf84a12de4c02fe876aef698d48fb92
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.147.0 (2026-04-27)
5
+ ------------------
6
+
7
+ * Feature - Adds support for selecting all logs sources and types in a single association.
8
+
9
+ 1.146.0 (2026-04-24)
10
+ ------------------
11
+
12
+ * Feature - Adding nextToken and maxItems to the GetQueryResults API.
13
+
4
14
  1.145.0 (2026-04-16)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.145.0
1
+ 1.147.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
  #
@@ -5518,6 +5530,7 @@ module Aws::CloudWatchLogs
5518
5530
  # resp.sources[0].status #=> String, one of "ACTIVE", "UNHEALTHY", "FAILED", "DATA_SOURCE_DELETE_IN_PROGRESS"
5519
5531
  # resp.sources[0].status_reason #=> String
5520
5532
  # resp.sources[0].created_time_stamp #=> Integer
5533
+ # resp.sources[0].parent_source_identifier #=> String
5521
5534
  # resp.next_token #=> String
5522
5535
  #
5523
5536
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListSourcesForS3TableIntegration AWS API Documentation
@@ -6581,8 +6594,10 @@ module Aws::CloudWatchLogs
6581
6594
  # `arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234`
6582
6595
  #
6583
6596
  # For the `SECURITY_FINDING_LOGS` logType, use a wildcard ARN for the
6584
- # hub resource. For example,
6585
- # `arn:aws:securityhub:us-east-1:111122223333:hub/*`
6597
+ # hub resource. For Amazon Web Services Security Hub CSPM, use
6598
+ # `arn:aws:securityhub:us-east-1:111122223333:hub/*` and for Amazon Web
6599
+ # Services Security Hub, use
6600
+ # `arn:aws:securityhub:us-east-1:111122223333:hubv2/*`
6586
6601
  #
6587
6602
  # @option params [required, String] :log_type
6588
6603
  # Defines the type of log that the source is sending.
@@ -6634,8 +6649,8 @@ module Aws::CloudWatchLogs
6634
6649
  #
6635
6650
  # * For Network Load Balancer, the valid value is `NLB_ACCESS_LOGS`.
6636
6651
  #
6637
- # * For PCS, the valid values are `PCS_SCHEDULER_LOGS` and
6638
- # `PCS_JOBCOMP_LOGS`.
6652
+ # * For PCS, the valid values are `PCS_SCHEDULER_LOGS`,
6653
+ # `PCS_JOBCOMP_LOGS`, and `PCS_SCHEDULER_AUDIT_LOGS`.
6639
6654
  #
6640
6655
  # * For Quick, the valid values are `CHAT_LOGS` and `FEEDBACK_LOGS`.
6641
6656
  #
@@ -6647,6 +6662,9 @@ module Aws::CloudWatchLogs
6647
6662
  # * For Amazon Web Services Security Hub CSPM, the valid value is
6648
6663
  # `SECURITY_FINDING_LOGS`.
6649
6664
  #
6665
+ # * For Amazon Web Services Security Hub, the valid value is
6666
+ # `SECURITY_FINDING_LOGS`.
6667
+ #
6650
6668
  # * For Amazon SES mail manager, the valid values are `APPLICATION_LOGS`
6651
6669
  # and `TRAFFIC_POLICY_DEBUG_LOGS`.
6652
6670
  #
@@ -9232,7 +9250,7 @@ module Aws::CloudWatchLogs
9232
9250
  tracer: tracer
9233
9251
  )
9234
9252
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
9235
- context[:gem_version] = '1.145.0'
9253
+ context[:gem_version] = '1.147.0'
9236
9254
  Seahorse::Client::Request.new(handlers, context)
9237
9255
  end
9238
9256
 
@@ -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"))
@@ -2266,6 +2271,7 @@ module Aws::CloudWatchLogs
2266
2271
  S3TableIntegrationSource.add_member(:status, Shapes::ShapeRef.new(shape: S3TableIntegrationSourceStatus, location_name: "status"))
2267
2272
  S3TableIntegrationSource.add_member(:status_reason, Shapes::ShapeRef.new(shape: S3TableIntegrationSourceStatusReason, location_name: "statusReason"))
2268
2273
  S3TableIntegrationSource.add_member(:created_time_stamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTimeStamp"))
2274
+ S3TableIntegrationSource.add_member(:parent_source_identifier, Shapes::ShapeRef.new(shape: S3TableIntegrationSourceIdentifier, location_name: "parentSourceIdentifier"))
2269
2275
  S3TableIntegrationSource.struct_class = Types::S3TableIntegrationSource
2270
2276
 
2271
2277
  S3TableIntegrationSources.member = Shapes::ShapeRef.new(shape: S3TableIntegrationSource)
@@ -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
@@ -7720,8 +7739,10 @@ module Aws::CloudWatchLogs
7720
7739
  # `arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234`
7721
7740
  #
7722
7741
  # For the `SECURITY_FINDING_LOGS` logType, use a wildcard ARN for the
7723
- # hub resource. For example,
7724
- # `arn:aws:securityhub:us-east-1:111122223333:hub/*`
7742
+ # hub resource. For Amazon Web Services Security Hub CSPM, use
7743
+ # `arn:aws:securityhub:us-east-1:111122223333:hub/*` and for Amazon
7744
+ # Web Services Security Hub, use
7745
+ # `arn:aws:securityhub:us-east-1:111122223333:hubv2/*`
7725
7746
  # @return [String]
7726
7747
  #
7727
7748
  # @!attribute [rw] log_type
@@ -7774,8 +7795,8 @@ module Aws::CloudWatchLogs
7774
7795
  #
7775
7796
  # * For Network Load Balancer, the valid value is `NLB_ACCESS_LOGS`.
7776
7797
  #
7777
- # * For PCS, the valid values are `PCS_SCHEDULER_LOGS` and
7778
- # `PCS_JOBCOMP_LOGS`.
7798
+ # * For PCS, the valid values are `PCS_SCHEDULER_LOGS`,
7799
+ # `PCS_JOBCOMP_LOGS`, and `PCS_SCHEDULER_AUDIT_LOGS`.
7779
7800
  #
7780
7801
  # * For Quick, the valid values are `CHAT_LOGS` and `FEEDBACK_LOGS`.
7781
7802
  #
@@ -7788,6 +7809,9 @@ module Aws::CloudWatchLogs
7788
7809
  # * For Amazon Web Services Security Hub CSPM, the valid value is
7789
7810
  # `SECURITY_FINDING_LOGS`.
7790
7811
  #
7812
+ # * For Amazon Web Services Security Hub, the valid value is
7813
+ # `SECURITY_FINDING_LOGS`.
7814
+ #
7791
7815
  # * For Amazon SES mail manager, the valid values are
7792
7816
  # `APPLICATION_LOGS` and `TRAFFIC_POLICY_DEBUG_LOGS`.
7793
7817
  #
@@ -9098,6 +9122,10 @@ module Aws::CloudWatchLogs
9098
9122
  # The timestamp when the data source association was created.
9099
9123
  # @return [Integer]
9100
9124
  #
9125
+ # @!attribute [rw] parent_source_identifier
9126
+ # The identifier of the parent data source for this association.
9127
+ # @return [String]
9128
+ #
9101
9129
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/S3TableIntegrationSource AWS API Documentation
9102
9130
  #
9103
9131
  class S3TableIntegrationSource < Struct.new(
@@ -9105,7 +9133,8 @@ module Aws::CloudWatchLogs
9105
9133
  :data_source,
9106
9134
  :status,
9107
9135
  :status_reason,
9108
- :created_time_stamp)
9136
+ :created_time_stamp,
9137
+ :parent_source_identifier)
9109
9138
  SENSITIVE = []
9110
9139
  include Aws::Structure
9111
9140
  end
@@ -55,7 +55,7 @@ module Aws::CloudWatchLogs
55
55
  autoload :Endpoints, 'aws-sdk-cloudwatchlogs/endpoints'
56
56
  autoload :EventStreams, 'aws-sdk-cloudwatchlogs/event_streams'
57
57
 
58
- GEM_VERSION = '1.145.0'
58
+ GEM_VERSION = '1.147.0'
59
59
 
60
60
  end
61
61
 
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
 
@@ -1997,6 +2000,7 @@ module Aws::CloudWatchLogs
1997
2000
  attr_accessor status: ("ACTIVE" | "UNHEALTHY" | "FAILED" | "DATA_SOURCE_DELETE_IN_PROGRESS")
1998
2001
  attr_accessor status_reason: ::String
1999
2002
  attr_accessor created_time_stamp: ::Integer
2003
+ attr_accessor parent_source_identifier: ::String
2000
2004
  SENSITIVE: []
2001
2005
  end
2002
2006
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchlogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.145.0
4
+ version: 1.147.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services