@aws-sdk/client-cloudwatch-events 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 (56) hide show
  1. package/dist-cjs/models/models_0.js +78 -92
  2. package/dist-es/models/models_0.js +78 -92
  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/CreateEventBusCommand.d.ts +3 -3
  9. package/dist-types/commands/CreatePartnerEventSourceCommand.d.ts +1 -1
  10. package/dist-types/commands/DeactivateEventSourceCommand.d.ts +1 -1
  11. package/dist-types/commands/DeauthorizeConnectionCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteApiDestinationCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteArchiveCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteConnectionCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteEventBusCommand.d.ts +1 -1
  16. package/dist-types/commands/DeletePartnerEventSourceCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteRuleCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeApiDestinationCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeArchiveCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeConnectionCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeEventBusCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeEventSourceCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribePartnerEventSourceCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeReplayCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeRuleCommand.d.ts +1 -1
  26. package/dist-types/commands/DisableRuleCommand.d.ts +1 -1
  27. package/dist-types/commands/EnableRuleCommand.d.ts +1 -1
  28. package/dist-types/commands/ListApiDestinationsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListArchivesCommand.d.ts +1 -1
  30. package/dist-types/commands/ListConnectionsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListEventBusesCommand.d.ts +1 -1
  32. package/dist-types/commands/ListEventSourcesCommand.d.ts +1 -1
  33. package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListPartnerEventSourcesCommand.d.ts +1 -1
  35. package/dist-types/commands/ListReplaysCommand.d.ts +1 -1
  36. package/dist-types/commands/ListRuleNamesByTargetCommand.d.ts +1 -1
  37. package/dist-types/commands/ListRulesCommand.d.ts +1 -1
  38. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  39. package/dist-types/commands/ListTargetsByRuleCommand.d.ts +1 -1
  40. package/dist-types/commands/PutEventsCommand.d.ts +4 -4
  41. package/dist-types/commands/PutPartnerEventsCommand.d.ts +4 -4
  42. package/dist-types/commands/PutPermissionCommand.d.ts +2 -2
  43. package/dist-types/commands/PutRuleCommand.d.ts +3 -3
  44. package/dist-types/commands/PutTargetsCommand.d.ts +36 -36
  45. package/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
  46. package/dist-types/commands/RemoveTargetsCommand.d.ts +2 -2
  47. package/dist-types/commands/StartReplayCommand.d.ts +3 -3
  48. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  49. package/dist-types/commands/TestEventPatternCommand.d.ts +1 -1
  50. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  51. package/dist-types/commands/UpdateApiDestinationCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateArchiveCommand.d.ts +1 -1
  53. package/dist-types/commands/UpdateConnectionCommand.d.ts +13 -13
  54. package/dist-types/models/models_0.d.ts +148 -78
  55. package/dist-types/ts3.4/models/models_0.d.ts +101 -78
  56. package/package.json +34 -34
