@aws-sdk/client-bedrock-agent-runtime 3.943.0 → 3.947.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 +69 -375
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/BedrockAgentRuntimeClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +69 -376
- package/dist-types/BedrockAgentRuntime.d.ts +1 -1
- package/dist-types/BedrockAgentRuntimeClient.d.ts +11 -11
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/CreateInvocationCommand.d.ts +3 -3
- package/dist-types/commands/CreateSessionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAgentMemoryCommand.d.ts +3 -3
- package/dist-types/commands/DeleteSessionCommand.d.ts +3 -3
- package/dist-types/commands/EndSessionCommand.d.ts +3 -3
- package/dist-types/commands/GenerateQueryCommand.d.ts +3 -3
- package/dist-types/commands/GetAgentMemoryCommand.d.ts +3 -3
- package/dist-types/commands/GetExecutionFlowSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/GetFlowExecutionCommand.d.ts +3 -3
- package/dist-types/commands/GetInvocationStepCommand.d.ts +3 -3
- package/dist-types/commands/GetSessionCommand.d.ts +3 -3
- package/dist-types/commands/InvokeAgentCommand.d.ts +3 -3
- package/dist-types/commands/InvokeFlowCommand.d.ts +3 -3
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +4 -4
- package/dist-types/commands/ListFlowExecutionEventsCommand.d.ts +3 -3
- package/dist-types/commands/ListFlowExecutionsCommand.d.ts +3 -3
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +3 -3
- package/dist-types/commands/ListInvocationsCommand.d.ts +3 -3
- package/dist-types/commands/ListSessionsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/OptimizePromptCommand.d.ts +3 -3
- package/dist-types/commands/PutInvocationStepCommand.d.ts +3 -3
- package/dist-types/commands/RerankCommand.d.ts +3 -3
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +3 -3
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +3 -3
- package/dist-types/commands/RetrieveCommand.d.ts +3 -3
- package/dist-types/commands/StartFlowExecutionCommand.d.ts +3 -3
- package/dist-types/commands/StopFlowExecutionCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSessionCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/BedrockAgentRuntimeServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/pagination/GetAgentMemoryPaginator.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListFlowExecutionEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFlowExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInvocationStepsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInvocationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSessionsPaginator.d.ts +1 -1
- package/dist-types/pagination/RerankPaginator.d.ts +1 -1
- package/dist-types/pagination/RetrievePaginator.d.ts +1 -1
- 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/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -2
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/BedrockAgentRuntimeServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +4 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -1
- package/package.json +13 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
-
import { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClient";
|
|
2
|
+
import type { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
-
import { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClient";
|
|
2
|
+
import type { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var ActionGroupName: StaticSimpleSchema;
|
|
3
3
|
export declare var ActionGroupOutputString: StaticSimpleSchema;
|
|
4
4
|
export declare var AgentCollaboratorPayloadString: StaticSimpleSchema;
|
|
@@ -299,7 +299,6 @@ export declare var VectorSearchBedrockRerankingConfiguration: StaticStructureSch
|
|
|
299
299
|
export declare var VectorSearchBedrockRerankingModelConfiguration: StaticStructureSchema;
|
|
300
300
|
export declare var VectorSearchRerankingConfiguration: StaticStructureSchema;
|
|
301
301
|
export declare var VideoSegment: StaticStructureSchema;
|
|
302
|
-
export declare var __Unit: "unit";
|
|
303
302
|
export declare var BedrockAgentRuntimeServiceException: StaticErrorSchema;
|
|
304
303
|
export declare var AgentActionGroups: StaticListSchema;
|
|
305
304
|
export declare var AgentTraces: StaticListSchema;
|
|
@@ -24,13 +24,12 @@ import {
|
|
|
24
24
|
} from "@smithy/middleware-retry";
|
|
25
25
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
26
26
|
import {
|
|
27
|
-
Client as __Client,
|
|
28
27
|
DefaultsMode as __DefaultsMode,
|
|
29
28
|
SmithyConfiguration as __SmithyConfiguration,
|
|
30
29
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
30
|
+
Client as __Client,
|
|
31
31
|
} from "@smithy/smithy-client";
|
|
32
32
|
import {
|
|
33
|
-
AwsCredentialIdentityProvider,
|
|
34
33
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
35
34
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
36
35
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -44,9 +43,10 @@ import {
|
|
|
44
43
|
HttpResponse,
|
|
45
44
|
Logger as __Logger,
|
|
46
45
|
Provider as __Provider,
|
|
47
|
-
Provider,
|
|
48
46
|
StreamCollector as __StreamCollector,
|
|
49
47
|
UrlParser as __UrlParser,
|
|
48
|
+
AwsCredentialIdentityProvider,
|
|
49
|
+
Provider,
|
|
50
50
|
UserAgent as __UserAgent,
|
|
51
51
|
} from "@smithy/types";
|
|
52
52
|
import {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
+
HttpAuthScheme,
|
|
2
3
|
AwsCredentialIdentity,
|
|
3
4
|
AwsCredentialIdentityProvider,
|
|
4
|
-
HttpAuthScheme,
|
|
5
5
|
} from "@smithy/types";
|
|
6
6
|
import { BedrockAgentRuntimeHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AgentCollaboration, OrchestrationType } from "./enums";
|
|
2
2
|
import {
|
|
3
|
-
AgentActionGroup,
|
|
4
|
-
Collaborator,
|
|
5
|
-
CollaboratorConfiguration,
|
|
6
3
|
CustomOrchestration,
|
|
7
4
|
GuardrailConfigurationWithArn,
|
|
8
5
|
InlineBedrockModelConfigurations,
|
|
9
6
|
InlineSessionState,
|
|
10
|
-
KnowledgeBase,
|
|
11
7
|
PromptCreationConfigurations,
|
|
12
8
|
PromptOverrideConfiguration,
|
|
13
9
|
StreamingConfigurations,
|
|
10
|
+
AgentActionGroup,
|
|
11
|
+
Collaborator,
|
|
12
|
+
CollaboratorConfiguration,
|
|
13
|
+
KnowledgeBase,
|
|
14
14
|
} from "./models_0";
|
|
15
15
|
export interface InvokeInlineAgentRequest {
|
|
16
16
|
customerEncryptionKeyArn?: string | undefined;
|
|
@@ -306,7 +306,6 @@ export declare var VectorSearchBedrockRerankingConfiguration: StaticStructureSch
|
|
|
306
306
|
export declare var VectorSearchBedrockRerankingModelConfiguration: StaticStructureSchema;
|
|
307
307
|
export declare var VectorSearchRerankingConfiguration: StaticStructureSchema;
|
|
308
308
|
export declare var VideoSegment: StaticStructureSchema;
|
|
309
|
-
export declare var __Unit: "unit";
|
|
310
309
|
export declare var BedrockAgentRuntimeServiceException: StaticErrorSchema;
|
|
311
310
|
export declare var AgentActionGroups: StaticListSchema;
|
|
312
311
|
export declare var AgentTraces: StaticListSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.947.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-agent-runtime",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo bedrock-agent-runtime"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo bedrock-agent-runtime",
|
|
15
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,19 +21,19 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.947.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.947.0",
|
|
25
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
28
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.947.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
31
|
"@aws-sdk/types": "3.936.0",
|
|
31
32
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
33
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.947.0",
|
|
34
35
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
36
|
+
"@smithy/core": "^3.18.7",
|
|
36
37
|
"@smithy/eventstream-serde-browser": "^4.2.5",
|
|
37
38
|
"@smithy/eventstream-serde-config-resolver": "^4.3.5",
|
|
38
39
|
"@smithy/eventstream-serde-node": "^4.2.5",
|
|
@@ -40,21 +41,21 @@
|
|
|
40
41
|
"@smithy/hash-node": "^4.2.5",
|
|
41
42
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
42
43
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
44
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
45
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
45
46
|
"@smithy/middleware-serde": "^4.2.6",
|
|
46
47
|
"@smithy/middleware-stack": "^4.2.5",
|
|
47
48
|
"@smithy/node-config-provider": "^4.3.5",
|
|
48
49
|
"@smithy/node-http-handler": "^4.4.5",
|
|
49
50
|
"@smithy/protocol-http": "^5.3.5",
|
|
50
|
-
"@smithy/smithy-client": "^4.9.
|
|
51
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
51
52
|
"@smithy/types": "^4.9.0",
|
|
52
53
|
"@smithy/url-parser": "^4.2.5",
|
|
53
54
|
"@smithy/util-base64": "^4.3.0",
|
|
54
55
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
56
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
57
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
58
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
58
59
|
"@smithy/util-endpoints": "^3.2.5",
|
|
59
60
|
"@smithy/util-middleware": "^4.2.5",
|
|
60
61
|
"@smithy/util-retry": "^4.2.5",
|