@aws-sdk/client-bedrock-agent-runtime 3.1077.0 → 3.1079.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.
Files changed (107) hide show
  1. package/dist-cjs/index.js +41 -357
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AgenticRetrieveStreamCommand.js +2 -18
  4. package/dist-es/commands/CreateInvocationCommand.js +2 -14
  5. package/dist-es/commands/CreateSessionCommand.js +2 -14
  6. package/dist-es/commands/DeleteAgentMemoryCommand.js +2 -14
  7. package/dist-es/commands/DeleteSessionCommand.js +2 -14
  8. package/dist-es/commands/EndSessionCommand.js +2 -14
  9. package/dist-es/commands/GenerateQueryCommand.js +2 -14
  10. package/dist-es/commands/GetAgentMemoryCommand.js +2 -14
  11. package/dist-es/commands/GetDocumentContentCommand.js +2 -14
  12. package/dist-es/commands/GetExecutionFlowSnapshotCommand.js +2 -14
  13. package/dist-es/commands/GetFlowExecutionCommand.js +2 -14
  14. package/dist-es/commands/GetInvocationStepCommand.js +2 -14
  15. package/dist-es/commands/GetSessionCommand.js +2 -14
  16. package/dist-es/commands/InvokeAgentCommand.js +2 -18
  17. package/dist-es/commands/InvokeFlowCommand.js +2 -18
  18. package/dist-es/commands/InvokeInlineAgentCommand.js +2 -18
  19. package/dist-es/commands/ListFlowExecutionEventsCommand.js +2 -14
  20. package/dist-es/commands/ListFlowExecutionsCommand.js +2 -14
  21. package/dist-es/commands/ListInvocationStepsCommand.js +2 -14
  22. package/dist-es/commands/ListInvocationsCommand.js +2 -14
  23. package/dist-es/commands/ListSessionsCommand.js +2 -14
  24. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  25. package/dist-es/commands/OptimizePromptCommand.js +2 -18
  26. package/dist-es/commands/PutInvocationStepCommand.js +2 -14
  27. package/dist-es/commands/RerankCommand.js +2 -14
  28. package/dist-es/commands/RetrieveAndGenerateCommand.js +2 -14
  29. package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +2 -18
  30. package/dist-es/commands/RetrieveCommand.js +2 -14
  31. package/dist-es/commands/StartFlowExecutionCommand.js +2 -14
  32. package/dist-es/commands/StopFlowExecutionCommand.js +2 -14
  33. package/dist-es/commands/TagResourceCommand.js +2 -14
  34. package/dist-es/commands/UntagResourceCommand.js +2 -14
  35. package/dist-es/commands/UpdateSessionCommand.js +2 -14
  36. package/dist-es/index.js +1 -0
  37. package/dist-types/commandBuilder.d.ts +18 -0
  38. package/dist-types/commands/AgenticRetrieveStreamCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateInvocationCommand.d.ts +3 -8
  40. package/dist-types/commands/CreateSessionCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteAgentMemoryCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteSessionCommand.d.ts +3 -8
  43. package/dist-types/commands/EndSessionCommand.d.ts +3 -8
  44. package/dist-types/commands/GenerateQueryCommand.d.ts +3 -8
  45. package/dist-types/commands/GetAgentMemoryCommand.d.ts +3 -8
  46. package/dist-types/commands/GetDocumentContentCommand.d.ts +3 -8
  47. package/dist-types/commands/GetExecutionFlowSnapshotCommand.d.ts +3 -8
  48. package/dist-types/commands/GetFlowExecutionCommand.d.ts +3 -8
  49. package/dist-types/commands/GetInvocationStepCommand.d.ts +3 -8
  50. package/dist-types/commands/GetSessionCommand.d.ts +3 -8
  51. package/dist-types/commands/InvokeAgentCommand.d.ts +3 -8
  52. package/dist-types/commands/InvokeFlowCommand.d.ts +3 -8
  53. package/dist-types/commands/InvokeInlineAgentCommand.d.ts +3 -8
  54. package/dist-types/commands/ListFlowExecutionEventsCommand.d.ts +3 -8
  55. package/dist-types/commands/ListFlowExecutionsCommand.d.ts +3 -8
  56. package/dist-types/commands/ListInvocationStepsCommand.d.ts +3 -8
  57. package/dist-types/commands/ListInvocationsCommand.d.ts +3 -8
  58. package/dist-types/commands/ListSessionsCommand.d.ts +3 -8
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  60. package/dist-types/commands/OptimizePromptCommand.d.ts +3 -8
  61. package/dist-types/commands/PutInvocationStepCommand.d.ts +3 -8
  62. package/dist-types/commands/RerankCommand.d.ts +3 -8
  63. package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +3 -8
  64. package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +3 -8
  65. package/dist-types/commands/RetrieveCommand.d.ts +3 -8
  66. package/dist-types/commands/StartFlowExecutionCommand.d.ts +3 -8
  67. package/dist-types/commands/StopFlowExecutionCommand.d.ts +3 -8
  68. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  69. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  70. package/dist-types/commands/UpdateSessionCommand.d.ts +3 -8
  71. package/dist-types/index.d.ts +1 -0
  72. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  73. package/dist-types/ts3.4/commands/AgenticRetrieveStreamCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DeleteAgentMemoryCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/GenerateQueryCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/GetAgentMemoryCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetDocumentContentCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetExecutionFlowSnapshotCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/GetFlowExecutionCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/InvokeFlowCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ListFlowExecutionEventsCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/ListFlowExecutionsCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/OptimizePromptCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/RerankCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/StartFlowExecutionCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/StopFlowExecutionCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/index.d.ts +1 -0
  107. 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, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
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.1076.0";
73
+ var version = "3.1078.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
- class AgenticRetrieveStreamCommand extends Command
3586
- .classBuilder()
3587
- .ep(commonParams)
3588
- .m(function (Command, cs, config, o) {
3589
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 Command
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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
  }