New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-bedrock-runtime

Package Overview
Dependencies
Maintainers
5
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-bedrock-runtime - npm Package Compare versions

Comparing version 3.721.0 to 3.723.0

1

dist-es/BedrockRuntimeClient.js

@@ -18,2 +18,3 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";

export class BedrockRuntimeClient extends __Client {
config;
constructor(...[configuration]) {

@@ -20,0 +21,0 @@ const _config_0 = __getRuntimeConfig(configuration || {});

54

dist-es/models/models_0.js
import { SENSITIVE_STRING } from "@smithy/smithy-client";
import { BedrockRuntimeServiceException as __BaseException } from "./BedrockRuntimeServiceException";
export class AccessDeniedException extends __BaseException {
name = "AccessDeniedException";
$fault = "client";
constructor(opts) {

@@ -10,4 +12,2 @@ super({

});
this.name = "AccessDeniedException";
this.$fault = "client";
Object.setPrototypeOf(this, AccessDeniedException.prototype);

@@ -30,2 +30,4 @@ }

export class InternalServerException extends __BaseException {
name = "InternalServerException";
$fault = "server";
constructor(opts) {

@@ -37,4 +39,2 @@ super({

});
this.name = "InternalServerException";
this.$fault = "server";
Object.setPrototypeOf(this, InternalServerException.prototype);

@@ -44,2 +44,4 @@ }

export class ThrottlingException extends __BaseException {
name = "ThrottlingException";
$fault = "client";
constructor(opts) {

@@ -51,4 +53,2 @@ super({

});
this.name = "ThrottlingException";
this.$fault = "client";
Object.setPrototypeOf(this, ThrottlingException.prototype);

@@ -58,2 +58,4 @@ }

export class ValidationException extends __BaseException {
name = "ValidationException";
$fault = "client";
constructor(opts) {

@@ -65,4 +67,2 @@ super({

});
this.name = "ValidationException";
this.$fault = "client";
Object.setPrototypeOf(this, ValidationException.prototype);

@@ -79,2 +79,4 @@ }

export class ConflictException extends __BaseException {
name = "ConflictException";
$fault = "client";
constructor(opts) {

@@ -86,4 +88,2 @@ super({

});
this.name = "ConflictException";
this.$fault = "client";
Object.setPrototypeOf(this, ConflictException.prototype);

@@ -93,2 +93,4 @@ }

export class ResourceNotFoundException extends __BaseException {
name = "ResourceNotFoundException";
$fault = "client";
constructor(opts) {

@@ -100,4 +102,2 @@ super({

});
this.name = "ResourceNotFoundException";
this.$fault = "client";
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);

@@ -107,2 +107,4 @@ }

export class ServiceQuotaExceededException extends __BaseException {
name = "ServiceQuotaExceededException";
$fault = "client";
constructor(opts) {

@@ -114,4 +116,2 @@ super({

});
this.name = "ServiceQuotaExceededException";
this.$fault = "client";
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);

@@ -121,2 +121,4 @@ }

export class ServiceUnavailableException extends __BaseException {
name = "ServiceUnavailableException";
$fault = "server";
constructor(opts) {

@@ -128,4 +130,2 @@ super({

});
this.name = "ServiceUnavailableException";
this.$fault = "server";
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);

@@ -445,2 +445,6 @@ }

export class ModelErrorException extends __BaseException {
name = "ModelErrorException";
$fault = "client";
originalStatusCode;
resourceName;
constructor(opts) {

@@ -452,4 +456,2 @@ super({

});
this.name = "ModelErrorException";
this.$fault = "client";
Object.setPrototypeOf(this, ModelErrorException.prototype);

@@ -461,2 +463,5 @@ this.originalStatusCode = opts.originalStatusCode;

export class ModelNotReadyException extends __BaseException {
name = "ModelNotReadyException";
$fault = "client";
$retryable = {};
constructor(opts) {

@@ -468,5 +473,2 @@ super({

});
this.name = "ModelNotReadyException";
this.$fault = "client";
this.$retryable = {};
Object.setPrototypeOf(this, ModelNotReadyException.prototype);

@@ -476,2 +478,4 @@ }

export class ModelTimeoutException extends __BaseException {
name = "ModelTimeoutException";
$fault = "client";
constructor(opts) {

@@ -483,4 +487,2 @@ super({

});
this.name = "ModelTimeoutException";
this.$fault = "client";
Object.setPrototypeOf(this, ModelTimeoutException.prototype);

@@ -512,2 +514,6 @@ }

export class ModelStreamErrorException extends __BaseException {
name = "ModelStreamErrorException";
$fault = "client";
originalStatusCode;
originalMessage;
constructor(opts) {

@@ -519,4 +525,2 @@ super({

});
this.name = "ModelStreamErrorException";
this.$fault = "client";
Object.setPrototypeOf(this, ModelStreamErrorException.prototype);

@@ -523,0 +527,0 @@ this.originalStatusCode = opts.originalStatusCode;

@@ -10,3 +10,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";

bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;

@@ -13,0 +13,0 @@ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;

@@ -10,3 +10,3 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";

bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;

@@ -13,0 +13,0 @@ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;

@@ -25,3 +25,3 @@ import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";

defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
maxAttempts: number | import("@smithy/types").Provider<number>;

@@ -36,3 +36,3 @@ retryMode: string | import("@smithy/types").Provider<string>;

retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
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;
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;
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {

@@ -39,0 +39,0 @@ logger?: import("@smithy/types").Logger | undefined;

@@ -9,5 +9,7 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";

bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
credentialDefaultProvider: (
input: any
) => import("@smithy/types").AwsCredentialIdentityProvider;
credentialDefaultProvider:
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
| ((
_: unknown
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
defaultUserAgentProvider: (

@@ -14,0 +16,0 @@ config?:

@@ -9,9 +9,11 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";

bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
credentialDefaultProvider: (
init?:
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
| undefined
) => import("@smithy/types").MemoizedProvider<
import("@smithy/types").AwsCredentialIdentity
>;
credentialDefaultProvider:
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
| ((
init?:
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
| undefined
) => import("@smithy/types").MemoizedProvider<
import("@smithy/types").AwsCredentialIdentity
>);
defaultUserAgentProvider: (

@@ -18,0 +20,0 @@ config?:

@@ -31,5 +31,7 @@ import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";

) => Promise<import("@smithy/types").UserAgent>;
credentialDefaultProvider: (
input: any
) => import("@smithy/types").AwsCredentialIdentityProvider;
credentialDefaultProvider:
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
| ((
_: unknown
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
maxAttempts: number | import("@smithy/types").Provider<number>;

@@ -55,7 +57,17 @@ retryMode: string | import("@smithy/types").Provider<string>;

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").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;

@@ -62,0 +74,0 @@ endpointProvider: (

{
"name": "@aws-sdk/client-bedrock-runtime",
"description": "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
"version": "3.721.0",
"version": "3.723.0",
"scripts": {

@@ -23,44 +23,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.721.0",
"@aws-sdk/client-sts": "3.721.0",
"@aws-sdk/core": "3.716.0",
"@aws-sdk/credential-provider-node": "3.721.0",
"@aws-sdk/middleware-host-header": "3.714.0",
"@aws-sdk/middleware-logger": "3.714.0",
"@aws-sdk/middleware-recursion-detection": "3.714.0",
"@aws-sdk/middleware-user-agent": "3.721.0",
"@aws-sdk/region-config-resolver": "3.714.0",
"@aws-sdk/types": "3.714.0",
"@aws-sdk/util-endpoints": "3.714.0",
"@aws-sdk/util-user-agent-browser": "3.714.0",
"@aws-sdk/util-user-agent-node": "3.721.0",
"@smithy/config-resolver": "^3.0.13",
"@smithy/core": "^2.5.5",
"@smithy/eventstream-serde-browser": "^3.0.14",
"@smithy/eventstream-serde-config-resolver": "^3.0.11",
"@smithy/eventstream-serde-node": "^3.0.13",
"@smithy/fetch-http-handler": "^4.1.2",
"@smithy/hash-node": "^3.0.11",
"@smithy/invalid-dependency": "^3.0.11",
"@smithy/middleware-content-length": "^3.0.13",
"@smithy/middleware-endpoint": "^3.2.6",
"@smithy/middleware-retry": "^3.0.31",
"@smithy/middleware-serde": "^3.0.11",
"@smithy/middleware-stack": "^3.0.11",
"@smithy/node-config-provider": "^3.1.12",
"@smithy/node-http-handler": "^3.3.2",
"@smithy/protocol-http": "^4.1.8",
"@smithy/smithy-client": "^3.5.1",
"@smithy/types": "^3.7.2",
"@smithy/url-parser": "^3.0.11",
"@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.31",
"@smithy/util-defaults-mode-node": "^3.0.31",
"@smithy/util-endpoints": "^2.1.7",
"@smithy/util-middleware": "^3.0.11",
"@smithy/util-retry": "^3.0.11",
"@smithy/util-stream": "^3.3.2",
"@smithy/util-utf8": "^3.0.0",
"@aws-sdk/client-sso-oidc": "3.723.0",
"@aws-sdk/client-sts": "3.723.0",
"@aws-sdk/core": "3.723.0",
"@aws-sdk/credential-provider-node": "3.723.0",
"@aws-sdk/middleware-host-header": "3.723.0",
"@aws-sdk/middleware-logger": "3.723.0",
"@aws-sdk/middleware-recursion-detection": "3.723.0",
"@aws-sdk/middleware-user-agent": "3.723.0",
"@aws-sdk/region-config-resolver": "3.723.0",
"@aws-sdk/types": "3.723.0",
"@aws-sdk/util-endpoints": "3.723.0",
"@aws-sdk/util-user-agent-browser": "3.723.0",
"@aws-sdk/util-user-agent-node": "3.723.0",
"@smithy/config-resolver": "^4.0.0",
"@smithy/core": "^3.0.0",
"@smithy/eventstream-serde-browser": "^4.0.0",
"@smithy/eventstream-serde-config-resolver": "^4.0.0",
"@smithy/eventstream-serde-node": "^4.0.0",
"@smithy/fetch-http-handler": "^5.0.0",
"@smithy/hash-node": "^4.0.0",
"@smithy/invalid-dependency": "^4.0.0",
"@smithy/middleware-content-length": "^4.0.0",
"@smithy/middleware-endpoint": "^4.0.0",
"@smithy/middleware-retry": "^4.0.0",
"@smithy/middleware-serde": "^4.0.0",
"@smithy/middleware-stack": "^4.0.0",
"@smithy/node-config-provider": "^4.0.0",
"@smithy/node-http-handler": "^4.0.0",
"@smithy/protocol-http": "^5.0.0",
"@smithy/smithy-client": "^4.0.0",
"@smithy/types": "^4.0.0",
"@smithy/url-parser": "^4.0.0",
"@smithy/util-base64": "^4.0.0",
"@smithy/util-body-length-browser": "^4.0.0",
"@smithy/util-body-length-node": "^4.0.0",
"@smithy/util-defaults-mode-browser": "^4.0.0",
"@smithy/util-defaults-mode-node": "^4.0.0",
"@smithy/util-endpoints": "^3.0.0",
"@smithy/util-middleware": "^4.0.0",
"@smithy/util-retry": "^4.0.0",
"@smithy/util-stream": "^4.0.0",
"@smithy/util-utf8": "^4.0.0",
"@types/uuid": "^9.0.1",

@@ -71,11 +71,11 @@ "tslib": "^2.6.2",

"devDependencies": {
"@tsconfig/node16": "16.1.3",
"@types/node": "^16.18.96",
"@tsconfig/node18": "18.2.4",
"@types/node": "^18.19.69",
"concurrently": "7.0.0",
"downlevel-dts": "0.10.1",
"rimraf": "3.0.2",
"typescript": "~4.9.5"
"typescript": "~5.2.2"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},

@@ -82,0 +82,0 @@ "typesVersions": {

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc