aws-sdk-cloudwatchlogs 1.146.0 → 1.148.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: 9eb844c7f78fdf37274095fdcf7345ab21158d8a98cb8d1f1956ec281b508ba9
4
- data.tar.gz: a34f21c858092277d94e420ce35f7f2a15b4c6a1bc7e518aa62a7cd3f04ab550
3
+ metadata.gz: 4c3df144eaefe138ae1e298537c0c495044d96da140fb8cc7148eb189e189d26
4
+ data.tar.gz: 4fbfbdf42a703c3accd3756b5f27c74aa8bb9788a096f4327b38be0dcc223abc
5
5
  SHA512:
6
- metadata.gz: d6d4ab4e50575af4f0b5e907ca7516f01570f4d80f08f38c603dbc38c2dfed5a5830b7622e0013f082af9a9a6a27a0ec084855473583379a2153dc6c54d5f145
7
- data.tar.gz: 9ed73f786d7f5b934323c83a5de164bbe02e124044aeec903b580480334527138e36a89e11307be9e4402bcde93c095178bec3a0767b2983355b1803c39a339c
6
+ metadata.gz: d06dedc3dc82d2c0d35cfcad018a6e5b6e6d1bf606b4ea16b473f910f9bfb9b6d68c7bec1daa9e2e0066e22d3e02789122b6e02a1ad27b92014187b4d3bc1e0f
7
+ data.tar.gz: c9c3894e26229d656928eabeeeccec181412bf2132e2b7d796f5dadaadbb325966efba14a9c40970bbd6b752e3dc108cf57aec526ca6c819823d0eb6c3c41a95
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.148.0 (2026-05-01)
5
+ ------------------
6
+
7
+ * Feature - Adds support for filtering log groups by tags in the ListLogGroups API via the new logGroupTags parameter.
8
+
9
+ 1.147.0 (2026-04-27)
10
+ ------------------
11
+
12
+ * Feature - Adds support for selecting all logs sources and types in a single association.
13
+
4
14
  1.146.0 (2026-04-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.146.0
1
+ 1.148.0
@@ -5258,12 +5258,10 @@ module Aws::CloudWatchLogs
5258
5258
  # observability to set up monitoring accounts and source accounts, see [
5259
5259
  # CloudWatch cross-account observability][1].
5260
5260
  #
5261
- # You can optionally filter the list by log group class, by using
5262
- # regular expressions in your request to match strings in the log group
5263
- # names, by using the fieldIndexes parameter to filter log groups based
5264
- # on which field indexes are configured, by using the dataSources
5265
- # parameter to filter log groups by data source types, and by using the
5266
- # fieldIndexNames parameter to filter by specific field index names.
5261
+ # You can optionally filter the results by log group class, log group
5262
+ # name pattern, field indexes, data sources, field index names, or log
5263
+ # group tags. If you specify more than one filter type, the results
5264
+ # include log groups that satisfy all filters.
5267
5265
  #
5268
5266
  # This operation is paginated. By default, your first use of this
5269
5267
  # operation returns 50 results, and includes a token to use in a
@@ -5336,6 +5334,10 @@ module Aws::CloudWatchLogs
5336
5334
  # are returned. You can specify 1 to 20 field index names, each with 1
5337
5335
  # to 512 characters.
5338
5336
  #
5337
+ # @option params [Array<Types::TagFilter>] :log_group_tags
5338
+ # An array of tag filters to return only log groups that have specific
5339
+ # tags. Multiple filters are combined with AND logic.
5340
+ #
5339
5341
  # @return [Types::ListLogGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5340
5342
  #
5341
5343
  # * {Types::ListLogGroupsResponse#log_groups #log_groups} => Array&lt;Types::LogGroupSummary&gt;
@@ -5357,6 +5359,12 @@ module Aws::CloudWatchLogs
5357
5359
  # },
5358
5360
  # ],
5359
5361
  # field_index_names: ["FieldIndexName"],
5362
+ # log_group_tags: [
5363
+ # {
5364
+ # key: "TagFilterKey", # required
5365
+ # values: ["TagFilterValue"],
5366
+ # },
5367
+ # ],
5360
5368
  # })
5361
5369
  #
5362
5370
  # @example Response structure
@@ -5530,6 +5538,7 @@ module Aws::CloudWatchLogs
5530
5538
  # resp.sources[0].status #=> String, one of "ACTIVE", "UNHEALTHY", "FAILED", "DATA_SOURCE_DELETE_IN_PROGRESS"
5531
5539
  # resp.sources[0].status_reason #=> String
5532
5540
  # resp.sources[0].created_time_stamp #=> Integer
5541
+ # resp.sources[0].parent_source_identifier #=> String
5533
5542
  # resp.next_token #=> String
5534
5543
  #
5535
5544
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListSourcesForS3TableIntegration AWS API Documentation
@@ -6593,8 +6602,10 @@ module Aws::CloudWatchLogs
6593
6602
  # `arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234`
6594
6603
  #
6595
6604
  # For the `SECURITY_FINDING_LOGS` logType, use a wildcard ARN for the
6596
- # hub resource. For example,
6597
- # `arn:aws:securityhub:us-east-1:111122223333:hub/*`
6605
+ # hub resource. For Amazon Web Services Security Hub CSPM, use
6606
+ # `arn:aws:securityhub:us-east-1:111122223333:hub/*` and for Amazon Web
6607
+ # Services Security Hub, use
6608
+ # `arn:aws:securityhub:us-east-1:111122223333:hubv2/*`
6598
6609
  #
6599
6610
  # @option params [required, String] :log_type
6600
6611
  # Defines the type of log that the source is sending.
@@ -6646,8 +6657,8 @@ module Aws::CloudWatchLogs
6646
6657
  #
6647
6658
  # * For Network Load Balancer, the valid value is `NLB_ACCESS_LOGS`.
6648
6659
  #
6649
- # * For PCS, the valid values are `PCS_SCHEDULER_LOGS` and
6650
- # `PCS_JOBCOMP_LOGS`.
6660
+ # * For PCS, the valid values are `PCS_SCHEDULER_LOGS`,
6661
+ # `PCS_JOBCOMP_LOGS`, and `PCS_SCHEDULER_AUDIT_LOGS`.
6651
6662
  #
6652
6663
  # * For Quick, the valid values are `CHAT_LOGS` and `FEEDBACK_LOGS`.
6653
6664
  #
@@ -6659,6 +6670,9 @@ module Aws::CloudWatchLogs
6659
6670
  # * For Amazon Web Services Security Hub CSPM, the valid value is
6660
6671
  # `SECURITY_FINDING_LOGS`.
6661
6672
  #
6673
+ # * For Amazon Web Services Security Hub, the valid value is
6674
+ # `SECURITY_FINDING_LOGS`.
6675
+ #
6662
6676
  # * For Amazon SES mail manager, the valid values are `APPLICATION_LOGS`
6663
6677
  # and `TRAFFIC_POLICY_DEBUG_LOGS`.
6664
6678
  #
@@ -8285,7 +8299,9 @@ module Aws::CloudWatchLogs
8285
8299
  # * Or the `queryString` must include a `SOURCE` command to select log
8286
8300
  # groups for the query. The `SOURCE` command can select log groups
8287
8301
  # based on log group name prefix, account ID, and log class, or select
8288
- # data sources using dataSource syntax in LogsQL, PPL, and SQL.
8302
+ # data sources using dataSource syntax in LogsQL, PPL, and SQL. In
8303
+ # LogsQL, the `SOURCE` command also supports filtering by log group
8304
+ # tags.
8289
8305
  #
8290
8306
  # For more information about the `SOURCE` command, see [SOURCE][3].
8291
8307
  #
@@ -9244,7 +9260,7 @@ module Aws::CloudWatchLogs
9244
9260
  tracer: tracer
9245
9261
  )
