aws-sdk-cloudwatchlogs 1.159.0 → 1.160.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: af1c399693416da43f0f382a0b49226a8cdd29e3c353ff785351de4694a9772c
4
- data.tar.gz: 778f8b47f3f8b4c1bed88ba71610a99b11a55e48fe9fded4fbbd20dc01de5ee2
3
+ metadata.gz: c1b200667491ac782dd20cdf52122ec35b1615203f6494bab416ab0d829e1334
4
+ data.tar.gz: a0ae4310581fe59d8e58ec6f650aba483b97b6ffc4eeb3c73809920361946953
5
5
  SHA512:
6
- metadata.gz: dabca0581f2fb9089d203d8fa71f48fc5a4b704ba8ff3cd04e12d98a2aa3d91071af9a82e91cdd438a89fcca849f5903eb1d86b7ca5a1b028358c7c6724c4324
7
- data.tar.gz: bab2bd952d6e80558df8d9b00118e901ca3590a8a2a85b43a7e7d1cc7fd30a6a708ce7dd5543c94b60fb0ae54cb66f4f27861a5dc10b36dd81a32d33007b5dd9
6
+ metadata.gz: f207dee45eee8b4e6506bcc4946f5291d68156f5c95b1c611ad4d15e8b3c7f1be57970f9f8ae2d1a077cdf4c84e10ff87bac2cd37863465f4f7f0816fb0c4c62
7
+ data.tar.gz: a8beb6d42f772807929b0e2b2b86e47d23414023cfde492224a14c82fdc5b454520034d9b1fd97457611f240c56cb247b1efb3e03e6f92da25566fb75ba9d99a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.160.0 (2026-07-31)
5
+ ------------------
6
+
7
+ * Feature - Amazon CloudWatch Logs now lets you create and update lookup tables directly from CloudWatch Logs query results by passing a queryId, and configure a lookup table as a scheduled query destination so it refreshes automatically with the latest query results on each run.
8
+
4
9
  1.159.0 (2026-07-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.159.0
1
+ 1.160.0
@@ -1344,14 +1344,15 @@ module Aws::CloudWatchLogs
1344
1344
  req.send_request(options)
1345
1345
  end
1346
1346
 
1347
- # Creates a lookup table by uploading CSV data. You can use lookup
1348
- # tables to enrich log data in CloudWatch Logs Insights queries with
1349
- # reference data such as user details, application names, or error
1350
- # descriptions.
1347
+ # Creates a lookup table by uploading CSV data or from CloudWatch Logs
1348
+ # query results. You can use lookup tables to enrich log data in
1349
+ # CloudWatch Logs queries with reference data such as user details,
1350
+ # application names, or error descriptions.
1351
1351
  #
1352
- # The table name must be unique within your account and Region. The CSV
1353
- # content must include a header row with column names, use UTF-8
1354
- # encoding, and not exceed 10 MB.
1352
+ # The table name must be unique within your account and Region. You must
1353
+ # specify either `tableBody` or `queryId`, but not both. If you use
1354
+ # `tableBody`, the CSV content must include a header row with column
1355
+ # names, use UTF-8 encoding, and not exceed 10 MB.
1355
1356
  #
1356
1357
  # @option params [required, String] :lookup_table_name
1357
1358
  # The name of the lookup table. The name must be unique within your
@@ -1362,11 +1363,19 @@ module Aws::CloudWatchLogs
1362
1363
  # A description of the lookup table. The description can be up to 1024
1363
1364
  # characters long.
1364
1365
  #
1365
- # @option params [required, String] :table_body
1366
+ # @option params [String] :table_body
1366
1367
  # The CSV content of the lookup table. The first row must be a header
1367
1368
  # row with column names. The content must use UTF-8 encoding and not
1368
1369
  # exceed 10 MB.
1369
1370
  #
1371
+ # You must specify either `tableBody` or `queryId`, but not both.
1372
+ #
1373
+ # @option params [String] :query_id
1374
+ # The ID of a completed CloudWatch Logs query whose results populate the
1375
+ # lookup table.
1376
+ #
1377
+ # You must specify either `tableBody` or `queryId`, but not both.
1378
+ #
1370
1379
  # @option params [String] :kms_key_id
1371
1380
  # The ARN of the KMS key to use to encrypt the lookup table data. If you
1372
1381
  # don't specify a key, the data is encrypted with an Amazon Web
@@ -1387,7 +1396,8 @@ module Aws::CloudWatchLogs
1387
1396
  # resp = client.create_lookup_table({
1388
1397
  # lookup_table_name: "LookupTableName", # required
1389
1398
  # description: "LookupTableDescription",
1390
- # table_body: "TableBody", # required
1399
+ # table_body: "TableBody",
1400
+ # query_id: "QueryId",
1391
1401
  # kms_key_id: "KmsKeyId",
1392
1402
  # tags: {
1393
1403
  # "TagKey" => "TagValue",
@@ -1454,8 +1464,10 @@ module Aws::CloudWatchLogs
1454
1464
  # time window relative to the execution time over which the query runs.
1455
1465
  #
1456
1466
  # @option params [Types::DestinationConfiguration] :destination_configuration
1457
- # Configuration for where to deliver query results. Currently supports
1458
- # Amazon S3 destinations for storing query output.
1467
+ # Configuration for where to deliver query results. Supports Amazon S3
1468
+ # destinations for storing query output and lookup table destinations
1469
+ # for automatically refreshing lookup tables with query results. You can
1470
+ # configure one or both destination types.
1459
1471
  #
1460
1472
  # @option params [Integer] :schedule_start_time
1461
1473
  # The start time for the scheduled query in Unix epoch format. The query
@@ -1497,12 +1509,21 @@ module Aws::CloudWatchLogs
1497
1509
  # start_time_offset: 1,
1498
1510
  # end_time_offset: 1,
1499
1511
  # destination_configuration: {
1500
- # s3_configuration: { # required
1512
+ # s3_configuration: {
1501
1513
  # destination_identifier: "S3Uri", # required
1502
1514
  # role_arn: "RoleArn", # required
1503
1515
  # owner_account_id: "AccountId",
1504
1516
  # kms_key_id: "KmsKeyId",
1505
1517
  # },
1518
+ # lookup_table_configuration: {
1519
+ # table_name: "LookupTableName", # required
1520
+ # role_arn: "RoleArn", # required
1521
+ # description: "LookupTableDescription",
1522
+ # kms_key_id: "KmsKeyId",
1523
+ # tags: {
1524
+ # "TagKey" => "TagValue",
1525
+ # },
1526
+ # },
1506
1527
  # },
1507
1528
  # schedule_start_time: 1,
1508
1529
  # schedule_end_time: 1,
@@ -4830,6 +4851,12 @@ module Aws::CloudWatchLogs
4830
4851
  # resp.destination_configuration.s3_configuration.role_arn #=> String
4831
4852
  # resp.destination_configuration.s3_configuration.owner_account_id #=> String
4832
4853
  # resp.destination_configuration.s3_configuration.kms_key_id #=> String
4854
+ # resp.destination_configuration.lookup_table_configuration.table_name #=> String
4855
+ # resp.destination_configuration.lookup_table_configuration.role_arn #=> String
4856
+ # resp.destination_configuration.lookup_table_configuration.description #=> String
4857
+ # resp.destination_configuration.lookup_table_configuration.kms_key_id #=> String
4858
+ # resp.destination_configuration.lookup_table_configuration.tags #=> Hash
4859
+ # resp.destination_configuration.lookup_table_configuration.tags["TagKey"] #=> String
4833
4860
  # resp.state #=> String, one of "ENABLED", "DISABLED"
4834
4861
  # resp.schedule_type #=> String, one of "CUSTOMER_MANAGED", "AWS_MANAGED"
4835
4862
  # resp.last_triggered_time #=> Integer
@@ -4904,7 +4931,7 @@ module Aws::CloudWatchLogs
4904
4931
  # resp.trigger_history[0].triggered_timestamp #=> Integer
4905
4932
  # resp.trigger_history[0].error_message #=> String
4906
4933
  # resp.trigger_history[0].destinations #=> Array
4907
- # resp.trigger_history[0].destinations[0].destination_type #=> String, one of "S3"
4934
+ # resp.trigger_history[0].destinations[0].destination_type #=> String, one of "S3", "LOOKUP_TABLE"
4908
4935
  # resp.trigger_history[0].destinations[0].destination_identifier #=> String
4909
4936
  # resp.trigger_history[0].destinations[0].status #=> String, one of "IN_PROGRESS", "CLIENT_ERROR", "FAILED", "COMPLETE"
4910
4937
  # resp.trigger_history[0].destinations[0].processed_identifier #=> String
@@ -4920,7 +4947,7 @@ module Aws::CloudWatchLogs
4920
4947
  req.send_request(options)
4921
4948
  end
4922
4949
 
4923
- # Returns the storage tier policy for your account.
4950
+ # Returns the storage tier policy for the account.
4924
4951
  #
4925
4952
  # @return [Types::GetStorageTierPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4926
4953
  #
@@ -5598,6 +5625,12 @@ module Aws::CloudWatchLogs
5598
5625
  # resp.scheduled_queries[0].destination_configuration.s3_configuration.role_arn #=> String
5599
5626
  # resp.scheduled_queries[0].destination_configuration.s3_configuration.owner_account_id #=> String
5600
5627
  # resp.scheduled_queries[0].destination_configuration.s3_configuration.kms_key_id #=> String
5628
+ # resp.scheduled_queries[0].destination_configuration.lookup_table_configuration.table_name #=> String
5629
+ # resp.scheduled_queries[0].destination_configuration.lookup_table_configuration.role_arn #=> String
5630
+ # resp.scheduled_queries[0].destination_configuration.lookup_table_configuration.description #=> String
5631
+ # resp.scheduled_queries[0].destination_configuration.lookup_table_configuration.kms_key_id #=> String
5632
+ # resp.scheduled_queries[0].destination_configuration.lookup_table_configuration.tags #=> Hash
5633
+ # resp.scheduled_queries[0].destination_configuration.lookup_table_configuration.tags["TagKey"] #=> String
5601
5634
  # resp.scheduled_queries[0].creation_time #=> Integer
5602
5635
  # resp.scheduled_queries[0].last_updated_time #=> Integer
5603
5636
  #
@@ -7830,14 +7863,15 @@ module Aws::CloudWatchLogs
7830
7863
  req.send_request(options)
7831
7864
  end
7832
7865
 
7833
- # Sets the storage tier policy for your account. When you set the
7834
- # storage tier to `INTELLIGENT_TIERING`, CloudWatch Logs automatically
7835
- # moves your log data between storage tiers based on access patterns to
7836
- # optimize costs.
7866
+ # Sets the storage tier policy for the account. When you set the storage
7867
+ # tier to `INTELLIGENT_TIERING`, the service automatically moves log
7868
+ # data to the most cost-effective storage tier based on access
7869
+ # frequency.
7837
7870
  #
7838
7871
  # @option params [required, String] :storage_tier
7839
- # The storage tier to set for the account. Valid values are `STANDARD`
7840
- # and `INTELLIGENT_TIERING`.
7872
+ # The storage tier to set for the account. Use `INTELLIGENT_TIERING` to
7873
+ # automatically optimize storage costs by moving log data to the
7874
+ # appropriate tier based on access frequency.
7841
7875
  #
7842
7876
  # @return [Types::PutStorageTierPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7843
7877
  #
@@ -7985,9 +8019,9 @@ module Aws::CloudWatchLogs
7985
8019
  #
7986
8020
  # @option params [Array<String>] :emit_system_fields
7987
8021
  # A list of system fields to include in the log events sent to the
7988
- # subscription destination. Valid values are `@aws.account` and
7989
- # `@aws.region`. These fields provide source information for centralized
7990
- # log data in the forwarded payload.
8022
+ # subscription destination. Valid values are `@aws.account`,
8023
+ # `@aws.region`, and `@source.log`. These fields provide source
8024
+ # information for centralized log data in the forwarded payload.
7991
8025
  #
7992
8026
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7993
8027
  #
@@ -9354,12 +9388,13 @@ module Aws::CloudWatchLogs
9354
9388
  req.send_request(options)
9355
9389
  end
9356
9390
 
9357
- # Updates an existing lookup table by replacing all of its CSV content.
9358
- # After the update completes, queries that use this table will use the
9359
- # new data.
9391
+ # Updates an existing lookup table by replacing all of its content with
9392
+ # new CSV data or CloudWatch Logs query results. After the update
9393
+ # completes, queries that use this table use the new data.
9360
9394
  #
9361
- # This is a full replacement operation. All existing content is replaced
9362
- # with the new CSV data.
9395
+ # This is a full replacement operation. All existing content is
9396
+ # replaced. You must specify either `tableBody` or `queryId`, but not
9397
+ # both.
9363
9398
  #
9364
9399
  # @option params [required, String] :lookup_table_arn
9365
9400
  # The ARN of the lookup table to update.
@@ -9367,11 +9402,19 @@ module Aws::CloudWatchLogs
9367
9402
  # @option params [String] :description
9368
9403
  # An updated description of the lookup table.
9369
9404
  #
9370
- # @option params [required, String] :table_body
9405
+ # @option params [String] :table_body
9371
9406
  # The new CSV content to replace the existing data. The first row must
9372
9407
  # be a header row with column names. The content must use UTF-8 encoding
9373
9408
  # and not exceed 10 MB.
9374
9409
  #
9410
+ # You must specify either `tableBody` or `queryId`, but not both.
9411
+ #
9412
+ # @option params [String] :query_id
9413
+ # The ID of a completed CloudWatch Logs query whose results replace the
9414
+ # lookup table content.
9415
+ #
9416
+ # You must specify either `tableBody` or `queryId`, but not both.
9417
+ #
9375
9418
  # @option params [String] :kms_key_id
9376
9419
  # The ARN of the KMS key to use to encrypt the lookup table data. You
9377
9420
  # can use this parameter to add, update, or remove the KMS key. To
@@ -9388,7 +9431,8 @@ module Aws::CloudWatchLogs
9388
9431
  # resp = client.update_lookup_table({
9389
9432
  # lookup_table_arn: "Arn", # required
9390
9433
  # description: "LookupTableDescription",
9391
- # table_body: "TableBody", # required
9434
+ # table_body: "TableBody",
9435
+ # query_id: "QueryId",
9392
9436
  # kms_key_id: "KmsKeyId",
9393
9437
  # })
9394
9438
  #
@@ -9492,12 +9536,21 @@ module Aws::CloudWatchLogs
9492
9536
  # start_time_offset: 1,
9493
9537
  # end_time_offset: 1,
9494
9538
  # destination_configuration: {
9495
- # s3_configuration: { # required
9539
+ # s3_configuration: {
9496
9540
  # destination_identifier: "S3Uri", # required
9497
9541
  # role_arn: "RoleArn", # required
9498
9542
  # owner_account_id: "AccountId",
9499
9543
  # kms_key_id: "KmsKeyId",
9500
9544
  # },
9545
+ # lookup_table_configuration: {
9546
+ # table_name: "LookupTableName", # required
9547
+ # role_arn: "RoleArn", # required
9548
+ # description: "LookupTableDescription",
9549
+ # kms_key_id: "KmsKeyId",
9550
+ # tags: {
9551
+ # "TagKey" => "TagValue",
9552
+ # },
9553
+ # },
9501
9554
  # },
9502
9555
  # schedule_start_time: 1,
9503
9556
  # schedule_end_time: 1,
@@ -9522,6 +9575,12 @@ module Aws::CloudWatchLogs
9522
9575
  # resp.destination_configuration.s3_configuration.role_arn #=> String
9523
9576
  # resp.destination_configuration.s3_configuration.owner_account_id #=> String
9524
9577
  # resp.destination_configuration.s3_configuration.kms_key_id #=> String
9578
+ # resp.destination_configuration.lookup_table_configuration.table_name #=> String
9579
+ # resp.destination_configuration.lookup_table_configuration.role_arn #=> String
9580
+ # resp.destination_configuration.lookup_table_configuration.description #=> String
9581
+ # resp.destination_configuration.lookup_table_configuration.kms_key_id #=> String
9582
+ # resp.destination_configuration.lookup_table_configuration.tags #=> Hash
9583
+ # resp.destination_configuration.lookup_table_configuration.tags["TagKey"] #=> String
9525
9584
  # resp.state #=> String, one of "ENABLED", "DISABLED"
9526
9585
  # resp.schedule_type #=> String, one of "CUSTOMER_MANAGED", "AWS_MANAGED"
9527
9586
  # resp.last_triggered_time #=> Integer
@@ -9559,7 +9618,7 @@ module Aws::CloudWatchLogs
9559
9618
  tracer: tracer
9560
9619
  )
