@aws-sdk/client-cloudwatch-events 3.1137.0 → 3.1139.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1138.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -672,10 +672,10 @@ const _se = "server";
672
672
  const _t = "type";
673
673
  const _w = "weight";
674
674
  const n0 = "com.amazonaws.cloudwatchevents";
675
- const _s_registry = TypeRegistry.for(_s);
675
+ const _s_registry = new TypeRegistry(_s);
676
676
  var CloudWatchEventsServiceException$ = [-3, _s, "CloudWatchEventsServiceException", 0, [], []];
677
677
  _s_registry.registerError(CloudWatchEventsServiceException$, CloudWatchEventsServiceException);
678
- const n0_registry = TypeRegistry.for(n0);
678
+ const n0_registry = new TypeRegistry(n0);
679
679
  var ConcurrentModificationException$ = [-3, n0, _CME,
680
680
  { [_e]: _c },
681
681
  [_m],
@@ -396,10 +396,10 @@ const n0 = "com.amazonaws.cloudwatchevents";
396
396
  import { TypeRegistry } from "@smithy/core/schema";
397
397
  import { CloudWatchEventsServiceException } from "../models/CloudWatchEventsServiceException";
398
398
  import { ConcurrentModificationException, IllegalStatusException, InternalException, InvalidEventPatternException, InvalidStateException, LimitExceededException, ManagedRuleException, OperationDisabledException, PolicyLengthExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, } from "../models/errors";
399
- const _s_registry = TypeRegistry.for(_s);
399
+ const _s_registry = new TypeRegistry(_s);
400
400
  export var CloudWatchEventsServiceException$ = [-3, _s, "CloudWatchEventsServiceException", 0, [], []];
401
401
  _s_registry.registerError(CloudWatchEventsServiceException$, CloudWatchEventsServiceException);
402
- const n0_registry = TypeRegistry.for(n0);
402
+ const n0_registry = new TypeRegistry(n0);
403
403
  export var ConcurrentModificationException$ = [-3, n0, _CME,
404
404
  { [_e]: _c },
405
405
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
2
2
  import { CloudWatchEventsClient } from "./CloudWatchEventsClient";
3
3
  import { type ActivateEventSourceCommandInput, type ActivateEventSourceCommandOutput } from "./commands/ActivateEventSourceCommand";
4
4
  import { type CancelReplayCommandInput, type CancelReplayCommandOutput } from "./commands/CancelReplayCommand";
@@ -51,323 +51,329 @@ import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from
51
51
  import { type UpdateApiDestinationCommandInput, type UpdateApiDestinationCommandOutput } from "./commands/UpdateApiDestinationCommand";
52
52
  import { type UpdateArchiveCommandInput, type UpdateArchiveCommandOutput } from "./commands/UpdateArchiveCommand";
53
53
  import { type UpdateConnectionCommandInput, type UpdateConnectionCommandOutput } from "./commands/UpdateConnectionCommand";
54
+ /**
55
+ * @public
56
+ */
57
+ export interface CloudWatchEventsRequestOptions extends __HttpHandlerOptions {
58
+ metricsRecorder?: __MetricsRecorder<unknown>;
59
+ }
54
60
  export interface CloudWatchEvents {
55
61
  /**
56
62
  * @see {@link ActivateEventSourceCommand}
57
63
  */
58
- activateEventSource(args: ActivateEventSourceCommandInput, options?: __HttpHandlerOptions): Promise<ActivateEventSourceCommandOutput>;
64
+ activateEventSource(args: ActivateEventSourceCommandInput, options?: CloudWatchEventsRequestOptions): Promise<ActivateEventSourceCommandOutput>;
59
65
  activateEventSource(args: ActivateEventSourceCommandInput, cb: (err: any, data?: ActivateEventSourceCommandOutput) => void): void;
60
- activateEventSource(args: ActivateEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ActivateEventSourceCommandOutput) => void): void;
66
+ activateEventSource(args: ActivateEventSourceCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: ActivateEventSourceCommandOutput) => void): void;
61
67
  /**
62
68
  * @see {@link CancelReplayCommand}
63
69
  */
64
- cancelReplay(args: CancelReplayCommandInput, options?: __HttpHandlerOptions): Promise<CancelReplayCommandOutput>;
70
+ cancelReplay(args: CancelReplayCommandInput, options?: CloudWatchEventsRequestOptions): Promise<CancelReplayCommandOutput>;
65
71
  cancelReplay(args: CancelReplayCommandInput, cb: (err: any, data?: CancelReplayCommandOutput) => void): void;
66
- cancelReplay(args: CancelReplayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelReplayCommandOutput) => void): void;
72
+ cancelReplay(args: CancelReplayCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: CancelReplayCommandOutput) => void): void;
67
73
  /**
68
74
  * @see {@link CreateApiDestinationCommand}
69
75
  */
70
- createApiDestination(args: CreateApiDestinationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApiDestinationCommandOutput>;
76
+ createApiDestination(args: CreateApiDestinationCommandInput, options?: CloudWatchEventsRequestOptions): Promise<CreateApiDestinationCommandOutput>;
71
77
  createApiDestination(args: CreateApiDestinationCommandInput, cb: (err: any, data?: CreateApiDestinationCommandOutput) => void): void;
72
- createApiDestination(args: CreateApiDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApiDestinationCommandOutput) => void): void;
78
+ createApiDestination(args: CreateApiDestinationCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: CreateApiDestinationCommandOutput) => void): void;
73
79
  /**
74
80
  * @see {@link CreateArchiveCommand}
75
81
  */
76
- createArchive(args: CreateArchiveCommandInput, options?: __HttpHandlerOptions): Promise<CreateArchiveCommandOutput>;
82
+ createArchive(args: CreateArchiveCommandInput, options?: CloudWatchEventsRequestOptions): Promise<CreateArchiveCommandOutput>;
77
83
  createArchive(args: CreateArchiveCommandInput, cb: (err: any, data?: CreateArchiveCommandOutput) => void): void;
78
- createArchive(args: CreateArchiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateArchiveCommandOutput) => void): void;
84
+ createArchive(args: CreateArchiveCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: CreateArchiveCommandOutput) => void): void;
79
85
  /**
80
86
  * @see {@link CreateConnectionCommand}
81
87
  */
82
- createConnection(args: CreateConnectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectionCommandOutput>;
88
+ createConnection(args: CreateConnectionCommandInput, options?: CloudWatchEventsRequestOptions): Promise<CreateConnectionCommandOutput>;
83
89
  createConnection(args: CreateConnectionCommandInput, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void;
84
- createConnection(args: CreateConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void;
90
+ createConnection(args: CreateConnectionCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void;
85
91
  /**
86
92
  * @see {@link CreateEventBusCommand}
87
93
  */
88
- createEventBus(args: CreateEventBusCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventBusCommandOutput>;
94
+ createEventBus(args: CreateEventBusCommandInput, options?: CloudWatchEventsRequestOptions): Promise<CreateEventBusCommandOutput>;
89
95
  createEventBus(args: CreateEventBusCommandInput, cb: (err: any, data?: CreateEventBusCommandOutput) => void): void;
90
- createEventBus(args: CreateEventBusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventBusCommandOutput) => void): void;
96
+ createEventBus(args: CreateEventBusCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: CreateEventBusCommandOutput) => void): void;
91
97
  /**
92
98
  * @see {@link CreatePartnerEventSourceCommand}
93
99
  */
94
- createPartnerEventSource(args: CreatePartnerEventSourceCommandInput, options?: __HttpHandlerOptions): Promise<CreatePartnerEventSourceCommandOutput>;
100
+ createPartnerEventSource(args: CreatePartnerEventSourceCommandInput, options?: CloudWatchEventsRequestOptions): Promise<CreatePartnerEventSourceCommandOutput>;
95
101
  createPartnerEventSource(args: CreatePartnerEventSourceCommandInput, cb: (err: any, data?: CreatePartnerEventSourceCommandOutput) => void): void;
96
- createPartnerEventSource(args: CreatePartnerEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePartnerEventSourceCommandOutput) => void): void;
102
+ createPartnerEventSource(args: CreatePartnerEventSourceCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: CreatePartnerEventSourceCommandOutput) => void): void;
97
103
  /**
98
104
  * @see {@link DeactivateEventSourceCommand}
99
105
  */
100
- deactivateEventSource(args: DeactivateEventSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeactivateEventSourceCommandOutput>;
106
+ deactivateEventSource(args: DeactivateEventSourceCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DeactivateEventSourceCommandOutput>;
101
107
  deactivateEventSource(args: DeactivateEventSourceCommandInput, cb: (err: any, data?: DeactivateEventSourceCommandOutput) => void): void;
102
- deactivateEventSource(args: DeactivateEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeactivateEventSourceCommandOutput) => void): void;
108
+ deactivateEventSource(args: DeactivateEventSourceCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DeactivateEventSourceCommandOutput) => void): void;
103
109
  /**
104
110
  * @see {@link DeauthorizeConnectionCommand}
105
111
  */
106
- deauthorizeConnection(args: DeauthorizeConnectionCommandInput, options?: __HttpHandlerOptions): Promise<DeauthorizeConnectionCommandOutput>;
112
+ deauthorizeConnection(args: DeauthorizeConnectionCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DeauthorizeConnectionCommandOutput>;
107
113
  deauthorizeConnection(args: DeauthorizeConnectionCommandInput, cb: (err: any, data?: DeauthorizeConnectionCommandOutput) => void): void;
108
- deauthorizeConnection(args: DeauthorizeConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeauthorizeConnectionCommandOutput) => void): void;
114
+ deauthorizeConnection(args: DeauthorizeConnectionCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DeauthorizeConnectionCommandOutput) => void): void;
109
115
  /**
110
116
  * @see {@link DeleteApiDestinationCommand}
111
117
  */
