aws-sdk-cloudwatchlogs 1.88.0 → 1.90.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 +68 -19
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +24 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +55 -11
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +7 -1
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +13 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3017e424ae22d6fde7362c457f25b7f5cfe97b66c0bca057b15e100de86d3129
|
4
|
+
data.tar.gz: 3419db167ceeb8938f6ec9f4e6d71637f850f84b00e96cff6d28fb622fedb18e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3be0c8d8d1f4511876bc16f684f3b51707600b17ebfc99f80ec8e67a0466649ba91d9825ce52463e2debb2d70075d4b9c690d58e2364312ee4deef663cd21ef
|
7
|
+
data.tar.gz: 7e48b82979d149cf8251f912f51e1ae5ed48c5cab6395e6cfe9c4a9d90f4c996a6ed1d8f529bf0e47ef13f01f6305672419cbb1f62c86273526d349dd0739f8f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.90.0 (2024-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.89.0 (2024-08-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release introduces a new optional parameter: Entity, in PutLogEvents request
|
13
|
+
|
4
14
|
1.88.0 (2024-07-30)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.90.0
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
37
38
|
require 'aws-sdk-core/plugins/event_stream_configuration.rb'
|
@@ -84,6 +85,7 @@ module Aws::CloudWatchLogs
|
|
84
85
|
add_plugin(Aws::Plugins::RequestCompression)
|
85
86
|
add_plugin(Aws::Plugins::DefaultsMode)
|
86
87
|
add_plugin(Aws::Plugins::RecursionDetection)
|
88
|
+
add_plugin(Aws::Plugins::Telemetry)
|
87
89
|
add_plugin(Aws::Plugins::Sign)
|
88
90
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
89
91
|
add_plugin(Aws::Plugins::EventStreamConfiguration)
|
@@ -348,6 +350,16 @@ module Aws::CloudWatchLogs
|
|
348
350
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
349
351
|
# requests are made, and retries are disabled.
|
350
352
|
#
|
353
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
354
|
+
# Allows you to provide a telemetry provider, which is used to
|
355
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
356
|
+
# will not record or emit any telemetry data. The SDK supports the
|
357
|
+
# following telemetry providers:
|
358
|
+
#
|
359
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
360
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
361
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
362
|
+
#
|
351
363
|
# @option options [Aws::TokenProvider] :token_provider
|
352
364
|
# A Bearer Token Provider. This can be an instance of any one of the
|
353
365
|
# following classes:
|
@@ -2463,18 +2475,17 @@ module Aws::CloudWatchLogs
|
|
2463
2475
|
# @option params [Array<String>] :log_stream_names
|
2464
2476
|
# Filters the results to only logs from the log streams in this list.
|
2465
2477
|
#
|
2466
|
-
# If you specify a value for both `
|
2467
|
-
# `
|
2468
|
-
# error.
|
2478
|
+
# If you specify a value for both `logStreamNames` and
|
2479
|
+
# `logStreamNamePrefix`, the action returns an
|
2480
|
+
# `InvalidParameterException` error.
|
2469
2481
|
#
|
2470
2482
|
# @option params [String] :log_stream_name_prefix
|
2471
2483
|
# Filters the results to include only events from log streams that have
|
2472
2484
|
# names starting with this prefix.
|
2473
2485
|
#
|
2474
2486
|
# If you specify a value for both `logStreamNamePrefix` and
|
2475
|
-
# `logStreamNames`,
|
2476
|
-
#
|
2477
|
-
# returns an `InvalidParameterException` error.
|
2487
|
+
# `logStreamNames`, the action returns an `InvalidParameterException`
|
2488
|
+
# error.
|
2478
2489
|
#
|
2479
2490
|
# @option params [Integer] :start_time
|
2480
2491
|
# The start of the time range, expressed as the number of milliseconds
|
@@ -3400,11 +3411,11 @@ module Aws::CloudWatchLogs
|
|
3400
3411
|
# [PutDestination][5], for cross-account delivery. Kinesis Data
|
3401
3412
|
# Streams and Firehose are supported as logical destinations.
|
3402
3413
|
#
|
3403
|
-
# Each account can have one account-level subscription filter policy
|
3404
|
-
# you are updating an existing filter, you must specify the
|
3405
|
-
# in `PolicyName`. To perform a `PutAccountPolicy`
|
3406
|
-
# operation for any destination except a Lambda
|
3407
|
-
# have the `iam:PassRole` permission.
|
3414
|
+
# Each account can have one account-level subscription filter policy per
|
3415
|
+
# Region. If you are updating an existing filter, you must specify the
|
3416
|
+
# correct name in `PolicyName`. To perform a `PutAccountPolicy`
|
3417
|
+
# subscription filter operation for any destination except a Lambda
|
3418
|
+
# function, you must also have the `iam:PassRole` permission.
|
3408
3419
|
#
|
3409
3420
|
#
|
3410
3421
|
#
|
@@ -3489,7 +3500,7 @@ module Aws::CloudWatchLogs
|
|
3489
3500
|
# * **FilterPattern** A filter pattern for subscribing to a filtered
|
3490
3501
|
# stream of log events.
|
3491
3502
|
#
|
3492
|
-
# * **Distribution**The method used to distribute log data to the
|
3503
|
+
# * **Distribution** The method used to distribute log data to the
|
3493
3504
|
# destination. By default, log data is grouped by log stream, but the
|
3494
3505
|
# grouping can be set to `Random` for a more even distribution. This
|
3495
3506
|
# property is only applicable when the destination is an Kinesis Data
|
@@ -3896,9 +3907,11 @@ module Aws::CloudWatchLogs
|
|
3896
3907
|
# @option params [required, String] :log_type
|
3897
3908
|
# Defines the type of log that the source is sending.
|
3898
3909
|
#
|
3910
|
+
# * For Amazon Bedrock, the valid value is `APPLICATION_LOGS`.
|
3911
|
+
#
|
3899
3912
|
# * For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`.
|
3900
3913
|
#
|
3901
|
-
# * For IAM Identity
|
3914
|
+
# * For IAM Identity Center, the valid value is `ERROR_LOGS`.
|
3902
3915
|
#
|
3903
3916
|
# * For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`,
|
3904
3917
|
# `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and
|
@@ -4142,10 +4155,14 @@ module Aws::CloudWatchLogs
|
|
4142
4155
|
# `InvalidSequenceTokenException` or `DataAlreadyAcceptedException` even
|
4143
4156
|
# if the sequence token is not valid.
|
4144
4157
|
#
|
4158
|
+
# @option params [Types::Entity] :entity
|
4159
|
+
# Reserved for future use.
|
4160
|
+
#
|
4145
4161
|
# @return [Types::PutLogEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4146
4162
|
#
|
4147
4163
|
# * {Types::PutLogEventsResponse#next_sequence_token #next_sequence_token} => String
|
4148
4164
|
# * {Types::PutLogEventsResponse#rejected_log_events_info #rejected_log_events_info} => Types::RejectedLogEventsInfo
|
4165
|
+
# * {Types::PutLogEventsResponse#rejected_entity_info #rejected_entity_info} => Types::RejectedEntityInfo
|
4149
4166
|
#
|
4150
4167
|
# @example Request syntax with placeholder values
|
4151
4168
|
#
|
@@ -4159,6 +4176,14 @@ module Aws::CloudWatchLogs
|
|
4159
4176
|
# },
|
4160
4177
|
# ],
|
4161
4178
|
# sequence_token: "SequenceToken",
|
4179
|
+
# entity: {
|
4180
|
+
# key_attributes: {
|
4181
|
+
# "EntityKeyAttributesKey" => "EntityKeyAttributesValue",
|
4182
|
+
# },
|
4183
|
+
# attributes: {
|
4184
|
+
# "EntityAttributesKey" => "EntityAttributesValue",
|
4185
|
+
# },
|
4186
|
+
# },
|
4162
4187
|
# })
|
4163
4188
|
#
|
4164
4189
|
# @example Response structure
|
@@ -4167,6 +4192,7 @@ module Aws::CloudWatchLogs
|
|
4167
4192
|
# resp.rejected_log_events_info.too_new_log_event_start_index #=> Integer
|
4168
4193
|
# resp.rejected_log_events_info.too_old_log_event_end_index #=> Integer
|
4169
4194
|
# resp.rejected_log_events_info.expired_log_event_end_index #=> Integer
|
4195
|
+
# resp.rejected_entity_info.error_type #=> String, one of "InvalidEntity", "InvalidTypeValue", "InvalidKeyAttributes", "InvalidAttributes", "EntitySizeTooLarge", "UnsupportedLogGroupType", "MissingRequiredFields"
|
4170
4196
|
#
|
4171
4197
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEvents AWS API Documentation
|
4172
4198
|
#
|
@@ -4185,6 +4211,14 @@ module Aws::CloudWatchLogs
|
|
4185
4211
|
# The maximum number of metric filters that can be associated with a log
|
4186
4212
|
# group is 100.
|
4187
4213
|
#
|
4214
|
+
# Using regular expressions to create metric filters is supported. For
|
4215
|
+
# these filters, there is a quotas of quota of two regular expression
|
4216
|
+
# patterns within a single filter pattern. There is also a quota of five
|
4217
|
+
# regular expression patterns per log group. For more information about
|
4218
|
+
# using regular expressions in metric filters, see [ Filter pattern
|
4219
|
+
# syntax for metric filters, subscription filters, filter log events,
|
4220
|
+
# and Live Tail][2].
|
4221
|
+
#
|
4188
4222
|
# When you create a metric filter, you can also optionally assign a unit
|
4189
4223
|
# and dimensions to the metric that is created.
|
4190
4224
|
#
|
@@ -4200,12 +4234,13 @@ module Aws::CloudWatchLogs
|
|
4200
4234
|
#
|
4201
4235
|
# You can also set up a billing alarm to alert you if your charges are
|
4202
4236
|
# higher than expected. For more information, see [ Creating a Billing
|
4203
|
-
# Alarm to Monitor Your Estimated Amazon Web Services Charges][
|
4237
|
+
# Alarm to Monitor Your Estimated Amazon Web Services Charges][3].
|
4204
4238
|
#
|
4205
4239
|
#
|
4206
4240
|
#
|
4207
4241
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html
|
4208
|
-
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/
|
4242
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html
|
4243
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html
|
4209
4244
|
#
|
4210
4245
|
# @option params [required, String] :log_group_name
|
4211
4246
|
# The name of the log group.
|
@@ -4497,6 +4532,14 @@ module Aws::CloudWatchLogs
|
|
4497
4532
|
# it. If you are updating an existing filter, you must specify the
|
4498
4533
|
# correct name in `filterName`.
|
4499
4534
|
#
|
4535
|
+
# Using regular expressions to create subscription filters is supported.
|
4536
|
+
# For these filters, there is a quotas of quota of two regular
|
4537
|
+
# expression patterns within a single filter pattern. There is also a
|
4538
|
+
# quota of five regular expression patterns per log group. For more
|
4539
|
+
# information about using regular expressions in subscription filters,
|
4540
|
+
# see [ Filter pattern syntax for metric filters, subscription filters,
|
4541
|
+
# filter log events, and Live Tail][3].
|
4542
|
+
#
|
4500
4543
|
# To perform a `PutSubscriptionFilter` operation for any destination
|
4501
4544
|
# except a Lambda function, you must also have the `iam:PassRole`
|
4502
4545
|
# permission.
|
@@ -4505,6 +4548,7 @@ module Aws::CloudWatchLogs
|
|
4505
4548
|
#
|
4506
4549
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html
|
4507
4550
|
# [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestination.html
|
4551
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html
|
4508
4552
|
#
|
4509
4553
|
# @option params [required, String] :log_group_name
|
4510
4554
|
# The name of the log group.
|
@@ -4630,8 +4674,8 @@ module Aws::CloudWatchLogs
|
|
4630
4674
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatchLogs_LiveTail.html
|
4631
4675
|
# [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_LiveTailSessionStart.html
|
4632
4676
|
# [3]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_LiveTailSessionUpdate.html
|
4633
|
-
# [4]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/
|
4634
|
-
# [5]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/
|
4677
|
+
# [4]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartLiveTailResponseStream.html#CWL-Type-StartLiveTailResponseStream-SessionStreamingException
|
4678
|
+
# [5]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartLiveTailResponseStream.html#CWL-Type-StartLiveTailResponseStream-SessionTimeoutException
|
4635
4679
|
# [6]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/example_cloudwatch-logs_StartLiveTail_section.html
|
4636
4680
|
#
|
4637
4681
|
# @option params [required, Array<String>] :log_group_identifiers
|
@@ -5375,14 +5419,19 @@ module Aws::CloudWatchLogs
|
|
5375
5419
|
# @api private
|
5376
5420
|
def build_request(operation_name, params = {})
|
5377
5421
|
handlers = @handlers.for(operation_name)
|
5422
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
5423
|
+
Aws::Telemetry.module_to_tracer_name('Aws::CloudWatchLogs')
|
5424
|
+
)
|
5378
5425
|
context = Seahorse::Client::RequestContext.new(
|
5379
5426
|
operation_name: operation_name,
|
5380
5427
|
operation: config.api.operation(operation_name),
|
5381
5428
|
client: self,
|
5382
5429
|
params: params,
|
5383
|
-
config: config
|
5430
|
+
config: config,
|
5431
|
+
tracer: tracer
|
5432
|
+
)
|
5384
5433
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
5385
|
-
context[:gem_version] = '1.
|
5434
|
+
context[:gem_version] = '1.90.0'
|
5386
5435
|
Seahorse::Client::Request.new(handlers, context)
|
5387
5436
|
end
|
5388
5437
|
|
@@ -119,6 +119,14 @@ module Aws::CloudWatchLogs
|
|
119
119
|
Distribution = Shapes::StringShape.new(name: 'Distribution')
|
120
120
|
DynamicTokenPosition = Shapes::IntegerShape.new(name: 'DynamicTokenPosition')
|
121
121
|
EncryptionKey = Shapes::StringShape.new(name: 'EncryptionKey')
|
122
|
+
Entity = Shapes::StructureShape.new(name: 'Entity')
|
123
|
+
EntityAttributes = Shapes::MapShape.new(name: 'EntityAttributes')
|
124
|
+
EntityAttributesKey = Shapes::StringShape.new(name: 'EntityAttributesKey')
|
125
|
+
EntityAttributesValue = Shapes::StringShape.new(name: 'EntityAttributesValue')
|
126
|
+
EntityKeyAttributes = Shapes::MapShape.new(name: 'EntityKeyAttributes')
|
127
|
+
EntityKeyAttributesKey = Shapes::StringShape.new(name: 'EntityKeyAttributesKey')
|
128
|
+
EntityKeyAttributesValue = Shapes::StringShape.new(name: 'EntityKeyAttributesValue')
|
129
|
+
EntityRejectionErrorType = Shapes::StringShape.new(name: 'EntityRejectionErrorType')
|
122
130
|
Enumerations = Shapes::MapShape.new(name: 'Enumerations')
|
123
131
|
EpochMillis = Shapes::IntegerShape.new(name: 'EpochMillis')
|
124
132
|
EvaluationFrequency = Shapes::StringShape.new(name: 'EvaluationFrequency')
|
@@ -283,6 +291,7 @@ module Aws::CloudWatchLogs
|
|
283
291
|
QueryStatistics = Shapes::StructureShape.new(name: 'QueryStatistics')
|
284
292
|
QueryStatus = Shapes::StringShape.new(name: 'QueryStatus')
|
285
293
|
QueryString = Shapes::StringShape.new(name: 'QueryString')
|
294
|
+
RejectedEntityInfo = Shapes::StructureShape.new(name: 'RejectedEntityInfo')
|
286
295
|
RejectedLogEventsInfo = Shapes::StructureShape.new(name: 'RejectedLogEventsInfo')
|
287
296
|
RequestId = Shapes::StringShape.new(name: 'RequestId')
|
288
297
|
ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
|
@@ -687,6 +696,16 @@ module Aws::CloudWatchLogs
|
|
687
696
|
DisassociateKmsKeyRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location_name: "resourceIdentifier"))
|
688
697
|
DisassociateKmsKeyRequest.struct_class = Types::DisassociateKmsKeyRequest
|
689
698
|
|
699
|
+
Entity.add_member(:key_attributes, Shapes::ShapeRef.new(shape: EntityKeyAttributes, location_name: "keyAttributes"))
|
700
|
+
Entity.add_member(:attributes, Shapes::ShapeRef.new(shape: EntityAttributes, location_name: "attributes"))
|
701
|
+
Entity.struct_class = Types::Entity
|
702
|
+
|
703
|
+
EntityAttributes.key = Shapes::ShapeRef.new(shape: EntityAttributesKey)
|
704
|
+
EntityAttributes.value = Shapes::ShapeRef.new(shape: EntityAttributesValue)
|
705
|
+
|
706
|
+
EntityKeyAttributes.key = Shapes::ShapeRef.new(shape: EntityKeyAttributesKey)
|
707
|
+
EntityKeyAttributes.value = Shapes::ShapeRef.new(shape: EntityKeyAttributesValue)
|
708
|
+
|
690
709
|
Enumerations.key = Shapes::ShapeRef.new(shape: TokenString)
|
691
710
|
Enumerations.value = Shapes::ShapeRef.new(shape: TokenValue)
|
692
711
|
|
@@ -1063,10 +1082,12 @@ module Aws::CloudWatchLogs
|
|
1063
1082
|
PutLogEventsRequest.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, required: true, location_name: "logStreamName"))
|
1064
1083
|
PutLogEventsRequest.add_member(:log_events, Shapes::ShapeRef.new(shape: InputLogEvents, required: true, location_name: "logEvents"))
|
1065
1084
|
PutLogEventsRequest.add_member(:sequence_token, Shapes::ShapeRef.new(shape: SequenceToken, location_name: "sequenceToken"))
|
1085
|
+
PutLogEventsRequest.add_member(:entity, Shapes::ShapeRef.new(shape: Entity, location_name: "entity"))
|
1066
1086
|
PutLogEventsRequest.struct_class = Types::PutLogEventsRequest
|
1067
1087
|
|
1068
1088
|
PutLogEventsResponse.add_member(:next_sequence_token, Shapes::ShapeRef.new(shape: SequenceToken, location_name: "nextSequenceToken"))
|
1069
1089
|
PutLogEventsResponse.add_member(:rejected_log_events_info, Shapes::ShapeRef.new(shape: RejectedLogEventsInfo, location_name: "rejectedLogEventsInfo"))
|
1090
|
+
PutLogEventsResponse.add_member(:rejected_entity_info, Shapes::ShapeRef.new(shape: RejectedEntityInfo, location_name: "rejectedEntityInfo"))
|
1070
1091
|
PutLogEventsResponse.struct_class = Types::PutLogEventsResponse
|
1071
1092
|
|
1072
1093
|
PutMetricFilterRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
@@ -1137,6 +1158,9 @@ module Aws::CloudWatchLogs
|
|
1137
1158
|
QueryStatistics.add_member(:bytes_scanned, Shapes::ShapeRef.new(shape: StatsValue, location_name: "bytesScanned"))
|
1138
1159
|
QueryStatistics.struct_class = Types::QueryStatistics
|
1139
1160
|
|
1161
|
+
RejectedEntityInfo.add_member(:error_type, Shapes::ShapeRef.new(shape: EntityRejectionErrorType, required: true, location_name: "errorType"))
|
1162
|
+
RejectedEntityInfo.struct_class = Types::RejectedEntityInfo
|
1163
|
+
|
1140
1164
|
RejectedLogEventsInfo.add_member(:too_new_log_event_start_index, Shapes::ShapeRef.new(shape: LogEventIndex, location_name: "tooNewLogEventStartIndex"))
|
1141
1165
|
RejectedLogEventsInfo.add_member(:too_old_log_event_end_index, Shapes::ShapeRef.new(shape: LogEventIndex, location_name: "tooOldLogEventEndIndex"))
|
1142
1166
|
RejectedLogEventsInfo.add_member(:expired_log_event_end_index, Shapes::ShapeRef.new(shape: LogEventIndex, location_name: "expiredLogEventEndIndex"))
|
@@ -1896,6 +1896,25 @@ module Aws::CloudWatchLogs
|
|
1896
1896
|
include Aws::Structure
|
1897
1897
|
end
|
1898
1898
|
|
1899
|
+
# Reserved for future use.
|
1900
|
+
#
|
1901
|
+
# @!attribute [rw] key_attributes
|
1902
|
+
# Reserved for future use.
|
1903
|
+
# @return [Hash<String,String>]
|
1904
|
+
#
|
1905
|
+
# @!attribute [rw] attributes
|
1906
|
+
# Reserved for future use.
|
1907
|
+
# @return [Hash<String,String>]
|
1908
|
+
#
|
1909
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/Entity AWS API Documentation
|
1910
|
+
#
|
1911
|
+
class Entity < Struct.new(
|
1912
|
+
:key_attributes,
|
1913
|
+
:attributes)
|
1914
|
+
SENSITIVE = []
|
1915
|
+
include Aws::Structure
|
1916
|
+
end
|
1917
|
+
|
1899
1918
|
# Represents an export task.
|
1900
1919
|
#
|
1901
1920
|
# @!attribute [rw] task_id
|
@@ -2018,9 +2037,9 @@ module Aws::CloudWatchLogs
|
|
2018
2037
|
# @!attribute [rw] log_stream_names
|
2019
2038
|
# Filters the results to only logs from the log streams in this list.
|
2020
2039
|
#
|
2021
|
-
# If you specify a value for both `
|
2022
|
-
# `
|
2023
|
-
# error.
|
2040
|
+
# If you specify a value for both `logStreamNames` and
|
2041
|
+
# `logStreamNamePrefix`, the action returns an
|
2042
|
+
# `InvalidParameterException` error.
|
2024
2043
|
# @return [Array<String>]
|
2025
2044
|
#
|
2026
2045
|
# @!attribute [rw] log_stream_name_prefix
|
@@ -2028,9 +2047,8 @@ module Aws::CloudWatchLogs
|
|
2028
2047
|
# have names starting with this prefix.
|
2029
2048
|
#
|
2030
2049
|
# If you specify a value for both `logStreamNamePrefix` and
|
2031
|
-
# `logStreamNames`,
|
2032
|
-
#
|
2033
|
-
# returns an `InvalidParameterException` error.
|
2050
|
+
# `logStreamNames`, the action returns an `InvalidParameterException`
|
2051
|
+
# error.
|
2034
2052
|
# @return [String]
|
2035
2053
|
#
|
2036
2054
|
# @!attribute [rw] start_time
|
@@ -3434,7 +3452,7 @@ module Aws::CloudWatchLogs
|
|
3434
3452
|
include Aws::Structure
|
3435
3453
|
end
|
3436
3454
|
|
3437
|
-
# A
|
3455
|
+
# A structure that contains information about one pattern token related
|
3438
3456
|
# to an anomaly.
|
3439
3457
|
#
|
3440
3458
|
# For more information about patterns and tokens, see
|
@@ -3567,7 +3585,7 @@ module Aws::CloudWatchLogs
|
|
3567
3585
|
# * **FilterPattern** A filter pattern for subscribing to a filtered
|
3568
3586
|
# stream of log events.
|
3569
3587
|
#
|
3570
|
-
# * **Distribution**The method used to distribute log data to the
|
3588
|
+
# * **Distribution** The method used to distribute log data to the
|
3571
3589
|
# destination. By default, log data is grouped by log stream, but
|
3572
3590
|
# the grouping can be set to `Random` for a more even distribution.
|
3573
3591
|
# This property is only applicable when the destination is an
|
@@ -3805,9 +3823,11 @@ module Aws::CloudWatchLogs
|
|
3805
3823
|
# @!attribute [rw] log_type
|
3806
3824
|
# Defines the type of log that the source is sending.
|
3807
3825
|
#
|
3826
|
+
# * For Amazon Bedrock, the valid value is `APPLICATION_LOGS`.
|
3827
|
+
#
|
3808
3828
|
# * For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`.
|
3809
3829
|
#
|
3810
|
-
# * For IAM Identity
|
3830
|
+
# * For IAM Identity Center, the valid value is `ERROR_LOGS`.
|
3811
3831
|
#
|
3812
3832
|
# * For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`,
|
3813
3833
|
# `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and
|
@@ -3959,13 +3979,18 @@ module Aws::CloudWatchLogs
|
|
3959
3979
|
# even if the sequence token is not valid.
|
3960
3980
|
# @return [String]
|
3961
3981
|
#
|
3982
|
+
# @!attribute [rw] entity
|
3983
|
+
# Reserved for future use.
|
3984
|
+
# @return [Types::Entity]
|
3985
|
+
#
|
3962
3986
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsRequest AWS API Documentation
|
3963
3987
|
#
|
3964
3988
|
class PutLogEventsRequest < Struct.new(
|
3965
3989
|
:log_group_name,
|
3966
3990
|
:log_stream_name,
|
3967
3991
|
:log_events,
|
3968
|
-
:sequence_token
|
3992
|
+
:sequence_token,
|
3993
|
+
:entity)
|
3969
3994
|
SENSITIVE = []
|
3970
3995
|
include Aws::Structure
|
3971
3996
|
end
|
@@ -3987,11 +4012,16 @@ module Aws::CloudWatchLogs
|
|
3987
4012
|
# The rejected events.
|
3988
4013
|
# @return [Types::RejectedLogEventsInfo]
|
3989
4014
|
#
|
4015
|
+
# @!attribute [rw] rejected_entity_info
|
4016
|
+
# Reserved for future use.
|
4017
|
+
# @return [Types::RejectedEntityInfo]
|
4018
|
+
#
|
3990
4019
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsResponse AWS API Documentation
|
3991
4020
|
#
|
3992
4021
|
class PutLogEventsResponse < Struct.new(
|
3993
4022
|
:next_sequence_token,
|
3994
|
-
:rejected_log_events_info
|
4023
|
+
:rejected_log_events_info,
|
4024
|
+
:rejected_entity_info)
|
3995
4025
|
SENSITIVE = []
|
3996
4026
|
include Aws::Structure
|
3997
4027
|
end
|
@@ -4401,6 +4431,20 @@ module Aws::CloudWatchLogs
|
|
4401
4431
|
include Aws::Structure
|
4402
4432
|
end
|
4403
4433
|
|
4434
|
+
# Reserved for future use.
|
4435
|
+
#
|
4436
|
+
# @!attribute [rw] error_type
|
4437
|
+
# Reserved for future use.
|
4438
|
+
# @return [String]
|
4439
|
+
#
|
4440
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/RejectedEntityInfo AWS API Documentation
|
4441
|
+
#
|
4442
|
+
class RejectedEntityInfo < Struct.new(
|
4443
|
+
:error_type)
|
4444
|
+
SENSITIVE = []
|
4445
|
+
include Aws::Structure
|
4446
|
+
end
|
4447
|
+
|
4404
4448
|
# Represents the rejected events.
|
4405
4449
|
#
|
4406
4450
|
# @!attribute [rw] too_new_log_event_start_index
|
data/sig/client.rbs
CHANGED
@@ -54,6 +54,7 @@ module Aws
|
|
54
54
|
?sigv4a_signing_region_set: Array[String],
|
55
55
|
?simple_json: bool,
|
56
56
|
?stub_responses: untyped,
|
57
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
57
58
|
?token_provider: untyped,
|
58
59
|
?use_dualstack_endpoint: bool,
|
59
60
|
?use_fips_endpoint: bool,
|
@@ -720,6 +721,7 @@ module Aws
|
|
720
721
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutLogEventsResponse]
|
721
722
|
def next_sequence_token: () -> ::String
|
722
723
|
def rejected_log_events_info: () -> Types::RejectedLogEventsInfo
|
724
|
+
def rejected_entity_info: () -> Types::RejectedEntityInfo
|
723
725
|
end
|
724
726
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_log_events-instance_method
|
725
727
|
def put_log_events: (
|
@@ -731,7 +733,11 @@ module Aws
|
|
731
733
|
message: ::String
|
732
734
|
},
|
733
735
|
],
|
734
|
-
?sequence_token: ::String
|
736
|
+
?sequence_token: ::String,
|
737
|
+
?entity: {
|
738
|
+
key_attributes: Hash[::String, ::String]?,
|
739
|
+
attributes: Hash[::String, ::String]?
|
740
|
+
}
|
735
741
|
) -> _PutLogEventsResponseSuccess
|
736
742
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLogEventsResponseSuccess
|
737
743
|
|
data/sig/resource.rbs
CHANGED
@@ -54,6 +54,7 @@ module Aws
|
|
54
54
|
?sigv4a_signing_region_set: Array[String],
|
55
55
|
?simple_json: bool,
|
56
56
|
?stub_responses: untyped,
|
57
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
57
58
|
?token_provider: untyped,
|
58
59
|
?use_dualstack_endpoint: bool,
|
59
60
|
?use_fips_endpoint: bool,
|
data/sig/types.rbs
CHANGED
@@ -450,6 +450,12 @@ module Aws::CloudWatchLogs
|
|
450
450
|
SENSITIVE: []
|
451
451
|
end
|
452
452
|
|
453
|
+
class Entity
|
454
|
+
attr_accessor key_attributes: ::Hash[::String, ::String]
|
455
|
+
attr_accessor attributes: ::Hash[::String, ::String]
|
456
|
+
SENSITIVE: []
|
457
|
+
end
|
458
|
+
|
453
459
|
class ExportTask
|
454
460
|
attr_accessor task_id: ::String
|
455
461
|
attr_accessor task_name: ::String
|
@@ -913,12 +919,14 @@ module Aws::CloudWatchLogs
|
|
913
919
|
attr_accessor log_stream_name: ::String
|
914
920
|
attr_accessor log_events: ::Array[Types::InputLogEvent]
|
915
921
|
attr_accessor sequence_token: ::String
|
922
|
+
attr_accessor entity: Types::Entity
|
916
923
|
SENSITIVE: []
|
917
924
|
end
|
918
925
|
|
919
926
|
class PutLogEventsResponse
|
920
927
|
attr_accessor next_sequence_token: ::String
|
921
928
|
attr_accessor rejected_log_events_info: Types::RejectedLogEventsInfo
|
929
|
+
attr_accessor rejected_entity_info: Types::RejectedEntityInfo
|
922
930
|
SENSITIVE: []
|
923
931
|
end
|
924
932
|
|
@@ -1008,6 +1016,11 @@ module Aws::CloudWatchLogs
|
|
1008
1016
|
SENSITIVE: []
|
1009
1017
|
end
|
1010
1018
|
|
1019
|
+
class RejectedEntityInfo
|
1020
|
+
attr_accessor error_type: ("InvalidEntity" | "InvalidTypeValue" | "InvalidKeyAttributes" | "InvalidAttributes" | "EntitySizeTooLarge" | "UnsupportedLogGroupType" | "MissingRequiredFields")
|
1021
|
+
SENSITIVE: []
|
1022
|
+
end
|
1023
|
+
|
1011
1024
|
class RejectedLogEventsInfo
|
1012
1025
|
attr_accessor too_new_log_event_start_index: ::Integer
|
1013
1026
|
attr_accessor too_old_log_event_end_index: ::Integer
|
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.90.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-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.203.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.203.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|