9561
9620
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
9562
- context[:gem_version] = '1.159.0'
9621
+ context[:gem_version] = '1.160.0'
9563
9622
  Seahorse::Client::Request.new(handlers, context)
9564
9623
  end
9565
9624
 
@@ -425,6 +425,7 @@ module Aws::CloudWatchLogs
425
425
  LogType = Shapes::StringShape.new(name: 'LogType')
426
426
  LogTypes = Shapes::ListShape.new(name: 'LogTypes')
427
427
  LookupTable = Shapes::StructureShape.new(name: 'LookupTable')
428
+ LookupTableConfiguration = Shapes::StructureShape.new(name: 'LookupTableConfiguration')
428
429
  LookupTableDescription = Shapes::StringShape.new(name: 'LookupTableDescription')
429
430
  LookupTableName = Shapes::StringShape.new(name: 'LookupTableName')
430
431
  LookupTables = Shapes::ListShape.new(name: 'LookupTables')
@@ -906,7 +907,8 @@ module Aws::CloudWatchLogs
906
907
 
907
908
  CreateLookupTableRequest.add_member(:lookup_table_name, Shapes::ShapeRef.new(shape: LookupTableName, required: true, location_name: "lookupTableName"))
908
909
  CreateLookupTableRequest.add_member(:description, Shapes::ShapeRef.new(shape: LookupTableDescription, location_name: "description"))
