aws-sdk-eventbridgev2 1.12.0 → 1.13.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.
@@ -500,9 +500,9 @@ module Aws::EventBridgeV2
500
500
  # Name of an event bus. The first character must be alphanumeric; the
501
501
  # remaining characters may also include '.', '-', and '\_'. The
502
502
  # grammar matches the name segment of EventBusArn
503
- # (event-busv2/<name>/<id>), so every valid name can be represented in
504
- # the bus's ARN. The same type is used everywhere a bus name
505
- # appears.</p> </id></name>
503
+ # (event-busv2/&lt;name&gt;/&lt;id&gt;), so every valid name can be
504
+ # represented in the bus's ARN. The same type is used everywhere a bus
505
+ # name appears.
506
506
  #
507
507
  # @option params [String] :description
508
508
  # Free-text description. Used by every resource type that has one: event
@@ -575,16 +575,18 @@ module Aws::EventBridgeV2
575
575
  end
576
576
 
577
577
  # Creates an EventSource, which forwards events from an origin (an AWS
578
- # service or another account) onto an event bus. The bus must be ACTIVE.
579
- # Retries carrying the same ClientToken are idempotent.
578
+ # service, a partner, or a third-party webhook provider) to an event
579
+ # bus. The event bus must be in the ACTIVE state. This operation is
580
+ # idempotent: retries that use the same ClientToken return the same
581
+ # result.
580
582
  #
581
583
  # @option params [required, String] :name
582
584
  # EventSource name. First character alphanumeric; the rest may add
583
585
  # '.', '-', '\_'. Names may not begin with the reserved "aws."
584
586
  # prefix. The grammar matches the ARN local-name segment in
585
- # EventSourceArn (event-sourcev2/<type>/<name>/<id>), mirroring
586
- # EventBusName, so a name the ARN cannot represent cannot be
587
- # created.</p> </id></name></type>
587
+ # EventSourceArn (event-sourcev2/&lt;type&gt;/&lt;name&gt;/&lt;id&gt;),
588
+ # mirroring EventBusName, so a name the ARN cannot represent cannot be
589
+ # created.
588
590
  #
589
591
  # @option params [required, String] :event_bus_arn
590
592
  # The Amazon Resource Name (ARN) that uniquely identifies an event bus.
@@ -614,6 +616,7 @@ module Aws::EventBridgeV2
614
616
  # * {Types::CreateEventSourceResponse#name #name} => String
615
617
  # * {Types::CreateEventSourceResponse#event_bus_arn #event_bus_arn} => String
616
618
  # * {Types::CreateEventSourceResponse#state #state} => String
619
+ # * {Types::CreateEventSourceResponse#event_source_details #event_source_details} => Types::EventSourceDetails
617
620
  # * {Types::CreateEventSourceResponse#creation_time #creation_time} => Time
618
621
  #
619
622
  # @example Request syntax with placeholder values
@@ -637,6 +640,42 @@ module Aws::EventBridgeV2
637
640
  # arn: "DeadLetterQueueArn",
638
641
  # },
639
642
  # },
643
+ # webhook_events_configuration: {
644
+ # auth_configuration: { # required
645
+ # static_token_auth_configuration: {
646
+ # token_http_header: "WebhookHeaderName", # required
647
+ # secret_value: "WebhookSecretValue",
648
+ # },
649
+ # basic_http_auth_configuration: {
650
+ # username: "WebhookUsername",
651
+ # password: "WebhookSecretValue",
652
+ # },
653
+ # hmac_auth_configuration: {
654
+ # algorithm: "SHA256", # required, accepts SHA256, SHA1
655
+ # encoding: "HEX", # required, accepts HEX, BASE64
656
+ # signature_http_header: "WebhookHeaderName", # required
657
+ # signature_prefix: "WebhookSignaturePrefix",
658
+ # delimiter: "WebhookDelimiter",
659
+ # timestamp_http_header: "WebhookHeaderName",
660
+ # timestamp_prefix: "WebhookTimestampPrefix",
661
+ # timestamp_tolerance_in_seconds: 1,
662
+ # message_id_http_header: "WebhookHeaderName",
663
+ # signed_message_composition: "BODY", # required, accepts BODY, TIMESTAMP_DOT_BODY, MESSAGE_ID_DOT_TIMESTAMP_DOT_BODY
664
+ # secret_value: "WebhookSecretValue",
665
+ # secret_encoding: "RAW", # accepts RAW, BASE64
666
+ # },
667
+ # },
668
+ # kms_key_identifier: "KmsKeyIdentifier",
669
+ # role_arn: "RoleArn", # required
670
+ # metadata_http_headers: ["WebhookMetadataHttpHeaderName"],
671
+ # deduplication_configuration: {
672
+ # deduplication_type: "CONTENT_BASED", # required, accepts CONTENT_BASED
673
+ # },
674
+ # log_configuration: {
675
+ # level: "OFF", # accepts OFF, ERROR, INFO
676
+ # include_payload: "FULL", # accepts FULL, ON_ERROR_ONLY
677
+ # },
678
+ # },
640
679
  # },
641
680
  # description: "Description",
642
681
  # tags: {
@@ -651,6 +690,8 @@ module Aws::EventBridgeV2
651
690
  # resp.name #=> String
