@aws-sdk/client-bedrock-agent 3.649.0 → 3.651.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +61 -183
- package/dist-es/commands/AssociateAgentKnowledgeBaseCommand.js +1 -3
- package/dist-es/commands/CreateAgentActionGroupCommand.js +1 -3
- package/dist-es/commands/CreateAgentAliasCommand.js +1 -3
- package/dist-es/commands/CreateAgentCommand.js +1 -3
- package/dist-es/commands/CreateDataSourceCommand.js +1 -3
- package/dist-es/commands/CreateFlowAliasCommand.js +1 -3
- package/dist-es/commands/CreateFlowCommand.js +1 -3
- package/dist-es/commands/CreateFlowVersionCommand.js +1 -3
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +1 -3
- package/dist-es/commands/CreatePromptCommand.js +1 -3
- package/dist-es/commands/CreatePromptVersionCommand.js +1 -3
- package/dist-es/commands/DeleteAgentActionGroupCommand.js +1 -3
- package/dist-es/commands/DeleteAgentAliasCommand.js +1 -3
- package/dist-es/commands/DeleteAgentCommand.js +1 -3
- package/dist-es/commands/DeleteAgentVersionCommand.js +1 -3
- package/dist-es/commands/DeleteDataSourceCommand.js +1 -3
- package/dist-es/commands/DeleteFlowAliasCommand.js +1 -3
- package/dist-es/commands/DeleteFlowCommand.js +1 -3
- package/dist-es/commands/DeleteFlowVersionCommand.js +1 -3
- package/dist-es/commands/DeleteKnowledgeBaseCommand.js +1 -3
- package/dist-es/commands/DeletePromptCommand.js +1 -3
- package/dist-es/commands/DisassociateAgentKnowledgeBaseCommand.js +1 -3
- package/dist-es/commands/GetAgentActionGroupCommand.js +1 -3
- package/dist-es/commands/GetAgentAliasCommand.js +1 -3
- package/dist-es/commands/GetAgentCommand.js +1 -3
- package/dist-es/commands/GetAgentKnowledgeBaseCommand.js +1 -3
- package/dist-es/commands/GetAgentVersionCommand.js +1 -3
- package/dist-es/commands/GetDataSourceCommand.js +1 -3
- package/dist-es/commands/GetFlowAliasCommand.js +1 -3
- package/dist-es/commands/GetFlowCommand.js +1 -3
- package/dist-es/commands/GetFlowVersionCommand.js +1 -3
- package/dist-es/commands/GetIngestionJobCommand.js +1 -3
- package/dist-es/commands/GetKnowledgeBaseCommand.js +1 -3
- package/dist-es/commands/GetPromptCommand.js +1 -3
- package/dist-es/commands/ListAgentActionGroupsCommand.js +1 -3
- package/dist-es/commands/ListAgentAliasesCommand.js +1 -3
- package/dist-es/commands/ListAgentKnowledgeBasesCommand.js +1 -3
- package/dist-es/commands/ListAgentVersionsCommand.js +1 -3
- package/dist-es/commands/ListAgentsCommand.js +1 -3
- package/dist-es/commands/ListDataSourcesCommand.js +1 -3
- package/dist-es/commands/ListFlowAliasesCommand.js +1 -3
- package/dist-es/commands/ListFlowVersionsCommand.js +1 -3
- package/dist-es/commands/ListFlowsCommand.js +1 -3
- package/dist-es/commands/ListIngestionJobsCommand.js +1 -3
- package/dist-es/commands/ListKnowledgeBasesCommand.js +1 -3
- package/dist-es/commands/ListPromptsCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/PrepareAgentCommand.js +1 -3
- package/dist-es/commands/PrepareFlowCommand.js +1 -3
- package/dist-es/commands/StartIngestionJobCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateAgentActionGroupCommand.js +1 -3
- package/dist-es/commands/UpdateAgentAliasCommand.js +1 -3
- package/dist-es/commands/UpdateAgentCommand.js +1 -3
- package/dist-es/commands/UpdateAgentKnowledgeBaseCommand.js +1 -3
- package/dist-es/commands/UpdateDataSourceCommand.js +1 -3
- package/dist-es/commands/UpdateFlowAliasCommand.js +1 -3
- package/dist-es/commands/UpdateFlowCommand.js +1 -3
- package/dist-es/commands/UpdateKnowledgeBaseCommand.js +1 -3
- package/dist-es/commands/UpdatePromptCommand.js +1 -3
- package/dist-types/models/models_0.d.ts +3 -3
- package/package.json +5 -5
|
@@ -7,9 +7,7 @@ import { de_UpdateAgentCommand, se_UpdateAgentCommand } from "../protocols/Aws_r
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class UpdateAgentCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_UpdateAgentKnowledgeBaseCommand, se_UpdateAgentKnowledgeBaseCommand
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UpdateAgentKnowledgeBaseCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_UpdateDataSourceCommand, se_UpdateDataSourceCommand } from "../proto
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class UpdateDataSourceCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_UpdateFlowAliasCommand, se_UpdateFlowAliasCommand } from "../protoco
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UpdateFlowAliasCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_UpdateFlowCommand, se_UpdateFlowCommand } from "../protocols/Aws_res
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class UpdateFlowCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_UpdateKnowledgeBaseCommand, se_UpdateKnowledgeBaseCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UpdateKnowledgeBaseCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_UpdatePromptCommand, se_UpdatePromptCommand } from "../protocols/Aws
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class UpdatePromptCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -2788,12 +2788,12 @@ export interface ParsingPrompt {
|
|
|
2788
2788
|
parsingPromptText: string | undefined;
|
|
2789
2789
|
}
|
|
2790
2790
|
/**
|
|
2791
|
-
* <p>Settings for a foundation model used to parse documents for a data source.</p>
|
|
2791
|
+
* <p>Settings for a foundation model or <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference profile</a> used to parse documents for a data source.</p>
|
|
2792
2792
|
* @public
|
|
2793
2793
|
*/
|
|
2794
2794
|
export interface BedrockFoundationModelConfiguration {
|
|
2795
2795
|
/**
|
|
2796
|
-
* <p>The model
|
|
2796
|
+
* <p>The ARN of the foundation model or <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference profile</a>.</p>
|
|
2797
2797
|
* @public
|
|
2798
2798
|
*/
|
|
2799
2799
|
modelArn: string | undefined;
|
|
@@ -2820,7 +2820,7 @@ export type ParsingStrategy = (typeof ParsingStrategy)[keyof typeof ParsingStrat
|
|
|
2820
2820
|
* you can configure the data source to convert the pages of text into images and use a model to describe the
|
|
2821
2821
|
* contents of each page.</p>
|
|
2822
2822
|
* <p>To use a model to parse PDF documents, set the parsing strategy to <code>BEDROCK_FOUNDATION_MODEL</code> and
|
|
2823
|
-
*
|
|
2823
|
+
* specify the model or <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference profile</a> to use by ARN. You can also override the default parsing prompt with instructions for how
|
|
2824
2824
|
* to interpret images and tables in your documents. The following models are supported.</p>
|
|
2825
2825
|
* <ul>
|
|
2826
2826
|
* <li>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.651.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.651.1",
|
|
24
|
+
"@aws-sdk/client-sts": "3.651.1",
|
|
25
|
+
"@aws-sdk/core": "3.651.1",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.651.1",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.649.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|