@aws-sdk/client-bedrock-agent-runtime 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 +41 -357
- 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-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/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/package.json +8 -8
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");
|
|
@@ -69,7 +70,7 @@ const commonParams = {
|
|
|
69
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
71
|
};
|
|
71
72
|
|
|
72
|
-
var version = "3.
|
|
73
|
+
var version = "3.1077.0";
|
|
73
74
|
var packageInfo = {
|
|
74
75
|
version: version};
|
|
75
76
|
|
|
@@ -3582,424 +3583,107 @@ class BedrockAgentRuntimeClient extends Client {
|
|
|
3582
3583
|
}
|
|
3583
3584
|
}
|
|
3584
3585
|
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
})
|
|
3591
|
-
.s("AmazonBedrockAgentRunTimeService", "AgenticRetrieveStream", {
|
|
3592
|
-
eventStream: {
|
|
3593
|
-
output: true,
|
|
3594
|
-
},
|
|
3595
|
-
})
|
|
3596
|
-
.n("BedrockAgentRuntimeClient", "AgenticRetrieveStreamCommand")
|
|
3597
|
-
.sc(AgenticRetrieveStream$)
|
|
3598
|
-
.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$) {
|
|
3599
3591
|
}
|
|
3600
3592
|
|
|
3601
|
-
class CreateInvocationCommand extends
|
|
3602
|
-
.classBuilder()
|
|
3603
|
-
.ep(commonParams)
|
|
3604
|
-
.m(function (Command, cs, config, o) {
|
|
3605
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3606
|
-
})
|
|
3607
|
-
.s("AmazonBedrockAgentRunTimeService", "CreateInvocation", {})
|
|
3608
|
-
.n("BedrockAgentRuntimeClient", "CreateInvocationCommand")
|
|
3609
|
-
.sc(CreateInvocation$)
|
|
3610
|
-
.build() {
|
|
3593
|
+
class CreateInvocationCommand extends command(_ep0, _mw0, "CreateInvocation", CreateInvocation$) {
|
|
3611
3594
|
}
|
|
3612
3595
|
|
|
3613
|
-
class CreateSessionCommand extends
|
|
3614
|
-
.classBuilder()
|
|
3615
|
-
.ep(commonParams)
|
|
3616
|
-
.m(function (Command, cs, config, o) {
|
|
3617
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3618
|
-
})
|
|
3619
|
-
.s("AmazonBedrockAgentRunTimeService", "CreateSession", {})
|
|
3620
|
-
.n("BedrockAgentRuntimeClient", "CreateSessionCommand")
|
|
3621
|
-
.sc(CreateSession$)
|
|
3622
|
-
.build() {
|
|
3596
|
+
class CreateSessionCommand extends command(_ep0, _mw0, "CreateSession", CreateSession$) {
|
|
3623
3597
|
}
|
|
3624
3598
|
|
|
3625
|
-
class DeleteAgentMemoryCommand extends
|
|
3626
|
-
.classBuilder()
|
|
3627
|
-
.ep(commonParams)
|
|
3628
|
-
.m(function (Command, cs, config, o) {
|
|
3629
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3630
|
-
})
|
|
3631
|
-
.s("AmazonBedrockAgentRunTimeService", "DeleteAgentMemory", {})
|
|
3632
|
-
.n("BedrockAgentRuntimeClient", "DeleteAgentMemoryCommand")
|
|
3633
|
-
.sc(DeleteAgentMemory$)
|
|
3634
|
-
.build() {
|
|
3599
|
+
class DeleteAgentMemoryCommand extends command(_ep0, _mw0, "DeleteAgentMemory", DeleteAgentMemory$) {
|
|
3635
3600
|
}
|
|
3636
3601
|
|
|
3637
|
-
class DeleteSessionCommand extends
|
|
3638
|
-
.classBuilder()
|
|
3639
|
-
.ep(commonParams)
|
|
3640
|
-
.m(function (Command, cs, config, o) {
|
|
3641
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3642
|
-
})
|
|
3643
|
-
.s("AmazonBedrockAgentRunTimeService", "DeleteSession", {})
|
|
3644
|
-
.n("BedrockAgentRuntimeClient", "DeleteSessionCommand")
|
|
3645
|
-
.sc(DeleteSession$)
|
|
3646
|
-
.build() {
|
|
3602
|
+
class DeleteSessionCommand extends command(_ep0, _mw0, "DeleteSession", DeleteSession$) {
|
|
3647
3603
|
}
|
|
3648
3604
|
|
|
3649
|
-
class EndSessionCommand extends
|
|
3650
|
-
.classBuilder()
|
|
3651
|
-
.ep(commonParams)
|
|
3652
|
-
.m(function (Command, cs, config, o) {
|
|
3653
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3654
|
-
})
|
|
3655
|
-
.s("AmazonBedrockAgentRunTimeService", "EndSession", {})
|
|
3656
|
-
.n("BedrockAgentRuntimeClient", "EndSessionCommand")
|
|
3657
|
-
.sc(EndSession$)
|
|
3658
|
-
.build() {
|
|
3605
|
+
class EndSessionCommand extends command(_ep0, _mw0, "EndSession", EndSession$) {
|
|
3659
3606
|
}
|
|
3660
3607
|
|
|
3661
|
-
class GenerateQueryCommand extends
|
|
3662
|
-
.classBuilder()
|
|
3663
|
-
.ep(commonParams)
|
|
3664
|
-
.m(function (Command, cs, config, o) {
|
|
3665
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3666
|
-
})
|
|
3667
|
-
.s("AmazonBedrockAgentRunTimeService", "GenerateQuery", {})
|
|
3668
|
-
.n("BedrockAgentRuntimeClient", "GenerateQueryCommand")
|
|
3669
|
-
.sc(GenerateQuery$)
|
|
3670
|
-
.build() {
|
|
3608
|
+
class GenerateQueryCommand extends command(_ep0, _mw0, "GenerateQuery", GenerateQuery$) {
|
|
3671
3609
|
}
|
|
3672
3610
|
|
|
3673
|
-
class GetAgentMemoryCommand extends
|
|
3674
|
-
.classBuilder()
|
|
3675
|
-
.ep(commonParams)
|
|
3676
|
-
.m(function (Command, cs, config, o) {
|
|
3677
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3678
|
-
})
|
|
3679
|
-
.s("AmazonBedrockAgentRunTimeService", "GetAgentMemory", {})
|
|
3680
|
-
.n("BedrockAgentRuntimeClient", "GetAgentMemoryCommand")
|
|
3681
|
-
.sc(GetAgentMemory$)
|
|
3682
|
-
.build() {
|
|
3611
|
+
class GetAgentMemoryCommand extends command(_ep0, _mw0, "GetAgentMemory", GetAgentMemory$) {
|
|
3683
3612
|
}
|
|
3684
3613
|
|
|
3685
|
-
class GetDocumentContentCommand extends
|
|
3686
|
-
.classBuilder()
|
|
3687
|
-
.ep(commonParams)
|
|
3688
|
-
.m(function (Command, cs, config, o) {
|
|
3689
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3690
|
-
})
|
|
3691
|
-
.s("AmazonBedrockAgentRunTimeService", "GetDocumentContent", {})
|
|
3692
|
-
.n("BedrockAgentRuntimeClient", "GetDocumentContentCommand")
|
|
3693
|
-
.sc(GetDocumentContent$)
|
|
3694
|
-
.build() {
|
|
3614
|
+
class GetDocumentContentCommand extends command(_ep0, _mw0, "GetDocumentContent", GetDocumentContent$) {
|
|
3695
3615
|
}
|
|
3696
3616
|
|
|
3697
|
-
class GetExecutionFlowSnapshotCommand extends
|
|
3698
|
-
.classBuilder()
|
|
3699
|
-
.ep(commonParams)
|
|
3700
|
-
.m(function (Command, cs, config, o) {
|
|
3701
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3702
|
-
})
|
|
3703
|
-
.s("AmazonBedrockAgentRunTimeService", "GetExecutionFlowSnapshot", {})
|
|
3704
|
-
.n("BedrockAgentRuntimeClient", "GetExecutionFlowSnapshotCommand")
|
|
3705
|
-
.sc(GetExecutionFlowSnapshot$)
|
|
3706
|
-
.build() {
|
|
3617
|
+
class GetExecutionFlowSnapshotCommand extends command(_ep0, _mw0, "GetExecutionFlowSnapshot", GetExecutionFlowSnapshot$) {
|
|
3707
3618
|
}
|
|
3708
3619
|
|
|
3709
|
-
class GetFlowExecutionCommand extends
|
|
3710
|
-
.classBuilder()
|
|
3711
|
-
.ep(commonParams)
|
|
3712
|
-
.m(function (Command, cs, config, o) {
|
|
3713
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3714
|
-
})
|
|
3715
|
-
.s("AmazonBedrockAgentRunTimeService", "GetFlowExecution", {})
|
|
3716
|
-
.n("BedrockAgentRuntimeClient", "GetFlowExecutionCommand")
|
|
3717
|
-
.sc(GetFlowExecution$)
|
|
3718
|
-
.build() {
|
|
3620
|
+
class GetFlowExecutionCommand extends command(_ep0, _mw0, "GetFlowExecution", GetFlowExecution$) {
|
|
3719
3621
|
}
|
|
3720
3622
|
|
|
3721
|
-
class GetInvocationStepCommand extends
|
|
3722
|
-
.classBuilder()
|
|
3723
|
-
.ep(commonParams)
|
|
3724
|
-
.m(function (Command, cs, config, o) {
|
|
3725
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3726
|
-
})
|
|
3727
|
-
.s("AmazonBedrockAgentRunTimeService", "GetInvocationStep", {})
|
|
3728
|
-
.n("BedrockAgentRuntimeClient", "GetInvocationStepCommand")
|
|
3729
|
-
.sc(GetInvocationStep$)
|
|
3730
|
-
.build() {
|
|
3623
|
+
class GetInvocationStepCommand extends command(_ep0, _mw0, "GetInvocationStep", GetInvocationStep$) {
|
|
3731
3624
|
}
|
|
3732
3625
|
|
|
3733
|
-
class GetSessionCommand extends
|
|
3734
|
-
.classBuilder()
|
|
3735
|
-
.ep(commonParams)
|
|
3736
|
-
.m(function (Command, cs, config, o) {
|
|
3737
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3738
|
-
})
|
|
3739
|
-
.s("AmazonBedrockAgentRunTimeService", "GetSession", {})
|
|
3740
|
-
.n("BedrockAgentRuntimeClient", "GetSessionCommand")
|
|
3741
|
-
.sc(GetSession$)
|
|
3742
|
-
.build() {
|
|
3626
|
+
class GetSessionCommand extends command(_ep0, _mw0, "GetSession", GetSession$) {
|
|
3743
3627
|
}
|
|
3744
3628
|
|
|
3745
|
-
class InvokeAgentCommand extends
|
|
3746
|
-
.classBuilder()
|
|
3747
|
-
.ep(commonParams)
|
|
3748
|
-
.m(function (Command, cs, config, o) {
|
|
3749
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3750
|
-
})
|
|
3751
|
-
.s("AmazonBedrockAgentRunTimeService", "InvokeAgent", {
|
|
3752
|
-
eventStream: {
|
|
3753
|
-
output: true,
|
|
3754
|
-
},
|
|
3755
|
-
})
|
|
3756
|
-
.n("BedrockAgentRuntimeClient", "InvokeAgentCommand")
|
|
3757
|
-
.sc(InvokeAgent$)
|
|
3758
|
-
.build() {
|
|
3629
|
+
class InvokeAgentCommand extends command(_ep0, _mw0, "InvokeAgent", InvokeAgent$) {
|
|
3759
3630
|
}
|
|
3760
3631
|
|
|
3761
|
-
class InvokeFlowCommand extends
|
|
3762
|
-
.classBuilder()
|
|
3763
|
-
.ep(commonParams)
|
|
3764
|
-
.m(function (Command, cs, config, o) {
|
|
3765
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3766
|
-
})
|
|
3767
|
-
.s("AmazonBedrockAgentRunTimeService", "InvokeFlow", {
|
|
3768
|
-
eventStream: {
|
|
3769
|
-
output: true,
|
|
3770
|
-
},
|
|
3771
|
-
})
|
|
3772
|
-
.n("BedrockAgentRuntimeClient", "InvokeFlowCommand")
|
|
3773
|
-
.sc(InvokeFlow$)
|
|
3774
|
-
.build() {
|
|
3632
|
+
class InvokeFlowCommand extends command(_ep0, _mw0, "InvokeFlow", InvokeFlow$) {
|
|
3775
3633
|
}
|
|
3776
3634
|
|
|
3777
|
-
class InvokeInlineAgentCommand extends
|
|
3778
|
-
.classBuilder()
|
|
3779
|
-
.ep(commonParams)
|
|
3780
|
-
.m(function (Command, cs, config, o) {
|
|
3781
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3782
|
-
})
|
|
3783
|
-
.s("AmazonBedrockAgentRunTimeService", "InvokeInlineAgent", {
|
|
3784
|
-
eventStream: {
|
|
3785
|
-
output: true,
|
|
3786
|
-
},
|
|
3787
|
-
})
|
|
3788
|
-
.n("BedrockAgentRuntimeClient", "InvokeInlineAgentCommand")
|
|
3789
|
-
.sc(InvokeInlineAgent$)
|
|
3790
|
-
.build() {
|
|
3635
|
+
class InvokeInlineAgentCommand extends command(_ep0, _mw0, "InvokeInlineAgent", InvokeInlineAgent$) {
|
|
3791
3636
|
}
|
|
3792
3637
|
|
|
3793
|
-
class ListFlowExecutionEventsCommand extends
|
|
3794
|
-
.classBuilder()
|
|
3795
|
-
.ep(commonParams)
|
|
3796
|
-
.m(function (Command, cs, config, o) {
|
|
3797
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3798
|
-
})
|
|
3799
|
-
.s("AmazonBedrockAgentRunTimeService", "ListFlowExecutionEvents", {})
|
|
3800
|
-
.n("BedrockAgentRuntimeClient", "ListFlowExecutionEventsCommand")
|
|
3801
|
-
.sc(ListFlowExecutionEvents$)
|
|
3802
|
-
.build() {
|
|
3638
|
+
class ListFlowExecutionEventsCommand extends command(_ep0, _mw0, "ListFlowExecutionEvents", ListFlowExecutionEvents$) {
|
|
3803
3639
|
}
|
|
3804
3640
|
|
|
3805
|
-
class ListFlowExecutionsCommand extends
|
|
3806
|
-
.classBuilder()
|
|
3807
|
-
.ep(commonParams)
|
|
3808
|
-
.m(function (Command, cs, config, o) {
|
|
3809
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3810
|
-
})
|
|
3811
|
-
.s("AmazonBedrockAgentRunTimeService", "ListFlowExecutions", {})
|
|
3812
|
-
.n("BedrockAgentRuntimeClient", "ListFlowExecutionsCommand")
|
|
3813
|
-
.sc(ListFlowExecutions$)
|
|
3814
|
-
.build() {
|
|
3641
|
+
class ListFlowExecutionsCommand extends command(_ep0, _mw0, "ListFlowExecutions", ListFlowExecutions$) {
|
|
3815
3642
|
}
|
|
3816
3643
|
|
|
3817
|
-
class ListInvocationsCommand extends
|
|
3818
|
-
.classBuilder()
|
|
3819
|
-
.ep(commonParams)
|
|
3820
|
-
.m(function (Command, cs, config, o) {
|
|
3821
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3822
|
-
})
|
|
3823
|
-
.s("AmazonBedrockAgentRunTimeService", "ListInvocations", {})
|
|
3824
|
-
.n("BedrockAgentRuntimeClient", "ListInvocationsCommand")
|
|
3825
|
-
.sc(ListInvocations$)
|
|
3826
|
-
.build() {
|
|
3644
|
+
class ListInvocationsCommand extends command(_ep0, _mw0, "ListInvocations", ListInvocations$) {
|
|
3827
3645
|
}
|
|
3828
3646
|
|
|
3829
|
-
class ListInvocationStepsCommand extends
|
|
3830
|
-
.classBuilder()
|
|
3831
|
-
.ep(commonParams)
|
|
3832
|
-
.m(function (Command, cs, config, o) {
|
|
3833
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3834
|
-
})
|
|
3835
|
-
.s("AmazonBedrockAgentRunTimeService", "ListInvocationSteps", {})
|
|
3836
|
-
.n("BedrockAgentRuntimeClient", "ListInvocationStepsCommand")
|
|
3837
|
-
.sc(ListInvocationSteps$)
|
|
3838
|
-
.build() {
|
|
3647
|
+
class ListInvocationStepsCommand extends command(_ep0, _mw0, "ListInvocationSteps", ListInvocationSteps$) {
|
|
3839
3648
|
}
|
|
3840
3649
|
|
|
3841
|
-
class ListSessionsCommand extends
|
|
3842
|
-
.classBuilder()
|
|
3843
|
-
.ep(commonParams)
|
|
3844
|
-
.m(function (Command, cs, config, o) {
|
|
3845
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3846
|
-
})
|
|
3847
|
-
.s("AmazonBedrockAgentRunTimeService", "ListSessions", {})
|
|
3848
|
-
.n("BedrockAgentRuntimeClient", "ListSessionsCommand")
|
|
3849
|
-
.sc(ListSessions$)
|
|
3850
|
-
.build() {
|
|
3650
|
+
class ListSessionsCommand extends command(_ep0, _mw0, "ListSessions", ListSessions$) {
|
|
3851
3651
|
}
|
|
3852
3652
|
|
|
3853
|
-
class ListTagsForResourceCommand extends
|
|
3854
|
-
.classBuilder()
|
|
3855
|
-
.ep(commonParams)
|
|
3856
|
-
.m(function (Command, cs, config, o) {
|
|
3857
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3858
|
-
})
|
|
3859
|
-
.s("AmazonBedrockAgentRunTimeService", "ListTagsForResource", {})
|
|
3860
|
-
.n("BedrockAgentRuntimeClient", "ListTagsForResourceCommand")
|
|
3861
|
-
.sc(ListTagsForResource$)
|
|
3862
|
-
.build() {
|
|
3653
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
3863
3654
|
}
|
|
3864
3655
|
|
|
3865
|
-
class OptimizePromptCommand extends
|
|
3866
|
-
.classBuilder()
|
|
3867
|
-
.ep(commonParams)
|
|
3868
|
-
.m(function (Command, cs, config, o) {
|
|
3869
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3870
|
-
})
|
|
3871
|
-
.s("AmazonBedrockAgentRunTimeService", "OptimizePrompt", {
|
|
3872
|
-
eventStream: {
|
|
3873
|
-
output: true,
|
|
3874
|
-
},
|
|
3875
|
-
})
|
|
3876
|
-
.n("BedrockAgentRuntimeClient", "OptimizePromptCommand")
|
|
3877
|
-
.sc(OptimizePrompt$)
|
|
3878
|
-
.build() {
|
|
3656
|
+
class OptimizePromptCommand extends command(_ep0, _mw0, "OptimizePrompt", OptimizePrompt$) {
|
|
3879
3657
|
}
|
|
3880
3658
|
|
|
3881
|
-
class PutInvocationStepCommand extends
|
|
3882
|
-
.classBuilder()
|
|
3883
|
-
.ep(commonParams)
|
|
3884
|
-
.m(function (Command, cs, config, o) {
|
|
3885
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3886
|
-
})
|
|
3887
|
-
.s("AmazonBedrockAgentRunTimeService", "PutInvocationStep", {})
|
|
3888
|
-
.n("BedrockAgentRuntimeClient", "PutInvocationStepCommand")
|
|
3889
|
-
.sc(PutInvocationStep$)
|
|
3890
|
-
.build() {
|
|
3659
|
+
class PutInvocationStepCommand extends command(_ep0, _mw0, "PutInvocationStep", PutInvocationStep$) {
|
|
3891
3660
|
}
|
|
3892
3661
|
|
|
3893
|
-
class RerankCommand extends
|
|
3894
|
-
.classBuilder()
|
|
3895
|
-
.ep(commonParams)
|
|
3896
|
-
.m(function (Command, cs, config, o) {
|
|
3897
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3898
|
-
})
|
|
3899
|
-
.s("AmazonBedrockAgentRunTimeService", "Rerank", {})
|
|
3900
|
-
.n("BedrockAgentRuntimeClient", "RerankCommand")
|
|
3901
|
-
.sc(Rerank$)
|
|
3902
|
-
.build() {
|
|
3662
|
+
class RerankCommand extends command(_ep0, _mw0, "Rerank", Rerank$) {
|
|
3903
3663
|
}
|
|
3904
3664
|
|
|
3905
|
-
class RetrieveAndGenerateCommand extends
|
|
3906
|
-
.classBuilder()
|
|
3907
|
-
.ep(commonParams)
|
|
3908
|
-
.m(function (Command, cs, config, o) {
|
|
3909
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3910
|
-
})
|
|
3911
|
-
.s("AmazonBedrockAgentRunTimeService", "RetrieveAndGenerate", {})
|
|
3912
|
-
.n("BedrockAgentRuntimeClient", "RetrieveAndGenerateCommand")
|
|
3913
|
-
.sc(RetrieveAndGenerate$)
|
|
3914
|
-
.build() {
|
|
3665
|
+
class RetrieveAndGenerateCommand extends command(_ep0, _mw0, "RetrieveAndGenerate", RetrieveAndGenerate$) {
|
|
3915
3666
|
}
|
|
3916
3667
|
|
|
3917
|
-
class RetrieveAndGenerateStreamCommand extends
|
|
3918
|
-
.classBuilder()
|
|
3919
|
-
.ep(commonParams)
|
|
3920
|
-
.m(function (Command, cs, config, o) {
|
|
3921
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3922
|
-
})
|
|
3923
|
-
.s("AmazonBedrockAgentRunTimeService", "RetrieveAndGenerateStream", {
|
|
3924
|
-
eventStream: {
|
|
3925
|
-
output: true,
|
|
3926
|
-
},
|
|
3927
|
-
})
|
|
3928
|
-
.n("BedrockAgentRuntimeClient", "RetrieveAndGenerateStreamCommand")
|
|
3929
|
-
.sc(RetrieveAndGenerateStream$)
|
|
3930
|
-
.build() {
|
|
3668
|
+
class RetrieveAndGenerateStreamCommand extends command(_ep0, _mw0, "RetrieveAndGenerateStream", RetrieveAndGenerateStream$) {
|
|
3931
3669
|
}
|
|
3932
3670
|
|
|
3933
|
-
class RetrieveCommand extends
|
|
3934
|
-
.classBuilder()
|
|
3935
|
-
.ep(commonParams)
|
|
3936
|
-
.m(function (Command, cs, config, o) {
|
|
3937
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3938
|
-
})
|
|
3939
|
-
.s("AmazonBedrockAgentRunTimeService", "Retrieve", {})
|
|
3940
|
-
.n("BedrockAgentRuntimeClient", "RetrieveCommand")
|
|
3941
|
-
.sc(Retrieve$)
|
|
3942
|
-
.build() {
|
|
3671
|
+
class RetrieveCommand extends command(_ep0, _mw0, "Retrieve", Retrieve$) {
|
|
3943
3672
|
}
|
|
3944
3673
|
|
|
3945
|
-
class StartFlowExecutionCommand extends
|
|
3946
|
-
.classBuilder()
|
|
3947
|
-
.ep(commonParams)
|
|
3948
|
-
.m(function (Command, cs, config, o) {
|
|
3949
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3950
|
-
})
|
|
3951
|
-
.s("AmazonBedrockAgentRunTimeService", "StartFlowExecution", {})
|
|
3952
|
-
.n("BedrockAgentRuntimeClient", "StartFlowExecutionCommand")
|
|
3953
|
-
.sc(StartFlowExecution$)
|
|
3954
|
-
.build() {
|
|
3674
|
+
class StartFlowExecutionCommand extends command(_ep0, _mw0, "StartFlowExecution", StartFlowExecution$) {
|
|
3955
3675
|
}
|
|
3956
3676
|
|
|
3957
|
-
class StopFlowExecutionCommand extends
|
|
3958
|
-
.classBuilder()
|
|
3959
|
-
.ep(commonParams)
|
|
3960
|
-
.m(function (Command, cs, config, o) {
|
|
3961
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3962
|
-
})
|
|
3963
|
-
.s("AmazonBedrockAgentRunTimeService", "StopFlowExecution", {})
|
|
3964
|
-
.n("BedrockAgentRuntimeClient", "StopFlowExecutionCommand")
|
|
3965
|
-
.sc(StopFlowExecution$)
|
|
3966
|
-
.build() {
|
|
3677
|
+
class StopFlowExecutionCommand extends command(_ep0, _mw0, "StopFlowExecution", StopFlowExecution$) {
|
|
3967
3678
|
}
|
|
3968
3679
|
|
|
3969
|
-
class TagResourceCommand extends
|
|
3970
|
-
.classBuilder()
|
|
3971
|
-
.ep(commonParams)
|
|
3972
|
-
.m(function (Command, cs, config, o) {
|
|
3973
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3974
|
-
})
|
|
3975
|
-
.s("AmazonBedrockAgentRunTimeService", "TagResource", {})
|
|
3976
|
-
.n("BedrockAgentRuntimeClient", "TagResourceCommand")
|
|
3977
|
-
.sc(TagResource$)
|
|
3978
|
-
.build() {
|
|
3680
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
3979
3681
|
}
|
|
3980
3682
|
|
|
3981
|
-
class UntagResourceCommand extends
|
|
3982
|
-
.classBuilder()
|
|
3983
|
-
.ep(commonParams)
|
|
3984
|
-
.m(function (Command, cs, config, o) {
|
|
3985
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3986
|
-
})
|
|
3987
|
-
.s("AmazonBedrockAgentRunTimeService", "UntagResource", {})
|
|
3988
|
-
.n("BedrockAgentRuntimeClient", "UntagResourceCommand")
|
|
3989
|
-
.sc(UntagResource$)
|
|
3990
|
-
.build() {
|
|
3683
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
3991
3684
|
}
|
|
3992
3685
|
|
|
3993
|
-
class UpdateSessionCommand extends
|
|
3994
|
-
.classBuilder()
|
|
3995
|
-
.ep(commonParams)
|
|
3996
|
-
.m(function (Command, cs, config, o) {
|
|
3997
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3998
|
-
})
|
|
3999
|
-
.s("AmazonBedrockAgentRunTimeService", "UpdateSession", {})
|
|
4000
|
-
.n("BedrockAgentRuntimeClient", "UpdateSessionCommand")
|
|
4001
|
-
.sc(UpdateSession$)
|
|
4002
|
-
.build() {
|
|
3686
|
+
class UpdateSessionCommand extends command(_ep0, _mw0, "UpdateSession", UpdateSession$) {
|
|
4003
3687
|
}
|
|
4004
3688
|
|
|
4005
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
|
}
|
|
@@ -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 { GetAgentMemory$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetAgentMemoryCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "GetAgentMemory", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "GetAgentMemoryCommand")
|
|
14
|
-
.sc(GetAgentMemory$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetAgentMemoryCommand extends command(_ep0, _mw0, "GetAgentMemory", GetAgentMemory$) {
|
|
16
4
|
}
|