909
- CreateLookupTableRequest.add_member(:table_body, Shapes::ShapeRef.new(shape: TableBody, required: true, location_name: "tableBody"))
910
+ CreateLookupTableRequest.add_member(:table_body, Shapes::ShapeRef.new(shape: TableBody, location_name: "tableBody"))
911
+ CreateLookupTableRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "queryId"))
910
912
  CreateLookupTableRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
911
913
  CreateLookupTableRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
912
914
  CreateLookupTableRequest.struct_class = Types::CreateLookupTableRequest
@@ -1308,7 +1310,8 @@ module Aws::CloudWatchLogs
1308
1310
  Destination.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
1309
1311
  Destination.struct_class = Types::Destination
1310
1312
 
1311
- DestinationConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3Configuration, required: true, location_name: "s3Configuration"))
1313
+ DestinationConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3Configuration, location_name: "s3Configuration"))
1314
+ DestinationConfiguration.add_member(:lookup_table_configuration, Shapes::ShapeRef.new(shape: LookupTableConfiguration, location_name: "lookupTableConfiguration"))
1312
1315
  DestinationConfiguration.struct_class = Types::DestinationConfiguration
1313
1316
 
1314
1317
  Destinations.member = Shapes::ShapeRef.new(shape: Destination)
@@ -1899,6 +1902,13 @@ module Aws::CloudWatchLogs
1899
1902
  LookupTable.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
