@aws-sdk/client-eventbridgev2 3.1172.0 → 3.1173.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.
- package/README.md +8 -7
- package/dist-cjs/index.js +286 -35
- package/dist-es/EventBridgeV2.js +4 -0
- package/dist-es/commands/RotateWebhookCredentialsCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +48 -7
- package/dist-es/schemas/schemas_0.js +161 -22
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForMskSubscriberActive.js +40 -0
- package/dist-types/EventBridgeV2.d.ts +14 -7
- package/dist-types/EventBridgeV2Client.d.ts +4 -9
- package/dist-types/commands/CreateEventBusCommand.d.ts +10 -17
- package/dist-types/commands/CreateEventSourceCommand.d.ts +55 -18
- package/dist-types/commands/CreateSubscriberCommand.d.ts +32 -18
- package/dist-types/commands/DeleteEventBusCommand.d.ts +9 -16
- package/dist-types/commands/DeleteEventSourceCommand.d.ts +8 -12
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +8 -20
- package/dist-types/commands/DeleteSubscriberCommand.d.ts +7 -10
- package/dist-types/commands/DescribeEventBusCommand.d.ts +6 -9
- package/dist-types/commands/DescribeEventSourceCommand.d.ts +50 -9
- package/dist-types/commands/DescribeSubscriberCommand.d.ts +27 -9
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -11
- package/dist-types/commands/ListEventBusesCommand.d.ts +5 -11
- package/dist-types/commands/ListEventSourcesCommand.d.ts +7 -12
- package/dist-types/commands/ListResourcePoliciesCommand.d.ts +6 -10
- package/dist-types/commands/ListSubscribersCommand.d.ts +6 -11
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -9
- package/dist-types/commands/PutEventsCommand.d.ts +7 -11
- package/dist-types/commands/PutRawEventsCommand.d.ts +8 -12
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +10 -39
- package/dist-types/commands/RevokeResourceCommand.d.ts +8 -15
- package/dist-types/commands/RotateWebhookCredentialsCommand.d.ts +104 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -13
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -12
- package/dist-types/commands/UpdateEventBusCommand.d.ts +8 -14
- package/dist-types/commands/UpdateEventSourceCommand.d.ts +49 -12
- package/dist-types/commands/UpdateSubscriberCommand.d.ts +30 -13
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -7
- package/dist-types/models/enums.d.ts +137 -21
- package/dist-types/models/errors.d.ts +15 -39
- package/dist-types/models/models_0.d.ts +848 -724
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/EventBridgeV2.d.ts +26 -0
- package/dist-types/ts3.4/EventBridgeV2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/RotateWebhookCredentialsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +64 -11
- package/dist-types/ts3.4/models/models_0.d.ts +174 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForMskSubscriberActive.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForMskSubscriberActive.d.ts +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import { type DescribeSubscriberCommandInput, type DescribeSubscriberCommandOutput } from "../commands/DescribeSubscriberCommand";
|
|
3
|
+
import type { EventBridgeV2Client } from "../EventBridgeV2Client";
|
|
4
|
+
import type { EventBridgeV2ServiceException } from "../models/EventBridgeV2ServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* Waits until an Amazon MSK subscriber's connectivity reports ACTIVE. Use after CreateSubscriber or UpdateSubscriber on a subscriber that targets an MSK cluster. Fails fast on PROVISION_FAILED, surfacing MskDetails.StateReason. PROVISIONING falls through to the implicit retry. Applies only to MSK subscribers; other subscribers return no MskDetails, so the waiter times out.
|
|
7
|
+
* @deprecated Use waitUntilMskSubscriberActive instead. waitForMskSubscriberActive does not throw error in non-success cases.
|
|
8
|
+
*/
|
|
9
|
+
export declare const waitForMskSubscriberActive: (params: WaiterConfiguration<EventBridgeV2Client>, input: DescribeSubscriberCommandInput) => Promise<WaiterResult<DescribeSubscriberCommandOutput | EventBridgeV2ServiceException>>;
|
|
10
|
+
/**
|
|
11
|
+
* Waits until an Amazon MSK subscriber's connectivity reports ACTIVE. Use after CreateSubscriber or UpdateSubscriber on a subscriber that targets an MSK cluster. Fails fast on PROVISION_FAILED, surfacing MskDetails.StateReason. PROVISIONING falls through to the implicit retry. Applies only to MSK subscribers; other subscribers return no MskDetails, so the waiter times out.
|
|
12
|
+
* @param params - Waiter configuration options.
|
|
13
|
+
* @param input - The input to DescribeSubscriberCommand for polling.
|
|
14
|
+
*/
|
|
15
|
+
export declare const waitUntilMskSubscriberActive: (params: WaiterConfiguration<EventBridgeV2Client>, input: DescribeSubscriberCommandInput) => Promise<WaiterResult<DescribeSubscriberCommandOutput>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-eventbridgev2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1173.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Eventbridgev2 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-eventbridgev2",
|
|
6
6
|
"license": "Apache-2.0",
|