@@ -67,44 +67,39 @@ class ResourceNotFoundException extends CloudWatchEventsServiceException_1.Cloud
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 CloudWatchEventsServiceException_1.CloudWatchEventsServiceException {
109
104
  constructor(opts) {
110
105
  super({
@@ -157,28 +152,25 @@ class InvalidEventPatternException extends CloudWatchEventsServiceException_1.Cl
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 = {}));
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
+ };
182
174
  class ManagedRuleException extends CloudWatchEventsServiceException_1.CloudWatchEventsServiceException {
183
175
  constructor(opts) {
184
176
  super({
@@ -192,38 +184,32 @@ class ManagedRuleException extends CloudWatchEventsServiceException_1.CloudWatch
192
184
  }
193
185
  }
194
186
  exports.ManagedRuleException = ManagedRuleException;
195
- var EventSourceState;
196
- (function (EventSourceState) {
197
- EventSourceState["ACTIVE"] = "ACTIVE";
198
- EventSourceState["DELETED"] = "DELETED";
199
- EventSourceState["PENDING"] = "PENDING";
200
- })(EventSourceState = exports.EventSourceState || (exports.EventSourceState = {}));
201
- var RuleState;
202
- (function (RuleState) {
203
- RuleState["DISABLED"] = "DISABLED";
204
- RuleState["ENABLED"] = "ENABLED";
205
- })(RuleState = exports.RuleState || (exports.RuleState = {}));
206
- var LaunchType;
207
- (function (LaunchType) {
208
- LaunchType["EC2"] = "EC2";
209
- LaunchType["EXTERNAL"] = "EXTERNAL";
210
- LaunchType["FARGATE"] = "FARGATE";
211
- })(LaunchType = exports.LaunchType || (exports.LaunchType = {}));
212
- var PlacementConstraintType;
213
- (function (PlacementConstraintType) {
214
- PlacementConstraintType["DISTINCT_INSTANCE"] = "distinctInstance";
215
- PlacementConstraintType["MEMBER_OF"] = "memberOf";
216
- })(PlacementConstraintType = exports.PlacementConstraintType || (exports.PlacementConstraintType = {}));
217
- var PlacementStrategyType;
218
- (function (PlacementStrategyType) {
219
- PlacementStrategyType["BINPACK"] = "binpack";
220
- PlacementStrategyType["RANDOM"] = "random";
221
- PlacementStrategyType["SPREAD"] = "spread";
222
- })(PlacementStrategyType = exports.PlacementStrategyType || (exports.PlacementStrategyType = {}));
223
- var PropagateTags;
224
- (function (PropagateTags) {
225
- PropagateTags["TASK_DEFINITION"] = "TASK_DEFINITION";
226
- })(PropagateTags = exports.PropagateTags || (exports.PropagateTags = {}));
187
+ exports.EventSourceState = {
188
+ ACTIVE: "ACTIVE",
189
+ DELETED: "DELETED",
190
+ PENDING: "PENDING",
191
+ };
192
+ exports.RuleState = {
193
+ DISABLED: "DISABLED",
194
+ ENABLED: "ENABLED",
195
+ };
196
+ exports.LaunchType = {
197
+ EC2: "EC2",
198
+ EXTERNAL: "EXTERNAL",
199
+ FARGATE: "FARGATE",
200
+ };
201
+ exports.PlacementConstraintType = {
202
+ DISTINCT_INSTANCE: "distinctInstance",
203
+ MEMBER_OF: "memberOf",
204
+ };
205
+ exports.PlacementStrategyType = {
206
+ BINPACK: "binpack",
207
+ RANDOM: "random",
208
+ SPREAD: "spread",
209
+ };
210
+ exports.PropagateTags = {
211
+ TASK_DEFINITION: "TASK_DEFINITION",
212
+ };
227
213
  class PolicyLengthExceededException extends CloudWatchEventsServiceException_1.CloudWatchEventsServiceException {
228
214
  constructor(opts) {
229
215
  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,28 +140,25 @@ 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 = {}));
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
+ };
170
162
  export class ManagedRuleException extends __BaseException {
171
163
  constructor(opts) {
172
164
  super({
@@ -179,38 +171,32 @@ export class ManagedRuleException extends __BaseException {
179
171
  Object.setPrototypeOf(this, ManagedRuleException.prototype);
180
172
  }
181
173
  }
182
- export var EventSourceState;
183
- (function (EventSourceState) {
184
- EventSourceState["ACTIVE"] = "ACTIVE";
185
- EventSourceState["DELETED"] = "DELETED";
186
- EventSourceState["PENDING"] = "PENDING";
187
- })(EventSourceState || (EventSourceState = {}));
188
- export var RuleState;
189
- (function (RuleState) {
190
- RuleState["DISABLED"] = "DISABLED";
191
- RuleState["ENABLED"] = "ENABLED";
192
- })(RuleState || (RuleState = {}));
193
- export var LaunchType;
194
- (function (LaunchType) {
195
- LaunchType["EC2"] = "EC2";
196
- LaunchType["EXTERNAL"] = "EXTERNAL";
197
- LaunchType["FARGATE"] = "FARGATE";
198
- })(LaunchType || (LaunchType = {}));
199
- export var PlacementConstraintType;
200
- (function (PlacementConstraintType) {
201
- PlacementConstraintType["DISTINCT_INSTANCE"] = "distinctInstance";
202
- PlacementConstraintType["MEMBER_OF"] = "memberOf";
203
- })(PlacementConstraintType || (PlacementConstraintType = {}));
204
- export var PlacementStrategyType;
205
- (function (PlacementStrategyType) {
206
- PlacementStrategyType["BINPACK"] = "binpack";
207
- PlacementStrategyType["RANDOM"] = "random";
208
- PlacementStrategyType["SPREAD"] = "spread";
209
- })(PlacementStrategyType || (PlacementStrategyType = {}));
210
- export var PropagateTags;
211
- (function (PropagateTags) {
212
- PropagateTags["TASK_DEFINITION"] = "TASK_DEFINITION";
213
- })(PropagateTags || (PropagateTags = {}));
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
+ };
214
200
  export class PolicyLengthExceededException extends __BaseException {
215
201
  constructor(opts) {
216
202
  super({
@@ -27,7 +27,7 @@ export interface ActivateEventSourceCommandOutput extends __MetadataBearer {
27
27
  * import { CloudWatchEventsClient, ActivateEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, ActivateEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(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 { CloudWatchEventsClient, CancelReplayCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, CancelReplayCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(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 { CloudWatchEventsClient, CreateApiDestinationCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, CreateApiDestinationCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(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 { CloudWatchEventsClient, CreateArchiveCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
31
31
  * // const { CloudWatchEventsClient, CreateArchiveCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
32
32
  * const client = new CloudWatchEventsClient(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 { CloudWatchEventsClient, CreateConnectionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, CreateConnectionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
- * const input = {
30
+ * const input = { // CreateConnectionRequest
31
31
  * Name: "STRING_VALUE", // required
32
32
  * Description: "STRING_VALUE",
33
33
  * AuthorizationType: "STRING_VALUE", // 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: "STRING_VALUE", // 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,11 +28,11 @@ export interface CreateEventBusCommandOutput extends CreateEventBusResponse, __M
28
28
  * import { CloudWatchEventsClient, CreateEventBusCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
29
29
  * // const { CloudWatchEventsClient, CreateEventBusCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
30
30
  * const client = new CloudWatchEventsClient(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 { CloudWatchEventsClient, CreatePartnerEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
50
50
  * // const { CloudWatchEventsClient, CreatePartnerEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
51
51
  * const client = new CloudWatchEventsClient(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 { CloudWatchEventsClient, DeactivateEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
31
31
  * // const { CloudWatchEventsClient, DeactivateEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
32
32
  * const client = new CloudWatchEventsClient(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 { CloudWatchEventsClient, DeauthorizeConnectionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, DeauthorizeConnectionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
- * const input = {
30
+ * const input = { // DeauthorizeConnectionRequest
31
31
  * Name: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DeauthorizeConnectionCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteApiDestinationCommandOutput extends DeleteApiDestinationR
26
26
  * import { CloudWatchEventsClient, DeleteApiDestinationCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, DeleteApiDestinationCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
- * const input = {
29
+ * const input = { // DeleteApiDestinationRequest
30
30
  * Name: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteApiDestinationCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteArchiveCommandOutput extends DeleteArchiveResponse, __Met
26
26
  * import { CloudWatchEventsClient, DeleteArchiveCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, DeleteArchiveCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
- * const input = {
29
+ * const input = { // DeleteArchiveRequest
30
30
  * ArchiveName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteArchiveCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteConnectionCommandOutput extends DeleteConnectionResponse,
26
26
  * import { CloudWatchEventsClient, DeleteConnectionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, DeleteConnectionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
- * const input = {
29
+ * const input = { // DeleteConnectionRequest
30
30
  * Name: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteConnectionCommand(input);
@@ -27,7 +27,7 @@ export interface DeleteEventBusCommandOutput extends __MetadataBearer {
27
27
  * import { CloudWatchEventsClient, DeleteEventBusCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, DeleteEventBusCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
- * const input = {
30
+ * const input = { // DeleteEventBusRequest
31
31
  * Name: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DeleteEventBusCommand(input);
@@ -30,7 +30,7 @@ export interface DeletePartnerEventSourceCommandOutput extends __MetadataBearer
30
30
  * import { CloudWatchEventsClient, DeletePartnerEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
31
31
  * // const { CloudWatchEventsClient, DeletePartnerEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
32
32
  * const client = new CloudWatchEventsClient(config);
33
- * const input = {
33
+ * const input = { // DeletePartnerEventSourceRequest
34
34
  * Name: "STRING_VALUE", // required
35
35
  * Account: "STRING_VALUE", // required
36
36
  * };
@@ -39,7 +39,7 @@ export interface DeleteRuleCommandOutput extends __MetadataBearer {
39
39
  * import { CloudWatchEventsClient, DeleteRuleCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
40
40
  * // const { CloudWatchEventsClient, DeleteRuleCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
41
41
  * const client = new CloudWatchEventsClient(config);
42
- * const input = {
42
+ * const input = { // DeleteRuleRequest
43
43
  * Name: "STRING_VALUE", // required
44
44
  * EventBusName: "STRING_VALUE",
45
45
  * Force: true || false,
@@ -26,7 +26,7 @@ export interface DescribeApiDestinationCommandOutput extends DescribeApiDestinat
26
26
  * import { CloudWatchEventsClient, DescribeApiDestinationCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, DescribeApiDestinationCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
- * const input = {
29
+ * const input = { // DescribeApiDestinationRequest
30
30
  * Name: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeApiDestinationCommand(input);
@@ -26,7 +26,7 @@ export interface DescribeArchiveCommandOutput extends DescribeArchiveResponse, _
26
26
  * import { CloudWatchEventsClient, DescribeArchiveCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, DescribeArchiveCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
- * const input = {
29
+ * const input = { // DescribeArchiveRequest
30
30
  * ArchiveName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeArchiveCommand(input);