@aws-sdk/client-eventbridge 3.451.0 → 3.458.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.
@@ -1821,6 +1821,7 @@ export interface DescribeRuleRequest {
1821
1821
  export declare const RuleState: {
1822
1822
  readonly DISABLED: "DISABLED";
1823
1823
  readonly ENABLED: "ENABLED";
1824
+ readonly ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS: "ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS";
1824
1825
  };
1825
1826
  /**
1826
1827
  * @public
@@ -1843,7 +1844,7 @@ export interface DescribeRuleResponse {
1843
1844
  /**
1844
1845
  * @public
1845
1846
  * <p>The event pattern. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events and Event
1846
- * Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
1847
+ * Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
1847
1848
  */
1848
1849
  EventPattern?: string;
1849
1850
  /**
@@ -2126,7 +2127,7 @@ export interface ListEndpointsRequest {
2126
2127
  }
2127
2128
  /**
2128
2129
  * @public
2129
- * <p>A global endpoint used to improve your application's availability by making it regional-fault tolerant. For more information about global endpoints, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-global-endpoints.html">Making applications Regional-fault tolerant with global endpoints and event replication</a> in the Amazon EventBridge User Guide.</p>
2130
+ * <p>A global endpoint used to improve your application's availability by making it regional-fault tolerant. For more information about global endpoints, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-global-endpoints.html">Making applications Regional-fault tolerant with global endpoints and event replication</a> in the <i>Amazon EventBridge User Guide</i>.</p>
2130
2131
  */
2131
2132
  export interface Endpoint {
2132
2133
  /**
@@ -2667,12 +2668,37 @@ export interface Rule {
2667
2668
  /**
2668
2669
  * @public
2669
2670
  * <p>The event pattern of the rule. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events and Event
2670
- * Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
2671
+ * Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
2671
2672
  */
2672
2673
  EventPattern?: string;
2673
2674
  /**
2674
2675
  * @public
2675
2676
  * <p>The state of the rule.</p>
2677
+ * <p>Valid values include:</p>
2678
+ * <ul>
2679
+ * <li>
2680
+ * <p>
2681
+ * <code>DISABLED</code>: The rule is disabled. EventBridge does not match any events against the rule.</p>
2682
+ * </li>
2683
+ * <li>
2684
+ * <p>
2685
+ * <code>ENABLED</code>: The rule is enabled.
2686
+ * EventBridge matches events against the rule, <i>except</i> for Amazon Web Services management events delivered through CloudTrail.</p>
2687
+ * </li>
2688
+ * <li>
2689
+ * <p>
2690
+ * <code>ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS</code>: The rule is enabled for all
2691
+ * events, including Amazon Web Services management events delivered through CloudTrail.</p>
2692
+ * <p>Management events provide visibility into management operations that are performed on
2693
+ * resources in your Amazon Web Services account. These are also known as control plane
2694
+ * operations. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html#logging-management-events">Logging management events</a> in the <i>CloudTrail User
2695
+ * Guide</i>, and <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html#eb-service-event-cloudtrail">Filtering management events from Amazon Web Services services</a> in the
2696
+ * <i>Amazon EventBridge User Guide</i>.</p>
2697
+ * <p>This value is only valid for rules on the <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is-how-it-works-concepts.html#eb-bus-concepts-buses">default</a> event bus
2698
+ * or <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-event-bus.html">custom event buses</a>.
2699
+ * It does not apply to <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-saas.html">partner event buses</a>.</p>
2700
+ * </li>
2701
+ * </ul>
2676
2702
  */
2677
2703
  State?: RuleState;
2678
2704
  /**
@@ -3241,7 +3267,7 @@ export interface KinesisParameters {
3241
3267
  }
3242
3268
  /**
3243
3269
  * @public
3244
- * <p>These are custom parameters to be used when the target is a Amazon Redshift cluster or Redshift Serverless workgroup to invoke the
3270
+ * <p>These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the
3245
3271
  * Amazon Redshift Data API ExecuteStatement based on EventBridge events.</p>
3246
3272
  */
3247
3273
  export interface RedshiftDataParameters {
@@ -3259,7 +3285,6 @@ export interface RedshiftDataParameters {
3259
3285
  /**
3260
3286
  * @public
3261
3287
  * <p>The database user name. Required when authenticating using temporary credentials.</p>
3262
- * <p>Do not provide this parameter when connecting to a Redshift Serverless workgroup.</p>
3263
3288
  */
3264
3289
  DbUser?: string;
3265
3290
  /**
@@ -3281,7 +3306,9 @@ export interface RedshiftDataParameters {
3281
3306
  WithEvent?: boolean;
3282
3307
  /**
3283
3308
  * @public
3284
- * A list of SQLs.
3309
+ * <p>One or more SQL statements to run. The SQL statements are run as a single transaction. They run serially in the order of the array.
3310
+ * Subsequent SQL statements don't start until the previous statement in the array completes.
3311
+ * If any SQL statement fails, then because they are run as one transaction, all work is rolled back.</p>
3285
3312
  */
3286
3313
  Sqls?: string[];
3287
3314
  }
@@ -3534,6 +3561,13 @@ export interface PutEventsRequestEntry {
3534
3561
  /**
3535
3562
  * @public
3536
3563
  * <p>The source of the event.</p>
3564
+ * <note>
3565
+ * <p>
3566
+ * <code>Detail</code>, <code>DetailType</code>, and <code>Source</code> are required for EventBridge to successfully send an event to an event bus.
3567
+ * If you include event entries in a request that do not include each of those properties, EventBridge fails that entry.
3568
+ * If you submit a request in which <i>none</i> of the entries have each of these properties, EventBridge fails the entire request.
3569
+ * </p>
3570
+ * </note>
3537
3571
  */
3538
3572
  Source?: string;
3539
3573
  /**
@@ -3545,12 +3579,26 @@ export interface PutEventsRequestEntry {
3545
3579
  /**
3546
3580
  * @public
3547
3581
  * <p>Free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.</p>
3582
+ * <note>
3583
+ * <p>
3584
+ * <code>Detail</code>, <code>DetailType</code>, and <code>Source</code> are required for EventBridge to successfully send an event to an event bus.
3585
+ * If you include event entries in a request that do not include each of those properties, EventBridge fails that entry.
3586
+ * If you submit a request in which <i>none</i> of the entries have each of these properties, EventBridge fails the entire request.
3587
+ * </p>
3588
+ * </note>
3548
3589
  */
3549
3590
  DetailType?: string;
3550
3591
  /**
3551
3592
  * @public
3552
3593
  * <p>A valid JSON object. There is no other schema imposed. The JSON object may contain fields
3553
- * and nested subobjects.</p>
3594
+ * and nested sub-objects.</p>
3595
+ * <note>
3596
+ * <p>
3597
+ * <code>Detail</code>, <code>DetailType</code>, and <code>Source</code> are required for EventBridge to successfully send an event to an event bus.
3598
+ * If you include event entries in a request that do not include each of those properties, EventBridge fails that entry.
3599
+ * If you submit a request in which <i>none</i> of the entries have each of these properties, EventBridge fails the entire request.
3600
+ * </p>
3601
+ * </note>
3554
3602
  */
3555
3603
  Detail?: string;
3556
3604
  /**
@@ -3559,9 +3607,9 @@ export interface PutEventsRequestEntry {
3559
3607
  * with this event bus are used to match the event. If you omit this, the default event bus is
3560
3608
  * used.</p>
3561
3609
  * <note>
3562
- * <p>If you're using a global endpoint with a custom bus, you must enter the name, not the ARN, of the event bus in either
3563
- * the primary or secondary Region here and the corresponding event bus in the
3564
- * other Region will be determined based on the endpoint referenced by the <code>EndpointId</code>.</p>
3610
+ * <p>If you're using a global endpoint with a custom bus, you can enter either the name or Amazon Resource Name (ARN) of the event bus
3611
+ * in either the primary or secondary Region here. EventBridge then determines the corresponding event bus in the
3612
+ * other Region based on the endpoint referenced by the <code>EndpointId</code>. Specifying the event bus ARN is preferred.</p>
3565
3613
  * </note>
3566
3614
  */
3567
3615
  EventBusName?: string;
@@ -3595,7 +3643,10 @@ export interface PutEventsRequest {
3595
3643
  }
3596
3644
  /**
3597
3645
  * @public
3598
- * <p>Represents an event that failed to be submitted. For information about the errors that are common to all actions, see
3646
+ * <p>Represents the results of an event submitted to an event bus.</p>
3647
+ * <p>If the submission was successful, the entry has the event ID in it.
3648
+ * Otherwise, you can use the error code and error message to identify the problem with the entry.</p>
3649
+ * <p>For information about the errors that are common to all actions, see
3599
3650
  * <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html">Common Errors</a>.</p>
3600
3651
  */
3601
3652
  export interface PutEventsResultEntry {
@@ -3607,6 +3658,72 @@ export interface PutEventsResultEntry {
3607
3658
  /**
3608
3659
  * @public
3609
3660
  * <p>The error code that indicates why the event submission failed.</p>
3661
+ * <p>Retryable errors include:</p>
3662
+ * <ul>
3663
+ * <li>
3664
+ * <p>
3665
+ * <code>
3666
+ * <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html">InternalFailure</a>
3667
+ * </code>
3668
+ * </p>
3669
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
3670
+ * </li>
3671
+ * <li>
3672
+ * <p>
3673
+ * <code>
3674
+ * <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html">ThrottlingException</a>
3675
+ * </code>
3676
+ * </p>
3677
+ * <p>The request was denied due to request throttling.</p>
3678
+ * </li>
3679
+ * </ul>
3680
+ * <p>Non-retryable errors include:</p>
3681
+ * <ul>
3682
+ * <li>
3683
+ * <p>
3684
+ * <code>
3685
+ * <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html">AccessDeniedException</a>
3686
+ * </code>
3687
+ * </p>
3688
+ * <p>You do not have sufficient access to perform this action.</p>
3689
+ * </li>
3690
+ * <li>
3691
+ * <p>
3692
+ * <code>InvalidAccountIdException</code>
3693
+ * </p>
3694
+ * <p>The account ID provided is not valid.</p>
3695
+ * </li>
3696
+ * <li>
3697
+ * <p>
3698
+ * <code>InvalidArgument</code>
3699
+ * </p>
3700
+ * <p>A specified parameter is not valid.</p>
3701
+ * </li>
3702
+ * <li>
3703
+ * <p>
3704
+ * <code>MalformedDetail</code>
3705
+ * </p>
3706
+ * <p>The JSON provided is not valid.</p>
3707
+ * </li>
3708
+ * <li>
3709
+ * <p>
3710
+ * <code>RedactionFailure</code>
3711
+ * </p>
3712
+ * <p>Redacting the CloudTrail event failed.</p>
3713
+ * </li>
3714
+ * <li>
3715
+ * <p>
3716
+ * <code>NotAuthorizedForSourceException</code>
3717
+ * </p>
3718
+ * <p>You do not have permissions to publish events with this source onto this event bus.</p>
3719
+ * </li>
3720
+ * <li>
3721
+ * <p>
3722
+ * <code>NotAuthorizedForDetailTypeException</code>
3723
+ * </p>
3724
+ * <p>You do not have permissions to publish events with this detail type onto this event bus.</p>
3725
+ * </li>
3726
+ * </ul>
3610
3727
  */
3611
3728
  ErrorCode?: string;
3612
3729
  /**
@@ -3646,6 +3763,13 @@ export interface PutPartnerEventsRequestEntry {
3646
3763
  /**
3647
3764
  * @public
3648
3765
  * <p>The event source that is generating the entry.</p>
3766
+ * <note>
3767
+ * <p>
3768
+ * <code>Detail</code>, <code>DetailType</code>, and <code>Source</code> are required for EventBridge to successfully send an event to an event bus.
3769
+ * If you include event entries in a request that do not include each of those properties, EventBridge fails that entry.
3770
+ * If you submit a request in which <i>none</i> of the entries have each of these properties, EventBridge fails the entire request.
3771
+ * </p>
3772
+ * </note>
3649
3773
  */
3650
3774
  Source?: string;
3651
3775
  /**
@@ -3657,12 +3781,26 @@ export interface PutPartnerEventsRequestEntry {
3657
3781
  /**
3658
3782
  * @public
3659
3783
  * <p>A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.</p>
3784
+ * <note>
3785
+ * <p>
3786
+ * <code>Detail</code>, <code>DetailType</code>, and <code>Source</code> are required for EventBridge to successfully send an event to an event bus.
3787
+ * If you include event entries in a request that do not include each of those properties, EventBridge fails that entry.
3788
+ * If you submit a request in which <i>none</i> of the entries have each of these properties, EventBridge fails the entire request.
3789
+ * </p>
3790
+ * </note>
3660
3791
  */
3661
3792
  DetailType?: string;
3662
3793
  /**
3663
3794
  * @public
3664
3795
  * <p>A valid JSON string. There is no other schema imposed. The JSON string may contain fields
3665
- * and nested subobjects.</p>
3796
+ * and nested sub-objects.</p>
3797
+ * <note>
3798
+ * <p>
3799
+ * <code>Detail</code>, <code>DetailType</code>, and <code>Source</code> are required for EventBridge to successfully send an event to an event bus.
3800
+ * If you include event entries in a request that do not include each of those properties, EventBridge fails that entry.
3801
+ * If you submit a request in which <i>none</i> of the entries have each of these properties, EventBridge fails the entire request.
3802
+ * </p>
3803
+ * </note>
3666
3804
  */
3667
3805
  Detail?: string;
3668
3806
  }
@@ -3678,7 +3816,9 @@ export interface PutPartnerEventsRequest {
3678
3816
  }
3679
3817
  /**
3680
3818
  * @public
3681
- * <p>Represents an event that a partner tried to generate, but failed.</p>
3819
+ * <p>The result of an event entry the partner submitted in this request.
3820
+ * If the event was successfully submitted, the entry has the event ID in it.
3821
+ * Otherwise, you can use the error code and error message to identify the problem with the entry.</p>
3682
3822
  */
3683
3823
  export interface PutPartnerEventsResultEntry {
3684
3824
  /**
@@ -3709,8 +3849,10 @@ export interface PutPartnerEventsResponse {
3709
3849
  FailedEntryCount?: number;
3710
3850
  /**
3711
3851
  * @public
3712
- * <p>The list of events from this operation that were successfully written to the partner event
3713
- * bus.</p>
3852
+ * <p>The results for each event entry the partner submitted in this request.
3853
+ * If the event was successfully submitted, the entry has the event ID in it.
3854
+ * Otherwise, you can use the error code and error message to identify the problem with the entry.</p>
3855
+ * <p>For each record, the index of the response element is the same as the index in the request array.</p>
3714
3856
  */
3715
3857
  Entries?: PutPartnerEventsResultEntry[];
3716
3858
  }
@@ -3832,12 +3974,37 @@ export interface PutRuleRequest {
3832
3974
  /**
3833
3975
  * @public
3834
3976
  * <p>The event pattern. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html">Amazon EventBridge event
3835
- * patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
3977
+ * patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
3836
3978
  */
3837
3979
  EventPattern?: string;
3838
3980
  /**
3839
3981
  * @public
3840
- * <p>Indicates whether the rule is enabled or disabled.</p>
3982
+ * <p>The state of the rule.</p>
3983
+ * <p>Valid values include:</p>
3984
+ * <ul>
3985
+ * <li>
3986
+ * <p>
3987
+ * <code>DISABLED</code>: The rule is disabled. EventBridge does not match any events against the rule.</p>
3988
+ * </li>
3989
+ * <li>
3990
+ * <p>
3991
+ * <code>ENABLED</code>: The rule is enabled.
3992
+ * EventBridge matches events against the rule, <i>except</i> for Amazon Web Services management events delivered through CloudTrail.</p>
3993
+ * </li>
3994
+ * <li>
3995
+ * <p>
3996
+ * <code>ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS</code>: The rule is enabled for all
3997
+ * events, including Amazon Web Services management events delivered through CloudTrail.</p>
3998
+ * <p>Management events provide visibility into management operations that are performed on
3999
+ * resources in your Amazon Web Services account. These are also known as control plane
4000
+ * operations. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html#logging-management-events">Logging management events</a> in the <i>CloudTrail User
4001
+ * Guide</i>, and <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html#eb-service-event-cloudtrail">Filtering management events from Amazon Web Services services</a> in the
4002
+ * <i>Amazon EventBridge User Guide</i>.</p>
4003
+ * <p>This value is only valid for rules on the <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is-how-it-works-concepts.html#eb-bus-concepts-buses">default</a> event bus
4004
+ * or <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-event-bus.html">custom event buses</a>.
4005
+ * It does not apply to <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-saas.html">partner event buses</a>.</p>
4006
+ * </li>
4007
+ * </ul>
3841
4008
  */
3842
4009
  State?: RuleState;
3843
4010
  /**
@@ -4115,7 +4282,7 @@ export interface TestEventPatternRequest {
4115
4282
  /**
4116
4283
  * @public
4117
4284
  * <p>The event pattern. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events and Event
4118
- * Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
4285
+ * Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
4119
4286
  */
4120
4287
  EventPattern: string | undefined;
4121
4288
  /**
@@ -518,6 +518,7 @@ export interface DescribeRuleRequest {
518
518
  export declare const RuleState: {
519
519
  readonly DISABLED: "DISABLED";
520
520
  readonly ENABLED: "ENABLED";
521
+ readonly ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS: "ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS";
521
522
  };
522
523
  export type RuleState = (typeof RuleState)[keyof typeof RuleState];
523
524
  export interface DescribeRuleResponse {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-eventbridge",
3
3
  "description": "AWS SDK for JavaScript Eventbridge Client for Node.js, Browser and React Native",
4
- "version": "3.451.0",
4
+ "version": "3.458.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -23,9 +23,9 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "3.0.0",
25
25
  "@aws-crypto/sha256-js": "3.0.0",
26
- "@aws-sdk/client-sts": "3.451.0",
26
+ "@aws-sdk/client-sts": "3.458.0",
27
27
  "@aws-sdk/core": "3.451.0",
28
- "@aws-sdk/credential-provider-node": "3.451.0",
28
+ "@aws-sdk/credential-provider-node": "3.458.0",
29
29
  "@aws-sdk/middleware-host-header": "3.451.0",
30
30
  "@aws-sdk/middleware-logger": "3.451.0",
31
31
  "@aws-sdk/middleware-recursion-detection": "3.451.0",