aws-sdk-cloudwatchlogs 1.159.0 → 1.161.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +149 -35
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +20 -3
- data/lib/aws-sdk-cloudwatchlogs/types.rb +166 -12
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +5 -2
- data/sig/params.rbs +8 -1
- data/sig/types.rbs +15 -1
- 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: b118398e5d33e503c30e524c9c9927dba433b6f4fbb4697795509d3eaadd7a72
|
|
4
|
+
data.tar.gz: 36d9a27673094a461fd06a45da01f0afb6dda78b9cad014f17f8b29eae61d1b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1602fe95620c8185927a4ab82f49a5a24c1327163b8d2c96c0202238e2953f77305615508bfb2ec37210697c765fe77236d9b2e61ed7e1f646c710cd2c0a29ea
|
|
7
|
+
data.tar.gz: c4d4577f0819389f4eea7c78e78b41418ff5ca547a0d191b9be913d367ab4c49a75dae724d104d9ce0702c5154bb21708ea5063382226b1120c8dd00a46862ee
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.161.0 (2026-08-06)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds index category support to the CloudWatch Logs DescribeFieldIndexes API. Customers can filter and identify DEFAULT, CUSTOM, AUTO, and INACTIVE field indexes.
|
|
8
|
+
|
|
9
|
+
1.160.0 (2026-07-31)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* 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.
|
|
13
|
+
|
|
4
14
|
1.159.0 (2026-07-09)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.161.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
|
|
1348
|
-
# tables to enrich log data in
|
|
1349
|
-
# reference data such as user details,
|
|
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.
|
|
1353
|
-
#
|
|
1354
|
-
#
|
|
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,20 @@ 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 [
|
|
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 or cancelled CloudWatch Logs query whose results
|
|
1375
|
+
# populate the lookup table. A cancelled query populates the table with
|
|
1376
|
+
# the partial results that were available when the query was stopped.
|
|
1377
|
+
#
|
|
1378
|
+
# You must specify either `tableBody` or `queryId`, but not both.
|
|
1379
|
+
#
|
|
1370
1380
|
# @option params [String] :kms_key_id
|
|
1371
1381
|
# The ARN of the KMS key to use to encrypt the lookup table data. If you
|
|
1372
1382
|
# don't specify a key, the data is encrypted with an Amazon Web
|
|
@@ -1387,7 +1397,8 @@ module Aws::CloudWatchLogs
|
|
|
1387
1397
|
# resp = client.create_lookup_table({
|
|
1388
1398
|
# lookup_table_name: "LookupTableName", # required
|
|
1389
1399
|
# description: "LookupTableDescription",
|
|
1390
|
-
# table_body: "TableBody",
|
|
1400
|
+
# table_body: "TableBody",
|
|
1401
|
+
# query_id: "QueryId",
|
|
1391
1402
|
# kms_key_id: "KmsKeyId",
|
|
1392
1403
|
# tags: {
|
|
1393
1404
|
# "TagKey" => "TagValue",
|
|
@@ -1454,8 +1465,10 @@ module Aws::CloudWatchLogs
|
|
|
1454
1465
|
# time window relative to the execution time over which the query runs.
|
|
1455
1466
|
#
|
|
1456
1467
|
# @option params [Types::DestinationConfiguration] :destination_configuration
|
|
1457
|
-
# Configuration for where to deliver query results.
|
|
1458
|
-
#
|
|
1468
|
+
# Configuration for where to deliver query results. Supports Amazon S3
|
|
1469
|
+
# destinations for storing query output and lookup table destinations
|
|
1470
|
+
# for automatically refreshing lookup tables with query results. You can
|
|
1471
|
+
# configure one or both destination types.
|
|
1459
1472
|
#
|
|
1460
1473
|
# @option params [Integer] :schedule_start_time
|
|
1461
1474
|
# The start time for the scheduled query in Unix epoch format. The query
|
|
@@ -1497,12 +1510,21 @@ module Aws::CloudWatchLogs
|
|
|
1497
1510
|
# start_time_offset: 1,
|
|
1498
1511
|
# end_time_offset: 1,
|
|
1499
1512
|
# destination_configuration: {
|
|
1500
|
-
# s3_configuration: {
|
|
1513
|
+
# s3_configuration: {
|
|
1501
1514
|
# destination_identifier: "S3Uri", # required
|
|
1502
1515
|
# role_arn: "RoleArn", # required
|
|
1503
1516
|
# owner_account_id: "AccountId",
|
|
1504
1517
|
# kms_key_id: "KmsKeyId",
|
|
1505
1518
|
# },
|
|
1519
|
+
# lookup_table_configuration: {
|
|
1520
|
+
# table_name: "LookupTableName", # required
|
|
1521
|
+
# role_arn: "RoleArn", # required
|
|
1522
|
+
# description: "LookupTableDescription",
|
|
1523
|
+
# kms_key_id: "KmsKeyId",
|
|
1524
|
+
# tags: {
|
|
1525
|
+
# "TagKey" => "TagValue",
|
|
1526
|
+
# },
|
|
1527
|
+
# },
|
|
1506
1528
|
# },
|
|
1507
1529
|
# schedule_start_time: 1,
|
|
1508
1530
|
# schedule_end_time: 1,
|
|
@@ -2642,9 +2664,13 @@ module Aws::CloudWatchLogs
|
|
|
2642
2664
|
req.send_request(options)
|
|
2643
2665
|
end
|
|
2644
2666
|
|
|
2645
|
-
# Returns a list of
|
|
2646
|
-
#
|
|
2647
|
-
#
|
|
2667
|
+
# Returns a list of field indexes discovered in log data. By default,
|
|
2668
|
+
# the response includes the `DEFAULT`, `CUSTOM`, and `INACTIVE` index
|
|
2669
|
+
# categories. To return indexes from other categories, use the
|
|
2670
|
+
# `indexCategories` parameter.
|
|
2671
|
+
#
|
|
2672
|
+
# For more information about field index policies, see
|
|
2673
|
+
# [PutIndexPolicy][1].
|
|
2648
2674
|
#
|
|
2649
2675
|
#
|
|
2650
2676
|
#
|
|
@@ -2654,6 +2680,38 @@ module Aws::CloudWatchLogs
|
|
|
2654
2680
|
# An array containing the names or ARNs of the log groups that you want
|
|
2655
2681
|
# to retrieve field indexes for.
|
|
2656
2682
|
#
|
|
2683
|
+
# @option params [Array<String>] :index_categories
|
|
2684
|
+
# The index categories to return. The following values are supported:
|
|
2685
|
+
#
|
|
2686
|
+
# * `DEFAULT`: Fields that CloudWatch Logs indexes by default. Examples
|
|
2687
|
+
# include `@logStream` and `@data_format`.
|
|
2688
|
+
#
|
|
2689
|
+
# * `CUSTOM`: Fields that you added manually to the field index policy.
|
|
2690
|
+
# CloudWatch Logs always indexes these fields. These fields count
|
|
2691
|
+
# toward the quota of 20 fields for each log group.
|
|
2692
|
+
#
|
|
2693
|
+
# * `AUTO`: Fields that CloudWatch Logs indexes automatically based on
|
|
2694
|
+
# your query patterns and usage. These fields do not count toward the
|
|
2695
|
+
# field index quota. CloudWatch Logs might update these fields based
|
|
2696
|
+
# on changes in your query patterns. To keep a field indexed
|
|
2697
|
+
# permanently, add it to an account-level or log-group level field
|
|
2698
|
+
# index policy.
|
|
2699
|
+
#
|
|
2700
|
+
# * `INACTIVE`: Fields that CloudWatch Logs indexed before but does not
|
|
2701
|
+
# index now. This happens if you remove a field from the field index
|
|
2702
|
+
# policy or if CloudWatch Logs automatically selects a different field
|
|
2703
|
+
# based on your queries.
|
|
2704
|
+
#
|
|
2705
|
+
# If you omit this parameter, the response includes the `DEFAULT`,
|
|
2706
|
+
# `CUSTOM`, and `INACTIVE` categories.
|
|
2707
|
+
#
|
|
2708
|
+
# For more information about automatically indexed fields and using the
|
|
2709
|
+
# `AUTO` category, see [Automatically indexed fields][1].
|
|
2710
|
+
#
|
|
2711
|
+
#
|
|
2712
|
+
#
|
|
2713
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatchLogs-Field-Indexing-Automatic.html
|
|
2714
|
+
#
|
|
2657
2715
|
# @option params [String] :next_token
|
|
2658
2716
|
# The token for the next set of items to return. The token expires after
|
|
2659
2717
|
# 24 hours.
|
|
@@ -2667,6 +2725,7 @@ module Aws::CloudWatchLogs
|
|
|
2667
2725
|
#
|
|
2668
2726
|
# resp = client.describe_field_indexes({
|
|
2669
2727
|
# log_group_identifiers: ["LogGroupIdentifier"], # required
|
|
2728
|
+
# index_categories: ["DEFAULT"], # accepts DEFAULT, CUSTOM, AUTO, INACTIVE
|
|
2670
2729
|
# next_token: "NextToken",
|
|
2671
2730
|
# })
|
|
2672
2731
|
#
|
|
@@ -2679,6 +2738,7 @@ module Aws::CloudWatchLogs
|
|
|
2679
2738
|
# resp.field_indexes[0].first_event_time #=> Integer
|
|
2680
2739
|
# resp.field_indexes[0].last_event_time #=> Integer
|
|
2681
2740
|
# resp.field_indexes[0].type #=> String, one of "FACET", "FIELD_INDEX"
|
|
2741
|
+
# resp.field_indexes[0].index_category #=> String, one of "DEFAULT", "CUSTOM", "AUTO", "INACTIVE"
|
|
2682
2742
|
# resp.next_token #=> String
|
|
2683
2743
|
#
|
|
2684
2744
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeFieldIndexes AWS API Documentation
|
|
@@ -3716,6 +3776,11 @@ module Aws::CloudWatchLogs
|
|
|
3716
3776
|
# after `Jan 1, 1970 00:00:00 UTC`. Events with a timestamp before this
|
|
3717
3777
|
# time are not returned.
|
|
3718
3778
|
#
|
|
3779
|
+
# <note markdown="1"> Set `startTime` explicitly to reduce the chances of empty pages in the
|
|
3780
|
+
# response.
|
|
3781
|
+
#
|
|
3782
|
+
# </note>
|
|
3783
|
+
#
|
|
3719
3784
|
# @option params [Integer] :end_time
|
|
3720
3785
|
# The end of the time range, expressed as the number of milliseconds
|
|
3721
3786
|
# after `Jan 1, 1970 00:00:00 UTC`. Events with a timestamp later than
|
|
@@ -4215,6 +4280,11 @@ module Aws::CloudWatchLogs
|
|
|
4215
4280
|
# this time or later than this time are included. Events with a
|
|
4216
4281
|
# timestamp earlier than this time are not included.
|
|
4217
4282
|
#
|
|
4283
|
+
# <note markdown="1"> Set `startTime` explicitly to reduce the chances of empty pages in the
|
|
4284
|
+
# response.
|
|
4285
|
+
#
|
|
4286
|
+
# </note>
|
|
4287
|
+
#
|
|
4218
4288
|
# @option params [Integer] :end_time
|
|
4219
4289
|
# The end of the time range, expressed as the number of milliseconds
|
|
4220
4290
|
# after `Jan 1, 1970 00:00:00 UTC`. Events with a timestamp equal to or
|
|
@@ -4830,6 +4900,12 @@ module Aws::CloudWatchLogs
|
|
|
4830
4900
|
# resp.destination_configuration.s3_configuration.role_arn #=> String
|
|
4831
4901
|
# resp.destination_configuration.s3_configuration.owner_account_id #=> String
|
|
4832
4902
|
# resp.destination_configuration.s3_configuration.kms_key_id #=> String
|
|
4903
|
+
# resp.destination_configuration.lookup_table_configuration.table_name #=> String
|
|
4904
|
+
# resp.destination_configuration.lookup_table_configuration.role_arn #=> String
|
|
4905
|
+
# resp.destination_configuration.lookup_table_configuration.description #=> String
|
|
4906
|
+
# resp.destination_configuration.lookup_table_configuration.kms_key_id #=> String
|
|
4907
|
+
# resp.destination_configuration.lookup_table_configuration.tags #=> Hash
|
|
4908
|
+
# resp.destination_configuration.lookup_table_configuration.tags["TagKey"] #=> String
|
|
4833
4909
|
# resp.state #=> String, one of "ENABLED", "DISABLED"
|
|
4834
4910
|
# resp.schedule_type #=> String, one of "CUSTOMER_MANAGED", "AWS_MANAGED"
|
|
4835
4911
|
# resp.last_triggered_time #=> Integer
|
|
@@ -4904,7 +4980,7 @@ module Aws::CloudWatchLogs
|
|
|
4904
4980
|
# resp.trigger_history[0].triggered_timestamp #=> Integer
|
|
4905
4981
|
# resp.trigger_history[0].error_message #=> String
|
|
4906
4982
|
# resp.trigger_history[0].destinations #=> Array
|
|
4907
|
-
# resp.trigger_history[0].destinations[0].destination_type #=> String, one of "S3"
|
|
4983
|
+
# resp.trigger_history[0].destinations[0].destination_type #=> String, one of "S3", "LOOKUP_TABLE"
|
|
4908
4984
|
# resp.trigger_history[0].destinations[0].destination_identifier #=> String
|
|
4909
4985
|
# resp.trigger_history[0].destinations[0].status #=> String, one of "IN_PROGRESS", "CLIENT_ERROR", "FAILED", "COMPLETE"
|
|
4910
4986
|
# resp.trigger_history[0].destinations[0].processed_identifier #=> String
|
|
@@ -4920,7 +4996,7 @@ module Aws::CloudWatchLogs
|
|
|
4920
4996
|
req.send_request(options)
|
|
4921
4997
|
end
|
|
4922
4998
|
|
|
4923
|
-
# Returns the storage tier policy for
|
|
4999
|
+
# Returns the storage tier policy for the account.
|
|
4924
5000
|
#
|
|
4925
5001
|
# @return [Types::GetStorageTierPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4926
5002
|
#
|
|
@@ -5598,6 +5674,12 @@ module Aws::CloudWatchLogs
|
|
|
5598
5674
|
# resp.scheduled_queries[0].destination_configuration.s3_configuration.role_arn #=> String
|
|
5599
5675
|
# resp.scheduled_queries[0].destination_configuration.s3_configuration.owner_account_id #=> String
|
|
5600
5676
|
# resp.scheduled_queries[0].destination_configuration.s3_configuration.kms_key_id #=> String
|
|
5677
|
+
# resp.scheduled_queries[0].destination_configuration.lookup_table_configuration.table_name #=> String
|
|
5678
|
+
# resp.scheduled_queries[0].destination_configuration.lookup_table_configuration.role_arn #=> String
|
|
5679
|
+
# resp.scheduled_queries[0].destination_configuration.lookup_table_configuration.description #=> String
|
|
5680
|
+
# resp.scheduled_queries[0].destination_configuration.lookup_table_configuration.kms_key_id #=> String
|
|
5681
|
+
# resp.scheduled_queries[0].destination_configuration.lookup_table_configuration.tags #=> Hash
|
|
5682
|
+
# resp.scheduled_queries[0].destination_configuration.lookup_table_configuration.tags["TagKey"] #=> String
|
|
5601
5683
|
# resp.scheduled_queries[0].creation_time #=> Integer
|
|
5602
5684
|
# resp.scheduled_queries[0].last_updated_time #=> Integer
|
|
5603
5685
|
#
|
|
@@ -6808,6 +6890,10 @@ module Aws::CloudWatchLogs
|
|
|
6808
6890
|
# @option params [required, String] :log_type
|
|
6809
6891
|
# Defines the type of log that the source is sending.
|
|
6810
6892
|
#
|
|
6893
|
+
# * For Application Load Balancer, the valid values are
|
|
6894
|
+
# `ALB_ACCESS_LOGS`, `ALB_CONNECTION_LOGS`, and
|
|
6895
|
+
# `ALB_HEALTH_CHECK_LOGS`.
|
|
6896
|
+
#
|
|
6811
6897
|
# * For Amazon Bedrock Agents, the valid values are `APPLICATION_LOGS`
|
|
6812
6898
|
# and `EVENT_LOGS`.
|
|
6813
6899
|
#
|
|
@@ -7830,14 +7916,15 @@ module Aws::CloudWatchLogs
|
|
|
7830
7916
|
req.send_request(options)
|
|
7831
7917
|
end
|
|
7832
7918
|
|
|
7833
|
-
# Sets the storage tier policy for
|
|
7834
|
-
#
|
|
7835
|
-
#
|
|
7836
|
-
#
|
|
7919
|
+
# Sets the storage tier policy for the account. When you set the storage
|
|
7920
|
+
# tier to `INTELLIGENT_TIERING`, the service automatically moves log
|
|
7921
|
+
# data to the most cost-effective storage tier based on access
|
|
7922
|
+
# frequency.
|
|
7837
7923
|
#
|
|
7838
7924
|
# @option params [required, String] :storage_tier
|
|
7839
|
-
# The storage tier to set for the account.
|
|
7840
|
-
#
|
|
7925
|
+
# The storage tier to set for the account. Use `INTELLIGENT_TIERING` to
|
|
7926
|
+
# automatically optimize storage costs by moving log data to the
|
|
7927
|
+
# appropriate tier based on access frequency.
|
|
7841
7928
|
#
|
|
7842
7929
|
# @return [Types::PutStorageTierPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7843
7930
|
#
|
|
@@ -7985,9 +8072,9 @@ module Aws::CloudWatchLogs
|
|
|
7985
8072
|
#
|
|
7986
8073
|
# @option params [Array<String>] :emit_system_fields
|
|
7987
8074
|
# A list of system fields to include in the log events sent to the
|
|
7988
|
-
# subscription destination. Valid values are `@aws.account
|
|
7989
|
-
# `@aws.region`. These fields provide source
|
|
7990
|
-
# log data in the forwarded payload.
|
|
8075
|
+
# subscription destination. Valid values are `@aws.account`,
|
|
8076
|
+
# `@aws.region`, and `@source.log`. These fields provide source
|
|
8077
|
+
# information for centralized log data in the forwarded payload.
|
|
7991
8078
|
#
|
|
7992
8079
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
7993
8080
|
#
|
|
@@ -9354,12 +9441,13 @@ module Aws::CloudWatchLogs
|
|
|
9354
9441
|
req.send_request(options)
|
|
9355
9442
|
end
|
|
9356
9443
|
|
|
9357
|
-
# Updates an existing lookup table by replacing all of its
|
|
9358
|
-
#
|
|
9359
|
-
# new data.
|
|
9444
|
+
# Updates an existing lookup table by replacing all of its content with
|
|
9445
|
+
# new CSV data or CloudWatch Logs query results. After the update
|
|
9446
|
+
# completes, queries that use this table use the new data.
|
|
9360
9447
|
#
|
|
9361
|
-
# This is a full replacement operation. All existing content is
|
|
9362
|
-
#
|
|
9448
|
+
# This is a full replacement operation. All existing content is
|
|
9449
|
+
# replaced. You must specify either `tableBody` or `queryId`, but not
|
|
9450
|
+
# both.
|
|
9363
9451
|
#
|
|
9364
9452
|
# @option params [required, String] :lookup_table_arn
|
|
9365
9453
|
# The ARN of the lookup table to update.
|
|
@@ -9367,11 +9455,21 @@ module Aws::CloudWatchLogs
|
|
|
9367
9455
|
# @option params [String] :description
|
|
9368
9456
|
# An updated description of the lookup table.
|
|
9369
9457
|
#
|
|
9370
|
-
# @option params [
|
|
9458
|
+
# @option params [String] :table_body
|
|
9371
9459
|
# The new CSV content to replace the existing data. The first row must
|
|
9372
9460
|
# be a header row with column names. The content must use UTF-8 encoding
|
|
9373
9461
|
# and not exceed 10 MB.
|
|
9374
9462
|
#
|
|
9463
|
+
# You must specify either `tableBody` or `queryId`, but not both.
|
|
9464
|
+
#
|
|
9465
|
+
# @option params [String] :query_id
|
|
9466
|
+
# The ID of a completed or cancelled CloudWatch Logs query whose results
|
|
9467
|
+
# replace the lookup table content. A cancelled query replaces the
|
|
9468
|
+
# content with the partial results that were available when the query
|
|
9469
|
+
# was stopped.
|
|
9470
|
+
#
|
|
9471
|
+
# You must specify either `tableBody` or `queryId`, but not both.
|
|
9472
|
+
#
|
|
9375
9473
|
# @option params [String] :kms_key_id
|
|
9376
9474
|
# The ARN of the KMS key to use to encrypt the lookup table data. You
|
|
9377
9475
|
# can use this parameter to add, update, or remove the KMS key. To
|
|
@@ -9388,7 +9486,8 @@ module Aws::CloudWatchLogs
|
|
|
9388
9486
|
# resp = client.update_lookup_table({
|
|
9389
9487
|
# lookup_table_arn: "Arn", # required
|
|
9390
9488
|
# description: "LookupTableDescription",
|
|
9391
|
-
# table_body: "TableBody",
|
|
9489
|
+
# table_body: "TableBody",
|
|
9490
|
+
# query_id: "QueryId",
|
|
9392
9491
|
# kms_key_id: "KmsKeyId",
|
|
9393
9492
|
# })
|
|
9394
9493
|
#
|
|
@@ -9492,12 +9591,21 @@ module Aws::CloudWatchLogs
|
|
|
9492
9591
|
# start_time_offset: 1,
|
|
9493
9592
|
# end_time_offset: 1,
|
|
9494
9593
|
# destination_configuration: {
|
|
9495
|
-
# s3_configuration: {
|
|
9594
|
+
# s3_configuration: {
|
|
9496
9595
|
# destination_identifier: "S3Uri", # required
|
|
9497
9596
|
# role_arn: "RoleArn", # required
|
|
9498
9597
|
# owner_account_id: "AccountId",
|
|
9499
9598
|
# kms_key_id: "KmsKeyId",
|
|
9500
9599
|
# },
|
|
9600
|
+
# lookup_table_configuration: {
|
|
9601
|
+
# table_name: "LookupTableName", # required
|
|
9602
|
+
# role_arn: "RoleArn", # required
|
|
9603
|
+
# description: "LookupTableDescription",
|
|
9604
|
+
# kms_key_id: "KmsKeyId",
|
|
9605
|
+
# tags: {
|
|
9606
|
+
# "TagKey" => "TagValue",
|
|
9607
|
+
# },
|
|
9608
|
+
# },
|
|
9501
9609
|
# },
|
|
9502
9610
|
# schedule_start_time: 1,
|
|
9503
9611
|
# schedule_end_time: 1,
|
|
@@ -9522,6 +9630,12 @@ module Aws::CloudWatchLogs
|
|
|
9522
9630
|
# resp.destination_configuration.s3_configuration.role_arn #=> String
|
|
9523
9631
|
# resp.destination_configuration.s3_configuration.owner_account_id #=> String
|
|
9524
9632
|
# resp.destination_configuration.s3_configuration.kms_key_id #=> String
|
|
9633
|
+
# resp.destination_configuration.lookup_table_configuration.table_name #=> String
|
|
9634
|
+
# resp.destination_configuration.lookup_table_configuration.role_arn #=> String
|
|
9635
|
+
# resp.destination_configuration.lookup_table_configuration.description #=> String
|
|
9636
|
+
# resp.destination_configuration.lookup_table_configuration.kms_key_id #=> String
|
|
9637
|
+
# resp.destination_configuration.lookup_table_configuration.tags #=> Hash
|
|
9638
|
+
# resp.destination_configuration.lookup_table_configuration.tags["TagKey"] #=> String
|
|
9525
9639
|
# resp.state #=> String, one of "ENABLED", "DISABLED"
|
|
9526
9640
|
# resp.schedule_type #=> String, one of "CUSTOMER_MANAGED", "AWS_MANAGED"
|
|
9527
9641
|
# resp.last_triggered_time #=> Integer
|
|
@@ -9559,7 +9673,7 @@ module Aws::CloudWatchLogs
|
|
|
9559
9673
|
tracer: tracer
|
|
9560
9674
|
)
|
|
9561
9675
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
|
9562
|
-
context[:gem_version] = '1.
|
|
9676
|
+
context[:gem_version] = '1.161.0'
|
|
9563
9677
|
Seahorse::Client::Request.new(handlers, context)
|
|
9564
9678
|
end
|
|
9565
9679
|
|
|
@@ -323,6 +323,8 @@ module Aws::CloudWatchLogs
|
|
|
323
323
|
ImportStatus = Shapes::StringShape.new(name: 'ImportStatus')
|
|
324
324
|
ImportStatusList = Shapes::ListShape.new(name: 'ImportStatusList')
|
|
325
325
|
IncludeLinkedAccounts = Shapes::BooleanShape.new(name: 'IncludeLinkedAccounts')
|
|
326
|
+
IndexCategories = Shapes::ListShape.new(name: 'IndexCategories')
|
|
327
|
+
IndexCategory = Shapes::StringShape.new(name: 'IndexCategory')
|
|
326
328
|
IndexPolicies = Shapes::ListShape.new(name: 'IndexPolicies')
|
|
327
329
|
IndexPolicy = Shapes::StructureShape.new(name: 'IndexPolicy')
|
|
328
330
|
IndexSource = Shapes::StringShape.new(name: 'IndexSource')
|
|
@@ -425,6 +427,7 @@ module Aws::CloudWatchLogs
|
|
|
425
427
|
LogType = Shapes::StringShape.new(name: 'LogType')
|
|
426
428
|
LogTypes = Shapes::ListShape.new(name: 'LogTypes')
|
|
427
429
|
LookupTable = Shapes::StructureShape.new(name: 'LookupTable')
|
|
430
|
+
LookupTableConfiguration = Shapes::StructureShape.new(name: 'LookupTableConfiguration')
|
|
428
431
|
LookupTableDescription = Shapes::StringShape.new(name: 'LookupTableDescription')
|
|
429
432
|
LookupTableName = Shapes::StringShape.new(name: 'LookupTableName')
|
|
430
433
|
LookupTables = Shapes::ListShape.new(name: 'LookupTables')
|
|
@@ -906,7 +909,8 @@ module Aws::CloudWatchLogs
|
|
|
906
909
|
|
|
907
910
|
CreateLookupTableRequest.add_member(:lookup_table_name, Shapes::ShapeRef.new(shape: LookupTableName, required: true, location_name: "lookupTableName"))
|
|
908
911
|
CreateLookupTableRequest.add_member(:description, Shapes::ShapeRef.new(shape: LookupTableDescription, location_name: "description"))
|
|
909
|
-
CreateLookupTableRequest.add_member(:table_body, Shapes::ShapeRef.new(shape: TableBody,
|
|
912
|
+
CreateLookupTableRequest.add_member(:table_body, Shapes::ShapeRef.new(shape: TableBody, location_name: "tableBody"))
|
|
913
|
+
CreateLookupTableRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "queryId"))
|
|
910
914
|
CreateLookupTableRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
|
911
915
|
CreateLookupTableRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
912
916
|
CreateLookupTableRequest.struct_class = Types::CreateLookupTableRequest
|
|
@@ -1169,6 +1173,7 @@ module Aws::CloudWatchLogs
|
|
|
1169
1173
|
DescribeFieldIndexesLogGroupIdentifiers.member = Shapes::ShapeRef.new(shape: LogGroupIdentifier)
|
|
1170
1174
|
|
|
1171
1175
|
DescribeFieldIndexesRequest.add_member(:log_group_identifiers, Shapes::ShapeRef.new(shape: DescribeFieldIndexesLogGroupIdentifiers, required: true, location_name: "logGroupIdentifiers"))
|
|
1176
|
+
DescribeFieldIndexesRequest.add_member(:index_categories, Shapes::ShapeRef.new(shape: IndexCategories, location_name: "indexCategories"))
|
|
1172
1177
|
DescribeFieldIndexesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
1173
1178
|
DescribeFieldIndexesRequest.struct_class = Types::DescribeFieldIndexesRequest
|
|
1174
1179
|
|
|
@@ -1308,7 +1313,8 @@ module Aws::CloudWatchLogs
|
|
|
1308
1313
|
Destination.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
|
1309
1314
|
Destination.struct_class = Types::Destination
|
|
1310
1315
|
|
|
1311
|
-
DestinationConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3Configuration,
|
|
1316
|
+
DestinationConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3Configuration, location_name: "s3Configuration"))
|
|
1317
|
+
DestinationConfiguration.add_member(:lookup_table_configuration, Shapes::ShapeRef.new(shape: LookupTableConfiguration, location_name: "lookupTableConfiguration"))
|
|
1312
1318
|
DestinationConfiguration.struct_class = Types::DestinationConfiguration
|
|
1313
1319
|
|
|
1314
1320
|
Destinations.member = Shapes::ShapeRef.new(shape: Destination)
|
|
@@ -1373,6 +1379,7 @@ module Aws::CloudWatchLogs
|
|
|
1373
1379
|
FieldIndex.add_member(:first_event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "firstEventTime"))
|
|
1374
1380
|
FieldIndex.add_member(:last_event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastEventTime"))
|
|
1375
1381
|
FieldIndex.add_member(:type, Shapes::ShapeRef.new(shape: IndexType, location_name: "type"))
|
|
1382
|
+
FieldIndex.add_member(:index_category, Shapes::ShapeRef.new(shape: IndexCategory, location_name: "indexCategory"))
|
|
1376
1383
|
FieldIndex.struct_class = Types::FieldIndex
|
|
1377
1384
|
|
|
1378
1385
|
FieldIndexNames.member = Shapes::ShapeRef.new(shape: FieldIndexName)
|
|
@@ -1635,6 +1642,8 @@ module Aws::CloudWatchLogs
|
|
|
1635
1642
|
|
|
1636
1643
|
ImportStatusList.member = Shapes::ShapeRef.new(shape: ImportStatus)
|
|
1637
1644
|
|
|
1645
|
+
IndexCategories.member = Shapes::ShapeRef.new(shape: IndexCategory)
|
|
1646
|
+
|
|
1638
1647
|
IndexPolicies.member = Shapes::ShapeRef.new(shape: IndexPolicy)
|
|
1639
1648
|
|
|
1640
1649
|
IndexPolicy.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, location_name: "logGroupIdentifier"))
|
|
@@ -1899,6 +1908,13 @@ module Aws::CloudWatchLogs
|
|
|
1899
1908
|
LookupTable.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
|
1900
1909
|
LookupTable.struct_class = Types::LookupTable
|
|
1901
1910
|
|
|
1911
|
+
LookupTableConfiguration.add_member(:table_name, Shapes::ShapeRef.new(shape: LookupTableName, required: true, location_name: "tableName"))
|
|
1912
|
+
LookupTableConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
|
1913
|
+
LookupTableConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: LookupTableDescription, location_name: "description"))
|
|
1914
|
+
LookupTableConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
|
1915
|
+
LookupTableConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
1916
|
+
LookupTableConfiguration.struct_class = Types::LookupTableConfiguration
|
|
1917
|
+
|
|
1902
1918
|
LookupTables.member = Shapes::ShapeRef.new(shape: LookupTable)
|
|
1903
1919
|
|
|
1904
1920
|
LowerCaseString.add_member(:with_keys, Shapes::ShapeRef.new(shape: LowerCaseStringWithKeys, required: true, location_name: "withKeys"))
|
|
@@ -2609,7 +2625,8 @@ module Aws::CloudWatchLogs
|
|
|
2609
2625
|
|
|
2610
2626
|
UpdateLookupTableRequest.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "lookupTableArn"))
|
|
2611
2627
|
UpdateLookupTableRequest.add_member(:description, Shapes::ShapeRef.new(shape: LookupTableDescription, location_name: "description"))
|
|
2612
|
-
UpdateLookupTableRequest.add_member(:table_body, Shapes::ShapeRef.new(shape: TableBody,
|
|
2628
|
+
UpdateLookupTableRequest.add_member(:table_body, Shapes::ShapeRef.new(shape: TableBody, location_name: "tableBody"))
|
|
2629
|
+
UpdateLookupTableRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "queryId"))
|
|
2613
2630
|
UpdateLookupTableRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
|
2614
2631
|
UpdateLookupTableRequest.struct_class = Types::UpdateLookupTableRequest
|
|
2615
2632
|
|
|
@@ -1159,6 +1159,17 @@ 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 or cancelled CloudWatch Logs query whose
|
|
1168
|
+
# results populate the lookup table. A cancelled query populates the
|
|
1169
|
+
# table with the partial results that were available when the query
|
|
1170
|
+
# was stopped.
|
|
1171
|
+
#
|
|
1172
|
+
# You must specify either `tableBody` or `queryId`, but not both.
|
|
1162
1173
|
# @return [String]
|
|
1163
1174
|
#
|
|
1164
1175
|
# @!attribute [rw] kms_key_id
|
|
@@ -1179,6 +1190,7 @@ module Aws::CloudWatchLogs
|
|
|
1179
1190
|
:lookup_table_name,
|
|
1180
1191
|
:description,
|
|
1181
1192
|
:table_body,
|
|
1193
|
+
:query_id,
|
|
1182
1194
|
:kms_key_id,
|
|
1183
1195
|
:tags)
|
|
1184
1196
|
SENSITIVE = []
|
|
@@ -1255,8 +1267,10 @@ module Aws::CloudWatchLogs
|
|
|
1255
1267
|
# @return [Integer]
|
|
1256
1268
|
#
|
|
1257
1269
|
# @!attribute [rw] destination_configuration
|
|
1258
|
-
# Configuration for where to deliver query results.
|
|
1259
|
-
#
|
|
1270
|
+
# Configuration for where to deliver query results. Supports Amazon S3
|
|
1271
|
+
# destinations for storing query output and lookup table destinations
|
|
1272
|
+
# for automatically refreshing lookup tables with query results. You
|
|
1273
|
+
# can configure one or both destination types.
|
|
1260
1274
|
# @return [Types::DestinationConfiguration]
|
|
1261
1275
|
#
|
|
1262
1276
|
# @!attribute [rw] schedule_start_time
|
|
@@ -2476,6 +2490,39 @@ module Aws::CloudWatchLogs
|
|
|
2476
2490
|
# want to retrieve field indexes for.
|
|
2477
2491
|
# @return [Array<String>]
|
|
2478
2492
|
#
|
|
2493
|
+
# @!attribute [rw] index_categories
|
|
2494
|
+
# The index categories to return. The following values are supported:
|
|
2495
|
+
#
|
|
2496
|
+
# * `DEFAULT`: Fields that CloudWatch Logs indexes by default.
|
|
2497
|
+
# Examples include `@logStream` and `@data_format`.
|
|
2498
|
+
#
|
|
2499
|
+
# * `CUSTOM`: Fields that you added manually to the field index
|
|
2500
|
+
# policy. CloudWatch Logs always indexes these fields. These fields
|
|
2501
|
+
# count toward the quota of 20 fields for each log group.
|
|
2502
|
+
#
|
|
2503
|
+
# * `AUTO`: Fields that CloudWatch Logs indexes automatically based on
|
|
2504
|
+
# your query patterns and usage. These fields do not count toward
|
|
2505
|
+
# the field index quota. CloudWatch Logs might update these fields
|
|
2506
|
+
# based on changes in your query patterns. To keep a field indexed
|
|
2507
|
+
# permanently, add it to an account-level or log-group level field
|
|
2508
|
+
# index policy.
|
|
2509
|
+
#
|
|
2510
|
+
# * `INACTIVE`: Fields that CloudWatch Logs indexed before but does
|
|
2511
|
+
# not index now. This happens if you remove a field from the field
|
|
2512
|
+
# index policy or if CloudWatch Logs automatically selects a
|
|
2513
|
+
# different field based on your queries.
|
|
2514
|
+
#
|
|
2515
|
+
# If you omit this parameter, the response includes the `DEFAULT`,
|
|
2516
|
+
# `CUSTOM`, and `INACTIVE` categories.
|
|
2517
|
+
#
|
|
2518
|
+
# For more information about automatically indexed fields and using
|
|
2519
|
+
# the `AUTO` category, see [Automatically indexed fields][1].
|
|
2520
|
+
#
|
|
2521
|
+
#
|
|
2522
|
+
#
|
|
2523
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatchLogs-Field-Indexing-Automatic.html
|
|
2524
|
+
# @return [Array<String>]
|
|
2525
|
+
#
|
|
2479
2526
|
# @!attribute [rw] next_token
|
|
2480
2527
|
# The token for the next set of items to return. The token expires
|
|
2481
2528
|
# after 24 hours.
|
|
@@ -2485,6 +2532,7 @@ module Aws::CloudWatchLogs
|
|
|
2485
2532
|
#
|
|
2486
2533
|
class DescribeFieldIndexesRequest < Struct.new(
|
|
2487
2534
|
:log_group_identifiers,
|
|
2535
|
+
:index_categories,
|
|
2488
2536
|
:next_token)
|
|
2489
2537
|
SENSITIVE = []
|
|
2490
2538
|
include Aws::Structure
|
|
@@ -3238,10 +3286,17 @@ module Aws::CloudWatchLogs
|
|
|
3238
3286
|
# Configuration for delivering query results to Amazon S3.
|
|
3239
3287
|
# @return [Types::S3Configuration]
|
|
3240
3288
|
#
|
|
3289
|
+
# @!attribute [rw] lookup_table_configuration
|
|
3290
|
+
# Configuration for delivering query results to a lookup table. The
|
|
3291
|
+
# query results automatically populate or refresh the specified lookup
|
|
3292
|
+
# table on each scheduled execution.
|
|
3293
|
+
# @return [Types::LookupTableConfiguration]
|
|
3294
|
+
#
|
|
3241
3295
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DestinationConfiguration AWS API Documentation
|
|
3242
3296
|
#
|
|
3243
3297
|
class DestinationConfiguration < Struct.new(
|
|
3244
|
-
:s3_configuration
|
|
3298
|
+
:s3_configuration,
|
|
3299
|
+
:lookup_table_configuration)
|
|
3245
3300
|
SENSITIVE = []
|
|
3246
3301
|
include Aws::Structure
|
|
3247
3302
|
end
|
|
@@ -3489,6 +3544,36 @@ module Aws::CloudWatchLogs
|
|
|
3489
3544
|
# field is indexed and can be queried.
|
|
3490
3545
|
# @return [String]
|
|
3491
3546
|
#
|
|
3547
|
+
# @!attribute [rw] index_category
|
|
3548
|
+
# The category of the field index:
|
|
3549
|
+
#
|
|
3550
|
+
# * `DEFAULT`: Fields that CloudWatch Logs indexes by default.
|
|
3551
|
+
# Examples include `@logStream` and `@data_format`.
|
|
3552
|
+
#
|
|
3553
|
+
# * `CUSTOM`: Fields that you added manually to the field index
|
|
3554
|
+
# policy. CloudWatch Logs always indexes these fields. These fields
|
|
3555
|
+
# count toward the quota of 20 fields for each log group.
|
|
3556
|
+
#
|
|
3557
|
+
# * `AUTO`: Fields that CloudWatch Logs indexes automatically based on
|
|
3558
|
+
# your query patterns and usage. These fields do not count toward
|
|
3559
|
+
# the field index quota. CloudWatch Logs might update these fields
|
|
3560
|
+
# based on changes in your query patterns. To keep a field indexed
|
|
3561
|
+
# permanently, add it to an account-level or log-group level field
|
|
3562
|
+
# index policy.
|
|
3563
|
+
#
|
|
3564
|
+
# * `INACTIVE`: Fields that CloudWatch Logs indexed before but does
|
|
3565
|
+
# not index now. This happens if you remove a field from the field
|
|
3566
|
+
# index policy or if CloudWatch Logs automatically selects a
|
|
3567
|
+
# different field based on your queries.
|
|
3568
|
+
#
|
|
3569
|
+
# For more information about automatically indexed fields, see
|
|
3570
|
+
# [Automatically indexed fields][1].
|
|
3571
|
+
#
|
|
3572
|
+
#
|
|
3573
|
+
#
|
|
3574
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatchLogs-Field-Indexing-Automatic.html
|
|
3575
|
+
# @return [String]
|
|
3576
|
+
#
|
|
3492
3577
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FieldIndex AWS API Documentation
|
|
3493
3578
|
#
|
|
3494
3579
|
class FieldIndex < Struct.new(
|
|
@@ -3497,7 +3582,8 @@ module Aws::CloudWatchLogs
|
|
|
3497
3582
|
:last_scan_time,
|
|
3498
3583
|
:first_event_time,
|
|
3499
3584
|
:last_event_time,
|
|
3500
|
-
:type
|
|
3585
|
+
:type,
|
|
3586
|
+
:index_category)
|
|
3501
3587
|
SENSITIVE = []
|
|
3502
3588
|
include Aws::Structure
|
|
3503
3589
|
end
|
|
@@ -3562,6 +3648,11 @@ module Aws::CloudWatchLogs
|
|
|
3562
3648
|
# The start of the time range, expressed as the number of milliseconds
|
|
3563
3649
|
# after `Jan 1, 1970 00:00:00 UTC`. Events with a timestamp before
|
|
3564
3650
|
# this time are not returned.
|
|
3651
|
+
#
|
|
3652
|
+
# <note markdown="1"> Set `startTime` explicitly to reduce the chances of empty pages in
|
|
3653
|
+
# the response.
|
|
3654
|
+
#
|
|
3655
|
+
# </note>
|
|
3565
3656
|
# @return [Integer]
|
|
3566
3657
|
#
|
|
3567
3658
|
# @!attribute [rw] end_time
|
|
@@ -4012,6 +4103,11 @@ module Aws::CloudWatchLogs
|
|
|
4012
4103
|
# after `Jan 1, 1970 00:00:00 UTC`. Events with a timestamp equal to
|
|
4013
4104
|
# this time or later than this time are included. Events with a
|
|
4014
4105
|
# timestamp earlier than this time are not included.
|
|
4106
|
+
#
|
|
4107
|
+
# <note markdown="1"> Set `startTime` explicitly to reduce the chances of empty pages in
|
|
4108
|
+
# the response.
|
|
4109
|
+
#
|
|
4110
|
+
# </note>
|
|
4015
4111
|
# @return [Integer]
|
|
4016
4112
|
#
|
|
4017
4113
|
# @!attribute [rw] end_time
|
|
@@ -4607,7 +4703,7 @@ module Aws::CloudWatchLogs
|
|
|
4607
4703
|
#
|
|
4608
4704
|
# @!attribute [rw] last_updated_time
|
|
4609
4705
|
# The time when the storage tier policy was last updated, expressed as
|
|
4610
|
-
# the number of milliseconds after `
|
|
4706
|
+
# the number of milliseconds after `January 1, 1970 00:00:00 UTC`.
|
|
4611
4707
|
# @return [Integer]
|
|
4612
4708
|
#
|
|
4613
4709
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetStorageTierPolicyResponse AWS API Documentation
|
|
@@ -6205,6 +6301,47 @@ module Aws::CloudWatchLogs
|
|
|
6205
6301
|
include Aws::Structure
|
|
6206
6302
|
end
|
|
6207
6303
|
|
|
6304
|
+
# Configuration for a lookup table destination. Use it to automatically
|
|
6305
|
+
# refresh a lookup table with query results on a schedule.
|
|
6306
|
+
#
|
|
6307
|
+
# @!attribute [rw] table_name
|
|
6308
|
+
# The name of the lookup table to create or update with query results.
|
|
6309
|
+
# The name can contain only alphanumeric characters and underscores.
|
|
6310
|
+
# @return [String]
|
|
6311
|
+
#
|
|
6312
|
+
# @!attribute [rw] role_arn
|
|
6313
|
+
# The ARN of the IAM role that grants permissions to create or update
|
|
6314
|
+
# the lookup table with query results.
|
|
6315
|
+
# @return [String]
|
|
6316
|
+
#
|
|
6317
|
+
# @!attribute [rw] description
|
|
6318
|
+
# A description of the lookup table.
|
|
6319
|
+
# @return [String]
|
|
6320
|
+
#
|
|
6321
|
+
# @!attribute [rw] kms_key_id
|
|
6322
|
+
# The ARN of the KMS key to use to encrypt the lookup table data. If
|
|
6323
|
+
# you don't specify a key, the data is encrypted with an Amazon Web
|
|
6324
|
+
# Services-owned key.
|
|
6325
|
+
# @return [String]
|
|
6326
|
+
#
|
|
6327
|
+
# @!attribute [rw] tags
|
|
6328
|
+
# Key-value pairs to associate with the lookup table for resource
|
|
6329
|
+
# management and cost allocation. The service applies tags only during
|
|
6330
|
+
# initial table creation.
|
|
6331
|
+
# @return [Hash<String,String>]
|
|
6332
|
+
#
|
|
6333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LookupTableConfiguration AWS API Documentation
|
|
6334
|
+
#
|
|
6335
|
+
class LookupTableConfiguration < Struct.new(
|
|
6336
|
+
:table_name,
|
|
6337
|
+
:role_arn,
|
|
6338
|
+
:description,
|
|
6339
|
+
:kms_key_id,
|
|
6340
|
+
:tags)
|
|
6341
|
+
SENSITIVE = []
|
|
6342
|
+
include Aws::Structure
|
|
6343
|
+
end
|
|
6344
|
+
|
|
6208
6345
|
# This processor converts a string to lowercase.
|
|
6209
6346
|
#
|
|
6210
6347
|
# For more information about this processor including examples, see [
|
|
@@ -7984,6 +8121,10 @@ module Aws::CloudWatchLogs
|
|
|
7984
8121
|
# @!attribute [rw] log_type
|
|
7985
8122
|
# Defines the type of log that the source is sending.
|
|
7986
8123
|
#
|
|
8124
|
+
# * For Application Load Balancer, the valid values are
|
|
8125
|
+
# `ALB_ACCESS_LOGS`, `ALB_CONNECTION_LOGS`, and
|
|
8126
|
+
# `ALB_HEALTH_CHECK_LOGS`.
|
|
8127
|
+
#
|
|
7987
8128
|
# * For Amazon Bedrock Agents, the valid values are `APPLICATION_LOGS`
|
|
7988
8129
|
# and `EVENT_LOGS`.
|
|
7989
8130
|
#
|
|
@@ -8671,8 +8812,9 @@ module Aws::CloudWatchLogs
|
|
|
8671
8812
|
end
|
|
8672
8813
|
|
|
8673
8814
|
# @!attribute [rw] storage_tier
|
|
8674
|
-
# The storage tier to set for the account.
|
|
8675
|
-
#
|
|
8815
|
+
# The storage tier to set for the account. Use `INTELLIGENT_TIERING`
|
|
8816
|
+
# to automatically optimize storage costs by moving log data to the
|
|
8817
|
+
# appropriate tier based on access frequency.
|
|
8676
8818
|
# @return [String]
|
|
8677
8819
|
#
|
|
8678
8820
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutStorageTierPolicyRequest AWS API Documentation
|
|
@@ -8684,12 +8826,12 @@ module Aws::CloudWatchLogs
|
|
|
8684
8826
|
end
|
|
8685
8827
|
|
|
8686
8828
|
# @!attribute [rw] storage_tier
|
|
8687
|
-
# The storage tier
|
|
8829
|
+
# The storage tier for the account.
|
|
8688
8830
|
# @return [String]
|
|
8689
8831
|
#
|
|
8690
8832
|
# @!attribute [rw] last_updated_time
|
|
8691
8833
|
# The time when the storage tier policy was last updated, expressed as
|
|
8692
|
-
# the number of milliseconds after `
|
|
8834
|
+
# the number of milliseconds after `January 1, 1970 00:00:00 UTC`.
|
|
8693
8835
|
# @return [Integer]
|
|
8694
8836
|
#
|
|
8695
8837
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutStorageTierPolicyResponse AWS API Documentation
|
|
@@ -8787,9 +8929,9 @@ module Aws::CloudWatchLogs
|
|
|
8787
8929
|
#
|
|
8788
8930
|
# @!attribute [rw] emit_system_fields
|
|
8789
8931
|
# A list of system fields to include in the log events sent to the
|
|
8790
|
-
# subscription destination. Valid values are `@aws.account
|
|
8791
|
-
# `@aws.region`. These fields provide source
|
|
8792
|
-
# centralized log data in the forwarded payload.
|
|
8932
|
+
# subscription destination. Valid values are `@aws.account`,
|
|
8933
|
+
# `@aws.region`, and `@source.log`. These fields provide source
|
|
8934
|
+
# information for centralized log data in the forwarded payload.
|
|
8793
8935
|
# @return [Array<String>]
|
|
8794
8936
|
#
|
|
8795
8937
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilterRequest AWS API Documentation
|
|
@@ -10596,6 +10738,17 @@ module Aws::CloudWatchLogs
|
|
|
10596
10738
|
# The new CSV content to replace the existing data. The first row must
|
|
10597
10739
|
# be a header row with column names. The content must use UTF-8
|
|
10598
10740
|
# encoding and not exceed 10 MB.
|
|
10741
|
+
#
|
|
10742
|
+
# You must specify either `tableBody` or `queryId`, but not both.
|
|
10743
|
+
# @return [String]
|
|
10744
|
+
#
|
|
10745
|
+
# @!attribute [rw] query_id
|
|
10746
|
+
# The ID of a completed or cancelled CloudWatch Logs query whose
|
|
10747
|
+
# results replace the lookup table content. A cancelled query replaces
|
|
10748
|
+
# the content with the partial results that were available when the
|
|
10749
|
+
# query was stopped.
|
|
10750
|
+
#
|
|
10751
|
+
# You must specify either `tableBody` or `queryId`, but not both.
|
|
10599
10752
|
# @return [String]
|
|
10600
10753
|
#
|
|
10601
10754
|
# @!attribute [rw] kms_key_id
|
|
@@ -10611,6 +10764,7 @@ module Aws::CloudWatchLogs
|
|
|
10611
10764
|
:lookup_table_arn,
|
|
10612
10765
|
:description,
|
|
10613
10766
|
:table_body,
|
|
10767
|
+
:query_id,
|
|
10614
10768
|
:kms_key_id)
|
|
10615
10769
|
SENSITIVE = []
|
|
10616
10770
|
include Aws::Structure
|
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
|
|
@@ -496,6 +497,7 @@ module Aws
|
|
|
496
497
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_field_indexes-instance_method
|
|
497
498
|
def describe_field_indexes: (
|
|
498
499
|
log_group_identifiers: Array[::String],
|
|
500
|
+
?index_categories: Array[("DEFAULT" | "CUSTOM" | "AUTO" | "INACTIVE")],
|
|
499
501
|
?next_token: ::String
|
|
500
502
|
) -> _DescribeFieldIndexesResponseSuccess
|
|
501
503
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFieldIndexesResponseSuccess
|
|
@@ -1524,7 +1526,8 @@ module Aws
|
|
|
1524
1526
|
def update_lookup_table: (
|
|
1525
1527
|
lookup_table_arn: ::String,
|
|
1526
1528
|
?description: ::String,
|
|
1527
|
-
table_body: ::String,
|
|
1529
|
+
?table_body: ::String,
|
|
1530
|
+
?query_id: ::String,
|
|
1528
1531
|
?kms_key_id: ::String
|
|
1529
1532
|
) -> _UpdateLookupTableResponseSuccess
|
|
1530
1533
|
| (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: []
|
|
@@ -583,6 +584,7 @@ module Aws::CloudWatchLogs
|
|
|
583
584
|
|
|
584
585
|
class DescribeFieldIndexesRequest
|
|
585
586
|
attr_accessor log_group_identifiers: ::Array[::String]
|
|
587
|
+
attr_accessor index_categories: ::Array[("DEFAULT" | "CUSTOM" | "AUTO" | "INACTIVE")]
|
|
586
588
|
attr_accessor next_token: ::String
|
|
587
589
|
SENSITIVE: []
|
|
588
590
|
end
|
|
@@ -769,6 +771,7 @@ module Aws::CloudWatchLogs
|
|
|
769
771
|
|
|
770
772
|
class DestinationConfiguration
|
|
771
773
|
attr_accessor s3_configuration: Types::S3Configuration
|
|
774
|
+
attr_accessor lookup_table_configuration: Types::LookupTableConfiguration
|
|
772
775
|
SENSITIVE: []
|
|
773
776
|
end
|
|
774
777
|
|
|
@@ -826,6 +829,7 @@ module Aws::CloudWatchLogs
|
|
|
826
829
|
attr_accessor first_event_time: ::Integer
|
|
827
830
|
attr_accessor last_event_time: ::Integer
|
|
828
831
|
attr_accessor type: ("FACET" | "FIELD_INDEX")
|
|
832
|
+
attr_accessor index_category: ("DEFAULT" | "CUSTOM" | "AUTO" | "INACTIVE")
|
|
829
833
|
SENSITIVE: []
|
|
830
834
|
end
|
|
831
835
|
|
|
@@ -1481,6 +1485,15 @@ module Aws::CloudWatchLogs
|
|
|
1481
1485
|
SENSITIVE: []
|
|
1482
1486
|
end
|
|
1483
1487
|
|
|
1488
|
+
class LookupTableConfiguration
|
|
1489
|
+
attr_accessor table_name: ::String
|
|
1490
|
+
attr_accessor role_arn: ::String
|
|
1491
|
+
attr_accessor description: ::String
|
|
1492
|
+
attr_accessor kms_key_id: ::String
|
|
1493
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
1494
|
+
SENSITIVE: []
|
|
1495
|
+
end
|
|
1496
|
+
|
|
1484
1497
|
class LowerCaseString
|
|
1485
1498
|
attr_accessor with_keys: ::Array[::String]
|
|
1486
1499
|
SENSITIVE: []
|
|
@@ -2079,7 +2092,7 @@ module Aws::CloudWatchLogs
|
|
|
2079
2092
|
end
|
|
2080
2093
|
|
|
2081
2094
|
class ScheduledQueryDestination
|
|
2082
|
-
attr_accessor destination_type: ("S3")
|
|
2095
|
+
attr_accessor destination_type: ("S3" | "LOOKUP_TABLE")
|
|
2083
2096
|
attr_accessor destination_identifier: ::String
|
|
2084
2097
|
attr_accessor status: ("IN_PROGRESS" | "CLIENT_ERROR" | "FAILED" | "COMPLETE")
|
|
2085
2098
|
attr_accessor processed_identifier: ::String
|
|
@@ -2347,6 +2360,7 @@ module Aws::CloudWatchLogs
|
|
|
2347
2360
|
attr_accessor lookup_table_arn: ::String
|
|
2348
2361
|
attr_accessor description: ::String
|
|
2349
2362
|
attr_accessor table_body: ::String
|
|
2363
|
+
attr_accessor query_id: ::String
|
|
2350
2364
|
attr_accessor kms_key_id: ::String
|
|
2351
2365
|
SENSITIVE: []
|
|
2352
2366
|
end
|