aws-sdk-cloudwatchlogs 1.87.0 → 1.89.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 771dfa13ffa47389aab59daf1b51424a5e9957c8398757c21ee3d6efcd49a982
4
- data.tar.gz: c591834cccd4f91921a8aec807f8560dfe22d0ecaa24f3a2b15f25c4326a83ab
3
+ metadata.gz: 291d433b3c173334e692ff0b137bea60e9da6b6958a48af558789dd94378d3e0
4
+ data.tar.gz: 82b110be23b1b22668038741850a17ee4b35b84edbe25159248bbb2afb032077
5
5
  SHA512:
6
- metadata.gz: 75a480d3ed87683a62847520982cadbc2d3a9774d8125a59599eba699cdc62a595182d045397ee473004171a30a4bf38509b25462754802d40d8d9da76823440
7
- data.tar.gz: ae8b0c54c280c3423393429b1a940731cd4537f89947d99496066322b100e7026043901eb655c3538a6a83b63ece2dab8d5042a262e244c5fd00fa6301c280e8
6
+ metadata.gz: '02688e40bb4777891f030e65b8071f8222ab425c08ff5db01e2155ec4980ff82f5c1c6c67173a8d175d7beea785d2a4c4c8f5c742c25bb27be052d19a2a6b0e2'
7
+ data.tar.gz: 62e3237cb8d51b353f4dbfd35cb27370e3bfa13bc91e6294833d53cc18eae48a048b90652290a21c25fb177e4f7bc44688a2a84671a546176d48f2096001561f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.89.0 (2024-08-30)
5
+ ------------------
6
+
7
+ * Feature - This release introduces a new optional parameter: Entity, in PutLogEvents request
8
+
9
+ 1.88.0 (2024-07-30)
10
+ ------------------
11
+
12
+ * Feature - Add v2 smoke tests and smithy smokeTests trait for SDK testing.
13
+
4
14
  1.87.0 (2024-07-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.87.0
1
+ 1.89.0
@@ -2463,18 +2463,17 @@ module Aws::CloudWatchLogs
2463
2463
  # @option params [Array<String>] :log_stream_names
2464
2464
  # Filters the results to only logs from the log streams in this list.
2465
2465
  #
2466
- # If you specify a value for both `logStreamNamePrefix` and
2467
- # `logStreamNames`, the action returns an `InvalidParameterException`
2468
- # error.
2466
+ # If you specify a value for both `logStreamNames` and
2467
+ # `logStreamNamePrefix`, the action returns an
2468
+ # `InvalidParameterException` error.
2469
2469
  #
2470
2470
  # @option params [String] :log_stream_name_prefix
2471
2471
  # Filters the results to include only events from log streams that have
2472
2472
  # names starting with this prefix.
2473
2473
  #
2474
2474
  # If you specify a value for both `logStreamNamePrefix` and
2475
- # `logStreamNames`, but the value for `logStreamNamePrefix` does not
2476
- # match any log stream names specified in `logStreamNames`, the action
2477
- # returns an `InvalidParameterException` error.
2475
+ # `logStreamNames`, the action returns an `InvalidParameterException`
2476
+ # error.
2478
2477
  #
2479
2478
  # @option params [Integer] :start_time
2480
2479
  # The start of the time range, expressed as the number of milliseconds
@@ -3400,11 +3399,11 @@ module Aws::CloudWatchLogs
3400
3399
  # [PutDestination][5], for cross-account delivery. Kinesis Data
3401
3400
  # Streams and Firehose are supported as logical destinations.
3402
3401
  #
3403
- # Each account can have one account-level subscription filter policy. If
3404
- # you are updating an existing filter, you must specify the correct name
3405
- # in `PolicyName`. To perform a `PutAccountPolicy` subscription filter
3406
- # operation for any destination except a Lambda function, you must also
3407
- # have the `iam:PassRole` permission.
3402
+ # Each account can have one account-level subscription filter policy per
3403
+ # Region. If you are updating an existing filter, you must specify the
3404
+ # correct name in `PolicyName`. To perform a `PutAccountPolicy`
3405
+ # subscription filter operation for any destination except a Lambda
3406
+ # function, you must also have the `iam:PassRole` permission.
3408
3407
  #
3409
3408
  #
3410
3409
  #
@@ -3489,7 +3488,7 @@ module Aws::CloudWatchLogs
3489
3488
  # * **FilterPattern** A filter pattern for subscribing to a filtered
3490
3489
  # stream of log events.
3491
3490
  #
3492
- # * **Distribution**The method used to distribute log data to the
3491
+ # * **Distribution** The method used to distribute log data to the
3493
3492
  # destination. By default, log data is grouped by log stream, but the
3494
3493
  # grouping can be set to `Random` for a more even distribution. This
3495
3494
  # property is only applicable when the destination is an Kinesis Data
@@ -3896,9 +3895,11 @@ module Aws::CloudWatchLogs
3896
3895
  # @option params [required, String] :log_type
3897
3896
  # Defines the type of log that the source is sending.
3898
3897
  #
3898
+ # * For Amazon Bedrock, the valid value is `APPLICATION_LOGS`.
3899
+ #
3899
3900
  # * For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`.
3900
3901
  #
3901
- # * For IAM Identity Centerr, the valid value is `ERROR_LOGS`.
3902
+ # * For IAM Identity Center, the valid value is `ERROR_LOGS`.
3902
3903
  #
3903
3904
  # * For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`,
3904
3905
  # `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and
@@ -4142,10 +4143,14 @@ module Aws::CloudWatchLogs
4142
4143
  # `InvalidSequenceTokenException` or `DataAlreadyAcceptedException` even
4143
4144
  # if the sequence token is not valid.
4144
4145
  #
4146
+ # @option params [Types::Entity] :entity
4147
+ # Reserved for future use.
4148
+ #
4145
4149
  # @return [Types::PutLogEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4146
4150
  #
4147
4151
  # * {Types::PutLogEventsResponse#next_sequence_token #next_sequence_token} => String
4148
4152
  # * {Types::PutLogEventsResponse#rejected_log_events_info #rejected_log_events_info} => Types::RejectedLogEventsInfo
4153
+ # * {Types::PutLogEventsResponse#rejected_entity_info #rejected_entity_info} => Types::RejectedEntityInfo
4149
4154
  #
4150
4155
  # @example Request syntax with placeholder values
4151
4156
  #
@@ -4159,6 +4164,14 @@ module Aws::CloudWatchLogs
4159
4164
  # },
4160
4165
  # ],
4161
4166
  # sequence_token: "SequenceToken",
4167
+ # entity: {
4168
+ # key_attributes: {
4169
+ # "EntityKeyAttributesKey" => "EntityKeyAttributesValue",
4170
+ # },
4171
+ # attributes: {
4172
+ # "EntityAttributesKey" => "EntityAttributesValue",
4173
+ # },
4174
+ # },
4162
4175
  # })
4163
4176
  #
4164
4177
  # @example Response structure
@@ -4167,6 +4180,7 @@ module Aws::CloudWatchLogs
4167
4180
  # resp.rejected_log_events_info.too_new_log_event_start_index #=> Integer
4168
4181
  # resp.rejected_log_events_info.too_old_log_event_end_index #=> Integer
4169
4182
  # resp.rejected_log_events_info.expired_log_event_end_index #=> Integer
4183
+ # resp.rejected_entity_info.error_type #=> String, one of "InvalidEntity", "InvalidTypeValue", "InvalidKeyAttributes", "InvalidAttributes", "EntitySizeTooLarge", "UnsupportedLogGroupType", "MissingRequiredFields"
4170
4184
  #
4171
4185
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEvents AWS API Documentation
4172
4186
  #
@@ -4185,6 +4199,14 @@ module Aws::CloudWatchLogs
4185
4199
  # The maximum number of metric filters that can be associated with a log
4186
4200
  # group is 100.
4187
4201
  #
4202
+ # Using regular expressions to create metric filters is supported. For
4203
+ # these filters, there is a quotas of quota of two regular expression
4204
+ # patterns within a single filter pattern. There is also a quota of five
4205
+ # regular expression patterns per log group. For more information about
4206
+ # using regular expressions in metric filters, see [ Filter pattern
4207
+ # syntax for metric filters, subscription filters, filter log events,
4208
+ # and Live Tail][2].
4209
+ #
4188
4210
  # When you create a metric filter, you can also optionally assign a unit
4189
4211
  # and dimensions to the metric that is created.
4190
4212
  #
@@ -4200,12 +4222,13 @@ module Aws::CloudWatchLogs
4200
4222
  #
4201
4223
  # You can also set up a billing alarm to alert you if your charges are
4202
4224
  # higher than expected. For more information, see [ Creating a Billing
4203
- # Alarm to Monitor Your Estimated Amazon Web Services Charges][2].
4225
+ # Alarm to Monitor Your Estimated Amazon Web Services Charges][3].
4204
4226
  #
4205
4227
  #
4206
4228
  #
4207
4229
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html
4208
- # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html
4230
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html
4231
+ # [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html
4209
4232
  #
4210
4233
  # @option params [required, String] :log_group_name
4211
4234
  # The name of the log group.
@@ -4497,6 +4520,14 @@ module Aws::CloudWatchLogs
4497
4520
  # it. If you are updating an existing filter, you must specify the
4498
4521
  # correct name in `filterName`.
4499
4522
  #
4523
+ # Using regular expressions to create subscription filters is supported.
4524
+ # For these filters, there is a quotas of quota of two regular
4525
+ # expression patterns within a single filter pattern. There is also a
4526
+ # quota of five regular expression patterns per log group. For more
4527
+ # information about using regular expressions in subscription filters,
4528
+ # see [ Filter pattern syntax for metric filters, subscription filters,
4529
+ # filter log events, and Live Tail][3].
4530
+ #
4500
4531
  # To perform a `PutSubscriptionFilter` operation for any destination
4501
4532
  # except a Lambda function, you must also have the `iam:PassRole`
4502
4533
  # permission.
@@ -4505,6 +4536,7 @@ module Aws::CloudWatchLogs
4505
4536
  #
4506
4537
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html
4507
4538
  # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestination.html
4539
+ # [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html
4508
4540
  #
4509
4541
  # @option params [required, String] :log_group_name
4510
4542
  # The name of the log group.
@@ -4630,8 +4662,8 @@ module Aws::CloudWatchLogs
4630
4662
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatchLogs_LiveTail.html
4631
4663
  # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_LiveTailSessionStart.html
4632
4664
  # [3]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_LiveTailSessionUpdate.html
4633
- # [4]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_SessionStreamingException.html
4634
- # [5]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_SessionTimeoutException.html
4665
+ # [4]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartLiveTailResponseStream.html#CWL-Type-StartLiveTailResponseStream-SessionStreamingException
4666
+ # [5]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartLiveTailResponseStream.html#CWL-Type-StartLiveTailResponseStream-SessionTimeoutException
4635
4667
  # [6]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/example_cloudwatch-logs_StartLiveTail_section.html
4636
4668
  #
4637
4669
  # @option params [required, Array<String>] :log_group_identifiers
@@ -5382,7 +5414,7 @@ module Aws::CloudWatchLogs
5382
5414
  params: params,
5383
5415
  config: config)