9246
9262
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
9247
- context[:gem_version] = '1.146.0'
9263
+ context[:gem_version] = '1.148.0'
9248
9264
  Seahorse::Client::Request.new(handlers, context)
9249
9265
  end
9250
9266
 
@@ -618,6 +618,11 @@ module Aws::CloudWatchLogs
618
618
  SystemField = Shapes::StringShape.new(name: 'SystemField')
619
619
  TableBody = Shapes::StringShape.new(name: 'TableBody')
620
620
  TableFields = Shapes::ListShape.new(name: 'TableFields')
621
+ TagFilter = Shapes::StructureShape.new(name: 'TagFilter')
622
+ TagFilterKey = Shapes::StringShape.new(name: 'TagFilterKey')
623
+ TagFilterValue = Shapes::StringShape.new(name: 'TagFilterValue')
624
+ TagFilterValues = Shapes::ListShape.new(name: 'TagFilterValues')
625
+ TagFilters = Shapes::ListShape.new(name: 'TagFilters')
621
626
  TagKey = Shapes::StringShape.new(name: 'TagKey')
622
627
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
623
628
  TagList = Shapes::ListShape.new(name: 'TagList')
@@ -1669,6 +1674,7 @@ module Aws::CloudWatchLogs
1669
1674
  ListLogGroupsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: ListLimit, location_name: "limit"))
