@aws-sdk/client-bedrock-agent 3.1077.0 → 3.1078.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +83 -753
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateAgentCollaboratorCommand.js +2 -14
- package/dist-es/commands/AssociateAgentKnowledgeBaseCommand.js +2 -14
- package/dist-es/commands/CreateAgentActionGroupCommand.js +2 -14
- package/dist-es/commands/CreateAgentAliasCommand.js +2 -14
- package/dist-es/commands/CreateAgentCommand.js +2 -14
- package/dist-es/commands/CreateDataSourceCommand.js +2 -14
- package/dist-es/commands/CreateFlowAliasCommand.js +2 -14
- package/dist-es/commands/CreateFlowCommand.js +2 -14
- package/dist-es/commands/CreateFlowVersionCommand.js +2 -14
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +2 -14
- package/dist-es/commands/CreatePromptCommand.js +2 -14
- package/dist-es/commands/CreatePromptVersionCommand.js +2 -14
- package/dist-es/commands/DeleteAgentActionGroupCommand.js +2 -14
- package/dist-es/commands/DeleteAgentAliasCommand.js +2 -14
- package/dist-es/commands/DeleteAgentCommand.js +2 -14
- package/dist-es/commands/DeleteAgentVersionCommand.js +2 -14
- package/dist-es/commands/DeleteDataSourceCommand.js +2 -14
- package/dist-es/commands/DeleteFlowAliasCommand.js +2 -14
- package/dist-es/commands/DeleteFlowCommand.js +2 -14
- package/dist-es/commands/DeleteFlowVersionCommand.js +2 -14
- package/dist-es/commands/DeleteKnowledgeBaseCommand.js +2 -14
- package/dist-es/commands/DeleteKnowledgeBaseDocumentsCommand.js +2 -14
- package/dist-es/commands/DeletePromptCommand.js +2 -14
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
- package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +2 -14
- package/dist-es/commands/DisassociateAgentKnowledgeBaseCommand.js +2 -14
- package/dist-es/commands/GetAgentActionGroupCommand.js +2 -14
- package/dist-es/commands/GetAgentAliasCommand.js +2 -14
- package/dist-es/commands/GetAgentCollaboratorCommand.js +2 -14
- package/dist-es/commands/GetAgentCommand.js +2 -14
- package/dist-es/commands/GetAgentKnowledgeBaseCommand.js +2 -14
- package/dist-es/commands/GetAgentVersionCommand.js +2 -14
- package/dist-es/commands/GetDataSourceCommand.js +2 -14
- package/dist-es/commands/GetFlowAliasCommand.js +2 -14
- package/dist-es/commands/GetFlowCommand.js +2 -14
- package/dist-es/commands/GetFlowVersionCommand.js +2 -14
- package/dist-es/commands/GetIngestionJobCommand.js +2 -14
- package/dist-es/commands/GetKnowledgeBaseCommand.js +2 -14
- package/dist-es/commands/GetKnowledgeBaseDocumentsCommand.js +2 -14
- package/dist-es/commands/GetPromptCommand.js +2 -14
- package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
- package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +2 -14
- package/dist-es/commands/ListAgentActionGroupsCommand.js +2 -14
- package/dist-es/commands/ListAgentAliasesCommand.js +2 -14
- package/dist-es/commands/ListAgentCollaboratorsCommand.js +2 -14
- package/dist-es/commands/ListAgentKnowledgeBasesCommand.js +2 -14
- package/dist-es/commands/ListAgentVersionsCommand.js +2 -14
- package/dist-es/commands/ListAgentsCommand.js +2 -14
- package/dist-es/commands/ListDataSourcesCommand.js +2 -14
- package/dist-es/commands/ListFlowAliasesCommand.js +2 -14
- package/dist-es/commands/ListFlowVersionsCommand.js +2 -14
- package/dist-es/commands/ListFlowsCommand.js +2 -14
- package/dist-es/commands/ListIngestionJobsCommand.js +2 -14
- package/dist-es/commands/ListKnowledgeBaseDocumentsCommand.js +2 -14
- package/dist-es/commands/ListKnowledgeBasesCommand.js +2 -14
- package/dist-es/commands/ListPromptsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/PrepareAgentCommand.js +2 -14
- package/dist-es/commands/PrepareFlowCommand.js +2 -14
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
- package/dist-es/commands/StartIngestionJobCommand.js +2 -14
- package/dist-es/commands/StopIngestionJobCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateAgentActionGroupCommand.js +2 -14
- package/dist-es/commands/UpdateAgentAliasCommand.js +2 -14
- package/dist-es/commands/UpdateAgentCollaboratorCommand.js +2 -14
- package/dist-es/commands/UpdateAgentCommand.js +2 -14
- package/dist-es/commands/UpdateAgentKnowledgeBaseCommand.js +2 -14
- package/dist-es/commands/UpdateDataSourceCommand.js +2 -14
- package/dist-es/commands/UpdateFlowAliasCommand.js +2 -14
- package/dist-es/commands/UpdateFlowCommand.js +2 -14
- package/dist-es/commands/UpdateKnowledgeBaseCommand.js +2 -14
- package/dist-es/commands/UpdatePromptCommand.js +2 -14
- package/dist-es/commands/ValidateFlowDefinitionCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +3 -8
- package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +3 -8
- package/dist-types/commands/CreateAgentActionGroupCommand.d.ts +3 -8
- package/dist-types/commands/CreateAgentAliasCommand.d.ts +3 -8
- package/dist-types/commands/CreateAgentCommand.d.ts +3 -8
- package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -8
- package/dist-types/commands/CreateFlowAliasCommand.d.ts +3 -8
- package/dist-types/commands/CreateFlowCommand.d.ts +3 -8
- package/dist-types/commands/CreateFlowVersionCommand.d.ts +3 -8
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +3 -8
- package/dist-types/commands/CreatePromptCommand.d.ts +3 -8
- package/dist-types/commands/CreatePromptVersionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAgentActionGroupCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAgentAliasCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAgentCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAgentVersionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +3 -8
- package/dist-types/commands/DeleteFlowAliasCommand.d.ts +3 -8
- package/dist-types/commands/DeleteFlowCommand.d.ts +3 -8
- package/dist-types/commands/DeleteFlowVersionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +3 -8
- package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +3 -8
- package/dist-types/commands/DeletePromptCommand.d.ts +3 -8
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +3 -8
- package/dist-types/commands/GetAgentActionGroupCommand.d.ts +3 -8
- package/dist-types/commands/GetAgentAliasCommand.d.ts +3 -8
- package/dist-types/commands/GetAgentCollaboratorCommand.d.ts +3 -8
- package/dist-types/commands/GetAgentCommand.d.ts +3 -8
- package/dist-types/commands/GetAgentKnowledgeBaseCommand.d.ts +3 -8
- package/dist-types/commands/GetAgentVersionCommand.d.ts +3 -8
- package/dist-types/commands/GetDataSourceCommand.d.ts +3 -8
- package/dist-types/commands/GetFlowAliasCommand.d.ts +3 -8
- package/dist-types/commands/GetFlowCommand.d.ts +3 -8
- package/dist-types/commands/GetFlowVersionCommand.d.ts +3 -8
- package/dist-types/commands/GetIngestionJobCommand.d.ts +3 -8
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +3 -8
- package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +3 -8
- package/dist-types/commands/GetPromptCommand.d.ts +3 -8
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +3 -8
- package/dist-types/commands/ListAgentActionGroupsCommand.d.ts +3 -8
- package/dist-types/commands/ListAgentAliasesCommand.d.ts +3 -8
- package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +3 -8
- package/dist-types/commands/ListAgentKnowledgeBasesCommand.d.ts +3 -8
- package/dist-types/commands/ListAgentVersionsCommand.d.ts +3 -8
- package/dist-types/commands/ListAgentsCommand.d.ts +3 -8
- package/dist-types/commands/ListDataSourcesCommand.d.ts +3 -8
- package/dist-types/commands/ListFlowAliasesCommand.d.ts +3 -8
- package/dist-types/commands/ListFlowVersionsCommand.d.ts +3 -8
- package/dist-types/commands/ListFlowsCommand.d.ts +3 -8
- package/dist-types/commands/ListIngestionJobsCommand.d.ts +3 -8
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +3 -8
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +3 -8
- package/dist-types/commands/ListPromptsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/PrepareAgentCommand.d.ts +3 -8
- package/dist-types/commands/PrepareFlowCommand.d.ts +3 -8
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/StartIngestionJobCommand.d.ts +3 -8
- package/dist-types/commands/StopIngestionJobCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateAgentActionGroupCommand.d.ts +3 -8
- package/dist-types/commands/UpdateAgentAliasCommand.d.ts +3 -8
- package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +3 -8
- package/dist-types/commands/UpdateAgentCommand.d.ts +3 -8
- package/dist-types/commands/UpdateAgentKnowledgeBaseCommand.d.ts +3 -8
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateFlowAliasCommand.d.ts +3 -8
- package/dist-types/commands/UpdateFlowCommand.d.ts +3 -8
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +3 -8
- package/dist-types/commands/UpdatePromptCommand.d.ts +3 -8
- package/dist-types/commands/ValidateFlowDefinitionCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AssociateAgentCollaboratorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateAgentActionGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateAgentAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateAgentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateFlowAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateFlowVersionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePromptVersionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAgentActionGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAgentAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAgentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAgentVersionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteFlowAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteFlowVersionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateAgentCollaboratorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAgentActionGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAgentAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAgentCollaboratorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAgentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAgentKnowledgeBaseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAgentVersionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetFlowAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetFlowVersionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetIngestionJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetKnowledgeBaseDocumentsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPromptCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAgentActionGroupsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAgentAliasesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAgentCollaboratorsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAgentKnowledgeBasesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAgentVersionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAgentsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListFlowAliasesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListFlowVersionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListFlowsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListIngestionJobsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PrepareAgentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PrepareFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartIngestionJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StopIngestionJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateAgentActionGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateAgentAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateAgentCollaboratorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateAgentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateAgentKnowledgeBaseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateFlowAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateKnowledgeBaseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ValidateFlowDefinitionCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +8 -8
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentBuildTimeLambda", "TagResource", {})
|
|
13
|
-
.n("BedrockAgentClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentBuildTimeLambda", "UntagResource", {})
|
|
13
|
-
.n("BedrockAgentClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateAgentActionGroup$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateAgentActionGroupCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentBuildTimeLambda", "UpdateAgentActionGroup", {})
|
|
13
|
-
.n("BedrockAgentClient", "UpdateAgentActionGroupCommand")
|
|
14
|
-
.sc(UpdateAgentActionGroup$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateAgentActionGroupCommand extends command(_ep0, _mw0, "UpdateAgentActionGroup", UpdateAgentActionGroup$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateAgentAlias$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateAgentAliasCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentBuildTimeLambda", "UpdateAgentAlias", {})
|
|
13
|
-
.n("BedrockAgentClient", "UpdateAgentAliasCommand")
|
|
14
|
-
.sc(UpdateAgentAlias$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateAgentAliasCommand extends command(_ep0, _mw0, "UpdateAgentAlias", UpdateAgentAlias$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateAgentCollaborator$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateAgentCollaboratorCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentBuildTimeLambda", "UpdateAgentCollaborator", {})
|
|
13
|
-
.n("BedrockAgentClient", "UpdateAgentCollaboratorCommand")
|
|
14
|
-
.sc(UpdateAgentCollaborator$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateAgentCollaboratorCommand extends command(_ep0, _mw0, "UpdateAgentCollaborator", UpdateAgentCollaborator$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateAgent$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateAgentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentBuildTimeLambda", "UpdateAgent", {})
|
|
13
|
-
.n("BedrockAgentClient", "UpdateAgentCommand")
|
|
14
|
-
.sc(UpdateAgent$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateAgentCommand extends command(_ep0, _mw0, "UpdateAgent", UpdateAgent$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateAgentKnowledgeBase$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateAgentKnowledgeBaseCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentBuildTimeLambda", "UpdateAgentKnowledgeBase", {})
|
|
13
|
-
.n("BedrockAgentClient", "UpdateAgentKnowledgeBaseCommand")
|
|
14
|
-
.sc(UpdateAgentKnowledgeBase$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateAgentKnowledgeBaseCommand extends command(_ep0, _mw0, "UpdateAgentKnowledgeBase", UpdateAgentKnowledgeBase$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateDataSource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateDataSourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentBuildTimeLambda", "UpdateDataSource", {})
|
|
13
|
-
.n("BedrockAgentClient", "UpdateDataSourceCommand")
|
|
14
|
-
.sc(UpdateDataSource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateDataSourceCommand extends command(_ep0, _mw0, "UpdateDataSource", UpdateDataSource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateFlowAlias$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateFlowAliasCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentBuildTimeLambda", "UpdateFlowAlias", {})
|
|
13
|
-
.n("BedrockAgentClient", "UpdateFlowAliasCommand")
|
|
14
|
-
.sc(UpdateFlowAlias$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateFlowAliasCommand extends command(_ep0, _mw0, "UpdateFlowAlias", UpdateFlowAlias$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateFlow$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateFlowCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentBuildTimeLambda", "UpdateFlow", {})
|
|
13
|
-
.n("BedrockAgentClient", "UpdateFlowCommand")
|
|
14
|
-
.sc(UpdateFlow$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateFlowCommand extends command(_ep0, _mw0, "UpdateFlow", UpdateFlow$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateKnowledgeBase$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateKnowledgeBaseCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentBuildTimeLambda", "UpdateKnowledgeBase", {})
|
|
13
|
-
.n("BedrockAgentClient", "UpdateKnowledgeBaseCommand")
|
|
14
|
-
.sc(UpdateKnowledgeBase$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateKnowledgeBaseCommand extends command(_ep0, _mw0, "UpdateKnowledgeBase", UpdateKnowledgeBase$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdatePrompt$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdatePromptCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentBuildTimeLambda", "UpdatePrompt", {})
|
|
13
|
-
.n("BedrockAgentClient", "UpdatePromptCommand")
|
|
14
|
-
.sc(UpdatePrompt$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdatePromptCommand extends command(_ep0, _mw0, "UpdatePrompt", UpdatePrompt$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ValidateFlowDefinition$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ValidateFlowDefinitionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentBuildTimeLambda", "ValidateFlowDefinition", {})
|
|
13
|
-
.n("BedrockAgentClient", "ValidateFlowDefinitionCommand")
|
|
14
|
-
.sc(ValidateFlowDefinition$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ValidateFlowDefinitionCommand extends command(_ep0, _mw0, "ValidateFlowDefinition", ValidateFlowDefinition$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./BedrockAgentClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
2
|
import type { AssociateAgentCollaboratorRequest, AssociateAgentCollaboratorResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AssociateAgentCollaboratorCommandInput extends AssociateAgentCo
|
|
|
22
19
|
export interface AssociateAgentCollaboratorCommandOutput extends AssociateAgentCollaboratorResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AssociateAgentCollaboratorCommand_base: {
|
|
25
|
-
new (input: AssociateAgentCollaboratorCommandInput): import("@smithy/core/client").CommandImpl<AssociateAgentCollaboratorCommandInput, AssociateAgentCollaboratorCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AssociateAgentCollaboratorCommandInput): import("@smithy/core/client").CommandImpl<AssociateAgentCollaboratorCommandInput, AssociateAgentCollaboratorCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AssociateAgentCollaboratorCommandInput): import("@smithy/core/client").CommandImpl<AssociateAgentCollaboratorCommandInput, AssociateAgentCollaboratorCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssociateAgentCollaboratorCommandInput): import("@smithy/core/client").CommandImpl<AssociateAgentCollaboratorCommandInput, AssociateAgentCollaboratorCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Makes an agent a collaborator for another agent.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
2
|
import type { AssociateAgentKnowledgeBaseRequest, AssociateAgentKnowledgeBaseResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AssociateAgentKnowledgeBaseCommandInput extends AssociateAgentK
|
|
|
22
19
|
export interface AssociateAgentKnowledgeBaseCommandOutput extends AssociateAgentKnowledgeBaseResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AssociateAgentKnowledgeBaseCommand_base: {
|
|
25
|
-
new (input: AssociateAgentKnowledgeBaseCommandInput): import("@smithy/core/client").CommandImpl<AssociateAgentKnowledgeBaseCommandInput, AssociateAgentKnowledgeBaseCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AssociateAgentKnowledgeBaseCommandInput): import("@smithy/core/client").CommandImpl<AssociateAgentKnowledgeBaseCommandInput, AssociateAgentKnowledgeBaseCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AssociateAgentKnowledgeBaseCommandInput): import("@smithy/core/client").CommandImpl<AssociateAgentKnowledgeBaseCommandInput, AssociateAgentKnowledgeBaseCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssociateAgentKnowledgeBaseCommandInput): import("@smithy/core/client").CommandImpl<AssociateAgentKnowledgeBaseCommandInput, AssociateAgentKnowledgeBaseCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Associates a knowledge base with an agent. If a knowledge base is associated and its <code>indexState</code> is set to <code>Enabled</code>, the agent queries the knowledge base for information to augment its response to the user.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
2
|
import type { CreateAgentActionGroupRequest, CreateAgentActionGroupResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateAgentActionGroupCommandInput extends CreateAgentActionGro
|
|
|
22
19
|
export interface CreateAgentActionGroupCommandOutput extends CreateAgentActionGroupResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateAgentActionGroupCommand_base: {
|
|
25
|
-
new (input: CreateAgentActionGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentActionGroupCommandInput, CreateAgentActionGroupCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateAgentActionGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentActionGroupCommandInput, CreateAgentActionGroupCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateAgentActionGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentActionGroupCommandInput, CreateAgentActionGroupCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateAgentActionGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentActionGroupCommandInput, CreateAgentActionGroupCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them.</p> <p>To allow your agent to request the user for additional information when trying to complete a task, add an action group with the <code>parentActionGroupSignature</code> field set to <code>AMAZON.UserInput</code>. </p> <p>To allow your agent to generate, run, and troubleshoot code when trying to complete a task, add an action group with the <code>parentActionGroupSignature</code> field set to <code>AMAZON.CodeInterpreter</code>. </p> <p>You must leave the <code>description</code>, <code>apiSchema</code>, and <code>actionGroupExecutor</code> fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html">Observation</a> reprompting the user for more information.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
2
|
import type { CreateAgentAliasRequest, CreateAgentAliasResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateAgentAliasCommandInput extends CreateAgentAliasRequest {
|
|
|
22
19
|
export interface CreateAgentAliasCommandOutput extends CreateAgentAliasResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateAgentAliasCommand_base: {
|
|
25
|
-
new (input: CreateAgentAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentAliasCommandInput, CreateAgentAliasCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateAgentAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentAliasCommandInput, CreateAgentAliasCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateAgentAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentAliasCommandInput, CreateAgentAliasCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateAgentAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentAliasCommandInput, CreateAgentAliasCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates an alias of an agent that can be used to deploy the agent.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
2
|
import type { CreateAgentRequest, CreateAgentResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateAgentCommandInput extends CreateAgentRequest {
|
|
|
22
19
|
export interface CreateAgentCommandOutput extends CreateAgentResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateAgentCommand_base: {
|
|
25
|
-
new (input: CreateAgentCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentCommandInput, CreateAgentCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateAgentCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentCommandInput, CreateAgentCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateAgentCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentCommandInput, CreateAgentCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateAgentCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentCommandInput, CreateAgentCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.</p> <ul> <li> <p>Specify the following fields for security purposes.</p> <ul> <li> <p> <code>agentResourceRoleArn</code> – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent.</p> </li> <li> <p>(Optional) <code>customerEncryptionKeyArn</code> – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.</p> </li> <li> <p>(Optional) <code>idleSessionTTLinSeconds</code> – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent <code>InvokeAgent</code> request begins a new session.</p> </li> </ul> </li> <li> <p>To enable your agent to retain conversational context across multiple sessions, include a <code>memoryConfiguration</code> object. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-configure-memory.html">Configure memory</a>.</p> </li> <li> <p>To override the default prompt behavior for agent orchestration and to use advanced prompts, include a <code>promptOverrideConfiguration</code> object. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html">Advanced prompts</a>.</p> </li> <li> <p>If your agent fails to be created, the response returns a list of <code>failureReasons</code> alongside a list of <code>recommendedActions</code> for you to troubleshoot.</p> </li> <li> <p>The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.</p> </li> </ul>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
2
|
import type { CreateDataSourceRequest, CreateDataSourceResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateDataSourceCommandInput extends CreateDataSourceRequest {
|
|
|
22
19
|
export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateDataSourceCommand_base: {
|
|
25
|
-
new (input: CreateDataSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateDataSourceCommandInput, CreateDataSourceCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateDataSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateDataSourceCommandInput, CreateDataSourceCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateDataSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateDataSourceCommandInput, CreateDataSourceCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateDataSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateDataSourceCommandInput, CreateDataSourceCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Connects a knowledge base to a data source. You specify the configuration for the specific data source service in the <code>dataSourceConfiguration</code> field.</p> <important> <p>You can't change the <code>chunkingConfiguration</code> after you create the data source connector.</p> </important>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
2
|
import type { CreateFlowAliasRequest, CreateFlowAliasResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateFlowAliasCommandInput extends CreateFlowAliasRequest {
|
|
|
22
19
|
export interface CreateFlowAliasCommandOutput extends CreateFlowAliasResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateFlowAliasCommand_base: {
|
|
25
|
-
new (input: CreateFlowAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateFlowAliasCommandInput, CreateFlowAliasCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateFlowAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateFlowAliasCommandInput, CreateFlowAliasCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateFlowAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateFlowAliasCommandInput, CreateFlowAliasCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateFlowAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateFlowAliasCommandInput, CreateFlowAliasCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates an alias of a flow for deployment. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-deploy.html">Deploy a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
2
|
import type { CreateFlowRequest, CreateFlowResponse } from "../models/models_1";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateFlowCommandInput extends CreateFlowRequest {
|
|
|
22
19
|
export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateFlowCommand_base: {
|
|
25
|
-
new (input: CreateFlowCommandInput): import("@smithy/core/client").CommandImpl<CreateFlowCommandInput, CreateFlowCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateFlowCommandInput): import("@smithy/core/client").CommandImpl<CreateFlowCommandInput, CreateFlowCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateFlowCommandInput): import("@smithy/core/client").CommandImpl<CreateFlowCommandInput, CreateFlowCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateFlowCommandInput): import("@smithy/core/client").CommandImpl<CreateFlowCommandInput, CreateFlowCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a prompt flow that you can use to send an input through various steps to yield an output. Configure nodes, each of which corresponds to a step of the flow, and create connections between the nodes to create paths to different outputs. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-how-it-works.html">How it works</a> and <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-create.html">Create a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p>
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
2
|
import type { CreateFlowVersionRequest } from "../models/models_0";
|
|
5
3
|
import type { CreateFlowVersionResponse } from "../models/models_1";
|
|
6
4
|
/**
|
|
7
5
|
* @public
|
|
8
6
|
*/
|
|
9
7
|
export type { __MetadataBearer };
|
|
10
|
-
export { $Command };
|
|
11
8
|
/**
|
|
12
9
|
* @public
|
|
13
10
|
*
|
|
@@ -23,11 +20,9 @@ export interface CreateFlowVersionCommandInput extends CreateFlowVersionRequest
|
|
|
23
20
|
export interface CreateFlowVersionCommandOutput extends CreateFlowVersionResponse, __MetadataBearer {
|
|
24
21
|
}
|
|
25
22
|
declare const CreateFlowVersionCommand_base: {
|
|
26
|
-
new (input: CreateFlowVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateFlowVersionCommandInput, CreateFlowVersionCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
new (input: CreateFlowVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateFlowVersionCommandInput, CreateFlowVersionCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
|
-
getEndpointParameterInstructions():
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
};
|
|
23
|
+
new (input: CreateFlowVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateFlowVersionCommandInput, CreateFlowVersionCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
new (input: CreateFlowVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateFlowVersionCommandInput, CreateFlowVersionCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
31
26
|
};
|
|
32
27
|
/**
|
|
33
28
|
* <p>Creates a version of the flow that you can deploy. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-deploy.html">Deploy a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
2
|
import type { CreateKnowledgeBaseRequest, CreateKnowledgeBaseResponse } from "../models/models_1";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateKnowledgeBaseCommandInput extends CreateKnowledgeBaseRequ
|
|
|
22
19
|
export interface CreateKnowledgeBaseCommandOutput extends CreateKnowledgeBaseResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateKnowledgeBaseCommand_base: {
|
|
25
|
-
new (input: CreateKnowledgeBaseCommandInput): import("@smithy/core/client").CommandImpl<CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateKnowledgeBaseCommandInput): import("@smithy/core/client").CommandImpl<CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateKnowledgeBaseCommandInput): import("@smithy/core/client").CommandImpl<CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateKnowledgeBaseCommandInput): import("@smithy/core/client").CommandImpl<CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a knowledge base. A knowledge base contains your data sources so that Large Language Models (LLMs) can use your data. To create a knowledge base, you must first set up your data sources and configure a supported vector store. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowlege-base-prereq.html">Set up a knowledge base</a>.</p> <note> <p>To create a managed knowledge base, provide a <code>managedKnowledgeBaseConfiguration</code> during creation. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-build-managed.html">Build a managed knowledge base</a>.</p> </note> <ul> <li> <p>Provide the <code>name</code> and an optional <code>description</code>.</p> </li> <li> <p>Provide the Amazon Resource Name (ARN) with permissions to create a knowledge base in the <code>roleArn</code> field.</p> </li> <li> <p>For managed knowledge bases, set <code>embeddingModelType</code> to <code>MANAGED</code> to use the service-managed embedding model, or <code>CUSTOM</code> with an <code>embeddingModelArn</code> to use your own. To use your own KMS key for encryption, provide the ARN in <code>serverSideEncryptionConfiguration</code>. No vector store configuration is required for managed knowledge bases.</p> </li> <li> <p>For self-managed knowledge bases, provide the embedding model to use in the <code>embeddingModelArn</code> field in the <code>knowledgeBaseConfiguration</code> object.</p> </li> <li> <p>For self-managed knowledge bases, provide the configuration for your vector store in the <code>storageConfiguration</code> object.</p> <ul> <li> <p>For an Amazon OpenSearch Service database, use the <code>opensearchServerlessConfiguration</code> object. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html">Create a vector store in Amazon OpenSearch Service</a>.</p> </li> <li> <p>For an Amazon Aurora database, use the <code>RdsConfiguration</code> object. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html">Create a vector store in Amazon Aurora</a>.</p> </li> <li> <p>For a Pinecone database, use the <code>pineconeConfiguration</code> object. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-pinecone.html">Create a vector store in Pinecone</a>.</p> </li> <li> <p>For a Redis Enterprise Cloud database, use the <code>redisEnterpriseCloudConfiguration</code> object. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-redis.html">Create a vector store in Redis Enterprise Cloud</a>.</p> </li> </ul> </li> </ul>
|