1900
1903
  LookupTable.struct_class = Types::LookupTable
1901
1904
 
1905
+ LookupTableConfiguration.add_member(:table_name, Shapes::ShapeRef.new(shape: LookupTableName, required: true, location_name: "tableName"))
1906
+ LookupTableConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
1907
+ LookupTableConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: LookupTableDescription, location_name: "description"))
1908
+ LookupTableConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
1909
+ LookupTableConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1910
+ LookupTableConfiguration.struct_class = Types::LookupTableConfiguration
1911
+
1902
1912
  LookupTables.member = Shapes::ShapeRef.new(shape: LookupTable)
1903
1913
 
1904
1914
  LowerCaseString.add_member(:with_keys, Shapes::ShapeRef.new(shape: LowerCaseStringWithKeys, required: true, location_name: "withKeys"))
@@ -2609,7 +2619,8 @@ module Aws::CloudWatchLogs
2609
2619
 
2610
2620
  UpdateLookupTableRequest.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "lookupTableArn"))
2611
2621
  UpdateLookupTableRequest.add_member(:description, Shapes::ShapeRef.new(shape: LookupTableDescription, location_name: "description"))
2612
- UpdateLookupTableRequest.add_member(:table_body, Shapes::ShapeRef.new(shape: TableBody, required: true, location_name: "tableBody"))
2622
+ UpdateLookupTableRequest.add_member(:table_body, Shapes::ShapeRef.new(shape: TableBody, location_name: "tableBody"))
2623
+ UpdateLookupTableRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "queryId"))
2613
2624
  UpdateLookupTableRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