652
691
  # resp.event_bus_arn #=> String
653
692
  # resp.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
693
+ # resp.event_source_details.webhook_details.webhook_url #=> String
694
+ # resp.event_source_details.webhook_details.secret_arn #=> String
654
695
  # resp.creation_time #=> Time
655
696
  #
656
697
  # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/CreateEventSource AWS API Documentation
@@ -664,7 +705,10 @@ module Aws::EventBridgeV2
664
705
 
665
706
  # Creates a subscriber on an event bus, which delivers matching events
666
707
  # to the configured target. The bus must be ACTIVE. Retries carrying the
667
- # same ClientToken are idempotent.
708
+ # same ClientToken are idempotent. A subscriber that targets an Amazon
709
+ # MSK cluster provisions its connectivity asynchronously after this call
710
+ # returns and begins delivering when its ConnectivityState reaches
711
+ # ACTIVE (see the MskSubscriberActive waiter).
668
712
  #
669
713
  # @option params [required, String] :name
670
714
  # Name of a subscriber. The first character must be alphanumeric; the
@@ -707,9 +751,7 @@ module Aws::EventBridgeV2
707
751
  # Batching configuration for a subscriber.
708
752
  #
709
753
  # @option params [Types::Transformer] :transformer
710
- # Not applicable to universal (aws-sdk) targets, whose input
711
- # transformation is UniversalTargetParameters.Input; a Transformer on
712
- # such a target is rejected.
754
+ # Transformer configuration for a subscriber.
713
755
  #
714
756
  # @option params [Types::RetryPolicy] :retry_policy
715
757
  # Retry policy for a subscriber.
@@ -748,6 +790,7 @@ module Aws::EventBridgeV2
748
790
  # * {Types::CreateSubscriberResponse#point_in_time_configuration #point_in_time_configuration} => Types::PointInTimeConfiguration
749
791
  # * {Types::CreateSubscriberResponse#state #state} => String
750
792
  # * {Types::CreateSubscriberResponse#creation_time #creation_time} => Time
793
+ # * {Types::CreateSubscriberResponse#subscriber_details #subscriber_details} => Types::SubscriberDetails
751
794
  #
752
795
  # @example Request syntax with placeholder values
753
796
  #
@@ -831,6 +874,20 @@ module Aws::EventBridgeV2
831
874
  # deduplication_type: "CONTENT_BASED", # required, accepts CONTENT_BASED
832
875
  # },
833
876
  # },
877
+ # msk_parameters: {
878
+ # topic_name: "MskTopicName", # required
879
+ # compression: "NONE", # accepts NONE, GZIP, SNAPPY, LZ4, ZSTD
880
+ # acks: "ALL", # accepts ALL, LEADER
881
+ # partition_key: "MskParametersPartitionKeyString",
882
+ # headers: [
883
+ # {
884
+ # key: "MskHeaderKeyString", # required
885
+ # value: "MskHeaderValueString",
886
+ # },
887
+ # ],
888
+ # client_id: "MskClientId",
889
+ # connectivity: "PUBLIC", # required, accepts PUBLIC, PRIVATE
890
+ # },
834
891
  # target_arn: "TargetResourceArn", # required
835
892
  # },
836
893
  # description: "Description",
@@ -891,6 +948,9 @@ module Aws::EventBridgeV2
891
948
  # resp.point_in_time_configuration.end_point #=> Time
892
949
  # resp.state #=> String, one of "RUNNING", "STOPPED"
893
950
  # resp.creation_time #=> Time
951
+ # resp.subscriber_details.msk_details.connectivity_state #=> String, one of "PROVISIONING", "PROVISION_FAILED", "ACTIVE"
952
+ # resp.subscriber_details.msk_details.state_reason #=> String
953
+ # resp.subscriber_details.msk_details.vpc_connection_arn #=> String
894
954
  #
895
955
  # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/CreateSubscriber AWS API Documentation
896
956
  #
@@ -928,11 +988,11 @@ module Aws::EventBridgeV2
928
988
  # Deletes an EventSource. Forwarding from its origin stops.
929
989
  #
930
990
  # @option params [required, String] :event_source_arn
931
- # EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment
932
- # is set by the service (aws.service for AWS service events, aws.partner
933
- # for partner events) and is not part of the resource's name. The id
934
- # segment is a 25-character identifier generated by the service.</p>
935
- # </id></name></type>
991
+ # EventSource ARN: event-sourcev2/&lt;type&gt;/&lt;name&gt;/&lt;id&gt;.
992
+ # The type segment is set by the service (aws.service for AWS service
993
+ # events, aws.partner for partner events, webhook for webhook events)
994
+ # and is not part of the resource's name. The id segment is a
995
+ # 25-character identifier generated by the service.
936
996
  #
937
997
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
938
998
  #
@@ -959,11 +1019,12 @@ module Aws::EventBridgeV2
959
1019
  # @option params [String] :policy_name
960
1020
  # Which named policy to delete. Defaults to "default" when omitted (a
961
1021
  # delete AWS Resource Access Manager makes on the owner's behalf
