@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
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CloudWatchEventsServiceException as __BaseException } from "./CloudWatchEventsServiceException";
|
|
1
|
+
import { ApiDestinationHttpMethod, ApiDestinationState, ArchiveState, AssignPublicIp, ConnectionAuthorizationType, ConnectionOAuthHttpMethod, ConnectionState, EventSourceState, LaunchType, PlacementConstraintType, PlacementStrategyType, PropagateTags, ReplayState, RuleState } from "./enums";
|
|
3
2
|
/**
|
|
4
3
|
* @public
|
|
5
4
|
*/
|
|
@@ -10,95 +9,6 @@ export interface ActivateEventSourceRequest {
|
|
|
10
9
|
*/
|
|
11
10
|
Name: string | undefined;
|
|
12
11
|
}
|
|
13
|
-
/**
|
|
14
|
-
* <p>There is concurrent modification on a rule, target, archive, or replay.</p>
|
|
15
|
-
* @public
|
|
16
|
-
*/
|
|
17
|
-
export declare class ConcurrentModificationException extends __BaseException {
|
|
18
|
-
readonly name: "ConcurrentModificationException";
|
|
19
|
-
readonly $fault: "client";
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
23
|
-
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* <p>This exception occurs due to unexpected causes.</p>
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
export declare class InternalException extends __BaseException {
|
|
30
|
-
readonly name: "InternalException";
|
|
31
|
-
readonly $fault: "server";
|
|
32
|
-
/**
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
35
|
-
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* <p>The specified state is not a valid state for an event source.</p>
|
|
39
|
-
* @public
|
|
40
|
-
*/
|
|
41
|
-
export declare class InvalidStateException extends __BaseException {
|
|
42
|
-
readonly name: "InvalidStateException";
|
|
43
|
-
readonly $fault: "client";
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
|
-
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* <p>The operation you are attempting is not available in this region.</p>
|
|
51
|
-
* @public
|
|
52
|
-
*/
|
|
53
|
-
export declare class OperationDisabledException extends __BaseException {
|
|
54
|
-
readonly name: "OperationDisabledException";
|
|
55
|
-
readonly $fault: "client";
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
constructor(opts: __ExceptionOptionType<OperationDisabledException, __BaseException>);
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* <p>An entity that you specified does not exist.</p>
|
|
63
|
-
* @public
|
|
64
|
-
*/
|
|
65
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
66
|
-
readonly name: "ResourceNotFoundException";
|
|
67
|
-
readonly $fault: "client";
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* @public
|
|
75
|
-
* @enum
|
|
76
|
-
*/
|
|
77
|
-
export declare const ApiDestinationState: {
|
|
78
|
-
readonly ACTIVE: "ACTIVE";
|
|
79
|
-
readonly INACTIVE: "INACTIVE";
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* @public
|
|
83
|
-
*/
|
|
84
|
-
export type ApiDestinationState = (typeof ApiDestinationState)[keyof typeof ApiDestinationState];
|
|
85
|
-
/**
|
|
86
|
-
* @public
|
|
87
|
-
* @enum
|
|
88
|
-
*/
|
|
89
|
-
export declare const ApiDestinationHttpMethod: {
|
|
90
|
-
readonly DELETE: "DELETE";
|
|
91
|
-
readonly GET: "GET";
|
|
92
|
-
readonly HEAD: "HEAD";
|
|
93
|
-
readonly OPTIONS: "OPTIONS";
|
|
94
|
-
readonly PATCH: "PATCH";
|
|
95
|
-
readonly POST: "POST";
|
|
96
|
-
readonly PUT: "PUT";
|
|
97
|
-
};
|
|
98
|
-
/**
|
|
99
|
-
* @public
|
|
100
|
-
*/
|
|
101
|
-
export type ApiDestinationHttpMethod = (typeof ApiDestinationHttpMethod)[keyof typeof ApiDestinationHttpMethod];
|
|
102
12
|
/**
|
|
103
13
|
* <p>Contains details about an API destination.</p>
|
|
104
14
|
* @public
|
|
@@ -150,22 +60,6 @@ export interface ApiDestination {
|
|
|
150
60
|
*/
|
|
151
61
|
LastModifiedTime?: Date | undefined;
|
|
152
62
|
}
|
|
153
|
-
/**
|
|
154
|
-
* @public
|
|
155
|
-
* @enum
|
|
156
|
-
*/
|
|
157
|
-
export declare const ArchiveState: {
|
|
158
|
-
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
159
|
-
readonly CREATING: "CREATING";
|
|
160
|
-
readonly DISABLED: "DISABLED";
|
|
161
|
-
readonly ENABLED: "ENABLED";
|
|
162
|
-
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
163
|
-
readonly UPDATING: "UPDATING";
|
|
164
|
-
};
|
|
165
|
-
/**
|
|
166
|
-
* @public
|
|
167
|
-
*/
|
|
168
|
-
export type ArchiveState = (typeof ArchiveState)[keyof typeof ArchiveState];
|
|
169
63
|
/**
|
|
170
64
|
* <p>An <code>Archive</code> object that contains details about an archive.</p>
|
|
171
65
|
* @public
|
|
@@ -213,18 +107,6 @@ export interface Archive {
|
|
|
213
107
|
*/
|
|
214
108
|
CreationTime?: Date | undefined;
|
|
215
109
|
}
|
|
216
|
-
/**
|
|
217
|
-
* @public
|
|
218
|
-
* @enum
|
|
219
|
-
*/
|
|
220
|
-
export declare const AssignPublicIp: {
|
|
221
|
-
readonly DISABLED: "DISABLED";
|
|
222
|
-
readonly ENABLED: "ENABLED";
|
|
223
|
-
};
|
|
224
|
-
/**
|
|
225
|
-
* @public
|
|
226
|
-
*/
|
|
227
|
-
export type AssignPublicIp = (typeof AssignPublicIp)[keyof typeof AssignPublicIp];
|
|
228
110
|
/**
|
|
229
111
|
* @public
|
|
230
112
|
*/
|
|
@@ -235,22 +117,6 @@ export interface CancelReplayRequest {
|
|
|
235
117
|
*/
|
|
236
118
|
ReplayName: string | undefined;
|
|
237
119
|
}
|
|
238
|
-
/**
|
|
239
|
-
* @public
|
|
240
|
-
* @enum
|
|
241
|
-
*/
|
|
242
|
-
export declare const ReplayState: {
|
|
243
|
-
readonly CANCELLED: "CANCELLED";
|
|
244
|
-
readonly CANCELLING: "CANCELLING";
|
|
245
|
-
readonly COMPLETED: "COMPLETED";
|
|
246
|
-
readonly FAILED: "FAILED";
|
|
247
|
-
readonly RUNNING: "RUNNING";
|
|
248
|
-
readonly STARTING: "STARTING";
|
|
249
|
-
};
|
|
250
|
-
/**
|
|
251
|
-
* @public
|
|
252
|
-
*/
|
|
253
|
-
export type ReplayState = (typeof ReplayState)[keyof typeof ReplayState];
|
|
254
120
|
/**
|
|
255
121
|
* @public
|
|
256
122
|
*/
|
|
@@ -271,19 +137,6 @@ export interface CancelReplayResponse {
|
|
|
271
137
|
*/
|
|
272
138
|
StateReason?: string | undefined;
|
|
273
139
|
}
|
|
274
|
-
/**
|
|
275
|
-
* <p>An error occurred because a replay can be canceled only when the state is Running or
|
|
276
|
-
* Starting.</p>
|
|
277
|
-
* @public
|
|
278
|
-
*/
|
|
279
|
-
export declare class IllegalStatusException extends __BaseException {
|
|
280
|
-
readonly name: "IllegalStatusException";
|
|
281
|
-
readonly $fault: "client";
|
|
282
|
-
/**
|
|
283
|
-
* @internal
|
|
284
|
-
*/
|
|
285
|
-
constructor(opts: __ExceptionOptionType<IllegalStatusException, __BaseException>);
|
|
286
|
-
}
|
|
287
140
|
/**
|
|
288
141
|
* @public
|
|
289
142
|
*/
|
|
@@ -345,31 +198,6 @@ export interface CreateApiDestinationResponse {
|
|
|
345
198
|
*/
|
|
346
199
|
LastModifiedTime?: Date | undefined;
|
|
347
200
|
}
|
|
348
|
-
/**
|
|
349
|
-
* <p>The request failed because it attempted to create resource beyond the allowed service
|
|
350
|
-
* quota.</p>
|
|
351
|
-
* @public
|
|
352
|
-
*/
|
|
353
|
-
export declare class LimitExceededException extends __BaseException {
|
|
354
|
-
readonly name: "LimitExceededException";
|
|
355
|
-
readonly $fault: "client";
|
|
356
|
-
/**
|
|
357
|
-
* @internal
|
|
358
|
-
*/
|
|
359
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
360
|
-
}
|
|
361
|
-
/**
|
|
362
|
-
* <p>The resource you are trying to create already exists.</p>
|
|
363
|
-
* @public
|
|
364
|
-
*/
|
|
365
|
-
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
366
|
-
readonly name: "ResourceAlreadyExistsException";
|
|
367
|
-
readonly $fault: "client";
|
|
368
|
-
/**
|
|
369
|
-
* @internal
|
|
370
|
-
*/
|
|
371
|
-
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
372
|
-
}
|
|
373
201
|
/**
|
|
374
202
|
* @public
|
|
375
203
|
*/
|
|
@@ -426,31 +254,6 @@ export interface CreateArchiveResponse {
|
|
|
426
254
|
*/
|
|
427
255
|
CreationTime?: Date | undefined;
|
|
428
256
|
}
|
|
429
|
-
/**
|
|
430
|
-
* <p>The event pattern is not valid.</p>
|
|
431
|
-
* @public
|
|
432
|
-
*/
|
|
433
|
-
export declare class InvalidEventPatternException extends __BaseException {
|
|
434
|
-
readonly name: "InvalidEventPatternException";
|
|
435
|
-
readonly $fault: "client";
|
|
436
|
-
/**
|
|
437
|
-
* @internal
|
|
438
|
-
*/
|
|
439
|
-
constructor(opts: __ExceptionOptionType<InvalidEventPatternException, __BaseException>);
|
|
440
|
-
}
|
|
441
|
-
/**
|
|
442
|
-
* @public
|
|
443
|
-
* @enum
|
|
444
|
-
*/
|
|
445
|
-
export declare const ConnectionAuthorizationType: {
|
|
446
|
-
readonly API_KEY: "API_KEY";
|
|
447
|
-
readonly BASIC: "BASIC";
|
|
448
|
-
readonly OAUTH_CLIENT_CREDENTIALS: "OAUTH_CLIENT_CREDENTIALS";
|
|
449
|
-
};
|
|
450
|
-
/**
|
|
451
|
-
* @public
|
|
452
|
-
*/
|
|
453
|
-
export type ConnectionAuthorizationType = (typeof ConnectionAuthorizationType)[keyof typeof ConnectionAuthorizationType];
|
|
454
257
|
/**
|
|
455
258
|
* <p>Contains the API key authorization parameters for the connection.</p>
|
|
456
259
|
* @public
|
|
@@ -588,19 +391,6 @@ export interface CreateConnectionOAuthClientRequestParameters {
|
|
|
588
391
|
*/
|
|
589
392
|
ClientSecret: string | undefined;
|
|
590
393
|
}
|
|
591
|
-
/**
|
|
592
|
-
* @public
|
|
593
|
-
* @enum
|
|
594
|
-
*/
|
|
595
|
-
export declare const ConnectionOAuthHttpMethod: {
|
|
596
|
-
readonly GET: "GET";
|
|
597
|
-
readonly POST: "POST";
|
|
598
|
-
readonly PUT: "PUT";
|
|
599
|
-
};
|
|
600
|
-
/**
|
|
601
|
-
* @public
|
|
602
|
-
*/
|
|
603
|
-
export type ConnectionOAuthHttpMethod = (typeof ConnectionOAuthHttpMethod)[keyof typeof ConnectionOAuthHttpMethod];
|
|
604
394
|
/**
|
|
605
395
|
* <p>Contains the OAuth authorization parameters to use for the connection.</p>
|
|
606
396
|
* @public
|
|
@@ -688,23 +478,6 @@ export interface CreateConnectionRequest {
|
|
|
688
478
|
*/
|
|
689
479
|
AuthParameters: CreateConnectionAuthRequestParameters | undefined;
|
|
690
480
|
}
|
|
691
|
-
/**
|
|
692
|
-
* @public
|
|
693
|
-
* @enum
|
|
694
|
-
*/
|
|
695
|
-
export declare const ConnectionState: {
|
|
696
|
-
readonly AUTHORIZED: "AUTHORIZED";
|
|
697
|
-
readonly AUTHORIZING: "AUTHORIZING";
|
|
698
|
-
readonly CREATING: "CREATING";
|
|
699
|
-
readonly DEAUTHORIZED: "DEAUTHORIZED";
|
|
700
|
-
readonly DEAUTHORIZING: "DEAUTHORIZING";
|
|
701
|
-
readonly DELETING: "DELETING";
|
|
702
|
-
readonly UPDATING: "UPDATING";
|
|
703
|
-
};
|
|
704
|
-
/**
|
|
705
|
-
* @public
|
|
706
|
-
*/
|
|
707
|
-
export type ConnectionState = (typeof ConnectionState)[keyof typeof ConnectionState];
|
|
708
481
|
/**
|
|
709
482
|
* @public
|
|
710
483
|
*/
|
|
@@ -987,23 +760,6 @@ export interface DeleteRuleRequest {
|
|
|
987
760
|
*/
|
|
988
761
|
Force?: boolean | undefined;
|
|
989
762
|
}
|
|
990
|
-
/**
|
|
991
|
-
* <p>This rule was created by an Amazon Web Services service on behalf of your account. It is managed by that
|
|
992
|
-
* service. If you see this error in response to <code>DeleteRule</code> or
|
|
993
|
-
* <code>RemoveTargets</code>, you can use the <code>Force</code> parameter in those calls to
|
|
994
|
-
* delete the rule or remove targets from the rule. You cannot modify these managed rules by
|
|
995
|
-
* using <code>DisableRule</code>, <code>EnableRule</code>, <code>PutTargets</code>,
|
|
996
|
-
* <code>PutRule</code>, <code>TagResource</code>, or <code>UntagResource</code>. </p>
|
|
997
|
-
* @public
|
|
998
|
-
*/
|
|
999
|
-
export declare class ManagedRuleException extends __BaseException {
|
|
1000
|
-
readonly name: "ManagedRuleException";
|
|
1001
|
-
readonly $fault: "client";
|
|
1002
|
-
/**
|
|
1003
|
-
* @internal
|
|
1004
|
-
*/
|
|
1005
|
-
constructor(opts: __ExceptionOptionType<ManagedRuleException, __BaseException>);
|
|
1006
|
-
}
|
|
1007
763
|
/**
|
|
1008
764
|
* @public
|
|
1009
765
|
*/
|
|
@@ -1348,19 +1104,6 @@ export interface DescribeEventSourceRequest {
|
|
|
1348
1104
|
*/
|
|
1349
1105
|
Name: string | undefined;
|
|
1350
1106
|
}
|
|
1351
|
-
/**
|
|
1352
|
-
* @public
|
|
1353
|
-
* @enum
|
|
1354
|
-
*/
|
|
1355
|
-
export declare const EventSourceState: {
|
|
1356
|
-
readonly ACTIVE: "ACTIVE";
|
|
1357
|
-
readonly DELETED: "DELETED";
|
|
1358
|
-
readonly PENDING: "PENDING";
|
|
1359
|
-
};
|
|
1360
|
-
/**
|
|
1361
|
-
* @public
|
|
1362
|
-
*/
|
|
1363
|
-
export type EventSourceState = (typeof EventSourceState)[keyof typeof EventSourceState];
|
|
1364
1107
|
/**
|
|
1365
1108
|
* @public
|
|
1366
1109
|
*/
|
|
@@ -1533,18 +1276,6 @@ export interface DescribeRuleRequest {
|
|
|
1533
1276
|
*/
|
|
1534
1277
|
EventBusName?: string | undefined;
|
|
1535
1278
|
}
|
|
1536
|
-
/**
|
|
1537
|
-
* @public
|
|
1538
|
-
* @enum
|
|
1539
|
-
*/
|
|
1540
|
-
export declare const RuleState: {
|
|
1541
|
-
readonly DISABLED: "DISABLED";
|
|
1542
|
-
readonly ENABLED: "ENABLED";
|
|
1543
|
-
};
|
|
1544
|
-
/**
|
|
1545
|
-
* @public
|
|
1546
|
-
*/
|
|
1547
|
-
export type RuleState = (typeof RuleState)[keyof typeof RuleState];
|
|
1548
1279
|
/**
|
|
1549
1280
|
* @public
|
|
1550
1281
|
*/
|
|
@@ -2465,19 +2196,6 @@ export interface CapacityProviderStrategyItem {
|
|
|
2465
2196
|
*/
|
|
2466
2197
|
base?: number | undefined;
|
|
2467
2198
|
}
|
|
2468
|
-
/**
|
|
2469
|
-
* @public
|
|
2470
|
-
* @enum
|
|
2471
|
-
*/
|
|
2472
|
-
export declare const LaunchType: {
|
|
2473
|
-
readonly EC2: "EC2";
|
|
2474
|
-
readonly EXTERNAL: "EXTERNAL";
|
|
2475
|
-
readonly FARGATE: "FARGATE";
|
|
2476
|
-
};
|
|
2477
|
-
/**
|
|
2478
|
-
* @public
|
|
2479
|
-
*/
|
|
2480
|
-
export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
|
|
2481
2199
|
/**
|
|
2482
2200
|
* <p>This structure specifies the VPC subnets and security groups for the task, and whether a
|
|
2483
2201
|
* public IP address is to be used. This structure is relevant only for ECS tasks that use the
|
|
@@ -2519,18 +2237,6 @@ export interface NetworkConfiguration {
|
|
|
2519
2237
|
*/
|
|
2520
2238
|
awsvpcConfiguration?: AwsVpcConfiguration | undefined;
|
|
2521
2239
|
}
|
|
2522
|
-
/**
|
|
2523
|
-
* @public
|
|
2524
|
-
* @enum
|
|
2525
|
-
*/
|
|
2526
|
-
export declare const PlacementConstraintType: {
|
|
2527
|
-
readonly DISTINCT_INSTANCE: "distinctInstance";
|
|
2528
|
-
readonly MEMBER_OF: "memberOf";
|
|
2529
|
-
};
|
|
2530
|
-
/**
|
|
2531
|
-
* @public
|
|
2532
|
-
*/
|
|
2533
|
-
export type PlacementConstraintType = (typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
|
|
2534
2240
|
/**
|
|
2535
2241
|
* <p>An object representing a constraint on task placement. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html">Task Placement Constraints</a> in the Amazon Elastic Container Service Developer
|
|
2536
2242
|
* Guide.</p>
|
|
@@ -2552,19 +2258,6 @@ export interface PlacementConstraint {
|
|
|
2552
2258
|
*/
|
|
2553
2259
|
expression?: string | undefined;
|
|
2554
2260
|
}
|
|
2555
|
-
/**
|
|
2556
|
-
* @public
|
|
2557
|
-
* @enum
|
|
2558
|
-
*/
|
|
2559
|
-
export declare const PlacementStrategyType: {
|
|
2560
|
-
readonly BINPACK: "binpack";
|
|
2561
|
-
readonly RANDOM: "random";
|
|
2562
|
-
readonly SPREAD: "spread";
|
|
2563
|
-
};
|
|
2564
|
-
/**
|
|
2565
|
-
* @public
|
|
2566
|
-
*/
|
|
2567
|
-
export type PlacementStrategyType = (typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
|
|
2568
2261
|
/**
|
|
2569
2262
|
* <p>The task placement strategy for a task or service. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html">Task Placement Strategies</a> in the Amazon Elastic Container Service Service Developer
|
|
2570
2263
|
* Guide.</p>
|
|
@@ -2591,17 +2284,6 @@ export interface PlacementStrategy {
|
|
|
2591
2284
|
*/
|
|
2592
2285
|
field?: string | undefined;
|
|
2593
2286
|
}
|
|
2594
|
-
/**
|
|
2595
|
-
* @public
|
|
2596
|
-
* @enum
|
|
2597
|
-
*/
|
|
2598
|
-
export declare const PropagateTags: {
|
|
2599
|
-
readonly TASK_DEFINITION: "TASK_DEFINITION";
|
|
2600
|
-
};
|
|
2601
|
-
/**
|
|
2602
|
-
* @public
|
|
2603
|
-
*/
|
|
2604
|
-
export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
|
|
2605
2287
|
/**
|
|
2606
2288
|
* <p>The custom parameters to be used when the target is an Amazon ECS task.</p>
|
|
2607
2289
|
* @public
|
|
@@ -3293,18 +2975,6 @@ export interface PutPartnerEventsResponse {
|
|
|
3293
2975
|
*/
|
|
3294
2976
|
Entries?: PutPartnerEventsResultEntry[] | undefined;
|
|
3295
2977
|
}
|
|
3296
|
-
/**
|
|
3297
|
-
* <p>The event bus policy is too long. For more information, see the limits.</p>
|
|
3298
|
-
* @public
|
|
3299
|
-
*/
|
|
3300
|
-
export declare class PolicyLengthExceededException extends __BaseException {
|
|
3301
|
-
readonly name: "PolicyLengthExceededException";
|
|
3302
|
-
readonly $fault: "client";
|
|
3303
|
-
/**
|
|
3304
|
-
* @internal
|
|
3305
|
-
*/
|
|
3306
|
-
constructor(opts: __ExceptionOptionType<PolicyLengthExceededException, __BaseException>);
|
|
3307
|
-
}
|
|
3308
2978
|
/**
|
|
3309
2979
|
* <p>A JSON string which you can use to limit the event bus permissions you are granting to
|
|
3310
2980
|
* only accounts that fulfill the condition. Currently, the only supported condition is
|
|
@@ -4,5 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { CloudWatchEventsExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
-
export * from "./models";
|
|
7
|
+
export * from "./models/enums";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
8
10
|
export { CloudWatchEventsServiceException } from "./models/CloudWatchEventsServiceException";
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
export declare const ApiDestinationState: {
|
|
2
|
+
readonly ACTIVE: "ACTIVE";
|
|
3
|
+
readonly INACTIVE: "INACTIVE";
|
|
4
|
+
};
|
|
5
|
+
export type ApiDestinationState =
|
|
6
|
+
(typeof ApiDestinationState)[keyof typeof ApiDestinationState];
|
|
7
|
+
export declare const ApiDestinationHttpMethod: {
|
|
8
|
+
readonly DELETE: "DELETE";
|
|
9
|
+
readonly GET: "GET";
|
|
10
|
+
readonly HEAD: "HEAD";
|
|
11
|
+
readonly OPTIONS: "OPTIONS";
|
|
12
|
+
readonly PATCH: "PATCH";
|
|
13
|
+
readonly POST: "POST";
|
|
14
|
+
readonly PUT: "PUT";
|
|
15
|
+
};
|
|
16
|
+
export type ApiDestinationHttpMethod =
|
|
17
|
+
(typeof ApiDestinationHttpMethod)[keyof typeof ApiDestinationHttpMethod];
|
|
18
|
+
export declare const ArchiveState: {
|
|
19
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
20
|
+
readonly CREATING: "CREATING";
|
|
21
|
+
readonly DISABLED: "DISABLED";
|
|
22
|
+
readonly ENABLED: "ENABLED";
|
|
23
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
24
|
+
readonly UPDATING: "UPDATING";
|
|
25
|
+
};
|
|
26
|
+
export type ArchiveState = (typeof ArchiveState)[keyof typeof ArchiveState];
|
|
27
|
+
export declare const AssignPublicIp: {
|
|
28
|
+
readonly DISABLED: "DISABLED";
|
|
29
|
+
readonly ENABLED: "ENABLED";
|
|
30
|
+
};
|
|
31
|
+
export type AssignPublicIp =
|
|
32
|
+
(typeof AssignPublicIp)[keyof typeof AssignPublicIp];
|
|
33
|
+
export declare const ReplayState: {
|
|
34
|
+
readonly CANCELLED: "CANCELLED";
|
|
35
|
+
readonly CANCELLING: "CANCELLING";
|
|
36
|
+
readonly COMPLETED: "COMPLETED";
|
|
37
|
+
readonly FAILED: "FAILED";
|
|
38
|
+
readonly RUNNING: "RUNNING";
|
|
39
|
+
readonly STARTING: "STARTING";
|
|
40
|
+
};
|
|
41
|
+
export type ReplayState = (typeof ReplayState)[keyof typeof ReplayState];
|
|
42
|
+
export declare const ConnectionAuthorizationType: {
|
|
43
|
+
readonly API_KEY: "API_KEY";
|
|
44
|
+
readonly BASIC: "BASIC";
|
|
45
|
+
readonly OAUTH_CLIENT_CREDENTIALS: "OAUTH_CLIENT_CREDENTIALS";
|
|
46
|
+
};
|
|
47
|
+
export type ConnectionAuthorizationType =
|
|
48
|
+
(typeof ConnectionAuthorizationType)[keyof typeof ConnectionAuthorizationType];
|
|
49
|
+
export declare const ConnectionOAuthHttpMethod: {
|
|
50
|
+
readonly GET: "GET";
|
|
51
|
+
readonly POST: "POST";
|
|
52
|
+
readonly PUT: "PUT";
|
|
53
|
+
};
|
|
54
|
+
export type ConnectionOAuthHttpMethod =
|
|
55
|
+
(typeof ConnectionOAuthHttpMethod)[keyof typeof ConnectionOAuthHttpMethod];
|
|
56
|
+
export declare const ConnectionState: {
|
|
57
|
+
readonly AUTHORIZED: "AUTHORIZED";
|
|
58
|
+
readonly AUTHORIZING: "AUTHORIZING";
|
|
59
|
+
readonly CREATING: "CREATING";
|
|
60
|
+
readonly DEAUTHORIZED: "DEAUTHORIZED";
|
|
61
|
+
readonly DEAUTHORIZING: "DEAUTHORIZING";
|
|
62
|
+
readonly DELETING: "DELETING";
|
|
63
|
+
readonly UPDATING: "UPDATING";
|
|
64
|
+
};
|
|
65
|
+
export type ConnectionState =
|
|
66
|
+
(typeof ConnectionState)[keyof typeof ConnectionState];
|
|
67
|
+
export declare const EventSourceState: {
|
|
68
|
+
readonly ACTIVE: "ACTIVE";
|
|
69
|
+
readonly DELETED: "DELETED";
|
|
70
|
+
readonly PENDING: "PENDING";
|
|
71
|
+
};
|
|
72
|
+
export type EventSourceState =
|
|
73
|
+
(typeof EventSourceState)[keyof typeof EventSourceState];
|
|
74
|
+
export declare const RuleState: {
|
|
75
|
+
readonly DISABLED: "DISABLED";
|
|
76
|
+
readonly ENABLED: "ENABLED";
|
|
77
|
+
};
|
|
78
|
+
export type RuleState = (typeof RuleState)[keyof typeof RuleState];
|
|
79
|
+
export declare const LaunchType: {
|
|
80
|
+
readonly EC2: "EC2";
|
|
81
|
+
readonly EXTERNAL: "EXTERNAL";
|
|
82
|
+
readonly FARGATE: "FARGATE";
|
|
83
|
+
};
|
|
84
|
+
export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
|
|
85
|
+
export declare const PlacementConstraintType: {
|
|
86
|
+
readonly DISTINCT_INSTANCE: "distinctInstance";
|
|
87
|
+
readonly MEMBER_OF: "memberOf";
|
|
88
|
+
};
|
|
89
|
+
export type PlacementConstraintType =
|
|
90
|
+
(typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
|
|
91
|
+
export declare const PlacementStrategyType: {
|
|
92
|
+
readonly BINPACK: "binpack";
|
|
93
|
+
readonly RANDOM: "random";
|
|
94
|
+
readonly SPREAD: "spread";
|
|
95
|
+
};
|
|
96
|
+
export type PlacementStrategyType =
|
|
97
|
+
(typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
|
|
98
|
+
export declare const PropagateTags: {
|
|
99
|
+
readonly TASK_DEFINITION: "TASK_DEFINITION";
|
|
100
|
+
};
|
|
101
|
+
export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { CloudWatchEventsServiceException as __BaseException } from "./CloudWatchEventsServiceException";
|
|
3
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
4
|
+
readonly name: "ConcurrentModificationException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<
|
|
8
|
+
ConcurrentModificationException,
|
|
9
|
+
__BaseException
|
|
10
|
+
>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
export declare class InternalException extends __BaseException {
|
|
14
|
+
readonly name: "InternalException";
|
|
15
|
+
readonly $fault: "server";
|
|
16
|
+
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
17
|
+
}
|
|
18
|
+
export declare class InvalidStateException extends __BaseException {
|
|
19
|
+
readonly name: "InvalidStateException";
|
|
20
|
+
readonly $fault: "client";
|
|
21
|
+
constructor(
|
|
22
|
+
opts: __ExceptionOptionType<InvalidStateException, __BaseException>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export declare class OperationDisabledException extends __BaseException {
|
|
26
|
+
readonly name: "OperationDisabledException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
constructor(
|
|
29
|
+
opts: __ExceptionOptionType<OperationDisabledException, __BaseException>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
33
|
+
readonly name: "ResourceNotFoundException";
|
|
34
|
+
readonly $fault: "client";
|
|
35
|
+
constructor(
|
|
36
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
export declare class IllegalStatusException extends __BaseException {
|
|
40
|
+
readonly name: "IllegalStatusException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
constructor(
|
|
43
|
+
opts: __ExceptionOptionType<IllegalStatusException, __BaseException>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export declare class LimitExceededException extends __BaseException {
|
|
47
|
+
readonly name: "LimitExceededException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
constructor(
|
|
50
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
54
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
55
|
+
readonly $fault: "client";
|
|
56
|
+
constructor(
|
|
57
|
+
opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
export declare class InvalidEventPatternException extends __BaseException {
|
|
61
|
+
readonly name: "InvalidEventPatternException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
constructor(
|
|
64
|
+
opts: __ExceptionOptionType<InvalidEventPatternException, __BaseException>
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
export declare class ManagedRuleException extends __BaseException {
|
|
68
|
+
readonly name: "ManagedRuleException";
|
|
69
|
+
readonly $fault: "client";
|
|
70
|
+
constructor(
|
|
71
|
+
opts: __ExceptionOptionType<ManagedRuleException, __BaseException>
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
export declare class PolicyLengthExceededException extends __BaseException {
|
|
75
|
+
readonly name: "PolicyLengthExceededException";
|
|
76
|
+
readonly $fault: "client";
|
|
77
|
+
constructor(
|
|
78
|
+
opts: __ExceptionOptionType<PolicyLengthExceededException, __BaseException>
|
|
79
|
+
);
|
|
80
|
+
}
|