@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,95 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { EventBridgeV2ClientConfig } from "./EventBridgeV2Client";
|
|
3
|
+
export declare const getRuntimeConfig: (config: EventBridgeV2ClientConfig) => {
|
|
4
|
+
cacheMiddleware?: boolean;
|
|
5
|
+
endpoint?:
|
|
6
|
+
| ((
|
|
7
|
+
| string
|
|
8
|
+
| import("@smithy/types").Endpoint
|
|
9
|
+
| import("@smithy/types").EndpointV2
|
|
10
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
11
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
12
|
+
) &
|
|
13
|
+
(
|
|
14
|
+
| string
|
|
15
|
+
| import("@smithy/types").Endpoint
|
|
16
|
+
| import("@smithy/types").EndpointV2
|
|
17
|
+
| import("@smithy/types").Provider<string>
|
|
18
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
19
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
20
|
+
))
|
|
21
|
+
| undefined;
|
|
22
|
+
tls?: boolean;
|
|
23
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
24
|
+
serviceConfiguredEndpoint?: never;
|
|
25
|
+
accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
26
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
27
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
28
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
29
|
+
credentials?:
|
|
30
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
31
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
32
|
+
signer?:
|
|
33
|
+
| import("@smithy/types").RequestSigner
|
|
34
|
+
| ((
|
|
35
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
36
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
37
|
+
signingEscapePath?: boolean;
|
|
38
|
+
systemClockOffset?: number;
|
|
39
|
+
signingRegion?: string;
|
|
40
|
+
signerConstructor?: new (
|
|
41
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
42
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
43
|
+
) => import("@smithy/types").RequestSigner;
|
|
44
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
45
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
46
|
+
apiVersion: string;
|
|
47
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
48
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
49
|
+
disableHostPrefix: boolean;
|
|
50
|
+
endpointProvider: (
|
|
51
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
52
|
+
context?: {
|
|
53
|
+
logger?: import("@smithy/types").Logger;
|
|
54
|
+
},
|
|
55
|
+
) => import("@smithy/types").EndpointV2;
|
|
56
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EventBridgeV2HttpAuthSchemeProvider;
|
|
58
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
59
|
+
logger: import("@smithy/types").Logger;
|
|
60
|
+
protocol:
|
|
61
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
62
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
63
|
+
| typeof import("@aws-sdk/core/protocols").AwsSmithyRpcV2CborProtocol;
|
|
64
|
+
protocolSettings: {
|
|
65
|
+
[setting: string]: unknown;
|
|
66
|
+
defaultNamespace?: string;
|
|
67
|
+
};
|
|
68
|
+
serviceId: string;
|
|
69
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
70
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
71
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
72
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
73
|
+
profile?: string;
|
|
74
|
+
runtime: string;
|
|
75
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
76
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
77
|
+
>;
|
|
78
|
+
accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise<string>);
|
|
79
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
80
|
+
credentialDefaultProvider:
|
|
81
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
82
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
83
|
+
defaultUserAgentProvider: (
|
|
84
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
85
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
86
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
87
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
88
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
89
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
90
|
+
streamCollector: (
|
|
91
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
92
|
+
) => Promise<Uint8Array>;
|
|
93
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
94
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
95
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { EventBridgeV2ClientConfig } from "./EventBridgeV2Client";
|
|
3
|
+
export declare const getRuntimeConfig: (config: EventBridgeV2ClientConfig) => {
|
|
4
|
+
cacheMiddleware?: boolean;
|
|
5
|
+
endpoint?:
|
|
6
|
+
| ((
|
|
7
|
+
| string
|
|
8
|
+
| import("@smithy/types").Endpoint
|
|
9
|
+
| import("@smithy/types").EndpointV2
|
|
10
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
11
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
12
|
+
) &
|
|
13
|
+
(
|
|
14
|
+
| string
|
|
15
|
+
| import("@smithy/types").Endpoint
|
|
16
|
+
| import("@smithy/types").EndpointV2
|
|
17
|
+
| import("@smithy/types").Provider<string>
|
|
18
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
19
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
20
|
+
))
|
|
21
|
+
| undefined;
|
|
22
|
+
tls?: boolean;
|
|
23
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
24
|
+
serviceConfiguredEndpoint?: never;
|
|
25
|
+
accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
26
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
27
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
28
|
+
credentials?:
|
|
29
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
30
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
31
|
+
signer?:
|
|
32
|
+
| import("@smithy/types").RequestSigner
|
|
33
|
+
| ((
|
|
34
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
35
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
36
|
+
signingEscapePath?: boolean;
|
|
37
|
+
systemClockOffset?: number;
|
|
38
|
+
signingRegion?: string;
|
|
39
|
+
signerConstructor?: new (
|
|
40
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
41
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
42
|
+
) => import("@smithy/types").RequestSigner;
|
|
43
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
44
|
+
apiVersion: string;
|
|
45
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
46
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
47
|
+
disableHostPrefix: boolean;
|
|
48
|
+
endpointProvider: (
|
|
49
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
50
|
+
context?: {
|
|
51
|
+
logger?: import("@smithy/types").Logger;
|
|
52
|
+
},
|
|
53
|
+
) => import("@smithy/types").EndpointV2;
|
|
54
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EventBridgeV2HttpAuthSchemeProvider;
|
|
56
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
57
|
+
logger: import("@smithy/types").Logger;
|
|
58
|
+
protocol:
|
|
59
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
60
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
61
|
+
| typeof import("@aws-sdk/core/protocols").AwsSmithyRpcV2CborProtocol;
|
|
62
|
+
protocolSettings: {
|
|
63
|
+
[setting: string]: unknown;
|
|
64
|
+
defaultNamespace?: string;
|
|
65
|
+
};
|
|
66
|
+
serviceId: string;
|
|
67
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
68
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
69
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
70
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
71
|
+
runtime: string;
|
|
72
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
73
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
74
|
+
>;
|
|
75
|
+
accountIdEndpointMode:
|
|
76
|
+
| "disabled"
|
|
77
|
+
| "preferred"
|
|
78
|
+
| "required"
|
|
79
|
+
| import("@smithy/types").Provider<
|
|
80
|
+
import("@aws-sdk/core/account-id-endpoint").AccountIdEndpointMode
|
|
81
|
+
>;
|
|
82
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
83
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
84
|
+
credentialDefaultProvider:
|
|
85
|
+
| ((
|
|
86
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
87
|
+
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
|
|
88
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
89
|
+
defaultUserAgentProvider: (
|
|
90
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
91
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
92
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
93
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
94
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
95
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
96
|
+
streamCollector: (
|
|
97
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
98
|
+
) => Promise<Uint8Array>;
|
|
99
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
100
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
101
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
102
|
+
profile?: string;
|
|
103
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { EventBridgeV2ClientConfig } from "./EventBridgeV2Client";
|
|
2
|
+
export declare const getRuntimeConfig: (config: EventBridgeV2ClientConfig) => {
|
|
3
|
+
cacheMiddleware?: boolean;
|
|
4
|
+
endpoint?:
|
|
5
|
+
| ((
|
|
6
|
+
| string
|
|
7
|
+
| import("@smithy/types").Endpoint
|
|
8
|
+
| import("@smithy/types").EndpointV2
|
|
9
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
10
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
11
|
+
) &
|
|
12
|
+
(
|
|
13
|
+
| string
|
|
14
|
+
| import("@smithy/types").Endpoint
|
|
15
|
+
| import("@smithy/types").EndpointV2
|
|
16
|
+
| import("@smithy/types").Provider<string>
|
|
17
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
18
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
19
|
+
))
|
|
20
|
+
| undefined;
|
|
21
|
+
tls?: boolean;
|
|
22
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
23
|
+
serviceConfiguredEndpoint?: never;
|
|
24
|
+
accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
25
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
26
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
27
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
28
|
+
credentials?:
|
|
29
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
30
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
31
|
+
signer?:
|
|
32
|
+
| import("@smithy/types").RequestSigner
|
|
33
|
+
| ((
|
|
34
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
35
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
36
|
+
signingEscapePath?: boolean;
|
|
37
|
+
systemClockOffset?: number;
|
|
38
|
+
signingRegion?: string;
|
|
39
|
+
signerConstructor?: new (
|
|
40
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
41
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
42
|
+
) => import("@smithy/types").RequestSigner;
|
|
43
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
44
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
|
+
apiVersion: string;
|
|
46
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
47
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
48
|
+
disableHostPrefix: boolean;
|
|
49
|
+
endpointProvider: (
|
|
50
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
51
|
+
context?: {
|
|
52
|
+
logger?: import("@smithy/types").Logger;
|
|
53
|
+
},
|
|
54
|
+
) => import("@smithy/types").EndpointV2;
|
|
55
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EventBridgeV2HttpAuthSchemeProvider;
|
|
57
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
58
|
+
logger: import("@smithy/types").Logger;
|
|
59
|
+
protocol:
|
|
60
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
61
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
62
|
+
| typeof import("@aws-sdk/core/protocols").AwsSmithyRpcV2CborProtocol;
|
|
63
|
+
protocolSettings: {
|
|
64
|
+
[setting: string]: unknown;
|
|
65
|
+
defaultNamespace?: string;
|
|
66
|
+
};
|
|
67
|
+
serviceId: string;
|
|
68
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
69
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
70
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
71
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
72
|
+
profile?: string;
|
|
73
|
+
defaultsMode:
|
|
74
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>
|
|
75
|
+
| import("@smithy/core/client").DefaultsMode;
|
|
76
|
+
accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise<string>);
|
|
77
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
78
|
+
credentialDefaultProvider:
|
|
79
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
80
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
81
|
+
defaultUserAgentProvider: (
|
|
82
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
83
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
84
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
85
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
86
|
+
requestHandler:
|
|
87
|
+
| import("@smithy/fetch-http-handler").FetchHttpHandler
|
|
88
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
89
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
90
|
+
| Record<string, unknown>
|
|
91
|
+
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
92
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
93
|
+
streamCollector: (
|
|
94
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
95
|
+
) => Promise<Uint8Array>;
|
|
96
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
97
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
98
|
+
runtime: string;
|
|
99
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AwsSmithyRpcV2CborProtocol } from "@aws-sdk/core/protocols";
|
|
2
|
+
import { EventBridgeV2ClientConfig } from "./EventBridgeV2Client";
|
|
3
|
+
export declare const getRuntimeConfig: (config: EventBridgeV2ClientConfig) => {
|
|
4
|
+
apiVersion: string;
|
|
5
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
6
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
7
|
+
disableHostPrefix: boolean;
|
|
8
|
+
endpointProvider: (
|
|
9
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
|
+
context?: {
|
|
11
|
+
logger?: import("@smithy/types").Logger;
|
|
12
|
+
},
|
|
13
|
+
) => import("@smithy/types").EndpointV2;
|
|
14
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EventBridgeV2HttpAuthSchemeProvider;
|
|
16
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
17
|
+
logger: import("@smithy/types").Logger;
|
|
18
|
+
protocol:
|
|
19
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
20
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
21
|
+
| typeof AwsSmithyRpcV2CborProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
[setting: string]: unknown;
|
|
24
|
+
defaultNamespace?: string;
|
|
25
|
+
};
|
|
26
|
+
serviceId: string;
|
|
27
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
28
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
29
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
30
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
31
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventBridgeV2ExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
export interface RuntimeExtension {
|
|
3
|
+
configure(extensionConfiguration: EventBridgeV2ExtensionConfiguration): void;
|
|
4
|
+
}
|
|
5
|
+
export interface RuntimeExtensionsConfig {
|
|
6
|
+
extensions: RuntimeExtension[];
|
|
7
|
+
}
|
|
8
|
+
export declare const resolveRuntimeExtensions: (
|
|
9
|
+
runtimeConfig: any,
|
|
10
|
+
extensions: RuntimeExtension[],
|
|
11
|
+
) => any;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import {
|
|
3
|
+
StaticErrorSchema,
|
|
4
|
+
StaticOperationSchema,
|
|
5
|
+
StaticStructureSchema,
|
|
6
|
+
StaticUnionSchema,
|
|
7
|
+
} from "@smithy/types";
|
|
8
|
+
export declare var EventBridgeV2ServiceException$: StaticErrorSchema;
|
|
9
|
+
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
10
|
+
export declare var ConcurrentModificationException$: StaticErrorSchema;
|
|
11
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
12
|
+
export declare var IdempotentParameterMismatchException$: StaticErrorSchema;
|
|
13
|
+
export declare var InternalException$: StaticErrorSchema;
|
|
14
|
+
export declare var InvalidInputException$: StaticErrorSchema;
|
|
15
|
+
export declare var InvalidStateException$: StaticErrorSchema;
|
|
16
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
17
|
+
export declare var PolicyLengthExceededException$: StaticErrorSchema;
|
|
18
|
+
export declare var PublicPolicyException$: StaticErrorSchema;
|
|
19
|
+
export declare var ResourceAlreadyExistsException$: StaticErrorSchema;
|
|
20
|
+
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
21
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
22
|
+
export declare var SchemaRegistryUnavailableException$: StaticErrorSchema;
|
|
23
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
24
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
25
|
+
export declare var AwsServiceEventsSourceConfiguration$: StaticStructureSchema;
|
|
26
|
+
export declare var BatchConfiguration$: StaticStructureSchema;
|
|
27
|
+
export declare var ConfluentPublicRegistryConfiguration$: StaticStructureSchema;
|
|
28
|
+
export declare var CreateEventBusRequest$: StaticStructureSchema;
|
|
29
|
+
export declare var CreateEventBusResponse$: StaticStructureSchema;
|
|
30
|
+
export declare var CreateEventSourceRequest$: StaticStructureSchema;
|
|
31
|
+
export declare var CreateEventSourceResponse$: StaticStructureSchema;
|
|
32
|
+
export declare var CreateSubscriberRequest$: StaticStructureSchema;
|
|
33
|
+
export declare var CreateSubscriberResponse$: StaticStructureSchema;
|
|
34
|
+
export declare var DeduplicationConfiguration$: StaticStructureSchema;
|
|
35
|
+
export declare var DeleteEventBusRequest$: StaticStructureSchema;
|
|
36
|
+
export declare var DeleteEventBusResponse$: StaticStructureSchema;
|
|
37
|
+
export declare var DeleteEventSourceRequest$: StaticStructureSchema;
|
|
38
|
+
export declare var DeleteEventSourceResponse$: StaticStructureSchema;
|
|
39
|
+
export declare var DeleteResourcePolicyRequest$: StaticStructureSchema;
|
|
40
|
+
export declare var DeleteResourcePolicyResponse$: StaticStructureSchema;
|
|
41
|
+
export declare var DeleteSubscriberRequest$: StaticStructureSchema;
|
|
42
|
+
export declare var DeleteSubscriberResponse$: StaticStructureSchema;
|
|
43
|
+
export declare var DescribeEventBusRequest$: StaticStructureSchema;
|
|
44
|
+
export declare var DescribeEventBusResponse$: StaticStructureSchema;
|
|
45
|
+
export declare var DescribeEventSourceRequest$: StaticStructureSchema;
|
|
46
|
+
export declare var DescribeEventSourceResponse$: StaticStructureSchema;
|
|
47
|
+
export declare var DescribeSubscriberRequest$: StaticStructureSchema;
|
|
48
|
+
export declare var DescribeSubscriberResponse$: StaticStructureSchema;
|
|
49
|
+
export declare var EncryptionConfiguration$: StaticStructureSchema;
|
|
50
|
+
export declare var EventBusSummary$: StaticStructureSchema;
|
|
51
|
+
export declare var EventBusV2Parameters$: StaticStructureSchema;
|
|
52
|
+
export declare var EventBusV2SystemMetadata$: StaticStructureSchema;
|
|
53
|
+
export declare var EventSourceSummary$: StaticStructureSchema;
|
|
54
|
+
export declare var Filter$: StaticStructureSchema;
|
|
55
|
+
export declare var FilterConfiguration$: StaticStructureSchema;
|
|
56
|
+
export declare var GetResourcePolicyRequest$: StaticStructureSchema;
|
|
57
|
+
export declare var GetResourcePolicyResponse$: StaticStructureSchema;
|
|
58
|
+
export declare var HttpParameters$: StaticStructureSchema;
|
|
59
|
+
export declare var InvokeConfiguration$: StaticStructureSchema;
|
|
60
|
+
export declare var JsonataConfiguration$: StaticStructureSchema;
|
|
61
|
+
export declare var KinesisParameters$: StaticStructureSchema;
|
|
62
|
+
export declare var LambdaParameters$: StaticStructureSchema;
|
|
63
|
+
export declare var ListEventBusesRequest$: StaticStructureSchema;
|
|
64
|
+
export declare var ListEventBusesResponse$: StaticStructureSchema;
|
|
65
|
+
export declare var ListEventSourcesRequest$: StaticStructureSchema;
|
|
66
|
+
export declare var ListEventSourcesResponse$: StaticStructureSchema;
|
|
67
|
+
export declare var ListResourcePoliciesRequest$: StaticStructureSchema;
|
|
68
|
+
export declare var ListResourcePoliciesResponse$: StaticStructureSchema;
|
|
69
|
+
export declare var ListSubscribersRequest$: StaticStructureSchema;
|
|
70
|
+
export declare var ListSubscribersResponse$: StaticStructureSchema;
|
|
71
|
+
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
72
|
+
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
73
|
+
export declare var LogConfiguration$: StaticStructureSchema;
|
|
74
|
+
export declare var OnFailureConfiguration$: StaticStructureSchema;
|
|
75
|
+
export declare var PartnerEventsSourceConfiguration$: StaticStructureSchema;
|
|
76
|
+
export declare var PointInTimeConfiguration$: StaticStructureSchema;
|
|
77
|
+
export declare var PutEventsRequest$: StaticStructureSchema;
|
|
78
|
+
export declare var PutEventsRequestEntry$: StaticStructureSchema;
|
|
79
|
+
export declare var PutEventsResponse$: StaticStructureSchema;
|
|
80
|
+
export declare var PutEventsResultEntry$: StaticStructureSchema;
|
|
81
|
+
export declare var PutEventsSystemMetadata$: StaticStructureSchema;
|
|
82
|
+
export declare var PutRawEventsRequest$: StaticStructureSchema;
|
|
83
|
+
export declare var PutRawEventsRequestEntry$: StaticStructureSchema;
|
|
84
|
+
export declare var PutRawEventsResponse$: StaticStructureSchema;
|
|
85
|
+
export declare var PutRawEventsResultEntry$: StaticStructureSchema;
|
|
86
|
+
export declare var PutRawEventsSystemMetadata$: StaticStructureSchema;
|
|
87
|
+
export declare var PutResourcePolicyRequest$: StaticStructureSchema;
|
|
88
|
+
export declare var PutResourcePolicyResponse$: StaticStructureSchema;
|
|
89
|
+
export declare var ResourcePolicySummary$: StaticStructureSchema;
|
|
90
|
+
export declare var RetryPolicy$: StaticStructureSchema;
|
|
91
|
+
export declare var RevokeResourceRequest$: StaticStructureSchema;
|
|
92
|
+
export declare var RevokeResourceResponse$: StaticStructureSchema;
|
|
93
|
+
export declare var SchemaRegistryConfiguration$: StaticStructureSchema;
|
|
94
|
+
export declare var SnsMessageAttributeValue$: StaticStructureSchema;
|
|
95
|
+
export declare var SnsParameters$: StaticStructureSchema;
|
|
96
|
+
export declare var SqsMessageAttributeValue$: StaticStructureSchema;
|
|
97
|
+
export declare var SqsParameters$: StaticStructureSchema;
|
|
98
|
+
export declare var StepFunctionsParameters$: StaticStructureSchema;
|
|
99
|
+
export declare var StorageConfiguration$: StaticStructureSchema;
|
|
100
|
+
export declare var StorageConfigurationOutput$: StaticStructureSchema;
|
|
101
|
+
export declare var SubscriberSummary$: StaticStructureSchema;
|
|
102
|
+
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
103
|
+
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
104
|
+
export declare var Transformer$: StaticStructureSchema;
|
|
105
|
+
export declare var UniversalTargetParameters$: StaticStructureSchema;
|
|
106
|
+
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
107
|
+
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
108
|
+
export declare var UpdateEventBusRequest$: StaticStructureSchema;
|
|
109
|
+
export declare var UpdateEventBusResponse$: StaticStructureSchema;
|
|
110
|
+
export declare var UpdateEventSourceRequest$: StaticStructureSchema;
|
|
111
|
+
export declare var UpdateEventSourceResponse$: StaticStructureSchema;
|
|
112
|
+
export declare var UpdateInvokeConfiguration$: StaticStructureSchema;
|
|
113
|
+
export declare var UpdateSubscriberRequest$: StaticStructureSchema;
|
|
114
|
+
export declare var UpdateSubscriberResponse$: StaticStructureSchema;
|
|
115
|
+
export declare var EventSourceConfiguration$: StaticUnionSchema;
|
|
116
|
+
export declare var CreateEventBus$: StaticOperationSchema;
|
|
117
|
+
export declare var CreateEventSource$: StaticOperationSchema;
|
|
118
|
+
export declare var CreateSubscriber$: StaticOperationSchema;
|
|
119
|
+
export declare var DeleteEventBus$: StaticOperationSchema;
|
|
120
|
+
export declare var DeleteEventSource$: StaticOperationSchema;
|
|
121
|
+
export declare var DeleteResourcePolicy$: StaticOperationSchema;
|
|
122
|
+
export declare var DeleteSubscriber$: StaticOperationSchema;
|
|
123
|
+
export declare var DescribeEventBus$: StaticOperationSchema;
|
|
124
|
+
export declare var DescribeEventSource$: StaticOperationSchema;
|
|
125
|
+
export declare var DescribeSubscriber$: StaticOperationSchema;
|
|
126
|
+
export declare var GetResourcePolicy$: StaticOperationSchema;
|
|
127
|
+
export declare var ListEventBuses$: StaticOperationSchema;
|
|
128
|
+
export declare var ListEventSources$: StaticOperationSchema;
|
|
129
|
+
export declare var ListResourcePolicies$: StaticOperationSchema;
|
|
130
|
+
export declare var ListSubscribers$: StaticOperationSchema;
|
|
131
|
+
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
132
|
+
export declare var PutEvents$: StaticOperationSchema;
|
|
133
|
+
export declare var PutRawEvents$: StaticOperationSchema;
|
|
134
|
+
export declare var PutResourcePolicy$: StaticOperationSchema;
|
|
135
|
+
export declare var RevokeResource$: StaticOperationSchema;
|
|
136
|
+
export declare var TagResource$: StaticOperationSchema;
|
|
137
|
+
export declare var UntagResource$: StaticOperationSchema;
|
|
138
|
+
export declare var UpdateEventBus$: StaticOperationSchema;
|
|
139
|
+
export declare var UpdateEventSource$: StaticOperationSchema;
|
|
140
|
+
export declare var UpdateSubscriber$: StaticOperationSchema;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import {
|
|
3
|
+
DescribeEventBusCommandInput,
|
|
4
|
+
DescribeEventBusCommandOutput,
|
|
5
|
+
} from "../commands/DescribeEventBusCommand";
|
|
6
|
+
import { EventBridgeV2Client } from "../EventBridgeV2Client";
|
|
7
|
+
import { EventBridgeV2ServiceException } from "../models/EventBridgeV2ServiceException";
|
|
8
|
+
export declare const waitForEventBusActive: (
|
|
9
|
+
params: WaiterConfiguration<EventBridgeV2Client>,
|
|
10
|
+
input: DescribeEventBusCommandInput,
|
|
11
|
+
) => Promise<WaiterResult<DescribeEventBusCommandOutput | EventBridgeV2ServiceException>>;
|
|
12
|
+
export declare const waitUntilEventBusActive: (
|
|
13
|
+
params: WaiterConfiguration<EventBridgeV2Client>,
|
|
14
|
+
input: DescribeEventBusCommandInput,
|
|
15
|
+
) => Promise<WaiterResult<DescribeEventBusCommandOutput>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import {
|
|
3
|
+
DescribeEventBusCommandInput,
|
|
4
|
+
DescribeEventBusCommandOutput,
|
|
5
|
+
} from "../commands/DescribeEventBusCommand";
|
|
6
|
+
import { EventBridgeV2Client } from "../EventBridgeV2Client";
|
|
7
|
+
import { ResourceNotFoundException } from "../models/errors";
|
|
8
|
+
import { EventBridgeV2ServiceException } from "../models/EventBridgeV2ServiceException";
|
|
9
|
+
export declare const waitForEventBusDeleted: (
|
|
10
|
+
params: WaiterConfiguration<EventBridgeV2Client>,
|
|
11
|
+
input: DescribeEventBusCommandInput,
|
|
12
|
+
) => Promise<WaiterResult<DescribeEventBusCommandOutput | EventBridgeV2ServiceException>>;
|
|
13
|
+
export declare const waitUntilEventBusDeleted: (
|
|
14
|
+
params: WaiterConfiguration<EventBridgeV2Client>,
|
|
15
|
+
input: DescribeEventBusCommandInput,
|
|
16
|
+
) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import { type DescribeEventBusCommandInput, type DescribeEventBusCommandOutput } from "../commands/DescribeEventBusCommand";
|
|
3
|
+
import type { EventBridgeV2Client } from "../EventBridgeV2Client";
|
|
4
|
+
import type { EventBridgeV2ServiceException } from "../models/EventBridgeV2ServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* Waits until the event bus reports ACTIVE. Use after CreateEventBus (bus starts in CREATING) or UpdateEventBus (bus moves to UPDATING) before invoking operations that require an ACTIVE bus. Fails fast on the terminal failure states CREATE_FAILED, UPDATE_FAILED, and DELETE_FAILED, surfacing StateReason. CREATING, UPDATING, and DELETING are intentionally unmodeled intermediate states that fall through to the implicit retry.
|
|
7
|
+
* @deprecated Use waitUntilEventBusActive instead. waitForEventBusActive does not throw error in non-success cases.
|
|
8
|
+
*/
|
|
9
|
+
export declare const waitForEventBusActive: (params: WaiterConfiguration<EventBridgeV2Client>, input: DescribeEventBusCommandInput) => Promise<WaiterResult<DescribeEventBusCommandOutput | EventBridgeV2ServiceException>>;
|
|
10
|
+
/**
|
|
11
|
+
* Waits until the event bus reports ACTIVE. Use after CreateEventBus (bus starts in CREATING) or UpdateEventBus (bus moves to UPDATING) before invoking operations that require an ACTIVE bus. Fails fast on the terminal failure states CREATE_FAILED, UPDATE_FAILED, and DELETE_FAILED, surfacing StateReason. CREATING, UPDATING, and DELETING are intentionally unmodeled intermediate states that fall through to the implicit retry.
|
|
12
|
+
* @param params - Waiter configuration options.
|
|
13
|
+
* @param input - The input to DescribeEventBusCommand for polling.
|
|
14
|
+
*/
|
|
15
|
+
export declare const waitUntilEventBusActive: (params: WaiterConfiguration<EventBridgeV2Client>, input: DescribeEventBusCommandInput) => Promise<WaiterResult<DescribeEventBusCommandOutput>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import { type DescribeEventBusCommandInput, type DescribeEventBusCommandOutput } from "../commands/DescribeEventBusCommand";
|
|
3
|
+
import type { EventBridgeV2Client } from "../EventBridgeV2Client";
|
|
4
|
+
import type { ResourceNotFoundException } from "../models/errors";
|
|
5
|
+
import type { EventBridgeV2ServiceException } from "../models/EventBridgeV2ServiceException";
|
|
6
|
+
/**
|
|
7
|
+
* Waits until the event bus is fully deleted, signaled by DescribeEventBus returning ResourceNotFoundException. Use after DeleteEventBus. Fails fast on the terminal DELETE_FAILED state, surfacing StateReason; retry DeleteEventBus after removing subscribers.
|
|
8
|
+
* @deprecated Use waitUntilEventBusDeleted instead. waitForEventBusDeleted does not throw error in non-success cases.
|
|
9
|
+
*/
|
|
10
|
+
export declare const waitForEventBusDeleted: (params: WaiterConfiguration<EventBridgeV2Client>, input: DescribeEventBusCommandInput) => Promise<WaiterResult<DescribeEventBusCommandOutput | EventBridgeV2ServiceException>>;
|
|
11
|
+
/**
|
|
12
|
+
* Waits until the event bus is fully deleted, signaled by DescribeEventBus returning ResourceNotFoundException. Use after DeleteEventBus. Fails fast on the terminal DELETE_FAILED state, surfacing StateReason; retry DeleteEventBus after removing subscribers.
|
|
13
|
+
* @param params - Waiter configuration options.
|
|
14
|
+
* @param input - The input to DescribeEventBusCommand for polling.
|
|
15
|
+
*/
|
|
16
|
+
export declare const waitUntilEventBusDeleted: (params: WaiterConfiguration<EventBridgeV2Client>, input: DescribeEventBusCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
|
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aws-sdk/client-eventbridgev2",
|
|
3
|
+
"version": "3.1140.0",
|
|
4
|
+
"description": "AWS SDK for JavaScript Eventbridgev2 Client for Node.js, Browser and React Native",
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-eventbridgev2",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-eventbridgev2"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
38
|
+
"build:cjs": "node ../../scripts/compilation/inline",
|
|
39
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
40
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
41
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
42
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
43
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
44
|
+
"extract:docs": "api-extractor run --local",
|
|
45
|
+
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
46
|
+
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
|
+
"tslib": "^2.6.2"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@tsconfig/node20": "20.1.8",
|
|
60
|
+
"@types/node": "^20.14.8",
|
|
61
|
+
"concurrently": "7.0.0",
|
|
62
|
+
"downlevel-dts": "0.10.1",
|
|
63
|
+
"premove": "4.0.0",
|
|
64
|
+
"typescript": "~7.0.2"
|
|
65
|
+
},
|
|
66
|
+
"engines": {
|
|
67
|
+
"node": ">=20.0.0"
|
|
68
|
+
}
|
|
69
|
+
}
|