@aws-sdk/client-eventbridge 3.36.0 → 3.39.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 (129) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/EventBridge.js +0 -23
  3. package/dist-cjs/EventBridgeClient.js +0 -28
  4. package/dist-cjs/commands/ActivateEventSourceCommand.js +0 -25
  5. package/dist-cjs/commands/CancelReplayCommand.js +0 -24
  6. package/dist-cjs/commands/CreateApiDestinationCommand.js +0 -25
  7. package/dist-cjs/commands/CreateArchiveCommand.js +0 -28
  8. package/dist-cjs/commands/CreateConnectionCommand.js +0 -25
  9. package/dist-cjs/commands/CreateEventBusCommand.js +0 -26
  10. package/dist-cjs/commands/CreatePartnerEventSourceCommand.js +0 -47
  11. package/dist-cjs/commands/DeactivateEventSourceCommand.js +0 -28
  12. package/dist-cjs/commands/DeauthorizeConnectionCommand.js +0 -25
  13. package/dist-cjs/commands/DeleteApiDestinationCommand.js +0 -24
  14. package/dist-cjs/commands/DeleteArchiveCommand.js +0 -24
  15. package/dist-cjs/commands/DeleteConnectionCommand.js +0 -24
  16. package/dist-cjs/commands/DeleteEventBusCommand.js +0 -25
  17. package/dist-cjs/commands/DeletePartnerEventSourceCommand.js +0 -28
  18. package/dist-cjs/commands/DeleteRuleCommand.js +0 -37
  19. package/dist-cjs/commands/DescribeApiDestinationCommand.js +0 -24
  20. package/dist-cjs/commands/DescribeArchiveCommand.js +0 -24
  21. package/dist-cjs/commands/DescribeConnectionCommand.js +0 -24
  22. package/dist-cjs/commands/DescribeEventBusCommand.js +0 -30
  23. package/dist-cjs/commands/DescribeEventSourceCommand.js +0 -25
  24. package/dist-cjs/commands/DescribePartnerEventSourceCommand.js +0 -27
  25. package/dist-cjs/commands/DescribeReplayCommand.js +0 -32
  26. package/dist-cjs/commands/DescribeRuleCommand.js +0 -26
  27. package/dist-cjs/commands/DisableRuleCommand.js +0 -28
  28. package/dist-cjs/commands/EnableRuleCommand.js +0 -27
  29. package/dist-cjs/commands/ListApiDestinationsCommand.js +0 -24
  30. package/dist-cjs/commands/ListArchivesCommand.js +0 -25
  31. package/dist-cjs/commands/ListConnectionsCommand.js +0 -24
  32. package/dist-cjs/commands/ListEventBusesCommand.js +0 -25
  33. package/dist-cjs/commands/ListEventSourcesCommand.js +0 -25
  34. package/dist-cjs/commands/ListPartnerEventSourceAccountsCommand.js +0 -26
  35. package/dist-cjs/commands/ListPartnerEventSourcesCommand.js +0 -25
  36. package/dist-cjs/commands/ListReplaysCommand.js +0 -25
  37. package/dist-cjs/commands/ListRuleNamesByTargetCommand.js +0 -25
  38. package/dist-cjs/commands/ListRulesCommand.js +0 -28
  39. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  40. package/dist-cjs/commands/ListTargetsByRuleCommand.js +0 -24
  41. package/dist-cjs/commands/PutEventsCommand.js +0 -24
  42. package/dist-cjs/commands/PutPartnerEventsCommand.js +0 -25
  43. package/dist-cjs/commands/PutPermissionCommand.js +0 -43
  44. package/dist-cjs/commands/PutRuleCommand.js +0 -70
  45. package/dist-cjs/commands/PutTargetsCommand.js +0 -189
  46. package/dist-cjs/commands/RemovePermissionCommand.js +0 -27
  47. package/dist-cjs/commands/RemoveTargetsCommand.js +0 -32
  48. package/dist-cjs/commands/StartReplayCommand.js +0 -32
  49. package/dist-cjs/commands/TagResourceCommand.js +0 -34
  50. package/dist-cjs/commands/TestEventPatternCommand.js +0 -28
  51. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  52. package/dist-cjs/commands/UpdateApiDestinationCommand.js +0 -24
  53. package/dist-cjs/commands/UpdateArchiveCommand.js +0 -24
  54. package/dist-cjs/commands/UpdateConnectionCommand.js +0 -24
  55. package/dist-cjs/commands/index.js +54 -0
  56. package/dist-cjs/endpoints.js +6 -1
  57. package/dist-cjs/index.js +3 -53
  58. package/dist-cjs/models/models_0.js +0 -486
  59. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  60. package/dist-cjs/runtimeConfig.browser.js +1 -5
  61. package/dist-cjs/runtimeConfig.js +1 -5
  62. package/dist-cjs/runtimeConfig.native.js +0 -3
  63. package/dist-cjs/runtimeConfig.shared.js +0 -3
  64. package/dist-es/commands/index.js +51 -0
  65. package/dist-es/endpoints.js +6 -1
  66. package/dist-es/index.js +3 -53
  67. package/dist-types/commands/index.d.ts +51 -0
  68. package/dist-types/index.d.ts +3 -53
  69. package/dist-types/ts3.4/EventBridge.d.ts +52 -536
  70. package/dist-types/ts3.4/EventBridgeClient.d.ts +24 -109
  71. package/dist-types/ts3.4/commands/ActivateEventSourceCommand.d.ts +2 -21
  72. package/dist-types/ts3.4/commands/CancelReplayCommand.d.ts +2 -20
  73. package/dist-types/ts3.4/commands/CreateApiDestinationCommand.d.ts +2 -21
  74. package/dist-types/ts3.4/commands/CreateArchiveCommand.d.ts +2 -24
  75. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +2 -21
  76. package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +2 -22
  77. package/dist-types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +2 -43
  78. package/dist-types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +2 -24
  79. package/dist-types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +2 -21
  80. package/dist-types/ts3.4/commands/DeleteApiDestinationCommand.d.ts +2 -20
  81. package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +2 -20
  82. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +2 -20
  83. package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +2 -21
  84. package/dist-types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +2 -24
  85. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -33
  86. package/dist-types/ts3.4/commands/DescribeApiDestinationCommand.d.ts +2 -20
  87. package/dist-types/ts3.4/commands/DescribeArchiveCommand.d.ts +2 -20
  88. package/dist-types/ts3.4/commands/DescribeConnectionCommand.d.ts +2 -20
  89. package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +2 -26
  90. package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +2 -21
  91. package/dist-types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +2 -23
  92. package/dist-types/ts3.4/commands/DescribeReplayCommand.d.ts +2 -28
  93. package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +2 -22
  94. package/dist-types/ts3.4/commands/DisableRuleCommand.d.ts +2 -24
  95. package/dist-types/ts3.4/commands/EnableRuleCommand.d.ts +2 -23
  96. package/dist-types/ts3.4/commands/ListApiDestinationsCommand.d.ts +2 -20
  97. package/dist-types/ts3.4/commands/ListArchivesCommand.d.ts +2 -21
  98. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +2 -20
  99. package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +2 -21
  100. package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +2 -21
  101. package/dist-types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +2 -22
  102. package/dist-types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +2 -21
  103. package/dist-types/ts3.4/commands/ListReplaysCommand.d.ts +2 -21
  104. package/dist-types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +2 -21
  105. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +2 -24
  106. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
  107. package/dist-types/ts3.4/commands/ListTargetsByRuleCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/PutPartnerEventsCommand.d.ts +2 -21
  110. package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +2 -39
  111. package/dist-types/ts3.4/commands/PutRuleCommand.d.ts +2 -66
  112. package/dist-types/ts3.4/commands/PutTargetsCommand.d.ts +2 -185
  113. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -23
  114. package/dist-types/ts3.4/commands/RemoveTargetsCommand.d.ts +2 -28
  115. package/dist-types/ts3.4/commands/StartReplayCommand.d.ts +2 -28
  116. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -30
  117. package/dist-types/ts3.4/commands/TestEventPatternCommand.d.ts +2 -24
  118. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
  119. package/dist-types/ts3.4/commands/UpdateApiDestinationCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/UpdateArchiveCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/index.d.ts +51 -0
  123. package/dist-types/ts3.4/index.d.ts +3 -53
  124. package/dist-types/ts3.4/models/models_0.d.ts +723 -2619
  125. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  126. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  127. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  128. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  129. package/package.json +32 -32
@@ -1,84 +1,60 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
2
  export interface ActivateEventSourceRequest {
3
- /**
4
- * <p>The name of the partner event source to activate.</p>
5
- */
3
+
6
4
  Name: string | undefined;
7
5
  }
8
6
  export declare namespace ActivateEventSourceRequest {
9
- /**
10
- * @internal
11
- */
7
+
12
8
  const filterSensitiveLog: (obj: ActivateEventSourceRequest) => any;
13
9
  }
14
- /**
15
- * <p>There is concurrent modification on a rule, target, archive, or replay.</p>
16
- */
10
+
17
11
  export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
18
12
  name: "ConcurrentModificationException";
19
13
  $fault: "client";
20
14
  message?: string;
21
15
  }
22
16
  export declare namespace ConcurrentModificationException {
23
- /**
24
- * @internal
25
- */
17
+
26
18
  const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
27
19
  }
28
- /**
29
- * <p>This exception occurs due to unexpected causes.</p>
30
- */
20
+
31
21
  export interface InternalException extends __SmithyException, $MetadataBearer {
32
22
  name: "InternalException";
33
23
  $fault: "server";
34
24
  message?: string;
35
25
  }
36
26
  export declare namespace InternalException {
37
- /**
38
- * @internal
39
- */
27
+
40
28
  const filterSensitiveLog: (obj: InternalException) => any;
41
29
  }
42
- /**
43
- * <p>The specified state is not a valid state for an event source.</p>
44
- */
30
+
45
31
  export interface InvalidStateException extends __SmithyException, $MetadataBearer {
46
32
  name: "InvalidStateException";
47
33
  $fault: "client";
48
34
  message?: string;
49
35
  }
50
36
  export declare namespace InvalidStateException {
51
- /**
52
- * @internal
53
- */
37
+
54
38
  const filterSensitiveLog: (obj: InvalidStateException) => any;
55
39
  }
56
- /**
57
- * <p>The operation you are attempting is not available in this region.</p>
58
- */
40
+
59
41
  export interface OperationDisabledException extends __SmithyException, $MetadataBearer {
60
42
  name: "OperationDisabledException";
61
43
  $fault: "client";
62
44
  message?: string;
63
45
  }
64
46
  export declare namespace OperationDisabledException {
65
- /**
66
- * @internal
67
- */
47
+
68
48
  const filterSensitiveLog: (obj: OperationDisabledException) => any;
69
49
  }
70
- /**
71
- * <p>An entity that you specified does not exist.</p>
72
- */
50
+
73
51
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
74
52
  name: "ResourceNotFoundException";
75
53
  $fault: "client";
76
54
  message?: string;
77
55
  }
78
56
  export declare namespace ResourceNotFoundException {
79
- /**
80
- * @internal
81
- */
57
+
82
58
  const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
83
59
  }
