@aws-sdk/client-kinesis
Advanced tools
Comparing version 3.645.0 to 3.649.0
@@ -7,9 +7,13 @@ "use strict"; | ||
const ruleset_1 = require("./ruleset"); | ||
const cache = new util_endpoints_2.EndpointCache({ | ||
size: 50, | ||
params: ["ConsumerARN", "Endpoint", "OperationType", "Region", "ResourceARN", "StreamARN", "UseDualStack", "UseFIPS"], | ||
}); | ||
const defaultEndpointResolver = (endpointParams, context = {}) => { | ||
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { | ||
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { | ||
endpointParams: endpointParams, | ||
logger: context.logger, | ||
}); | ||
})); | ||
}; | ||
exports.defaultEndpointResolver = defaultEndpointResolver; | ||
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; |
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; | ||
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints"; | ||
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints"; | ||
import { ruleSet } from "./ruleset"; | ||
const cache = new EndpointCache({ | ||
size: 50, | ||
params: ["ConsumerARN", "Endpoint", "OperationType", "Region", "ResourceARN", "StreamARN", "UseDualStack", "UseFIPS"], | ||
}); | ||
export const defaultEndpointResolver = (endpointParams, context = {}) => { | ||
return resolveEndpoint(ruleSet, { | ||
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, { | ||
endpointParams: endpointParams, | ||
logger: context.logger, | ||
}); | ||
})); | ||
}; | ||
customEndpointFunctions.aws = awsEndpointFunctions; |
@@ -22,2 +22,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
apiVersion: string; | ||
cacheMiddleware?: boolean | undefined; | ||
urlParser: import("@smithy/types").UrlParser; | ||
@@ -39,2 +40,3 @@ base64Decoder: import("@smithy/types").Decoder; | ||
tls?: boolean | undefined; | ||
serviceConfiguredEndpoint?: undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
@@ -41,0 +43,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KinesisHttpAuthSchemeProvider; |
@@ -22,2 +22,3 @@ import { NodeHttp2Handler as RequestHandler } from "@smithy/node-http-handler"; | ||
apiVersion: string; | ||
cacheMiddleware?: boolean | undefined; | ||
urlParser: import("@smithy/types").UrlParser; | ||
@@ -39,2 +40,3 @@ base64Decoder: import("@smithy/types").Decoder; | ||
tls?: boolean | undefined; | ||
serviceConfiguredEndpoint?: undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
@@ -41,0 +43,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KinesisHttpAuthSchemeProvider; |
@@ -10,2 +10,3 @@ import { KinesisClientConfig } from "./KinesisClient"; | ||
apiVersion: string; | ||
cacheMiddleware?: boolean | undefined; | ||
urlParser: import("@smithy/types").UrlParser; | ||
@@ -38,2 +39,3 @@ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; | ||
tls?: boolean | undefined; | ||
serviceConfiguredEndpoint?: undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
@@ -40,0 +42,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KinesisHttpAuthSchemeProvider; |
@@ -27,2 +27,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
apiVersion: string; | ||
cacheMiddleware?: boolean | undefined; | ||
urlParser: import("@smithy/types").UrlParser; | ||
@@ -66,2 +67,3 @@ base64Decoder: import("@smithy/types").Decoder; | ||
tls?: boolean | undefined; | ||
serviceConfiguredEndpoint?: undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
@@ -68,0 +70,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KinesisHttpAuthSchemeProvider; |
@@ -31,2 +31,3 @@ import { NodeHttp2Handler as RequestHandler } from "@smithy/node-http-handler"; | ||
apiVersion: string; | ||
cacheMiddleware?: boolean | undefined; | ||
urlParser: import("@smithy/types").UrlParser; | ||
@@ -70,2 +71,3 @@ base64Decoder: import("@smithy/types").Decoder; | ||
tls?: boolean | undefined; | ||
serviceConfiguredEndpoint?: undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
@@ -72,0 +74,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KinesisHttpAuthSchemeProvider; |
@@ -12,2 +12,3 @@ import { KinesisClientConfig } from "./KinesisClient"; | ||
apiVersion: string; | ||
cacheMiddleware?: boolean | undefined; | ||
urlParser: import("@smithy/types").UrlParser; | ||
@@ -60,2 +61,3 @@ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; | ||
tls?: boolean | undefined; | ||
serviceConfiguredEndpoint?: undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
@@ -62,0 +64,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KinesisHttpAuthSchemeProvider; |
{ | ||
"name": "@aws-sdk/client-kinesis", | ||
"description": "AWS SDK for JavaScript Kinesis Client for Node.js, Browser and React Native", | ||
"version": "3.645.0", | ||
"version": "3.649.0", | ||
"scripts": { | ||
@@ -24,44 +24,44 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"@aws-crypto/sha256-js": "5.2.0", | ||
"@aws-sdk/client-sso-oidc": "3.645.0", | ||
"@aws-sdk/client-sts": "3.645.0", | ||
"@aws-sdk/core": "3.635.0", | ||
"@aws-sdk/credential-provider-node": "3.645.0", | ||
"@aws-sdk/middleware-host-header": "3.620.0", | ||
"@aws-sdk/middleware-logger": "3.609.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.620.0", | ||
"@aws-sdk/middleware-user-agent": "3.645.0", | ||
"@aws-sdk/region-config-resolver": "3.614.0", | ||
"@aws-sdk/types": "3.609.0", | ||
"@aws-sdk/util-endpoints": "3.645.0", | ||
"@aws-sdk/util-user-agent-browser": "3.609.0", | ||
"@aws-sdk/util-user-agent-node": "3.614.0", | ||
"@smithy/config-resolver": "^3.0.5", | ||
"@smithy/core": "^2.4.0", | ||
"@smithy/eventstream-serde-browser": "^3.0.6", | ||
"@smithy/eventstream-serde-config-resolver": "^3.0.3", | ||
"@smithy/eventstream-serde-node": "^3.0.5", | ||
"@smithy/fetch-http-handler": "^3.2.4", | ||
"@smithy/hash-node": "^3.0.3", | ||
"@smithy/invalid-dependency": "^3.0.3", | ||
"@smithy/middleware-content-length": "^3.0.5", | ||
"@smithy/middleware-endpoint": "^3.1.0", | ||
"@smithy/middleware-retry": "^3.0.15", | ||
"@smithy/middleware-serde": "^3.0.3", | ||
"@smithy/middleware-stack": "^3.0.3", | ||
"@smithy/node-config-provider": "^3.1.4", | ||
"@smithy/node-http-handler": "^3.1.4", | ||
"@smithy/protocol-http": "^4.1.0", | ||
"@smithy/smithy-client": "^3.2.0", | ||
"@smithy/types": "^3.3.0", | ||
"@smithy/url-parser": "^3.0.3", | ||
"@aws-sdk/client-sso-oidc": "3.649.0", | ||
"@aws-sdk/client-sts": "3.649.0", | ||
"@aws-sdk/core": "3.649.0", | ||
"@aws-sdk/credential-provider-node": "3.649.0", | ||
"@aws-sdk/middleware-host-header": "3.649.0", | ||
"@aws-sdk/middleware-logger": "3.649.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.649.0", | ||
"@aws-sdk/middleware-user-agent": "3.649.0", | ||
"@aws-sdk/region-config-resolver": "3.649.0", | ||
"@aws-sdk/types": "3.649.0", | ||
"@aws-sdk/util-endpoints": "3.649.0", | ||
"@aws-sdk/util-user-agent-browser": "3.649.0", | ||
"@aws-sdk/util-user-agent-node": "3.649.0", | ||
"@smithy/config-resolver": "^3.0.6", | ||
"@smithy/core": "^2.4.1", | ||
"@smithy/eventstream-serde-browser": "^3.0.7", | ||
"@smithy/eventstream-serde-config-resolver": "^3.0.4", | ||
"@smithy/eventstream-serde-node": "^3.0.6", | ||
"@smithy/fetch-http-handler": "^3.2.5", | ||
"@smithy/hash-node": "^3.0.4", | ||
"@smithy/invalid-dependency": "^3.0.4", | ||
"@smithy/middleware-content-length": "^3.0.6", | ||
"@smithy/middleware-endpoint": "^3.1.1", | ||
"@smithy/middleware-retry": "^3.0.16", | ||
"@smithy/middleware-serde": "^3.0.4", | ||
"@smithy/middleware-stack": "^3.0.4", | ||
"@smithy/node-config-provider": "^3.1.5", | ||
"@smithy/node-http-handler": "^3.2.0", | ||
"@smithy/protocol-http": "^4.1.1", | ||
"@smithy/smithy-client": "^3.3.0", | ||
"@smithy/types": "^3.4.0", | ||
"@smithy/url-parser": "^3.0.4", | ||
"@smithy/util-base64": "^3.0.0", | ||
"@smithy/util-body-length-browser": "^3.0.0", | ||
"@smithy/util-body-length-node": "^3.0.0", | ||
"@smithy/util-defaults-mode-browser": "^3.0.15", | ||
"@smithy/util-defaults-mode-node": "^3.0.15", | ||
"@smithy/util-endpoints": "^2.0.5", | ||
"@smithy/util-middleware": "^3.0.3", | ||
"@smithy/util-retry": "^3.0.3", | ||
"@smithy/util-defaults-mode-browser": "^3.0.16", | ||
"@smithy/util-defaults-mode-node": "^3.0.16", | ||
"@smithy/util-endpoints": "^2.1.0", | ||
"@smithy/util-middleware": "^3.0.4", | ||
"@smithy/util-retry": "^3.0.4", | ||
"@smithy/util-utf8": "^3.0.0", | ||
"@smithy/util-waiter": "^3.1.2", | ||
"@smithy/util-waiter": "^3.1.3", | ||
"tslib": "^2.6.2" | ||
@@ -68,0 +68,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
774563
16620
+ Added@aws-sdk/client-sso@3.649.0(transitive)
+ Added@aws-sdk/client-sso-oidc@3.649.0(transitive)
+ Added@aws-sdk/client-sts@3.649.0(transitive)
+ Added@aws-sdk/core@3.649.0(transitive)
+ Added@aws-sdk/credential-provider-env@3.649.0(transitive)
+ Added@aws-sdk/credential-provider-http@3.649.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.649.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.649.0(transitive)
+ Added@aws-sdk/credential-provider-process@3.649.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.649.0(transitive)
+ Added@aws-sdk/credential-provider-web-identity@3.649.0(transitive)
+ Added@aws-sdk/middleware-host-header@3.649.0(transitive)
+ Added@aws-sdk/middleware-logger@3.649.0(transitive)
+ Added@aws-sdk/middleware-recursion-detection@3.649.0(transitive)
+ Added@aws-sdk/middleware-user-agent@3.649.0(transitive)
+ Added@aws-sdk/region-config-resolver@3.649.0(transitive)
+ Added@aws-sdk/token-providers@3.649.0(transitive)
+ Added@aws-sdk/types@3.649.0(transitive)
+ Added@aws-sdk/util-endpoints@3.649.0(transitive)
+ Added@aws-sdk/util-user-agent-browser@3.649.0(transitive)
+ Added@aws-sdk/util-user-agent-node@3.649.0(transitive)
- Removed@aws-sdk/client-sso@3.645.0(transitive)
- Removed@aws-sdk/client-sso-oidc@3.645.0(transitive)
- Removed@aws-sdk/client-sts@3.645.0(transitive)
- Removed@aws-sdk/core@3.635.0(transitive)
- Removed@aws-sdk/credential-provider-env@3.620.1(transitive)
- Removed@aws-sdk/credential-provider-http@3.635.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.645.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.645.0(transitive)
- Removed@aws-sdk/credential-provider-process@3.620.1(transitive)
- Removed@aws-sdk/credential-provider-sso@3.645.0(transitive)
- Removed@aws-sdk/credential-provider-web-identity@3.621.0(transitive)
- Removed@aws-sdk/middleware-host-header@3.620.0(transitive)
- Removed@aws-sdk/middleware-logger@3.609.0(transitive)
- Removed@aws-sdk/middleware-recursion-detection@3.620.0(transitive)
- Removed@aws-sdk/middleware-user-agent@3.645.0(transitive)
- Removed@aws-sdk/region-config-resolver@3.614.0(transitive)
- Removed@aws-sdk/token-providers@3.614.0(transitive)
- Removed@aws-sdk/types@3.609.0(transitive)
- Removed@aws-sdk/util-endpoints@3.645.0(transitive)
- Removed@aws-sdk/util-user-agent-browser@3.609.0(transitive)
- Removed@aws-sdk/util-user-agent-node@3.614.0(transitive)
Updated@aws-sdk/client-sts@3.649.0
Updated@aws-sdk/core@3.649.0
Updated@aws-sdk/types@3.649.0
Updated@smithy/core@^2.4.1
Updated@smithy/hash-node@^3.0.4
Updated@smithy/protocol-http@^4.1.1
Updated@smithy/smithy-client@^3.3.0
Updated@smithy/types@^3.4.0
Updated@smithy/url-parser@^3.0.4
Updated@smithy/util-retry@^3.0.4
Updated@smithy/util-waiter@^3.1.3