@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,552 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BusState,
|
|
3
|
+
DeduplicationType,
|
|
4
|
+
EventSourceState,
|
|
5
|
+
EventSourceType,
|
|
6
|
+
FilterLanguage,
|
|
7
|
+
FilterScope,
|
|
8
|
+
IncludePayload,
|
|
9
|
+
InvocationType,
|
|
10
|
+
LogLevel,
|
|
11
|
+
OrderingType,
|
|
12
|
+
PointType,
|
|
13
|
+
ResumePosition,
|
|
14
|
+
RetryStrategy,
|
|
15
|
+
StartingPosition,
|
|
16
|
+
SubscriberState,
|
|
17
|
+
SuccessCode,
|
|
18
|
+
TransformerType,
|
|
19
|
+
} from "./enums";
|
|
20
|
+
export interface EncryptionConfiguration {
|
|
21
|
+
KmsKeyIdentifier?: string | undefined;
|
|
22
|
+
}
|
|
23
|
+
export interface StorageConfiguration {
|
|
24
|
+
RetentionPeriodInDays?: number | undefined;
|
|
25
|
+
}
|
|
26
|
+
export interface CreateEventBusRequest {
|
|
27
|
+
Name: string | undefined;
|
|
28
|
+
Description?: string | undefined;
|
|
29
|
+
EncryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
30
|
+
StorageConfiguration?: StorageConfiguration | undefined;
|
|
31
|
+
Tags?: Record<string, string> | undefined;
|
|
32
|
+
ClientToken?: string | undefined;
|
|
33
|
+
}
|
|
34
|
+
export interface StorageConfigurationOutput {
|
|
35
|
+
RetentionPeriodInDays?: number | undefined;
|
|
36
|
+
RetentionWindowStartTime?: Date | undefined;
|
|
37
|
+
}
|
|
38
|
+
export interface CreateEventBusResponse {
|
|
39
|
+
EventBusArn?: string | undefined;
|
|
40
|
+
Name?: string | undefined;
|
|
41
|
+
Description?: string | undefined;
|
|
42
|
+
EncryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
43
|
+
StorageConfiguration?: StorageConfigurationOutput | undefined;
|
|
44
|
+
State?: BusState | undefined;
|
|
45
|
+
StateReason?: string | undefined;
|
|
46
|
+
CreationTime?: Date | undefined;
|
|
47
|
+
}
|
|
48
|
+
export interface OnFailureConfiguration {
|
|
49
|
+
Arn?: string | undefined;
|
|
50
|
+
}
|
|
51
|
+
export interface AwsServiceEventsSourceConfiguration {
|
|
52
|
+
AwsService: string | undefined;
|
|
53
|
+
Pattern?: string | undefined;
|
|
54
|
+
OnFailureConfiguration?: OnFailureConfiguration | undefined;
|
|
55
|
+
}
|
|
56
|
+
export interface PartnerEventsSourceConfiguration {
|
|
57
|
+
PartnerEventSourceArn: string | undefined;
|
|
58
|
+
Pattern?: string | undefined;
|
|
59
|
+
PartnerBusKmsKeyIdentifier?: string | undefined;
|
|
60
|
+
OnFailureConfiguration?: OnFailureConfiguration | undefined;
|
|
61
|
+
}
|
|
62
|
+
export type EventSourceConfiguration =
|
|
63
|
+
| EventSourceConfiguration.AwsServiceEventsConfigurationMember
|
|
64
|
+
| EventSourceConfiguration.PartnerEventsConfigurationMember
|
|
65
|
+
| EventSourceConfiguration.$UnknownMember;
|
|
66
|
+
export declare namespace EventSourceConfiguration {
|
|
67
|
+
interface AwsServiceEventsConfigurationMember {
|
|
68
|
+
AwsServiceEventsConfiguration: AwsServiceEventsSourceConfiguration;
|
|
69
|
+
PartnerEventsConfiguration?: never;
|
|
70
|
+
$unknown?: never;
|
|
71
|
+
}
|
|
72
|
+
interface PartnerEventsConfigurationMember {
|
|
73
|
+
AwsServiceEventsConfiguration?: never;
|
|
74
|
+
PartnerEventsConfiguration: PartnerEventsSourceConfiguration;
|
|
75
|
+
$unknown?: never;
|
|
76
|
+
}
|
|
77
|
+
interface $UnknownMember {
|
|
78
|
+
AwsServiceEventsConfiguration?: never;
|
|
79
|
+
PartnerEventsConfiguration?: never;
|
|
80
|
+
$unknown: [string, any];
|
|
81
|
+
}
|
|
82
|
+
interface Visitor<T> {
|
|
83
|
+
AwsServiceEventsConfiguration: (value: AwsServiceEventsSourceConfiguration) => T;
|
|
84
|
+
PartnerEventsConfiguration: (value: PartnerEventsSourceConfiguration) => T;
|
|
85
|
+
_: (name: string, value: any) => T;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
export interface CreateEventSourceRequest {
|
|
89
|
+
Name: string | undefined;
|
|
90
|
+
EventBusArn: string | undefined;
|
|
91
|
+
Configuration: EventSourceConfiguration | undefined;
|
|
92
|
+
Description?: string | undefined;
|
|
93
|
+
Tags?: Record<string, string> | undefined;
|
|
94
|
+
ClientToken?: string | undefined;
|
|
95
|
+
}
|
|
96
|
+
export interface CreateEventSourceResponse {
|
|
97
|
+
EventSourceArn?: string | undefined;
|
|
98
|
+
Name?: string | undefined;
|
|
99
|
+
EventBusArn?: string | undefined;
|
|
100
|
+
State?: EventSourceState | undefined;
|
|
101
|
+
CreationTime?: Date | undefined;
|
|
102
|
+
}
|
|
103
|
+
export interface BatchConfiguration {
|
|
104
|
+
MaxBatchSize?: number | undefined;
|
|
105
|
+
MaxBatchWindowInSeconds?: number | undefined;
|
|
106
|
+
}
|
|
107
|
+
export interface Filter {
|
|
108
|
+
Pattern: string | undefined;
|
|
109
|
+
Scope: FilterScope | undefined;
|
|
110
|
+
}
|
|
111
|
+
export interface FilterConfiguration {
|
|
112
|
+
Language?: FilterLanguage | undefined;
|
|
113
|
+
Filters?: Filter[] | undefined;
|
|
114
|
+
}
|
|
115
|
+
export interface DeduplicationConfiguration {
|
|
116
|
+
DeduplicationType: DeduplicationType | undefined;
|
|
117
|
+
}
|
|
118
|
+
export interface EventBusV2SystemMetadata {
|
|
119
|
+
EventGroupId?: string | undefined;
|
|
120
|
+
DeduplicationId?: string | undefined;
|
|
121
|
+
}
|
|
122
|
+
export interface EventBusV2Parameters {
|
|
123
|
+
Metadata?: Record<string, string> | undefined;
|
|
124
|
+
SystemMetadata?: EventBusV2SystemMetadata | undefined;
|
|
125
|
+
DeduplicationConfiguration?: DeduplicationConfiguration | undefined;
|
|
126
|
+
}
|
|
127
|
+
export interface HttpParameters {
|
|
128
|
+
PathParameterValues?: string[] | undefined;
|
|
129
|
+
HeaderParameters?: Record<string, string> | undefined;
|
|
130
|
+
QueryStringParameters?: Record<string, string> | undefined;
|
|
131
|
+
InvocationTimeoutSeconds?: string | undefined;
|
|
132
|
+
}
|
|
133
|
+
export interface KinesisParameters {
|
|
134
|
+
PartitionKey?: string | undefined;
|
|
135
|
+
ExplicitHashKey?: string | undefined;
|
|
136
|
+
}
|
|
137
|
+
export interface LambdaParameters {
|
|
138
|
+
InvocationType?: InvocationType | undefined;
|
|
139
|
+
Qualifier?: string | undefined;
|
|
140
|
+
DurableExecutionName?: string | undefined;
|
|
141
|
+
TenantId?: string | undefined;
|
|
142
|
+
InvocationTimeoutSeconds?: string | undefined;
|
|
143
|
+
}
|
|
144
|
+
export interface SnsMessageAttributeValue {
|
|
145
|
+
DataType?: string | undefined;
|
|
146
|
+
StringValue?: string | undefined;
|
|
147
|
+
BinaryValue?: string | undefined;
|
|
148
|
+
}
|
|
149
|
+
export interface SnsParameters {
|
|
150
|
+
MessageGroupId?: string | undefined;
|
|
151
|
+
MessageDeduplicationId?: string | undefined;
|
|
152
|
+
Subject?: string | undefined;
|
|
153
|
+
MessageStructure?: string | undefined;
|
|
154
|
+
MessageAttributes?: Record<string, SnsMessageAttributeValue> | undefined;
|
|
155
|
+
}
|
|
156
|
+
export interface SqsMessageAttributeValue {
|
|
157
|
+
DataType?: string | undefined;
|
|
158
|
+
StringValue?: string | undefined;
|
|
159
|
+
BinaryValue?: string | undefined;
|
|
160
|
+
}
|
|
161
|
+
export interface SqsParameters {
|
|
162
|
+
MessageGroupId?: string | undefined;
|
|
163
|
+
MessageDeduplicationId?: string | undefined;
|
|
164
|
+
DelaySeconds?: string | undefined;
|
|
165
|
+
MessageAttributes?: Record<string, SqsMessageAttributeValue> | undefined;
|
|
166
|
+
MessageSystemAttributes?: Record<string, SqsMessageAttributeValue> | undefined;
|
|
167
|
+
}
|
|
168
|
+
export interface StepFunctionsParameters {
|
|
169
|
+
InvocationType?: InvocationType | undefined;
|
|
170
|
+
Name?: string | undefined;
|
|
171
|
+
TraceHeader?: string | undefined;
|
|
172
|
+
InvocationTimeoutSeconds?: string | undefined;
|
|
173
|
+
}
|
|
174
|
+
export interface UniversalTargetParameters {
|
|
175
|
+
Input: string | undefined;
|
|
176
|
+
InvocationTimeoutSeconds?: string | undefined;
|
|
177
|
+
}
|
|
178
|
+
export interface InvokeConfiguration {
|
|
179
|
+
RoleArn: string | undefined;
|
|
180
|
+
LambdaParameters?: LambdaParameters | undefined;
|
|
181
|
+
SqsParameters?: SqsParameters | undefined;
|
|
182
|
+
SnsParameters?: SnsParameters | undefined;
|
|
183
|
+
KinesisParameters?: KinesisParameters | undefined;
|
|
184
|
+
StepFunctionsParameters?: StepFunctionsParameters | undefined;
|
|
185
|
+
HttpParameters?: HttpParameters | undefined;
|
|
186
|
+
UniversalTargetParameters?: UniversalTargetParameters | undefined;
|
|
187
|
+
EventBusV2Parameters?: EventBusV2Parameters | undefined;
|
|
188
|
+
TargetArn: string | undefined;
|
|
189
|
+
}
|
|
190
|
+
export interface LogConfiguration {
|
|
191
|
+
Level?: LogLevel | undefined;
|
|
192
|
+
IncludePayload?: IncludePayload | undefined;
|
|
193
|
+
}
|
|
194
|
+
export interface PointInTimeConfiguration {
|
|
195
|
+
PointType: PointType | undefined;
|
|
196
|
+
StartingPoint?: Date | undefined;
|
|
197
|
+
EndPoint?: Date | undefined;
|
|
198
|
+
}
|
|
199
|
+
export interface RetryPolicy {
|
|
200
|
+
MaxRetryAttempts?: number | undefined;
|
|
201
|
+
MaxEventAgeInSeconds?: number | undefined;
|
|
202
|
+
RetryStrategy?: RetryStrategy | undefined;
|
|
203
|
+
}
|
|
204
|
+
export interface JsonataConfiguration {
|
|
205
|
+
Expression: string | undefined;
|
|
206
|
+
}
|
|
207
|
+
export interface Transformer {
|
|
208
|
+
Type?: TransformerType | undefined;
|
|
209
|
+
JsonataConfiguration?: JsonataConfiguration | undefined;
|
|
210
|
+
}
|
|
211
|
+
export interface CreateSubscriberRequest {
|
|
212
|
+
Name: string | undefined;
|
|
213
|
+
EventBusArn: string | undefined;
|
|
214
|
+
InvokeConfiguration: InvokeConfiguration | undefined;
|
|
215
|
+
Description?: string | undefined;
|
|
216
|
+
FilterConfiguration?: FilterConfiguration | undefined;
|
|
217
|
+
Type?: OrderingType | undefined;
|
|
218
|
+
StartingPosition?: StartingPosition | undefined;
|
|
219
|
+
PointInTimeConfiguration?: PointInTimeConfiguration | undefined;
|
|
220
|
+
BatchConfiguration?: BatchConfiguration | undefined;
|
|
221
|
+
Transformer?: Transformer | undefined;
|
|
222
|
+
RetryPolicy?: RetryPolicy | undefined;
|
|
223
|
+
OnFailureConfiguration?: OnFailureConfiguration | undefined;
|
|
224
|
+
LogConfiguration?: LogConfiguration | undefined;
|
|
225
|
+
State?: SubscriberState | undefined;
|
|
226
|
+
Tags?: Record<string, string> | undefined;
|
|
227
|
+
ClientToken?: string | undefined;
|
|
228
|
+
}
|
|
229
|
+
export interface CreateSubscriberResponse {
|
|
230
|
+
SubscriberArn?: string | undefined;
|
|
231
|
+
Name?: string | undefined;
|
|
232
|
+
EventBusArn?: string | undefined;
|
|
233
|
+
Type?: OrderingType | undefined;
|
|
234
|
+
StartingPosition?: StartingPosition | undefined;
|
|
235
|
+
PointInTimeConfiguration?: PointInTimeConfiguration | undefined;
|
|
236
|
+
State?: SubscriberState | undefined;
|
|
237
|
+
CreationTime?: Date | undefined;
|
|
238
|
+
}
|
|
239
|
+
export interface DeleteEventBusRequest {
|
|
240
|
+
EventBusArn: string | undefined;
|
|
241
|
+
}
|
|
242
|
+
export interface DeleteEventBusResponse {}
|
|
243
|
+
export interface DeleteEventSourceRequest {
|
|
244
|
+
EventSourceArn: string | undefined;
|
|
245
|
+
}
|
|
246
|
+
export interface DeleteEventSourceResponse {}
|
|
247
|
+
export interface DeleteResourcePolicyRequest {
|
|
248
|
+
ResourceArn: string | undefined;
|
|
249
|
+
PolicyName?: string | undefined;
|
|
250
|
+
ExpectedRevisionId?: string | undefined;
|
|
251
|
+
}
|
|
252
|
+
export interface DeleteResourcePolicyResponse {
|
|
253
|
+
RevisionId?: string | undefined;
|
|
254
|
+
}
|
|
255
|
+
export interface DeleteSubscriberRequest {
|
|
256
|
+
SubscriberArn: string | undefined;
|
|
257
|
+
}
|
|
258
|
+
export interface DeleteSubscriberResponse {}
|
|
259
|
+
export interface DescribeEventBusRequest {
|
|
260
|
+
EventBusArn: string | undefined;
|
|
261
|
+
}
|
|
262
|
+
export interface DescribeEventBusResponse {
|
|
263
|
+
EventBusArn?: string | undefined;
|
|
264
|
+
Name?: string | undefined;
|
|
265
|
+
Description?: string | undefined;
|
|
266
|
+
EncryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
267
|
+
StorageConfiguration?: StorageConfigurationOutput | undefined;
|
|
268
|
+
CreationTime?: Date | undefined;
|
|
269
|
+
LastModifiedTime?: Date | undefined;
|
|
270
|
+
State?: BusState | undefined;
|
|
271
|
+
StateReason?: string | undefined;
|
|
272
|
+
}
|
|
273
|
+
export interface DescribeEventSourceRequest {
|
|
274
|
+
EventSourceArn: string | undefined;
|
|
275
|
+
}
|
|
276
|
+
export interface DescribeEventSourceResponse {
|
|
277
|
+
EventSourceArn?: string | undefined;
|
|
278
|
+
Name?: string | undefined;
|
|
279
|
+
EventBusArn?: string | undefined;
|
|
280
|
+
Configuration?: EventSourceConfiguration | undefined;
|
|
281
|
+
Description?: string | undefined;
|
|
282
|
+
State?: EventSourceState | undefined;
|
|
283
|
+
Revoked?: boolean | undefined;
|
|
284
|
+
CreationTime?: Date | undefined;
|
|
285
|
+
LastModifiedTime?: Date | undefined;
|
|
286
|
+
}
|
|
287
|
+
export interface DescribeSubscriberRequest {
|
|
288
|
+
SubscriberArn: string | undefined;
|
|
289
|
+
}
|
|
290
|
+
export interface DescribeSubscriberResponse {
|
|
291
|
+
SubscriberArn?: string | undefined;
|
|
292
|
+
Name?: string | undefined;
|
|
293
|
+
EventBusArn?: string | undefined;
|
|
294
|
+
InvokeConfiguration?: InvokeConfiguration | undefined;
|
|
295
|
+
Description?: string | undefined;
|
|
296
|
+
FilterConfiguration?: FilterConfiguration | undefined;
|
|
297
|
+
Type?: OrderingType | undefined;
|
|
298
|
+
StartingPosition?: StartingPosition | undefined;
|
|
299
|
+
PointInTimeConfiguration?: PointInTimeConfiguration | undefined;
|
|
300
|
+
BatchConfiguration?: BatchConfiguration | undefined;
|
|
301
|
+
Transformer?: Transformer | undefined;
|
|
302
|
+
RetryPolicy?: RetryPolicy | undefined;
|
|
303
|
+
OnFailureConfiguration?: OnFailureConfiguration | undefined;
|
|
304
|
+
LogConfiguration?: LogConfiguration | undefined;
|
|
305
|
+
State?: SubscriberState | undefined;
|
|
306
|
+
Revoked?: boolean | undefined;
|
|
307
|
+
CreationTime?: Date | undefined;
|
|
308
|
+
LastModifiedTime?: Date | undefined;
|
|
309
|
+
}
|
|
310
|
+
export interface GetResourcePolicyRequest {
|
|
311
|
+
ResourceArn: string | undefined;
|
|
312
|
+
PolicyName?: string | undefined;
|
|
313
|
+
}
|
|
314
|
+
export interface GetResourcePolicyResponse {
|
|
315
|
+
ResourceArn: string | undefined;
|
|
316
|
+
PolicyDocument: string | undefined;
|
|
317
|
+
PolicyName: string | undefined;
|
|
318
|
+
RevisionId: string | undefined;
|
|
319
|
+
}
|
|
320
|
+
export interface ListEventBusesRequest {
|
|
321
|
+
NamePrefix?: string | undefined;
|
|
322
|
+
EventBusAccountId?: string | undefined;
|
|
323
|
+
NextToken?: string | undefined;
|
|
324
|
+
MaxResults?: number | undefined;
|
|
325
|
+
}
|
|
326
|
+
export interface EventBusSummary {
|
|
327
|
+
Name?: string | undefined;
|
|
328
|
+
EventBusArn?: string | undefined;
|
|
329
|
+
Description?: string | undefined;
|
|
330
|
+
CreationTime?: Date | undefined;
|
|
331
|
+
LastModifiedTime?: Date | undefined;
|
|
332
|
+
State?: BusState | undefined;
|
|
333
|
+
StateReason?: string | undefined;
|
|
334
|
+
EventBusAccountId?: string | undefined;
|
|
335
|
+
}
|
|
336
|
+
export interface ListEventBusesResponse {
|
|
337
|
+
EventBuses?: EventBusSummary[] | undefined;
|
|
338
|
+
NextToken?: string | undefined;
|
|
339
|
+
}
|
|
340
|
+
export interface ListEventSourcesRequest {
|
|
341
|
+
EventBusArn?: string | undefined;
|
|
342
|
+
NamePrefix?: string | undefined;
|
|
343
|
+
NextToken?: string | undefined;
|
|
344
|
+
MaxResults?: number | undefined;
|
|
345
|
+
}
|
|
346
|
+
export interface EventSourceSummary {
|
|
347
|
+
EventSourceArn?: string | undefined;
|
|
348
|
+
Name?: string | undefined;
|
|
349
|
+
EventBusArn?: string | undefined;
|
|
350
|
+
Type?: EventSourceType | undefined;
|
|
351
|
+
State?: EventSourceState | undefined;
|
|
352
|
+
Revoked?: boolean | undefined;
|
|
353
|
+
CreationTime?: Date | undefined;
|
|
354
|
+
LastModifiedTime?: Date | undefined;
|
|
355
|
+
EventSourceAccountId?: string | undefined;
|
|
356
|
+
}
|
|
357
|
+
export interface ListEventSourcesResponse {
|
|
358
|
+
EventSources?: EventSourceSummary[] | undefined;
|
|
359
|
+
NextToken?: string | undefined;
|
|
360
|
+
}
|
|
361
|
+
export interface ListResourcePoliciesRequest {
|
|
362
|
+
ResourceArn: string | undefined;
|
|
363
|
+
NextToken?: string | undefined;
|
|
364
|
+
MaxResults?: number | undefined;
|
|
365
|
+
}
|
|
366
|
+
export interface ResourcePolicySummary {
|
|
367
|
+
PolicyName: string | undefined;
|
|
368
|
+
RevisionId: string | undefined;
|
|
369
|
+
}
|
|
370
|
+
export interface ListResourcePoliciesResponse {
|
|
371
|
+
PolicySummaries?: ResourcePolicySummary[] | undefined;
|
|
372
|
+
NextToken?: string | undefined;
|
|
373
|
+
}
|
|
374
|
+
export interface ListSubscribersRequest {
|
|
375
|
+
EventBusArn?: string | undefined;
|
|
376
|
+
NamePrefix?: string | undefined;
|
|
377
|
+
NextToken?: string | undefined;
|
|
378
|
+
MaxResults?: number | undefined;
|
|
379
|
+
}
|
|
380
|
+
export interface SubscriberSummary {
|
|
381
|
+
SubscriberArn?: string | undefined;
|
|
382
|
+
Name?: string | undefined;
|
|
383
|
+
EventBusArn?: string | undefined;
|
|
384
|
+
TargetArn?: string | undefined;
|
|
385
|
+
Type?: OrderingType | undefined;
|
|
386
|
+
Revoked?: boolean | undefined;
|
|
387
|
+
State?: SubscriberState | undefined;
|
|
388
|
+
CreationTime?: Date | undefined;
|
|
389
|
+
LastModifiedTime?: Date | undefined;
|
|
390
|
+
SubscriberAccountId?: string | undefined;
|
|
391
|
+
}
|
|
392
|
+
export interface ListSubscribersResponse {
|
|
393
|
+
Subscribers?: SubscriberSummary[] | undefined;
|
|
394
|
+
NextToken?: string | undefined;
|
|
395
|
+
}
|
|
396
|
+
export interface ListTagsForResourceRequest {
|
|
397
|
+
ResourceArn: string | undefined;
|
|
398
|
+
}
|
|
399
|
+
export interface ListTagsForResourceResponse {
|
|
400
|
+
Tags?: Record<string, string> | undefined;
|
|
401
|
+
}
|
|
402
|
+
export interface PutEventsSystemMetadata {
|
|
403
|
+
EventGroupId?: string | undefined;
|
|
404
|
+
DeduplicationId?: string | undefined;
|
|
405
|
+
}
|
|
406
|
+
export interface PutEventsRequestEntry {
|
|
407
|
+
Source: string | undefined;
|
|
408
|
+
DetailType: string | undefined;
|
|
409
|
+
Detail?: string | undefined;
|
|
410
|
+
Resources?: string[] | undefined;
|
|
411
|
+
Time?: Date | undefined;
|
|
412
|
+
SystemMetadata?: PutEventsSystemMetadata | undefined;
|
|
413
|
+
}
|
|
414
|
+
export interface PutEventsRequest {
|
|
415
|
+
EventBusArn: string | undefined;
|
|
416
|
+
Entries: PutEventsRequestEntry[] | undefined;
|
|
417
|
+
DeduplicationConfiguration?: DeduplicationConfiguration | undefined;
|
|
418
|
+
}
|
|
419
|
+
export interface PutEventsResultEntry {
|
|
420
|
+
EventId?: string | undefined;
|
|
421
|
+
SequenceNumber?: string | undefined;
|
|
422
|
+
SuccessCode?: SuccessCode | undefined;
|
|
423
|
+
ErrorCode?: string | undefined;
|
|
424
|
+
ErrorMessage?: string | undefined;
|
|
425
|
+
}
|
|
426
|
+
export interface PutEventsResponse {
|
|
427
|
+
FailedEntryCount?: number | undefined;
|
|
428
|
+
Entries?: PutEventsResultEntry[] | undefined;
|
|
429
|
+
}
|
|
430
|
+
export interface PutRawEventsSystemMetadata {
|
|
431
|
+
ContentType: string | undefined;
|
|
432
|
+
DeduplicationId?: string | undefined;
|
|
433
|
+
EventGroupId?: string | undefined;
|
|
434
|
+
}
|
|
435
|
+
export interface PutRawEventsRequestEntry {
|
|
436
|
+
Data: Uint8Array | undefined;
|
|
437
|
+
Metadata?: Record<string, string> | undefined;
|
|
438
|
+
SystemMetadata: PutRawEventsSystemMetadata | undefined;
|
|
439
|
+
}
|
|
440
|
+
export interface ConfluentPublicRegistryConfiguration {
|
|
441
|
+
ConnectionArn: string | undefined;
|
|
442
|
+
}
|
|
443
|
+
export interface SchemaRegistryConfiguration {
|
|
444
|
+
RegistryUri: string | undefined;
|
|
445
|
+
ConfluentPublicRegistryConfiguration?: ConfluentPublicRegistryConfiguration | undefined;
|
|
446
|
+
}
|
|
447
|
+
export interface PutRawEventsRequest {
|
|
448
|
+
EventBusArn: string | undefined;
|
|
449
|
+
Entries: PutRawEventsRequestEntry[] | undefined;
|
|
450
|
+
SchemaRegistryConfiguration?: SchemaRegistryConfiguration | undefined;
|
|
451
|
+
DeduplicationConfiguration?: DeduplicationConfiguration | undefined;
|
|
452
|
+
}
|
|
453
|
+
export interface PutRawEventsResultEntry {
|
|
454
|
+
EventId?: string | undefined;
|
|
455
|
+
SequenceNumber?: string | undefined;
|
|
456
|
+
SuccessCode?: SuccessCode | undefined;
|
|
457
|
+
ErrorCode?: string | undefined;
|
|
458
|
+
ErrorMessage?: string | undefined;
|
|
459
|
+
}
|
|
460
|
+
export interface PutRawEventsResponse {
|
|
461
|
+
FailedEntryCount?: number | undefined;
|
|
462
|
+
Entries?: PutRawEventsResultEntry[] | undefined;
|
|
463
|
+
}
|
|
464
|
+
export interface PutResourcePolicyRequest {
|
|
465
|
+
ResourceArn: string | undefined;
|
|
466
|
+
PolicyDocument: string | undefined;
|
|
467
|
+
PolicyName?: string | undefined;
|
|
468
|
+
ExpectedRevisionId?: string | undefined;
|
|
469
|
+
}
|
|
470
|
+
export interface PutResourcePolicyResponse {
|
|
471
|
+
ResourceArn: string | undefined;
|
|
472
|
+
PolicyName: string | undefined;
|
|
473
|
+
RevisionId?: string | undefined;
|
|
474
|
+
}
|
|
475
|
+
export interface RevokeResourceRequest {
|
|
476
|
+
Arn: string | undefined;
|
|
477
|
+
}
|
|
478
|
+
export interface RevokeResourceResponse {
|
|
479
|
+
Arn?: string | undefined;
|
|
480
|
+
}
|
|
481
|
+
export interface TagResourceRequest {
|
|
482
|
+
ResourceArn: string | undefined;
|
|
483
|
+
Tags: Record<string, string> | undefined;
|
|
484
|
+
}
|
|
485
|
+
export interface TagResourceResponse {}
|
|
486
|
+
export interface UntagResourceRequest {
|
|
487
|
+
ResourceArn: string | undefined;
|
|
488
|
+
TagKeys: string[] | undefined;
|
|
489
|
+
}
|
|
490
|
+
export interface UntagResourceResponse {}
|
|
491
|
+
export interface UpdateEventBusRequest {
|
|
492
|
+
EventBusArn: string | undefined;
|
|
493
|
+
Description?: string | undefined;
|
|
494
|
+
EncryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
495
|
+
StorageConfiguration?: StorageConfiguration | undefined;
|
|
496
|
+
}
|
|
497
|
+
export interface UpdateEventBusResponse {
|
|
498
|
+
EventBusArn?: string | undefined;
|
|
499
|
+
Name?: string | undefined;
|
|
500
|
+
Description?: string | undefined;
|
|
501
|
+
EncryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
502
|
+
StorageConfiguration?: StorageConfigurationOutput | undefined;
|
|
503
|
+
State?: BusState | undefined;
|
|
504
|
+
StateReason?: string | undefined;
|
|
505
|
+
LastModifiedTime?: Date | undefined;
|
|
506
|
+
}
|
|
507
|
+
export interface UpdateEventSourceRequest {
|
|
508
|
+
EventSourceArn: string | undefined;
|
|
509
|
+
Configuration?: EventSourceConfiguration | undefined;
|
|
510
|
+
Description?: string | undefined;
|
|
511
|
+
}
|
|
512
|
+
export interface UpdateEventSourceResponse {
|
|
513
|
+
EventSourceArn?: string | undefined;
|
|
514
|
+
Name?: string | undefined;
|
|
515
|
+
EventBusArn?: string | undefined;
|
|
516
|
+
State?: EventSourceState | undefined;
|
|
517
|
+
LastModifiedTime?: Date | undefined;
|
|
518
|
+
}
|
|
519
|
+
export interface UpdateInvokeConfiguration {
|
|
520
|
+
RoleArn: string | undefined;
|
|
521
|
+
LambdaParameters?: LambdaParameters | undefined;
|
|
522
|
+
SqsParameters?: SqsParameters | undefined;
|
|
523
|
+
SnsParameters?: SnsParameters | undefined;
|
|
524
|
+
KinesisParameters?: KinesisParameters | undefined;
|
|
525
|
+
StepFunctionsParameters?: StepFunctionsParameters | undefined;
|
|
526
|
+
HttpParameters?: HttpParameters | undefined;
|
|
527
|
+
UniversalTargetParameters?: UniversalTargetParameters | undefined;
|
|
528
|
+
EventBusV2Parameters?: EventBusV2Parameters | undefined;
|
|
529
|
+
}
|
|
530
|
+
export interface UpdateSubscriberRequest {
|
|
531
|
+
SubscriberArn: string | undefined;
|
|
532
|
+
Description?: string | undefined;
|
|
533
|
+
State?: SubscriberState | undefined;
|
|
534
|
+
ResumePosition?: ResumePosition | undefined;
|
|
535
|
+
InvokeConfiguration?: UpdateInvokeConfiguration | undefined;
|
|
536
|
+
FilterConfiguration?: FilterConfiguration | undefined;
|
|
537
|
+
BatchConfiguration?: BatchConfiguration | undefined;
|
|
538
|
+
Transformer?: Transformer | undefined;
|
|
539
|
+
RetryPolicy?: RetryPolicy | undefined;
|
|
540
|
+
OnFailureConfiguration?: OnFailureConfiguration | undefined;
|
|
541
|
+
LogConfiguration?: LogConfiguration | undefined;
|
|
542
|
+
}
|
|
543
|
+
export interface UpdateSubscriberResponse {
|
|
544
|
+
SubscriberArn?: string | undefined;
|
|
545
|
+
Name?: string | undefined;
|
|
546
|
+
EventBusArn?: string | undefined;
|
|
547
|
+
Type?: OrderingType | undefined;
|
|
548
|
+
StartingPosition?: StartingPosition | undefined;
|
|
549
|
+
PointInTimeConfiguration?: PointInTimeConfiguration | undefined;
|
|
550
|
+
State?: SubscriberState | undefined;
|
|
551
|
+
LastModifiedTime?: Date | undefined;
|
|
552
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListEventBusesCommandInput,
|
|
4
|
+
ListEventBusesCommandOutput,
|
|
5
|
+
} from "../commands/ListEventBusesCommand";
|
|
6
|
+
import { EventBridgeV2PaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListEventBuses: (
|
|
8
|
+
config: EventBridgeV2PaginationConfiguration,
|
|
9
|
+
input: ListEventBusesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListEventBusesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListEventSourcesCommandInput,
|
|
4
|
+
ListEventSourcesCommandOutput,
|
|
5
|
+
} from "../commands/ListEventSourcesCommand";
|
|
6
|
+
import { EventBridgeV2PaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListEventSources: (
|
|
8
|
+
config: EventBridgeV2PaginationConfiguration,
|
|
9
|
+
input: ListEventSourcesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListEventSourcesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListResourcePoliciesCommandInput,
|
|
4
|
+
ListResourcePoliciesCommandOutput,
|
|
5
|
+
} from "../commands/ListResourcePoliciesCommand";
|
|
6
|
+
import { EventBridgeV2PaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListResourcePolicies: (
|
|
8
|
+
config: EventBridgeV2PaginationConfiguration,
|
|
9
|
+
input: ListResourcePoliciesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListResourcePoliciesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListSubscribersCommandInput,
|
|
4
|
+
ListSubscribersCommandOutput,
|
|
5
|
+
} from "../commands/ListSubscribersCommand";
|
|
6
|
+
import { EventBridgeV2PaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListSubscribers: (
|
|
8
|
+
config: EventBridgeV2PaginationConfiguration,
|
|
9
|
+
input: ListSubscribersCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListSubscribersCommandOutput>;
|