84
60
  export declare enum ApiDestinationState {
@@ -94,51 +70,29 @@ export declare enum ApiDestinationHttpMethod {
94
70
  POST = "POST",
95
71
  PUT = "PUT"
96
72
  }
97
- /**
98
- * <p>Contains details about an API destination.</p>
99
- */
73
+
100
74
  export interface ApiDestination {
101
- /**
102
- * <p>The ARN of the API destination.</p>
103
- */
75
+
104
76
  ApiDestinationArn?: string;
105
- /**
106
- * <p>The name of the API destination.</p>
107
- */
77
+
108
78
  Name?: string;
109
- /**
110
- * <p>The state of the API destination.</p>
111
- */
79
+
112
80
  ApiDestinationState?: ApiDestinationState | string;
113
- /**
114
- * <p>The ARN of the connection specified for the API destination.</p>
115
- */
81
+
116
82
  ConnectionArn?: string;
117
- /**
118
- * <p>The URL to the endpoint for the API destination.</p>
119
- */
83
+
120
84
  InvocationEndpoint?: string;
121
- /**
122
- * <p>The method to use to connect to the HTTP endpoint.</p>
123
- */
85
+
124
86
  HttpMethod?: ApiDestinationHttpMethod | string;
125
- /**
126
- * <p>The maximum number of invocations per second to send to the HTTP endpoint.</p>
127
- */
87
+
128
88
  InvocationRateLimitPerSecond?: number;
129
- /**
130
- * <p>A time stamp for the time that the API destination was created.</p>
131
- */
89
+
132
90
  CreationTime?: Date;
133
- /**
134
- * <p>A time stamp for the time that the API destination was last modified.</p>
135
- */
91
+
136
92
  LastModifiedTime?: Date;
137
93
  }
138
94
  export declare namespace ApiDestination {
139
- /**
140
- * @internal
141
- */
95
+
142
96
  const filterSensitiveLog: (obj: ApiDestination) => any;
143
97
  }
144
98
  export declare enum ArchiveState {
@@ -149,48 +103,27 @@ export declare enum ArchiveState {
149
103
  UPDATE_FAILED = "UPDATE_FAILED",
150
104
  UPDATING = "UPDATING"
151
105
  }
152
- /**
153
- * <p>An <code>Archive</code> object that contains details about an archive.</p>
154
- */
106
+
155
107
  export interface Archive {
156
- /**
157
- * <p>The name of the archive.</p>
158
- */
108
+
159
109
  ArchiveName?: string;
160
- /**
161
- * <p>The ARN of the event bus associated with the archive. Only events from this event bus are
162
- * sent to the archive.</p>
163
- */
110
+
164
111
  EventSourceArn?: string;
165
- /**
166
- * <p>The current state of the archive.</p>
167
- */
112
+
168
113
  State?: ArchiveState | string;
169
- /**
170
- * <p>A description for the reason that the archive is in the current state.</p>
171
- */
114
+
172
115
  StateReason?: string;
173
- /**
174
- * <p>The number of days to retain events in the archive before they are deleted.</p>
175
- */
116
+
176
117
  RetentionDays?: number;
177
- /**
178
- * <p>The size of the archive, in bytes.</p>
179
- */
118
+
180
119
  SizeBytes?: number;
181
- /**
182
- * <p>The number of events in the archive.</p>
183
- */
120
+
184
121
  EventCount?: number;
185
- /**
186
- * <p>The time stamp for the time that the archive was created.</p>
187
- */
122
+
188
123
  CreationTime?: Date;
189
124
  }
190
125
  export declare namespace Archive {
191
- /**
192
- * @internal
193
- */
126
+
194
127
  const filterSensitiveLog: (obj: Archive) => any;
195
128
  }
196
129
  export declare enum AssignPublicIp {
@@ -198,15 +131,11 @@ export declare enum AssignPublicIp {
198
131
  ENABLED = "ENABLED"
199
132
  }
200
133
  export interface CancelReplayRequest {
201
- /**
202
- * <p>The name of the replay to cancel.</p>
203
- */
134
+
204
135
  ReplayName: string | undefined;
205
136
  }
206
137
  export declare namespace CancelReplayRequest {
207
- /**
208
- * @internal
209
- */
138
+
210
139
  const filterSensitiveLog: (obj: CancelReplayRequest) => any;
211
140
  }
212
141
  export declare enum ReplayState {
@@ -218,191 +147,117 @@ export declare enum ReplayState {
218
147
  STARTING = "STARTING"
219
148
  }
220
149
  export interface CancelReplayResponse {
221
- /**
222
- * <p>The ARN of the replay to cancel.</p>
223
- */
150
+
224
151
  ReplayArn?: string;
225
- /**
226
- * <p>The current state of the replay.</p>
227
- */
152
+
228
153
  State?: ReplayState | string;
229
- /**
230
- * <p>The reason that the replay is in the current state.</p>
231
- */
154
+
232
155
  StateReason?: string;
233
156
  }
234
157
  export declare namespace CancelReplayResponse {
235
- /**
236
- * @internal
237
- */
158
+
238
159
  const filterSensitiveLog: (obj: CancelReplayResponse) => any;
239
160
  }
240
- /**
241
- * <p>An error occurred because a replay can be canceled only when the state is Running or
242
- * Starting.</p>
243
- */
161
+
244
162
  export interface IllegalStatusException extends __SmithyException, $MetadataBearer {
245
163
  name: "IllegalStatusException";
246
164
  $fault: "client";
247
165
  message?: string;
248
166
  }
249
167
  export declare namespace IllegalStatusException {
250
- /**
251
- * @internal
252
- */
168
+
253
169
  const filterSensitiveLog: (obj: IllegalStatusException) => any;
254
170
  }
255
171
  export interface CreateApiDestinationRequest {
256
- /**
257
- * <p>The name for the API destination to create.</p>
258
- */
172
+
259
173
  Name: string | undefined;
260
- /**
261
- * <p>A description for the API destination to create.</p>
262
- */
174
+
263
175
  Description?: string;
264
- /**
265
- * <p>The ARN of the connection to use for the API destination. The destination endpoint must
266
- * support the authorization type specified for the connection.</p>
267
- */
176
+
268
177
  ConnectionArn: string | undefined;
269
- /**
270
- * <p>The URL to the HTTP invocation endpoint for the API destination.</p>
271
- */
178
+
272
179
  InvocationEndpoint: string | undefined;
273
- /**
274
- * <p>The method to use for the request to the HTTP invocation endpoint.</p>
275
- */
180
+
276
181
  HttpMethod: ApiDestinationHttpMethod | string | undefined;
277
- /**
278
- * <p>The maximum number of requests per second to send to the HTTP invocation endpoint.</p>
279
- */
182
+
280
183
  InvocationRateLimitPerSecond?: number;
281
184
  }
282
185
  export declare namespace CreateApiDestinationRequest {
283
- /**
284
- * @internal
285
- */
186
+
286
187
  const filterSensitiveLog: (obj: CreateApiDestinationRequest) => any;
287
188
  }
288
189
  export interface CreateApiDestinationResponse {
289
- /**
290
- * <p>The ARN of the API destination that was created by the request.</p>
291
- */
190
+
292
191
  ApiDestinationArn?: string;
293
- /**
294
- * <p>The state of the API destination that was created by the request.</p>
295
- */
192
+
296
193
  ApiDestinationState?: ApiDestinationState | string;
297
- /**
298
- * <p>A time stamp indicating the time that the API destination was created.</p>
299
- */
194
+
300
195
  CreationTime?: Date;
301
- /**
302
- * <p>A time stamp indicating the time that the API destination was last modified.</p>
303
- */
196
+
304
197
  LastModifiedTime?: Date;
305
198
  }
306
199
  export declare namespace CreateApiDestinationResponse {
307
- /**
308
- * @internal
309
- */
200
+
310
201
  const filterSensitiveLog: (obj: CreateApiDestinationResponse) => any;
311
202
  }
312
- /**
313
- * <p>The request failed because it attempted to create resource beyond the allowed service
314
- * quota.</p>
315
- */
203
+
316
204
  export interface LimitExceededException extends __SmithyException, $MetadataBearer {
317
205
  name: "LimitExceededException";
318
206
  $fault: "client";
319
207
  message?: string;
320
208
  }
321
209
  export declare namespace LimitExceededException {
322
- /**
323
- * @internal
324
- */
210
+
325
211
  const filterSensitiveLog: (obj: LimitExceededException) => any;
326
212
  }
327
- /**
328
- * <p>The resource you are trying to create already exists.</p>
329
- */
213
+
330
214
  export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
331
215
  name: "ResourceAlreadyExistsException";
332
216
  $fault: "client";
333
217
  message?: string;
334
218
  }
335
219
  export declare namespace ResourceAlreadyExistsException {
336
- /**
337
- * @internal
338
- */
220
+
339
221
  const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
340
222
  }
341
223
  export interface CreateArchiveRequest {
342
- /**
343
- * <p>The name for the archive to create.</p>
344
- */
224
+
345
225
  ArchiveName: string | undefined;
346
- /**
347
- * <p>The ARN of the event bus that sends events to the archive.</p>
348
- */
226
+
349
227
  EventSourceArn: string | undefined;
350
- /**
351
- * <p>A description for the archive.</p>
352
- */
228
+
353
229
  Description?: string;
354
- /**
355
- * <p>An event pattern to use to filter events sent to the archive.</p>
356
- */
230
+
357
231
  EventPattern?: string;
358
- /**
359
- * <p>The number of days to retain events for. Default value is 0. If set to 0, events are
360
- * retained indefinitely</p>
361
- */
232
+
362
233
  RetentionDays?: number;
363
234
  }
364
235
  export declare namespace CreateArchiveRequest {
365
- /**
366
- * @internal
367
- */
236
+
368
237
  const filterSensitiveLog: (obj: CreateArchiveRequest) => any;
369
238
  }
370
239
  export interface CreateArchiveResponse {
371
- /**
372
- * <p>The ARN of the archive that was created.</p>
373
- */
240
+
374
241
  ArchiveArn?: string;
375
- /**
376
- * <p>The state of the archive that was created.</p>
377
- */
242
+
378
243
  State?: ArchiveState | string;
379
- /**
380
- * <p>The reason that the archive is in the state.</p>
381
- */
244
+
382
245
  StateReason?: string;
383
- /**
384
- * <p>The time at which the archive was created.</p>
385
- */
246
+
386
247
  CreationTime?: Date;
387
248
  }
388
249
  export declare namespace CreateArchiveResponse {
389
- /**
390
- * @internal
391
- */
250
+
392
251
  const filterSensitiveLog: (obj: CreateArchiveResponse) => any;
393
252
  }
394
- /**
395
- * <p>The event pattern is not valid.</p>
396
- */
253
+
397
254
  export interface InvalidEventPatternException extends __SmithyException, $MetadataBearer {
398
255
  name: "InvalidEventPatternException";
399
256
  $fault: "client";
400
257
  message?: string;
401
258
  }
402
259
  export declare namespace InvalidEventPatternException {
403
- /**
404
- * @internal
405
- */
260
+
406
261
  const filterSensitiveLog: (obj: InvalidEventPatternException) => any;
407
262
  }
408
263
  export declare enum ConnectionAuthorizationType {
@@ -410,158 +265,89 @@ export declare enum ConnectionAuthorizationType {
410
265
  BASIC = "BASIC",
411
266
  OAUTH_CLIENT_CREDENTIALS = "OAUTH_CLIENT_CREDENTIALS"
412
267
  }
413
- /**
414
- * <p>Contains the API key authorization parameters for the connection.</p>
415
- */
268
+
416
269
  export interface CreateConnectionApiKeyAuthRequestParameters {
417
- /**
418
- * <p>The name of the API key to use for authorization.</p>
419
- */
270
+
420
271
  ApiKeyName: string | undefined;
421
- /**
422
- * <p>The value for the API key to use for authorization.</p>
423
- */
272
+
424
273
  ApiKeyValue: string | undefined;
425
274
  }
426
275
  export declare namespace CreateConnectionApiKeyAuthRequestParameters {
427
- /**
428
- * @internal
429
- */
276
+
430
277
  const filterSensitiveLog: (obj: CreateConnectionApiKeyAuthRequestParameters) => any;
431
278
  }
432
- /**
433
- * <p>Contains the Basic authorization parameters to use for the connection.</p>
434
- */
279
+
435
280
  export interface CreateConnectionBasicAuthRequestParameters {
436
- /**
437
- * <p>The user name to use for Basic authorization.</p>
438
- */
281
+
439
282
  Username: string | undefined;
440
- /**
441
- * <p>The password associated with the user name to use for Basic authorization.</p>
442
- */
283
+
443
284
  Password: string | undefined;
444
285
  }
445
286
  export declare namespace CreateConnectionBasicAuthRequestParameters {
446
- /**
447
- * @internal
448
- */
287
+
449
288
  const filterSensitiveLog: (obj: CreateConnectionBasicAuthRequestParameters) => any;
450
289
  }
451
- /**
452
- * <p>Additional parameter included in the body. You can include up to 100 additional body
453
- * parameters per request. An event payload cannot exceed 64 KB.</p>
454
- */
290
+
455
291
  export interface ConnectionBodyParameter {
456
- /**
457
- * <p>The key for the parameter.</p>
458
- */
292
+
459
293
  Key?: string;
460
- /**
461
- * <p>The value associated with the key.</p>
462
- */
294
+
463
295
  Value?: string;
464
- /**
465
- * <p>Specified whether the value is secret.</p>
466
- */
296
+
467
297
  IsValueSecret?: boolean;
468
298
  }
469
299
  export declare namespace ConnectionBodyParameter {
470
- /**
471
- * @internal
472
- */
300
+
473
301
  const filterSensitiveLog: (obj: ConnectionBodyParameter) => any;
474
302
  }
475
- /**
476
- * <p>Additional parameter included in the header. You can include up to 100 additional header
477
- * parameters per request. An event payload cannot exceed 64 KB.</p>
478
- */
303
+
479
304
  export interface ConnectionHeaderParameter {
480
- /**
481
- * <p>The key for the parameter.</p>
482
- */
305
+
483
306
  Key?: string;
484
- /**
485
- * <p>The value associated with the key.</p>
486
- */
307
+
487
308
  Value?: string;
488
- /**
489
- * <p>Specified whether the value is a secret.</p>
490
- */
309
+
491
310
  IsValueSecret?: boolean;
492
311
  }
493
312
  export declare namespace ConnectionHeaderParameter {
494
- /**
495
- * @internal
496
- */
313
+
497
314
  const filterSensitiveLog: (obj: ConnectionHeaderParameter) => any;
498
315
  }
499
- /**
500
- * <p>Additional query string parameter for the connection. You can include up to 100 additional
501
- * query string parameters per request. Each additional parameter counts towards the event
502
- * payload size, which cannot exceed 64 KB.</p>
503
- */
316
+
504
317
  export interface ConnectionQueryStringParameter {
505
- /**
506
- * <p>The key for a query string parameter.</p>
507
- */
318
+
508
319
  Key?: string;
509
- /**
510
- * <p>The value associated with the key for the query string parameter.</p>
511
- */
320
+
512
321
  Value?: string;
513
- /**
514
- * <p>Specifies whether the value is secret.</p>
515
- */
322
+
516
323
  IsValueSecret?: boolean;
517
324
  }
518
325
  export declare namespace ConnectionQueryStringParameter {
519
- /**
520
- * @internal
521
- */
326
+
522
327
  const filterSensitiveLog: (obj: ConnectionQueryStringParameter) => any;
523
328
  }
524
- /**
525
- * <p>Contains additional parameters for the connection.</p>
526
- */
329
+
527
330
  export interface ConnectionHttpParameters {
528
- /**
529
- * <p>Contains additional header parameters for the connection.</p>
530
- */
331
+
531
332
  HeaderParameters?: ConnectionHeaderParameter[];
532
- /**
533
- * <p>Contains additional query string parameters for the connection.</p>
534
- */
333
+
535
334
  QueryStringParameters?: ConnectionQueryStringParameter[];
536
- /**
537
- * <p>Contains additional body string parameters for the connection.</p>
538
- */
335
+
539
336
  BodyParameters?: ConnectionBodyParameter[];
540
337
  }
541
338
  export declare namespace ConnectionHttpParameters {
542
- /**
543
- * @internal
544
- */
339
+
545
340
  const filterSensitiveLog: (obj: ConnectionHttpParameters) => any;
546
341
  }
547
- /**
548
- * <p>Contains the Basic authorization parameters to use for the connection.</p>
549
- */
342
+
550
343
  export interface CreateConnectionOAuthClientRequestParameters {
551
- /**
552
- * <p>The client ID to use for OAuth authorization for the connection.</p>
553
- */
344
+
554
345
  ClientID: string | undefined;
555
- /**
556
- * <p>The client secret associated with the client ID to use for OAuth authorization for the
557
- * connection.</p>
558
- */
346
+
559
347
  ClientSecret: string | undefined;
560
348
  }
561
349
  export declare namespace CreateConnectionOAuthClientRequestParameters {
562
- /**
563
- * @internal
564
- */
350
+
565
351
  const filterSensitiveLog: (obj: CreateConnectionOAuthClientRequestParameters) => any;
566
352
  }
567
353
  export declare enum ConnectionOAuthHttpMethod {
@@ -569,92 +355,48 @@ export declare enum ConnectionOAuthHttpMethod {
569
355
  POST = "POST",
570
356
  PUT = "PUT"
571
357
  }
572
- /**
573
- * <p>Contains the OAuth authorization parameters to use for the connection.</p>
574
- */
358
+
575
359
  export interface CreateConnectionOAuthRequestParameters {
576
- /**
577
- * <p>A <code>CreateConnectionOAuthClientRequestParameters</code> object that contains the
578
- * client parameters for OAuth authorization.</p>
579
- */
360
+
580
361
  ClientParameters: CreateConnectionOAuthClientRequestParameters | undefined;
581
- /**
582
- * <p>The URL to the authorization endpoint when OAuth is specified as the authorization
583
- * type.</p>
584
- */
362
+
585
363
  AuthorizationEndpoint: string | undefined;
586
- /**
587
- * <p>The method to use for the authorization request.</p>
588
- */
364
+
589
365
  HttpMethod: ConnectionOAuthHttpMethod | string | undefined;
590
- /**
591
- * <p>A <code>ConnectionHttpParameters</code> object that contains details about the additional
592
- * parameters to use for the connection.</p>
593
- */
366
+
594
367
  OAuthHttpParameters?: ConnectionHttpParameters;
595
368
  }
596
369
  export declare namespace CreateConnectionOAuthRequestParameters {
597
- /**
598
- * @internal
599
- */
370
+
600
371
  const filterSensitiveLog: (obj: CreateConnectionOAuthRequestParameters) => any;
601
372
  }
602
- /**
603
- * <p>Contains the authorization parameters for the connection.</p>
604
- */
373
+
605
374
  export interface CreateConnectionAuthRequestParameters {
606
- /**
607
- * <p>A <code>CreateConnectionBasicAuthRequestParameters</code> object that contains the Basic
608
- * authorization parameters to use for the connection.</p>
609
- */
375
+
610
376
  BasicAuthParameters?: CreateConnectionBasicAuthRequestParameters;
611
- /**
612
- * <p>A <code>CreateConnectionOAuthRequestParameters</code> object that contains the OAuth
613
- * authorization parameters to use for the connection.</p>
614
- */
377
+
615
378
  OAuthParameters?: CreateConnectionOAuthRequestParameters;
616
- /**
617
- * <p>A <code>CreateConnectionApiKeyAuthRequestParameters</code> object that contains the API
618
- * key authorization parameters to use for the connection.</p>
619
- */
379
+
620
380
  ApiKeyAuthParameters?: CreateConnectionApiKeyAuthRequestParameters;
621
- /**
622
- * <p>A <code>ConnectionHttpParameters</code> object that contains the API key authorization
623
- * parameters to use for the connection. Note that if you include additional parameters for the
624
- * target of a rule via <code>HttpParameters</code>, including query strings, the parameters
625
- * added for the connection take precedence.</p>
626
- */
381
+
627
382
  InvocationHttpParameters?: ConnectionHttpParameters;
628
383
  }
629
384
  export declare namespace CreateConnectionAuthRequestParameters {
630
- /**
631
- * @internal
632
- */
385
+
633
386
  const filterSensitiveLog: (obj: CreateConnectionAuthRequestParameters) => any;
634
387
  }
635
388
  export interface CreateConnectionRequest {
636
- /**
637
- * <p>The name for the connection to create.</p>
638
- */
389
+
639
390
  Name: string | undefined;
640
- /**
641
- * <p>A description for the connection to create.</p>
642
- */
391
+
643
392
  Description?: string;
644
- /**
645
- * <p>The type of authorization to use for the connection.</p>
646
- */
393
+
647
394
  AuthorizationType: ConnectionAuthorizationType | string | undefined;
648
- /**
649
- * <p>A <code>CreateConnectionAuthRequestParameters</code> object that contains the
650
- * authorization parameters to use to authorize with the endpoint. </p>
651
- */
395
+
652
396
  AuthParameters: CreateConnectionAuthRequestParameters | undefined;
653
397
  }
654
398
  export declare namespace CreateConnectionRequest {
655
- /**
656
- * @internal
657
- */
399
+
658
400
  const filterSensitiveLog: (obj: CreateConnectionRequest) => any;
659
401
  }
660
402
  export declare enum ConnectionState {
@@ -667,671 +409,381 @@ export declare enum ConnectionState {
667
409
  UPDATING = "UPDATING"
668
410
  }
669
411
  export interface CreateConnectionResponse {
670
- /**
671
- * <p>The ARN of the connection that was created by the request.</p>
672
- */
412
+
673
413
  ConnectionArn?: string;
674
- /**
675
- * <p>The state of the connection that was created by the request.</p>
676
- */
414
+
677
415
  ConnectionState?: ConnectionState | string;
678
- /**
679
- * <p>A time stamp for the time that the connection was created.</p>
680
- */
416
+
681
417
  CreationTime?: Date;
682
- /**
683
- * <p>A time stamp for the time that the connection was last updated.</p>
684
- */
418
+
685
419
  LastModifiedTime?: Date;
686
420
  }
687
421
  export declare namespace CreateConnectionResponse {
688
- /**
689
- * @internal
690
- */
422
+
691
423
  const filterSensitiveLog: (obj: CreateConnectionResponse) => any;
692
424
  }
693
- /**
694
- * <p>A key-value pair associated with an Amazon Web Services resource. In EventBridge, rules and event buses
695
- * support tagging.</p>
696
- */
425
+
697
426
  export interface Tag {
698
- /**
699
- * <p>A string you can use to assign a value. The combination of tag keys and values can help
700
- * you organize and categorize your resources.</p>
701
- */
427
+
702
428
  Key: string | undefined;
703
- /**
704
- * <p>The value for the specified tag key.</p>
705
- */
429
+
706
430
  Value: string | undefined;
707
431
  }
708
432
  export declare namespace Tag {
709
- /**
710
- * @internal
711
- */
433
+
712
434
  const filterSensitiveLog: (obj: Tag) => any;
713
435
  }
714
436
  export interface CreateEventBusRequest {
715
- /**
716
- * <p>The name of the new event bus. </p>
717
- * <p>Event bus names cannot contain the / character. You can't use the name
718
- * <code>default</code> for a custom event bus, as this name is already used for your account's
719
- * default event bus.</p>
720
- * <p>If this is a partner event bus, the name must exactly match the name of the partner event
721
- * source that this event bus is matched to.</p>
722
- */
437
+
723
438
  Name: string | undefined;
724
- /**
725
- * <p>If you are creating a partner event bus, this specifies the partner event source that the
726
- * new event bus will be matched with.</p>
727
- */
439
+
728
440
  EventSourceName?: string;
729
- /**
730
- * <p>Tags to associate with the event bus.</p>
731
- */
441
+
732
442
  Tags?: Tag[];
733
443
  }
734
444
  export declare namespace CreateEventBusRequest {
735
- /**
736
- * @internal
737
- */
445
+
738
446
  const filterSensitiveLog: (obj: CreateEventBusRequest) => any;
739
447
  }
740
448
  export interface CreateEventBusResponse {
741
- /**
742
- * <p>The ARN of the new event bus.</p>
743
- */
449
+
744
450
  EventBusArn?: string;
745
451
  }
746
452
  export declare namespace CreateEventBusResponse {
747
- /**
748
- * @internal
749
- */
453
+
750
454
  const filterSensitiveLog: (obj: CreateEventBusResponse) => any;
751
455
  }
752
456
  export interface CreatePartnerEventSourceRequest {
753
- /**
754
- * <p>The name of the partner event source. This name must be unique and must be in the format
755
- * <code>
756
- * <i>partner_name</i>/<i>event_namespace</i>/<i>event_name</i>
757
- * </code>.
758
- * The Amazon Web Services account that wants to use this partner event source must create a partner event bus
759
- * with a name that matches the name of the partner event source.</p>
760
- */
457
+
761
458
  Name: string | undefined;
762
- /**
763
- * <p>The Amazon Web Services account ID that is permitted to create a matching partner event bus for this
764
- * partner event source.</p>
765
- */
459
+
766
460
  Account: string | undefined;
767
461
  }
768
462
  export declare namespace CreatePartnerEventSourceRequest {
769
- /**
770
- * @internal
771
- */
463
+
772
464
  const filterSensitiveLog: (obj: CreatePartnerEventSourceRequest) => any;
773
465
  }
774
466
  export interface CreatePartnerEventSourceResponse {
775
- /**
776
- * <p>The ARN of the partner event source.</p>
777
- */
467
+
778
468
  EventSourceArn?: string;
779
469
  }
780
470
  export declare namespace CreatePartnerEventSourceResponse {
781
- /**
782
- * @internal
783
- */
471
+
784
472
  const filterSensitiveLog: (obj: CreatePartnerEventSourceResponse) => any;
785
473
  }
786
474
  export interface DeactivateEventSourceRequest {
787
- /**
788
- * <p>The name of the partner event source to deactivate.</p>
789
- */
475
+
790
476
  Name: string | undefined;
791
477
  }
792
478
  export declare namespace DeactivateEventSourceRequest {
793
- /**
794
- * @internal
795
- */
479
+
796
480
  const filterSensitiveLog: (obj: DeactivateEventSourceRequest) => any;
797
481
  }
798
482
  export interface DeauthorizeConnectionRequest {
799
- /**
800
- * <p>The name of the connection to remove authorization from.</p>
801
- */
483
+
802
484
  Name: string | undefined;
803
485
  }
804
486
  export declare namespace DeauthorizeConnectionRequest {
805
- /**
806
- * @internal
807
- */
487
+
808
488
  const filterSensitiveLog: (obj: DeauthorizeConnectionRequest) => any;
809
489
  }
810
490
  export interface DeauthorizeConnectionResponse {
811
- /**
812
- * <p>The ARN of the connection that authorization was removed from.</p>
813
- */
491
+
814
492
  ConnectionArn?: string;
815
- /**
816
- * <p>The state of the connection.</p>
817
- */
493
+
818
494
  ConnectionState?: ConnectionState | string;
819
- /**
820
- * <p>A time stamp for the time that the connection was created.</p>
821
- */
495
+
822
496
  CreationTime?: Date;
823
- /**
824
- * <p>A time stamp for the time that the connection was last updated.</p>
825
- */
497
+
826
498
  LastModifiedTime?: Date;
827
- /**
828
- * <p>A time stamp for the time that the connection was last authorized.</p>
829
- */
499
+
830
500
  LastAuthorizedTime?: Date;
831
501
  }
832
502
  export declare namespace DeauthorizeConnectionResponse {
833
- /**
834
- * @internal
835
- */
503
+
836
504
  const filterSensitiveLog: (obj: DeauthorizeConnectionResponse) => any;
837
505
  }
838
506
  export interface DeleteApiDestinationRequest {
839
- /**
840
- * <p>The name of the destination to delete.</p>
841
- */
507
+
842
508
  Name: string | undefined;
843
509
  }
844
510
  export declare namespace DeleteApiDestinationRequest {
845
- /**
846
- * @internal
847
- */
511
+
848
512
  const filterSensitiveLog: (obj: DeleteApiDestinationRequest) => any;
849
513
  }
850
514
  export interface DeleteApiDestinationResponse {
851
515
  }
852
516
  export declare namespace DeleteApiDestinationResponse {
853
- /**
854
- * @internal
855
- */
517
+
856
518
  const filterSensitiveLog: (obj: DeleteApiDestinationResponse) => any;
857
519
  }
858
520
  export interface DeleteArchiveRequest {
859
- /**
860
- * <p>The name of the archive to delete.</p>
861
- */
521
+
862
522
  ArchiveName: string | undefined;
863
523
  }
864
524
  export declare namespace DeleteArchiveRequest {
865
- /**
866
- * @internal
867
- */
525
+
868
526
  const filterSensitiveLog: (obj: DeleteArchiveRequest) => any;
869
527
  }
870
528
  export interface DeleteArchiveResponse {
871
529
  }
872
530
  export declare namespace DeleteArchiveResponse {
873
- /**
874
- * @internal
875
- */
531
+
876
532
  const filterSensitiveLog: (obj: DeleteArchiveResponse) => any;
877
533
  }
878
534
  export interface DeleteConnectionRequest {
879
- /**
880
- * <p>The name of the connection to delete.</p>
881
- */
535
+
882
536
  Name: string | undefined;
883
537
  }
884
538
  export declare namespace DeleteConnectionRequest {
885
- /**
886
- * @internal
887
- */
539
+
888
540
  const filterSensitiveLog: (obj: DeleteConnectionRequest) => any;
889
541
  }
890
542
  export interface DeleteConnectionResponse {
891
- /**
892
- * <p>The ARN of the connection that was deleted.</p>
893
- */
543
+
894
544
  ConnectionArn?: string;
895
- /**
896
- * <p>The state of the connection before it was deleted.</p>
897
- */
545
+
898
546
  ConnectionState?: ConnectionState | string;
899
- /**
900
- * <p>A time stamp for the time that the connection was created.</p>
901
- */
547
+
902
548
  CreationTime?: Date;
903
- /**
904
- * <p>A time stamp for the time that the connection was last modified before it was
905
- * deleted.</p>
906
- */
549
+
907
550
  LastModifiedTime?: Date;
908
- /**
909
- * <p>A time stamp for the time that the connection was last authorized before it wa
910
- * deleted.</p>
911
- */
551
+
912
552
  LastAuthorizedTime?: Date;
913
553
  }
914
554
  export declare namespace DeleteConnectionResponse {
915
- /**
916
- * @internal
917
- */
555
+
918
556
  const filterSensitiveLog: (obj: DeleteConnectionResponse) => any;
919
557
  }
920
558
  export interface DeleteEventBusRequest {
921
- /**
922
- * <p>The name of the event bus to delete.</p>
923
- */
559
+
924
560
  Name: string | undefined;
925
561
  }
926
562
  export declare namespace DeleteEventBusRequest {
927
- /**
928
- * @internal
929
- */
563
+
930
564
  const filterSensitiveLog: (obj: DeleteEventBusRequest) => any;
931
565
  }
932
566
  export interface DeletePartnerEventSourceRequest {
933
- /**
934
- * <p>The name of the event source to delete.</p>
935
- */
567
+
936
568
  Name: string | undefined;
937
- /**
938
- * <p>The Amazon Web Services account ID of the Amazon Web Services customer that the event source was created for.</p>
939
- */
569
+
940
570
  Account: string | undefined;
941
571
  }
942
572
  export declare namespace DeletePartnerEventSourceRequest {
943
- /**
944
- * @internal
945
- */
573
+
946
574
  const filterSensitiveLog: (obj: DeletePartnerEventSourceRequest) => any;
947
575
  }
948
576
  export interface DeleteRuleRequest {
949
- /**
950
- * <p>The name of the rule.</p>
951
- */
577
+
952
578
  Name: string | undefined;
953
- /**
954
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
955
- * event bus is used.</p>
956
- */
579
+
957
580
  EventBusName?: string;
958
- /**
959
- * <p>If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify
960
- * <code>Force</code> as <code>True</code> to delete the rule. This parameter is ignored for
961
- * rules that are not managed rules. You can check whether a rule is a managed rule by using
962
- * <code>DescribeRule</code> or <code>ListRules</code> and checking the <code>ManagedBy</code>
963
- * field of the response.</p>
964
- */
581
+
965
582
  Force?: boolean;
966
583
  }
967
584
  export declare namespace DeleteRuleRequest {
968
- /**
969
- * @internal
970
- */
585
+
971
586
  const filterSensitiveLog: (obj: DeleteRuleRequest) => any;
972
587
  }
973
- /**
974
- * <p>This rule was created by an Amazon Web Services service on behalf of your account. It is managed by that
975
- * service. If you see this error in response to <code>DeleteRule</code> or
976
- * <code>RemoveTargets</code>, you can use the <code>Force</code> parameter in those calls to
977
- * delete the rule or remove targets from the rule. You cannot modify these managed rules by
978
- * using <code>DisableRule</code>, <code>EnableRule</code>, <code>PutTargets</code>,
979
- * <code>PutRule</code>, <code>TagResource</code>, or <code>UntagResource</code>. </p>
980
- */
588
+
981
589
  export interface ManagedRuleException extends __SmithyException, $MetadataBearer {
982
590
  name: "ManagedRuleException";
983
591
  $fault: "client";
984
592
  message?: string;
985
593
  }
986
594
  export declare namespace ManagedRuleException {
987
- /**
988
- * @internal
989
- */
595
+
990
596
  const filterSensitiveLog: (obj: ManagedRuleException) => any;
991
597
  }
992
598
  export interface DescribeApiDestinationRequest {
993
- /**
994
- * <p>The name of the API destination to retrieve.</p>
995
- */
599
+
996
600
  Name: string | undefined;
997
601
  }
998
602
  export declare namespace DescribeApiDestinationRequest {
999
- /**
1000
- * @internal
1001
- */
603
+
1002
604
  const filterSensitiveLog: (obj: DescribeApiDestinationRequest) => any;
1003
605
  }
1004
606
  export interface DescribeApiDestinationResponse {
1005
- /**
1006
- * <p>The ARN of the API destination retrieved.</p>
1007
- */
607
+
1008
608
  ApiDestinationArn?: string;
1009
- /**
1010
- * <p>The name of the API destination retrieved.</p>
1011
- */
609
+
1012
610
  Name?: string;
1013
- /**
1014
- * <p>The description for the API destination retrieved.</p>
1015
- */
611
+
1016
612
  Description?: string;
1017
- /**
1018
- * <p>The state of the API destination retrieved.</p>
1019
- */
613
+
1020
614
  ApiDestinationState?: ApiDestinationState | string;
1021
- /**
1022
- * <p>The ARN of the connection specified for the API destination retrieved.</p>
1023
- */
615
+
1024
616
  ConnectionArn?: string;
1025
- /**
1026
- * <p>The URL to use to connect to the HTTP endpoint.</p>
1027
- */
617
+
1028
618
  InvocationEndpoint?: string;
1029
- /**
1030
- * <p>The method to use to connect to the HTTP endpoint.</p>
1031
- */
619
+
1032
620
  HttpMethod?: ApiDestinationHttpMethod | string;
1033
- /**
1034
- * <p>The maximum number of invocations per second to specified for the API destination. Note
1035
- * that if you set the invocation rate maximum to a value lower the rate necessary to send all
1036
- * events received on to the destination HTTP endpoint, some events may not be delivered within
1037
- * the 24-hour retry window. If you plan to set the rate lower than the rate necessary to deliver
1038
- * all events, consider using a dead-letter queue to catch events that are not delivered within
1039
- * 24 hours.</p>
1040
- */
621
+
1041
622
  InvocationRateLimitPerSecond?: number;
1042
- /**
1043
- * <p>A time stamp for the time that the API destination was created.</p>
1044
- */
623
+
1045
624
  CreationTime?: Date;
1046
- /**
1047
- * <p>A time stamp for the time that the API destination was last modified.</p>
1048
- */
625
+
1049
626
  LastModifiedTime?: Date;
1050
627
  }
1051
628
  export declare namespace DescribeApiDestinationResponse {
1052
- /**
1053
- * @internal
1054
- */
629
+
1055
630
  const filterSensitiveLog: (obj: DescribeApiDestinationResponse) => any;
1056
631
  }
1057
632
  export interface DescribeArchiveRequest {
1058
- /**
1059
- * <p>The name of the archive to retrieve.</p>
1060
- */
633
+
1061
634
  ArchiveName: string | undefined;
1062
635
  }
1063
636
  export declare namespace DescribeArchiveRequest {
1064
- /**
1065
- * @internal
1066
- */
637
+
1067
638
  const filterSensitiveLog: (obj: DescribeArchiveRequest) => any;
1068
639
  }
1069
640
  export interface DescribeArchiveResponse {
1070
- /**
1071
- * <p>The ARN of the archive.</p>
1072
- */
641
+
1073
642
  ArchiveArn?: string;
1074
- /**
1075
- * <p>The name of the archive.</p>
1076
- */
643
+
1077
644
  ArchiveName?: string;
1078
- /**
1079
- * <p>The ARN of the event source associated with the archive.</p>
1080
- */
645
+
1081
646
  EventSourceArn?: string;
1082
- /**
1083
- * <p>The description of the archive.</p>
1084
- */
647
+
1085
648
  Description?: string;
1086
- /**
1087
- * <p>The event pattern used to filter events sent to the archive.</p>
1088
- */
649
+
1089
650
  EventPattern?: string;
1090
- /**
1091
- * <p>The state of the archive.</p>
1092
- */
651
+
1093
652
  State?: ArchiveState | string;
1094
- /**
1095
- * <p>The reason that the archive is in the state.</p>
1096
- */
653
+
1097
654
  StateReason?: string;
1098
- /**
1099
- * <p>The number of days to retain events for in the archive.</p>
1100
- */
655
+
1101
656
  RetentionDays?: number;
1102
- /**
1103
- * <p>The size of the archive in bytes.</p>
1104
- */
657
+
1105
658
  SizeBytes?: number;
1106
- /**
1107
- * <p>The number of events in the archive.</p>
1108
- */
659
+
1109
660
  EventCount?: number;
1110
- /**
1111
- * <p>The time at which the archive was created.</p>
1112
- */
661
+
1113
662
  CreationTime?: Date;
1114
663
  }
1115
664
  export declare namespace DescribeArchiveResponse {
1116
- /**
1117
- * @internal
1118
- */
665
+
1119
666
  const filterSensitiveLog: (obj: DescribeArchiveResponse) => any;
1120
667
  }
1121
668
  export interface DescribeConnectionRequest {
1122
- /**
1123
- * <p>The name of the connection to retrieve.</p>
1124
- */
669
+
1125
670
  Name: string | undefined;
1126
671
  }
1127
672
  export declare namespace DescribeConnectionRequest {
1128
- /**
1129
- * @internal
1130
- */
673
+
1131
674
  const filterSensitiveLog: (obj: DescribeConnectionRequest) => any;
1132
675
  }
1133
- /**
1134
- * <p>Contains the authorization parameters for the connection if API Key is specified as the
1135
- * authorization type.</p>
1136
- */
676
+
1137
677
  export interface ConnectionApiKeyAuthResponseParameters {
1138
- /**
1139
- * <p>The name of the header to use for the <code>APIKeyValue</code> used for
1140
- * authorization.</p>
1141
- */
678
+
1142
679
  ApiKeyName?: string;
1143
680
  }
1144
681
  export declare namespace ConnectionApiKeyAuthResponseParameters {
1145
- /**
1146
- * @internal
1147
- */
682
+
1148
683
  const filterSensitiveLog: (obj: ConnectionApiKeyAuthResponseParameters) => any;
1149
684
  }
1150
- /**
1151
- * <p>Contains the authorization parameters for the connection if Basic is specified as the
1152
- * authorization type.</p>
1153
- */
685
+
1154
686
  export interface ConnectionBasicAuthResponseParameters {
1155
- /**
1156
- * <p>The user name to use for Basic authorization.</p>
1157
- */
687
+
1158
688
  Username?: string;
1159
689
  }
1160
690
  export declare namespace ConnectionBasicAuthResponseParameters {
1161
- /**
1162
- * @internal
1163
- */
691
+
1164
692
  const filterSensitiveLog: (obj: ConnectionBasicAuthResponseParameters) => any;
1165
693
  }
1166
- /**
1167
- * <p>Contains the client response parameters for the connection when OAuth is specified as the
1168
- * authorization type.</p>
1169
- */
694
+
1170
695
  export interface ConnectionOAuthClientResponseParameters {
1171
- /**
1172
- * <p>The client ID associated with the response to the connection request.</p>
1173
- */
696
+
1174
697
  ClientID?: string;
1175
698
  }
1176
699
  export declare namespace ConnectionOAuthClientResponseParameters {
1177
- /**
1178
- * @internal
1179
- */
700
+
1180
701
  const filterSensitiveLog: (obj: ConnectionOAuthClientResponseParameters) => any;
1181
702
  }
1182
- /**
1183
- * <p>Contains the response parameters when OAuth is specified as the authorization type.</p>
1184
- */
703
+
1185
704
  export interface ConnectionOAuthResponseParameters {
1186
- /**
1187
- * <p>A <code>ConnectionOAuthClientResponseParameters</code> object that contains details about
1188
- * the client parameters returned when OAuth is specified as the authorization type.</p>
1189
- */
705
+
1190
706
  ClientParameters?: ConnectionOAuthClientResponseParameters;
1191
- /**
1192
- * <p>The URL to the HTTP endpoint that authorized the request.</p>
1193
- */
707
+
1194
708
  AuthorizationEndpoint?: string;
1195
- /**
1196
- * <p>The method used to connect to the HTTP endpoint.</p>
1197
- */
709
+
1198
710
  HttpMethod?: ConnectionOAuthHttpMethod | string;
1199
- /**
1200
- * <p>The additional HTTP parameters used for the OAuth authorization request.</p>
1201
- */
711
+
1202
712
  OAuthHttpParameters?: ConnectionHttpParameters;
1203
713
  }
1204
714
  export declare namespace ConnectionOAuthResponseParameters {
1205
- /**
1206
- * @internal
1207
- */
715
+
1208
716
  const filterSensitiveLog: (obj: ConnectionOAuthResponseParameters) => any;
1209
717
  }
1210
- /**
1211
- * <p>Contains the authorization parameters to use for the connection.</p>
1212
- */
718
+
1213
719
  export interface ConnectionAuthResponseParameters {
1214
- /**
1215
- * <p>The authorization parameters for Basic authorization.</p>
1216
- */
720
+
1217
721
  BasicAuthParameters?: ConnectionBasicAuthResponseParameters;
1218
- /**
1219
- * <p>The OAuth parameters to use for authorization.</p>
1220
- */
722
+
1221
723
  OAuthParameters?: ConnectionOAuthResponseParameters;
1222
- /**
1223
- * <p>The API Key parameters to use for authorization.</p>
1224
- */
724
+
1225
725
  ApiKeyAuthParameters?: ConnectionApiKeyAuthResponseParameters;
1226
- /**
1227
- * <p>Additional parameters for the connection that are passed through with every invocation to
1228
- * the HTTP endpoint.</p>
1229
- */
726
+
1230
727
  InvocationHttpParameters?: ConnectionHttpParameters;
1231
728
  }
1232
729
  export declare namespace ConnectionAuthResponseParameters {
1233
- /**
1234
- * @internal
1235
- */
730
+
1236
731
  const filterSensitiveLog: (obj: ConnectionAuthResponseParameters) => any;
1237
732
  }
1238
733
  export interface DescribeConnectionResponse {
1239
- /**
1240
- * <p>The ARN of the connection retrieved.</p>
1241
- */
734
+
1242
735
  ConnectionArn?: string;
1243
- /**
1244
- * <p>The name of the connection retrieved.</p>
1245
- */
736
+
1246
737
  Name?: string;
1247
- /**
1248
- * <p>The description for the connection retrieved.</p>
1249
- */
738
+
1250
739
  Description?: string;
1251
- /**
1252
- * <p>The state of the connection retrieved.</p>
1253
- */
740
+
1254
741
  ConnectionState?: ConnectionState | string;
1255
- /**
1256
- * <p>The reason that the connection is in the current connection state.</p>
1257
- */
742
+
1258
743
  StateReason?: string;
1259
- /**
1260
- * <p>The type of authorization specified for the connection.</p>
1261
- */
744
+
1262
745
  AuthorizationType?: ConnectionAuthorizationType | string;
1263
- /**
1264
- * <p>The ARN of the secret created from the authorization parameters specified for the
1265
- * connection.</p>
1266
- */
746
+
1267
747
  SecretArn?: string;
1268
- /**
1269
- * <p>The parameters to use for authorization for the connection.</p>
1270
- */
748
+
1271
749
  AuthParameters?: ConnectionAuthResponseParameters;
1272
- /**
1273
- * <p>A time stamp for the time that the connection was created.</p>
1274
- */
750
+
1275
751
  CreationTime?: Date;
1276
- /**
1277
- * <p>A time stamp for the time that the connection was last modified.</p>
1278
- */
752
+
1279
753
  LastModifiedTime?: Date;
1280
- /**
1281
- * <p>A time stamp for the time that the connection was last authorized.</p>
1282
- */
754
+
1283
755
  LastAuthorizedTime?: Date;
1284
756
  }
1285
757
  export declare namespace DescribeConnectionResponse {
1286
- /**
1287
- * @internal
1288
- */
758
+
1289
759
  const filterSensitiveLog: (obj: DescribeConnectionResponse) => any;
1290
760
  }
1291
761
  export interface DescribeEventBusRequest {
1292
- /**
1293
- * <p>The name or ARN of the event bus to show details for. If you omit this, the default event
1294
- * bus is displayed.</p>
1295
- */
762
+
1296
763
  Name?: string;
1297
764
  }
1298
765
  export declare namespace DescribeEventBusRequest {
1299
- /**
1300
- * @internal
1301
- */
766
+
1302
767
  const filterSensitiveLog: (obj: DescribeEventBusRequest) => any;
1303
768
  }
1304
769
  export interface DescribeEventBusResponse {
1305
- /**
1306
- * <p>The name of the event bus. Currently, this is always <code>default</code>.</p>
1307
- */
770
+
1308
771
  Name?: string;
1309
- /**
1310
- * <p>The Amazon Resource Name (ARN) of the account permitted to write events to the current
1311
- * account.</p>
1312
- */
772
+
1313
773
  Arn?: string;
1314
- /**
1315
- * <p>The policy that enables the external account to send events to your account.</p>
1316
- */
774
+
1317
775
  Policy?: string;
1318
776
  }
1319
777
  export declare namespace DescribeEventBusResponse {
1320
- /**
1321
- * @internal
1322
- */
778
+
1323
779
  const filterSensitiveLog: (obj: DescribeEventBusResponse) => any;
1324
780
  }
1325
781
  export interface DescribeEventSourceRequest {
1326
- /**
1327
- * <p>The name of the partner event source to display the details of.</p>
1328
- */
782
+
1329
783
  Name: string | undefined;
1330
784
  }
1331
785
  export declare namespace DescribeEventSourceRequest {
1332
- /**
1333
- * @internal
1334
- */
786
+
1335
787
  const filterSensitiveLog: (obj: DescribeEventSourceRequest) => any;
1336
788
  }
1337
789
  export declare enum EventSourceState {
@@ -1340,172 +792,98 @@ export declare enum EventSourceState {
1340
792
  PENDING = "PENDING"
1341
793
  }
1342
794
  export interface DescribeEventSourceResponse {
1343
- /**
1344
- * <p>The ARN of the partner event source.</p>
1345
- */
795
+
1346
796
  Arn?: string;
1347
- /**
1348
- * <p>The name of the SaaS partner that created the event source.</p>
1349
- */
797
+
1350
798
  CreatedBy?: string;
1351
- /**
1352
- * <p>The date and time that the event source was created.</p>
1353
- */
799
+
1354
800
  CreationTime?: Date;
1355
- /**
1356
- * <p>The date and time that the event source will expire if you do not create a matching event
1357
- * bus.</p>
1358
- */
801
+
1359
802
  ExpirationTime?: Date;
1360
- /**
1361
- * <p>The name of the partner event source.</p>
1362
- */
803
+
1363
804
  Name?: string;
1364
- /**
1365
- * <p>The state of the event source. If it is ACTIVE, you have already created a matching event
1366
- * bus for this event source, and that event bus is active. If it is PENDING, either you haven't
1367
- * yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have
1368
- * created a matching event bus, but the event source has since been deleted.</p>
1369
- */
805
+
1370
806
  State?: EventSourceState | string;
1371
807
  }
1372
808
  export declare namespace DescribeEventSourceResponse {
1373
- /**
1374
- * @internal
1375
- */
809
+
1376
810
  const filterSensitiveLog: (obj: DescribeEventSourceResponse) => any;
1377
811
  }
1378
812
  export interface DescribePartnerEventSourceRequest {
1379
- /**
1380
- * <p>The name of the event source to display.</p>
1381
- */
813
+
1382
814
  Name: string | undefined;
1383
815
  }
1384
816
  export declare namespace DescribePartnerEventSourceRequest {
1385
- /**
1386
- * @internal
1387
- */
817
+
1388
818
  const filterSensitiveLog: (obj: DescribePartnerEventSourceRequest) => any;
1389
819
  }
1390
820
  export interface DescribePartnerEventSourceResponse {
1391
- /**
1392
- * <p>The ARN of the event source.</p>
1393
- */
821
+
1394
822
  Arn?: string;
1395
- /**
1396
- * <p>The name of the event source.</p>
1397
- */
823
+
1398
824
  Name?: string;
1399
825
  }
1400
826
  export declare namespace DescribePartnerEventSourceResponse {
1401
- /**
1402
- * @internal
1403
- */
827
+
1404
828
  const filterSensitiveLog: (obj: DescribePartnerEventSourceResponse) => any;
1405
829
  }
1406
830
  export interface DescribeReplayRequest {
1407
- /**
1408
- * <p>The name of the replay to retrieve.</p>
1409
- */
831
+
1410
832
  ReplayName: string | undefined;
1411
833
  }
1412
834
  export declare namespace DescribeReplayRequest {
1413
- /**
1414
- * @internal
1415
- */
835
+
1416
836
  const filterSensitiveLog: (obj: DescribeReplayRequest) => any;
1417
837
  }
1418
- /**
1419
- * <p>A <code>ReplayDestination</code> object that contains details about a replay.</p>
1420
- */
838
+
1421
839
  export interface ReplayDestination {
1422
- /**
1423
- * <p>The ARN of the event bus to replay event to. You can replay events only to the event bus
1424
- * specified to create the archive.</p>
1425
- */
840
+
1426
841
  Arn: string | undefined;
1427
- /**
1428
- * <p>A list of ARNs for rules to replay events to.</p>
1429
- */
842
+
1430
843
  FilterArns?: string[];
1431
844
  }
1432
845
  export declare namespace ReplayDestination {
1433
- /**
1434
- * @internal
1435
- */
846
+
1436
847
  const filterSensitiveLog: (obj: ReplayDestination) => any;
1437
848
  }
1438
849
  export interface DescribeReplayResponse {
1439
- /**
1440
- * <p>The name of the replay.</p>
1441
- */
850
+
1442
851
  ReplayName?: string;
1443
- /**
1444
- * <p>The ARN of the replay.</p>
1445
- */
852
+
1446
853
  ReplayArn?: string;
1447
- /**
1448
- * <p>The description of the replay.</p>
1449
- */
854
+
1450
855
  Description?: string;
1451
- /**
1452
- * <p>The current state of the replay.</p>
1453
- */
856
+
1454
857
  State?: ReplayState | string;
1455
- /**
1456
- * <p>The reason that the replay is in the current state.</p>
1457
- */
858
+
1458
859
  StateReason?: string;
1459
- /**
1460
- * <p>The ARN of the archive events were replayed from.</p>
1461
- */
860
+
1462
861
  EventSourceArn?: string;
1463
- /**
1464
- * <p>A <code>ReplayDestination</code> object that contains details about the replay.</p>
1465
- */
862
+
1466
863
  Destination?: ReplayDestination;
1467
- /**
1468
- * <p>The time stamp of the first event that was last replayed from the archive.</p>
1469
- */
864
+
1470
865
  EventStartTime?: Date;
1471
- /**
1472
- * <p>The time stamp for the last event that was replayed from the archive.</p>
1473
- */
866
+
1474
867
  EventEndTime?: Date;
1475
- /**
1476
- * <p>The time that the event was last replayed.</p>
1477
- */
868
+
1478
869
  EventLastReplayedTime?: Date;
1479
- /**
1480
- * <p>A time stamp for the time that the replay started.</p>
1481
- */
870
+
1482
871
  ReplayStartTime?: Date;
1483
- /**
1484
- * <p>A time stamp for the time that the replay stopped.</p>
1485
- */
872
+
1486
873
  ReplayEndTime?: Date;
1487
874
  }
1488
875
  export declare namespace DescribeReplayResponse {
1489
- /**
1490
- * @internal
1491
- */
876
+
1492
877
  const filterSensitiveLog: (obj: DescribeReplayResponse) => any;
1493
878
  }
1494
879
  export interface DescribeRuleRequest {
1495
- /**
1496
- * <p>The name of the rule.</p>
1497
- */
880
+
1498
881
  Name: string | undefined;
1499
- /**
1500
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
1501
- * event bus is used.</p>
1502
- */
882
+
1503
883
  EventBusName?: string;
1504
884
  }
1505
885
  export declare namespace DescribeRuleRequest {
1506
- /**
1507
- * @internal
1508
- */
886
+
1509
887
  const filterSensitiveLog: (obj: DescribeRuleRequest) => any;
1510
888
  }
1511
889
  export declare enum RuleState {
@@ -1513,932 +891,501 @@ export declare enum RuleState {
1513
891
  ENABLED = "ENABLED"
1514
892
  }
1515
893
  export interface DescribeRuleResponse {
1516
- /**
1517
- * <p>The name of the rule.</p>
1518
- */
894
+
1519
895
  Name?: string;
1520
- /**
1521
- * <p>The Amazon Resource Name (ARN) of the rule.</p>
1522
- */
896
+
1523
897
  Arn?: string;
1524
- /**
1525
- * <p>The event pattern. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events and Event
1526
- * Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
1527
- */
898
+
1528
899
  EventPattern?: string;
1529
- /**
1530
- * <p>The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".</p>
1531
- */
900
+
1532
901
  ScheduleExpression?: string;
1533
- /**
1534
- * <p>Specifies whether the rule is enabled or disabled.</p>
1535
- */
902
+
1536
903
  State?: RuleState | string;
1537
- /**
1538
- * <p>The description of the rule.</p>
1539
- */
904
+
1540
905
  Description?: string;
1541
- /**
1542
- * <p>The Amazon Resource Name (ARN) of the IAM role associated with the rule.</p>
1543
- */
906
+
1544
907
  RoleArn?: string;
1545
- /**
1546
- * <p>If this is a managed rule, created by an Amazon Web Services service on your behalf, this field displays
1547
- * the principal name of the Amazon Web Services service that created the rule.</p>
1548
- */
908
+
1549
909
  ManagedBy?: string;
1550
- /**
1551
- * <p>The name of the event bus associated with the rule.</p>
1552
- */
910
+
1553
911
  EventBusName?: string;
1554
- /**
1555
- * <p>The account ID of the user that created the rule. If you use <code>PutRule</code> to put a
1556
- * rule on an event bus in another account, the other account is the owner of the rule, and the
1557
- * rule ARN includes the account ID for that account. However, the value for
1558
- * <code>CreatedBy</code> is the account ID as the account that created the rule in the other
1559
- * account.</p>
1560
- */
912
+
1561
913
  CreatedBy?: string;
1562
914
  }
1563
915
  export declare namespace DescribeRuleResponse {
1564
- /**
1565
- * @internal
1566
- */
916
+
1567
917
  const filterSensitiveLog: (obj: DescribeRuleResponse) => any;
1568
918
  }
1569
919
  export interface DisableRuleRequest {
1570
- /**
1571
- * <p>The name of the rule.</p>
1572
- */
920
+
1573
921
  Name: string | undefined;
1574
- /**
1575
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
1576
- * event bus is used.</p>
1577
- */
922
+
1578
923
  EventBusName?: string;
1579
924
  }
1580
925
  export declare namespace DisableRuleRequest {
1581
- /**
1582
- * @internal
1583
- */
926
+
1584
927
  const filterSensitiveLog: (obj: DisableRuleRequest) => any;
1585
928
  }
1586
929
  export interface EnableRuleRequest {
1587
- /**
1588
- * <p>The name of the rule.</p>
1589
- */
930
+
1590
931
  Name: string | undefined;
1591
- /**
1592
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
1593
- * event bus is used.</p>
1594
- */
932
+
1595
933
  EventBusName?: string;
1596
934
  }
1597
935
  export declare namespace EnableRuleRequest {
1598
- /**
1599
- * @internal
1600
- */
936
+
1601
937
  const filterSensitiveLog: (obj: EnableRuleRequest) => any;
1602
938
  }
1603
939
  export interface ListApiDestinationsRequest {
1604
- /**
1605
- * <p>A name prefix to filter results returned. Only API destinations with a name that starts
1606
- * with the prefix are returned.</p>
1607
- */
940
+
1608
941
  NamePrefix?: string;
1609
- /**
1610
- * <p>The ARN of the connection specified for the API destination.</p>
1611
- */
942
+
1612
943
  ConnectionArn?: string;
1613
- /**
1614
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
1615
- */
944
+
1616
945
  NextToken?: string;
1617
- /**
1618
- * <p>The maximum number of API destinations to include in the response.</p>
1619
- */
946
+
1620
947
  Limit?: number;
1621
948
  }
1622
949
  export declare namespace ListApiDestinationsRequest {
1623
- /**
1624
- * @internal
1625
- */
950
+
1626
951
  const filterSensitiveLog: (obj: ListApiDestinationsRequest) => any;
1627
952
  }
1628
953
  export interface ListApiDestinationsResponse {
1629
- /**
1630
- * <p>An array of <code>ApiDestination</code> objects that include information about an API
1631
- * destination.</p>
1632
- */
954
+
1633
955
  ApiDestinations?: ApiDestination[];
1634
- /**
1635
- * <p>A token you can use in a subsequent request to retrieve the next set of results.</p>
1636
- */
956
+
1637
957
  NextToken?: string;
1638
958
  }
1639
959
  export declare namespace ListApiDestinationsResponse {
1640
- /**
1641
- * @internal
1642
- */
960
+
1643
961
  const filterSensitiveLog: (obj: ListApiDestinationsResponse) => any;
1644
962
  }
1645
963
  export interface ListArchivesRequest {
1646
- /**
1647
- * <p>A name prefix to filter the archives returned. Only archives with name that match the
1648
- * prefix are returned.</p>
1649
- */
964
+
1650
965
  NamePrefix?: string;
1651
- /**
1652
- * <p>The ARN of the event source associated with the archive.</p>
1653
- */
966
+
1654
967
  EventSourceArn?: string;
1655
- /**
1656
- * <p>The state of the archive.</p>
1657
- */
968
+
1658
969
  State?: ArchiveState | string;
1659
- /**
1660
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
1661
- */
970
+
1662
971
  NextToken?: string;
1663
- /**
1664
- * <p>The maximum number of results to return.</p>
1665
- */
972
+
1666
973
  Limit?: number;
1667
974
  }
1668
975
  export declare namespace ListArchivesRequest {
1669
- /**
1670
- * @internal
1671
- */
976
+
1672
977
  const filterSensitiveLog: (obj: ListArchivesRequest) => any;
1673
978
  }
1674
979
  export interface ListArchivesResponse {
1675
- /**
1676
- * <p>An array of <code>Archive</code> objects that include details about an archive.</p>
1677
- */
980
+
1678
981
  Archives?: Archive[];
1679
- /**
1680
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
1681
- */
982
+
1682
983
  NextToken?: string;
1683
984
  }
1684
985
  export declare namespace ListArchivesResponse {
1685
- /**
1686
- * @internal
1687
- */
986
+
1688
987
  const filterSensitiveLog: (obj: ListArchivesResponse) => any;
1689
988
  }
1690
989
  export interface ListConnectionsRequest {
1691
- /**
1692
- * <p>A name prefix to filter results returned. Only connections with a name that starts with
1693
- * the prefix are returned.</p>
1694
- */
990
+
1695
991
  NamePrefix?: string;
1696
- /**
1697
- * <p>The state of the connection.</p>
1698
- */
992
+
1699
993
  ConnectionState?: ConnectionState | string;
1700
- /**
1701
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
1702
- */
994
+
1703
995
  NextToken?: string;
1704
- /**
1705
- * <p>The maximum number of connections to return.</p>
1706
- */
996
+
1707
997
  Limit?: number;
1708
998
  }
1709
999
  export declare namespace ListConnectionsRequest {
1710
- /**
1711
- * @internal
1712
- */
1000
+
1713
1001
  const filterSensitiveLog: (obj: ListConnectionsRequest) => any;
1714
1002
  }
1715
- /**
1716
- * <p>Contains information about a connection.</p>
1717
- */
1003
+
1718
1004
  export interface Connection {
1719
- /**
1720
- * <p>The ARN of the connection.</p>
1721
- */
1005
+
1722
1006
  ConnectionArn?: string;
1723
- /**
1724
- * <p>The name of the connection.</p>
1725
- */
1007
+
1726
1008
  Name?: string;
1727
- /**
1728
- * <p>The state of the connection.</p>
1729
- */
1009
+
1730
1010
  ConnectionState?: ConnectionState | string;
1731
- /**
1732
- * <p>The reason that the connection is in the connection state.</p>
1733
- */
1011
+
1734
1012
  StateReason?: string;
1735
- /**
1736
- * <p>The authorization type specified for the connection.</p>
1737
- */
1013
+
1738
1014
  AuthorizationType?: ConnectionAuthorizationType | string;
1739
- /**
1740
- * <p>A time stamp for the time that the connection was created.</p>
1741
- */
1015
+
1742
1016
  CreationTime?: Date;
1743
- /**
1744
- * <p>A time stamp for the time that the connection was last modified.</p>
1745
- */
1017
+
1746
1018
  LastModifiedTime?: Date;
1747
- /**
1748
- * <p>A time stamp for the time that the connection was last authorized.</p>
1749
- */
1019
+
1750
1020
  LastAuthorizedTime?: Date;
1751
1021
  }
1752
1022
  export declare namespace Connection {
1753
- /**
1754
- * @internal
1755
- */
1023
+
1756
1024
  const filterSensitiveLog: (obj: Connection) => any;
1757
1025
  }
1758
1026
  export interface ListConnectionsResponse {
1759
- /**
1760
- * <p>An array of connections objects that include details about the connections.</p>
1761
- */
1027
+
1762
1028
  Connections?: Connection[];
1763
- /**
1764
- * <p>A token you can use in a subsequent request to retrieve the next set of results.</p>
1765
- */
1029
+
1766
1030
  NextToken?: string;
1767
1031
  }
1768
1032
  export declare namespace ListConnectionsResponse {
1769
- /**
1770
- * @internal
1771
- */
1033
+
1772
1034
  const filterSensitiveLog: (obj: ListConnectionsResponse) => any;
1773
1035
  }
1774
1036
  export interface ListEventBusesRequest {
1775
- /**
1776
- * <p>Specifying this limits the results to only those event buses with names that start with
1777
- * the specified prefix.</p>
1778
- */
1037
+
1779
1038
  NamePrefix?: string;
1780
- /**
1781
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
1782
- */
1039
+
1783
1040
  NextToken?: string;
1784
- /**
1785
- * <p>Specifying this limits the number of results returned by this operation. The operation
1786
- * also returns a NextToken which you can use in a subsequent operation to retrieve the next set
1787
- * of results.</p>
1788
- */
1041
+
1789
1042
  Limit?: number;
1790
1043
  }
1791
1044
  export declare namespace ListEventBusesRequest {
1792
- /**
1793
- * @internal
1794
- */
1045
+
1795
1046
  const filterSensitiveLog: (obj: ListEventBusesRequest) => any;
1796
1047
  }
1797
- /**
1798
- * <p>An event bus receives events from a source and routes them to rules associated with that
1799
- * event bus. Your account's default event bus receives events from Amazon Web Services services. A custom event
1800
- * bus can receive events from your custom applications and services. A partner event bus
1801
- * receives events from an event source created by an SaaS partner. These events come from the
1802
- * partners services or applications.</p>
1803
- */
1048
+
1804
1049
  export interface EventBus {
1805
- /**
1806
- * <p>The name of the event bus.</p>
1807
- */
1050
+
1808
1051
  Name?: string;
1809
- /**
1810
- * <p>The ARN of the event bus.</p>
1811
- */
1052
+
1812
1053
  Arn?: string;
1813
- /**
1814
- * <p>The permissions policy of the event bus, describing which other Amazon Web Services accounts can write
1815
- * events to this event bus.</p>
1816
- */
1054
+
1817
1055
  Policy?: string;
1818
1056
  }
1819
1057
  export declare namespace EventBus {
1820
- /**
1821
- * @internal
1822
- */
1058
+
1823
1059
  const filterSensitiveLog: (obj: EventBus) => any;
1824
1060
  }
1825
1061
  export interface ListEventBusesResponse {
1826
- /**
1827
- * <p>This list of event buses.</p>
1828
- */
1062
+
1829
1063
  EventBuses?: EventBus[];
1830
- /**
1831
- * <p>A token you can use in a subsequent operation to retrieve the next set of results.</p>
1832
- */
1064
+
1833
1065
  NextToken?: string;
1834
1066
  }
1835
1067
  export declare namespace ListEventBusesResponse {
1836
- /**
1837
- * @internal
1838
- */
1068
+
1839
1069
  const filterSensitiveLog: (obj: ListEventBusesResponse) => any;
1840
1070
  }
1841
1071
  export interface ListEventSourcesRequest {
1842
- /**
1843
- * <p>Specifying this limits the results to only those partner event sources with names that
1844
- * start with the specified prefix.</p>
1845
- */
1072
+
1846
1073
  NamePrefix?: string;
1847
- /**
1848
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
1849
- */
1074
+
1850
1075
  NextToken?: string;
1851
- /**
1852
- * <p>Specifying this limits the number of results returned by this operation. The operation
1853
- * also returns a NextToken which you can use in a subsequent operation to retrieve the next set
1854
- * of results.</p>
1855
- */
1076
+
1856
1077
  Limit?: number;
1857
1078
  }
1858
1079
  export declare namespace ListEventSourcesRequest {
1859
- /**
1860
- * @internal
1861
- */
1080
+
1862
1081
  const filterSensitiveLog: (obj: ListEventSourcesRequest) => any;
1863
1082
  }
1864
- /**
1865
- * <p>A partner event source is created by an SaaS partner. If a customer creates a partner
1866
- * event bus that matches this event source, that Amazon Web Services account can receive events from the
1867
- * partner's applications or services.</p>
1868
- */
1083
+
1869
1084
  export interface EventSource {
1870
- /**
1871
- * <p>The ARN of the event source.</p>
1872
- */
1085
+
1873
1086
  Arn?: string;
1874
- /**
1875
- * <p>The name of the partner that created the event source.</p>
1876
- */
1087
+
1877
1088
  CreatedBy?: string;
1878
- /**
1879
- * <p>The date and time the event source was created.</p>
1880
- */
1089
+
1881
1090
  CreationTime?: Date;
1882
- /**
1883
- * <p>The date and time that the event source will expire, if the Amazon Web Services account doesn't create a
1884
- * matching event bus for it.</p>
1885
- */
1091
+
1886
1092
  ExpirationTime?: Date;
1887
- /**
1888
- * <p>The name of the event source.</p>
1889
- */
1093
+
1890
1094
  Name?: string;
1891
- /**
1892
- * <p>The state of the event source. If it is ACTIVE, you have already created a matching event
1893
- * bus for this event source, and that event bus is active. If it is PENDING, either you haven't
1894
- * yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have
1895
- * created a matching event bus, but the event source has since been deleted.</p>
1896
- */
1095
+
1897
1096
  State?: EventSourceState | string;
1898
1097
  }
1899
1098
  export declare namespace EventSource {
1900
- /**
1901
- * @internal
1902
- */
1099
+
1903
1100
  const filterSensitiveLog: (obj: EventSource) => any;
1904
1101
  }
1905
1102
  export interface ListEventSourcesResponse {
1906
- /**
1907
- * <p>The list of event sources.</p>
1908
- */
1103
+
1909
1104
  EventSources?: EventSource[];
1910
- /**
1911
- * <p>A token you can use in a subsequent operation to retrieve the next set of results.</p>
1912
- */
1105
+
1913
1106
  NextToken?: string;
1914
1107
  }
1915
1108
  export declare namespace ListEventSourcesResponse {
1916
- /**
1917
- * @internal
1918
- */
1109
+
1919
1110
  const filterSensitiveLog: (obj: ListEventSourcesResponse) => any;
1920
1111
  }
1921
1112
  export interface ListPartnerEventSourceAccountsRequest {
1922
- /**
1923
- * <p>The name of the partner event source to display account information about.</p>
1924
- */
1113
+
1925
1114
  EventSourceName: string | undefined;
1926
- /**
1927
- * <p>The token returned by a previous call to this operation. Specifying this retrieves the
1928
- * next set of results.</p>
1929
- */
1115
+
1930
1116
  NextToken?: string;
1931
- /**
1932
- * <p>Specifying this limits the number of results returned by this operation. The operation
1933
- * also returns a NextToken which you can use in a subsequent operation to retrieve the next set
1934
- * of results.</p>
1935
- */
1117
+
1936
1118
  Limit?: number;
1937
1119
  }
1938
1120
  export declare namespace ListPartnerEventSourceAccountsRequest {
1939
- /**
1940
- * @internal
1941
- */
1121
+
1942
1122
  const filterSensitiveLog: (obj: ListPartnerEventSourceAccountsRequest) => any;
1943
1123
  }
1944
- /**
1945
- * <p>The Amazon Web Services account that a partner event source has been offered to.</p>
1946
- */
1124
+
1947
1125
  export interface PartnerEventSourceAccount {
1948
- /**
1949
- * <p>The Amazon Web Services account ID that the partner event source was offered to.</p>
1950
- */
1126
+
1951
1127
  Account?: string;
1952
- /**
1953
- * <p>The date and time the event source was created.</p>
1954
- */
1128
+
1955
1129
  CreationTime?: Date;
1956
- /**
1957
- * <p>The date and time that the event source will expire, if the Amazon Web Services account doesn't create a
1958
- * matching event bus for it.</p>
1959
- */
1130
+
1960
1131
  ExpirationTime?: Date;
1961
- /**
1962
- * <p>The state of the event source. If it is ACTIVE, you have already created a matching event
1963
- * bus for this event source, and that event bus is active. If it is PENDING, either you haven't
1964
- * yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have
1965
- * created a matching event bus, but the event source has since been deleted.</p>
1966
- */
1132
+
1967
1133
  State?: EventSourceState | string;
1968
1134
  }
1969
1135
  export declare namespace PartnerEventSourceAccount {
1970
- /**
1971
- * @internal
1972
- */
1136
+
1973
1137
  const filterSensitiveLog: (obj: PartnerEventSourceAccount) => any;
1974
1138
  }
1975
1139
  export interface ListPartnerEventSourceAccountsResponse {
1976
- /**
1977
- * <p>The list of partner event sources returned by the operation.</p>
1978
- */
1140
+
1979
1141
  PartnerEventSourceAccounts?: PartnerEventSourceAccount[];
1980
- /**
1981
- * <p>A token you can use in a subsequent operation to retrieve the next set of results.</p>
1982
- */
1142
+
1983
1143
  NextToken?: string;
1984
1144
  }
1985
1145
  export declare namespace ListPartnerEventSourceAccountsResponse {
1986
- /**
1987
- * @internal
1988
- */
1146
+
1989
1147
  const filterSensitiveLog: (obj: ListPartnerEventSourceAccountsResponse) => any;
1990
1148
  }
1991
1149
  export interface ListPartnerEventSourcesRequest {
1992
- /**
1993
- * <p>If you specify this, the results are limited to only those partner event sources that
1994
- * start with the string you specify.</p>
1995
- */
1150
+
1996
1151
  NamePrefix: string | undefined;
1997
- /**
1998
- * <p>The token returned by a previous call to this operation. Specifying this retrieves the
1999
- * next set of results.</p>
2000
- */
1152
+
2001
1153
  NextToken?: string;
2002
- /**
2003
- * <p>pecifying this limits the number of results returned by this operation. The operation also
2004
- * returns a NextToken which you can use in a subsequent operation to retrieve the next set of
2005
- * results.</p>
2006
- */
1154
+
2007
1155
  Limit?: number;
2008
1156
  }
2009
1157
  export declare namespace ListPartnerEventSourcesRequest {
2010
- /**
2011
- * @internal
2012
- */
1158
+
2013
1159
  const filterSensitiveLog: (obj: ListPartnerEventSourcesRequest) => any;
2014
1160
  }
2015
- /**
2016
- * <p>A partner event source is created by an SaaS partner. If a customer creates a partner
2017
- * event bus that matches this event source, that Amazon Web Services account can receive events from the
2018
- * partner's applications or services.</p>
2019
- */
1161
+
2020
1162
  export interface PartnerEventSource {
2021
- /**
2022
- * <p>The ARN of the partner event source.</p>
2023
- */
1163
+
2024
1164
  Arn?: string;
2025
- /**
2026
- * <p>The name of the partner event source.</p>
2027
- */
1165
+
2028
1166
  Name?: string;
2029
1167
  }
2030
1168
  export declare namespace PartnerEventSource {
2031
- /**
2032
- * @internal
2033
- */
1169
+
2034
1170
  const filterSensitiveLog: (obj: PartnerEventSource) => any;
2035
1171
  }
2036
1172
  export interface ListPartnerEventSourcesResponse {
2037
- /**
2038
- * <p>The list of partner event sources returned by the operation.</p>
2039
- */
1173
+
2040
1174
  PartnerEventSources?: PartnerEventSource[];
2041
- /**
2042
- * <p>A token you can use in a subsequent operation to retrieve the next set of results.</p>
2043
- */
1175
+
2044
1176
  NextToken?: string;
2045
1177
  }
2046
1178
  export declare namespace ListPartnerEventSourcesResponse {
2047
- /**
2048
- * @internal
2049
- */
1179
+
2050
1180
  const filterSensitiveLog: (obj: ListPartnerEventSourcesResponse) => any;
2051
1181
  }
2052
1182
  export interface ListReplaysRequest {
2053
- /**
2054
- * <p>A name prefix to filter the replays returned. Only replays with name that match the prefix
2055
- * are returned.</p>
2056
- */
1183
+
2057
1184
  NamePrefix?: string;
2058
- /**
2059
- * <p>The state of the replay.</p>
2060
- */
1185
+
2061
1186
  State?: ReplayState | string;
2062
- /**
2063
- * <p>The ARN of the archive from which the events are replayed.</p>
2064
- */
1187
+
2065
1188
  EventSourceArn?: string;
2066
- /**
2067
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2068
- */
1189
+
2069
1190
  NextToken?: string;
2070
- /**
2071
- * <p>The maximum number of replays to retrieve.</p>
2072
- */
1191
+
2073
1192
  Limit?: number;
2074
1193
  }
2075
1194
  export declare namespace ListReplaysRequest {
2076
- /**
2077
- * @internal
2078
- */
1195
+
2079
1196
  const filterSensitiveLog: (obj: ListReplaysRequest) => any;
2080
1197
  }
2081
- /**
2082
- * <p>A <code>Replay</code> object that contains details about a replay.</p>
2083
- */
1198
+
2084
1199
  export interface Replay {
2085
- /**
2086
- * <p>The name of the replay.</p>
2087
- */
1200
+
2088
1201
  ReplayName?: string;
2089
- /**
2090
- * <p>The ARN of the archive to replay event from.</p>
2091
- */
1202
+
2092
1203
  EventSourceArn?: string;
2093
- /**
2094
- * <p>The current state of the replay.</p>
2095
- */
1204
+
2096
1205
  State?: ReplayState | string;
2097
- /**
2098
- * <p>A description of why the replay is in the current state.</p>
2099
- */
1206
+
2100
1207
  StateReason?: string;
2101
- /**
2102
- * <p>A time stamp for the time to start replaying events. This is determined by the time in the
2103
- * event as described in <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEventsRequestEntry.html#eventbridge-Type-PutEventsRequestEntry-Time">Time</a>.</p>
2104
- */
1208
+
2105
1209
  EventStartTime?: Date;
2106
- /**
2107
- * <p>A time stamp for the time to start replaying events. Any event with a creation time prior
2108
- * to the <code>EventEndTime</code> specified is replayed.</p>
2109
- */
1210
+
2110
1211
  EventEndTime?: Date;
2111
- /**
2112
- * <p>A time stamp for the time that the last event was replayed.</p>
2113
- */
1212
+
2114
1213
  EventLastReplayedTime?: Date;
2115
- /**
2116
- * <p>A time stamp for the time that the replay started.</p>
2117
- */
1214
+
2118
1215
  ReplayStartTime?: Date;
2119
- /**
2120
- * <p>A time stamp for the time that the replay completed.</p>
2121
- */
1216
+
2122
1217
  ReplayEndTime?: Date;
2123
1218
  }
2124
1219
  export declare namespace Replay {
2125
- /**
2126
- * @internal
2127
- */
1220
+
2128
1221
  const filterSensitiveLog: (obj: Replay) => any;
2129
1222
  }
2130
1223
  export interface ListReplaysResponse {
2131
- /**
2132
- * <p>An array of <code>Replay</code> objects that contain information about the replay.</p>
2133
- */
1224
+
2134
1225
  Replays?: Replay[];
2135
- /**
2136
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2137
- */
1226
+
2138
1227
  NextToken?: string;
2139
1228
  }
2140
1229
  export declare namespace ListReplaysResponse {
2141
- /**
2142
- * @internal
2143
- */
1230
+
2144
1231
  const filterSensitiveLog: (obj: ListReplaysResponse) => any;
2145
1232
  }
2146
1233
  export interface ListRuleNamesByTargetRequest {
2147
- /**
2148
- * <p>The Amazon Resource Name (ARN) of the target resource.</p>
2149
- */
1234
+
2150
1235
  TargetArn: string | undefined;
2151
- /**
2152
- * <p>The name or ARN of the event bus to list rules for. If you omit this, the default event
2153
- * bus is used.</p>
2154
- */
1236
+
2155
1237
  EventBusName?: string;
2156
- /**
2157
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2158
- */
1238
+
2159
1239
  NextToken?: string;
2160
- /**
2161
- * <p>The maximum number of results to return.</p>
2162
- */
1240
+
2163
1241
  Limit?: number;
2164
1242
  }
2165
1243
  export declare namespace ListRuleNamesByTargetRequest {
2166
- /**
2167
- * @internal
2168
- */
1244
+
2169
1245
  const filterSensitiveLog: (obj: ListRuleNamesByTargetRequest) => any;
2170
1246
  }
2171
1247
  export interface ListRuleNamesByTargetResponse {
2172
- /**
2173
- * <p>The names of the rules that can invoke the given target.</p>
2174
- */
1248
+
2175
1249
  RuleNames?: string[];
2176
- /**
2177
- * <p>Indicates whether there are additional results to retrieve. If there are no more results,
2178
- * the value is null.</p>
2179
- */
1250
+
2180
1251
  NextToken?: string;
2181
1252
  }
2182
1253
  export declare namespace ListRuleNamesByTargetResponse {
2183
- /**
2184
- * @internal
2185
- */
1254
+
2186
1255
  const filterSensitiveLog: (obj: ListRuleNamesByTargetResponse) => any;
2187
1256
  }
2188
1257
  export interface ListRulesRequest {
2189
- /**
2190
- * <p>The prefix matching the rule name.</p>
2191
- */
1258
+
2192
1259
  NamePrefix?: string;
2193
- /**
2194
- * <p>The name or ARN of the event bus to list the rules for. If you omit this, the default
2195
- * event bus is used.</p>
2196
- */
1260
+
2197
1261
  EventBusName?: string;
2198
- /**
2199
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2200
- */
1262
+
2201
1263
  NextToken?: string;
2202
- /**
2203
- * <p>The maximum number of results to return.</p>
2204
- */
1264
+
2205
1265
  Limit?: number;
2206
1266
  }
2207
1267
  export declare namespace ListRulesRequest {
2208
- /**
2209
- * @internal
2210
- */
1268
+
2211
1269
  const filterSensitiveLog: (obj: ListRulesRequest) => any;
2212
1270
  }
2213
- /**
2214
- * <p>Contains information about a rule in Amazon EventBridge.</p>
2215
- */
1271
+
2216
1272
  export interface Rule {
2217
- /**
2218
- * <p>The name of the rule.</p>
2219
- */
1273
+
2220
1274
  Name?: string;
2221
- /**
2222
- * <p>The Amazon Resource Name (ARN) of the rule.</p>
2223
- */
1275
+
2224
1276
  Arn?: string;
2225
- /**
2226
- * <p>The event pattern of the rule. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events and Event
2227
- * Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
2228
- */
1277
+
2229
1278
  EventPattern?: string;
2230
- /**
2231
- * <p>The state of the rule.</p>
2232
- */
1279
+
2233
1280
  State?: RuleState | string;
2234
- /**
2235
- * <p>The description of the rule.</p>
2236
- */
1281
+
2237
1282
  Description?: string;
2238
- /**
2239
- * <p>The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)". For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html">Creating an Amazon EventBridge rule that runs on a schedule</a>.</p>
2240
- */
1283
+
2241
1284
  ScheduleExpression?: string;
2242
- /**
2243
- * <p>The Amazon Resource Name (ARN) of the role that is used for target invocation.</p>
2244
- * <p>If you're setting an event bus in another account as the target and that account granted
2245
- * permission to your account through an organization instead of directly by the account ID, you
2246
- * must specify a <code>RoleArn</code> with proper permissions in the <code>Target</code>
2247
- * structure, instead of here in this parameter.</p>
2248
- */
1285
+
2249
1286
  RoleArn?: string;
2250
- /**
2251
- * <p>If the rule was created on behalf of your account by an Amazon Web Services service, this field displays
2252
- * the principal name of the service that created the rule.</p>
2253
- */
1287
+
2254
1288
  ManagedBy?: string;
2255
- /**
2256
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
2257
- * event bus is used.</p>
2258
- */
1289
+
2259
1290
  EventBusName?: string;
2260
1291
  }
2261
1292
  export declare namespace Rule {
2262
- /**
2263
- * @internal
2264
- */
1293
+
2265
1294
  const filterSensitiveLog: (obj: Rule) => any;
2266
1295
  }
2267
1296
  export interface ListRulesResponse {
2268
- /**
2269
- * <p>The rules that match the specified criteria.</p>
2270
- */
1297
+
2271
1298
  Rules?: Rule[];
2272
- /**
2273
- * <p>Indicates whether there are additional results to retrieve. If there are no more results,
2274
- * the value is null.</p>
2275
- */
1299
+
2276
1300
  NextToken?: string;
2277
1301
  }
2278
1302
  export declare namespace ListRulesResponse {
2279
- /**
2280
- * @internal
2281
- */
1303
+
2282
1304
  const filterSensitiveLog: (obj: ListRulesResponse) => any;
2283
1305
  }
2284
1306
  export interface ListTagsForResourceRequest {
2285
- /**
2286
- * <p>The ARN of the EventBridge resource for which you want to view tags.</p>
2287
- */
1307
+
2288
1308
  ResourceARN: string | undefined;
2289
1309
  }
2290
1310
  export declare namespace ListTagsForResourceRequest {
2291
- /**
2292
- * @internal
2293
- */
1311
+
2294
1312
  const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
2295
1313
  }
2296
1314
  export interface ListTagsForResourceResponse {
2297
- /**
2298
- * <p>The list of tag keys and values associated with the resource you specified</p>
2299
- */
1315
+
2300
1316
  Tags?: Tag[];
2301
1317
  }
2302
1318
  export declare namespace ListTagsForResourceResponse {
2303
- /**
2304
- * @internal
2305
- */
1319
+
2306
1320
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
2307
1321
  }
2308
1322
  export interface ListTargetsByRuleRequest {
2309
- /**
2310
- * <p>The name of the rule.</p>
2311
- */
1323
+
2312
1324
  Rule: string | undefined;
2313
- /**
2314
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
2315
- * event bus is used.</p>
2316
- */
1325
+
2317
1326
  EventBusName?: string;
2318
- /**
2319
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2320
- */
1327
+
2321
1328
  NextToken?: string;
2322
- /**
2323
- * <p>The maximum number of results to return.</p>
2324
- */
1329
+
2325
1330
  Limit?: number;
2326
1331
  }
2327
1332
  export declare namespace ListTargetsByRuleRequest {
2328
- /**
2329
- * @internal
2330
- */
1333
+
2331
1334
  const filterSensitiveLog: (obj: ListTargetsByRuleRequest) => any;
2332
1335
  }
2333
- /**
2334
- * <p>The array properties for the submitted job, such as the size of the array. The array size
2335
- * can be between 2 and 10,000. If you specify array properties for a job, it becomes an array
2336
- * job. This parameter is used only if the target is an Batch job.</p>
2337
- */
1336
+
2338
1337
  export interface BatchArrayProperties {
2339
- /**
2340
- * <p>The size of the array, if this is an array batch job. Valid values are integers between 2
2341
- * and 10,000.</p>
2342
- */
1338
+
2343
1339
  Size?: number;
2344
1340
  }
2345
1341
  export declare namespace BatchArrayProperties {
2346
- /**
2347
- * @internal
2348
- */
1342
+
2349
1343
  const filterSensitiveLog: (obj: BatchArrayProperties) => any;
2350
1344
  }
2351
- /**
2352
- * <p>The retry strategy to use for failed jobs, if the target is an Batch job. If you
2353
- * specify a retry strategy here, it overrides the retry strategy defined in the job
2354
- * definition.</p>
2355
- */
1345
+
2356
1346
  export interface BatchRetryStrategy {
2357
- /**
2358
- * <p>The number of times to attempt to retry, if the job fails. Valid values are 1–10.</p>
2359
- */
1347
+
2360
1348
  Attempts?: number;
2361
1349
  }
2362
1350
  export declare namespace BatchRetryStrategy {
2363
- /**
2364
- * @internal
2365
- */
1351
+
2366
1352
  const filterSensitiveLog: (obj: BatchRetryStrategy) => any;
2367
1353
  }
2368
- /**
2369
- * <p>The custom parameters to be used when the target is an Batch job.</p>
2370
- */
1354
+
2371
1355
  export interface BatchParameters {
2372
- /**
2373
- * <p>The ARN or name of the job definition to use if the event target is an Batch job. This
2374
- * job definition must already exist.</p>
2375
- */
1356
+
2376
1357
  JobDefinition: string | undefined;
2377
- /**
2378
- * <p>The name to use for this execution of the job, if the target is an Batch job.</p>
2379
- */
1358
+
2380
1359
  JobName: string | undefined;
2381
- /**
2382
- * <p>The array properties for the submitted job, such as the size of the array. The array size
2383
- * can be between 2 and 10,000. If you specify array properties for a job, it becomes an array
2384
- * job. This parameter is used only if the target is an Batch job.</p>
2385
- */
1360
+
2386
1361
  ArrayProperties?: BatchArrayProperties;
2387
- /**
2388
- * <p>The retry strategy to use for failed jobs, if the target is an Batch job. The retry
2389
- * strategy is the number of times to retry the failed job execution. Valid values are 1–10. When
2390
- * you specify a retry strategy here, it overrides the retry strategy defined in the job
2391
- * definition.</p>
2392
- */
1362
+
2393
1363
  RetryStrategy?: BatchRetryStrategy;
2394
1364
  }
2395
1365
  export declare namespace BatchParameters {
2396
- /**
2397
- * @internal
2398
- */
1366
+
2399
1367
  const filterSensitiveLog: (obj: BatchParameters) => any;
2400
1368
  }
2401
- /**
2402
- * <p>A <code>DeadLetterConfig</code> object that contains information about a dead-letter queue
2403
- * configuration.</p>
2404
- */
1369
+
2405
1370
  export interface DeadLetterConfig {
2406
- /**
2407
- * <p>The ARN of the SQS queue specified as the target for the dead-letter queue.</p>
2408
- */
1371
+
2409
1372
  Arn?: string;
2410
1373
  }
2411
1374
  export declare namespace DeadLetterConfig {
2412
- /**
2413
- * @internal
2414
- */
1375
+
2415
1376
  const filterSensitiveLog: (obj: DeadLetterConfig) => any;
2416
1377
  }
2417
- /**
2418
- * <p>The details of a capacity provider strategy. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CapacityProviderStrategyItem.html">CapacityProviderStrategyItem</a> in the Amazon ECS API Reference.</p>
2419
- */
1378
+
2420
1379
  export interface CapacityProviderStrategyItem {
2421
- /**
2422
- * <p>The short name of the capacity provider.</p>
2423
- */
1380
+
2424
1381
  capacityProvider: string | undefined;
2425
- /**
2426
- * <p>The weight value designates the relative percentage of the total number of tasks launched
2427
- * that should use the specified capacity provider. The weight value is taken into consideration
2428
- * after the base value, if defined, is satisfied.</p>
2429
- */
1382
+
2430
1383
  weight?: number;
2431
- /**
2432
- * <p>The base value designates how many tasks, at a minimum, to run on the specified capacity
2433
- * provider. Only one capacity provider in a capacity provider strategy can have a base defined.
2434
- * If no value is specified, the default value of 0 is used. </p>
2435
- */
1384
+
2436
1385
  base?: number;
2437
1386
  }
2438
1387
  export declare namespace CapacityProviderStrategyItem {
2439
- /**
2440
- * @internal
2441
- */
1388
+
2442
1389
  const filterSensitiveLog: (obj: CapacityProviderStrategyItem) => any;
2443
1390
  }
2444
1391
  export declare enum LaunchType {
@@ -2446,79 +1393,41 @@ export declare enum LaunchType {
2446
1393
  EXTERNAL = "EXTERNAL",
2447
1394
  FARGATE = "FARGATE"
2448
1395
  }
2449
- /**
2450
- * <p>This structure specifies the VPC subnets and security groups for the task, and whether a
2451
- * public IP address is to be used. This structure is relevant only for ECS tasks that use the
2452
- * <code>awsvpc</code> network mode.</p>
2453
- */
1396
+
2454
1397
  export interface AwsVpcConfiguration {
2455
- /**
2456
- * <p>Specifies the subnets associated with the task. These subnets must all be in the same VPC.
2457
- * You can specify as many as 16 subnets.</p>
2458
- */
1398
+
2459
1399
  Subnets: string[] | undefined;
2460
- /**
2461
- * <p>Specifies the security groups associated with the task. These security groups must all be
2462
- * in the same VPC. You can specify as many as five security groups. If you do not specify a
2463
- * security group, the default security group for the VPC is used.</p>
2464
- */
1400
+
2465
1401
  SecurityGroups?: string[];
2466
- /**
2467
- * <p>Specifies whether the task's elastic network interface receives a public IP address. You
2468
- * can specify <code>ENABLED</code> only when <code>LaunchType</code> in
2469
- * <code>EcsParameters</code> is set to <code>FARGATE</code>.</p>
2470
- */
1402
+
2471
1403
  AssignPublicIp?: AssignPublicIp | string;
2472
1404
  }
2473
1405
  export declare namespace AwsVpcConfiguration {
2474
- /**
2475
- * @internal
2476
- */
1406
+
2477
1407
  const filterSensitiveLog: (obj: AwsVpcConfiguration) => any;
2478
1408
  }
2479
- /**
2480
- * <p>This structure specifies the network configuration for an ECS task.</p>
2481
- */
1409
+
2482
1410
  export interface NetworkConfiguration {
2483
- /**
2484
- * <p>Use this structure to specify the VPC subnets and security groups for the task, and
2485
- * whether a public IP address is to be used. This structure is relevant only for ECS tasks that
2486
- * use the <code>awsvpc</code> network mode.</p>
2487
- */
1411
+
2488
1412
  awsvpcConfiguration?: AwsVpcConfiguration;
2489
1413
  }
2490
1414
  export declare namespace NetworkConfiguration {
2491
- /**
2492
- * @internal
2493
- */
1415
+
2494
1416
  const filterSensitiveLog: (obj: NetworkConfiguration) => any;
2495
1417
  }
2496
1418
  export declare enum PlacementConstraintType {
2497
1419
  DISTINCT_INSTANCE = "distinctInstance",
2498
1420
  MEMBER_OF = "memberOf"
2499
1421
  }
2500
- /**
2501
- * <p>An object representing a constraint on task placement. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html">Task Placement Constraints</a> in the Amazon Elastic Container Service Developer
2502
- * Guide.</p>
2503
- */
1422
+
2504
1423
  export interface PlacementConstraint {
2505
- /**
2506
- * <p>The type of constraint. Use distinctInstance to ensure that each task in a particular
2507
- * group is running on a different container instance. Use memberOf to restrict the selection to
2508
- * a group of valid candidates. </p>
2509
- */
1424
+
2510
1425
  type?: PlacementConstraintType | string;
2511
- /**
2512
- * <p>A cluster query language expression to apply to the constraint. You cannot specify an
2513
- * expression if the constraint type is <code>distinctInstance</code>. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html">Cluster Query Language</a> in the Amazon Elastic Container Service Developer Guide.
2514
- * </p>
2515
- */
1426
+
2516
1427
  expression?: string;
2517
1428
  }
2518
1429
  export declare namespace PlacementConstraint {
2519
- /**
2520
- * @internal
2521
- */
1430
+
2522
1431
  const filterSensitiveLog: (obj: PlacementConstraint) => any;
2523
1432
  }
2524
1433
  export declare enum PlacementStrategyType {
@@ -2526,1514 +1435,709 @@ export declare enum PlacementStrategyType {
2526
1435
  RANDOM = "random",
2527
1436
  SPREAD = "spread"
2528
1437
  }
2529
- /**
2530
- * <p>The task placement strategy for a task or service. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html">Task Placement Strategies</a> in the Amazon Elastic Container Service Service Developer
2531
- * Guide.</p>
2532
- */
1438
+
2533
1439
  export interface PlacementStrategy {
2534
- /**
2535
- * <p>The type of placement strategy. The random placement strategy randomly places tasks on
2536
- * available candidates. The spread placement strategy spreads placement across available
2537
- * candidates evenly based on the field parameter. The binpack strategy places tasks on available
2538
- * candidates that have the least available amount of the resource that is specified with the
2539
- * field parameter. For example, if you binpack on memory, a task is placed on the instance with
2540
- * the least amount of remaining memory (but still enough to run the task). </p>
2541
- */
1440
+
2542
1441
  type?: PlacementStrategyType | string;
2543
- /**
2544
- * <p>The field to apply the placement strategy against. For the spread placement strategy,
2545
- * valid values are instanceId (or host, which has the same effect), or any platform or custom
2546
- * attribute that is applied to a container instance, such as attribute:ecs.availability-zone.
2547
- * For the binpack placement strategy, valid values are cpu and memory. For the random placement
2548
- * strategy, this field is not used. </p>
2549
- */
1442
+
2550
1443
  field?: string;
2551
1444
  }
2552
1445
  export declare namespace PlacementStrategy {
2553
- /**
2554
- * @internal
2555
- */
1446
+
2556
1447
  const filterSensitiveLog: (obj: PlacementStrategy) => any;
2557
1448
  }
2558
1449
  export declare enum PropagateTags {
2559
1450
  TASK_DEFINITION = "TASK_DEFINITION"
2560
1451
  }
2561
- /**
2562
- * <p>The custom parameters to be used when the target is an Amazon ECS task.</p>
2563
- */
1452
+
2564
1453
  export interface EcsParameters {
2565
- /**
2566
- * <p>The ARN of the task definition to use if the event target is an Amazon ECS task. </p>
2567
- */
1454
+
2568
1455
  TaskDefinitionArn: string | undefined;
2569
- /**
2570
- * <p>The number of tasks to create based on <code>TaskDefinition</code>. The default is
2571
- * 1.</p>
2572
- */
1456
+
2573
1457
  TaskCount?: number;
2574
- /**
2575
- * <p>Specifies the launch type on which your task is running. The launch type that you specify
2576
- * here must match one of the launch type (compatibilities) of the target task. The
2577
- * <code>FARGATE</code> value is supported only in the Regions where Fargate witt Amazon ECS
2578
- * is supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS-Fargate.html">Fargate on Amazon ECS</a> in
2579
- * the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
2580
- */
1458
+
2581
1459
  LaunchType?: LaunchType | string;
2582
- /**
2583
- * <p>Use this structure if the Amazon ECS task uses the <code>awsvpc</code> network mode. This
2584
- * structure specifies the VPC subnets and security groups associated with the task, and whether
2585
- * a public IP address is to be used. This structure is required if <code>LaunchType</code> is
2586
- * <code>FARGATE</code> because the <code>awsvpc</code> mode is required for Fargate
2587
- * tasks.</p>
2588
- * <p>If you specify <code>NetworkConfiguration</code> when the target ECS task does not use the
2589
- * <code>awsvpc</code> network mode, the task fails.</p>
2590
- */
1460
+
2591
1461
  NetworkConfiguration?: NetworkConfiguration;
2592
- /**
2593
- * <p>Specifies the platform version for the task. Specify only the numeric portion of the
2594
- * platform version, such as <code>1.1.0</code>.</p>
2595
- * <p>This structure is used only if <code>LaunchType</code> is <code>FARGATE</code>. For more
2596
- * information about valid platform versions, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html">Fargate Platform
2597
- * Versions</a> in the <i>Amazon Elastic Container Service Developer
2598
- * Guide</i>.</p>
2599
- */
1462
+
2600
1463
  PlatformVersion?: string;
2601
- /**
2602
- * <p>Specifies an ECS task group for the task. The maximum length is 255 characters.</p>
2603
- */
1464
+
2604
1465
  Group?: string;
2605
- /**
2606
- * <p>The capacity provider strategy to use for the task.</p>
2607
- * <p>If a <code>capacityProviderStrategy</code> is specified, the <code>launchType</code>
2608
- * parameter must be omitted. If no <code>capacityProviderStrategy</code> or launchType is
2609
- * specified, the <code>defaultCapacityProviderStrategy</code> for the cluster is used. </p>
2610
- */
1466
+
2611
1467
  CapacityProviderStrategy?: CapacityProviderStrategyItem[];
2612
- /**
2613
- * <p>Specifies whether to enable Amazon ECS managed tags for the task. For more information,
2614
- * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS Resources</a> in the Amazon Elastic Container Service Developer
2615
- * Guide. </p>
2616
- */
1468
+
2617
1469
  EnableECSManagedTags?: boolean;
2618
- /**
2619
- * <p>Whether or not to enable the execute command functionality for the containers in this
2620
- * task. If true, this enables execute command functionality on all containers in the
2621
- * task.</p>
2622
- */
1470
+
2623
1471
  EnableExecuteCommand?: boolean;
2624
- /**
2625
- * <p>An array of placement constraint objects to use for the task. You can specify up to 10
2626
- * constraints per task (including constraints in the task definition and those specified at
2627
- * runtime).</p>
2628
- */
1472
+
2629
1473
  PlacementConstraints?: PlacementConstraint[];
2630
- /**
2631
- * <p>The placement strategy objects to use for the task. You can specify a maximum of five
2632
- * strategy rules per task. </p>
2633
- */
1474
+
2634
1475
  PlacementStrategy?: PlacementStrategy[];
2635
- /**
2636
- * <p>Specifies whether to propagate the tags from the task definition to the task. If no value
2637
- * is specified, the tags are not propagated. Tags can only be propagated to the task during task
2638
- * creation. To add tags to a task after task creation, use the TagResource API action. </p>
2639
- */
1476
+
2640
1477
  PropagateTags?: PropagateTags | string;
2641
- /**
2642
- * <p>The reference ID to use for the task.</p>
2643
- */
1478
+
2644
1479
  ReferenceId?: string;
2645
- /**
2646
- * <p>The metadata that you apply to the task to help you categorize and organize them. Each tag
2647
- * consists of a key and an optional value, both of which you define. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-tags">RunTask</a> in the Amazon ECS API Reference.</p>
2648
- */
1480
+
2649
1481
  Tags?: Tag[];
2650
1482
  }
2651
1483
  export declare namespace EcsParameters {
2652
- /**
2653
- * @internal
2654
- */
1484
+
2655
1485
  const filterSensitiveLog: (obj: EcsParameters) => any;
2656
1486
  }
2657
- /**
2658
- * <p>These are custom parameter to be used when the target is an API Gateway REST APIs or
2659
- * EventBridge ApiDestinations. In the latter case, these are merged with any
2660
- * InvocationParameters specified on the Connection, with any values from the Connection taking
2661
- * precedence.</p>
2662
- */
1487
+
2663
1488
  export interface HttpParameters {
2664
- /**
2665
- * <p>The path parameter values to be used to populate API Gateway REST API or EventBridge
2666
- * ApiDestination path wildcards ("*").</p>
2667
- */
1489
+
2668
1490
  PathParameterValues?: string[];
2669
- /**
2670
- * <p>The headers that need to be sent as part of request invoking the API Gateway REST API or
2671
- * EventBridge ApiDestination.</p>
2672
- */
1491
+
2673
1492
  HeaderParameters?: {
2674
1493
  [key: string]: string;
2675
1494
  };
2676
- /**
2677
- * <p>The query string keys/values that need to be sent as part of request invoking the API Gateway
2678
- * REST API or EventBridge ApiDestination.</p>
2679
- */
1495
+
2680
1496
  QueryStringParameters?: {
2681
1497
  [key: string]: string;
2682
1498
  };
2683
1499
  }
2684
1500
  export declare namespace HttpParameters {
2685
- /**
2686
- * @internal
2687
- */
1501
+
2688
1502
  const filterSensitiveLog: (obj: HttpParameters) => any;
2689
1503
  }
2690
- /**
2691
- * <p>Contains the parameters needed for you to provide custom input to a target based on one or
2692
- * more pieces of data extracted from the event.</p>
2693
- */
1504
+
2694
1505
  export interface InputTransformer {
2695
- /**
2696
- * <p>Map of JSON paths to be extracted from the event. You can then insert these in the
2697
- * template in <code>InputTemplate</code> to produce the output you want to be sent to the
2698
- * target.</p>
2699
- * <p>
2700
- * <code>InputPathsMap</code> is an array key-value pairs, where each value is a valid JSON
2701
- * path. You can have as many as 100 key-value pairs. You must use JSON dot notation, not bracket
2702
- * notation.</p>
2703
- * <p>The keys cannot start with "Amazon Web Services." </p>
2704
- */
1506
+
2705
1507
  InputPathsMap?: {
2706
1508
  [key: string]: string;
2707
1509
  };
2708
- /**
2709
- * <p>Input template where you specify placeholders that will be filled with the values of the
2710
- * keys from <code>InputPathsMap</code> to customize the data sent to the target. Enclose each
2711
- * <code>InputPathsMaps</code> value in brackets: <<i>value</i>> The
2712
- * InputTemplate must be valid JSON.</p>
2713
- *
2714
- * <p>If <code>InputTemplate</code> is a JSON object (surrounded by curly braces), the following
2715
- * restrictions apply:</p>
2716
- * <ul>
2717
- * <li>
2718
- * <p>The placeholder cannot be used as an object key.</p>
2719
- * </li>
2720
- * </ul>
2721
- * <p>The following example shows the syntax for using <code>InputPathsMap</code> and
2722
- * <code>InputTemplate</code>.</p>
2723
- * <p>
2724
- * <code> "InputTransformer":</code>
2725
- * </p>
2726
- * <p>
2727
- * <code>{</code>
2728
- * </p>
2729
- * <p>
2730
- * <code>"InputPathsMap": {"instance": "$.detail.instance","status":
2731
- * "$.detail.status"},</code>
2732
- * </p>
2733
- * <p>
2734
- * <code>"InputTemplate": "<instance> is in state <status>"</code>
2735
- * </p>
2736
- * <p>
2737
- * <code>}</code>
2738
- * </p>
2739
- * <p>To have the <code>InputTemplate</code> include quote marks within a JSON string, escape
2740
- * each quote marks with a slash, as in the following example:</p>
2741
- * <p>
2742
- * <code> "InputTransformer":</code>
2743
- * </p>
2744
- * <p>
2745
- * <code>{</code>
2746
- * </p>
2747
- * <p>
2748
- * <code>"InputPathsMap": {"instance": "$.detail.instance","status":
2749
- * "$.detail.status"},</code>
2750
- * </p>
2751
- * <p>
2752
- * <code>"InputTemplate": "<instance> is in state \"<status>\""</code>
2753
- * </p>
2754
- * <p>
2755
- * <code>}</code>
2756
- * </p>
2757
- * <p>The <code>InputTemplate</code> can also be valid JSON with varibles in quotes or out, as
2758
- * in the following example:</p>
2759
- * <p>
2760
- * <code> "InputTransformer":</code>
2761
- * </p>
2762
- * <p>
2763
- * <code>{</code>
2764
- * </p>
2765
- * <p>
2766
- * <code>"InputPathsMap": {"instance": "$.detail.instance","status":
2767
- * "$.detail.status"},</code>
2768
- * </p>
2769
- * <p>
2770
- * <code>"InputTemplate": '{"myInstance": <instance>,"myStatus": "<instance> is
2771
- * in state \"<status>\""}'</code>
2772
- * </p>
2773
- * <p>
2774
- * <code>}</code>
2775
- * </p>
2776
- */
1510
+
2777
1511
  InputTemplate: string | undefined;
2778
1512
  }
2779
1513
  export declare namespace InputTransformer {
2780
- /**
2781
- * @internal
2782
- */
1514
+
2783
1515
  const filterSensitiveLog: (obj: InputTransformer) => any;
2784
1516
  }
2785
- /**
2786
- * <p>This object enables you to specify a JSON path to extract from the event and use as the
2787
- * partition key for the Amazon Kinesis data stream, so that you can control the shard to which
2788
- * the event goes. If you do not include this parameter, the default is to use the
2789
- * <code>eventId</code> as the partition key.</p>
2790
- */
1517
+
2791
1518
  export interface KinesisParameters {
2792
- /**
2793
- * <p>The JSON path to be extracted from the event and used as the partition key. For more
2794
- * information, see <a href="https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key">Amazon Kinesis Streams Key
2795
- * Concepts</a> in the <i>Amazon Kinesis Streams Developer Guide</i>.</p>
2796
- */
1519
+
2797
1520
  PartitionKeyPath: string | undefined;
2798
1521
  }
2799
1522
  export declare namespace KinesisParameters {
2800
- /**
2801
- * @internal
2802
- */
1523
+
2803
1524
  const filterSensitiveLog: (obj: KinesisParameters) => any;
2804
1525
  }
2805
- /**
2806
- * <p>These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the
2807
- * Amazon Redshift Data API ExecuteStatement based on EventBridge events.</p>
2808
- */
1526
+
2809
1527
  export interface RedshiftDataParameters {
2810
- /**
2811
- * <p>The name or ARN of the secret that enables access to the database. Required when
2812
- * authenticating using Amazon Web Services Secrets Manager.</p>
2813
- */
1528
+
2814
1529
  SecretManagerArn?: string;
2815
- /**
2816
- * <p>The name of the database. Required when authenticating using temporary credentials.</p>
2817
- */
1530
+
2818
1531
  Database: string | undefined;
2819
- /**
2820
- * <p>The database user name. Required when authenticating using temporary credentials.</p>
2821
- */
1532
+
2822
1533
  DbUser?: string;
2823
- /**
2824
- * <p>The SQL statement text to run.</p>
2825
- */
1534
+
2826
1535
  Sql: string | undefined;
2827
- /**
2828
- * <p>The name of the SQL statement. You can name the SQL statement when you create it to
2829
- * identify the query.</p>
2830
- */
1536
+
2831
1537
  StatementName?: string;
2832
- /**
2833
- * <p>Indicates whether to send an event back to EventBridge after the SQL statement
2834
- * runs.</p>
2835
- */
1538
+
2836
1539
  WithEvent?: boolean;
2837
1540
  }
2838
1541
  export declare namespace RedshiftDataParameters {
2839
- /**
2840
- * @internal
2841
- */
1542
+
2842
1543
  const filterSensitiveLog: (obj: RedshiftDataParameters) => any;
2843
1544
  }
2844
- /**
2845
- * <p>A <code>RetryPolicy</code> object that includes information about the retry policy
2846
- * settings.</p>
2847
- */
1545
+
2848
1546
  export interface RetryPolicy {
2849
- /**
2850
- * <p>The maximum number of retry attempts to make before the request fails. Retry attempts
2851
- * continue until either the maximum number of attempts is made or until the duration of the
2852
- * <code>MaximumEventAgeInSeconds</code> is met.</p>
2853
- */
1547
+
2854
1548
  MaximumRetryAttempts?: number;
2855
- /**
2856
- * <p>The maximum amount of time, in seconds, to continue to make retry attempts.</p>
2857
- */
1549
+
2858
1550
  MaximumEventAgeInSeconds?: number;
2859
1551
  }
2860
1552
  export declare namespace RetryPolicy {
2861
- /**
2862
- * @internal
2863
- */
1553
+
2864
1554
  const filterSensitiveLog: (obj: RetryPolicy) => any;
2865
1555
  }
2866
- /**
2867
- * <p>Information about the EC2 instances that are to be sent the command, specified as
2868
- * key-value pairs. Each <code>RunCommandTarget</code> block can include only one key, but this
2869
- * key may specify multiple values.</p>
2870
- */
1556
+
2871
1557
  export interface RunCommandTarget {
2872
- /**
2873
- * <p>Can be either <code>tag:</code>
2874
- * <i>tag-key</i> or
2875
- * <code>InstanceIds</code>.</p>
2876
- */
1558
+
2877
1559
  Key: string | undefined;
2878
- /**
2879
- * <p>If <code>Key</code> is <code>tag:</code>
2880
- * <i>tag-key</i>, <code>Values</code>
2881
- * is a list of tag values. If <code>Key</code> is <code>InstanceIds</code>, <code>Values</code>
2882
- * is a list of Amazon EC2 instance IDs.</p>
2883
- */
1560
+
2884
1561
  Values: string[] | undefined;
2885
1562
  }
2886
1563
  export declare namespace RunCommandTarget {
2887
- /**
2888
- * @internal
2889
- */
1564
+
2890
1565
  const filterSensitiveLog: (obj: RunCommandTarget) => any;
2891
1566
  }
2892
- /**
2893
- * <p>This parameter contains the criteria (either InstanceIds or a tag) used to specify which
2894
- * EC2 instances are to be sent the command. </p>
2895
- */
1567
+
2896
1568
  export interface RunCommandParameters {
2897
- /**
2898
- * <p>Currently, we support including only one RunCommandTarget block, which specifies either an
2899
- * array of InstanceIds or a tag.</p>
2900
- */
1569
+
2901
1570
  RunCommandTargets: RunCommandTarget[] | undefined;
2902
1571
  }
2903
1572
  export declare namespace RunCommandParameters {
2904
- /**
2905
- * @internal
2906
- */
1573
+
2907
1574
  const filterSensitiveLog: (obj: RunCommandParameters) => any;
2908
1575
  }
2909
- /**
2910
- * <p>Name/Value pair of a parameter to start execution of a SageMaker Model Building
2911
- * Pipeline.</p>
2912
- */
1576
+
2913
1577
  export interface SageMakerPipelineParameter {
2914
- /**
2915
- * <p>Name of parameter to start execution of a SageMaker Model Building Pipeline.</p>
2916
- */
1578
+
2917
1579
  Name: string | undefined;
2918
- /**
2919
- * <p>Value of parameter to start execution of a SageMaker Model Building Pipeline.</p>
2920
- */
1580
+
2921
1581
  Value: string | undefined;
2922
1582
  }
2923
1583
  export declare namespace SageMakerPipelineParameter {
2924
- /**
2925
- * @internal
2926
- */
1584
+
2927
1585
  const filterSensitiveLog: (obj: SageMakerPipelineParameter) => any;
2928
1586
  }
2929
- /**
2930
- * <p>These are custom parameters to use when the target is a SageMaker Model Building Pipeline
2931
- * that starts based on EventBridge events.</p>
2932
- */
1587
+
2933
1588
  export interface SageMakerPipelineParameters {
2934
- /**
2935
- * <p>List of Parameter names and values for SageMaker Model Building Pipeline execution.</p>
2936
- */
1589
+
2937
1590
  PipelineParameterList?: SageMakerPipelineParameter[];
2938
1591
  }
2939
1592
  export declare namespace SageMakerPipelineParameters {
2940
- /**
2941
- * @internal
2942
- */
1593
+
2943
1594
  const filterSensitiveLog: (obj: SageMakerPipelineParameters) => any;
2944
1595
  }
2945
- /**
2946
- * <p>This structure includes the custom parameter to be used when the target is an SQS FIFO
2947
- * queue.</p>
2948
- */
1596
+
2949
1597
  export interface SqsParameters {
2950
- /**
2951
- * <p>The FIFO message group ID to use as the target.</p>
2952
- */
1598
+
2953
1599
  MessageGroupId?: string;
2954
1600
  }
2955
1601
  export declare namespace SqsParameters {
2956
- /**
2957
- * @internal
2958
- */
1602
+
2959
1603
  const filterSensitiveLog: (obj: SqsParameters) => any;
2960
1604
  }
2961
- /**
2962
- * <p>Targets are the resources to be invoked when a rule is triggered. For a complete list of
2963
- * services and resources that can be set as a target, see <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutTargets.html">PutTargets</a>.</p>
2964
- *
2965
- * <p>If you are setting the event bus of another account as the target, and that account
2966
- * granted permission to your account through an organization instead of directly by the account
2967
- * ID, then you must specify a <code>RoleArn</code> with proper permissions in the
2968
- * <code>Target</code> structure. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html">Sending and
2969
- * Receiving Events Between Amazon Web Services Accounts</a> in the <i>Amazon EventBridge User
2970
- * Guide</i>.</p>
2971
- */
1605
+
2972
1606
  export interface Target {
2973
- /**
2974
- * <p>The ID of the target. We recommend using a memorable and unique string.</p>
2975
- */
1607
+
2976
1608
  Id: string | undefined;
2977
- /**
2978
- * <p>The Amazon Resource Name (ARN) of the target.</p>
2979
- */
1609
+
2980
1610
  Arn: string | undefined;
2981
- /**
2982
- * <p>The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is
2983
- * triggered. If one rule triggers multiple targets, you can use a different IAM role for each
2984
- * target.</p>
2985
- */
1611
+
2986
1612
  RoleArn?: string;
2987
- /**
2988
- * <p>Valid JSON text passed to the target. In this case, nothing from the event itself is
2989
- * passed to the target. For more information, see <a href="http://www.rfc-editor.org/rfc/rfc7159.txt">The JavaScript Object Notation (JSON) Data
2990
- * Interchange Format</a>.</p>
2991
- */
1613
+
2992
1614
  Input?: string;
2993
- /**
2994
- * <p>The value of the JSONPath that is used for extracting part of the matched event when
2995
- * passing it to the target. You must use JSON dot notation, not bracket notation. For more
2996
- * information about JSON paths, see <a href="http://goessner.net/articles/JsonPath/">JSONPath</a>.</p>
2997
- */
1615
+
2998
1616
  InputPath?: string;
2999
- /**
3000
- * <p>Settings to enable you to provide custom input to a target based on certain event data.
3001
- * You can extract one or more key-value pairs from the event and then use that data to send
3002
- * customized input to the target.</p>
3003
- */
1617
+
3004
1618
  InputTransformer?: InputTransformer;
3005
- /**
3006
- * <p>The custom parameter you can use to control the shard assignment, when the target is a
3007
- * Kinesis data stream. If you do not include this parameter, the default is to use the
3008
- * <code>eventId</code> as the partition key.</p>
3009
- */
1619
+
3010
1620
  KinesisParameters?: KinesisParameters;
3011
- /**
3012
- * <p>Parameters used when you are using the rule to invoke Amazon EC2 Run Command.</p>
3013
- */
1621
+
3014
1622
  RunCommandParameters?: RunCommandParameters;
3015
- /**
3016
- * <p>Contains the Amazon ECS task definition and task count to be used, if the event target is
3017
- * an Amazon ECS task. For more information about Amazon ECS tasks, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Task
3018
- * Definitions </a> in the <i>Amazon EC2 Container Service Developer
3019
- * Guide</i>.</p>
3020
- */
1623
+
3021
1624
  EcsParameters?: EcsParameters;
3022
- /**
3023
- * <p>If the event target is an Batch job, this contains the job definition, job name, and
3024
- * other parameters. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/jobs.html">Jobs</a> in the <i>Batch User
3025
- * Guide</i>.</p>
3026
- */
1625
+
3027
1626
  BatchParameters?: BatchParameters;
3028
- /**
3029
- * <p>Contains the message group ID to use when the target is a FIFO queue.</p>
3030
- * <p>If you specify an SQS FIFO queue as a target, the queue must have content-based
3031
- * deduplication enabled.</p>
3032
- */
1627
+
3033
1628
  SqsParameters?: SqsParameters;
3034
- /**
3035
- * <p>Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or
3036
- * EventBridge ApiDestination.</p>
3037
- * <p>If you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can
3038
- * use this parameter to specify headers, path parameters, and query string keys/values as part
3039
- * of your target invoking request. If you're using ApiDestinations, the corresponding Connection
3040
- * can also have these values configured. In case of any conflicting keys, values from the
3041
- * Connection take precedence.</p>
3042
- */
1629
+
3043
1630
  HttpParameters?: HttpParameters;
3044
- /**
3045
- * <p>Contains the Amazon Redshift Data API parameters to use when the target is a Amazon Redshift
3046
- * cluster.</p>
3047
- * <p>If you specify a Amazon Redshift Cluster as a Target, you can use this to specify parameters to
3048
- * invoke the Amazon Redshift Data API ExecuteStatement based on EventBridge events.</p>
3049
- */
1631
+
3050
1632
  RedshiftDataParameters?: RedshiftDataParameters;
3051
- /**
3052
- * <p>Contains the SageMaker Model Building Pipeline parameters to start execution of a
3053
- * SageMaker Model Building Pipeline.</p>
3054
- * <p>If you specify a SageMaker Model Building Pipeline as a target, you can use this to
3055
- * specify parameters to start a pipeline execution based on EventBridge events.</p>
3056
- */
1633
+
3057
1634
  SageMakerPipelineParameters?: SageMakerPipelineParameters;
3058
- /**
3059
- * <p>The <code>DeadLetterConfig</code> that defines the target queue to send dead-letter queue
3060
- * events to.</p>
3061
- */
1635
+
3062
1636
  DeadLetterConfig?: DeadLetterConfig;
3063
- /**
3064
- * <p>The <code>RetryPolicy</code> object that contains the retry policy configuration to use
3065
- * for the dead-letter queue.</p>
3066
- */
1637
+
3067
1638
  RetryPolicy?: RetryPolicy;
3068
1639
  }
3069
1640
  export declare namespace Target {
3070
- /**
3071
- * @internal
3072
- */
1641
+
3073
1642
  const filterSensitiveLog: (obj: Target) => any;
3074
1643
  }
3075
1644
  export interface ListTargetsByRuleResponse {
3076
- /**
3077
- * <p>The targets assigned to the rule.</p>
3078
- */
1645
+
3079
1646
  Targets?: Target[];
3080
- /**
3081
- * <p>Indicates whether there are additional results to retrieve. If there are no more results,
3082
- * the value is null.</p>
3083
- */
1647
+
3084
1648
  NextToken?: string;
3085
1649
  }
3086
1650
  export declare namespace ListTargetsByRuleResponse {
3087
- /**
3088
- * @internal
3089
- */
1651
+
3090
1652
  const filterSensitiveLog: (obj: ListTargetsByRuleResponse) => any;
3091
1653
  }
3092
- /**
3093
- * <p>Represents an event to be submitted.</p>
3094
- */
1654
+
3095
1655
  export interface PutEventsRequestEntry {
3096
- /**
3097
- * <p>The time stamp of the event, per <a href="https://www.rfc-editor.org/rfc/rfc3339.txt">RFC3339</a>. If no time stamp is provided, the time stamp of the <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html">PutEvents</a> call is used.</p>
3098
- */
1656
+
3099
1657
  Time?: Date;
3100
- /**
3101
- * <p>The source of the event.</p>
3102
- */
1658
+
3103
1659
  Source?: string;
3104
- /**
3105
- * <p>Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily
3106
- * concerns. Any number, including zero, may be present.</p>
3107
- */
1660
+
3108
1661
  Resources?: string[];
3109
- /**
3110
- * <p>Free-form string used to decide what fields to expect in the event detail.</p>
3111
- */
1662
+
3112
1663
  DetailType?: string;
3113
- /**
3114
- * <p>A valid JSON string. There is no other schema imposed. The JSON string may contain fields
3115
- * and nested subobjects.</p>
3116
- */
1664
+
3117
1665
  Detail?: string;
3118
- /**
3119
- * <p>The name or ARN of the event bus to receive the event. Only the rules that are associated
3120
- * with this event bus are used to match the event. If you omit this, the default event bus is
3121
- * used.</p>
3122
- */
1666
+
3123
1667
  EventBusName?: string;
3124
- /**
3125
- * <p>An X-Ray trade header, which is an http header (X-Amzn-Trace-Id) that contains the
3126
- * trace-id associated with the event.</p>
3127
- * <p>To learn more about X-Ray trace headers, see <a href="https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader">Tracing header</a> in the X-Ray Developer Guide.</p>
3128
- */
1668
+
3129
1669
  TraceHeader?: string;
3130
1670
  }
3131
1671
  export declare namespace PutEventsRequestEntry {
3132
- /**
3133
- * @internal
3134
- */
1672
+
3135
1673
  const filterSensitiveLog: (obj: PutEventsRequestEntry) => any;
3136
1674
  }
3137
1675
  export interface PutEventsRequest {
3138
- /**
3139
- * <p>The entry that defines an event in your system. You can specify several parameters for the
3140
- * entry such as the source and type of the event, resources associated with the event, and so
3141
- * on.</p>
3142
- */
1676
+
3143
1677
  Entries: PutEventsRequestEntry[] | undefined;
3144
1678
  }
3145
1679
  export declare namespace PutEventsRequest {
3146
- /**
3147
- * @internal
3148
- */
1680
+
3149
1681
  const filterSensitiveLog: (obj: PutEventsRequest) => any;
3150
1682
  }
3151
- /**
3152
- * <p>Represents an event that failed to be submitted.</p>
3153
- */
1683
+
3154
1684
  export interface PutEventsResultEntry {
3155
- /**
3156
- * <p>The ID of the event.</p>
3157
- */
1685
+
3158
1686
  EventId?: string;
3159
- /**
3160
- * <p>The error code that indicates why the event submission failed.</p>
3161
- */
1687
+
3162
1688
  ErrorCode?: string;
3163
- /**
3164
- * <p>The error message that explains why the event submission failed.</p>
3165
- */
1689
+
3166
1690
  ErrorMessage?: string;
3167
1691
  }
3168
1692
  export declare namespace PutEventsResultEntry {
3169
- /**
3170
- * @internal
3171
- */
1693
+
3172
1694
  const filterSensitiveLog: (obj: PutEventsResultEntry) => any;
3173
1695
  }
3174
1696
  export interface PutEventsResponse {
3175
- /**
3176
- * <p>The number of failed entries.</p>
3177
- */
1697
+
3178
1698
  FailedEntryCount?: number;
3179
- /**
3180
- * <p>The successfully and unsuccessfully ingested events results. If the ingestion was
3181
- * successful, the entry has the event ID in it. Otherwise, you can use the error code and error
3182
- * message to identify the problem with the entry.</p>
3183
- */
1699
+
3184
1700
  Entries?: PutEventsResultEntry[];
3185
1701
  }
3186
1702
  export declare namespace PutEventsResponse {
3187
- /**
3188
- * @internal
3189
- */
1703
+
3190
1704
  const filterSensitiveLog: (obj: PutEventsResponse) => any;
3191
1705
  }
3192
- /**
3193
- * <p>The details about an event generated by an SaaS partner.</p>
3194
- */
1706
+
3195
1707
  export interface PutPartnerEventsRequestEntry {
3196
- /**
3197
- * <p>The date and time of the event.</p>
3198
- */
1708
+
3199
1709
  Time?: Date;
3200
- /**
3201
- * <p>The event source that is generating the entry.</p>
3202
- */
1710
+
3203
1711
  Source?: string;
3204
- /**
3205
- * <p>Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily
3206
- * concerns. Any number, including zero, may be present.</p>
3207
- */
1712
+
3208
1713
  Resources?: string[];
3209
- /**
3210
- * <p>A free-form string used to decide what fields to expect in the event detail.</p>
3211
- */
1714
+
3212
1715
  DetailType?: string;
3213
- /**
3214
- * <p>A valid JSON string. There is no other schema imposed. The JSON string may contain fields
3215
- * and nested subobjects.</p>
3216
- */
1716
+
3217
1717
  Detail?: string;
3218
1718
  }
3219
1719
  export declare namespace PutPartnerEventsRequestEntry {
3220
- /**
3221
- * @internal
3222
- */
1720
+
3223
1721
  const filterSensitiveLog: (obj: PutPartnerEventsRequestEntry) => any;
3224
1722
  }
3225
1723
  export interface PutPartnerEventsRequest {
3226
- /**
3227
- * <p>The list of events to write to the event bus.</p>
3228
- */
1724
+
3229
1725
  Entries: PutPartnerEventsRequestEntry[] | undefined;
3230
1726
  }
3231
1727
  export declare namespace PutPartnerEventsRequest {
3232
- /**
3233
- * @internal
3234
- */
1728
+
3235
1729
  const filterSensitiveLog: (obj: PutPartnerEventsRequest) => any;
3236
1730
  }
3237
- /**
3238
- * <p>Represents an event that a partner tried to generate, but failed.</p>
3239
- */
1731
+
3240
1732
  export interface PutPartnerEventsResultEntry {
3241
- /**
3242
- * <p>The ID of the event.</p>
3243
- */
1733
+
3244
1734
  EventId?: string;
3245
- /**
3246
- * <p>The error code that indicates why the event submission failed.</p>
3247
- */
1735
+
3248
1736
  ErrorCode?: string;
3249
- /**
3250
- * <p>The error message that explains why the event submission failed.</p>
3251
- */
1737
+
3252
1738
  ErrorMessage?: string;
3253
1739
  }
3254
1740
  export declare namespace PutPartnerEventsResultEntry {
3255
- /**
3256
- * @internal
3257
- */
1741
+
3258
1742
  const filterSensitiveLog: (obj: PutPartnerEventsResultEntry) => any;
3259
1743
  }
3260
1744
  export interface PutPartnerEventsResponse {
3261
- /**
3262
- * <p>The number of events from this operation that could not be written to the partner event
3263
- * bus.</p>
3264
- */
1745
+
3265
1746
  FailedEntryCount?: number;
3266
- /**
3267
- * <p>The list of events from this operation that were successfully written to the partner event
3268
- * bus.</p>
3269
- */
1747
+
3270
1748
  Entries?: PutPartnerEventsResultEntry[];
3271
1749
  }
3272
1750
  export declare namespace PutPartnerEventsResponse {
3273
- /**
3274
- * @internal
3275
- */
1751
+
3276
1752
  const filterSensitiveLog: (obj: PutPartnerEventsResponse) => any;
3277
1753
  }
3278
- /**
3279
- * <p>The event bus policy is too long. For more information, see the limits.</p>
3280
- */
1754
+
3281
1755
  export interface PolicyLengthExceededException extends __SmithyException, $MetadataBearer {
3282
1756
  name: "PolicyLengthExceededException";
3283
1757
  $fault: "client";
3284
1758
  message?: string;
3285
1759
  }
3286
1760
  export declare namespace PolicyLengthExceededException {
3287
- /**
3288
- * @internal
3289
- */
1761
+
3290
1762
  const filterSensitiveLog: (obj: PolicyLengthExceededException) => any;
3291
1763
  }
3292
- /**
3293
- * <p>A JSON string which you can use to limit the event bus permissions you are granting to
3294
- * only accounts that fulfill the condition. Currently, the only supported condition is
3295
- * membership in a certain Amazon Web Services organization. The string must contain <code>Type</code>,
3296
- * <code>Key</code>, and <code>Value</code> fields. The <code>Value</code> field specifies the
3297
- * ID of the Amazon Web Services organization. Following is an example value for <code>Condition</code>:</p>
3298
- * <p>
3299
- * <code>'{"Type" : "StringEquals", "Key": "aws:PrincipalOrgID", "Value":
3300
- * "o-1234567890"}'</code>
3301
- * </p>
3302
- */
1764
+
3303
1765
  export interface Condition {
3304
- /**
3305
- * <p>Specifies the type of condition. Currently the only supported value is
3306
- * <code>StringEquals</code>.</p>
3307
- */
1766
+
3308
1767
  Type: string | undefined;
3309
- /**
3310
- * <p>Specifies the key for the condition. Currently the only supported key is
3311
- * <code>aws:PrincipalOrgID</code>.</p>
3312
- */
1768
+
3313
1769
  Key: string | undefined;
3314
- /**
3315
- * <p>Specifies the value for the key. Currently, this must be the ID of the
3316
- * organization.</p>
3317
- */
1770
+
3318
1771
  Value: string | undefined;
3319
1772
  }
3320
1773
  export declare namespace Condition {
3321
- /**
3322
- * @internal
3323
- */
1774
+
3324
1775
  const filterSensitiveLog: (obj: Condition) => any;
3325
1776
  }
3326
1777
  export interface PutPermissionRequest {
3327
- /**
3328
- * <p>The name of the event bus associated with the rule. If you omit this, the default event
3329
- * bus is used.</p>
3330
- */
1778
+
3331
1779
  EventBusName?: string;
3332
- /**
3333
- * <p>The action that you are enabling the other account to perform.</p>
3334
- */
1780
+
3335
1781
  Action?: string;
3336
- /**
3337
- * <p>The 12-digit Amazon Web Services account ID that you are permitting to put events to your default event
3338
- * bus. Specify "*" to permit any account to put events to your default event bus.</p>
3339
- *
3340
- * <p>If you specify "*" without specifying <code>Condition</code>, avoid creating rules that
3341
- * may match undesirable events. To create more secure rules, make sure that the event pattern
3342
- * for each rule contains an <code>account</code> field with a specific account ID from which to
3343
- * receive events. Rules with an account field do not match any events sent from other
3344
- * accounts.</p>
3345
- */
1782
+
3346
1783
  Principal?: string;
3347
- /**
3348
- * <p>An identifier string for the external account that you are granting permissions to. If you
3349
- * later want to revoke the permission for this external account, specify this
3350
- * <code>StatementId</code> when you run <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_RemovePermission.html">RemovePermission</a>.</p>
3351
- */
1784
+
3352
1785
  StatementId?: string;
3353
- /**
3354
- * <p>This parameter enables you to limit the permission to accounts that fulfill a certain
3355
- * condition, such as being a member of a certain Amazon Web Services organization. For more information about
3356
- * Amazon Web Services Organizations, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html">What Is Amazon Web Services
3357
- * Organizations</a> in the <i>Amazon Web Services Organizations User Guide</i>.</p>
3358
- * <p>If you specify <code>Condition</code> with an Amazon Web Services organization ID, and specify "*" as the
3359
- * value for <code>Principal</code>, you grant permission to all the accounts in the named
3360
- * organization.</p>
3361
- *
3362
- * <p>The <code>Condition</code> is a JSON string which must contain <code>Type</code>,
3363
- * <code>Key</code>, and <code>Value</code> fields.</p>
3364
- */
1786
+
3365
1787
  Condition?: Condition;
3366
- /**
3367
- * <p>A JSON string that describes the permission policy statement. You can include a
3368
- * <code>Policy</code> parameter in the request instead of using the <code>StatementId</code>,
3369
- * <code>Action</code>, <code>Principal</code>, or <code>Condition</code> parameters.</p>
3370
- */
1788
+
3371
1789
  Policy?: string;
3372
1790
  }
3373
1791
  export declare namespace PutPermissionRequest {
3374
- /**
3375
- * @internal
3376
- */
1792
+
3377
1793
  const filterSensitiveLog: (obj: PutPermissionRequest) => any;
3378
1794
  }
3379
1795
  export interface PutRuleRequest {
3380
- /**
3381
- * <p>The name of the rule that you are creating or updating.</p>
3382
- */
1796
+
3383
1797
  Name: string | undefined;
3384
- /**
3385
- * <p>The scheduling expression. For example, "cron(0 20 * * ? *)" or "rate(5 minutes)".</p>
3386
- */
1798
+
3387
1799
  ScheduleExpression?: string;
3388
- /**
3389
- * <p>The event pattern. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events and Event
3390
- * Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
3391
- */
1800
+
3392
1801
  EventPattern?: string;
3393
- /**
3394
- * <p>Indicates whether the rule is enabled or disabled.</p>
3395
- */
1802
+
3396
1803
  State?: RuleState | string;
3397
- /**
3398
- * <p>A description of the rule.</p>
3399
- */
1804
+
3400
1805
  Description?: string;
3401
- /**
3402
- * <p>The Amazon Resource Name (ARN) of the IAM role associated with the rule.</p>
3403
- * <p>If you're setting an event bus in another account as the target and that account granted
3404
- * permission to your account through an organization instead of directly by the account ID, you
3405
- * must specify a <code>RoleArn</code> with proper permissions in the <code>Target</code>
3406
- * structure, instead of here in this parameter.</p>
3407
- */
1806
+
3408
1807
  RoleArn?: string;
3409
- /**
3410
- * <p>The list of key-value pairs to associate with the rule.</p>
3411
- */
1808
+
3412
1809
  Tags?: Tag[];
3413
- /**
3414
- * <p>The name or ARN of the event bus to associate with this rule. If you omit this, the
3415
- * default event bus is used.</p>
3416
- */
1810
+
3417
1811
  EventBusName?: string;
3418
1812
  }
3419
1813
  export declare namespace PutRuleRequest {
3420
- /**
3421
- * @internal
3422
- */
1814
+
3423
1815
  const filterSensitiveLog: (obj: PutRuleRequest) => any;
3424
1816
  }
3425
1817
  export interface PutRuleResponse {
3426
- /**
3427
- * <p>The Amazon Resource Name (ARN) of the rule.</p>
3428
- */
1818
+
3429
1819
  RuleArn?: string;
3430
1820
  }
3431
1821
  export declare namespace PutRuleResponse {
3432
- /**
3433
- * @internal
3434
- */
1822
+
3435
1823
  const filterSensitiveLog: (obj: PutRuleResponse) => any;
3436
1824
  }
3437
1825
  export interface PutTargetsRequest {
3438
- /**
3439
- * <p>The name of the rule.</p>
3440
- */
1826
+
3441
1827
  Rule: string | undefined;
3442
- /**
3443
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
3444
- * event bus is used.</p>
3445
- */
1828
+
3446
1829
  EventBusName?: string;
3447
- /**
3448
- * <p>The targets to update or add to the rule.</p>
3449
- */
1830
+
3450
1831
  Targets: Target[] | undefined;
3451
1832
  }
3452
1833
  export declare namespace PutTargetsRequest {
3453
- /**
3454
- * @internal
3455
- */
1834
+
3456
1835
  const filterSensitiveLog: (obj: PutTargetsRequest) => any;
3457
1836
  }
3458
- /**
3459
- * <p>Represents a target that failed to be added to a rule.</p>
3460
- */
1837
+
3461
1838
  export interface PutTargetsResultEntry {
3462
- /**
3463
- * <p>The ID of the target.</p>
3464
- */
1839
+
3465
1840
  TargetId?: string;
3466
- /**
3467
- * <p>The error code that indicates why the target addition failed. If the value is
3468
- * <code>ConcurrentModificationException</code>, too many requests were made at the same
3469
- * time.</p>
3470
- */
1841
+
3471
1842
  ErrorCode?: string;
3472
- /**
3473
- * <p>The error message that explains why the target addition failed.</p>
3474
- */
1843
+
3475
1844
  ErrorMessage?: string;
3476
1845
  }
3477
1846
  export declare namespace PutTargetsResultEntry {
3478
- /**
3479
- * @internal
3480
- */
1847
+
3481
1848
  const filterSensitiveLog: (obj: PutTargetsResultEntry) => any;
3482
1849
  }
3483
1850
  export interface PutTargetsResponse {
3484
- /**
3485
- * <p>The number of failed entries.</p>
3486
- */
1851
+
3487
1852
  FailedEntryCount?: number;
3488
- /**
3489
- * <p>The failed target entries.</p>
3490
- */
1853
+
3491
1854
  FailedEntries?: PutTargetsResultEntry[];
3492
1855
  }
3493
1856
  export declare namespace PutTargetsResponse {
3494
- /**
3495
- * @internal
3496
- */
1857
+
3497
1858
  const filterSensitiveLog: (obj: PutTargetsResponse) => any;
3498
1859
  }
3499
1860
  export interface RemovePermissionRequest {
3500
- /**
3501
- * <p>The statement ID corresponding to the account that is no longer allowed to put events to
3502
- * the default event bus.</p>
3503
- */
1861
+
3504
1862
  StatementId?: string;
3505
- /**
3506
- * <p>Specifies whether to remove all permissions.</p>
3507
- */
1863
+
3508
1864
  RemoveAllPermissions?: boolean;
3509
- /**
3510
- * <p>The name of the event bus to revoke permissions for. If you omit this, the default event
3511
- * bus is used.</p>
3512
- */
1865
+
3513
1866
  EventBusName?: string;
3514
1867
  }
3515
1868
  export declare namespace RemovePermissionRequest {
3516
- /**
3517
- * @internal
3518
- */
1869
+
3519
1870
  const filterSensitiveLog: (obj: RemovePermissionRequest) => any;
3520
1871
  }
3521
1872
  export interface RemoveTargetsRequest {
3522
- /**
3523
- * <p>The name of the rule.</p>
3524
- */
1873
+
3525
1874
  Rule: string | undefined;
3526
- /**
3527
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
3528
- * event bus is used.</p>
3529
- */
1875
+
3530
1876
  EventBusName?: string;
3531
- /**
3532
- * <p>The IDs of the targets to remove from the rule.</p>
3533
- */
1877
+
3534
1878
  Ids: string[] | undefined;
3535
- /**
3536
- * <p>If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify
3537
- * <code>Force</code> as <code>True</code> to remove targets. This parameter is ignored for
3538
- * rules that are not managed rules. You can check whether a rule is a managed rule by using
3539
- * <code>DescribeRule</code> or <code>ListRules</code> and checking the <code>ManagedBy</code>
3540
- * field of the response.</p>
3541
- */
1879
+
3542
1880
  Force?: boolean;
3543
1881
  }
3544
1882
  export declare namespace RemoveTargetsRequest {
3545
- /**
3546
- * @internal
3547
- */
1883
+
3548
1884
  const filterSensitiveLog: (obj: RemoveTargetsRequest) => any;
3549
1885
  }
3550
- /**
3551
- * <p>Represents a target that failed to be removed from a rule.</p>
3552
- */
1886
+
3553
1887
  export interface RemoveTargetsResultEntry {
3554
- /**
3555
- * <p>The ID of the target.</p>
3556
- */
1888
+
3557
1889
  TargetId?: string;
3558
- /**
3559
- * <p>The error code that indicates why the target removal failed. If the value is
3560
- * <code>ConcurrentModificationException</code>, too many requests were made at the same
3561
- * time.</p>
3562
- */
1890
+
3563
1891
  ErrorCode?: string;
3564
- /**
3565
- * <p>The error message that explains why the target removal failed.</p>
3566
- */
1892
+
3567
1893
  ErrorMessage?: string;
3568
1894
  }
3569
1895
  export declare namespace RemoveTargetsResultEntry {
3570
- /**
3571
- * @internal
3572
- */
1896
+
3573
1897
  const filterSensitiveLog: (obj: RemoveTargetsResultEntry) => any;
3574
1898
  }
3575
1899
  export interface RemoveTargetsResponse {
3576
- /**
3577
- * <p>The number of failed entries.</p>
3578
- */
1900
+
3579
1901
  FailedEntryCount?: number;
3580
- /**
3581
- * <p>The failed target entries.</p>
3582
- */
1902
+
3583
1903
  FailedEntries?: RemoveTargetsResultEntry[];
3584
1904
  }
3585
1905
  export declare namespace RemoveTargetsResponse {
3586
- /**
3587
- * @internal
3588
- */
1906
+
3589
1907
  const filterSensitiveLog: (obj: RemoveTargetsResponse) => any;
3590
1908
  }
3591
1909
  export interface StartReplayRequest {
3592
- /**
3593
- * <p>The name of the replay to start.</p>
3594
- */
1910
+
3595
1911
  ReplayName: string | undefined;
3596
- /**
3597
- * <p>A description for the replay to start.</p>
3598
- */
1912
+
3599
1913
  Description?: string;
3600
- /**
3601
- * <p>The ARN of the archive to replay events from.</p>
3602
- */
1914
+
3603
1915
  EventSourceArn: string | undefined;
3604
- /**
3605
- * <p>A time stamp for the time to start replaying events. Only events that occurred between the
3606
- * <code>EventStartTime</code> and <code>EventEndTime</code> are replayed.</p>
3607
- */
1916
+
3608
1917
  EventStartTime: Date | undefined;
3609
- /**
3610
- * <p>A time stamp for the time to stop replaying events. Only events that occurred between the
3611
- * <code>EventStartTime</code> and <code>EventEndTime</code> are replayed.</p>
3612
- */
1918
+
3613
1919
  EventEndTime: Date | undefined;
3614
- /**
3615
- * <p>A <code>ReplayDestination</code> object that includes details about the destination for
3616
- * the replay.</p>
3617
- */
1920
+
3618
1921
  Destination: ReplayDestination | undefined;
3619
1922
  }
3620
1923
  export declare namespace StartReplayRequest {
3621
- /**
3622
- * @internal
3623
- */
1924
+
3624
1925
  const filterSensitiveLog: (obj: StartReplayRequest) => any;
3625
1926
  }
3626
1927
  export interface StartReplayResponse {
3627
- /**
3628
- * <p>The ARN of the replay.</p>
3629
- */
1928
+
3630
1929
  ReplayArn?: string;
3631
- /**
3632
- * <p>The state of the replay.</p>
3633
- */
1930
+
3634
1931
  State?: ReplayState | string;
3635
- /**
3636
- * <p>The reason that the replay is in the state.</p>
3637
- */
1932
+
3638
1933
  StateReason?: string;
3639
- /**
3640
- * <p>The time at which the replay started.</p>
3641
- */
1934
+
3642
1935
  ReplayStartTime?: Date;
3643
1936
  }
3644
1937
  export declare namespace StartReplayResponse {
3645
- /**
3646
- * @internal
3647
- */
1938
+
3648
1939
  const filterSensitiveLog: (obj: StartReplayResponse) => any;
3649
1940
  }
3650
1941
  export interface TagResourceRequest {
3651
- /**
3652
- * <p>The ARN of the EventBridge resource that you're adding tags to.</p>
3653
- */
1942
+
3654
1943
  ResourceARN: string | undefined;
3655
- /**
3656
- * <p>The list of key-value pairs to associate with the resource.</p>
3657
- */
1944
+
3658
1945
  Tags: Tag[] | undefined;
3659
1946
  }
3660
1947
  export declare namespace TagResourceRequest {
3661
- /**
3662
- * @internal
3663
- */
1948
+
3664
1949
  const filterSensitiveLog: (obj: TagResourceRequest) => any;
3665
1950
  }
3666
1951
  export interface TagResourceResponse {
3667
1952
  }
3668
1953
  export declare namespace TagResourceResponse {
3669
- /**
3670
- * @internal
3671
- */
1954
+
3672
1955
  const filterSensitiveLog: (obj: TagResourceResponse) => any;
3673
1956
  }
3674
1957
  export interface TestEventPatternRequest {
3675
- /**
3676
- * <p>The event pattern. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events and Event
3677
- * Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
3678
- */
1958
+
3679
1959
  EventPattern: string | undefined;
3680
- /**
3681
- * <p>The event, in JSON format, to test against the event pattern. The JSON must follow the
3682
- * format specified in <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/aws-events.html">Amazon Web Services Events</a>, and the following
3683
- * fields are mandatory:</p>
3684
- * <ul>
3685
- * <li>
3686
- * <p>
3687
- * <code>id</code>
3688
- * </p>
3689
- * </li>
3690
- * <li>
3691
- * <p>
3692
- * <code>account</code>
3693
- * </p>
3694
- * </li>
3695
- * <li>
3696
- * <p>
3697
- * <code>source</code>
3698
- * </p>
3699
- * </li>
3700
- * <li>
3701
- * <p>
3702
- * <code>time</code>
3703
- * </p>
3704
- * </li>
3705
- * <li>
3706
- * <p>
3707
- * <code>region</code>
3708
- * </p>
3709
- * </li>
3710
- * <li>
3711
- * <p>
3712
- * <code>resources</code>
3713
- * </p>
3714
- * </li>
3715
- * <li>
3716
- * <p>
3717
- * <code>detail-type</code>
3718
- * </p>
3719
- * </li>
3720
- * </ul>
3721
- */
1960
+
3722
1961
  Event: string | undefined;
3723
1962
  }
3724
1963
  export declare namespace TestEventPatternRequest {
3725
- /**
3726
- * @internal
3727
- */
1964
+
3728
1965
  const filterSensitiveLog: (obj: TestEventPatternRequest) => any;
3729
1966
  }
3730
1967
  export interface TestEventPatternResponse {
3731
- /**
3732
- * <p>Indicates whether the event matches the event pattern.</p>
3733
- */
1968
+
3734
1969
  Result?: boolean;
3735
1970
  }
3736
1971
  export declare namespace TestEventPatternResponse {
3737
- /**
3738
- * @internal
3739
- */
1972
+
3740
1973
  const filterSensitiveLog: (obj: TestEventPatternResponse) => any;
3741
1974
  }
3742
1975
  export interface UntagResourceRequest {
3743
- /**
3744
- * <p>The ARN of the EventBridge resource from which you are removing tags.</p>
3745
- */
1976
+
3746
1977
  ResourceARN: string | undefined;
3747
- /**
3748
- * <p>The list of tag keys to remove from the resource.</p>
3749
- */
1978
+
3750
1979
  TagKeys: string[] | undefined;
3751
1980
  }
3752
1981
  export declare namespace UntagResourceRequest {
3753
- /**
3754
- * @internal
3755
- */
1982
+
3756
1983
  const filterSensitiveLog: (obj: UntagResourceRequest) => any;
3757
1984
  }
3758
1985
  export interface UntagResourceResponse {
3759
1986
  }
3760
1987
  export declare namespace UntagResourceResponse {
3761
- /**
3762
- * @internal
3763
- */
1988
+
3764
1989
  const filterSensitiveLog: (obj: UntagResourceResponse) => any;
3765
1990
  }
3766
1991
  export interface UpdateApiDestinationRequest {
3767
- /**
3768
- * <p>The name of the API destination to update.</p>
3769
- */
1992
+
3770
1993
  Name: string | undefined;
3771
- /**
3772
- * <p>The name of the API destination to update.</p>
3773
- */
1994
+
3774
1995
  Description?: string;
3775
- /**
3776
- * <p>The ARN of the connection to use for the API destination.</p>
3777
- */
1996
+
3778
1997
  ConnectionArn?: string;
3779
- /**
3780
- * <p>The URL to the endpoint to use for the API destination.</p>
3781
- */
1998
+
3782
1999
  InvocationEndpoint?: string;
3783
- /**
3784
- * <p>The method to use for the API destination.</p>
3785
- */
2000
+
3786
2001
  HttpMethod?: ApiDestinationHttpMethod | string;
3787
- /**
3788
- * <p>The maximum number of invocations per second to send to the API destination.</p>
3789
- */
2002
+
3790
2003
  InvocationRateLimitPerSecond?: number;
3791
2004
  }
3792
2005
  export declare namespace UpdateApiDestinationRequest {
3793
- /**
3794
- * @internal
3795
- */
2006
+
3796
2007
  const filterSensitiveLog: (obj: UpdateApiDestinationRequest) => any;
3797
2008
  }
3798
2009
  export interface UpdateApiDestinationResponse {
3799
- /**
3800
- * <p>The ARN of the API destination that was updated.</p>
3801
- */
2010
+
3802
2011
  ApiDestinationArn?: string;
3803
- /**
3804
- * <p>The state of the API destination that was updated.</p>
3805
- */
2012
+
3806
2013
  ApiDestinationState?: ApiDestinationState | string;
3807
- /**
3808
- * <p>A time stamp for the time that the API destination was created.</p>
3809
- */
2014
+
3810
2015
  CreationTime?: Date;
3811
- /**
3812
- * <p>A time stamp for the time that the API destination was last modified.</p>
3813
- */
2016
+
3814
2017
  LastModifiedTime?: Date;
3815
2018
  }
3816
2019
  export declare namespace UpdateApiDestinationResponse {
3817
- /**
3818
- * @internal
3819
- */
2020
+
3820
2021
  const filterSensitiveLog: (obj: UpdateApiDestinationResponse) => any;
3821
2022
  }
3822
2023
  export interface UpdateArchiveRequest {
3823
- /**
3824
- * <p>The name of the archive to update.</p>
3825
- */
2024
+
3826
2025
  ArchiveName: string | undefined;
3827
- /**
3828
- * <p>The description for the archive.</p>
3829
- */
2026
+
3830
2027
  Description?: string;
3831
- /**
3832
- * <p>The event pattern to use to filter events sent to the archive.</p>
3833
- */
2028
+
3834
2029
  EventPattern?: string;
3835
- /**
3836
- * <p>The number of days to retain events in the archive.</p>
3837
- */
2030
+
3838
2031
  RetentionDays?: number;
3839
2032
  }
3840
2033
  export declare namespace UpdateArchiveRequest {
3841
- /**
3842
- * @internal
3843
- */
2034
+
3844
2035
  const filterSensitiveLog: (obj: UpdateArchiveRequest) => any;
3845
2036
  }
3846
2037
  export interface UpdateArchiveResponse {
3847
- /**
3848
- * <p>The ARN of the archive.</p>
3849
- */
2038
+
3850
2039
  ArchiveArn?: string;
3851
- /**
3852
- * <p>The state of the archive.</p>
3853
- */
2040
+
3854
2041
  State?: ArchiveState | string;
3855
- /**
3856
- * <p>The reason that the archive is in the current state.</p>
3857
- */
2042
+
3858
2043
  StateReason?: string;
3859
- /**
3860
- * <p>The time at which the archive was updated.</p>
3861
- */
2044
+
3862
2045
  CreationTime?: Date;
3863
2046
  }
3864
2047
  export declare namespace UpdateArchiveResponse {
3865
- /**
3866
- * @internal
3867
- */
2048
+
3868
2049
  const filterSensitiveLog: (obj: UpdateArchiveResponse) => any;
3869
2050
  }
3870
- /**
3871
- * <p>Contains the API key authorization parameters to use to update the connection.</p>
3872
- */
2051
+
3873
2052
  export interface UpdateConnectionApiKeyAuthRequestParameters {
3874
- /**
3875
- * <p>The name of the API key to use for authorization.</p>
3876
- */
2053
+
3877
2054
  ApiKeyName?: string;
3878
- /**
3879
- * <p>The value associated with teh API key to use for authorization.</p>
3880
- */
2055
+
3881
2056
  ApiKeyValue?: string;
3882
2057
  }
3883
2058
  export declare namespace UpdateConnectionApiKeyAuthRequestParameters {
3884
- /**
3885
- * @internal
3886
- */
2059
+
3887
2060
  const filterSensitiveLog: (obj: UpdateConnectionApiKeyAuthRequestParameters) => any;
3888
2061
  }
3889
- /**
3890
- * <p>Contains the Basic authorization parameters for the connection.</p>
3891
- */
2062
+
3892
2063
  export interface UpdateConnectionBasicAuthRequestParameters {
3893
- /**
3894
- * <p>The user name to use for Basic authorization.</p>
3895
- */
2064
+
3896
2065
  Username?: string;
3897
- /**
3898
- * <p>The password associated with the user name to use for Basic authorization.</p>
3899
- */
2066
+
3900
2067
  Password?: string;
3901
2068
  }
3902
2069
  export declare namespace UpdateConnectionBasicAuthRequestParameters {
3903
- /**
3904
- * @internal
3905
- */
2070
+
3906
2071
  const filterSensitiveLog: (obj: UpdateConnectionBasicAuthRequestParameters) => any;
3907
2072
  }
3908
- /**
3909
- * <p>Contains the OAuth authorization parameters to use for the connection.</p>
3910
- */
2073
+
3911
2074
  export interface UpdateConnectionOAuthClientRequestParameters {
3912
- /**
3913
- * <p>The client ID to use for OAuth authorization.</p>
3914
- */
2075
+
3915
2076
  ClientID?: string;
3916
- /**
3917
- * <p>The client secret assciated with the client ID to use for OAuth authorization.</p>
3918
- */
2077
+
3919
2078
  ClientSecret?: string;
3920
2079
  }
3921
2080
  export declare namespace UpdateConnectionOAuthClientRequestParameters {
3922
- /**
3923
- * @internal
3924
- */
2081
+
3925
2082
  const filterSensitiveLog: (obj: UpdateConnectionOAuthClientRequestParameters) => any;
3926
2083
  }
3927
- /**
3928
- * <p>Contains the OAuth request parameters to use for the connection.</p>
3929
- */
2084
+
3930
2085
  export interface UpdateConnectionOAuthRequestParameters {
3931
- /**
3932
- * <p>A <code>UpdateConnectionOAuthClientRequestParameters</code> object that contains the
3933
- * client parameters to use for the connection when OAuth is specified as the authorization
3934
- * type.</p>
3935
- */
2086
+
3936
2087
  ClientParameters?: UpdateConnectionOAuthClientRequestParameters;
3937
- /**
3938
- * <p>The URL to the authorization endpoint when OAuth is specified as the authorization
3939
- * type.</p>
3940
- */
2088
+
3941
2089
  AuthorizationEndpoint?: string;
3942
- /**
3943
- * <p>The method used to connect to the HTTP endpoint.</p>
3944
- */
2090
+
3945
2091
  HttpMethod?: ConnectionOAuthHttpMethod | string;
3946
- /**
3947
- * <p>The additional HTTP parameters used for the OAuth authorization request.</p>
3948
- */
2092
+
3949
2093
  OAuthHttpParameters?: ConnectionHttpParameters;
3950
2094
  }
3951
2095
  export declare namespace UpdateConnectionOAuthRequestParameters {
3952
- /**
3953
- * @internal
3954
- */
2096
+
3955
2097
  const filterSensitiveLog: (obj: UpdateConnectionOAuthRequestParameters) => any;
3956
2098
  }
3957
- /**
3958
- * <p>Contains the additional parameters to use for the connection.</p>
3959
- */
2099
+
3960
2100
  export interface UpdateConnectionAuthRequestParameters {
3961
- /**
3962
- * <p>A <code>UpdateConnectionBasicAuthRequestParameters</code> object that contains the
3963
- * authorization parameters for Basic authorization.</p>
3964
- */
2101
+
3965
2102
  BasicAuthParameters?: UpdateConnectionBasicAuthRequestParameters;
3966
- /**
3967
- * <p>A <code>UpdateConnectionOAuthRequestParameters</code> object that contains the
3968
- * authorization parameters for OAuth authorization.</p>
3969
- */
2103
+
3970
2104
  OAuthParameters?: UpdateConnectionOAuthRequestParameters;
3971
- /**
3972
- * <p>A <code>UpdateConnectionApiKeyAuthRequestParameters</code> object that contains the
3973
- * authorization parameters for API key authorization.</p>
3974
- */
2105
+
3975
2106
  ApiKeyAuthParameters?: UpdateConnectionApiKeyAuthRequestParameters;
3976
- /**
3977
- * <p>A <code>ConnectionHttpParameters</code> object that contains the additional parameters to
3978
- * use for the connection.</p>
3979
- */
2107
+
3980
2108
  InvocationHttpParameters?: ConnectionHttpParameters;
3981
2109
  }
3982
2110
  export declare namespace UpdateConnectionAuthRequestParameters {
3983
- /**
3984
- * @internal
3985
- */
2111
+
3986
2112
  const filterSensitiveLog: (obj: UpdateConnectionAuthRequestParameters) => any;
3987
2113
  }
3988
2114
  export interface UpdateConnectionRequest {
3989
- /**
3990
- * <p>The name of the connection to update.</p>
3991
- */
2115
+
3992
2116
  Name: string | undefined;
3993
- /**
3994
- * <p>A description for the connection.</p>
3995
- */
2117
+
3996
2118
  Description?: string;
3997
- /**
3998
- * <p>The type of authorization to use for the connection.</p>
3999
- */
2119
+
4000
2120
  AuthorizationType?: ConnectionAuthorizationType | string;
4001
- /**
4002
- * <p>The authorization parameters to use for the connection.</p>
4003
- */
2121
+
4004
2122
  AuthParameters?: UpdateConnectionAuthRequestParameters;
4005
2123
  }
4006
2124
  export declare namespace UpdateConnectionRequest {
4007
- /**
4008
- * @internal
4009
- */
2125
+
4010
2126
  const filterSensitiveLog: (obj: UpdateConnectionRequest) => any;
4011
2127
  }
4012
2128
  export interface UpdateConnectionResponse {
4013
- /**
4014
- * <p>The ARN of the connection that was updated.</p>
4015
- */
2129
+
4016
2130
  ConnectionArn?: string;
4017
- /**
4018
- * <p>The state of the connection that was updated.</p>
4019
- */
2131
+
4020
2132
  ConnectionState?: ConnectionState | string;
4021
- /**
4022
- * <p>A time stamp for the time that the connection was created.</p>
4023
- */
2133
+
4024
2134
  CreationTime?: Date;
4025
- /**
4026
- * <p>A time stamp for the time that the connection was last modified.</p>
4027
- */
2135
+
4028
2136
  LastModifiedTime?: Date;
4029
- /**
4030
- * <p>A time stamp for the time that the connection was last authorized.</p>
4031
- */
2137
+
4032
2138
  LastAuthorizedTime?: Date;
4033
2139
  }
4034
2140
  export declare namespace UpdateConnectionResponse {
4035
- /**
4036
- * @internal
4037
- */
2141
+
4038
2142
  const filterSensitiveLog: (obj: UpdateConnectionResponse) => any;
4039
2143
  }