@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,2532 @@
|
|
|
1
|
+
import type { BusState, DeduplicationType, EventSourceState, EventSourceType, FilterLanguage, FilterScope, IncludePayload, InvocationType, LogLevel, OrderingType, PointType, ResumePosition, RetryStrategy, StartingPosition, SubscriberState, SuccessCode, TransformerType } from "./enums";
|
|
2
|
+
/**
|
|
3
|
+
* Encryption configuration for an event bus.
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface EncryptionConfiguration {
|
|
7
|
+
/**
|
|
8
|
+
* Identifier of the AWS KMS customer managed key used to encrypt events: a key
|
|
9
|
+
* ID, key ARN, alias name, or alias ARN. When absent, events are encrypted with
|
|
10
|
+
* an AWS owned key.
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
KmsKeyIdentifier?: string | undefined;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Event storage configuration for an event bus.
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export interface StorageConfiguration {
|
|
20
|
+
/**
|
|
21
|
+
* Number of days events are retained on the event bus.
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
RetentionPeriodInDays?: number | undefined;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export interface CreateEventBusRequest {
|
|
30
|
+
/**
|
|
31
|
+
* Name of an event bus. The first character must be alphanumeric; the remaining characters
|
|
32
|
+
* may also include '.', '-', and '_'. The grammar matches the name segment of EventBusArn
|
|
33
|
+
* (event-busv2/<name>/<id>), so every valid name can be represented in the bus's ARN. The same
|
|
34
|
+
* type is used everywhere a bus name appears.
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
Name: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Free-text description. Used by every resource type that has one: event buses,
|
|
40
|
+
* subscribers, and event sources.
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
Description?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Encryption configuration for an event bus.
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
EncryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Event storage configuration for an event bus.
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
StorageConfiguration?: StorageConfiguration | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Tags attached to a resource, as key-value pairs.
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
Tags?: Record<string, string> | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Unique, case-sensitive identifier that ensures the idempotency of the
|
|
61
|
+
* request. The SDK generates one automatically when the field is omitted.
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
ClientToken?: string | undefined;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Event storage configuration of an event bus, as returned on reads.
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export interface StorageConfigurationOutput {
|
|
71
|
+
/**
|
|
72
|
+
* Number of days events are retained on the event bus.
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
RetentionPeriodInDays?: number | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* The earliest point in time from which stored events are available. Events
|
|
78
|
+
* older than this have expired from retention.
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
RetentionWindowStartTime?: Date | undefined;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export interface CreateEventBusResponse {
|
|
87
|
+
/**
|
|
88
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
EventBusArn?: string | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* Name of an event bus. The first character must be alphanumeric; the remaining characters
|
|
94
|
+
* may also include '.', '-', and '_'. The grammar matches the name segment of EventBusArn
|
|
95
|
+
* (event-busv2/<name>/<id>), so every valid name can be represented in the bus's ARN. The same
|
|
96
|
+
* type is used everywhere a bus name appears.
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
Name?: string | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* Free-text description. Used by every resource type that has one: event buses,
|
|
102
|
+
* subscribers, and event sources.
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
Description?: string | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* Encryption configuration for an event bus.
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
EncryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* Event storage configuration of an event bus, as returned on reads.
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
StorageConfiguration?: StorageConfigurationOutput | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* Lifecycle state of an event bus.
|
|
118
|
+
* - CREATING: Bus creation is in progress.
|
|
119
|
+
* - CREATE_FAILED: Bus creation failed; see StateReason. The bus cannot be recovered or
|
|
120
|
+
* recreated in place: delete it with DeleteEventBus, then create a new bus.
|
|
121
|
+
* - ACTIVE: Bus is fully operational and can accept events.
|
|
122
|
+
* - UPDATING: Bus update is in progress.
|
|
123
|
+
* - UPDATE_FAILED: Bus update failed; the bus remains operational with its previous configuration.
|
|
124
|
+
* - DELETING: Bus deletion is actively in progress.
|
|
125
|
+
* - DELETE_FAILED: Bus deletion failed; see StateReason. Retry DeleteEventBus after removing
|
|
126
|
+
* subscribers and event sources.
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
State?: BusState | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* Human-readable explanation of why an event bus is in its current State. Omitted when the
|
|
132
|
+
* bus is in a normal operational state (ACTIVE). It stands in for the error response an
|
|
133
|
+
* asynchronous failure cannot return, so it applies only to resources with an asynchronous
|
|
134
|
+
* lifecycle: event buses. EventSources and subscribers are provisioned synchronously and
|
|
135
|
+
* report failures directly on the request.
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
StateReason?: string | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* The time the event bus was created.
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
CreationTime?: Date | undefined;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* On-failure configuration: where a failed delivery is sent. Shared by the subscriber and the
|
|
147
|
+
* EventSource.
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export interface OnFailureConfiguration {
|
|
151
|
+
/**
|
|
152
|
+
* The ARN of the destination that receives events that could not be delivered.
|
|
153
|
+
* An Amazon SQS queue is the supported destination.
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
Arn?: string | undefined;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Configuration for forwarding a single AWS service's events from the account's default event bus.
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
export interface AwsServiceEventsSourceConfiguration {
|
|
163
|
+
/**
|
|
164
|
+
* A single AWS service source identifier, e.g. "aws.s3". Wildcards and lists are rejected.
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
AwsService: string | undefined;
|
|
168
|
+
/**
|
|
169
|
+
* A filter pattern, as a JSON string, that defines which of the service's events are
|
|
170
|
+
* forwarded to the event bus. Do not include source, account, or region as top-level
|
|
171
|
+
* fields. If no pattern is specified, all events from the service are forwarded.
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
174
|
+
Pattern?: string | undefined;
|
|
175
|
+
/**
|
|
176
|
+
* The destination for events that could not be forwarded.
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
OnFailureConfiguration?: OnFailureConfiguration | undefined;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Configuration for forwarding a partner event source's events through a managed partner event bus.
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
export interface PartnerEventsSourceConfiguration {
|
|
186
|
+
/**
|
|
187
|
+
* ARN of the partner event source to forward. It is a partner-owned resource, so the account
|
|
188
|
+
* segment is empty: arn:aws:events:<region>::event-source/aws.partner/<name>.
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
PartnerEventSourceArn: string | undefined;
|
|
192
|
+
/**
|
|
193
|
+
* A filter pattern, as a JSON string, that defines which of the partner event source's
|
|
194
|
+
* events are forwarded to the event bus. If no pattern is specified, all events from the
|
|
195
|
+
* partner event source are forwarded.
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
Pattern?: string | undefined;
|
|
199
|
+
/**
|
|
200
|
+
* Identifier of the AWS KMS customer managed key used to encrypt events: a key
|
|
201
|
+
* ID, key ARN, alias name, or alias ARN. When absent, events are encrypted with
|
|
202
|
+
* an AWS owned key.
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
PartnerBusKmsKeyIdentifier?: string | undefined;
|
|
206
|
+
/**
|
|
207
|
+
* The destination for events that could not be forwarded, covering both the forwarding
|
|
208
|
+
* target and the managed partner event bus.
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
211
|
+
OnFailureConfiguration?: OnFailureConfiguration | undefined;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Discriminated EventSource configuration. Exactly one variant must be set.
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
export type EventSourceConfiguration = EventSourceConfiguration.AwsServiceEventsConfigurationMember | EventSourceConfiguration.PartnerEventsConfigurationMember | EventSourceConfiguration.$UnknownMember;
|
|
218
|
+
/**
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
export declare namespace EventSourceConfiguration {
|
|
222
|
+
/**
|
|
223
|
+
* Configuration for forwarding a single AWS service's events from the account's default event bus.
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
interface AwsServiceEventsConfigurationMember {
|
|
227
|
+
AwsServiceEventsConfiguration: AwsServiceEventsSourceConfiguration;
|
|
228
|
+
PartnerEventsConfiguration?: never;
|
|
229
|
+
$unknown?: never;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Configuration for forwarding a partner event source's events through a managed partner event bus.
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
interface PartnerEventsConfigurationMember {
|
|
236
|
+
AwsServiceEventsConfiguration?: never;
|
|
237
|
+
PartnerEventsConfiguration: PartnerEventsSourceConfiguration;
|
|
238
|
+
$unknown?: never;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
interface $UnknownMember {
|
|
244
|
+
AwsServiceEventsConfiguration?: never;
|
|
245
|
+
PartnerEventsConfiguration?: never;
|
|
246
|
+
$unknown: [string, any];
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* @deprecated unused in schema-serde mode.
|
|
250
|
+
*
|
|
251
|
+
*/
|
|
252
|
+
interface Visitor<T> {
|
|
253
|
+
AwsServiceEventsConfiguration: (value: AwsServiceEventsSourceConfiguration) => T;
|
|
254
|
+
PartnerEventsConfiguration: (value: PartnerEventsSourceConfiguration) => T;
|
|
255
|
+
_: (name: string, value: any) => T;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
export interface CreateEventSourceRequest {
|
|
262
|
+
/**
|
|
263
|
+
* EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not
|
|
264
|
+
* begin with the reserved "aws." prefix. The grammar
|
|
265
|
+
* matches the ARN local-name segment in EventSourceArn (event-sourcev2/<type>/<name>/<id>), mirroring
|
|
266
|
+
* EventBusName, so a name the ARN cannot represent cannot be created.
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
Name: string | undefined;
|
|
270
|
+
/**
|
|
271
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
274
|
+
EventBusArn: string | undefined;
|
|
275
|
+
/**
|
|
276
|
+
* Discriminated EventSource configuration. Exactly one variant must be set.
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
279
|
+
Configuration: EventSourceConfiguration | undefined;
|
|
280
|
+
/**
|
|
281
|
+
* Free-text description. Used by every resource type that has one: event buses,
|
|
282
|
+
* subscribers, and event sources.
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
Description?: string | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* Tags attached to a resource, as key-value pairs.
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
Tags?: Record<string, string> | undefined;
|
|
291
|
+
/**
|
|
292
|
+
* Unique, case-sensitive identifier that ensures the idempotency of the
|
|
293
|
+
* request. The SDK generates one automatically when the field is omitted.
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
ClientToken?: string | undefined;
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* @public
|
|
300
|
+
*/
|
|
301
|
+
export interface CreateEventSourceResponse {
|
|
302
|
+
/**
|
|
303
|
+
* EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment is set by the service
|
|
304
|
+
* (aws.service for AWS service events, aws.partner for partner events) and is not part of the
|
|
305
|
+
* resource's name. The id segment is a 25-character identifier generated by the service.
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
EventSourceArn?: string | undefined;
|
|
309
|
+
/**
|
|
310
|
+
* EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not
|
|
311
|
+
* begin with the reserved "aws." prefix. The grammar
|
|
312
|
+
* matches the ARN local-name segment in EventSourceArn (event-sourcev2/<type>/<name>/<id>), mirroring
|
|
313
|
+
* EventBusName, so a name the ARN cannot represent cannot be created.
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
Name?: string | undefined;
|
|
317
|
+
/**
|
|
318
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
321
|
+
EventBusArn?: string | undefined;
|
|
322
|
+
/**
|
|
323
|
+
* Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
State?: EventSourceState | undefined;
|
|
327
|
+
/**
|
|
328
|
+
* The time the EventSource was created.
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
CreationTime?: Date | undefined;
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Batching configuration for a subscriber.
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
export interface BatchConfiguration {
|
|
338
|
+
/**
|
|
339
|
+
* The maximum number of events to include in a single batch delivered to the target.
|
|
340
|
+
* The service delivers up to this many events per batch; fewer may be delivered when
|
|
341
|
+
* the batch window elapses or the target's per-batch limit is smaller. This is a
|
|
342
|
+
* maximum, not a guaranteed count. Valid range is 1-500 (default: 10, or the
|
|
343
|
+
* target API's per-batch maximum). The resolved value applied by the service is returned on read.
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
MaxBatchSize?: number | undefined;
|
|
347
|
+
/**
|
|
348
|
+
* The maximum time in seconds to wait for a batch to fill before delivering it to
|
|
349
|
+
* the target. This is a maximum; a batch may be delivered sooner if it reaches
|
|
350
|
+
* MaxBatchSize or another delivery condition is met. Valid range is 0-300
|
|
351
|
+
* (default: 0, meaning no wait). The resolved value applied by the service is
|
|
352
|
+
* always returned on read.
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
MaxBatchWindowInSeconds?: number | undefined;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* A single filter entry within a FilterConfiguration.
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
export interface Filter {
|
|
362
|
+
/**
|
|
363
|
+
* An event pattern, as a JSON string, that selects which events match.
|
|
364
|
+
* @public
|
|
365
|
+
*/
|
|
366
|
+
Pattern: string | undefined;
|
|
367
|
+
/**
|
|
368
|
+
* Scope of a filter pattern within a FilterConfiguration.
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
Scope: FilterScope | undefined;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* Configuration for filtering events delivered to a subscriber.
|
|
375
|
+
* On CreateSubscriber, Filters is required and must contain at least one Filter with a non-empty Pattern.
|
|
376
|
+
* On UpdateSubscriber, an empty `FilterConfiguration:\{\}` clears the existing filter.
|
|
377
|
+
* Any non-empty shape (including `\{Language:X\}` without Filters) must contain a valid Filters list
|
|
378
|
+
* — same contract as CreateSubscriber. A non-empty Filters list overwrites; an omitted
|
|
379
|
+
* FilterConfiguration preserves existing state.
|
|
380
|
+
* All Filters are implicitly ANDed — an event must match every Filter to be delivered.
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
export interface FilterConfiguration {
|
|
384
|
+
/**
|
|
385
|
+
* Defaults to EVENT_BRIDGE_PATTERN when not specified.
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
388
|
+
Language?: FilterLanguage | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* List of filters. An event must match every filter to be delivered.
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
Filters?: Filter[] | undefined;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Deduplication settings for a publish request.
|
|
397
|
+
* @public
|
|
398
|
+
*/
|
|
399
|
+
export interface DeduplicationConfiguration {
|
|
400
|
+
/**
|
|
401
|
+
* How duplicate events are detected: by a hash of the event content (CONTENT_BASED).
|
|
402
|
+
* To deduplicate by a caller-supplied token instead, omit DeduplicationConfiguration and
|
|
403
|
+
* set DeduplicationId on each entry.
|
|
404
|
+
* @public
|
|
405
|
+
*/
|
|
406
|
+
DeduplicationType: DeduplicationType | undefined;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* Customer-controllable system metadata attached to events forwarded to the downstream event bus.
|
|
410
|
+
* @public
|
|
411
|
+
*/
|
|
412
|
+
export interface EventBusV2SystemMetadata {
|
|
413
|
+
/**
|
|
414
|
+
* Event group ID for FIFO ordering on the downstream bus. Accepts a literal
|
|
415
|
+
* or a JSONata expression.
|
|
416
|
+
* @public
|
|
417
|
+
*/
|
|
418
|
+
EventGroupId?: string | undefined;
|
|
419
|
+
/**
|
|
420
|
+
* Deduplication ID for FIFO deduplication on the downstream bus. Accepts a
|
|
421
|
+
* literal or a JSONata expression.
|
|
422
|
+
* @public
|
|
423
|
+
*/
|
|
424
|
+
DeduplicationId?: string | undefined;
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* Parameters for forwarding events to another EventBridge event bus.
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
430
|
+
export interface EventBusV2Parameters {
|
|
431
|
+
/**
|
|
432
|
+
* Customer-defined metadata forwarded with each event.
|
|
433
|
+
* @public
|
|
434
|
+
*/
|
|
435
|
+
Metadata?: Record<string, string> | undefined;
|
|
436
|
+
/**
|
|
437
|
+
* Customer-controllable system metadata attached to each forwarded event.
|
|
438
|
+
* @public
|
|
439
|
+
*/
|
|
440
|
+
SystemMetadata?: EventBusV2SystemMetadata | undefined;
|
|
441
|
+
/**
|
|
442
|
+
* Deduplication settings applied to the forwarded events on the downstream bus.
|
|
443
|
+
* @public
|
|
444
|
+
*/
|
|
445
|
+
DeduplicationConfiguration?: DeduplicationConfiguration | undefined;
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* HTTP invocation parameters for subscribers (API Gateway / API Destination). Values are
|
|
449
|
+
* forwarded to the HTTP endpoint.
|
|
450
|
+
* @public
|
|
451
|
+
*/
|
|
452
|
+
export interface HttpParameters {
|
|
453
|
+
/**
|
|
454
|
+
* Values substituted, in order, for the path-parameter placeholders in an HTTP
|
|
455
|
+
* target's endpoint path.
|
|
456
|
+
* @public
|
|
457
|
+
*/
|
|
458
|
+
PathParameterValues?: string[] | undefined;
|
|
459
|
+
/**
|
|
460
|
+
* Map of HTTP header names to values, sent with the request to an HTTP target.
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
HeaderParameters?: Record<string, string> | undefined;
|
|
464
|
+
/**
|
|
465
|
+
* Map of query-string parameter names to values, appended to the request to an
|
|
466
|
+
* HTTP target.
|
|
467
|
+
* @public
|
|
468
|
+
*/
|
|
469
|
+
QueryStringParameters?: Record<string, string> | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* Timeout in seconds for each invocation of the target (1-30). String-typed
|
|
472
|
+
* (not integer) so the value may be a JSONata expression.
|
|
473
|
+
* @public
|
|
474
|
+
*/
|
|
475
|
+
InvocationTimeoutSeconds?: string | undefined;
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* Kinesis Data Streams invocation parameters for subscribers. Values are forwarded to the
|
|
479
|
+
* Kinesis PutRecords API.
|
|
480
|
+
* All scalar values accept a literal or a JSONata expression (e.g. "\{% $events.Data.partitionKey %\}").
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
export interface KinesisParameters {
|
|
484
|
+
/**
|
|
485
|
+
* Required by PutRecords even when an explicit hash key is supplied. Accepts JSONata expression.
|
|
486
|
+
* @public
|
|
487
|
+
*/
|
|
488
|
+
PartitionKey?: string | undefined;
|
|
489
|
+
/**
|
|
490
|
+
* Explicit hash key forwarded to PutRecords unchanged. Accepts JSONata expression.
|
|
491
|
+
* @public
|
|
492
|
+
*/
|
|
493
|
+
ExplicitHashKey?: string | undefined;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* Lambda invocation parameters for subscribers. Values are forwarded to the Lambda Invoke API.
|
|
497
|
+
* Every string member accepts a literal or a JSONata expression (e.g. "\{% $events.Data.qualifier %\}").
|
|
498
|
+
* @public
|
|
499
|
+
*/
|
|
500
|
+
export interface LambdaParameters {
|
|
501
|
+
/**
|
|
502
|
+
* Lambda invocation type. EVENT invokes the function asynchronously; REQUEST_RESPONSE waits for
|
|
503
|
+
* its result.
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
506
|
+
InvocationType?: InvocationType | undefined;
|
|
507
|
+
/**
|
|
508
|
+
* Lambda qualifier: $LATEST, $LATEST.PUBLISHED, a numeric version, or an alias. Accepts a
|
|
509
|
+
* JSONata expression.
|
|
510
|
+
* @public
|
|
511
|
+
*/
|
|
512
|
+
Qualifier?: string | undefined;
|
|
513
|
+
/**
|
|
514
|
+
* Durable execution name. Accepts a JSONata expression.
|
|
515
|
+
* @public
|
|
516
|
+
*/
|
|
517
|
+
DurableExecutionName?: string | undefined;
|
|
518
|
+
/**
|
|
519
|
+
* Tenant identifier. Accepts a JSONata expression.
|
|
520
|
+
* @public
|
|
521
|
+
*/
|
|
522
|
+
TenantId?: string | undefined;
|
|
523
|
+
/**
|
|
524
|
+
* Timeout in seconds for each invocation of the target. String-typed so the value
|
|
525
|
+
* may be a JSONata expression.
|
|
526
|
+
* @public
|
|
527
|
+
*/
|
|
528
|
+
InvocationTimeoutSeconds?: string | undefined;
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
* A custom SNS message attribute (data type plus string or binary value).
|
|
532
|
+
* @public
|
|
533
|
+
*/
|
|
534
|
+
export interface SnsMessageAttributeValue {
|
|
535
|
+
/**
|
|
536
|
+
* Attribute data type. Requiredness and the accepted vocabulary belong to SNS, which rejects
|
|
537
|
+
* an attribute without a data type on delivery.
|
|
538
|
+
* @public
|
|
539
|
+
*/
|
|
540
|
+
DataType?: string | undefined;
|
|
541
|
+
/**
|
|
542
|
+
* String attribute value. A JSONata expression resolves once per delivered event.
|
|
543
|
+
* @public
|
|
544
|
+
*/
|
|
545
|
+
StringValue?: string | undefined;
|
|
546
|
+
/**
|
|
547
|
+
* Base64-encoded literal binary attribute value.
|
|
548
|
+
* @public
|
|
549
|
+
*/
|
|
550
|
+
BinaryValue?: string | undefined;
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* SNS invocation parameters for subscribers. Values are forwarded to the SNS PublishBatch API.
|
|
554
|
+
* All scalar values accept a literal or a JSONata expression (e.g. "\{% $events.Data.groupId %\}").
|
|
555
|
+
* @public
|
|
556
|
+
*/
|
|
557
|
+
export interface SnsParameters {
|
|
558
|
+
/**
|
|
559
|
+
* Message group ID for FIFO topics. Accepts JSONata expression.
|
|
560
|
+
* @public
|
|
561
|
+
*/
|
|
562
|
+
MessageGroupId?: string | undefined;
|
|
563
|
+
/**
|
|
564
|
+
* Message deduplication ID for FIFO topics. Accepts JSONata expression.
|
|
565
|
+
* @public
|
|
566
|
+
*/
|
|
567
|
+
MessageDeduplicationId?: string | undefined;
|
|
568
|
+
/**
|
|
569
|
+
* Subject line for email protocol subscriptions. Accepts JSONata expression.
|
|
570
|
+
* @public
|
|
571
|
+
*/
|
|
572
|
+
Subject?: string | undefined;
|
|
573
|
+
/**
|
|
574
|
+
* Per-protocol message formatting mode, forwarded to SNS Publish unchanged. Accepts JSONata
|
|
575
|
+
* expression.
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
578
|
+
MessageStructure?: string | undefined;
|
|
579
|
+
/**
|
|
580
|
+
* Custom message attributes for SNS filtering.
|
|
581
|
+
* @public
|
|
582
|
+
*/
|
|
583
|
+
MessageAttributes?: Record<string, SnsMessageAttributeValue> | undefined;
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* A custom SQS message attribute (data type plus string or binary value).
|
|
587
|
+
* @public
|
|
588
|
+
*/
|
|
589
|
+
export interface SqsMessageAttributeValue {
|
|
590
|
+
/**
|
|
591
|
+
* Attribute data type. Requiredness, the accepted vocabulary, and any custom label belong to
|
|
592
|
+
* SQS, which rejects an attribute without a data type on delivery.
|
|
593
|
+
* @public
|
|
594
|
+
*/
|
|
595
|
+
DataType?: string | undefined;
|
|
596
|
+
/**
|
|
597
|
+
* String attribute value. A JSONata expression resolves once per delivered event.
|
|
598
|
+
* @public
|
|
599
|
+
*/
|
|
600
|
+
StringValue?: string | undefined;
|
|
601
|
+
/**
|
|
602
|
+
* Base64-encoded literal binary attribute value.
|
|
603
|
+
* @public
|
|
604
|
+
*/
|
|
605
|
+
BinaryValue?: string | undefined;
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* SQS invocation parameters for subscribers. Values are forwarded to the SQS SendMessageBatch API.
|
|
609
|
+
* All scalar values accept a literal or a JSONata expression (e.g. "\{% $events.Data.groupId %\}").
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
export interface SqsParameters {
|
|
613
|
+
/**
|
|
614
|
+
* Message group ID for FIFO queues. Accepts JSONata expression.
|
|
615
|
+
* @public
|
|
616
|
+
*/
|
|
617
|
+
MessageGroupId?: string | undefined;
|
|
618
|
+
/**
|
|
619
|
+
* Message deduplication ID for FIFO queues. Accepts JSONata expression.
|
|
620
|
+
* @public
|
|
621
|
+
*/
|
|
622
|
+
MessageDeduplicationId?: string | undefined;
|
|
623
|
+
/**
|
|
624
|
+
* Delay in seconds before the message becomes visible, standard queues only. Accepts JSONata
|
|
625
|
+
* expression.
|
|
626
|
+
* @public
|
|
627
|
+
*/
|
|
628
|
+
DelaySeconds?: string | undefined;
|
|
629
|
+
/**
|
|
630
|
+
* Custom message attributes (name/type/value).
|
|
631
|
+
* @public
|
|
632
|
+
*/
|
|
633
|
+
MessageAttributes?: Record<string, SqsMessageAttributeValue> | undefined;
|
|
634
|
+
/**
|
|
635
|
+
* System message attributes (e.g., AWSTraceHeader).
|
|
636
|
+
* @public
|
|
637
|
+
*/
|
|
638
|
+
MessageSystemAttributes?: Record<string, SqsMessageAttributeValue> | undefined;
|
|
639
|
+
}
|
|
640
|
+
/**
|
|
641
|
+
* Step Functions invocation parameters for subscribers. Values are forwarded to the
|
|
642
|
+
* Step Functions StartExecution or StartSyncExecution API.
|
|
643
|
+
* Every string member accepts a literal or a JSONata expression (e.g. "\{% $events.Data.executionName %\}").
|
|
644
|
+
* @public
|
|
645
|
+
*/
|
|
646
|
+
export interface StepFunctionsParameters {
|
|
647
|
+
/**
|
|
648
|
+
* Selects StartExecution (EVENT) or StartSyncExecution (REQUEST_RESPONSE) at delivery.
|
|
649
|
+
* @public
|
|
650
|
+
*/
|
|
651
|
+
InvocationType?: InvocationType | undefined;
|
|
652
|
+
/**
|
|
653
|
+
* Name for the execution. Must be unique per account/region/state machine. Accepts JSONata expression.
|
|
654
|
+
* @public
|
|
655
|
+
*/
|
|
656
|
+
Name?: string | undefined;
|
|
657
|
+
/**
|
|
658
|
+
* X-Ray trace header for distributed tracing. Accepts JSONata expression.
|
|
659
|
+
* @public
|
|
660
|
+
*/
|
|
661
|
+
TraceHeader?: string | undefined;
|
|
662
|
+
/**
|
|
663
|
+
* Timeout in seconds for each invocation of the target (1-30). String-typed
|
|
664
|
+
* (not integer) so the value may be a JSONata expression.
|
|
665
|
+
* @public
|
|
666
|
+
*/
|
|
667
|
+
InvocationTimeoutSeconds?: string | undefined;
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* Parameters for USI (Universal Service Integration) targets.
|
|
671
|
+
* Used when TargetArn is in the format arn:aws:events:::aws-sdk:\{service\}:\{apiAction\}
|
|
672
|
+
* @public
|
|
673
|
+
*/
|
|
674
|
+
export interface UniversalTargetParameters {
|
|
675
|
+
/**
|
|
676
|
+
* JSON string or JSONata expression that produces the API request.
|
|
677
|
+
* Supports \{% ... %\} JSONata expressions for dynamic values from the event.
|
|
678
|
+
* @public
|
|
679
|
+
*/
|
|
680
|
+
Input: string | undefined;
|
|
681
|
+
/**
|
|
682
|
+
* Timeout in seconds for each invocation of the target (1-30, default 30).
|
|
683
|
+
* Accepts a literal integer or a \{% ... %\} JSONata expression evaluated against the event
|
|
684
|
+
* at invocation time. A JSONata expression is syntax-checked at create time. Resolved values
|
|
685
|
+
* outside of the range [1, 30] will be constrained to the nearest bound at delivery time.
|
|
686
|
+
* Defaults to 30 seconds when unset.
|
|
687
|
+
* @public
|
|
688
|
+
*/
|
|
689
|
+
InvocationTimeoutSeconds?: string | undefined;
|
|
690
|
+
}
|
|
691
|
+
/**
|
|
692
|
+
* Configuration for how the subscriber invokes its target.
|
|
693
|
+
* @public
|
|
694
|
+
*/
|
|
695
|
+
export interface InvokeConfiguration {
|
|
696
|
+
/**
|
|
697
|
+
* IAM role the service assumes to invoke the target. Must belong to the
|
|
698
|
+
* calling account.
|
|
699
|
+
* @public
|
|
700
|
+
*/
|
|
701
|
+
RoleArn: string | undefined;
|
|
702
|
+
/**
|
|
703
|
+
* Lambda invocation parameters for subscribers. Values are forwarded to the Lambda Invoke API.
|
|
704
|
+
* Every string member accepts a literal or a JSONata expression (e.g. "\{% $events.Data.qualifier %\}").
|
|
705
|
+
* @public
|
|
706
|
+
*/
|
|
707
|
+
LambdaParameters?: LambdaParameters | undefined;
|
|
708
|
+
/**
|
|
709
|
+
* SQS invocation parameters for subscribers. Values are forwarded to the SQS SendMessageBatch API.
|
|
710
|
+
* All scalar values accept a literal or a JSONata expression (e.g. "\{% $events.Data.groupId %\}").
|
|
711
|
+
* @public
|
|
712
|
+
*/
|
|
713
|
+
SqsParameters?: SqsParameters | undefined;
|
|
714
|
+
/**
|
|
715
|
+
* SNS invocation parameters for subscribers. Values are forwarded to the SNS PublishBatch API.
|
|
716
|
+
* All scalar values accept a literal or a JSONata expression (e.g. "\{% $events.Data.groupId %\}").
|
|
717
|
+
* @public
|
|
718
|
+
*/
|
|
719
|
+
SnsParameters?: SnsParameters | undefined;
|
|
720
|
+
/**
|
|
721
|
+
* Kinesis Data Streams invocation parameters for subscribers. Values are forwarded to the
|
|
722
|
+
* Kinesis PutRecords API.
|
|
723
|
+
* All scalar values accept a literal or a JSONata expression (e.g. "\{% $events.Data.partitionKey %\}").
|
|
724
|
+
* @public
|
|
725
|
+
*/
|
|
726
|
+
KinesisParameters?: KinesisParameters | undefined;
|
|
727
|
+
/**
|
|
728
|
+
* Step Functions invocation parameters for subscribers. Values are forwarded to the
|
|
729
|
+
* Step Functions StartExecution or StartSyncExecution API.
|
|
730
|
+
* Every string member accepts a literal or a JSONata expression (e.g. "\{% $events.Data.executionName %\}").
|
|
731
|
+
* @public
|
|
732
|
+
*/
|
|
733
|
+
StepFunctionsParameters?: StepFunctionsParameters | undefined;
|
|
734
|
+
/**
|
|
735
|
+
* HTTP invocation parameters for subscribers (API Gateway / API Destination). Values are
|
|
736
|
+
* forwarded to the HTTP endpoint.
|
|
737
|
+
* @public
|
|
738
|
+
*/
|
|
739
|
+
HttpParameters?: HttpParameters | undefined;
|
|
740
|
+
/**
|
|
741
|
+
* Parameters for USI (Universal Service Integration) targets.
|
|
742
|
+
* Used when TargetArn is in the format arn:aws:events:::aws-sdk:\{service\}:\{apiAction\}
|
|
743
|
+
* @public
|
|
744
|
+
*/
|
|
745
|
+
UniversalTargetParameters?: UniversalTargetParameters | undefined;
|
|
746
|
+
/**
|
|
747
|
+
* Parameters for forwarding events to another EventBridge event bus.
|
|
748
|
+
* @public
|
|
749
|
+
*/
|
|
750
|
+
EventBusV2Parameters?: EventBusV2Parameters | undefined;
|
|
751
|
+
/**
|
|
752
|
+
* ARN of the target a subscriber invokes. The resource grammar is service-neutral because target
|
|
753
|
+
* services use different separators and the USI form omits region and account.
|
|
754
|
+
* @public
|
|
755
|
+
*/
|
|
756
|
+
TargetArn: string | undefined;
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* Log configuration for a subscriber.
|
|
760
|
+
* @public
|
|
761
|
+
*/
|
|
762
|
+
export interface LogConfiguration {
|
|
763
|
+
/**
|
|
764
|
+
* Minimum log level. Records below this level are not emitted. Defaults to OFF.
|
|
765
|
+
* @public
|
|
766
|
+
*/
|
|
767
|
+
Level?: LogLevel | undefined;
|
|
768
|
+
/**
|
|
769
|
+
* Whether the customer event payload is embedded in log records. Defaults to ON_ERROR_ONLY.
|
|
770
|
+
* @public
|
|
771
|
+
*/
|
|
772
|
+
IncludePayload?: IncludePayload | undefined;
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* Point-in-time configuration for a subscriber.
|
|
776
|
+
* Only applicable when StartingPosition is POINT_IN_TIME.
|
|
777
|
+
* @public
|
|
778
|
+
*/
|
|
779
|
+
export interface PointInTimeConfiguration {
|
|
780
|
+
/**
|
|
781
|
+
* Whether to start from the horizon or a specific timestamp.
|
|
782
|
+
* @public
|
|
783
|
+
*/
|
|
784
|
+
PointType: PointType | undefined;
|
|
785
|
+
/**
|
|
786
|
+
* Timestamp to start from. Required when PointType is TIMESTAMP.
|
|
787
|
+
* @public
|
|
788
|
+
*/
|
|
789
|
+
StartingPoint?: Date | undefined;
|
|
790
|
+
/**
|
|
791
|
+
* Timestamp to stop at. Optional.
|
|
792
|
+
* @public
|
|
793
|
+
*/
|
|
794
|
+
EndPoint?: Date | undefined;
|
|
795
|
+
}
|
|
796
|
+
/**
|
|
797
|
+
* Retry policy for a subscriber.
|
|
798
|
+
* @public
|
|
799
|
+
*/
|
|
800
|
+
export interface RetryPolicy {
|
|
801
|
+
/**
|
|
802
|
+
* Maximum number of retry attempts (0-185, default: 5).
|
|
803
|
+
* @public
|
|
804
|
+
*/
|
|
805
|
+
MaxRetryAttempts?: number | undefined;
|
|
806
|
+
/**
|
|
807
|
+
* Maximum age of an event in seconds before it is discarded (60-86400, default: 300).
|
|
808
|
+
* @public
|
|
809
|
+
*/
|
|
810
|
+
MaxEventAgeInSeconds?: number | undefined;
|
|
811
|
+
/**
|
|
812
|
+
* Strategy for determining which exceptions are retried. Default: ALL.
|
|
813
|
+
* @public
|
|
814
|
+
*/
|
|
815
|
+
RetryStrategy?: RetryStrategy | undefined;
|
|
816
|
+
}
|
|
817
|
+
/**
|
|
818
|
+
* JSONata transform settings for a subscriber.
|
|
819
|
+
* @public
|
|
820
|
+
*/
|
|
821
|
+
export interface JsonataConfiguration {
|
|
822
|
+
/**
|
|
823
|
+
* JSONata expression to transform the event. Must be wrapped in \{% %\} delimiters.
|
|
824
|
+
* @public
|
|
825
|
+
*/
|
|
826
|
+
Expression: string | undefined;
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* Transformer configuration for a subscriber.
|
|
830
|
+
* @public
|
|
831
|
+
*/
|
|
832
|
+
export interface Transformer {
|
|
833
|
+
/**
|
|
834
|
+
* Transform type.
|
|
835
|
+
* @public
|
|
836
|
+
*/
|
|
837
|
+
Type?: TransformerType | undefined;
|
|
838
|
+
/**
|
|
839
|
+
* JSONata expression configuration. Required when Type is JSONATA.
|
|
840
|
+
* @public
|
|
841
|
+
*/
|
|
842
|
+
JsonataConfiguration?: JsonataConfiguration | undefined;
|
|
843
|
+
}
|
|
844
|
+
/**
|
|
845
|
+
* @public
|
|
846
|
+
*/
|
|
847
|
+
export interface CreateSubscriberRequest {
|
|
848
|
+
/**
|
|
849
|
+
* Name of a subscriber. The first character must be alphanumeric; the remaining
|
|
850
|
+
* characters may also include '.', '-', and '_'.
|
|
851
|
+
* @public
|
|
852
|
+
*/
|
|
853
|
+
Name: string | undefined;
|
|
854
|
+
/**
|
|
855
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
856
|
+
* @public
|
|
857
|
+
*/
|
|
858
|
+
EventBusArn: string | undefined;
|
|
859
|
+
/**
|
|
860
|
+
* Configuration for how the subscriber invokes its target.
|
|
861
|
+
* @public
|
|
862
|
+
*/
|
|
863
|
+
InvokeConfiguration: InvokeConfiguration | undefined;
|
|
864
|
+
/**
|
|
865
|
+
* Free-text description. Used by every resource type that has one: event buses,
|
|
866
|
+
* subscribers, and event sources.
|
|
867
|
+
* @public
|
|
868
|
+
*/
|
|
869
|
+
Description?: string | undefined;
|
|
870
|
+
/**
|
|
871
|
+
* Configuration for filtering events delivered to a subscriber.
|
|
872
|
+
* On CreateSubscriber, Filters is required and must contain at least one Filter with a non-empty Pattern.
|
|
873
|
+
* On UpdateSubscriber, an empty `FilterConfiguration:\{\}` clears the existing filter.
|
|
874
|
+
* Any non-empty shape (including `\{Language:X\}` without Filters) must contain a valid Filters list
|
|
875
|
+
* — same contract as CreateSubscriber. A non-empty Filters list overwrites; an omitted
|
|
876
|
+
* FilterConfiguration preserves existing state.
|
|
877
|
+
* All Filters are implicitly ANDed — an event must match every Filter to be delivered.
|
|
878
|
+
* @public
|
|
879
|
+
*/
|
|
880
|
+
FilterConfiguration?: FilterConfiguration | undefined;
|
|
881
|
+
/**
|
|
882
|
+
* Delivery ordering mode of a subscriber: FIFO delivers events in order within
|
|
883
|
+
* an event group; UNORDERED delivers without an ordering guarantee.
|
|
884
|
+
* @public
|
|
885
|
+
*/
|
|
886
|
+
Type?: OrderingType | undefined;
|
|
887
|
+
/**
|
|
888
|
+
* Starting position for a subscriber.
|
|
889
|
+
* @public
|
|
890
|
+
*/
|
|
891
|
+
StartingPosition?: StartingPosition | undefined;
|
|
892
|
+
/**
|
|
893
|
+
* Point-in-time configuration for a subscriber.
|
|
894
|
+
* Only applicable when StartingPosition is POINT_IN_TIME.
|
|
895
|
+
* @public
|
|
896
|
+
*/
|
|
897
|
+
PointInTimeConfiguration?: PointInTimeConfiguration | undefined;
|
|
898
|
+
/**
|
|
899
|
+
* Batching configuration for a subscriber.
|
|
900
|
+
* @public
|
|
901
|
+
*/
|
|
902
|
+
BatchConfiguration?: BatchConfiguration | undefined;
|
|
903
|
+
/**
|
|
904
|
+
* Not applicable to universal (aws-sdk) targets, whose input transformation is UniversalTargetParameters.Input; a Transformer on such a target is rejected.
|
|
905
|
+
* @public
|
|
906
|
+
*/
|
|
907
|
+
Transformer?: Transformer | undefined;
|
|
908
|
+
/**
|
|
909
|
+
* Retry policy for a subscriber.
|
|
910
|
+
* @public
|
|
911
|
+
*/
|
|
912
|
+
RetryPolicy?: RetryPolicy | undefined;
|
|
913
|
+
/**
|
|
914
|
+
* On-failure configuration: where a failed delivery is sent. Shared by the subscriber and the
|
|
915
|
+
* EventSource.
|
|
916
|
+
* @public
|
|
917
|
+
*/
|
|
918
|
+
OnFailureConfiguration?: OnFailureConfiguration | undefined;
|
|
919
|
+
/**
|
|
920
|
+
* Log configuration for a subscriber.
|
|
921
|
+
* @public
|
|
922
|
+
*/
|
|
923
|
+
LogConfiguration?: LogConfiguration | undefined;
|
|
924
|
+
/**
|
|
925
|
+
* Customer-controlled run state of a subscriber, set on create or update. Distinct
|
|
926
|
+
* from the bus lifecycle vocabulary, where ACTIVE means "provisioned and healthy".
|
|
927
|
+
* Delivery requires State RUNNING on a subscriber that is not revoked.
|
|
928
|
+
* @public
|
|
929
|
+
*/
|
|
930
|
+
State?: SubscriberState | undefined;
|
|
931
|
+
/**
|
|
932
|
+
* Tags attached to a resource, as key-value pairs.
|
|
933
|
+
* @public
|
|
934
|
+
*/
|
|
935
|
+
Tags?: Record<string, string> | undefined;
|
|
936
|
+
/**
|
|
937
|
+
* Unique, case-sensitive identifier that ensures the idempotency of the
|
|
938
|
+
* request. The SDK generates one automatically when the field is omitted.
|
|
939
|
+
* @public
|
|
940
|
+
*/
|
|
941
|
+
ClientToken?: string | undefined;
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
* @public
|
|
945
|
+
*/
|
|
946
|
+
export interface CreateSubscriberResponse {
|
|
947
|
+
/**
|
|
948
|
+
* The Amazon Resource Name (ARN) that uniquely identifies a subscriber.
|
|
949
|
+
* @public
|
|
950
|
+
*/
|
|
951
|
+
SubscriberArn?: string | undefined;
|
|
952
|
+
/**
|
|
953
|
+
* Name of a subscriber. The first character must be alphanumeric; the remaining
|
|
954
|
+
* characters may also include '.', '-', and '_'.
|
|
955
|
+
* @public
|
|
956
|
+
*/
|
|
957
|
+
Name?: string | undefined;
|
|
958
|
+
/**
|
|
959
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
960
|
+
* @public
|
|
961
|
+
*/
|
|
962
|
+
EventBusArn?: string | undefined;
|
|
963
|
+
/**
|
|
964
|
+
* Delivery ordering mode of a subscriber: FIFO delivers events in order within
|
|
965
|
+
* an event group; UNORDERED delivers without an ordering guarantee.
|
|
966
|
+
* @public
|
|
967
|
+
*/
|
|
968
|
+
Type?: OrderingType | undefined;
|
|
969
|
+
/**
|
|
970
|
+
* Starting position for a subscriber.
|
|
971
|
+
* @public
|
|
972
|
+
*/
|
|
973
|
+
StartingPosition?: StartingPosition | undefined;
|
|
974
|
+
/**
|
|
975
|
+
* Point-in-time configuration for a subscriber.
|
|
976
|
+
* Only applicable when StartingPosition is POINT_IN_TIME.
|
|
977
|
+
* @public
|
|
978
|
+
*/
|
|
979
|
+
PointInTimeConfiguration?: PointInTimeConfiguration | undefined;
|
|
980
|
+
/**
|
|
981
|
+
* Customer-controlled run state of a subscriber, set on create or update. Distinct
|
|
982
|
+
* from the bus lifecycle vocabulary, where ACTIVE means "provisioned and healthy".
|
|
983
|
+
* Delivery requires State RUNNING on a subscriber that is not revoked.
|
|
984
|
+
* @public
|
|
985
|
+
*/
|
|
986
|
+
State?: SubscriberState | undefined;
|
|
987
|
+
/**
|
|
988
|
+
* The time the subscriber was created.
|
|
989
|
+
* @public
|
|
990
|
+
*/
|
|
991
|
+
CreationTime?: Date | undefined;
|
|
992
|
+
}
|
|
993
|
+
/**
|
|
994
|
+
* @public
|
|
995
|
+
*/
|
|
996
|
+
export interface DeleteEventBusRequest {
|
|
997
|
+
/**
|
|
998
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
999
|
+
* @public
|
|
1000
|
+
*/
|
|
1001
|
+
EventBusArn: string | undefined;
|
|
1002
|
+
}
|
|
1003
|
+
/**
|
|
1004
|
+
* @public
|
|
1005
|
+
*/
|
|
1006
|
+
export interface DeleteEventBusResponse {
|
|
1007
|
+
}
|
|
1008
|
+
/**
|
|
1009
|
+
* @public
|
|
1010
|
+
*/
|
|
1011
|
+
export interface DeleteEventSourceRequest {
|
|
1012
|
+
/**
|
|
1013
|
+
* EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment is set by the service
|
|
1014
|
+
* (aws.service for AWS service events, aws.partner for partner events) and is not part of the
|
|
1015
|
+
* resource's name. The id segment is a 25-character identifier generated by the service.
|
|
1016
|
+
* @public
|
|
1017
|
+
*/
|
|
1018
|
+
EventSourceArn: string | undefined;
|
|
1019
|
+
}
|
|
1020
|
+
/**
|
|
1021
|
+
* @public
|
|
1022
|
+
*/
|
|
1023
|
+
export interface DeleteEventSourceResponse {
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* @public
|
|
1027
|
+
*/
|
|
1028
|
+
export interface DeleteResourcePolicyRequest {
|
|
1029
|
+
/**
|
|
1030
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
1031
|
+
* @public
|
|
1032
|
+
*/
|
|
1033
|
+
ResourceArn: string | undefined;
|
|
1034
|
+
/**
|
|
1035
|
+
* Which named policy to delete. Defaults to "default" when omitted (a delete AWS
|
|
1036
|
+
* Resource Access Manager makes on the owner's behalf resolves to "AWS_RAM" instead).
|
|
1037
|
+
* The two writers are exclusive in both directions — only Resource Access Manager can
|
|
1038
|
+
* delete "AWS_RAM", and only the bus owner can delete "default" — so naming the other
|
|
1039
|
+
* party's policy fails with AccessDeniedException. A well-formed name that is neither
|
|
1040
|
+
* of the two fails with InvalidInputException.
|
|
1041
|
+
* @public
|
|
1042
|
+
*/
|
|
1043
|
+
PolicyName?: string | undefined;
|
|
1044
|
+
/**
|
|
1045
|
+
* The delete succeeds only if the named policy's current revision ID matches
|
|
1046
|
+
* this value; if it differs or the policy does not exist, the operation fails
|
|
1047
|
+
* with ConflictException. The "NO_POLICY" sentinel is not valid here. When
|
|
1048
|
+
* omitted, deleting an absent policy is an idempotent success. Supplying this
|
|
1049
|
+
* value makes the delete non-idempotent: once it succeeds the expected
|
|
1050
|
+
* revision no longer exists, so retrying an unanswered request fails with
|
|
1051
|
+
* ConflictException even though the policy was deleted. To establish the
|
|
1052
|
+
* outcome, read the policy back: ResourceNotFoundException means the delete
|
|
1053
|
+
* took effect.
|
|
1054
|
+
* @public
|
|
1055
|
+
*/
|
|
1056
|
+
ExpectedRevisionId?: string | undefined;
|
|
1057
|
+
}
|
|
1058
|
+
/**
|
|
1059
|
+
* @public
|
|
1060
|
+
*/
|
|
1061
|
+
export interface DeleteResourcePolicyResponse {
|
|
1062
|
+
/**
|
|
1063
|
+
* Revision ID of the policy that was deleted. Absent when no policy was deleted.
|
|
1064
|
+
* @public
|
|
1065
|
+
*/
|
|
1066
|
+
RevisionId?: string | undefined;
|
|
1067
|
+
}
|
|
1068
|
+
/**
|
|
1069
|
+
* @public
|
|
1070
|
+
*/
|
|
1071
|
+
export interface DeleteSubscriberRequest {
|
|
1072
|
+
/**
|
|
1073
|
+
* The Amazon Resource Name (ARN) that uniquely identifies a subscriber.
|
|
1074
|
+
* @public
|
|
1075
|
+
*/
|
|
1076
|
+
SubscriberArn: string | undefined;
|
|
1077
|
+
}
|
|
1078
|
+
/**
|
|
1079
|
+
* @public
|
|
1080
|
+
*/
|
|
1081
|
+
export interface DeleteSubscriberResponse {
|
|
1082
|
+
}
|
|
1083
|
+
/**
|
|
1084
|
+
* @public
|
|
1085
|
+
*/
|
|
1086
|
+
export interface DescribeEventBusRequest {
|
|
1087
|
+
/**
|
|
1088
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
1089
|
+
* @public
|
|
1090
|
+
*/
|
|
1091
|
+
EventBusArn: string | undefined;
|
|
1092
|
+
}
|
|
1093
|
+
/**
|
|
1094
|
+
* @public
|
|
1095
|
+
*/
|
|
1096
|
+
export interface DescribeEventBusResponse {
|
|
1097
|
+
/**
|
|
1098
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
1099
|
+
* @public
|
|
1100
|
+
*/
|
|
1101
|
+
EventBusArn?: string | undefined;
|
|
1102
|
+
/**
|
|
1103
|
+
* Name of an event bus. The first character must be alphanumeric; the remaining characters
|
|
1104
|
+
* may also include '.', '-', and '_'. The grammar matches the name segment of EventBusArn
|
|
1105
|
+
* (event-busv2/<name>/<id>), so every valid name can be represented in the bus's ARN. The same
|
|
1106
|
+
* type is used everywhere a bus name appears.
|
|
1107
|
+
* @public
|
|
1108
|
+
*/
|
|
1109
|
+
Name?: string | undefined;
|
|
1110
|
+
/**
|
|
1111
|
+
* Free-text description. Used by every resource type that has one: event buses,
|
|
1112
|
+
* subscribers, and event sources.
|
|
1113
|
+
* @public
|
|
1114
|
+
*/
|
|
1115
|
+
Description?: string | undefined;
|
|
1116
|
+
/**
|
|
1117
|
+
* Encryption configuration for an event bus.
|
|
1118
|
+
* @public
|
|
1119
|
+
*/
|
|
1120
|
+
EncryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
1121
|
+
/**
|
|
1122
|
+
* Event storage configuration of an event bus, as returned on reads.
|
|
1123
|
+
* @public
|
|
1124
|
+
*/
|
|
1125
|
+
StorageConfiguration?: StorageConfigurationOutput | undefined;
|
|
1126
|
+
/**
|
|
1127
|
+
* The time the event bus was created.
|
|
1128
|
+
* @public
|
|
1129
|
+
*/
|
|
1130
|
+
CreationTime?: Date | undefined;
|
|
1131
|
+
/**
|
|
1132
|
+
* The time the event bus was last modified.
|
|
1133
|
+
* @public
|
|
1134
|
+
*/
|
|
1135
|
+
LastModifiedTime?: Date | undefined;
|
|
1136
|
+
/**
|
|
1137
|
+
* Lifecycle state of an event bus.
|
|
1138
|
+
* - CREATING: Bus creation is in progress.
|
|
1139
|
+
* - CREATE_FAILED: Bus creation failed; see StateReason. The bus cannot be recovered or
|
|
1140
|
+
* recreated in place: delete it with DeleteEventBus, then create a new bus.
|
|
1141
|
+
* - ACTIVE: Bus is fully operational and can accept events.
|
|
1142
|
+
* - UPDATING: Bus update is in progress.
|
|
1143
|
+
* - UPDATE_FAILED: Bus update failed; the bus remains operational with its previous configuration.
|
|
1144
|
+
* - DELETING: Bus deletion is actively in progress.
|
|
1145
|
+
* - DELETE_FAILED: Bus deletion failed; see StateReason. Retry DeleteEventBus after removing
|
|
1146
|
+
* subscribers and event sources.
|
|
1147
|
+
* @public
|
|
1148
|
+
*/
|
|
1149
|
+
State?: BusState | undefined;
|
|
1150
|
+
/**
|
|
1151
|
+
* Human-readable explanation of why an event bus is in its current State. Omitted when the
|
|
1152
|
+
* bus is in a normal operational state (ACTIVE). It stands in for the error response an
|
|
1153
|
+
* asynchronous failure cannot return, so it applies only to resources with an asynchronous
|
|
1154
|
+
* lifecycle: event buses. EventSources and subscribers are provisioned synchronously and
|
|
1155
|
+
* report failures directly on the request.
|
|
1156
|
+
* @public
|
|
1157
|
+
*/
|
|
1158
|
+
StateReason?: string | undefined;
|
|
1159
|
+
}
|
|
1160
|
+
/**
|
|
1161
|
+
* @public
|
|
1162
|
+
*/
|
|
1163
|
+
export interface DescribeEventSourceRequest {
|
|
1164
|
+
/**
|
|
1165
|
+
* EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment is set by the service
|
|
1166
|
+
* (aws.service for AWS service events, aws.partner for partner events) and is not part of the
|
|
1167
|
+
* resource's name. The id segment is a 25-character identifier generated by the service.
|
|
1168
|
+
* @public
|
|
1169
|
+
*/
|
|
1170
|
+
EventSourceArn: string | undefined;
|
|
1171
|
+
}
|
|
1172
|
+
/**
|
|
1173
|
+
* @public
|
|
1174
|
+
*/
|
|
1175
|
+
export interface DescribeEventSourceResponse {
|
|
1176
|
+
/**
|
|
1177
|
+
* EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment is set by the service
|
|
1178
|
+
* (aws.service for AWS service events, aws.partner for partner events) and is not part of the
|
|
1179
|
+
* resource's name. The id segment is a 25-character identifier generated by the service.
|
|
1180
|
+
* @public
|
|
1181
|
+
*/
|
|
1182
|
+
EventSourceArn?: string | undefined;
|
|
1183
|
+
/**
|
|
1184
|
+
* EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not
|
|
1185
|
+
* begin with the reserved "aws." prefix. The grammar
|
|
1186
|
+
* matches the ARN local-name segment in EventSourceArn (event-sourcev2/<type>/<name>/<id>), mirroring
|
|
1187
|
+
* EventBusName, so a name the ARN cannot represent cannot be created.
|
|
1188
|
+
* @public
|
|
1189
|
+
*/
|
|
1190
|
+
Name?: string | undefined;
|
|
1191
|
+
/**
|
|
1192
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
1193
|
+
* @public
|
|
1194
|
+
*/
|
|
1195
|
+
EventBusArn?: string | undefined;
|
|
1196
|
+
/**
|
|
1197
|
+
* Discriminated EventSource configuration. Exactly one variant must be set.
|
|
1198
|
+
* @public
|
|
1199
|
+
*/
|
|
1200
|
+
Configuration?: EventSourceConfiguration | undefined;
|
|
1201
|
+
/**
|
|
1202
|
+
* Free-text description. Used by every resource type that has one: event buses,
|
|
1203
|
+
* subscribers, and event sources.
|
|
1204
|
+
* @public
|
|
1205
|
+
*/
|
|
1206
|
+
Description?: string | undefined;
|
|
1207
|
+
/**
|
|
1208
|
+
* Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.
|
|
1209
|
+
* @public
|
|
1210
|
+
*/
|
|
1211
|
+
State?: EventSourceState | undefined;
|
|
1212
|
+
/**
|
|
1213
|
+
* True when the bus owner has withdrawn this EventSource. Present only when true, so an
|
|
1214
|
+
* absent member means the EventSource is not revoked. Revocation is terminal: it never
|
|
1215
|
+
* returns to false. Mutating operations on a revoked EventSource fail with
|
|
1216
|
+
* InvalidStateException, except DeleteEventSource, which stays available so a revoked
|
|
1217
|
+
* EventSource can still be cleaned up.
|
|
1218
|
+
* @public
|
|
1219
|
+
*/
|
|
1220
|
+
Revoked?: boolean | undefined;
|
|
1221
|
+
/**
|
|
1222
|
+
* The time the EventSource was created.
|
|
1223
|
+
* @public
|
|
1224
|
+
*/
|
|
1225
|
+
CreationTime?: Date | undefined;
|
|
1226
|
+
/**
|
|
1227
|
+
* The time the EventSource was last modified.
|
|
1228
|
+
* @public
|
|
1229
|
+
*/
|
|
1230
|
+
LastModifiedTime?: Date | undefined;
|
|
1231
|
+
}
|
|
1232
|
+
/**
|
|
1233
|
+
* @public
|
|
1234
|
+
*/
|
|
1235
|
+
export interface DescribeSubscriberRequest {
|
|
1236
|
+
/**
|
|
1237
|
+
* The Amazon Resource Name (ARN) that uniquely identifies a subscriber.
|
|
1238
|
+
* @public
|
|
1239
|
+
*/
|
|
1240
|
+
SubscriberArn: string | undefined;
|
|
1241
|
+
}
|
|
1242
|
+
/**
|
|
1243
|
+
* @public
|
|
1244
|
+
*/
|
|
1245
|
+
export interface DescribeSubscriberResponse {
|
|
1246
|
+
/**
|
|
1247
|
+
* The Amazon Resource Name (ARN) that uniquely identifies a subscriber.
|
|
1248
|
+
* @public
|
|
1249
|
+
*/
|
|
1250
|
+
SubscriberArn?: string | undefined;
|
|
1251
|
+
/**
|
|
1252
|
+
* Name of a subscriber. The first character must be alphanumeric; the remaining
|
|
1253
|
+
* characters may also include '.', '-', and '_'.
|
|
1254
|
+
* @public
|
|
1255
|
+
*/
|
|
1256
|
+
Name?: string | undefined;
|
|
1257
|
+
/**
|
|
1258
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
1259
|
+
* @public
|
|
1260
|
+
*/
|
|
1261
|
+
EventBusArn?: string | undefined;
|
|
1262
|
+
/**
|
|
1263
|
+
* Configuration for how the subscriber invokes its target.
|
|
1264
|
+
* @public
|
|
1265
|
+
*/
|
|
1266
|
+
InvokeConfiguration?: InvokeConfiguration | undefined;
|
|
1267
|
+
/**
|
|
1268
|
+
* Free-text description. Used by every resource type that has one: event buses,
|
|
1269
|
+
* subscribers, and event sources.
|
|
1270
|
+
* @public
|
|
1271
|
+
*/
|
|
1272
|
+
Description?: string | undefined;
|
|
1273
|
+
/**
|
|
1274
|
+
* Configuration for filtering events delivered to a subscriber.
|
|
1275
|
+
* On CreateSubscriber, Filters is required and must contain at least one Filter with a non-empty Pattern.
|
|
1276
|
+
* On UpdateSubscriber, an empty `FilterConfiguration:\{\}` clears the existing filter.
|
|
1277
|
+
* Any non-empty shape (including `\{Language:X\}` without Filters) must contain a valid Filters list
|
|
1278
|
+
* — same contract as CreateSubscriber. A non-empty Filters list overwrites; an omitted
|
|
1279
|
+
* FilterConfiguration preserves existing state.
|
|
1280
|
+
* All Filters are implicitly ANDed — an event must match every Filter to be delivered.
|
|
1281
|
+
* @public
|
|
1282
|
+
*/
|
|
1283
|
+
FilterConfiguration?: FilterConfiguration | undefined;
|
|
1284
|
+
/**
|
|
1285
|
+
* Delivery ordering mode of a subscriber: FIFO delivers events in order within
|
|
1286
|
+
* an event group; UNORDERED delivers without an ordering guarantee.
|
|
1287
|
+
* @public
|
|
1288
|
+
*/
|
|
1289
|
+
Type?: OrderingType | undefined;
|
|
1290
|
+
/**
|
|
1291
|
+
* Starting position for a subscriber.
|
|
1292
|
+
* @public
|
|
1293
|
+
*/
|
|
1294
|
+
StartingPosition?: StartingPosition | undefined;
|
|
1295
|
+
/**
|
|
1296
|
+
* Point-in-time configuration for a subscriber.
|
|
1297
|
+
* Only applicable when StartingPosition is POINT_IN_TIME.
|
|
1298
|
+
* @public
|
|
1299
|
+
*/
|
|
1300
|
+
PointInTimeConfiguration?: PointInTimeConfiguration | undefined;
|
|
1301
|
+
/**
|
|
1302
|
+
* Batching configuration for a subscriber.
|
|
1303
|
+
* @public
|
|
1304
|
+
*/
|
|
1305
|
+
BatchConfiguration?: BatchConfiguration | undefined;
|
|
1306
|
+
/**
|
|
1307
|
+
* Absent for universal (aws-sdk) targets, whose input transformation is UniversalTargetParameters.Input.
|
|
1308
|
+
* @public
|
|
1309
|
+
*/
|
|
1310
|
+
Transformer?: Transformer | undefined;
|
|
1311
|
+
/**
|
|
1312
|
+
* Retry policy for a subscriber.
|
|
1313
|
+
* @public
|
|
1314
|
+
*/
|
|
1315
|
+
RetryPolicy?: RetryPolicy | undefined;
|
|
1316
|
+
/**
|
|
1317
|
+
* On-failure configuration: where a failed delivery is sent. Shared by the subscriber and the
|
|
1318
|
+
* EventSource.
|
|
1319
|
+
* @public
|
|
1320
|
+
*/
|
|
1321
|
+
OnFailureConfiguration?: OnFailureConfiguration | undefined;
|
|
1322
|
+
/**
|
|
1323
|
+
* Log configuration for a subscriber.
|
|
1324
|
+
* @public
|
|
1325
|
+
*/
|
|
1326
|
+
LogConfiguration?: LogConfiguration | undefined;
|
|
1327
|
+
/**
|
|
1328
|
+
* Customer-controlled run state of a subscriber, set on create or update. Distinct
|
|
1329
|
+
* from the bus lifecycle vocabulary, where ACTIVE means "provisioned and healthy".
|
|
1330
|
+
* Delivery requires State RUNNING on a subscriber that is not revoked.
|
|
1331
|
+
* @public
|
|
1332
|
+
*/
|
|
1333
|
+
State?: SubscriberState | undefined;
|
|
1334
|
+
/**
|
|
1335
|
+
* True when the bus owner has revoked this subscriber. Present only when true, so an
|
|
1336
|
+
* absent member means the subscriber is not revoked. Revocation is terminal: it never
|
|
1337
|
+
* returns to false. Mutating operations on a revoked subscriber fail with
|
|
1338
|
+
* InvalidStateException, except DeleteSubscriber, which stays available so a revoked
|
|
1339
|
+
* subscriber can still be cleaned up.
|
|
1340
|
+
* @public
|
|
1341
|
+
*/
|
|
1342
|
+
Revoked?: boolean | undefined;
|
|
1343
|
+
/**
|
|
1344
|
+
* The time the subscriber was created.
|
|
1345
|
+
* @public
|
|
1346
|
+
*/
|
|
1347
|
+
CreationTime?: Date | undefined;
|
|
1348
|
+
/**
|
|
1349
|
+
* The time the subscriber was last modified.
|
|
1350
|
+
* @public
|
|
1351
|
+
*/
|
|
1352
|
+
LastModifiedTime?: Date | undefined;
|
|
1353
|
+
}
|
|
1354
|
+
/**
|
|
1355
|
+
* @public
|
|
1356
|
+
*/
|
|
1357
|
+
export interface GetResourcePolicyRequest {
|
|
1358
|
+
/**
|
|
1359
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
1360
|
+
* @public
|
|
1361
|
+
*/
|
|
1362
|
+
ResourceArn: string | undefined;
|
|
1363
|
+
/**
|
|
1364
|
+
* Which named policy to read. Defaults to "default" when omitted (a read AWS Resource Access
|
|
1365
|
+
* Manager makes on the owner's behalf resolves to "AWS_RAM" instead). Unlike writing, neither
|
|
1366
|
+
* name is reserved on a read: the bus owner can read both. There is no fallback between the
|
|
1367
|
+
* two, so a bus shared only through Resource Access Manager fails with
|
|
1368
|
+
* ResourceNotFoundException until "AWS_RAM" is named explicitly. A well-formed name that is
|
|
1369
|
+
* neither of the two fails with InvalidInputException.
|
|
1370
|
+
* @public
|
|
1371
|
+
*/
|
|
1372
|
+
PolicyName?: string | undefined;
|
|
1373
|
+
}
|
|
1374
|
+
/**
|
|
1375
|
+
* Returned only when the named policy exists. A missing event bus or a missing
|
|
1376
|
+
* named policy fails with ResourceNotFoundException rather than returning an
|
|
1377
|
+
* empty or null policy document. Every member is therefore always present on a
|
|
1378
|
+
* successful response.
|
|
1379
|
+
* @public
|
|
1380
|
+
*/
|
|
1381
|
+
export interface GetResourcePolicyResponse {
|
|
1382
|
+
/**
|
|
1383
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
1384
|
+
* @public
|
|
1385
|
+
*/
|
|
1386
|
+
ResourceArn: string | undefined;
|
|
1387
|
+
/**
|
|
1388
|
+
* A resource policy document, as a JSON string. The "default" policy can be up to
|
|
1389
|
+
* 20 KB (20,480 bytes of UTF-8) by default. This quota is adjustable in Service
|
|
1390
|
+
* Quotas. A "default" policy that exceeds the quota is rejected with
|
|
1391
|
+
* PolicyLengthExceededException. No policy document can exceed 389,120 bytes of
|
|
1392
|
+
* UTF-8, regardless of the quota.
|
|
1393
|
+
* @public
|
|
1394
|
+
*/
|
|
1395
|
+
PolicyDocument: string | undefined;
|
|
1396
|
+
/**
|
|
1397
|
+
* Name of a policy attached to a resource. Valid values: "default" (the
|
|
1398
|
+
* customer-managed policy) and "AWS_RAM" (managed exclusively by AWS Resource
|
|
1399
|
+
* Access Manager). Any other value is rejected.
|
|
1400
|
+
* @public
|
|
1401
|
+
*/
|
|
1402
|
+
PolicyName: string | undefined;
|
|
1403
|
+
/**
|
|
1404
|
+
* Revision ID of a resource policy. A new revision ID is generated on every
|
|
1405
|
+
* successful write.
|
|
1406
|
+
* @public
|
|
1407
|
+
*/
|
|
1408
|
+
RevisionId: string | undefined;
|
|
1409
|
+
}
|
|
1410
|
+
/**
|
|
1411
|
+
* @public
|
|
1412
|
+
*/
|
|
1413
|
+
export interface ListEventBusesRequest {
|
|
1414
|
+
/**
|
|
1415
|
+
* Name of an event bus. The first character must be alphanumeric; the remaining characters
|
|
1416
|
+
* may also include '.', '-', and '_'. The grammar matches the name segment of EventBusArn
|
|
1417
|
+
* (event-busv2/<name>/<id>), so every valid name can be represented in the bus's ARN. The same
|
|
1418
|
+
* type is used everywhere a bus name appears.
|
|
1419
|
+
* @public
|
|
1420
|
+
*/
|
|
1421
|
+
NamePrefix?: string | undefined;
|
|
1422
|
+
/**
|
|
1423
|
+
* AWS Account Id.
|
|
1424
|
+
* @public
|
|
1425
|
+
*/
|
|
1426
|
+
EventBusAccountId?: string | undefined;
|
|
1427
|
+
/**
|
|
1428
|
+
* Opaque pagination token returned by a List operation. Pass it back in the
|
|
1429
|
+
* next request to retrieve the next page of results.
|
|
1430
|
+
* @public
|
|
1431
|
+
*/
|
|
1432
|
+
NextToken?: string | undefined;
|
|
1433
|
+
/**
|
|
1434
|
+
* Maximum number of results to return in one page of a List operation.
|
|
1435
|
+
* @public
|
|
1436
|
+
*/
|
|
1437
|
+
MaxResults?: number | undefined;
|
|
1438
|
+
}
|
|
1439
|
+
/**
|
|
1440
|
+
* Summary of an event bus, as returned by ListEventBuses.
|
|
1441
|
+
* @public
|
|
1442
|
+
*/
|
|
1443
|
+
export interface EventBusSummary {
|
|
1444
|
+
/**
|
|
1445
|
+
* Name of an event bus. The first character must be alphanumeric; the remaining characters
|
|
1446
|
+
* may also include '.', '-', and '_'. The grammar matches the name segment of EventBusArn
|
|
1447
|
+
* (event-busv2/<name>/<id>), so every valid name can be represented in the bus's ARN. The same
|
|
1448
|
+
* type is used everywhere a bus name appears.
|
|
1449
|
+
* @public
|
|
1450
|
+
*/
|
|
1451
|
+
Name?: string | undefined;
|
|
1452
|
+
/**
|
|
1453
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
1454
|
+
* @public
|
|
1455
|
+
*/
|
|
1456
|
+
EventBusArn?: string | undefined;
|
|
1457
|
+
/**
|
|
1458
|
+
* Free-text description. Used by every resource type that has one: event buses,
|
|
1459
|
+
* subscribers, and event sources.
|
|
1460
|
+
* @public
|
|
1461
|
+
*/
|
|
1462
|
+
Description?: string | undefined;
|
|
1463
|
+
/**
|
|
1464
|
+
* The time the event bus was created.
|
|
1465
|
+
* @public
|
|
1466
|
+
*/
|
|
1467
|
+
CreationTime?: Date | undefined;
|
|
1468
|
+
/**
|
|
1469
|
+
* The time the event bus was last modified.
|
|
1470
|
+
* @public
|
|
1471
|
+
*/
|
|
1472
|
+
LastModifiedTime?: Date | undefined;
|
|
1473
|
+
/**
|
|
1474
|
+
* Lifecycle state of an event bus.
|
|
1475
|
+
* - CREATING: Bus creation is in progress.
|
|
1476
|
+
* - CREATE_FAILED: Bus creation failed; see StateReason. The bus cannot be recovered or
|
|
1477
|
+
* recreated in place: delete it with DeleteEventBus, then create a new bus.
|
|
1478
|
+
* - ACTIVE: Bus is fully operational and can accept events.
|
|
1479
|
+
* - UPDATING: Bus update is in progress.
|
|
1480
|
+
* - UPDATE_FAILED: Bus update failed; the bus remains operational with its previous configuration.
|
|
1481
|
+
* - DELETING: Bus deletion is actively in progress.
|
|
1482
|
+
* - DELETE_FAILED: Bus deletion failed; see StateReason. Retry DeleteEventBus after removing
|
|
1483
|
+
* subscribers and event sources.
|
|
1484
|
+
* @public
|
|
1485
|
+
*/
|
|
1486
|
+
State?: BusState | undefined;
|
|
1487
|
+
/**
|
|
1488
|
+
* Human-readable explanation of why an event bus is in its current State. Omitted when the
|
|
1489
|
+
* bus is in a normal operational state (ACTIVE). It stands in for the error response an
|
|
1490
|
+
* asynchronous failure cannot return, so it applies only to resources with an asynchronous
|
|
1491
|
+
* lifecycle: event buses. EventSources and subscribers are provisioned synchronously and
|
|
1492
|
+
* report failures directly on the request.
|
|
1493
|
+
* @public
|
|
1494
|
+
*/
|
|
1495
|
+
StateReason?: string | undefined;
|
|
1496
|
+
/**
|
|
1497
|
+
* AWS Account Id.
|
|
1498
|
+
* @public
|
|
1499
|
+
*/
|
|
1500
|
+
EventBusAccountId?: string | undefined;
|
|
1501
|
+
}
|
|
1502
|
+
/**
|
|
1503
|
+
* @public
|
|
1504
|
+
*/
|
|
1505
|
+
export interface ListEventBusesResponse {
|
|
1506
|
+
/**
|
|
1507
|
+
* List of event bus summaries.
|
|
1508
|
+
* @public
|
|
1509
|
+
*/
|
|
1510
|
+
EventBuses?: EventBusSummary[] | undefined;
|
|
1511
|
+
/**
|
|
1512
|
+
* Opaque pagination token returned by a List operation. Pass it back in the
|
|
1513
|
+
* next request to retrieve the next page of results.
|
|
1514
|
+
* @public
|
|
1515
|
+
*/
|
|
1516
|
+
NextToken?: string | undefined;
|
|
1517
|
+
}
|
|
1518
|
+
/**
|
|
1519
|
+
* @public
|
|
1520
|
+
*/
|
|
1521
|
+
export interface ListEventSourcesRequest {
|
|
1522
|
+
/**
|
|
1523
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
1524
|
+
* @public
|
|
1525
|
+
*/
|
|
1526
|
+
EventBusArn?: string | undefined;
|
|
1527
|
+
/**
|
|
1528
|
+
* EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not
|
|
1529
|
+
* begin with the reserved "aws." prefix. The grammar
|
|
1530
|
+
* matches the ARN local-name segment in EventSourceArn (event-sourcev2/<type>/<name>/<id>), mirroring
|
|
1531
|
+
* EventBusName, so a name the ARN cannot represent cannot be created.
|
|
1532
|
+
* @public
|
|
1533
|
+
*/
|
|
1534
|
+
NamePrefix?: string | undefined;
|
|
1535
|
+
/**
|
|
1536
|
+
* Opaque pagination token returned by a List operation. Pass it back in the
|
|
1537
|
+
* next request to retrieve the next page of results.
|
|
1538
|
+
* @public
|
|
1539
|
+
*/
|
|
1540
|
+
NextToken?: string | undefined;
|
|
1541
|
+
/**
|
|
1542
|
+
* Maximum number of results to return in one page of a List operation.
|
|
1543
|
+
* @public
|
|
1544
|
+
*/
|
|
1545
|
+
MaxResults?: number | undefined;
|
|
1546
|
+
}
|
|
1547
|
+
/**
|
|
1548
|
+
* Summary of an EventSource, as returned by ListEventSources.
|
|
1549
|
+
* @public
|
|
1550
|
+
*/
|
|
1551
|
+
export interface EventSourceSummary {
|
|
1552
|
+
/**
|
|
1553
|
+
* EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment is set by the service
|
|
1554
|
+
* (aws.service for AWS service events, aws.partner for partner events) and is not part of the
|
|
1555
|
+
* resource's name. The id segment is a 25-character identifier generated by the service.
|
|
1556
|
+
* @public
|
|
1557
|
+
*/
|
|
1558
|
+
EventSourceArn?: string | undefined;
|
|
1559
|
+
/**
|
|
1560
|
+
* EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not
|
|
1561
|
+
* begin with the reserved "aws." prefix. The grammar
|
|
1562
|
+
* matches the ARN local-name segment in EventSourceArn (event-sourcev2/<type>/<name>/<id>), mirroring
|
|
1563
|
+
* EventBusName, so a name the ARN cannot represent cannot be created.
|
|
1564
|
+
* @public
|
|
1565
|
+
*/
|
|
1566
|
+
Name?: string | undefined;
|
|
1567
|
+
/**
|
|
1568
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
1569
|
+
* @public
|
|
1570
|
+
*/
|
|
1571
|
+
EventBusArn?: string | undefined;
|
|
1572
|
+
/**
|
|
1573
|
+
* Origin type of an EventSource: an AWS service's events (AWS_SERVICE_EVENTS)
|
|
1574
|
+
* or a partner event source's events (PARTNER_EVENTS).
|
|
1575
|
+
* @public
|
|
1576
|
+
*/
|
|
1577
|
+
Type?: EventSourceType | undefined;
|
|
1578
|
+
/**
|
|
1579
|
+
* Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.
|
|
1580
|
+
* @public
|
|
1581
|
+
*/
|
|
1582
|
+
State?: EventSourceState | undefined;
|
|
1583
|
+
/**
|
|
1584
|
+
* True when the bus owner has withdrawn this EventSource. Present only when true, so a bus
|
|
1585
|
+
* owner listing EventSources sees at a glance which ones they revoked. See
|
|
1586
|
+
* DescribeEventSourceResponse$Revoked.
|
|
1587
|
+
* @public
|
|
1588
|
+
*/
|
|
1589
|
+
Revoked?: boolean | undefined;
|
|
1590
|
+
/**
|
|
1591
|
+
* The time the EventSource was created.
|
|
1592
|
+
* @public
|
|
1593
|
+
*/
|
|
1594
|
+
CreationTime?: Date | undefined;
|
|
1595
|
+
/**
|
|
1596
|
+
* The time the EventSource was last modified.
|
|
1597
|
+
* @public
|
|
1598
|
+
*/
|
|
1599
|
+
LastModifiedTime?: Date | undefined;
|
|
1600
|
+
/**
|
|
1601
|
+
* AWS Account Id.
|
|
1602
|
+
* @public
|
|
1603
|
+
*/
|
|
1604
|
+
EventSourceAccountId?: string | undefined;
|
|
1605
|
+
}
|
|
1606
|
+
/**
|
|
1607
|
+
* @public
|
|
1608
|
+
*/
|
|
1609
|
+
export interface ListEventSourcesResponse {
|
|
1610
|
+
/**
|
|
1611
|
+
* List of EventSource summaries.
|
|
1612
|
+
* @public
|
|
1613
|
+
*/
|
|
1614
|
+
EventSources?: EventSourceSummary[] | undefined;
|
|
1615
|
+
/**
|
|
1616
|
+
* Opaque pagination token returned by a List operation. Pass it back in the
|
|
1617
|
+
* next request to retrieve the next page of results.
|
|
1618
|
+
* @public
|
|
1619
|
+
*/
|
|
1620
|
+
NextToken?: string | undefined;
|
|
1621
|
+
}
|
|
1622
|
+
/**
|
|
1623
|
+
* @public
|
|
1624
|
+
*/
|
|
1625
|
+
export interface ListResourcePoliciesRequest {
|
|
1626
|
+
/**
|
|
1627
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
1628
|
+
* @public
|
|
1629
|
+
*/
|
|
1630
|
+
ResourceArn: string | undefined;
|
|
1631
|
+
/**
|
|
1632
|
+
* Opaque pagination token returned by a List operation. Pass it back in the
|
|
1633
|
+
* next request to retrieve the next page of results.
|
|
1634
|
+
* @public
|
|
1635
|
+
*/
|
|
1636
|
+
NextToken?: string | undefined;
|
|
1637
|
+
/**
|
|
1638
|
+
* Maximum number of results to return in one page of a List operation.
|
|
1639
|
+
* @public
|
|
1640
|
+
*/
|
|
1641
|
+
MaxResults?: number | undefined;
|
|
1642
|
+
}
|
|
1643
|
+
/**
|
|
1644
|
+
* Summary of a policy attached to a resource: its name and revision ID.
|
|
1645
|
+
* @public
|
|
1646
|
+
*/
|
|
1647
|
+
export interface ResourcePolicySummary {
|
|
1648
|
+
/**
|
|
1649
|
+
* Name of a policy attached to a resource. Valid values: "default" (the
|
|
1650
|
+
* customer-managed policy) and "AWS_RAM" (managed exclusively by AWS Resource
|
|
1651
|
+
* Access Manager). Any other value is rejected.
|
|
1652
|
+
* @public
|
|
1653
|
+
*/
|
|
1654
|
+
PolicyName: string | undefined;
|
|
1655
|
+
/**
|
|
1656
|
+
* Revision ID of a resource policy. A new revision ID is generated on every
|
|
1657
|
+
* successful write.
|
|
1658
|
+
* @public
|
|
1659
|
+
*/
|
|
1660
|
+
RevisionId: string | undefined;
|
|
1661
|
+
}
|
|
1662
|
+
/**
|
|
1663
|
+
* Summaries only (policy name and revision ID). Use GetResourcePolicy to
|
|
1664
|
+
* retrieve a policy document.
|
|
1665
|
+
* @public
|
|
1666
|
+
*/
|
|
1667
|
+
export interface ListResourcePoliciesResponse {
|
|
1668
|
+
/**
|
|
1669
|
+
* List of resource policy summaries.
|
|
1670
|
+
* @public
|
|
1671
|
+
*/
|
|
1672
|
+
PolicySummaries?: ResourcePolicySummary[] | undefined;
|
|
1673
|
+
/**
|
|
1674
|
+
* Opaque pagination token returned by a List operation. Pass it back in the
|
|
1675
|
+
* next request to retrieve the next page of results.
|
|
1676
|
+
* @public
|
|
1677
|
+
*/
|
|
1678
|
+
NextToken?: string | undefined;
|
|
1679
|
+
}
|
|
1680
|
+
/**
|
|
1681
|
+
* @public
|
|
1682
|
+
*/
|
|
1683
|
+
export interface ListSubscribersRequest {
|
|
1684
|
+
/**
|
|
1685
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
1686
|
+
* @public
|
|
1687
|
+
*/
|
|
1688
|
+
EventBusArn?: string | undefined;
|
|
1689
|
+
/**
|
|
1690
|
+
* Name of a subscriber. The first character must be alphanumeric; the remaining
|
|
1691
|
+
* characters may also include '.', '-', and '_'.
|
|
1692
|
+
* @public
|
|
1693
|
+
*/
|
|
1694
|
+
NamePrefix?: string | undefined;
|
|
1695
|
+
/**
|
|
1696
|
+
* Opaque pagination token returned by a List operation. Pass it back in the
|
|
1697
|
+
* next request to retrieve the next page of results.
|
|
1698
|
+
* @public
|
|
1699
|
+
*/
|
|
1700
|
+
NextToken?: string | undefined;
|
|
1701
|
+
/**
|
|
1702
|
+
* Maximum number of results to return in one page of a List operation.
|
|
1703
|
+
* @public
|
|
1704
|
+
*/
|
|
1705
|
+
MaxResults?: number | undefined;
|
|
1706
|
+
}
|
|
1707
|
+
/**
|
|
1708
|
+
* Summary of a subscriber, as returned by ListSubscribers.
|
|
1709
|
+
* @public
|
|
1710
|
+
*/
|
|
1711
|
+
export interface SubscriberSummary {
|
|
1712
|
+
/**
|
|
1713
|
+
* The Amazon Resource Name (ARN) that uniquely identifies a subscriber.
|
|
1714
|
+
* @public
|
|
1715
|
+
*/
|
|
1716
|
+
SubscriberArn?: string | undefined;
|
|
1717
|
+
/**
|
|
1718
|
+
* Name of a subscriber. The first character must be alphanumeric; the remaining
|
|
1719
|
+
* characters may also include '.', '-', and '_'.
|
|
1720
|
+
* @public
|
|
1721
|
+
*/
|
|
1722
|
+
Name?: string | undefined;
|
|
1723
|
+
/**
|
|
1724
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
1725
|
+
* @public
|
|
1726
|
+
*/
|
|
1727
|
+
EventBusArn?: string | undefined;
|
|
1728
|
+
/**
|
|
1729
|
+
* ARN of the target a subscriber invokes. The resource grammar is service-neutral because target
|
|
1730
|
+
* services use different separators and the USI form omits region and account.
|
|
1731
|
+
* @public
|
|
1732
|
+
*/
|
|
1733
|
+
TargetArn?: string | undefined;
|
|
1734
|
+
/**
|
|
1735
|
+
* Delivery ordering mode of a subscriber: FIFO delivers events in order within
|
|
1736
|
+
* an event group; UNORDERED delivers without an ordering guarantee.
|
|
1737
|
+
* @public
|
|
1738
|
+
*/
|
|
1739
|
+
Type?: OrderingType | undefined;
|
|
1740
|
+
/**
|
|
1741
|
+
* True when the bus owner has revoked this subscriber. Present only when true, so a bus
|
|
1742
|
+
* owner listing subscribers sees at a glance which ones they revoked. See
|
|
1743
|
+
* DescribeSubscriberResponse$Revoked.
|
|
1744
|
+
* @public
|
|
1745
|
+
*/
|
|
1746
|
+
Revoked?: boolean | undefined;
|
|
1747
|
+
/**
|
|
1748
|
+
* Customer-controlled run state of a subscriber, set on create or update. Distinct
|
|
1749
|
+
* from the bus lifecycle vocabulary, where ACTIVE means "provisioned and healthy".
|
|
1750
|
+
* Delivery requires State RUNNING on a subscriber that is not revoked.
|
|
1751
|
+
* @public
|
|
1752
|
+
*/
|
|
1753
|
+
State?: SubscriberState | undefined;
|
|
1754
|
+
/**
|
|
1755
|
+
* The time the subscriber was created.
|
|
1756
|
+
* @public
|
|
1757
|
+
*/
|
|
1758
|
+
CreationTime?: Date | undefined;
|
|
1759
|
+
/**
|
|
1760
|
+
* The time the subscriber was last modified.
|
|
1761
|
+
* @public
|
|
1762
|
+
*/
|
|
1763
|
+
LastModifiedTime?: Date | undefined;
|
|
1764
|
+
/**
|
|
1765
|
+
* AWS Account Id.
|
|
1766
|
+
* @public
|
|
1767
|
+
*/
|
|
1768
|
+
SubscriberAccountId?: string | undefined;
|
|
1769
|
+
}
|
|
1770
|
+
/**
|
|
1771
|
+
* @public
|
|
1772
|
+
*/
|
|
1773
|
+
export interface ListSubscribersResponse {
|
|
1774
|
+
/**
|
|
1775
|
+
* List of subscriber summaries.
|
|
1776
|
+
* @public
|
|
1777
|
+
*/
|
|
1778
|
+
Subscribers?: SubscriberSummary[] | undefined;
|
|
1779
|
+
/**
|
|
1780
|
+
* Opaque pagination token returned by a List operation. Pass it back in the
|
|
1781
|
+
* next request to retrieve the next page of results.
|
|
1782
|
+
* @public
|
|
1783
|
+
*/
|
|
1784
|
+
NextToken?: string | undefined;
|
|
1785
|
+
}
|
|
1786
|
+
/**
|
|
1787
|
+
* @public
|
|
1788
|
+
*/
|
|
1789
|
+
export interface ListTagsForResourceRequest {
|
|
1790
|
+
/**
|
|
1791
|
+
* ARN for an EventBridge resource that supports tagging: event buses,
|
|
1792
|
+
* subscribers, and event sources.
|
|
1793
|
+
* @public
|
|
1794
|
+
*/
|
|
1795
|
+
ResourceArn: string | undefined;
|
|
1796
|
+
}
|
|
1797
|
+
/**
|
|
1798
|
+
* @public
|
|
1799
|
+
*/
|
|
1800
|
+
export interface ListTagsForResourceResponse {
|
|
1801
|
+
/**
|
|
1802
|
+
* Tags attached to a resource, as key-value pairs.
|
|
1803
|
+
* @public
|
|
1804
|
+
*/
|
|
1805
|
+
Tags?: Record<string, string> | undefined;
|
|
1806
|
+
}
|
|
1807
|
+
/**
|
|
1808
|
+
* System metadata for PutEvents entries. ContentType is not applicable
|
|
1809
|
+
* (always application/eventbridge+json, set server-side).
|
|
1810
|
+
* @public
|
|
1811
|
+
*/
|
|
1812
|
+
export interface PutEventsSystemMetadata {
|
|
1813
|
+
/**
|
|
1814
|
+
* Event group ID for FIFO ordering.
|
|
1815
|
+
* @public
|
|
1816
|
+
*/
|
|
1817
|
+
EventGroupId?: string | undefined;
|
|
1818
|
+
/**
|
|
1819
|
+
* Deduplication ID for FIFO deduplication.
|
|
1820
|
+
* @public
|
|
1821
|
+
*/
|
|
1822
|
+
DeduplicationId?: string | undefined;
|
|
1823
|
+
}
|
|
1824
|
+
/**
|
|
1825
|
+
* A single event entry in a PutEvents request.
|
|
1826
|
+
* @public
|
|
1827
|
+
*/
|
|
1828
|
+
export interface PutEventsRequestEntry {
|
|
1829
|
+
/**
|
|
1830
|
+
* The source of the event. The `aws.` value prefix is service-reserved and
|
|
1831
|
+
* cannot be used as a value.
|
|
1832
|
+
* @public
|
|
1833
|
+
*/
|
|
1834
|
+
Source: string | undefined;
|
|
1835
|
+
/**
|
|
1836
|
+
* Free-form detail-type classifying an event within its source.
|
|
1837
|
+
* @public
|
|
1838
|
+
*/
|
|
1839
|
+
DetailType: string | undefined;
|
|
1840
|
+
/**
|
|
1841
|
+
* The event payload, as a valid JSON string.
|
|
1842
|
+
* @public
|
|
1843
|
+
*/
|
|
1844
|
+
Detail?: string | undefined;
|
|
1845
|
+
/**
|
|
1846
|
+
* ARNs of resources the event concerns. Included in the event delivered to
|
|
1847
|
+
* subscribers.
|
|
1848
|
+
* @public
|
|
1849
|
+
*/
|
|
1850
|
+
Resources?: string[] | undefined;
|
|
1851
|
+
/**
|
|
1852
|
+
* The time the event occurred. Defaults to the time the service receives the
|
|
1853
|
+
* event when omitted.
|
|
1854
|
+
* @public
|
|
1855
|
+
*/
|
|
1856
|
+
Time?: Date | undefined;
|
|
1857
|
+
/**
|
|
1858
|
+
* System metadata for PutEvents entries. ContentType is not applicable
|
|
1859
|
+
* (always application/eventbridge+json, set server-side).
|
|
1860
|
+
* @public
|
|
1861
|
+
*/
|
|
1862
|
+
SystemMetadata?: PutEventsSystemMetadata | undefined;
|
|
1863
|
+
}
|
|
1864
|
+
/**
|
|
1865
|
+
* @public
|
|
1866
|
+
*/
|
|
1867
|
+
export interface PutEventsRequest {
|
|
1868
|
+
/**
|
|
1869
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
1870
|
+
* @public
|
|
1871
|
+
*/
|
|
1872
|
+
EventBusArn: string | undefined;
|
|
1873
|
+
/**
|
|
1874
|
+
* List of event entries to publish. Must contain at least one entry.
|
|
1875
|
+
* @public
|
|
1876
|
+
*/
|
|
1877
|
+
Entries: PutEventsRequestEntry[] | undefined;
|
|
1878
|
+
/**
|
|
1879
|
+
* Request-level deduplication settings, applied to every entry in the batch.
|
|
1880
|
+
* @public
|
|
1881
|
+
*/
|
|
1882
|
+
DeduplicationConfiguration?: DeduplicationConfiguration | undefined;
|
|
1883
|
+
}
|
|
1884
|
+
/**
|
|
1885
|
+
* Result entry for a published event. The position of each entry in the response
|
|
1886
|
+
* list aligns 1:1 with the corresponding request entry.
|
|
1887
|
+
* @public
|
|
1888
|
+
*/
|
|
1889
|
+
export interface PutEventsResultEntry {
|
|
1890
|
+
/**
|
|
1891
|
+
* Unique event ID assigned by the service.
|
|
1892
|
+
* @public
|
|
1893
|
+
*/
|
|
1894
|
+
EventId?: string | undefined;
|
|
1895
|
+
/**
|
|
1896
|
+
* Sequence number assigned to the message for ordering within the message group.
|
|
1897
|
+
* @public
|
|
1898
|
+
*/
|
|
1899
|
+
SequenceNumber?: string | undefined;
|
|
1900
|
+
/**
|
|
1901
|
+
* Indicates the outcome for a successfully processed publish entry.
|
|
1902
|
+
* @public
|
|
1903
|
+
*/
|
|
1904
|
+
SuccessCode?: SuccessCode | undefined;
|
|
1905
|
+
/**
|
|
1906
|
+
* Error code identifying why a publish batch entry failed.
|
|
1907
|
+
* @public
|
|
1908
|
+
*/
|
|
1909
|
+
ErrorCode?: string | undefined;
|
|
1910
|
+
/**
|
|
1911
|
+
* Human-readable explanation of why a publish batch entry failed.
|
|
1912
|
+
* @public
|
|
1913
|
+
*/
|
|
1914
|
+
ErrorMessage?: string | undefined;
|
|
1915
|
+
}
|
|
1916
|
+
/**
|
|
1917
|
+
* @public
|
|
1918
|
+
*/
|
|
1919
|
+
export interface PutEventsResponse {
|
|
1920
|
+
/**
|
|
1921
|
+
* The number of entries in the batch that failed to be published.
|
|
1922
|
+
* @public
|
|
1923
|
+
*/
|
|
1924
|
+
FailedEntryCount?: number | undefined;
|
|
1925
|
+
/**
|
|
1926
|
+
* List of per-entry publish results, in the same order as the request entries.
|
|
1927
|
+
* @public
|
|
1928
|
+
*/
|
|
1929
|
+
Entries?: PutEventsResultEntry[] | undefined;
|
|
1930
|
+
}
|
|
1931
|
+
/**
|
|
1932
|
+
* System metadata for PutRawEvents entries. ContentType is required because
|
|
1933
|
+
* PutRawEvents supports arbitrary binary formats.
|
|
1934
|
+
* @public
|
|
1935
|
+
*/
|
|
1936
|
+
export interface PutRawEventsSystemMetadata {
|
|
1937
|
+
/**
|
|
1938
|
+
* Content type of the event data (e.g., "application/cloudevents+json").
|
|
1939
|
+
* @public
|
|
1940
|
+
*/
|
|
1941
|
+
ContentType: string | undefined;
|
|
1942
|
+
/**
|
|
1943
|
+
* Deduplication ID for FIFO deduplication.
|
|
1944
|
+
* @public
|
|
1945
|
+
*/
|
|
1946
|
+
DeduplicationId?: string | undefined;
|
|
1947
|
+
/**
|
|
1948
|
+
* Event group ID for FIFO ordering.
|
|
1949
|
+
* @public
|
|
1950
|
+
*/
|
|
1951
|
+
EventGroupId?: string | undefined;
|
|
1952
|
+
}
|
|
1953
|
+
/**
|
|
1954
|
+
* A single event entry in a raw publish request.
|
|
1955
|
+
* @public
|
|
1956
|
+
*/
|
|
1957
|
+
export interface PutRawEventsRequestEntry {
|
|
1958
|
+
/**
|
|
1959
|
+
* The event data as a base64-encoded blob. Supports binary formats.
|
|
1960
|
+
* @public
|
|
1961
|
+
*/
|
|
1962
|
+
Data: Uint8Array | undefined;
|
|
1963
|
+
/**
|
|
1964
|
+
* Metadata key-value pairs you define. Keys must be 1-128 characters and must not contain "/".
|
|
1965
|
+
* @public
|
|
1966
|
+
*/
|
|
1967
|
+
Metadata?: Record<string, string> | undefined;
|
|
1968
|
+
/**
|
|
1969
|
+
* Structured system metadata with defined properties.
|
|
1970
|
+
* @public
|
|
1971
|
+
*/
|
|
1972
|
+
SystemMetadata: PutRawEventsSystemMetadata | undefined;
|
|
1973
|
+
}
|
|
1974
|
+
/**
|
|
1975
|
+
* Authentication configuration for public Confluent Schema Registry via EventBridge Connection.
|
|
1976
|
+
* @public
|
|
1977
|
+
*/
|
|
1978
|
+
export interface ConfluentPublicRegistryConfiguration {
|
|
1979
|
+
/**
|
|
1980
|
+
* EventBridge Connection ARN that provides API Key or OAuth credentials for the registry.
|
|
1981
|
+
* @public
|
|
1982
|
+
*/
|
|
1983
|
+
ConnectionArn: string | undefined;
|
|
1984
|
+
}
|
|
1985
|
+
/**
|
|
1986
|
+
* Schema registry settings used to encode open-format (Avro/Protobuf) events.
|
|
1987
|
+
* @public
|
|
1988
|
+
*/
|
|
1989
|
+
export interface SchemaRegistryConfiguration {
|
|
1990
|
+
/**
|
|
1991
|
+
* Glue Schema Registry ARN, or Confluent Cloud HTTPS URL.
|
|
1992
|
+
* @public
|
|
1993
|
+
*/
|
|
1994
|
+
RegistryUri: string | undefined;
|
|
1995
|
+
/**
|
|
1996
|
+
* Required when RegistryUri is an HTTPS URL. Provides Connection-based auth for Confluent Cloud.
|
|
1997
|
+
* @public
|
|
1998
|
+
*/
|
|
1999
|
+
ConfluentPublicRegistryConfiguration?: ConfluentPublicRegistryConfiguration | undefined;
|
|
2000
|
+
}
|
|
2001
|
+
/**
|
|
2002
|
+
* @public
|
|
2003
|
+
*/
|
|
2004
|
+
export interface PutRawEventsRequest {
|
|
2005
|
+
/**
|
|
2006
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
2007
|
+
* @public
|
|
2008
|
+
*/
|
|
2009
|
+
EventBusArn: string | undefined;
|
|
2010
|
+
/**
|
|
2011
|
+
* List of event entries to publish. Must contain at least one entry.
|
|
2012
|
+
* @public
|
|
2013
|
+
*/
|
|
2014
|
+
Entries: PutRawEventsRequestEntry[] | undefined;
|
|
2015
|
+
/**
|
|
2016
|
+
* Schema-registry settings for encoding open-format (Avro/Protobuf) events.
|
|
2017
|
+
* Required for open-format entries; ignored for JSON entries. The registry
|
|
2018
|
+
* is read with the caller's credentials, so the caller needs read
|
|
2019
|
+
* access to the registry it references.
|
|
2020
|
+
* @public
|
|
2021
|
+
*/
|
|
2022
|
+
SchemaRegistryConfiguration?: SchemaRegistryConfiguration | undefined;
|
|
2023
|
+
/**
|
|
2024
|
+
* Request-level deduplication settings, applied to every entry in the batch.
|
|
2025
|
+
* @public
|
|
2026
|
+
*/
|
|
2027
|
+
DeduplicationConfiguration?: DeduplicationConfiguration | undefined;
|
|
2028
|
+
}
|
|
2029
|
+
/**
|
|
2030
|
+
* Result entry for a published event. The position of each entry in the response list
|
|
2031
|
+
* aligns 1:1 with the corresponding request entry, enabling co-location by index.
|
|
2032
|
+
* @public
|
|
2033
|
+
*/
|
|
2034
|
+
export interface PutRawEventsResultEntry {
|
|
2035
|
+
/**
|
|
2036
|
+
* Unique event ID assigned by the service. Present on successful entries.
|
|
2037
|
+
* @public
|
|
2038
|
+
*/
|
|
2039
|
+
EventId?: string | undefined;
|
|
2040
|
+
/**
|
|
2041
|
+
* Sequence number for ordering within the event group.
|
|
2042
|
+
* @public
|
|
2043
|
+
*/
|
|
2044
|
+
SequenceNumber?: string | undefined;
|
|
2045
|
+
/**
|
|
2046
|
+
* Indicates how the entry was processed. Present only on successful entries.
|
|
2047
|
+
* @public
|
|
2048
|
+
*/
|
|
2049
|
+
SuccessCode?: SuccessCode | undefined;
|
|
2050
|
+
/**
|
|
2051
|
+
* Error code if the entry failed.
|
|
2052
|
+
* @public
|
|
2053
|
+
*/
|
|
2054
|
+
ErrorCode?: string | undefined;
|
|
2055
|
+
/**
|
|
2056
|
+
* Error message if the entry failed.
|
|
2057
|
+
* @public
|
|
2058
|
+
*/
|
|
2059
|
+
ErrorMessage?: string | undefined;
|
|
2060
|
+
}
|
|
2061
|
+
/**
|
|
2062
|
+
* @public
|
|
2063
|
+
*/
|
|
2064
|
+
export interface PutRawEventsResponse {
|
|
2065
|
+
/**
|
|
2066
|
+
* The number of entries in the batch that failed to be published.
|
|
2067
|
+
* @public
|
|
2068
|
+
*/
|
|
2069
|
+
FailedEntryCount?: number | undefined;
|
|
2070
|
+
/**
|
|
2071
|
+
* List of per-entry publish results, in the same order as the request entries.
|
|
2072
|
+
* @public
|
|
2073
|
+
*/
|
|
2074
|
+
Entries?: PutRawEventsResultEntry[] | undefined;
|
|
2075
|
+
}
|
|
2076
|
+
/**
|
|
2077
|
+
* @public
|
|
2078
|
+
*/
|
|
2079
|
+
export interface PutResourcePolicyRequest {
|
|
2080
|
+
/**
|
|
2081
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
2082
|
+
* @public
|
|
2083
|
+
*/
|
|
2084
|
+
ResourceArn: string | undefined;
|
|
2085
|
+
/**
|
|
2086
|
+
* A resource policy document, as a JSON string. The "default" policy can be up to
|
|
2087
|
+
* 20 KB (20,480 bytes of UTF-8) by default. This quota is adjustable in Service
|
|
2088
|
+
* Quotas. A "default" policy that exceeds the quota is rejected with
|
|
2089
|
+
* PolicyLengthExceededException. No policy document can exceed 389,120 bytes of
|
|
2090
|
+
* UTF-8, regardless of the quota.
|
|
2091
|
+
* @public
|
|
2092
|
+
*/
|
|
2093
|
+
PolicyDocument: string | undefined;
|
|
2094
|
+
/**
|
|
2095
|
+
* Which named policy to write. Defaults to "default", the customer-managed policy,
|
|
2096
|
+
* when omitted (a write AWS Resource Access Manager makes on the owner's behalf
|
|
2097
|
+
* resolves to "AWS_RAM" instead). The two writers are exclusive in both directions —
|
|
2098
|
+
* only Resource Access Manager can write "AWS_RAM", and only the bus owner can write
|
|
2099
|
+
* "default" — so naming the other party's policy fails with AccessDeniedException.
|
|
2100
|
+
* A well-formed name that is neither of the two fails with InvalidInputException.
|
|
2101
|
+
* @public
|
|
2102
|
+
*/
|
|
2103
|
+
PolicyName?: string | undefined;
|
|
2104
|
+
/**
|
|
2105
|
+
* The write succeeds only if the named policy's current revision ID matches
|
|
2106
|
+
* this value; a policy that does not exist yet matches only the sentinel
|
|
2107
|
+
* "NO_POLICY" (create-only). On mismatch the operation fails with
|
|
2108
|
+
* ConflictException. When omitted, the write is unconditional. Every attempt
|
|
2109
|
+
* stores a newly generated revision ID, so retrying an unanswered request can
|
|
2110
|
+
* conflict with the caller's own earlier attempt; read the policy back and
|
|
2111
|
+
* compare it with the one you intended before treating a conflict as another
|
|
2112
|
+
* writer's change.
|
|
2113
|
+
* @public
|
|
2114
|
+
*/
|
|
2115
|
+
ExpectedRevisionId?: string | undefined;
|
|
2116
|
+
}
|
|
2117
|
+
/**
|
|
2118
|
+
* @public
|
|
2119
|
+
*/
|
|
2120
|
+
export interface PutResourcePolicyResponse {
|
|
2121
|
+
/**
|
|
2122
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
2123
|
+
* @public
|
|
2124
|
+
*/
|
|
2125
|
+
ResourceArn: string | undefined;
|
|
2126
|
+
/**
|
|
2127
|
+
* Name of a policy attached to a resource. Valid values: "default" (the
|
|
2128
|
+
* customer-managed policy) and "AWS_RAM" (managed exclusively by AWS Resource
|
|
2129
|
+
* Access Manager). Any other value is rejected.
|
|
2130
|
+
* @public
|
|
2131
|
+
*/
|
|
2132
|
+
PolicyName: string | undefined;
|
|
2133
|
+
/**
|
|
2134
|
+
* Absent when the write removed the policy; a removal produces no new revision.
|
|
2135
|
+
* @public
|
|
2136
|
+
*/
|
|
2137
|
+
RevisionId?: string | undefined;
|
|
2138
|
+
}
|
|
2139
|
+
/**
|
|
2140
|
+
* @public
|
|
2141
|
+
*/
|
|
2142
|
+
export interface RevokeResourceRequest {
|
|
2143
|
+
/**
|
|
2144
|
+
* ARN of a resource a bus owner can revoke: a subscriber or an EventSource. The pattern is
|
|
2145
|
+
* the revocable subset of TaggableResourceArn; buses are not revocable.
|
|
2146
|
+
* @public
|
|
2147
|
+
*/
|
|
2148
|
+
Arn: string | undefined;
|
|
2149
|
+
}
|
|
2150
|
+
/**
|
|
2151
|
+
* @public
|
|
2152
|
+
*/
|
|
2153
|
+
export interface RevokeResourceResponse {
|
|
2154
|
+
/**
|
|
2155
|
+
* ARN of a resource a bus owner can revoke: a subscriber or an EventSource. The pattern is
|
|
2156
|
+
* the revocable subset of TaggableResourceArn; buses are not revocable.
|
|
2157
|
+
* @public
|
|
2158
|
+
*/
|
|
2159
|
+
Arn?: string | undefined;
|
|
2160
|
+
}
|
|
2161
|
+
/**
|
|
2162
|
+
* @public
|
|
2163
|
+
*/
|
|
2164
|
+
export interface TagResourceRequest {
|
|
2165
|
+
/**
|
|
2166
|
+
* ARN for an EventBridge resource that supports tagging: event buses,
|
|
2167
|
+
* subscribers, and event sources.
|
|
2168
|
+
* @public
|
|
2169
|
+
*/
|
|
2170
|
+
ResourceArn: string | undefined;
|
|
2171
|
+
/**
|
|
2172
|
+
* Tags attached to a resource, as key-value pairs.
|
|
2173
|
+
* @public
|
|
2174
|
+
*/
|
|
2175
|
+
Tags: Record<string, string> | undefined;
|
|
2176
|
+
}
|
|
2177
|
+
/**
|
|
2178
|
+
* @public
|
|
2179
|
+
*/
|
|
2180
|
+
export interface TagResourceResponse {
|
|
2181
|
+
}
|
|
2182
|
+
/**
|
|
2183
|
+
* @public
|
|
2184
|
+
*/
|
|
2185
|
+
export interface UntagResourceRequest {
|
|
2186
|
+
/**
|
|
2187
|
+
* ARN for an EventBridge resource that supports tagging: event buses,
|
|
2188
|
+
* subscribers, and event sources.
|
|
2189
|
+
* @public
|
|
2190
|
+
*/
|
|
2191
|
+
ResourceArn: string | undefined;
|
|
2192
|
+
/**
|
|
2193
|
+
* List of tag keys.
|
|
2194
|
+
* @public
|
|
2195
|
+
*/
|
|
2196
|
+
TagKeys: string[] | undefined;
|
|
2197
|
+
}
|
|
2198
|
+
/**
|
|
2199
|
+
* @public
|
|
2200
|
+
*/
|
|
2201
|
+
export interface UntagResourceResponse {
|
|
2202
|
+
}
|
|
2203
|
+
/**
|
|
2204
|
+
* @public
|
|
2205
|
+
*/
|
|
2206
|
+
export interface UpdateEventBusRequest {
|
|
2207
|
+
/**
|
|
2208
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
2209
|
+
* @public
|
|
2210
|
+
*/
|
|
2211
|
+
EventBusArn: string | undefined;
|
|
2212
|
+
/**
|
|
2213
|
+
* Free-text description. Used by every resource type that has one: event buses,
|
|
2214
|
+
* subscribers, and event sources.
|
|
2215
|
+
* @public
|
|
2216
|
+
*/
|
|
2217
|
+
Description?: string | undefined;
|
|
2218
|
+
/**
|
|
2219
|
+
* Encryption configuration for an event bus.
|
|
2220
|
+
* @public
|
|
2221
|
+
*/
|
|
2222
|
+
EncryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
2223
|
+
/**
|
|
2224
|
+
* Event storage configuration for an event bus.
|
|
2225
|
+
* @public
|
|
2226
|
+
*/
|
|
2227
|
+
StorageConfiguration?: StorageConfiguration | undefined;
|
|
2228
|
+
}
|
|
2229
|
+
/**
|
|
2230
|
+
* @public
|
|
2231
|
+
*/
|
|
2232
|
+
export interface UpdateEventBusResponse {
|
|
2233
|
+
/**
|
|
2234
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
2235
|
+
* @public
|
|
2236
|
+
*/
|
|
2237
|
+
EventBusArn?: string | undefined;
|
|
2238
|
+
/**
|
|
2239
|
+
* Name of an event bus. The first character must be alphanumeric; the remaining characters
|
|
2240
|
+
* may also include '.', '-', and '_'. The grammar matches the name segment of EventBusArn
|
|
2241
|
+
* (event-busv2/<name>/<id>), so every valid name can be represented in the bus's ARN. The same
|
|
2242
|
+
* type is used everywhere a bus name appears.
|
|
2243
|
+
* @public
|
|
2244
|
+
*/
|
|
2245
|
+
Name?: string | undefined;
|
|
2246
|
+
/**
|
|
2247
|
+
* Free-text description. Used by every resource type that has one: event buses,
|
|
2248
|
+
* subscribers, and event sources.
|
|
2249
|
+
* @public
|
|
2250
|
+
*/
|
|
2251
|
+
Description?: string | undefined;
|
|
2252
|
+
/**
|
|
2253
|
+
* Encryption configuration for an event bus.
|
|
2254
|
+
* @public
|
|
2255
|
+
*/
|
|
2256
|
+
EncryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
2257
|
+
/**
|
|
2258
|
+
* Event storage configuration of an event bus, as returned on reads.
|
|
2259
|
+
* @public
|
|
2260
|
+
*/
|
|
2261
|
+
StorageConfiguration?: StorageConfigurationOutput | undefined;
|
|
2262
|
+
/**
|
|
2263
|
+
* Lifecycle state of an event bus.
|
|
2264
|
+
* - CREATING: Bus creation is in progress.
|
|
2265
|
+
* - CREATE_FAILED: Bus creation failed; see StateReason. The bus cannot be recovered or
|
|
2266
|
+
* recreated in place: delete it with DeleteEventBus, then create a new bus.
|
|
2267
|
+
* - ACTIVE: Bus is fully operational and can accept events.
|
|
2268
|
+
* - UPDATING: Bus update is in progress.
|
|
2269
|
+
* - UPDATE_FAILED: Bus update failed; the bus remains operational with its previous configuration.
|
|
2270
|
+
* - DELETING: Bus deletion is actively in progress.
|
|
2271
|
+
* - DELETE_FAILED: Bus deletion failed; see StateReason. Retry DeleteEventBus after removing
|
|
2272
|
+
* subscribers and event sources.
|
|
2273
|
+
* @public
|
|
2274
|
+
*/
|
|
2275
|
+
State?: BusState | undefined;
|
|
2276
|
+
/**
|
|
2277
|
+
* Human-readable explanation of why an event bus is in its current State. Omitted when the
|
|
2278
|
+
* bus is in a normal operational state (ACTIVE). It stands in for the error response an
|
|
2279
|
+
* asynchronous failure cannot return, so it applies only to resources with an asynchronous
|
|
2280
|
+
* lifecycle: event buses. EventSources and subscribers are provisioned synchronously and
|
|
2281
|
+
* report failures directly on the request.
|
|
2282
|
+
* @public
|
|
2283
|
+
*/
|
|
2284
|
+
StateReason?: string | undefined;
|
|
2285
|
+
/**
|
|
2286
|
+
* The time the event bus was last modified.
|
|
2287
|
+
* @public
|
|
2288
|
+
*/
|
|
2289
|
+
LastModifiedTime?: Date | undefined;
|
|
2290
|
+
}
|
|
2291
|
+
/**
|
|
2292
|
+
* @public
|
|
2293
|
+
*/
|
|
2294
|
+
export interface UpdateEventSourceRequest {
|
|
2295
|
+
/**
|
|
2296
|
+
* EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment is set by the service
|
|
2297
|
+
* (aws.service for AWS service events, aws.partner for partner events) and is not part of the
|
|
2298
|
+
* resource's name. The id segment is a 25-character identifier generated by the service.
|
|
2299
|
+
* @public
|
|
2300
|
+
*/
|
|
2301
|
+
EventSourceArn: string | undefined;
|
|
2302
|
+
/**
|
|
2303
|
+
* Discriminated EventSource configuration. Exactly one variant must be set.
|
|
2304
|
+
* @public
|
|
2305
|
+
*/
|
|
2306
|
+
Configuration?: EventSourceConfiguration | undefined;
|
|
2307
|
+
/**
|
|
2308
|
+
* Free-text description. Used by every resource type that has one: event buses,
|
|
2309
|
+
* subscribers, and event sources.
|
|
2310
|
+
* @public
|
|
2311
|
+
*/
|
|
2312
|
+
Description?: string | undefined;
|
|
2313
|
+
}
|
|
2314
|
+
/**
|
|
2315
|
+
* @public
|
|
2316
|
+
*/
|
|
2317
|
+
export interface UpdateEventSourceResponse {
|
|
2318
|
+
/**
|
|
2319
|
+
* EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment is set by the service
|
|
2320
|
+
* (aws.service for AWS service events, aws.partner for partner events) and is not part of the
|
|
2321
|
+
* resource's name. The id segment is a 25-character identifier generated by the service.
|
|
2322
|
+
* @public
|
|
2323
|
+
*/
|
|
2324
|
+
EventSourceArn?: string | undefined;
|
|
2325
|
+
/**
|
|
2326
|
+
* EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not
|
|
2327
|
+
* begin with the reserved "aws." prefix. The grammar
|
|
2328
|
+
* matches the ARN local-name segment in EventSourceArn (event-sourcev2/<type>/<name>/<id>), mirroring
|
|
2329
|
+
* EventBusName, so a name the ARN cannot represent cannot be created.
|
|
2330
|
+
* @public
|
|
2331
|
+
*/
|
|
2332
|
+
Name?: string | undefined;
|
|
2333
|
+
/**
|
|
2334
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
2335
|
+
* @public
|
|
2336
|
+
*/
|
|
2337
|
+
EventBusArn?: string | undefined;
|
|
2338
|
+
/**
|
|
2339
|
+
* Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.
|
|
2340
|
+
* @public
|
|
2341
|
+
*/
|
|
2342
|
+
State?: EventSourceState | undefined;
|
|
2343
|
+
/**
|
|
2344
|
+
* The time the EventSource was last modified.
|
|
2345
|
+
* @public
|
|
2346
|
+
*/
|
|
2347
|
+
LastModifiedTime?: Date | undefined;
|
|
2348
|
+
}
|
|
2349
|
+
/**
|
|
2350
|
+
* Update-able configuration for how the subscriber invokes its target.
|
|
2351
|
+
* @public
|
|
2352
|
+
*/
|
|
2353
|
+
export interface UpdateInvokeConfiguration {
|
|
2354
|
+
/**
|
|
2355
|
+
* IAM role the service assumes to invoke the target. Must belong to the
|
|
2356
|
+
* calling account.
|
|
2357
|
+
* @public
|
|
2358
|
+
*/
|
|
2359
|
+
RoleArn: string | undefined;
|
|
2360
|
+
/**
|
|
2361
|
+
* Lambda invocation parameters for subscribers. Values are forwarded to the Lambda Invoke API.
|
|
2362
|
+
* Every string member accepts a literal or a JSONata expression (e.g. "\{% $events.Data.qualifier %\}").
|
|
2363
|
+
* @public
|
|
2364
|
+
*/
|
|
2365
|
+
LambdaParameters?: LambdaParameters | undefined;
|
|
2366
|
+
/**
|
|
2367
|
+
* SQS invocation parameters for subscribers. Values are forwarded to the SQS SendMessageBatch API.
|
|
2368
|
+
* All scalar values accept a literal or a JSONata expression (e.g. "\{% $events.Data.groupId %\}").
|
|
2369
|
+
* @public
|
|
2370
|
+
*/
|
|
2371
|
+
SqsParameters?: SqsParameters | undefined;
|
|
2372
|
+
/**
|
|
2373
|
+
* SNS invocation parameters for subscribers. Values are forwarded to the SNS PublishBatch API.
|
|
2374
|
+
* All scalar values accept a literal or a JSONata expression (e.g. "\{% $events.Data.groupId %\}").
|
|
2375
|
+
* @public
|
|
2376
|
+
*/
|
|
2377
|
+
SnsParameters?: SnsParameters | undefined;
|
|
2378
|
+
/**
|
|
2379
|
+
* Kinesis Data Streams invocation parameters for subscribers. Values are forwarded to the
|
|
2380
|
+
* Kinesis PutRecords API.
|
|
2381
|
+
* All scalar values accept a literal or a JSONata expression (e.g. "\{% $events.Data.partitionKey %\}").
|
|
2382
|
+
* @public
|
|
2383
|
+
*/
|
|
2384
|
+
KinesisParameters?: KinesisParameters | undefined;
|
|
2385
|
+
/**
|
|
2386
|
+
* Step Functions invocation parameters for subscribers. Values are forwarded to the
|
|
2387
|
+
* Step Functions StartExecution or StartSyncExecution API.
|
|
2388
|
+
* Every string member accepts a literal or a JSONata expression (e.g. "\{% $events.Data.executionName %\}").
|
|
2389
|
+
* @public
|
|
2390
|
+
*/
|
|
2391
|
+
StepFunctionsParameters?: StepFunctionsParameters | undefined;
|
|
2392
|
+
/**
|
|
2393
|
+
* HTTP invocation parameters for subscribers (API Gateway / API Destination). Values are
|
|
2394
|
+
* forwarded to the HTTP endpoint.
|
|
2395
|
+
* @public
|
|
2396
|
+
*/
|
|
2397
|
+
HttpParameters?: HttpParameters | undefined;
|
|
2398
|
+
/**
|
|
2399
|
+
* Parameters for USI (Universal Service Integration) targets.
|
|
2400
|
+
* Used when TargetArn is in the format arn:aws:events:::aws-sdk:\{service\}:\{apiAction\}
|
|
2401
|
+
* @public
|
|
2402
|
+
*/
|
|
2403
|
+
UniversalTargetParameters?: UniversalTargetParameters | undefined;
|
|
2404
|
+
/**
|
|
2405
|
+
* Parameters for forwarding events to another EventBridge event bus.
|
|
2406
|
+
* @public
|
|
2407
|
+
*/
|
|
2408
|
+
EventBusV2Parameters?: EventBusV2Parameters | undefined;
|
|
2409
|
+
}
|
|
2410
|
+
/**
|
|
2411
|
+
* @public
|
|
2412
|
+
*/
|
|
2413
|
+
export interface UpdateSubscriberRequest {
|
|
2414
|
+
/**
|
|
2415
|
+
* The Amazon Resource Name (ARN) that uniquely identifies a subscriber.
|
|
2416
|
+
* @public
|
|
2417
|
+
*/
|
|
2418
|
+
SubscriberArn: string | undefined;
|
|
2419
|
+
/**
|
|
2420
|
+
* Free-text description. Used by every resource type that has one: event buses,
|
|
2421
|
+
* subscribers, and event sources.
|
|
2422
|
+
* @public
|
|
2423
|
+
*/
|
|
2424
|
+
Description?: string | undefined;
|
|
2425
|
+
/**
|
|
2426
|
+
* Customer-controlled run state of a subscriber, set on create or update. Distinct
|
|
2427
|
+
* from the bus lifecycle vocabulary, where ACTIVE means "provisioned and healthy".
|
|
2428
|
+
* Delivery requires State RUNNING on a subscriber that is not revoked.
|
|
2429
|
+
* @public
|
|
2430
|
+
*/
|
|
2431
|
+
State?: SubscriberState | undefined;
|
|
2432
|
+
/**
|
|
2433
|
+
* Position from which delivery resumes when a subscriber is unpaused.
|
|
2434
|
+
* Honored only on an UpdateSubscriber call that transitions State
|
|
2435
|
+
* from STOPPED to RUNNING (unpause); ignored on any other call and not accepted
|
|
2436
|
+
* on Create. Defaults to LAST_PROCESSED when omitted.
|
|
2437
|
+
* @public
|
|
2438
|
+
*/
|
|
2439
|
+
ResumePosition?: ResumePosition | undefined;
|
|
2440
|
+
/**
|
|
2441
|
+
* Update-able configuration for how the subscriber invokes its target.
|
|
2442
|
+
* @public
|
|
2443
|
+
*/
|
|
2444
|
+
InvokeConfiguration?: UpdateInvokeConfiguration | undefined;
|
|
2445
|
+
/**
|
|
2446
|
+
* Configuration for filtering events delivered to a subscriber.
|
|
2447
|
+
* On CreateSubscriber, Filters is required and must contain at least one Filter with a non-empty Pattern.
|
|
2448
|
+
* On UpdateSubscriber, an empty `FilterConfiguration:\{\}` clears the existing filter.
|
|
2449
|
+
* Any non-empty shape (including `\{Language:X\}` without Filters) must contain a valid Filters list
|
|
2450
|
+
* — same contract as CreateSubscriber. A non-empty Filters list overwrites; an omitted
|
|
2451
|
+
* FilterConfiguration preserves existing state.
|
|
2452
|
+
* All Filters are implicitly ANDed — an event must match every Filter to be delivered.
|
|
2453
|
+
* @public
|
|
2454
|
+
*/
|
|
2455
|
+
FilterConfiguration?: FilterConfiguration | undefined;
|
|
2456
|
+
/**
|
|
2457
|
+
* Batching configuration for a subscriber.
|
|
2458
|
+
* @public
|
|
2459
|
+
*/
|
|
2460
|
+
BatchConfiguration?: BatchConfiguration | undefined;
|
|
2461
|
+
/**
|
|
2462
|
+
* Not applicable to universal (aws-sdk) targets, whose input transformation is UniversalTargetParameters.Input; a Transformer on such a target is rejected.
|
|
2463
|
+
* @public
|
|
2464
|
+
*/
|
|
2465
|
+
Transformer?: Transformer | undefined;
|
|
2466
|
+
/**
|
|
2467
|
+
* Retry policy for a subscriber.
|
|
2468
|
+
* @public
|
|
2469
|
+
*/
|
|
2470
|
+
RetryPolicy?: RetryPolicy | undefined;
|
|
2471
|
+
/**
|
|
2472
|
+
* On-failure configuration: where a failed delivery is sent. Shared by the subscriber and the
|
|
2473
|
+
* EventSource.
|
|
2474
|
+
* @public
|
|
2475
|
+
*/
|
|
2476
|
+
OnFailureConfiguration?: OnFailureConfiguration | undefined;
|
|
2477
|
+
/**
|
|
2478
|
+
* Log configuration for a subscriber.
|
|
2479
|
+
* @public
|
|
2480
|
+
*/
|
|
2481
|
+
LogConfiguration?: LogConfiguration | undefined;
|
|
2482
|
+
}
|
|
2483
|
+
/**
|
|
2484
|
+
* @public
|
|
2485
|
+
*/
|
|
2486
|
+
export interface UpdateSubscriberResponse {
|
|
2487
|
+
/**
|
|
2488
|
+
* The Amazon Resource Name (ARN) that uniquely identifies a subscriber.
|
|
2489
|
+
* @public
|
|
2490
|
+
*/
|
|
2491
|
+
SubscriberArn?: string | undefined;
|
|
2492
|
+
/**
|
|
2493
|
+
* Name of a subscriber. The first character must be alphanumeric; the remaining
|
|
2494
|
+
* characters may also include '.', '-', and '_'.
|
|
2495
|
+
* @public
|
|
2496
|
+
*/
|
|
2497
|
+
Name?: string | undefined;
|
|
2498
|
+
/**
|
|
2499
|
+
* The Amazon Resource Name (ARN) that uniquely identifies an event bus.
|
|
2500
|
+
* @public
|
|
2501
|
+
*/
|
|
2502
|
+
EventBusArn?: string | undefined;
|
|
2503
|
+
/**
|
|
2504
|
+
* Delivery ordering mode of a subscriber: FIFO delivers events in order within
|
|
2505
|
+
* an event group; UNORDERED delivers without an ordering guarantee.
|
|
2506
|
+
* @public
|
|
2507
|
+
*/
|
|
2508
|
+
Type?: OrderingType | undefined;
|
|
2509
|
+
/**
|
|
2510
|
+
* Starting position for a subscriber.
|
|
2511
|
+
* @public
|
|
2512
|
+
*/
|
|
2513
|
+
StartingPosition?: StartingPosition | undefined;
|
|
2514
|
+
/**
|
|
2515
|
+
* Point-in-time configuration for a subscriber.
|
|
2516
|
+
* Only applicable when StartingPosition is POINT_IN_TIME.
|
|
2517
|
+
* @public
|
|
2518
|
+
*/
|
|
2519
|
+
PointInTimeConfiguration?: PointInTimeConfiguration | undefined;
|
|
2520
|
+
/**
|
|
2521
|
+
* Customer-controlled run state of a subscriber, set on create or update. Distinct
|
|
2522
|
+
* from the bus lifecycle vocabulary, where ACTIVE means "provisioned and healthy".
|
|
2523
|
+
* Delivery requires State RUNNING on a subscriber that is not revoked.
|
|
2524
|
+
* @public
|
|
2525
|
+
*/
|
|
2526
|
+
State?: SubscriberState | undefined;
|
|
2527
|
+
/**
|
|
2528
|
+
* The time the subscriber was last modified.
|
|
2529
|
+
* @public
|
|
2530
|
+
*/
|
|
2531
|
+
LastModifiedTime?: Date | undefined;
|
|
2532
|
+
}
|