112
- deleteApiDestination(args: DeleteApiDestinationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApiDestinationCommandOutput>;
118
+ deleteApiDestination(args: DeleteApiDestinationCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DeleteApiDestinationCommandOutput>;
113
119
  deleteApiDestination(args: DeleteApiDestinationCommandInput, cb: (err: any, data?: DeleteApiDestinationCommandOutput) => void): void;
114
- deleteApiDestination(args: DeleteApiDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApiDestinationCommandOutput) => void): void;
120
+ deleteApiDestination(args: DeleteApiDestinationCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DeleteApiDestinationCommandOutput) => void): void;
115
121
  /**
116
122
  * @see {@link DeleteArchiveCommand}
117
123
  */
118
- deleteArchive(args: DeleteArchiveCommandInput, options?: __HttpHandlerOptions): Promise<DeleteArchiveCommandOutput>;
124
+ deleteArchive(args: DeleteArchiveCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DeleteArchiveCommandOutput>;
119
125
  deleteArchive(args: DeleteArchiveCommandInput, cb: (err: any, data?: DeleteArchiveCommandOutput) => void): void;
120
- deleteArchive(args: DeleteArchiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteArchiveCommandOutput) => void): void;
126
+ deleteArchive(args: DeleteArchiveCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DeleteArchiveCommandOutput) => void): void;
121
127
  /**
122
128
  * @see {@link DeleteConnectionCommand}
123
129
  */
124
- deleteConnection(args: DeleteConnectionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectionCommandOutput>;
130
+ deleteConnection(args: DeleteConnectionCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DeleteConnectionCommandOutput>;
125
131
  deleteConnection(args: DeleteConnectionCommandInput, cb: (err: any, data?: DeleteConnectionCommandOutput) => void): void;
126
- deleteConnection(args: DeleteConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectionCommandOutput) => void): void;
132
+ deleteConnection(args: DeleteConnectionCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DeleteConnectionCommandOutput) => void): void;
127
133
  /**
128
134
  * @see {@link DeleteEventBusCommand}
129
135
  */
130
- deleteEventBus(args: DeleteEventBusCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEventBusCommandOutput>;
136
+ deleteEventBus(args: DeleteEventBusCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DeleteEventBusCommandOutput>;
131
137
  deleteEventBus(args: DeleteEventBusCommandInput, cb: (err: any, data?: DeleteEventBusCommandOutput) => void): void;
132
- deleteEventBus(args: DeleteEventBusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventBusCommandOutput) => void): void;
138
+ deleteEventBus(args: DeleteEventBusCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DeleteEventBusCommandOutput) => void): void;
133
139
  /**
134
140
  * @see {@link DeletePartnerEventSourceCommand}
135
141
  */
136
- deletePartnerEventSource(args: DeletePartnerEventSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeletePartnerEventSourceCommandOutput>;
142
+ deletePartnerEventSource(args: DeletePartnerEventSourceCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DeletePartnerEventSourceCommandOutput>;
137
143
  deletePartnerEventSource(args: DeletePartnerEventSourceCommandInput, cb: (err: any, data?: DeletePartnerEventSourceCommandOutput) => void): void;
138
- deletePartnerEventSource(args: DeletePartnerEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePartnerEventSourceCommandOutput) => void): void;
144
+ deletePartnerEventSource(args: DeletePartnerEventSourceCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DeletePartnerEventSourceCommandOutput) => void): void;
139
145
  /**
140
146
  * @see {@link DeleteRuleCommand}
141
147
  */
142
- deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleCommandOutput>;
148
+ deleteRule(args: DeleteRuleCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DeleteRuleCommandOutput>;
143
149
  deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
144
- deleteRule(args: DeleteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
150
+ deleteRule(args: DeleteRuleCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
145
151
  /**
146
152
  * @see {@link DescribeApiDestinationCommand}
147
153
  */
148
- describeApiDestination(args: DescribeApiDestinationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeApiDestinationCommandOutput>;
154
+ describeApiDestination(args: DescribeApiDestinationCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DescribeApiDestinationCommandOutput>;
149
155
  describeApiDestination(args: DescribeApiDestinationCommandInput, cb: (err: any, data?: DescribeApiDestinationCommandOutput) => void): void;
150
- describeApiDestination(args: DescribeApiDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeApiDestinationCommandOutput) => void): void;
156
+ describeApiDestination(args: DescribeApiDestinationCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DescribeApiDestinationCommandOutput) => void): void;
151
157
  /**
152
158
  * @see {@link DescribeArchiveCommand}
153
159
  */
154
- describeArchive(args: DescribeArchiveCommandInput, options?: __HttpHandlerOptions): Promise<DescribeArchiveCommandOutput>;
160
+ describeArchive(args: DescribeArchiveCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DescribeArchiveCommandOutput>;
155
161
  describeArchive(args: DescribeArchiveCommandInput, cb: (err: any, data?: DescribeArchiveCommandOutput) => void): void;
156
- describeArchive(args: DescribeArchiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeArchiveCommandOutput) => void): void;
162
+ describeArchive(args: DescribeArchiveCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DescribeArchiveCommandOutput) => void): void;
157
163
  /**
158
164
  * @see {@link DescribeConnectionCommand}
159
165
  */
160
- describeConnection(args: DescribeConnectionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectionCommandOutput>;
166
+ describeConnection(args: DescribeConnectionCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DescribeConnectionCommandOutput>;
161
167
  describeConnection(args: DescribeConnectionCommandInput, cb: (err: any, data?: DescribeConnectionCommandOutput) => void): void;
162
- describeConnection(args: DescribeConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectionCommandOutput) => void): void;
168
+ describeConnection(args: DescribeConnectionCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DescribeConnectionCommandOutput) => void): void;
163
169
  /**
164
170
  * @see {@link DescribeEventBusCommand}
165
171
  */
166
172
  describeEventBus(): Promise<DescribeEventBusCommandOutput>;
167
- describeEventBus(args: DescribeEventBusCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventBusCommandOutput>;
173
+ describeEventBus(args: DescribeEventBusCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DescribeEventBusCommandOutput>;
168
174
  describeEventBus(args: DescribeEventBusCommandInput, cb: (err: any, data?: DescribeEventBusCommandOutput) => void): void;
169
- describeEventBus(args: DescribeEventBusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventBusCommandOutput) => void): void;
175
+ describeEventBus(args: DescribeEventBusCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DescribeEventBusCommandOutput) => void): void;
170
176
  /**
171
177
  * @see {@link DescribeEventSourceCommand}
172
178
  */
173
- describeEventSource(args: DescribeEventSourceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventSourceCommandOutput>;
179
+ describeEventSource(args: DescribeEventSourceCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DescribeEventSourceCommandOutput>;
174
180
  describeEventSource(args: DescribeEventSourceCommandInput, cb: (err: any, data?: DescribeEventSourceCommandOutput) => void): void;
175
- describeEventSource(args: DescribeEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventSourceCommandOutput) => void): void;
181
+ describeEventSource(args: DescribeEventSourceCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DescribeEventSourceCommandOutput) => void): void;
176
182
  /**
177
183
  * @see {@link DescribePartnerEventSourceCommand}
178
184
  */
179
- describePartnerEventSource(args: DescribePartnerEventSourceCommandInput, options?: __HttpHandlerOptions): Promise<DescribePartnerEventSourceCommandOutput>;
185
+ describePartnerEventSource(args: DescribePartnerEventSourceCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DescribePartnerEventSourceCommandOutput>;
180
186
  describePartnerEventSource(args: DescribePartnerEventSourceCommandInput, cb: (err: any, data?: DescribePartnerEventSourceCommandOutput) => void): void;
181
- describePartnerEventSource(args: DescribePartnerEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePartnerEventSourceCommandOutput) => void): void;
187
+ describePartnerEventSource(args: DescribePartnerEventSourceCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DescribePartnerEventSourceCommandOutput) => void): void;
182
188
  /**
183
189
  * @see {@link DescribeReplayCommand}
184
190
  */
185
- describeReplay(args: DescribeReplayCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReplayCommandOutput>;
191
+ describeReplay(args: DescribeReplayCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DescribeReplayCommandOutput>;
186
192
  describeReplay(args: DescribeReplayCommandInput, cb: (err: any, data?: DescribeReplayCommandOutput) => void): void;
187
- describeReplay(args: DescribeReplayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReplayCommandOutput) => void): void;
193
+ describeReplay(args: DescribeReplayCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DescribeReplayCommandOutput) => void): void;
188
194
  /**
189
195
  * @see {@link DescribeRuleCommand}
190
196
  */
191
- describeRule(args: DescribeRuleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRuleCommandOutput>;
197
+ describeRule(args: DescribeRuleCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DescribeRuleCommandOutput>;
192
198
  describeRule(args: DescribeRuleCommandInput, cb: (err: any, data?: DescribeRuleCommandOutput) => void): void;
193
- describeRule(args: DescribeRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRuleCommandOutput) => void): void;
199
+ describeRule(args: DescribeRuleCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DescribeRuleCommandOutput) => void): void;
194
200
  /**
195
201
  * @see {@link DisableRuleCommand}
196
202
  */
197
- disableRule(args: DisableRuleCommandInput, options?: __HttpHandlerOptions): Promise<DisableRuleCommandOutput>;
203
+ disableRule(args: DisableRuleCommandInput, options?: CloudWatchEventsRequestOptions): Promise<DisableRuleCommandOutput>;
198
204
  disableRule(args: DisableRuleCommandInput, cb: (err: any, data?: DisableRuleCommandOutput) => void): void;
199
- disableRule(args: DisableRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableRuleCommandOutput) => void): void;
205
+ disableRule(args: DisableRuleCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: DisableRuleCommandOutput) => void): void;
200
206
  /**
201
207
  * @see {@link EnableRuleCommand}
202
208
  */
203
- enableRule(args: EnableRuleCommandInput, options?: __HttpHandlerOptions): Promise<EnableRuleCommandOutput>;
209
+ enableRule(args: EnableRuleCommandInput, options?: CloudWatchEventsRequestOptions): Promise<EnableRuleCommandOutput>;
204
210
  enableRule(args: EnableRuleCommandInput, cb: (err: any, data?: EnableRuleCommandOutput) => void): void;
205
- enableRule(args: EnableRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableRuleCommandOutput) => void): void;
211
+ enableRule(args: EnableRuleCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: EnableRuleCommandOutput) => void): void;
206
212
  /**
207
213
  * @see {@link ListApiDestinationsCommand}
208
214
  */
209
215
  listApiDestinations(): Promise<ListApiDestinationsCommandOutput>;
210
- listApiDestinations(args: ListApiDestinationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApiDestinationsCommandOutput>;
216
+ listApiDestinations(args: ListApiDestinationsCommandInput, options?: CloudWatchEventsRequestOptions): Promise<ListApiDestinationsCommandOutput>;
211
217
  listApiDestinations(args: ListApiDestinationsCommandInput, cb: (err: any, data?: ListApiDestinationsCommandOutput) => void): void;
212
- listApiDestinations(args: ListApiDestinationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApiDestinationsCommandOutput) => void): void;
218
+ listApiDestinations(args: ListApiDestinationsCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: ListApiDestinationsCommandOutput) => void): void;
213
219
  /**
214
220
  * @see {@link ListArchivesCommand}
215
221
  */
216
222
  listArchives(): Promise<ListArchivesCommandOutput>;
217
- listArchives(args: ListArchivesCommandInput, options?: __HttpHandlerOptions): Promise<ListArchivesCommandOutput>;
223
+ listArchives(args: ListArchivesCommandInput, options?: CloudWatchEventsRequestOptions): Promise<ListArchivesCommandOutput>;
218
224
  listArchives(args: ListArchivesCommandInput, cb: (err: any, data?: ListArchivesCommandOutput) => void): void;
219
- listArchives(args: ListArchivesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListArchivesCommandOutput) => void): void;
225
+ listArchives(args: ListArchivesCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: ListArchivesCommandOutput) => void): void;
220
226
  /**
221
227
  * @see {@link ListConnectionsCommand}
222
228
  */
223
229
  listConnections(): Promise<ListConnectionsCommandOutput>;
224
- listConnections(args: ListConnectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectionsCommandOutput>;
230
+ listConnections(args: ListConnectionsCommandInput, options?: CloudWatchEventsRequestOptions): Promise<ListConnectionsCommandOutput>;
225
231
  listConnections(args: ListConnectionsCommandInput, cb: (err: any, data?: ListConnectionsCommandOutput) => void): void;
226
- listConnections(args: ListConnectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectionsCommandOutput) => void): void;
232
+ listConnections(args: ListConnectionsCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: ListConnectionsCommandOutput) => void): void;
227
233
  /**
228
234
  * @see {@link ListEventBusesCommand}
229
235
  */
230
236
  listEventBuses(): Promise<ListEventBusesCommandOutput>;
231
- listEventBuses(args: ListEventBusesCommandInput, options?: __HttpHandlerOptions): Promise<ListEventBusesCommandOutput>;
237
+ listEventBuses(args: ListEventBusesCommandInput, options?: CloudWatchEventsRequestOptions): Promise<ListEventBusesCommandOutput>;
232
238
  listEventBuses(args: ListEventBusesCommandInput, cb: (err: any, data?: ListEventBusesCommandOutput) => void): void;
233
- listEventBuses(args: ListEventBusesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventBusesCommandOutput) => void): void;
239
+ listEventBuses(args: ListEventBusesCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: ListEventBusesCommandOutput) => void): void;
234
240
  /**
235
241
  * @see {@link ListEventSourcesCommand}
236
242
  */
237
243
  listEventSources(): Promise<ListEventSourcesCommandOutput>;
238
- listEventSources(args: ListEventSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListEventSourcesCommandOutput>;
244
+ listEventSources(args: ListEventSourcesCommandInput, options?: CloudWatchEventsRequestOptions): Promise<ListEventSourcesCommandOutput>;
239
245
  listEventSources(args: ListEventSourcesCommandInput, cb: (err: any, data?: ListEventSourcesCommandOutput) => void): void;
240
- listEventSources(args: ListEventSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventSourcesCommandOutput) => void): void;
246
+ listEventSources(args: ListEventSourcesCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: ListEventSourcesCommandOutput) => void): void;
241
247
  /**
242
248
  * @see {@link ListPartnerEventSourceAccountsCommand}
243
249
  */
244
- listPartnerEventSourceAccounts(args: ListPartnerEventSourceAccountsCommandInput, options?: __HttpHandlerOptions): Promise<ListPartnerEventSourceAccountsCommandOutput>;
250
+ listPartnerEventSourceAccounts(args: ListPartnerEventSourceAccountsCommandInput, options?: CloudWatchEventsRequestOptions): Promise<ListPartnerEventSourceAccountsCommandOutput>;
245
251
  listPartnerEventSourceAccounts(args: ListPartnerEventSourceAccountsCommandInput, cb: (err: any, data?: ListPartnerEventSourceAccountsCommandOutput) => void): void;
246
- listPartnerEventSourceAccounts(args: ListPartnerEventSourceAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPartnerEventSourceAccountsCommandOutput) => void): void;
252
+ listPartnerEventSourceAccounts(args: ListPartnerEventSourceAccountsCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: ListPartnerEventSourceAccountsCommandOutput) => void): void;
247
253
  /**
248
254
  * @see {@link ListPartnerEventSourcesCommand}
249
255
  */
250
- listPartnerEventSources(args: ListPartnerEventSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListPartnerEventSourcesCommandOutput>;
256
+ listPartnerEventSources(args: ListPartnerEventSourcesCommandInput, options?: CloudWatchEventsRequestOptions): Promise<ListPartnerEventSourcesCommandOutput>;
251
257
  listPartnerEventSources(args: ListPartnerEventSourcesCommandInput, cb: (err: any, data?: ListPartnerEventSourcesCommandOutput) => void): void;
252
- listPartnerEventSources(args: ListPartnerEventSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPartnerEventSourcesCommandOutput) => void): void;
258
+ listPartnerEventSources(args: ListPartnerEventSourcesCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: ListPartnerEventSourcesCommandOutput) => void): void;
253
259
  /**
254
260
  * @see {@link ListReplaysCommand}
255
261
  */
256
262
  listReplays(): Promise<ListReplaysCommandOutput>;
257
- listReplays(args: ListReplaysCommandInput, options?: __HttpHandlerOptions): Promise<ListReplaysCommandOutput>;
263
+ listReplays(args: ListReplaysCommandInput, options?: CloudWatchEventsRequestOptions): Promise<ListReplaysCommandOutput>;
258
264
  listReplays(args: ListReplaysCommandInput, cb: (err: any, data?: ListReplaysCommandOutput) => void): void;
259
- listReplays(args: ListReplaysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReplaysCommandOutput) => void): void;
265
+ listReplays(args: ListReplaysCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: ListReplaysCommandOutput) => void): void;
260
266
  /**
261
267
  * @see {@link ListRuleNamesByTargetCommand}
262
268
  */
263
- listRuleNamesByTarget(args: ListRuleNamesByTargetCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleNamesByTargetCommandOutput>;
269
+ listRuleNamesByTarget(args: ListRuleNamesByTargetCommandInput, options?: CloudWatchEventsRequestOptions): Promise<ListRuleNamesByTargetCommandOutput>;
264
270
  listRuleNamesByTarget(args: ListRuleNamesByTargetCommandInput, cb: (err: any, data?: ListRuleNamesByTargetCommandOutput) => void): void;
265
- listRuleNamesByTarget(args: ListRuleNamesByTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleNamesByTargetCommandOutput) => void): void;
271
+ listRuleNamesByTarget(args: ListRuleNamesByTargetCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: ListRuleNamesByTargetCommandOutput) => void): void;
266
272
  /**
267
273
  * @see {@link ListRulesCommand}
268
274
  */
269
275
  listRules(): Promise<ListRulesCommandOutput>;
270
- listRules(args: ListRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesCommandOutput>;
276
+ listRules(args: ListRulesCommandInput, options?: CloudWatchEventsRequestOptions): Promise<ListRulesCommandOutput>;
271
277
  listRules(args: ListRulesCommandInput, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
272
- listRules(args: ListRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
278
+ listRules(args: ListRulesCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
273
279
  /**
274
280
  * @see {@link ListTagsForResourceCommand}
275
281
  */
276
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
282
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: CloudWatchEventsRequestOptions): Promise<ListTagsForResourceCommandOutput>;
277
283
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
278
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
284
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
279
285
  /**
280
286
  * @see {@link ListTargetsByRuleCommand}
281
287
  */
282
- listTargetsByRule(args: ListTargetsByRuleCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetsByRuleCommandOutput>;
288
+ listTargetsByRule(args: ListTargetsByRuleCommandInput, options?: CloudWatchEventsRequestOptions): Promise<ListTargetsByRuleCommandOutput>;
283
289
  listTargetsByRule(args: ListTargetsByRuleCommandInput, cb: (err: any, data?: ListTargetsByRuleCommandOutput) => void): void;
284
- listTargetsByRule(args: ListTargetsByRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetsByRuleCommandOutput) => void): void;
290
+ listTargetsByRule(args: ListTargetsByRuleCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: ListTargetsByRuleCommandOutput) => void): void;
285
291
  /**
286
292
  * @see {@link PutEventsCommand}
287
293
  */
288
- putEvents(args: PutEventsCommandInput, options?: __HttpHandlerOptions): Promise<PutEventsCommandOutput>;
294
+ putEvents(args: PutEventsCommandInput, options?: CloudWatchEventsRequestOptions): Promise<PutEventsCommandOutput>;
289
295
  putEvents(args: PutEventsCommandInput, cb: (err: any, data?: PutEventsCommandOutput) => void): void;
290
- putEvents(args: PutEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutEventsCommandOutput) => void): void;
296
+ putEvents(args: PutEventsCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: PutEventsCommandOutput) => void): void;
291
297
  /**
292
298
  * @see {@link PutPartnerEventsCommand}
293
299
  */