962
- # resolves to "AWS\_RAM" instead). The two writers are exclusive in both
963
- # directions — only Resource Access Manager can delete "AWS\_RAM", and
964
- # only the bus owner can delete "default" — so naming the other party's
965
- # policy fails with AccessDeniedException. A well-formed name that is
966
- # neither of the two fails with InvalidInputException.
1022
+ # resolves to "AWS\_RAM" instead). The two writers are exclusive in
1023
+ # both directions — only Resource Access Manager can delete
1024
+ # "AWS\_RAM", and only the bus owner can delete "default" — so
1025
+ # naming the other party's policy fails with AccessDeniedException. A
1026
+ # well-formed name that is neither of the two fails with
1027
+ # InvalidInputException.
967
1028
  #
968
1029
  # @option params [String] :expected_revision_id
969
1030
  # The delete succeeds only if the named policy's current revision ID
@@ -1077,11 +1138,11 @@ module Aws::EventBridgeV2
1077
1138
  # Returns the full configuration and lifecycle state of an EventSource.
1078
1139
  #
1079
1140
  # @option params [required, String] :event_source_arn
1080
- # EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment
1081
- # is set by the service (aws.service for AWS service events, aws.partner
1082
- # for partner events) and is not part of the resource's name. The id
1083
- # segment is a 25-character identifier generated by the service.</p>
1084
- # </id></name></type>
1141
+ # EventSource ARN: event-sourcev2/&lt;type&gt;/&lt;name&gt;/&lt;id&gt;.
1142
+ # The type segment is set by the service (aws.service for AWS service
1143
+ # events, aws.partner for partner events, webhook for webhook events)
1144
+ # and is not part of the resource's name. The id segment is a
1145
+ # 25-character identifier generated by the service.
1085
1146
  #
1086
1147
  # @return [Types::DescribeEventSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1087
1148
  #
@@ -1092,6 +1153,7 @@ module Aws::EventBridgeV2
1092
1153
  # * {Types::DescribeEventSourceResponse#description #description} => String
1093
1154
  # * {Types::DescribeEventSourceResponse#state #state} => String
1094
1155
  # * {Types::DescribeEventSourceResponse#revoked #revoked} => Boolean
1156
+ # * {Types::DescribeEventSourceResponse#event_source_details #event_source_details} => Types::EventSourceDetails
1095
1157
  # * {Types::DescribeEventSourceResponse#creation_time #creation_time} => Time
1096
1158
  # * {Types::DescribeEventSourceResponse#last_modified_time #last_modified_time} => Time
1097
1159
  #
@@ -1113,9 +1175,34 @@ module Aws::EventBridgeV2
1113
1175
  # resp.configuration.partner_events_configuration.pattern #=> String
1114
1176
  # resp.configuration.partner_events_configuration.partner_bus_kms_key_identifier #=> String
1115
1177
  # resp.configuration.partner_events_configuration.on_failure_configuration.arn #=> String
1178
+ # resp.configuration.webhook_events_configuration.auth_configuration.static_token_auth_configuration.token_http_header #=> String
1179
+ # resp.configuration.webhook_events_configuration.auth_configuration.static_token_auth_configuration.secret_value #=> String
1180
+ # resp.configuration.webhook_events_configuration.auth_configuration.basic_http_auth_configuration.username #=> String
1181
+ # resp.configuration.webhook_events_configuration.auth_configuration.basic_http_auth_configuration.password #=> String
1182
+ # resp.configuration.webhook_events_configuration.auth_configuration.hmac_auth_configuration.algorithm #=> String, one of "SHA256", "SHA1"
1183
+ # resp.configuration.webhook_events_configuration.auth_configuration.hmac_auth_configuration.encoding #=> String, one of "HEX", "BASE64"
1184
+ # resp.configuration.webhook_events_configuration.auth_configuration.hmac_auth_configuration.signature_http_header #=> String
1185
+ # resp.configuration.webhook_events_configuration.auth_configuration.hmac_auth_configuration.signature_prefix #=> String
1186
+ # resp.configuration.webhook_events_configuration.auth_configuration.hmac_auth_configuration.delimiter #=> String
1187
+ # resp.configuration.webhook_events_configuration.auth_configuration.hmac_auth_configuration.timestamp_http_header #=> String
1188
+ # resp.configuration.webhook_events_configuration.auth_configuration.hmac_auth_configuration.timestamp_prefix #=> String
1189
+ # resp.configuration.webhook_events_configuration.auth_configuration.hmac_auth_configuration.timestamp_tolerance_in_seconds #=> Integer
1190
+ # resp.configuration.webhook_events_configuration.auth_configuration.hmac_auth_configuration.message_id_http_header #=> String
1191
+ # resp.configuration.webhook_events_configuration.auth_configuration.hmac_auth_configuration.signed_message_composition #=> String, one of "BODY", "TIMESTAMP_DOT_BODY", "MESSAGE_ID_DOT_TIMESTAMP_DOT_BODY"
1192
+ # resp.configuration.webhook_events_configuration.auth_configuration.hmac_auth_configuration.secret_value #=> String
1193
+ # resp.configuration.webhook_events_configuration.auth_configuration.hmac_auth_configuration.secret_encoding #=> String, one of "RAW", "BASE64"
1194
+ # resp.configuration.webhook_events_configuration.kms_key_identifier #=> String
1195
+ # resp.configuration.webhook_events_configuration.role_arn #=> String
1196
+ # resp.configuration.webhook_events_configuration.metadata_http_headers #=> Array
1197
+ # resp.configuration.webhook_events_configuration.metadata_http_headers[0] #=> String
1198
+ # resp.configuration.webhook_events_configuration.deduplication_configuration.deduplication_type #=> String, one of "CONTENT_BASED"
1199
+ # resp.configuration.webhook_events_configuration.log_configuration.level #=> String, one of "OFF", "ERROR", "INFO"
1200
+ # resp.configuration.webhook_events_configuration.log_configuration.include_payload #=> String, one of "FULL", "ON_ERROR_ONLY"
1116
1201
  # resp.description #=> String