5384
5416
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
5385
- context[:gem_version] = '1.87.0'
5417
+ context[:gem_version] = '1.89.0'
5386
5418
  Seahorse::Client::Request.new(handlers, context)
5387
5419
  end
5388
5420
 
@@ -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 `logStreamNamePrefix` and
2022
- # `logStreamNames`, the action returns an `InvalidParameterException`
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`, but the value for `logStreamNamePrefix` does not
2032
- # match any log stream names specified in `logStreamNames`, the action
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 tructures that contains information about one pattern token related
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 Centerr, the valid value is `ERROR_LOGS`.
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
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-cloudwatchlogs/event_streams'
53
53
  # @!group service
54
54
  module Aws::CloudWatchLogs
55
55
 
56
- GEM_VERSION = '1.87.0'
56
+ GEM_VERSION = '1.89.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -720,6 +720,7 @@ module Aws
720
720
  include ::Seahorse::Client::_ResponseSuccess[Types::PutLogEventsResponse]
721
721
  def next_sequence_token: () -> ::String
722
722
  def rejected_log_events_info: () -> Types::RejectedLogEventsInfo
723
+ def rejected_entity_info: () -> Types::RejectedEntityInfo
723
724
  end
724
725
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_log_events-instance_method
725
726
  def put_log_events: (
@@ -731,7 +732,11 @@ module Aws
731
732
  message: ::String
732
733
  },
733
734
  ],
734
- ?sequence_token: ::String
735
+ ?sequence_token: ::String,
736
+ ?entity: {
737
+ key_attributes: Hash[::String, ::String]?,
738
+ attributes: Hash[::String, ::String]?
739
+ }
735
740
  ) -> _PutLogEventsResponseSuccess
736
741
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLogEventsResponseSuccess
737
742
 
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.87.0
4
+ version: 1.89.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-07-02 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core