1670
1675
  ListLogGroupsRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceFilters, location_name: "dataSources"))
1671
1676
  ListLogGroupsRequest.add_member(:field_index_names, Shapes::ShapeRef.new(shape: FieldIndexNames, location_name: "fieldIndexNames"))
1677
+ ListLogGroupsRequest.add_member(:log_group_tags, Shapes::ShapeRef.new(shape: TagFilters, location_name: "logGroupTags"))
1672
1678
  ListLogGroupsRequest.struct_class = Types::ListLogGroupsRequest
1673
1679
 
1674
1680
  ListLogGroupsResponse.add_member(:log_groups, Shapes::ShapeRef.new(shape: LogGroupSummaries, location_name: "logGroups"))
@@ -2271,6 +2277,7 @@ module Aws::CloudWatchLogs
2271
2277
  S3TableIntegrationSource.add_member(:status, Shapes::ShapeRef.new(shape: S3TableIntegrationSourceStatus, location_name: "status"))
2272
2278
  S3TableIntegrationSource.add_member(:status_reason, Shapes::ShapeRef.new(shape: S3TableIntegrationSourceStatusReason, location_name: "statusReason"))
2273
2279
  S3TableIntegrationSource.add_member(:created_time_stamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTimeStamp"))
2280
+ S3TableIntegrationSource.add_member(:parent_source_identifier, Shapes::ShapeRef.new(shape: S3TableIntegrationSourceIdentifier, location_name: "parentSourceIdentifier"))
2274
2281
  S3TableIntegrationSource.struct_class = Types::S3TableIntegrationSource
2275
2282
 
2276
2283
  S3TableIntegrationSources.member = Shapes::ShapeRef.new(shape: S3TableIntegrationSource)
@@ -2391,6 +2398,14 @@ module Aws::CloudWatchLogs
2391
2398
 
2392
2399
  TableFields.member = Shapes::ShapeRef.new(shape: String)
2393
2400
 
2401
+ TagFilter.add_member(:key, Shapes::ShapeRef.new(shape: TagFilterKey, required: true, location_name: "key"))
2402
+ TagFilter.add_member(:values, Shapes::ShapeRef.new(shape: TagFilterValues, location_name: "values"))
2403
+ TagFilter.struct_class = Types::TagFilter
2404
+
2405
+ TagFilterValues.member = Shapes::ShapeRef.new(shape: TagFilterValue)
2406
+
2407
+ TagFilters.member = Shapes::ShapeRef.new(shape: TagFilter)
2408
+
2394
2409
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
2395
2410
 
2396
2411
  TagList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -5199,6 +5199,11 @@ module Aws::CloudWatchLogs
5199
5199
  # names, each with 1 to 512 characters.
5200
5200
  # @return [Array<String>]
5201
5201
  #
5202
+ # @!attribute [rw] log_group_tags
5203
+ # An array of tag filters to return only log groups that have specific
5204
+ # tags. Multiple filters are combined with AND logic.
5205
+ # @return [Array<Types::TagFilter>]
5206
+ #
5202
5207
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListLogGroupsRequest AWS API Documentation
5203
5208
  #
5204
5209
  class ListLogGroupsRequest < Struct.new(
@@ -5209,7 +5214,8 @@ module Aws::CloudWatchLogs
5209
5214
  :next_token,
5210
5215
  :limit,
5211
5216
  :data_sources,
5212
- :field_index_names)
5217
+ :field_index_names,
5218
+ :log_group_tags)
5213
5219
  SENSITIVE = []