1117
1202
  # resp.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
1118
1203
  # resp.revoked #=> Boolean
1204
+ # resp.event_source_details.webhook_details.webhook_url #=> String
1205
+ # resp.event_source_details.webhook_details.secret_arn #=> String
1119
1206
  # resp.creation_time #=> Time
1120
1207
  # resp.last_modified_time #=> Time
1121
1208
  #
@@ -1153,6 +1240,7 @@ module Aws::EventBridgeV2
1153
1240
  # * {Types::DescribeSubscriberResponse#revoked #revoked} => Boolean
1154
1241
  # * {Types::DescribeSubscriberResponse#creation_time #creation_time} => Time
1155
1242
  # * {Types::DescribeSubscriberResponse#last_modified_time #last_modified_time} => Time
1243
+ # * {Types::DescribeSubscriberResponse#subscriber_details #subscriber_details} => Types::SubscriberDetails
1156
1244
  #
1157
1245
  # @example Request syntax with placeholder values
1158
1246
  #
@@ -1210,6 +1298,15 @@ module Aws::EventBridgeV2
1210
1298
  # resp.invoke_configuration.event_bus_v2_parameters.system_metadata.event_group_id #=> String
1211
1299
  # resp.invoke_configuration.event_bus_v2_parameters.system_metadata.deduplication_id #=> String
1212
1300
  # resp.invoke_configuration.event_bus_v2_parameters.deduplication_configuration.deduplication_type #=> String, one of "CONTENT_BASED"
1301
+ # resp.invoke_configuration.msk_parameters.topic_name #=> String
1302
+ # resp.invoke_configuration.msk_parameters.compression #=> String, one of "NONE", "GZIP", "SNAPPY", "LZ4", "ZSTD"
1303
+ # resp.invoke_configuration.msk_parameters.acks #=> String, one of "ALL", "LEADER"
1304
+ # resp.invoke_configuration.msk_parameters.partition_key #=> String
1305
+ # resp.invoke_configuration.msk_parameters.headers #=> Array
1306
+ # resp.invoke_configuration.msk_parameters.headers[0].key #=> String
1307
+ # resp.invoke_configuration.msk_parameters.headers[0].value #=> String
1308
+ # resp.invoke_configuration.msk_parameters.client_id #=> String
1309
+ # resp.invoke_configuration.msk_parameters.connectivity #=> String, one of "PUBLIC", "PRIVATE"
1213
1310
  # resp.invoke_configuration.target_arn #=> String
1214
1311
  # resp.description #=> String
1215
1312
  # resp.filter_configuration.language #=> String, one of "EVENT_BRIDGE_PATTERN"
@@ -1235,6 +1332,14 @@ module Aws::EventBridgeV2
1235
1332
  # resp.revoked #=> Boolean
1236
1333
  # resp.creation_time #=> Time
1237
1334
  # resp.last_modified_time #=> Time
1335
+ # resp.subscriber_details.msk_details.connectivity_state #=> String, one of "PROVISIONING", "PROVISION_FAILED", "ACTIVE"
1336
+ # resp.subscriber_details.msk_details.state_reason #=> String
1337
+ # resp.subscriber_details.msk_details.vpc_connection_arn #=> String
1338
+ #
1339
+ #
1340
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
1341
+ #
1342
+ # * msk_subscriber_active
1238
1343
  #
1239
1344
  # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/DescribeSubscriber AWS API Documentation
1240
1345
  #
@@ -1253,10 +1358,10 @@ module Aws::EventBridgeV2
1253
1358
  # The Amazon Resource Name (ARN) that uniquely identifies an event bus.
1254
1359
  #
1255
1360
  # @option params [String] :policy_name
1256
- # Which named policy to read. Defaults to "default" when omitted (a read
1257
- # AWS Resource Access Manager makes on the owner's behalf resolves to
1258
- # "AWS\_RAM" instead). Unlike writing, neither name is reserved on a
1259
- # read: the bus owner can read both. There is no fallback between the
1361
+ # Which named policy to read. Defaults to "default" when omitted (a
1362
+ # read AWS Resource Access Manager makes on the owner's behalf resolves
1363
+ # to "AWS\_RAM" instead). Unlike writing, neither name is reserved on
1364
+ # a read: the bus owner can read both. There is no fallback between the
1260
1365
  # two, so a bus shared only through Resource Access Manager fails with
1261
1366
  # ResourceNotFoundException until "AWS\_RAM" is named explicitly. A
1262
1367
  # well-formed name that is neither of the two fails with
@@ -1302,9 +1407,9 @@ module Aws::EventBridgeV2
1302
1407
  # Name of an event bus. The first character must be alphanumeric; the
