@aws-sdk/client-eventbridge 3.300.0 → 3.303.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.
Files changed (61) hide show
  1. package/dist-cjs/models/models_0.js +91 -107
  2. package/dist-es/models/models_0.js +91 -107
  3. package/dist-types/commands/ActivateEventSourceCommand.d.ts +1 -1
  4. package/dist-types/commands/CancelReplayCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateApiDestinationCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateArchiveCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateConnectionCommand.d.ts +13 -13
  8. package/dist-types/commands/CreateEndpointCommand.d.ts +8 -8
  9. package/dist-types/commands/CreateEventBusCommand.d.ts +3 -3
  10. package/dist-types/commands/CreatePartnerEventSourceCommand.d.ts +1 -1
  11. package/dist-types/commands/DeactivateEventSourceCommand.d.ts +1 -1
  12. package/dist-types/commands/DeauthorizeConnectionCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteApiDestinationCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteArchiveCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteConnectionCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteEndpointCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteEventBusCommand.d.ts +1 -1
  18. package/dist-types/commands/DeletePartnerEventSourceCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteRuleCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeApiDestinationCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeArchiveCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeConnectionCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeEventBusCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeEventSourceCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribePartnerEventSourceCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeReplayCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeRuleCommand.d.ts +1 -1
  29. package/dist-types/commands/DisableRuleCommand.d.ts +1 -1
  30. package/dist-types/commands/EnableRuleCommand.d.ts +1 -1
  31. package/dist-types/commands/ListApiDestinationsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListArchivesCommand.d.ts +1 -1
  33. package/dist-types/commands/ListConnectionsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListEndpointsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListEventBusesCommand.d.ts +1 -1
  36. package/dist-types/commands/ListEventSourcesCommand.d.ts +1 -1
  37. package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListPartnerEventSourcesCommand.d.ts +1 -1
  39. package/dist-types/commands/ListReplaysCommand.d.ts +1 -1
  40. package/dist-types/commands/ListRuleNamesByTargetCommand.d.ts +1 -1
  41. package/dist-types/commands/ListRulesCommand.d.ts +1 -1
  42. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  43. package/dist-types/commands/ListTargetsByRuleCommand.d.ts +1 -1
  44. package/dist-types/commands/PutEventsCommand.d.ts +4 -4
  45. package/dist-types/commands/PutPartnerEventsCommand.d.ts +4 -4
  46. package/dist-types/commands/PutPermissionCommand.d.ts +2 -2
  47. package/dist-types/commands/PutRuleCommand.d.ts +3 -3
  48. package/dist-types/commands/PutTargetsCommand.d.ts +36 -36
  49. package/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
  50. package/dist-types/commands/RemoveTargetsCommand.d.ts +2 -2
  51. package/dist-types/commands/StartReplayCommand.d.ts +3 -3
  52. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  53. package/dist-types/commands/TestEventPatternCommand.d.ts +1 -1
  54. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  55. package/dist-types/commands/UpdateApiDestinationCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateArchiveCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateConnectionCommand.d.ts +13 -13
  58. package/dist-types/commands/UpdateEndpointCommand.d.ts +8 -8
  59. package/dist-types/models/models_0.d.ts +171 -91
  60. package/dist-types/ts3.4/models/models_0.d.ts +117 -91
  61. package/package.json +35 -35
@@ -67,44 +67,39 @@ class ResourceNotFoundException extends EventBridgeServiceException_1.EventBridg
67
67
  }
68
68
  }
69
69
  exports.ResourceNotFoundException = ResourceNotFoundException;
