@aws-sdk/client-eventbridge 3.613.0 → 3.616.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 +6 -6
- package/dist-es/EventBridgeClient.js +6 -6
- package/dist-types/EventBridgeClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/EventBridgeClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/package.json +26 -26
package/dist-cjs/index.js
CHANGED
|
@@ -194,20 +194,20 @@ var _EventBridgeClient = class _EventBridgeClient extends import_smithy_client.C
|
|
|
194
194
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
195
195
|
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
196
196
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
197
|
-
const _config_4 = (0,
|
|
198
|
-
const _config_5 = (0,
|
|
199
|
-
const _config_6 = (0,
|
|
200
|
-
const _config_7 = (0,
|
|
197
|
+
const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3);
|
|
198
|
+
const _config_5 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_4);
|
|
199
|
+
const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
|
|
200
|
+
const _config_7 = (0, import_middleware_retry.resolveRetryConfig)(_config_6);
|
|
201
201
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
202
202
|
super(_config_8);
|
|
203
203
|
this.config = _config_8;
|
|
204
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
205
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
206
204
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
207
205
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
208
206
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
209
207
|
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
210
208
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
209
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
210
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
211
211
|
}
|
|
212
212
|
/**
|
|
213
213
|
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
@@ -18,20 +18,20 @@ export class EventBridgeClient extends __Client {
|
|
|
18
18
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
19
19
|
const _config_2 = resolveRegionConfig(_config_1);
|
|
20
20
|
const _config_3 = resolveEndpointConfig(_config_2);
|
|
21
|
-
const _config_4 =
|
|
22
|
-
const _config_5 =
|
|
23
|
-
const _config_6 =
|
|
24
|
-
const _config_7 =
|
|
21
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
22
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
23
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
24
|
+
const _config_7 = resolveRetryConfig(_config_6);
|
|
25
25
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
26
26
|
super(_config_8);
|
|
27
27
|
this.config = _config_8;
|
|
28
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
29
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
30
28
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
31
29
|
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
32
30
|
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
33
31
|
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
34
32
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
35
35
|
}
|
|
36
36
|
destroy() {
|
|
37
37
|
super.destroy();
|
|
@@ -188,7 +188,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
188
188
|
/**
|
|
189
189
|
* @public
|
|
190
190
|
*/
|
|
191
|
-
export type EventBridgeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> &
|
|
191
|
+
export type EventBridgeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & RetryInputConfig & ClientInputEndpointParameters;
|
|
192
192
|
/**
|
|
193
193
|
* @public
|
|
194
194
|
*
|
|
@@ -199,7 +199,7 @@ export interface EventBridgeClientConfig extends EventBridgeClientConfigType {
|
|
|
199
199
|
/**
|
|
200
200
|
* @public
|
|
201
201
|
*/
|
|
202
|
-
export type EventBridgeClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> &
|
|
202
|
+
export type EventBridgeClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & ClientResolvedEndpointParameters;
|
|
203
203
|
/**
|
|
204
204
|
* @public
|
|
205
205
|
*
|
|
@@ -32,7 +32,6 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
32
32
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
33
|
}) => import("@smithy/types").EndpointV2;
|
|
34
34
|
tls?: boolean | undefined;
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
35
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
|
|
37
36
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
38
37
|
signingEscapePath?: boolean | undefined;
|
|
@@ -40,4 +39,5 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
40
39
|
signingRegion?: string | undefined;
|
|
41
40
|
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
42
41
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
42
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
43
43
|
};
|
|
@@ -32,7 +32,6 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
32
32
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
33
|
}) => import("@smithy/types").EndpointV2;
|
|
34
34
|
tls?: boolean | undefined;
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
35
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
|
|
37
36
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
38
37
|
signingEscapePath?: boolean | undefined;
|
|
@@ -40,4 +39,5 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
40
39
|
signingRegion?: string | undefined;
|
|
41
40
|
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
42
41
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
42
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
43
43
|
};
|
|
@@ -31,7 +31,6 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
31
31
|
logger?: import("@smithy/types").Logger | undefined;
|
|
32
32
|
}) => import("@smithy/types").EndpointV2;
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
35
34
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
|
|
36
35
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
37
36
|
signingEscapePath?: boolean | undefined;
|
|
@@ -39,4 +38,5 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
39
38
|
signingRegion?: string | undefined;
|
|
40
39
|
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
41
40
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
42
42
|
};
|
|
@@ -427,10 +427,10 @@ export type EventBridgeClientConfigType = Partial<
|
|
|
427
427
|
ClientDefaults &
|
|
428
428
|
RegionInputConfig &
|
|
429
429
|
EndpointInputConfig<EndpointParameters> &
|
|
430
|
-
RetryInputConfig &
|
|
431
430
|
HostHeaderInputConfig &
|
|
432
431
|
AwsAuthInputConfig &
|
|
433
432
|
UserAgentInputConfig &
|
|
433
|
+
RetryInputConfig &
|
|
434
434
|
ClientInputEndpointParameters;
|
|
435
435
|
export interface EventBridgeClientConfig extends EventBridgeClientConfigType {}
|
|
436
436
|
export type EventBridgeClientResolvedConfigType =
|
|
@@ -439,10 +439,10 @@ export type EventBridgeClientResolvedConfigType =
|
|
|
439
439
|
RuntimeExtensionsConfig &
|
|
440
440
|
RegionResolvedConfig &
|
|
441
441
|
EndpointResolvedConfig<EndpointParameters> &
|
|
442
|
-
RetryResolvedConfig &
|
|
443
442
|
HostHeaderResolvedConfig &
|
|
444
443
|
AwsAuthResolvedConfig &
|
|
445
444
|
UserAgentResolvedConfig &
|
|
445
|
+
RetryResolvedConfig &
|
|
446
446
|
ClientResolvedEndpointParameters;
|
|
447
447
|
export interface EventBridgeClientResolvedConfig
|
|
448
448
|
extends EventBridgeClientResolvedConfigType {}
|
|
@@ -56,10 +56,6 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
56
56
|
}
|
|
57
57
|
) => import("@smithy/types").EndpointV2;
|
|
58
58
|
tls?: boolean | undefined;
|
|
59
|
-
retryStrategy?:
|
|
60
|
-
| import("@smithy/types").RetryStrategy
|
|
61
|
-
| import("@smithy/types").RetryStrategyV2
|
|
62
|
-
| undefined;
|
|
63
59
|
credentials?:
|
|
64
60
|
| import("@smithy/types").AwsCredentialIdentity
|
|
65
61
|
| import("@smithy/types").Provider<
|
|
@@ -82,4 +78,8 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
82
78
|
) => import("@smithy/types").RequestSigner)
|
|
83
79
|
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
84
80
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
81
|
+
retryStrategy?:
|
|
82
|
+
| import("@smithy/types").RetryStrategy
|
|
83
|
+
| import("@smithy/types").RetryStrategyV2
|
|
84
|
+
| undefined;
|
|
85
85
|
};
|
|
@@ -60,10 +60,6 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
60
60
|
}
|
|
61
61
|
) => import("@smithy/types").EndpointV2;
|
|
62
62
|
tls?: boolean | undefined;
|
|
63
|
-
retryStrategy?:
|
|
64
|
-
| import("@smithy/types").RetryStrategy
|
|
65
|
-
| import("@smithy/types").RetryStrategyV2
|
|
66
|
-
| undefined;
|
|
67
63
|
credentials?:
|
|
68
64
|
| import("@smithy/types").AwsCredentialIdentity
|
|
69
65
|
| import("@smithy/types").Provider<
|
|
@@ -86,4 +82,8 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
86
82
|
) => import("@smithy/types").RequestSigner)
|
|
87
83
|
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
88
84
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
85
|
+
retryStrategy?:
|
|
86
|
+
| import("@smithy/types").RetryStrategy
|
|
87
|
+
| import("@smithy/types").RetryStrategyV2
|
|
88
|
+
| undefined;
|
|
89
89
|
};
|
|
@@ -50,10 +50,6 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
50
50
|
}
|
|
51
51
|
) => import("@smithy/types").EndpointV2;
|
|
52
52
|
tls?: boolean | undefined;
|
|
53
|
-
retryStrategy?:
|
|
54
|
-
| import("@smithy/types").RetryStrategy
|
|
55
|
-
| import("@smithy/types").RetryStrategyV2
|
|
56
|
-
| undefined;
|
|
57
53
|
credentials?:
|
|
58
54
|
| import("@smithy/types").AwsCredentialIdentity
|
|
59
55
|
| import("@smithy/types").Provider<
|
|
@@ -76,4 +72,8 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
76
72
|
) => import("@smithy/types").RequestSigner)
|
|
77
73
|
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
78
74
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
75
|
+
retryStrategy?:
|
|
76
|
+
| import("@smithy/types").RetryStrategy
|
|
77
|
+
| import("@smithy/types").RetryStrategyV2
|
|
78
|
+
| undefined;
|
|
79
79
|
};
|
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.
|
|
4
|
+
"version": "3.616.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,48 +22,48 @@
|
|
|
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.
|
|
26
|
-
"@aws-sdk/client-sts": "3.
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
28
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
25
|
+
"@aws-sdk/client-sso-oidc": "3.616.0",
|
|
26
|
+
"@aws-sdk/client-sts": "3.616.0",
|
|
27
|
+
"@aws-sdk/core": "3.616.0",
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.616.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.616.0",
|
|
30
30
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
34
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
35
|
-
"@aws-sdk/signature-v4-multi-region": "3.
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.616.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.616.0",
|
|
33
|
+
"@aws-sdk/middleware-user-agent": "3.616.0",
|
|
34
|
+
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
35
|
+
"@aws-sdk/signature-v4-multi-region": "3.616.0",
|
|
36
36
|
"@aws-sdk/types": "3.609.0",
|
|
37
|
-
"@aws-sdk/util-endpoints": "3.
|
|
37
|
+
"@aws-sdk/util-endpoints": "3.614.0",
|
|
38
38
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
39
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
40
|
-
"@smithy/config-resolver": "^3.0.
|
|
41
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
39
|
+
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
40
|
+
"@smithy/config-resolver": "^3.0.5",
|
|
41
|
+
"@smithy/fetch-http-handler": "^3.2.2",
|
|
42
42
|
"@smithy/hash-node": "^3.0.3",
|
|
43
43
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
44
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
45
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
46
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
+
"@smithy/middleware-content-length": "^3.0.4",
|
|
45
|
+
"@smithy/middleware-endpoint": "^3.0.5",
|
|
46
|
+
"@smithy/middleware-retry": "^3.0.10",
|
|
47
47
|
"@smithy/middleware-serde": "^3.0.3",
|
|
48
48
|
"@smithy/middleware-stack": "^3.0.3",
|
|
49
|
-
"@smithy/node-config-provider": "^3.1.
|
|
50
|
-
"@smithy/node-http-handler": "^3.1.
|
|
51
|
-
"@smithy/protocol-http": "^4.0.
|
|
52
|
-
"@smithy/smithy-client": "^3.1.
|
|
49
|
+
"@smithy/node-config-provider": "^3.1.4",
|
|
50
|
+
"@smithy/node-http-handler": "^3.1.3",
|
|
51
|
+
"@smithy/protocol-http": "^4.0.4",
|
|
52
|
+
"@smithy/smithy-client": "^3.1.8",
|
|
53
53
|
"@smithy/types": "^3.3.0",
|
|
54
54
|
"@smithy/url-parser": "^3.0.3",
|
|
55
55
|
"@smithy/util-base64": "^3.0.0",
|
|
56
56
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
57
57
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
58
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
59
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
60
|
-
"@smithy/util-endpoints": "^2.0.
|
|
58
|
+
"@smithy/util-defaults-mode-browser": "^3.0.10",
|
|
59
|
+
"@smithy/util-defaults-mode-node": "^3.0.10",
|
|
60
|
+
"@smithy/util-endpoints": "^2.0.5",
|
|
61
61
|
"@smithy/util-retry": "^3.0.3",
|
|
62
62
|
"@smithy/util-utf8": "^3.0.0",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
66
|
+
"@aws-sdk/signature-v4-crt": "3.616.0",
|
|
67
67
|
"@tsconfig/node16": "16.1.3",
|
|
68
68
|
"@types/node": "^16.18.96",
|
|
69
69
|
"concurrently": "7.0.0",
|