5214
5220
  include Aws::Structure
5215
5221
  end
@@ -7739,8 +7745,10 @@ module Aws::CloudWatchLogs
7739
7745
  # `arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234`
7740
7746
  #
7741
7747
  # For the `SECURITY_FINDING_LOGS` logType, use a wildcard ARN for the
7742
- # hub resource. For example,
7743
- # `arn:aws:securityhub:us-east-1:111122223333:hub/*`
7748
+ # hub resource. For Amazon Web Services Security Hub CSPM, use
7749
+ # `arn:aws:securityhub:us-east-1:111122223333:hub/*` and for Amazon
7750
+ # Web Services Security Hub, use
7751
+ # `arn:aws:securityhub:us-east-1:111122223333:hubv2/*`
7744
7752
  # @return [String]
7745
7753
  #
7746
7754
  # @!attribute [rw] log_type
@@ -7793,8 +7801,8 @@ module Aws::CloudWatchLogs
7793
7801
  #
7794
7802
  # * For Network Load Balancer, the valid value is `NLB_ACCESS_LOGS`.
7795
7803
  #
7796
- # * For PCS, the valid values are `PCS_SCHEDULER_LOGS` and
7797
- # `PCS_JOBCOMP_LOGS`.
7804
+ # * For PCS, the valid values are `PCS_SCHEDULER_LOGS`,
7805
+ # `PCS_JOBCOMP_LOGS`, and `PCS_SCHEDULER_AUDIT_LOGS`.
7798
7806
  #
7799
7807
  # * For Quick, the valid values are `CHAT_LOGS` and `FEEDBACK_LOGS`.
7800
7808
  #
@@ -7807,6 +7815,9 @@ module Aws::CloudWatchLogs
7807
7815
  # * For Amazon Web Services Security Hub CSPM, the valid value is
7808
7816
  # `SECURITY_FINDING_LOGS`.
7809
7817
  #
7818
+ # * For Amazon Web Services Security Hub, the valid value is
7819
+ # `SECURITY_FINDING_LOGS`.
7820
+ #
7810
7821
  # * For Amazon SES mail manager, the valid values are
7811
7822
  # `APPLICATION_LOGS` and `TRAFFIC_POLICY_DEBUG_LOGS`.
7812
7823
  #
@@ -9117,6 +9128,10 @@ module Aws::CloudWatchLogs
9117
9128
  # The timestamp when the data source association was created.
9118
9129
  # @return [Integer]
9119
9130
  #
9131
+ # @!attribute [rw] parent_source_identifier
9132
+ # The identifier of the parent data source for this association.
9133
+ # @return [String]
9134
+ #
9120
9135
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/S3TableIntegrationSource AWS API Documentation
9121
9136
  #
9122
9137
  class S3TableIntegrationSource < Struct.new(
@@ -9124,7 +9139,8 @@ module Aws::CloudWatchLogs
9124
9139
  :data_source,
9125
9140
  :status,
9126
9141
  :status_reason,
9127
- :created_time_stamp)
9142
+ :created_time_stamp,
9143
+ :parent_source_identifier)
9128
9144
  SENSITIVE = []
