@aws-sdk/client-cloudwatch-events 3.50.0 → 3.53.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 (77) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/CloudWatchEventsServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +148 -4
  5. package/dist-cjs/protocols/Aws_json1_1.js +458 -1571
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/CloudWatchEventsServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +134 -1
  9. package/dist-es/protocols/Aws_json1_1.js +1030 -1754
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/CloudWatchEventsServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +79 -45
  13. package/dist-types/ts3.4/CloudWatchEvents.d.ts +260 -0
  14. package/dist-types/ts3.4/CloudWatchEventsClient.d.ts +124 -0
  15. package/dist-types/ts3.4/commands/ActivateEventSourceCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CancelReplayCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateApiDestinationCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateArchiveCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeleteApiDestinationCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DescribeApiDestinationCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DescribeArchiveCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DescribeConnectionCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DescribeReplayCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DisableRuleCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/EnableRuleCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/ListApiDestinationsCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/ListArchivesCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/ListReplaysCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/ListTargetsByRuleCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/PutPartnerEventsCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/PutRuleCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/PutTargetsCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/RemoveTargetsCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/StartReplayCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/TestEventPatternCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/UpdateApiDestinationCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/UpdateArchiveCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/index.d.ts +51 -0
  67. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  68. package/dist-types/ts3.4/index.d.ts +5 -0
  69. package/dist-types/ts3.4/models/CloudWatchEventsServiceException.d.ts +6 -0
  70. package/dist-types/ts3.4/models/index.d.ts +1 -0
  71. package/dist-types/ts3.4/models/models_0.d.ts +2111 -0
  72. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +155 -0
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  77. package/package.json +33 -33
@@ -2,3 +2,4 @@ export * from "./CloudWatchEvents";
2
2
  export * from "./CloudWatchEventsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { CloudWatchEventsServiceException } from "./models/CloudWatchEventsServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from CloudWatchEvents service.
