@aws-sdk/client-bedrock-agent-runtime 3.1018.0 → 3.1020.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/auth/httpAuthSchemeProvider.js +2 -2
- package/dist-cjs/runtimeConfig.js +4 -3
- package/dist-cjs/runtimeConfig.shared.js +2 -2
- package/dist-es/BedrockAgentRuntime.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/runtimeConfig.shared.js +1 -1
- package/dist-types/BedrockAgentRuntime.d.ts +31 -31
- package/dist-types/BedrockAgentRuntimeClient.d.ts +34 -34
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +3 -3
- package/dist-types/models/models_1.d.ts +2 -2
- package/dist-types/pagination/GetAgentMemoryPaginator.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/ts3.4/BedrockAgentRuntimeClient.d.ts +2 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +13 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultBedrockAgentRuntimeHttpAuthSchemeProvider = exports.defaultBedrockAgentRuntimeHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const util_middleware_1 = require("@smithy/util-middleware");
|
|
6
6
|
const defaultBedrockAgentRuntimeHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
@@ -38,7 +38,7 @@ const defaultBedrockAgentRuntimeHttpAuthSchemeProvider = (authParameters) => {
|
|
|
38
38
|
};
|
|
39
39
|
exports.defaultBedrockAgentRuntimeHttpAuthSchemeProvider = defaultBedrockAgentRuntimeHttpAuthSchemeProvider;
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
|
-
const config_0 = (0,
|
|
41
|
+
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
43
|
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
-
const
|
|
6
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
7
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
8
9
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
9
10
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
@@ -22,7 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
22
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
25
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
|
-
(0,
|
|
26
|
+
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
27
|
const loaderConfig = {
|
|
27
28
|
profile: config?.profile,
|
|
28
29
|
logger: clientSharedValues.logger,
|
|
@@ -33,7 +34,7 @@ const getRuntimeConfig = (config) => {
|
|
|
33
34
|
...config,
|
|
34
35
|
runtime: "node",
|
|
35
36
|
defaultsMode,
|
|
36
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(
|
|
37
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
37
38
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
38
39
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
39
40
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
@@ -23,7 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
{
|
|
24
24
|
schemeId: "aws.auth#sigv4",
|
|
25
25
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
26
|
-
signer: new
|
|
26
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
27
27
|
},
|
|
28
28
|
],
|
|
29
29
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
@@ -4,15 +4,15 @@ import { CreateInvocationCommand, } from "./commands/CreateInvocationCommand";
|
|
|
4
4
|
import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
|
|
5
5
|
import { DeleteAgentMemoryCommand, } from "./commands/DeleteAgentMemoryCommand";
|
|
6
6
|
import { DeleteSessionCommand, } from "./commands/DeleteSessionCommand";
|
|
7
|
-
import { EndSessionCommand } from "./commands/EndSessionCommand";
|
|
7
|
+
import { EndSessionCommand, } from "./commands/EndSessionCommand";
|
|
8
8
|
import { GenerateQueryCommand, } from "./commands/GenerateQueryCommand";
|
|
9
9
|
import { GetAgentMemoryCommand, } from "./commands/GetAgentMemoryCommand";
|
|
10
10
|
import { GetExecutionFlowSnapshotCommand, } from "./commands/GetExecutionFlowSnapshotCommand";
|
|
11
11
|
import { GetFlowExecutionCommand, } from "./commands/GetFlowExecutionCommand";
|
|
12
12
|
import { GetInvocationStepCommand, } from "./commands/GetInvocationStepCommand";
|
|
13
|
-
import { GetSessionCommand } from "./commands/GetSessionCommand";
|
|
14
|
-
import { InvokeAgentCommand } from "./commands/InvokeAgentCommand";
|
|
15
|
-
import { InvokeFlowCommand } from "./commands/InvokeFlowCommand";
|
|
13
|
+
import { GetSessionCommand, } from "./commands/GetSessionCommand";
|
|
14
|
+
import { InvokeAgentCommand, } from "./commands/InvokeAgentCommand";
|
|
15
|
+
import { InvokeFlowCommand, } from "./commands/InvokeFlowCommand";
|
|
16
16
|
import { InvokeInlineAgentCommand, } from "./commands/InvokeInlineAgentCommand";
|
|
17
17
|
import { ListFlowExecutionEventsCommand, } from "./commands/ListFlowExecutionEventsCommand";
|
|
18
18
|
import { ListFlowExecutionsCommand, } from "./commands/ListFlowExecutionsCommand";
|
|
@@ -28,7 +28,7 @@ import { RetrieveAndGenerateStreamCommand, } from "./commands/RetrieveAndGenerat
|
|
|
28
28
|
import { RetrieveCommand } from "./commands/RetrieveCommand";
|
|
29
29
|
import { StartFlowExecutionCommand, } from "./commands/StartFlowExecutionCommand";
|
|
30
30
|
import { StopFlowExecutionCommand, } from "./commands/StopFlowExecutionCommand";
|
|
31
|
-
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
31
|
+
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
32
32
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
33
33
|
import { UpdateSessionCommand, } from "./commands/UpdateSessionCommand";
|
|
34
34
|
import { paginateGetAgentMemory } from "./pagination/GetAgentMemoryPaginator";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
|
|
1
|
+
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
3
3
|
export const defaultBedrockAgentRuntimeHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
3
|
+
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
3
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
5
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
6
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
4
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { BedrockAgentRuntimeClient } from "./BedrockAgentRuntimeClient";
|
|
3
|
-
import { CreateInvocationCommandInput, CreateInvocationCommandOutput } from "./commands/CreateInvocationCommand";
|
|
4
|
-
import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
|
|
5
|
-
import { DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput } from "./commands/DeleteAgentMemoryCommand";
|
|
6
|
-
import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
|
|
7
|
-
import { EndSessionCommandInput, EndSessionCommandOutput } from "./commands/EndSessionCommand";
|
|
8
|
-
import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
|
|
9
|
-
import { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "./commands/GetAgentMemoryCommand";
|
|
10
|
-
import { GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput } from "./commands/GetExecutionFlowSnapshotCommand";
|
|
11
|
-
import { GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput } from "./commands/GetFlowExecutionCommand";
|
|
12
|
-
import { GetInvocationStepCommandInput, GetInvocationStepCommandOutput } from "./commands/GetInvocationStepCommand";
|
|
13
|
-
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
14
|
-
import { InvokeAgentCommandInput, InvokeAgentCommandOutput } from "./commands/InvokeAgentCommand";
|
|
15
|
-
import { InvokeFlowCommandInput, InvokeFlowCommandOutput } from "./commands/InvokeFlowCommand";
|
|
16
|
-
import { InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput } from "./commands/InvokeInlineAgentCommand";
|
|
17
|
-
import { ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput } from "./commands/ListFlowExecutionEventsCommand";
|
|
18
|
-
import { ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput } from "./commands/ListFlowExecutionsCommand";
|
|
19
|
-
import { ListInvocationsCommandInput, ListInvocationsCommandOutput } from "./commands/ListInvocationsCommand";
|
|
20
|
-
import { ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput } from "./commands/ListInvocationStepsCommand";
|
|
21
|
-
import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
|
|
22
|
-
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
23
|
-
import { OptimizePromptCommandInput, OptimizePromptCommandOutput } from "./commands/OptimizePromptCommand";
|
|
24
|
-
import { PutInvocationStepCommandInput, PutInvocationStepCommandOutput } from "./commands/PutInvocationStepCommand";
|
|
25
|
-
import { RerankCommandInput, RerankCommandOutput } from "./commands/RerankCommand";
|
|
26
|
-
import { RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput } from "./commands/RetrieveAndGenerateCommand";
|
|
27
|
-
import { RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput } from "./commands/RetrieveAndGenerateStreamCommand";
|
|
28
|
-
import { RetrieveCommandInput, RetrieveCommandOutput } from "./commands/RetrieveCommand";
|
|
29
|
-
import { StartFlowExecutionCommandInput, StartFlowExecutionCommandOutput } from "./commands/StartFlowExecutionCommand";
|
|
30
|
-
import { StopFlowExecutionCommandInput, StopFlowExecutionCommandOutput } from "./commands/StopFlowExecutionCommand";
|
|
31
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
32
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
33
|
-
import { UpdateSessionCommandInput, UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
|
|
3
|
+
import { type CreateInvocationCommandInput, type CreateInvocationCommandOutput } from "./commands/CreateInvocationCommand";
|
|
4
|
+
import { type CreateSessionCommandInput, type CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
|
|
5
|
+
import { type DeleteAgentMemoryCommandInput, type DeleteAgentMemoryCommandOutput } from "./commands/DeleteAgentMemoryCommand";
|
|
6
|
+
import { type DeleteSessionCommandInput, type DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
|
|
7
|
+
import { type EndSessionCommandInput, type EndSessionCommandOutput } from "./commands/EndSessionCommand";
|
|
8
|
+
import { type GenerateQueryCommandInput, type GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
|
|
9
|
+
import { type GetAgentMemoryCommandInput, type GetAgentMemoryCommandOutput } from "./commands/GetAgentMemoryCommand";
|
|
10
|
+
import { type GetExecutionFlowSnapshotCommandInput, type GetExecutionFlowSnapshotCommandOutput } from "./commands/GetExecutionFlowSnapshotCommand";
|
|
11
|
+
import { type GetFlowExecutionCommandInput, type GetFlowExecutionCommandOutput } from "./commands/GetFlowExecutionCommand";
|
|
12
|
+
import { type GetInvocationStepCommandInput, type GetInvocationStepCommandOutput } from "./commands/GetInvocationStepCommand";
|
|
13
|
+
import { type GetSessionCommandInput, type GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
14
|
+
import { type InvokeAgentCommandInput, type InvokeAgentCommandOutput } from "./commands/InvokeAgentCommand";
|
|
15
|
+
import { type InvokeFlowCommandInput, type InvokeFlowCommandOutput } from "./commands/InvokeFlowCommand";
|
|
16
|
+
import { type InvokeInlineAgentCommandInput, type InvokeInlineAgentCommandOutput } from "./commands/InvokeInlineAgentCommand";
|
|
17
|
+
import { type ListFlowExecutionEventsCommandInput, type ListFlowExecutionEventsCommandOutput } from "./commands/ListFlowExecutionEventsCommand";
|
|
18
|
+
import { type ListFlowExecutionsCommandInput, type ListFlowExecutionsCommandOutput } from "./commands/ListFlowExecutionsCommand";
|
|
19
|
+
import { type ListInvocationsCommandInput, type ListInvocationsCommandOutput } from "./commands/ListInvocationsCommand";
|
|
20
|
+
import { type ListInvocationStepsCommandInput, type ListInvocationStepsCommandOutput } from "./commands/ListInvocationStepsCommand";
|
|
21
|
+
import { type ListSessionsCommandInput, type ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
|
|
22
|
+
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
23
|
+
import { type OptimizePromptCommandInput, type OptimizePromptCommandOutput } from "./commands/OptimizePromptCommand";
|
|
24
|
+
import { type PutInvocationStepCommandInput, type PutInvocationStepCommandOutput } from "./commands/PutInvocationStepCommand";
|
|
25
|
+
import { type RerankCommandInput, type RerankCommandOutput } from "./commands/RerankCommand";
|
|
26
|
+
import { type RetrieveAndGenerateCommandInput, type RetrieveAndGenerateCommandOutput } from "./commands/RetrieveAndGenerateCommand";
|
|
27
|
+
import { type RetrieveAndGenerateStreamCommandInput, type RetrieveAndGenerateStreamCommandOutput } from "./commands/RetrieveAndGenerateStreamCommand";
|
|
28
|
+
import { type RetrieveCommandInput, type RetrieveCommandOutput } from "./commands/RetrieveCommand";
|
|
29
|
+
import { type StartFlowExecutionCommandInput, type StartFlowExecutionCommandOutput } from "./commands/StartFlowExecutionCommand";
|
|
30
|
+
import { type StopFlowExecutionCommandInput, type StopFlowExecutionCommandOutput } from "./commands/StopFlowExecutionCommand";
|
|
31
|
+
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
32
|
+
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
33
|
+
import { type UpdateSessionCommandInput, type UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
|
|
34
34
|
export interface BedrockAgentRuntime {
|
|
35
35
|
/**
|
|
36
36
|
* @see {@link CreateInvocationCommand}
|
|
@@ -6,40 +6,40 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
6
6
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
7
7
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
8
8
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
9
|
-
import {
|
|
9
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
10
10
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
11
|
-
import { CreateInvocationCommandInput, CreateInvocationCommandOutput } from "./commands/CreateInvocationCommand";
|
|
12
|
-
import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
|
|
13
|
-
import { DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput } from "./commands/DeleteAgentMemoryCommand";
|
|
14
|
-
import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
|
|
15
|
-
import { EndSessionCommandInput, EndSessionCommandOutput } from "./commands/EndSessionCommand";
|
|
16
|
-
import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
|
|
17
|
-
import { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "./commands/GetAgentMemoryCommand";
|
|
18
|
-
import { GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput } from "./commands/GetExecutionFlowSnapshotCommand";
|
|
19
|
-
import { GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput } from "./commands/GetFlowExecutionCommand";
|
|
20
|
-
import { GetInvocationStepCommandInput, GetInvocationStepCommandOutput } from "./commands/GetInvocationStepCommand";
|
|
21
|
-
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
22
|
-
import { InvokeAgentCommandInput, InvokeAgentCommandOutput } from "./commands/InvokeAgentCommand";
|
|
23
|
-
import { InvokeFlowCommandInput, InvokeFlowCommandOutput } from "./commands/InvokeFlowCommand";
|
|
24
|
-
import { InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput } from "./commands/InvokeInlineAgentCommand";
|
|
25
|
-
import { ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput } from "./commands/ListFlowExecutionEventsCommand";
|
|
26
|
-
import { ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput } from "./commands/ListFlowExecutionsCommand";
|
|
27
|
-
import { ListInvocationsCommandInput, ListInvocationsCommandOutput } from "./commands/ListInvocationsCommand";
|
|
28
|
-
import { ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput } from "./commands/ListInvocationStepsCommand";
|
|
29
|
-
import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
|
|
30
|
-
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
31
|
-
import { OptimizePromptCommandInput, OptimizePromptCommandOutput } from "./commands/OptimizePromptCommand";
|
|
32
|
-
import { PutInvocationStepCommandInput, PutInvocationStepCommandOutput } from "./commands/PutInvocationStepCommand";
|
|
33
|
-
import { RerankCommandInput, RerankCommandOutput } from "./commands/RerankCommand";
|
|
34
|
-
import { RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput } from "./commands/RetrieveAndGenerateCommand";
|
|
35
|
-
import { RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput } from "./commands/RetrieveAndGenerateStreamCommand";
|
|
36
|
-
import { RetrieveCommandInput, RetrieveCommandOutput } from "./commands/RetrieveCommand";
|
|
37
|
-
import { StartFlowExecutionCommandInput, StartFlowExecutionCommandOutput } from "./commands/StartFlowExecutionCommand";
|
|
38
|
-
import { StopFlowExecutionCommandInput, StopFlowExecutionCommandOutput } from "./commands/StopFlowExecutionCommand";
|
|
39
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
40
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
41
|
-
import { UpdateSessionCommandInput, UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
|
|
42
|
-
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
11
|
+
import type { CreateInvocationCommandInput, CreateInvocationCommandOutput } from "./commands/CreateInvocationCommand";
|
|
12
|
+
import type { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
|
|
13
|
+
import type { DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput } from "./commands/DeleteAgentMemoryCommand";
|
|
14
|
+
import type { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
|
|
15
|
+
import type { EndSessionCommandInput, EndSessionCommandOutput } from "./commands/EndSessionCommand";
|
|
16
|
+
import type { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
|
|
17
|
+
import type { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "./commands/GetAgentMemoryCommand";
|
|
18
|
+
import type { GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput } from "./commands/GetExecutionFlowSnapshotCommand";
|
|
19
|
+
import type { GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput } from "./commands/GetFlowExecutionCommand";
|
|
20
|
+
import type { GetInvocationStepCommandInput, GetInvocationStepCommandOutput } from "./commands/GetInvocationStepCommand";
|
|
21
|
+
import type { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
22
|
+
import type { InvokeAgentCommandInput, InvokeAgentCommandOutput } from "./commands/InvokeAgentCommand";
|
|
23
|
+
import type { InvokeFlowCommandInput, InvokeFlowCommandOutput } from "./commands/InvokeFlowCommand";
|
|
24
|
+
import type { InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput } from "./commands/InvokeInlineAgentCommand";
|
|
25
|
+
import type { ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput } from "./commands/ListFlowExecutionEventsCommand";
|
|
26
|
+
import type { ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput } from "./commands/ListFlowExecutionsCommand";
|
|
27
|
+
import type { ListInvocationsCommandInput, ListInvocationsCommandOutput } from "./commands/ListInvocationsCommand";
|
|
28
|
+
import type { ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput } from "./commands/ListInvocationStepsCommand";
|
|
29
|
+
import type { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
|
|
30
|
+
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
31
|
+
import type { OptimizePromptCommandInput, OptimizePromptCommandOutput } from "./commands/OptimizePromptCommand";
|
|
32
|
+
import type { PutInvocationStepCommandInput, PutInvocationStepCommandOutput } from "./commands/PutInvocationStepCommand";
|
|
33
|
+
import type { RerankCommandInput, RerankCommandOutput } from "./commands/RerankCommand";
|
|
34
|
+
import type { RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput } from "./commands/RetrieveAndGenerateCommand";
|
|
35
|
+
import type { RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput } from "./commands/RetrieveAndGenerateStreamCommand";
|
|
36
|
+
import type { RetrieveCommandInput, RetrieveCommandOutput } from "./commands/RetrieveCommand";
|
|
37
|
+
import type { StartFlowExecutionCommandInput, StartFlowExecutionCommandOutput } from "./commands/StartFlowExecutionCommand";
|
|
38
|
+
import type { StopFlowExecutionCommandInput, StopFlowExecutionCommandOutput } from "./commands/StopFlowExecutionCommand";
|
|
39
|
+
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
40
|
+
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
41
|
+
import type { UpdateSessionCommandInput, UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
|
|
42
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
43
43
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
44
44
|
export { __Client };
|
|
45
45
|
/**
|
|
@@ -148,7 +148,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
148
148
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
149
149
|
* @internal
|
|
150
150
|
*/
|
|
151
|
-
defaultUserAgentProvider?:
|
|
151
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
152
152
|
/**
|
|
153
153
|
* Default credentials provider; Not available in browser runtime.
|
|
154
154
|
* @deprecated
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
2
|
import type { BedrockAgentRuntimeHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
3
|
import { type BedrockAgentRuntimeClientResolvedConfig } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
/**
|
package/dist-types/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export * from "./BedrockAgentRuntimeClient";
|
|
7
7
|
export * from "./BedrockAgentRuntime";
|
|
8
|
-
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
8
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { BedrockAgentRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import { ActionGroupSignature, ActionInvocationType, AgentCollaboration, AttributeType, ConfirmationState, ConversationRole, CreationMode, CustomControlMethod, ExecutionType, ExternalSourceType, FileSourceType, FileUseCase, FlowCompletionReason, FlowControlNodeType, FlowErrorCode, FlowExecutionErrorType, FlowExecutionEventType, FlowExecutionStatus, FlowNodeInputCategory, FlowNodeIODataType, GeneratedQueryType, GuadrailAction, GuardrailAction, GuardrailContentFilterConfidence, GuardrailContentFilterType, GuardrailContentPolicyAction, GuardrailManagedWordType, GuardrailPiiEntityType, GuardrailSensitiveInformationPolicyAction, GuardrailTopicPolicyAction, GuardrailTopicType, GuardrailWordPolicyAction, ImageFormat, ImageInputFormat, InputImageFormat, InputQueryType, InvocationType, KnowledgeBaseQueryType, MemoryType, NodeErrorCode, NodeType, ParameterType, PayloadType, PerformanceConfigLatency, PromptState, PromptType, QueryTransformationMode, QueryTransformationType, RelayConversationHistory, RequireConfirmation, RerankDocumentType, RerankingConfigurationType, RerankingMetadataSelectionMode, RerankQueryContentType, RerankSourceType, ResponseState, RetrievalResultContentColumnType, RetrievalResultContentType, RetrievalResultLocationType, RetrieveAndGenerateType, SearchType, SessionStatus, Source, TextToSqlConfigurationType, Type, VectorSearchRerankingConfigurationType } from "./enums";
|
|
3
|
-
import { AccessDeniedException, BadGatewayException, ConflictException, DependencyFailedException, InternalServerException, ModelNotReadyException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
|
|
1
|
+
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
+
import type { ActionGroupSignature, ActionInvocationType, AgentCollaboration, AttributeType, ConfirmationState, ConversationRole, CreationMode, CustomControlMethod, ExecutionType, ExternalSourceType, FileSourceType, FileUseCase, FlowCompletionReason, FlowControlNodeType, FlowErrorCode, FlowExecutionErrorType, FlowExecutionEventType, FlowExecutionStatus, FlowNodeInputCategory, FlowNodeIODataType, GeneratedQueryType, GuadrailAction, GuardrailAction, GuardrailContentFilterConfidence, GuardrailContentFilterType, GuardrailContentPolicyAction, GuardrailManagedWordType, GuardrailPiiEntityType, GuardrailSensitiveInformationPolicyAction, GuardrailTopicPolicyAction, GuardrailTopicType, GuardrailWordPolicyAction, ImageFormat, ImageInputFormat, InputImageFormat, InputQueryType, InvocationType, KnowledgeBaseQueryType, MemoryType, NodeErrorCode, NodeType, ParameterType, PayloadType, PerformanceConfigLatency, PromptState, PromptType, QueryTransformationMode, QueryTransformationType, RelayConversationHistory, RequireConfirmation, RerankDocumentType, RerankingConfigurationType, RerankingMetadataSelectionMode, RerankQueryContentType, RerankSourceType, ResponseState, RetrievalResultContentColumnType, RetrievalResultContentType, RetrievalResultLocationType, RetrieveAndGenerateType, SearchType, SessionStatus, Source, TextToSqlConfigurationType, Type, VectorSearchRerankingConfigurationType } from "./enums";
|
|
3
|
+
import type { AccessDeniedException, BadGatewayException, ConflictException, DependencyFailedException, InternalServerException, ModelNotReadyException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
|
|
4
4
|
/**
|
|
5
5
|
* <p> Contains details about the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user. </p>
|
|
6
6
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AgentCollaboration, OrchestrationType } from "./enums";
|
|
2
|
-
import {
|
|
1
|
+
import type { AgentCollaboration, OrchestrationType } from "./enums";
|
|
2
|
+
import type { AgentActionGroup, Collaborator, CollaboratorConfiguration, CustomOrchestration, GuardrailConfigurationWithArn, InlineBedrockModelConfigurations, InlineSessionState, KnowledgeBase, PromptCreationConfigurations, PromptOverrideConfiguration, StreamingConfigurations } from "./models_0";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "../commands/GetAgentMemoryCommand";
|
|
3
|
-
import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput } from "../commands/ListFlowExecutionEventsCommand";
|
|
3
|
-
import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput } from "../commands/ListFlowExecutionsCommand";
|
|
3
|
-
import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput } from "../commands/ListInvocationStepsCommand";
|
|
3
|
-
import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListInvocationsCommandInput, ListInvocationsCommandOutput } from "../commands/ListInvocationsCommand";
|
|
3
|
-
import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListSessionsCommandInput, ListSessionsCommandOutput } from "../commands/ListSessionsCommand";
|
|
3
|
-
import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { RerankCommandInput, RerankCommandOutput } from "../commands/RerankCommand";
|
|
3
|
-
import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { RetrieveCommandInput, RetrieveCommandOutput } from "../commands/RetrieveCommand";
|
|
3
|
-
import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
19
19
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
20
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
21
21
|
cacheMiddleware?: boolean | undefined;
|
|
22
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
23
23
|
protocolSettings: {
|
|
24
24
|
defaultNamespace?: string;
|
|
25
25
|
[setting: string]: unknown;
|
|
@@ -21,7 +21,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
23
23
|
cacheMiddleware?: boolean | undefined;
|
|
24
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
25
25
|
protocolSettings: {
|
|
26
26
|
defaultNamespace?: string;
|
|
27
27
|
[setting: string]: unknown;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
cacheMiddleware?: boolean;
|
|
10
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
11
11
|
protocolSettings: {
|
|
12
12
|
defaultNamespace?: string;
|
|
13
13
|
[setting: string]: unknown;
|
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
Client as __Client,
|
|
31
31
|
} from "@smithy/smithy-client";
|
|
32
32
|
import {
|
|
33
|
+
AwsCredentialIdentityProvider,
|
|
33
34
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
35
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
35
36
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -42,8 +43,6 @@ import {
|
|
|
42
43
|
Provider as __Provider,
|
|
43
44
|
StreamCollector as __StreamCollector,
|
|
44
45
|
UrlParser as __UrlParser,
|
|
45
|
-
AwsCredentialIdentityProvider,
|
|
46
|
-
Provider,
|
|
47
46
|
UserAgent as __UserAgent,
|
|
48
47
|
} from "@smithy/types";
|
|
49
48
|
import {
|
|
@@ -263,7 +262,7 @@ export interface ClientDefaults
|
|
|
263
262
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
264
263
|
region?: string | __Provider<string>;
|
|
265
264
|
profile?: string;
|
|
266
|
-
defaultUserAgentProvider?:
|
|
265
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
267
266
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
268
267
|
maxAttempts?: number | __Provider<number>;
|
|
269
268
|
retryMode?: string | __Provider<string>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
HttpAuthScheme,
|
|
3
2
|
AwsCredentialIdentity,
|
|
4
3
|
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,
|
|
3
6
|
CustomOrchestration,
|
|
4
7
|
GuardrailConfigurationWithArn,
|
|
5
8
|
InlineBedrockModelConfigurations,
|
|
6
9
|
InlineSessionState,
|
|
10
|
+
KnowledgeBase,
|
|
7
11
|
PromptCreationConfigurations,
|
|
8
12
|
PromptOverrideConfiguration,
|
|
9
13
|
StreamingConfigurations,
|
|
10
|
-
AgentActionGroup,
|
|
11
|
-
Collaborator,
|
|
12
|
-
CollaboratorConfiguration,
|
|
13
|
-
KnowledgeBase,
|
|
14
14
|
} from "./models_0";
|
|
15
15
|
export interface InvokeInlineAgentRequest {
|
|
16
16
|
customerEncryptionKeyArn?: string | undefined;
|
|
@@ -33,7 +33,7 @@ export declare const getRuntimeConfig: (
|
|
|
33
33
|
protocol:
|
|
34
34
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
35
35
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
36
|
-
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
36
|
+
| typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
37
37
|
protocolSettings: {
|
|
38
38
|
defaultNamespace?: string;
|
|
39
39
|
[setting: string]: unknown;
|
|
@@ -33,7 +33,7 @@ export declare const getRuntimeConfig: (
|
|
|
33
33
|
protocol:
|
|
34
34
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
35
35
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
36
|
-
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
36
|
+
| typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
37
37
|
protocolSettings: {
|
|
38
38
|
defaultNamespace?: string;
|
|
39
39
|
[setting: string]: unknown;
|
|
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (
|
|
|
14
14
|
protocol:
|
|
15
15
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
16
16
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
17
|
-
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
17
|
+
| typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
18
18
|
protocolSettings: {
|
|
19
19
|
defaultNamespace?: string;
|
|
20
20
|
[setting: string]: unknown;
|
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.1020.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent-runtime",
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.26",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.28",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.9",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.27",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.10",
|
|
31
31
|
"@aws-sdk/types": "^3.973.6",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.13",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.13",
|
|
36
|
-
"@smithy/core": "^3.23.
|
|
36
|
+
"@smithy/core": "^3.23.13",
|
|
37
37
|
"@smithy/eventstream-serde-browser": "^4.2.12",
|
|
38
38
|
"@smithy/eventstream-serde-config-resolver": "^4.3.12",
|
|
39
39
|
"@smithy/eventstream-serde-node": "^4.2.12",
|
|
@@ -41,21 +41,21 @@
|
|
|
41
41
|
"@smithy/hash-node": "^4.2.12",
|
|
42
42
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
43
43
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
44
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
45
|
-
"@smithy/middleware-retry": "^4.4.
|
|
46
|
-
"@smithy/middleware-serde": "^4.2.
|
|
44
|
+
"@smithy/middleware-endpoint": "^4.4.28",
|
|
45
|
+
"@smithy/middleware-retry": "^4.4.45",
|
|
46
|
+
"@smithy/middleware-serde": "^4.2.16",
|
|
47
47
|
"@smithy/middleware-stack": "^4.2.12",
|
|
48
48
|
"@smithy/node-config-provider": "^4.3.12",
|
|
49
|
-
"@smithy/node-http-handler": "^4.5.
|
|
49
|
+
"@smithy/node-http-handler": "^4.5.1",
|
|
50
50
|
"@smithy/protocol-http": "^5.3.12",
|
|
51
|
-
"@smithy/smithy-client": "^4.12.
|
|
51
|
+
"@smithy/smithy-client": "^4.12.8",
|
|
52
52
|
"@smithy/types": "^4.13.1",
|
|
53
53
|
"@smithy/url-parser": "^4.2.12",
|
|
54
54
|
"@smithy/util-base64": "^4.3.2",
|
|
55
55
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
56
56
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
57
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
58
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
57
|
+
"@smithy/util-defaults-mode-browser": "^4.3.44",
|
|
58
|
+
"@smithy/util-defaults-mode-node": "^4.2.48",
|
|
59
59
|
"@smithy/util-endpoints": "^3.3.3",
|
|
60
60
|
"@smithy/util-middleware": "^4.2.12",
|
|
61
61
|
"@smithy/util-retry": "^4.2.12",
|