2614
2625
  UpdateLookupTableRequest.struct_class = Types::UpdateLookupTableRequest
2615
2626
 
@@ -1159,6 +1159,15 @@ module Aws::CloudWatchLogs
1159
1159
  # The CSV content of the lookup table. The first row must be a header
1160
1160
  # row with column names. The content must use UTF-8 encoding and not
1161
1161
  # exceed 10 MB.
1162
+ #
1163
+ # You must specify either `tableBody` or `queryId`, but not both.
1164
+ # @return [String]
1165
+ #
1166
+ # @!attribute [rw] query_id
1167
+ # The ID of a completed CloudWatch Logs query whose results populate
1168
+ # the lookup table.
1169
+ #
1170
+ # You must specify either `tableBody` or `queryId`, but not both.
1162
1171
  # @return [String]
1163
1172
  #
1164
1173
  # @!attribute [rw] kms_key_id
@@ -1179,6 +1188,7 @@ module Aws::CloudWatchLogs
1179
1188
  :lookup_table_name,
1180
1189
  :description,
1181
1190
  :table_body,
1191
+ :query_id,
1182
1192
  :kms_key_id,
1183
1193
  :tags)
1184
1194
  SENSITIVE = []
@@ -1255,8 +1265,10 @@ module Aws::CloudWatchLogs
1255
1265
  # @return [Integer]