70
- var ApiDestinationState;
71
- (function (ApiDestinationState) {
72
- ApiDestinationState["ACTIVE"] = "ACTIVE";
73
- ApiDestinationState["INACTIVE"] = "INACTIVE";
74
- })(ApiDestinationState = exports.ApiDestinationState || (exports.ApiDestinationState = {}));
75
- var ApiDestinationHttpMethod;
76
- (function (ApiDestinationHttpMethod) {
77
- ApiDestinationHttpMethod["DELETE"] = "DELETE";
78
- ApiDestinationHttpMethod["GET"] = "GET";
79
- ApiDestinationHttpMethod["HEAD"] = "HEAD";
80
- ApiDestinationHttpMethod["OPTIONS"] = "OPTIONS";
81
- ApiDestinationHttpMethod["PATCH"] = "PATCH";
82
- ApiDestinationHttpMethod["POST"] = "POST";
83
- ApiDestinationHttpMethod["PUT"] = "PUT";
84
- })(ApiDestinationHttpMethod = exports.ApiDestinationHttpMethod || (exports.ApiDestinationHttpMethod = {}));
85
- var ArchiveState;
86
- (function (ArchiveState) {
87
- ArchiveState["CREATE_FAILED"] = "CREATE_FAILED";
88
- ArchiveState["CREATING"] = "CREATING";
89
- ArchiveState["DISABLED"] = "DISABLED";
90
- ArchiveState["ENABLED"] = "ENABLED";
91
- ArchiveState["UPDATE_FAILED"] = "UPDATE_FAILED";
92
- ArchiveState["UPDATING"] = "UPDATING";
93
- })(ArchiveState = exports.ArchiveState || (exports.ArchiveState = {}));
94
- var AssignPublicIp;
95
- (function (AssignPublicIp) {
96
- AssignPublicIp["DISABLED"] = "DISABLED";
97
- AssignPublicIp["ENABLED"] = "ENABLED";
98
- })(AssignPublicIp = exports.AssignPublicIp || (exports.AssignPublicIp = {}));
99
- var ReplayState;
100
- (function (ReplayState) {
101
- ReplayState["CANCELLED"] = "CANCELLED";
102
- ReplayState["CANCELLING"] = "CANCELLING";
103
- ReplayState["COMPLETED"] = "COMPLETED";
104
- ReplayState["FAILED"] = "FAILED";
105
- ReplayState["RUNNING"] = "RUNNING";
106
- ReplayState["STARTING"] = "STARTING";
107
- })(ReplayState = exports.ReplayState || (exports.ReplayState = {}));
70
+ exports.ApiDestinationState = {
71
+ ACTIVE: "ACTIVE",
72
+ INACTIVE: "INACTIVE",
73
+ };
74
+ exports.ApiDestinationHttpMethod = {
75
+ DELETE: "DELETE",
76
+ GET: "GET",
77
+ HEAD: "HEAD",
78
+ OPTIONS: "OPTIONS",
79
+ PATCH: "PATCH",
80
+ POST: "POST",
81
+ PUT: "PUT",
82
+ };
83
+ exports.ArchiveState = {
84
+ CREATE_FAILED: "CREATE_FAILED",
85
+ CREATING: "CREATING",
86
+ DISABLED: "DISABLED",
87
+ ENABLED: "ENABLED",
88
+ UPDATE_FAILED: "UPDATE_FAILED",
89
+ UPDATING: "UPDATING",
90
+ };
91
+ exports.AssignPublicIp = {
92
+ DISABLED: "DISABLED",
93
+ ENABLED: "ENABLED",
94
+ };
95
+ exports.ReplayState = {
96
+ CANCELLED: "CANCELLED",
97
+ CANCELLING: "CANCELLING",
98
+ COMPLETED: "COMPLETED",
99
+ FAILED: "FAILED",
100
+ RUNNING: "RUNNING",
101
+ STARTING: "STARTING",
102
+ };
108
103
  class IllegalStatusException extends EventBridgeServiceException_1.EventBridgeServiceException {
109
104
  constructor(opts) {
110
105
  super({
@@ -157,43 +152,38 @@ class InvalidEventPatternException extends EventBridgeServiceException_1.EventBr
157
152
  }
158
153
  }
159
154
  exports.InvalidEventPatternException = InvalidEventPatternException;
160
- var ConnectionAuthorizationType;
161
- (function (ConnectionAuthorizationType) {
162
- ConnectionAuthorizationType["API_KEY"] = "API_KEY";
163
- ConnectionAuthorizationType["BASIC"] = "BASIC";
164
- ConnectionAuthorizationType["OAUTH_CLIENT_CREDENTIALS"] = "OAUTH_CLIENT_CREDENTIALS";
165
- })(ConnectionAuthorizationType = exports.ConnectionAuthorizationType || (exports.ConnectionAuthorizationType = {}));
166
- var ConnectionOAuthHttpMethod;
167
- (function (ConnectionOAuthHttpMethod) {
168
- ConnectionOAuthHttpMethod["GET"] = "GET";
169
- ConnectionOAuthHttpMethod["POST"] = "POST";
170
- ConnectionOAuthHttpMethod["PUT"] = "PUT";
171
- })(ConnectionOAuthHttpMethod = exports.ConnectionOAuthHttpMethod || (exports.ConnectionOAuthHttpMethod = {}));
172
- var ConnectionState;
173
- (function (ConnectionState) {
174
- ConnectionState["AUTHORIZED"] = "AUTHORIZED";
175
- ConnectionState["AUTHORIZING"] = "AUTHORIZING";
176
- ConnectionState["CREATING"] = "CREATING";
177
- ConnectionState["DEAUTHORIZED"] = "DEAUTHORIZED";
178
- ConnectionState["DEAUTHORIZING"] = "DEAUTHORIZING";
179
- ConnectionState["DELETING"] = "DELETING";
180
- ConnectionState["UPDATING"] = "UPDATING";
181
- })(ConnectionState = exports.ConnectionState || (exports.ConnectionState = {}));
182
- var ReplicationState;
183
- (function (ReplicationState) {
184
- ReplicationState["DISABLED"] = "DISABLED";
185
- ReplicationState["ENABLED"] = "ENABLED";
186
- })(ReplicationState = exports.ReplicationState || (exports.ReplicationState = {}));
187
- var EndpointState;
188
- (function (EndpointState) {
189
- EndpointState["ACTIVE"] = "ACTIVE";
190
- EndpointState["CREATE_FAILED"] = "CREATE_FAILED";
191
- EndpointState["CREATING"] = "CREATING";
192
- EndpointState["DELETE_FAILED"] = "DELETE_FAILED";
193
- EndpointState["DELETING"] = "DELETING";
194
- EndpointState["UPDATE_FAILED"] = "UPDATE_FAILED";
195
- EndpointState["UPDATING"] = "UPDATING";
196
- })(EndpointState = exports.EndpointState || (exports.EndpointState = {}));
155
+ exports.ConnectionAuthorizationType = {
156
+ API_KEY: "API_KEY",
157
+ BASIC: "BASIC",
158
+ OAUTH_CLIENT_CREDENTIALS: "OAUTH_CLIENT_CREDENTIALS",
159
+ };
160
+ exports.ConnectionOAuthHttpMethod = {
161
+ GET: "GET",
162
+ POST: "POST",
163
+ PUT: "PUT",
164
+ };
165
+ exports.ConnectionState = {
166
+ AUTHORIZED: "AUTHORIZED",
167
+ AUTHORIZING: "AUTHORIZING",
168
+ CREATING: "CREATING",
169
+ DEAUTHORIZED: "DEAUTHORIZED",
170
+ DEAUTHORIZING: "DEAUTHORIZING",
171
+ DELETING: "DELETING",
172
+ UPDATING: "UPDATING",
173
+ };
174
+ exports.ReplicationState = {
175
+ DISABLED: "DISABLED",
176
+ ENABLED: "ENABLED",
177
+ };
178
+ exports.EndpointState = {
179
+ ACTIVE: "ACTIVE",
180
+ CREATE_FAILED: "CREATE_FAILED",
181
+ CREATING: "CREATING",
182
+ DELETE_FAILED: "DELETE_FAILED",
183
+ DELETING: "DELETING",
184
+ UPDATE_FAILED: "UPDATE_FAILED",
185
+ UPDATING: "UPDATING",
186
+ };
197
187
  class ManagedRuleException extends EventBridgeServiceException_1.EventBridgeServiceException {
198
188
  constructor(opts) {
199
189
  super({
@@ -207,38 +197,32 @@ class ManagedRuleException extends EventBridgeServiceException_1.EventBridgeServ
207
197
  }
208
198
  }
209
199
  exports.ManagedRuleException = ManagedRuleException;
210
- var EventSourceState;
211
- (function (EventSourceState) {
212
- EventSourceState["ACTIVE"] = "ACTIVE";
213
- EventSourceState["DELETED"] = "DELETED";
214
- EventSourceState["PENDING"] = "PENDING";
215
- })(EventSourceState = exports.EventSourceState || (exports.EventSourceState = {}));
216
- var RuleState;
217
- (function (RuleState) {
218
- RuleState["DISABLED"] = "DISABLED";
219
- RuleState["ENABLED"] = "ENABLED";
220
- })(RuleState = exports.RuleState || (exports.RuleState = {}));
221
- var LaunchType;
222
- (function (LaunchType) {
223
- LaunchType["EC2"] = "EC2";
224
- LaunchType["EXTERNAL"] = "EXTERNAL";
225
- LaunchType["FARGATE"] = "FARGATE";
226
- })(LaunchType = exports.LaunchType || (exports.LaunchType = {}));
227
- var PlacementConstraintType;
228
- (function (PlacementConstraintType) {
229
- PlacementConstraintType["DISTINCT_INSTANCE"] = "distinctInstance";
230
- PlacementConstraintType["MEMBER_OF"] = "memberOf";
231
- })(PlacementConstraintType = exports.PlacementConstraintType || (exports.PlacementConstraintType = {}));
232
- var PlacementStrategyType;
233
- (function (PlacementStrategyType) {
234
- PlacementStrategyType["BINPACK"] = "binpack";
235
- PlacementStrategyType["RANDOM"] = "random";
236
- PlacementStrategyType["SPREAD"] = "spread";
237
- })(PlacementStrategyType = exports.PlacementStrategyType || (exports.PlacementStrategyType = {}));
238
- var PropagateTags;
239
- (function (PropagateTags) {
240
- PropagateTags["TASK_DEFINITION"] = "TASK_DEFINITION";
241
- })(PropagateTags = exports.PropagateTags || (exports.PropagateTags = {}));
200
+ exports.EventSourceState = {
201
+ ACTIVE: "ACTIVE",
202
+ DELETED: "DELETED",
203
+ PENDING: "PENDING",
204
+ };
205
+ exports.RuleState = {
206
+ DISABLED: "DISABLED",
207
+ ENABLED: "ENABLED",
208
+ };
209
+ exports.LaunchType = {
210
+ EC2: "EC2",
211
+ EXTERNAL: "EXTERNAL",
212
+ FARGATE: "FARGATE",
213
+ };
214
+ exports.PlacementConstraintType = {
215
+ DISTINCT_INSTANCE: "distinctInstance",
216
+ MEMBER_OF: "memberOf",
217
+ };
218
+ exports.PlacementStrategyType = {
219
+ BINPACK: "binpack",
220
+ RANDOM: "random",
221
+ SPREAD: "spread",
222
+ };
223
+ exports.PropagateTags = {
224
+ TASK_DEFINITION: "TASK_DEFINITION",
225
+ };
242
226
  class PolicyLengthExceededException extends EventBridgeServiceException_1.EventBridgeServiceException {
243
227
  constructor(opts) {
244
228
  super({
@@ -59,44 +59,39 @@ export class ResourceNotFoundException extends __BaseException {
59
59
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
60
60
  }
61
61
  }
62
- export var ApiDestinationState;
63
- (function (ApiDestinationState) {
64
- ApiDestinationState["ACTIVE"] = "ACTIVE";
65
- ApiDestinationState["INACTIVE"] = "INACTIVE";
66
- })(ApiDestinationState || (ApiDestinationState = {}));
67
- export var ApiDestinationHttpMethod;
68
- (function (ApiDestinationHttpMethod) {
69
- ApiDestinationHttpMethod["DELETE"] = "DELETE";
70
- ApiDestinationHttpMethod["GET"] = "GET";
71
- ApiDestinationHttpMethod["HEAD"] = "HEAD";
72
- ApiDestinationHttpMethod["OPTIONS"] = "OPTIONS";
73
- ApiDestinationHttpMethod["PATCH"] = "PATCH";
74
- ApiDestinationHttpMethod["POST"] = "POST";
75
- ApiDestinationHttpMethod["PUT"] = "PUT";
76
- })(ApiDestinationHttpMethod || (ApiDestinationHttpMethod = {}));
77
- export var ArchiveState;
78
- (function (ArchiveState) {
79
- ArchiveState["CREATE_FAILED"] = "CREATE_FAILED";
80
- ArchiveState["CREATING"] = "CREATING";
81
- ArchiveState["DISABLED"] = "DISABLED";
82
- ArchiveState["ENABLED"] = "ENABLED";
83
- ArchiveState["UPDATE_FAILED"] = "UPDATE_FAILED";
84
- ArchiveState["UPDATING"] = "UPDATING";
85
- })(ArchiveState || (ArchiveState = {}));
86
- export var AssignPublicIp;
87
- (function (AssignPublicIp) {
88
- AssignPublicIp["DISABLED"] = "DISABLED";
89
- AssignPublicIp["ENABLED"] = "ENABLED";
90
- })(AssignPublicIp || (AssignPublicIp = {}));
91
- export var ReplayState;
92
- (function (ReplayState) {
93
- ReplayState["CANCELLED"] = "CANCELLED";
94
- ReplayState["CANCELLING"] = "CANCELLING";
95
- ReplayState["COMPLETED"] = "COMPLETED";
96
- ReplayState["FAILED"] = "FAILED";
97
- ReplayState["RUNNING"] = "RUNNING";
98
- ReplayState["STARTING"] = "STARTING";
99
- })(ReplayState || (ReplayState = {}));
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
+ };
100
95
  export class IllegalStatusException extends __BaseException {
101
96
  constructor(opts) {
102
97
  super({
@@ -145,43 +140,38 @@ export class InvalidEventPatternException extends __BaseException {
145
140
  Object.setPrototypeOf(this, InvalidEventPatternException.prototype);
146
141
  }
147
142
  }
148
- export var ConnectionAuthorizationType;
149
- (function (ConnectionAuthorizationType) {
150
- ConnectionAuthorizationType["API_KEY"] = "API_KEY";
151
- ConnectionAuthorizationType["BASIC"] = "BASIC";
152
- ConnectionAuthorizationType["OAUTH_CLIENT_CREDENTIALS"] = "OAUTH_CLIENT_CREDENTIALS";
153
- })(ConnectionAuthorizationType || (ConnectionAuthorizationType = {}));
154
- export var ConnectionOAuthHttpMethod;
155
- (function (ConnectionOAuthHttpMethod) {
156
- ConnectionOAuthHttpMethod["GET"] = "GET";
157
- ConnectionOAuthHttpMethod["POST"] = "POST";
158
- ConnectionOAuthHttpMethod["PUT"] = "PUT";
159
- })(ConnectionOAuthHttpMethod || (ConnectionOAuthHttpMethod = {}));
160
- export var ConnectionState;
161
- (function (ConnectionState) {
162
- ConnectionState["AUTHORIZED"] = "AUTHORIZED";
163
- ConnectionState["AUTHORIZING"] = "AUTHORIZING";
164
- ConnectionState["CREATING"] = "CREATING";
165
- ConnectionState["DEAUTHORIZED"] = "DEAUTHORIZED";
166
- ConnectionState["DEAUTHORIZING"] = "DEAUTHORIZING";
167
- ConnectionState["DELETING"] = "DELETING";
168
- ConnectionState["UPDATING"] = "UPDATING";
169
- })(ConnectionState || (ConnectionState = {}));
170
- export var ReplicationState;
171
- (function (ReplicationState) {
172
- ReplicationState["DISABLED"] = "DISABLED";
173
- ReplicationState["ENABLED"] = "ENABLED";
174
- })(ReplicationState || (ReplicationState = {}));
175
- export var EndpointState;
176
- (function (EndpointState) {
177
- EndpointState["ACTIVE"] = "ACTIVE";
178
- EndpointState["CREATE_FAILED"] = "CREATE_FAILED";
179
- EndpointState["CREATING"] = "CREATING";
180
- EndpointState["DELETE_FAILED"] = "DELETE_FAILED";
181
- EndpointState["DELETING"] = "DELETING";
182
- EndpointState["UPDATE_FAILED"] = "UPDATE_FAILED";
183
- EndpointState["UPDATING"] = "UPDATING";
184
- })(EndpointState || (EndpointState = {}));
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 const ReplicationState = {
163
+ DISABLED: "DISABLED",
164
+ ENABLED: "ENABLED",
165
+ };
166
+ export const EndpointState = {
167
+ ACTIVE: "ACTIVE",
168
+ CREATE_FAILED: "CREATE_FAILED",
169
+ CREATING: "CREATING",
170
+ DELETE_FAILED: "DELETE_FAILED",
171
+ DELETING: "DELETING",
172
+ UPDATE_FAILED: "UPDATE_FAILED",
173
+ UPDATING: "UPDATING",
174
+ };
185
175
  export class ManagedRuleException extends __BaseException {
186
176
  constructor(opts) {
187
177
  super({
@@ -194,38 +184,32 @@ export class ManagedRuleException extends __BaseException {
194
184
  Object.setPrototypeOf(this, ManagedRuleException.prototype);
195
185
  }
196
186
  }
197
- export var EventSourceState;
198
- (function (EventSourceState) {
199
- EventSourceState["ACTIVE"] = "ACTIVE";
200
- EventSourceState["DELETED"] = "DELETED";
201
- EventSourceState["PENDING"] = "PENDING";
202
- })(EventSourceState || (EventSourceState = {}));
203
- export var RuleState;
204
- (function (RuleState) {
205
- RuleState["DISABLED"] = "DISABLED";
206
- RuleState["ENABLED"] = "ENABLED";
207
- })(RuleState || (RuleState = {}));
208
- export var LaunchType;
209
- (function (LaunchType) {
210
- LaunchType["EC2"] = "EC2";
211
- LaunchType["EXTERNAL"] = "EXTERNAL";
212
- LaunchType["FARGATE"] = "FARGATE";
213
- })(LaunchType || (LaunchType = {}));
214
- export var PlacementConstraintType;
215
- (function (PlacementConstraintType) {
216
- PlacementConstraintType["DISTINCT_INSTANCE"] = "distinctInstance";
217
- PlacementConstraintType["MEMBER_OF"] = "memberOf";
218
- })(PlacementConstraintType || (PlacementConstraintType = {}));
219
- export var PlacementStrategyType;
220
- (function (PlacementStrategyType) {
221
- PlacementStrategyType["BINPACK"] = "binpack";
222
- PlacementStrategyType["RANDOM"] = "random";
223
- PlacementStrategyType["SPREAD"] = "spread";
224
- })(PlacementStrategyType || (PlacementStrategyType = {}));
225
- export var PropagateTags;
226
- (function (PropagateTags) {
227
- PropagateTags["TASK_DEFINITION"] = "TASK_DEFINITION";
228
- })(PropagateTags || (PropagateTags = {}));
187
+ export const EventSourceState = {
188
+ ACTIVE: "ACTIVE",
189
+ DELETED: "DELETED",
190
+ PENDING: "PENDING",
191
+ };
192
+ export const RuleState = {
193
+ DISABLED: "DISABLED",
194
+ ENABLED: "ENABLED",
195
+ };
196
+ export const LaunchType = {
197
+ EC2: "EC2",
198
+ EXTERNAL: "EXTERNAL",
199
+ FARGATE: "FARGATE",
200
+ };
201
+ export const PlacementConstraintType = {
202
+ DISTINCT_INSTANCE: "distinctInstance",
203
+ MEMBER_OF: "memberOf",
204
+ };
205
+ export const PlacementStrategyType = {
206
+ BINPACK: "binpack",
207
+ RANDOM: "random",
208
+ SPREAD: "spread",
209
+ };
210
+ export const PropagateTags = {
211
+ TASK_DEFINITION: "TASK_DEFINITION",
212
+ };
229
213
  export class PolicyLengthExceededException extends __BaseException {
230
214
  constructor(opts) {
231
215
  super({
@@ -27,7 +27,7 @@ export interface ActivateEventSourceCommandOutput extends __MetadataBearer {
27
27
  * import { EventBridgeClient, ActivateEventSourceCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
28
28
  * // const { EventBridgeClient, ActivateEventSourceCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
29
29
  * const client = new EventBridgeClient(config);
30
- * const input = {
30
+ * const input = { // ActivateEventSourceRequest
31
31
  * Name: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new ActivateEventSourceCommand(input);
@@ -26,7 +26,7 @@ export interface CancelReplayCommandOutput extends CancelReplayResponse, __Metad
26
26
  * import { EventBridgeClient, CancelReplayCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
27
27
  * // const { EventBridgeClient, CancelReplayCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
28
28
  * const client = new EventBridgeClient(config);
29
- * const input = {
29
+ * const input = { // CancelReplayRequest
30
30
  * ReplayName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new CancelReplayCommand(input);
@@ -27,7 +27,7 @@ export interface CreateApiDestinationCommandOutput extends CreateApiDestinationR
27
27
  * import { EventBridgeClient, CreateApiDestinationCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
28
28
  * // const { EventBridgeClient, CreateApiDestinationCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
29
29
  * const client = new EventBridgeClient(config);
30
- * const input = {
30
+ * const input = { // CreateApiDestinationRequest
31
31
  * Name: "STRING_VALUE", // required
32
32
  * Description: "STRING_VALUE",
33
33
  * ConnectionArn: "STRING_VALUE", // required
@@ -30,7 +30,7 @@ export interface CreateArchiveCommandOutput extends CreateArchiveResponse, __Met
30
30
  * import { EventBridgeClient, CreateArchiveCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
31
31
  * // const { EventBridgeClient, CreateArchiveCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
32
32
  * const client = new EventBridgeClient(config);
33
- * const input = {
33
+ * const input = { // CreateArchiveRequest
34
34
  * ArchiveName: "STRING_VALUE", // required
35
35
  * EventSourceArn: "STRING_VALUE", // required
36
36
  * Description: "STRING_VALUE",
@@ -27,39 +27,39 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
27
27
  * import { EventBridgeClient, CreateConnectionCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
28
28
  * // const { EventBridgeClient, CreateConnectionCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
29
29
  * const client = new EventBridgeClient(config);
30
- * const input = {
30
+ * const input = { // CreateConnectionRequest
31
31
  * Name: "STRING_VALUE", // required
32
32
  * Description: "STRING_VALUE",
33
33
  * AuthorizationType: "BASIC" || "OAUTH_CLIENT_CREDENTIALS" || "API_KEY", // required
34
- * AuthParameters: {
35
- * BasicAuthParameters: {
34
+ * AuthParameters: { // CreateConnectionAuthRequestParameters
35
+ * BasicAuthParameters: { // CreateConnectionBasicAuthRequestParameters
36
36
  * Username: "STRING_VALUE", // required
37
37
  * Password: "STRING_VALUE", // required
38
38
  * },
39
- * OAuthParameters: {
40
- * ClientParameters: {
39
+ * OAuthParameters: { // CreateConnectionOAuthRequestParameters
40
+ * ClientParameters: { // CreateConnectionOAuthClientRequestParameters
41
41
  * ClientID: "STRING_VALUE", // required
42
42
  * ClientSecret: "STRING_VALUE", // required
43
43
  * },
44
44
  * AuthorizationEndpoint: "STRING_VALUE", // required
45
45
  * HttpMethod: "GET" || "POST" || "PUT", // required
46
- * OAuthHttpParameters: {
47
- * HeaderParameters: [
48
- * {
46
+ * OAuthHttpParameters: { // ConnectionHttpParameters
47
+ * HeaderParameters: [ // ConnectionHeaderParametersList
48
+ * { // ConnectionHeaderParameter
49
49
  * Key: "STRING_VALUE",
50
50
  * Value: "STRING_VALUE",
51
51
  * IsValueSecret: true || false,
52
52
  * },
53
53
  * ],
54
- * QueryStringParameters: [
55
- * {
54
+ * QueryStringParameters: [ // ConnectionQueryStringParametersList
55
+ * { // ConnectionQueryStringParameter
56
56
  * Key: "STRING_VALUE",
57
57
  * Value: "STRING_VALUE",
58
58
  * IsValueSecret: true || false,
59
59
  * },
60
60
  * ],
61
- * BodyParameters: [
62
- * {
61
+ * BodyParameters: [ // ConnectionBodyParametersList
62
+ * { // ConnectionBodyParameter
63
63
  * Key: "STRING_VALUE",
64
64
  * Value: "STRING_VALUE",
65
65
  * IsValueSecret: true || false,
@@ -67,7 +67,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
67
67
  * ],
68
68
  * },
69
69
  * },
70
- * ApiKeyAuthParameters: {
70
+ * ApiKeyAuthParameters: { // CreateConnectionApiKeyAuthRequestParameters
71
71
  * ApiKeyName: "STRING_VALUE", // required
72
72
  * ApiKeyValue: "STRING_VALUE", // required
73
73
  * },
@@ -28,24 +28,24 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
28
28
  * import { EventBridgeClient, CreateEndpointCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
29
29
  * // const { EventBridgeClient, CreateEndpointCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
30
30
  * const client = new EventBridgeClient(config);
31
- * const input = {
31
+ * const input = { // CreateEndpointRequest
32
32
  * Name: "STRING_VALUE", // required
33
33
  * Description: "STRING_VALUE",
34
- * RoutingConfig: {
35
- * FailoverConfig: {
36
- * Primary: {
34
+ * RoutingConfig: { // RoutingConfig
35
+ * FailoverConfig: { // FailoverConfig
36
+ * Primary: { // Primary
37
37
  * HealthCheck: "STRING_VALUE", // required
38
38
  * },
39
- * Secondary: {
39
+ * Secondary: { // Secondary
40
40
  * Route: "STRING_VALUE", // required
41
41
  * },
42
42
  * },
43
43
  * },
44
- * ReplicationConfig: {
44
+ * ReplicationConfig: { // ReplicationConfig
45
45
  * State: "ENABLED" || "DISABLED",
46
46
  * },
47
- * EventBuses: [ // required
48
- * {
47
+ * EventBuses: [ // EndpointEventBusList // required
48
+ * { // EndpointEventBus
49
49
  * EventBusArn: "STRING_VALUE", // required
50
50
  * },
51
51
  * ],
@@ -28,11 +28,11 @@ export interface CreateEventBusCommandOutput extends CreateEventBusResponse, __M
28
28
  * import { EventBridgeClient, CreateEventBusCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
29
29
  * // const { EventBridgeClient, CreateEventBusCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
30
30
  * const client = new EventBridgeClient(config);
31
- * const input = {
31
+ * const input = { // CreateEventBusRequest
32
32
  * Name: "STRING_VALUE", // required
33
33
  * EventSourceName: "STRING_VALUE",
34
- * Tags: [
35
- * {
34
+ * Tags: [ // TagList
35
+ * { // Tag
36
36
  * Key: "STRING_VALUE", // required
37
37
  * Value: "STRING_VALUE", // required
38
38
  * },
@@ -49,7 +49,7 @@ export interface CreatePartnerEventSourceCommandOutput extends CreatePartnerEven
49
49
  * import { EventBridgeClient, CreatePartnerEventSourceCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
50
50
  * // const { EventBridgeClient, CreatePartnerEventSourceCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
51
51
  * const client = new EventBridgeClient(config);
52
- * const input = {
52
+ * const input = { // CreatePartnerEventSourceRequest
53
53
  * Name: "STRING_VALUE", // required
54
54
  * Account: "STRING_VALUE", // required
55
55
  * };
@@ -30,7 +30,7 @@ export interface DeactivateEventSourceCommandOutput extends __MetadataBearer {
30
30
  * import { EventBridgeClient, DeactivateEventSourceCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
31
31
  * // const { EventBridgeClient, DeactivateEventSourceCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
32
32
  * const client = new EventBridgeClient(config);
33
- * const input = {
33
+ * const input = { // DeactivateEventSourceRequest
34
34
  * Name: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new DeactivateEventSourceCommand(input);
@@ -27,7 +27,7 @@ export interface DeauthorizeConnectionCommandOutput extends DeauthorizeConnectio
27
27
  * import { EventBridgeClient, DeauthorizeConnectionCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
28
28
  * // const { EventBridgeClient, DeauthorizeConnectionCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
29
29
  * const client = new EventBridgeClient(config);
30
- * const input = {
30
+ * const input = { // DeauthorizeConnectionRequest
31
31
  * Name: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DeauthorizeConnectionCommand(input);