@aws-sdk/client-eventbridge 3.37.0 → 3.41.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/CHANGELOG.md +42 -0
- package/dist-cjs/commands/index.js +54 -0
- package/dist-cjs/endpoints.js +137 -21
- package/dist-cjs/index.js +3 -53
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/commands/index.js +51 -0
- package/dist-es/endpoints.js +137 -21
- package/dist-es/index.js +3 -53
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/EventBridgeClient.d.ts +8 -0
- package/dist-types/commands/ActivateEventSourceCommand.d.ts +1 -1
- package/dist-types/commands/CancelReplayCommand.d.ts +1 -1
- package/dist-types/commands/CreateApiDestinationCommand.d.ts +1 -1
- package/dist-types/commands/CreateArchiveCommand.d.ts +1 -1
- package/dist-types/commands/CreateConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateEventBusCommand.d.ts +1 -1
- package/dist-types/commands/CreatePartnerEventSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeactivateEventSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeauthorizeConnectionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApiDestinationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteArchiveCommand.d.ts +1 -1
- package/dist-types/commands/DeleteConnectionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventBusCommand.d.ts +1 -1
- package/dist-types/commands/DeletePartnerEventSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeApiDestinationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeArchiveCommand.d.ts +1 -1
- package/dist-types/commands/DescribeConnectionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventBusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventSourceCommand.d.ts +1 -1
- package/dist-types/commands/DescribePartnerEventSourceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReplayCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleCommand.d.ts +1 -1
- package/dist-types/commands/DisableRuleCommand.d.ts +1 -1
- package/dist-types/commands/EnableRuleCommand.d.ts +1 -1
- package/dist-types/commands/ListApiDestinationsCommand.d.ts +1 -1
- package/dist-types/commands/ListArchivesCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/ListEventBusesCommand.d.ts +1 -1
- package/dist-types/commands/ListEventSourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListPartnerEventSourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListReplaysCommand.d.ts +1 -1
- package/dist-types/commands/ListRuleNamesByTargetCommand.d.ts +1 -1
- package/dist-types/commands/ListRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTargetsByRuleCommand.d.ts +1 -1
- package/dist-types/commands/PutEventsCommand.d.ts +1 -1
- package/dist-types/commands/PutPartnerEventsCommand.d.ts +1 -1
- package/dist-types/commands/PutPermissionCommand.d.ts +1 -1
- package/dist-types/commands/PutRuleCommand.d.ts +1 -1
- package/dist-types/commands/PutTargetsCommand.d.ts +1 -1
- package/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
- package/dist-types/commands/RemoveTargetsCommand.d.ts +1 -1
- package/dist-types/commands/StartReplayCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestEventPatternCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApiDestinationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateArchiveCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConnectionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +51 -0
- package/dist-types/index.d.ts +3 -53
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/EventBridgeClient.d.ts +4 -0
- package/dist-types/ts3.4/commands/index.d.ts +51 -0
- package/dist-types/ts3.4/index.d.ts +3 -53
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,48 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-eventbridge
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
42
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
6
48
|
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
7
49
|
|
|
8
50
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./ActivateEventSourceCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CancelReplayCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateApiDestinationCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateArchiveCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateConnectionCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateEventBusCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./CreatePartnerEventSourceCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DeactivateEventSourceCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./DeauthorizeConnectionCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./DeleteApiDestinationCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./DeleteArchiveCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./DeleteConnectionCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./DeleteEventBusCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./DeletePartnerEventSourceCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./DeleteRuleCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./DescribeApiDestinationCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./DescribeArchiveCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./DescribeConnectionCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./DescribeEventBusCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./DescribeEventSourceCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./DescribePartnerEventSourceCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./DescribeReplayCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./DescribeRuleCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./DisableRuleCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./EnableRuleCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./ListApiDestinationsCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./ListArchivesCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./ListConnectionsCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./ListEventBusesCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./ListEventSourcesCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./ListPartnerEventSourceAccountsCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./ListPartnerEventSourcesCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./ListReplaysCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./ListRuleNamesByTargetCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./ListRulesCommand"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./ListTargetsByRuleCommand"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./PutEventsCommand"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./PutPartnerEventsCommand"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./PutPermissionCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./PutRuleCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./PutTargetsCommand"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./RemovePermissionCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./RemoveTargetsCommand"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./StartReplayCommand"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./TestEventPatternCommand"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./UpdateApiDestinationCommand"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./UpdateArchiveCommand"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./UpdateConnectionCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -3,30 +3,72 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaultRegionInfoProvider = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const regionHash = {
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
"us-east-1": {
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "events.us-east-1.amazonaws.com",
|
|
10
|
+
tags: [],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
hostname: "events-fips.us-east-1.amazonaws.com",
|
|
14
|
+
tags: ["fips"],
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
17
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
"us-east-2": {
|
|
19
|
+
variants: [
|
|
20
|
+
{
|
|
21
|
+
hostname: "events.us-east-2.amazonaws.com",
|
|
22
|
+
tags: [],
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
hostname: "events-fips.us-east-2.amazonaws.com",
|
|
26
|
+
tags: ["fips"],
|
|
27
|
+
},
|
|
28
|
+
],
|
|
21
29
|
},
|
|
22
30
|
"us-gov-east-1": {
|
|
23
|
-
|
|
31
|
+
variants: [
|
|
32
|
+
{
|
|
33
|
+
hostname: "events.us-gov-east-1.amazonaws.com",
|
|
34
|
+
tags: [],
|
|
35
|
+
},
|
|
36
|
+
],
|
|
24
37
|
signingRegion: "us-gov-east-1",
|
|
25
38
|
},
|
|
26
39
|
"us-gov-west-1": {
|
|
27
|
-
|
|
40
|
+
variants: [
|
|
41
|
+
{
|
|
42
|
+
hostname: "events.us-gov-west-1.amazonaws.com",
|
|
43
|
+
tags: [],
|
|
44
|
+
},
|
|
45
|
+
],
|
|
28
46
|
signingRegion: "us-gov-west-1",
|
|
29
47
|
},
|
|
48
|
+
"us-west-1": {
|
|
49
|
+
variants: [
|
|
50
|
+
{
|
|
51
|
+
hostname: "events.us-west-1.amazonaws.com",
|
|
52
|
+
tags: [],
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
hostname: "events-fips.us-west-1.amazonaws.com",
|
|
56
|
+
tags: ["fips"],
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
},
|
|
60
|
+
"us-west-2": {
|
|
61
|
+
variants: [
|
|
62
|
+
{
|
|
63
|
+
hostname: "events.us-west-2.amazonaws.com",
|
|
64
|
+
tags: [],
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
hostname: "events-fips.us-west-2.amazonaws.com",
|
|
68
|
+
tags: ["fips"],
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
},
|
|
30
72
|
};
|
|
31
73
|
const partitionHash = {
|
|
32
74
|
aws: {
|
|
@@ -57,23 +99,97 @@ const partitionHash = {
|
|
|
57
99
|
"us-west-1",
|
|
58
100
|
"us-west-2",
|
|
59
101
|
],
|
|
60
|
-
|
|
102
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
103
|
+
variants: [
|
|
104
|
+
{
|
|
105
|
+
hostname: "events.{region}.amazonaws.com",
|
|
106
|
+
tags: [],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
hostname: "events-fips.{region}.amazonaws.com",
|
|
110
|
+
tags: ["fips"],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
hostname: "events-fips.{region}.api.aws",
|
|
114
|
+
tags: ["dualstack", "fips"],
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
hostname: "events.{region}.api.aws",
|
|
118
|
+
tags: ["dualstack"],
|
|
119
|
+
},
|
|
120
|
+
],
|
|
61
121
|
},
|
|
62
122
|
"aws-cn": {
|
|
63
123
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
64
|
-
|
|
124
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
125
|
+
variants: [
|
|
126
|
+
{
|
|
127
|
+
hostname: "events.{region}.amazonaws.com.cn",
|
|
128
|
+
tags: [],
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
hostname: "events-fips.{region}.amazonaws.com.cn",
|
|
132
|
+
tags: ["fips"],
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
hostname: "events-fips.{region}.api.amazonwebservices.com.cn",
|
|
136
|
+
tags: ["dualstack", "fips"],
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
hostname: "events.{region}.api.amazonwebservices.com.cn",
|
|
140
|
+
tags: ["dualstack"],
|
|
141
|
+
},
|
|
142
|
+
],
|
|
65
143
|
},
|
|
66
144
|
"aws-iso": {
|
|
67
145
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
68
|
-
|
|
146
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
147
|
+
variants: [
|
|
148
|
+
{
|
|
149
|
+
hostname: "events.{region}.c2s.ic.gov",
|
|
150
|
+
tags: [],
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
hostname: "events-fips.{region}.c2s.ic.gov",
|
|
154
|
+
tags: ["fips"],
|
|
155
|
+
},
|
|
156
|
+
],
|
|
69
157
|
},
|
|
70
158
|
"aws-iso-b": {
|
|
71
159
|
regions: ["us-isob-east-1"],
|
|
72
|
-
|
|
160
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
161
|
+
variants: [
|
|
162
|
+
{
|
|
163
|
+
hostname: "events.{region}.sc2s.sgov.gov",
|
|
164
|
+
tags: [],
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
hostname: "events-fips.{region}.sc2s.sgov.gov",
|
|
168
|
+
tags: ["fips"],
|
|
169
|
+
},
|
|
170
|
+
],
|
|
73
171
|
},
|
|
74
172
|
"aws-us-gov": {
|
|
75
173
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
76
|
-
|
|
174
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
175
|
+
variants: [
|
|
176
|
+
{
|
|
177
|
+
hostname: "events.{region}.amazonaws.com",
|
|
178
|
+
tags: [],
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
hostname: "events-fips.{region}.amazonaws.com",
|
|
182
|
+
tags: ["fips"],
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
hostname: "events-fips.{region}.api.aws",
|
|
186
|
+
tags: ["dualstack", "fips"],
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
hostname: "events.{region}.api.aws",
|
|
190
|
+
tags: ["dualstack"],
|
|
191
|
+
},
|
|
192
|
+
],
|
|
77
193
|
},
|
|
78
194
|
};
|
|
79
195
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,57 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./EventBridgeClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./EventBridge"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./commands/CreateArchiveCommand"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./commands/CreateConnectionCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./commands/CreateEventBusCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./commands/CreatePartnerEventSourceCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./commands/DeactivateEventSourceCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./commands/DeauthorizeConnectionCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./commands/DeleteApiDestinationCommand"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./commands/DeleteArchiveCommand"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./commands/DeleteConnectionCommand"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./commands/DeleteEventBusCommand"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./commands/DeletePartnerEventSourceCommand"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./commands/DeleteRuleCommand"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./commands/DescribeApiDestinationCommand"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./commands/DescribeArchiveCommand"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./commands/DescribeConnectionCommand"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./commands/DescribeEventBusCommand"), exports);
|
|
25
|
-
tslib_1.__exportStar(require("./commands/DescribeEventSourceCommand"), exports);
|
|
26
|
-
tslib_1.__exportStar(require("./commands/DescribePartnerEventSourceCommand"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./commands/DescribeReplayCommand"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./commands/DescribeRuleCommand"), exports);
|
|
29
|
-
tslib_1.__exportStar(require("./commands/DisableRuleCommand"), exports);
|
|
30
|
-
tslib_1.__exportStar(require("./commands/EnableRuleCommand"), exports);
|
|
31
|
-
tslib_1.__exportStar(require("./commands/ListApiDestinationsCommand"), exports);
|
|
32
|
-
tslib_1.__exportStar(require("./commands/ListArchivesCommand"), exports);
|
|
33
|
-
tslib_1.__exportStar(require("./commands/ListConnectionsCommand"), exports);
|
|
34
|
-
tslib_1.__exportStar(require("./commands/ListEventBusesCommand"), exports);
|
|
35
|
-
tslib_1.__exportStar(require("./commands/ListEventSourcesCommand"), exports);
|
|
36
|
-
tslib_1.__exportStar(require("./commands/ListPartnerEventSourceAccountsCommand"), exports);
|
|
37
|
-
tslib_1.__exportStar(require("./commands/ListPartnerEventSourcesCommand"), exports);
|
|
38
|
-
tslib_1.__exportStar(require("./commands/ListReplaysCommand"), exports);
|
|
39
|
-
tslib_1.__exportStar(require("./commands/ListRuleNamesByTargetCommand"), exports);
|
|
40
|
-
tslib_1.__exportStar(require("./commands/ListRulesCommand"), exports);
|
|
41
|
-
tslib_1.__exportStar(require("./commands/ListTagsForResourceCommand"), exports);
|
|
42
|
-
tslib_1.__exportStar(require("./commands/ListTargetsByRuleCommand"), exports);
|
|
43
|
-
tslib_1.__exportStar(require("./commands/PutEventsCommand"), exports);
|
|
44
|
-
tslib_1.__exportStar(require("./commands/PutPartnerEventsCommand"), exports);
|
|
45
|
-
tslib_1.__exportStar(require("./commands/PutPermissionCommand"), exports);
|
|
46
|
-
tslib_1.__exportStar(require("./commands/PutRuleCommand"), exports);
|
|
47
|
-
tslib_1.__exportStar(require("./commands/PutTargetsCommand"), exports);
|
|
48
|
-
tslib_1.__exportStar(require("./commands/RemovePermissionCommand"), exports);
|
|
49
|
-
tslib_1.__exportStar(require("./commands/RemoveTargetsCommand"), exports);
|
|
50
|
-
tslib_1.__exportStar(require("./commands/StartReplayCommand"), exports);
|
|
51
|
-
tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
|
|
52
|
-
tslib_1.__exportStar(require("./commands/TestEventPatternCommand"), exports);
|
|
53
|
-
tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
|
|
54
|
-
tslib_1.__exportStar(require("./commands/UpdateApiDestinationCommand"), exports);
|
|
55
|
-
tslib_1.__exportStar(require("./commands/UpdateArchiveCommand"), exports);
|
|
56
|
-
tslib_1.__exportStar(require("./commands/UpdateConnectionCommand"), exports);
|
|
57
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./EventBridgeClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
31
32
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
32
33
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
37
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const getRuntimeConfig = (config) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
23
|
return {
|
|
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
|
|
|
35
35
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
36
36
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
37
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
39
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
40
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
41
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
44
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export * from "./ActivateEventSourceCommand";
|
|
2
|
+
export * from "./CancelReplayCommand";
|
|
3
|
+
export * from "./CreateApiDestinationCommand";
|
|
4
|
+
export * from "./CreateArchiveCommand";
|
|
5
|
+
export * from "./CreateConnectionCommand";
|
|
6
|
+
export * from "./CreateEventBusCommand";
|
|
7
|
+
export * from "./CreatePartnerEventSourceCommand";
|
|
8
|
+
export * from "./DeactivateEventSourceCommand";
|
|
9
|
+
export * from "./DeauthorizeConnectionCommand";
|
|
10
|
+
export * from "./DeleteApiDestinationCommand";
|
|
11
|
+
export * from "./DeleteArchiveCommand";
|
|
12
|
+
export * from "./DeleteConnectionCommand";
|
|
13
|
+
export * from "./DeleteEventBusCommand";
|
|
14
|
+
export * from "./DeletePartnerEventSourceCommand";
|
|
15
|
+
export * from "./DeleteRuleCommand";
|
|
16
|
+
export * from "./DescribeApiDestinationCommand";
|
|
17
|
+
export * from "./DescribeArchiveCommand";
|
|
18
|
+
export * from "./DescribeConnectionCommand";
|
|
19
|
+
export * from "./DescribeEventBusCommand";
|
|
20
|
+
export * from "./DescribeEventSourceCommand";
|
|
21
|
+
export * from "./DescribePartnerEventSourceCommand";
|
|
22
|
+
export * from "./DescribeReplayCommand";
|
|
23
|
+
export * from "./DescribeRuleCommand";
|
|
24
|
+
export * from "./DisableRuleCommand";
|
|
25
|
+
export * from "./EnableRuleCommand";
|
|
26
|
+
export * from "./ListApiDestinationsCommand";
|
|
27
|
+
export * from "./ListArchivesCommand";
|
|
28
|
+
export * from "./ListConnectionsCommand";
|
|
29
|
+
export * from "./ListEventBusesCommand";
|
|
30
|
+
export * from "./ListEventSourcesCommand";
|
|
31
|
+
export * from "./ListPartnerEventSourceAccountsCommand";
|
|
32
|
+
export * from "./ListPartnerEventSourcesCommand";
|
|
33
|
+
export * from "./ListReplaysCommand";
|
|
34
|
+
export * from "./ListRuleNamesByTargetCommand";
|
|
35
|
+
export * from "./ListRulesCommand";
|
|
36
|
+
export * from "./ListTagsForResourceCommand";
|
|
37
|
+
export * from "./ListTargetsByRuleCommand";
|
|
38
|
+
export * from "./PutEventsCommand";
|
|
39
|
+
export * from "./PutPartnerEventsCommand";
|
|
40
|
+
export * from "./PutPermissionCommand";
|
|
41
|
+
export * from "./PutRuleCommand";
|
|
42
|
+
export * from "./PutTargetsCommand";
|
|
43
|
+
export * from "./RemovePermissionCommand";
|
|
44
|
+
export * from "./RemoveTargetsCommand";
|
|
45
|
+
export * from "./StartReplayCommand";
|
|
46
|
+
export * from "./TagResourceCommand";
|
|
47
|
+
export * from "./TestEventPatternCommand";
|
|
48
|
+
export * from "./UntagResourceCommand";
|
|
49
|
+
export * from "./UpdateApiDestinationCommand";
|
|
50
|
+
export * from "./UpdateArchiveCommand";
|
|
51
|
+
export * from "./UpdateConnectionCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,30 +1,72 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
3
|
var regionHash = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
"us-east-1": {
|
|
5
|
+
variants: [
|
|
6
|
+
{
|
|
7
|
+
hostname: "events.us-east-1.amazonaws.com",
|
|
8
|
+
tags: [],
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
hostname: "events-fips.us-east-1.amazonaws.com",
|
|
12
|
+
tags: ["fips"],
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
15
|
},
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
"us-east-2": {
|
|
17
|
+
variants: [
|
|
18
|
+
{
|
|
19
|
+
hostname: "events.us-east-2.amazonaws.com",
|
|
20
|
+
tags: [],
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
hostname: "events-fips.us-east-2.amazonaws.com",
|
|
24
|
+
tags: ["fips"],
|
|
25
|
+
},
|
|
26
|
+
],
|
|
19
27
|
},
|
|
20
28
|
"us-gov-east-1": {
|
|
21
|
-
|
|
29
|
+
variants: [
|
|
30
|
+
{
|
|
31
|
+
hostname: "events.us-gov-east-1.amazonaws.com",
|
|
32
|
+
tags: [],
|
|
33
|
+
},
|
|
34
|
+
],
|
|
22
35
|
signingRegion: "us-gov-east-1",
|
|
23
36
|
},
|
|
24
37
|
"us-gov-west-1": {
|
|
25
|
-
|
|
38
|
+
variants: [
|
|
39
|
+
{
|
|
40
|
+
hostname: "events.us-gov-west-1.amazonaws.com",
|
|
41
|
+
tags: [],
|
|
42
|
+
},
|
|
43
|
+
],
|
|
26
44
|
signingRegion: "us-gov-west-1",
|
|
27
45
|
},
|
|
46
|
+
"us-west-1": {
|
|
47
|
+
variants: [
|
|
48
|
+
{
|
|
49
|
+
hostname: "events.us-west-1.amazonaws.com",
|
|
50
|
+
tags: [],
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
hostname: "events-fips.us-west-1.amazonaws.com",
|
|
54
|
+
tags: ["fips"],
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
"us-west-2": {
|
|
59
|
+
variants: [
|
|
60
|
+
{
|
|
61
|
+
hostname: "events.us-west-2.amazonaws.com",
|
|
62
|
+
tags: [],
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
hostname: "events-fips.us-west-2.amazonaws.com",
|
|
66
|
+
tags: ["fips"],
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
},
|
|
28
70
|
};
|
|
29
71
|
var partitionHash = {
|
|
30
72
|
aws: {
|
|
@@ -55,23 +97,97 @@ var partitionHash = {
|
|
|
55
97
|
"us-west-1",
|
|
56
98
|
"us-west-2",
|
|
57
99
|
],
|
|
58
|
-
|
|
100
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
101
|
+
variants: [
|
|
102
|
+
{
|
|
103
|
+
hostname: "events.{region}.amazonaws.com",
|
|
104
|
+
tags: [],
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
hostname: "events-fips.{region}.amazonaws.com",
|
|
108
|
+
tags: ["fips"],
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
hostname: "events-fips.{region}.api.aws",
|
|
112
|
+
tags: ["dualstack", "fips"],
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
hostname: "events.{region}.api.aws",
|
|
116
|
+
tags: ["dualstack"],
|
|
117
|
+
},
|
|
118
|
+
],
|
|
59
119
|
},
|
|
60
120
|
"aws-cn": {
|
|
61
121
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
62
|
-
|
|
122
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
123
|
+
variants: [
|
|
124
|
+
{
|
|
125
|
+
hostname: "events.{region}.amazonaws.com.cn",
|
|
126
|
+
tags: [],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
hostname: "events-fips.{region}.amazonaws.com.cn",
|
|
130
|
+
tags: ["fips"],
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
hostname: "events-fips.{region}.api.amazonwebservices.com.cn",
|
|
134
|
+
tags: ["dualstack", "fips"],
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
hostname: "events.{region}.api.amazonwebservices.com.cn",
|
|
138
|
+
tags: ["dualstack"],
|
|
139
|
+
},
|
|
140
|
+
],
|
|
63
141
|
},
|
|
64
142
|
"aws-iso": {
|
|
65
143
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
66
|
-
|
|
144
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
145
|
+
variants: [
|
|
146
|
+
{
|
|
147
|
+
hostname: "events.{region}.c2s.ic.gov",
|
|
148
|
+
tags: [],
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
hostname: "events-fips.{region}.c2s.ic.gov",
|
|
152
|
+
tags: ["fips"],
|
|
153
|
+
},
|
|
154
|
+
],
|
|
67
155
|
},
|
|
68
156
|
"aws-iso-b": {
|
|
69
157
|
regions: ["us-isob-east-1"],
|
|
70
|
-
|
|
158
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
159
|
+
variants: [
|
|
160
|
+
{
|
|
161
|
+
hostname: "events.{region}.sc2s.sgov.gov",
|
|
162
|
+
tags: [],
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
hostname: "events-fips.{region}.sc2s.sgov.gov",
|
|
166
|
+
tags: ["fips"],
|
|
167
|
+
},
|
|
168
|
+
],
|
|
71
169
|
},
|
|
72
170
|
"aws-us-gov": {
|
|
73
171
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
74
|
-
|
|
172
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
173
|
+
variants: [
|
|
174
|
+
{
|
|
175
|
+
hostname: "events.{region}.amazonaws.com",
|
|
176
|
+
tags: [],
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
hostname: "events-fips.{region}.amazonaws.com",
|
|
180
|
+
tags: ["fips"],
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
hostname: "events-fips.{region}.api.aws",
|
|
184
|
+
tags: ["dualstack", "fips"],
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
hostname: "events.{region}.api.aws",
|
|
188
|
+
tags: ["dualstack"],
|
|
189
|
+
},
|
|
190
|
+
],
|
|
75
191
|
},
|
|
76
192
|
};
|
|
77
193
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|