@aws-sdk/client-eventbridgev2 3.1140.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/LICENSE +201 -0
- package/README.md +362 -0
- package/dist-cjs/index.js +1982 -0
- package/dist-es/EventBridgeV2.js +73 -0
- package/dist-es/EventBridgeV2Client.js +49 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +12 -0
- package/dist-es/commands/CreateEventBusCommand.js +4 -0
- package/dist-es/commands/CreateEventSourceCommand.js +4 -0
- package/dist-es/commands/CreateSubscriberCommand.js +4 -0
- package/dist-es/commands/DeleteEventBusCommand.js +4 -0
- package/dist-es/commands/DeleteEventSourceCommand.js +4 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
- package/dist-es/commands/DeleteSubscriberCommand.js +4 -0
- package/dist-es/commands/DescribeEventBusCommand.js +4 -0
- package/dist-es/commands/DescribeEventSourceCommand.js +4 -0
- package/dist-es/commands/DescribeSubscriberCommand.js +4 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
- package/dist-es/commands/ListEventBusesCommand.js +4 -0
- package/dist-es/commands/ListEventSourcesCommand.js +4 -0
- package/dist-es/commands/ListResourcePoliciesCommand.js +4 -0
- package/dist-es/commands/ListSubscribersCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
- package/dist-es/commands/PutEventsCommand.js +4 -0
- package/dist-es/commands/PutRawEventsCommand.js +4 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
- package/dist-es/commands/RevokeResourceCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateEventBusCommand.js +4 -0
- package/dist-es/commands/UpdateEventSourceCommand.js +4 -0
- package/dist-es/commands/UpdateSubscriberCommand.js +4 -0
- package/dist-es/commands/index.js +25 -0
- package/dist-es/endpoint/EndpointParameters.js +15 -0
- package/dist-es/endpoint/bdd.js +85 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +11 -0
- package/dist-es/models/EventBridgeV2ServiceException.js +8 -0
- package/dist-es/models/enums.js +78 -0
- package/dist-es/models/errors.js +217 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListEventBusesPaginator.js +4 -0
- package/dist-es/pagination/ListEventSourcesPaginator.js +4 -0
- package/dist-es/pagination/ListResourcePoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListSubscribersPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/runtimeConfig.browser.js +31 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +41 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +939 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForEventBusActive.js +58 -0
- package/dist-es/waiters/waitForEventBusDeleted.js +34 -0
- package/dist-types/EventBridgeV2.d.ts +242 -0
- package/dist-types/EventBridgeV2Client.d.ts +222 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +26 -0
- package/dist-types/commands/CreateEventBusCommand.d.ts +128 -0
- package/dist-types/commands/CreateEventSourceCommand.d.ts +135 -0
- package/dist-types/commands/CreateSubscriberCommand.d.ts +245 -0
- package/dist-types/commands/DeleteEventBusCommand.d.ts +100 -0
- package/dist-types/commands/DeleteEventSourceCommand.d.ts +94 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +106 -0
- package/dist-types/commands/DeleteSubscriberCommand.d.ts +90 -0
- package/dist-types/commands/DescribeEventBusCommand.d.ts +102 -0
- package/dist-types/commands/DescribeEventSourceCommand.d.ts +113 -0
- package/dist-types/commands/DescribeSubscriberCommand.d.ts +215 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +95 -0
- package/dist-types/commands/ListEventBusesCommand.d.ts +104 -0
- package/dist-types/commands/ListEventSourcesCommand.d.ts +107 -0
- package/dist-types/commands/ListResourcePoliciesCommand.d.ts +98 -0
- package/dist-types/commands/ListSubscribersCommand.d.ts +108 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/PutEventsCommand.d.ts +120 -0
- package/dist-types/commands/PutRawEventsCommand.d.ts +127 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +132 -0
- package/dist-types/commands/RevokeResourceCommand.d.ts +99 -0
- package/dist-types/commands/TagResourceCommand.d.ts +100 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +97 -0
- package/dist-types/commands/UpdateEventBusCommand.d.ts +117 -0
- package/dist-types/commands/UpdateEventSourceCommand.d.ts +118 -0
- package/dist-types/commands/UpdateSubscriberCommand.d.ts +224 -0
- package/dist-types/commands/index.d.ts +25 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +63 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +25 -0
- package/dist-types/models/EventBridgeV2ServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +250 -0
- package/dist-types/models/errors.d.ts +227 -0
- package/dist-types/models/models_0.d.ts +2532 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListEventBusesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventSourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourcePoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSubscribersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +59 -0
- package/dist-types/runtimeConfig.d.ts +59 -0
- package/dist-types/runtimeConfig.native.d.ts +58 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +140 -0
- package/dist-types/ts3.4/EventBridgeV2.d.ts +484 -0
- package/dist-types/ts3.4/EventBridgeV2Client.d.ts +253 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateEventSourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateSubscriberCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteEventSourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteSubscriberCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeSubscriberCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListSubscribersCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutRawEventsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/RevokeResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateEventBusCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateEventSourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateSubscriberCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +25 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +64 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +14 -0
- package/dist-types/ts3.4/models/EventBridgeV2ServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +95 -0
- package/dist-types/ts3.4/models/errors.d.ts +98 -0
- package/dist-types/ts3.4/models/models_0.d.ts +552 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListEventBusesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourcePoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSubscribersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +103 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +140 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForEventBusActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForEventBusDeleted.d.ts +16 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForEventBusActive.d.ts +15 -0
- package/dist-types/waiters/waitForEventBusDeleted.d.ts +16 -0
- package/package.json +69 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
7
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
8
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
10
|
+
accountId?: string | undefined | Provider<string | undefined>;
|
|
11
|
+
accountIdEndpointMode?: string | undefined | Provider<string | undefined>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
17
|
+
defaultSigningName: string;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
export declare const commonParams: {
|
|
27
|
+
readonly UseFIPS: {
|
|
28
|
+
readonly type: "builtInParams";
|
|
29
|
+
readonly name: "useFipsEndpoint";
|
|
30
|
+
};
|
|
31
|
+
readonly AccountId: {
|
|
32
|
+
readonly type: "builtInParams";
|
|
33
|
+
readonly name: "accountId";
|
|
34
|
+
};
|
|
35
|
+
readonly Endpoint: {
|
|
36
|
+
readonly type: "builtInParams";
|
|
37
|
+
readonly name: "endpoint";
|
|
38
|
+
};
|
|
39
|
+
readonly Region: {
|
|
40
|
+
readonly type: "builtInParams";
|
|
41
|
+
readonly name: "region";
|
|
42
|
+
};
|
|
43
|
+
readonly UseDualStack: {
|
|
44
|
+
readonly type: "builtInParams";
|
|
45
|
+
readonly name: "useDualstackEndpoint";
|
|
46
|
+
};
|
|
47
|
+
readonly AccountIdEndpointMode: {
|
|
48
|
+
readonly type: "builtInParams";
|
|
49
|
+
readonly name: "accountIdEndpointMode";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
56
|
+
Region: string;
|
|
57
|
+
Endpoint?: string | undefined;
|
|
58
|
+
UseFIPS?: boolean | undefined;
|
|
59
|
+
UseDualStack?: boolean | undefined;
|
|
60
|
+
AccountId?: string | undefined;
|
|
61
|
+
EventBusArn?: string | undefined;
|
|
62
|
+
AccountIdEndpointMode?: string | undefined;
|
|
63
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
7
|
+
logger?: Logger;
|
|
8
|
+
}) => EndpointV2;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface EventBridgeV2ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon EventBridge event bus API. An event bus receives events published by
|
|
3
|
+
* your applications and AWS services, stores them for a configurable retention
|
|
4
|
+
* period, and delivers them to subscribers. A subscriber filters events,
|
|
5
|
+
* optionally transforms them, and invokes a target such as Lambda, SQS, SNS,
|
|
6
|
+
* Kinesis, Step Functions, or an HTTP endpoint. The API manages event buses,
|
|
7
|
+
* subscribers, event sources, resource policies, and tags, and publishes
|
|
8
|
+
* events through PutEvents and PutRawEvents.
|
|
9
|
+
*
|
|
10
|
+
* @packageDocumentation
|
|
11
|
+
*/
|
|
12
|
+
export * from "./EventBridgeV2Client";
|
|
13
|
+
export * from "./EventBridgeV2";
|
|
14
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
15
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
16
|
+
export type { EventBridgeV2ExtensionConfiguration } from "./extensionConfiguration";
|
|
17
|
+
export * from "./commands";
|
|
18
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
19
|
+
export * from "./pagination";
|
|
20
|
+
export * from "./waiters";
|
|
21
|
+
export * from "./schemas/schemas_0";
|
|
22
|
+
export * from "./models/enums";
|
|
23
|
+
export * from "./models/errors";
|
|
24
|
+
export * from "./models/models_0";
|
|
25
|
+
export { EventBridgeV2ServiceException } from "./models/EventBridgeV2ServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from EventBridgeV2 service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class EventBridgeV2ServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const BusState: {
|
|
6
|
+
readonly ACTIVE: "ACTIVE";
|
|
7
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
8
|
+
readonly CREATING: "CREATING";
|
|
9
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
10
|
+
readonly DELETING: "DELETING";
|
|
11
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
12
|
+
readonly UPDATING: "UPDATING";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export type BusState = (typeof BusState)[keyof typeof BusState];
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
* @enum
|
|
21
|
+
*/
|
|
22
|
+
export declare const EventSourceState: {
|
|
23
|
+
readonly ACTIVE: "ACTIVE";
|
|
24
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
25
|
+
readonly CREATING: "CREATING";
|
|
26
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
27
|
+
readonly DELETING: "DELETING";
|
|
28
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
29
|
+
readonly UPDATING: "UPDATING";
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export type EventSourceState = (typeof EventSourceState)[keyof typeof EventSourceState];
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
* @enum
|
|
38
|
+
*/
|
|
39
|
+
export declare const FilterScope: {
|
|
40
|
+
readonly DATA: "DATA";
|
|
41
|
+
readonly METADATA: "METADATA";
|
|
42
|
+
readonly SYSTEM_METADATA: "SYSTEM_METADATA";
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export type FilterScope = (typeof FilterScope)[keyof typeof FilterScope];
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
* @enum
|
|
51
|
+
*/
|
|
52
|
+
export declare const FilterLanguage: {
|
|
53
|
+
readonly EVENT_BRIDGE_PATTERN: "EVENT_BRIDGE_PATTERN";
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export type FilterLanguage = (typeof FilterLanguage)[keyof typeof FilterLanguage];
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
* @enum
|
|
62
|
+
*/
|
|
63
|
+
export declare const DeduplicationType: {
|
|
64
|
+
readonly CONTENT_BASED: "CONTENT_BASED";
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export type DeduplicationType = (typeof DeduplicationType)[keyof typeof DeduplicationType];
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
* @enum
|
|
73
|
+
*/
|
|
74
|
+
export declare const InvocationType: {
|
|
75
|
+
readonly EVENT: "EVENT";
|
|
76
|
+
readonly REQUEST_RESPONSE: "REQUEST_RESPONSE";
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export type InvocationType = (typeof InvocationType)[keyof typeof InvocationType];
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
* @enum
|
|
85
|
+
*/
|
|
86
|
+
export declare const IncludePayload: {
|
|
87
|
+
readonly FULL: "FULL";
|
|
88
|
+
readonly ON_ERROR_ONLY: "ON_ERROR_ONLY";
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export type IncludePayload = (typeof IncludePayload)[keyof typeof IncludePayload];
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* @enum
|
|
97
|
+
*/
|
|
98
|
+
export declare const LogLevel: {
|
|
99
|
+
readonly ERROR: "ERROR";
|
|
100
|
+
readonly INFO: "INFO";
|
|
101
|
+
readonly OFF: "OFF";
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
* @enum
|
|
110
|
+
*/
|
|
111
|
+
export declare const PointType: {
|
|
112
|
+
/**
|
|
113
|
+
* Start from the earliest available event.
|
|
114
|
+
*/
|
|
115
|
+
readonly HORIZON: "HORIZON";
|
|
116
|
+
/**
|
|
117
|
+
* Start from a specific timestamp.
|
|
118
|
+
*/
|
|
119
|
+
readonly TIMESTAMP: "TIMESTAMP";
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export type PointType = (typeof PointType)[keyof typeof PointType];
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
* @enum
|
|
128
|
+
*/
|
|
129
|
+
export declare const RetryStrategy: {
|
|
130
|
+
/**
|
|
131
|
+
* Retry all exceptions regardless of classification.
|
|
132
|
+
*/
|
|
133
|
+
readonly ALL: "ALL";
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export type RetryStrategy = (typeof RetryStrategy)[keyof typeof RetryStrategy];
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
* @enum
|
|
142
|
+
*/
|
|
143
|
+
export declare const StartingPosition: {
|
|
144
|
+
/**
|
|
145
|
+
* Start from the latest events.
|
|
146
|
+
*/
|
|
147
|
+
readonly LATEST: "LATEST";
|
|
148
|
+
/**
|
|
149
|
+
* Start from a specific point in time.
|
|
150
|
+
*/
|
|
151
|
+
readonly POINT_IN_TIME: "POINT_IN_TIME";
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
export type StartingPosition = (typeof StartingPosition)[keyof typeof StartingPosition];
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
* @enum
|
|
160
|
+
*/
|
|
161
|
+
export declare const SubscriberState: {
|
|
162
|
+
readonly RUNNING: "RUNNING";
|
|
163
|
+
readonly STOPPED: "STOPPED";
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export type SubscriberState = (typeof SubscriberState)[keyof typeof SubscriberState];
|
|
169
|
+
/**
|
|
170
|
+
* @public
|
|
171
|
+
* @enum
|
|
172
|
+
*/
|
|
173
|
+
export declare const TransformerType: {
|
|
174
|
+
/**
|
|
175
|
+
* Transform the event using a JSONata expression.
|
|
176
|
+
*/
|
|
177
|
+
readonly JSONATA: "JSONATA";
|
|
178
|
+
/**
|
|
179
|
+
* Deliver the raw event payload.
|
|
180
|
+
*/
|
|
181
|
+
readonly RAW: "RAW";
|
|
182
|
+
/**
|
|
183
|
+
* Deliver the event with metadata envelope.
|
|
184
|
+
*/
|
|
185
|
+
readonly WITH_METADATA: "WITH_METADATA";
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
export type TransformerType = (typeof TransformerType)[keyof typeof TransformerType];
|
|
191
|
+
/**
|
|
192
|
+
* @public
|
|
193
|
+
* @enum
|
|
194
|
+
*/
|
|
195
|
+
export declare const OrderingType: {
|
|
196
|
+
readonly FIFO: "FIFO";
|
|
197
|
+
readonly UNORDERED: "UNORDERED";
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
export type OrderingType = (typeof OrderingType)[keyof typeof OrderingType];
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
* @enum
|
|
206
|
+
*/
|
|
207
|
+
export declare const EventSourceType: {
|
|
208
|
+
readonly AWS_SERVICE_EVENTS: "AWS_SERVICE_EVENTS";
|
|
209
|
+
readonly PARTNER_EVENTS: "PARTNER_EVENTS";
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* @public
|
|
213
|
+
*/
|
|
214
|
+
export type EventSourceType = (typeof EventSourceType)[keyof typeof EventSourceType];
|
|
215
|
+
/**
|
|
216
|
+
* @public
|
|
217
|
+
* @enum
|
|
218
|
+
*/
|
|
219
|
+
export declare const SuccessCode: {
|
|
220
|
+
/**
|
|
221
|
+
* The event was identified as a duplicate and was not re-published.
|
|
222
|
+
*/
|
|
223
|
+
readonly DEDUPLICATED: "DEDUPLICATED";
|
|
224
|
+
/**
|
|
225
|
+
* The event was published to the message store.
|
|
226
|
+
*/
|
|
227
|
+
readonly PUBLISHED: "PUBLISHED";
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
export type SuccessCode = (typeof SuccessCode)[keyof typeof SuccessCode];
|
|
233
|
+
/**
|
|
234
|
+
* @public
|
|
235
|
+
* @enum
|
|
236
|
+
*/
|
|
237
|
+
export declare const ResumePosition: {
|
|
238
|
+
/**
|
|
239
|
+
* Continue delivery from where it stopped (last persisted progress).
|
|
240
|
+
*/
|
|
241
|
+
readonly LAST_PROCESSED: "LAST_PROCESSED";
|
|
242
|
+
/**
|
|
243
|
+
* Skip the backlog accrued while stopped; deliver only new events (resume at the tip).
|
|
244
|
+
*/
|
|
245
|
+
readonly LATEST: "LATEST";
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
export type ResumePosition = (typeof ResumePosition)[keyof typeof ResumePosition];
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
+
import { EventBridgeV2ServiceException as __BaseException } from "./EventBridgeV2ServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* The caller does not have the permissions required to perform the operation.
|
|
5
|
+
* This error is also returned when the operation cannot use the AWS KMS key for
|
|
6
|
+
* the event bus.
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
readonly name: "AccessDeniedException";
|
|
11
|
+
readonly $fault: "client";
|
|
12
|
+
Message?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Another change to the resource is already in progress. Retry the request.
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
23
|
+
readonly name: "ConcurrentModificationException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
$retryable: {};
|
|
26
|
+
Message?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The request reuses the client token of an earlier request with different
|
|
34
|
+
* parameters. Use a new client token, or resend the earlier request unchanged.
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
38
|
+
readonly name: "IdempotentParameterMismatchException";
|
|
39
|
+
readonly $fault: "client";
|
|
40
|
+
Message?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* The request failed because of an internal service error. Retry the request.
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export declare class InternalException extends __BaseException {
|
|
51
|
+
readonly name: "InternalException";
|
|
52
|
+
readonly $fault: "server";
|
|
53
|
+
$retryable: {};
|
|
54
|
+
Message?: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* A request parameter is missing or not valid.
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export declare class InvalidInputException extends __BaseException {
|
|
65
|
+
readonly name: "InvalidInputException";
|
|
66
|
+
readonly $fault: "client";
|
|
67
|
+
Message?: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* The resource is not in a state that allows the operation. For example, an
|
|
75
|
+
* event bus that is still being created cannot accept events.
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class InvalidStateException extends __BaseException {
|
|
79
|
+
readonly name: "InvalidStateException";
|
|
80
|
+
readonly $fault: "client";
|
|
81
|
+
Message?: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* The request would exceed a service quota for the account.
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class LimitExceededException extends __BaseException {
|
|
92
|
+
readonly name: "LimitExceededException";
|
|
93
|
+
readonly $fault: "client";
|
|
94
|
+
Message?: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* A resource with the same name already exists.
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
105
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
106
|
+
readonly $fault: "client";
|
|
107
|
+
Message?: string | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
115
|
+
* request with backoff.
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export declare class ThrottlingException extends __BaseException {
|
|
119
|
+
readonly name: "ThrottlingException";
|
|
120
|
+
readonly $fault: "client";
|
|
121
|
+
$retryable: {
|
|
122
|
+
throttling: boolean;
|
|
123
|
+
};
|
|
124
|
+
Message?: string | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
128
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* The resource does not exist.
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
135
|
+
readonly name: "ResourceNotFoundException";
|
|
136
|
+
readonly $fault: "client";
|
|
137
|
+
Message?: string | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* @internal
|
|
140
|
+
*/
|
|
141
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* The resource is in use and cannot be deleted. For example, an event bus with
|
|
145
|
+
* subscribers or event sources cannot be deleted until they are deleted.
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
149
|
+
readonly name: "ResourceInUseException";
|
|
150
|
+
readonly $fault: "client";
|
|
151
|
+
Message?: string | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* @internal
|
|
154
|
+
*/
|
|
155
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* A client-supplied precondition (e.g. ExpectedRevisionId on a resource-policy
|
|
159
|
+
* write) did not match the current state of the resource. Retrying the same
|
|
160
|
+
* request will fail again; re-read the resource and re-evaluate before retrying.
|
|
161
|
+
*
|
|
162
|
+
* A conditional request is not retry-safe on its own. If an earlier attempt
|
|
163
|
+
* committed but its response never reached the caller, retrying fails with this
|
|
164
|
+
* error, which is indistinguishable from another writer having won. Compare the
|
|
165
|
+
* resource's current contents with what the request intended: a successful
|
|
166
|
+
* attempt stores a revision ID the caller never saw, so the revision alone
|
|
167
|
+
* cannot tell the two apart, but matching contents mean the change took effect.
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export declare class ConflictException extends __BaseException {
|
|
171
|
+
readonly name: "ConflictException";
|
|
172
|
+
readonly $fault: "client";
|
|
173
|
+
Message?: string | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* @internal
|
|
176
|
+
*/
|
|
177
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* The configured schema registry could not be reached. Retry the request.
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
export declare class SchemaRegistryUnavailableException extends __BaseException {
|
|
184
|
+
readonly name: "SchemaRegistryUnavailableException";
|
|
185
|
+
readonly $fault: "client";
|
|
186
|
+
$retryable: {};
|
|
187
|
+
Message?: string | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* @internal
|
|
190
|
+
*/
|
|
191
|
+
constructor(opts: __ExceptionOptionType<SchemaRegistryUnavailableException, __BaseException>);
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* The policy document is larger than the account's resource policy size quota, or
|
|
195
|
+
* larger than the service maximum.
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
export declare class PolicyLengthExceededException extends __BaseException {
|
|
199
|
+
readonly name: "PolicyLengthExceededException";
|
|
200
|
+
readonly $fault: "client";
|
|
201
|
+
Message?: string | undefined;
|
|
202
|
+
/**
|
|
203
|
+
* @internal
|
|
204
|
+
*/
|
|
205
|
+
constructor(opts: __ExceptionOptionType<PolicyLengthExceededException, __BaseException>);
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* The policy was rejected because it would grant public access to the event bus.
|
|
209
|
+
* A statement grants public access when its principal is a wildcard and no
|
|
210
|
+
* condition limits the callers to specific AWS accounts or principals. To fix
|
|
211
|
+
* it, replace the wildcard principal with specific principals, or add a
|
|
212
|
+
* condition that limits the callers to specific AWS accounts. Conditions on
|
|
213
|
+
* event content (events:source, events:detail-type, events:Metadata/*) do not
|
|
214
|
+
* identify the caller and do not make a wildcard principal non-public. Returned
|
|
215
|
+
* only for the "default" policy; the "AWS_RAM" policy is composed by AWS
|
|
216
|
+
* Resource Access Manager and never grants public access.
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
export declare class PublicPolicyException extends __BaseException {
|
|
220
|
+
readonly name: "PublicPolicyException";
|
|
221
|
+
readonly $fault: "client";
|
|
222
|
+
Message?: string | undefined;
|
|
223
|
+
/**
|
|
224
|
+
* @internal
|
|
225
|
+
*/
|
|
226
|
+
constructor(opts: __ExceptionOptionType<PublicPolicyException, __BaseException>);
|
|
227
|
+
}
|