@aws-sdk/client-eventbridgev2 3.1171.0 → 3.1173.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -7
- package/dist-cjs/index.js +286 -35
- package/dist-es/EventBridgeV2.js +4 -0
- package/dist-es/commands/RotateWebhookCredentialsCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +48 -7
- package/dist-es/schemas/schemas_0.js +161 -22
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForMskSubscriberActive.js +40 -0
- package/dist-types/EventBridgeV2.d.ts +14 -7
- package/dist-types/EventBridgeV2Client.d.ts +4 -9
- package/dist-types/commands/CreateEventBusCommand.d.ts +10 -17
- package/dist-types/commands/CreateEventSourceCommand.d.ts +55 -18
- package/dist-types/commands/CreateSubscriberCommand.d.ts +32 -18
- package/dist-types/commands/DeleteEventBusCommand.d.ts +9 -16
- package/dist-types/commands/DeleteEventSourceCommand.d.ts +8 -12
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +8 -20
- package/dist-types/commands/DeleteSubscriberCommand.d.ts +7 -10
- package/dist-types/commands/DescribeEventBusCommand.d.ts +6 -9
- package/dist-types/commands/DescribeEventSourceCommand.d.ts +50 -9
- package/dist-types/commands/DescribeSubscriberCommand.d.ts +27 -9
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -11
- package/dist-types/commands/ListEventBusesCommand.d.ts +5 -11
- package/dist-types/commands/ListEventSourcesCommand.d.ts +7 -12
- package/dist-types/commands/ListResourcePoliciesCommand.d.ts +6 -10
- package/dist-types/commands/ListSubscribersCommand.d.ts +6 -11
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -9
- package/dist-types/commands/PutEventsCommand.d.ts +7 -11
- package/dist-types/commands/PutRawEventsCommand.d.ts +8 -12
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +10 -39
- package/dist-types/commands/RevokeResourceCommand.d.ts +8 -15
- package/dist-types/commands/RotateWebhookCredentialsCommand.d.ts +104 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -13
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -12
- package/dist-types/commands/UpdateEventBusCommand.d.ts +8 -14
- package/dist-types/commands/UpdateEventSourceCommand.d.ts +49 -12
- package/dist-types/commands/UpdateSubscriberCommand.d.ts +30 -13
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -7
- package/dist-types/models/enums.d.ts +137 -21
- package/dist-types/models/errors.d.ts +15 -39
- package/dist-types/models/models_0.d.ts +848 -724
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/EventBridgeV2.d.ts +26 -0
- package/dist-types/ts3.4/EventBridgeV2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/RotateWebhookCredentialsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +64 -11
- package/dist-types/ts3.4/models/models_0.d.ts +174 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForMskSubscriberActive.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForMskSubscriberActive.d.ts +15 -0
- package/package.json +1 -1
|
@@ -15,6 +15,94 @@ export declare const BusState: {
|
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
17
|
export type BusState = (typeof BusState)[keyof typeof BusState];
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
* @enum
|
|
21
|
+
*/
|
|
22
|
+
export declare const WebhookHmacAlgorithm: {
|
|
23
|
+
readonly SHA1: "SHA1";
|
|
24
|
+
readonly SHA256: "SHA256";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export type WebhookHmacAlgorithm = (typeof WebhookHmacAlgorithm)[keyof typeof WebhookHmacAlgorithm];
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* @enum
|
|
33
|
+
*/
|
|
34
|
+
export declare const WebhookHmacEncoding: {
|
|
35
|
+
readonly BASE64: "BASE64";
|
|
36
|
+
readonly HEX: "HEX";
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export type WebhookHmacEncoding = (typeof WebhookHmacEncoding)[keyof typeof WebhookHmacEncoding];
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* @enum
|
|
45
|
+
*/
|
|
46
|
+
export declare const WebhookSecretEncoding: {
|
|
47
|
+
readonly BASE64: "BASE64";
|
|
48
|
+
readonly RAW: "RAW";
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export type WebhookSecretEncoding = (typeof WebhookSecretEncoding)[keyof typeof WebhookSecretEncoding];
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
* @enum
|
|
57
|
+
*/
|
|
58
|
+
export declare const WebhookSignedMessageComposition: {
|
|
59
|
+
readonly BODY: "BODY";
|
|
60
|
+
readonly MESSAGE_ID_DOT_TIMESTAMP_DOT_BODY: "MESSAGE_ID_DOT_TIMESTAMP_DOT_BODY";
|
|
61
|
+
readonly TIMESTAMP_DOT_BODY: "TIMESTAMP_DOT_BODY";
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export type WebhookSignedMessageComposition = (typeof WebhookSignedMessageComposition)[keyof typeof WebhookSignedMessageComposition];
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
* @enum
|
|
70
|
+
*/
|
|
71
|
+
export declare const WebhookDeduplicationType: {
|
|
72
|
+
/**
|
|
73
|
+
* <p>Duplicates are detected by a hash of the event content.</p>
|
|
74
|
+
*/
|
|
75
|
+
readonly CONTENT_BASED: "CONTENT_BASED";
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export type WebhookDeduplicationType = (typeof WebhookDeduplicationType)[keyof typeof WebhookDeduplicationType];
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
* @enum
|
|
84
|
+
*/
|
|
85
|
+
export declare const IncludePayload: {
|
|
86
|
+
readonly FULL: "FULL";
|
|
87
|
+
readonly ON_ERROR_ONLY: "ON_ERROR_ONLY";
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export type IncludePayload = (typeof IncludePayload)[keyof typeof IncludePayload];
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
* @enum
|
|
96
|
+
*/
|
|
97
|
+
export declare const LogLevel: {
|
|
98
|
+
readonly ERROR: "ERROR";
|
|
99
|
+
readonly INFO: "INFO";
|
|
100
|
+
readonly OFF: "OFF";
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
|
|
18
106
|
/**
|
|
19
107
|
* @public
|
|
20
108
|
* @enum
|
|
@@ -83,38 +171,52 @@ export type InvocationType = (typeof InvocationType)[keyof typeof InvocationType
|
|
|
83
171
|
* @public
|
|
84
172
|
* @enum
|
|
85
173
|
*/
|
|
86
|
-
export declare const
|
|
87
|
-
readonly
|
|
88
|
-
readonly
|
|
174
|
+
export declare const MskAcks: {
|
|
175
|
+
readonly ALL: "ALL";
|
|
176
|
+
readonly LEADER: "LEADER";
|
|
89
177
|
};
|
|
90
178
|
/**
|
|
91
179
|
* @public
|
|
92
180
|
*/
|
|
93
|
-
export type
|
|
181
|
+
export type MskAcks = (typeof MskAcks)[keyof typeof MskAcks];
|
|
94
182
|
/**
|
|
95
183
|
* @public
|
|
96
184
|
* @enum
|
|
97
185
|
*/
|
|
98
|
-
export declare const
|
|
99
|
-
readonly
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
186
|
+
export declare const MskCompression: {
|
|
187
|
+
readonly GZIP: "GZIP";
|
|
188
|
+
readonly LZ4: "LZ4";
|
|
189
|
+
readonly NONE: "NONE";
|
|
190
|
+
readonly SNAPPY: "SNAPPY";
|
|
191
|
+
readonly ZSTD: "ZSTD";
|
|
102
192
|
};
|
|
103
193
|
/**
|
|
104
194
|
* @public
|
|
105
195
|
*/
|
|
106
|
-
export type
|
|
196
|
+
export type MskCompression = (typeof MskCompression)[keyof typeof MskCompression];
|
|
197
|
+
/**
|
|
198
|
+
* @public
|
|
199
|
+
* @enum
|
|
200
|
+
*/
|
|
201
|
+
export declare const MskConnectivity: {
|
|
202
|
+
readonly PRIVATE: "PRIVATE";
|
|
203
|
+
readonly PUBLIC: "PUBLIC";
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
export type MskConnectivity = (typeof MskConnectivity)[keyof typeof MskConnectivity];
|
|
107
209
|
/**
|
|
108
210
|
* @public
|
|
109
211
|
* @enum
|
|
110
212
|
*/
|
|
111
213
|
export declare const PointType: {
|
|
112
214
|
/**
|
|
113
|
-
* Start from the earliest available event
|
|
215
|
+
* <p>Start from the earliest available event.</p>
|
|
114
216
|
*/
|
|
115
217
|
readonly HORIZON: "HORIZON";
|
|
116
218
|
/**
|
|
117
|
-
* Start from a specific timestamp
|
|
219
|
+
* <p>Start from a specific timestamp.</p>
|
|
118
220
|
*/
|
|
119
221
|
readonly TIMESTAMP: "TIMESTAMP";
|
|
120
222
|
};
|
|
@@ -128,7 +230,7 @@ export type PointType = (typeof PointType)[keyof typeof PointType];
|
|
|
128
230
|
*/
|
|
129
231
|
export declare const RetryStrategy: {
|
|
130
232
|
/**
|
|
131
|
-
* Retry all exceptions regardless of classification
|
|
233
|
+
* <p>Retry all exceptions regardless of classification.</p>
|
|
132
234
|
*/
|
|
133
235
|
readonly ALL: "ALL";
|
|
134
236
|
};
|
|
@@ -142,11 +244,11 @@ export type RetryStrategy = (typeof RetryStrategy)[keyof typeof RetryStrategy];
|
|
|
142
244
|
*/
|
|
143
245
|
export declare const StartingPosition: {
|
|
144
246
|
/**
|
|
145
|
-
* Start from the latest events
|
|
247
|
+
* <p>Start from the latest events.</p>
|
|
146
248
|
*/
|
|
147
249
|
readonly LATEST: "LATEST";
|
|
148
250
|
/**
|
|
149
|
-
* Start from a specific point in time
|
|
251
|
+
* <p>Start from a specific point in time.</p>
|
|
150
252
|
*/
|
|
151
253
|
readonly POINT_IN_TIME: "POINT_IN_TIME";
|
|
152
254
|
};
|
|
@@ -172,15 +274,15 @@ export type SubscriberState = (typeof SubscriberState)[keyof typeof SubscriberSt
|
|
|
172
274
|
*/
|
|
173
275
|
export declare const TransformerType: {
|
|
174
276
|
/**
|
|
175
|
-
* Transform the event using a JSONata expression
|
|
277
|
+
* <p>Transform the event using a JSONata expression.</p>
|
|
176
278
|
*/
|
|
177
279
|
readonly JSONATA: "JSONATA";
|
|
178
280
|
/**
|
|
179
|
-
* Deliver the raw event payload
|
|
281
|
+
* <p>Deliver the raw event payload.</p>
|
|
180
282
|
*/
|
|
181
283
|
readonly RAW: "RAW";
|
|
182
284
|
/**
|
|
183
|
-
* Deliver the event with metadata envelope
|
|
285
|
+
* <p>Deliver the event with metadata envelope.</p>
|
|
184
286
|
*/
|
|
185
287
|
readonly WITH_METADATA: "WITH_METADATA";
|
|
186
288
|
};
|
|
@@ -200,6 +302,19 @@ export declare const OrderingType: {
|
|
|
200
302
|
* @public
|
|
201
303
|
*/
|
|
202
304
|
export type OrderingType = (typeof OrderingType)[keyof typeof OrderingType];
|
|
305
|
+
/**
|
|
306
|
+
* @public
|
|
307
|
+
* @enum
|
|
308
|
+
*/
|
|
309
|
+
export declare const ConnectivityState: {
|
|
310
|
+
readonly ACTIVE: "ACTIVE";
|
|
311
|
+
readonly PROVISIONING: "PROVISIONING";
|
|
312
|
+
readonly PROVISION_FAILED: "PROVISION_FAILED";
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* @public
|
|
316
|
+
*/
|
|
317
|
+
export type ConnectivityState = (typeof ConnectivityState)[keyof typeof ConnectivityState];
|
|
203
318
|
/**
|
|
204
319
|
* @public
|
|
205
320
|
* @enum
|
|
@@ -207,6 +322,7 @@ export type OrderingType = (typeof OrderingType)[keyof typeof OrderingType];
|
|
|
207
322
|
export declare const EventSourceType: {
|
|
208
323
|
readonly AWS_SERVICE_EVENTS: "AWS_SERVICE_EVENTS";
|
|
209
324
|
readonly PARTNER_EVENTS: "PARTNER_EVENTS";
|
|
325
|
+
readonly WEBHOOK_EVENTS: "WEBHOOK_EVENTS";
|
|
210
326
|
};
|
|
211
327
|
/**
|
|
212
328
|
* @public
|
|
@@ -218,11 +334,11 @@ export type EventSourceType = (typeof EventSourceType)[keyof typeof EventSourceT
|
|
|
218
334
|
*/
|
|
219
335
|
export declare const SuccessCode: {
|
|
220
336
|
/**
|
|
221
|
-
* The event was identified as a duplicate and was not re-published
|
|
337
|
+
* <p>The event was identified as a duplicate and was not re-published.</p>
|
|
222
338
|
*/
|
|
223
339
|
readonly DEDUPLICATED: "DEDUPLICATED";
|
|
224
340
|
/**
|
|
225
|
-
* The event was published to the message store
|
|
341
|
+
* <p>The event was published to the message store.</p>
|
|
226
342
|
*/
|
|
227
343
|
readonly PUBLISHED: "PUBLISHED";
|
|
228
344
|
};
|
|
@@ -236,11 +352,11 @@ export type SuccessCode = (typeof SuccessCode)[keyof typeof SuccessCode];
|
|
|
236
352
|
*/
|
|
237
353
|
export declare const ResumePosition: {
|
|
238
354
|
/**
|
|
239
|
-
* Continue delivery from where it stopped (last persisted progress)
|
|
355
|
+
* <p>Continue delivery from where it stopped (last persisted progress).</p>
|
|
240
356
|
*/
|
|
241
357
|
readonly LAST_PROCESSED: "LAST_PROCESSED";
|
|
242
358
|
/**
|
|
243
|
-
* Skip the backlog accrued while stopped; deliver only new events (resume at the tip)
|
|
359
|
+
* <p>Skip the backlog accrued while stopped; deliver only new events (resume at the tip).</p>
|
|
244
360
|
*/
|
|
245
361
|
readonly LATEST: "LATEST";
|
|
246
362
|
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { EventBridgeV2ServiceException as __BaseException } from "./EventBridgeV2ServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* The caller does not have the permissions required to perform the operation.
|
|
5
|
-
* This error is also returned when the operation cannot use the AWS KMS key for
|
|
6
|
-
* the event bus.
|
|
4
|
+
* <p>The caller does not have the permissions required to perform the operation. This error is also returned when the operation cannot use the AWS KMS key for the event bus.</p>
|
|
7
5
|
* @public
|
|
8
6
|
*/
|
|
9
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -17,7 +15,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
17
15
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
18
16
|
}
|
|
19
17
|
/**
|
|
20
|
-
* Another change to the resource is already in progress. Retry the request
|
|
18
|
+
* <p>Another change to the resource is already in progress. Retry the request.</p>
|
|
21
19
|
* @public
|
|
22
20
|
*/
|
|
23
21
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
@@ -32,8 +30,7 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
32
30
|
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
33
31
|
}
|
|
34
32
|
/**
|
|
35
|
-
* The request reuses the client token of an earlier request with different
|
|
36
|
-
* parameters. Use a new client token, or resend the earlier request unchanged.
|
|
33
|
+
* <p>The request reuses the client token of an earlier request with different parameters. Use a new client token, or resend the earlier request unchanged.</p>
|
|
37
34
|
* @public
|
|
38
35
|
*/
|
|
39
36
|
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
@@ -47,7 +44,7 @@ export declare class IdempotentParameterMismatchException extends __BaseExceptio
|
|
|
47
44
|
constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
|
|
48
45
|
}
|
|
49
46
|
/**
|
|
50
|
-
* The request failed because of an internal service error. Retry the request
|
|
47
|
+
* <p>The request failed because of an internal service error. Retry the request.</p>
|
|
51
48
|
* @public
|
|
52
49
|
*/
|
|
53
50
|
export declare class InternalException extends __BaseException {
|
|
@@ -62,7 +59,7 @@ export declare class InternalException extends __BaseException {
|
|
|
62
59
|
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
63
60
|
}
|
|
64
61
|
/**
|
|
65
|
-
* A request parameter is missing or not valid
|
|
62
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
66
63
|
* @public
|
|
67
64
|
*/
|
|
68
65
|
export declare class InvalidInputException extends __BaseException {
|
|
@@ -76,8 +73,7 @@ export declare class InvalidInputException extends __BaseException {
|
|
|
76
73
|
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
77
74
|
}
|
|
78
75
|
/**
|
|
79
|
-
* The resource is not in a state that allows the operation. For example, an
|
|
80
|
-
* event bus that is still being created cannot accept events.
|
|
76
|
+
* <p>The resource is not in a state that allows the operation. For example, an event bus that is still being created cannot accept events.</p>
|
|
81
77
|
* @public
|
|
82
78
|
*/
|
|
83
79
|
export declare class InvalidStateException extends __BaseException {
|
|
@@ -91,7 +87,7 @@ export declare class InvalidStateException extends __BaseException {
|
|
|
91
87
|
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
92
88
|
}
|
|
93
89
|
/**
|
|
94
|
-
* The request would exceed a service quota for the account
|
|
90
|
+
* <p>The request would exceed a service quota for the account.</p>
|
|
95
91
|
* @public
|
|
96
92
|
*/
|
|
97
93
|
export declare class LimitExceededException extends __BaseException {
|
|
@@ -105,7 +101,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
105
101
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
106
102
|
}
|
|
107
103
|
/**
|
|
108
|
-
* A resource with the same name already exists
|
|
104
|
+
* <p>A resource with the same name already exists.</p>
|
|
109
105
|
* @public
|
|
110
106
|
*/
|
|
111
107
|
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
@@ -119,8 +115,7 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
|
119
115
|
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
120
116
|
}
|
|
121
117
|
/**
|
|
122
|
-
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
123
|
-
* request with backoff.
|
|
118
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
124
119
|
* @public
|
|
125
120
|
*/
|
|
126
121
|
export declare class ThrottlingException extends __BaseException {
|
|
@@ -137,7 +132,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
137
132
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
138
133
|
}
|
|
139
134
|
/**
|
|
140
|
-
* The resource does not exist
|
|
135
|
+
* <p>The resource does not exist.</p>
|
|
141
136
|
* @public
|
|
142
137
|
*/
|
|
143
138
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -151,8 +146,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
151
146
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
152
147
|
}
|
|
153
148
|
/**
|
|
154
|
-
* The resource is in use and cannot be deleted. For example, an event bus with
|
|
155
|
-
* subscribers or event sources cannot be deleted until they are deleted.
|
|
149
|
+
* <p>The resource is in use and cannot be deleted. For example, an event bus with subscribers or event sources cannot be deleted until they are deleted.</p>
|
|
156
150
|
* @public
|
|
157
151
|
*/
|
|
158
152
|
export declare class ResourceInUseException extends __BaseException {
|
|
@@ -166,16 +160,7 @@ export declare class ResourceInUseException extends __BaseException {
|
|
|
166
160
|
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
167
161
|
}
|
|
168
162
|
/**
|
|
169
|
-
* A client-supplied precondition (e.g. ExpectedRevisionId on a resource-policy
|
|
170
|
-
* write) did not match the current state of the resource. Retrying the same
|
|
171
|
-
* request will fail again; re-read the resource and re-evaluate before retrying.
|
|
172
|
-
*
|
|
173
|
-
* A conditional request is not retry-safe on its own. If an earlier attempt
|
|
174
|
-
* committed but its response never reached the caller, retrying fails with this
|
|
175
|
-
* error, which is indistinguishable from another writer having won. Compare the
|
|
176
|
-
* resource's current contents with what the request intended: a successful
|
|
177
|
-
* attempt stores a revision ID the caller never saw, so the revision alone
|
|
178
|
-
* cannot tell the two apart, but matching contents mean the change took effect.
|
|
163
|
+
* <p>A client-supplied precondition (e.g. ExpectedRevisionId on a resource-policy write) did not match the current state of the resource. Retrying the same request will fail again; re-read the resource and re-evaluate before retrying.</p> <p>A conditional request is not retry-safe on its own. If an earlier attempt committed but its response never reached the caller, retrying fails with this error, which is indistinguishable from another writer having won. Compare the resource's current contents with what the request intended: a successful attempt stores a revision ID the caller never saw, so the revision alone cannot tell the two apart, but matching contents mean the change took effect.</p>
|
|
179
164
|
* @public
|
|
180
165
|
*/
|
|
181
166
|
export declare class ConflictException extends __BaseException {
|
|
@@ -189,7 +174,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
189
174
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
190
175
|
}
|
|
191
176
|
/**
|
|
192
|
-
* The configured schema registry could not be reached. Retry the request
|
|
177
|
+
* <p>The configured schema registry could not be reached. Retry the request.</p>
|
|
193
178
|
* @public
|
|
194
179
|
*/
|
|
195
180
|
export declare class SchemaRegistryUnavailableException extends __BaseException {
|
|
@@ -204,8 +189,7 @@ export declare class SchemaRegistryUnavailableException extends __BaseException
|
|
|
204
189
|
constructor(opts: __ExceptionOptionType<SchemaRegistryUnavailableException, __BaseException>);
|
|
205
190
|
}
|
|
206
191
|
/**
|
|
207
|
-
* The policy document
|
|
208
|
-
* larger than the service maximum.
|
|
192
|
+
* <p>The policy document exceeds the maximum allowed size.</p>
|
|
209
193
|
* @public
|
|
210
194
|
*/
|
|
211
195
|
export declare class PolicyLengthExceededException extends __BaseException {
|
|
@@ -219,15 +203,7 @@ export declare class PolicyLengthExceededException extends __BaseException {
|
|
|
219
203
|
constructor(opts: __ExceptionOptionType<PolicyLengthExceededException, __BaseException>);
|
|
220
204
|
}
|
|
221
205
|
/**
|
|
222
|
-
* The policy was rejected because it would grant public access to the event bus.
|
|
223
|
-
* A statement grants public access when its principal is a wildcard and no
|
|
224
|
-
* condition limits the callers to specific AWS accounts or principals. To fix
|
|
225
|
-
* it, replace the wildcard principal with specific principals, or add a
|
|
226
|
-
* condition that limits the callers to specific AWS accounts. Conditions on
|
|
227
|
-
* event content (events:source, events:detail-type, events:Metadata/*) do not
|
|
228
|
-
* identify the caller and do not make a wildcard principal non-public. Returned
|
|
229
|
-
* only for the "default" policy; the "AWS_RAM" policy is composed by AWS
|
|
230
|
-
* Resource Access Manager and never grants public access.
|
|
206
|
+
* <p>The policy was rejected because it would grant public access to the event bus. A statement grants public access when its principal is a wildcard and no condition limits the callers to specific AWS accounts or principals. To fix it, replace the wildcard principal with specific principals, or add a condition that limits the callers to specific AWS accounts. Conditions on event content (events:source, events:detail-type, events:Metadata/*) do not identify the caller and do not make a wildcard principal non-public. Returned only for the "default" policy; the "AWS_RAM" policy is composed by AWS Resource Access Manager and never grants public access.</p>
|
|
231
207
|
* @public
|
|
232
208
|
*/
|
|
233
209
|
export declare class PublicPolicyException extends __BaseException {
|