294
- putPartnerEvents(args: PutPartnerEventsCommandInput, options?: __HttpHandlerOptions): Promise<PutPartnerEventsCommandOutput>;
300
+ putPartnerEvents(args: PutPartnerEventsCommandInput, options?: CloudWatchEventsRequestOptions): Promise<PutPartnerEventsCommandOutput>;
295
301
  putPartnerEvents(args: PutPartnerEventsCommandInput, cb: (err: any, data?: PutPartnerEventsCommandOutput) => void): void;
296
- putPartnerEvents(args: PutPartnerEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPartnerEventsCommandOutput) => void): void;
302
+ putPartnerEvents(args: PutPartnerEventsCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: PutPartnerEventsCommandOutput) => void): void;
297
303
  /**
298
304
  * @see {@link PutPermissionCommand}
299
305
  */
300
306
  putPermission(): Promise<PutPermissionCommandOutput>;
301
- putPermission(args: PutPermissionCommandInput, options?: __HttpHandlerOptions): Promise<PutPermissionCommandOutput>;
307
+ putPermission(args: PutPermissionCommandInput, options?: CloudWatchEventsRequestOptions): Promise<PutPermissionCommandOutput>;
302
308
  putPermission(args: PutPermissionCommandInput, cb: (err: any, data?: PutPermissionCommandOutput) => void): void;
303
- putPermission(args: PutPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPermissionCommandOutput) => void): void;
309
+ putPermission(args: PutPermissionCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: PutPermissionCommandOutput) => void): void;
304
310
  /**
305
311
  * @see {@link PutRuleCommand}
306
312
  */
307
- putRule(args: PutRuleCommandInput, options?: __HttpHandlerOptions): Promise<PutRuleCommandOutput>;
313
+ putRule(args: PutRuleCommandInput, options?: CloudWatchEventsRequestOptions): Promise<PutRuleCommandOutput>;
308
314
  putRule(args: PutRuleCommandInput, cb: (err: any, data?: PutRuleCommandOutput) => void): void;
309
- putRule(args: PutRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRuleCommandOutput) => void): void;
315
+ putRule(args: PutRuleCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: PutRuleCommandOutput) => void): void;
310
316
  /**
311
317
  * @see {@link PutTargetsCommand}
312
318
  */
313
- putTargets(args: PutTargetsCommandInput, options?: __HttpHandlerOptions): Promise<PutTargetsCommandOutput>;
319
+ putTargets(args: PutTargetsCommandInput, options?: CloudWatchEventsRequestOptions): Promise<PutTargetsCommandOutput>;
314
320
  putTargets(args: PutTargetsCommandInput, cb: (err: any, data?: PutTargetsCommandOutput) => void): void;
315
- putTargets(args: PutTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutTargetsCommandOutput) => void): void;
321
+ putTargets(args: PutTargetsCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: PutTargetsCommandOutput) => void): void;
316
322
  /**
317
323
  * @see {@link RemovePermissionCommand}
318
324
  */
319
325
  removePermission(): Promise<RemovePermissionCommandOutput>;
320
- removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemovePermissionCommandOutput>;
326
+ removePermission(args: RemovePermissionCommandInput, options?: CloudWatchEventsRequestOptions): Promise<RemovePermissionCommandOutput>;
321
327
  removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
322
- removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
328
+ removePermission(args: RemovePermissionCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
323
329
  /**
324
330
  * @see {@link RemoveTargetsCommand}
325
331
  */
326
- removeTargets(args: RemoveTargetsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTargetsCommandOutput>;
332
+ removeTargets(args: RemoveTargetsCommandInput, options?: CloudWatchEventsRequestOptions): Promise<RemoveTargetsCommandOutput>;
327
333
  removeTargets(args: RemoveTargetsCommandInput, cb: (err: any, data?: RemoveTargetsCommandOutput) => void): void;
328
- removeTargets(args: RemoveTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTargetsCommandOutput) => void): void;
334
+ removeTargets(args: RemoveTargetsCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: RemoveTargetsCommandOutput) => void): void;
329
335
  /**
330
336
  * @see {@link StartReplayCommand}
331
337
  */
332
- startReplay(args: StartReplayCommandInput, options?: __HttpHandlerOptions): Promise<StartReplayCommandOutput>;
338
+ startReplay(args: StartReplayCommandInput, options?: CloudWatchEventsRequestOptions): Promise<StartReplayCommandOutput>;
333
339
  startReplay(args: StartReplayCommandInput, cb: (err: any, data?: StartReplayCommandOutput) => void): void;
334
- startReplay(args: StartReplayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartReplayCommandOutput) => void): void;
340
+ startReplay(args: StartReplayCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: StartReplayCommandOutput) => void): void;
335
341
  /**
336
342
  * @see {@link TagResourceCommand}
337
343
  */
338
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
344
+ tagResource(args: TagResourceCommandInput, options?: CloudWatchEventsRequestOptions): Promise<TagResourceCommandOutput>;
339
345
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
340
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
346
+ tagResource(args: TagResourceCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
341
347
  /**
342
348
  * @see {@link TestEventPatternCommand}
343
349
  */
344
- testEventPattern(args: TestEventPatternCommandInput, options?: __HttpHandlerOptions): Promise<TestEventPatternCommandOutput>;
350
+ testEventPattern(args: TestEventPatternCommandInput, options?: CloudWatchEventsRequestOptions): Promise<TestEventPatternCommandOutput>;
345
351
  testEventPattern(args: TestEventPatternCommandInput, cb: (err: any, data?: TestEventPatternCommandOutput) => void): void;
346
- testEventPattern(args: TestEventPatternCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TestEventPatternCommandOutput) => void): void;
352
+ testEventPattern(args: TestEventPatternCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: TestEventPatternCommandOutput) => void): void;
347
353
  /**
348
354
  * @see {@link UntagResourceCommand}
349
355
  */
350
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
356
+ untagResource(args: UntagResourceCommandInput, options?: CloudWatchEventsRequestOptions): Promise<UntagResourceCommandOutput>;
351
357
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
352
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
358
+ untagResource(args: UntagResourceCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
353
359
  /**
354
360
  * @see {@link UpdateApiDestinationCommand}
355
361
  */
356
- updateApiDestination(args: UpdateApiDestinationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApiDestinationCommandOutput>;
362
+ updateApiDestination(args: UpdateApiDestinationCommandInput, options?: CloudWatchEventsRequestOptions): Promise<UpdateApiDestinationCommandOutput>;
357
363
  updateApiDestination(args: UpdateApiDestinationCommandInput, cb: (err: any, data?: UpdateApiDestinationCommandOutput) => void): void;
358
- updateApiDestination(args: UpdateApiDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApiDestinationCommandOutput) => void): void;
364
+ updateApiDestination(args: UpdateApiDestinationCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: UpdateApiDestinationCommandOutput) => void): void;
359
365
  /**
360
366
  * @see {@link UpdateArchiveCommand}
361
367
  */
362
- updateArchive(args: UpdateArchiveCommandInput, options?: __HttpHandlerOptions): Promise<UpdateArchiveCommandOutput>;
368
+ updateArchive(args: UpdateArchiveCommandInput, options?: CloudWatchEventsRequestOptions): Promise<UpdateArchiveCommandOutput>;
363
369
  updateArchive(args: UpdateArchiveCommandInput, cb: (err: any, data?: UpdateArchiveCommandOutput) => void): void;
364
- updateArchive(args: UpdateArchiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateArchiveCommandOutput) => void): void;
370
+ updateArchive(args: UpdateArchiveCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: UpdateArchiveCommandOutput) => void): void;
365
371
  /**
366
372
  * @see {@link UpdateConnectionCommand}
367
373
  */
368
- updateConnection(args: UpdateConnectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectionCommandOutput>;
374
+ updateConnection(args: UpdateConnectionCommandInput, options?: CloudWatchEventsRequestOptions): Promise<UpdateConnectionCommandOutput>;
369
375
  updateConnection(args: UpdateConnectionCommandInput, cb: (err: any, data?: UpdateConnectionCommandOutput) => void): void;
370
- updateConnection(args: UpdateConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectionCommandOutput) => void): void;
376
+ updateConnection(args: UpdateConnectionCommandInput, options: CloudWatchEventsRequestOptions, cb: (err: any, data?: UpdateConnectionCommandOutput) => void): void;
371
377
  }
