aws-sdk-eventbridge 1.84.0 → 1.85.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eventbridge/client.rb +38 -1
- data/lib/aws-sdk-eventbridge/client_api.rb +12 -0
- data/lib/aws-sdk-eventbridge/types.rb +107 -3
- data/lib/aws-sdk-eventbridge.rb +1 -1
- data/sig/client.rbs +11 -0
- data/sig/types.rbs +11 -0
- 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: 1b97108569abe39061ba9634c65abfedadbda64564ef1487125b267087ed2759
|
4
|
+
data.tar.gz: ce64158fce0c8a40f3a6bbd6acb7b12c0d7310371d4343fe87fcfd18c033d132
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c8853bf5675f6e33c2a42df21ddd7e887638e47ca0028e34c78064115062633be53301a3ab6ea3c827c1a45a86248bae391868aae3d594e2c8297c59b222d48
|
7
|
+
data.tar.gz: 4f84dd71660c836ac21778c4bb0b02209a44d95e9f0f062f7b47c60c76592b53f2769dad08f45e20b1452b56ee1735dda66d2a70399d80e611962a4c0e6a34c9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.85.0 (2025-07-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add customer-facing logging for the EventBridge Event Bus, enabling customers to better observe their events and extract insights about their EventBridge usage.
|
8
|
+
|
4
9
|
1.84.0 (2025-06-30)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.85.0
|
@@ -1023,6 +1023,16 @@ module Aws::EventBridge
|
|
1023
1023
|
#
|
1024
1024
|
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-rule-event-delivery.html#eb-rule-dlq
|
1025
1025
|
#
|
1026
|
+
# @option params [Types::LogConfig] :log_config
|
1027
|
+
# The logging configuration settings for the event bus.
|
1028
|
+
#
|
1029
|
+
# For more information, see [Configuring logs for event buses][1] in the
|
1030
|
+
# *EventBridge User Guide*.
|
1031
|
+
#
|
1032
|
+
#
|
1033
|
+
#
|
1034
|
+
# [1]: https://docs.aws.amazon.com/eb-event-bus-logs.html
|
1035
|
+
#
|
1026
1036
|
# @option params [Array<Types::Tag>] :tags
|
1027
1037
|
# Tags to associate with the event bus.
|
1028
1038
|
#
|
@@ -1032,6 +1042,7 @@ module Aws::EventBridge
|
|
1032
1042
|
# * {Types::CreateEventBusResponse#description #description} => String
|
1033
1043
|
# * {Types::CreateEventBusResponse#kms_key_identifier #kms_key_identifier} => String
|
1034
1044
|
# * {Types::CreateEventBusResponse#dead_letter_config #dead_letter_config} => Types::DeadLetterConfig
|
1045
|
+
# * {Types::CreateEventBusResponse#log_config #log_config} => Types::LogConfig
|
1035
1046
|
#
|
1036
1047
|
# @example Request syntax with placeholder values
|
1037
1048
|
#
|
@@ -1043,6 +1054,10 @@ module Aws::EventBridge
|
|
1043
1054
|
# dead_letter_config: {
|
1044
1055
|
# arn: "ResourceArn",
|
1045
1056
|
# },
|
1057
|
+
# log_config: {
|
1058
|
+
# include_detail: "NONE", # accepts NONE, FULL
|
1059
|
+
# level: "OFF", # accepts OFF, ERROR, INFO, TRACE
|
1060
|
+
# },
|
1046
1061
|
# tags: [
|
1047
1062
|
# {
|
1048
1063
|
# key: "TagKey", # required
|
@@ -1057,6 +1072,8 @@ module Aws::EventBridge
|
|
1057
1072
|
# resp.description #=> String
|
1058
1073
|
# resp.kms_key_identifier #=> String
|
1059
1074
|
# resp.dead_letter_config.arn #=> String
|
1075
|
+
# resp.log_config.include_detail #=> String, one of "NONE", "FULL"
|
1076
|
+
# resp.log_config.level #=> String, one of "OFF", "ERROR", "INFO", "TRACE"
|
1060
1077
|
#
|
1061
1078
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateEventBus AWS API Documentation
|
1062
1079
|
#
|
@@ -1711,6 +1728,7 @@ module Aws::EventBridge
|
|
1711
1728
|
# * {Types::DescribeEventBusResponse#kms_key_identifier #kms_key_identifier} => String
|
1712
1729
|
# * {Types::DescribeEventBusResponse#dead_letter_config #dead_letter_config} => Types::DeadLetterConfig
|
1713
1730
|
# * {Types::DescribeEventBusResponse#policy #policy} => String
|
1731
|
+
# * {Types::DescribeEventBusResponse#log_config #log_config} => Types::LogConfig
|
1714
1732
|
# * {Types::DescribeEventBusResponse#creation_time #creation_time} => Time
|
1715
1733
|
# * {Types::DescribeEventBusResponse#last_modified_time #last_modified_time} => Time
|
1716
1734
|
#
|
@@ -1728,6 +1746,8 @@ module Aws::EventBridge
|
|
1728
1746
|
# resp.kms_key_identifier #=> String
|
1729
1747
|
# resp.dead_letter_config.arn #=> String
|
1730
1748
|
# resp.policy #=> String
|
1749
|
+
# resp.log_config.include_detail #=> String, one of "NONE", "FULL"
|
1750
|
+
# resp.log_config.level #=> String, one of "OFF", "ERROR", "INFO", "TRACE"
|
1731
1751
|
# resp.creation_time #=> Time
|
1732
1752
|
# resp.last_modified_time #=> Time
|
1733
1753
|
#
|
@@ -4259,6 +4279,16 @@ module Aws::EventBridge
|
|
4259
4279
|
#
|
4260
4280
|
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-rule-event-delivery.html#eb-rule-dlq
|
4261
4281
|
#
|
4282
|
+
# @option params [Types::LogConfig] :log_config
|
4283
|
+
# The logging configuration settings for the event bus.
|
4284
|
+
#
|
4285
|
+
# For more information, see [Configuring logs for event buses][1] in the
|
4286
|
+
# *EventBridge User Guide*.
|
4287
|
+
#
|
4288
|
+
#
|
4289
|
+
#
|
4290
|
+
# [1]: https://docs.aws.amazon.com/eb-event-bus-logs.html
|
4291
|
+
#
|
4262
4292
|
# @return [Types::UpdateEventBusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4263
4293
|
#
|
4264
4294
|
# * {Types::UpdateEventBusResponse#arn #arn} => String
|
@@ -4266,6 +4296,7 @@ module Aws::EventBridge
|
|
4266
4296
|
# * {Types::UpdateEventBusResponse#kms_key_identifier #kms_key_identifier} => String
|
4267
4297
|
# * {Types::UpdateEventBusResponse#description #description} => String
|
4268
4298
|
# * {Types::UpdateEventBusResponse#dead_letter_config #dead_letter_config} => Types::DeadLetterConfig
|
4299
|
+
# * {Types::UpdateEventBusResponse#log_config #log_config} => Types::LogConfig
|
4269
4300
|
#
|
4270
4301
|
# @example Request syntax with placeholder values
|
4271
4302
|
#
|
@@ -4276,6 +4307,10 @@ module Aws::EventBridge
|
|
4276
4307
|
# dead_letter_config: {
|
4277
4308
|
# arn: "ResourceArn",
|
4278
4309
|
# },
|
4310
|
+
# log_config: {
|
4311
|
+
# include_detail: "NONE", # accepts NONE, FULL
|
4312
|
+
# level: "OFF", # accepts OFF, ERROR, INFO, TRACE
|
4313
|
+
# },
|
4279
4314
|
# })
|
4280
4315
|
#
|
4281
4316
|
# @example Response structure
|
@@ -4285,6 +4320,8 @@ module Aws::EventBridge
|
|
4285
4320
|
# resp.kms_key_identifier #=> String
|
4286
4321
|
# resp.description #=> String
|
4287
4322
|
# resp.dead_letter_config.arn #=> String
|
4323
|
+
# resp.log_config.include_detail #=> String, one of "NONE", "FULL"
|
4324
|
+
# resp.log_config.level #=> String, one of "OFF", "ERROR", "INFO", "TRACE"
|
4288
4325
|
#
|
4289
4326
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateEventBus AWS API Documentation
|
4290
4327
|
#
|
@@ -4313,7 +4350,7 @@ module Aws::EventBridge
|
|
4313
4350
|
tracer: tracer
|
4314
4351
|
)
|
4315
4352
|
context[:gem_name] = 'aws-sdk-eventbridge'
|
4316
|
-
context[:gem_version] = '1.
|
4353
|
+
context[:gem_version] = '1.85.0'
|
4317
4354
|
Seahorse::Client::Request.new(handlers, context)
|
4318
4355
|
end
|
4319
4356
|
|
@@ -174,6 +174,7 @@ module Aws::EventBridge
|
|
174
174
|
HttpsEndpoint = Shapes::StringShape.new(name: 'HttpsEndpoint')
|
175
175
|
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
176
176
|
IllegalStatusException = Shapes::StructureShape.new(name: 'IllegalStatusException')
|
177
|
+
IncludeDetail = Shapes::StringShape.new(name: 'IncludeDetail')
|
177
178
|
InputTransformer = Shapes::StructureShape.new(name: 'InputTransformer')
|
178
179
|
InputTransformerPathKey = Shapes::StringShape.new(name: 'InputTransformerPathKey')
|
179
180
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
@@ -183,6 +184,7 @@ module Aws::EventBridge
|
|
183
184
|
KinesisParameters = Shapes::StructureShape.new(name: 'KinesisParameters')
|
184
185
|
KmsKeyIdentifier = Shapes::StringShape.new(name: 'KmsKeyIdentifier')
|
185
186
|
LaunchType = Shapes::StringShape.new(name: 'LaunchType')
|
187
|
+
Level = Shapes::StringShape.new(name: 'Level')
|
186
188
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
187
189
|
LimitMax100 = Shapes::IntegerShape.new(name: 'LimitMax100')
|
188
190
|
LimitMin1 = Shapes::IntegerShape.new(name: 'LimitMin1')
|
@@ -212,6 +214,7 @@ module Aws::EventBridge
|
|
212
214
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
213
215
|
ListTargetsByRuleRequest = Shapes::StructureShape.new(name: 'ListTargetsByRuleRequest')
|
214
216
|
ListTargetsByRuleResponse = Shapes::StructureShape.new(name: 'ListTargetsByRuleResponse')
|
217
|
+
LogConfig = Shapes::StructureShape.new(name: 'LogConfig')
|
215
218
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
216
219
|
ManagedBy = Shapes::StringShape.new(name: 'ManagedBy')
|
217
220
|
ManagedRuleException = Shapes::StructureShape.new(name: 'ManagedRuleException')
|
@@ -593,6 +596,7 @@ module Aws::EventBridge
|
|
593
596
|
CreateEventBusRequest.add_member(:description, Shapes::ShapeRef.new(shape: EventBusDescription, location_name: "Description"))
|
594
597
|
CreateEventBusRequest.add_member(:kms_key_identifier, Shapes::ShapeRef.new(shape: KmsKeyIdentifier, location_name: "KmsKeyIdentifier"))
|
595
598
|
CreateEventBusRequest.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
599
|
+
CreateEventBusRequest.add_member(:log_config, Shapes::ShapeRef.new(shape: LogConfig, location_name: "LogConfig"))
|
596
600
|
CreateEventBusRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
597
601
|
CreateEventBusRequest.struct_class = Types::CreateEventBusRequest
|
598
602
|
|
@@ -600,6 +604,7 @@ module Aws::EventBridge
|
|
600
604
|
CreateEventBusResponse.add_member(:description, Shapes::ShapeRef.new(shape: EventBusDescription, location_name: "Description"))
|
601
605
|
CreateEventBusResponse.add_member(:kms_key_identifier, Shapes::ShapeRef.new(shape: KmsKeyIdentifier, location_name: "KmsKeyIdentifier"))
|
602
606
|
CreateEventBusResponse.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
607
|
+
CreateEventBusResponse.add_member(:log_config, Shapes::ShapeRef.new(shape: LogConfig, location_name: "LogConfig"))
|
603
608
|
CreateEventBusResponse.struct_class = Types::CreateEventBusResponse
|
604
609
|
|
605
610
|
CreatePartnerEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
|
@@ -747,6 +752,7 @@ module Aws::EventBridge
|
|
747
752
|
DescribeEventBusResponse.add_member(:kms_key_identifier, Shapes::ShapeRef.new(shape: KmsKeyIdentifier, location_name: "KmsKeyIdentifier"))
|
748
753
|
DescribeEventBusResponse.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
749
754
|
DescribeEventBusResponse.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
|
755
|
+
DescribeEventBusResponse.add_member(:log_config, Shapes::ShapeRef.new(shape: LogConfig, location_name: "LogConfig"))
|
750
756
|
DescribeEventBusResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
751
757
|
DescribeEventBusResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
|
752
758
|
DescribeEventBusResponse.struct_class = Types::DescribeEventBusResponse
|
@@ -1023,6 +1029,10 @@ module Aws::EventBridge
|
|
1023
1029
|
ListTargetsByRuleResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1024
1030
|
ListTargetsByRuleResponse.struct_class = Types::ListTargetsByRuleResponse
|
1025
1031
|
|
1032
|
+
LogConfig.add_member(:include_detail, Shapes::ShapeRef.new(shape: IncludeDetail, location_name: "IncludeDetail"))
|
1033
|
+
LogConfig.add_member(:level, Shapes::ShapeRef.new(shape: Level, location_name: "Level"))
|
1034
|
+
LogConfig.struct_class = Types::LogConfig
|
1035
|
+
|
1026
1036
|
ManagedRuleException.struct_class = Types::ManagedRuleException
|
1027
1037
|
|
1028
1038
|
NetworkConfiguration.add_member(:awsvpc_configuration, Shapes::ShapeRef.new(shape: AwsVpcConfiguration, location_name: "awsvpcConfiguration"))
|
@@ -1420,6 +1430,7 @@ module Aws::EventBridge
|
|
1420
1430
|
UpdateEventBusRequest.add_member(:kms_key_identifier, Shapes::ShapeRef.new(shape: KmsKeyIdentifier, location_name: "KmsKeyIdentifier"))
|
1421
1431
|
UpdateEventBusRequest.add_member(:description, Shapes::ShapeRef.new(shape: EventBusDescription, location_name: "Description"))
|
1422
1432
|
UpdateEventBusRequest.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
1433
|
+
UpdateEventBusRequest.add_member(:log_config, Shapes::ShapeRef.new(shape: LogConfig, location_name: "LogConfig"))
|
1423
1434
|
UpdateEventBusRequest.struct_class = Types::UpdateEventBusRequest
|
1424
1435
|
|
1425
1436
|
UpdateEventBusResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
|
@@ -1427,6 +1438,7 @@ module Aws::EventBridge
|
|
1427
1438
|
UpdateEventBusResponse.add_member(:kms_key_identifier, Shapes::ShapeRef.new(shape: KmsKeyIdentifier, location_name: "KmsKeyIdentifier"))
|
1428
1439
|
UpdateEventBusResponse.add_member(:description, Shapes::ShapeRef.new(shape: EventBusDescription, location_name: "Description"))
|
1429
1440
|
UpdateEventBusResponse.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
1441
|
+
UpdateEventBusResponse.add_member(:log_config, Shapes::ShapeRef.new(shape: LogConfig, location_name: "LogConfig"))
|
1430
1442
|
UpdateEventBusResponse.struct_class = Types::UpdateEventBusResponse
|
1431
1443
|
|
1432
1444
|
|
@@ -1232,6 +1232,17 @@ module Aws::EventBridge
|
|
1232
1232
|
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-rule-event-delivery.html#eb-rule-dlq
|
1233
1233
|
# @return [Types::DeadLetterConfig]
|
1234
1234
|
#
|
1235
|
+
# @!attribute [rw] log_config
|
1236
|
+
# The logging configuration settings for the event bus.
|
1237
|
+
#
|
1238
|
+
# For more information, see [Configuring logs for event buses][1] in
|
1239
|
+
# the *EventBridge User Guide*.
|
1240
|
+
#
|
1241
|
+
#
|
1242
|
+
#
|
1243
|
+
# [1]: https://docs.aws.amazon.com/eb-event-bus-logs.html
|
1244
|
+
# @return [Types::LogConfig]
|
1245
|
+
#
|
1235
1246
|
# @!attribute [rw] tags
|
1236
1247
|
# Tags to associate with the event bus.
|
1237
1248
|
# @return [Array<Types::Tag>]
|
@@ -1244,6 +1255,7 @@ module Aws::EventBridge
|
|
1244
1255
|
:description,
|
1245
1256
|
:kms_key_identifier,
|
1246
1257
|
:dead_letter_config,
|
1258
|
+
:log_config,
|
1247
1259
|
:tags)
|
1248
1260
|
SENSITIVE = []
|
1249
1261
|
include Aws::Structure
|
@@ -1281,13 +1293,25 @@ module Aws::EventBridge
|
|
1281
1293
|
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-rule-event-delivery.html#eb-rule-dlq
|
1282
1294
|
# @return [Types::DeadLetterConfig]
|
1283
1295
|
#
|
1296
|
+
# @!attribute [rw] log_config
|
1297
|
+
# The logging configuration settings for the event bus.
|
1298
|
+
#
|
1299
|
+
# For more information, see [Configuring logs for event buses][1] in
|
1300
|
+
# the *EventBridge User Guide*.
|
1301
|
+
#
|
1302
|
+
#
|
1303
|
+
#
|
1304
|
+
# [1]: https://docs.aws.amazon.com/eb-event-bus-logs.html
|
1305
|
+
# @return [Types::LogConfig]
|
1306
|
+
#
|
1284
1307
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateEventBusResponse AWS API Documentation
|
1285
1308
|
#
|
1286
1309
|
class CreateEventBusResponse < Struct.new(
|
1287
1310
|
:event_bus_arn,
|
1288
1311
|
:description,
|
1289
1312
|
:kms_key_identifier,
|
1290
|
-
:dead_letter_config
|
1313
|
+
:dead_letter_config,
|
1314
|
+
:log_config)
|
1291
1315
|
SENSITIVE = []
|
1292
1316
|
include Aws::Structure
|
1293
1317
|
end
|
@@ -2030,6 +2054,17 @@ module Aws::EventBridge
|
|
2030
2054
|
# account.
|
2031
2055
|
# @return [String]
|
2032
2056
|
#
|
2057
|
+
# @!attribute [rw] log_config
|
2058
|
+
# The logging configuration settings for the event bus.
|
2059
|
+
#
|
2060
|
+
# For more information, see [Configuring logs for event buses][1] in
|
2061
|
+
# the *EventBridge User Guide*.
|
2062
|
+
#
|
2063
|
+
#
|
2064
|
+
#
|
2065
|
+
# [1]: https://docs.aws.amazon.com/eb-event-bus-logs.html
|
2066
|
+
# @return [Types::LogConfig]
|
2067
|
+
#
|
2033
2068
|
# @!attribute [rw] creation_time
|
2034
2069
|
# The time the event bus was created.
|
2035
2070
|
# @return [Time]
|
@@ -2047,6 +2082,7 @@ module Aws::EventBridge
|
|
2047
2082
|
:kms_key_identifier,
|
2048
2083
|
:dead_letter_config,
|
2049
2084
|
:policy,
|
2085
|
+
:log_config,
|
2050
2086
|
:creation_time,
|
2051
2087
|
:last_modified_time)
|
2052
2088
|
SENSITIVE = []
|
@@ -3621,6 +3657,50 @@ module Aws::EventBridge
|
|
3621
3657
|
include Aws::Structure
|
3622
3658
|
end
|
3623
3659
|
|
3660
|
+
# The logging configuration settings for the event bus.
|
3661
|
+
#
|
3662
|
+
# For more information, see [Configuring logs for event buses][1] in the
|
3663
|
+
# *EventBridge User Guide*.
|
3664
|
+
#
|
3665
|
+
#
|
3666
|
+
#
|
3667
|
+
# [1]: https://docs.aws.amazon.com/eb-event-bus-logs.html
|
3668
|
+
#
|
3669
|
+
# @!attribute [rw] include_detail
|
3670
|
+
# Whether EventBridge include detailed event information in the
|
3671
|
+
# records it generates. Detailed data can be useful for
|
3672
|
+
# troubleshooting and debugging. This information includes details of
|
3673
|
+
# the event itself, as well as target details.
|
3674
|
+
#
|
3675
|
+
# For more information, see [Including detail data in event bus
|
3676
|
+
# logs][1] in the *EventBridge User Guide*.
|
3677
|
+
#
|
3678
|
+
#
|
3679
|
+
#
|
3680
|
+
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus-logs.html#eb-event-logs-data
|
3681
|
+
# @return [String]
|
3682
|
+
#
|
3683
|
+
# @!attribute [rw] level
|
3684
|
+
# The level of logging detail to include. This applies to all log
|
3685
|
+
# destinations for the event bus.
|
3686
|
+
#
|
3687
|
+
# For more information, see [Specifying event bus log level][1] in the
|
3688
|
+
# *EventBridge User Guide*.
|
3689
|
+
#
|
3690
|
+
#
|
3691
|
+
#
|
3692
|
+
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus-logs.html#eb-event-bus-logs-level
|
3693
|
+
# @return [String]
|
3694
|
+
#
|
3695
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/LogConfig AWS API Documentation
|
3696
|
+
#
|
3697
|
+
class LogConfig < Struct.new(
|
3698
|
+
:include_detail,
|
3699
|
+
:level)
|
3700
|
+
SENSITIVE = []
|
3701
|
+
include Aws::Structure
|
3702
|
+
end
|
3703
|
+
|
3624
3704
|
# This rule was created by an Amazon Web Services service on behalf of
|
3625
3705
|
# your account. It is managed by that service. If you see this error in
|
3626
3706
|
# response to `DeleteRule` or `RemoveTargets`, you can use the `Force`
|
@@ -5817,13 +5897,25 @@ module Aws::EventBridge
|
|
5817
5897
|
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-rule-event-delivery.html#eb-rule-dlq
|
5818
5898
|
# @return [Types::DeadLetterConfig]
|
5819
5899
|
#
|
5900
|
+
# @!attribute [rw] log_config
|
5901
|
+
# The logging configuration settings for the event bus.
|
5902
|
+
#
|
5903
|
+
# For more information, see [Configuring logs for event buses][1] in
|
5904
|
+
# the *EventBridge User Guide*.
|
5905
|
+
#
|
5906
|
+
#
|
5907
|
+
#
|
5908
|
+
# [1]: https://docs.aws.amazon.com/eb-event-bus-logs.html
|
5909
|
+
# @return [Types::LogConfig]
|
5910
|
+
#
|
5820
5911
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateEventBusRequest AWS API Documentation
|
5821
5912
|
#
|
5822
5913
|
class UpdateEventBusRequest < Struct.new(
|
5823
5914
|
:name,
|
5824
5915
|
:kms_key_identifier,
|
5825
5916
|
:description,
|
5826
|
-
:dead_letter_config
|
5917
|
+
:dead_letter_config,
|
5918
|
+
:log_config)
|
5827
5919
|
SENSITIVE = []
|
5828
5920
|
include Aws::Structure
|
5829
5921
|
end
|
@@ -5864,6 +5956,17 @@ module Aws::EventBridge
|
|
5864
5956
|
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-rule-event-delivery.html#eb-rule-dlq
|
5865
5957
|
# @return [Types::DeadLetterConfig]
|
5866
5958
|
#
|
5959
|
+
# @!attribute [rw] log_config
|
5960
|
+
# The logging configuration settings for the event bus.
|
5961
|
+
#
|
5962
|
+
# For more information, see [Configuring logs for event buses][1] in
|
5963
|
+
# the *EventBridge User Guide*.
|
5964
|
+
#
|
5965
|
+
#
|
5966
|
+
#
|
5967
|
+
# [1]: https://docs.aws.amazon.com/eb-event-bus-logs.html
|
5968
|
+
# @return [Types::LogConfig]
|
5969
|
+
#
|
5867
5970
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateEventBusResponse AWS API Documentation
|
5868
5971
|
#
|
5869
5972
|
class UpdateEventBusResponse < Struct.new(
|
@@ -5871,7 +5974,8 @@ module Aws::EventBridge
|
|
5871
5974
|
:name,
|
5872
5975
|
:kms_key_identifier,
|
5873
5976
|
:description,
|
5874
|
-
:dead_letter_config
|
5977
|
+
:dead_letter_config,
|
5978
|
+
:log_config)
|
5875
5979
|
SENSITIVE = []
|
5876
5980
|
include Aws::Structure
|
5877
5981
|
end
|
data/lib/aws-sdk-eventbridge.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -264,6 +264,7 @@ module Aws
|
|
264
264
|
def description: () -> ::String
|
265
265
|
def kms_key_identifier: () -> ::String
|
266
266
|
def dead_letter_config: () -> Types::DeadLetterConfig
|
267
|
+
def log_config: () -> Types::LogConfig
|
267
268
|
end
|
268
269
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridge/Client.html#create_event_bus-instance_method
|
269
270
|
def create_event_bus: (
|
@@ -274,6 +275,10 @@ module Aws
|
|
274
275
|
?dead_letter_config: {
|
275
276
|
arn: ::String?
|
276
277
|
},
|
278
|
+
?log_config: {
|
279
|
+
include_detail: ("NONE" | "FULL")?,
|
280
|
+
level: ("OFF" | "ERROR" | "INFO" | "TRACE")?
|
281
|
+
},
|
277
282
|
?tags: Array[
|
278
283
|
{
|
279
284
|
key: ::String,
|
@@ -469,6 +474,7 @@ module Aws
|
|
469
474
|
def kms_key_identifier: () -> ::String
|
470
475
|
def dead_letter_config: () -> Types::DeadLetterConfig
|
471
476
|
def policy: () -> ::String
|
477
|
+
def log_config: () -> Types::LogConfig
|
472
478
|
def creation_time: () -> ::Time
|
473
479
|
def last_modified_time: () -> ::Time
|
474
480
|
end
|
@@ -1187,6 +1193,7 @@ module Aws
|
|
1187
1193
|
def kms_key_identifier: () -> ::String
|
1188
1194
|
def description: () -> ::String
|
1189
1195
|
def dead_letter_config: () -> Types::DeadLetterConfig
|
1196
|
+
def log_config: () -> Types::LogConfig
|
1190
1197
|
end
|
1191
1198
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridge/Client.html#update_event_bus-instance_method
|
1192
1199
|
def update_event_bus: (
|
@@ -1195,6 +1202,10 @@ module Aws
|
|
1195
1202
|
?description: ::String,
|
1196
1203
|
?dead_letter_config: {
|
1197
1204
|
arn: ::String?
|
1205
|
+
},
|
1206
|
+
?log_config: {
|
1207
|
+
include_detail: ("NONE" | "FULL")?,
|
1208
|
+
level: ("OFF" | "ERROR" | "INFO" | "TRACE")?
|
1198
1209
|
}
|
1199
1210
|
) -> _UpdateEventBusResponseSuccess
|
1200
1211
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventBusResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -298,6 +298,7 @@ module Aws::EventBridge
|
|
298
298
|
attr_accessor description: ::String
|
299
299
|
attr_accessor kms_key_identifier: ::String
|
300
300
|
attr_accessor dead_letter_config: Types::DeadLetterConfig
|
301
|
+
attr_accessor log_config: Types::LogConfig
|
301
302
|
attr_accessor tags: ::Array[Types::Tag]
|
302
303
|
SENSITIVE: []
|
303
304
|
end
|
@@ -307,6 +308,7 @@ module Aws::EventBridge
|
|
307
308
|
attr_accessor description: ::String
|
308
309
|
attr_accessor kms_key_identifier: ::String
|
309
310
|
attr_accessor dead_letter_config: Types::DeadLetterConfig
|
311
|
+
attr_accessor log_config: Types::LogConfig
|
310
312
|
SENSITIVE: []
|
311
313
|
end
|
312
314
|
|
@@ -509,6 +511,7 @@ module Aws::EventBridge
|
|
509
511
|
attr_accessor kms_key_identifier: ::String
|
510
512
|
attr_accessor dead_letter_config: Types::DeadLetterConfig
|
511
513
|
attr_accessor policy: ::String
|
514
|
+
attr_accessor log_config: Types::LogConfig
|
512
515
|
attr_accessor creation_time: ::Time
|
513
516
|
attr_accessor last_modified_time: ::Time
|
514
517
|
SENSITIVE: []
|
@@ -868,6 +871,12 @@ module Aws::EventBridge
|
|
868
871
|
SENSITIVE: []
|
869
872
|
end
|
870
873
|
|
874
|
+
class LogConfig
|
875
|
+
attr_accessor include_detail: ("NONE" | "FULL")
|
876
|
+
attr_accessor level: ("OFF" | "ERROR" | "INFO" | "TRACE")
|
877
|
+
SENSITIVE: []
|
878
|
+
end
|
879
|
+
|
871
880
|
class ManagedRuleException < Aws::EmptyStructure
|
872
881
|
end
|
873
882
|
|
@@ -1336,6 +1345,7 @@ module Aws::EventBridge
|
|
1336
1345
|
attr_accessor kms_key_identifier: ::String
|
1337
1346
|
attr_accessor description: ::String
|
1338
1347
|
attr_accessor dead_letter_config: Types::DeadLetterConfig
|
1348
|
+
attr_accessor log_config: Types::LogConfig
|
1339
1349
|
SENSITIVE: []
|
1340
1350
|
end
|
1341
1351
|
|
@@ -1345,6 +1355,7 @@ module Aws::EventBridge
|
|
1345
1355
|
attr_accessor kms_key_identifier: ::String
|
1346
1356
|
attr_accessor description: ::String
|
1347
1357
|
attr_accessor dead_letter_config: Types::DeadLetterConfig
|
1358
|
+
attr_accessor log_config: Types::LogConfig
|
1348
1359
|
SENSITIVE: []
|
1349
1360
|
end
|
1350
1361
|
end
|