@aws-sdk/client-eventbridgev2 3.1172.0 → 3.1174.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
|
@@ -50,6 +50,7 @@ export declare var EncryptionConfiguration$: StaticStructureSchema;
|
|
|
50
50
|
export declare var EventBusSummary$: StaticStructureSchema;
|
|
51
51
|
export declare var EventBusV2Parameters$: StaticStructureSchema;
|
|
52
52
|
export declare var EventBusV2SystemMetadata$: StaticStructureSchema;
|
|
53
|
+
export declare var EventSourceDetails$: StaticStructureSchema;
|
|
53
54
|
export declare var EventSourceSummary$: StaticStructureSchema;
|
|
54
55
|
export declare var Filter$: StaticStructureSchema;
|
|
55
56
|
export declare var FilterConfiguration$: StaticStructureSchema;
|
|
@@ -71,6 +72,9 @@ export declare var ListSubscribersResponse$: StaticStructureSchema;
|
|
|
71
72
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
72
73
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
73
74
|
export declare var LogConfiguration$: StaticStructureSchema;
|
|
75
|
+
export declare var MskDetails$: StaticStructureSchema;
|
|
76
|
+
export declare var MskHeader$: StaticStructureSchema;
|
|
77
|
+
export declare var MskParameters$: StaticStructureSchema;
|
|
74
78
|
export declare var OnFailureConfiguration$: StaticStructureSchema;
|
|
75
79
|
export declare var PartnerEventsSourceConfiguration$: StaticStructureSchema;
|
|
76
80
|
export declare var PointInTimeConfiguration$: StaticStructureSchema;
|
|
@@ -90,6 +94,8 @@ export declare var ResourcePolicySummary$: StaticStructureSchema;
|
|
|
90
94
|
export declare var RetryPolicy$: StaticStructureSchema;
|
|
91
95
|
export declare var RevokeResourceRequest$: StaticStructureSchema;
|
|
92
96
|
export declare var RevokeResourceResponse$: StaticStructureSchema;
|
|
97
|
+
export declare var RotateWebhookCredentialsRequest$: StaticStructureSchema;
|
|
98
|
+
export declare var RotateWebhookCredentialsResponse$: StaticStructureSchema;
|
|
93
99
|
export declare var SchemaRegistryConfiguration$: StaticStructureSchema;
|
|
94
100
|
export declare var SnsMessageAttributeValue$: StaticStructureSchema;
|
|
95
101
|
export declare var SnsParameters$: StaticStructureSchema;
|
|
@@ -98,6 +104,7 @@ export declare var SqsParameters$: StaticStructureSchema;
|
|
|
98
104
|
export declare var StepFunctionsParameters$: StaticStructureSchema;
|
|
99
105
|
export declare var StorageConfiguration$: StaticStructureSchema;
|
|
100
106
|
export declare var StorageConfigurationOutput$: StaticStructureSchema;
|
|
107
|
+
export declare var SubscriberDetails$: StaticStructureSchema;
|
|
101
108
|
export declare var SubscriberSummary$: StaticStructureSchema;
|
|
102
109
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
103
110
|
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
@@ -112,7 +119,15 @@ export declare var UpdateEventSourceResponse$: StaticStructureSchema;
|
|
|
112
119
|
export declare var UpdateInvokeConfiguration$: StaticStructureSchema;
|
|
113
120
|
export declare var UpdateSubscriberRequest$: StaticStructureSchema;
|
|
114
121
|
export declare var UpdateSubscriberResponse$: StaticStructureSchema;
|
|
122
|
+
export declare var WebhookBasicHttpAuthConfiguration$: StaticStructureSchema;
|
|
123
|
+
export declare var WebhookDeduplicationConfiguration$: StaticStructureSchema;
|
|
124
|
+
export declare var WebhookDetails$: StaticStructureSchema;
|
|
125
|
+
export declare var WebhookEventsSourceConfiguration$: StaticStructureSchema;
|
|
126
|
+
export declare var WebhookHmacAuthConfiguration$: StaticStructureSchema;
|
|
127
|
+
export declare var WebhookStaticTokenAuthConfiguration$: StaticStructureSchema;
|
|
115
128
|
export declare var EventSourceConfiguration$: StaticUnionSchema;
|
|
129
|
+
export declare var WebhookAuthConfiguration$: StaticUnionSchema;
|
|
130
|
+
export declare var WebhookCredential$: StaticUnionSchema;
|
|
116
131
|
export declare var CreateEventBus$: StaticOperationSchema;
|
|
117
132
|
export declare var CreateEventSource$: StaticOperationSchema;
|
|
118
133
|
export declare var CreateSubscriber$: StaticOperationSchema;
|
|
@@ -133,6 +148,7 @@ export declare var PutEvents$: StaticOperationSchema;
|
|
|
133
148
|
export declare var PutRawEvents$: StaticOperationSchema;
|
|
134
149
|
export declare var PutResourcePolicy$: StaticOperationSchema;
|
|
135
150
|
export declare var RevokeResource$: StaticOperationSchema;
|
|
151
|
+
export declare var RotateWebhookCredentials$: StaticOperationSchema;
|
|
136
152
|
export declare var TagResource$: StaticOperationSchema;
|
|
137
153
|
export declare var UntagResource$: StaticOperationSchema;
|
|
138
154
|
export declare var UpdateEventBus$: StaticOperationSchema;
|
|
@@ -83,6 +83,10 @@ import {
|
|
|
83
83
|
RevokeResourceCommandInput,
|
|
84
84
|
RevokeResourceCommandOutput,
|
|
85
85
|
} from "./commands/RevokeResourceCommand";
|
|
86
|
+
import {
|
|
87
|
+
RotateWebhookCredentialsCommandInput,
|
|
88
|
+
RotateWebhookCredentialsCommandOutput,
|
|
89
|
+
} from "./commands/RotateWebhookCredentialsCommand";
|
|
86
90
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
87
91
|
import {
|
|
88
92
|
UntagResourceCommandInput,
|
|
@@ -369,6 +373,19 @@ export interface EventBridgeV2 {
|
|
|
369
373
|
options: EventBridgeV2RequestOptions,
|
|
370
374
|
cb: (err: any, data?: RevokeResourceCommandOutput) => void,
|
|
371
375
|
): void;
|
|
376
|
+
rotateWebhookCredentials(
|
|
377
|
+
args: RotateWebhookCredentialsCommandInput,
|
|
378
|
+
options?: EventBridgeV2RequestOptions,
|
|
379
|
+
): Promise<RotateWebhookCredentialsCommandOutput>;
|
|
380
|
+
rotateWebhookCredentials(
|
|
381
|
+
args: RotateWebhookCredentialsCommandInput,
|
|
382
|
+
cb: (err: any, data?: RotateWebhookCredentialsCommandOutput) => void,
|
|
383
|
+
): void;
|
|
384
|
+
rotateWebhookCredentials(
|
|
385
|
+
args: RotateWebhookCredentialsCommandInput,
|
|
386
|
+
options: EventBridgeV2RequestOptions,
|
|
387
|
+
cb: (err: any, data?: RotateWebhookCredentialsCommandOutput) => void,
|
|
388
|
+
): void;
|
|
372
389
|
tagResource(
|
|
373
390
|
args: TagResourceCommandInput,
|
|
374
391
|
options?: EventBridgeV2RequestOptions,
|
|
@@ -480,5 +497,14 @@ export interface EventBridgeV2 {
|
|
|
480
497
|
Exclude<keyof WaiterConfiguration<EventBridgeV2>, "client">
|
|
481
498
|
>,
|
|
482
499
|
): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
500
|
+
waitUntilMskSubscriberActive(
|
|
501
|
+
args: DescribeSubscriberCommandInput,
|
|
502
|
+
waiterConfig:
|
|
503
|
+
| number
|
|
504
|
+
| Pick<
|
|
505
|
+
WaiterConfiguration<EventBridgeV2>,
|
|
506
|
+
Exclude<keyof WaiterConfiguration<EventBridgeV2>, "client">
|
|
507
|
+
>,
|
|
508
|
+
): Promise<WaiterResult<DescribeSubscriberCommandOutput>>;
|
|
483
509
|
}
|
|
484
510
|
export declare class EventBridgeV2 extends EventBridgeV2Client implements EventBridgeV2 {}
|
|
@@ -115,6 +115,10 @@ import {
|
|
|
115
115
|
RevokeResourceCommandInput,
|
|
116
116
|
RevokeResourceCommandOutput,
|
|
117
117
|
} from "./commands/RevokeResourceCommand";
|
|
118
|
+
import {
|
|
119
|
+
RotateWebhookCredentialsCommandInput,
|
|
120
|
+
RotateWebhookCredentialsCommandOutput,
|
|
121
|
+
} from "./commands/RotateWebhookCredentialsCommand";
|
|
118
122
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
119
123
|
import {
|
|
120
124
|
UntagResourceCommandInput,
|
|
@@ -160,6 +164,7 @@ export type ServiceInputTypes =
|
|
|
160
164
|
| PutRawEventsCommandInput
|
|
161
165
|
| PutResourcePolicyCommandInput
|
|
162
166
|
| RevokeResourceCommandInput
|
|
167
|
+
| RotateWebhookCredentialsCommandInput
|
|
163
168
|
| TagResourceCommandInput
|
|
164
169
|
| UntagResourceCommandInput
|
|
165
170
|
| UpdateEventBusCommandInput
|
|
@@ -186,6 +191,7 @@ export type ServiceOutputTypes =
|
|
|
186
191
|
| PutRawEventsCommandOutput
|
|
187
192
|
| PutResourcePolicyCommandOutput
|
|
188
193
|
| RevokeResourceCommandOutput
|
|
194
|
+
| RotateWebhookCredentialsCommandOutput
|
|
189
195
|
| TagResourceCommandOutput
|
|
190
196
|
| UntagResourceCommandOutput
|
|
191
197
|
| UpdateEventBusCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
RotateWebhookCredentialsRequest,
|
|
4
|
+
RotateWebhookCredentialsResponse,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface RotateWebhookCredentialsCommandInput extends RotateWebhookCredentialsRequest {}
|
|
8
|
+
export interface RotateWebhookCredentialsCommandOutput
|
|
9
|
+
extends RotateWebhookCredentialsResponse, __MetadataBearer {}
|
|
10
|
+
declare const RotateWebhookCredentialsCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: RotateWebhookCredentialsCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
RotateWebhookCredentialsCommandInput,
|
|
15
|
+
RotateWebhookCredentialsCommandOutput,
|
|
16
|
+
import("..").EventBridgeV2ClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: RotateWebhookCredentialsCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
RotateWebhookCredentialsCommandInput,
|
|
24
|
+
RotateWebhookCredentialsCommandOutput,
|
|
25
|
+
import("..").EventBridgeV2ClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class RotateWebhookCredentialsCommand extends RotateWebhookCredentialsCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: RotateWebhookCredentialsRequest;
|
|
35
|
+
output: RotateWebhookCredentialsResponse;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: RotateWebhookCredentialsCommandInput;
|
|
39
|
+
output: RotateWebhookCredentialsCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -18,6 +18,7 @@ export * from "./PutEventsCommand";
|
|
|
18
18
|
export * from "./PutRawEventsCommand";
|
|
19
19
|
export * from "./PutResourcePolicyCommand";
|
|
20
20
|
export * from "./RevokeResourceCommand";
|
|
21
|
+
export * from "./RotateWebhookCredentialsCommand";
|
|
21
22
|
export * from "./TagResourceCommand";
|
|
22
23
|
export * from "./UntagResourceCommand";
|
|
23
24
|
export * from "./UpdateEventBusCommand";
|
|
@@ -8,6 +8,45 @@ export declare const BusState: {
|
|
|
8
8
|
readonly UPDATING: "UPDATING";
|
|
9
9
|
};
|
|
10
10
|
export type BusState = (typeof BusState)[keyof typeof BusState];
|
|
11
|
+
export declare const WebhookHmacAlgorithm: {
|
|
12
|
+
readonly SHA1: "SHA1";
|
|
13
|
+
readonly SHA256: "SHA256";
|
|
14
|
+
};
|
|
15
|
+
export type WebhookHmacAlgorithm = (typeof WebhookHmacAlgorithm)[keyof typeof WebhookHmacAlgorithm];
|
|
16
|
+
export declare const WebhookHmacEncoding: {
|
|
17
|
+
readonly BASE64: "BASE64";
|
|
18
|
+
readonly HEX: "HEX";
|
|
19
|
+
};
|
|
20
|
+
export type WebhookHmacEncoding = (typeof WebhookHmacEncoding)[keyof typeof WebhookHmacEncoding];
|
|
21
|
+
export declare const WebhookSecretEncoding: {
|
|
22
|
+
readonly BASE64: "BASE64";
|
|
23
|
+
readonly RAW: "RAW";
|
|
24
|
+
};
|
|
25
|
+
export type WebhookSecretEncoding =
|
|
26
|
+
(typeof WebhookSecretEncoding)[keyof typeof WebhookSecretEncoding];
|
|
27
|
+
export declare const WebhookSignedMessageComposition: {
|
|
28
|
+
readonly BODY: "BODY";
|
|
29
|
+
readonly MESSAGE_ID_DOT_TIMESTAMP_DOT_BODY: "MESSAGE_ID_DOT_TIMESTAMP_DOT_BODY";
|
|
30
|
+
readonly TIMESTAMP_DOT_BODY: "TIMESTAMP_DOT_BODY";
|
|
31
|
+
};
|
|
32
|
+
export type WebhookSignedMessageComposition =
|
|
33
|
+
(typeof WebhookSignedMessageComposition)[keyof typeof WebhookSignedMessageComposition];
|
|
34
|
+
export declare const WebhookDeduplicationType: {
|
|
35
|
+
readonly CONTENT_BASED: "CONTENT_BASED";
|
|
36
|
+
};
|
|
37
|
+
export type WebhookDeduplicationType =
|
|
38
|
+
(typeof WebhookDeduplicationType)[keyof typeof WebhookDeduplicationType];
|
|
39
|
+
export declare const IncludePayload: {
|
|
40
|
+
readonly FULL: "FULL";
|
|
41
|
+
readonly ON_ERROR_ONLY: "ON_ERROR_ONLY";
|
|
42
|
+
};
|
|
43
|
+
export type IncludePayload = (typeof IncludePayload)[keyof typeof IncludePayload];
|
|
44
|
+
export declare const LogLevel: {
|
|
45
|
+
readonly ERROR: "ERROR";
|
|
46
|
+
readonly INFO: "INFO";
|
|
47
|
+
readonly OFF: "OFF";
|
|
48
|
+
};
|
|
49
|
+
export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
|
|
11
50
|
export declare const EventSourceState: {
|
|
12
51
|
readonly ACTIVE: "ACTIVE";
|
|
13
52
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
@@ -37,17 +76,24 @@ export declare const InvocationType: {
|
|
|
37
76
|
readonly REQUEST_RESPONSE: "REQUEST_RESPONSE";
|
|
38
77
|
};
|
|
39
78
|
export type InvocationType = (typeof InvocationType)[keyof typeof InvocationType];
|
|
40
|
-
export declare const
|
|
41
|
-
readonly
|
|
42
|
-
readonly
|
|
43
|
-
};
|
|
44
|
-
export type
|
|
45
|
-
export declare const
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
49
|
-
|
|
50
|
-
|
|
79
|
+
export declare const MskAcks: {
|
|
80
|
+
readonly ALL: "ALL";
|
|
81
|
+
readonly LEADER: "LEADER";
|
|
82
|
+
};
|
|
83
|
+
export type MskAcks = (typeof MskAcks)[keyof typeof MskAcks];
|
|
84
|
+
export declare const MskCompression: {
|
|
85
|
+
readonly GZIP: "GZIP";
|
|
86
|
+
readonly LZ4: "LZ4";
|
|
87
|
+
readonly NONE: "NONE";
|
|
88
|
+
readonly SNAPPY: "SNAPPY";
|
|
89
|
+
readonly ZSTD: "ZSTD";
|
|
90
|
+
};
|
|
91
|
+
export type MskCompression = (typeof MskCompression)[keyof typeof MskCompression];
|
|
92
|
+
export declare const MskConnectivity: {
|
|
93
|
+
readonly PRIVATE: "PRIVATE";
|
|
94
|
+
readonly PUBLIC: "PUBLIC";
|
|
95
|
+
};
|
|
96
|
+
export type MskConnectivity = (typeof MskConnectivity)[keyof typeof MskConnectivity];
|
|
51
97
|
export declare const PointType: {
|
|
52
98
|
readonly HORIZON: "HORIZON";
|
|
53
99
|
readonly TIMESTAMP: "TIMESTAMP";
|
|
@@ -78,9 +124,16 @@ export declare const OrderingType: {
|
|
|
78
124
|
readonly UNORDERED: "UNORDERED";
|
|
79
125
|
};
|
|
80
126
|
export type OrderingType = (typeof OrderingType)[keyof typeof OrderingType];
|
|
127
|
+
export declare const ConnectivityState: {
|
|
128
|
+
readonly ACTIVE: "ACTIVE";
|
|
129
|
+
readonly PROVISIONING: "PROVISIONING";
|
|
130
|
+
readonly PROVISION_FAILED: "PROVISION_FAILED";
|
|
131
|
+
};
|
|
132
|
+
export type ConnectivityState = (typeof ConnectivityState)[keyof typeof ConnectivityState];
|
|
81
133
|
export declare const EventSourceType: {
|
|
82
134
|
readonly AWS_SERVICE_EVENTS: "AWS_SERVICE_EVENTS";
|
|
83
135
|
readonly PARTNER_EVENTS: "PARTNER_EVENTS";
|
|
136
|
+
readonly WEBHOOK_EVENTS: "WEBHOOK_EVENTS";
|
|
84
137
|
};
|
|
85
138
|
export type EventSourceType = (typeof EventSourceType)[keyof typeof EventSourceType];
|
|
86
139
|
export declare const SuccessCode: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BusState,
|
|
3
|
+
ConnectivityState,
|
|
3
4
|
DeduplicationType,
|
|
4
5
|
EventSourceState,
|
|
5
6
|
EventSourceType,
|
|
@@ -8,6 +9,9 @@ import {
|
|
|
8
9
|
IncludePayload,
|
|
9
10
|
InvocationType,
|
|
10
11
|
LogLevel,
|
|
12
|
+
MskAcks,
|
|
13
|
+
MskCompression,
|
|
14
|
+
MskConnectivity,
|
|
11
15
|
OrderingType,
|
|
12
16
|
PointType,
|
|
13
17
|
ResumePosition,
|
|
@@ -16,6 +20,11 @@ import {
|
|
|
16
20
|
SubscriberState,
|
|
17
21
|
SuccessCode,
|
|
18
22
|
TransformerType,
|
|
23
|
+
WebhookDeduplicationType,
|
|
24
|
+
WebhookHmacAlgorithm,
|
|
25
|
+
WebhookHmacEncoding,
|
|
26
|
+
WebhookSecretEncoding,
|
|
27
|
+
WebhookSignedMessageComposition,
|
|
19
28
|
} from "./enums";
|
|
20
29
|
export interface EncryptionConfiguration {
|
|
21
30
|
KmsKeyIdentifier?: string | undefined;
|
|
@@ -59,29 +68,114 @@ export interface PartnerEventsSourceConfiguration {
|
|
|
59
68
|
PartnerBusKmsKeyIdentifier?: string | undefined;
|
|
60
69
|
OnFailureConfiguration?: OnFailureConfiguration | undefined;
|
|
61
70
|
}
|
|
71
|
+
export interface WebhookBasicHttpAuthConfiguration {
|
|
72
|
+
Username?: string | undefined;
|
|
73
|
+
Password?: string | undefined;
|
|
74
|
+
}
|
|
75
|
+
export interface WebhookHmacAuthConfiguration {
|
|
76
|
+
Algorithm: WebhookHmacAlgorithm | undefined;
|
|
77
|
+
Encoding: WebhookHmacEncoding | undefined;
|
|
78
|
+
SignatureHttpHeader: string | undefined;
|
|
79
|
+
SignaturePrefix?: string | undefined;
|
|
80
|
+
Delimiter?: string | undefined;
|
|
81
|
+
TimestampHttpHeader?: string | undefined;
|
|
82
|
+
TimestampPrefix?: string | undefined;
|
|
83
|
+
TimestampToleranceInSeconds?: number | undefined;
|
|
84
|
+
MessageIdHttpHeader?: string | undefined;
|
|
85
|
+
SignedMessageComposition: WebhookSignedMessageComposition | undefined;
|
|
86
|
+
SecretValue?: string | undefined;
|
|
87
|
+
SecretEncoding?: WebhookSecretEncoding | undefined;
|
|
88
|
+
}
|
|
89
|
+
export interface WebhookStaticTokenAuthConfiguration {
|
|
90
|
+
TokenHttpHeader: string | undefined;
|
|
91
|
+
SecretValue?: string | undefined;
|
|
92
|
+
}
|
|
93
|
+
export type WebhookAuthConfiguration =
|
|
94
|
+
| WebhookAuthConfiguration.BasicHttpAuthConfigurationMember
|
|
95
|
+
| WebhookAuthConfiguration.HmacAuthConfigurationMember
|
|
96
|
+
| WebhookAuthConfiguration.StaticTokenAuthConfigurationMember
|
|
97
|
+
| WebhookAuthConfiguration.$UnknownMember;
|
|
98
|
+
export declare namespace WebhookAuthConfiguration {
|
|
99
|
+
interface StaticTokenAuthConfigurationMember {
|
|
100
|
+
StaticTokenAuthConfiguration: WebhookStaticTokenAuthConfiguration;
|
|
101
|
+
BasicHttpAuthConfiguration?: never;
|
|
102
|
+
HmacAuthConfiguration?: never;
|
|
103
|
+
$unknown?: never;
|
|
104
|
+
}
|
|
105
|
+
interface BasicHttpAuthConfigurationMember {
|
|
106
|
+
StaticTokenAuthConfiguration?: never;
|
|
107
|
+
BasicHttpAuthConfiguration: WebhookBasicHttpAuthConfiguration;
|
|
108
|
+
HmacAuthConfiguration?: never;
|
|
109
|
+
$unknown?: never;
|
|
110
|
+
}
|
|
111
|
+
interface HmacAuthConfigurationMember {
|
|
112
|
+
StaticTokenAuthConfiguration?: never;
|
|
113
|
+
BasicHttpAuthConfiguration?: never;
|
|
114
|
+
HmacAuthConfiguration: WebhookHmacAuthConfiguration;
|
|
115
|
+
$unknown?: never;
|
|
116
|
+
}
|
|
117
|
+
interface $UnknownMember {
|
|
118
|
+
StaticTokenAuthConfiguration?: never;
|
|
119
|
+
BasicHttpAuthConfiguration?: never;
|
|
120
|
+
HmacAuthConfiguration?: never;
|
|
121
|
+
$unknown: [string, any];
|
|
122
|
+
}
|
|
123
|
+
interface Visitor<T> {
|
|
124
|
+
StaticTokenAuthConfiguration: (value: WebhookStaticTokenAuthConfiguration) => T;
|
|
125
|
+
BasicHttpAuthConfiguration: (value: WebhookBasicHttpAuthConfiguration) => T;
|
|
126
|
+
HmacAuthConfiguration: (value: WebhookHmacAuthConfiguration) => T;
|
|
127
|
+
_: (name: string, value: any) => T;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export interface WebhookDeduplicationConfiguration {
|
|
131
|
+
DeduplicationType: WebhookDeduplicationType | undefined;
|
|
132
|
+
}
|
|
133
|
+
export interface LogConfiguration {
|
|
134
|
+
Level?: LogLevel | undefined;
|
|
135
|
+
IncludePayload?: IncludePayload | undefined;
|
|
136
|
+
}
|
|
137
|
+
export interface WebhookEventsSourceConfiguration {
|
|
138
|
+
AuthConfiguration: WebhookAuthConfiguration | undefined;
|
|
139
|
+
KmsKeyIdentifier?: string | undefined;
|
|
140
|
+
RoleArn: string | undefined;
|
|
141
|
+
MetadataHttpHeaders?: string[] | undefined;
|
|
142
|
+
DeduplicationConfiguration?: WebhookDeduplicationConfiguration | undefined;
|
|
143
|
+
LogConfiguration?: LogConfiguration | undefined;
|
|
144
|
+
}
|
|
62
145
|
export type EventSourceConfiguration =
|
|
63
146
|
| EventSourceConfiguration.AwsServiceEventsConfigurationMember
|
|
64
147
|
| EventSourceConfiguration.PartnerEventsConfigurationMember
|
|
148
|
+
| EventSourceConfiguration.WebhookEventsConfigurationMember
|
|
65
149
|
| EventSourceConfiguration.$UnknownMember;
|
|
66
150
|
export declare namespace EventSourceConfiguration {
|
|
67
151
|
interface AwsServiceEventsConfigurationMember {
|
|
68
152
|
AwsServiceEventsConfiguration: AwsServiceEventsSourceConfiguration;
|
|
69
153
|
PartnerEventsConfiguration?: never;
|
|
154
|
+
WebhookEventsConfiguration?: never;
|
|
70
155
|
$unknown?: never;
|
|
71
156
|
}
|
|
72
157
|
interface PartnerEventsConfigurationMember {
|
|
73
158
|
AwsServiceEventsConfiguration?: never;
|
|
74
159
|
PartnerEventsConfiguration: PartnerEventsSourceConfiguration;
|
|
160
|
+
WebhookEventsConfiguration?: never;
|
|
161
|
+
$unknown?: never;
|
|
162
|
+
}
|
|
163
|
+
interface WebhookEventsConfigurationMember {
|
|
164
|
+
AwsServiceEventsConfiguration?: never;
|
|
165
|
+
PartnerEventsConfiguration?: never;
|
|
166
|
+
WebhookEventsConfiguration: WebhookEventsSourceConfiguration;
|
|
75
167
|
$unknown?: never;
|
|
76
168
|
}
|
|
77
169
|
interface $UnknownMember {
|
|
78
170
|
AwsServiceEventsConfiguration?: never;
|
|
79
171
|
PartnerEventsConfiguration?: never;
|
|
172
|
+
WebhookEventsConfiguration?: never;
|
|
80
173
|
$unknown: [string, any];
|
|
81
174
|
}
|
|
82
175
|
interface Visitor<T> {
|
|
83
176
|
AwsServiceEventsConfiguration: (value: AwsServiceEventsSourceConfiguration) => T;
|
|
84
177
|
PartnerEventsConfiguration: (value: PartnerEventsSourceConfiguration) => T;
|
|
178
|
+
WebhookEventsConfiguration: (value: WebhookEventsSourceConfiguration) => T;
|
|
85
179
|
_: (name: string, value: any) => T;
|
|
86
180
|
}
|
|
87
181
|
}
|
|
@@ -93,11 +187,19 @@ export interface CreateEventSourceRequest {
|
|
|
93
187
|
Tags?: Record<string, string> | undefined;
|
|
94
188
|
ClientToken?: string | undefined;
|
|
95
189
|
}
|
|
190
|
+
export interface WebhookDetails {
|
|
191
|
+
WebhookUrl?: string | undefined;
|
|
192
|
+
SecretArn?: string | undefined;
|
|
193
|
+
}
|
|
194
|
+
export interface EventSourceDetails {
|
|
195
|
+
WebhookDetails?: WebhookDetails | undefined;
|
|
196
|
+
}
|
|
96
197
|
export interface CreateEventSourceResponse {
|
|
97
198
|
EventSourceArn?: string | undefined;
|
|
98
199
|
Name?: string | undefined;
|
|
99
200
|
EventBusArn?: string | undefined;
|
|
100
201
|
State?: EventSourceState | undefined;
|
|
202
|
+
EventSourceDetails?: EventSourceDetails | undefined;
|
|
101
203
|
CreationTime?: Date | undefined;
|
|
102
204
|
}
|
|
103
205
|
export interface BatchConfiguration {
|
|
@@ -141,6 +243,19 @@ export interface LambdaParameters {
|
|
|
141
243
|
TenantId?: string | undefined;
|
|
142
244
|
InvocationTimeoutSeconds?: string | undefined;
|
|
143
245
|
}
|
|
246
|
+
export interface MskHeader {
|
|
247
|
+
Key: string | undefined;
|
|
248
|
+
Value?: string | undefined;
|
|
249
|
+
}
|
|
250
|
+
export interface MskParameters {
|
|
251
|
+
TopicName: string | undefined;
|
|
252
|
+
Compression?: MskCompression | undefined;
|
|
253
|
+
Acks?: MskAcks | undefined;
|
|
254
|
+
PartitionKey?: string | undefined;
|
|
255
|
+
Headers?: MskHeader[] | undefined;
|
|
256
|
+
ClientId?: string | undefined;
|
|
257
|
+
Connectivity: MskConnectivity | undefined;
|
|
258
|
+
}
|
|
144
259
|
export interface SnsMessageAttributeValue {
|
|
145
260
|
DataType?: string | undefined;
|
|
146
261
|
StringValue?: string | undefined;
|
|
@@ -185,12 +300,9 @@ export interface InvokeConfiguration {
|
|
|
185
300
|
HttpParameters?: HttpParameters | undefined;
|
|
186
301
|
UniversalTargetParameters?: UniversalTargetParameters | undefined;
|
|
187
302
|
EventBusV2Parameters?: EventBusV2Parameters | undefined;
|
|
303
|
+
MskParameters?: MskParameters | undefined;
|
|
188
304
|
TargetArn: string | undefined;
|
|
189
305
|
}
|
|
190
|
-
export interface LogConfiguration {
|
|
191
|
-
Level?: LogLevel | undefined;
|
|
192
|
-
IncludePayload?: IncludePayload | undefined;
|
|
193
|
-
}
|
|
194
306
|
export interface PointInTimeConfiguration {
|
|
195
307
|
PointType: PointType | undefined;
|
|
196
308
|
StartingPoint?: Date | undefined;
|
|
@@ -226,6 +338,14 @@ export interface CreateSubscriberRequest {
|
|
|
226
338
|
Tags?: Record<string, string> | undefined;
|
|
227
339
|
ClientToken?: string | undefined;
|
|
228
340
|
}
|
|
341
|
+
export interface MskDetails {
|
|
342
|
+
ConnectivityState?: ConnectivityState | undefined;
|
|
343
|
+
StateReason?: string | undefined;
|
|
344
|
+
VpcConnectionArn?: string | undefined;
|
|
345
|
+
}
|
|
346
|
+
export interface SubscriberDetails {
|
|
347
|
+
MskDetails?: MskDetails | undefined;
|
|
348
|
+
}
|
|
229
349
|
export interface CreateSubscriberResponse {
|
|
230
350
|
SubscriberArn?: string | undefined;
|
|
231
351
|
Name?: string | undefined;
|
|
@@ -235,6 +355,7 @@ export interface CreateSubscriberResponse {
|
|
|
235
355
|
PointInTimeConfiguration?: PointInTimeConfiguration | undefined;
|
|
236
356
|
State?: SubscriberState | undefined;
|
|
237
357
|
CreationTime?: Date | undefined;
|
|
358
|
+
SubscriberDetails?: SubscriberDetails | undefined;
|
|
238
359
|
}
|
|
239
360
|
export interface DeleteEventBusRequest {
|
|
240
361
|
EventBusArn: string | undefined;
|
|
@@ -281,6 +402,7 @@ export interface DescribeEventSourceResponse {
|
|
|
281
402
|
Description?: string | undefined;
|
|
282
403
|
State?: EventSourceState | undefined;
|
|
283
404
|
Revoked?: boolean | undefined;
|
|
405
|
+
EventSourceDetails?: EventSourceDetails | undefined;
|
|
284
406
|
CreationTime?: Date | undefined;
|
|
285
407
|
LastModifiedTime?: Date | undefined;
|
|
286
408
|
}
|
|
@@ -306,6 +428,7 @@ export interface DescribeSubscriberResponse {
|
|
|
306
428
|
Revoked?: boolean | undefined;
|
|
307
429
|
CreationTime?: Date | undefined;
|
|
308
430
|
LastModifiedTime?: Date | undefined;
|
|
431
|
+
SubscriberDetails?: SubscriberDetails | undefined;
|
|
309
432
|
}
|
|
310
433
|
export interface GetResourcePolicyRequest {
|
|
311
434
|
ResourceArn: string | undefined;
|
|
@@ -478,6 +601,51 @@ export interface RevokeResourceRequest {
|
|
|
478
601
|
export interface RevokeResourceResponse {
|
|
479
602
|
Arn?: string | undefined;
|
|
480
603
|
}
|
|
604
|
+
export type WebhookCredential =
|
|
605
|
+
| WebhookCredential.BasicHttpPasswordMember
|
|
606
|
+
| WebhookCredential.HmacSecretValueMember
|
|
607
|
+
| WebhookCredential.StaticTokenSecretValueMember
|
|
608
|
+
| WebhookCredential.$UnknownMember;
|
|
609
|
+
export declare namespace WebhookCredential {
|
|
610
|
+
interface StaticTokenSecretValueMember {
|
|
611
|
+
StaticTokenSecretValue: string;
|
|
612
|
+
BasicHttpPassword?: never;
|
|
613
|
+
HmacSecretValue?: never;
|
|
614
|
+
$unknown?: never;
|
|
615
|
+
}
|
|
616
|
+
interface BasicHttpPasswordMember {
|
|
617
|
+
StaticTokenSecretValue?: never;
|
|
618
|
+
BasicHttpPassword: string;
|
|
619
|
+
HmacSecretValue?: never;
|
|
620
|
+
$unknown?: never;
|
|
621
|
+
}
|
|
622
|
+
interface HmacSecretValueMember {
|
|
623
|
+
StaticTokenSecretValue?: never;
|
|
624
|
+
BasicHttpPassword?: never;
|
|
625
|
+
HmacSecretValue: string;
|
|
626
|
+
$unknown?: never;
|
|
627
|
+
}
|
|
628
|
+
interface $UnknownMember {
|
|
629
|
+
StaticTokenSecretValue?: never;
|
|
630
|
+
BasicHttpPassword?: never;
|
|
631
|
+
HmacSecretValue?: never;
|
|
632
|
+
$unknown: [string, any];
|
|
633
|
+
}
|
|
634
|
+
interface Visitor<T> {
|
|
635
|
+
StaticTokenSecretValue: (value: string) => T;
|
|
636
|
+
BasicHttpPassword: (value: string) => T;
|
|
637
|
+
HmacSecretValue: (value: string) => T;
|
|
638
|
+
_: (name: string, value: any) => T;
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
export interface RotateWebhookCredentialsRequest {
|
|
642
|
+
EventSourceArn: string | undefined;
|
|
643
|
+
Credential?: WebhookCredential | undefined;
|
|
644
|
+
ClientToken?: string | undefined;
|
|
645
|
+
}
|
|
646
|
+
export interface RotateWebhookCredentialsResponse {
|
|
647
|
+
SecretArn: string | undefined;
|
|
648
|
+
}
|
|
481
649
|
export interface TagResourceRequest {
|
|
482
650
|
ResourceArn: string | undefined;
|
|
483
651
|
Tags: Record<string, string> | undefined;
|
|
@@ -526,6 +694,7 @@ export interface UpdateInvokeConfiguration {
|
|
|
526
694
|
HttpParameters?: HttpParameters | undefined;
|
|
527
695
|
UniversalTargetParameters?: UniversalTargetParameters | undefined;
|
|
528
696
|
EventBusV2Parameters?: EventBusV2Parameters | undefined;
|
|
697
|
+
MskParameters?: MskParameters | undefined;
|
|
529
698
|
}
|
|
530
699
|
export interface UpdateSubscriberRequest {
|
|
531
700
|
SubscriberArn: string | undefined;
|
|
@@ -549,4 +718,5 @@ export interface UpdateSubscriberResponse {
|
|
|
549
718
|
PointInTimeConfiguration?: PointInTimeConfiguration | undefined;
|
|
550
719
|
State?: SubscriberState | undefined;
|
|
551
720
|
LastModifiedTime?: Date | undefined;
|
|
721
|
+
SubscriberDetails?: SubscriberDetails | undefined;
|
|
552
722
|
}
|
|
@@ -50,6 +50,7 @@ export declare var EncryptionConfiguration$: StaticStructureSchema;
|
|
|
50
50
|
export declare var EventBusSummary$: StaticStructureSchema;
|
|
51
51
|
export declare var EventBusV2Parameters$: StaticStructureSchema;
|
|
52
52
|
export declare var EventBusV2SystemMetadata$: StaticStructureSchema;
|
|
53
|
+
export declare var EventSourceDetails$: StaticStructureSchema;
|
|
53
54
|
export declare var EventSourceSummary$: StaticStructureSchema;
|
|
54
55
|
export declare var Filter$: StaticStructureSchema;
|
|
55
56
|
export declare var FilterConfiguration$: StaticStructureSchema;
|
|
@@ -71,6 +72,9 @@ export declare var ListSubscribersResponse$: StaticStructureSchema;
|
|
|
71
72
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
72
73
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
73
74
|
export declare var LogConfiguration$: StaticStructureSchema;
|
|
75
|
+
export declare var MskDetails$: StaticStructureSchema;
|
|
76
|
+
export declare var MskHeader$: StaticStructureSchema;
|
|
77
|
+
export declare var MskParameters$: StaticStructureSchema;
|
|
74
78
|
export declare var OnFailureConfiguration$: StaticStructureSchema;
|
|
75
79
|
export declare var PartnerEventsSourceConfiguration$: StaticStructureSchema;
|
|
76
80
|
export declare var PointInTimeConfiguration$: StaticStructureSchema;
|
|
@@ -90,6 +94,8 @@ export declare var ResourcePolicySummary$: StaticStructureSchema;
|
|
|
90
94
|
export declare var RetryPolicy$: StaticStructureSchema;
|
|
91
95
|
export declare var RevokeResourceRequest$: StaticStructureSchema;
|
|
92
96
|
export declare var RevokeResourceResponse$: StaticStructureSchema;
|
|
97
|
+
export declare var RotateWebhookCredentialsRequest$: StaticStructureSchema;
|
|
98
|
+
export declare var RotateWebhookCredentialsResponse$: StaticStructureSchema;
|
|
93
99
|
export declare var SchemaRegistryConfiguration$: StaticStructureSchema;
|
|
94
100
|
export declare var SnsMessageAttributeValue$: StaticStructureSchema;
|
|
95
101
|
export declare var SnsParameters$: StaticStructureSchema;
|
|
@@ -98,6 +104,7 @@ export declare var SqsParameters$: StaticStructureSchema;
|
|
|
98
104
|
export declare var StepFunctionsParameters$: StaticStructureSchema;
|
|
99
105
|
export declare var StorageConfiguration$: StaticStructureSchema;
|
|
100
106
|
export declare var StorageConfigurationOutput$: StaticStructureSchema;
|
|
107
|
+
export declare var SubscriberDetails$: StaticStructureSchema;
|
|
101
108
|
export declare var SubscriberSummary$: StaticStructureSchema;
|
|
102
109
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
103
110
|
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
@@ -112,7 +119,15 @@ export declare var UpdateEventSourceResponse$: StaticStructureSchema;
|
|
|
112
119
|
export declare var UpdateInvokeConfiguration$: StaticStructureSchema;
|
|
113
120
|
export declare var UpdateSubscriberRequest$: StaticStructureSchema;
|
|
114
121
|
export declare var UpdateSubscriberResponse$: StaticStructureSchema;
|
|
122
|
+
export declare var WebhookBasicHttpAuthConfiguration$: StaticStructureSchema;
|
|
123
|
+
export declare var WebhookDeduplicationConfiguration$: StaticStructureSchema;
|
|
124
|
+
export declare var WebhookDetails$: StaticStructureSchema;
|
|
125
|
+
export declare var WebhookEventsSourceConfiguration$: StaticStructureSchema;
|
|
126
|
+
export declare var WebhookHmacAuthConfiguration$: StaticStructureSchema;
|
|
127
|
+
export declare var WebhookStaticTokenAuthConfiguration$: StaticStructureSchema;
|
|
115
128
|
export declare var EventSourceConfiguration$: StaticUnionSchema;
|
|
129
|
+
export declare var WebhookAuthConfiguration$: StaticUnionSchema;
|
|
130
|
+
export declare var WebhookCredential$: StaticUnionSchema;
|
|
116
131
|
export declare var CreateEventBus$: StaticOperationSchema;
|
|
117
132
|
export declare var CreateEventSource$: StaticOperationSchema;
|
|
118
133
|
export declare var CreateSubscriber$: StaticOperationSchema;
|
|
@@ -133,6 +148,7 @@ export declare var PutEvents$: StaticOperationSchema;
|
|
|
133
148
|
export declare var PutRawEvents$: StaticOperationSchema;
|
|
134
149
|
export declare var PutResourcePolicy$: StaticOperationSchema;
|
|
135
150
|
export declare var RevokeResource$: StaticOperationSchema;
|
|
151
|
+
export declare var RotateWebhookCredentials$: StaticOperationSchema;
|
|
136
152
|
export declare var TagResource$: StaticOperationSchema;
|
|
137
153
|
export declare var UntagResource$: StaticOperationSchema;
|
|
138
154
|
export declare var UpdateEventBus$: StaticOperationSchema;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import {
|
|
3
|
+
DescribeSubscriberCommandInput,
|
|
4
|
+
DescribeSubscriberCommandOutput,
|
|
5
|
+
} from "../commands/DescribeSubscriberCommand";
|
|
6
|
+
import { EventBridgeV2Client } from "../EventBridgeV2Client";
|
|
7
|
+
import { EventBridgeV2ServiceException } from "../models/EventBridgeV2ServiceException";
|
|
8
|
+
export declare const waitForMskSubscriberActive: (
|
|
9
|
+
params: WaiterConfiguration<EventBridgeV2Client>,
|
|
10
|
+
input: DescribeSubscriberCommandInput,
|
|
11
|
+
) => Promise<WaiterResult<DescribeSubscriberCommandOutput | EventBridgeV2ServiceException>>;
|
|
12
|
+
export declare const waitUntilMskSubscriberActive: (
|
|
13
|
+
params: WaiterConfiguration<EventBridgeV2Client>,
|
|
14
|
+
input: DescribeSubscriberCommandInput,
|
|
15
|
+
) => Promise<WaiterResult<DescribeSubscriberCommandOutput>>;
|