@aws-sdk/client-eventbridge 3.987.0 → 3.988.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/dist-cjs/index.js +76 -2157
- package/dist-cjs/models/EventBridgeServiceException.js +12 -0
- package/dist-cjs/models/errors.js +173 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1701 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +94 -88
- package/dist-types/schemas/schemas_0.d.ts +20 -13
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -13
- package/package.json +15 -15
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventBridgeServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class EventBridgeServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, EventBridgeServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.EventBridgeServiceException = EventBridgeServiceException;
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PolicyLengthExceededException = exports.ManagedRuleException = exports.ThrottlingException = exports.InvalidEventPatternException = exports.ResourceAlreadyExistsException = exports.LimitExceededException = exports.IllegalStatusException = exports.ResourceNotFoundException = exports.OperationDisabledException = exports.InvalidStateException = exports.InternalException = exports.ConcurrentModificationException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const EventBridgeServiceException_1 = require("./EventBridgeServiceException");
|
|
5
|
+
class AccessDeniedException extends EventBridgeServiceException_1.EventBridgeServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class ConcurrentModificationException extends EventBridgeServiceException_1.EventBridgeServiceException {
|
|
19
|
+
name = "ConcurrentModificationException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ConcurrentModificationException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
31
|
+
class InternalException extends EventBridgeServiceException_1.EventBridgeServiceException {
|
|
32
|
+
name = "InternalException";
|
|
33
|
+
$fault = "server";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InternalException",
|
|
37
|
+
$fault: "server",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, InternalException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.InternalException = InternalException;
|
|
44
|
+
class InvalidStateException extends EventBridgeServiceException_1.EventBridgeServiceException {
|
|
45
|
+
name = "InvalidStateException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "InvalidStateException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.InvalidStateException = InvalidStateException;
|
|
57
|
+
class OperationDisabledException extends EventBridgeServiceException_1.EventBridgeServiceException {
|
|
58
|
+
name = "OperationDisabledException";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "OperationDisabledException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
Object.setPrototypeOf(this, OperationDisabledException.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.OperationDisabledException = OperationDisabledException;
|
|
70
|
+
class ResourceNotFoundException extends EventBridgeServiceException_1.EventBridgeServiceException {
|
|
71
|
+
name = "ResourceNotFoundException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ResourceNotFoundException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
83
|
+
class IllegalStatusException extends EventBridgeServiceException_1.EventBridgeServiceException {
|
|
84
|
+
name = "IllegalStatusException";
|
|
85
|
+
$fault = "client";
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "IllegalStatusException",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
Object.setPrototypeOf(this, IllegalStatusException.prototype);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.IllegalStatusException = IllegalStatusException;
|
|
96
|
+
class LimitExceededException extends EventBridgeServiceException_1.EventBridgeServiceException {
|
|
97
|
+
name = "LimitExceededException";
|
|
98
|
+
$fault = "client";
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "LimitExceededException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.LimitExceededException = LimitExceededException;
|
|
109
|
+
class ResourceAlreadyExistsException extends EventBridgeServiceException_1.EventBridgeServiceException {
|
|
110
|
+
name = "ResourceAlreadyExistsException";
|
|
111
|
+
$fault = "client";
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "ResourceAlreadyExistsException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
|
|
122
|
+
class InvalidEventPatternException extends EventBridgeServiceException_1.EventBridgeServiceException {
|
|
123
|
+
name = "InvalidEventPatternException";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "InvalidEventPatternException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, InvalidEventPatternException.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
exports.InvalidEventPatternException = InvalidEventPatternException;
|
|
135
|
+
class ThrottlingException extends EventBridgeServiceException_1.EventBridgeServiceException {
|
|
136
|
+
name = "ThrottlingException";
|
|
137
|
+
$fault = "client";
|
|
138
|
+
constructor(opts) {
|
|
139
|
+
super({
|
|
140
|
+
name: "ThrottlingException",
|
|
141
|
+
$fault: "client",
|
|
142
|
+
...opts,
|
|
143
|
+
});
|
|
144
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
exports.ThrottlingException = ThrottlingException;
|
|
148
|
+
class ManagedRuleException extends EventBridgeServiceException_1.EventBridgeServiceException {
|
|
149
|
+
name = "ManagedRuleException";
|
|
150
|
+
$fault = "client";
|
|
151
|
+
constructor(opts) {
|
|
152
|
+
super({
|
|
153
|
+
name: "ManagedRuleException",
|
|
154
|
+
$fault: "client",
|
|
155
|
+
...opts,
|
|
156
|
+
});
|
|
157
|
+
Object.setPrototypeOf(this, ManagedRuleException.prototype);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
exports.ManagedRuleException = ManagedRuleException;
|
|
161
|
+
class PolicyLengthExceededException extends EventBridgeServiceException_1.EventBridgeServiceException {
|
|
162
|
+
name = "PolicyLengthExceededException";
|
|
163
|
+
$fault = "client";
|
|
164
|
+
constructor(opts) {
|
|
165
|
+
super({
|
|
166
|
+
name: "PolicyLengthExceededException",
|
|
167
|
+
$fault: "client",
|
|
168
|
+
...opts,
|
|
169
|
+
});
|
|
170
|
+
Object.setPrototypeOf(this, PolicyLengthExceededException.prototype);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
exports.PolicyLengthExceededException = PolicyLengthExceededException;
|
|
@@ -10,6 +10,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
10
10
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
11
11
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
12
12
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
13
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
13
14
|
const getRuntimeConfig = (config) => {
|
|
14
15
|
return {
|
|
15
16
|
apiVersion: "2015-10-07",
|
|
@@ -35,6 +36,7 @@ const getRuntimeConfig = (config) => {
|
|
|
35
36
|
protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
|
|
36
37
|
protocolSettings: config?.protocolSettings ?? {
|
|
37
38
|
defaultNamespace: "com.amazonaws.eventbridge",
|
|
39
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
38
40
|
xmlNamespace: "http://events.amazonaws.com/doc/2015-10-07",
|
|
39
41
|
version: "2015-10-07",
|
|
40
42
|
serviceTarget: "AWSEvents",
|