@aws-sdk/client-eventbridge 3.844.0 → 3.846.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -78,10 +78,12 @@ __export(index_exports, {
78
78
  EventBridgeServiceException: () => EventBridgeServiceException,
79
79
  EventSourceState: () => EventSourceState,
80
80
  IllegalStatusException: () => IllegalStatusException,
81
+ IncludeDetail: () => IncludeDetail,
81
82
  InternalException: () => InternalException,
82
83
  InvalidEventPatternException: () => InvalidEventPatternException,
83
84
  InvalidStateException: () => InvalidStateException,
84
85
  LaunchType: () => LaunchType,
86
+ Level: () => Level,
85
87
  LimitExceededException: () => LimitExceededException,
86
88
  ListApiDestinationsCommand: () => ListApiDestinationsCommand,
87
89
  ListArchivesCommand: () => ListArchivesCommand,
@@ -575,6 +577,16 @@ var EndpointState = {
575
577
  UPDATE_FAILED: "UPDATE_FAILED",
576
578
  UPDATING: "UPDATING"
577
579
  };
580
+ var IncludeDetail = {
581
+ FULL: "FULL",
582
+ NONE: "NONE"
583
+ };
584
+ var Level = {
585
+ ERROR: "ERROR",
586
+ INFO: "INFO",
587
+ OFF: "OFF",
588
+ TRACE: "TRACE"
589
+ };
578
590
  var ManagedRuleException = class _ManagedRuleException extends EventBridgeServiceException {
579
591
  static {
580
592
  __name(this, "ManagedRuleException");
@@ -2241,6 +2253,7 @@ var de_DescribeEventBusResponse = /* @__PURE__ */ __name((output, context) => {
2241
2253
  Description: import_smithy_client.expectString,
2242
2254
  KmsKeyIdentifier: import_smithy_client.expectString,
2243
2255
  LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),
2256
+ LogConfig: import_smithy_client._json,
2244
2257
  Name: import_smithy_client.expectString,
2245
2258
  Policy: import_smithy_client.expectString
2246
2259
  });
@@ -3480,6 +3493,8 @@ var EventBridge = class extends EventBridgeClient {
3480
3493
  ThrottlingException,
3481
3494
  ReplicationState,
3482
3495
  EndpointState,
3496
+ IncludeDetail,
3497
+ Level,
3483
3498
  ManagedRuleException,
3484
3499
  EventSourceState,
3485
3500
  RuleState,
@@ -199,6 +199,16 @@ export const EndpointState = {
199
199
  UPDATE_FAILED: "UPDATE_FAILED",
200
200
  UPDATING: "UPDATING",
201
201
  };
202
+ export const IncludeDetail = {
203
+ FULL: "FULL",
204
+ NONE: "NONE",
205
+ };
206
+ export const Level = {
207
+ ERROR: "ERROR",
208
+ INFO: "INFO",
209
+ OFF: "OFF",
210
+ TRACE: "TRACE",
211
+ };
202
212
  export class ManagedRuleException extends __BaseException {
203
213
  name = "ManagedRuleException";
204
214
  $fault = "client";
@@ -1461,6 +1461,7 @@ const de_DescribeEventBusResponse = (output, context) => {
1461
1461
  Description: __expectString,
1462
1462
  KmsKeyIdentifier: __expectString,
1463
1463
  LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1464
+ LogConfig: _json,
1464
1465
  Name: __expectString,
1465
1466
  Policy: __expectString,
1466
1467
  });
@@ -44,6 +44,10 @@ declare const CreateEventBusCommand_base: {
44
44
  * DeadLetterConfig: { // DeadLetterConfig
45
45
  * Arn: "STRING_VALUE",
46
46
  * },
47
+ * LogConfig: { // LogConfig
48
+ * IncludeDetail: "NONE" || "FULL",
49
+ * Level: "OFF" || "ERROR" || "INFO" || "TRACE",
50
+ * },
47
51
  * Tags: [ // TagList
48
52
  * { // Tag
49
53
  * Key: "STRING_VALUE", // required
@@ -60,6 +64,10 @@ declare const CreateEventBusCommand_base: {
60
64
  * // DeadLetterConfig: { // DeadLetterConfig
61
65
  * // Arn: "STRING_VALUE",
62
66
  * // },
67
+ * // LogConfig: { // LogConfig
68
+ * // IncludeDetail: "NONE" || "FULL",
69
+ * // Level: "OFF" || "ERROR" || "INFO" || "TRACE",
70
+ * // },
63
71
  * // };
64
72
  *
65
73
  * ```
@@ -53,6 +53,10 @@ declare const DescribeEventBusCommand_base: {
53
53
  * // Arn: "STRING_VALUE",
54
54
  * // },
55
55
  * // Policy: "STRING_VALUE",
56
+ * // LogConfig: { // LogConfig
57
+ * // IncludeDetail: "NONE" || "FULL",
58
+ * // Level: "OFF" || "ERROR" || "INFO" || "TRACE",
59
+ * // },
56
60
  * // CreationTime: new Date("TIMESTAMP"),
57
61
  * // LastModifiedTime: new Date("TIMESTAMP"),
58
62
  * // };
@@ -41,6 +41,10 @@ declare const UpdateEventBusCommand_base: {
41
41
  * DeadLetterConfig: { // DeadLetterConfig
42
42
  * Arn: "STRING_VALUE",
43
43
  * },
44
+ * LogConfig: { // LogConfig
45
+ * IncludeDetail: "NONE" || "FULL",
46
+ * Level: "OFF" || "ERROR" || "INFO" || "TRACE",
47
+ * },
44
48
  * };
45
49
  * const command = new UpdateEventBusCommand(input);
46
50
  * const response = await client.send(command);
@@ -52,6 +56,10 @@ declare const UpdateEventBusCommand_base: {
52
56
  * // DeadLetterConfig: { // DeadLetterConfig
53
57
  * // Arn: "STRING_VALUE",
54
58
  * // },
59
+ * // LogConfig: { // LogConfig
60
+ * // IncludeDetail: "NONE" || "FULL",
61
+ * // Level: "OFF" || "ERROR" || "INFO" || "TRACE",
62
+ * // },
55
63
  * // };
56
64
  *
57
65
  * ```
@@ -1039,6 +1039,52 @@ export interface DeadLetterConfig {
1039
1039
  */
1040
1040
  Arn?: string | undefined;
1041
1041
  }
1042
+ /**
1043
+ * @public
1044
+ * @enum
1045
+ */
1046
+ export declare const IncludeDetail: {
1047
+ readonly FULL: "FULL";
1048
+ readonly NONE: "NONE";
1049
+ };
1050
+ /**
1051
+ * @public
1052
+ */
1053
+ export type IncludeDetail = (typeof IncludeDetail)[keyof typeof IncludeDetail];
1054
+ /**
1055
+ * @public
1056
+ * @enum
1057
+ */
1058
+ export declare const Level: {
1059
+ readonly ERROR: "ERROR";
1060
+ readonly INFO: "INFO";
1061
+ readonly OFF: "OFF";
1062
+ readonly TRACE: "TRACE";
1063
+ };
1064
+ /**
1065
+ * @public
1066
+ */
1067
+ export type Level = (typeof Level)[keyof typeof Level];
1068
+ /**
1069
+ * <p>The logging configuration settings for the event bus.</p>
1070
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/eb-event-bus-logs.html">Configuring logs for event buses</a> in the <i>EventBridge User Guide</i>.</p>
1071
+ * @public
1072
+ */
1073
+ export interface LogConfig {
1074
+ /**
1075
+ * <p>Whether EventBridge include detailed event information in the records it generates.
1076
+ * Detailed data can be useful for troubleshooting and debugging. This information includes details of the event itself, as well as target details.</p>
1077
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus-logs.html#eb-event-logs-data">Including detail data in event bus logs</a> in the <i>EventBridge User Guide</i>.</p>
1078
+ * @public
1079
+ */
1080
+ IncludeDetail?: IncludeDetail | undefined;
1081
+ /**
1082
+ * <p>The level of logging detail to include. This applies to all log destinations for the event bus.</p>
1083
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus-logs.html#eb-event-bus-logs-level">Specifying event bus log level</a> in the <i>EventBridge User Guide</i>.</p>
1084
+ * @public
1085
+ */
1086
+ Level?: Level | undefined;
1087
+ }
1042
1088
  /**
1043
1089
  * <p>A key-value pair associated with an Amazon Web Services resource. In EventBridge,
1044
1090
  * rules and event buses support tagging.</p>
@@ -1125,6 +1171,12 @@ export interface CreateEventBusRequest {
1125
1171
  * @public
1126
1172
  */
1127
1173
  DeadLetterConfig?: DeadLetterConfig | undefined;
1174
+ /**
1175
+ * <p>The logging configuration settings for the event bus.</p>
1176
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/eb-event-bus-logs.html">Configuring logs for event buses</a> in the <i>EventBridge User Guide</i>.</p>
1177
+ * @public
1178
+ */
1179
+ LogConfig?: LogConfig | undefined;
1128
1180
  /**
1129
1181
  * <p>Tags to associate with the event bus.</p>
1130
1182
  * @public
@@ -1160,6 +1212,12 @@ export interface CreateEventBusResponse {
1160
1212
  * @public
1161
1213
  */
1162
1214
  DeadLetterConfig?: DeadLetterConfig | undefined;
1215
+ /**
1216
+ * <p>The logging configuration settings for the event bus.</p>
1217
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/eb-event-bus-logs.html">Configuring logs for event buses</a> in the <i>EventBridge User Guide</i>.</p>
1218
+ * @public
1219
+ */
1220
+ LogConfig?: LogConfig | undefined;
1163
1221
  }
1164
1222
  /**
1165
1223
  * @public
@@ -1902,6 +1960,12 @@ export interface DescribeEventBusResponse {
1902
1960
  * @public
1903
1961
  */
1904
1962
  Policy?: string | undefined;
1963
+ /**
1964
+ * <p>The logging configuration settings for the event bus.</p>
1965
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/eb-event-bus-logs.html">Configuring logs for event buses</a> in the <i>EventBridge User Guide</i>.</p>
1966
+ * @public
1967
+ */
1968
+ LogConfig?: LogConfig | undefined;
1905
1969
  /**
1906
1970
  * <p>The time the event bus was created.</p>
1907
1971
  * @public
@@ -5224,6 +5288,12 @@ export interface UpdateEventBusRequest {
5224
5288
  * @public
5225
5289
  */
5226
5290
  DeadLetterConfig?: DeadLetterConfig | undefined;
5291
+ /**
5292
+ * <p>The logging configuration settings for the event bus.</p>
5293
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/eb-event-bus-logs.html">Configuring logs for event buses</a> in the <i>EventBridge User Guide</i>.</p>
5294
+ * @public
5295
+ */
5296
+ LogConfig?: LogConfig | undefined;
5227
5297
  }
5228
5298
  /**
5229
5299
  * @public
@@ -5259,6 +5329,12 @@ export interface UpdateEventBusResponse {
5259
5329
  * @public
5260
5330
  */
5261
5331
  DeadLetterConfig?: DeadLetterConfig | undefined;
5332
+ /**
5333
+ * <p>The logging configuration settings for the event bus.</p>
5334
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/eb-event-bus-logs.html">Configuring logs for event buses</a> in the <i>EventBridge User Guide</i>.</p>
5335
+ * @public
5336
+ */
5337
+ LogConfig?: LogConfig | undefined;
5262
5338
  }
5263
5339
  /**
5264
5340
  * @internal
@@ -331,6 +331,22 @@ export interface CreateEndpointResponse {
331
331
  export interface DeadLetterConfig {
332
332
  Arn?: string | undefined;
333
333
  }
334
+ export declare const IncludeDetail: {
335
+ readonly FULL: "FULL";
336
+ readonly NONE: "NONE";
337
+ };
338
+ export type IncludeDetail = (typeof IncludeDetail)[keyof typeof IncludeDetail];
339
+ export declare const Level: {
340
+ readonly ERROR: "ERROR";
341
+ readonly INFO: "INFO";
342
+ readonly OFF: "OFF";
343
+ readonly TRACE: "TRACE";
344
+ };
345
+ export type Level = (typeof Level)[keyof typeof Level];
346
+ export interface LogConfig {
347
+ IncludeDetail?: IncludeDetail | undefined;
348
+ Level?: Level | undefined;
349
+ }
334
350
  export interface Tag {
335
351
  Key: string | undefined;
336
352
  Value: string | undefined;
@@ -341,6 +357,7 @@ export interface CreateEventBusRequest {
341
357
  Description?: string | undefined;
342
358
  KmsKeyIdentifier?: string | undefined;
343
359
  DeadLetterConfig?: DeadLetterConfig | undefined;
360
+ LogConfig?: LogConfig | undefined;
344
361
  Tags?: Tag[] | undefined;
345
362
  }
346
363
  export interface CreateEventBusResponse {
@@ -348,6 +365,7 @@ export interface CreateEventBusResponse {
348
365
  Description?: string | undefined;
349
366
  KmsKeyIdentifier?: string | undefined;
350
367
  DeadLetterConfig?: DeadLetterConfig | undefined;
368
+ LogConfig?: LogConfig | undefined;
351
369
  }
352
370
  export interface CreatePartnerEventSourceRequest {
353
371
  Name: string | undefined;
@@ -520,6 +538,7 @@ export interface DescribeEventBusResponse {
520
538
  KmsKeyIdentifier?: string | undefined;
521
539
  DeadLetterConfig?: DeadLetterConfig | undefined;
522
540
  Policy?: string | undefined;
541
+ LogConfig?: LogConfig | undefined;
523
542
  CreationTime?: Date | undefined;
524
543
  LastModifiedTime?: Date | undefined;
525
544
  }
@@ -1161,6 +1180,7 @@ export interface UpdateEventBusRequest {
1161
1180
  KmsKeyIdentifier?: string | undefined;
1162
1181
  Description?: string | undefined;
1163
1182
  DeadLetterConfig?: DeadLetterConfig | undefined;
1183
+ LogConfig?: LogConfig | undefined;
1164
1184
  }
1165
1185
  export interface UpdateEventBusResponse {
1166
1186
  Arn?: string | undefined;
@@ -1168,6 +1188,7 @@ export interface UpdateEventBusResponse {
1168
1188
  KmsKeyIdentifier?: string | undefined;
1169
1189
  Description?: string | undefined;
1170
1190
  DeadLetterConfig?: DeadLetterConfig | undefined;
1191
+ LogConfig?: LogConfig | undefined;
1171
1192
  }
1172
1193
  export declare const AppSyncParametersFilterSensitiveLog: (
1173
1194
  obj: AppSyncParameters
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-eventbridge",
3
3
  "description": "AWS SDK for JavaScript Eventbridge Client for Node.js, Browser and React Native",
4
- "version": "3.844.0",
4
+ "version": "3.846.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-eventbridge",
@@ -22,39 +22,39 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/core": "3.844.0",
26
- "@aws-sdk/credential-provider-node": "3.844.0",
25
+ "@aws-sdk/core": "3.846.0",
26
+ "@aws-sdk/credential-provider-node": "3.846.0",
27
27
  "@aws-sdk/middleware-host-header": "3.840.0",
28
28
  "@aws-sdk/middleware-logger": "3.840.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
30
- "@aws-sdk/middleware-user-agent": "3.844.0",
30
+ "@aws-sdk/middleware-user-agent": "3.846.0",
31
31
  "@aws-sdk/region-config-resolver": "3.840.0",
32
- "@aws-sdk/signature-v4-multi-region": "3.844.0",
32
+ "@aws-sdk/signature-v4-multi-region": "3.846.0",
33
33
  "@aws-sdk/types": "3.840.0",
34
- "@aws-sdk/util-endpoints": "3.844.0",
34
+ "@aws-sdk/util-endpoints": "3.845.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.840.0",
36
- "@aws-sdk/util-user-agent-node": "3.844.0",
36
+ "@aws-sdk/util-user-agent-node": "3.846.0",
37
37
  "@smithy/config-resolver": "^4.1.4",
38
38
  "@smithy/core": "^3.7.0",
39
39
  "@smithy/fetch-http-handler": "^5.1.0",
40
40
  "@smithy/hash-node": "^4.0.4",
41
41
  "@smithy/invalid-dependency": "^4.0.4",
42
42
  "@smithy/middleware-content-length": "^4.0.4",
43
- "@smithy/middleware-endpoint": "^4.1.14",
44
- "@smithy/middleware-retry": "^4.1.15",
43
+ "@smithy/middleware-endpoint": "^4.1.15",
44
+ "@smithy/middleware-retry": "^4.1.16",
45
45
  "@smithy/middleware-serde": "^4.0.8",
46
46
  "@smithy/middleware-stack": "^4.0.4",
47
47
  "@smithy/node-config-provider": "^4.1.3",
48
48
  "@smithy/node-http-handler": "^4.1.0",
49
49
  "@smithy/protocol-http": "^5.1.2",
50
- "@smithy/smithy-client": "^4.4.6",
50
+ "@smithy/smithy-client": "^4.4.7",
51
51
  "@smithy/types": "^4.3.1",
52
52
  "@smithy/url-parser": "^4.0.4",
53
53
  "@smithy/util-base64": "^4.0.0",
54
54
  "@smithy/util-body-length-browser": "^4.0.0",
55
55
  "@smithy/util-body-length-node": "^4.0.0",
56
- "@smithy/util-defaults-mode-browser": "^4.0.22",
57
- "@smithy/util-defaults-mode-node": "^4.0.22",
56
+ "@smithy/util-defaults-mode-browser": "^4.0.23",
57
+ "@smithy/util-defaults-mode-node": "^4.0.23",
58
58
  "@smithy/util-endpoints": "^3.0.6",
59
59
  "@smithy/util-middleware": "^4.0.4",
60
60
  "@smithy/util-retry": "^4.0.6",
@@ -62,7 +62,7 @@
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {
65
- "@aws-sdk/signature-v4-crt": "3.844.0",
65
+ "@aws-sdk/signature-v4-crt": "3.846.0",
66
66
  "@tsconfig/node18": "18.2.4",
67
67
  "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",