@aws-sdk/client-bedrock-agent-runtime 3.1076.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 +44 -359
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AgenticRetrieveStreamCommand.js +2 -18
- package/dist-es/commands/CreateInvocationCommand.js +2 -14
- package/dist-es/commands/CreateSessionCommand.js +2 -14
- package/dist-es/commands/DeleteAgentMemoryCommand.js +2 -14
- package/dist-es/commands/DeleteSessionCommand.js +2 -14
- package/dist-es/commands/EndSessionCommand.js +2 -14
- package/dist-es/commands/GenerateQueryCommand.js +2 -14
- package/dist-es/commands/GetAgentMemoryCommand.js +2 -14
- package/dist-es/commands/GetDocumentContentCommand.js +2 -14
- package/dist-es/commands/GetExecutionFlowSnapshotCommand.js +2 -14
- package/dist-es/commands/GetFlowExecutionCommand.js +2 -14
- package/dist-es/commands/GetInvocationStepCommand.js +2 -14
- package/dist-es/commands/GetSessionCommand.js +2 -14
- package/dist-es/commands/InvokeAgentCommand.js +2 -18
- package/dist-es/commands/InvokeFlowCommand.js +2 -18
- package/dist-es/commands/InvokeInlineAgentCommand.js +2 -18
- package/dist-es/commands/ListFlowExecutionEventsCommand.js +2 -14
- package/dist-es/commands/ListFlowExecutionsCommand.js +2 -14
- package/dist-es/commands/ListInvocationStepsCommand.js +2 -14
- package/dist-es/commands/ListInvocationsCommand.js +2 -14
- package/dist-es/commands/ListSessionsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/OptimizePromptCommand.js +2 -18
- package/dist-es/commands/PutInvocationStepCommand.js +2 -14
- package/dist-es/commands/RerankCommand.js +2 -14
- package/dist-es/commands/RetrieveAndGenerateCommand.js +2 -14
- package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +2 -18
- package/dist-es/commands/RetrieveCommand.js +2 -14
- package/dist-es/commands/StartFlowExecutionCommand.js +2 -14
- package/dist-es/commands/StopFlowExecutionCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateSessionCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AgenticRetrieveStreamCommand.d.ts +3 -8
- package/dist-types/commands/CreateInvocationCommand.d.ts +3 -8
- package/dist-types/commands/CreateSessionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAgentMemoryCommand.d.ts +3 -8
- package/dist-types/commands/DeleteSessionCommand.d.ts +3 -8
- package/dist-types/commands/EndSessionCommand.d.ts +3 -8
- package/dist-types/commands/GenerateQueryCommand.d.ts +3 -8
- package/dist-types/commands/GetAgentMemoryCommand.d.ts +3 -8
- package/dist-types/commands/GetDocumentContentCommand.d.ts +3 -8
- package/dist-types/commands/GetExecutionFlowSnapshotCommand.d.ts +3 -8
- package/dist-types/commands/GetFlowExecutionCommand.d.ts +3 -8
- package/dist-types/commands/GetInvocationStepCommand.d.ts +3 -8
- package/dist-types/commands/GetSessionCommand.d.ts +3 -8
- package/dist-types/commands/InvokeAgentCommand.d.ts +3 -8
- package/dist-types/commands/InvokeFlowCommand.d.ts +3 -8
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +3 -8
- package/dist-types/commands/ListFlowExecutionEventsCommand.d.ts +3 -8
- package/dist-types/commands/ListFlowExecutionsCommand.d.ts +3 -8
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +3 -8
- package/dist-types/commands/ListInvocationsCommand.d.ts +3 -8
- package/dist-types/commands/ListSessionsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/OptimizePromptCommand.d.ts +3 -8
- package/dist-types/commands/PutInvocationStepCommand.d.ts +3 -8
- package/dist-types/commands/RerankCommand.d.ts +3 -8
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +3 -8
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +3 -8
- package/dist-types/commands/RetrieveCommand.d.ts +3 -8
- package/dist-types/commands/StartFlowExecutionCommand.d.ts +3 -8
- package/dist-types/commands/StopFlowExecutionCommand.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/UpdateSessionCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AgenticRetrieveStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAgentMemoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GenerateQueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAgentMemoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDocumentContentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetExecutionFlowSnapshotCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetFlowExecutionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListFlowExecutionEventsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListFlowExecutionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/OptimizePromptCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RerankCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartFlowExecutionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StopFlowExecutionCommand.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/UpdateSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -11,9 +12,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
11
12
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
13
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
13
14
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
14
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
15
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
15
16
|
const { streamCollector, NodeHttp2Handler } = require("@smithy/node-http-handler");
|
|
16
17
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
18
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
17
19
|
|
|
18
20
|
const defaultBedrockAgentRuntimeHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
19
21
|
return {
|
|
@@ -68,7 +70,7 @@ const commonParams = {
|
|
|
68
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
71
|
};
|
|
70
72
|
|
|
71
|
-
var version = "3.
|
|
73
|
+
var version = "3.1077.0";
|
|
72
74
|
var packageInfo = {
|
|
73
75
|
version: version};
|
|
74
76
|
|
|
@@ -3454,6 +3456,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
3454
3456
|
serviceTarget: "AmazonBedrockAgentRunTimeService",
|
|
3455
3457
|
},
|
|
3456
3458
|
serviceId: config?.serviceId ?? "Bedrock Agent Runtime",
|
|
3459
|
+
sha256: config?.sha256 ?? Sha256,
|
|
3457
3460
|
urlParser: config?.urlParser ?? parseUrl,
|
|
3458
3461
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
3459
3462
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -3492,7 +3495,6 @@ const getRuntimeConfig = (config) => {
|
|
|
3492
3495
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
3493
3496
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
3494
3497
|
}, config),
|
|
3495
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
3496
3498
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
3497
3499
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
3498
3500
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -3581,424 +3583,107 @@ class BedrockAgentRuntimeClient extends Client {
|
|
|
3581
3583
|
}
|
|
3582
3584
|
}
|
|
3583
3585
|
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
})
|
|
3590
|
-
.s("AmazonBedrockAgentRunTimeService", "AgenticRetrieveStream", {
|
|
3591
|
-
eventStream: {
|
|
3592
|
-
output: true,
|
|
3593
|
-
},
|
|
3594
|
-
})
|
|
3595
|
-
.n("BedrockAgentRuntimeClient", "AgenticRetrieveStreamCommand")
|
|
3596
|
-
.sc(AgenticRetrieveStream$)
|
|
3597
|
-
.build() {
|
|
3586
|
+
const command = makeBuilder(commonParams, "AmazonBedrockAgentRunTimeService", "BedrockAgentRuntimeClient", getEndpointPlugin);
|
|
3587
|
+
const _ep0 = {};
|
|
3588
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
3589
|
+
|
|
3590
|
+
class AgenticRetrieveStreamCommand extends command(_ep0, _mw0, "AgenticRetrieveStream", AgenticRetrieveStream$) {
|
|
3598
3591
|
}
|
|
3599
3592
|
|
|
3600
|
-
class CreateInvocationCommand extends
|
|
3601
|
-
.classBuilder()
|
|
3602
|
-
.ep(commonParams)
|
|
3603
|
-
.m(function (Command, cs, config, o) {
|
|
3604
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3605
|
-
})
|
|
3606
|
-
.s("AmazonBedrockAgentRunTimeService", "CreateInvocation", {})
|
|
3607
|
-
.n("BedrockAgentRuntimeClient", "CreateInvocationCommand")
|
|
3608
|
-
.sc(CreateInvocation$)
|
|
3609
|
-
.build() {
|
|
3593
|
+
class CreateInvocationCommand extends command(_ep0, _mw0, "CreateInvocation", CreateInvocation$) {
|
|
3610
3594
|
}
|
|
3611
3595
|
|
|
3612
|
-
class CreateSessionCommand extends
|
|
3613
|
-
.classBuilder()
|
|
3614
|
-
.ep(commonParams)
|
|
3615
|
-
.m(function (Command, cs, config, o) {
|
|
3616
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3617
|
-
})
|
|
3618
|
-
.s("AmazonBedrockAgentRunTimeService", "CreateSession", {})
|
|
3619
|
-
.n("BedrockAgentRuntimeClient", "CreateSessionCommand")
|
|
3620
|
-
.sc(CreateSession$)
|
|
3621
|
-
.build() {
|
|
3596
|
+
class CreateSessionCommand extends command(_ep0, _mw0, "CreateSession", CreateSession$) {
|
|
3622
3597
|
}
|
|
3623
3598
|
|
|
3624
|
-
class DeleteAgentMemoryCommand extends
|
|
3625
|
-
.classBuilder()
|
|
3626
|
-
.ep(commonParams)
|
|
3627
|
-
.m(function (Command, cs, config, o) {
|
|
3628
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3629
|
-
})
|
|
3630
|
-
.s("AmazonBedrockAgentRunTimeService", "DeleteAgentMemory", {})
|
|
3631
|
-
.n("BedrockAgentRuntimeClient", "DeleteAgentMemoryCommand")
|
|
3632
|
-
.sc(DeleteAgentMemory$)
|
|
3633
|
-
.build() {
|
|
3599
|
+
class DeleteAgentMemoryCommand extends command(_ep0, _mw0, "DeleteAgentMemory", DeleteAgentMemory$) {
|
|
3634
3600
|
}
|
|
3635
3601
|
|
|
3636
|
-
class DeleteSessionCommand extends
|
|
3637
|
-
.classBuilder()
|
|
3638
|
-
.ep(commonParams)
|
|
3639
|
-
.m(function (Command, cs, config, o) {
|
|
3640
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3641
|
-
})
|
|
3642
|
-
.s("AmazonBedrockAgentRunTimeService", "DeleteSession", {})
|
|
3643
|
-
.n("BedrockAgentRuntimeClient", "DeleteSessionCommand")
|
|
3644
|
-
.sc(DeleteSession$)
|
|
3645
|
-
.build() {
|
|
3602
|
+
class DeleteSessionCommand extends command(_ep0, _mw0, "DeleteSession", DeleteSession$) {
|
|
3646
3603
|
}
|
|
3647
3604
|
|
|
3648
|
-
class EndSessionCommand extends
|
|
3649
|
-
.classBuilder()
|
|
3650
|
-
.ep(commonParams)
|
|
3651
|
-
.m(function (Command, cs, config, o) {
|
|
3652
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3653
|
-
})
|
|
3654
|
-
.s("AmazonBedrockAgentRunTimeService", "EndSession", {})
|
|
3655
|
-
.n("BedrockAgentRuntimeClient", "EndSessionCommand")
|
|
3656
|
-
.sc(EndSession$)
|
|
3657
|
-
.build() {
|
|
3605
|
+
class EndSessionCommand extends command(_ep0, _mw0, "EndSession", EndSession$) {
|
|
3658
3606
|
}
|
|
3659
3607
|
|
|
3660
|
-
class GenerateQueryCommand extends
|
|
3661
|
-
.classBuilder()
|
|
3662
|
-
.ep(commonParams)
|
|
3663
|
-
.m(function (Command, cs, config, o) {
|
|
3664
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3665
|
-
})
|
|
3666
|
-
.s("AmazonBedrockAgentRunTimeService", "GenerateQuery", {})
|
|
3667
|
-
.n("BedrockAgentRuntimeClient", "GenerateQueryCommand")
|
|
3668
|
-
.sc(GenerateQuery$)
|
|
3669
|
-
.build() {
|
|
3608
|
+
class GenerateQueryCommand extends command(_ep0, _mw0, "GenerateQuery", GenerateQuery$) {
|
|
3670
3609
|
}
|
|
3671
3610
|
|
|
3672
|
-
class GetAgentMemoryCommand extends
|
|
3673
|
-
.classBuilder()
|
|
3674
|
-
.ep(commonParams)
|
|
3675
|
-
.m(function (Command, cs, config, o) {
|
|
3676
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3677
|
-
})
|
|
3678
|
-
.s("AmazonBedrockAgentRunTimeService", "GetAgentMemory", {})
|
|
3679
|
-
.n("BedrockAgentRuntimeClient", "GetAgentMemoryCommand")
|
|
3680
|
-
.sc(GetAgentMemory$)
|
|
3681
|
-
.build() {
|
|
3611
|
+
class GetAgentMemoryCommand extends command(_ep0, _mw0, "GetAgentMemory", GetAgentMemory$) {
|
|
3682
3612
|
}
|
|
3683
3613
|
|
|
3684
|
-
class GetDocumentContentCommand extends
|
|
3685
|
-
.classBuilder()
|
|
3686
|
-
.ep(commonParams)
|
|
3687
|
-
.m(function (Command, cs, config, o) {
|
|
3688
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3689
|
-
})
|
|
3690
|
-
.s("AmazonBedrockAgentRunTimeService", "GetDocumentContent", {})
|
|
3691
|
-
.n("BedrockAgentRuntimeClient", "GetDocumentContentCommand")
|
|
3692
|
-
.sc(GetDocumentContent$)
|
|
3693
|
-
.build() {
|
|
3614
|
+
class GetDocumentContentCommand extends command(_ep0, _mw0, "GetDocumentContent", GetDocumentContent$) {
|
|
3694
3615
|
}
|
|
3695
3616
|
|
|
3696
|
-
class GetExecutionFlowSnapshotCommand extends
|
|
3697
|
-
.classBuilder()
|
|
3698
|
-
.ep(commonParams)
|
|
3699
|
-
.m(function (Command, cs, config, o) {
|
|
3700
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3701
|
-
})
|
|
3702
|
-
.s("AmazonBedrockAgentRunTimeService", "GetExecutionFlowSnapshot", {})
|
|
3703
|
-
.n("BedrockAgentRuntimeClient", "GetExecutionFlowSnapshotCommand")
|
|
3704
|
-
.sc(GetExecutionFlowSnapshot$)
|
|
3705
|
-
.build() {
|
|
3617
|
+
class GetExecutionFlowSnapshotCommand extends command(_ep0, _mw0, "GetExecutionFlowSnapshot", GetExecutionFlowSnapshot$) {
|
|
3706
3618
|
}
|
|
3707
3619
|
|
|
3708
|
-
class GetFlowExecutionCommand extends
|
|
3709
|
-
.classBuilder()
|
|
3710
|
-
.ep(commonParams)
|
|
3711
|
-
.m(function (Command, cs, config, o) {
|
|
3712
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3713
|
-
})
|
|
3714
|
-
.s("AmazonBedrockAgentRunTimeService", "GetFlowExecution", {})
|
|
3715
|
-
.n("BedrockAgentRuntimeClient", "GetFlowExecutionCommand")
|
|
3716
|
-
.sc(GetFlowExecution$)
|
|
3717
|
-
.build() {
|
|
3620
|
+
class GetFlowExecutionCommand extends command(_ep0, _mw0, "GetFlowExecution", GetFlowExecution$) {
|
|
3718
3621
|
}
|
|
3719
3622
|
|
|
3720
|
-
class GetInvocationStepCommand extends
|
|
3721
|
-
.classBuilder()
|
|
3722
|
-
.ep(commonParams)
|
|
3723
|
-
.m(function (Command, cs, config, o) {
|
|
3724
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3725
|
-
})
|
|
3726
|
-
.s("AmazonBedrockAgentRunTimeService", "GetInvocationStep", {})
|
|
3727
|
-
.n("BedrockAgentRuntimeClient", "GetInvocationStepCommand")
|
|
3728
|
-
.sc(GetInvocationStep$)
|
|
3729
|
-
.build() {
|
|
3623
|
+
class GetInvocationStepCommand extends command(_ep0, _mw0, "GetInvocationStep", GetInvocationStep$) {
|
|
3730
3624
|
}
|
|
3731
3625
|
|
|
3732
|
-
class GetSessionCommand extends
|
|
3733
|
-
.classBuilder()
|
|
3734
|
-
.ep(commonParams)
|
|
3735
|
-
.m(function (Command, cs, config, o) {
|
|
3736
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3737
|
-
})
|
|
3738
|
-
.s("AmazonBedrockAgentRunTimeService", "GetSession", {})
|
|
3739
|
-
.n("BedrockAgentRuntimeClient", "GetSessionCommand")
|
|
3740
|
-
.sc(GetSession$)
|
|
3741
|
-
.build() {
|
|
3626
|
+
class GetSessionCommand extends command(_ep0, _mw0, "GetSession", GetSession$) {
|
|
3742
3627
|
}
|
|
3743
3628
|
|
|
3744
|
-
class InvokeAgentCommand extends
|
|
3745
|
-
.classBuilder()
|
|
3746
|
-
.ep(commonParams)
|
|
3747
|
-
.m(function (Command, cs, config, o) {
|
|
3748
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3749
|
-
})
|
|
3750
|
-
.s("AmazonBedrockAgentRunTimeService", "InvokeAgent", {
|
|
3751
|
-
eventStream: {
|
|
3752
|
-
output: true,
|
|
3753
|
-
},
|
|
3754
|
-
})
|
|
3755
|
-
.n("BedrockAgentRuntimeClient", "InvokeAgentCommand")
|
|
3756
|
-
.sc(InvokeAgent$)
|
|
3757
|
-
.build() {
|
|
3629
|
+
class InvokeAgentCommand extends command(_ep0, _mw0, "InvokeAgent", InvokeAgent$) {
|
|
3758
3630
|
}
|
|
3759
3631
|
|
|
3760
|
-
class InvokeFlowCommand extends
|
|
3761
|
-
.classBuilder()
|
|
3762
|
-
.ep(commonParams)
|
|
3763
|
-
.m(function (Command, cs, config, o) {
|
|
3764
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3765
|
-
})
|
|
3766
|
-
.s("AmazonBedrockAgentRunTimeService", "InvokeFlow", {
|
|
3767
|
-
eventStream: {
|
|
3768
|
-
output: true,
|
|
3769
|
-
},
|
|
3770
|
-
})
|
|
3771
|
-
.n("BedrockAgentRuntimeClient", "InvokeFlowCommand")
|
|
3772
|
-
.sc(InvokeFlow$)
|
|
3773
|
-
.build() {
|
|
3632
|
+
class InvokeFlowCommand extends command(_ep0, _mw0, "InvokeFlow", InvokeFlow$) {
|
|
3774
3633
|
}
|
|
3775
3634
|
|
|
3776
|
-
class InvokeInlineAgentCommand extends
|
|
3777
|
-
.classBuilder()
|
|
3778
|
-
.ep(commonParams)
|
|
3779
|
-
.m(function (Command, cs, config, o) {
|
|
3780
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3781
|
-
})
|
|
3782
|
-
.s("AmazonBedrockAgentRunTimeService", "InvokeInlineAgent", {
|
|
3783
|
-
eventStream: {
|
|
3784
|
-
output: true,
|
|
3785
|
-
},
|
|
3786
|
-
})
|
|
3787
|
-
.n("BedrockAgentRuntimeClient", "InvokeInlineAgentCommand")
|
|
3788
|
-
.sc(InvokeInlineAgent$)
|
|
3789
|
-
.build() {
|
|
3635
|
+
class InvokeInlineAgentCommand extends command(_ep0, _mw0, "InvokeInlineAgent", InvokeInlineAgent$) {
|
|
3790
3636
|
}
|
|
3791
3637
|
|
|
3792
|
-
class ListFlowExecutionEventsCommand extends
|
|
3793
|
-
.classBuilder()
|
|
3794
|
-
.ep(commonParams)
|
|
3795
|
-
.m(function (Command, cs, config, o) {
|
|
3796
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3797
|
-
})
|
|
3798
|
-
.s("AmazonBedrockAgentRunTimeService", "ListFlowExecutionEvents", {})
|
|
3799
|
-
.n("BedrockAgentRuntimeClient", "ListFlowExecutionEventsCommand")
|
|
3800
|
-
.sc(ListFlowExecutionEvents$)
|
|
3801
|
-
.build() {
|
|
3638
|
+
class ListFlowExecutionEventsCommand extends command(_ep0, _mw0, "ListFlowExecutionEvents", ListFlowExecutionEvents$) {
|
|
3802
3639
|
}
|
|
3803
3640
|
|
|
3804
|
-
class ListFlowExecutionsCommand extends
|
|
3805
|
-
.classBuilder()
|
|
3806
|
-
.ep(commonParams)
|
|
3807
|
-
.m(function (Command, cs, config, o) {
|
|
3808
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3809
|
-
})
|
|
3810
|
-
.s("AmazonBedrockAgentRunTimeService", "ListFlowExecutions", {})
|
|
3811
|
-
.n("BedrockAgentRuntimeClient", "ListFlowExecutionsCommand")
|
|
3812
|
-
.sc(ListFlowExecutions$)
|
|
3813
|
-
.build() {
|
|
3641
|
+
class ListFlowExecutionsCommand extends command(_ep0, _mw0, "ListFlowExecutions", ListFlowExecutions$) {
|
|
3814
3642
|
}
|
|
3815
3643
|
|
|
3816
|
-
class ListInvocationsCommand extends
|
|
3817
|
-
.classBuilder()
|
|
3818
|
-
.ep(commonParams)
|
|
3819
|
-
.m(function (Command, cs, config, o) {
|
|
3820
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3821
|
-
})
|
|
3822
|
-
.s("AmazonBedrockAgentRunTimeService", "ListInvocations", {})
|
|
3823
|
-
.n("BedrockAgentRuntimeClient", "ListInvocationsCommand")
|
|
3824
|
-
.sc(ListInvocations$)
|
|
3825
|
-
.build() {
|
|
3644
|
+
class ListInvocationsCommand extends command(_ep0, _mw0, "ListInvocations", ListInvocations$) {
|
|
3826
3645
|
}
|
|
3827
3646
|
|
|
3828
|
-
class ListInvocationStepsCommand extends
|
|
3829
|
-
.classBuilder()
|
|
3830
|
-
.ep(commonParams)
|
|
3831
|
-
.m(function (Command, cs, config, o) {
|
|
3832
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3833
|
-
})
|
|
3834
|
-
.s("AmazonBedrockAgentRunTimeService", "ListInvocationSteps", {})
|
|
3835
|
-
.n("BedrockAgentRuntimeClient", "ListInvocationStepsCommand")
|
|
3836
|
-
.sc(ListInvocationSteps$)
|
|
3837
|
-
.build() {
|
|
3647
|
+
class ListInvocationStepsCommand extends command(_ep0, _mw0, "ListInvocationSteps", ListInvocationSteps$) {
|
|
3838
3648
|
}
|
|
3839
3649
|
|
|
3840
|
-
class ListSessionsCommand extends
|
|
3841
|
-
.classBuilder()
|
|
3842
|
-
.ep(commonParams)
|
|
3843
|
-
.m(function (Command, cs, config, o) {
|
|
3844
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3845
|
-
})
|
|
3846
|
-
.s("AmazonBedrockAgentRunTimeService", "ListSessions", {})
|
|
3847
|
-
.n("BedrockAgentRuntimeClient", "ListSessionsCommand")
|
|
3848
|
-
.sc(ListSessions$)
|
|
3849
|
-
.build() {
|
|
3650
|
+
class ListSessionsCommand extends command(_ep0, _mw0, "ListSessions", ListSessions$) {
|
|
3850
3651
|
}
|
|
3851
3652
|
|
|
3852
|
-
class ListTagsForResourceCommand extends
|
|
3853
|
-
.classBuilder()
|
|
3854
|
-
.ep(commonParams)
|
|
3855
|
-
.m(function (Command, cs, config, o) {
|
|
3856
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3857
|
-
})
|
|
3858
|
-
.s("AmazonBedrockAgentRunTimeService", "ListTagsForResource", {})
|
|
3859
|
-
.n("BedrockAgentRuntimeClient", "ListTagsForResourceCommand")
|
|
3860
|
-
.sc(ListTagsForResource$)
|
|
3861
|
-
.build() {
|
|
3653
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
3862
3654
|
}
|
|
3863
3655
|
|
|
3864
|
-
class OptimizePromptCommand extends
|
|
3865
|
-
.classBuilder()
|
|
3866
|
-
.ep(commonParams)
|
|
3867
|
-
.m(function (Command, cs, config, o) {
|
|
3868
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3869
|
-
})
|
|
3870
|
-
.s("AmazonBedrockAgentRunTimeService", "OptimizePrompt", {
|
|
3871
|
-
eventStream: {
|
|
3872
|
-
output: true,
|
|
3873
|
-
},
|
|
3874
|
-
})
|
|
3875
|
-
.n("BedrockAgentRuntimeClient", "OptimizePromptCommand")
|
|
3876
|
-
.sc(OptimizePrompt$)
|
|
3877
|
-
.build() {
|
|
3656
|
+
class OptimizePromptCommand extends command(_ep0, _mw0, "OptimizePrompt", OptimizePrompt$) {
|
|
3878
3657
|
}
|
|
3879
3658
|
|
|
3880
|
-
class PutInvocationStepCommand extends
|
|
3881
|
-
.classBuilder()
|
|
3882
|
-
.ep(commonParams)
|
|
3883
|
-
.m(function (Command, cs, config, o) {
|
|
3884
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3885
|
-
})
|
|
3886
|
-
.s("AmazonBedrockAgentRunTimeService", "PutInvocationStep", {})
|
|
3887
|
-
.n("BedrockAgentRuntimeClient", "PutInvocationStepCommand")
|
|
3888
|
-
.sc(PutInvocationStep$)
|
|
3889
|
-
.build() {
|
|
3659
|
+
class PutInvocationStepCommand extends command(_ep0, _mw0, "PutInvocationStep", PutInvocationStep$) {
|
|
3890
3660
|
}
|
|
3891
3661
|
|
|
3892
|
-
class RerankCommand extends
|
|
3893
|
-
.classBuilder()
|
|
3894
|
-
.ep(commonParams)
|
|
3895
|
-
.m(function (Command, cs, config, o) {
|
|
3896
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3897
|
-
})
|
|
3898
|
-
.s("AmazonBedrockAgentRunTimeService", "Rerank", {})
|
|
3899
|
-
.n("BedrockAgentRuntimeClient", "RerankCommand")
|
|
3900
|
-
.sc(Rerank$)
|
|
3901
|
-
.build() {
|
|
3662
|
+
class RerankCommand extends command(_ep0, _mw0, "Rerank", Rerank$) {
|
|
3902
3663
|
}
|
|
3903
3664
|
|
|
3904
|
-
class RetrieveAndGenerateCommand extends
|
|
3905
|
-
.classBuilder()
|
|
3906
|
-
.ep(commonParams)
|
|
3907
|
-
.m(function (Command, cs, config, o) {
|
|
3908
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3909
|
-
})
|
|
3910
|
-
.s("AmazonBedrockAgentRunTimeService", "RetrieveAndGenerate", {})
|
|
3911
|
-
.n("BedrockAgentRuntimeClient", "RetrieveAndGenerateCommand")
|
|
3912
|
-
.sc(RetrieveAndGenerate$)
|
|
3913
|
-
.build() {
|
|
3665
|
+
class RetrieveAndGenerateCommand extends command(_ep0, _mw0, "RetrieveAndGenerate", RetrieveAndGenerate$) {
|
|
3914
3666
|
}
|
|
3915
3667
|
|
|
3916
|
-
class RetrieveAndGenerateStreamCommand extends
|
|
3917
|
-
.classBuilder()
|
|
3918
|
-
.ep(commonParams)
|
|
3919
|
-
.m(function (Command, cs, config, o) {
|
|
3920
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3921
|
-
})
|
|
3922
|
-
.s("AmazonBedrockAgentRunTimeService", "RetrieveAndGenerateStream", {
|
|
3923
|
-
eventStream: {
|
|
3924
|
-
output: true,
|
|
3925
|
-
},
|
|
3926
|
-
})
|
|
3927
|
-
.n("BedrockAgentRuntimeClient", "RetrieveAndGenerateStreamCommand")
|
|
3928
|
-
.sc(RetrieveAndGenerateStream$)
|
|
3929
|
-
.build() {
|
|
3668
|
+
class RetrieveAndGenerateStreamCommand extends command(_ep0, _mw0, "RetrieveAndGenerateStream", RetrieveAndGenerateStream$) {
|
|
3930
3669
|
}
|
|
3931
3670
|
|
|
3932
|
-
class RetrieveCommand extends
|
|
3933
|
-
.classBuilder()
|
|
3934
|
-
.ep(commonParams)
|
|
3935
|
-
.m(function (Command, cs, config, o) {
|
|
3936
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3937
|
-
})
|
|
3938
|
-
.s("AmazonBedrockAgentRunTimeService", "Retrieve", {})
|
|
3939
|
-
.n("BedrockAgentRuntimeClient", "RetrieveCommand")
|
|
3940
|
-
.sc(Retrieve$)
|
|
3941
|
-
.build() {
|
|
3671
|
+
class RetrieveCommand extends command(_ep0, _mw0, "Retrieve", Retrieve$) {
|
|
3942
3672
|
}
|
|
3943
3673
|
|
|
3944
|
-
class StartFlowExecutionCommand extends
|
|
3945
|
-
.classBuilder()
|
|
3946
|
-
.ep(commonParams)
|
|
3947
|
-
.m(function (Command, cs, config, o) {
|
|
3948
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3949
|
-
})
|
|
3950
|
-
.s("AmazonBedrockAgentRunTimeService", "StartFlowExecution", {})
|
|
3951
|
-
.n("BedrockAgentRuntimeClient", "StartFlowExecutionCommand")
|
|
3952
|
-
.sc(StartFlowExecution$)
|
|
3953
|
-
.build() {
|
|
3674
|
+
class StartFlowExecutionCommand extends command(_ep0, _mw0, "StartFlowExecution", StartFlowExecution$) {
|
|
3954
3675
|
}
|
|
3955
3676
|
|
|
3956
|
-
class StopFlowExecutionCommand extends
|
|
3957
|
-
.classBuilder()
|
|
3958
|
-
.ep(commonParams)
|
|
3959
|
-
.m(function (Command, cs, config, o) {
|
|
3960
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3961
|
-
})
|
|
3962
|
-
.s("AmazonBedrockAgentRunTimeService", "StopFlowExecution", {})
|
|
3963
|
-
.n("BedrockAgentRuntimeClient", "StopFlowExecutionCommand")
|
|
3964
|
-
.sc(StopFlowExecution$)
|
|
3965
|
-
.build() {
|
|
3677
|
+
class StopFlowExecutionCommand extends command(_ep0, _mw0, "StopFlowExecution", StopFlowExecution$) {
|
|
3966
3678
|
}
|
|
3967
3679
|
|
|
3968
|
-
class TagResourceCommand extends
|
|
3969
|
-
.classBuilder()
|
|
3970
|
-
.ep(commonParams)
|
|
3971
|
-
.m(function (Command, cs, config, o) {
|
|
3972
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3973
|
-
})
|
|
3974
|
-
.s("AmazonBedrockAgentRunTimeService", "TagResource", {})
|
|
3975
|
-
.n("BedrockAgentRuntimeClient", "TagResourceCommand")
|
|
3976
|
-
.sc(TagResource$)
|
|
3977
|
-
.build() {
|
|
3680
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
3978
3681
|
}
|
|
3979
3682
|
|
|
3980
|
-
class UntagResourceCommand extends
|
|
3981
|
-
.classBuilder()
|
|
3982
|
-
.ep(commonParams)
|
|
3983
|
-
.m(function (Command, cs, config, o) {
|
|
3984
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3985
|
-
})
|
|
3986
|
-
.s("AmazonBedrockAgentRunTimeService", "UntagResource", {})
|
|
3987
|
-
.n("BedrockAgentRuntimeClient", "UntagResourceCommand")
|
|
3988
|
-
.sc(UntagResource$)
|
|
3989
|
-
.build() {
|
|
3683
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
3990
3684
|
}
|
|
3991
3685
|
|
|
3992
|
-
class UpdateSessionCommand extends
|
|
3993
|
-
.classBuilder()
|
|
3994
|
-
.ep(commonParams)
|
|
3995
|
-
.m(function (Command, cs, config, o) {
|
|
3996
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3997
|
-
})
|
|
3998
|
-
.s("AmazonBedrockAgentRunTimeService", "UpdateSession", {})
|
|
3999
|
-
.n("BedrockAgentRuntimeClient", "UpdateSessionCommand")
|
|
4000
|
-
.sc(UpdateSession$)
|
|
4001
|
-
.build() {
|
|
3686
|
+
class UpdateSessionCommand extends command(_ep0, _mw0, "UpdateSession", UpdateSession$) {
|
|
4002
3687
|
}
|
|
4003
3688
|
|
|
4004
3689
|
const paginateGetAgentMemory = createPaginator(BedrockAgentRuntimeClient, GetAgentMemoryCommand, "nextToken", "nextToken", "maxItems");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "AmazonBedrockAgentRunTimeService", "BedrockAgentRuntimeClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,20 +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 { AgenticRetrieveStream$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AgenticRetrieveStreamCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "AgenticRetrieveStream", {
|
|
13
|
-
eventStream: {
|
|
14
|
-
output: true,
|
|
15
|
-
},
|
|
16
|
-
})
|
|
17
|
-
.n("BedrockAgentRuntimeClient", "AgenticRetrieveStreamCommand")
|
|
18
|
-
.sc(AgenticRetrieveStream$)
|
|
19
|
-
.build() {
|
|
3
|
+
export class AgenticRetrieveStreamCommand extends command(_ep0, _mw0, "AgenticRetrieveStream", AgenticRetrieveStream$) {
|
|
20
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 { CreateInvocation$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateInvocationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "CreateInvocation", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "CreateInvocationCommand")
|
|
14
|
-
.sc(CreateInvocation$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateInvocationCommand extends command(_ep0, _mw0, "CreateInvocation", CreateInvocation$) {
|
|
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 { CreateSession$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateSessionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "CreateSession", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "CreateSessionCommand")
|
|
14
|
-
.sc(CreateSession$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateSessionCommand extends command(_ep0, _mw0, "CreateSession", CreateSession$) {
|
|
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 { DeleteAgentMemory$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteAgentMemoryCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "DeleteAgentMemory", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "DeleteAgentMemoryCommand")
|
|
14
|
-
.sc(DeleteAgentMemory$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteAgentMemoryCommand extends command(_ep0, _mw0, "DeleteAgentMemory", DeleteAgentMemory$) {
|
|
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 { DeleteSession$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteSessionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "DeleteSession", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "DeleteSessionCommand")
|
|
14
|
-
.sc(DeleteSession$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteSessionCommand extends command(_ep0, _mw0, "DeleteSession", DeleteSession$) {
|
|
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 { EndSession$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class EndSessionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "EndSession", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "EndSessionCommand")
|
|
14
|
-
.sc(EndSession$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class EndSessionCommand extends command(_ep0, _mw0, "EndSession", EndSession$) {
|
|
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 { GenerateQuery$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GenerateQueryCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "GenerateQuery", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "GenerateQueryCommand")
|
|
14
|
-
.sc(GenerateQuery$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GenerateQueryCommand extends command(_ep0, _mw0, "GenerateQuery", GenerateQuery$) {
|
|
16
4
|
}
|