@aws-sdk/client-bedrock-runtime 3.588.0 → 3.592.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
@@ -219,7 +219,6 @@ var BedrockRuntimeClient = _BedrockRuntimeClient;
219
219
 
220
220
  var import_middleware_serde = require("@smithy/middleware-serde");
221
221
 
222
- var import_types = require("@smithy/types");
223
222
 
224
223
  // src/protocols/Aws_restJson1.ts
225
224
  var import_core2 = require("@aws-sdk/core");
@@ -1378,7 +1377,6 @@ var ConverseCommand = _ConverseCommand;
1378
1377
 
1379
1378
 
1380
1379
 
1381
-
1382
1380
  var _ConverseStreamCommand = class _ConverseStreamCommand extends import_smithy_client.Command.classBuilder().ep({
1383
1381
  ...commonParams
1384
1382
  }).m(function(Command, cs, config, o) {
@@ -1402,7 +1400,6 @@ var ConverseStreamCommand = _ConverseStreamCommand;
1402
1400
 
1403
1401
 
1404
1402
 
1405
-
1406
1403
  var _InvokeModelCommand = class _InvokeModelCommand extends import_smithy_client.Command.classBuilder().ep({
1407
1404
  ...commonParams
1408
1405
  }).m(function(Command, cs, config, o) {
@@ -1419,7 +1416,6 @@ var InvokeModelCommand = _InvokeModelCommand;
1419
1416
 
1420
1417
 
1421
1418
 
1422
-
1423
1419
  var _InvokeModelWithResponseStreamCommand = class _InvokeModelWithResponseStreamCommand extends import_smithy_client.Command.classBuilder().ep({
1424
1420
  ...commonParams
1425
1421
  }).m(function(Command, cs, config, o) {
@@ -95,15 +95,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
95
95
  * Enables FIPS compatible endpoints.
96
96
  */
97
97
  useFipsEndpoint?: boolean | __Provider<boolean>;
98
+ /**
99
+ * The AWS region to which this client will send requests
100
+ */
101
+ region?: string | __Provider<string>;
98
102
  /**
99
103
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
100
104
  * @internal
101
105
  */
102
106
  defaultUserAgentProvider?: Provider<__UserAgent>;
103
- /**
104
- * The AWS region to which this client will send requests
105
- */
106
- region?: string | __Provider<string>;
107
107
  /**
108
108
  * Default credentials provider; Not available in browser runtime.
109
109
  * @deprecated
@@ -5,7 +5,8 @@ import { ConverseRequest, ConverseResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { ConverseStreamRequest, ConverseStreamResponse } from "../models/models_
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -6,7 +6,8 @@ import { InvokeModelRequest, InvokeModelResponse } from "../models/models_0";
6
6
  /**
7
7
  * @public
8
8
  */
9
- export { __MetadataBearer, $Command };
9
+ export type { __MetadataBearer };
10
+ export { $Command };
10
11
  /**
11
12
  * @public
12
13
  */
@@ -5,7 +5,8 @@ import { InvokeModelWithResponseStreamRequest, InvokeModelWithResponseStreamResp
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  */
@@ -6,8 +6,8 @@
6
6
  export * from "./BedrockRuntimeClient";
7
7
  export * from "./BedrockRuntime";
8
8
  export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
- export { RuntimeExtension } from "./runtimeExtensions";
10
- export { BedrockRuntimeExtensionConfiguration } from "./extensionConfiguration";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { BedrockRuntimeExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./models";
13
13
  export { BedrockRuntimeServiceException } from "./models/BedrockRuntimeServiceException";
@@ -1,5 +1,6 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
- export { __ServiceException, __ServiceExceptionOptions };
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
3
4
  /**
4
5
  * @public
5
6
  *
@@ -18,8 +18,8 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
22
21
  region: string | import("@smithy/types").Provider<any>;
22
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
23
23
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
24
24
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -99,8 +99,8 @@ export interface ClientDefaults
99
99
  serviceId?: string;
100
100
  useDualstackEndpoint?: boolean | __Provider<boolean>;
101
101
  useFipsEndpoint?: boolean | __Provider<boolean>;
102
- defaultUserAgentProvider?: Provider<__UserAgent>;
103
102
  region?: string | __Provider<string>;
103
+ defaultUserAgentProvider?: Provider<__UserAgent>;
104
104
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
105
105
  maxAttempts?: number | __Provider<number>;
106
106
  retryMode?: string | __Provider<string>;
@@ -6,7 +6,8 @@ import {
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockRuntimeClient";
8
8
  import { ConverseRequest, ConverseResponse } from "../models/models_0";
9
- export { __MetadataBearer, $Command };
9
+ export { __MetadataBearer };
10
+ export { $Command };
10
11
  export interface ConverseCommandInput extends ConverseRequest {}
11
12
  export interface ConverseCommandOutput
12
13
  extends ConverseResponse,
@@ -9,7 +9,8 @@ import {
9
9
  ConverseStreamRequest,
10
10
  ConverseStreamResponse,
11
11
  } from "../models/models_0";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface ConverseStreamCommandInput extends ConverseStreamRequest {}
14
15
  export interface ConverseStreamCommandOutput
15
16
  extends ConverseStreamResponse,
@@ -10,7 +10,8 @@ import {
10
10
  ServiceOutputTypes,
11
11
  } from "../BedrockRuntimeClient";
12
12
  import { InvokeModelRequest, InvokeModelResponse } from "../models/models_0";
13
- export { __MetadataBearer, $Command };
13
+ export { __MetadataBearer };
14
+ export { $Command };
14
15
  export type InvokeModelCommandInputType = Pick<
15
16
  InvokeModelRequest,
16
17
  Exclude<keyof InvokeModelRequest, "body">
@@ -12,7 +12,8 @@ import {
12
12
  InvokeModelWithResponseStreamRequest,
13
13
  InvokeModelWithResponseStreamResponse,
14
14
  } from "../models/models_0";
15
- export { __MetadataBearer, $Command };
15
+ export { __MetadataBearer };
16
+ export { $Command };
16
17
  export type InvokeModelWithResponseStreamCommandInputType = Pick<
17
18
  InvokeModelWithResponseStreamRequest,
18
19
  Exclude<keyof InvokeModelWithResponseStreamRequest, "body">
@@ -2,7 +2,8 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@smithy/smithy-client";
5
- export { __ServiceException, __ServiceExceptionOptions };
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
6
7
  export declare class BedrockRuntimeServiceException extends __ServiceException {
7
8
  constructor(options: __ServiceExceptionOptions);
8
9
  }
@@ -20,10 +20,10 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
20
20
  serviceId: string;
21
21
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ region: string | import("@smithy/types").Provider<any>;
23
24
  defaultUserAgentProvider: import("@smithy/types").Provider<
24
25
  import("@smithy/types").UserAgent
25
26
  >;
26
- region: string | import("@smithy/types").Provider<any>;
27
27
  credentialDefaultProvider: (
28
28
  input: any
29
29
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-runtime",
3
3
  "description": "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.588.0",
4
+ "version": "3.592.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-bedrock-runtime",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.588.0",
24
- "@aws-sdk/client-sts": "3.588.0",
25
- "@aws-sdk/core": "3.588.0",
26
- "@aws-sdk/credential-provider-node": "3.588.0",
23
+ "@aws-sdk/client-sso-oidc": "3.592.0",
24
+ "@aws-sdk/client-sts": "3.592.0",
25
+ "@aws-sdk/core": "3.592.0",
26
+ "@aws-sdk/credential-provider-node": "3.592.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
@@ -34,7 +34,7 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.587.0",
36
36
  "@smithy/config-resolver": "^3.0.1",
37
- "@smithy/core": "^2.1.1",
37
+ "@smithy/core": "^2.2.0",
38
38
  "@smithy/eventstream-serde-browser": "^3.0.0",
39
39
  "@smithy/eventstream-serde-config-resolver": "^3.0.0",
40
40
  "@smithy/eventstream-serde-node": "^3.0.0",