aws-sdk-eventbridge 1.58.0 → 1.59.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 +235 -16
- data/lib/aws-sdk-eventbridge/client_api.rb +44 -0
- data/lib/aws-sdk-eventbridge/endpoints.rb +15 -0
- data/lib/aws-sdk-eventbridge/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-eventbridge/types.rb +332 -12
- data/lib/aws-sdk-eventbridge.rb +1 -1
- data/sig/client.rbs +32 -0
- data/sig/types.rbs +31 -0
- 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: c1d315feb430e95f1b9a213454502279a38588d9189f0e95de6390b3a357130d
|
4
|
+
data.tar.gz: 6d8092343683b799b63fe79c6b9154cbb59a0e50075d342f56d84f83e68ae308
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d2fbc262470f355b06c20aa771d5feff8a9bc0f7ba911c9ff29a2f25ee85bcaa5945706c93526f03ae03657fb2fd52431770de333a4afbcd5b7509564c78a7d
|
7
|
+
data.tar.gz: e89a02d1a43b1ba04ed3bcffc5c1424d033b1a5b70e796a0c2e0305fc68e6931a359dff173588bb2991f0e160ce2ec57213b857f9925fc31297df993fe926f8f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.59.0 (2024-05-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon EventBridge introduces KMS customer-managed key (CMK) encryption support for custom and partner events published on EventBridge Event Bus (including default bus) and UpdateEventBus API.
|
8
|
+
|
4
9
|
1.58.0 (2024-04-25)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.59.0
|
@@ -301,8 +301,9 @@ module Aws::EventBridge
|
|
301
301
|
#
|
302
302
|
# @option options [String] :sdk_ua_app_id
|
303
303
|
# A unique and opaque application ID that is appended to the
|
304
|
-
# User-Agent header as app
|
305
|
-
# maximum length of 50.
|
304
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
305
|
+
# maximum length of 50. This variable is sourced from environment
|
306
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
306
307
|
#
|
307
308
|
# @option options [String] :secret_access_key
|
308
309
|
#
|
@@ -553,6 +554,29 @@ module Aws::EventBridge
|
|
553
554
|
# archive, all events are sent to the archive except replayed events.
|
554
555
|
# Replayed events are not sent to an archive.
|
555
556
|
#
|
557
|
+
# <note markdown="1"> Archives and schema discovery are not supported for event buses
|
558
|
+
# encrypted using a customer managed key. EventBridge returns an error
|
559
|
+
# if:
|
560
|
+
#
|
561
|
+
# * You call ` CreateArchive ` on an event bus set to use a customer
|
562
|
+
# managed key for encryption.
|
563
|
+
#
|
564
|
+
# * You call ` CreateDiscoverer ` on an event bus set to use a customer
|
565
|
+
# managed key for encryption.
|
566
|
+
#
|
567
|
+
# * You call ` UpdatedEventBus ` to set a customer managed key on an
|
568
|
+
# event bus with an archives or schema discovery enabled.
|
569
|
+
#
|
570
|
+
# To enable archives or schema discovery on an event bus, choose to use
|
571
|
+
# an Amazon Web Services owned key. For more information, see [Data
|
572
|
+
# encryption in EventBridge][1] in the *Amazon EventBridge User Guide*.
|
573
|
+
#
|
574
|
+
# </note>
|
575
|
+
#
|
576
|
+
#
|
577
|
+
#
|
578
|
+
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html
|
579
|
+
#
|
556
580
|
# @option params [required, String] :archive_name
|
557
581
|
# The name for the archive to create.
|
558
582
|
#
|
@@ -828,18 +852,74 @@ module Aws::EventBridge
|
|
828
852
|
# If you are creating a partner event bus, this specifies the partner
|
829
853
|
# event source that the new event bus will be matched with.
|
830
854
|
#
|
855
|
+
# @option params [String] :description
|
856
|
+
# The event bus description.
|
857
|
+
#
|
858
|
+
# @option params [String] :kms_key_identifier
|
859
|
+
# The identifier of the KMS customer managed key for EventBridge to use,
|
860
|
+
# if you choose to use a customer managed key to encrypt events on this
|
861
|
+
# event bus. The identifier can be the key Amazon Resource Name (ARN),
|
862
|
+
# KeyId, key alias, or key alias ARN.
|
863
|
+
#
|
864
|
+
# If you do not specify a customer managed key identifier, EventBridge
|
865
|
+
# uses an Amazon Web Services owned key to encrypt events on the event
|
866
|
+
# bus.
|
867
|
+
#
|
868
|
+
# For more information, see [Managing keys][1] in the *Key Management
|
869
|
+
# Service Developer Guide*.
|
870
|
+
#
|
871
|
+
# <note markdown="1"> Archives and schema discovery are not supported for event buses
|
872
|
+
# encrypted using a customer managed key. EventBridge returns an error
|
873
|
+
# if:
|
874
|
+
#
|
875
|
+
# * You call ` CreateArchive ` on an event bus set to use a customer
|
876
|
+
# managed key for encryption.
|
877
|
+
#
|
878
|
+
# * You call ` CreateDiscoverer ` on an event bus set to use a customer
|
879
|
+
# managed key for encryption.
|
880
|
+
#
|
881
|
+
# * You call ` UpdatedEventBus ` to set a customer managed key on an
|
882
|
+
# event bus with an archives or schema discovery enabled.
|
883
|
+
#
|
884
|
+
# To enable archives or schema discovery on an event bus, choose to use
|
885
|
+
# an Amazon Web Services owned key. For more information, see [Data
|
886
|
+
# encryption in EventBridge][2] in the *Amazon EventBridge User Guide*.
|
887
|
+
#
|
888
|
+
# </note>
|
889
|
+
#
|
890
|
+
#
|
891
|
+
#
|
892
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/getting-started.html
|
893
|
+
# [2]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html
|
894
|
+
#
|
895
|
+
# @option params [Types::DeadLetterConfig] :dead_letter_config
|
896
|
+
# Configuration details of the Amazon SQS queue for EventBridge to use
|
897
|
+
# as a dead-letter queue (DLQ).
|
898
|
+
#
|
899
|
+
# For more information, see [Event retry policy and using dead-letter
|
900
|
+
# queues](eventbridge/latest/userguide/eb-rule-dlq.html) in the
|
901
|
+
# *EventBridge User Guide*.
|
902
|
+
#
|
831
903
|
# @option params [Array<Types::Tag>] :tags
|
832
904
|
# Tags to associate with the event bus.
|
833
905
|
#
|
834
906
|
# @return [Types::CreateEventBusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
835
907
|
#
|
836
908
|
# * {Types::CreateEventBusResponse#event_bus_arn #event_bus_arn} => String
|
909
|
+
# * {Types::CreateEventBusResponse#description #description} => String
|
910
|
+
# * {Types::CreateEventBusResponse#kms_key_identifier #kms_key_identifier} => String
|
911
|
+
# * {Types::CreateEventBusResponse#dead_letter_config #dead_letter_config} => Types::DeadLetterConfig
|
837
912
|
#
|
838
913
|
# @example Request syntax with placeholder values
|
839
914
|
#
|
840
915
|
# resp = client.create_event_bus({
|
841
916
|
# name: "EventBusName", # required
|
842
917
|
# event_source_name: "EventSourceName",
|
918
|
+
# description: "EventBusDescription",
|
919
|
+
# kms_key_identifier: "KmsKeyIdentifier",
|
920
|
+
# dead_letter_config: {
|
921
|
+
# arn: "ResourceArn",
|
922
|
+
# },
|
843
923
|
# tags: [
|
844
924
|
# {
|
845
925
|
# key: "TagKey", # required
|
@@ -851,6 +931,9 @@ module Aws::EventBridge
|
|
851
931
|
# @example Response structure
|
852
932
|
#
|
853
933
|
# resp.event_bus_arn #=> String
|
934
|
+
# resp.description #=> String
|
935
|
+
# resp.kms_key_identifier #=> String
|
936
|
+
# resp.dead_letter_config.arn #=> String
|
854
937
|
#
|
855
938
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateEventBus AWS API Documentation
|
856
939
|
#
|
@@ -1090,8 +1173,8 @@ module Aws::EventBridge
|
|
1090
1173
|
|
1091
1174
|
# Delete an existing global endpoint. For more information about global
|
1092
1175
|
# endpoints, see [Making applications Regional-fault tolerant with
|
1093
|
-
# global endpoints and event replication][1] in the
|
1094
|
-
# User Guide
|
1176
|
+
# global endpoints and event replication][1] in the <i> <i>Amazon
|
1177
|
+
# EventBridge User Guide</i> </i>.
|
1095
1178
|
#
|
1096
1179
|
#
|
1097
1180
|
#
|
@@ -1403,7 +1486,7 @@ module Aws::EventBridge
|
|
1403
1486
|
# Get the information about an existing global endpoint. For more
|
1404
1487
|
# information about global endpoints, see [Making applications
|
1405
1488
|
# Regional-fault tolerant with global endpoints and event
|
1406
|
-
# replication][1] in the
|
1489
|
+
# replication][1] in the <i> <i>Amazon EventBridge User Guide</i> </i>.
|
1407
1490
|
#
|
1408
1491
|
#
|
1409
1492
|
#
|
@@ -1492,7 +1575,12 @@ module Aws::EventBridge
|
|
1492
1575
|
#
|
1493
1576
|
# * {Types::DescribeEventBusResponse#name #name} => String
|
1494
1577
|
# * {Types::DescribeEventBusResponse#arn #arn} => String
|
1578
|
+
# * {Types::DescribeEventBusResponse#description #description} => String
|
1579
|
+
# * {Types::DescribeEventBusResponse#kms_key_identifier #kms_key_identifier} => String
|
1580
|
+
# * {Types::DescribeEventBusResponse#dead_letter_config #dead_letter_config} => Types::DeadLetterConfig
|
1495
1581
|
# * {Types::DescribeEventBusResponse#policy #policy} => String
|
1582
|
+
# * {Types::DescribeEventBusResponse#creation_time #creation_time} => Time
|
1583
|
+
# * {Types::DescribeEventBusResponse#last_modified_time #last_modified_time} => Time
|
1496
1584
|
#
|
1497
1585
|
# @example Request syntax with placeholder values
|
1498
1586
|
#
|
@@ -1504,7 +1592,12 @@ module Aws::EventBridge
|
|
1504
1592
|
#
|
1505
1593
|
# resp.name #=> String
|
1506
1594
|
# resp.arn #=> String
|
1595
|
+
# resp.description #=> String
|
1596
|
+
# resp.kms_key_identifier #=> String
|
1597
|
+
# resp.dead_letter_config.arn #=> String
|
1507
1598
|
# resp.policy #=> String
|
1599
|
+
# resp.creation_time #=> Time
|
1600
|
+
# resp.last_modified_time #=> Time
|
1508
1601
|
#
|
1509
1602
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeEventBus AWS API Documentation
|
1510
1603
|
#
|
@@ -1942,7 +2035,7 @@ module Aws::EventBridge
|
|
1942
2035
|
# List the global endpoints associated with this account. For more
|
1943
2036
|
# information about global endpoints, see [Making applications
|
1944
2037
|
# Regional-fault tolerant with global endpoints and event
|
1945
|
-
# replication][1] in the
|
2038
|
+
# replication][1] in the <i> <i>Amazon EventBridge User Guide</i> </i>.
|
1946
2039
|
#
|
1947
2040
|
#
|
1948
2041
|
#
|
@@ -2045,7 +2138,10 @@ module Aws::EventBridge
|
|
2045
2138
|
# resp.event_buses #=> Array
|
2046
2139
|
# resp.event_buses[0].name #=> String
|
2047
2140
|
# resp.event_buses[0].arn #=> String
|
2141
|
+
# resp.event_buses[0].description #=> String
|
2048
2142
|
# resp.event_buses[0].policy #=> String
|
2143
|
+
# resp.event_buses[0].creation_time #=> Time
|
2144
|
+
# resp.event_buses[0].last_modified_time #=> Time
|
2049
2145
|
# resp.next_token #=> String
|
2050
2146
|
#
|
2051
2147
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListEventBuses AWS API Documentation
|
@@ -2526,8 +2622,8 @@ module Aws::EventBridge
|
|
2526
2622
|
# The maximum size for a PutEvents event entry is 256 KB. Entry size is
|
2527
2623
|
# calculated including the event and any necessary characters and keys
|
2528
2624
|
# of the JSON representation of the event. To learn more, see
|
2529
|
-
# [Calculating PutEvents event entry size][1] in the
|
2530
|
-
# User Guide
|
2625
|
+
# [Calculating PutEvents event entry size][1] in the <i> <i>Amazon
|
2626
|
+
# EventBridge User Guide</i> </i>
|
2531
2627
|
#
|
2532
2628
|
# PutEvents accepts the data in JSON format. For the JSON number
|
2533
2629
|
# (integer) data type, the constraints are: a minimum value of
|
@@ -2834,14 +2930,47 @@ module Aws::EventBridge
|
|
2834
2930
|
#
|
2835
2931
|
# @option params [String] :event_pattern
|
2836
2932
|
# The event pattern. For more information, see [Amazon EventBridge event
|
2837
|
-
# patterns][1] in the
|
2933
|
+
# patterns][1] in the <i> <i>Amazon EventBridge User Guide</i> </i>.
|
2838
2934
|
#
|
2839
2935
|
#
|
2840
2936
|
#
|
2841
2937
|
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html
|
2842
2938
|
#
|
2843
2939
|
# @option params [String] :state
|
2844
|
-
#
|
2940
|
+
# The state of the rule.
|
2941
|
+
#
|
2942
|
+
# Valid values include:
|
2943
|
+
#
|
2944
|
+
# * `DISABLED`: The rule is disabled. EventBridge does not match any
|
2945
|
+
# events against the rule.
|
2946
|
+
#
|
2947
|
+
# * `ENABLED`: The rule is enabled. EventBridge matches events against
|
2948
|
+
# the rule, *except* for Amazon Web Services management events
|
2949
|
+
# delivered through CloudTrail.
|
2950
|
+
#
|
2951
|
+
# * `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS`: The rule is enabled
|
2952
|
+
# for all events, including Amazon Web Services management events
|
2953
|
+
# delivered through CloudTrail.
|
2954
|
+
#
|
2955
|
+
# Management events provide visibility into management operations that
|
2956
|
+
# are performed on resources in your Amazon Web Services account.
|
2957
|
+
# These are also known as control plane operations. For more
|
2958
|
+
# information, see [Logging management events][1] in the *CloudTrail
|
2959
|
+
# User Guide*, and [Filtering management events from Amazon Web
|
2960
|
+
# Services services][2] in the <i> <i>Amazon EventBridge User
|
2961
|
+
# Guide</i> </i>.
|
2962
|
+
#
|
2963
|
+
# This value is only valid for rules on the [default][3] event bus or
|
2964
|
+
# [custom event buses][4]. It does not apply to [partner event
|
2965
|
+
# buses][5].
|
2966
|
+
#
|
2967
|
+
#
|
2968
|
+
#
|
2969
|
+
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html#logging-management-events
|
2970
|
+
# [2]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html#eb-service-event-cloudtrail
|
2971
|
+
# [3]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is-how-it-works-concepts.html#eb-bus-concepts-buses
|
2972
|
+
# [4]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-event-bus.html
|
2973
|
+
# [5]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-saas.html
|
2845
2974
|
#
|
2846
2975
|
# @option params [String] :description
|
2847
2976
|
# A description of the rule.
|
@@ -2911,7 +3040,8 @@ module Aws::EventBridge
|
|
2911
3040
|
# </note>
|
2912
3041
|
#
|
2913
3042
|
# For a list of services you can configure as targets for events, see
|
2914
|
-
# [EventBridge targets][1] in the
|
3043
|
+
# [EventBridge targets][1] in the <i> <i>Amazon EventBridge User
|
3044
|
+
# Guide</i> </i>.
|
2915
3045
|
#
|
2916
3046
|
# Creating rules with built-in targets is supported only in the Amazon
|
2917
3047
|
# Web Services Management Console. The built-in targets are:
|
@@ -2941,7 +3071,7 @@ module Aws::EventBridge
|
|
2941
3071
|
# you specify in the `RoleARN` argument in `PutTargets`.
|
2942
3072
|
#
|
2943
3073
|
# For more information, see [Authentication and Access Control][2] in
|
2944
|
-
# the
|
3074
|
+
# the <i> <i>Amazon EventBridge User Guide</i> </i>.
|
2945
3075
|
#
|
2946
3076
|
# If another Amazon Web Services account is in the same region and has
|
2947
3077
|
# granted you permission (using `PutPermission`), you can send events to
|
@@ -3407,7 +3537,7 @@ module Aws::EventBridge
|
|
3407
3537
|
#
|
3408
3538
|
# @option params [required, String] :event_pattern
|
3409
3539
|
# The event pattern. For more information, see [Events and Event
|
3410
|
-
# Patterns][1] in the
|
3540
|
+
# Patterns][1] in the <i> <i>Amazon EventBridge User Guide</i> </i>.
|
3411
3541
|
#
|
3412
3542
|
#
|
3413
3543
|
#
|
@@ -3702,8 +3832,8 @@ module Aws::EventBridge
|
|
3702
3832
|
|
3703
3833
|
# Update an existing endpoint. For more information about global
|
3704
3834
|
# endpoints, see [Making applications Regional-fault tolerant with
|
3705
|
-
# global endpoints and event replication][1] in the
|
3706
|
-
# User Guide
|
3835
|
+
# global endpoints and event replication][1] in the <i> <i>Amazon
|
3836
|
+
# EventBridge User Guide</i> </i>.
|
3707
3837
|
#
|
3708
3838
|
#
|
3709
3839
|
#
|
@@ -3789,6 +3919,95 @@ module Aws::EventBridge
|
|
3789
3919
|
req.send_request(options)
|
3790
3920
|
end
|
3791
3921
|
|
3922
|
+
# Updates the specified event bus.
|
3923
|
+
#
|
3924
|
+
# @option params [String] :name
|
3925
|
+
# The name of the event bus.
|
3926
|
+
#
|
3927
|
+
# @option params [String] :kms_key_identifier
|
3928
|
+
# The identifier of the KMS customer managed key for EventBridge to use,
|
3929
|
+
# if you choose to use a customer managed key to encrypt events on this
|
3930
|
+
# event bus. The identifier can be the key Amazon Resource Name (ARN),
|
3931
|
+
# KeyId, key alias, or key alias ARN.
|
3932
|
+
#
|
3933
|
+
# If you do not specify a customer managed key identifier, EventBridge
|
3934
|
+
# uses an Amazon Web Services owned key to encrypt events on the event
|
3935
|
+
# bus.
|
3936
|
+
#
|
3937
|
+
# For more information, see [Managing keys][1] in the *Key Management
|
3938
|
+
# Service Developer Guide*.
|
3939
|
+
#
|
3940
|
+
# <note markdown="1"> Archives and schema discovery are not supported for event buses
|
3941
|
+
# encrypted using a customer managed key. EventBridge returns an error
|
3942
|
+
# if:
|
3943
|
+
#
|
3944
|
+
# * You call ` CreateArchive ` on an event bus set to use a customer
|
3945
|
+
# managed key for encryption.
|
3946
|
+
#
|
3947
|
+
# * You call ` CreateDiscoverer ` on an event bus set to use a customer
|
3948
|
+
# managed key for encryption.
|
3949
|
+
#
|
3950
|
+
# * You call ` UpdatedEventBus ` to set a customer managed key on an
|
3951
|
+
# event bus with an archives or schema discovery enabled.
|
3952
|
+
#
|
3953
|
+
# To enable archives or schema discovery on an event bus, choose to use
|
3954
|
+
# an Amazon Web Services owned key. For more information, see [Data
|
3955
|
+
# encryption in EventBridge][2] in the *Amazon EventBridge User Guide*.
|
3956
|
+
#
|
3957
|
+
# </note>
|
3958
|
+
#
|
3959
|
+
#
|
3960
|
+
#
|
3961
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/getting-started.html
|
3962
|
+
# [2]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html
|
3963
|
+
#
|
3964
|
+
# @option params [String] :description
|
3965
|
+
# The event bus description.
|
3966
|
+
#
|
3967
|
+
# @option params [Types::DeadLetterConfig] :dead_letter_config
|
3968
|
+
# Configuration details of the Amazon SQS queue for EventBridge to use
|
3969
|
+
# as a dead-letter queue (DLQ).
|
3970
|
+
#
|
3971
|
+
# For more information, see [Event retry policy and using dead-letter
|
3972
|
+
# queues](eventbridge/latest/userguide/eb-rule-dlq.html) in the
|
3973
|
+
# *EventBridge User Guide*.
|
3974
|
+
#
|
3975
|
+
# @return [Types::UpdateEventBusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3976
|
+
#
|
3977
|
+
# * {Types::UpdateEventBusResponse#arn #arn} => String
|
3978
|
+
# * {Types::UpdateEventBusResponse#name #name} => String
|
3979
|
+
# * {Types::UpdateEventBusResponse#kms_key_identifier #kms_key_identifier} => String
|
3980
|
+
# * {Types::UpdateEventBusResponse#description #description} => String
|
3981
|
+
# * {Types::UpdateEventBusResponse#dead_letter_config #dead_letter_config} => Types::DeadLetterConfig
|
3982
|
+
#
|
3983
|
+
# @example Request syntax with placeholder values
|
3984
|
+
#
|
3985
|
+
# resp = client.update_event_bus({
|
3986
|
+
# name: "EventBusName",
|
3987
|
+
# kms_key_identifier: "KmsKeyIdentifier",
|
3988
|
+
# description: "EventBusDescription",
|
3989
|
+
# dead_letter_config: {
|
3990
|
+
# arn: "ResourceArn",
|
3991
|
+
# },
|
3992
|
+
# })
|
3993
|
+
#
|
3994
|
+
# @example Response structure
|
3995
|
+
#
|
3996
|
+
# resp.arn #=> String
|
3997
|
+
# resp.name #=> String
|
3998
|
+
# resp.kms_key_identifier #=> String
|
3999
|
+
# resp.description #=> String
|
4000
|
+
# resp.dead_letter_config.arn #=> String
|
4001
|
+
#
|
4002
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateEventBus AWS API Documentation
|
4003
|
+
#
|
4004
|
+
# @overload update_event_bus(params = {})
|
4005
|
+
# @param [Hash] params ({})
|
4006
|
+
def update_event_bus(params = {}, options = {})
|
4007
|
+
req = build_request(:update_event_bus, params)
|
4008
|
+
req.send_request(options)
|
4009
|
+
end
|
4010
|
+
|
3792
4011
|
# @!endgroup
|
3793
4012
|
|
3794
4013
|
# @param params ({})
|
@@ -3802,7 +4021,7 @@ module Aws::EventBridge
|
|
3802
4021
|
params: params,
|
3803
4022
|
config: config)
|
3804
4023
|
context[:gem_name] = 'aws-sdk-eventbridge'
|
3805
|
-
context[:gem_version] = '1.
|
4024
|
+
context[:gem_version] = '1.59.0'
|
3806
4025
|
Seahorse::Client::Request.new(handlers, context)
|
3807
4026
|
end
|
3808
4027
|
|
@@ -141,6 +141,7 @@ module Aws::EventBridge
|
|
141
141
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
142
142
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
143
143
|
EventBus = Shapes::StructureShape.new(name: 'EventBus')
|
144
|
+
EventBusDescription = Shapes::StringShape.new(name: 'EventBusDescription')
|
144
145
|
EventBusList = Shapes::ListShape.new(name: 'EventBusList')
|
145
146
|
EventBusName = Shapes::StringShape.new(name: 'EventBusName')
|
146
147
|
EventBusNameOrArn = Shapes::StringShape.new(name: 'EventBusNameOrArn')
|
@@ -173,6 +174,7 @@ module Aws::EventBridge
|
|
173
174
|
InvalidEventPatternException = Shapes::StructureShape.new(name: 'InvalidEventPatternException')
|
174
175
|
InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
|
175
176
|
KinesisParameters = Shapes::StructureShape.new(name: 'KinesisParameters')
|
177
|
+
KmsKeyIdentifier = Shapes::StringShape.new(name: 'KmsKeyIdentifier')
|
176
178
|
LaunchType = Shapes::StringShape.new(name: 'LaunchType')
|
177
179
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
178
180
|
LimitMax100 = Shapes::IntegerShape.new(name: 'LimitMax100')
|
@@ -351,6 +353,8 @@ module Aws::EventBridge
|
|
351
353
|
UpdateConnectionResponse = Shapes::StructureShape.new(name: 'UpdateConnectionResponse')
|
352
354
|
UpdateEndpointRequest = Shapes::StructureShape.new(name: 'UpdateEndpointRequest')
|
353
355
|
UpdateEndpointResponse = Shapes::StructureShape.new(name: 'UpdateEndpointResponse')
|
356
|
+
UpdateEventBusRequest = Shapes::StructureShape.new(name: 'UpdateEventBusRequest')
|
357
|
+
UpdateEventBusResponse = Shapes::StructureShape.new(name: 'UpdateEventBusResponse')
|
354
358
|
|
355
359
|
ActivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
|
356
360
|
ActivateEventSourceRequest.struct_class = Types::ActivateEventSourceRequest
|
@@ -563,10 +567,16 @@ module Aws::EventBridge
|
|
563
567
|
|
564
568
|
CreateEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
|
565
569
|
CreateEventBusRequest.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, location_name: "EventSourceName"))
|
570
|
+
CreateEventBusRequest.add_member(:description, Shapes::ShapeRef.new(shape: EventBusDescription, location_name: "Description"))
|
571
|
+
CreateEventBusRequest.add_member(:kms_key_identifier, Shapes::ShapeRef.new(shape: KmsKeyIdentifier, location_name: "KmsKeyIdentifier"))
|
572
|
+
CreateEventBusRequest.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
566
573
|
CreateEventBusRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
567
574
|
CreateEventBusRequest.struct_class = Types::CreateEventBusRequest
|
568
575
|
|
569
576
|
CreateEventBusResponse.add_member(:event_bus_arn, Shapes::ShapeRef.new(shape: String, location_name: "EventBusArn"))
|
577
|
+
CreateEventBusResponse.add_member(:description, Shapes::ShapeRef.new(shape: EventBusDescription, location_name: "Description"))
|
578
|
+
CreateEventBusResponse.add_member(:kms_key_identifier, Shapes::ShapeRef.new(shape: KmsKeyIdentifier, location_name: "KmsKeyIdentifier"))
|
579
|
+
CreateEventBusResponse.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
570
580
|
CreateEventBusResponse.struct_class = Types::CreateEventBusResponse
|
571
581
|
|
572
582
|
CreatePartnerEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
|
@@ -700,7 +710,12 @@ module Aws::EventBridge
|
|
700
710
|
|
701
711
|
DescribeEventBusResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
702
712
|
DescribeEventBusResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
|
713
|
+
DescribeEventBusResponse.add_member(:description, Shapes::ShapeRef.new(shape: EventBusDescription, location_name: "Description"))
|
714
|
+
DescribeEventBusResponse.add_member(:kms_key_identifier, Shapes::ShapeRef.new(shape: KmsKeyIdentifier, location_name: "KmsKeyIdentifier"))
|
715
|
+
DescribeEventBusResponse.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
703
716
|
DescribeEventBusResponse.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
|
717
|
+
DescribeEventBusResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
718
|
+
DescribeEventBusResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
|
704
719
|
DescribeEventBusResponse.struct_class = Types::DescribeEventBusResponse
|
705
720
|
|
706
721
|
DescribeEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
|
@@ -802,7 +817,10 @@ module Aws::EventBridge
|
|
802
817
|
|
803
818
|
EventBus.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
804
819
|
EventBus.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
|
820
|
+
EventBus.add_member(:description, Shapes::ShapeRef.new(shape: EventBusDescription, location_name: "Description"))
|
805
821
|
EventBus.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
|
822
|
+
EventBus.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
823
|
+
EventBus.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
|
806
824
|
EventBus.struct_class = Types::EventBus
|
807
825
|
|
808
826
|
EventBusList.member = Shapes::ShapeRef.new(shape: EventBus)
|
@@ -1359,6 +1377,19 @@ module Aws::EventBridge
|
|
1359
1377
|
UpdateEndpointResponse.add_member(:state, Shapes::ShapeRef.new(shape: EndpointState, location_name: "State"))
|
1360
1378
|
UpdateEndpointResponse.struct_class = Types::UpdateEndpointResponse
|
1361
1379
|
|
1380
|
+
UpdateEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "Name"))
|
1381
|
+
UpdateEventBusRequest.add_member(:kms_key_identifier, Shapes::ShapeRef.new(shape: KmsKeyIdentifier, location_name: "KmsKeyIdentifier"))
|
1382
|
+
UpdateEventBusRequest.add_member(:description, Shapes::ShapeRef.new(shape: EventBusDescription, location_name: "Description"))
|
1383
|
+
UpdateEventBusRequest.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
1384
|
+
UpdateEventBusRequest.struct_class = Types::UpdateEventBusRequest
|
1385
|
+
|
1386
|
+
UpdateEventBusResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
|
1387
|
+
UpdateEventBusResponse.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "Name"))
|
1388
|
+
UpdateEventBusResponse.add_member(:kms_key_identifier, Shapes::ShapeRef.new(shape: KmsKeyIdentifier, location_name: "KmsKeyIdentifier"))
|
1389
|
+
UpdateEventBusResponse.add_member(:description, Shapes::ShapeRef.new(shape: EventBusDescription, location_name: "Description"))
|
1390
|
+
UpdateEventBusResponse.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
1391
|
+
UpdateEventBusResponse.struct_class = Types::UpdateEventBusResponse
|
1392
|
+
|
1362
1393
|
|
1363
1394
|
# @api private
|
1364
1395
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -1370,6 +1401,7 @@ module Aws::EventBridge
|
|
1370
1401
|
"endpointPrefix" => "events",
|
1371
1402
|
"jsonVersion" => "1.1",
|
1372
1403
|
"protocol" => "json",
|
1404
|
+
"protocols" => ["json"],
|
1373
1405
|
"serviceFullName" => "Amazon EventBridge",
|
1374
1406
|
"serviceId" => "EventBridge",
|
1375
1407
|
"signatureVersion" => "v4",
|
@@ -1999,6 +2031,18 @@ module Aws::EventBridge
|
|
1999
2031
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
2000
2032
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
2001
2033
|
end)
|
2034
|
+
|
2035
|
+
api.add_operation(:update_event_bus, Seahorse::Model::Operation.new.tap do |o|
|
2036
|
+
o.name = "UpdateEventBus"
|
2037
|
+
o.http_method = "POST"
|
2038
|
+
o.http_request_uri = "/"
|
2039
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateEventBusRequest)
|
2040
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateEventBusResponse)
|
2041
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2042
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
2043
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
2044
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
|
2045
|
+
end)
|
2002
2046
|
end
|
2003
2047
|
|
2004
2048
|
end
|
@@ -852,5 +852,20 @@ module Aws::EventBridge
|
|
852
852
|
end
|
853
853
|
end
|
854
854
|
|
855
|
+
class UpdateEventBus
|
856
|
+
def self.build(context)
|
857
|
+
unless context.config.regional_endpoint
|
858
|
+
endpoint = context.config.endpoint.to_s
|
859
|
+
end
|
860
|
+
Aws::EventBridge::EndpointParameters.new(
|
861
|
+
region: context.config.region,
|
862
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
863
|
+
use_fips: context.config.use_fips_endpoint,
|
864
|
+
endpoint: endpoint,
|
865
|
+
endpoint_id: nil,
|
866
|
+
)
|
867
|
+
end
|
868
|
+
end
|
869
|
+
|
855
870
|
end
|
856
871
|
end
|
@@ -170,6 +170,8 @@ module Aws::EventBridge
|
|
170
170
|
Aws::EventBridge::Endpoints::UpdateConnection.build(context)
|
171
171
|
when :update_endpoint
|
172
172
|
Aws::EventBridge::Endpoints::UpdateEndpoint.build(context)
|
173
|
+
when :update_event_bus
|
174
|
+
Aws::EventBridge::Endpoints::UpdateEventBus.build(context)
|
173
175
|
end
|
174
176
|
end
|
175
177
|
end
|
@@ -1053,6 +1053,58 @@ module Aws::EventBridge
|
|
1053
1053
|
# event source that the new event bus will be matched with.
|
1054
1054
|
# @return [String]
|
1055
1055
|
#
|
1056
|
+
# @!attribute [rw] description
|
1057
|
+
# The event bus description.
|
1058
|
+
# @return [String]
|
1059
|
+
#
|
1060
|
+
# @!attribute [rw] kms_key_identifier
|
1061
|
+
# The identifier of the KMS customer managed key for EventBridge to
|
1062
|
+
# use, if you choose to use a customer managed key to encrypt events
|
1063
|
+
# on this event bus. The identifier can be the key Amazon Resource
|
1064
|
+
# Name (ARN), KeyId, key alias, or key alias ARN.
|
1065
|
+
#
|
1066
|
+
# If you do not specify a customer managed key identifier, EventBridge
|
1067
|
+
# uses an Amazon Web Services owned key to encrypt events on the event
|
1068
|
+
# bus.
|
1069
|
+
#
|
1070
|
+
# For more information, see [Managing keys][1] in the *Key Management
|
1071
|
+
# Service Developer Guide*.
|
1072
|
+
#
|
1073
|
+
# <note markdown="1"> Archives and schema discovery are not supported for event buses
|
1074
|
+
# encrypted using a customer managed key. EventBridge returns an error
|
1075
|
+
# if:
|
1076
|
+
#
|
1077
|
+
# * You call ` CreateArchive ` on an event bus set to use a customer
|
1078
|
+
# managed key for encryption.
|
1079
|
+
#
|
1080
|
+
# * You call ` CreateDiscoverer ` on an event bus set to use a
|
1081
|
+
# customer managed key for encryption.
|
1082
|
+
#
|
1083
|
+
# * You call ` UpdatedEventBus ` to set a customer managed key on an
|
1084
|
+
# event bus with an archives or schema discovery enabled.
|
1085
|
+
#
|
1086
|
+
# To enable archives or schema discovery on an event bus, choose to
|
1087
|
+
# use an Amazon Web Services owned key. For more information, see
|
1088
|
+
# [Data encryption in EventBridge][2] in the *Amazon EventBridge User
|
1089
|
+
# Guide*.
|
1090
|
+
#
|
1091
|
+
# </note>
|
1092
|
+
#
|
1093
|
+
#
|
1094
|
+
#
|
1095
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/getting-started.html
|
1096
|
+
# [2]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html
|
1097
|
+
# @return [String]
|
1098
|
+
#
|
1099
|
+
# @!attribute [rw] dead_letter_config
|
1100
|
+
# Configuration details of the Amazon SQS queue for EventBridge to use
|
1101
|
+
# as a dead-letter queue (DLQ).
|
1102
|
+
#
|
1103
|
+
# For more information, see [Event retry policy and using dead-letter
|
1104
|
+
# queues](eventbridge/latest/userguide/eb-rule-dlq.html) in the
|
1105
|
+
# *EventBridge User Guide*.
|
1106
|
+
# @return [Types::DeadLetterConfig]
|
1107
|
+
#
|
1056
1108
|
# @!attribute [rw] tags
|
1057
1109
|
# Tags to associate with the event bus.
|
1058
1110
|
# @return [Array<Types::Tag>]
|
@@ -1062,6 +1114,9 @@ module Aws::EventBridge
|
|
1062
1114
|
class CreateEventBusRequest < Struct.new(
|
1063
1115
|
:name,
|
1064
1116
|
:event_source_name,
|
1117
|
+
:description,
|
1118
|
+
:kms_key_identifier,
|
1119
|
+
:dead_letter_config,
|
1065
1120
|
:tags)
|
1066
1121
|
SENSITIVE = []
|
1067
1122
|
include Aws::Structure
|
@@ -1071,10 +1126,38 @@ module Aws::EventBridge
|
|
1071
1126
|
# The ARN of the new event bus.
|
1072
1127
|
# @return [String]
|
1073
1128
|
#
|
1129
|
+
# @!attribute [rw] description
|
1130
|
+
# The event bus description.
|
1131
|
+
# @return [String]
|
1132
|
+
#
|
1133
|
+
# @!attribute [rw] kms_key_identifier
|
1134
|
+
# The identifier of the KMS customer managed key for EventBridge to
|
1135
|
+
# use to encrypt events on this event bus, if one has been specified.
|
1136
|
+
#
|
1137
|
+
# For more information, see [Data encryption in EventBridge][1] in the
|
1138
|
+
# *Amazon EventBridge User Guide*.
|
1139
|
+
#
|
1140
|
+
#
|
1141
|
+
#
|
1142
|
+
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html
|
1143
|
+
# @return [String]
|
1144
|
+
#
|
1145
|
+
# @!attribute [rw] dead_letter_config
|
1146
|
+
# Configuration details of the Amazon SQS queue for EventBridge to use
|
1147
|
+
# as a dead-letter queue (DLQ).
|
1148
|
+
#
|
1149
|
+
# For more information, see [Event retry policy and using dead-letter
|
1150
|
+
# queues](eventbridge/latest/userguide/eb-rule-dlq.html) in the
|
1151
|
+
# *EventBridge User Guide*.
|
1152
|
+
# @return [Types::DeadLetterConfig]
|
1153
|
+
#
|
1074
1154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateEventBusResponse AWS API Documentation
|
1075
1155
|
#
|
1076
1156
|
class CreateEventBusResponse < Struct.new(
|
1077
|
-
:event_bus_arn
|
1157
|
+
:event_bus_arn,
|
1158
|
+
:description,
|
1159
|
+
:kms_key_identifier,
|
1160
|
+
:dead_letter_config)
|
1078
1161
|
SENSITIVE = []
|
1079
1162
|
include Aws::Structure
|
1080
1163
|
end
|
@@ -1125,8 +1208,12 @@ module Aws::EventBridge
|
|
1125
1208
|
include Aws::Structure
|
1126
1209
|
end
|
1127
1210
|
|
1128
|
-
#
|
1129
|
-
# dead-letter queue
|
1211
|
+
# Configuration details of the Amazon SQS queue for EventBridge to use
|
1212
|
+
# as a dead-letter queue (DLQ).
|
1213
|
+
#
|
1214
|
+
# For more information, see [Event retry policy and using dead-letter
|
1215
|
+
# queues](eventbridge/latest/userguide/eb-rule-dlq.html) in the
|
1216
|
+
# *EventBridge User Guide*.
|
1130
1217
|
#
|
1131
1218
|
# @!attribute [rw] arn
|
1132
1219
|
# The ARN of the SQS queue specified as the target for the dead-letter
|
@@ -1684,17 +1771,55 @@ module Aws::EventBridge
|
|
1684
1771
|
# events to the current account.
|
1685
1772
|
# @return [String]
|
1686
1773
|
#
|
1774
|
+
# @!attribute [rw] description
|
1775
|
+
# The event bus description.
|
1776
|
+
# @return [String]
|
1777
|
+
#
|
1778
|
+
# @!attribute [rw] kms_key_identifier
|
1779
|
+
# The identifier of the KMS customer managed key for EventBridge to
|
1780
|
+
# use to encrypt events on this event bus, if one has been specified.
|
1781
|
+
#
|
1782
|
+
# For more information, see [Data encryption in EventBridge][1] in the
|
1783
|
+
# *Amazon EventBridge User Guide*.
|
1784
|
+
#
|
1785
|
+
#
|
1786
|
+
#
|
1787
|
+
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html
|
1788
|
+
# @return [String]
|
1789
|
+
#
|
1790
|
+
# @!attribute [rw] dead_letter_config
|
1791
|
+
# Configuration details of the Amazon SQS queue for EventBridge to use
|
1792
|
+
# as a dead-letter queue (DLQ).
|
1793
|
+
#
|
1794
|
+
# For more information, see [Event retry policy and using dead-letter
|
1795
|
+
# queues](eventbridge/latest/userguide/eb-rule-dlq.html) in the
|
1796
|
+
# *EventBridge User Guide*.
|
1797
|
+
# @return [Types::DeadLetterConfig]
|
1798
|
+
#
|
1687
1799
|
# @!attribute [rw] policy
|
1688
1800
|
# The policy that enables the external account to send events to your
|
1689
1801
|
# account.
|
1690
1802
|
# @return [String]
|
1691
1803
|
#
|
1804
|
+
# @!attribute [rw] creation_time
|
1805
|
+
# The time the event bus was created.
|
1806
|
+
# @return [Time]
|
1807
|
+
#
|
1808
|
+
# @!attribute [rw] last_modified_time
|
1809
|
+
# The time the event bus was last modified.
|
1810
|
+
# @return [Time]
|
1811
|
+
#
|
1692
1812
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeEventBusResponse AWS API Documentation
|
1693
1813
|
#
|
1694
1814
|
class DescribeEventBusResponse < Struct.new(
|
1695
1815
|
:name,
|
1696
1816
|
:arn,
|
1697
|
-
:
|
1817
|
+
:description,
|
1818
|
+
:kms_key_identifier,
|
1819
|
+
:dead_letter_config,
|
1820
|
+
:policy,
|
1821
|
+
:creation_time,
|
1822
|
+
:last_modified_time)
|
1698
1823
|
SENSITIVE = []
|
1699
1824
|
include Aws::Structure
|
1700
1825
|
end
|
@@ -1892,7 +2017,7 @@ module Aws::EventBridge
|
|
1892
2017
|
#
|
1893
2018
|
# @!attribute [rw] event_pattern
|
1894
2019
|
# The event pattern. For more information, see [Events and Event
|
1895
|
-
# Patterns][1] in the
|
2020
|
+
# Patterns][1] in the <i> <i>Amazon EventBridge User Guide</i> </i>.
|
1896
2021
|
#
|
1897
2022
|
#
|
1898
2023
|
#
|
@@ -2127,8 +2252,8 @@ module Aws::EventBridge
|
|
2127
2252
|
# A global endpoint used to improve your application's availability by
|
2128
2253
|
# making it regional-fault tolerant. For more information about global
|
2129
2254
|
# endpoints, see [Making applications Regional-fault tolerant with
|
2130
|
-
# global endpoints and event replication][1] in the
|
2131
|
-
# User Guide
|
2255
|
+
# global endpoints and event replication][1] in the <i> <i>Amazon
|
2256
|
+
# EventBridge User Guide</i> </i>.
|
2132
2257
|
#
|
2133
2258
|
#
|
2134
2259
|
#
|
@@ -2241,17 +2366,32 @@ module Aws::EventBridge
|
|
2241
2366
|
# The ARN of the event bus.
|
2242
2367
|
# @return [String]
|
2243
2368
|
#
|
2369
|
+
# @!attribute [rw] description
|
2370
|
+
# The event bus description.
|
2371
|
+
# @return [String]
|
2372
|
+
#
|
2244
2373
|
# @!attribute [rw] policy
|
2245
2374
|
# The permissions policy of the event bus, describing which other
|
2246
2375
|
# Amazon Web Services accounts can write events to this event bus.
|
2247
2376
|
# @return [String]
|
2248
2377
|
#
|
2378
|
+
# @!attribute [rw] creation_time
|
2379
|
+
# The time the event bus was created.
|
2380
|
+
# @return [Time]
|
2381
|
+
#
|
2382
|
+
# @!attribute [rw] last_modified_time
|
2383
|
+
# The time the event bus was last modified.
|
2384
|
+
# @return [Time]
|
2385
|
+
#
|
2249
2386
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/EventBus AWS API Documentation
|
2250
2387
|
#
|
2251
2388
|
class EventBus < Struct.new(
|
2252
2389
|
:name,
|
2253
2390
|
:arn,
|
2254
|
-
:
|
2391
|
+
:description,
|
2392
|
+
:policy,
|
2393
|
+
:creation_time,
|
2394
|
+
:last_modified_time)
|
2255
2395
|
SENSITIVE = []
|
2256
2396
|
include Aws::Structure
|
2257
2397
|
end
|
@@ -3721,7 +3861,8 @@ module Aws::EventBridge
|
|
3721
3861
|
#
|
3722
3862
|
# @!attribute [rw] event_pattern
|
3723
3863
|
# The event pattern. For more information, see [Amazon EventBridge
|
3724
|
-
# event patterns][1] in the
|
3864
|
+
# event patterns][1] in the <i> <i>Amazon EventBridge User Guide</i>
|
3865
|
+
# </i>.
|
3725
3866
|
#
|
3726
3867
|
#
|
3727
3868
|
#
|
@@ -3729,7 +3870,40 @@ module Aws::EventBridge
|
|
3729
3870
|
# @return [String]
|
3730
3871
|
#
|
3731
3872
|
# @!attribute [rw] state
|
3732
|
-
#
|
3873
|
+
# The state of the rule.
|
3874
|
+
#
|
3875
|
+
# Valid values include:
|
3876
|
+
#
|
3877
|
+
# * `DISABLED`: The rule is disabled. EventBridge does not match any
|
3878
|
+
# events against the rule.
|
3879
|
+
#
|
3880
|
+
# * `ENABLED`: The rule is enabled. EventBridge matches events against
|
3881
|
+
# the rule, *except* for Amazon Web Services management events
|
3882
|
+
# delivered through CloudTrail.
|
3883
|
+
#
|
3884
|
+
# * `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS`: The rule is
|
3885
|
+
# enabled for all events, including Amazon Web Services management
|
3886
|
+
# events delivered through CloudTrail.
|
3887
|
+
#
|
3888
|
+
# Management events provide visibility into management operations
|
3889
|
+
# that are performed on resources in your Amazon Web Services
|
3890
|
+
# account. These are also known as control plane operations. For
|
3891
|
+
# more information, see [Logging management events][1] in the
|
3892
|
+
# *CloudTrail User Guide*, and [Filtering management events from
|
3893
|
+
# Amazon Web Services services][2] in the <i> <i>Amazon EventBridge
|
3894
|
+
# User Guide</i> </i>.
|
3895
|
+
#
|
3896
|
+
# This value is only valid for rules on the [default][3] event bus
|
3897
|
+
# or [custom event buses][4]. It does not apply to [partner event
|
3898
|
+
# buses][5].
|
3899
|
+
#
|
3900
|
+
#
|
3901
|
+
#
|
3902
|
+
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html#logging-management-events
|
3903
|
+
# [2]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html#eb-service-event-cloudtrail
|
3904
|
+
# [3]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is-how-it-works-concepts.html#eb-bus-concepts-buses
|
3905
|
+
# [4]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-event-bus.html
|
3906
|
+
# [5]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-saas.html
|
3733
3907
|
# @return [String]
|
3734
3908
|
#
|
3735
3909
|
# @!attribute [rw] description
|
@@ -4162,7 +4336,8 @@ module Aws::EventBridge
|
|
4162
4336
|
#
|
4163
4337
|
# @!attribute [rw] event_pattern
|
4164
4338
|
# The event pattern of the rule. For more information, see [Events and
|
4165
|
-
# Event Patterns][1] in the
|
4339
|
+
# Event Patterns][1] in the <i> <i>Amazon EventBridge User Guide</i>
|
4340
|
+
# </i>.
|
4166
4341
|
#
|
4167
4342
|
#
|
4168
4343
|
#
|
@@ -4171,6 +4346,39 @@ module Aws::EventBridge
|
|
4171
4346
|
#
|
4172
4347
|
# @!attribute [rw] state
|
4173
4348
|
# The state of the rule.
|
4349
|
+
#
|
4350
|
+
# Valid values include:
|
4351
|
+
#
|
4352
|
+
# * `DISABLED`: The rule is disabled. EventBridge does not match any
|
4353
|
+
# events against the rule.
|
4354
|
+
#
|
4355
|
+
# * `ENABLED`: The rule is enabled. EventBridge matches events against
|
4356
|
+
# the rule, *except* for Amazon Web Services management events
|
4357
|
+
# delivered through CloudTrail.
|
4358
|
+
#
|
4359
|
+
# * `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS`: The rule is
|
4360
|
+
# enabled for all events, including Amazon Web Services management
|
4361
|
+
# events delivered through CloudTrail.
|
4362
|
+
#
|
4363
|
+
# Management events provide visibility into management operations
|
4364
|
+
# that are performed on resources in your Amazon Web Services
|
4365
|
+
# account. These are also known as control plane operations. For
|
4366
|
+
# more information, see [Logging management events][1] in the
|
4367
|
+
# *CloudTrail User Guide*, and [Filtering management events from
|
4368
|
+
# Amazon Web Services services][2] in the <i> <i>Amazon EventBridge
|
4369
|
+
# User Guide</i> </i>.
|
4370
|
+
#
|
4371
|
+
# This value is only valid for rules on the [default][3] event bus
|
4372
|
+
# or [custom event buses][4]. It does not apply to [partner event
|
4373
|
+
# buses][5].
|
4374
|
+
#
|
4375
|
+
#
|
4376
|
+
#
|
4377
|
+
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html#logging-management-events
|
4378
|
+
# [2]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html#eb-service-event-cloudtrail
|
4379
|
+
# [3]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is-how-it-works-concepts.html#eb-bus-concepts-buses
|
4380
|
+
# [4]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-event-bus.html
|
4381
|
+
# [5]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-saas.html
|
4174
4382
|
# @return [String]
|
4175
4383
|
#
|
4176
4384
|
# @!attribute [rw] description
|
@@ -4615,7 +4823,7 @@ module Aws::EventBridge
|
|
4615
4823
|
|
4616
4824
|
# @!attribute [rw] event_pattern
|
4617
4825
|
# The event pattern. For more information, see [Events and Event
|
4618
|
-
# Patterns][1] in the
|
4826
|
+
# Patterns][1] in the <i> <i>Amazon EventBridge User Guide</i> </i>.
|
4619
4827
|
#
|
4620
4828
|
#
|
4621
4829
|
#
|
@@ -5087,5 +5295,117 @@ module Aws::EventBridge
|
|
5087
5295
|
include Aws::Structure
|
5088
5296
|
end
|
5089
5297
|
|
5298
|
+
# @!attribute [rw] name
|
5299
|
+
# The name of the event bus.
|
5300
|
+
# @return [String]
|
5301
|
+
#
|
5302
|
+
# @!attribute [rw] kms_key_identifier
|
5303
|
+
# The identifier of the KMS customer managed key for EventBridge to
|
5304
|
+
# use, if you choose to use a customer managed key to encrypt events
|
5305
|
+
# on this event bus. The identifier can be the key Amazon Resource
|
5306
|
+
# Name (ARN), KeyId, key alias, or key alias ARN.
|
5307
|
+
#
|
5308
|
+
# If you do not specify a customer managed key identifier, EventBridge
|
5309
|
+
# uses an Amazon Web Services owned key to encrypt events on the event
|
5310
|
+
# bus.
|
5311
|
+
#
|
5312
|
+
# For more information, see [Managing keys][1] in the *Key Management
|
5313
|
+
# Service Developer Guide*.
|
5314
|
+
#
|
5315
|
+
# <note markdown="1"> Archives and schema discovery are not supported for event buses
|
5316
|
+
# encrypted using a customer managed key. EventBridge returns an error
|
5317
|
+
# if:
|
5318
|
+
#
|
5319
|
+
# * You call ` CreateArchive ` on an event bus set to use a customer
|
5320
|
+
# managed key for encryption.
|
5321
|
+
#
|
5322
|
+
# * You call ` CreateDiscoverer ` on an event bus set to use a
|
5323
|
+
# customer managed key for encryption.
|
5324
|
+
#
|
5325
|
+
# * You call ` UpdatedEventBus ` to set a customer managed key on an
|
5326
|
+
# event bus with an archives or schema discovery enabled.
|
5327
|
+
#
|
5328
|
+
# To enable archives or schema discovery on an event bus, choose to
|
5329
|
+
# use an Amazon Web Services owned key. For more information, see
|
5330
|
+
# [Data encryption in EventBridge][2] in the *Amazon EventBridge User
|
5331
|
+
# Guide*.
|
5332
|
+
#
|
5333
|
+
# </note>
|
5334
|
+
#
|
5335
|
+
#
|
5336
|
+
#
|
5337
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/getting-started.html
|
5338
|
+
# [2]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html
|
5339
|
+
# @return [String]
|
5340
|
+
#
|
5341
|
+
# @!attribute [rw] description
|
5342
|
+
# The event bus description.
|
5343
|
+
# @return [String]
|
5344
|
+
#
|
5345
|
+
# @!attribute [rw] dead_letter_config
|
5346
|
+
# Configuration details of the Amazon SQS queue for EventBridge to use
|
5347
|
+
# as a dead-letter queue (DLQ).
|
5348
|
+
#
|
5349
|
+
# For more information, see [Event retry policy and using dead-letter
|
5350
|
+
# queues](eventbridge/latest/userguide/eb-rule-dlq.html) in the
|
5351
|
+
# *EventBridge User Guide*.
|
5352
|
+
# @return [Types::DeadLetterConfig]
|
5353
|
+
#
|
5354
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateEventBusRequest AWS API Documentation
|
5355
|
+
#
|
5356
|
+
class UpdateEventBusRequest < Struct.new(
|
5357
|
+
:name,
|
5358
|
+
:kms_key_identifier,
|
5359
|
+
:description,
|
5360
|
+
:dead_letter_config)
|
5361
|
+
SENSITIVE = []
|
5362
|
+
include Aws::Structure
|
5363
|
+
end
|
5364
|
+
|
5365
|
+
# @!attribute [rw] arn
|
5366
|
+
# The event bus Amazon Resource Name (ARN).
|
5367
|
+
# @return [String]
|
5368
|
+
#
|
5369
|
+
# @!attribute [rw] name
|
5370
|
+
# The event bus name.
|
5371
|
+
# @return [String]
|
5372
|
+
#
|
5373
|
+
# @!attribute [rw] kms_key_identifier
|
5374
|
+
# The identifier of the KMS customer managed key for EventBridge to
|
5375
|
+
# use to encrypt events on this event bus, if one has been specified.
|
5376
|
+
#
|
5377
|
+
# For more information, see [Data encryption in EventBridge][1] in the
|
5378
|
+
# *Amazon EventBridge User Guide*.
|
5379
|
+
#
|
5380
|
+
#
|
5381
|
+
#
|
5382
|
+
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html
|
5383
|
+
# @return [String]
|
5384
|
+
#
|
5385
|
+
# @!attribute [rw] description
|
5386
|
+
# The event bus description.
|
5387
|
+
# @return [String]
|
5388
|
+
#
|
5389
|
+
# @!attribute [rw] dead_letter_config
|
5390
|
+
# Configuration details of the Amazon SQS queue for EventBridge to use
|
5391
|
+
# as a dead-letter queue (DLQ).
|
5392
|
+
#
|
5393
|
+
# For more information, see [Event retry policy and using dead-letter
|
5394
|
+
# queues](eventbridge/latest/userguide/eb-rule-dlq.html) in the
|
5395
|
+
# *EventBridge User Guide*.
|
5396
|
+
# @return [Types::DeadLetterConfig]
|
5397
|
+
#
|
5398
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateEventBusResponse AWS API Documentation
|
5399
|
+
#
|
5400
|
+
class UpdateEventBusResponse < Struct.new(
|
5401
|
+
:arn,
|
5402
|
+
:name,
|
5403
|
+
:kms_key_identifier,
|
5404
|
+
:description,
|
5405
|
+
:dead_letter_config)
|
5406
|
+
SENSITIVE = []
|
5407
|
+
include Aws::Structure
|
5408
|
+
end
|
5409
|
+
|
5090
5410
|
end
|
5091
5411
|
end
|
data/lib/aws-sdk-eventbridge.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -244,11 +244,19 @@ module Aws
|
|
244
244
|
interface _CreateEventBusResponseSuccess
|
245
245
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateEventBusResponse]
|
246
246
|
def event_bus_arn: () -> ::String
|
247
|
+
def description: () -> ::String
|
248
|
+
def kms_key_identifier: () -> ::String
|
249
|
+
def dead_letter_config: () -> Types::DeadLetterConfig
|
247
250
|
end
|
248
251
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridge/Client.html#create_event_bus-instance_method
|
249
252
|
def create_event_bus: (
|
250
253
|
name: ::String,
|
251
254
|
?event_source_name: ::String,
|
255
|
+
?description: ::String,
|
256
|
+
?kms_key_identifier: ::String,
|
257
|
+
?dead_letter_config: {
|
258
|
+
arn: ::String?
|
259
|
+
},
|
252
260
|
?tags: Array[
|
253
261
|
{
|
254
262
|
key: ::String,
|
@@ -437,7 +445,12 @@ module Aws
|
|
437
445
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEventBusResponse]
|
438
446
|
def name: () -> ::String
|
439
447
|
def arn: () -> ::String
|
448
|
+
def description: () -> ::String
|
449
|
+
def kms_key_identifier: () -> ::String
|
450
|
+
def dead_letter_config: () -> Types::DeadLetterConfig
|
440
451
|
def policy: () -> ::String
|
452
|
+
def creation_time: () -> ::Time
|
453
|
+
def last_modified_time: () -> ::Time
|
441
454
|
end
|
442
455
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridge/Client.html#describe_event_bus-instance_method
|
443
456
|
def describe_event_bus: (
|
@@ -1134,6 +1147,25 @@ module Aws
|
|
1134
1147
|
?role_arn: ::String
|
1135
1148
|
) -> _UpdateEndpointResponseSuccess
|
1136
1149
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEndpointResponseSuccess
|
1150
|
+
|
1151
|
+
interface _UpdateEventBusResponseSuccess
|
1152
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEventBusResponse]
|
1153
|
+
def arn: () -> ::String
|
1154
|
+
def name: () -> ::String
|
1155
|
+
def kms_key_identifier: () -> ::String
|
1156
|
+
def description: () -> ::String
|
1157
|
+
def dead_letter_config: () -> Types::DeadLetterConfig
|
1158
|
+
end
|
1159
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridge/Client.html#update_event_bus-instance_method
|
1160
|
+
def update_event_bus: (
|
1161
|
+
?name: ::String,
|
1162
|
+
?kms_key_identifier: ::String,
|
1163
|
+
?description: ::String,
|
1164
|
+
?dead_letter_config: {
|
1165
|
+
arn: ::String?
|
1166
|
+
}
|
1167
|
+
) -> _UpdateEventBusResponseSuccess
|
1168
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventBusResponseSuccess
|
1137
1169
|
end
|
1138
1170
|
end
|
1139
1171
|
end
|
data/sig/types.rbs
CHANGED
@@ -277,12 +277,18 @@ module Aws::EventBridge
|
|
277
277
|
class CreateEventBusRequest
|
278
278
|
attr_accessor name: ::String
|
279
279
|
attr_accessor event_source_name: ::String
|
280
|
+
attr_accessor description: ::String
|
281
|
+
attr_accessor kms_key_identifier: ::String
|
282
|
+
attr_accessor dead_letter_config: Types::DeadLetterConfig
|
280
283
|
attr_accessor tags: ::Array[Types::Tag]
|
281
284
|
SENSITIVE: []
|
282
285
|
end
|
283
286
|
|
284
287
|
class CreateEventBusResponse
|
285
288
|
attr_accessor event_bus_arn: ::String
|
289
|
+
attr_accessor description: ::String
|
290
|
+
attr_accessor kms_key_identifier: ::String
|
291
|
+
attr_accessor dead_letter_config: Types::DeadLetterConfig
|
286
292
|
SENSITIVE: []
|
287
293
|
end
|
288
294
|
|
@@ -467,7 +473,12 @@ module Aws::EventBridge
|
|
467
473
|
class DescribeEventBusResponse
|
468
474
|
attr_accessor name: ::String
|
469
475
|
attr_accessor arn: ::String
|
476
|
+
attr_accessor description: ::String
|
477
|
+
attr_accessor kms_key_identifier: ::String
|
478
|
+
attr_accessor dead_letter_config: Types::DeadLetterConfig
|
470
479
|
attr_accessor policy: ::String
|
480
|
+
attr_accessor creation_time: ::Time
|
481
|
+
attr_accessor last_modified_time: ::Time
|
471
482
|
SENSITIVE: []
|
472
483
|
end
|
473
484
|
|
@@ -593,7 +604,10 @@ module Aws::EventBridge
|
|
593
604
|
class EventBus
|
594
605
|
attr_accessor name: ::String
|
595
606
|
attr_accessor arn: ::String
|
607
|
+
attr_accessor description: ::String
|
596
608
|
attr_accessor policy: ::String
|
609
|
+
attr_accessor creation_time: ::Time
|
610
|
+
attr_accessor last_modified_time: ::Time
|
597
611
|
SENSITIVE: []
|
598
612
|
end
|
599
613
|
|
@@ -1277,5 +1291,22 @@ module Aws::EventBridge
|
|
1277
1291
|
attr_accessor state: ("ACTIVE" | "CREATING" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
1278
1292
|
SENSITIVE: []
|
1279
1293
|
end
|
1294
|
+
|
1295
|
+
class UpdateEventBusRequest
|
1296
|
+
attr_accessor name: ::String
|
1297
|
+
attr_accessor kms_key_identifier: ::String
|
1298
|
+
attr_accessor description: ::String
|
1299
|
+
attr_accessor dead_letter_config: Types::DeadLetterConfig
|
1300
|
+
SENSITIVE: []
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
class UpdateEventBusResponse
|
1304
|
+
attr_accessor arn: ::String
|
1305
|
+
attr_accessor name: ::String
|
1306
|
+
attr_accessor kms_key_identifier: ::String
|
1307
|
+
attr_accessor description: ::String
|
1308
|
+
attr_accessor dead_letter_config: Types::DeadLetterConfig
|
1309
|
+
SENSITIVE: []
|
1310
|
+
end
|
1280
1311
|
end
|
1281
1312
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-eventbridge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.59.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-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|