1256
1266
  #
1257
1267
  # @!attribute [rw] destination_configuration
1258
- # Configuration for where to deliver query results. Currently supports
1259
- # Amazon S3 destinations for storing query output.
1268
+ # Configuration for where to deliver query results. Supports Amazon S3
1269
+ # destinations for storing query output and lookup table destinations
1270
+ # for automatically refreshing lookup tables with query results. You
1271
+ # can configure one or both destination types.
1260
1272
  # @return [Types::DestinationConfiguration]
1261
1273
  #
1262
1274
  # @!attribute [rw] schedule_start_time
@@ -3238,10 +3250,17 @@ module Aws::CloudWatchLogs
3238
3250
  # Configuration for delivering query results to Amazon S3.
3239
3251
  # @return [Types::S3Configuration]
3240
3252
  #
3253
+ # @!attribute [rw] lookup_table_configuration
3254
+ # Configuration for delivering query results to a lookup table. The
3255
+ # query results automatically populate or refresh the specified lookup
3256
+ # table on each scheduled execution.
3257
+ # @return [Types::LookupTableConfiguration]
3258
+ #
3241
3259
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DestinationConfiguration AWS API Documentation
3242
3260
  #
3243
3261
  class DestinationConfiguration < Struct.new(
3244
- :s3_configuration)
3262
+ :s3_configuration,
3263
+ :lookup_table_configuration)
3245
3264
  SENSITIVE = []
3246
3265
  include Aws::Structure
3247
3266
  end
@@ -4607,7 +4626,7 @@ module Aws::CloudWatchLogs
4607
4626
  #
4608
4627
  # @!attribute [rw] last_updated_time
4609
4628
  # The time when the storage tier policy was last updated, expressed as
4610
- # the number of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
4629
+ # the number of milliseconds after `January 1, 1970 00:00:00 UTC`.
4611
4630
  # @return [Integer]
4612
4631
  #
4613
4632
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetStorageTierPolicyResponse AWS API Documentation
@@ -6205,6 +6224,47 @@ module Aws::CloudWatchLogs
6205
6224
  include Aws::Structure
6206
6225
  end
6207
6226
 