4
+ */
5
+ export declare class CloudWatchEventsServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CloudWatchEventsServiceException as __BaseException } from "./CloudWatchEventsServiceException";
2
3
  export interface ActivateEventSourceRequest {
3
4
  /**
4
5
  * <p>The name of the partner event source to activate.</p>
@@ -14,42 +15,57 @@ export declare namespace ActivateEventSourceRequest {
14
15
  /**
15
16
  * <p>There is concurrent modification on a rule, target, archive, or replay.</p>
16
17
  */
17
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
18
- name: "ConcurrentModificationException";
19
- $fault: "client";
20
- message?: string;
18
+ export declare class ConcurrentModificationException extends __BaseException {
19
+ readonly name: "ConcurrentModificationException";
20
+ readonly $fault: "client";
21
+ /**
22
+ * @internal
23
+ */
24
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
21
25
  }
22
26
  /**
23
27
  * <p>This exception occurs due to unexpected causes.</p>
24
28
  */
25
- export interface InternalException extends __SmithyException, $MetadataBearer {
26
- name: "InternalException";
27
- $fault: "server";
28
- message?: string;
29
+ export declare class InternalException extends __BaseException {
30
+ readonly name: "InternalException";
31
+ readonly $fault: "server";
32
+ /**
33
+ * @internal
34
+ */
35
+ constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
29
36
  }
30
37
  /**
31
38
  * <p>The specified state is not a valid state for an event source.</p>
32
39
  */
33
- export interface InvalidStateException extends __SmithyException, $MetadataBearer {
34
- name: "InvalidStateException";
35
- $fault: "client";
36
- message?: string;
40
+ export declare class InvalidStateException extends __BaseException {
41
+ readonly name: "InvalidStateException";
42
+ readonly $fault: "client";
43
+ /**
44
+ * @internal
45
+ */
46
+ constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
37
47
  }
38
48
  /**
39
49
  * <p>The operation you are attempting is not available in this region.</p>
40
50
  */
41
- export interface OperationDisabledException extends __SmithyException, $MetadataBearer {
42
- name: "OperationDisabledException";
43
- $fault: "client";
44
- message?: string;
51
+ export declare class OperationDisabledException extends __BaseException {
52
+ readonly name: "OperationDisabledException";
53
+ readonly $fault: "client";
54
+ /**
55
+ * @internal
56
+ */
57
+ constructor(opts: __ExceptionOptionType<OperationDisabledException, __BaseException>);
45
58
  }
46
59
  /**
47
60
  * <p>An entity that you specified does not exist.</p>
48
61
  */
49
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
50
- name: "ResourceNotFoundException";
51
- $fault: "client";
52
- message?: string;
62
+ export declare class ResourceNotFoundException extends __BaseException {
63
+ readonly name: "ResourceNotFoundException";
64
+ readonly $fault: "client";
65
+ /**
66
+ * @internal
67
+ */
68
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
53
69
  }
54
70
  export declare enum ApiDestinationState {
55
71
  ACTIVE = "ACTIVE",
@@ -211,10 +227,13 @@ export declare namespace CancelReplayResponse {
211
227
  * <p>An error occurred because a replay can be canceled only when the state is Running or
212
228
  * Starting.</p>
213
229
  */
214
- export interface IllegalStatusException extends __SmithyException, $MetadataBearer {
215
- name: "IllegalStatusException";
216
- $fault: "client";
217
- message?: string;
230
+ export declare class IllegalStatusException extends __BaseException {
231
+ readonly name: "IllegalStatusException";
232
+ readonly $fault: "client";
233
+ /**
234
+ * @internal
235
+ */
236
+ constructor(opts: __ExceptionOptionType<IllegalStatusException, __BaseException>);
218
237
  }
219
238
  export interface CreateApiDestinationRequest {
220
239
  /**
@@ -277,18 +296,24 @@ export declare namespace CreateApiDestinationResponse {
277
296
  * <p>The request failed because it attempted to create resource beyond the allowed service
278
297
  * quota.</p>
279
298
  */
280
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
281
- name: "LimitExceededException";
282
- $fault: "client";
283
- message?: string;
299
+ export declare class LimitExceededException extends __BaseException {
300
+ readonly name: "LimitExceededException";
301
+ readonly $fault: "client";
302
+ /**
303
+ * @internal
304
+ */
305
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
284
306
  }
285
307
  /**
286
308
  * <p>The resource you are trying to create already exists.</p>
287
309
  */
288
- export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
289
- name: "ResourceAlreadyExistsException";
290
- $fault: "client";
291
- message?: string;
310
+ export declare class ResourceAlreadyExistsException extends __BaseException {
311
+ readonly name: "ResourceAlreadyExistsException";
312
+ readonly $fault: "client";
313
+ /**
314
+ * @internal
315
+ */
316
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
292
317
  }
293
318
  export interface CreateArchiveRequest {
294
319
  /**
@@ -346,10 +371,13 @@ export declare namespace CreateArchiveResponse {
346
371
  /**
347
372
  * <p>The event pattern is not valid.</p>
348
373
  */
349
- export interface InvalidEventPatternException extends __SmithyException, $MetadataBearer {
350
- name: "InvalidEventPatternException";
351
- $fault: "client";
352
- message?: string;
374
+ export declare class InvalidEventPatternException extends __BaseException {
375
+ readonly name: "InvalidEventPatternException";
376
+ readonly $fault: "client";
377
+ /**
378
+ * @internal
379
+ */
380
+ constructor(opts: __ExceptionOptionType<InvalidEventPatternException, __BaseException>);
353
381
  }
354
382
  export declare enum ConnectionAuthorizationType {
355
383
  API_KEY = "API_KEY",
@@ -924,10 +952,13 @@ export declare namespace DeleteRuleRequest {
924
952
  * using <code>DisableRule</code>, <code>EnableRule</code>, <code>PutTargets</code>,
925
953
  * <code>PutRule</code>, <code>TagResource</code>, or <code>UntagResource</code>. </p>
926
954
  */
927
- export interface ManagedRuleException extends __SmithyException, $MetadataBearer {
928
- name: "ManagedRuleException";
929
- $fault: "client";
930
- message?: string;
955
+ export declare class ManagedRuleException extends __BaseException {
956
+ readonly name: "ManagedRuleException";
957
+ readonly $fault: "client";
958
+ /**
959
+ * @internal
960
+ */
961
+ constructor(opts: __ExceptionOptionType<ManagedRuleException, __BaseException>);
931
962
  }
932
963
  export interface DescribeApiDestinationRequest {
933
964
  /**
@@ -3218,10 +3249,13 @@ export declare namespace PutPartnerEventsResponse {
3218
3249
  /**
3219
3250
  * <p>The event bus policy is too long. For more information, see the limits.</p>
3220
3251
  */
3221
- export interface PolicyLengthExceededException extends __SmithyException, $MetadataBearer {
3222
- name: "PolicyLengthExceededException";
3223
- $fault: "client";
3224
- message?: string;
3252
+ export declare class PolicyLengthExceededException extends __BaseException {
3253
+ readonly name: "PolicyLengthExceededException";
3254
+ readonly $fault: "client";
3255
+ /**
3256
+ * @internal
3257
+ */
3258
+ constructor(opts: __ExceptionOptionType<PolicyLengthExceededException, __BaseException>);
3225
3259
  }
3226
3260
  /**
3227
3261
  * <p>A JSON string which you can use to limit the event bus permissions you are granting to
@@ -0,0 +1,260 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CloudWatchEventsClient } from "./CloudWatchEventsClient";
3
+ import { ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput } from "./commands/ActivateEventSourceCommand";
4
+ import { CancelReplayCommandInput, CancelReplayCommandOutput } from "./commands/CancelReplayCommand";
5
+ import { CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput } from "./commands/CreateApiDestinationCommand";
6
+ import { CreateArchiveCommandInput, CreateArchiveCommandOutput } from "./commands/CreateArchiveCommand";
7
+ import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand";
8
+ import { CreateEventBusCommandInput, CreateEventBusCommandOutput } from "./commands/CreateEventBusCommand";
9
+ import { CreatePartnerEventSourceCommandInput, CreatePartnerEventSourceCommandOutput } from "./commands/CreatePartnerEventSourceCommand";
10
+ import { DeactivateEventSourceCommandInput, DeactivateEventSourceCommandOutput } from "./commands/DeactivateEventSourceCommand";
11
+ import { DeauthorizeConnectionCommandInput, DeauthorizeConnectionCommandOutput } from "./commands/DeauthorizeConnectionCommand";
12
+ import { DeleteApiDestinationCommandInput, DeleteApiDestinationCommandOutput } from "./commands/DeleteApiDestinationCommand";
13
+ import { DeleteArchiveCommandInput, DeleteArchiveCommandOutput } from "./commands/DeleteArchiveCommand";
14
+ import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
15
+ import { DeleteEventBusCommandInput, DeleteEventBusCommandOutput } from "./commands/DeleteEventBusCommand";
16
+ import { DeletePartnerEventSourceCommandInput, DeletePartnerEventSourceCommandOutput } from "./commands/DeletePartnerEventSourceCommand";
17
+ import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
18
+ import { DescribeApiDestinationCommandInput, DescribeApiDestinationCommandOutput } from "./commands/DescribeApiDestinationCommand";
19
+ import { DescribeArchiveCommandInput, DescribeArchiveCommandOutput } from "./commands/DescribeArchiveCommand";
20
+ import { DescribeConnectionCommandInput, DescribeConnectionCommandOutput } from "./commands/DescribeConnectionCommand";
21
+ import { DescribeEventBusCommandInput, DescribeEventBusCommandOutput } from "./commands/DescribeEventBusCommand";
22
+ import { DescribeEventSourceCommandInput, DescribeEventSourceCommandOutput } from "./commands/DescribeEventSourceCommand";
23
+ import { DescribePartnerEventSourceCommandInput, DescribePartnerEventSourceCommandOutput } from "./commands/DescribePartnerEventSourceCommand";
24
+ import { DescribeReplayCommandInput, DescribeReplayCommandOutput } from "./commands/DescribeReplayCommand";
25
+ import { DescribeRuleCommandInput, DescribeRuleCommandOutput } from "./commands/DescribeRuleCommand";
26
+ import { DisableRuleCommandInput, DisableRuleCommandOutput } from "./commands/DisableRuleCommand";
27
+ import { EnableRuleCommandInput, EnableRuleCommandOutput } from "./commands/EnableRuleCommand";
28
+ import { ListApiDestinationsCommandInput, ListApiDestinationsCommandOutput } from "./commands/ListApiDestinationsCommand";
29
+ import { ListArchivesCommandInput, ListArchivesCommandOutput } from "./commands/ListArchivesCommand";
30
+ import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "./commands/ListConnectionsCommand";
31
+ import { ListEventBusesCommandInput, ListEventBusesCommandOutput } from "./commands/ListEventBusesCommand";
32
+ import { ListEventSourcesCommandInput, ListEventSourcesCommandOutput } from "./commands/ListEventSourcesCommand";
33
+ import { ListPartnerEventSourceAccountsCommandInput, ListPartnerEventSourceAccountsCommandOutput } from "./commands/ListPartnerEventSourceAccountsCommand";
34
+ import { ListPartnerEventSourcesCommandInput, ListPartnerEventSourcesCommandOutput } from "./commands/ListPartnerEventSourcesCommand";
35
+ import { ListReplaysCommandInput, ListReplaysCommandOutput } from "./commands/ListReplaysCommand";
36
+ import { ListRuleNamesByTargetCommandInput, ListRuleNamesByTargetCommandOutput } from "./commands/ListRuleNamesByTargetCommand";
37
+ import { ListRulesCommandInput, ListRulesCommandOutput } from "./commands/ListRulesCommand";
38
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
39
+ import { ListTargetsByRuleCommandInput, ListTargetsByRuleCommandOutput } from "./commands/ListTargetsByRuleCommand";
40
+ import { PutEventsCommandInput, PutEventsCommandOutput } from "./commands/PutEventsCommand";
41
+ import { PutPartnerEventsCommandInput, PutPartnerEventsCommandOutput } from "./commands/PutPartnerEventsCommand";
42
+ import { PutPermissionCommandInput, PutPermissionCommandOutput } from "./commands/PutPermissionCommand";
43
+ import { PutRuleCommandInput, PutRuleCommandOutput } from "./commands/PutRuleCommand";
44
+ import { PutTargetsCommandInput, PutTargetsCommandOutput } from "./commands/PutTargetsCommand";
45
+ import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
46
+ import { RemoveTargetsCommandInput, RemoveTargetsCommandOutput } from "./commands/RemoveTargetsCommand";
47
+ import { StartReplayCommandInput, StartReplayCommandOutput } from "./commands/StartReplayCommand";
48
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
49
+ import { TestEventPatternCommandInput, TestEventPatternCommandOutput } from "./commands/TestEventPatternCommand";
50
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
51
+ import { UpdateApiDestinationCommandInput, UpdateApiDestinationCommandOutput } from "./commands/UpdateApiDestinationCommand";
52
+ import { UpdateArchiveCommandInput, UpdateArchiveCommandOutput } from "./commands/UpdateArchiveCommand";
53
+ import { UpdateConnectionCommandInput, UpdateConnectionCommandOutput } from "./commands/UpdateConnectionCommand";
54
+
55
+ export declare class CloudWatchEvents extends CloudWatchEventsClient {
56
+
57
+ activateEventSource(args: ActivateEventSourceCommandInput, options?: __HttpHandlerOptions): Promise<ActivateEventSourceCommandOutput>;
58
+ activateEventSource(args: ActivateEventSourceCommandInput, cb: (err: any, data?: ActivateEventSourceCommandOutput) => void): void;
59
+ activateEventSource(args: ActivateEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ActivateEventSourceCommandOutput) => void): void;
60
+
61
+ cancelReplay(args: CancelReplayCommandInput, options?: __HttpHandlerOptions): Promise<CancelReplayCommandOutput>;
62
+ cancelReplay(args: CancelReplayCommandInput, cb: (err: any, data?: CancelReplayCommandOutput) => void): void;
63
+ cancelReplay(args: CancelReplayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelReplayCommandOutput) => void): void;
64
+
65
+ createApiDestination(args: CreateApiDestinationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApiDestinationCommandOutput>;
66
+ createApiDestination(args: CreateApiDestinationCommandInput, cb: (err: any, data?: CreateApiDestinationCommandOutput) => void): void;
67
+ createApiDestination(args: CreateApiDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApiDestinationCommandOutput) => void): void;
68
+
69
+ createArchive(args: CreateArchiveCommandInput, options?: __HttpHandlerOptions): Promise<CreateArchiveCommandOutput>;
70
+ createArchive(args: CreateArchiveCommandInput, cb: (err: any, data?: CreateArchiveCommandOutput) => void): void;
71
+ createArchive(args: CreateArchiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateArchiveCommandOutput) => void): void;
72
+
73
+ createConnection(args: CreateConnectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectionCommandOutput>;
74
+ createConnection(args: CreateConnectionCommandInput, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void;
75
+ createConnection(args: CreateConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void;
76
+
77
+ createEventBus(args: CreateEventBusCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventBusCommandOutput>;
78
+ createEventBus(args: CreateEventBusCommandInput, cb: (err: any, data?: CreateEventBusCommandOutput) => void): void;
79
+ createEventBus(args: CreateEventBusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventBusCommandOutput) => void): void;
80
+
81
+ createPartnerEventSource(args: CreatePartnerEventSourceCommandInput, options?: __HttpHandlerOptions): Promise<CreatePartnerEventSourceCommandOutput>;
82
+ createPartnerEventSource(args: CreatePartnerEventSourceCommandInput, cb: (err: any, data?: CreatePartnerEventSourceCommandOutput) => void): void;
83
+ createPartnerEventSource(args: CreatePartnerEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePartnerEventSourceCommandOutput) => void): void;
84
+
85
+ deactivateEventSource(args: DeactivateEventSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeactivateEventSourceCommandOutput>;
86
+ deactivateEventSource(args: DeactivateEventSourceCommandInput, cb: (err: any, data?: DeactivateEventSourceCommandOutput) => void): void;
87
+ deactivateEventSource(args: DeactivateEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeactivateEventSourceCommandOutput) => void): void;
88
+
89
+ deauthorizeConnection(args: DeauthorizeConnectionCommandInput, options?: __HttpHandlerOptions): Promise<DeauthorizeConnectionCommandOutput>;
90
+ deauthorizeConnection(args: DeauthorizeConnectionCommandInput, cb: (err: any, data?: DeauthorizeConnectionCommandOutput) => void): void;
91
+ deauthorizeConnection(args: DeauthorizeConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeauthorizeConnectionCommandOutput) => void): void;
92
+
93
+ deleteApiDestination(args: DeleteApiDestinationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApiDestinationCommandOutput>;
94
+ deleteApiDestination(args: DeleteApiDestinationCommandInput, cb: (err: any, data?: DeleteApiDestinationCommandOutput) => void): void;
95
+ deleteApiDestination(args: DeleteApiDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApiDestinationCommandOutput) => void): void;
96
+
97
+ deleteArchive(args: DeleteArchiveCommandInput, options?: __HttpHandlerOptions): Promise<DeleteArchiveCommandOutput>;
98
+ deleteArchive(args: DeleteArchiveCommandInput, cb: (err: any, data?: DeleteArchiveCommandOutput) => void): void;
99
+ deleteArchive(args: DeleteArchiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteArchiveCommandOutput) => void): void;
100
+
101
+ deleteConnection(args: DeleteConnectionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectionCommandOutput>;
102
+ deleteConnection(args: DeleteConnectionCommandInput, cb: (err: any, data?: DeleteConnectionCommandOutput) => void): void;
103
+ deleteConnection(args: DeleteConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectionCommandOutput) => void): void;
104
+
105
+ deleteEventBus(args: DeleteEventBusCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEventBusCommandOutput>;
106
+ deleteEventBus(args: DeleteEventBusCommandInput, cb: (err: any, data?: DeleteEventBusCommandOutput) => void): void;
107
+ deleteEventBus(args: DeleteEventBusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventBusCommandOutput) => void): void;
108
+
109
+ deletePartnerEventSource(args: DeletePartnerEventSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeletePartnerEventSourceCommandOutput>;
110
+ deletePartnerEventSource(args: DeletePartnerEventSourceCommandInput, cb: (err: any, data?: DeletePartnerEventSourceCommandOutput) => void): void;
111
+ deletePartnerEventSource(args: DeletePartnerEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePartnerEventSourceCommandOutput) => void): void;
112
+
113
+ deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleCommandOutput>;
114
+ deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
115
+ deleteRule(args: DeleteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
116
+
117
+ describeApiDestination(args: DescribeApiDestinationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeApiDestinationCommandOutput>;
118
+ describeApiDestination(args: DescribeApiDestinationCommandInput, cb: (err: any, data?: DescribeApiDestinationCommandOutput) => void): void;
119
+ describeApiDestination(args: DescribeApiDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeApiDestinationCommandOutput) => void): void;
120
+
121
+ describeArchive(args: DescribeArchiveCommandInput, options?: __HttpHandlerOptions): Promise<DescribeArchiveCommandOutput>;
122
+ describeArchive(args: DescribeArchiveCommandInput, cb: (err: any, data?: DescribeArchiveCommandOutput) => void): void;
123
+ describeArchive(args: DescribeArchiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeArchiveCommandOutput) => void): void;
124
+
125
+ describeConnection(args: DescribeConnectionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectionCommandOutput>;
126
+ describeConnection(args: DescribeConnectionCommandInput, cb: (err: any, data?: DescribeConnectionCommandOutput) => void): void;
127
+ describeConnection(args: DescribeConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectionCommandOutput) => void): void;
128
+
129
+ describeEventBus(args: DescribeEventBusCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventBusCommandOutput>;
130
+ describeEventBus(args: DescribeEventBusCommandInput, cb: (err: any, data?: DescribeEventBusCommandOutput) => void): void;
131
+ describeEventBus(args: DescribeEventBusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventBusCommandOutput) => void): void;
132
+
133
+ describeEventSource(args: DescribeEventSourceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventSourceCommandOutput>;
134
+ describeEventSource(args: DescribeEventSourceCommandInput, cb: (err: any, data?: DescribeEventSourceCommandOutput) => void): void;
135
+ describeEventSource(args: DescribeEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventSourceCommandOutput) => void): void;
136
+
137
+ describePartnerEventSource(args: DescribePartnerEventSourceCommandInput, options?: __HttpHandlerOptions): Promise<DescribePartnerEventSourceCommandOutput>;
138
+ describePartnerEventSource(args: DescribePartnerEventSourceCommandInput, cb: (err: any, data?: DescribePartnerEventSourceCommandOutput) => void): void;
139
+ describePartnerEventSource(args: DescribePartnerEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePartnerEventSourceCommandOutput) => void): void;
140
+
141
+ describeReplay(args: DescribeReplayCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReplayCommandOutput>;
142
+ describeReplay(args: DescribeReplayCommandInput, cb: (err: any, data?: DescribeReplayCommandOutput) => void): void;
143
+ describeReplay(args: DescribeReplayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReplayCommandOutput) => void): void;
144
+
145
+ describeRule(args: DescribeRuleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRuleCommandOutput>;
146
+ describeRule(args: DescribeRuleCommandInput, cb: (err: any, data?: DescribeRuleCommandOutput) => void): void;
147
+ describeRule(args: DescribeRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRuleCommandOutput) => void): void;
148
+
149
+ disableRule(args: DisableRuleCommandInput, options?: __HttpHandlerOptions): Promise<DisableRuleCommandOutput>;
150
+ disableRule(args: DisableRuleCommandInput, cb: (err: any, data?: DisableRuleCommandOutput) => void): void;
151
+ disableRule(args: DisableRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableRuleCommandOutput) => void): void;
152
+
153
+ enableRule(args: EnableRuleCommandInput, options?: __HttpHandlerOptions): Promise<EnableRuleCommandOutput>;
154
+ enableRule(args: EnableRuleCommandInput, cb: (err: any, data?: EnableRuleCommandOutput) => void): void;
155
+ enableRule(args: EnableRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableRuleCommandOutput) => void): void;
156
+
157
+ listApiDestinations(args: ListApiDestinationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApiDestinationsCommandOutput>;
158
+ listApiDestinations(args: ListApiDestinationsCommandInput, cb: (err: any, data?: ListApiDestinationsCommandOutput) => void): void;
159
+ listApiDestinations(args: ListApiDestinationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApiDestinationsCommandOutput) => void): void;
160
+
161
+ listArchives(args: ListArchivesCommandInput, options?: __HttpHandlerOptions): Promise<ListArchivesCommandOutput>;
162
+ listArchives(args: ListArchivesCommandInput, cb: (err: any, data?: ListArchivesCommandOutput) => void): void;
163
+ listArchives(args: ListArchivesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListArchivesCommandOutput) => void): void;
164
+
165
+ listConnections(args: ListConnectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectionsCommandOutput>;
166
+ listConnections(args: ListConnectionsCommandInput, cb: (err: any, data?: ListConnectionsCommandOutput) => void): void;
167
+ listConnections(args: ListConnectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectionsCommandOutput) => void): void;
168
+
169
+ listEventBuses(args: ListEventBusesCommandInput, options?: __HttpHandlerOptions): Promise<ListEventBusesCommandOutput>;
170
+ listEventBuses(args: ListEventBusesCommandInput, cb: (err: any, data?: ListEventBusesCommandOutput) => void): void;
171
+ listEventBuses(args: ListEventBusesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventBusesCommandOutput) => void): void;
172
+
173
+ listEventSources(args: ListEventSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListEventSourcesCommandOutput>;
174
+ listEventSources(args: ListEventSourcesCommandInput, cb: (err: any, data?: ListEventSourcesCommandOutput) => void): void;
175
+ listEventSources(args: ListEventSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventSourcesCommandOutput) => void): void;
176
+
177
+ listPartnerEventSourceAccounts(args: ListPartnerEventSourceAccountsCommandInput, options?: __HttpHandlerOptions): Promise<ListPartnerEventSourceAccountsCommandOutput>;
178
+ listPartnerEventSourceAccounts(args: ListPartnerEventSourceAccountsCommandInput, cb: (err: any, data?: ListPartnerEventSourceAccountsCommandOutput) => void): void;
179
+ listPartnerEventSourceAccounts(args: ListPartnerEventSourceAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPartnerEventSourceAccountsCommandOutput) => void): void;
180
+
181
+ listPartnerEventSources(args: ListPartnerEventSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListPartnerEventSourcesCommandOutput>;
182
+ listPartnerEventSources(args: ListPartnerEventSourcesCommandInput, cb: (err: any, data?: ListPartnerEventSourcesCommandOutput) => void): void;
183
+ listPartnerEventSources(args: ListPartnerEventSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPartnerEventSourcesCommandOutput) => void): void;
184
+
185
+ listReplays(args: ListReplaysCommandInput, options?: __HttpHandlerOptions): Promise<ListReplaysCommandOutput>;
186
+ listReplays(args: ListReplaysCommandInput, cb: (err: any, data?: ListReplaysCommandOutput) => void): void;
187
+ listReplays(args: ListReplaysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReplaysCommandOutput) => void): void;
188
+
189
+ listRuleNamesByTarget(args: ListRuleNamesByTargetCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleNamesByTargetCommandOutput>;
190
+ listRuleNamesByTarget(args: ListRuleNamesByTargetCommandInput, cb: (err: any, data?: ListRuleNamesByTargetCommandOutput) => void): void;
191
+ listRuleNamesByTarget(args: ListRuleNamesByTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleNamesByTargetCommandOutput) => void): void;
192
+
193
+ listRules(args: ListRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesCommandOutput>;
194
+ listRules(args: ListRulesCommandInput, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
195
+ listRules(args: ListRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
196
+
197
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
198
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
199
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
200
+
201
+ listTargetsByRule(args: ListTargetsByRuleCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetsByRuleCommandOutput>;
202
+ listTargetsByRule(args: ListTargetsByRuleCommandInput, cb: (err: any, data?: ListTargetsByRuleCommandOutput) => void): void;
203
+ listTargetsByRule(args: ListTargetsByRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetsByRuleCommandOutput) => void): void;
204
+
205
+ putEvents(args: PutEventsCommandInput, options?: __HttpHandlerOptions): Promise<PutEventsCommandOutput>;
206
+ putEvents(args: PutEventsCommandInput, cb: (err: any, data?: PutEventsCommandOutput) => void): void;
207
+ putEvents(args: PutEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutEventsCommandOutput) => void): void;
208
+
209
+ putPartnerEvents(args: PutPartnerEventsCommandInput, options?: __HttpHandlerOptions): Promise<PutPartnerEventsCommandOutput>;
210
+ putPartnerEvents(args: PutPartnerEventsCommandInput, cb: (err: any, data?: PutPartnerEventsCommandOutput) => void): void;
211
+ putPartnerEvents(args: PutPartnerEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPartnerEventsCommandOutput) => void): void;
212
+
213
+ putPermission(args: PutPermissionCommandInput, options?: __HttpHandlerOptions): Promise<PutPermissionCommandOutput>;
214
+ putPermission(args: PutPermissionCommandInput, cb: (err: any, data?: PutPermissionCommandOutput) => void): void;
215
+ putPermission(args: PutPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPermissionCommandOutput) => void): void;
216
+
217
+ putRule(args: PutRuleCommandInput, options?: __HttpHandlerOptions): Promise<PutRuleCommandOutput>;
218
+ putRule(args: PutRuleCommandInput, cb: (err: any, data?: PutRuleCommandOutput) => void): void;
219
+ putRule(args: PutRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRuleCommandOutput) => void): void;
220
+
221
+ putTargets(args: PutTargetsCommandInput, options?: __HttpHandlerOptions): Promise<PutTargetsCommandOutput>;
222
+ putTargets(args: PutTargetsCommandInput, cb: (err: any, data?: PutTargetsCommandOutput) => void): void;
223
+ putTargets(args: PutTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutTargetsCommandOutput) => void): void;
224
+
225
+ removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemovePermissionCommandOutput>;
226
+ removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
227
+ removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
228
+
229
+ removeTargets(args: RemoveTargetsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTargetsCommandOutput>;
230
+ removeTargets(args: RemoveTargetsCommandInput, cb: (err: any, data?: RemoveTargetsCommandOutput) => void): void;
231
+ removeTargets(args: RemoveTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTargetsCommandOutput) => void): void;
232
+
233
+ startReplay(args: StartReplayCommandInput, options?: __HttpHandlerOptions): Promise<StartReplayCommandOutput>;
234
+ startReplay(args: StartReplayCommandInput, cb: (err: any, data?: StartReplayCommandOutput) => void): void;
235
+ startReplay(args: StartReplayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartReplayCommandOutput) => void): void;
236
+
237
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
238
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
239
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
240
+
241
+ testEventPattern(args: TestEventPatternCommandInput, options?: __HttpHandlerOptions): Promise<TestEventPatternCommandOutput>;
242
+ testEventPattern(args: TestEventPatternCommandInput, cb: (err: any, data?: TestEventPatternCommandOutput) => void): void;
243
+ testEventPattern(args: TestEventPatternCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TestEventPatternCommandOutput) => void): void;
244
+
245
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
246
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
247
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
248
+
249
+ updateApiDestination(args: UpdateApiDestinationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApiDestinationCommandOutput>;
250
+ updateApiDestination(args: UpdateApiDestinationCommandInput, cb: (err: any, data?: UpdateApiDestinationCommandOutput) => void): void;
251
+ updateApiDestination(args: UpdateApiDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApiDestinationCommandOutput) => void): void;
252
+
253
+ updateArchive(args: UpdateArchiveCommandInput, options?: __HttpHandlerOptions): Promise<UpdateArchiveCommandOutput>;
254
+ updateArchive(args: UpdateArchiveCommandInput, cb: (err: any, data?: UpdateArchiveCommandOutput) => void): void;
255
+ updateArchive(args: UpdateArchiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateArchiveCommandOutput) => void): void;
256
+
257
+ updateConnection(args: UpdateConnectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectionCommandOutput>;
258
+ updateConnection(args: UpdateConnectionCommandInput, cb: (err: any, data?: UpdateConnectionCommandOutput) => void): void;
259
+ updateConnection(args: UpdateConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectionCommandOutput) => void): void;
260
+ }
@@ -0,0 +1,124 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput } from "./commands/ActivateEventSourceCommand";
10
+ import { CancelReplayCommandInput, CancelReplayCommandOutput } from "./commands/CancelReplayCommand";
11
+ import { CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput } from "./commands/CreateApiDestinationCommand";
12
+ import { CreateArchiveCommandInput, CreateArchiveCommandOutput } from "./commands/CreateArchiveCommand";
13
+ import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand";
14
+ import { CreateEventBusCommandInput, CreateEventBusCommandOutput } from "./commands/CreateEventBusCommand";
15
+ import { CreatePartnerEventSourceCommandInput, CreatePartnerEventSourceCommandOutput } from "./commands/CreatePartnerEventSourceCommand";
16
+ import { DeactivateEventSourceCommandInput, DeactivateEventSourceCommandOutput } from "./commands/DeactivateEventSourceCommand";
17
+ import { DeauthorizeConnectionCommandInput, DeauthorizeConnectionCommandOutput } from "./commands/DeauthorizeConnectionCommand";
18
+ import { DeleteApiDestinationCommandInput, DeleteApiDestinationCommandOutput } from "./commands/DeleteApiDestinationCommand";
19
+ import { DeleteArchiveCommandInput, DeleteArchiveCommandOutput } from "./commands/DeleteArchiveCommand";
20
+ import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
21
+ import { DeleteEventBusCommandInput, DeleteEventBusCommandOutput } from "./commands/DeleteEventBusCommand";
22
+ import { DeletePartnerEventSourceCommandInput, DeletePartnerEventSourceCommandOutput } from "./commands/DeletePartnerEventSourceCommand";
23
+ import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
24
+ import { DescribeApiDestinationCommandInput, DescribeApiDestinationCommandOutput } from "./commands/DescribeApiDestinationCommand";
25
+ import { DescribeArchiveCommandInput, DescribeArchiveCommandOutput } from "./commands/DescribeArchiveCommand";
26
+ import { DescribeConnectionCommandInput, DescribeConnectionCommandOutput } from "./commands/DescribeConnectionCommand";
27
+ import { DescribeEventBusCommandInput, DescribeEventBusCommandOutput } from "./commands/DescribeEventBusCommand";
28
+ import { DescribeEventSourceCommandInput, DescribeEventSourceCommandOutput } from "./commands/DescribeEventSourceCommand";
29
+ import { DescribePartnerEventSourceCommandInput, DescribePartnerEventSourceCommandOutput } from "./commands/DescribePartnerEventSourceCommand";
30
+ import { DescribeReplayCommandInput, DescribeReplayCommandOutput } from "./commands/DescribeReplayCommand";
31
+ import { DescribeRuleCommandInput, DescribeRuleCommandOutput } from "./commands/DescribeRuleCommand";
32
+ import { DisableRuleCommandInput, DisableRuleCommandOutput } from "./commands/DisableRuleCommand";
33
+ import { EnableRuleCommandInput, EnableRuleCommandOutput } from "./commands/EnableRuleCommand";
34
+ import { ListApiDestinationsCommandInput, ListApiDestinationsCommandOutput } from "./commands/ListApiDestinationsCommand";
35
+ import { ListArchivesCommandInput, ListArchivesCommandOutput } from "./commands/ListArchivesCommand";
36
+ import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "./commands/ListConnectionsCommand";
37
+ import { ListEventBusesCommandInput, ListEventBusesCommandOutput } from "./commands/ListEventBusesCommand";
38
+ import { ListEventSourcesCommandInput, ListEventSourcesCommandOutput } from "./commands/ListEventSourcesCommand";
39
+ import { ListPartnerEventSourceAccountsCommandInput, ListPartnerEventSourceAccountsCommandOutput } from "./commands/ListPartnerEventSourceAccountsCommand";
40
+ import { ListPartnerEventSourcesCommandInput, ListPartnerEventSourcesCommandOutput } from "./commands/ListPartnerEventSourcesCommand";
41
+ import { ListReplaysCommandInput, ListReplaysCommandOutput } from "./commands/ListReplaysCommand";
42
+ import { ListRuleNamesByTargetCommandInput, ListRuleNamesByTargetCommandOutput } from "./commands/ListRuleNamesByTargetCommand";
43
+ import { ListRulesCommandInput, ListRulesCommandOutput } from "./commands/ListRulesCommand";
44
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
45
+ import { ListTargetsByRuleCommandInput, ListTargetsByRuleCommandOutput } from "./commands/ListTargetsByRuleCommand";
46
+ import { PutEventsCommandInput, PutEventsCommandOutput } from "./commands/PutEventsCommand";
47
+ import { PutPartnerEventsCommandInput, PutPartnerEventsCommandOutput } from "./commands/PutPartnerEventsCommand";
48
+ import { PutPermissionCommandInput, PutPermissionCommandOutput } from "./commands/PutPermissionCommand";
49
+ import { PutRuleCommandInput, PutRuleCommandOutput } from "./commands/PutRuleCommand";
50
+ import { PutTargetsCommandInput, PutTargetsCommandOutput } from "./commands/PutTargetsCommand";
51
+ import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
52
+ import { RemoveTargetsCommandInput, RemoveTargetsCommandOutput } from "./commands/RemoveTargetsCommand";
53
+ import { StartReplayCommandInput, StartReplayCommandOutput } from "./commands/StartReplayCommand";
54
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
55
+ import { TestEventPatternCommandInput, TestEventPatternCommandOutput } from "./commands/TestEventPatternCommand";
56
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
57
+ import { UpdateApiDestinationCommandInput, UpdateApiDestinationCommandOutput } from "./commands/UpdateApiDestinationCommand";
58
+ import { UpdateArchiveCommandInput, UpdateArchiveCommandOutput } from "./commands/UpdateArchiveCommand";
59
+ import { UpdateConnectionCommandInput, UpdateConnectionCommandOutput } from "./commands/UpdateConnectionCommand";
60
+ export declare type ServiceInputTypes = ActivateEventSourceCommandInput | CancelReplayCommandInput | CreateApiDestinationCommandInput | CreateArchiveCommandInput | CreateConnectionCommandInput | CreateEventBusCommandInput | CreatePartnerEventSourceCommandInput | DeactivateEventSourceCommandInput | DeauthorizeConnectionCommandInput | DeleteApiDestinationCommandInput | DeleteArchiveCommandInput | DeleteConnectionCommandInput | DeleteEventBusCommandInput | DeletePartnerEventSourceCommandInput | DeleteRuleCommandInput | DescribeApiDestinationCommandInput | DescribeArchiveCommandInput | DescribeConnectionCommandInput | DescribeEventBusCommandInput | DescribeEventSourceCommandInput | DescribePartnerEventSourceCommandInput | DescribeReplayCommandInput | DescribeRuleCommandInput | DisableRuleCommandInput | EnableRuleCommandInput | ListApiDestinationsCommandInput | ListArchivesCommandInput | ListConnectionsCommandInput | ListEventBusesCommandInput | ListEventSourcesCommandInput | ListPartnerEventSourceAccountsCommandInput | ListPartnerEventSourcesCommandInput | ListReplaysCommandInput | ListRuleNamesByTargetCommandInput | ListRulesCommandInput | ListTagsForResourceCommandInput | ListTargetsByRuleCommandInput | PutEventsCommandInput | PutPartnerEventsCommandInput | PutPermissionCommandInput | PutRuleCommandInput | PutTargetsCommandInput | RemovePermissionCommandInput | RemoveTargetsCommandInput | StartReplayCommandInput | TagResourceCommandInput | TestEventPatternCommandInput | UntagResourceCommandInput | UpdateApiDestinationCommandInput | UpdateArchiveCommandInput | UpdateConnectionCommandInput;
61
+ export declare type ServiceOutputTypes = ActivateEventSourceCommandOutput | CancelReplayCommandOutput | CreateApiDestinationCommandOutput | CreateArchiveCommandOutput | CreateConnectionCommandOutput | CreateEventBusCommandOutput | CreatePartnerEventSourceCommandOutput | DeactivateEventSourceCommandOutput | DeauthorizeConnectionCommandOutput | DeleteApiDestinationCommandOutput | DeleteArchiveCommandOutput | DeleteConnectionCommandOutput | DeleteEventBusCommandOutput | DeletePartnerEventSourceCommandOutput | DeleteRuleCommandOutput | DescribeApiDestinationCommandOutput | DescribeArchiveCommandOutput | DescribeConnectionCommandOutput | DescribeEventBusCommandOutput | DescribeEventSourceCommandOutput | DescribePartnerEventSourceCommandOutput | DescribeReplayCommandOutput | DescribeRuleCommandOutput | DisableRuleCommandOutput | EnableRuleCommandOutput | ListApiDestinationsCommandOutput | ListArchivesCommandOutput | ListConnectionsCommandOutput | ListEventBusesCommandOutput | ListEventSourcesCommandOutput | ListPartnerEventSourceAccountsCommandOutput | ListPartnerEventSourcesCommandOutput | ListReplaysCommandOutput | ListRuleNamesByTargetCommandOutput | ListRulesCommandOutput | ListTagsForResourceCommandOutput | ListTargetsByRuleCommandOutput | PutEventsCommandOutput | PutPartnerEventsCommandOutput | PutPermissionCommandOutput | PutRuleCommandOutput | PutTargetsCommandOutput | RemovePermissionCommandOutput | RemoveTargetsCommandOutput | StartReplayCommandOutput | TagResourceCommandOutput | TestEventPatternCommandOutput | UntagResourceCommandOutput | UpdateApiDestinationCommandOutput | UpdateArchiveCommandOutput | UpdateConnectionCommandOutput;
62
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
63
+
64
+ requestHandler?: __HttpHandler;
65
+
66
+ sha256?: __HashConstructor;
67
+
68
+ urlParser?: __UrlParser;
69
+
70
+ bodyLengthChecker?: (body: any) => number | undefined;
71
+
72
+ streamCollector?: __StreamCollector;
73
+
74
+ base64Decoder?: __Decoder;
75
+
76
+ base64Encoder?: __Encoder;
77
+
78
+ utf8Decoder?: __Decoder;
79
+
80
+ utf8Encoder?: __Encoder;
81
+
82
+ runtime?: string;
83
+
84
+ disableHostPrefix?: boolean;
85
+
86
+ maxAttempts?: number | __Provider<number>;
87
+
88
+ retryMode?: string | __Provider<string>;
89
+
90
+ logger?: __Logger;
91
+
92
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
93
+
94
+ useFipsEndpoint?: boolean | __Provider<boolean>;
95
+
96
+ serviceId?: string;
97
+
98
+ region?: string | __Provider<string>;
99
+
100
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
101
+
102
+ regionInfoProvider?: RegionInfoProvider;
103
+
104
+ defaultUserAgentProvider?: Provider<__UserAgent>;
105
+
106
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
107
+ }
108
+ declare type CloudWatchEventsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
109
+
110
+ export interface CloudWatchEventsClientConfig extends CloudWatchEventsClientConfigType {
111
+ }
112
+ declare type CloudWatchEventsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
113
+
114
+ export interface CloudWatchEventsClientResolvedConfig extends CloudWatchEventsClientResolvedConfigType {
115
+ }
116
+
117
+ export declare class CloudWatchEventsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudWatchEventsClientResolvedConfig> {
118
+
119
+ readonly config: CloudWatchEventsClientResolvedConfig;
120
+ constructor(configuration: CloudWatchEventsClientConfig);
121
+
122
+ destroy(): void;
123
+ }
124
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
4
+ import { ActivateEventSourceRequest } from "../models/models_0";
5
+ export interface ActivateEventSourceCommandInput extends ActivateEventSourceRequest {
6
+ }
7
+ export interface ActivateEventSourceCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class ActivateEventSourceCommand extends $Command<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput, CloudWatchEventsClientResolvedConfig> {
11
+ readonly input: ActivateEventSourceCommandInput;
12
+ constructor(input: ActivateEventSourceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }