@aws-sdk/client-eventbridge 3.574.0 → 3.575.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 +17 -9
- package/dist-cjs/index.js +76 -3
- package/dist-es/EventBridge.js +2 -0
- package/dist-es/commands/UpdateEventBusCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +57 -2
- package/dist-types/EventBridge.d.ts +17 -9
- package/dist-types/EventBridgeClient.d.ts +12 -11
- package/dist-types/commands/CreateApiDestinationCommand.d.ts +4 -2
- package/dist-types/commands/CreateArchiveCommand.d.ts +23 -0
- package/dist-types/commands/CreateEndpointCommand.d.ts +6 -3
- package/dist-types/commands/CreateEventBusCommand.d.ts +10 -0
- package/dist-types/commands/CreatePartnerEventSourceCommand.d.ts +16 -14
- package/dist-types/commands/DeleteEndpointCommand.d.ts +5 -1
- package/dist-types/commands/DeletePartnerEventSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRuleCommand.d.ts +7 -6
- package/dist-types/commands/DescribeEndpointCommand.d.ts +6 -1
- package/dist-types/commands/DescribeEventBusCommand.d.ts +10 -4
- package/dist-types/commands/DescribePartnerEventSourceCommand.d.ts +2 -3
- package/dist-types/commands/DisableRuleCommand.d.ts +2 -2
- package/dist-types/commands/EnableRuleCommand.d.ts +2 -2
- package/dist-types/commands/ListEndpointsCommand.d.ts +6 -1
- package/dist-types/commands/ListEventBusesCommand.d.ts +3 -0
- package/dist-types/commands/ListEventSourcesCommand.d.ts +2 -2
- package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +2 -3
- package/dist-types/commands/ListRulesCommand.d.ts +2 -2
- package/dist-types/commands/PutEventsCommand.d.ts +9 -6
- package/dist-types/commands/PutPartnerEventsCommand.d.ts +3 -5
- package/dist-types/commands/PutPermissionCommand.d.ts +9 -9
- package/dist-types/commands/PutRuleCommand.d.ts +10 -11
- package/dist-types/commands/PutTargetsCommand.d.ts +28 -28
- package/dist-types/commands/RemovePermissionCommand.d.ts +4 -4
- package/dist-types/commands/RemoveTargetsCommand.d.ts +4 -3
- package/dist-types/commands/TagResourceCommand.d.ts +4 -4
- package/dist-types/commands/TestEventPatternCommand.d.ts +4 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateEndpointCommand.d.ts +5 -1
- package/dist-types/commands/UpdateEventBusCommand.d.ts +82 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +9 -9
- package/dist-types/models/models_0.d.ts +524 -200
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/EventBridge.d.ts +18 -0
- package/dist-types/ts3.4/EventBridgeClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/UpdateEventBusCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +30 -3
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +40 -40
package/README.md
CHANGED
|
@@ -6,19 +6,19 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript EventBridge Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>Amazon EventBridge helps you to respond to state changes in your Amazon Web Services
|
|
10
|
-
resources change state, they automatically send events to an event
|
|
11
|
-
rules that match selected events in the stream and route them to
|
|
12
|
-
can also use rules to take action on a predetermined schedule. For
|
|
13
|
-
rules to:</p>
|
|
9
|
+
<p>Amazon EventBridge helps you to respond to state changes in your Amazon Web Services
|
|
10
|
+
resources. When your resources change state, they automatically send events to an event
|
|
11
|
+
stream. You can create rules that match selected events in the stream and route them to
|
|
12
|
+
targets to take action. You can also use rules to take action on a predetermined schedule. For
|
|
13
|
+
example, you can configure rules to:</p>
|
|
14
14
|
<ul>
|
|
15
15
|
<li>
|
|
16
|
-
<p>Automatically invoke an Lambda function to update DNS entries when an
|
|
17
|
-
notifies you that Amazon EC2 instance enters the running state.</p>
|
|
16
|
+
<p>Automatically invoke an Lambda function to update DNS entries when an
|
|
17
|
+
event notifies you that Amazon EC2 instance enters the running state.</p>
|
|
18
18
|
</li>
|
|
19
19
|
<li>
|
|
20
|
-
<p>Direct specific API records from CloudTrail to an Amazon Kinesis
|
|
21
|
-
detailed analysis of potential security or availability risks.</p>
|
|
20
|
+
<p>Direct specific API records from CloudTrail to an Amazon Kinesis
|
|
21
|
+
data stream for detailed analysis of potential security or availability risks.</p>
|
|
22
22
|
</li>
|
|
23
23
|
<li>
|
|
24
24
|
<p>Periodically invoke a built-in target to create a snapshot of an Amazon EBS
|
|
@@ -671,3 +671,11 @@ UpdateEndpoint
|
|
|
671
671
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/UpdateEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UpdateEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UpdateEndpointCommandOutput/)
|
|
672
672
|
|
|
673
673
|
</details>
|
|
674
|
+
<details>
|
|
675
|
+
<summary>
|
|
676
|
+
UpdateEventBus
|
|
677
|
+
</summary>
|
|
678
|
+
|
|
679
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/UpdateEventBusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UpdateEventBusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UpdateEventBusCommandOutput/)
|
|
680
|
+
|
|
681
|
+
</details>
|
package/dist-cjs/index.js
CHANGED
|
@@ -131,6 +131,7 @@ __export(src_exports, {
|
|
|
131
131
|
UpdateConnectionOAuthRequestParametersFilterSensitiveLog: () => UpdateConnectionOAuthRequestParametersFilterSensitiveLog,
|
|
132
132
|
UpdateConnectionRequestFilterSensitiveLog: () => UpdateConnectionRequestFilterSensitiveLog,
|
|
133
133
|
UpdateEndpointCommand: () => UpdateEndpointCommand,
|
|
134
|
+
UpdateEventBusCommand: () => UpdateEventBusCommand,
|
|
134
135
|
__Client: () => import_smithy_client.Client
|
|
135
136
|
});
|
|
136
137
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -1020,6 +1021,12 @@ var se_UpdateEndpointCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1020
1021
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1021
1022
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1022
1023
|
}, "se_UpdateEndpointCommand");
|
|
1024
|
+
var se_UpdateEventBusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1025
|
+
const headers = sharedHeaders("UpdateEventBus");
|
|
1026
|
+
let body;
|
|
1027
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1028
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1029
|
+
}, "se_UpdateEventBusCommand");
|
|
1023
1030
|
var de_ActivateEventSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1024
1031
|
if (output.statusCode >= 300) {
|
|
1025
1032
|
return de_CommandError(output, context);
|
|
@@ -1284,7 +1291,7 @@ var de_DescribeEventBusCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1284
1291
|
}
|
|
1285
1292
|
const data = await (0, import_core.parseJsonBody)(output.body, context);
|
|
1286
1293
|
let contents = {};
|
|
1287
|
-
contents = (
|
|
1294
|
+
contents = de_DescribeEventBusResponse(data, context);
|
|
1288
1295
|
const response = {
|
|
1289
1296
|
$metadata: deserializeMetadata(output),
|
|
1290
1297
|
...contents
|
|
@@ -1421,7 +1428,7 @@ var de_ListEventBusesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1421
1428
|
}
|
|
1422
1429
|
const data = await (0, import_core.parseJsonBody)(output.body, context);
|
|
1423
1430
|
let contents = {};
|
|
1424
|
-
contents = (
|
|
1431
|
+
contents = de_ListEventBusesResponse(data, context);
|
|
1425
1432
|
const response = {
|
|
1426
1433
|
$metadata: deserializeMetadata(output),
|
|
1427
1434
|
...contents
|
|
@@ -1721,6 +1728,19 @@ var de_UpdateEndpointCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1721
1728
|
};
|
|
1722
1729
|
return response;
|
|
1723
1730
|
}, "de_UpdateEndpointCommand");
|
|
1731
|
+
var de_UpdateEventBusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1732
|
+
if (output.statusCode >= 300) {
|
|
1733
|
+
return de_CommandError(output, context);
|
|
1734
|
+
}
|
|
1735
|
+
const data = await (0, import_core.parseJsonBody)(output.body, context);
|
|
1736
|
+
let contents = {};
|
|
1737
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1738
|
+
const response = {
|
|
1739
|
+
$metadata: deserializeMetadata(output),
|
|
1740
|
+
...contents
|
|
1741
|
+
};
|
|
1742
|
+
return response;
|
|
1743
|
+
}, "de_UpdateEventBusCommand");
|
|
1724
1744
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1725
1745
|
const parsedOutput = {
|
|
1726
1746
|
...output,
|
|
@@ -2078,6 +2098,18 @@ var de_DescribeEndpointResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
2078
2098
|
StateReason: import_smithy_client.expectString
|
|
2079
2099
|
});
|
|
2080
2100
|
}, "de_DescribeEndpointResponse");
|
|
2101
|
+
var de_DescribeEventBusResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2102
|
+
return (0, import_smithy_client.take)(output, {
|
|
2103
|
+
Arn: import_smithy_client.expectString,
|
|
2104
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2105
|
+
DeadLetterConfig: import_smithy_client._json,
|
|
2106
|
+
Description: import_smithy_client.expectString,
|
|
2107
|
+
KmsKeyIdentifier: import_smithy_client.expectString,
|
|
2108
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2109
|
+
Name: import_smithy_client.expectString,
|
|
2110
|
+
Policy: import_smithy_client.expectString
|
|
2111
|
+
});
|
|
2112
|
+
}, "de_DescribeEventBusResponse");
|
|
2081
2113
|
var de_DescribeEventSourceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2082
2114
|
return (0, import_smithy_client.take)(output, {
|
|
2083
2115
|
Arn: import_smithy_client.expectString,
|
|
@@ -2127,6 +2159,22 @@ var de_EndpointList = /* @__PURE__ */ __name((output, context) => {
|
|
|
2127
2159
|
});
|
|
2128
2160
|
return retVal;
|
|
2129
2161
|
}, "de_EndpointList");
|
|
2162
|
+
var de_EventBus = /* @__PURE__ */ __name((output, context) => {
|
|
2163
|
+
return (0, import_smithy_client.take)(output, {
|
|
2164
|
+
Arn: import_smithy_client.expectString,
|
|
2165
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2166
|
+
Description: import_smithy_client.expectString,
|
|
2167
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2168
|
+
Name: import_smithy_client.expectString,
|
|
2169
|
+
Policy: import_smithy_client.expectString
|
|
2170
|
+
});
|
|
2171
|
+
}, "de_EventBus");
|
|
2172
|
+
var de_EventBusList = /* @__PURE__ */ __name((output, context) => {
|
|
2173
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2174
|
+
return de_EventBus(entry, context);
|
|
2175
|
+
});
|
|
2176
|
+
return retVal;
|
|
2177
|
+
}, "de_EventBusList");
|
|
2130
2178
|
var de_EventSource = /* @__PURE__ */ __name((output, context) => {
|
|
2131
2179
|
return (0, import_smithy_client.take)(output, {
|
|
2132
2180
|
Arn: import_smithy_client.expectString,
|
|
@@ -2167,6 +2215,12 @@ var de_ListEndpointsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
2167
2215
|
NextToken: import_smithy_client.expectString
|
|
2168
2216
|
});
|
|
2169
2217
|
}, "de_ListEndpointsResponse");
|
|
2218
|
+
var de_ListEventBusesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2219
|
+
return (0, import_smithy_client.take)(output, {
|
|
2220
|
+
EventBuses: (_) => de_EventBusList(_, context),
|
|
2221
|
+
NextToken: import_smithy_client.expectString
|
|
2222
|
+
});
|
|
2223
|
+
}, "de_ListEventBusesResponse");
|
|
2170
2224
|
var de_ListEventSourcesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2171
2225
|
return (0, import_smithy_client.take)(output, {
|
|
2172
2226
|
EventSources: (_) => de_EventSourceList(_, context),
|
|
@@ -3233,6 +3287,23 @@ var _UpdateEndpointCommand = class _UpdateEndpointCommand extends import_smithy_
|
|
|
3233
3287
|
__name(_UpdateEndpointCommand, "UpdateEndpointCommand");
|
|
3234
3288
|
var UpdateEndpointCommand = _UpdateEndpointCommand;
|
|
3235
3289
|
|
|
3290
|
+
// src/commands/UpdateEventBusCommand.ts
|
|
3291
|
+
|
|
3292
|
+
|
|
3293
|
+
|
|
3294
|
+
|
|
3295
|
+
var _UpdateEventBusCommand = class _UpdateEventBusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3296
|
+
...commonParams
|
|
3297
|
+
}).m(function(Command, cs, config, o) {
|
|
3298
|
+
return [
|
|
3299
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3300
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3301
|
+
];
|
|
3302
|
+
}).s("AWSEvents", "UpdateEventBus", {}).n("EventBridgeClient", "UpdateEventBusCommand").f(void 0, void 0).ser(se_UpdateEventBusCommand).de(de_UpdateEventBusCommand).build() {
|
|
3303
|
+
};
|
|
3304
|
+
__name(_UpdateEventBusCommand, "UpdateEventBusCommand");
|
|
3305
|
+
var UpdateEventBusCommand = _UpdateEventBusCommand;
|
|
3306
|
+
|
|
3236
3307
|
// src/EventBridge.ts
|
|
3237
3308
|
var commands = {
|
|
3238
3309
|
ActivateEventSourceCommand,
|
|
@@ -3290,7 +3361,8 @@ var commands = {
|
|
|
3290
3361
|
UpdateApiDestinationCommand,
|
|
3291
3362
|
UpdateArchiveCommand,
|
|
3292
3363
|
UpdateConnectionCommand,
|
|
3293
|
-
UpdateEndpointCommand
|
|
3364
|
+
UpdateEndpointCommand,
|
|
3365
|
+
UpdateEventBusCommand
|
|
3294
3366
|
};
|
|
3295
3367
|
var _EventBridge = class _EventBridge extends EventBridgeClient {
|
|
3296
3368
|
};
|
|
@@ -3361,6 +3433,7 @@ var EventBridge = _EventBridge;
|
|
|
3361
3433
|
UpdateArchiveCommand,
|
|
3362
3434
|
UpdateConnectionCommand,
|
|
3363
3435
|
UpdateEndpointCommand,
|
|
3436
|
+
UpdateEventBusCommand,
|
|
3364
3437
|
ConcurrentModificationException,
|
|
3365
3438
|
InternalException,
|
|
3366
3439
|
InvalidStateException,
|
package/dist-es/EventBridge.js
CHANGED
|
@@ -55,6 +55,7 @@ import { UpdateApiDestinationCommand, } from "./commands/UpdateApiDestinationCom
|
|
|
55
55
|
import { UpdateArchiveCommand, } from "./commands/UpdateArchiveCommand";
|
|
56
56
|
import { UpdateConnectionCommand, } from "./commands/UpdateConnectionCommand";
|
|
57
57
|
import { UpdateEndpointCommand, } from "./commands/UpdateEndpointCommand";
|
|
58
|
+
import { UpdateEventBusCommand, } from "./commands/UpdateEventBusCommand";
|
|
58
59
|
import { EventBridgeClient } from "./EventBridgeClient";
|
|
59
60
|
const commands = {
|
|
60
61
|
ActivateEventSourceCommand,
|
|
@@ -113,6 +114,7 @@ const commands = {
|
|
|
113
114
|
UpdateArchiveCommand,
|
|
114
115
|
UpdateConnectionCommand,
|
|
115
116
|
UpdateEndpointCommand,
|
|
117
|
+
UpdateEventBusCommand,
|
|
116
118
|
};
|
|
117
119
|
export class EventBridge extends EventBridgeClient {
|
|
118
120
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateEventBusCommand, se_UpdateEventBusCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateEventBusCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSEvents", "UpdateEventBus", {})
|
|
19
|
+
.n("EventBridgeClient", "UpdateEventBusCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateEventBusCommand)
|
|
22
|
+
.de(de_UpdateEventBusCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -339,6 +339,12 @@ export const se_UpdateEndpointCommand = async (input, context) => {
|
|
|
339
339
|
body = JSON.stringify(_json(input));
|
|
340
340
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
341
341
|
};
|
|
342
|
+
export const se_UpdateEventBusCommand = async (input, context) => {
|
|
343
|
+
const headers = sharedHeaders("UpdateEventBus");
|
|
344
|
+
let body;
|
|
345
|
+
body = JSON.stringify(_json(input));
|
|
346
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
|
+
};
|
|
342
348
|
export const de_ActivateEventSourceCommand = async (output, context) => {
|
|
343
349
|
if (output.statusCode >= 300) {
|
|
344
350
|
return de_CommandError(output, context);
|
|
@@ -603,7 +609,7 @@ export const de_DescribeEventBusCommand = async (output, context) => {
|
|
|
603
609
|
}
|
|
604
610
|
const data = await parseBody(output.body, context);
|
|
605
611
|
let contents = {};
|
|
606
|
-
contents =
|
|
612
|
+
contents = de_DescribeEventBusResponse(data, context);
|
|
607
613
|
const response = {
|
|
608
614
|
$metadata: deserializeMetadata(output),
|
|
609
615
|
...contents,
|
|
@@ -740,7 +746,7 @@ export const de_ListEventBusesCommand = async (output, context) => {
|
|
|
740
746
|
}
|
|
741
747
|
const data = await parseBody(output.body, context);
|
|
742
748
|
let contents = {};
|
|
743
|
-
contents =
|
|
749
|
+
contents = de_ListEventBusesResponse(data, context);
|
|
744
750
|
const response = {
|
|
745
751
|
$metadata: deserializeMetadata(output),
|
|
746
752
|
...contents,
|
|
@@ -1040,6 +1046,19 @@ export const de_UpdateEndpointCommand = async (output, context) => {
|
|
|
1040
1046
|
};
|
|
1041
1047
|
return response;
|
|
1042
1048
|
};
|
|
1049
|
+
export const de_UpdateEventBusCommand = async (output, context) => {
|
|
1050
|
+
if (output.statusCode >= 300) {
|
|
1051
|
+
return de_CommandError(output, context);
|
|
1052
|
+
}
|
|
1053
|
+
const data = await parseBody(output.body, context);
|
|
1054
|
+
let contents = {};
|
|
1055
|
+
contents = _json(data);
|
|
1056
|
+
const response = {
|
|
1057
|
+
$metadata: deserializeMetadata(output),
|
|
1058
|
+
...contents,
|
|
1059
|
+
};
|
|
1060
|
+
return response;
|
|
1061
|
+
};
|
|
1043
1062
|
const de_CommandError = async (output, context) => {
|
|
1044
1063
|
const parsedOutput = {
|
|
1045
1064
|
...output,
|
|
@@ -1407,6 +1426,18 @@ const de_DescribeEndpointResponse = (output, context) => {
|
|
|
1407
1426
|
StateReason: __expectString,
|
|
1408
1427
|
});
|
|
1409
1428
|
};
|
|
1429
|
+
const de_DescribeEventBusResponse = (output, context) => {
|
|
1430
|
+
return take(output, {
|
|
1431
|
+
Arn: __expectString,
|
|
1432
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1433
|
+
DeadLetterConfig: _json,
|
|
1434
|
+
Description: __expectString,
|
|
1435
|
+
KmsKeyIdentifier: __expectString,
|
|
1436
|
+
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1437
|
+
Name: __expectString,
|
|
1438
|
+
Policy: __expectString,
|
|
1439
|
+
});
|
|
1440
|
+
};
|
|
1410
1441
|
const de_DescribeEventSourceResponse = (output, context) => {
|
|
1411
1442
|
return take(output, {
|
|
1412
1443
|
Arn: __expectString,
|
|
@@ -1458,6 +1489,24 @@ const de_EndpointList = (output, context) => {
|
|
|
1458
1489
|
});
|
|
1459
1490
|
return retVal;
|
|
1460
1491
|
};
|
|
1492
|
+
const de_EventBus = (output, context) => {
|
|
1493
|
+
return take(output, {
|
|
1494
|
+
Arn: __expectString,
|
|
1495
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1496
|
+
Description: __expectString,
|
|
1497
|
+
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1498
|
+
Name: __expectString,
|
|
1499
|
+
Policy: __expectString,
|
|
1500
|
+
});
|
|
1501
|
+
};
|
|
1502
|
+
const de_EventBusList = (output, context) => {
|
|
1503
|
+
const retVal = (output || [])
|
|
1504
|
+
.filter((e) => e != null)
|
|
1505
|
+
.map((entry) => {
|
|
1506
|
+
return de_EventBus(entry, context);
|
|
1507
|
+
});
|
|
1508
|
+
return retVal;
|
|
1509
|
+
};
|
|
1461
1510
|
const de_EventSource = (output, context) => {
|
|
1462
1511
|
return take(output, {
|
|
1463
1512
|
Arn: __expectString,
|
|
@@ -1500,6 +1549,12 @@ const de_ListEndpointsResponse = (output, context) => {
|
|
|
1500
1549
|
NextToken: __expectString,
|
|
1501
1550
|
});
|
|
1502
1551
|
};
|
|
1552
|
+
const de_ListEventBusesResponse = (output, context) => {
|
|
1553
|
+
return take(output, {
|
|
1554
|
+
EventBuses: (_) => de_EventBusList(_, context),
|
|
1555
|
+
NextToken: __expectString,
|
|
1556
|
+
});
|
|
1557
|
+
};
|
|
1503
1558
|
const de_ListEventSourcesResponse = (output, context) => {
|
|
1504
1559
|
return take(output, {
|
|
1505
1560
|
EventSources: (_) => de_EventSourceList(_, context),
|
|
@@ -55,6 +55,7 @@ import { UpdateApiDestinationCommandInput, UpdateApiDestinationCommandOutput } f
|
|
|
55
55
|
import { UpdateArchiveCommandInput, UpdateArchiveCommandOutput } from "./commands/UpdateArchiveCommand";
|
|
56
56
|
import { UpdateConnectionCommandInput, UpdateConnectionCommandOutput } from "./commands/UpdateConnectionCommand";
|
|
57
57
|
import { UpdateEndpointCommandInput, UpdateEndpointCommandOutput } from "./commands/UpdateEndpointCommand";
|
|
58
|
+
import { UpdateEventBusCommandInput, UpdateEventBusCommandOutput } from "./commands/UpdateEventBusCommand";
|
|
58
59
|
import { EventBridgeClient } from "./EventBridgeClient";
|
|
59
60
|
export interface EventBridge {
|
|
60
61
|
/**
|
|
@@ -404,21 +405,28 @@ export interface EventBridge {
|
|
|
404
405
|
updateEndpoint(args: UpdateEndpointCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEndpointCommandOutput>;
|
|
405
406
|
updateEndpoint(args: UpdateEndpointCommandInput, cb: (err: any, data?: UpdateEndpointCommandOutput) => void): void;
|
|
406
407
|
updateEndpoint(args: UpdateEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEndpointCommandOutput) => void): void;
|
|
408
|
+
/**
|
|
409
|
+
* @see {@link UpdateEventBusCommand}
|
|
410
|
+
*/
|
|
411
|
+
updateEventBus(): Promise<UpdateEventBusCommandOutput>;
|
|
412
|
+
updateEventBus(args: UpdateEventBusCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEventBusCommandOutput>;
|
|
413
|
+
updateEventBus(args: UpdateEventBusCommandInput, cb: (err: any, data?: UpdateEventBusCommandOutput) => void): void;
|
|
414
|
+
updateEventBus(args: UpdateEventBusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventBusCommandOutput) => void): void;
|
|
407
415
|
}
|
|
408
416
|
/**
|
|
409
|
-
* <p>Amazon EventBridge helps you to respond to state changes in your Amazon Web Services
|
|
410
|
-
* resources change state, they automatically send events to an event
|
|
411
|
-
* rules that match selected events in the stream and route them to
|
|
412
|
-
* can also use rules to take action on a predetermined schedule. For
|
|
413
|
-
* rules to:</p>
|
|
417
|
+
* <p>Amazon EventBridge helps you to respond to state changes in your Amazon Web Services
|
|
418
|
+
* resources. When your resources change state, they automatically send events to an event
|
|
419
|
+
* stream. You can create rules that match selected events in the stream and route them to
|
|
420
|
+
* targets to take action. You can also use rules to take action on a predetermined schedule. For
|
|
421
|
+
* example, you can configure rules to:</p>
|
|
414
422
|
* <ul>
|
|
415
423
|
* <li>
|
|
416
|
-
* <p>Automatically invoke an Lambda function to update DNS entries when an
|
|
417
|
-
* notifies you that Amazon EC2 instance enters the running state.</p>
|
|
424
|
+
* <p>Automatically invoke an Lambda function to update DNS entries when an
|
|
425
|
+
* event notifies you that Amazon EC2 instance enters the running state.</p>
|
|
418
426
|
* </li>
|
|
419
427
|
* <li>
|
|
420
|
-
* <p>Direct specific API records from CloudTrail to an Amazon Kinesis
|
|
421
|
-
* detailed analysis of potential security or availability risks.</p>
|
|
428
|
+
* <p>Direct specific API records from CloudTrail to an Amazon Kinesis
|
|
429
|
+
* data stream for detailed analysis of potential security or availability risks.</p>
|
|
422
430
|
* </li>
|
|
423
431
|
* <li>
|
|
424
432
|
* <p>Periodically invoke a built-in target to create a snapshot of an Amazon EBS
|
|
@@ -64,17 +64,18 @@ import { UpdateApiDestinationCommandInput, UpdateApiDestinationCommandOutput } f
|
|
|
64
64
|
import { UpdateArchiveCommandInput, UpdateArchiveCommandOutput } from "./commands/UpdateArchiveCommand";
|
|
65
65
|
import { UpdateConnectionCommandInput, UpdateConnectionCommandOutput } from "./commands/UpdateConnectionCommand";
|
|
66
66
|
import { UpdateEndpointCommandInput, UpdateEndpointCommandOutput } from "./commands/UpdateEndpointCommand";
|
|
67
|
+
import { UpdateEventBusCommandInput, UpdateEventBusCommandOutput } from "./commands/UpdateEventBusCommand";
|
|
67
68
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
68
69
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
69
70
|
export { __Client };
|
|
70
71
|
/**
|
|
71
72
|
* @public
|
|
72
73
|
*/
|
|
73
|
-
export type ServiceInputTypes = ActivateEventSourceCommandInput | CancelReplayCommandInput | CreateApiDestinationCommandInput | CreateArchiveCommandInput | CreateConnectionCommandInput | CreateEndpointCommandInput | CreateEventBusCommandInput | CreatePartnerEventSourceCommandInput | DeactivateEventSourceCommandInput | DeauthorizeConnectionCommandInput | DeleteApiDestinationCommandInput | DeleteArchiveCommandInput | DeleteConnectionCommandInput | DeleteEndpointCommandInput | DeleteEventBusCommandInput | DeletePartnerEventSourceCommandInput | DeleteRuleCommandInput | DescribeApiDestinationCommandInput | DescribeArchiveCommandInput | DescribeConnectionCommandInput | DescribeEndpointCommandInput | DescribeEventBusCommandInput | DescribeEventSourceCommandInput | DescribePartnerEventSourceCommandInput | DescribeReplayCommandInput | DescribeRuleCommandInput | DisableRuleCommandInput | EnableRuleCommandInput | ListApiDestinationsCommandInput | ListArchivesCommandInput | ListConnectionsCommandInput | ListEndpointsCommandInput | ListEventBusesCommandInput | ListEventSourcesCommandInput | ListPartnerEventSourceAccountsCommandInput | ListPartnerEventSourcesCommandInput | ListReplaysCommandInput | ListRuleNamesByTargetCommandInput | ListRulesCommandInput | ListTagsForResourceCommandInput | ListTargetsByRuleCommandInput | PutEventsCommandInput | PutPartnerEventsCommandInput | PutPermissionCommandInput | PutRuleCommandInput | PutTargetsCommandInput | RemovePermissionCommandInput | RemoveTargetsCommandInput | StartReplayCommandInput | TagResourceCommandInput | TestEventPatternCommandInput | UntagResourceCommandInput | UpdateApiDestinationCommandInput | UpdateArchiveCommandInput | UpdateConnectionCommandInput | UpdateEndpointCommandInput;
|
|
74
|
+
export type ServiceInputTypes = ActivateEventSourceCommandInput | CancelReplayCommandInput | CreateApiDestinationCommandInput | CreateArchiveCommandInput | CreateConnectionCommandInput | CreateEndpointCommandInput | CreateEventBusCommandInput | CreatePartnerEventSourceCommandInput | DeactivateEventSourceCommandInput | DeauthorizeConnectionCommandInput | DeleteApiDestinationCommandInput | DeleteArchiveCommandInput | DeleteConnectionCommandInput | DeleteEndpointCommandInput | DeleteEventBusCommandInput | DeletePartnerEventSourceCommandInput | DeleteRuleCommandInput | DescribeApiDestinationCommandInput | DescribeArchiveCommandInput | DescribeConnectionCommandInput | DescribeEndpointCommandInput | DescribeEventBusCommandInput | DescribeEventSourceCommandInput | DescribePartnerEventSourceCommandInput | DescribeReplayCommandInput | DescribeRuleCommandInput | DisableRuleCommandInput | EnableRuleCommandInput | ListApiDestinationsCommandInput | ListArchivesCommandInput | ListConnectionsCommandInput | ListEndpointsCommandInput | ListEventBusesCommandInput | ListEventSourcesCommandInput | ListPartnerEventSourceAccountsCommandInput | ListPartnerEventSourcesCommandInput | ListReplaysCommandInput | ListRuleNamesByTargetCommandInput | ListRulesCommandInput | ListTagsForResourceCommandInput | ListTargetsByRuleCommandInput | PutEventsCommandInput | PutPartnerEventsCommandInput | PutPermissionCommandInput | PutRuleCommandInput | PutTargetsCommandInput | RemovePermissionCommandInput | RemoveTargetsCommandInput | StartReplayCommandInput | TagResourceCommandInput | TestEventPatternCommandInput | UntagResourceCommandInput | UpdateApiDestinationCommandInput | UpdateArchiveCommandInput | UpdateConnectionCommandInput | UpdateEndpointCommandInput | UpdateEventBusCommandInput;
|
|
74
75
|
/**
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
|
-
export type ServiceOutputTypes = ActivateEventSourceCommandOutput | CancelReplayCommandOutput | CreateApiDestinationCommandOutput | CreateArchiveCommandOutput | CreateConnectionCommandOutput | CreateEndpointCommandOutput | CreateEventBusCommandOutput | CreatePartnerEventSourceCommandOutput | DeactivateEventSourceCommandOutput | DeauthorizeConnectionCommandOutput | DeleteApiDestinationCommandOutput | DeleteArchiveCommandOutput | DeleteConnectionCommandOutput | DeleteEndpointCommandOutput | DeleteEventBusCommandOutput | DeletePartnerEventSourceCommandOutput | DeleteRuleCommandOutput | DescribeApiDestinationCommandOutput | DescribeArchiveCommandOutput | DescribeConnectionCommandOutput | DescribeEndpointCommandOutput | DescribeEventBusCommandOutput | DescribeEventSourceCommandOutput | DescribePartnerEventSourceCommandOutput | DescribeReplayCommandOutput | DescribeRuleCommandOutput | DisableRuleCommandOutput | EnableRuleCommandOutput | ListApiDestinationsCommandOutput | ListArchivesCommandOutput | ListConnectionsCommandOutput | ListEndpointsCommandOutput | ListEventBusesCommandOutput | ListEventSourcesCommandOutput | ListPartnerEventSourceAccountsCommandOutput | ListPartnerEventSourcesCommandOutput | ListReplaysCommandOutput | ListRuleNamesByTargetCommandOutput | ListRulesCommandOutput | ListTagsForResourceCommandOutput | ListTargetsByRuleCommandOutput | PutEventsCommandOutput | PutPartnerEventsCommandOutput | PutPermissionCommandOutput | PutRuleCommandOutput | PutTargetsCommandOutput | RemovePermissionCommandOutput | RemoveTargetsCommandOutput | StartReplayCommandOutput | TagResourceCommandOutput | TestEventPatternCommandOutput | UntagResourceCommandOutput | UpdateApiDestinationCommandOutput | UpdateArchiveCommandOutput | UpdateConnectionCommandOutput | UpdateEndpointCommandOutput;
|
|
78
|
+
export type ServiceOutputTypes = ActivateEventSourceCommandOutput | CancelReplayCommandOutput | CreateApiDestinationCommandOutput | CreateArchiveCommandOutput | CreateConnectionCommandOutput | CreateEndpointCommandOutput | CreateEventBusCommandOutput | CreatePartnerEventSourceCommandOutput | DeactivateEventSourceCommandOutput | DeauthorizeConnectionCommandOutput | DeleteApiDestinationCommandOutput | DeleteArchiveCommandOutput | DeleteConnectionCommandOutput | DeleteEndpointCommandOutput | DeleteEventBusCommandOutput | DeletePartnerEventSourceCommandOutput | DeleteRuleCommandOutput | DescribeApiDestinationCommandOutput | DescribeArchiveCommandOutput | DescribeConnectionCommandOutput | DescribeEndpointCommandOutput | DescribeEventBusCommandOutput | DescribeEventSourceCommandOutput | DescribePartnerEventSourceCommandOutput | DescribeReplayCommandOutput | DescribeRuleCommandOutput | DisableRuleCommandOutput | EnableRuleCommandOutput | ListApiDestinationsCommandOutput | ListArchivesCommandOutput | ListConnectionsCommandOutput | ListEndpointsCommandOutput | ListEventBusesCommandOutput | ListEventSourcesCommandOutput | ListPartnerEventSourceAccountsCommandOutput | ListPartnerEventSourcesCommandOutput | ListReplaysCommandOutput | ListRuleNamesByTargetCommandOutput | ListRulesCommandOutput | ListTagsForResourceCommandOutput | ListTargetsByRuleCommandOutput | PutEventsCommandOutput | PutPartnerEventsCommandOutput | PutPermissionCommandOutput | PutRuleCommandOutput | PutTargetsCommandOutput | RemovePermissionCommandOutput | RemoveTargetsCommandOutput | StartReplayCommandOutput | TagResourceCommandOutput | TestEventPatternCommandOutput | UntagResourceCommandOutput | UpdateApiDestinationCommandOutput | UpdateArchiveCommandOutput | UpdateConnectionCommandOutput | UpdateEndpointCommandOutput | UpdateEventBusCommandOutput;
|
|
78
79
|
/**
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
@@ -207,19 +208,19 @@ export type EventBridgeClientResolvedConfigType = __SmithyResolvedConfiguration<
|
|
|
207
208
|
export interface EventBridgeClientResolvedConfig extends EventBridgeClientResolvedConfigType {
|
|
208
209
|
}
|
|
209
210
|
/**
|
|
210
|
-
* <p>Amazon EventBridge helps you to respond to state changes in your Amazon Web Services
|
|
211
|
-
* resources change state, they automatically send events to an event
|
|
212
|
-
* rules that match selected events in the stream and route them to
|
|
213
|
-
* can also use rules to take action on a predetermined schedule. For
|
|
214
|
-
* rules to:</p>
|
|
211
|
+
* <p>Amazon EventBridge helps you to respond to state changes in your Amazon Web Services
|
|
212
|
+
* resources. When your resources change state, they automatically send events to an event
|
|
213
|
+
* stream. You can create rules that match selected events in the stream and route them to
|
|
214
|
+
* targets to take action. You can also use rules to take action on a predetermined schedule. For
|
|
215
|
+
* example, you can configure rules to:</p>
|
|
215
216
|
* <ul>
|
|
216
217
|
* <li>
|
|
217
|
-
* <p>Automatically invoke an Lambda function to update DNS entries when an
|
|
218
|
-
* notifies you that Amazon EC2 instance enters the running state.</p>
|
|
218
|
+
* <p>Automatically invoke an Lambda function to update DNS entries when an
|
|
219
|
+
* event notifies you that Amazon EC2 instance enters the running state.</p>
|
|
219
220
|
* </li>
|
|
220
221
|
* <li>
|
|
221
|
-
* <p>Direct specific API records from CloudTrail to an Amazon Kinesis
|
|
222
|
-
* detailed analysis of potential security or availability risks.</p>
|
|
222
|
+
* <p>Direct specific API records from CloudTrail to an Amazon Kinesis
|
|
223
|
+
* data stream for detailed analysis of potential security or availability risks.</p>
|
|
223
224
|
* </li>
|
|
224
225
|
* <li>
|
|
225
226
|
* <p>Periodically invoke a built-in target to create a snapshot of an Amazon EBS
|
|
@@ -28,8 +28,10 @@ declare const CreateApiDestinationCommand_base: {
|
|
|
28
28
|
/**
|
|
29
29
|
* <p>Creates an API destination, which is an HTTP invocation endpoint configured as a target
|
|
30
30
|
* for events.</p>
|
|
31
|
-
* <p>API destinations do not support private destinations, such as interface VPC
|
|
32
|
-
*
|
|
31
|
+
* <p>API destinations do not support private destinations, such as interface VPC
|
|
32
|
+
* endpoints.</p>
|
|
33
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html">API destinations</a> in the
|
|
34
|
+
* <i>EventBridge User Guide</i>.</p>
|
|
33
35
|
* @example
|
|
34
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
37
|
* ```javascript
|
|
@@ -31,6 +31,29 @@ declare const CreateArchiveCommand_base: {
|
|
|
31
31
|
* time for changes to take effect. If you do not specify a pattern to filter events sent to the
|
|
32
32
|
* archive, all events are sent to the archive except replayed events. Replayed events are not
|
|
33
33
|
* sent to an archive.</p>
|
|
34
|
+
* <note>
|
|
35
|
+
* <p>Archives and schema discovery are not supported for event buses encrypted using a
|
|
36
|
+
* customer managed key. EventBridge returns an error if:</p>
|
|
37
|
+
* <ul>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>You call <code>
|
|
40
|
+
* <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_CreateArchive.html">CreateArchive</a>
|
|
41
|
+
* </code> on an event bus set to use a customer managed key for encryption.</p>
|
|
42
|
+
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>You call <code>
|
|
45
|
+
* <a href="https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer">CreateDiscoverer</a>
|
|
46
|
+
* </code> on an event bus set to use a customer managed key for encryption.</p>
|
|
47
|
+
* </li>
|
|
48
|
+
* <li>
|
|
49
|
+
* <p>You call <code>
|
|
50
|
+
* <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html">UpdatedEventBus</a>
|
|
51
|
+
* </code> to set a customer managed key on an event bus with an archives or schema discovery enabled.</p>
|
|
52
|
+
* </li>
|
|
53
|
+
* </ul>
|
|
54
|
+
* <p>To enable archives or schema discovery on an event bus, choose to
|
|
55
|
+
* use an Amazon Web Services owned key. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html">Data encryption in EventBridge</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
56
|
+
* </note>
|
|
34
57
|
* @example
|
|
35
58
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
59
|
* ```javascript
|
|
@@ -26,9 +26,12 @@ declare const CreateEndpointCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Creates a global endpoint. Global endpoints improve your application's availability by
|
|
30
|
-
*
|
|
31
|
-
*
|
|
29
|
+
* <p>Creates a global endpoint. Global endpoints improve your application's availability by
|
|
30
|
+
* making it regional-fault tolerant. To do this, you define a primary and secondary Region with
|
|
31
|
+
* event buses in each Region. You also create a Amazon Route 53 health check that will
|
|
32
|
+
* tell EventBridge to route events to the secondary Region when an "unhealthy" state is
|
|
33
|
+
* encountered and events will be routed back to the primary Region when the health check reports
|
|
34
|
+
* a "healthy" state.</p>
|
|
32
35
|
* @example
|
|
33
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
37
|
* ```javascript
|
|
@@ -38,6 +38,11 @@ declare const CreateEventBusCommand_base: {
|
|
|
38
38
|
* const input = { // CreateEventBusRequest
|
|
39
39
|
* Name: "STRING_VALUE", // required
|
|
40
40
|
* EventSourceName: "STRING_VALUE",
|
|
41
|
+
* Description: "STRING_VALUE",
|
|
42
|
+
* KmsKeyIdentifier: "STRING_VALUE",
|
|
43
|
+
* DeadLetterConfig: { // DeadLetterConfig
|
|
44
|
+
* Arn: "STRING_VALUE",
|
|
45
|
+
* },
|
|
41
46
|
* Tags: [ // TagList
|
|
42
47
|
* { // Tag
|
|
43
48
|
* Key: "STRING_VALUE", // required
|
|
@@ -49,6 +54,11 @@ declare const CreateEventBusCommand_base: {
|
|
|
49
54
|
* const response = await client.send(command);
|
|
50
55
|
* // { // CreateEventBusResponse
|
|
51
56
|
* // EventBusArn: "STRING_VALUE",
|
|
57
|
+
* // Description: "STRING_VALUE",
|
|
58
|
+
* // KmsKeyIdentifier: "STRING_VALUE",
|
|
59
|
+
* // DeadLetterConfig: { // DeadLetterConfig
|
|
60
|
+
* // Arn: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
52
62
|
* // };
|
|
53
63
|
*
|
|
54
64
|
* ```
|
|
@@ -27,15 +27,16 @@ declare const CreatePartnerEventSourceCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Called by an SaaS partner to create a partner event source. This operation is not used by
|
|
30
|
-
*
|
|
31
|
-
* <p>Each partner event source can be used by one Amazon Web Services account to create a
|
|
32
|
-
* event bus in that Amazon Web Services account. A SaaS partner must create one
|
|
33
|
-
* Amazon Web Services account that wants to receive those event
|
|
30
|
+
* Amazon Web Services customers.</p>
|
|
31
|
+
* <p>Each partner event source can be used by one Amazon Web Services account to create a
|
|
32
|
+
* matching partner event bus in that Amazon Web Services account. A SaaS partner must create one
|
|
33
|
+
* partner event source for each Amazon Web Services account that wants to receive those event
|
|
34
|
+
* types. </p>
|
|
34
35
|
* <p>A partner event source creates events based on resources within the SaaS partner's service
|
|
35
36
|
* or application.</p>
|
|
36
|
-
* <p>An Amazon Web Services account that creates a partner event bus that matches the partner
|
|
37
|
-
* use that event bus to receive events from the partner, and then process them
|
|
38
|
-
* rules and targets.</p>
|
|
37
|
+
* <p>An Amazon Web Services account that creates a partner event bus that matches the partner
|
|
38
|
+
* event source can use that event bus to receive events from the partner, and then process them
|
|
39
|
+
* using Amazon Web Services Events rules and targets.</p>
|
|
39
40
|
* <p>Partner event source names follow this format:</p>
|
|
40
41
|
* <p>
|
|
41
42
|
* <code>
|
|
@@ -55,15 +56,16 @@ declare const CreatePartnerEventSourceCommand_base: {
|
|
|
55
56
|
* </li>
|
|
56
57
|
* <li>
|
|
57
58
|
* <p>
|
|
58
|
-
* <i>event_name</i> is determined by the partner, and should uniquely
|
|
59
|
-
*
|
|
60
|
-
* <p>The <i>event_name</i> must be unique across all Amazon Web Services
|
|
61
|
-
*
|
|
59
|
+
* <i>event_name</i> is determined by the partner, and should uniquely
|
|
60
|
+
* identify an event-generating resource within the partner system. </p>
|
|
61
|
+
* <p>The <i>event_name</i> must be unique across all Amazon Web Services
|
|
62
|
+
* customers. This is because the event source is a shared resource between the partner and
|
|
63
|
+
* customer accounts, and each partner event source unique in the partner account.</p>
|
|
62
64
|
* </li>
|
|
63
65
|
* </ul>
|
|
64
|
-
* <p>The combination of
|
|
65
|
-
*
|
|
66
|
-
*
|
|
66
|
+
* <p>The combination of <i>event_namespace</i> and
|
|
67
|
+
* <i>event_name</i> should help Amazon Web Services customers decide whether to
|
|
68
|
+
* create an event bus to receive these events.</p>
|
|
67
69
|
* @example
|
|
68
70
|
* Use a bare-bones client and the command you need to make an API call.
|
|
69
71
|
* ```javascript
|
|
@@ -26,7 +26,11 @@ declare const DeleteEndpointCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Delete an existing global endpoint. For more information about global endpoints, see
|
|
29
|
+
* <p>Delete an existing global endpoint. For more information about global endpoints, see
|
|
30
|
+
* <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-global-endpoints.html">Making applications Regional-fault tolerant with global endpoints and event
|
|
31
|
+
* replication</a> in the <i>
|
|
32
|
+
* <i>Amazon EventBridge User Guide</i>
|
|
33
|
+
* </i>.</p>
|
|
30
34
|
* @example
|
|
31
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
36
|
* ```javascript
|
|
@@ -29,7 +29,7 @@ declare const DeletePartnerEventSourceCommand_base: {
|
|
|
29
29
|
* <p>This operation is used by SaaS partners to delete a partner event source. This operation
|
|
30
30
|
* is not used by Amazon Web Services customers.</p>
|
|
31
31
|
* <p>When you delete an event source, the status of the corresponding partner event bus in the
|
|
32
|
-
*
|
|
32
|
+
* Amazon Web Services customer account becomes DELETED.</p>
|
|
33
33
|
* <p></p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|