6227
+ # Configuration for a lookup table destination. Use it to automatically
6228
+ # refresh a lookup table with query results on a schedule.
6229
+ #
6230
+ # @!attribute [rw] table_name
6231
+ # The name of the lookup table to create or update with query results.
6232
+ # The name can contain only alphanumeric characters and underscores.
6233
+ # @return [String]
6234
+ #
6235
+ # @!attribute [rw] role_arn
6236
+ # The ARN of the IAM role that grants permissions to create or update
6237
+ # the lookup table with query results.
6238
+ # @return [String]
6239
+ #
6240
+ # @!attribute [rw] description
6241
+ # A description of the lookup table.
6242
+ # @return [String]
6243
+ #
6244
+ # @!attribute [rw] kms_key_id
6245
+ # The ARN of the KMS key to use to encrypt the lookup table data. If
6246
+ # you don't specify a key, the data is encrypted with an Amazon Web
6247
+ # Services-owned key.
6248
+ # @return [String]
6249
+ #
6250
+ # @!attribute [rw] tags
6251
+ # Key-value pairs to associate with the lookup table for resource
6252
+ # management and cost allocation. The service applies tags only during
6253
+ # initial table creation.
6254
+ # @return [Hash<String,String>]
6255
+ #
6256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LookupTableConfiguration AWS API Documentation
6257
+ #
6258
+ class LookupTableConfiguration < Struct.new(
6259
+ :table_name,
6260
+ :role_arn,
6261
+ :description,
6262
+ :kms_key_id,
6263
+ :tags)
6264
+ SENSITIVE = []
6265
+ include Aws::Structure
6266
+ end
6267
+
6208
6268
  # This processor converts a string to lowercase.
6209
6269
  #
6210
6270
  # For more information about this processor including examples, see [
@@ -8671,8 +8731,9 @@ module Aws::CloudWatchLogs
8671
8731
  end
8672
8732
 
8673
8733
  # @!attribute [rw] storage_tier
8674
- # The storage tier to set for the account. Valid values are `STANDARD`
8675
- # and `INTELLIGENT_TIERING`.
8734
+ # The storage tier to set for the account. Use `INTELLIGENT_TIERING`
8735
+ # to automatically optimize storage costs by moving log data to the
8736
+ # appropriate tier based on access frequency.
8676
8737
  # @return [String]
8677
8738
  #
8678
8739
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutStorageTierPolicyRequest AWS API Documentation
@@ -8684,12 +8745,12 @@ module Aws::CloudWatchLogs
8684
8745
  end
8685
8746
 
8686
8747
  # @!attribute [rw] storage_tier
8687
- # The storage tier that was set.
8748
+ # The storage tier for the account.
8688
8749
  # @return [String]
8689
8750
  #
8690
8751
  # @!attribute [rw] last_updated_time
8691
8752
  # The time when the storage tier policy was last updated, expressed as
8692
- # the number of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
8753
+ # the number of milliseconds after `January 1, 1970 00:00:00 UTC`.
8693
8754
  # @return [Integer]
8694
8755
  #
8695
8756
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutStorageTierPolicyResponse AWS API Documentation
@@ -8787,9 +8848,9 @@ module Aws::CloudWatchLogs
8787
8848
  #
8788
8849
  # @!attribute [rw] emit_system_fields
8789
8850
  # A list of system fields to include in the log events sent to the
8790
- # subscription destination. Valid values are `@aws.account` and
8791
- # `@aws.region`. These fields provide source information for
8792
- # centralized log data in the forwarded payload.
8851
+ # subscription destination. Valid values are `@aws.account`,
8852
+ # `@aws.region`, and `@source.log`. These fields provide source
8853
+ # information for centralized log data in the forwarded payload.
8793
8854
  # @return [Array<String>]
8794
8855
  #
8795
8856
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilterRequest AWS API Documentation
@@ -10596,6 +10657,15 @@ module Aws::CloudWatchLogs
10596
10657
  # The new CSV content to replace the existing data. The first row must
10597
10658
  # be a header row with column names. The content must use UTF-8
10598
10659
  # encoding and not exceed 10 MB.
10660
+ #
10661
+ # You must specify either `tableBody` or `queryId`, but not both.
10662
+ # @return [String]
10663
+ #
10664
+ # @!attribute [rw] query_id
10665
+ # The ID of a completed CloudWatch Logs query whose results replace
10666
+ # the lookup table content.
10667
+ #
10668
+ # You must specify either `tableBody` or `queryId`, but not both.
10599
10669
  # @return [String]
10600
10670
  #
10601
10671
  # @!attribute [rw] kms_key_id
@@ -10611,6 +10681,7 @@ module Aws::CloudWatchLogs
10611
10681
  :lookup_table_arn,
10612
10682
  :description,
10613
10683
  :table_body,
10684
+ :query_id,
10614
10685
  :kms_key_id)
