@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.
@@ -0,0 +1,190 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ApiDestinationState: {
6
+ readonly ACTIVE: "ACTIVE";
7
+ readonly INACTIVE: "INACTIVE";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type ApiDestinationState = (typeof ApiDestinationState)[keyof typeof ApiDestinationState];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const ApiDestinationHttpMethod: {
18
+ readonly DELETE: "DELETE";
19
+ readonly GET: "GET";
20
+ readonly HEAD: "HEAD";
21
+ readonly OPTIONS: "OPTIONS";
22
+ readonly PATCH: "PATCH";
23
+ readonly POST: "POST";
24
+ readonly PUT: "PUT";
25
+ };
26
+ /**
27
+ * @public
28
+ */
29
+ export type ApiDestinationHttpMethod = (typeof ApiDestinationHttpMethod)[keyof typeof ApiDestinationHttpMethod];
30
+ /**
31
+ * @public
32
+ * @enum
33
+ */
34
+ export declare const ArchiveState: {
35
+ readonly CREATE_FAILED: "CREATE_FAILED";
36
+ readonly CREATING: "CREATING";
37
+ readonly DISABLED: "DISABLED";
38
+ readonly ENABLED: "ENABLED";
39
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
40
+ readonly UPDATING: "UPDATING";
41
+ };
42
+ /**
43
+ * @public
44
+ */
45
+ export type ArchiveState = (typeof ArchiveState)[keyof typeof ArchiveState];
46
+ /**
47
+ * @public
48
+ * @enum
49
+ */
50
+ export declare const AssignPublicIp: {
51
+ readonly DISABLED: "DISABLED";
52
+ readonly ENABLED: "ENABLED";
53
+ };
54
+ /**
55
+ * @public
56
+ */
57
+ export type AssignPublicIp = (typeof AssignPublicIp)[keyof typeof AssignPublicIp];
58
+ /**
59
+ * @public
60
+ * @enum
61
+ */
62
+ export declare const ReplayState: {
63
+ readonly CANCELLED: "CANCELLED";
64
+ readonly CANCELLING: "CANCELLING";
65
+ readonly COMPLETED: "COMPLETED";
66
+ readonly FAILED: "FAILED";
67
+ readonly RUNNING: "RUNNING";
68
+ readonly STARTING: "STARTING";
69
+ };
70
+ /**
71
+ * @public
72
+ */
73
+ export type ReplayState = (typeof ReplayState)[keyof typeof ReplayState];
74
+ /**
75
+ * @public
76
+ * @enum
77
+ */
78
+ export declare const ConnectionAuthorizationType: {
79
+ readonly API_KEY: "API_KEY";
80
+ readonly BASIC: "BASIC";
81
+ readonly OAUTH_CLIENT_CREDENTIALS: "OAUTH_CLIENT_CREDENTIALS";
82
+ };
83
+ /**
84
+ * @public
85
+ */
86
+ export type ConnectionAuthorizationType = (typeof ConnectionAuthorizationType)[keyof typeof ConnectionAuthorizationType];
87
+ /**
88
+ * @public
89
+ * @enum
90
+ */
91
+ export declare const ConnectionOAuthHttpMethod: {
92
+ readonly GET: "GET";
93
+ readonly POST: "POST";
94
+ readonly PUT: "PUT";
95
+ };
96
+ /**
97
+ * @public
98
+ */
99
+ export type ConnectionOAuthHttpMethod = (typeof ConnectionOAuthHttpMethod)[keyof typeof ConnectionOAuthHttpMethod];
100
+ /**
101
+ * @public
102
+ * @enum
103
+ */
104
+ export declare const ConnectionState: {
105
+ readonly AUTHORIZED: "AUTHORIZED";
106
+ readonly AUTHORIZING: "AUTHORIZING";
107
+ readonly CREATING: "CREATING";
108
+ readonly DEAUTHORIZED: "DEAUTHORIZED";
109
+ readonly DEAUTHORIZING: "DEAUTHORIZING";
110
+ readonly DELETING: "DELETING";
111
+ readonly UPDATING: "UPDATING";
112
+ };
113
+ /**
114
+ * @public
115
+ */
116
+ export type ConnectionState = (typeof ConnectionState)[keyof typeof ConnectionState];
117
+ /**
118
+ * @public
119
+ * @enum
120
+ */
121
+ export declare const EventSourceState: {
122
+ readonly ACTIVE: "ACTIVE";
123
+ readonly DELETED: "DELETED";
124
+ readonly PENDING: "PENDING";
125
+ };
126
+ /**
127
+ * @public
128
+ */
129
+ export type EventSourceState = (typeof EventSourceState)[keyof typeof EventSourceState];
130
+ /**
131
+ * @public
132
+ * @enum
133
+ */
134
+ export declare const RuleState: {
135
+ readonly DISABLED: "DISABLED";
136
+ readonly ENABLED: "ENABLED";
137
+ };
138
+ /**
139
+ * @public
140
+ */
141
+ export type RuleState = (typeof RuleState)[keyof typeof RuleState];
142
+ /**
143
+ * @public
144
+ * @enum
145
+ */
146
+ export declare const LaunchType: {
147
+ readonly EC2: "EC2";
148
+ readonly EXTERNAL: "EXTERNAL";
149
+ readonly FARGATE: "FARGATE";
150
+ };
151
+ /**
152
+ * @public
153
+ */
154
+ export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
155
+ /**
156
+ * @public
157
+ * @enum
158
+ */
159
+ export declare const PlacementConstraintType: {
160
+ readonly DISTINCT_INSTANCE: "distinctInstance";
161
+ readonly MEMBER_OF: "memberOf";
162
+ };
163
+ /**
164
+ * @public
165
+ */
166
+ export type PlacementConstraintType = (typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
167
+ /**
168
+ * @public
169
+ * @enum
170
+ */
171
+ export declare const PlacementStrategyType: {
172
+ readonly BINPACK: "binpack";
173
+ readonly RANDOM: "random";
174
+ readonly SPREAD: "spread";
175
+ };
176
+ /**
177
+ * @public
178
+ */
179
+ export type PlacementStrategyType = (typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
180
+ /**
181
+ * @public
182
+ * @enum
183
+ */
184
+ export declare const PropagateTags: {
185
+ readonly TASK_DEFINITION: "TASK_DEFINITION";
186
+ };
187
+ /**
188
+ * @public
189
+ */
190
+ export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
@@ -0,0 +1,141 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { CloudWatchEventsServiceException as __BaseException } from "./CloudWatchEventsServiceException";
3
+ /**
4
+ * <p>There is concurrent modification on a rule, target, archive, or replay.</p>
5
+ * @public
6
+ */
7
+ export declare class ConcurrentModificationException extends __BaseException {
8
+ readonly name: "ConcurrentModificationException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>This exception occurs due to unexpected causes.</p>
17
+ * @public
18
+ */
19
+ export declare class InternalException extends __BaseException {
20
+ readonly name: "InternalException";
21
+ readonly $fault: "server";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>The specified state is not a valid state for an event source.</p>
29
+ * @public
30
+ */
31
+ export declare class InvalidStateException extends __BaseException {
32
+ readonly name: "InvalidStateException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>The operation you are attempting is not available in this region.</p>
41
+ * @public
42
+ */
43
+ export declare class OperationDisabledException extends __BaseException {
44
+ readonly name: "OperationDisabledException";
45
+ readonly $fault: "client";
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<OperationDisabledException, __BaseException>);
50
+ }
51
+ /**
52
+ * <p>An entity that you specified does not exist.</p>
53
+ * @public
54
+ */
55
+ export declare class ResourceNotFoundException extends __BaseException {
56
+ readonly name: "ResourceNotFoundException";
57
+ readonly $fault: "client";
58
+ /**
59
+ * @internal
60
+ */
61
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
62
+ }
63
+ /**
64
+ * <p>An error occurred because a replay can be canceled only when the state is Running or
65
+ * Starting.</p>
66
+ * @public
67
+ */
68
+ export declare class IllegalStatusException extends __BaseException {
69
+ readonly name: "IllegalStatusException";
70
+ readonly $fault: "client";
71
+ /**
72
+ * @internal
73
+ */
74
+ constructor(opts: __ExceptionOptionType<IllegalStatusException, __BaseException>);
75
+ }
76
+ /**
77
+ * <p>The request failed because it attempted to create resource beyond the allowed service
78
+ * quota.</p>
79
+ * @public
80
+ */
81
+ export declare class LimitExceededException extends __BaseException {
82
+ readonly name: "LimitExceededException";
83
+ readonly $fault: "client";
84
+ /**
85
+ * @internal
86
+ */
87
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
88
+ }
89
+ /**
90
+ * <p>The resource you are trying to create already exists.</p>
91
+ * @public
92
+ */
93
+ export declare class ResourceAlreadyExistsException extends __BaseException {
94
+ readonly name: "ResourceAlreadyExistsException";
95
+ readonly $fault: "client";
96
+ /**
97
+ * @internal
98
+ */
99
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
100
+ }
101
+ /**
102
+ * <p>The event pattern is not valid.</p>
103
+ * @public
104
+ */
105
+ export declare class InvalidEventPatternException extends __BaseException {
106
+ readonly name: "InvalidEventPatternException";
107
+ readonly $fault: "client";
108
+ /**
109
+ * @internal
110
+ */
111
+ constructor(opts: __ExceptionOptionType<InvalidEventPatternException, __BaseException>);
112
+ }
113
+ /**
114
+ * <p>This rule was created by an Amazon Web Services service on behalf of your account. It is managed by that
115
+ * service. If you see this error in response to <code>DeleteRule</code> or
116
+ * <code>RemoveTargets</code>, you can use the <code>Force</code> parameter in those calls to
117
+ * delete the rule or remove targets from the rule. You cannot modify these managed rules by
118
+ * using <code>DisableRule</code>, <code>EnableRule</code>, <code>PutTargets</code>,
119
+ * <code>PutRule</code>, <code>TagResource</code>, or <code>UntagResource</code>. </p>
120
+ * @public
121
+ */
122
+ export declare class ManagedRuleException extends __BaseException {
123
+ readonly name: "ManagedRuleException";
124
+ readonly $fault: "client";
125
+ /**
126
+ * @internal
127
+ */
128
+ constructor(opts: __ExceptionOptionType<ManagedRuleException, __BaseException>);
129
+ }
130
+ /**
131
+ * <p>The event bus policy is too long. For more information, see the limits.</p>
132
+ * @public
133
+ */
134
+ export declare class PolicyLengthExceededException extends __BaseException {
135
+ readonly name: "PolicyLengthExceededException";
136
+ readonly $fault: "client";
137
+ /**
138
+ * @internal
139
+ */
140
+ constructor(opts: __ExceptionOptionType<PolicyLengthExceededException, __BaseException>);
141
+ }