1303
1408
  # remaining characters may also include '.', '-', and '\_'. The
1304
1409
  # grammar matches the name segment of EventBusArn
1305
- # (event-busv2/<name>/<id>), so every valid name can be represented in
1306
- # the bus's ARN. The same type is used everywhere a bus name
1307
- # appears.</p> </id></name>
1410
+ # (event-busv2/&lt;name&gt;/&lt;id&gt;), so every valid name can be
1411
+ # represented in the bus's ARN. The same type is used everywhere a bus
1412
+ # name appears.
1308
1413
  #
1309
1414
  # @option params [String] :event_bus_account_id
1310
1415
  # AWS Account Id.
@@ -1365,9 +1470,9 @@ module Aws::EventBridgeV2
1365
1470
  # EventSource name. First character alphanumeric; the rest may add
1366
1471
  # '.', '-', '\_'. Names may not begin with the reserved "aws."
1367
1472
  # prefix. The grammar matches the ARN local-name segment in
1368
- # EventSourceArn (event-sourcev2/<type>/<name>/<id>), mirroring
1369
- # EventBusName, so a name the ARN cannot represent cannot be
1370
- # created.</p> </id></name></type>
1473
+ # EventSourceArn (event-sourcev2/&lt;type&gt;/&lt;name&gt;/&lt;id&gt;),
1474
+ # mirroring EventBusName, so a name the ARN cannot represent cannot be
1475
+ # created.
1371
1476
  #
1372
1477
  # @option params [String] :next_token
1373
1478
  # Opaque pagination token returned by a List operation. Pass it back in
@@ -1398,7 +1503,7 @@ module Aws::EventBridgeV2
1398
1503
  # resp.event_sources[0].event_source_arn #=> String
1399
1504
  # resp.event_sources[0].name #=> String
1400
1505
  # resp.event_sources[0].event_bus_arn #=> String
1401
- # resp.event_sources[0].type #=> String, one of "AWS_SERVICE_EVENTS", "PARTNER_EVENTS"
1506
+ # resp.event_sources[0].type #=> String, one of "AWS_SERVICE_EVENTS", "PARTNER_EVENTS", "WEBHOOK_EVENTS"
1402
1507
  # resp.event_sources[0].state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
1403
1508
  # resp.event_sources[0].revoked #=> Boolean
1404
1509
  # resp.event_sources[0].creation_time #=> Time
@@ -1551,6 +1656,12 @@ module Aws::EventBridgeV2
1551
1656
 
1552
1657
  # Publishes events to an event bus.
1553
1658
  #
1659
+ # The total size of all event entries in a request must not exceed 1 MB
1660
+ # (1,048,576 bytes). The limit applies to the request as a whole, not to
1661
+ # individual entries. If you exceed the limit, the request fails with
1662
+ # `InvalidInputException` and the service publishes none of the entries
1663
+ # in the request.
1664
+ #
1554
1665
  # @option params [required, String] :event_bus_arn
1555
1666
  # The Amazon Resource Name (ARN) that uniquely identifies an event bus.
1556
1667
  #
@@ -1609,6 +1720,15 @@ module Aws::EventBridgeV2
1609
1720
 
1610
1721
  # Publishes pre-shaped events to an event bus.
1611
1722
  #
1723
+ # The total size of all event entries in a request must not exceed 1 MB
1724
+ # (1,048,576 bytes), including the `Data` payload and the keys and
1725
+ # values of `Metadata` for each entry. The limit applies to the request
1726
+ # as a whole, not to individual entries.
1727
+ #
1728
+ # If you exceed the limit, the request fails with
1729
+ # `InvalidInputException`, and the service doesn't publish any of the
1730
+ # entries in the request.
1731
+ #
1612
1732
  # @option params [required, String] :event_bus_arn
1613
1733
  # The Amazon Resource Name (ARN) that uniquely identifies an event bus.
1614
1734
  #
@@ -1680,10 +1800,10 @@ module Aws::EventBridgeV2
1680
1800
  # Attaches a named resource policy to an event bus — the only resource
1681
1801
  # type that supports policies; other resource ARNs are rejected. Each
1682
1802
  # bus holds two named policies: "default" (customer-managed, full IAM
1683
- # policy language including Deny) and "AWS\_RAM" (written exclusively by
1684
- # AWS Resource Access Manager to reflect resource shares). Both policies
1685
- # are evaluated on cross-account authorization; an explicit Deny in
1686
- # either overrides an Allow in the other. Operations that omit
1803
+ # policy language including Deny) and "AWS\_RAM" (written exclusively
1804
+ # by AWS Resource Access Manager to reflect resource shares). Both
1805
+ # policies are evaluated on cross-account authorization; an explicit
1806
+ # Deny in either overrides an Allow in the other. Operations that omit
1687
1807
  # PolicyName target "default". A "default" policy that would grant
1688
1808
  # public access is rejected with PublicPolicyException and is not
1689
1809
  # attached; this check is always on and cannot be disabled.
@@ -1692,19 +1812,16 @@ module Aws::EventBridgeV2
1692
1812
  # The Amazon Resource Name (ARN) that uniquely identifies an event bus.
1693
1813
  #
1694
1814
  # @option params [required, String] :policy_document
1695
- # A resource policy document, as a JSON string. The "default" policy can
1696
- # be up to 20 KB (20,480 bytes of UTF-8) by default. This quota is
1697
- # adjustable in Service Quotas. A "default" policy that exceeds the
1698
- # quota is rejected with PolicyLengthExceededException. No policy
1699
- # document can exceed 389,120 bytes of UTF-8, regardless of the quota.
1815
+ # A resource policy document, as a JSON string. The maximum size is
1816
+ # 389,120 bytes of UTF-8; the byte limit is enforced by the service.
1700
1817
  #
1701
1818
  # @option params [String] :policy_name
1702
1819
  # Which named policy to write. Defaults to "default", the
1703
1820
  # customer-managed policy, when omitted (a write AWS Resource Access
1704
- # Manager makes on the owner's behalf resolves to "AWS\_RAM" instead).
1705
- # The two writers are exclusive in both directions — only Resource
1706
- # Access Manager can write "AWS\_RAM", and only the bus owner can write
1707
- # "default" — so naming the other party's policy fails with
1821
+ # Manager makes on the owner's behalf resolves to "AWS\_RAM"
1822
+ # instead). The two writers are exclusive in both directions — only
1823
+ # Resource Access Manager can write "AWS\_RAM", and only the bus owner
1824
+ # can write "default" — so naming the other party's policy fails with
1708
1825
  # AccessDeniedException. A well-formed name that is neither of the two
1709
1826
  # fails with InvalidInputException.
1710
1827
  #
@@ -1782,6 +1899,103 @@ module Aws::EventBridgeV2
1782
1899
  req.send_request(options)
1783
1900
  end
1784
1901
 
1902
+ # Sets a new credential on a webhook EventSource. If you supply
1903
+ # Credential, EventBridge uses that value. Otherwise, EventBridge
1904
+ # generates one. For HTTP Basic authentication, only the password
1905
+ # changes. The username does not change. EventBridge never returns the
1906
+ # credential. To read a generated value, call
1907
+ # secretsmanager:GetSecretValue on the secret that SecretArn identifies.
1908
+ #
1909
+ # You can rotate the credential of an EventSource in the ACTIVE,
1910
+ # UPDATING, or UPDATE\_FAILED state. For a revoked EventSource or an
1911
+ # EventSource in any other state, EventBridge returns
1912
+ # InvalidStateException. EventBridge also returns InvalidStateException
1913
+ # if the secret of the EventSource is scheduled for deletion or has been
1914
+ # deleted.
1915
+ #
1916
+ # If you rotate the credential of one EventSource too many times in 24
1917
+ # hours, EventBridge returns LimitExceededException. Retry later. The
1918
+ # limit becomes available again automatically.
1919
+ #
1920
+ # If AWS Secrets Manager throttles the call, EventBridge returns
1921
+ # ThrottlingException. Retry later.
1922
+ #
1923
+ # To use this operation, you must have the following permissions in your
1924
+ # IAM policy:
1925
+ #
1926
+ # * secretsmanager:PutSecretValue on the secret of the EventSource
1927
+ #
1928
+ # * secretsmanager:GetSecretValue on the secret of the EventSource, for
1929
+ # HTTP Basic authentication only
1930
+ #
1931
+ # * kms:GenerateDataKey and kms:Decrypt on the AWS KMS key that encrypts
1932
+ # the secret
1933
+ #
1934
+ # The resource policy of the secret must not deny the secretsmanager
1935
+ # actions.
1936
+ #
1937
+ # EventBridge accepts the new credential when this call returns. In rare
1938
+ # cases, the new credential takes up to 2 minutes to reach every
1939
+ # EventBridge endpoint.
1940
+ #
1941
+ # EventBridge also accepts the previous credential for 15 minutes after
1942
+ # the rotation. The window ends at the CreatedDate of the AWSCURRENT
1943
+ # secret version plus 15 minutes. Only the credential that the most
1944
+ # recent rotation replaced stays valid. If you rotate again within 15
1945
+ # minutes, the older credential stops working immediately.
1946
+ #
1947
+ # A retry with the same ClientToken within 8 hours returns the same
1948
+ # result and does not rotate again. A retry of a rotation that supplied
1949
+ # a value can arrive after a later rotation completed. In that case, the
1950
+ # retried value becomes the current credential, and the credential it
1951
+ # replaces does not stay valid.
1952
+ #
1953
+ # @option params [required, String] :event_source_arn
1954
+ # The ARN of the webhook EventSource.
1955
+ #
1956
+ # @option params [Types::WebhookCredential] :credential
1957
+ # The new credential. Set the member that matches the authentication
1958
+ # type of the EventSource. If you set a member that does not match the
1959
+ # authentication type, EventBridge returns InvalidInputException. If you
1960
+ # omit Credential, EventBridge generates a value.
1961
+ #
1962
+ # @option params [String] :client_token
1963
+ # Unique, case-sensitive identifier that ensures the idempotency of the
1964
+ # request. The SDK generates one automatically when the field is
1965
+ # omitted.
1966
+ #
1967
+ # **A suitable default value is auto-generated.** You should normally
1968
+ # not need to pass this option.**
1969
+ #
1970
+ # @return [Types::RotateWebhookCredentialsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1971
+ #
1972
+ # * {Types::RotateWebhookCredentialsResponse#secret_arn #secret_arn} => String
1973
+ #
1974
+ # @example Request syntax with placeholder values
1975
+ #
1976
+ # resp = client.rotate_webhook_credentials({
1977
+ # event_source_arn: "WebhookEventSourceArn", # required
1978
+ # credential: {
1979
+ # static_token_secret_value: "WebhookSecretValue",
1980
+ # basic_http_password: "WebhookSecretValue",
1981
+ # hmac_secret_value: "WebhookSecretValue",
1982
+ # },
1983
+ # client_token: "ClientToken",
1984
+ # })
1985
+ #
1986
+ # @example Response structure
1987
+ #
1988
+ # resp.secret_arn #=> String
1989
+ #
1990
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/RotateWebhookCredentials AWS API Documentation
1991
+ #
1992
+ # @overload rotate_webhook_credentials(params = {})
1993
+ # @param [Hash] params ({})
1994
+ def rotate_webhook_credentials(params = {}, options = {})
1995
+ req = build_request(:rotate_webhook_credentials, params)
1996
+ req.send_request(options)
1997
+ end
1998
+
1785
1999
  # Adds or replaces tags on an event bus, subscriber, or event source.
