aws-sdk-cloudwatchlogs 1.78.0 → 1.80.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +59 -30
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +6 -1
- data/lib/aws-sdk-cloudwatchlogs/types.rb +82 -21
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/types.rbs +8 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc8b761755ea5a372bd4c0b79d92c5867b7fdcef144cc66d973629a03e31bea3
|
4
|
+
data.tar.gz: d2f00efdb3b4b088e7b09337f4d3238b1de13132ec32117a68d4350b5e5a9462
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6bdc15d0b9879e2408064370ac7edf78c31c934aad0d6cbb1a91faf028db29976d0b14a8685c6b8db3efe86fb04c96e9b6d6bd1d9d7eefef9cb3a0f4762bb56
|
7
|
+
data.tar.gz: 71a3f8f8b4c17e30664e5f834b72f01ddb8fbf6f626ed5bfbd0677cd3f87d0f7208a2b825b137dbf4b9d6eb5c3f6d4bb35babc5b8a1d6aaaaa9fdc0776d18537
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.80.0 (2024-03-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Update LogSamples field in Anomaly model to be a list of LogEvent
|
8
|
+
|
9
|
+
1.79.0 (2024-02-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds a new field, logGroupArn, to the response of the logs:DescribeLogGroups action.
|
13
|
+
|
4
14
|
1.78.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.80.0
|
@@ -569,7 +569,7 @@ module Aws::CloudWatchLogs
|
|
569
569
|
# from Amazon Web Services services.][1]
|
570
570
|
#
|
571
571
|
# A delivery destination can represent a log group in CloudWatch Logs,
|
572
|
-
# an Amazon S3 bucket, or a delivery stream in
|
572
|
+
# an Amazon S3 bucket, or a delivery stream in Firehose.
|
573
573
|
#
|
574
574
|
# To configure logs delivery between a supported Amazon Web Services
|
575
575
|
# service and a destination, you must do the following:
|
@@ -889,6 +889,8 @@ module Aws::CloudWatchLogs
|
|
889
889
|
# '\_' (underscore), '-' (hyphen), '/' (forward slash), '.'
|
890
890
|
# (period), and '#' (number sign)
|
891
891
|
#
|
892
|
+
# * Log group names can't start with the string `aws/`
|
893
|
+
#
|
892
894
|
# When you create a log group, by default the log events in the log
|
893
895
|
# group do not expire. To set a retention policy so that events expire
|
894
896
|
# and are deleted after a specified time, use [PutRetentionPolicy][1].
|
@@ -1519,6 +1521,21 @@ module Aws::CloudWatchLogs
|
|
1519
1521
|
# Retrieves a list of the deliveries that have been created in the
|
1520
1522
|
# account.
|
1521
1523
|
#
|
1524
|
+
# A *delivery* is a connection between a [ *delivery source* ][1] and a
|
1525
|
+
# [ *delivery destination* ][2].
|
1526
|
+
#
|
1527
|
+
# A delivery source represents an Amazon Web Services resource that
|
1528
|
+
# sends logs to an logs delivery destination. The destination can be
|
1529
|
+
# CloudWatch Logs, Amazon S3, or Firehose. Only some Amazon Web Services
|
1530
|
+
# services support being configured as a delivery source. These services
|
1531
|
+
# are listed in [Enable logging from Amazon Web Services services.][3]
|
1532
|
+
#
|
1533
|
+
#
|
1534
|
+
#
|
1535
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html
|
1536
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html
|
1537
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html
|
1538
|
+
#
|
1522
1539
|
# @option params [String] :next_token
|
1523
1540
|
# The token for the next set of items to return. The token expires after
|
1524
1541
|
# 24 hours.
|
@@ -1879,6 +1896,7 @@ module Aws::CloudWatchLogs
|
|
1879
1896
|
# resp.log_groups[0].inherited_properties #=> Array
|
1880
1897
|
# resp.log_groups[0].inherited_properties[0] #=> String, one of "ACCOUNT_DATA_PROTECTION"
|
1881
1898
|
# resp.log_groups[0].log_group_class #=> String, one of "STANDARD", "INFREQUENT_ACCESS"
|
1899
|
+
# resp.log_groups[0].log_group_arn #=> String
|
1882
1900
|
# resp.next_token #=> String
|
1883
1901
|
#
|
1884
1902
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroups AWS API Documentation
|
@@ -2548,17 +2566,26 @@ module Aws::CloudWatchLogs
|
|
2548
2566
|
req.send_request(options)
|
2549
2567
|
end
|
2550
2568
|
|
2551
|
-
# Returns complete information about one *delivery*. A delivery
|
2552
|
-
# connection between a
|
2553
|
-
# destination*
|
2569
|
+
# Returns complete information about one logical *delivery*. A delivery
|
2570
|
+
# is a connection between a [ *delivery source* ][1] and a [ *delivery
|
2571
|
+
# destination* ][2].
|
2572
|
+
#
|
2573
|
+
# A delivery source represents an Amazon Web Services resource that
|
2574
|
+
# sends logs to an logs delivery destination. The destination can be
|
2575
|
+
# CloudWatch Logs, Amazon S3, or Firehose. Only some Amazon Web Services
|
2576
|
+
# services support being configured as a delivery source. These services
|
2577
|
+
# are listed in [Enable logging from Amazon Web Services services.][3]
|
2554
2578
|
#
|
2555
2579
|
# You need to specify the delivery `id` in this operation. You can find
|
2556
2580
|
# the IDs of the deliveries in your account with the
|
2557
|
-
# [DescribeDeliveries][
|
2581
|
+
# [DescribeDeliveries][4] operation.
|
2558
2582
|
#
|
2559
2583
|
#
|
2560
2584
|
#
|
2561
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/
|
2585
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html
|
2586
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html
|
2587
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html
|
2588
|
+
# [4]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDeliveries.html
|
2562
2589
|
#
|
2563
2590
|
# @option params [required, String] :id
|
2564
2591
|
# The ID of the delivery that you want to retrieve.
|
@@ -3112,7 +3139,8 @@ module Aws::CloudWatchLogs
|
|
3112
3139
|
# resp.anomalies[0].histogram #=> Hash
|
3113
3140
|
# resp.anomalies[0].histogram["Time"] #=> Integer
|
3114
3141
|
# resp.anomalies[0].log_samples #=> Array
|
3115
|
-
# resp.anomalies[0].log_samples[0] #=>
|
3142
|
+
# resp.anomalies[0].log_samples[0].timestamp #=> Integer
|
3143
|
+
# resp.anomalies[0].log_samples[0].message #=> String
|
3116
3144
|
# resp.anomalies[0].pattern_tokens #=> Array
|
3117
3145
|
# resp.anomalies[0].pattern_tokens[0].dynamic_token_position #=> Integer
|
3118
3146
|
# resp.anomalies[0].pattern_tokens[0].is_dynamic #=> Boolean
|
@@ -3319,25 +3347,24 @@ module Aws::CloudWatchLogs
|
|
3319
3347
|
# from CloudWatch Logs to other Amazon Web Services services.
|
3320
3348
|
# Account-level subscription filter policies apply to both existing log
|
3321
3349
|
# groups and log groups that are created later in this account.
|
3322
|
-
# Supported destinations are Kinesis Data Streams,
|
3323
|
-
#
|
3324
|
-
#
|
3350
|
+
# Supported destinations are Kinesis Data Streams, Firehose, and Lambda.
|
3351
|
+
# When log events are sent to the receiving service, they are Base64
|
3352
|
+
# encoded and compressed with the GZIP format.
|
3325
3353
|
#
|
3326
3354
|
# The following destinations are supported for subscription filters:
|
3327
3355
|
#
|
3328
3356
|
# * An Kinesis Data Streams data stream in the same account as the
|
3329
3357
|
# subscription policy, for same-account delivery.
|
3330
3358
|
#
|
3331
|
-
# * An
|
3332
|
-
#
|
3359
|
+
# * An Firehose data stream in the same account as the subscription
|
3360
|
+
# policy, for same-account delivery.
|
3333
3361
|
#
|
3334
3362
|
# * A Lambda function in the same account as the subscription policy,
|
3335
3363
|
# for same-account delivery.
|
3336
3364
|
#
|
3337
3365
|
# * A logical destination in a different account created with
|
3338
3366
|
# [PutDestination][5], for cross-account delivery. Kinesis Data
|
3339
|
-
# Streams and
|
3340
|
-
# destinations.
|
3367
|
+
# Streams and Firehose are supported as logical destinations.
|
3341
3368
|
#
|
3342
3369
|
# Each account can have one account-level subscription filter policy. If
|
3343
3370
|
# you are updating an existing filter, you must specify the correct name
|
@@ -3374,8 +3401,7 @@ module Aws::CloudWatchLogs
|
|
3374
3401
|
# `FindingsDestination` object. You can optionally use that
|
3375
3402
|
# `FindingsDestination` object to list one or more destinations to
|
3376
3403
|
# send audit findings to. If you specify destinations such as log
|
3377
|
-
# groups,
|
3378
|
-
# already exist.
|
3404
|
+
# groups, Firehose streams, and S3 buckets, they must already exist.
|
3379
3405
|
#
|
3380
3406
|
# * The second block must include both a `DataIdentifer` array and an
|
3381
3407
|
# `Operation` property with an `Deidentify` action. The
|
@@ -3411,16 +3437,15 @@ module Aws::CloudWatchLogs
|
|
3411
3437
|
# * An Kinesis Data Streams data stream in the same account as the
|
3412
3438
|
# subscription policy, for same-account delivery.
|
3413
3439
|
#
|
3414
|
-
# * An
|
3415
|
-
#
|
3440
|
+
# * An Firehose data stream in the same account as the subscription
|
3441
|
+
# policy, for same-account delivery.
|
3416
3442
|
#
|
3417
3443
|
# * A Lambda function in the same account as the subscription policy,
|
3418
3444
|
# for same-account delivery.
|
3419
3445
|
#
|
3420
3446
|
# * A logical destination in a different account created with
|
3421
3447
|
# [PutDestination][2], for cross-account delivery. Kinesis Data
|
3422
|
-
# Streams and
|
3423
|
-
# destinations.
|
3448
|
+
# Streams and Firehose are supported as logical destinations.
|
3424
3449
|
#
|
3425
3450
|
# * **RoleArn** The ARN of an IAM role that grants CloudWatch Logs
|
3426
3451
|
# permissions to deliver ingested log events to the destination
|
@@ -3553,8 +3578,7 @@ module Aws::CloudWatchLogs
|
|
3553
3578
|
# `FindingsDestination` object. You can optionally use that
|
3554
3579
|
# `FindingsDestination` object to list one or more destinations to
|
3555
3580
|
# send audit findings to. If you specify destinations such as log
|
3556
|
-
# groups,
|
3557
|
-
# already exist.
|
3581
|
+
# groups, Firehose streams, and S3 buckets, they must already exist.
|
3558
3582
|
#
|
3559
3583
|
# * The second block must include both a `DataIdentifer` array and an
|
3560
3584
|
# `Operation` property with an `Deidentify` action. The
|
@@ -3612,8 +3636,7 @@ module Aws::CloudWatchLogs
|
|
3612
3636
|
# Creates or updates a logical *delivery destination*. A delivery
|
3613
3637
|
# destination is an Amazon Web Services resource that represents an
|
3614
3638
|
# Amazon Web Services service that logs can be sent to. CloudWatch Logs,
|
3615
|
-
# Amazon S3, and
|
3616
|
-
# destinations.
|
3639
|
+
# Amazon S3, and Firehose are supported as logs delivery destinations.
|
3617
3640
|
#
|
3618
3641
|
# To configure logs delivery between a supported Amazon Web Services
|
3619
3642
|
# service and a destination, you must do the following:
|
@@ -3783,7 +3806,7 @@ module Aws::CloudWatchLogs
|
|
3783
3806
|
# Creates or updates a logical *delivery source*. A delivery source
|
3784
3807
|
# represents an Amazon Web Services resource that sends logs to an logs
|
3785
3808
|
# delivery destination. The destination can be CloudWatch Logs, Amazon
|
3786
|
-
# S3, or
|
3809
|
+
# S3, or Firehose.
|
3787
3810
|
#
|
3788
3811
|
# To configure logs delivery between a delivery destination and an
|
3789
3812
|
# Amazon Web Services service that is supported as a delivery source,
|
@@ -3837,8 +3860,15 @@ module Aws::CloudWatchLogs
|
|
3837
3860
|
# `arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234`
|
3838
3861
|
#
|
3839
3862
|
# @option params [required, String] :log_type
|
3840
|
-
# Defines the type of log that the source is sending.
|
3841
|
-
#
|
3863
|
+
# Defines the type of log that the source is sending.
|
3864
|
+
#
|
3865
|
+
# * For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`.
|
3866
|
+
#
|
3867
|
+
# * For IAM Identity Centerr, the valid value is `ERROR_LOGS`.
|
3868
|
+
#
|
3869
|
+
# * For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`,
|
3870
|
+
# `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and
|
3871
|
+
# `WORKMAIL_MAILBOX_ACCESS_LOGS`.
|
3842
3872
|
#
|
3843
3873
|
# @option params [Hash<String,String>] :tags
|
3844
3874
|
# An optional list of key-value pairs to associate with the resource.
|
@@ -4421,8 +4451,7 @@ module Aws::CloudWatchLogs
|
|
4421
4451
|
#
|
4422
4452
|
# * A logical destination created with [PutDestination][2] that belongs
|
4423
4453
|
# to a different account, for cross-account delivery. We currently
|
4424
|
-
# support Kinesis Data Streams and
|
4425
|
-
# destinations.
|
4454
|
+
# support Kinesis Data Streams and Firehose as logical destinations.
|
4426
4455
|
#
|
4427
4456
|
# * An Amazon Kinesis Data Firehose delivery stream that belongs to the
|
4428
4457
|
# same account as the subscription filter, for same-account delivery.
|
@@ -5320,7 +5349,7 @@ module Aws::CloudWatchLogs
|
|
5320
5349
|
params: params,
|
5321
5350
|
config: config)
|
5322
5351
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
5323
|
-
context[:gem_version] = '1.
|
5352
|
+
context[:gem_version] = '1.80.0'
|
5324
5353
|
Seahorse::Client::Request.new(handlers, context)
|
5325
5354
|
end
|
5326
5355
|
|
@@ -196,7 +196,7 @@ module Aws::CloudWatchLogs
|
|
196
196
|
LiveTailSessionResults = Shapes::ListShape.new(name: 'LiveTailSessionResults')
|
197
197
|
LiveTailSessionStart = Shapes::StructureShape.new(name: 'LiveTailSessionStart')
|
198
198
|
LiveTailSessionUpdate = Shapes::StructureShape.new(name: 'LiveTailSessionUpdate')
|
199
|
-
LogEvent = Shapes::
|
199
|
+
LogEvent = Shapes::StructureShape.new(name: 'LogEvent')
|
200
200
|
LogEventIndex = Shapes::IntegerShape.new(name: 'LogEventIndex')
|
201
201
|
LogGroup = Shapes::StructureShape.new(name: 'LogGroup')
|
202
202
|
LogGroupArn = Shapes::StringShape.new(name: 'LogGroupArn')
|
@@ -904,6 +904,10 @@ module Aws::CloudWatchLogs
|
|
904
904
|
LiveTailSessionUpdate.add_member(:session_results, Shapes::ShapeRef.new(shape: LiveTailSessionResults, location_name: "sessionResults"))
|
905
905
|
LiveTailSessionUpdate.struct_class = Types::LiveTailSessionUpdate
|
906
906
|
|
907
|
+
LogEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "timestamp"))
|
908
|
+
LogEvent.add_member(:message, Shapes::ShapeRef.new(shape: EventMessage, location_name: "message"))
|
909
|
+
LogEvent.struct_class = Types::LogEvent
|
910
|
+
|
907
911
|
LogGroup.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
|
908
912
|
LogGroup.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
909
913
|
LogGroup.add_member(:retention_in_days, Shapes::ShapeRef.new(shape: Days, location_name: "retentionInDays"))
|
@@ -914,6 +918,7 @@ module Aws::CloudWatchLogs
|
|
914
918
|
LogGroup.add_member(:data_protection_status, Shapes::ShapeRef.new(shape: DataProtectionStatus, location_name: "dataProtectionStatus"))
|
915
919
|
LogGroup.add_member(:inherited_properties, Shapes::ShapeRef.new(shape: InheritedProperties, location_name: "inheritedProperties"))
|
916
920
|
LogGroup.add_member(:log_group_class, Shapes::ShapeRef.new(shape: LogGroupClass, location_name: "logGroupClass"))
|
921
|
+
LogGroup.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "logGroupArn"))
|
917
922
|
LogGroup.struct_class = Types::LogGroup
|
918
923
|
|
919
924
|
LogGroupArnList.member = Shapes::ShapeRef.new(shape: LogGroupArn)
|
@@ -146,7 +146,7 @@ module Aws::CloudWatchLogs
|
|
146
146
|
# @!attribute [rw] log_samples
|
147
147
|
# An array of sample log event messages that are considered to be part
|
148
148
|
# of this anomaly.
|
149
|
-
# @return [Array<
|
149
|
+
# @return [Array<Types::LogEvent>]
|
150
150
|
#
|
151
151
|
# @!attribute [rw] pattern_tokens
|
152
152
|
# An array of structures where each structure contains information
|
@@ -925,7 +925,7 @@ module Aws::CloudWatchLogs
|
|
925
925
|
#
|
926
926
|
# @!attribute [rw] delivery_destination_type
|
927
927
|
# Displays whether the delivery destination associated with this
|
928
|
-
# delivery is CloudWatch Logs, Amazon S3, or
|
928
|
+
# delivery is CloudWatch Logs, Amazon S3, or Firehose.
|
929
929
|
# @return [String]
|
930
930
|
#
|
931
931
|
# @!attribute [rw] tags
|
@@ -948,8 +948,8 @@ module Aws::CloudWatchLogs
|
|
948
948
|
# This structure contains information about one *delivery destination*
|
949
949
|
# in your account. A delivery destination is an Amazon Web Services
|
950
950
|
# resource that represents an Amazon Web Services service that logs can
|
951
|
-
# be sent to. CloudWatch Logs, Amazon S3, are supported as
|
952
|
-
#
|
951
|
+
# be sent to. CloudWatch Logs, Amazon S3, are supported as Firehose
|
952
|
+
# delivery destinations.
|
953
953
|
#
|
954
954
|
# To configure logs delivery between a supported Amazon Web Services
|
955
955
|
# service and a destination, you must do the following:
|
@@ -991,7 +991,7 @@ module Aws::CloudWatchLogs
|
|
991
991
|
#
|
992
992
|
# @!attribute [rw] delivery_destination_type
|
993
993
|
# Displays whether this delivery destination is CloudWatch Logs,
|
994
|
-
# Amazon S3, or
|
994
|
+
# Amazon S3, or Firehose.
|
995
995
|
# @return [String]
|
996
996
|
#
|
997
997
|
# @!attribute [rw] output_format
|
@@ -1027,7 +1027,7 @@ module Aws::CloudWatchLogs
|
|
1027
1027
|
# The ARN of the Amazon Web Services destination that this delivery
|
1028
1028
|
# destination represents. That Amazon Web Services destination can be
|
1029
1029
|
# a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery
|
1030
|
-
# stream in
|
1030
|
+
# stream in Firehose.
|
1031
1031
|
# @return [String]
|
1032
1032
|
#
|
1033
1033
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeliveryDestinationConfiguration AWS API Documentation
|
@@ -1041,7 +1041,7 @@ module Aws::CloudWatchLogs
|
|
1041
1041
|
# This structure contains information about one *delivery source* in
|
1042
1042
|
# your account. A delivery source is an Amazon Web Services resource
|
1043
1043
|
# that sends logs to an Amazon Web Services destination. The destination
|
1044
|
-
# can be CloudWatch Logs, Amazon S3, or
|
1044
|
+
# can be CloudWatch Logs, Amazon S3, or Firehose.
|
1045
1045
|
#
|
1046
1046
|
# Only some Amazon Web Services services support being configured as a
|
1047
1047
|
# delivery source. These services are listed as **Supported \[V2
|
@@ -3006,6 +3006,26 @@ module Aws::CloudWatchLogs
|
|
3006
3006
|
include Aws::Structure
|
3007
3007
|
end
|
3008
3008
|
|
3009
|
+
# This structure contains the information for one sample log event that
|
3010
|
+
# is associated with an anomaly found by a log anomaly detector.
|
3011
|
+
#
|
3012
|
+
# @!attribute [rw] timestamp
|
3013
|
+
# The time stamp of the log event.
|
3014
|
+
# @return [Integer]
|
3015
|
+
#
|
3016
|
+
# @!attribute [rw] message
|
3017
|
+
# The message content of the log event.
|
3018
|
+
# @return [String]
|
3019
|
+
#
|
3020
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogEvent AWS API Documentation
|
3021
|
+
#
|
3022
|
+
class LogEvent < Struct.new(
|
3023
|
+
:timestamp,
|
3024
|
+
:message)
|
3025
|
+
SENSITIVE = []
|
3026
|
+
include Aws::Structure
|
3027
|
+
end
|
3028
|
+
|
3009
3029
|
# Represents a log group.
|
3010
3030
|
#
|
3011
3031
|
# @!attribute [rw] log_group_name
|
@@ -3036,7 +3056,20 @@ module Aws::CloudWatchLogs
|
|
3036
3056
|
# @return [Integer]
|
3037
3057
|
#
|
3038
3058
|
# @!attribute [rw] arn
|
3039
|
-
# The Amazon Resource Name (ARN) of the log group.
|
3059
|
+
# The Amazon Resource Name (ARN) of the log group. This version of the
|
3060
|
+
# ARN includes a trailing `:*` after the log group name.
|
3061
|
+
#
|
3062
|
+
# Use this version to refer to the ARN in IAM policies when specifying
|
3063
|
+
# permissions for most API actions. The exception is when specifying
|
3064
|
+
# permissions for [TagResource][1], [UntagResource][2], and
|
3065
|
+
# [ListTagsForResource][3]. The permissions for those three actions
|
3066
|
+
# require the ARN version that doesn't include a trailing `:*`.
|
3067
|
+
#
|
3068
|
+
#
|
3069
|
+
#
|
3070
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html
|
3071
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html
|
3072
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html
|
3040
3073
|
# @return [String]
|
3041
3074
|
#
|
3042
3075
|
# @!attribute [rw] stored_bytes
|
@@ -3080,6 +3113,27 @@ module Aws::CloudWatchLogs
|
|
3080
3113
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html
|
3081
3114
|
# @return [String]
|
3082
3115
|
#
|
3116
|
+
# @!attribute [rw] log_group_arn
|
3117
|
+
# The Amazon Resource Name (ARN) of the log group. This version of the
|
3118
|
+
# ARN doesn't include a trailing `:*` after the log group name.
|
3119
|
+
#
|
3120
|
+
# Use this version to refer to the ARN in the following situations:
|
3121
|
+
#
|
3122
|
+
# * In the `logGroupIdentifier` input field in many CloudWatch Logs
|
3123
|
+
# APIs.
|
3124
|
+
#
|
3125
|
+
# * In the `resourceArn` field in tagging APIs
|
3126
|
+
#
|
3127
|
+
# * In IAM policies, when specifying permissions for [TagResource][1],
|
3128
|
+
# [UntagResource][2], and [ListTagsForResource][3].
|
3129
|
+
#
|
3130
|
+
#
|
3131
|
+
#
|
3132
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html
|
3133
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html
|
3134
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html
|
3135
|
+
# @return [String]
|
3136
|
+
#
|
3083
3137
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogGroup AWS API Documentation
|
3084
3138
|
#
|
3085
3139
|
class LogGroup < Struct.new(
|
@@ -3092,7 +3146,8 @@ module Aws::CloudWatchLogs
|
|
3092
3146
|
:kms_key_id,
|
3093
3147
|
:data_protection_status,
|
3094
3148
|
:inherited_properties,
|
3095
|
-
:log_group_class
|
3149
|
+
:log_group_class,
|
3150
|
+
:log_group_arn)
|
3096
3151
|
SENSITIVE = []
|
3097
3152
|
include Aws::Structure
|
3098
3153
|
end
|
@@ -3458,8 +3513,7 @@ module Aws::CloudWatchLogs
|
|
3458
3513
|
# `FindingsDestination` object. You can optionally use that
|
3459
3514
|
# `FindingsDestination` object to list one or more destinations to
|
3460
3515
|
# send audit findings to. If you specify destinations such as log
|
3461
|
-
# groups,
|
3462
|
-
# already exist.
|
3516
|
+
# groups, Firehose streams, and S3 buckets, they must already exist.
|
3463
3517
|
#
|
3464
3518
|
# * The second block must include both a `DataIdentifer` array and an
|
3465
3519
|
# `Operation` property with an `Deidentify` action. The
|
@@ -3495,16 +3549,15 @@ module Aws::CloudWatchLogs
|
|
3495
3549
|
# * An Kinesis Data Streams data stream in the same account as the
|
3496
3550
|
# subscription policy, for same-account delivery.
|
3497
3551
|
#
|
3498
|
-
# * An
|
3499
|
-
#
|
3552
|
+
# * An Firehose data stream in the same account as the subscription
|
3553
|
+
# policy, for same-account delivery.
|
3500
3554
|
#
|
3501
3555
|
# * A Lambda function in the same account as the subscription
|
3502
3556
|
# policy, for same-account delivery.
|
3503
3557
|
#
|
3504
3558
|
# * A logical destination in a different account created with
|
3505
3559
|
# [PutDestination][2], for cross-account delivery. Kinesis Data
|
3506
|
-
# Streams and
|
3507
|
-
# destinations.
|
3560
|
+
# Streams and Firehose are supported as logical destinations.
|
3508
3561
|
#
|
3509
3562
|
# * **RoleArn** The ARN of an IAM role that grants CloudWatch Logs
|
3510
3563
|
# permissions to deliver ingested log events to the destination
|
@@ -3600,8 +3653,7 @@ module Aws::CloudWatchLogs
|
|
3600
3653
|
# `FindingsDestination` object. You can optionally use that
|
3601
3654
|
# `FindingsDestination` object to list one or more destinations to
|
3602
3655
|
# send audit findings to. If you specify destinations such as log
|
3603
|
-
# groups,
|
3604
|
-
# already exist.
|
3656
|
+
# groups, Firehose streams, and S3 buckets, they must already exist.
|
3605
3657
|
#
|
3606
3658
|
# * The second block must include both a `DataIdentifer` array and an
|
3607
3659
|
# `Operation` property with an `Deidentify` action. The
|
@@ -3751,8 +3803,15 @@ module Aws::CloudWatchLogs
|
|
3751
3803
|
# @return [String]
|
3752
3804
|
#
|
3753
3805
|
# @!attribute [rw] log_type
|
3754
|
-
# Defines the type of log that the source is sending.
|
3755
|
-
#
|
3806
|
+
# Defines the type of log that the source is sending.
|
3807
|
+
#
|
3808
|
+
# * For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`.
|
3809
|
+
#
|
3810
|
+
# * For IAM Identity Centerr, the valid value is `ERROR_LOGS`.
|
3811
|
+
#
|
3812
|
+
# * For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`,
|
3813
|
+
# `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and
|
3814
|
+
# `WORKMAIL_MAILBOX_ACCESS_LOGS`.
|
3756
3815
|
# @return [String]
|
3757
3816
|
#
|
3758
3817
|
# @!attribute [rw] tags
|
@@ -4345,11 +4404,13 @@ module Aws::CloudWatchLogs
|
|
4345
4404
|
# Represents the rejected events.
|
4346
4405
|
#
|
4347
4406
|
# @!attribute [rw] too_new_log_event_start_index
|
4348
|
-
# The log
|
4407
|
+
# The index of the first log event that is too new. This field is
|
4408
|
+
# inclusive.
|
4349
4409
|
# @return [Integer]
|
4350
4410
|
#
|
4351
4411
|
# @!attribute [rw] too_old_log_event_end_index
|
4352
|
-
# The log
|
4412
|
+
# The index of the last log event that is too old. This field is
|
4413
|
+
# exclusive.
|
4353
4414
|
# @return [Integer]
|
4354
4415
|
#
|
4355
4416
|
# @!attribute [rw] expired_log_event_end_index
|
data/sig/types.rbs
CHANGED
@@ -35,7 +35,7 @@ module Aws::CloudWatchLogs
|
|
35
35
|
attr_accessor active: bool
|
36
36
|
attr_accessor state: ("Active" | "Suppressed" | "Baseline")
|
37
37
|
attr_accessor histogram: ::Hash[::String, ::Integer]
|
38
|
-
attr_accessor log_samples: ::Array[::
|
38
|
+
attr_accessor log_samples: ::Array[Types::LogEvent]
|
39
39
|
attr_accessor pattern_tokens: ::Array[Types::PatternToken]
|
40
40
|
attr_accessor log_group_arn_list: ::Array[::String]
|
41
41
|
attr_accessor suppressed: bool
|
@@ -731,6 +731,12 @@ module Aws::CloudWatchLogs
|
|
731
731
|
SENSITIVE: []
|
732
732
|
end
|
733
733
|
|
734
|
+
class LogEvent
|
735
|
+
attr_accessor timestamp: ::Integer
|
736
|
+
attr_accessor message: ::String
|
737
|
+
SENSITIVE: []
|
738
|
+
end
|
739
|
+
|
734
740
|
class LogGroup
|
735
741
|
attr_accessor log_group_name: ::String
|
736
742
|
attr_accessor creation_time: ::Integer
|
@@ -742,6 +748,7 @@ module Aws::CloudWatchLogs
|
|
742
748
|
attr_accessor data_protection_status: ("ACTIVATED" | "DELETED" | "ARCHIVED" | "DISABLED")
|
743
749
|
attr_accessor inherited_properties: ::Array[("ACCOUNT_DATA_PROTECTION")]
|
744
750
|
attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS")
|
751
|
+
attr_accessor log_group_arn: ::String
|
745
752
|
SENSITIVE: []
|
746
753
|
end
|
747
754
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudwatchlogs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.80.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|