9129
9145
  include Aws::Structure
9130
9146
  end
@@ -9707,6 +9723,42 @@ module Aws::CloudWatchLogs
9707
9723
  include Aws::Structure
9708
9724
  end
9709
9725
 
9726
+ # A tag filter that specifies a tag key and optional tag values for
9727
+ # filtering log groups by tags.
9728
+ #
9729
+ # @!attribute [rw] key
9730
+ # The tag key to filter on.
9731
+ # @return [String]
9732
+ #
9733
+ # @!attribute [rw] values
9734
+ # An optional list of tag values to filter on.
9735
+ #
9736
+ # * If you specify a filter that contains more than one value for a
9737
+ # key, the response returns log groups that match any of the
9738
+ # specified values for that key.
9739
+ #
9740
+ # * If you don't specify values, the response returns all log groups
9741
+ # that are tagged with that key, with any or no value.
9742
+ #
9743
+ # * Use `*` for wildcard matching. For example, `prod*` matches values
9744
+ # that start with `prod`.
9745
+ #
9746
+ # * Use `!` as a prefix for negation. For example, `!prod` matches
9747
+ # values that are not `prod`.
9748
+ #
9749
+ # * Exact matching and negation are case-sensitive. Wildcard matching
9750
+ # is case-insensitive.
9751
+ # @return [Array<String>]
9752
+ #
9753
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagFilter AWS API Documentation
9754
+ #
9755
+ class TagFilter < Struct.new(
9756
+ :key,
9757
+ :values)
9758
+ SENSITIVE = []
9759
+ include Aws::Structure
9760
+ end
9761
+
9710
9762
  # @!attribute [rw] log_group_name
9711
9763
  # The name of the log group.
9712
9764
  # @return [String]
@@ -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.146.0'
58
+ GEM_VERSION = '1.148.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -1022,7 +1022,13 @@ module Aws
1022
1022
  type: ::String?
1023
1023
  },
1024
1024
  ],
1025
- ?field_index_names: Array[::String]
1025
+ ?field_index_names: Array[::String],
1026
+ ?log_group_tags: Array[
1027
+ {
1028
+ key: ::String,
1029
+ values: Array[::String]?
1030
+ },
1031
+ ]
1026
1032
  ) -> _ListLogGroupsResponseSuccess
1027
1033
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLogGroupsResponseSuccess
1028
1034
 
data/sig/types.rbs CHANGED
@@ -1261,6 +1261,7 @@ module Aws::CloudWatchLogs
1261
1261
  attr_accessor limit: ::Integer
1262
1262
  attr_accessor data_sources: ::Array[Types::DataSourceFilter]
1263
1263
  attr_accessor field_index_names: ::Array[::String]
1264
+ attr_accessor log_group_tags: ::Array[Types::TagFilter]
1264
1265
  SENSITIVE: []
1265
1266
  end
1266
1267
 
@@ -2000,6 +2001,7 @@ module Aws::CloudWatchLogs
2000
2001
  attr_accessor status: ("ACTIVE" | "UNHEALTHY" | "FAILED" | "DATA_SOURCE_DELETE_IN_PROGRESS")
2001
2002
  attr_accessor status_reason: ::String
2002
2003
  attr_accessor created_time_stamp: ::Integer
2004
+ attr_accessor parent_source_identifier: ::String
2003
2005
  SENSITIVE: []
2004
2006
  end
2005
2007
 
@@ -2133,6 +2135,12 @@ module Aws::CloudWatchLogs
2133
2135
  SENSITIVE: []
2134
2136
  end
2135
2137
 
2138
+ class TagFilter
2139
+ attr_accessor key: ::String
2140
+ attr_accessor values: ::Array[::String]
2141
+ SENSITIVE: []
2142
+ end
2143
+
2136
2144
  class TagLogGroupRequest
2137
2145
  attr_accessor log_group_name: ::String
2138
2146
  attr_accessor tags: ::Hash[::String, ::String]
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.146.0
4
+ version: 1.148.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services