1786
2000
  #
1787
2001
  # @option params [required, String] :resource_arn
@@ -1904,11 +2118,11 @@ module Aws::EventBridgeV2
1904
2118
  # unchanged.
1905
2119
  #
1906
2120
  # @option params [required, String] :event_source_arn
1907
- # EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment
1908
- # is set by the service (aws.service for AWS service events, aws.partner
1909
- # for partner events) and is not part of the resource's name. The id
1910
- # segment is a 25-character identifier generated by the service.</p>
1911
- # </id></name></type>
2121
+ # EventSource ARN: event-sourcev2/&lt;type&gt;/&lt;name&gt;/&lt;id&gt;.
2122
+ # The type segment is set by the service (aws.service for AWS service
2123
+ # events, aws.partner for partner events, webhook for webhook events)
2124
+ # and is not part of the resource's name. The id segment is a
2125
+ # 25-character identifier generated by the service.
1912
2126
  #
1913
2127
  # @option params [Types::EventSourceConfiguration] :configuration
1914
2128
  # Discriminated EventSource configuration. Exactly one variant must be
@@ -1946,6 +2160,42 @@ module Aws::EventBridgeV2
1946
2160
  # arn: "DeadLetterQueueArn",
1947
2161
  # },
1948
2162
  # },
2163
+ # webhook_events_configuration: {
2164
+ # auth_configuration: { # required
2165
+ # static_token_auth_configuration: {
2166
+ # token_http_header: "WebhookHeaderName", # required
2167
+ # secret_value: "WebhookSecretValue",
2168
+ # },
2169
+ # basic_http_auth_configuration: {
2170
+ # username: "WebhookUsername",
2171
+ # password: "WebhookSecretValue",
2172
+ # },
2173
+ # hmac_auth_configuration: {
2174
+ # algorithm: "SHA256", # required, accepts SHA256, SHA1
2175
+ # encoding: "HEX", # required, accepts HEX, BASE64
2176
+ # signature_http_header: "WebhookHeaderName", # required
2177
+ # signature_prefix: "WebhookSignaturePrefix",
2178
+ # delimiter: "WebhookDelimiter",
2179
+ # timestamp_http_header: "WebhookHeaderName",
2180
+ # timestamp_prefix: "WebhookTimestampPrefix",
2181
+ # timestamp_tolerance_in_seconds: 1,
2182
+ # message_id_http_header: "WebhookHeaderName",
2183
+ # signed_message_composition: "BODY", # required, accepts BODY, TIMESTAMP_DOT_BODY, MESSAGE_ID_DOT_TIMESTAMP_DOT_BODY
2184
+ # secret_value: "WebhookSecretValue",
2185
+ # secret_encoding: "RAW", # accepts RAW, BASE64
2186
+ # },
2187
+ # },
2188
+ # kms_key_identifier: "KmsKeyIdentifier",
2189
+ # role_arn: "RoleArn", # required
2190
+ # metadata_http_headers: ["WebhookMetadataHttpHeaderName"],
2191
+ # deduplication_configuration: {
2192
+ # deduplication_type: "CONTENT_BASED", # required, accepts CONTENT_BASED
2193
+ # },
2194
+ # log_configuration: {
2195
+ # level: "OFF", # accepts OFF, ERROR, INFO
2196
+ # include_payload: "FULL", # accepts FULL, ON_ERROR_ONLY
2197
+ # },
2198
+ # },
1949
2199
  # },
1950
2200
  # description: "Description",
1951
2201
  # })
@@ -1968,7 +2218,10 @@ module Aws::EventBridgeV2
1968
2218
  end
1969
2219
 
1970
2220
  # Updates a subscriber. Fields omitted from the request are left
1971
- # unchanged.
2221
+ # unchanged. Changing an Amazon MSK subscriber's connectivity can
2222
+ # re-provision it; when it does, the subscriber resumes delivering once
2223
+ # its ConnectivityState returns to ACTIVE (see the MskSubscriberActive
2224
+ # waiter).
1972
2225
  #
1973
2226
  # @option params [required, String] :subscriber_arn
