@aws-sdk/client-bedrock-agent 3.461.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/LICENSE +201 -0
- package/README.md +526 -0
- package/dist-cjs/BedrockAgent.js +91 -0
- package/dist-cjs/BedrockAgentClient.js +43 -0
- package/dist-cjs/commands/AssociateAgentKnowledgeBaseCommand.js +51 -0
- package/dist-cjs/commands/CreateAgentActionGroupCommand.js +52 -0
- package/dist-cjs/commands/CreateAgentAliasCommand.js +51 -0
- package/dist-cjs/commands/CreateAgentCommand.js +52 -0
- package/dist-cjs/commands/CreateDataSourceCommand.js +51 -0
- package/dist-cjs/commands/CreateKnowledgeBaseCommand.js +51 -0
- package/dist-cjs/commands/DeleteAgentActionGroupCommand.js +51 -0
- package/dist-cjs/commands/DeleteAgentAliasCommand.js +51 -0
- package/dist-cjs/commands/DeleteAgentCommand.js +51 -0
- package/dist-cjs/commands/DeleteAgentVersionCommand.js +51 -0
- package/dist-cjs/commands/DeleteDataSourceCommand.js +51 -0
- package/dist-cjs/commands/DeleteKnowledgeBaseCommand.js +51 -0
- package/dist-cjs/commands/DisassociateAgentKnowledgeBaseCommand.js +51 -0
- package/dist-cjs/commands/GetAgentActionGroupCommand.js +52 -0
- package/dist-cjs/commands/GetAgentAliasCommand.js +51 -0
- package/dist-cjs/commands/GetAgentCommand.js +52 -0
- package/dist-cjs/commands/GetAgentKnowledgeBaseCommand.js +51 -0
- package/dist-cjs/commands/GetAgentVersionCommand.js +52 -0
- package/dist-cjs/commands/GetDataSourceCommand.js +51 -0
- package/dist-cjs/commands/GetIngestionJobCommand.js +51 -0
- package/dist-cjs/commands/GetKnowledgeBaseCommand.js +51 -0
- package/dist-cjs/commands/ListAgentActionGroupsCommand.js +51 -0
- package/dist-cjs/commands/ListAgentAliasesCommand.js +51 -0
- package/dist-cjs/commands/ListAgentKnowledgeBasesCommand.js +51 -0
- package/dist-cjs/commands/ListAgentVersionsCommand.js +51 -0
- package/dist-cjs/commands/ListAgentsCommand.js +51 -0
- package/dist-cjs/commands/ListDataSourcesCommand.js +51 -0
- package/dist-cjs/commands/ListIngestionJobsCommand.js +51 -0
- package/dist-cjs/commands/ListKnowledgeBasesCommand.js +51 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
- package/dist-cjs/commands/PrepareAgentCommand.js +51 -0
- package/dist-cjs/commands/StartIngestionJobCommand.js +51 -0
- package/dist-cjs/commands/TagResourceCommand.js +51 -0
- package/dist-cjs/commands/UntagResourceCommand.js +51 -0
- package/dist-cjs/commands/UpdateAgentActionGroupCommand.js +52 -0
- package/dist-cjs/commands/UpdateAgentAliasCommand.js +51 -0
- package/dist-cjs/commands/UpdateAgentCommand.js +52 -0
- package/dist-cjs/commands/UpdateAgentKnowledgeBaseCommand.js +51 -0
- package/dist-cjs/commands/UpdateDataSourceCommand.js +51 -0
- package/dist-cjs/commands/UpdateKnowledgeBaseCommand.js +51 -0
- package/dist-cjs/commands/index.js +43 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/BedrockAgentServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +293 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAgentActionGroupsPaginator.js +29 -0
- package/dist-cjs/pagination/ListAgentAliasesPaginator.js +29 -0
- package/dist-cjs/pagination/ListAgentKnowledgeBasesPaginator.js +29 -0
- package/dist-cjs/pagination/ListAgentVersionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListAgentsPaginator.js +29 -0
- package/dist-cjs/pagination/ListDataSourcesPaginator.js +29 -0
- package/dist-cjs/pagination/ListIngestionJobsPaginator.js +29 -0
- package/dist-cjs/pagination/ListKnowledgeBasesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +12 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3362 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/BedrockAgent.js +87 -0
- package/dist-es/BedrockAgentClient.js +39 -0
- package/dist-es/commands/AssociateAgentKnowledgeBaseCommand.js +47 -0
- package/dist-es/commands/CreateAgentActionGroupCommand.js +48 -0
- package/dist-es/commands/CreateAgentAliasCommand.js +47 -0
- package/dist-es/commands/CreateAgentCommand.js +48 -0
- package/dist-es/commands/CreateDataSourceCommand.js +47 -0
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +47 -0
- package/dist-es/commands/DeleteAgentActionGroupCommand.js +47 -0
- package/dist-es/commands/DeleteAgentAliasCommand.js +47 -0
- package/dist-es/commands/DeleteAgentCommand.js +47 -0
- package/dist-es/commands/DeleteAgentVersionCommand.js +47 -0
- package/dist-es/commands/DeleteDataSourceCommand.js +47 -0
- package/dist-es/commands/DeleteKnowledgeBaseCommand.js +47 -0
- package/dist-es/commands/DisassociateAgentKnowledgeBaseCommand.js +47 -0
- package/dist-es/commands/GetAgentActionGroupCommand.js +48 -0
- package/dist-es/commands/GetAgentAliasCommand.js +47 -0
- package/dist-es/commands/GetAgentCommand.js +48 -0
- package/dist-es/commands/GetAgentKnowledgeBaseCommand.js +47 -0
- package/dist-es/commands/GetAgentVersionCommand.js +48 -0
- package/dist-es/commands/GetDataSourceCommand.js +47 -0
- package/dist-es/commands/GetIngestionJobCommand.js +47 -0
- package/dist-es/commands/GetKnowledgeBaseCommand.js +47 -0
- package/dist-es/commands/ListAgentActionGroupsCommand.js +47 -0
- package/dist-es/commands/ListAgentAliasesCommand.js +47 -0
- package/dist-es/commands/ListAgentKnowledgeBasesCommand.js +47 -0
- package/dist-es/commands/ListAgentVersionsCommand.js +47 -0
- package/dist-es/commands/ListAgentsCommand.js +47 -0
- package/dist-es/commands/ListDataSourcesCommand.js +47 -0
- package/dist-es/commands/ListIngestionJobsCommand.js +47 -0
- package/dist-es/commands/ListKnowledgeBasesCommand.js +47 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
- package/dist-es/commands/PrepareAgentCommand.js +47 -0
- package/dist-es/commands/StartIngestionJobCommand.js +47 -0
- package/dist-es/commands/TagResourceCommand.js +47 -0
- package/dist-es/commands/UntagResourceCommand.js +47 -0
- package/dist-es/commands/UpdateAgentActionGroupCommand.js +48 -0
- package/dist-es/commands/UpdateAgentAliasCommand.js +47 -0
- package/dist-es/commands/UpdateAgentCommand.js +48 -0
- package/dist-es/commands/UpdateAgentKnowledgeBaseCommand.js +47 -0
- package/dist-es/commands/UpdateDataSourceCommand.js +47 -0
- package/dist-es/commands/UpdateKnowledgeBaseCommand.js +47 -0
- package/dist-es/commands/index.js +40 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/BedrockAgentServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +267 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAgentActionGroupsPaginator.js +25 -0
- package/dist-es/pagination/ListAgentAliasesPaginator.js +25 -0
- package/dist-es/pagination/ListAgentKnowledgeBasesPaginator.js +25 -0
- package/dist-es/pagination/ListAgentVersionsPaginator.js +25 -0
- package/dist-es/pagination/ListAgentsPaginator.js +25 -0
- package/dist-es/pagination/ListDataSourcesPaginator.js +25 -0
- package/dist-es/pagination/ListIngestionJobsPaginator.js +25 -0
- package/dist-es/pagination/ListKnowledgeBasesPaginator.js +25 -0
- package/dist-es/pagination/index.js +9 -0
- package/dist-es/protocols/Aws_restJson1.js +3278 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/BedrockAgent.d.ts +291 -0
- package/dist-types/BedrockAgentClient.d.ts +210 -0
- package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +106 -0
- package/dist-types/commands/CreateAgentActionGroupCommand.d.ts +131 -0
- package/dist-types/commands/CreateAgentAliasCommand.d.ts +131 -0
- package/dist-types/commands/CreateAgentCommand.d.ts +165 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +147 -0
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +183 -0
- package/dist-types/commands/DeleteAgentActionGroupCommand.d.ts +92 -0
- package/dist-types/commands/DeleteAgentAliasCommand.d.ts +91 -0
- package/dist-types/commands/DeleteAgentCommand.d.ts +93 -0
- package/dist-types/commands/DeleteAgentVersionCommand.d.ts +95 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +94 -0
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +92 -0
- package/dist-types/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +91 -0
- package/dist-types/commands/GetAgentActionGroupCommand.d.ts +111 -0
- package/dist-types/commands/GetAgentAliasCommand.d.ts +115 -0
- package/dist-types/commands/GetAgentCommand.d.ts +131 -0
- package/dist-types/commands/GetAgentKnowledgeBaseCommand.d.ts +98 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +130 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +118 -0
- package/dist-types/commands/GetIngestionJobCommand.d.ts +108 -0
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +137 -0
- package/dist-types/commands/ListAgentActionGroupsCommand.d.ts +100 -0
- package/dist-types/commands/ListAgentAliasesCommand.d.ts +105 -0
- package/dist-types/commands/ListAgentKnowledgeBasesCommand.d.ts +99 -0
- package/dist-types/commands/ListAgentVersionsCommand.d.ts +100 -0
- package/dist-types/commands/ListAgentsCommand.d.ts +96 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +100 -0
- package/dist-types/commands/ListIngestionJobsCommand.d.ts +122 -0
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +95 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +90 -0
- package/dist-types/commands/PrepareAgentCommand.d.ts +97 -0
- package/dist-types/commands/StartIngestionJobCommand.d.ts +115 -0
- package/dist-types/commands/TagResourceCommand.d.ts +92 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +89 -0
- package/dist-types/commands/UpdateAgentActionGroupCommand.d.ts +131 -0
- package/dist-types/commands/UpdateAgentAliasCommand.d.ts +128 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +165 -0
- package/dist-types/commands/UpdateAgentKnowledgeBaseCommand.d.ts +103 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +144 -0
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +180 -0
- package/dist-types/commands/index.d.ts +40 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +16 -0
- package/dist-types/models/BedrockAgentServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +3256 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAgentActionGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAgentAliasesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAgentKnowledgeBasesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAgentVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAgentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataSourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIngestionJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListKnowledgeBasesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +9 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +362 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +687 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +359 -0
- package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAgentActionGroupCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAgentAliasCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateAgentCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteAgentActionGroupCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAgentAliasCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteAgentCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteAgentVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAgentActionGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAgentAliasCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetAgentCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetAgentKnowledgeBaseCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAgentVersionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetIngestionJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAgentActionGroupsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAgentAliasesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAgentKnowledgeBasesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAgentVersionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAgentsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListIngestionJobsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PrepareAgentCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/StartIngestionJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateAgentActionGroupCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateAgentAliasCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateAgentCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateAgentKnowledgeBaseCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateKnowledgeBaseCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +40 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/BedrockAgentServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +915 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAgentActionGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAgentAliasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAgentKnowledgeBasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAgentVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAgentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIngestionJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListKnowledgeBasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +485 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +104 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteKnowledgeBaseCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class DeleteKnowledgeBaseCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteKnowledgeBaseCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BedrockAgentClient";
|
|
29
|
+
const commandName = "DeleteKnowledgeBaseCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonBedrockAgentBuildTimeLambda",
|
|
38
|
+
operation: "DeleteKnowledgeBase",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_DeleteKnowledgeBaseCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_DeleteKnowledgeBaseCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DeleteKnowledgeBaseCommand = DeleteKnowledgeBaseCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisassociateAgentKnowledgeBaseCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class DisassociateAgentKnowledgeBaseCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DisassociateAgentKnowledgeBaseCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BedrockAgentClient";
|
|
29
|
+
const commandName = "DisassociateAgentKnowledgeBaseCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonBedrockAgentBuildTimeLambda",
|
|
38
|
+
operation: "DisassociateAgentKnowledgeBase",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_DisassociateAgentKnowledgeBaseCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_DisassociateAgentKnowledgeBaseCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DisassociateAgentKnowledgeBaseCommand = DisassociateAgentKnowledgeBaseCommand;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAgentActionGroupCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class GetAgentActionGroupCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAgentActionGroupCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "BedrockAgentClient";
|
|
30
|
+
const commandName = "GetAgentActionGroupCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: models_0_1.GetAgentActionGroupResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AmazonBedrockAgentBuildTimeLambda",
|
|
39
|
+
operation: "GetAgentActionGroup",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_restJson1_1.se_GetAgentActionGroupCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_restJson1_1.de_GetAgentActionGroupCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.GetAgentActionGroupCommand = GetAgentActionGroupCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAgentAliasCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetAgentAliasCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAgentAliasCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BedrockAgentClient";
|
|
29
|
+
const commandName = "GetAgentAliasCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonBedrockAgentBuildTimeLambda",
|
|
38
|
+
operation: "GetAgentAlias",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetAgentAliasCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetAgentAliasCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetAgentAliasCommand = GetAgentAliasCommand;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAgentCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class GetAgentCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAgentCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "BedrockAgentClient";
|
|
30
|
+
const commandName = "GetAgentCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: models_0_1.GetAgentResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AmazonBedrockAgentBuildTimeLambda",
|
|
39
|
+
operation: "GetAgent",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_restJson1_1.se_GetAgentCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_restJson1_1.de_GetAgentCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.GetAgentCommand = GetAgentCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAgentKnowledgeBaseCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetAgentKnowledgeBaseCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAgentKnowledgeBaseCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BedrockAgentClient";
|
|
29
|
+
const commandName = "GetAgentKnowledgeBaseCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonBedrockAgentBuildTimeLambda",
|
|
38
|
+
operation: "GetAgentKnowledgeBase",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetAgentKnowledgeBaseCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetAgentKnowledgeBaseCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetAgentKnowledgeBaseCommand = GetAgentKnowledgeBaseCommand;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAgentVersionCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class GetAgentVersionCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAgentVersionCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "BedrockAgentClient";
|
|
30
|
+
const commandName = "GetAgentVersionCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: models_0_1.GetAgentVersionResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AmazonBedrockAgentBuildTimeLambda",
|
|
39
|
+
operation: "GetAgentVersion",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_restJson1_1.se_GetAgentVersionCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_restJson1_1.de_GetAgentVersionCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.GetAgentVersionCommand = GetAgentVersionCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetDataSourceCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetDataSourceCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetDataSourceCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BedrockAgentClient";
|
|
29
|
+
const commandName = "GetDataSourceCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonBedrockAgentBuildTimeLambda",
|
|
38
|
+
operation: "GetDataSource",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetDataSourceCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetDataSourceCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetDataSourceCommand = GetDataSourceCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetIngestionJobCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetIngestionJobCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetIngestionJobCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BedrockAgentClient";
|
|
29
|
+
const commandName = "GetIngestionJobCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonBedrockAgentBuildTimeLambda",
|
|
38
|
+
operation: "GetIngestionJob",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetIngestionJobCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetIngestionJobCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetIngestionJobCommand = GetIngestionJobCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetKnowledgeBaseCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetKnowledgeBaseCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetKnowledgeBaseCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BedrockAgentClient";
|
|
29
|
+
const commandName = "GetKnowledgeBaseCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonBedrockAgentBuildTimeLambda",
|
|
38
|
+
operation: "GetKnowledgeBase",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetKnowledgeBaseCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetKnowledgeBaseCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetKnowledgeBaseCommand = GetKnowledgeBaseCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListAgentActionGroupsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListAgentActionGroupsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAgentActionGroupsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BedrockAgentClient";
|
|
29
|
+
const commandName = "ListAgentActionGroupsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonBedrockAgentBuildTimeLambda",
|
|
38
|
+
operation: "ListAgentActionGroups",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListAgentActionGroupsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListAgentActionGroupsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListAgentActionGroupsCommand = ListAgentActionGroupsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListAgentAliasesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListAgentAliasesCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAgentAliasesCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BedrockAgentClient";
|
|
29
|
+
const commandName = "ListAgentAliasesCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonBedrockAgentBuildTimeLambda",
|
|
38
|
+
operation: "ListAgentAliases",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListAgentAliasesCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListAgentAliasesCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListAgentAliasesCommand = ListAgentAliasesCommand;
|