10615
10686
  SENSITIVE = []
10616
10687
  include Aws::Structure
@@ -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.159.0'
58
+ GEM_VERSION = '1.160.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -217,7 +217,8 @@ module Aws
217
217
  def create_lookup_table: (
218
218
  lookup_table_name: ::String,
219
219
  ?description: ::String,
220
- table_body: ::String,
220
+ ?table_body: ::String,
221
+ ?query_id: ::String,
221
222
  ?kms_key_id: ::String,
222
223
  ?tags: Hash[::String, ::String]
223
224
  ) -> _CreateLookupTableResponseSuccess
@@ -1524,7 +1525,8 @@ module Aws
1524
1525
  def update_lookup_table: (
1525
1526
  lookup_table_arn: ::String,
1526
1527
  ?description: ::String,
1527
- table_body: ::String,
1528
+ ?table_body: ::String,
1529
+ ?query_id: ::String,
1528
1530
  ?kms_key_id: ::String
1529
1531
  ) -> _UpdateLookupTableResponseSuccess
1530
1532
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLookupTableResponseSuccess
data/sig/params.rbs CHANGED
@@ -14,7 +14,14 @@ module Aws
14
14
  role_arn: ::String,
15
15
  owner_account_id: ::String?,
16
16
  kms_key_id: ::String?
17
- }
17
+ }?,
18
+ lookup_table_configuration: {
19
+ table_name: ::String,
20
+ role_arn: ::String,
21
+ description: ::String?,
22
+ kms_key_id: ::String?,
23
+ tags: Hash[::String, ::String]?
24
+ }?
18
25
  }
19
26
 
20
27
  type date_time_converter = {
data/sig/types.rbs CHANGED
@@ -241,6 +241,7 @@ module Aws::CloudWatchLogs
241
241
  attr_accessor lookup_table_name: ::String
242
242
  attr_accessor description: ::String
243
243
  attr_accessor table_body: ::String
244
+ attr_accessor query_id: ::String
244
245
  attr_accessor kms_key_id: ::String
245
246
  attr_accessor tags: ::Hash[::String, ::String]
246
247
  SENSITIVE: []
@@ -769,6 +770,7 @@ module Aws::CloudWatchLogs
769
770
 
770
771
  class DestinationConfiguration
771
772
  attr_accessor s3_configuration: Types::S3Configuration
773
+ attr_accessor lookup_table_configuration: Types::LookupTableConfiguration
772
774
  SENSITIVE: []
773
775
  end
774
776
 
@@ -1481,6 +1483,15 @@ module Aws::CloudWatchLogs
1481
1483
  SENSITIVE: []
1482
1484
  end
1483
1485
 
1486
+ class LookupTableConfiguration
1487
+ attr_accessor table_name: ::String
1488
+ attr_accessor role_arn: ::String
1489
+ attr_accessor description: ::String
1490
+ attr_accessor kms_key_id: ::String
1491
+ attr_accessor tags: ::Hash[::String, ::String]
1492
+ SENSITIVE: []
1493
+ end
1494
+
1484
1495
  class LowerCaseString
1485
1496
  attr_accessor with_keys: ::Array[::String]
1486
1497
  SENSITIVE: []
@@ -2079,7 +2090,7 @@ module Aws::CloudWatchLogs
2079
2090
  end
2080
2091
 
2081
2092
  class ScheduledQueryDestination
2082
- attr_accessor destination_type: ("S3")
2093
+ attr_accessor destination_type: ("S3" | "LOOKUP_TABLE")
2083
2094
  attr_accessor destination_identifier: ::String
2084
2095
  attr_accessor status: ("IN_PROGRESS" | "CLIENT_ERROR" | "FAILED" | "COMPLETE")
2085
2096
  attr_accessor processed_identifier: ::String
@@ -2347,6 +2358,7 @@ module Aws::CloudWatchLogs
2347
2358
  attr_accessor lookup_table_arn: ::String
2348
2359
  attr_accessor description: ::String
2349
2360
  attr_accessor table_body: ::String
2361
+ attr_accessor query_id: ::String
2350
2362
  attr_accessor kms_key_id: ::String
2351
2363
  SENSITIVE: []
2352
2364
  end
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.159.0
4
+ version: 1.160.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services