1974
2227
  # The Amazon Resource Name (ARN) that uniquely identifies a subscriber.
@@ -2007,9 +2260,7 @@ module Aws::EventBridgeV2
2007
2260
  # Batching configuration for a subscriber.
2008
2261
  #
2009
2262
  # @option params [Types::Transformer] :transformer
2010
- # Not applicable to universal (aws-sdk) targets, whose input
2011
- # transformation is UniversalTargetParameters.Input; a Transformer on
2012
- # such a target is rejected.
2263
+ # Transformer configuration for a subscriber.
2013
2264
  #
2014
2265
  # @option params [Types::RetryPolicy] :retry_policy
2015
2266
  # Retry policy for a subscriber.
@@ -2031,6 +2282,7 @@ module Aws::EventBridgeV2
2031
2282
  # * {Types::UpdateSubscriberResponse#point_in_time_configuration #point_in_time_configuration} => Types::PointInTimeConfiguration
2032
2283
  # * {Types::UpdateSubscriberResponse#state #state} => String
2033
2284
  # * {Types::UpdateSubscriberResponse#last_modified_time #last_modified_time} => Time
2285
+ # * {Types::UpdateSubscriberResponse#subscriber_details #subscriber_details} => Types::SubscriberDetails
2034
2286
  #
2035
2287
  # @example Request syntax with placeholder values
2036
2288
  #
@@ -2116,6 +2368,20 @@ module Aws::EventBridgeV2
2116
2368
  # deduplication_type: "CONTENT_BASED", # required, accepts CONTENT_BASED
2117
2369
  # },
2118
2370
  # },
2371
+ # msk_parameters: {
2372
+ # topic_name: "MskTopicName", # required
2373
+ # compression: "NONE", # accepts NONE, GZIP, SNAPPY, LZ4, ZSTD
2374
+ # acks: "ALL", # accepts ALL, LEADER
2375
+ # partition_key: "MskParametersPartitionKeyString",
2376
+ # headers: [
2377
+ # {
2378
+ # key: "MskHeaderKeyString", # required
2379
+ # value: "MskHeaderValueString",
2380
+ # },
2381
+ # ],
2382
+ # client_id: "MskClientId",
2383
+ # connectivity: "PUBLIC", # required, accepts PUBLIC, PRIVATE
2384
+ # },
2119
2385
  # },
2120
2386
  # filter_configuration: {
2121
2387
  # language: "EVENT_BRIDGE_PATTERN", # accepts EVENT_BRIDGE_PATTERN
@@ -2162,6 +2428,9 @@ module Aws::EventBridgeV2
2162
2428
  # resp.point_in_time_configuration.end_point #=> Time
2163
2429
  # resp.state #=> String, one of "RUNNING", "STOPPED"
2164
2430
  # resp.last_modified_time #=> Time
2431
+ # resp.subscriber_details.msk_details.connectivity_state #=> String, one of "PROVISIONING", "PROVISION_FAILED", "ACTIVE"
2432
+ # resp.subscriber_details.msk_details.state_reason #=> String
2433
+ # resp.subscriber_details.msk_details.vpc_connection_arn #=> String
2165
2434
  #
2166
2435
  # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/UpdateSubscriber AWS API Documentation
2167
2436
  #
@@ -2190,7 +2459,7 @@ module Aws::EventBridgeV2
2190
2459
  tracer: tracer
2191
2460
  )
2192
2461
  context[:gem_name] = 'aws-sdk-eventbridgev2'
2193
- context[:gem_version] = '1.12.0'
2462
+ context[:gem_version] = '1.13.0'
2194
2463
  Seahorse::Client::Request.new(handlers, context)
2195
2464
  end
2196
2465
 
@@ -2256,10 +2525,11 @@ module Aws::EventBridgeV2
2256
2525
  # The following table lists the valid waiter names, the operations they call,
2257
2526
  # and the default `:delay` and `:max_attempts` values.
2258
2527
  #
2259
- # | waiter_name | params | :delay | :max_attempts |
2260
- # | ----------------- | --------------------------- | -------- | ------------- |
2261
- # | event_bus_active | {Client#describe_event_bus} | 2 | 60 |
2262
- # | event_bus_deleted | {Client#describe_event_bus} | 2 | 60 |
2528
+ # | waiter_name | params | :delay | :max_attempts |
2529
+ # | --------------------- | ---------------------------- | -------- | ------------- |
2530
+ # | event_bus_active | {Client#describe_event_bus} | 2 | 60 |
2531
+ # | event_bus_deleted | {Client#describe_event_bus} | 2 | 60 |
2532
+ # | msk_subscriber_active | {Client#describe_subscriber} | 2 | 150 |
2263
2533
  #
2264
2534
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
2265
2535
  # because the waiter has entered a state that it will not transition
@@ -2311,7 +2581,8 @@ module Aws::EventBridgeV2
2311
2581
  def waiters
2312
2582
  {
2313
2583
  event_bus_active: Waiters::EventBusActive,
2314
- event_bus_deleted: Waiters::EventBusDeleted
2584
+ event_bus_deleted: Waiters::EventBusDeleted,
2585
+ msk_subscriber_active: Waiters::MskSubscriberActive
2315
2586
  }
2316
2587
  end
2317
2588