@aws-sdk/client-eventbridge 3.721.0 → 3.723.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.
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class EventBridgeClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,74 +1,74 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { EventBridgeServiceException as __BaseException } from "./EventBridgeServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
4
6
  constructor(opts) {
5
7
  super({
6
8
  name: "AccessDeniedException",
7
9
  $fault: "client",
8
10
  ...opts,
9
11
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
13
  }
14
14
  }
15
15
  export class ConcurrentModificationException extends __BaseException {
16
+ name = "ConcurrentModificationException";
17
+ $fault = "client";
16
18
  constructor(opts) {
17
19
  super({
18
20
  name: "ConcurrentModificationException",
19
21
  $fault: "client",
20
22
  ...opts,
21
23
  });
22
- this.name = "ConcurrentModificationException";
23
- this.$fault = "client";
24
24
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
25
25
  }
26
26
  }
27
27
  export class InternalException extends __BaseException {
28
+ name = "InternalException";
29
+ $fault = "server";
28
30
  constructor(opts) {
29
31
  super({
30
32
  name: "InternalException",
31
33
  $fault: "server",
32
34
  ...opts,
33
35
  });
34
- this.name = "InternalException";
35
- this.$fault = "server";
36
36
  Object.setPrototypeOf(this, InternalException.prototype);
37
37
  }
38
38
  }
39
39
  export class InvalidStateException extends __BaseException {
40
+ name = "InvalidStateException";
41
+ $fault = "client";
40
42
  constructor(opts) {
41
43
  super({
42
44
  name: "InvalidStateException",
43
45
  $fault: "client",
44
46
  ...opts,
45
47
  });
46
- this.name = "InvalidStateException";
47
- this.$fault = "client";
48
48
  Object.setPrototypeOf(this, InvalidStateException.prototype);
49
49
  }
50
50
  }
51
51
  export class OperationDisabledException extends __BaseException {
52
+ name = "OperationDisabledException";
53
+ $fault = "client";
52
54
  constructor(opts) {
53
55
  super({
54
56
  name: "OperationDisabledException",
55
57
  $fault: "client",
56
58
  ...opts,
57
59
  });
58
- this.name = "OperationDisabledException";
59
- this.$fault = "client";
60
60
  Object.setPrototypeOf(this, OperationDisabledException.prototype);
61
61
  }
62
62
  }
63
63
  export class ResourceNotFoundException extends __BaseException {
64
+ name = "ResourceNotFoundException";
65
+ $fault = "client";
64
66
  constructor(opts) {
65
67
  super({
66
68
  name: "ResourceNotFoundException",
67
69
  $fault: "client",
68
70
  ...opts,
69
71
  });
70
- this.name = "ResourceNotFoundException";
71
- this.$fault = "client";
72
72
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
73
73
  }
74
74
  }
@@ -106,50 +106,50 @@ export const ReplayState = {
106
106
  STARTING: "STARTING",
107
107
  };
108
108
  export class IllegalStatusException extends __BaseException {
109
+ name = "IllegalStatusException";
110
+ $fault = "client";
109
111
  constructor(opts) {
110
112
  super({
111
113
  name: "IllegalStatusException",
112
114
  $fault: "client",
113
115
  ...opts,
114
116
  });
115
- this.name = "IllegalStatusException";
116
- this.$fault = "client";
117
117
  Object.setPrototypeOf(this, IllegalStatusException.prototype);
118
118
  }
119
119
  }
120
120
  export class LimitExceededException extends __BaseException {
121
+ name = "LimitExceededException";
122
+ $fault = "client";
121
123
  constructor(opts) {
122
124
  super({
123
125
  name: "LimitExceededException",
124
126
  $fault: "client",
125
127
  ...opts,
126
128
  });
127
- this.name = "LimitExceededException";
128
- this.$fault = "client";
129
129
  Object.setPrototypeOf(this, LimitExceededException.prototype);
130
130
  }
131
131
  }
132
132
  export class ResourceAlreadyExistsException extends __BaseException {
133
+ name = "ResourceAlreadyExistsException";
134
+ $fault = "client";
133
135
  constructor(opts) {
134
136
  super({
135
137
  name: "ResourceAlreadyExistsException",
136
138
  $fault: "client",
137
139
  ...opts,
138
140
  });
139
- this.name = "ResourceAlreadyExistsException";
140
- this.$fault = "client";
141
141
  Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
142
142
  }
143
143
  }
144
144
  export class InvalidEventPatternException extends __BaseException {
145
+ name = "InvalidEventPatternException";
146
+ $fault = "client";
145
147
  constructor(opts) {
146
148
  super({
147
149
  name: "InvalidEventPatternException",
148
150
  $fault: "client",
149
151
  ...opts,
150
152
  });
151
- this.name = "InvalidEventPatternException";
152
- this.$fault = "client";
153
153
  Object.setPrototypeOf(this, InvalidEventPatternException.prototype);
154
154
  }
155
155
  }
@@ -175,14 +175,14 @@ export const ConnectionState = {
175
175
  UPDATING: "UPDATING",
176
176
  };
177
177
  export class ThrottlingException extends __BaseException {
178
+ name = "ThrottlingException";
179
+ $fault = "client";
178
180
  constructor(opts) {
179
181
  super({
180
182
  name: "ThrottlingException",
181
183
  $fault: "client",
182
184
  ...opts,
183
185
  });
184
- this.name = "ThrottlingException";
185
- this.$fault = "client";
186
186
  Object.setPrototypeOf(this, ThrottlingException.prototype);
187
187
  }
188
188
  }
@@ -200,14 +200,14 @@ export const EndpointState = {
200
200
  UPDATING: "UPDATING",
201
201
  };
202
202
  export class ManagedRuleException extends __BaseException {
203
+ name = "ManagedRuleException";
204
+ $fault = "client";
203
205
  constructor(opts) {
204
206
  super({
205
207
  name: "ManagedRuleException",
206
208
  $fault: "client",
207
209
  ...opts,
208
210
  });
209
- this.name = "ManagedRuleException";
210
- this.$fault = "client";
211
211
  Object.setPrototypeOf(this, ManagedRuleException.prototype);
212
212
  }
213
213
  }
@@ -239,14 +239,14 @@ export const PropagateTags = {
239
239
  TASK_DEFINITION: "TASK_DEFINITION",
240
240
  };
241
241
  export class PolicyLengthExceededException extends __BaseException {
242
+ name = "PolicyLengthExceededException";
243
+ $fault = "client";
242
244
  constructor(opts) {
243
245
  super({
244
246
  name: "PolicyLengthExceededException",
245
247
  $fault: "client",
246
248
  ...opts,
247
249
  });
248
- this.name = "PolicyLengthExceededException";
249
- this.$fault = "client";
250
250
  Object.setPrototypeOf(this, PolicyLengthExceededException.prototype);
251
251
  }
252
252
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
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.721.0",
4
+ "version": "3.723.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,58 +22,58 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/client-sso-oidc": "3.721.0",
26
- "@aws-sdk/client-sts": "3.721.0",
27
- "@aws-sdk/core": "3.716.0",
28
- "@aws-sdk/credential-provider-node": "3.721.0",
29
- "@aws-sdk/middleware-host-header": "3.714.0",
30
- "@aws-sdk/middleware-logger": "3.714.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
32
- "@aws-sdk/middleware-user-agent": "3.721.0",
33
- "@aws-sdk/region-config-resolver": "3.714.0",
34
- "@aws-sdk/signature-v4-multi-region": "3.716.0",
35
- "@aws-sdk/types": "3.714.0",
36
- "@aws-sdk/util-endpoints": "3.714.0",
37
- "@aws-sdk/util-user-agent-browser": "3.714.0",
38
- "@aws-sdk/util-user-agent-node": "3.721.0",
39
- "@smithy/config-resolver": "^3.0.13",
40
- "@smithy/core": "^2.5.5",
41
- "@smithy/fetch-http-handler": "^4.1.2",
42
- "@smithy/hash-node": "^3.0.11",
43
- "@smithy/invalid-dependency": "^3.0.11",
44
- "@smithy/middleware-content-length": "^3.0.13",
45
- "@smithy/middleware-endpoint": "^3.2.6",
46
- "@smithy/middleware-retry": "^3.0.31",
47
- "@smithy/middleware-serde": "^3.0.11",
48
- "@smithy/middleware-stack": "^3.0.11",
49
- "@smithy/node-config-provider": "^3.1.12",
50
- "@smithy/node-http-handler": "^3.3.2",
51
- "@smithy/protocol-http": "^4.1.8",
52
- "@smithy/smithy-client": "^3.5.1",
53
- "@smithy/types": "^3.7.2",
54
- "@smithy/url-parser": "^3.0.11",
55
- "@smithy/util-base64": "^3.0.0",
56
- "@smithy/util-body-length-browser": "^3.0.0",
57
- "@smithy/util-body-length-node": "^3.0.0",
58
- "@smithy/util-defaults-mode-browser": "^3.0.31",
59
- "@smithy/util-defaults-mode-node": "^3.0.31",
60
- "@smithy/util-endpoints": "^2.1.7",
61
- "@smithy/util-middleware": "^3.0.11",
62
- "@smithy/util-retry": "^3.0.11",
63
- "@smithy/util-utf8": "^3.0.0",
25
+ "@aws-sdk/client-sso-oidc": "3.723.0",
26
+ "@aws-sdk/client-sts": "3.723.0",
27
+ "@aws-sdk/core": "3.723.0",
28
+ "@aws-sdk/credential-provider-node": "3.723.0",
29
+ "@aws-sdk/middleware-host-header": "3.723.0",
30
+ "@aws-sdk/middleware-logger": "3.723.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
32
+ "@aws-sdk/middleware-user-agent": "3.723.0",
33
+ "@aws-sdk/region-config-resolver": "3.723.0",
34
+ "@aws-sdk/signature-v4-multi-region": "3.723.0",
35
+ "@aws-sdk/types": "3.723.0",
36
+ "@aws-sdk/util-endpoints": "3.723.0",
37
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
38
+ "@aws-sdk/util-user-agent-node": "3.723.0",
39
+ "@smithy/config-resolver": "^4.0.0",
40
+ "@smithy/core": "^3.0.0",
41
+ "@smithy/fetch-http-handler": "^5.0.0",
42
+ "@smithy/hash-node": "^4.0.0",
43
+ "@smithy/invalid-dependency": "^4.0.0",
44
+ "@smithy/middleware-content-length": "^4.0.0",
45
+ "@smithy/middleware-endpoint": "^4.0.0",
46
+ "@smithy/middleware-retry": "^4.0.0",
47
+ "@smithy/middleware-serde": "^4.0.0",
48
+ "@smithy/middleware-stack": "^4.0.0",
49
+ "@smithy/node-config-provider": "^4.0.0",
50
+ "@smithy/node-http-handler": "^4.0.0",
51
+ "@smithy/protocol-http": "^5.0.0",
52
+ "@smithy/smithy-client": "^4.0.0",
53
+ "@smithy/types": "^4.0.0",
54
+ "@smithy/url-parser": "^4.0.0",
55
+ "@smithy/util-base64": "^4.0.0",
56
+ "@smithy/util-body-length-browser": "^4.0.0",
57
+ "@smithy/util-body-length-node": "^4.0.0",
58
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
59
+ "@smithy/util-defaults-mode-node": "^4.0.0",
60
+ "@smithy/util-endpoints": "^3.0.0",
61
+ "@smithy/util-middleware": "^4.0.0",
62
+ "@smithy/util-retry": "^4.0.0",
63
+ "@smithy/util-utf8": "^4.0.0",
64
64
  "tslib": "^2.6.2"
65
65
  },
66
66
  "devDependencies": {
67
- "@aws-sdk/signature-v4-crt": "3.721.0",
68
- "@tsconfig/node16": "16.1.3",
69
- "@types/node": "^16.18.96",
67
+ "@aws-sdk/signature-v4-crt": "3.723.0",
68
+ "@tsconfig/node18": "18.2.4",
69
+ "@types/node": "^18.19.69",
70
70
  "concurrently": "7.0.0",
71
71
  "downlevel-dts": "0.10.1",
72
72
  "rimraf": "3.0.2",
73
- "typescript": "~4.9.5"
73
+ "typescript": "~5.2.2"
74
74
  },
75
75
  "engines": {
76
- "node": ">=16.0.0"
76
+ "node": ">=18.0.0"
77
77
  },
78
78
  "typesVersions": {
79
79
  "<4.0": {