@aws-sdk/client-cloudwatch-events 3.933.0 → 3.935.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 +79 -78
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +78 -0
- package/dist-es/models/errors.js +133 -0
- package/dist-es/models/models_0.js +1 -211
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +190 -0
- package/dist-types/models/errors.d.ts +141 -0
- package/dist-types/models/models_0.d.ts +1 -331
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +101 -0
- package/dist-types/ts3.4/models/errors.d.ts +80 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -181
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -177,39 +177,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends CloudW
|
|
|
177
177
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
|
-
const ApiDestinationState = {
|
|
181
|
-
ACTIVE: "ACTIVE",
|
|
182
|
-
INACTIVE: "INACTIVE",
|
|
183
|
-
};
|
|
184
|
-
const ApiDestinationHttpMethod = {
|
|
185
|
-
DELETE: "DELETE",
|
|
186
|
-
GET: "GET",
|
|
187
|
-
HEAD: "HEAD",
|
|
188
|
-
OPTIONS: "OPTIONS",
|
|
189
|
-
PATCH: "PATCH",
|
|
190
|
-
POST: "POST",
|
|
191
|
-
PUT: "PUT",
|
|
192
|
-
};
|
|
193
|
-
const ArchiveState = {
|
|
194
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
195
|
-
CREATING: "CREATING",
|
|
196
|
-
DISABLED: "DISABLED",
|
|
197
|
-
ENABLED: "ENABLED",
|
|
198
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
199
|
-
UPDATING: "UPDATING",
|
|
200
|
-
};
|
|
201
|
-
const AssignPublicIp = {
|
|
202
|
-
DISABLED: "DISABLED",
|
|
203
|
-
ENABLED: "ENABLED",
|
|
204
|
-
};
|
|
205
|
-
const ReplayState = {
|
|
206
|
-
CANCELLED: "CANCELLED",
|
|
207
|
-
CANCELLING: "CANCELLING",
|
|
208
|
-
COMPLETED: "COMPLETED",
|
|
209
|
-
FAILED: "FAILED",
|
|
210
|
-
RUNNING: "RUNNING",
|
|
211
|
-
STARTING: "STARTING",
|
|
212
|
-
};
|
|
213
180
|
let IllegalStatusException$1 = class IllegalStatusException extends CloudWatchEventsServiceException$1 {
|
|
214
181
|
name = "IllegalStatusException";
|
|
215
182
|
$fault = "client";
|
|
@@ -258,25 +225,6 @@ let InvalidEventPatternException$1 = class InvalidEventPatternException extends
|
|
|
258
225
|
Object.setPrototypeOf(this, InvalidEventPatternException.prototype);
|
|
259
226
|
}
|
|
260
227
|
};
|
|
261
|
-
const ConnectionAuthorizationType = {
|
|
262
|
-
API_KEY: "API_KEY",
|
|
263
|
-
BASIC: "BASIC",
|
|
264
|
-
OAUTH_CLIENT_CREDENTIALS: "OAUTH_CLIENT_CREDENTIALS",
|
|
265
|
-
};
|
|
266
|
-
const ConnectionOAuthHttpMethod = {
|
|
267
|
-
GET: "GET",
|
|
268
|
-
POST: "POST",
|
|
269
|
-
PUT: "PUT",
|
|
270
|
-
};
|
|
271
|
-
const ConnectionState = {
|
|
272
|
-
AUTHORIZED: "AUTHORIZED",
|
|
273
|
-
AUTHORIZING: "AUTHORIZING",
|
|
274
|
-
CREATING: "CREATING",
|
|
275
|
-
DEAUTHORIZED: "DEAUTHORIZED",
|
|
276
|
-
DEAUTHORIZING: "DEAUTHORIZING",
|
|
277
|
-
DELETING: "DELETING",
|
|
278
|
-
UPDATING: "UPDATING",
|
|
279
|
-
};
|
|
280
228
|
let ManagedRuleException$1 = class ManagedRuleException extends CloudWatchEventsServiceException$1 {
|
|
281
229
|
name = "ManagedRuleException";
|
|
282
230
|
$fault = "client";
|
|
@@ -289,32 +237,6 @@ let ManagedRuleException$1 = class ManagedRuleException extends CloudWatchEvents
|
|
|
289
237
|
Object.setPrototypeOf(this, ManagedRuleException.prototype);
|
|
290
238
|
}
|
|
291
239
|
};
|
|
292
|
-
const EventSourceState = {
|
|
293
|
-
ACTIVE: "ACTIVE",
|
|
294
|
-
DELETED: "DELETED",
|
|
295
|
-
PENDING: "PENDING",
|
|
296
|
-
};
|
|
297
|
-
const RuleState = {
|
|
298
|
-
DISABLED: "DISABLED",
|
|
299
|
-
ENABLED: "ENABLED",
|
|
300
|
-
};
|
|
301
|
-
const LaunchType = {
|
|
302
|
-
EC2: "EC2",
|
|
303
|
-
EXTERNAL: "EXTERNAL",
|
|
304
|
-
FARGATE: "FARGATE",
|
|
305
|
-
};
|
|
306
|
-
const PlacementConstraintType = {
|
|
307
|
-
DISTINCT_INSTANCE: "distinctInstance",
|
|
308
|
-
MEMBER_OF: "memberOf",
|
|
309
|
-
};
|
|
310
|
-
const PlacementStrategyType = {
|
|
311
|
-
BINPACK: "binpack",
|
|
312
|
-
RANDOM: "random",
|
|
313
|
-
SPREAD: "spread",
|
|
314
|
-
};
|
|
315
|
-
const PropagateTags = {
|
|
316
|
-
TASK_DEFINITION: "TASK_DEFINITION",
|
|
317
|
-
};
|
|
318
240
|
let PolicyLengthExceededException$1 = class PolicyLengthExceededException extends CloudWatchEventsServiceException$1 {
|
|
319
241
|
name = "PolicyLengthExceededException";
|
|
320
242
|
$fault = "client";
|
|
@@ -2470,6 +2392,85 @@ class CloudWatchEvents extends CloudWatchEventsClient {
|
|
|
2470
2392
|
}
|
|
2471
2393
|
smithyClient.createAggregatedClient(commands, CloudWatchEvents);
|
|
2472
2394
|
|
|
2395
|
+
const ApiDestinationState = {
|
|
2396
|
+
ACTIVE: "ACTIVE",
|
|
2397
|
+
INACTIVE: "INACTIVE",
|
|
2398
|
+
};
|
|
2399
|
+
const ApiDestinationHttpMethod = {
|
|
2400
|
+
DELETE: "DELETE",
|
|
2401
|
+
GET: "GET",
|
|
2402
|
+
HEAD: "HEAD",
|
|
2403
|
+
OPTIONS: "OPTIONS",
|
|
2404
|
+
PATCH: "PATCH",
|
|
2405
|
+
POST: "POST",
|
|
2406
|
+
PUT: "PUT",
|
|
2407
|
+
};
|
|
2408
|
+
const ArchiveState = {
|
|
2409
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
2410
|
+
CREATING: "CREATING",
|
|
2411
|
+
DISABLED: "DISABLED",
|
|
2412
|
+
ENABLED: "ENABLED",
|
|
2413
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
2414
|
+
UPDATING: "UPDATING",
|
|
2415
|
+
};
|
|
2416
|
+
const AssignPublicIp = {
|
|
2417
|
+
DISABLED: "DISABLED",
|
|
2418
|
+
ENABLED: "ENABLED",
|
|
2419
|
+
};
|
|
2420
|
+
const ReplayState = {
|
|
2421
|
+
CANCELLED: "CANCELLED",
|
|
2422
|
+
CANCELLING: "CANCELLING",
|
|
2423
|
+
COMPLETED: "COMPLETED",
|
|
2424
|
+
FAILED: "FAILED",
|
|
2425
|
+
RUNNING: "RUNNING",
|
|
2426
|
+
STARTING: "STARTING",
|
|
2427
|
+
};
|
|
2428
|
+
const ConnectionAuthorizationType = {
|
|
2429
|
+
API_KEY: "API_KEY",
|
|
2430
|
+
BASIC: "BASIC",
|
|
2431
|
+
OAUTH_CLIENT_CREDENTIALS: "OAUTH_CLIENT_CREDENTIALS",
|
|
2432
|
+
};
|
|
2433
|
+
const ConnectionOAuthHttpMethod = {
|
|
2434
|
+
GET: "GET",
|
|
2435
|
+
POST: "POST",
|
|
2436
|
+
PUT: "PUT",
|
|
2437
|
+
};
|
|
2438
|
+
const ConnectionState = {
|
|
2439
|
+
AUTHORIZED: "AUTHORIZED",
|
|
2440
|
+
AUTHORIZING: "AUTHORIZING",
|
|
2441
|
+
CREATING: "CREATING",
|
|
2442
|
+
DEAUTHORIZED: "DEAUTHORIZED",
|
|
2443
|
+
DEAUTHORIZING: "DEAUTHORIZING",
|
|
2444
|
+
DELETING: "DELETING",
|
|
2445
|
+
UPDATING: "UPDATING",
|
|
2446
|
+
};
|
|
2447
|
+
const EventSourceState = {
|
|
2448
|
+
ACTIVE: "ACTIVE",
|
|
2449
|
+
DELETED: "DELETED",
|
|
2450
|
+
PENDING: "PENDING",
|
|
2451
|
+
};
|
|
2452
|
+
const RuleState = {
|
|
2453
|
+
DISABLED: "DISABLED",
|
|
2454
|
+
ENABLED: "ENABLED",
|
|
2455
|
+
};
|
|
2456
|
+
const LaunchType = {
|
|
2457
|
+
EC2: "EC2",
|
|
2458
|
+
EXTERNAL: "EXTERNAL",
|
|
2459
|
+
FARGATE: "FARGATE",
|
|
2460
|
+
};
|
|
2461
|
+
const PlacementConstraintType = {
|
|
2462
|
+
DISTINCT_INSTANCE: "distinctInstance",
|
|
2463
|
+
MEMBER_OF: "memberOf",
|
|
2464
|
+
};
|
|
2465
|
+
const PlacementStrategyType = {
|
|
2466
|
+
BINPACK: "binpack",
|
|
2467
|
+
RANDOM: "random",
|
|
2468
|
+
SPREAD: "spread",
|
|
2469
|
+
};
|
|
2470
|
+
const PropagateTags = {
|
|
2471
|
+
TASK_DEFINITION: "TASK_DEFINITION",
|
|
2472
|
+
};
|
|
2473
|
+
|
|
2473
2474
|
Object.defineProperty(exports, "$Command", {
|
|
2474
2475
|
enumerable: true,
|
|
2475
2476
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./CloudWatchEventsClient";
|
|
2
2
|
export * from "./CloudWatchEvents";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
4
|
+
export * from "./models/enums";
|
|
5
|
+
export * from "./models/errors";
|
|
5
6
|
export { CloudWatchEventsServiceException } from "./models/CloudWatchEventsServiceException";
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export const ApiDestinationState = {
|
|
2
|
+
ACTIVE: "ACTIVE",
|
|
3
|
+
INACTIVE: "INACTIVE",
|
|
4
|
+
};
|
|
5
|
+
export const ApiDestinationHttpMethod = {
|
|
6
|
+
DELETE: "DELETE",
|
|
7
|
+
GET: "GET",
|
|
8
|
+
HEAD: "HEAD",
|
|
9
|
+
OPTIONS: "OPTIONS",
|
|
10
|
+
PATCH: "PATCH",
|
|
11
|
+
POST: "POST",
|
|
12
|
+
PUT: "PUT",
|
|
13
|
+
};
|
|
14
|
+
export const ArchiveState = {
|
|
15
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
16
|
+
CREATING: "CREATING",
|
|
17
|
+
DISABLED: "DISABLED",
|
|
18
|
+
ENABLED: "ENABLED",
|
|
19
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
20
|
+
UPDATING: "UPDATING",
|
|
21
|
+
};
|
|
22
|
+
export const AssignPublicIp = {
|
|
23
|
+
DISABLED: "DISABLED",
|
|
24
|
+
ENABLED: "ENABLED",
|
|
25
|
+
};
|
|
26
|
+
export const ReplayState = {
|
|
27
|
+
CANCELLED: "CANCELLED",
|
|
28
|
+
CANCELLING: "CANCELLING",
|
|
29
|
+
COMPLETED: "COMPLETED",
|
|
30
|
+
FAILED: "FAILED",
|
|
31
|
+
RUNNING: "RUNNING",
|
|
32
|
+
STARTING: "STARTING",
|
|
33
|
+
};
|
|
34
|
+
export const ConnectionAuthorizationType = {
|
|
35
|
+
API_KEY: "API_KEY",
|
|
36
|
+
BASIC: "BASIC",
|
|
37
|
+
OAUTH_CLIENT_CREDENTIALS: "OAUTH_CLIENT_CREDENTIALS",
|
|
38
|
+
};
|
|
39
|
+
export const ConnectionOAuthHttpMethod = {
|
|
40
|
+
GET: "GET",
|
|
41
|
+
POST: "POST",
|
|
42
|
+
PUT: "PUT",
|
|
43
|
+
};
|
|
44
|
+
export const ConnectionState = {
|
|
45
|
+
AUTHORIZED: "AUTHORIZED",
|
|
46
|
+
AUTHORIZING: "AUTHORIZING",
|
|
47
|
+
CREATING: "CREATING",
|
|
48
|
+
DEAUTHORIZED: "DEAUTHORIZED",
|
|
49
|
+
DEAUTHORIZING: "DEAUTHORIZING",
|
|
50
|
+
DELETING: "DELETING",
|
|
51
|
+
UPDATING: "UPDATING",
|
|
52
|
+
};
|
|
53
|
+
export const EventSourceState = {
|
|
54
|
+
ACTIVE: "ACTIVE",
|
|
55
|
+
DELETED: "DELETED",
|
|
56
|
+
PENDING: "PENDING",
|
|
57
|
+
};
|
|
58
|
+
export const RuleState = {
|
|
59
|
+
DISABLED: "DISABLED",
|
|
60
|
+
ENABLED: "ENABLED",
|
|
61
|
+
};
|
|
62
|
+
export const LaunchType = {
|
|
63
|
+
EC2: "EC2",
|
|
64
|
+
EXTERNAL: "EXTERNAL",
|
|
65
|
+
FARGATE: "FARGATE",
|
|
66
|
+
};
|
|
67
|
+
export const PlacementConstraintType = {
|
|
68
|
+
DISTINCT_INSTANCE: "distinctInstance",
|
|
69
|
+
MEMBER_OF: "memberOf",
|
|
70
|
+
};
|
|
71
|
+
export const PlacementStrategyType = {
|
|
72
|
+
BINPACK: "binpack",
|
|
73
|
+
RANDOM: "random",
|
|
74
|
+
SPREAD: "spread",
|
|
75
|
+
};
|
|
76
|
+
export const PropagateTags = {
|
|
77
|
+
TASK_DEFINITION: "TASK_DEFINITION",
|
|
78
|
+
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { CloudWatchEventsServiceException as __BaseException } from "./CloudWatchEventsServiceException";
|
|
2
|
+
export class ConcurrentModificationException extends __BaseException {
|
|
3
|
+
name = "ConcurrentModificationException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "ConcurrentModificationException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class InternalException extends __BaseException {
|
|
15
|
+
name = "InternalException";
|
|
16
|
+
$fault = "server";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "InternalException",
|
|
20
|
+
$fault: "server",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, InternalException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class InvalidStateException extends __BaseException {
|
|
27
|
+
name = "InvalidStateException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "InvalidStateException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class OperationDisabledException extends __BaseException {
|
|
39
|
+
name = "OperationDisabledException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "OperationDisabledException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, OperationDisabledException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
51
|
+
name = "ResourceNotFoundException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "ResourceNotFoundException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class IllegalStatusException extends __BaseException {
|
|
63
|
+
name = "IllegalStatusException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "IllegalStatusException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, IllegalStatusException.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class LimitExceededException extends __BaseException {
|
|
75
|
+
name = "LimitExceededException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "LimitExceededException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class ResourceAlreadyExistsException extends __BaseException {
|
|
87
|
+
name = "ResourceAlreadyExistsException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "ResourceAlreadyExistsException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class InvalidEventPatternException extends __BaseException {
|
|
99
|
+
name = "InvalidEventPatternException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "InvalidEventPatternException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, InvalidEventPatternException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export class ManagedRuleException extends __BaseException {
|
|
111
|
+
name = "ManagedRuleException";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "ManagedRuleException",
|
|
116
|
+
$fault: "client",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
Object.setPrototypeOf(this, ManagedRuleException.prototype);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
export class PolicyLengthExceededException extends __BaseException {
|
|
123
|
+
name = "PolicyLengthExceededException";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "PolicyLengthExceededException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, PolicyLengthExceededException.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -1,211 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class ConcurrentModificationException extends __BaseException {
|
|
3
|
-
name = "ConcurrentModificationException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "ConcurrentModificationException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class InternalException extends __BaseException {
|
|
15
|
-
name = "InternalException";
|
|
16
|
-
$fault = "server";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "InternalException",
|
|
20
|
-
$fault: "server",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, InternalException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export class InvalidStateException extends __BaseException {
|
|
27
|
-
name = "InvalidStateException";
|
|
28
|
-
$fault = "client";
|
|
29
|
-
constructor(opts) {
|
|
30
|
-
super({
|
|
31
|
-
name: "InvalidStateException",
|
|
32
|
-
$fault: "client",
|
|
33
|
-
...opts,
|
|
34
|
-
});
|
|
35
|
-
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export class OperationDisabledException extends __BaseException {
|
|
39
|
-
name = "OperationDisabledException";
|
|
40
|
-
$fault = "client";
|
|
41
|
-
constructor(opts) {
|
|
42
|
-
super({
|
|
43
|
-
name: "OperationDisabledException",
|
|
44
|
-
$fault: "client",
|
|
45
|
-
...opts,
|
|
46
|
-
});
|
|
47
|
-
Object.setPrototypeOf(this, OperationDisabledException.prototype);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
51
|
-
name = "ResourceNotFoundException";
|
|
52
|
-
$fault = "client";
|
|
53
|
-
constructor(opts) {
|
|
54
|
-
super({
|
|
55
|
-
name: "ResourceNotFoundException",
|
|
56
|
-
$fault: "client",
|
|
57
|
-
...opts,
|
|
58
|
-
});
|
|
59
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
export const ApiDestinationState = {
|
|
63
|
-
ACTIVE: "ACTIVE",
|
|
64
|
-
INACTIVE: "INACTIVE",
|
|
65
|
-
};
|
|
66
|
-
export const ApiDestinationHttpMethod = {
|
|
67
|
-
DELETE: "DELETE",
|
|
68
|
-
GET: "GET",
|
|
69
|
-
HEAD: "HEAD",
|
|
70
|
-
OPTIONS: "OPTIONS",
|
|
71
|
-
PATCH: "PATCH",
|
|
72
|
-
POST: "POST",
|
|
73
|
-
PUT: "PUT",
|
|
74
|
-
};
|
|
75
|
-
export const ArchiveState = {
|
|
76
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
77
|
-
CREATING: "CREATING",
|
|
78
|
-
DISABLED: "DISABLED",
|
|
79
|
-
ENABLED: "ENABLED",
|
|
80
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
81
|
-
UPDATING: "UPDATING",
|
|
82
|
-
};
|
|
83
|
-
export const AssignPublicIp = {
|
|
84
|
-
DISABLED: "DISABLED",
|
|
85
|
-
ENABLED: "ENABLED",
|
|
86
|
-
};
|
|
87
|
-
export const ReplayState = {
|
|
88
|
-
CANCELLED: "CANCELLED",
|
|
89
|
-
CANCELLING: "CANCELLING",
|
|
90
|
-
COMPLETED: "COMPLETED",
|
|
91
|
-
FAILED: "FAILED",
|
|
92
|
-
RUNNING: "RUNNING",
|
|
93
|
-
STARTING: "STARTING",
|
|
94
|
-
};
|
|
95
|
-
export class IllegalStatusException extends __BaseException {
|
|
96
|
-
name = "IllegalStatusException";
|
|
97
|
-
$fault = "client";
|
|
98
|
-
constructor(opts) {
|
|
99
|
-
super({
|
|
100
|
-
name: "IllegalStatusException",
|
|
101
|
-
$fault: "client",
|
|
102
|
-
...opts,
|
|
103
|
-
});
|
|
104
|
-
Object.setPrototypeOf(this, IllegalStatusException.prototype);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
export class LimitExceededException extends __BaseException {
|
|
108
|
-
name = "LimitExceededException";
|
|
109
|
-
$fault = "client";
|
|
110
|
-
constructor(opts) {
|
|
111
|
-
super({
|
|
112
|
-
name: "LimitExceededException",
|
|
113
|
-
$fault: "client",
|
|
114
|
-
...opts,
|
|
115
|
-
});
|
|
116
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
export class ResourceAlreadyExistsException extends __BaseException {
|
|
120
|
-
name = "ResourceAlreadyExistsException";
|
|
121
|
-
$fault = "client";
|
|
122
|
-
constructor(opts) {
|
|
123
|
-
super({
|
|
124
|
-
name: "ResourceAlreadyExistsException",
|
|
125
|
-
$fault: "client",
|
|
126
|
-
...opts,
|
|
127
|
-
});
|
|
128
|
-
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
export class InvalidEventPatternException extends __BaseException {
|
|
132
|
-
name = "InvalidEventPatternException";
|
|
133
|
-
$fault = "client";
|
|
134
|
-
constructor(opts) {
|
|
135
|
-
super({
|
|
136
|
-
name: "InvalidEventPatternException",
|
|
137
|
-
$fault: "client",
|
|
138
|
-
...opts,
|
|
139
|
-
});
|
|
140
|
-
Object.setPrototypeOf(this, InvalidEventPatternException.prototype);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
export const ConnectionAuthorizationType = {
|
|
144
|
-
API_KEY: "API_KEY",
|
|
145
|
-
BASIC: "BASIC",
|
|
146
|
-
OAUTH_CLIENT_CREDENTIALS: "OAUTH_CLIENT_CREDENTIALS",
|
|
147
|
-
};
|
|
148
|
-
export const ConnectionOAuthHttpMethod = {
|
|
149
|
-
GET: "GET",
|
|
150
|
-
POST: "POST",
|
|
151
|
-
PUT: "PUT",
|
|
152
|
-
};
|
|
153
|
-
export const ConnectionState = {
|
|
154
|
-
AUTHORIZED: "AUTHORIZED",
|
|
155
|
-
AUTHORIZING: "AUTHORIZING",
|
|
156
|
-
CREATING: "CREATING",
|
|
157
|
-
DEAUTHORIZED: "DEAUTHORIZED",
|
|
158
|
-
DEAUTHORIZING: "DEAUTHORIZING",
|
|
159
|
-
DELETING: "DELETING",
|
|
160
|
-
UPDATING: "UPDATING",
|
|
161
|
-
};
|
|
162
|
-
export class ManagedRuleException extends __BaseException {
|
|
163
|
-
name = "ManagedRuleException";
|
|
164
|
-
$fault = "client";
|
|
165
|
-
constructor(opts) {
|
|
166
|
-
super({
|
|
167
|
-
name: "ManagedRuleException",
|
|
168
|
-
$fault: "client",
|
|
169
|
-
...opts,
|
|
170
|
-
});
|
|
171
|
-
Object.setPrototypeOf(this, ManagedRuleException.prototype);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
export const EventSourceState = {
|
|
175
|
-
ACTIVE: "ACTIVE",
|
|
176
|
-
DELETED: "DELETED",
|
|
177
|
-
PENDING: "PENDING",
|
|
178
|
-
};
|
|
179
|
-
export const RuleState = {
|
|
180
|
-
DISABLED: "DISABLED",
|
|
181
|
-
ENABLED: "ENABLED",
|
|
182
|
-
};
|
|
183
|
-
export const LaunchType = {
|
|
184
|
-
EC2: "EC2",
|
|
185
|
-
EXTERNAL: "EXTERNAL",
|
|
186
|
-
FARGATE: "FARGATE",
|
|
187
|
-
};
|
|
188
|
-
export const PlacementConstraintType = {
|
|
189
|
-
DISTINCT_INSTANCE: "distinctInstance",
|
|
190
|
-
MEMBER_OF: "memberOf",
|
|
191
|
-
};
|
|
192
|
-
export const PlacementStrategyType = {
|
|
193
|
-
BINPACK: "binpack",
|
|
194
|
-
RANDOM: "random",
|
|
195
|
-
SPREAD: "spread",
|
|
196
|
-
};
|
|
197
|
-
export const PropagateTags = {
|
|
198
|
-
TASK_DEFINITION: "TASK_DEFINITION",
|
|
199
|
-
};
|
|
200
|
-
export class PolicyLengthExceededException extends __BaseException {
|
|
201
|
-
name = "PolicyLengthExceededException";
|
|
202
|
-
$fault = "client";
|
|
203
|
-
constructor(opts) {
|
|
204
|
-
super({
|
|
205
|
-
name: "PolicyLengthExceededException",
|
|
206
|
-
$fault: "client",
|
|
207
|
-
...opts,
|
|
208
|
-
});
|
|
209
|
-
Object.setPrototypeOf(this, PolicyLengthExceededException.prototype);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
1
|
+
export {};
|
|
@@ -395,7 +395,7 @@ const _w = "weight";
|
|
|
395
395
|
const n0 = "com.amazonaws.cloudwatchevents";
|
|
396
396
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
397
397
|
import { CloudWatchEventsServiceException as __CloudWatchEventsServiceException } from "../models/CloudWatchEventsServiceException";
|
|
398
|
-
import { ConcurrentModificationException as __ConcurrentModificationException, IllegalStatusException as __IllegalStatusException, InternalException as __InternalException, InvalidEventPatternException as __InvalidEventPatternException, InvalidStateException as __InvalidStateException, LimitExceededException as __LimitExceededException, ManagedRuleException as __ManagedRuleException, OperationDisabledException as __OperationDisabledException, PolicyLengthExceededException as __PolicyLengthExceededException, ResourceAlreadyExistsException as __ResourceAlreadyExistsException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/
|
|
398
|
+
import { ConcurrentModificationException as __ConcurrentModificationException, IllegalStatusException as __IllegalStatusException, InternalException as __InternalException, InvalidEventPatternException as __InvalidEventPatternException, InvalidStateException as __InvalidStateException, LimitExceededException as __LimitExceededException, ManagedRuleException as __ManagedRuleException, OperationDisabledException as __OperationDisabledException, PolicyLengthExceededException as __PolicyLengthExceededException, ResourceAlreadyExistsException as __ResourceAlreadyExistsException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/errors";
|
|
399
399
|
export var AuthHeaderParametersSensitive = [0, n0, _AHPS, 8, 0];
|
|
400
400
|
export var HeaderValueSensitive = [0, n0, _HVS, 8, 0];
|
|
401
401
|
export var QueryStringValueSensitive = [0, n0, _QSVS, 8, 0];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -29,5 +29,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
29
29
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
30
30
|
export type { CloudWatchEventsExtensionConfiguration } from "./extensionConfiguration";
|
|
31
31
|
export * from "./commands";
|
|
32
|
-
export * from "./models";
|
|
32
|
+
export * from "./models/enums";
|
|
33
|
+
export * from "./models/errors";
|
|
34
|
+
export type * from "./models/models_0";
|
|
33
35
|
export { CloudWatchEventsServiceException } from "./models/CloudWatchEventsServiceException";
|