@aws-sdk/client-bedrock-agent-runtime 3.803.0 → 3.806.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/runtimeConfig.js +6 -6
- package/dist-es/runtimeConfig.js +6 -6
- package/dist-types/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAgentMemoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/commands/GenerateQueryCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentMemoryCommand.d.ts +1 -1
- package/dist-types/commands/GetInvocationStepCommand.d.ts +1 -1
- package/dist-types/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/commands/InvokeAgentCommand.d.ts +1 -1
- package/dist-types/commands/InvokeFlowCommand.d.ts +1 -1
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +1 -1
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvocationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSessionsCommand.d.ts +0 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/OptimizePromptCommand.d.ts +1 -1
- package/dist-types/commands/PutInvocationStepCommand.d.ts +1 -1
- package/dist-types/commands/RerankCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSessionCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -3
- package/dist-types/runtimeConfig.browser.d.ts +17 -17
- package/dist-types/runtimeConfig.d.ts +16 -16
- package/dist-types/runtimeConfig.native.d.ts +18 -18
- package/dist-types/runtimeConfig.shared.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAgentMemoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GenerateQueryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAgentMemoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InvokeFlowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/OptimizePromptCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RerankCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +22 -32
- package/dist-types/ts3.4/runtimeConfig.d.ts +20 -29
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +23 -33
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/package.json +22 -22
|
@@ -24,13 +24,13 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
25
25
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
26
26
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
27
|
-
const
|
|
27
|
+
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
|
|
28
28
|
return {
|
|
29
29
|
...clientSharedValues,
|
|
30
30
|
...config,
|
|
31
31
|
runtime: "node",
|
|
32
32
|
defaultsMode,
|
|
33
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
33
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
34
34
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
35
35
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
36
36
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -38,7 +38,7 @@ const getRuntimeConfig = (config) => {
|
|
|
38
38
|
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_node_1.eventStreamSerdeProvider,
|
|
39
39
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
40
|
region: config?.region ??
|
|
41
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...
|
|
41
|
+
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
42
42
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
43
43
|
retryMode: config?.retryMode ??
|
|
44
44
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -47,9 +47,9 @@ const getRuntimeConfig = (config) => {
|
|
|
47
47
|
}, config),
|
|
48
48
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
49
49
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
50
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
|
51
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
|
52
|
-
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS,
|
|
50
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
51
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
52
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -20,13 +20,13 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
21
21
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
22
22
|
awsCheckVersion(process.version);
|
|
23
|
-
const
|
|
23
|
+
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
|
|
24
24
|
return {
|
|
25
25
|
...clientSharedValues,
|
|
26
26
|
...config,
|
|
27
27
|
runtime: "node",
|
|
28
28
|
defaultsMode,
|
|
29
|
-
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
29
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
30
30
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
32
32
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -34,7 +34,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
34
34
|
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
|
|
35
35
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
36
|
region: config?.region ??
|
|
37
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...
|
|
37
|
+
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
38
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
39
|
retryMode: config?.retryMode ??
|
|
40
40
|
loadNodeConfig({
|
|
@@ -43,8 +43,8 @@ export const getRuntimeConfig = (config) => {
|
|
|
43
43
|
}, config),
|
|
44
44
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
45
45
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
46
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
|
47
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
|
48
|
-
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS,
|
|
46
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
47
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
48
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
49
49
|
};
|
|
50
50
|
};
|
|
@@ -23,7 +23,7 @@ export interface CreateInvocationCommandOutput extends CreateInvocationResponse,
|
|
|
23
23
|
}
|
|
24
24
|
declare const CreateInvocationCommand_base: {
|
|
25
25
|
new (input: CreateInvocationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateInvocationCommandInput, CreateInvocationCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: CreateInvocationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateInvocationCommandInput, CreateInvocationCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface DeleteAgentMemoryCommandOutput extends DeleteAgentMemoryRespons
|
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteAgentMemoryCommand_base: {
|
|
25
25
|
new (input: DeleteAgentMemoryCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: DeleteAgentMemoryCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteSessionCommand_base: {
|
|
25
25
|
new (input: DeleteSessionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: DeleteSessionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface EndSessionCommandOutput extends EndSessionResponse, __MetadataB
|
|
|
23
23
|
}
|
|
24
24
|
declare const EndSessionCommand_base: {
|
|
25
25
|
new (input: EndSessionCommandInput): import("@smithy/smithy-client").CommandImpl<EndSessionCommandInput, EndSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: EndSessionCommandInput): import("@smithy/smithy-client").CommandImpl<EndSessionCommandInput, EndSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface GenerateQueryCommandOutput extends GenerateQueryResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
declare const GenerateQueryCommand_base: {
|
|
25
25
|
new (input: GenerateQueryCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateQueryCommandInput, GenerateQueryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GenerateQueryCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateQueryCommandInput, GenerateQueryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface GetAgentMemoryCommandOutput extends GetAgentMemoryResponse, __M
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetAgentMemoryCommand_base: {
|
|
25
25
|
new (input: GetAgentMemoryCommandInput): import("@smithy/smithy-client").CommandImpl<GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetAgentMemoryCommandInput): import("@smithy/smithy-client").CommandImpl<GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface GetInvocationStepCommandOutput extends GetInvocationStepRespons
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetInvocationStepCommand_base: {
|
|
25
25
|
new (input: GetInvocationStepCommandInput): import("@smithy/smithy-client").CommandImpl<GetInvocationStepCommandInput, GetInvocationStepCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetInvocationStepCommandInput): import("@smithy/smithy-client").CommandImpl<GetInvocationStepCommandInput, GetInvocationStepCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetSessionCommand_base: {
|
|
25
25
|
new (input: GetSessionCommandInput): import("@smithy/smithy-client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetSessionCommandInput): import("@smithy/smithy-client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -24,7 +24,7 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
|
|
|
24
24
|
}
|
|
25
25
|
declare const InvokeAgentCommand_base: {
|
|
26
26
|
new (input: InvokeAgentCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeAgentCommandInput, InvokeAgentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
new (
|
|
27
|
+
new (input: InvokeAgentCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeAgentCommandInput, InvokeAgentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
28
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
@@ -23,7 +23,7 @@ export interface InvokeFlowCommandOutput extends InvokeFlowResponse, __MetadataB
|
|
|
23
23
|
}
|
|
24
24
|
declare const InvokeFlowCommand_base: {
|
|
25
25
|
new (input: InvokeFlowCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeFlowCommandInput, InvokeFlowCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: InvokeFlowCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeFlowCommandInput, InvokeFlowCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -24,7 +24,7 @@ export interface InvokeInlineAgentCommandOutput extends InvokeInlineAgentRespons
|
|
|
24
24
|
}
|
|
25
25
|
declare const InvokeInlineAgentCommand_base: {
|
|
26
26
|
new (input: InvokeInlineAgentCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
new (
|
|
27
|
+
new (input: InvokeInlineAgentCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
28
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
@@ -23,7 +23,7 @@ export interface ListInvocationStepsCommandOutput extends ListInvocationStepsRes
|
|
|
23
23
|
}
|
|
24
24
|
declare const ListInvocationStepsCommand_base: {
|
|
25
25
|
new (input: ListInvocationStepsCommandInput): import("@smithy/smithy-client").CommandImpl<ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: ListInvocationStepsCommandInput): import("@smithy/smithy-client").CommandImpl<ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface ListInvocationsCommandOutput extends ListInvocationsResponse, _
|
|
|
23
23
|
}
|
|
24
24
|
declare const ListInvocationsCommand_base: {
|
|
25
25
|
new (input: ListInvocationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListInvocationsCommandInput, ListInvocationsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: ListInvocationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListInvocationsCommandInput, ListInvocationsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -25,7 +25,6 @@ export interface ListSessionsCommandOutput extends ListSessionsResponse, __Metad
|
|
|
25
25
|
declare const ListSessionsCommand_base: {
|
|
26
26
|
new (input: ListSessionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSessionsCommandInput, ListSessionsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
new (...[input]: [] | [ListSessionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListSessionsCommandInput, ListSessionsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
|
-
/** @internal type navigation helper, not in runtime. */
|
|
29
28
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
30
29
|
};
|
|
31
30
|
/**
|
|
@@ -23,7 +23,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
23
23
|
}
|
|
24
24
|
declare const ListTagsForResourceCommand_base: {
|
|
25
25
|
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface OptimizePromptCommandOutput extends OptimizePromptResponse, __M
|
|
|
23
23
|
}
|
|
24
24
|
declare const OptimizePromptCommand_base: {
|
|
25
25
|
new (input: OptimizePromptCommandInput): import("@smithy/smithy-client").CommandImpl<OptimizePromptCommandInput, OptimizePromptCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: OptimizePromptCommandInput): import("@smithy/smithy-client").CommandImpl<OptimizePromptCommandInput, OptimizePromptCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface PutInvocationStepCommandOutput extends PutInvocationStepRespons
|
|
|
23
23
|
}
|
|
24
24
|
declare const PutInvocationStepCommand_base: {
|
|
25
25
|
new (input: PutInvocationStepCommandInput): import("@smithy/smithy-client").CommandImpl<PutInvocationStepCommandInput, PutInvocationStepCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: PutInvocationStepCommandInput): import("@smithy/smithy-client").CommandImpl<PutInvocationStepCommandInput, PutInvocationStepCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface RerankCommandOutput extends RerankResponse, __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
declare const RerankCommand_base: {
|
|
25
25
|
new (input: RerankCommandInput): import("@smithy/smithy-client").CommandImpl<RerankCommandInput, RerankCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: RerankCommandInput): import("@smithy/smithy-client").CommandImpl<RerankCommandInput, RerankCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -24,7 +24,7 @@ export interface RetrieveAndGenerateCommandOutput extends RetrieveAndGenerateRes
|
|
|
24
24
|
}
|
|
25
25
|
declare const RetrieveAndGenerateCommand_base: {
|
|
26
26
|
new (input: RetrieveAndGenerateCommandInput): import("@smithy/smithy-client").CommandImpl<RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
new (
|
|
27
|
+
new (input: RetrieveAndGenerateCommandInput): import("@smithy/smithy-client").CommandImpl<RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
28
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
@@ -24,7 +24,7 @@ export interface RetrieveAndGenerateStreamCommandOutput extends RetrieveAndGener
|
|
|
24
24
|
}
|
|
25
25
|
declare const RetrieveAndGenerateStreamCommand_base: {
|
|
26
26
|
new (input: RetrieveAndGenerateStreamCommandInput): import("@smithy/smithy-client").CommandImpl<RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
new (
|
|
27
|
+
new (input: RetrieveAndGenerateStreamCommandInput): import("@smithy/smithy-client").CommandImpl<RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
28
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
@@ -24,7 +24,7 @@ export interface RetrieveCommandOutput extends RetrieveResponse, __MetadataBeare
|
|
|
24
24
|
}
|
|
25
25
|
declare const RetrieveCommand_base: {
|
|
26
26
|
new (input: RetrieveCommandInput): import("@smithy/smithy-client").CommandImpl<RetrieveCommandInput, RetrieveCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
new (
|
|
27
|
+
new (input: RetrieveCommandInput): import("@smithy/smithy-client").CommandImpl<RetrieveCommandInput, RetrieveCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
28
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
@@ -23,7 +23,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
23
23
|
}
|
|
24
24
|
declare const TagResourceCommand_base: {
|
|
25
25
|
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
declare const UntagResourceCommand_base: {
|
|
25
25
|
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface UpdateSessionCommandOutput extends UpdateSessionResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateSessionCommand_base: {
|
|
25
25
|
new (input: UpdateSessionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSessionCommandInput, UpdateSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: UpdateSessionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSessionCommandInput, UpdateSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -11,9 +11,7 @@ export interface ClientInputEndpointParameters {
|
|
|
11
11
|
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
|
-
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T &
|
|
15
|
-
defaultSigningName: string;
|
|
16
|
-
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
17
15
|
export declare const commonParams: {
|
|
18
16
|
readonly UseFIPS: {
|
|
19
17
|
readonly type: "builtInParams";
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
14
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -22,30 +22,30 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
22
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
24
|
base64Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
base64Encoder: (_input:
|
|
25
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
26
26
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
|
-
utf8Encoder: (input:
|
|
27
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
28
28
|
disableHostPrefix: boolean;
|
|
29
29
|
serviceId: string;
|
|
30
|
-
profile?: string
|
|
30
|
+
profile?: string;
|
|
31
31
|
logger: import("@smithy/types").Logger;
|
|
32
32
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
33
|
-
customUserAgent?: string | import("@smithy/types").UserAgent
|
|
34
|
-
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2
|
|
33
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
36
36
|
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;
|
|
37
37
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
38
|
-
logger?: import("@smithy/types").Logger
|
|
38
|
+
logger?: import("@smithy/types").Logger;
|
|
39
39
|
}) => import("@smithy/types").EndpointV2;
|
|
40
|
-
tls?: boolean
|
|
41
|
-
serviceConfiguredEndpoint?:
|
|
42
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]
|
|
40
|
+
tls?: boolean;
|
|
41
|
+
serviceConfiguredEndpoint?: never;
|
|
42
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
43
43
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
44
44
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
|
|
45
|
-
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider
|
|
46
|
-
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme
|
|
47
|
-
signingEscapePath?: boolean
|
|
48
|
-
systemClockOffset?: number
|
|
49
|
-
signingRegion?: string
|
|
50
|
-
signerConstructor?:
|
|
45
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
46
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
47
|
+
signingEscapePath?: boolean;
|
|
48
|
+
systemClockOffset?: number;
|
|
49
|
+
signingRegion?: string;
|
|
50
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
51
51
|
};
|
|
@@ -8,8 +8,8 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
12
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
11
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
14
14
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
15
15
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -24,28 +24,28 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
24
24
|
cacheMiddleware?: boolean | undefined;
|
|
25
25
|
urlParser: import("@smithy/types").UrlParser;
|
|
26
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
27
|
-
base64Encoder: (_input:
|
|
27
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
28
28
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
29
|
-
utf8Encoder: (input:
|
|
29
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
30
30
|
disableHostPrefix: boolean;
|
|
31
31
|
serviceId: string;
|
|
32
|
-
profile?: string
|
|
32
|
+
profile?: string;
|
|
33
33
|
logger: import("@smithy/types").Logger;
|
|
34
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
35
|
-
customUserAgent?: string | import("@smithy/types").UserAgent
|
|
36
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2
|
|
35
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
37
|
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;
|
|
38
38
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
39
|
-
logger?: import("@smithy/types").Logger
|
|
39
|
+
logger?: import("@smithy/types").Logger;
|
|
40
40
|
}) => import("@smithy/types").EndpointV2;
|
|
41
|
-
tls?: boolean
|
|
42
|
-
serviceConfiguredEndpoint?:
|
|
41
|
+
tls?: boolean;
|
|
42
|
+
serviceConfiguredEndpoint?: never;
|
|
43
43
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
44
44
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
|
|
45
|
-
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider
|
|
46
|
-
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme
|
|
47
|
-
signingEscapePath?: boolean
|
|
48
|
-
systemClockOffset?: number
|
|
49
|
-
signingRegion?: string
|
|
50
|
-
signerConstructor?:
|
|
45
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
46
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
47
|
+
signingEscapePath?: boolean;
|
|
48
|
+
systemClockOffset?: number;
|
|
49
|
+
signingRegion?: string;
|
|
50
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
51
51
|
};
|
|
@@ -7,21 +7,21 @@ 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
|
apiVersion: string;
|
|
10
|
-
cacheMiddleware?: boolean
|
|
10
|
+
cacheMiddleware?: boolean;
|
|
11
11
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
14
14
|
base64Decoder: import("@smithy/types").Decoder;
|
|
15
|
-
base64Encoder: (_input:
|
|
15
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
16
16
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
-
utf8Encoder: (input:
|
|
17
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
18
18
|
disableHostPrefix: boolean;
|
|
19
19
|
serviceId: string;
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
-
profile?: string
|
|
24
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
23
|
+
profile?: string;
|
|
24
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
25
25
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -29,22 +29,22 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
30
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
31
31
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
|
-
customUserAgent?: string | import("@smithy/types").UserAgent
|
|
33
|
-
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined
|
|
34
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2
|
|
32
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
35
35
|
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;
|
|
36
36
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
37
|
-
logger?: import("@smithy/types").Logger
|
|
37
|
+
logger?: import("@smithy/types").Logger;
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
|
-
tls?: boolean
|
|
40
|
-
serviceConfiguredEndpoint?:
|
|
41
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]
|
|
39
|
+
tls?: boolean;
|
|
40
|
+
serviceConfiguredEndpoint?: never;
|
|
41
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
42
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
43
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
|
|
44
|
-
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider
|
|
45
|
-
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme
|
|
46
|
-
signingEscapePath?: boolean
|
|
47
|
-
systemClockOffset?: number
|
|
48
|
-
signingRegion?: string
|
|
49
|
-
signerConstructor?:
|
|
44
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
45
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
46
|
+
signingEscapePath?: boolean;
|
|
47
|
+
systemClockOffset?: number;
|
|
48
|
+
signingRegion?: string;
|
|
49
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
50
50
|
};
|
|
@@ -5,10 +5,10 @@ import { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
-
base64Encoder: (_input:
|
|
8
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
|
-
logger?: import("@smithy/types").Logger
|
|
11
|
+
logger?: import("@smithy/types").Logger;
|
|
12
12
|
}) => import("@smithy/types").EndpointV2;
|
|
13
13
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
|
|
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
17
17
|
serviceId: string;
|
|
18
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
utf8Encoder: (input:
|
|
20
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
21
21
|
};
|
|
@@ -26,7 +26,7 @@ declare const CreateInvocationCommand_base: {
|
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
28
|
new (
|
|
29
|
-
|
|
29
|
+
input: CreateInvocationCommandInput
|
|
30
30
|
): import("@smithy/smithy-client").CommandImpl<
|
|
31
31
|
CreateInvocationCommandInput,
|
|
32
32
|
CreateInvocationCommandOutput,
|
|
@@ -27,7 +27,7 @@ declare const DeleteAgentMemoryCommand_base: {
|
|
|
27
27
|
ServiceOutputTypes
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
|
-
|
|
30
|
+
input: DeleteAgentMemoryCommandInput
|
|
31
31
|
): import("@smithy/smithy-client").CommandImpl<
|
|
32
32
|
DeleteAgentMemoryCommandInput,
|
|
33
33
|
DeleteAgentMemoryCommandOutput,
|
|
@@ -26,7 +26,7 @@ declare const DeleteSessionCommand_base: {
|
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
28
|
new (
|
|
29
|
-
|
|
29
|
+
input: DeleteSessionCommandInput
|
|
30
30
|
): import("@smithy/smithy-client").CommandImpl<
|
|
31
31
|
DeleteSessionCommandInput,
|
|
32
32
|
DeleteSessionCommandOutput,
|