372
378
  /**
373
379
  * <p>Amazon EventBridge helps you to respond to state changes in your Amazon Web Services resources. When your
@@ -1,4 +1,7 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import { CloudWatchEventsClient } from "./CloudWatchEventsClient";
3
6
  import {
4
7
  ActivateEventSourceCommandInput,
@@ -174,10 +177,13 @@ import {
174
177
  UpdateConnectionCommandInput,
175
178
  UpdateConnectionCommandOutput,
176
179
  } from "./commands/UpdateConnectionCommand";
180
+ export interface CloudWatchEventsRequestOptions extends __HttpHandlerOptions {
181
+ metricsRecorder?: __MetricsRecorder<unknown>;
182
+ }
177
183
  export interface CloudWatchEvents {
178
184
  activateEventSource(
179
185
  args: ActivateEventSourceCommandInput,
180
- options?: __HttpHandlerOptions,
186
+ options?: CloudWatchEventsRequestOptions,
181
187
  ): Promise<ActivateEventSourceCommandOutput>;
182
188
  activateEventSource(
183
189
  args: ActivateEventSourceCommandInput,
@@ -185,12 +191,12 @@ export interface CloudWatchEvents {
185
191
  ): void;
186
192
  activateEventSource(
187
193
  args: ActivateEventSourceCommandInput,
188
- options: __HttpHandlerOptions,
194
+ options: CloudWatchEventsRequestOptions,
189
195
  cb: (err: any, data?: ActivateEventSourceCommandOutput) => void,
190
196
  ): void;
191
197
  cancelReplay(
192
198
  args: CancelReplayCommandInput,
193
- options?: __HttpHandlerOptions,
199
+ options?: CloudWatchEventsRequestOptions,
194
200
  ): Promise<CancelReplayCommandOutput>;
195
201
  cancelReplay(
196
202
  args: CancelReplayCommandInput,
@@ -198,12 +204,12 @@ export interface CloudWatchEvents {
198
204
  ): void;
199
205
  cancelReplay(
200
206
  args: CancelReplayCommandInput,
201
- options: __HttpHandlerOptions,
207
+ options: CloudWatchEventsRequestOptions,
202
208
  cb: (err: any, data?: CancelReplayCommandOutput) => void,
203
209
  ): void;
204
210
  createApiDestination(
205
211
  args: CreateApiDestinationCommandInput,
206
- options?: __HttpHandlerOptions,
212
+ options?: CloudWatchEventsRequestOptions,
207
213
  ): Promise<CreateApiDestinationCommandOutput>;
208
214
  createApiDestination(
209
215
  args: CreateApiDestinationCommandInput,
@@ -211,12 +217,12 @@ export interface CloudWatchEvents {
211
217
  ): void;
212
218
  createApiDestination(
213
219
  args: CreateApiDestinationCommandInput,
214
- options: __HttpHandlerOptions,
220
+ options: CloudWatchEventsRequestOptions,
215
221
  cb: (err: any, data?: CreateApiDestinationCommandOutput) => void,
216
222
  ): void;
217
223
  createArchive(
218
224
  args: CreateArchiveCommandInput,
219
- options?: __HttpHandlerOptions,
225
+ options?: CloudWatchEventsRequestOptions,
220
226
  ): Promise<CreateArchiveCommandOutput>;
221
227
  createArchive(
222
228
  args: CreateArchiveCommandInput,
@@ -224,12 +230,12 @@ export interface CloudWatchEvents {
224
230
  ): void;
225
231
  createArchive(
226
232
  args: CreateArchiveCommandInput,
227
- options: __HttpHandlerOptions,
233
+ options: CloudWatchEventsRequestOptions,
228
234
  cb: (err: any, data?: CreateArchiveCommandOutput) => void,
229
235
  ): void;
230
236
  createConnection(
231
237
  args: CreateConnectionCommandInput,
232
- options?: __HttpHandlerOptions,
238
+ options?: CloudWatchEventsRequestOptions,
233
239
  ): Promise<CreateConnectionCommandOutput>;
234
240
  createConnection(
235
241
  args: CreateConnectionCommandInput,
@@ -237,12 +243,12 @@ export interface CloudWatchEvents {
237
243
  ): void;
238
244
  createConnection(
239
245
  args: CreateConnectionCommandInput,
240
- options: __HttpHandlerOptions,
246
+ options: CloudWatchEventsRequestOptions,
241
247
  cb: (err: any, data?: CreateConnectionCommandOutput) => void,
242
248
  ): void;
243
249
  createEventBus(
244
250
  args: CreateEventBusCommandInput,
245
- options?: __HttpHandlerOptions,
251
+ options?: CloudWatchEventsRequestOptions,
246
252
  ): Promise<CreateEventBusCommandOutput>;
247
253
  createEventBus(
248
254
  args: CreateEventBusCommandInput,
@@ -250,12 +256,12 @@ export interface CloudWatchEvents {
250
256
  ): void;
251
257
  createEventBus(
252
258
  args: CreateEventBusCommandInput,
253
- options: __HttpHandlerOptions,
259
+ options: CloudWatchEventsRequestOptions,
254
260
  cb: (err: any, data?: CreateEventBusCommandOutput) => void,
255
261
  ): void;
256
262
  createPartnerEventSource(
257
263
  args: CreatePartnerEventSourceCommandInput,
258
- options?: __HttpHandlerOptions,
264
+ options?: CloudWatchEventsRequestOptions,
259
265
  ): Promise<CreatePartnerEventSourceCommandOutput>;
260
266
  createPartnerEventSource(
261
267
  args: CreatePartnerEventSourceCommandInput,
@@ -263,12 +269,12 @@ export interface CloudWatchEvents {
263
269
  ): void;
264
270
  createPartnerEventSource(
265
271
  args: CreatePartnerEventSourceCommandInput,
266
- options: __HttpHandlerOptions,
272
+ options: CloudWatchEventsRequestOptions,
267
273
  cb: (err: any, data?: CreatePartnerEventSourceCommandOutput) => void,
268
274
  ): void;
269
275
  deactivateEventSource(
270
276
  args: DeactivateEventSourceCommandInput,
271
- options?: __HttpHandlerOptions,
277
+ options?: CloudWatchEventsRequestOptions,
272
278
  ): Promise<DeactivateEventSourceCommandOutput>;
273
279
  deactivateEventSource(
274
280
  args: DeactivateEventSourceCommandInput,
@@ -276,12 +282,12 @@ export interface CloudWatchEvents {
276
282
  ): void;
277
283
  deactivateEventSource(
278
284
  args: DeactivateEventSourceCommandInput,
279
- options: __HttpHandlerOptions,
285
+ options: CloudWatchEventsRequestOptions,
280
286
  cb: (err: any, data?: DeactivateEventSourceCommandOutput) => void,
281
287
  ): void;
282
288
  deauthorizeConnection(
283
289
  args: DeauthorizeConnectionCommandInput,
284
- options?: __HttpHandlerOptions,
290
+ options?: CloudWatchEventsRequestOptions,
285
291
  ): Promise<DeauthorizeConnectionCommandOutput>;
286
292
  deauthorizeConnection(
287
293
  args: DeauthorizeConnectionCommandInput,
@@ -289,12 +295,12 @@ export interface CloudWatchEvents {
289
295
  ): void;
290
296
  deauthorizeConnection(
291
297
  args: DeauthorizeConnectionCommandInput,
292
- options: __HttpHandlerOptions,
298
+ options: CloudWatchEventsRequestOptions,
293
299
  cb: (err: any, data?: DeauthorizeConnectionCommandOutput) => void,
294
300
  ): void;
295
301
  deleteApiDestination(
296
302
  args: DeleteApiDestinationCommandInput,
297
- options?: __HttpHandlerOptions,
303
+ options?: CloudWatchEventsRequestOptions,
298
304
  ): Promise<DeleteApiDestinationCommandOutput>;
299
305
  deleteApiDestination(
300
306
  args: DeleteApiDestinationCommandInput,
@@ -302,12 +308,12 @@ export interface CloudWatchEvents {
302
308
  ): void;
303
309
  deleteApiDestination(
304
310
  args: DeleteApiDestinationCommandInput,
305
- options: __HttpHandlerOptions,
311
+ options: CloudWatchEventsRequestOptions,
306
312
  cb: (err: any, data?: DeleteApiDestinationCommandOutput) => void,
307
313
  ): void;
308
314
  deleteArchive(
309
315
  args: DeleteArchiveCommandInput,
310
- options?: __HttpHandlerOptions,
316
+ options?: CloudWatchEventsRequestOptions,
311
317
  ): Promise<DeleteArchiveCommandOutput>;
312
318
  deleteArchive(
313
319
  args: DeleteArchiveCommandInput,
@@ -315,12 +321,12 @@ export interface CloudWatchEvents {
315
321
  ): void;
316
322
  deleteArchive(
317
323
  args: DeleteArchiveCommandInput,
318
- options: __HttpHandlerOptions,
324
+ options: CloudWatchEventsRequestOptions,
319
325
  cb: (err: any, data?: DeleteArchiveCommandOutput) => void,
320
326
  ): void;
321
327
  deleteConnection(
322
328
  args: DeleteConnectionCommandInput,
323
- options?: __HttpHandlerOptions,
329
+ options?: CloudWatchEventsRequestOptions,
324
330
  ): Promise<DeleteConnectionCommandOutput>;
325
331
  deleteConnection(
326
332
  args: DeleteConnectionCommandInput,
@@ -328,12 +334,12 @@ export interface CloudWatchEvents {
328
334
  ): void;
329
335
  deleteConnection(
330
336
  args: DeleteConnectionCommandInput,
331
- options: __HttpHandlerOptions,
337
+ options: CloudWatchEventsRequestOptions,
332
338
  cb: (err: any, data?: DeleteConnectionCommandOutput) => void,
333
339
  ): void;
334
340
  deleteEventBus(
335
341
  args: DeleteEventBusCommandInput,
336
- options?: __HttpHandlerOptions,
342
+ options?: CloudWatchEventsRequestOptions,
337
343
  ): Promise<DeleteEventBusCommandOutput>;
338
344
  deleteEventBus(
339
345
  args: DeleteEventBusCommandInput,
@@ -341,12 +347,12 @@ export interface CloudWatchEvents {
341
347
  ): void;
342
348
  deleteEventBus(
343
349
  args: DeleteEventBusCommandInput,
344
- options: __HttpHandlerOptions,
350
+ options: CloudWatchEventsRequestOptions,
345
351
  cb: (err: any, data?: DeleteEventBusCommandOutput) => void,
346
352
  ): void;
347
353
  deletePartnerEventSource(
348
354
  args: DeletePartnerEventSourceCommandInput,
349
- options?: __HttpHandlerOptions,
355
+ options?: CloudWatchEventsRequestOptions,
350
356
  ): Promise<DeletePartnerEventSourceCommandOutput>;
351
357
  deletePartnerEventSource(
352
358
  args: DeletePartnerEventSourceCommandInput,
@@ -354,12 +360,12 @@ export interface CloudWatchEvents {
354
360
  ): void;
355
361
  deletePartnerEventSource(
356
362
  args: DeletePartnerEventSourceCommandInput,
357
- options: __HttpHandlerOptions,
363
+ options: CloudWatchEventsRequestOptions,
358
364
  cb: (err: any, data?: DeletePartnerEventSourceCommandOutput) => void,
359
365
  ): void;
360
366
  deleteRule(
361
367
  args: DeleteRuleCommandInput,
362
- options?: __HttpHandlerOptions,
368
+ options?: CloudWatchEventsRequestOptions,
363
369
  ): Promise<DeleteRuleCommandOutput>;
364
370
  deleteRule(
365
371
  args: DeleteRuleCommandInput,
@@ -367,12 +373,12 @@ export interface CloudWatchEvents {
367
373
  ): void;
368
374
  deleteRule(
369
375
  args: DeleteRuleCommandInput,
370
- options: __HttpHandlerOptions,
376
+ options: CloudWatchEventsRequestOptions,
371
377
  cb: (err: any, data?: DeleteRuleCommandOutput) => void,
372
378
  ): void;
373
379
  describeApiDestination(
374
380
  args: DescribeApiDestinationCommandInput,
375
- options?: __HttpHandlerOptions,
381
+ options?: CloudWatchEventsRequestOptions,
376
382
  ): Promise<DescribeApiDestinationCommandOutput>;
377
383
  describeApiDestination(
378
384
  args: DescribeApiDestinationCommandInput,
@@ -380,12 +386,12 @@ export interface CloudWatchEvents {
380
386
  ): void;
381
387
  describeApiDestination(
382
388
  args: DescribeApiDestinationCommandInput,
383
- options: __HttpHandlerOptions,
389
+ options: CloudWatchEventsRequestOptions,
384
390
  cb: (err: any, data?: DescribeApiDestinationCommandOutput) => void,
385
391
  ): void;
386
392
  describeArchive(
387
393
  args: DescribeArchiveCommandInput,
388
- options?: __HttpHandlerOptions,
394
+ options?: CloudWatchEventsRequestOptions,
389
395
  ): Promise<DescribeArchiveCommandOutput>;
390
396
  describeArchive(
391
397
  args: DescribeArchiveCommandInput,
@@ -393,12 +399,12 @@ export interface CloudWatchEvents {
393
399
  ): void;
394
400
  describeArchive(
395
401
  args: DescribeArchiveCommandInput,
396
- options: __HttpHandlerOptions,
402
+ options: CloudWatchEventsRequestOptions,
397
403
  cb: (err: any, data?: DescribeArchiveCommandOutput) => void,
398
404
  ): void;
399
405
  describeConnection(
400
406
  args: DescribeConnectionCommandInput,
401
- options?: __HttpHandlerOptions,
407
+ options?: CloudWatchEventsRequestOptions,
402
408
  ): Promise<DescribeConnectionCommandOutput>;
403
409
  describeConnection(
404
410
  args: DescribeConnectionCommandInput,
@@ -406,13 +412,13 @@ export interface CloudWatchEvents {
406
412
  ): void;
407
413
  describeConnection(
408
414
  args: DescribeConnectionCommandInput,
409
- options: __HttpHandlerOptions,
415
+ options: CloudWatchEventsRequestOptions,
410
416
  cb: (err: any, data?: DescribeConnectionCommandOutput) => void,
411
417
  ): void;
412
418
  describeEventBus(): Promise<DescribeEventBusCommandOutput>;
413
419
  describeEventBus(
414
420
  args: DescribeEventBusCommandInput,
415
- options?: __HttpHandlerOptions,
421
+ options?: CloudWatchEventsRequestOptions,
416
422
  ): Promise<DescribeEventBusCommandOutput>;
417
423
  describeEventBus(
418
424
  args: DescribeEventBusCommandInput,
@@ -420,12 +426,12 @@ export interface CloudWatchEvents {
420
426
  ): void;
421
427
  describeEventBus(
422
428
  args: DescribeEventBusCommandInput,
423
- options: __HttpHandlerOptions,
429
+ options: CloudWatchEventsRequestOptions,
424
430
  cb: (err: any, data?: DescribeEventBusCommandOutput) => void,
425
431
  ): void;
426
432
  describeEventSource(
427
433
  args: DescribeEventSourceCommandInput,
428
- options?: __HttpHandlerOptions,
434
+ options?: CloudWatchEventsRequestOptions,
429
435
  ): Promise<DescribeEventSourceCommandOutput>;
430
436
  describeEventSource(
431
437
  args: DescribeEventSourceCommandInput,
@@ -433,12 +439,12 @@ export interface CloudWatchEvents {
433
439
  ): void;
434
440
  describeEventSource(
435
441
  args: DescribeEventSourceCommandInput,
436
- options: __HttpHandlerOptions,
442
+ options: CloudWatchEventsRequestOptions,
437
443
  cb: (err: any, data?: DescribeEventSourceCommandOutput) => void,
438
444
  ): void;
439
445
  describePartnerEventSource(
440
446
  args: DescribePartnerEventSourceCommandInput,
441
- options?: __HttpHandlerOptions,
447
+ options?: CloudWatchEventsRequestOptions,
442
448
  ): Promise<DescribePartnerEventSourceCommandOutput>;
443
449
  describePartnerEventSource(
444
450
  args: DescribePartnerEventSourceCommandInput,
@@ -446,12 +452,12 @@ export interface CloudWatchEvents {
446
452
  ): void;
447
453
  describePartnerEventSource(
448
454
  args: DescribePartnerEventSourceCommandInput,
449
- options: __HttpHandlerOptions,
455
+ options: CloudWatchEventsRequestOptions,
450
456
  cb: (err: any, data?: DescribePartnerEventSourceCommandOutput) => void,
451
457
  ): void;
452
458
  describeReplay(
453
459
  args: DescribeReplayCommandInput,
454
- options?: __HttpHandlerOptions,
460
+ options?: CloudWatchEventsRequestOptions,
455
461
  ): Promise<DescribeReplayCommandOutput>;
456
462
  describeReplay(
457
463
  args: DescribeReplayCommandInput,
@@ -459,12 +465,12 @@ export interface CloudWatchEvents {
459
465
  ): void;
460
466
  describeReplay(
461
467
  args: DescribeReplayCommandInput,
462
- options: __HttpHandlerOptions,
468
+ options: CloudWatchEventsRequestOptions,
463
469
  cb: (err: any, data?: DescribeReplayCommandOutput) => void,
464
470
  ): void;
465
471
  describeRule(
466
472
  args: DescribeRuleCommandInput,
467
- options?: __HttpHandlerOptions,
473
+ options?: CloudWatchEventsRequestOptions,
468
474
  ): Promise<DescribeRuleCommandOutput>;
469
475
  describeRule(
470
476
  args: DescribeRuleCommandInput,
@@ -472,12 +478,12 @@ export interface CloudWatchEvents {
472
478
  ): void;
473
479
  describeRule(
474
480
  args: DescribeRuleCommandInput,
475
- options: __HttpHandlerOptions,
481
+ options: CloudWatchEventsRequestOptions,
476
482
  cb: (err: any, data?: DescribeRuleCommandOutput) => void,
477
483
  ): void;
478
484
  disableRule(
479
485
  args: DisableRuleCommandInput,
480
- options?: __HttpHandlerOptions,
486
+ options?: CloudWatchEventsRequestOptions,
481
487
  ): Promise<DisableRuleCommandOutput>;
482
488
  disableRule(
483
489
  args: DisableRuleCommandInput,
@@ -485,12 +491,12 @@ export interface CloudWatchEvents {
485
491
  ): void;
486
492
  disableRule(
487
493
  args: DisableRuleCommandInput,
488
- options: __HttpHandlerOptions,
494
+ options: CloudWatchEventsRequestOptions,
489
495
  cb: (err: any, data?: DisableRuleCommandOutput) => void,
490
496
  ): void;
491
497
  enableRule(
492
498
  args: EnableRuleCommandInput,
493
- options?: __HttpHandlerOptions,
499
+ options?: CloudWatchEventsRequestOptions,
494
500
  ): Promise<EnableRuleCommandOutput>;
495
501
  enableRule(
496
502
  args: EnableRuleCommandInput,
@@ -498,13 +504,13 @@ export interface CloudWatchEvents {
498
504
  ): void;
499
505
  enableRule(
500
506
  args: EnableRuleCommandInput,
501
- options: __HttpHandlerOptions,
507
+ options: CloudWatchEventsRequestOptions,
502
508
  cb: (err: any, data?: EnableRuleCommandOutput) => void,
503
509
  ): void;
504
510
  listApiDestinations(): Promise<ListApiDestinationsCommandOutput>;
505
511
  listApiDestinations(
506
512
  args: ListApiDestinationsCommandInput,
507
- options?: __HttpHandlerOptions,
513
+ options?: CloudWatchEventsRequestOptions,
508
514
  ): Promise<ListApiDestinationsCommandOutput>;
509
515
  listApiDestinations(
510
516
  args: ListApiDestinationsCommandInput,
@@ -512,13 +518,13 @@ export interface CloudWatchEvents {
512
518
  ): void;
513
519
  listApiDestinations(
514
520
  args: ListApiDestinationsCommandInput,
515
- options: __HttpHandlerOptions,
521
+ options: CloudWatchEventsRequestOptions,
516
522
  cb: (err: any, data?: ListApiDestinationsCommandOutput) => void,
517
523
  ): void;
518
524
  listArchives(): Promise<ListArchivesCommandOutput>;
519
525
  listArchives(
520
526
  args: ListArchivesCommandInput,
521
- options?: __HttpHandlerOptions,
527
+ options?: CloudWatchEventsRequestOptions,
522
528
  ): Promise<ListArchivesCommandOutput>;
523
529
  listArchives(
524
530
  args: ListArchivesCommandInput,
@@ -526,13 +532,13 @@ export interface CloudWatchEvents {
526
532
  ): void;
527
533
  listArchives(
528
534
  args: ListArchivesCommandInput,
529
- options: __HttpHandlerOptions,
535
+ options: CloudWatchEventsRequestOptions,
530
536
  cb: (err: any, data?: ListArchivesCommandOutput) => void,
531
537
  ): void;
532
538
  listConnections(): Promise<ListConnectionsCommandOutput>;
533
539
  listConnections(
534
540
  args: ListConnectionsCommandInput,
535
- options?: __HttpHandlerOptions,
541
+ options?: CloudWatchEventsRequestOptions,
536
542
  ): Promise<ListConnectionsCommandOutput>;
537
543
  listConnections(
538
544
  args: ListConnectionsCommandInput,
@@ -540,13 +546,13 @@ export interface CloudWatchEvents {
540
546
  ): void;
541
547
  listConnections(
542
548
  args: ListConnectionsCommandInput,
543
- options: __HttpHandlerOptions,
549
+ options: CloudWatchEventsRequestOptions,
544
550
  cb: (err: any, data?: ListConnectionsCommandOutput) => void,
545
551
  ): void;
546
552
  listEventBuses(): Promise<ListEventBusesCommandOutput>;
547
553
  listEventBuses(
548
554
  args: ListEventBusesCommandInput,
549
- options?: __HttpHandlerOptions,
555
+ options?: CloudWatchEventsRequestOptions,
550
556
  ): Promise<ListEventBusesCommandOutput>;
551
557
  listEventBuses(
552
558
  args: ListEventBusesCommandInput,
@@ -554,13 +560,13 @@ export interface CloudWatchEvents {
554
560
  ): void;
555
561
  listEventBuses(
556
562
  args: ListEventBusesCommandInput,
557
- options: __HttpHandlerOptions,
563
+ options: CloudWatchEventsRequestOptions,
558
564
  cb: (err: any, data?: ListEventBusesCommandOutput) => void,
559
565
  ): void;
560
566
  listEventSources(): Promise<ListEventSourcesCommandOutput>;
561
567
  listEventSources(
562
568
  args: ListEventSourcesCommandInput,
563
- options?: __HttpHandlerOptions,
569
+ options?: CloudWatchEventsRequestOptions,
564
570
  ): Promise<ListEventSourcesCommandOutput>;
565
571
  listEventSources(
566
572
  args: ListEventSourcesCommandInput,
@@ -568,12 +574,12 @@ export interface CloudWatchEvents {
568
574
  ): void;
569
575
  listEventSources(
570
576
  args: ListEventSourcesCommandInput,
571
- options: __HttpHandlerOptions,
577
+ options: CloudWatchEventsRequestOptions,
572
578
  cb: (err: any, data?: ListEventSourcesCommandOutput) => void,
573
579
  ): void;
574
580
  listPartnerEventSourceAccounts(
575
581
  args: ListPartnerEventSourceAccountsCommandInput,
576
- options?: __HttpHandlerOptions,
582
+ options?: CloudWatchEventsRequestOptions,
577
583
  ): Promise<ListPartnerEventSourceAccountsCommandOutput>;
578
584
  listPartnerEventSourceAccounts(
579
585
  args: ListPartnerEventSourceAccountsCommandInput,
@@ -581,12 +587,12 @@ export interface CloudWatchEvents {
581
587
  ): void;
582
588
  listPartnerEventSourceAccounts(
583
589
  args: ListPartnerEventSourceAccountsCommandInput,
584
- options: __HttpHandlerOptions,
590
+ options: CloudWatchEventsRequestOptions,
585
591
  cb: (err: any, data?: ListPartnerEventSourceAccountsCommandOutput) => void,
586
592
  ): void;
587
593
  listPartnerEventSources(
588
594
  args: ListPartnerEventSourcesCommandInput,
589
- options?: __HttpHandlerOptions,
595
+ options?: CloudWatchEventsRequestOptions,
590
596
  ): Promise<ListPartnerEventSourcesCommandOutput>;
591
597
  listPartnerEventSources(
592
598
  args: ListPartnerEventSourcesCommandInput,
@@ -594,13 +600,13 @@ export interface CloudWatchEvents {
594
600
  ): void;
595
601
  listPartnerEventSources(
596
602
  args: ListPartnerEventSourcesCommandInput,
597
- options: __HttpHandlerOptions,
603
+ options: CloudWatchEventsRequestOptions,
598
604
  cb: (err: any, data?: ListPartnerEventSourcesCommandOutput) => void,
599
605
  ): void;
600
606
  listReplays(): Promise<ListReplaysCommandOutput>;
601
607
  listReplays(
602
608
  args: ListReplaysCommandInput,
603
- options?: __HttpHandlerOptions,
609
+ options?: CloudWatchEventsRequestOptions,
604
610
  ): Promise<ListReplaysCommandOutput>;
605
611
  listReplays(
606
612
  args: ListReplaysCommandInput,
@@ -608,12 +614,12 @@ export interface CloudWatchEvents {
608
614
  ): void;
609
615
  listReplays(
610
616
  args: ListReplaysCommandInput,
611
- options: __HttpHandlerOptions,
617
+ options: CloudWatchEventsRequestOptions,
612
618
  cb: (err: any, data?: ListReplaysCommandOutput) => void,
613
619
  ): void;
614
620
  listRuleNamesByTarget(
615
621
  args: ListRuleNamesByTargetCommandInput,
616
- options?: __HttpHandlerOptions,
622
+ options?: CloudWatchEventsRequestOptions,
617
623
  ): Promise<ListRuleNamesByTargetCommandOutput>;
618
624
  listRuleNamesByTarget(
619
625
  args: ListRuleNamesByTargetCommandInput,
@@ -621,13 +627,13 @@ export interface CloudWatchEvents {
621
627
  ): void;
622
628
  listRuleNamesByTarget(
623
629
  args: ListRuleNamesByTargetCommandInput,
624
- options: __HttpHandlerOptions,
630
+ options: CloudWatchEventsRequestOptions,
625
631
  cb: (err: any, data?: ListRuleNamesByTargetCommandOutput) => void,
626
632
  ): void;
627
633
  listRules(): Promise<ListRulesCommandOutput>;
628
634
  listRules(
629
635
  args: ListRulesCommandInput,
630
- options?: __HttpHandlerOptions,
636
+ options?: CloudWatchEventsRequestOptions,
631
637
  ): Promise<ListRulesCommandOutput>;
632
638
  listRules(
633
639
  args: ListRulesCommandInput,
@@ -635,12 +641,12 @@ export interface CloudWatchEvents {
635
641
  ): void;
636
642
  listRules(
637
643
  args: ListRulesCommandInput,
638
- options: __HttpHandlerOptions,
644
+ options: CloudWatchEventsRequestOptions,
639
645
  cb: (err: any, data?: ListRulesCommandOutput) => void,
640
646
  ): void;
641
647
  listTagsForResource(
642
648
  args: ListTagsForResourceCommandInput,
643
- options?: __HttpHandlerOptions,
649
+ options?: CloudWatchEventsRequestOptions,
644
650
  ): Promise<ListTagsForResourceCommandOutput>;
645
651
  listTagsForResource(
646
652
  args: ListTagsForResourceCommandInput,
@@ -648,12 +654,12 @@ export interface CloudWatchEvents {
648
654
  ): void;
649
655
  listTagsForResource(
650
656
  args: ListTagsForResourceCommandInput,
651
- options: __HttpHandlerOptions,
657
+ options: CloudWatchEventsRequestOptions,
652
658
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
653
659
  ): void;
654
660
  listTargetsByRule(
655
661
  args: ListTargetsByRuleCommandInput,
656
- options?: __HttpHandlerOptions,
662
+ options?: CloudWatchEventsRequestOptions,
657
663
  ): Promise<ListTargetsByRuleCommandOutput>;
658
664
  listTargetsByRule(
659
665
  args: ListTargetsByRuleCommandInput,
@@ -661,12 +667,12 @@ export interface CloudWatchEvents {
661
667
  ): void;
662
668
  listTargetsByRule(
663
669
  args: ListTargetsByRuleCommandInput,
664
- options: __HttpHandlerOptions,
670
+ options: CloudWatchEventsRequestOptions,
665
671
  cb: (err: any, data?: ListTargetsByRuleCommandOutput) => void,
666
672
  ): void;
667
673
  putEvents(
668
674
  args: PutEventsCommandInput,
669
- options?: __HttpHandlerOptions,
675
+ options?: CloudWatchEventsRequestOptions,
670
676
  ): Promise<PutEventsCommandOutput>;
671
677
  putEvents(
672
678
  args: PutEventsCommandInput,
@@ -674,12 +680,12 @@ export interface CloudWatchEvents {
674
680
  ): void;
675
681
  putEvents(
676
682
  args: PutEventsCommandInput,
677
- options: __HttpHandlerOptions,
683
+ options: CloudWatchEventsRequestOptions,
678
684
  cb: (err: any, data?: PutEventsCommandOutput) => void,
679
685
  ): void;
680
686
  putPartnerEvents(
681
687
  args: PutPartnerEventsCommandInput,
682
- options?: __HttpHandlerOptions,
688
+ options?: CloudWatchEventsRequestOptions,
683
689
  ): Promise<PutPartnerEventsCommandOutput>;
684
690
  putPartnerEvents(
685
691
  args: PutPartnerEventsCommandInput,
@@ -687,13 +693,13 @@ export interface CloudWatchEvents {
687
693
  ): void;
688
694
  putPartnerEvents(
689
695
  args: PutPartnerEventsCommandInput,
690
- options: __HttpHandlerOptions,
696
+ options: CloudWatchEventsRequestOptions,
691
697
  cb: (err: any, data?: PutPartnerEventsCommandOutput) => void,
692
698
  ): void;
693
699
  putPermission(): Promise<PutPermissionCommandOutput>;
694
700
  putPermission(
695
701
  args: PutPermissionCommandInput,
696
- options?: __HttpHandlerOptions,
702
+ options?: CloudWatchEventsRequestOptions,
697
703
  ): Promise<PutPermissionCommandOutput>;
698
704
  putPermission(
699
705
  args: PutPermissionCommandInput,
@@ -701,19 +707,22 @@ export interface CloudWatchEvents {
701
707
  ): void;
702
708
  putPermission(
703
709
  args: PutPermissionCommandInput,
704
- options: __HttpHandlerOptions,
710
+ options: CloudWatchEventsRequestOptions,
705
711
  cb: (err: any, data?: PutPermissionCommandOutput) => void,
706
712
  ): void;
707
- putRule(args: PutRuleCommandInput, options?: __HttpHandlerOptions): Promise<PutRuleCommandOutput>;
713
+ putRule(
714
+ args: PutRuleCommandInput,
715
+ options?: CloudWatchEventsRequestOptions,
716
+ ): Promise<PutRuleCommandOutput>;
708
717
  putRule(args: PutRuleCommandInput, cb: (err: any, data?: PutRuleCommandOutput) => void): void;
709
718
  putRule(
710
719
  args: PutRuleCommandInput,
711
- options: __HttpHandlerOptions,
720
+ options: CloudWatchEventsRequestOptions,
712
721
  cb: (err: any, data?: PutRuleCommandOutput) => void,
713
722
  ): void;
714
723
  putTargets(
715
724
  args: PutTargetsCommandInput,
716
- options?: __HttpHandlerOptions,
725
+ options?: CloudWatchEventsRequestOptions,
717
726
  ): Promise<PutTargetsCommandOutput>;
718
727
  putTargets(
719
728
  args: PutTargetsCommandInput,
@@ -721,13 +730,13 @@ export interface CloudWatchEvents {
721
730
  ): void;
722
731
  putTargets(
723
732
  args: PutTargetsCommandInput,
724
- options: __HttpHandlerOptions,
733
+ options: CloudWatchEventsRequestOptions,
725
734
  cb: (err: any, data?: PutTargetsCommandOutput) => void,
726
735
  ): void;
727
736
  removePermission(): Promise<RemovePermissionCommandOutput>;
728
737
  removePermission(
729
738
  args: RemovePermissionCommandInput,
730
- options?: __HttpHandlerOptions,
739
+ options?: CloudWatchEventsRequestOptions,
731
740
  ): Promise<RemovePermissionCommandOutput>;
732
741
  removePermission(
733
742
  args: RemovePermissionCommandInput,
@@ -735,12 +744,12 @@ export interface CloudWatchEvents {
735
744
  ): void;
736
745
  removePermission(
737
746
  args: RemovePermissionCommandInput,
738
- options: __HttpHandlerOptions,
747
+ options: CloudWatchEventsRequestOptions,
739
748
  cb: (err: any, data?: RemovePermissionCommandOutput) => void,
740
749
  ): void;
741
750
  removeTargets(
742
751
  args: RemoveTargetsCommandInput,
743
- options?: __HttpHandlerOptions,
752
+ options?: CloudWatchEventsRequestOptions,
744
753
  ): Promise<RemoveTargetsCommandOutput>;
745
754
  removeTargets(
746
755
  args: RemoveTargetsCommandInput,
@@ -748,12 +757,12 @@ export interface CloudWatchEvents {
748
757
  ): void;
749
758
  removeTargets(
750
759
  args: RemoveTargetsCommandInput,
751
- options: __HttpHandlerOptions,
760
+ options: CloudWatchEventsRequestOptions,
752
761
  cb: (err: any, data?: RemoveTargetsCommandOutput) => void,
753
762
  ): void;
754
763
  startReplay(
755
764
  args: StartReplayCommandInput,
756
- options?: __HttpHandlerOptions,
765
+ options?: CloudWatchEventsRequestOptions,
757
766
  ): Promise<StartReplayCommandOutput>;
758
767
  startReplay(
759
768
  args: StartReplayCommandInput,
@@ -761,12 +770,12 @@ export interface CloudWatchEvents {
761
770
  ): void;
762
771
  startReplay(
763
772
  args: StartReplayCommandInput,
764
- options: __HttpHandlerOptions,
773
+ options: CloudWatchEventsRequestOptions,
765
774
  cb: (err: any, data?: StartReplayCommandOutput) => void,
766
775
  ): void;
767
776
  tagResource(
768
777
  args: TagResourceCommandInput,
769
- options?: __HttpHandlerOptions,
778
+ options?: CloudWatchEventsRequestOptions,
770
779
  ): Promise<TagResourceCommandOutput>;
771
780
  tagResource(
772
781
  args: TagResourceCommandInput,
@@ -774,12 +783,12 @@ export interface CloudWatchEvents {
774
783
  ): void;
775
784
  tagResource(
776
785
  args: TagResourceCommandInput,
777
- options: __HttpHandlerOptions,
786
+ options: CloudWatchEventsRequestOptions,
778
787
  cb: (err: any, data?: TagResourceCommandOutput) => void,
779
788
  ): void;
780
789
  testEventPattern(
781
790
  args: TestEventPatternCommandInput,
782
- options?: __HttpHandlerOptions,
791
+ options?: CloudWatchEventsRequestOptions,
783
792
  ): Promise<TestEventPatternCommandOutput>;
784
793
  testEventPattern(
785
794
  args: TestEventPatternCommandInput,
@@ -787,12 +796,12 @@ export interface CloudWatchEvents {
787
796
  ): void;
788
797
  testEventPattern(
789
798
  args: TestEventPatternCommandInput,
790
- options: __HttpHandlerOptions,
799
+ options: CloudWatchEventsRequestOptions,
791
800
  cb: (err: any, data?: TestEventPatternCommandOutput) => void,
792
801
  ): void;
793
802
  untagResource(
794
803
  args: UntagResourceCommandInput,
795
- options?: __HttpHandlerOptions,
804
+ options?: CloudWatchEventsRequestOptions,
796
805
  ): Promise<UntagResourceCommandOutput>;
797
806
  untagResource(
798
807
  args: UntagResourceCommandInput,
@@ -800,12 +809,12 @@ export interface CloudWatchEvents {
800
809
  ): void;
801
810
  untagResource(
802
811
  args: UntagResourceCommandInput,
803
- options: __HttpHandlerOptions,
812
+ options: CloudWatchEventsRequestOptions,
804
813
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
805
814
  ): void;
806
815
  updateApiDestination(
807
816
  args: UpdateApiDestinationCommandInput,
808
- options?: __HttpHandlerOptions,
817
+ options?: CloudWatchEventsRequestOptions,
809
818
  ): Promise<UpdateApiDestinationCommandOutput>;
810
819
  updateApiDestination(
811
820
  args: UpdateApiDestinationCommandInput,
@@ -813,12 +822,12 @@ export interface CloudWatchEvents {
813
822
  ): void;
814
823
  updateApiDestination(
815
824
  args: UpdateApiDestinationCommandInput,
816
- options: __HttpHandlerOptions,
825
+ options: CloudWatchEventsRequestOptions,
817
826
  cb: (err: any, data?: UpdateApiDestinationCommandOutput) => void,
818
827
  ): void;
819
828
  updateArchive(
820
829
  args: UpdateArchiveCommandInput,
821
- options?: __HttpHandlerOptions,
830
+ options?: CloudWatchEventsRequestOptions,
822
831
  ): Promise<UpdateArchiveCommandOutput>;
823
832
  updateArchive(
824
833
  args: UpdateArchiveCommandInput,
@@ -826,12 +835,12 @@ export interface CloudWatchEvents {
826
835
  ): void;
827
836
  updateArchive(
828
837
  args: UpdateArchiveCommandInput,
829
- options: __HttpHandlerOptions,
838
+ options: CloudWatchEventsRequestOptions,
830
839
  cb: (err: any, data?: UpdateArchiveCommandOutput) => void,
831
840
  ): void;
832
841
  updateConnection(
833
842
  args: UpdateConnectionCommandInput,
834
- options?: __HttpHandlerOptions,
843
+ options?: CloudWatchEventsRequestOptions,
835
844
  ): Promise<UpdateConnectionCommandOutput>;
836
845
  updateConnection(
837
846
  args: UpdateConnectionCommandInput,
@@ -839,7 +848,7 @@ export interface CloudWatchEvents {
839
848
  ): void;
840
849
  updateConnection(
841
850
  args: UpdateConnectionCommandInput,
842
- options: __HttpHandlerOptions,
851
+ options: CloudWatchEventsRequestOptions,
843
852
  cb: (err: any, data?: UpdateConnectionCommandOutput) => void,
844
853
  ): void;
845
854
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-events",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Cloudwatch Events Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudwatch-events",
6
6
  "license": "Apache-2.0",
@@ -48,13 +48,13 @@
48
48
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.978.0",
52
- "@aws-sdk/credential-provider-node": "^3.972.83",
53
- "@aws-sdk/types": "^3.974.5",
54
- "@smithy/core": "^3.33.3",
55
- "@smithy/fetch-http-handler": "^5.7.2",
56
- "@smithy/node-http-handler": "^4.11.3",
57
- "@smithy/types": "^4.17.2",
51
+ "@aws-sdk/core": "^3.978.1",
52
+ "@aws-sdk/credential-provider-node": "^3.972.84",
53
+ "@aws-sdk/types": "^3.974.6",
54
+ "@smithy/core": "^3.35.0",
55
+ "@smithy/fetch-http-handler": "^5.8.0",
56
+ "@smithy/node-http-handler": "^4.12.1",
57
+ "@smithy/types": "^4.19.0",
58
58
  "tslib": "^2.6.2"
59
59
  },
60
60
  "devDependencies": {