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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eventbridgev2/client.rb +337 -66
- data/lib/aws-sdk-eventbridgev2/client_api.rb +163 -0
- data/lib/aws-sdk-eventbridgev2/types.rb +749 -147
- data/lib/aws-sdk-eventbridgev2/waiters.rb +50 -4
- data/lib/aws-sdk-eventbridgev2.rb +1 -1
- data/sig/client.rbs +28 -1
- data/sig/params.rbs +58 -1
- data/sig/types.rbs +142 -3
- data/sig/waiters.rbs +10 -0
- metadata +1 -1
|
@@ -29,8 +29,8 @@ module Aws::EventBridgeV2
|
|
|
29
29
|
# account's default event bus.
|
|
30
30
|
#
|
|
31
31
|
# @!attribute [rw] aws_service
|
|
32
|
-
# A single AWS service source identifier, e.g. "aws.s3". Wildcards
|
|
33
|
-
# lists are rejected.
|
|
32
|
+
# A single AWS service source identifier, e.g. "aws.s3". Wildcards
|
|
33
|
+
# and lists are rejected.
|
|
34
34
|
# @return [String]
|
|
35
35
|
#
|
|
36
36
|
# @!attribute [rw] pattern
|
|
@@ -142,9 +142,9 @@ module Aws::EventBridgeV2
|
|
|
142
142
|
# Name of an event bus. The first character must be alphanumeric; the
|
|
143
143
|
# remaining characters may also include '.', '-', and '\_'. The
|
|
144
144
|
# grammar matches the name segment of EventBusArn
|
|
145
|
-
# (event-busv2
|
|
146
|
-
# the bus's ARN. The same type is used everywhere a
|
|
147
|
-
#
|
|
145
|
+
# (event-busv2/<name>/<id>), so every valid name can be
|
|
146
|
+
# represented in the bus's ARN. The same type is used everywhere a
|
|
147
|
+
# bus name appears.
|
|
148
148
|
# @return [String]
|
|
149
149
|
#
|
|
150
150
|
# @!attribute [rw] description
|
|
@@ -195,9 +195,9 @@ module Aws::EventBridgeV2
|
|
|
195
195
|
# Name of an event bus. The first character must be alphanumeric; the
|
|
196
196
|
# remaining characters may also include '.', '-', and '\_'. The
|
|
197
197
|
# grammar matches the name segment of EventBusArn
|
|
198
|
-
# (event-busv2
|
|
199
|
-
# the bus's ARN. The same type is used everywhere a
|
|
200
|
-
#
|
|
198
|
+
# (event-busv2/<name>/<id>), so every valid name can be
|
|
199
|
+
# represented in the bus's ARN. The same type is used everywhere a
|
|
200
|
+
# bus name appears.
|
|
201
201
|
# @return [String]
|
|
202
202
|
#
|
|
203
203
|
# @!attribute [rw] description
|
|
@@ -217,14 +217,20 @@ module Aws::EventBridgeV2
|
|
|
217
217
|
# Lifecycle state of an event bus.
|
|
218
218
|
#
|
|
219
219
|
# * CREATING: Bus creation is in progress.
|
|
220
|
+
#
|
|
220
221
|
# * CREATE\_FAILED: Bus creation failed; see StateReason. The bus
|
|
221
222
|
# cannot be recovered or recreated in place: delete it with
|
|
222
223
|
# DeleteEventBus, then create a new bus.
|
|
224
|
+
#
|
|
223
225
|
# * ACTIVE: Bus is fully operational and can accept events.
|
|
226
|
+
#
|
|
224
227
|
# * UPDATING: Bus update is in progress.
|
|
228
|
+
#
|
|
225
229
|
# * UPDATE\_FAILED: Bus update failed; the bus remains operational
|
|
226
230
|
# with its previous configuration.
|
|
231
|
+
#
|
|
227
232
|
# * DELETING: Bus deletion is actively in progress.
|
|
233
|
+
#
|
|
228
234
|
# * DELETE\_FAILED: Bus deletion failed; see StateReason. Retry
|
|
229
235
|
# DeleteEventBus after removing subscribers and event sources.
|
|
230
236
|
# @return [String]
|
|
@@ -262,9 +268,9 @@ module Aws::EventBridgeV2
|
|
|
262
268
|
# EventSource name. First character alphanumeric; the rest may add
|
|
263
269
|
# '.', '-', '\_'. Names may not begin with the reserved "aws."
|
|
264
270
|
# prefix. The grammar matches the ARN local-name segment in
|
|
265
|
-
# EventSourceArn
|
|
266
|
-
#
|
|
267
|
-
#
|
|
271
|
+
# EventSourceArn
|
|
272
|
+
# (event-sourcev2/<type>/<name>/<id>), mirroring
|
|
273
|
+
# EventBusName, so a name the ARN cannot represent cannot be created.
|
|
268
274
|
# @return [String]
|
|
269
275
|
#
|
|
270
276
|
# @!attribute [rw] event_bus_arn
|
|
@@ -309,20 +315,21 @@ module Aws::EventBridgeV2
|
|
|
309
315
|
end
|
|
310
316
|
|
|
311
317
|
# @!attribute [rw] event_source_arn
|
|
312
|
-
# EventSource ARN:
|
|
313
|
-
#
|
|
314
|
-
#
|
|
315
|
-
#
|
|
316
|
-
#
|
|
318
|
+
# EventSource ARN:
|
|
319
|
+
# event-sourcev2/<type>/<name>/<id>. The type
|
|
320
|
+
# segment is set by the service (aws.service for AWS service events,
|
|
321
|
+
# aws.partner for partner events, webhook for webhook events) and is
|
|
322
|
+
# not part of the resource's name. The id segment is a 25-character
|
|
323
|
+
# identifier generated by the service.
|
|
317
324
|
# @return [String]
|
|
318
325
|
#
|
|
319
326
|
# @!attribute [rw] name
|
|
320
327
|
# EventSource name. First character alphanumeric; the rest may add
|
|
321
328
|
# '.', '-', '\_'. Names may not begin with the reserved "aws."
|
|
322
329
|
# prefix. The grammar matches the ARN local-name segment in
|
|
323
|
-
# EventSourceArn
|
|
324
|
-
#
|
|
325
|
-
#
|
|
330
|
+
# EventSourceArn
|
|
331
|
+
# (event-sourcev2/<type>/<name>/<id>), mirroring
|
|
332
|
+
# EventBusName, so a name the ARN cannot represent cannot be created.
|
|
326
333
|
# @return [String]
|
|
327
334
|
#
|
|
328
335
|
# @!attribute [rw] event_bus_arn
|
|
@@ -335,6 +342,12 @@ module Aws::EventBridgeV2
|
|
|
335
342
|
# Revoked flag.
|
|
336
343
|
# @return [String]
|
|
337
344
|
#
|
|
345
|
+
# @!attribute [rw] event_source_details
|
|
346
|
+
# Values EventBridge generated for this EventSource type, such as a
|
|
347
|
+
# webhook's URL and the ARN of its secret. Absent for EventSource
|
|
348
|
+
# types that have no generated values.
|
|
349
|
+
# @return [Types::EventSourceDetails]
|
|
350
|
+
#
|
|
338
351
|
# @!attribute [rw] creation_time
|
|
339
352
|
# The time the EventSource was created.
|
|
340
353
|
# @return [Time]
|
|
@@ -346,6 +359,7 @@ module Aws::EventBridgeV2
|
|
|
346
359
|
:name,
|
|
347
360
|
:event_bus_arn,
|
|
348
361
|
:state,
|
|
362
|
+
:event_source_details,
|
|
349
363
|
:creation_time)
|
|
350
364
|
SENSITIVE = []
|
|
351
365
|
include Aws::Structure
|
|
@@ -402,9 +416,7 @@ module Aws::EventBridgeV2
|
|
|
402
416
|
# @return [Types::BatchConfiguration]
|
|
403
417
|
#
|
|
404
418
|
# @!attribute [rw] transformer
|
|
405
|
-
#
|
|
406
|
-
# transformation is UniversalTargetParameters.Input; a Transformer on
|
|
407
|
-
# such a target is rejected.
|
|
419
|
+
# Transformer configuration for a subscriber.
|
|
408
420
|
# @return [Types::Transformer]
|
|
409
421
|
#
|
|
410
422
|
# @!attribute [rw] retry_policy
|
|
@@ -423,8 +435,8 @@ module Aws::EventBridgeV2
|
|
|
423
435
|
# @!attribute [rw] state
|
|
424
436
|
# Customer-controlled run state of a subscriber, set on create or
|
|
425
437
|
# update. Distinct from the bus lifecycle vocabulary, where ACTIVE
|
|
426
|
-
# means "provisioned and healthy". Delivery requires State RUNNING
|
|
427
|
-
# a subscriber that is not revoked.
|
|
438
|
+
# means "provisioned and healthy". Delivery requires State RUNNING
|
|
439
|
+
# on a subscriber that is not revoked.
|
|
428
440
|
# @return [String]
|
|
429
441
|
#
|
|
430
442
|
# @!attribute [rw] tags
|
|
@@ -496,14 +508,21 @@ module Aws::EventBridgeV2
|
|
|
496
508
|
# @!attribute [rw] state
|
|
497
509
|
# Customer-controlled run state of a subscriber, set on create or
|
|
498
510
|
# update. Distinct from the bus lifecycle vocabulary, where ACTIVE
|
|
499
|
-
# means "provisioned and healthy". Delivery requires State RUNNING
|
|
500
|
-
# a subscriber that is not revoked.
|
|
511
|
+
# means "provisioned and healthy". Delivery requires State RUNNING
|
|
512
|
+
# on a subscriber that is not revoked.
|
|
501
513
|
# @return [String]
|
|
502
514
|
#
|
|
503
515
|
# @!attribute [rw] creation_time
|
|
504
516
|
# The time the subscriber was created.
|
|
505
517
|
# @return [Time]
|
|
506
518
|
#
|
|
519
|
+
# @!attribute [rw] subscriber_details
|
|
520
|
+
# Values EventBridge manages for a subscriber that depend on its
|
|
521
|
+
# target type. Only the member for the subscriber's target type is
|
|
522
|
+
# set. Returned in responses only; the customer never supplies these
|
|
523
|
+
# values.
|
|
524
|
+
# @return [Types::SubscriberDetails]
|
|
525
|
+
#
|
|
507
526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/CreateSubscriberResponse AWS API Documentation
|
|
508
527
|
#
|
|
509
528
|
class CreateSubscriberResponse < Struct.new(
|
|
@@ -514,7 +533,8 @@ module Aws::EventBridgeV2
|
|
|
514
533
|
:starting_position,
|
|
515
534
|
:point_in_time_configuration,
|
|
516
535
|
:state,
|
|
517
|
-
:creation_time
|
|
536
|
+
:creation_time,
|
|
537
|
+
:subscriber_details)
|
|
518
538
|
SENSITIVE = []
|
|
519
539
|
include Aws::Structure
|
|
520
540
|
end
|
|
@@ -554,11 +574,12 @@ module Aws::EventBridgeV2
|
|
|
554
574
|
class DeleteEventBusResponse < Aws::EmptyStructure; end
|
|
555
575
|
|
|
556
576
|
# @!attribute [rw] event_source_arn
|
|
557
|
-
# EventSource ARN:
|
|
558
|
-
#
|
|
559
|
-
#
|
|
560
|
-
#
|
|
561
|
-
#
|
|
577
|
+
# EventSource ARN:
|
|
578
|
+
# event-sourcev2/<type>/<name>/<id>. The type
|
|
579
|
+
# segment is set by the service (aws.service for AWS service events,
|
|
580
|
+
# aws.partner for partner events, webhook for webhook events) and is
|
|
581
|
+
# not part of the resource's name. The id segment is a 25-character
|
|
582
|
+
# identifier generated by the service.
|
|
562
583
|
# @return [String]
|
|
563
584
|
#
|
|
564
585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/DeleteEventSourceRequest AWS API Documentation
|
|
@@ -579,12 +600,12 @@ module Aws::EventBridgeV2
|
|
|
579
600
|
# @return [String]
|
|
580
601
|
#
|
|
581
602
|
# @!attribute [rw] policy_name
|
|
582
|
-
# Which named policy to delete. Defaults to "default" when omitted
|
|
583
|
-
# delete AWS Resource Access Manager makes on the owner's behalf
|
|
603
|
+
# Which named policy to delete. Defaults to "default" when omitted
|
|
604
|
+
# (a delete AWS Resource Access Manager makes on the owner's behalf
|
|
584
605
|
# resolves to "AWS\_RAM" instead). The two writers are exclusive in
|
|
585
606
|
# both directions — only Resource Access Manager can delete
|
|
586
|
-
# "AWS\_RAM", and only the bus owner can delete "default" — so
|
|
587
|
-
# the other party's policy fails with AccessDeniedException. A
|
|
607
|
+
# "AWS\_RAM", and only the bus owner can delete "default" — so
|
|
608
|
+
# naming the other party's policy fails with AccessDeniedException. A
|
|
588
609
|
# well-formed name that is neither of the two fails with
|
|
589
610
|
# InvalidInputException.
|
|
590
611
|
# @return [String]
|
|
@@ -592,8 +613,8 @@ module Aws::EventBridgeV2
|
|
|
592
613
|
# @!attribute [rw] expected_revision_id
|
|
593
614
|
# The delete succeeds only if the named policy's current revision ID
|
|
594
615
|
# matches this value; if it differs or the policy does not exist, the
|
|
595
|
-
# operation fails with ConflictException. The "NO\_POLICY" sentinel
|
|
596
|
-
# not valid here. When omitted, deleting an absent policy is an
|
|
616
|
+
# operation fails with ConflictException. The "NO\_POLICY" sentinel
|
|
617
|
+
# is not valid here. When omitted, deleting an absent policy is an
|
|
597
618
|
# idempotent success. Supplying this value makes the delete
|
|
598
619
|
# non-idempotent: once it succeeds the expected revision no longer
|
|
599
620
|
# exists, so retrying an unanswered request fails with
|
|
@@ -664,9 +685,9 @@ module Aws::EventBridgeV2
|
|
|
664
685
|
# Name of an event bus. The first character must be alphanumeric; the
|
|
665
686
|
# remaining characters may also include '.', '-', and '\_'. The
|
|
666
687
|
# grammar matches the name segment of EventBusArn
|
|
667
|
-
# (event-busv2
|
|
668
|
-
# the bus's ARN. The same type is used everywhere a
|
|
669
|
-
#
|
|
688
|
+
# (event-busv2/<name>/<id>), so every valid name can be
|
|
689
|
+
# represented in the bus's ARN. The same type is used everywhere a
|
|
690
|
+
# bus name appears.
|
|
670
691
|
# @return [String]
|
|
671
692
|
#
|
|
672
693
|
# @!attribute [rw] description
|
|
@@ -694,14 +715,20 @@ module Aws::EventBridgeV2
|
|
|
694
715
|
# Lifecycle state of an event bus.
|
|
695
716
|
#
|
|
696
717
|
# * CREATING: Bus creation is in progress.
|
|
718
|
+
#
|
|
697
719
|
# * CREATE\_FAILED: Bus creation failed; see StateReason. The bus
|
|
698
720
|
# cannot be recovered or recreated in place: delete it with
|
|
699
721
|
# DeleteEventBus, then create a new bus.
|
|
722
|
+
#
|
|
700
723
|
# * ACTIVE: Bus is fully operational and can accept events.
|
|
724
|
+
#
|
|
701
725
|
# * UPDATING: Bus update is in progress.
|
|
726
|
+
#
|
|
702
727
|
# * UPDATE\_FAILED: Bus update failed; the bus remains operational
|
|
703
728
|
# with its previous configuration.
|
|
729
|
+
#
|
|
704
730
|
# * DELETING: Bus deletion is actively in progress.
|
|
731
|
+
#
|
|
705
732
|
# * DELETE\_FAILED: Bus deletion failed; see StateReason. Retry
|
|
706
733
|
# DeleteEventBus after removing subscribers and event sources.
|
|
707
734
|
# @return [String]
|
|
@@ -733,11 +760,12 @@ module Aws::EventBridgeV2
|
|
|
733
760
|
end
|
|
734
761
|
|
|
735
762
|
# @!attribute [rw] event_source_arn
|
|
736
|
-
# EventSource ARN:
|
|
737
|
-
#
|
|
738
|
-
#
|
|
739
|
-
#
|
|
740
|
-
#
|
|
763
|
+
# EventSource ARN:
|
|
764
|
+
# event-sourcev2/<type>/<name>/<id>. The type
|
|
765
|
+
# segment is set by the service (aws.service for AWS service events,
|
|
766
|
+
# aws.partner for partner events, webhook for webhook events) and is
|
|
767
|
+
# not part of the resource's name. The id segment is a 25-character
|
|
768
|
+
# identifier generated by the service.
|
|
741
769
|
# @return [String]
|
|
742
770
|
#
|
|
743
771
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/DescribeEventSourceRequest AWS API Documentation
|
|
@@ -749,20 +777,21 @@ module Aws::EventBridgeV2
|
|
|
749
777
|
end
|
|
750
778
|
|
|
751
779
|
# @!attribute [rw] event_source_arn
|
|
752
|
-
# EventSource ARN:
|
|
753
|
-
#
|
|
754
|
-
#
|
|
755
|
-
#
|
|
756
|
-
#
|
|
780
|
+
# EventSource ARN:
|
|
781
|
+
# event-sourcev2/<type>/<name>/<id>. The type
|
|
782
|
+
# segment is set by the service (aws.service for AWS service events,
|
|
783
|
+
# aws.partner for partner events, webhook for webhook events) and is
|
|
784
|
+
# not part of the resource's name. The id segment is a 25-character
|
|
785
|
+
# identifier generated by the service.
|
|
757
786
|
# @return [String]
|
|
758
787
|
#
|
|
759
788
|
# @!attribute [rw] name
|
|
760
789
|
# EventSource name. First character alphanumeric; the rest may add
|
|
761
790
|
# '.', '-', '\_'. Names may not begin with the reserved "aws."
|
|
762
791
|
# prefix. The grammar matches the ARN local-name segment in
|
|
763
|
-
# EventSourceArn
|
|
764
|
-
#
|
|
765
|
-
#
|
|
792
|
+
# EventSourceArn
|
|
793
|
+
# (event-sourcev2/<type>/<name>/<id>), mirroring
|
|
794
|
+
# EventBusName, so a name the ARN cannot represent cannot be created.
|
|
766
795
|
# @return [String]
|
|
767
796
|
#
|
|
768
797
|
# @!attribute [rw] event_bus_arn
|
|
@@ -794,6 +823,12 @@ module Aws::EventBridgeV2
|
|
|
794
823
|
# EventSource can still be cleaned up.
|
|
795
824
|
# @return [Boolean]
|
|
796
825
|
#
|
|
826
|
+
# @!attribute [rw] event_source_details
|
|
827
|
+
# Values EventBridge generated for this EventSource type, such as a
|
|
828
|
+
# webhook's URL and the ARN of its secret. Absent for EventSource
|
|
829
|
+
# types that have no generated values.
|
|
830
|
+
# @return [Types::EventSourceDetails]
|
|
831
|
+
#
|
|
797
832
|
# @!attribute [rw] creation_time
|
|
798
833
|
# The time the EventSource was created.
|
|
799
834
|
# @return [Time]
|
|
@@ -812,6 +847,7 @@ module Aws::EventBridgeV2
|
|
|
812
847
|
:description,
|
|
813
848
|
:state,
|
|
814
849
|
:revoked,
|
|
850
|
+
:event_source_details,
|
|
815
851
|
:creation_time,
|
|
816
852
|
:last_modified_time)
|
|
817
853
|
SENSITIVE = []
|
|
@@ -887,8 +923,7 @@ module Aws::EventBridgeV2
|
|
|
887
923
|
# @return [Types::BatchConfiguration]
|
|
888
924
|
#
|
|
889
925
|
# @!attribute [rw] transformer
|
|
890
|
-
#
|
|
891
|
-
# is UniversalTargetParameters.Input.
|
|
926
|
+
# Transformer configuration for a subscriber.
|
|
892
927
|
# @return [Types::Transformer]
|
|
893
928
|
#
|
|
894
929
|
# @!attribute [rw] retry_policy
|
|
@@ -907,8 +942,8 @@ module Aws::EventBridgeV2
|
|
|
907
942
|
# @!attribute [rw] state
|
|
908
943
|
# Customer-controlled run state of a subscriber, set on create or
|
|
909
944
|
# update. Distinct from the bus lifecycle vocabulary, where ACTIVE
|
|
910
|
-
# means "provisioned and healthy". Delivery requires State RUNNING
|
|
911
|
-
# a subscriber that is not revoked.
|
|
945
|
+
# means "provisioned and healthy". Delivery requires State RUNNING
|
|
946
|
+
# on a subscriber that is not revoked.
|
|
912
947
|
# @return [String]
|
|
913
948
|
#
|
|
914
949
|
# @!attribute [rw] revoked
|
|
@@ -928,6 +963,13 @@ module Aws::EventBridgeV2
|
|
|
928
963
|
# The time the subscriber was last modified.
|
|
929
964
|
# @return [Time]
|
|
930
965
|
#
|
|
966
|
+
# @!attribute [rw] subscriber_details
|
|
967
|
+
# Values EventBridge manages for a subscriber that depend on its
|
|
968
|
+
# target type. Only the member for the subscriber's target type is
|
|
969
|
+
# set. Returned in responses only; the customer never supplies these
|
|
970
|
+
# values.
|
|
971
|
+
# @return [Types::SubscriberDetails]
|
|
972
|
+
#
|
|
931
973
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/DescribeSubscriberResponse AWS API Documentation
|
|
932
974
|
#
|
|
933
975
|
class DescribeSubscriberResponse < Struct.new(
|
|
@@ -948,7 +990,8 @@ module Aws::EventBridgeV2
|
|
|
948
990
|
:state,
|
|
949
991
|
:revoked,
|
|
950
992
|
:creation_time,
|
|
951
|
-
:last_modified_time
|
|
993
|
+
:last_modified_time,
|
|
994
|
+
:subscriber_details)
|
|
952
995
|
SENSITIVE = []
|
|
953
996
|
include Aws::Structure
|
|
954
997
|
end
|
|
@@ -975,9 +1018,9 @@ module Aws::EventBridgeV2
|
|
|
975
1018
|
# Name of an event bus. The first character must be alphanumeric; the
|
|
976
1019
|
# remaining characters may also include '.', '-', and '\_'. The
|
|
977
1020
|
# grammar matches the name segment of EventBusArn
|
|
978
|
-
# (event-busv2
|
|
979
|
-
# the bus's ARN. The same type is used everywhere a
|
|
980
|
-
#
|
|
1021
|
+
# (event-busv2/<name>/<id>), so every valid name can be
|
|
1022
|
+
# represented in the bus's ARN. The same type is used everywhere a
|
|
1023
|
+
# bus name appears.
|
|
981
1024
|
# @return [String]
|
|
982
1025
|
#
|
|
983
1026
|
# @!attribute [rw] event_bus_arn
|
|
@@ -1002,14 +1045,20 @@ module Aws::EventBridgeV2
|
|
|
1002
1045
|
# Lifecycle state of an event bus.
|
|
1003
1046
|
#
|
|
1004
1047
|
# * CREATING: Bus creation is in progress.
|
|
1048
|
+
#
|
|
1005
1049
|
# * CREATE\_FAILED: Bus creation failed; see StateReason. The bus
|
|
1006
1050
|
# cannot be recovered or recreated in place: delete it with
|
|
1007
1051
|
# DeleteEventBus, then create a new bus.
|
|
1052
|
+
#
|
|
1008
1053
|
# * ACTIVE: Bus is fully operational and can accept events.
|
|
1054
|
+
#
|
|
1009
1055
|
# * UPDATING: Bus update is in progress.
|
|
1056
|
+
#
|
|
1010
1057
|
# * UPDATE\_FAILED: Bus update failed; the bus remains operational
|
|
1011
1058
|
# with its previous configuration.
|
|
1059
|
+
#
|
|
1012
1060
|
# * DELETING: Bus deletion is actively in progress.
|
|
1061
|
+
#
|
|
1013
1062
|
# * DELETE\_FAILED: Bus deletion failed; see StateReason. Retry
|
|
1014
1063
|
# DeleteEventBus after removing subscribers and event sources.
|
|
1015
1064
|
# @return [String]
|
|
@@ -1108,11 +1157,17 @@ module Aws::EventBridgeV2
|
|
|
1108
1157
|
# through a managed partner event bus.
|
|
1109
1158
|
# @return [Types::PartnerEventsSourceConfiguration]
|
|
1110
1159
|
#
|
|
1160
|
+
# @!attribute [rw] webhook_events_configuration
|
|
1161
|
+
# Configuration for receiving events that a third-party provider sends
|
|
1162
|
+
# to an HTTPS webhook URL.
|
|
1163
|
+
# @return [Types::WebhookEventsSourceConfiguration]
|
|
1164
|
+
#
|
|
1111
1165
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/EventSourceConfiguration AWS API Documentation
|
|
1112
1166
|
#
|
|
1113
1167
|
class EventSourceConfiguration < Struct.new(
|
|
1114
1168
|
:aws_service_events_configuration,
|
|
1115
1169
|
:partner_events_configuration,
|
|
1170
|
+
:webhook_events_configuration,
|
|
1116
1171
|
:unknown)
|
|
1117
1172
|
SENSITIVE = []
|
|
1118
1173
|
include Aws::Structure
|
|
@@ -1120,26 +1175,44 @@ module Aws::EventBridgeV2
|
|
|
1120
1175
|
|
|
1121
1176
|
class AwsServiceEventsConfiguration < EventSourceConfiguration; end
|
|
1122
1177
|
class PartnerEventsConfiguration < EventSourceConfiguration; end
|
|
1178
|
+
class WebhookEventsConfiguration < EventSourceConfiguration; end
|
|
1123
1179
|
class Unknown < EventSourceConfiguration; end
|
|
1124
1180
|
end
|
|
1125
1181
|
|
|
1182
|
+
# Values EventBridge generated for an EventSource that depend on its
|
|
1183
|
+
# type. Only the member for the EventSource's type is set. Returned in
|
|
1184
|
+
# responses only. You never supply these values.
|
|
1185
|
+
#
|
|
1186
|
+
# @!attribute [rw] webhook_details
|
|
1187
|
+
# Values generated for a webhook EventSource.
|
|
1188
|
+
# @return [Types::WebhookDetails]
|
|
1189
|
+
#
|
|
1190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/EventSourceDetails AWS API Documentation
|
|
1191
|
+
#
|
|
1192
|
+
class EventSourceDetails < Struct.new(
|
|
1193
|
+
:webhook_details)
|
|
1194
|
+
SENSITIVE = []
|
|
1195
|
+
include Aws::Structure
|
|
1196
|
+
end
|
|
1197
|
+
|
|
1126
1198
|
# Summary of an EventSource, as returned by ListEventSources.
|
|
1127
1199
|
#
|
|
1128
1200
|
# @!attribute [rw] event_source_arn
|
|
1129
|
-
# EventSource ARN:
|
|
1130
|
-
#
|
|
1131
|
-
#
|
|
1132
|
-
#
|
|
1133
|
-
#
|
|
1201
|
+
# EventSource ARN:
|
|
1202
|
+
# event-sourcev2/<type>/<name>/<id>. The type
|
|
1203
|
+
# segment is set by the service (aws.service for AWS service events,
|
|
1204
|
+
# aws.partner for partner events, webhook for webhook events) and is
|
|
1205
|
+
# not part of the resource's name. The id segment is a 25-character
|
|
1206
|
+
# identifier generated by the service.
|
|
1134
1207
|
# @return [String]
|
|
1135
1208
|
#
|
|
1136
1209
|
# @!attribute [rw] name
|
|
1137
1210
|
# EventSource name. First character alphanumeric; the rest may add
|
|
1138
1211
|
# '.', '-', '\_'. Names may not begin with the reserved "aws."
|
|
1139
1212
|
# prefix. The grammar matches the ARN local-name segment in
|
|
1140
|
-
# EventSourceArn
|
|
1141
|
-
#
|
|
1142
|
-
#
|
|
1213
|
+
# EventSourceArn
|
|
1214
|
+
# (event-sourcev2/<type>/<name>/<id>), mirroring
|
|
1215
|
+
# EventBusName, so a name the ARN cannot represent cannot be created.
|
|
1143
1216
|
# @return [String]
|
|
1144
1217
|
#
|
|
1145
1218
|
# @!attribute [rw] event_bus_arn
|
|
@@ -1148,9 +1221,14 @@ module Aws::EventBridgeV2
|
|
|
1148
1221
|
# @return [String]
|
|
1149
1222
|
#
|
|
1150
1223
|
# @!attribute [rw] type
|
|
1151
|
-
# Origin type of an EventSource
|
|
1152
|
-
#
|
|
1153
|
-
#
|
|
1224
|
+
# Origin type of an EventSource.
|
|
1225
|
+
#
|
|
1226
|
+
# * AWS\_SERVICE\_EVENTS - Events from an AWS service.
|
|
1227
|
+
#
|
|
1228
|
+
# * PARTNER\_EVENTS - Events from a partner event source.
|
|
1229
|
+
#
|
|
1230
|
+
# * WEBHOOK\_EVENTS - Events that a third-party provider sends to a
|
|
1231
|
+
# webhook URL.
|
|
1154
1232
|
# @return [String]
|
|
1155
1233
|
#
|
|
1156
1234
|
# @!attribute [rw] state
|
|
@@ -1249,9 +1327,9 @@ module Aws::EventBridgeV2
|
|
|
1249
1327
|
# resolves to "AWS\_RAM" instead). Unlike writing, neither name is
|
|
1250
1328
|
# reserved on a read: the bus owner can read both. There is no
|
|
1251
1329
|
# fallback between the two, so a bus shared only through Resource
|
|
1252
|
-
# Access Manager fails with ResourceNotFoundException until
|
|
1253
|
-
# is named explicitly. A well-formed name that is neither
|
|
1254
|
-
# fails with InvalidInputException.
|
|
1330
|
+
# Access Manager fails with ResourceNotFoundException until
|
|
1331
|
+
# "AWS\_RAM" is named explicitly. A well-formed name that is neither
|
|
1332
|
+
# of the two fails with InvalidInputException.
|
|
1255
1333
|
# @return [String]
|
|
1256
1334
|
#
|
|
1257
1335
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/GetResourcePolicyRequest AWS API Documentation
|
|
@@ -1274,17 +1352,14 @@ module Aws::EventBridgeV2
|
|
|
1274
1352
|
# @return [String]
|
|
1275
1353
|
#
|
|
1276
1354
|
# @!attribute [rw] policy_document
|
|
1277
|
-
# A resource policy document, as a JSON string. The
|
|
1278
|
-
#
|
|
1279
|
-
# adjustable in Service Quotas. A "default" policy that exceeds the
|
|
1280
|
-
# quota is rejected with PolicyLengthExceededException. No policy
|
|
1281
|
-
# document can exceed 389,120 bytes of UTF-8, regardless of the quota.
|
|
1355
|
+
# A resource policy document, as a JSON string. The maximum size is
|
|
1356
|
+
# 389,120 bytes of UTF-8; the byte limit is enforced by the service.
|
|
1282
1357
|
# @return [String]
|
|
1283
1358
|
#
|
|
1284
1359
|
# @!attribute [rw] policy_name
|
|
1285
1360
|
# Name of a policy attached to a resource. Valid values: "default"
|
|
1286
|
-
# (the customer-managed policy) and "AWS\_RAM" (managed exclusively
|
|
1287
|
-
# AWS Resource Access Manager). Any other value is rejected.
|
|
1361
|
+
# (the customer-managed policy) and "AWS\_RAM" (managed exclusively
|
|
1362
|
+
# by AWS Resource Access Manager). Any other value is rejected.
|
|
1288
1363
|
# @return [String]
|
|
1289
1364
|
#
|
|
1290
1365
|
# @!attribute [rw] revision_id
|
|
@@ -1447,6 +1522,11 @@ module Aws::EventBridgeV2
|
|
|
1447
1522
|
# Parameters for forwarding events to another EventBridge event bus.
|
|
1448
1523
|
# @return [Types::EventBusV2Parameters]
|
|
1449
1524
|
#
|
|
1525
|
+
# @!attribute [rw] msk_parameters
|
|
1526
|
+
# MSK (Apache Kafka) invocation parameters for subscribers targeting
|
|
1527
|
+
# an Amazon MSK cluster.
|
|
1528
|
+
# @return [Types::MskParameters]
|
|
1529
|
+
#
|
|
1450
1530
|
# @!attribute [rw] target_arn
|
|
1451
1531
|
# ARN of the target a subscriber invokes. The resource grammar is
|
|
1452
1532
|
# service-neutral because target services use different separators and
|
|
@@ -1465,8 +1545,9 @@ module Aws::EventBridgeV2
|
|
|
1465
1545
|
:http_parameters,
|
|
1466
1546
|
:universal_target_parameters,
|
|
1467
1547
|
:event_bus_v2_parameters,
|
|
1548
|
+
:msk_parameters,
|
|
1468
1549
|
:target_arn)
|
|
1469
|
-
SENSITIVE = [:lambda_parameters, :sqs_parameters, :sns_parameters, :kinesis_parameters, :step_functions_parameters, :http_parameters, :universal_target_parameters, :event_bus_v2_parameters]
|
|
1550
|
+
SENSITIVE = [:lambda_parameters, :sqs_parameters, :sns_parameters, :kinesis_parameters, :step_functions_parameters, :http_parameters, :universal_target_parameters, :event_bus_v2_parameters, :msk_parameters]
|
|
1470
1551
|
include Aws::Structure
|
|
1471
1552
|
end
|
|
1472
1553
|
|
|
@@ -1565,9 +1646,9 @@ module Aws::EventBridgeV2
|
|
|
1565
1646
|
# Name of an event bus. The first character must be alphanumeric; the
|
|
1566
1647
|
# remaining characters may also include '.', '-', and '\_'. The
|
|
1567
1648
|
# grammar matches the name segment of EventBusArn
|
|
1568
|
-
# (event-busv2
|
|
1569
|
-
# the bus's ARN. The same type is used everywhere a
|
|
1570
|
-
#
|
|
1649
|
+
# (event-busv2/<name>/<id>), so every valid name can be
|
|
1650
|
+
# represented in the bus's ARN. The same type is used everywhere a
|
|
1651
|
+
# bus name appears.
|
|
1571
1652
|
# @return [String]
|
|
1572
1653
|
#
|
|
1573
1654
|
# @!attribute [rw] event_bus_account_id
|
|
@@ -1621,9 +1702,9 @@ module Aws::EventBridgeV2
|
|
|
1621
1702
|
# EventSource name. First character alphanumeric; the rest may add
|
|
1622
1703
|
# '.', '-', '\_'. Names may not begin with the reserved "aws."
|
|
1623
1704
|
# prefix. The grammar matches the ARN local-name segment in
|
|
1624
|
-
# EventSourceArn
|
|
1625
|
-
#
|
|
1626
|
-
#
|
|
1705
|
+
# EventSourceArn
|
|
1706
|
+
# (event-sourcev2/<type>/<name>/<id>), mirroring
|
|
1707
|
+
# EventBusName, so a name the ARN cannot represent cannot be created.
|
|
1627
1708
|
# @return [String]
|
|
1628
1709
|
#
|
|
1629
1710
|
# @!attribute [rw] next_token
|
|
@@ -1782,7 +1863,8 @@ module Aws::EventBridgeV2
|
|
|
1782
1863
|
include Aws::Structure
|
|
1783
1864
|
end
|
|
1784
1865
|
|
|
1785
|
-
# Log configuration for a
|
|
1866
|
+
# Log configuration for a resource that delivers vended logs: a
|
|
1867
|
+
# subscriber or a webhook EventSource.
|
|
1786
1868
|
#
|
|
1787
1869
|
# @!attribute [rw] level
|
|
1788
1870
|
# Minimum log level. Records below this level are not emitted.
|
|
@@ -1803,6 +1885,117 @@ module Aws::EventBridgeV2
|
|
|
1803
1885
|
include Aws::Structure
|
|
1804
1886
|
end
|
|
1805
1887
|
|
|
1888
|
+
# Values EventBridge manages for a subscriber that targets an Amazon MSK
|
|
1889
|
+
# cluster.
|
|
1890
|
+
#
|
|
1891
|
+
# @!attribute [rw] connectivity_state
|
|
1892
|
+
# Provisioning state of the connectivity EventBridge sets up to the
|
|
1893
|
+
# cluster. Distinct from the subscriber's State, which the customer
|
|
1894
|
+
# controls.
|
|
1895
|
+
# @return [String]
|
|
1896
|
+
#
|
|
1897
|
+
# @!attribute [rw] state_reason
|
|
1898
|
+
# Why provisioning failed. Present only when ConnectivityState is
|
|
1899
|
+
# PROVISION\_FAILED.
|
|
1900
|
+
# @return [String]
|
|
1901
|
+
#
|
|
1902
|
+
# @!attribute [rw] vpc_connection_arn
|
|
1903
|
+
# ARN of the VPC connection EventBridge uses to reach the cluster.
|
|
1904
|
+
# Present only for PRIVATE connectivity, once the connection exists.
|
|
1905
|
+
# It is the connection the cluster owner sees through the MSK
|
|
1906
|
+
# ListClientVpcConnections API.
|
|
1907
|
+
# @return [String]
|
|
1908
|
+
#
|
|
1909
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/MskDetails AWS API Documentation
|
|
1910
|
+
#
|
|
1911
|
+
class MskDetails < Struct.new(
|
|
1912
|
+
:connectivity_state,
|
|
1913
|
+
:state_reason,
|
|
1914
|
+
:vpc_connection_arn)
|
|
1915
|
+
SENSITIVE = []
|
|
1916
|
+
include Aws::Structure
|
|
1917
|
+
end
|
|
1918
|
+
|
|
1919
|
+
# A single Kafka record header. Both Key and Value accept a literal or a
|
|
1920
|
+
# JSONata expression (e.g. "\{% $events.metadata.source %}") resolved
|
|
1921
|
+
# once per delivered event.
|
|
1922
|
+
#
|
|
1923
|
+
# @!attribute [rw] key
|
|
1924
|
+
# The header key. Accepts a literal or a JSONata expression.
|
|
1925
|
+
# @return [String]
|
|
1926
|
+
#
|
|
1927
|
+
# @!attribute [rw] value
|
|
1928
|
+
# The header value. Accepts a literal or a JSONata expression.
|
|
1929
|
+
# @return [String]
|
|
1930
|
+
#
|
|
1931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/MskHeader AWS API Documentation
|
|
1932
|
+
#
|
|
1933
|
+
class MskHeader < Struct.new(
|
|
1934
|
+
:key,
|
|
1935
|
+
:value)
|
|
1936
|
+
SENSITIVE = []
|
|
1937
|
+
include Aws::Structure
|
|
1938
|
+
end
|
|
1939
|
+
|
|
1940
|
+
# MSK (Apache Kafka) invocation parameters for subscribers targeting an
|
|
1941
|
+
# Amazon MSK cluster.
|
|
1942
|
+
#
|
|
1943
|
+
# @!attribute [rw] topic_name
|
|
1944
|
+
# Name of the Kafka topic events are produced to. Accepts a literal or
|
|
1945
|
+
# a JSONata expression resolved once per delivered event.
|
|
1946
|
+
# @return [String]
|
|
1947
|
+
#
|
|
1948
|
+
# @!attribute [rw] compression
|
|
1949
|
+
# Producer compression codec applied to the record batch. Defaults to
|
|
1950
|
+
# NONE.
|
|
1951
|
+
# @return [String]
|
|
1952
|
+
#
|
|
1953
|
+
# @!attribute [rw] acks
|
|
1954
|
+
# Producer acknowledgement mode. Defaults to ALL.
|
|
1955
|
+
# @return [String]
|
|
1956
|
+
#
|
|
1957
|
+
# @!attribute [rw] partition_key
|
|
1958
|
+
# Kafka record key. Accepts a literal or a JSONata expression (e.g.
|
|
1959
|
+
# "\{% $events.data.customerId %}") resolved once per delivered
|
|
1960
|
+
# event; the resolved value selects the destination partition. If you
|
|
1961
|
+
# omit it, the producer selects the partition; on an ordered (FIFO)
|
|
1962
|
+
# subscriber, EventBridge instead uses the event group ID as the
|
|
1963
|
+
# record key to preserve ordering.
|
|
1964
|
+
# @return [String]
|
|
1965
|
+
#
|
|
1966
|
+
# @!attribute [rw] headers
|
|
1967
|
+
# Kafka record headers attached to each produced record.
|
|
1968
|
+
# @return [Array<Types::MskHeader>]
|
|
1969
|
+
#
|
|
1970
|
+
# @!attribute [rw] client_id
|
|
1971
|
+
# Producer client.id passed to the Kafka broker. Identifies the
|
|
1972
|
+
# producer in broker-side logs, metrics, and quota enforcement. A
|
|
1973
|
+
# literal, not a JSONata expression: it is a connection-level setting
|
|
1974
|
+
# resolved once when the producer is created, not per event. If you do
|
|
1975
|
+
# not set it, EventBridge uses the subscriber ARN.
|
|
1976
|
+
# @return [String]
|
|
1977
|
+
#
|
|
1978
|
+
# @!attribute [rw] connectivity
|
|
1979
|
+
# How the service connects to the cluster. A cluster can have public
|
|
1980
|
+
# access and multi-VPC private connectivity turned on at the same
|
|
1981
|
+
# time, so the subscriber names the one to use. That path must be
|
|
1982
|
+
# turned on, with IAM access control, on the cluster.
|
|
1983
|
+
# @return [String]
|
|
1984
|
+
#
|
|
1985
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/MskParameters AWS API Documentation
|
|
1986
|
+
#
|
|
1987
|
+
class MskParameters < Struct.new(
|
|
1988
|
+
:topic_name,
|
|
1989
|
+
:compression,
|
|
1990
|
+
:acks,
|
|
1991
|
+
:partition_key,
|
|
1992
|
+
:headers,
|
|
1993
|
+
:client_id,
|
|
1994
|
+
:connectivity)
|
|
1995
|
+
SENSITIVE = []
|
|
1996
|
+
include Aws::Structure
|
|
1997
|
+
end
|
|
1998
|
+
|
|
1806
1999
|
# On-failure configuration: where a failed delivery is sent. Shared by
|
|
1807
2000
|
# the subscriber and the EventSource.
|
|
1808
2001
|
#
|
|
@@ -1825,8 +2018,7 @@ module Aws::EventBridgeV2
|
|
|
1825
2018
|
# @!attribute [rw] partner_event_source_arn
|
|
1826
2019
|
# ARN of the partner event source to forward. It is a partner-owned
|
|
1827
2020
|
# resource, so the account segment is empty:
|
|
1828
|
-
# arn:aws:events
|
|
1829
|
-
# </name></region>
|
|
2021
|
+
# arn:aws:events:<region>::event-source/aws.partner/<name>.
|
|
1830
2022
|
# @return [String]
|
|
1831
2023
|
#
|
|
1832
2024
|
# @!attribute [rw] pattern
|
|
@@ -1883,8 +2075,7 @@ module Aws::EventBridgeV2
|
|
|
1883
2075
|
include Aws::Structure
|
|
1884
2076
|
end
|
|
1885
2077
|
|
|
1886
|
-
# The policy document
|
|
1887
|
-
# quota, or larger than the service maximum.
|
|
2078
|
+
# The policy document exceeds the maximum allowed size.
|
|
1888
2079
|
#
|
|
1889
2080
|
# @!attribute [rw] message
|
|
1890
2081
|
# @return [String]
|
|
@@ -1905,8 +2096,8 @@ module Aws::EventBridgeV2
|
|
|
1905
2096
|
# accounts. Conditions on event content (events:source,
|
|
1906
2097
|
# events:detail-type, events:Metadata/*) do not identify the caller and
|
|
1907
2098
|
# do not make a wildcard principal non-public. Returned only for the
|
|
1908
|
-
# "default" policy; the "AWS\_RAM" policy is composed by AWS
|
|
1909
|
-
# Access Manager and never grants public access.
|
|
2099
|
+
# "default" policy; the "AWS\_RAM" policy is composed by AWS
|
|
2100
|
+
# Resource Access Manager and never grants public access.
|
|
1910
2101
|
#
|
|
1911
2102
|
# @!attribute [rw] message
|
|
1912
2103
|
# @return [String]
|
|
@@ -2021,11 +2212,11 @@ module Aws::EventBridgeV2
|
|
|
2021
2212
|
# @return [String]
|
|
2022
2213
|
#
|
|
2023
2214
|
# @!attribute [rw] error_code
|
|
2024
|
-
# Error code
|
|
2215
|
+
# Error code if the entry failed.
|
|
2025
2216
|
# @return [String]
|
|
2026
2217
|
#
|
|
2027
2218
|
# @!attribute [rw] error_message
|
|
2028
|
-
#
|
|
2219
|
+
# Error message if the entry failed.
|
|
2029
2220
|
# @return [String]
|
|
2030
2221
|
#
|
|
2031
2222
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/PutEventsResultEntry AWS API Documentation
|
|
@@ -2177,8 +2368,9 @@ module Aws::EventBridgeV2
|
|
|
2177
2368
|
# because PutRawEvents supports arbitrary binary formats.
|
|
2178
2369
|
#
|
|
2179
2370
|
# @!attribute [rw] content_type
|
|
2180
|
-
# Content type of the event data
|
|
2181
|
-
#
|
|
2371
|
+
# Content type of the event data. Valid values: `application/json`,
|
|
2372
|
+
# `application/avro`, `application/protobuf`,
|
|
2373
|
+
# `application/octet-stream`.
|
|
2182
2374
|
# @return [String]
|
|
2183
2375
|
#
|
|
2184
2376
|
# @!attribute [rw] deduplication_id
|
|
@@ -2205,11 +2397,8 @@ module Aws::EventBridgeV2
|
|
|
2205
2397
|
# @return [String]
|
|
2206
2398
|
#
|
|
2207
2399
|
# @!attribute [rw] policy_document
|
|
2208
|
-
# A resource policy document, as a JSON string. The
|
|
2209
|
-
#
|
|
2210
|
-
# adjustable in Service Quotas. A "default" policy that exceeds the
|
|
2211
|
-
# quota is rejected with PolicyLengthExceededException. No policy
|
|
2212
|
-
# document can exceed 389,120 bytes of UTF-8, regardless of the quota.
|
|
2400
|
+
# A resource policy document, as a JSON string. The maximum size is
|
|
2401
|
+
# 389,120 bytes of UTF-8; the byte limit is enforced by the service.
|
|
2213
2402
|
# @return [String]
|
|
2214
2403
|
#
|
|
2215
2404
|
# @!attribute [rw] policy_name
|
|
@@ -2217,10 +2406,10 @@ module Aws::EventBridgeV2
|
|
|
2217
2406
|
# customer-managed policy, when omitted (a write AWS Resource Access
|
|
2218
2407
|
# Manager makes on the owner's behalf resolves to "AWS\_RAM"
|
|
2219
2408
|
# instead). The two writers are exclusive in both directions — only
|
|
2220
|
-
# Resource Access Manager can write "AWS\_RAM", and only the bus
|
|
2221
|
-
# can write "default" — so naming the other party's policy
|
|
2222
|
-
# AccessDeniedException. A well-formed name that is neither
|
|
2223
|
-
# fails with InvalidInputException.
|
|
2409
|
+
# Resource Access Manager can write "AWS\_RAM", and only the bus
|
|
2410
|
+
# owner can write "default" — so naming the other party's policy
|
|
2411
|
+
# fails with AccessDeniedException. A well-formed name that is neither
|
|
2412
|
+
# of the two fails with InvalidInputException.
|
|
2224
2413
|
# @return [String]
|
|
2225
2414
|
#
|
|
2226
2415
|
# @!attribute [rw] expected_revision_id
|
|
@@ -2253,8 +2442,8 @@ module Aws::EventBridgeV2
|
|
|
2253
2442
|
#
|
|
2254
2443
|
# @!attribute [rw] policy_name
|
|
2255
2444
|
# Name of a policy attached to a resource. Valid values: "default"
|
|
2256
|
-
# (the customer-managed policy) and "AWS\_RAM" (managed exclusively
|
|
2257
|
-
# AWS Resource Access Manager). Any other value is rejected.
|
|
2445
|
+
# (the customer-managed policy) and "AWS\_RAM" (managed exclusively
|
|
2446
|
+
# by AWS Resource Access Manager). Any other value is rejected.
|
|
2258
2447
|
# @return [String]
|
|
2259
2448
|
#
|
|
2260
2449
|
# @!attribute [rw] revision_id
|
|
@@ -2317,8 +2506,8 @@ module Aws::EventBridgeV2
|
|
|
2317
2506
|
#
|
|
2318
2507
|
# @!attribute [rw] policy_name
|
|
2319
2508
|
# Name of a policy attached to a resource. Valid values: "default"
|
|
2320
|
-
# (the customer-managed policy) and "AWS\_RAM" (managed exclusively
|
|
2321
|
-
# AWS Resource Access Manager). Any other value is rejected.
|
|
2509
|
+
# (the customer-managed policy) and "AWS\_RAM" (managed exclusively
|
|
2510
|
+
# by AWS Resource Access Manager). Any other value is rejected.
|
|
2322
2511
|
# @return [String]
|
|
2323
2512
|
#
|
|
2324
2513
|
# @!attribute [rw] revision_id
|
|
@@ -2388,6 +2577,49 @@ module Aws::EventBridgeV2
|
|
|
2388
2577
|
include Aws::Structure
|
|
2389
2578
|
end
|
|
2390
2579
|
|
|
2580
|
+
# @!attribute [rw] event_source_arn
|
|
2581
|
+
# The ARN of the webhook EventSource.
|
|
2582
|
+
# @return [String]
|
|
2583
|
+
#
|
|
2584
|
+
# @!attribute [rw] credential
|
|
2585
|
+
# The new credential. Set the member that matches the authentication
|
|
2586
|
+
# type of the EventSource. If you set a member that does not match the
|
|
2587
|
+
# authentication type, EventBridge returns InvalidInputException. If
|
|
2588
|
+
# you omit Credential, EventBridge generates a value.
|
|
2589
|
+
# @return [Types::WebhookCredential]
|
|
2590
|
+
#
|
|
2591
|
+
# @!attribute [rw] client_token
|
|
2592
|
+
# Unique, case-sensitive identifier that ensures the idempotency of
|
|
2593
|
+
# the request. The SDK generates one automatically when the field is
|
|
2594
|
+
# omitted.
|
|
2595
|
+
#
|
|
2596
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2597
|
+
# not need to pass this option.
|
|
2598
|
+
# @return [String]
|
|
2599
|
+
#
|
|
2600
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/RotateWebhookCredentialsRequest AWS API Documentation
|
|
2601
|
+
#
|
|
2602
|
+
class RotateWebhookCredentialsRequest < Struct.new(
|
|
2603
|
+
:event_source_arn,
|
|
2604
|
+
:credential,
|
|
2605
|
+
:client_token)
|
|
2606
|
+
SENSITIVE = []
|
|
2607
|
+
include Aws::Structure
|
|
2608
|
+
end
|
|
2609
|
+
|
|
2610
|
+
# @!attribute [rw] secret_arn
|
|
2611
|
+
# The ARN of the AWS Secrets Manager secret that holds the credential.
|
|
2612
|
+
# It doesn't change when the credential is rotated.
|
|
2613
|
+
# @return [String]
|
|
2614
|
+
#
|
|
2615
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/RotateWebhookCredentialsResponse AWS API Documentation
|
|
2616
|
+
#
|
|
2617
|
+
class RotateWebhookCredentialsResponse < Struct.new(
|
|
2618
|
+
:secret_arn)
|
|
2619
|
+
SENSITIVE = []
|
|
2620
|
+
include Aws::Structure
|
|
2621
|
+
end
|
|
2622
|
+
|
|
2391
2623
|
# Schema registry settings used to encode open-format (Avro/Protobuf)
|
|
2392
2624
|
# events.
|
|
2393
2625
|
#
|
|
@@ -2625,6 +2857,23 @@ module Aws::EventBridgeV2
|
|
|
2625
2857
|
include Aws::Structure
|
|
2626
2858
|
end
|
|
2627
2859
|
|
|
2860
|
+
# Values EventBridge manages for a subscriber that depend on its target
|
|
2861
|
+
# type. Only the member for the subscriber's target type is set.
|
|
2862
|
+
# Returned in responses only; the customer never supplies these values.
|
|
2863
|
+
#
|
|
2864
|
+
# @!attribute [rw] msk_details
|
|
2865
|
+
# Values EventBridge manages for a subscriber that targets an Amazon
|
|
2866
|
+
# MSK cluster.
|
|
2867
|
+
# @return [Types::MskDetails]
|
|
2868
|
+
#
|
|
2869
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/SubscriberDetails AWS API Documentation
|
|
2870
|
+
#
|
|
2871
|
+
class SubscriberDetails < Struct.new(
|
|
2872
|
+
:msk_details)
|
|
2873
|
+
SENSITIVE = []
|
|
2874
|
+
include Aws::Structure
|
|
2875
|
+
end
|
|
2876
|
+
|
|
2628
2877
|
# Summary of a subscriber, as returned by ListSubscribers.
|
|
2629
2878
|
#
|
|
2630
2879
|
# @!attribute [rw] subscriber_arn
|
|
@@ -2663,8 +2912,8 @@ module Aws::EventBridgeV2
|
|
|
2663
2912
|
# @!attribute [rw] state
|
|
2664
2913
|
# Customer-controlled run state of a subscriber, set on create or
|
|
2665
2914
|
# update. Distinct from the bus lifecycle vocabulary, where ACTIVE
|
|
2666
|
-
# means "provisioned and healthy". Delivery requires State RUNNING
|
|
2667
|
-
# a subscriber that is not revoked.
|
|
2915
|
+
# means "provisioned and healthy". Delivery requires State RUNNING
|
|
2916
|
+
# on a subscriber that is not revoked.
|
|
2668
2917
|
# @return [String]
|
|
2669
2918
|
#
|
|
2670
2919
|
# @!attribute [rw] creation_time
|
|
@@ -2763,11 +3012,9 @@ module Aws::EventBridgeV2
|
|
|
2763
3012
|
#
|
|
2764
3013
|
# @!attribute [rw] invocation_timeout_seconds
|
|
2765
3014
|
# Timeout in seconds for each invocation of the target (1-30, default
|
|
2766
|
-
# 30).
|
|
2767
|
-
#
|
|
2768
|
-
#
|
|
2769
|
-
# range \[1, 30\] will be constrained to the nearest bound at delivery
|
|
2770
|
-
# time. Defaults to 30 seconds when unset.
|
|
3015
|
+
# 30). Must be a literal integer; JSONata expressions are not
|
|
3016
|
+
# supported for this field. String-typed to match the other targets'
|
|
3017
|
+
# timeout fields. Defaults to 30s when unset.
|
|
2771
3018
|
# @return [String]
|
|
2772
3019
|
#
|
|
2773
3020
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/UniversalTargetParameters AWS API Documentation
|
|
@@ -2839,9 +3086,9 @@ module Aws::EventBridgeV2
|
|
|
2839
3086
|
# Name of an event bus. The first character must be alphanumeric; the
|
|
2840
3087
|
# remaining characters may also include '.', '-', and '\_'. The
|
|
2841
3088
|
# grammar matches the name segment of EventBusArn
|
|
2842
|
-
# (event-busv2
|
|
2843
|
-
# the bus's ARN. The same type is used everywhere a
|
|
2844
|
-
#
|
|
3089
|
+
# (event-busv2/<name>/<id>), so every valid name can be
|
|
3090
|
+
# represented in the bus's ARN. The same type is used everywhere a
|
|
3091
|
+
# bus name appears.
|
|
2845
3092
|
# @return [String]
|
|
2846
3093
|
#
|
|
2847
3094
|
# @!attribute [rw] description
|
|
@@ -2861,14 +3108,20 @@ module Aws::EventBridgeV2
|
|
|
2861
3108
|
# Lifecycle state of an event bus.
|
|
2862
3109
|
#
|
|
2863
3110
|
# * CREATING: Bus creation is in progress.
|
|
3111
|
+
#
|
|
2864
3112
|
# * CREATE\_FAILED: Bus creation failed; see StateReason. The bus
|
|
2865
3113
|
# cannot be recovered or recreated in place: delete it with
|
|
2866
3114
|
# DeleteEventBus, then create a new bus.
|
|
3115
|
+
#
|
|
2867
3116
|
# * ACTIVE: Bus is fully operational and can accept events.
|
|
3117
|
+
#
|
|
2868
3118
|
# * UPDATING: Bus update is in progress.
|
|
3119
|
+
#
|
|
2869
3120
|
# * UPDATE\_FAILED: Bus update failed; the bus remains operational
|
|
2870
3121
|
# with its previous configuration.
|
|
3122
|
+
#
|
|
2871
3123
|
# * DELETING: Bus deletion is actively in progress.
|
|
3124
|
+
#
|
|
2872
3125
|
# * DELETE\_FAILED: Bus deletion failed; see StateReason. Retry
|
|
2873
3126
|
# DeleteEventBus after removing subscribers and event sources.
|
|
2874
3127
|
# @return [String]
|
|
@@ -2903,11 +3156,12 @@ module Aws::EventBridgeV2
|
|
|
2903
3156
|
end
|
|
2904
3157
|
|
|
2905
3158
|
# @!attribute [rw] event_source_arn
|
|
2906
|
-
# EventSource ARN:
|
|
2907
|
-
#
|
|
2908
|
-
#
|
|
2909
|
-
#
|
|
2910
|
-
#
|
|
3159
|
+
# EventSource ARN:
|
|
3160
|
+
# event-sourcev2/<type>/<name>/<id>. The type
|
|
3161
|
+
# segment is set by the service (aws.service for AWS service events,
|
|
3162
|
+
# aws.partner for partner events, webhook for webhook events) and is
|
|
3163
|
+
# not part of the resource's name. The id segment is a 25-character
|
|
3164
|
+
# identifier generated by the service.
|
|
2911
3165
|
# @return [String]
|
|
2912
3166
|
#
|
|
2913
3167
|
# @!attribute [rw] configuration
|
|
@@ -2931,20 +3185,21 @@ module Aws::EventBridgeV2
|
|
|
2931
3185
|
end
|
|
2932
3186
|
|
|
2933
3187
|
# @!attribute [rw] event_source_arn
|
|
2934
|
-
# EventSource ARN:
|
|
2935
|
-
#
|
|
2936
|
-
#
|
|
2937
|
-
#
|
|
2938
|
-
#
|
|
3188
|
+
# EventSource ARN:
|
|
3189
|
+
# event-sourcev2/<type>/<name>/<id>. The type
|
|
3190
|
+
# segment is set by the service (aws.service for AWS service events,
|
|
3191
|
+
# aws.partner for partner events, webhook for webhook events) and is
|
|
3192
|
+
# not part of the resource's name. The id segment is a 25-character
|
|
3193
|
+
# identifier generated by the service.
|
|
2939
3194
|
# @return [String]
|
|
2940
3195
|
#
|
|
2941
3196
|
# @!attribute [rw] name
|
|
2942
3197
|
# EventSource name. First character alphanumeric; the rest may add
|
|
2943
3198
|
# '.', '-', '\_'. Names may not begin with the reserved "aws."
|
|
2944
3199
|
# prefix. The grammar matches the ARN local-name segment in
|
|
2945
|
-
# EventSourceArn
|
|
2946
|
-
#
|
|
2947
|
-
#
|
|
3200
|
+
# EventSourceArn
|
|
3201
|
+
# (event-sourcev2/<type>/<name>/<id>), mirroring
|
|
3202
|
+
# EventBusName, so a name the ARN cannot represent cannot be created.
|
|
2948
3203
|
# @return [String]
|
|
2949
3204
|
#
|
|
2950
3205
|
# @!attribute [rw] event_bus_arn
|
|
@@ -3027,6 +3282,11 @@ module Aws::EventBridgeV2
|
|
|
3027
3282
|
# Parameters for forwarding events to another EventBridge event bus.
|
|
3028
3283
|
# @return [Types::EventBusV2Parameters]
|
|
3029
3284
|
#
|
|
3285
|
+
# @!attribute [rw] msk_parameters
|
|
3286
|
+
# MSK (Apache Kafka) invocation parameters for subscribers targeting
|
|
3287
|
+
# an Amazon MSK cluster.
|
|
3288
|
+
# @return [Types::MskParameters]
|
|
3289
|
+
#
|
|
3030
3290
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/UpdateInvokeConfiguration AWS API Documentation
|
|
3031
3291
|
#
|
|
3032
3292
|
class UpdateInvokeConfiguration < Struct.new(
|
|
@@ -3038,8 +3298,9 @@ module Aws::EventBridgeV2
|
|
|
3038
3298
|
:step_functions_parameters,
|
|
3039
3299
|
:http_parameters,
|
|
3040
3300
|
:universal_target_parameters,
|
|
3041
|
-
:event_bus_v2_parameters
|
|
3042
|
-
|
|
3301
|
+
:event_bus_v2_parameters,
|
|
3302
|
+
:msk_parameters)
|
|
3303
|
+
SENSITIVE = [:lambda_parameters, :sqs_parameters, :sns_parameters, :kinesis_parameters, :step_functions_parameters, :http_parameters, :universal_target_parameters, :event_bus_v2_parameters, :msk_parameters]
|
|
3043
3304
|
include Aws::Structure
|
|
3044
3305
|
end
|
|
3045
3306
|
|
|
@@ -3056,8 +3317,8 @@ module Aws::EventBridgeV2
|
|
|
3056
3317
|
# @!attribute [rw] state
|
|
3057
3318
|
# Customer-controlled run state of a subscriber, set on create or
|
|
3058
3319
|
# update. Distinct from the bus lifecycle vocabulary, where ACTIVE
|
|
3059
|
-
# means "provisioned and healthy". Delivery requires State RUNNING
|
|
3060
|
-
# a subscriber that is not revoked.
|
|
3320
|
+
# means "provisioned and healthy". Delivery requires State RUNNING
|
|
3321
|
+
# on a subscriber that is not revoked.
|
|
3061
3322
|
# @return [String]
|
|
3062
3323
|
#
|
|
3063
3324
|
# @!attribute [rw] resume_position
|
|
@@ -3088,9 +3349,7 @@ module Aws::EventBridgeV2
|
|
|
3088
3349
|
# @return [Types::BatchConfiguration]
|
|
3089
3350
|
#
|
|
3090
3351
|
# @!attribute [rw] transformer
|
|
3091
|
-
#
|
|
3092
|
-
# transformation is UniversalTargetParameters.Input; a Transformer on
|
|
3093
|
-
# such a target is rejected.
|
|
3352
|
+
# Transformer configuration for a subscriber.
|
|
3094
3353
|
# @return [Types::Transformer]
|
|
3095
3354
|
#
|
|
3096
3355
|
# @!attribute [rw] retry_policy
|
|
@@ -3157,14 +3416,21 @@ module Aws::EventBridgeV2
|
|
|
3157
3416
|
# @!attribute [rw] state
|
|
3158
3417
|
# Customer-controlled run state of a subscriber, set on create or
|
|
3159
3418
|
# update. Distinct from the bus lifecycle vocabulary, where ACTIVE
|
|
3160
|
-
# means "provisioned and healthy". Delivery requires State RUNNING
|
|
3161
|
-
# a subscriber that is not revoked.
|
|
3419
|
+
# means "provisioned and healthy". Delivery requires State RUNNING
|
|
3420
|
+
# on a subscriber that is not revoked.
|
|
3162
3421
|
# @return [String]
|
|
3163
3422
|
#
|
|
3164
3423
|
# @!attribute [rw] last_modified_time
|
|
3165
3424
|
# The time the subscriber was last modified.
|
|
3166
3425
|
# @return [Time]
|
|
3167
3426
|
#
|
|
3427
|
+
# @!attribute [rw] subscriber_details
|
|
3428
|
+
# Values EventBridge manages for a subscriber that depend on its
|
|
3429
|
+
# target type. Only the member for the subscriber's target type is
|
|
3430
|
+
# set. Returned in responses only; the customer never supplies these
|
|
3431
|
+
# values.
|
|
3432
|
+
# @return [Types::SubscriberDetails]
|
|
3433
|
+
#
|
|
3168
3434
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/UpdateSubscriberResponse AWS API Documentation
|
|
3169
3435
|
#
|
|
3170
3436
|
class UpdateSubscriberResponse < Struct.new(
|
|
@@ -3175,9 +3441,345 @@ module Aws::EventBridgeV2
|
|
|
3175
3441
|
:starting_position,
|
|
3176
3442
|
:point_in_time_configuration,
|
|
3177
3443
|
:state,
|
|
3178
|
-
:last_modified_time
|
|
3444
|
+
:last_modified_time,
|
|
3445
|
+
:subscriber_details)
|
|
3446
|
+
SENSITIVE = []
|
|
3447
|
+
include Aws::Structure
|
|
3448
|
+
end
|
|
3449
|
+
|
|
3450
|
+
# How the provider authenticates its webhook requests. Exactly one
|
|
3451
|
+
# variant must be set.
|
|
3452
|
+
#
|
|
3453
|
+
# @note WebhookAuthConfiguration is a union - when making an API calls you must set exactly one of the members.
|
|
3454
|
+
#
|
|
3455
|
+
# @note WebhookAuthConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of WebhookAuthConfiguration corresponding to the set member.
|
|
3456
|
+
#
|
|
3457
|
+
# @!attribute [rw] static_token_auth_configuration
|
|
3458
|
+
# The provider sends a static token in an HTTP header.
|
|
3459
|
+
# @return [Types::WebhookStaticTokenAuthConfiguration]
|
|
3460
|
+
#
|
|
3461
|
+
# @!attribute [rw] basic_http_auth_configuration
|
|
3462
|
+
# The provider uses HTTP Basic authentication.
|
|
3463
|
+
# @return [Types::WebhookBasicHttpAuthConfiguration]
|
|
3464
|
+
#
|
|
3465
|
+
# @!attribute [rw] hmac_auth_configuration
|
|
3466
|
+
# The provider signs each request with an HMAC of the secret.
|
|
3467
|
+
# @return [Types::WebhookHmacAuthConfiguration]
|
|
3468
|
+
#
|
|
3469
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/WebhookAuthConfiguration AWS API Documentation
|
|
3470
|
+
#
|
|
3471
|
+
class WebhookAuthConfiguration < Struct.new(
|
|
3472
|
+
:static_token_auth_configuration,
|
|
3473
|
+
:basic_http_auth_configuration,
|
|
3474
|
+
:hmac_auth_configuration,
|
|
3475
|
+
:unknown)
|
|
3179
3476
|
SENSITIVE = []
|
|
3180
3477
|
include Aws::Structure
|
|
3478
|
+
include Aws::Structure::Union
|
|
3479
|
+
|
|
3480
|
+
class StaticTokenAuthConfiguration < WebhookAuthConfiguration; end
|
|
3481
|
+
class BasicHttpAuthConfiguration < WebhookAuthConfiguration; end
|
|
3482
|
+
class HmacAuthConfiguration < WebhookAuthConfiguration; end
|
|
3483
|
+
class Unknown < WebhookAuthConfiguration; end
|
|
3484
|
+
end
|
|
3485
|
+
|
|
3486
|
+
# The provider sends HTTP Basic authentication credentials: an
|
|
3487
|
+
# Authorization header with the value "Basic " followed by the Base64
|
|
3488
|
+
# encoding of username:password. Supply both Username and Password, or
|
|
3489
|
+
# omit both so that EventBridge generates the pair. Supplying only one
|
|
3490
|
+
# fails with InvalidInputException. EventBridge stores both only in AWS
|
|
3491
|
+
# Secrets Manager and never returns them, including from
|
|
3492
|
+
# DescribeEventSource.
|
|
3493
|
+
#
|
|
3494
|
+
# @!attribute [rw] username
|
|
3495
|
+
# The username.
|
|
3496
|
+
# @return [String]
|
|
3497
|
+
#
|
|
3498
|
+
# @!attribute [rw] password
|
|
3499
|
+
# The password.
|
|
3500
|
+
# @return [String]
|
|
3501
|
+
#
|
|
3502
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/WebhookBasicHttpAuthConfiguration AWS API Documentation
|
|
3503
|
+
#
|
|
3504
|
+
class WebhookBasicHttpAuthConfiguration < Struct.new(
|
|
3505
|
+
:username,
|
|
3506
|
+
:password)
|
|
3507
|
+
SENSITIVE = [:password]
|
|
3508
|
+
include Aws::Structure
|
|
3509
|
+
end
|
|
3510
|
+
|
|
3511
|
+
# A new webhook credential. Exactly one variant must be set.
|
|
3512
|
+
#
|
|
3513
|
+
# @note WebhookCredential is a union - when making an API calls you must set exactly one of the members.
|
|
3514
|
+
#
|
|
3515
|
+
# @!attribute [rw] static_token_secret_value
|
|
3516
|
+
# The new token for static token authentication.
|
|
3517
|
+
# @return [String]
|
|
3518
|
+
#
|
|
3519
|
+
# @!attribute [rw] basic_http_password
|
|
3520
|
+
# The new password for HTTP Basic authentication. The username does
|
|
3521
|
+
# not change.
|
|
3522
|
+
# @return [String]
|
|
3523
|
+
#
|
|
3524
|
+
# @!attribute [rw] hmac_secret_value
|
|
3525
|
+
# The new HMAC secret, in the SecretEncoding of the EventSource. With
|
|
3526
|
+
# BASE64, EventBridge removes a leading "whsec\_". The key must be
|
|
3527
|
+
# 16 to 512 bytes; with BASE64 SecretEncoding, this is measured after
|
|
3528
|
+
# decoding.
|
|
3529
|
+
# @return [String]
|
|
3530
|
+
#
|
|
3531
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/WebhookCredential AWS API Documentation
|
|
3532
|
+
#
|
|
3533
|
+
class WebhookCredential < Struct.new(
|
|
3534
|
+
:static_token_secret_value,
|
|
3535
|
+
:basic_http_password,
|
|
3536
|
+
:hmac_secret_value,
|
|
3537
|
+
:unknown)
|
|
3538
|
+
SENSITIVE = [:static_token_secret_value, :basic_http_password, :hmac_secret_value]
|
|
3539
|
+
include Aws::Structure
|
|
3540
|
+
include Aws::Structure::Union
|
|
3541
|
+
|
|
3542
|
+
class StaticTokenSecretValue < WebhookCredential; end
|
|
3543
|
+
class BasicHttpPassword < WebhookCredential; end
|
|
3544
|
+
class HmacSecretValue < WebhookCredential; end
|
|
3545
|
+
class Unknown < WebhookCredential; end
|
|
3546
|
+
end
|
|
3547
|
+
|
|
3548
|
+
# Deduplication settings for a webhook EventSource's events.
|
|
3549
|
+
#
|
|
3550
|
+
# @!attribute [rw] deduplication_type
|
|
3551
|
+
# How duplicate events are detected.
|
|
3552
|
+
# @return [String]
|
|
3553
|
+
#
|
|
3554
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/WebhookDeduplicationConfiguration AWS API Documentation
|
|
3555
|
+
#
|
|
3556
|
+
class WebhookDeduplicationConfiguration < Struct.new(
|
|
3557
|
+
:deduplication_type)
|
|
3558
|
+
SENSITIVE = []
|
|
3559
|
+
include Aws::Structure
|
|
3560
|
+
end
|
|
3561
|
+
|
|
3562
|
+
# Values EventBridge generated for a webhook EventSource.
|
|
3563
|
+
#
|
|
3564
|
+
# @!attribute [rw] webhook_url
|
|
3565
|
+
# The HTTPS URL to configure in the provider. The URL doesn't change
|
|
3566
|
+
# for the life of the EventSource.
|
|
3567
|
+
# @return [String]
|
|
3568
|
+
#
|
|
3569
|
+
# @!attribute [rw] secret_arn
|
|
3570
|
+
# The ARN of the AWS Secrets Manager secret, in your account, that
|
|
3571
|
+
# holds the secret.
|
|
3572
|
+
# @return [String]
|
|
3573
|
+
#
|
|
3574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/WebhookDetails AWS API Documentation
|
|
3575
|
+
#
|
|
3576
|
+
class WebhookDetails < Struct.new(
|
|
3577
|
+
:webhook_url,
|
|
3578
|
+
:secret_arn)
|
|
3579
|
+
SENSITIVE = [:webhook_url]
|
|
3580
|
+
include Aws::Structure
|
|
3581
|
+
end
|
|
3582
|
+
|
|
3583
|
+
# Configuration for receiving events from an external provider, such as
|
|
3584
|
+
# a SaaS application, that sends them as HTTPS POST requests to a
|
|
3585
|
+
# webhook URL. The provider authenticates with an HTTP scheme instead of
|
|
3586
|
+
# AWS credentials.
|
|
3587
|
+
#
|
|
3588
|
+
# @!attribute [rw] auth_configuration
|
|
3589
|
+
# How the provider authenticates its requests. Exactly one
|
|
3590
|
+
# authentication type must be set, and it can't be changed after the
|
|
3591
|
+
# EventSource is created.
|
|
3592
|
+
# @return [Types::WebhookAuthConfiguration]
|
|
3593
|
+
#
|
|
3594
|
+
# @!attribute [rw] kms_key_identifier
|
|
3595
|
+
# Optional. The AWS KMS key that encrypts the EventSource's secret in
|
|
3596
|
+
# AWS Secrets Manager. Omit it to encrypt the secret with the AWS
|
|
3597
|
+
# managed key aws/secretsmanager. A key you supply must be an enabled
|
|
3598
|
+
# customer managed key in your account and Region. Changing it
|
|
3599
|
+
# re-encrypts the secret under the new key. The previous key can still
|
|
3600
|
+
# decrypt the stored versions until the credential is next rotated.
|
|
3601
|
+
# @return [String]
|
|
3602
|
+
#
|
|
3603
|
+
# @!attribute [rw] role_arn
|
|
3604
|
+
# IAM role the service assumes to put the webhook's events on the
|
|
3605
|
+
# event bus. Must belong to the calling account.
|
|
3606
|
+
# @return [String]
|
|
3607
|
+
#
|
|
3608
|
+
# @!attribute [rw] metadata_http_headers
|
|
3609
|
+
# The HTTP request headers to add to each event's metadata, up to 20.
|
|
3610
|
+
# Header names are case-insensitive and can't repeat. Each header is
|
|
3611
|
+
# added under its lowercase name. Omit the list to add no headers.
|
|
3612
|
+
# Headers that carry credentials or that describe the network path,
|
|
3613
|
+
# and the header that carries the static token, can't be listed.
|
|
3614
|
+
# @return [Array<String>]
|
|
3615
|
+
#
|
|
3616
|
+
# @!attribute [rw] deduplication_configuration
|
|
3617
|
+
# Optional. Deduplicates this EventSource's events on the event bus.
|
|
3618
|
+
# Omit it to deduplicate nothing.
|
|
3619
|
+
# @return [Types::WebhookDeduplicationConfiguration]
|
|
3620
|
+
#
|
|
3621
|
+
# @!attribute [rw] log_configuration
|
|
3622
|
+
# Optional. Controls the log records EventBridge delivers for this
|
|
3623
|
+
# EventSource's webhook requests. Omit it to deliver no logs. Logs
|
|
3624
|
+
# are delivered to the destinations you configure with Amazon
|
|
3625
|
+
# CloudWatch Logs vended log delivery.
|
|
3626
|
+
# @return [Types::LogConfiguration]
|
|
3627
|
+
#
|
|
3628
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/WebhookEventsSourceConfiguration AWS API Documentation
|
|
3629
|
+
#
|
|
3630
|
+
class WebhookEventsSourceConfiguration < Struct.new(
|
|
3631
|
+
:auth_configuration,
|
|
3632
|
+
:kms_key_identifier,
|
|
3633
|
+
:role_arn,
|
|
3634
|
+
:metadata_http_headers,
|
|
3635
|
+
:deduplication_configuration,
|
|
3636
|
+
:log_configuration)
|
|
3637
|
+
SENSITIVE = []
|
|
3638
|
+
include Aws::Structure
|
|
3639
|
+
end
|
|
3640
|
+
|
|
3641
|
+
# The provider signs each request with a hash-based message
|
|
3642
|
+
# authentication code (HMAC) of the secret. Amazon EventBridge accepts
|
|
3643
|
+
# the request if any signature in SignatureHttpHeader matches.
|
|
3644
|
+
#
|
|
3645
|
+
# @!attribute [rw] algorithm
|
|
3646
|
+
# The hash algorithm the provider uses to compute the signature.
|
|
3647
|
+
# @return [String]
|
|
3648
|
+
#
|
|
3649
|
+
# @!attribute [rw] encoding
|
|
3650
|
+
# How the provider encodes the signature in the header.
|
|
3651
|
+
# @return [String]
|
|
3652
|
+
#
|
|
3653
|
+
# @!attribute [rw] signature_http_header
|
|
3654
|
+
# The name of the header that carries the signature, for example
|
|
3655
|
+
# X-Hub-Signature-256. When TimestampHttpHeader names the same header,
|
|
3656
|
+
# Delimiter, SignaturePrefix and TimestampPrefix are all required.
|
|
3657
|
+
# Reserved names are rejected, as described on
|
|
3658
|
+
# StaticTokenAuthConfiguration's TokenHttpHeader.
|
|
3659
|
+
# @return [String]
|
|
3660
|
+
#
|
|
3661
|
+
# @!attribute [rw] signature_prefix
|
|
3662
|
+
# The text that precedes the signature in the header value, for
|
|
3663
|
+
# example sha256=. Required when TimestampHttpHeader is the same
|
|
3664
|
+
# header as SignatureHttpHeader.
|
|
3665
|
+
# @return [String]
|
|
3666
|
+
#
|
|
3667
|
+
# @!attribute [rw] delimiter
|
|
3668
|
+
# The separator between parts of the signature header value, for
|
|
3669
|
+
# example a comma for a header value of
|
|
3670
|
+
# t=1727816400,v1=<signature>, or a space when the header
|
|
3671
|
+
# carries several signatures. Required when TimestampHttpHeader is the
|
|
3672
|
+
# same header as SignatureHttpHeader.
|
|
3673
|
+
# @return [String]
|
|
3674
|
+
#
|
|
3675
|
+
# @!attribute [rw] timestamp_http_header
|
|
3676
|
+
# The name of the header that carries the request timestamp. Required
|
|
3677
|
+
# when SignedMessageComposition is TIMESTAMP\_DOT\_BODY or
|
|
3678
|
+
# MESSAGE\_ID\_DOT\_TIMESTAMP\_DOT\_BODY, or when
|
|
3679
|
+
# TimestampToleranceInSeconds is set. Not allowed when
|
|
3680
|
+
# SignedMessageComposition is BODY, because BODY does not sign the
|
|
3681
|
+
# timestamp. Reserved names are rejected, as described on
|
|
3682
|
+
# StaticTokenAuthConfiguration's TokenHttpHeader.
|
|
3683
|
+
# @return [String]
|
|
3684
|
+
#
|
|
3685
|
+
# @!attribute [rw] timestamp_prefix
|
|
3686
|
+
# The text that precedes the timestamp in the header value, for
|
|
3687
|
+
# example t=. Required when TimestampHttpHeader is the same header as
|
|
3688
|
+
# SignatureHttpHeader.
|
|
3689
|
+
# @return [String]
|
|
3690
|
+
#
|
|
3691
|
+
# @!attribute [rw] timestamp_tolerance_in_seconds
|
|
3692
|
+
# The maximum difference, in seconds, allowed between the request
|
|
3693
|
+
# timestamp and the time EventBridge receives the request. Requests
|
|
3694
|
+
# outside this window are rejected. The default is 300 seconds.
|
|
3695
|
+
# Requires TimestampHttpHeader. Not allowed when
|
|
3696
|
+
# SignedMessageComposition is BODY, because BODY does not sign the
|
|
3697
|
+
# timestamp.
|
|
3698
|
+
# @return [Integer]
|
|
3699
|
+
#
|
|
3700
|
+
# @!attribute [rw] message_id_http_header
|
|
3701
|
+
# The name of the header that carries the message ID. Required when
|
|
3702
|
+
# SignedMessageComposition is MESSAGE\_ID\_DOT\_TIMESTAMP\_DOT\_BODY.
|
|
3703
|
+
# Requests whose message ID contains a period (.) are rejected.
|
|
3704
|
+
# Reserved names are rejected, as described on
|
|
3705
|
+
# StaticTokenAuthConfiguration's TokenHttpHeader.
|
|
3706
|
+
# @return [String]
|
|
3707
|
+
#
|
|
3708
|
+
# @!attribute [rw] signed_message_composition
|
|
3709
|
+
# How the provider assembles the message it signs from the request.
|
|
3710
|
+
#
|
|
3711
|
+
# * BODY - The request body alone. BODY provides no replay protection.
|
|
3712
|
+
#
|
|
3713
|
+
# * TIMESTAMP\_DOT\_BODY - <timestamp>.<body>. Requires
|
|
3714
|
+
# TimestampHttpHeader.
|
|
3715
|
+
#
|
|
3716
|
+
# * MESSAGE\_ID\_DOT\_TIMESTAMP\_DOT\_BODY -
|
|
3717
|
+
# <messageId>.<timestamp>.<body>, as in the
|
|
3718
|
+
# Standard Webhooks specification. Requires TimestampHttpHeader and
|
|
3719
|
+
# MessageIdHttpHeader.
|
|
3720
|
+
# @return [String]
|
|
3721
|
+
#
|
|
3722
|
+
# @!attribute [rw] secret_value
|
|
3723
|
+
# The signing key shared with the provider. If you omit it,
|
|
3724
|
+
# EventBridge generates one. EventBridge stores the key only in AWS
|
|
3725
|
+
# Secrets Manager and never returns it, including from
|
|
3726
|
+
# DescribeEventSource. The key must be 16 to 512 bytes; with BASE64
|
|
3727
|
+
# SecretEncoding, this is measured after decoding.
|
|
3728
|
+
# @return [String]
|
|
3729
|
+
#
|
|
3730
|
+
# @!attribute [rw] secret_encoding
|
|
3731
|
+
# How the secret is encoded. RAW uses the secret's characters as the
|
|
3732
|
+
# signing key. BASE64 decodes the secret first, as providers that
|
|
3733
|
+
# follow the Standard Webhooks specification require. The default is
|
|
3734
|
+
# RAW.
|
|
3735
|
+
# @return [String]
|
|
3736
|
+
#
|
|
3737
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/WebhookHmacAuthConfiguration AWS API Documentation
|
|
3738
|
+
#
|
|
3739
|
+
class WebhookHmacAuthConfiguration < Struct.new(
|
|
3740
|
+
:algorithm,
|
|
3741
|
+
:encoding,
|
|
3742
|
+
:signature_http_header,
|
|
3743
|
+
:signature_prefix,
|
|
3744
|
+
:delimiter,
|
|
3745
|
+
:timestamp_http_header,
|
|
3746
|
+
:timestamp_prefix,
|
|
3747
|
+
:timestamp_tolerance_in_seconds,
|
|
3748
|
+
:message_id_http_header,
|
|
3749
|
+
:signed_message_composition,
|
|
3750
|
+
:secret_value,
|
|
3751
|
+
:secret_encoding)
|
|
3752
|
+
SENSITIVE = [:secret_value]
|
|
3753
|
+
include Aws::Structure
|
|
3754
|
+
end
|
|
3755
|
+
|
|
3756
|
+
# The provider sends the secret as the value of an HTTP header.
|
|
3757
|
+
#
|
|
3758
|
+
# @!attribute [rw] token_http_header
|
|
3759
|
+
# The name of the header that carries the secret, for example
|
|
3760
|
+
# X-Webhook-Secret. Reserved names are rejected: the names
|
|
3761
|
+
# EventBridge's edge writes, such as Host and the X-Forwarded-*
|
|
3762
|
+
# family, and the hop-by-hop and framing names an HTTP intermediary
|
|
3763
|
+
# may rewrite, such as Connection and Content-Length. Authorization is
|
|
3764
|
+
# allowed.
|
|
3765
|
+
# @return [String]
|
|
3766
|
+
#
|
|
3767
|
+
# @!attribute [rw] secret_value
|
|
3768
|
+
# The token the provider sends in the header. If you omit it,
|
|
3769
|
+
# EventBridge generates one. EventBridge stores the token only in AWS
|
|
3770
|
+
# Secrets Manager and never returns it, including from
|
|
3771
|
+
# DescribeEventSource. EventBridge compares it against the entire
|
|
3772
|
+
# header value, so a provider that sends Authorization: Bearer
|
|
3773
|
+
# <token> needs SecretValue to include the "Bearer " prefix.
|
|
3774
|
+
# @return [String]
|
|
3775
|
+
#
|
|
3776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridgev2-2025-05-15/WebhookStaticTokenAuthConfiguration AWS API Documentation
|
|
3777
|
+
#
|
|
3778
|
+
class WebhookStaticTokenAuthConfiguration < Struct.new(
|
|
3779
|
+
:token_http_header,
|
|
3780
|
+
:secret_value)
|
|
3781
|
+
SENSITIVE = [:secret_value]
|
|
3782
|
+
include Aws::Structure
|
|
3181
3783
|
end
|
|
3182
3784
|
|
|
3183
3785
|
end
|