@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.
Files changed (119) hide show
  1. package/dist-cjs/index.js +44 -359
  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-es/runtimeConfig.browser.js +0 -2
  38. package/dist-es/runtimeConfig.js +1 -2
  39. package/dist-es/runtimeConfig.native.js +0 -2
  40. package/dist-es/runtimeConfig.shared.js +2 -0
  41. package/dist-types/commandBuilder.d.ts +18 -0
  42. package/dist-types/commands/AgenticRetrieveStreamCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateInvocationCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateSessionCommand.d.ts +3 -8
  45. package/dist-types/commands/DeleteAgentMemoryCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteSessionCommand.d.ts +3 -8
  47. package/dist-types/commands/EndSessionCommand.d.ts +3 -8
  48. package/dist-types/commands/GenerateQueryCommand.d.ts +3 -8
  49. package/dist-types/commands/GetAgentMemoryCommand.d.ts +3 -8
  50. package/dist-types/commands/GetDocumentContentCommand.d.ts +3 -8
  51. package/dist-types/commands/GetExecutionFlowSnapshotCommand.d.ts +3 -8
  52. package/dist-types/commands/GetFlowExecutionCommand.d.ts +3 -8
  53. package/dist-types/commands/GetInvocationStepCommand.d.ts +3 -8
  54. package/dist-types/commands/GetSessionCommand.d.ts +3 -8
  55. package/dist-types/commands/InvokeAgentCommand.d.ts +3 -8
  56. package/dist-types/commands/InvokeFlowCommand.d.ts +3 -8
  57. package/dist-types/commands/InvokeInlineAgentCommand.d.ts +3 -8
  58. package/dist-types/commands/ListFlowExecutionEventsCommand.d.ts +3 -8
  59. package/dist-types/commands/ListFlowExecutionsCommand.d.ts +3 -8
  60. package/dist-types/commands/ListInvocationStepsCommand.d.ts +3 -8
  61. package/dist-types/commands/ListInvocationsCommand.d.ts +3 -8
  62. package/dist-types/commands/ListSessionsCommand.d.ts +3 -8
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  64. package/dist-types/commands/OptimizePromptCommand.d.ts +3 -8
  65. package/dist-types/commands/PutInvocationStepCommand.d.ts +3 -8
  66. package/dist-types/commands/RerankCommand.d.ts +3 -8
  67. package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +3 -8
  68. package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +3 -8
  69. package/dist-types/commands/RetrieveCommand.d.ts +3 -8
  70. package/dist-types/commands/StartFlowExecutionCommand.d.ts +3 -8
  71. package/dist-types/commands/StopFlowExecutionCommand.d.ts +3 -8
  72. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  73. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  74. package/dist-types/commands/UpdateSessionCommand.d.ts +3 -8
  75. package/dist-types/index.d.ts +1 -0
  76. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  77. package/dist-types/runtimeConfig.d.ts +1 -1
  78. package/dist-types/runtimeConfig.native.d.ts +1 -1
  79. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  80. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  81. package/dist-types/ts3.4/commands/AgenticRetrieveStreamCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DeleteAgentMemoryCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/GenerateQueryCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetAgentMemoryCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetDocumentContentCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetExecutionFlowSnapshotCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/GetFlowExecutionCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/InvokeFlowCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListFlowExecutionEventsCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListFlowExecutionsCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/OptimizePromptCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/RerankCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/StartFlowExecutionCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/StopFlowExecutionCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/index.d.ts +1 -0
  115. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  116. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  117. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  118. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  119. package/package.json +8 -10
@@ -1,13 +1,10 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { AgenticRetrieveStreamResponse } from "../models/models_0";
5
3
  import type { AgenticRetrieveStreamRequest } from "../models/models_1";
6
4
  /**
7
5
  * @public
8
6
  */
9
7
  export type { __MetadataBearer };
10
- export { $Command };
11
8
  /**
12
9
  * @public
13
10
  *
@@ -23,11 +20,9 @@ export interface AgenticRetrieveStreamCommandInput extends AgenticRetrieveStream
23
20
  export interface AgenticRetrieveStreamCommandOutput extends AgenticRetrieveStreamResponse, __MetadataBearer {
24
21
  }
25
22
  declare const AgenticRetrieveStreamCommand_base: {
26
- new (input: AgenticRetrieveStreamCommandInput): import("@smithy/core/client").CommandImpl<AgenticRetrieveStreamCommandInput, AgenticRetrieveStreamCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- new (input: AgenticRetrieveStreamCommandInput): import("@smithy/core/client").CommandImpl<AgenticRetrieveStreamCommandInput, AgenticRetrieveStreamCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
- getEndpointParameterInstructions(): {
29
- [x: string]: unknown;
30
- };
23
+ new (input: AgenticRetrieveStreamCommandInput): import("@smithy/core/client").CommandImpl<AgenticRetrieveStreamCommandInput, AgenticRetrieveStreamCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ new (input: AgenticRetrieveStreamCommandInput): import("@smithy/core/client").CommandImpl<AgenticRetrieveStreamCommandInput, AgenticRetrieveStreamCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
31
26
  };
32
27
  /**
33
28
  * <p>Retrieves information from one or more knowledge bases using an agentic approach. Agentic retrieval uses a foundation model to intelligently decompose complex queries into sub-queries and iteratively retrieve relevant information from your knowledge bases. This approach improves retrieval accuracy for complex, multi-step questions that a single retrieval pass might not fully address.</p> <p>The operation returns results through a stream that includes retrieval results, trace events for visibility into the process, and a generated response synthesized from the results by default, which can be turned off.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { CreateInvocationRequest, CreateInvocationResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateInvocationCommandInput extends CreateInvocationRequest {
22
19
  export interface CreateInvocationCommandOutput extends CreateInvocationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateInvocationCommand_base: {
25
- new (input: CreateInvocationCommandInput): import("@smithy/core/client").CommandImpl<CreateInvocationCommandInput, CreateInvocationCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateInvocationCommandInput): import("@smithy/core/client").CommandImpl<CreateInvocationCommandInput, CreateInvocationCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateInvocationCommandInput): import("@smithy/core/client").CommandImpl<CreateInvocationCommandInput, CreateInvocationCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateInvocationCommandInput): import("@smithy/core/client").CommandImpl<CreateInvocationCommandInput, CreateInvocationCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new invocation within a session. An invocation groups the related invocation steps that store the content from a conversation. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p> <p>Related APIs</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_ListInvocations.html">ListInvocations</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_ListSessions.html">ListSessions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_GetSession.html">GetSession</a> </p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { CreateSessionRequest, CreateSessionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateSessionCommandInput extends CreateSessionRequest {
22
19
  export interface CreateSessionCommandOutput extends CreateSessionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateSessionCommand_base: {
25
- new (input: CreateSessionCommandInput): import("@smithy/core/client").CommandImpl<CreateSessionCommandInput, CreateSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [CreateSessionCommandInput]): import("@smithy/core/client").CommandImpl<CreateSessionCommandInput, CreateSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateSessionCommandInput): import("@smithy/core/client").CommandImpl<CreateSessionCommandInput, CreateSessionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [CreateSessionCommandInput]): import("@smithy/core/client").CommandImpl<CreateSessionCommandInput, CreateSessionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a session to temporarily store conversations for generative AI (GenAI) applications built with open-source frameworks such as LangGraph and LlamaIndex. Sessions enable you to save the state of conversations at checkpoints, with the added security and infrastructure of Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p> <p>By default, Amazon Bedrock uses Amazon Web Services-managed keys for session encryption, including session metadata, or you can use your own KMS key. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/session-encryption.html">Amazon Bedrock session encryption</a>.</p> <note> <p> You use a session to store state and conversation history for generative AI applications built with open-source frameworks. For Amazon Bedrock Agents, the service automatically manages conversation context and associates them with the agent-specific sessionId you specify in the <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html">InvokeAgent</a> API operation. </p> </note> <p>Related APIs:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_ListSessions.html">ListSessions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_GetSession.html">GetSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_EndSession.html">EndSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_DeleteSession.html">DeleteSession</a> </p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { DeleteAgentMemoryRequest, DeleteAgentMemoryResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteAgentMemoryCommandInput extends DeleteAgentMemoryRequest
22
19
  export interface DeleteAgentMemoryCommandOutput extends DeleteAgentMemoryResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteAgentMemoryCommand_base: {
25
- new (input: DeleteAgentMemoryCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteAgentMemoryCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteAgentMemoryCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteAgentMemoryCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes memory from the specified memory identifier.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteSessionCommandInput extends DeleteSessionRequest {
22
19
  export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteSessionCommand_base: {
25
- new (input: DeleteSessionCommandInput): import("@smithy/core/client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteSessionCommandInput): import("@smithy/core/client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteSessionCommandInput): import("@smithy/core/client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteSessionCommandInput): import("@smithy/core/client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a session that you ended. You can't delete a session with an <code>ACTIVE</code> status. To delete an active session, you must first end it with the <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_EndSession.html">EndSession</a> API operation. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { EndSessionRequest, EndSessionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface EndSessionCommandInput extends EndSessionRequest {
22
19
  export interface EndSessionCommandOutput extends EndSessionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const EndSessionCommand_base: {
25
- new (input: EndSessionCommandInput): import("@smithy/core/client").CommandImpl<EndSessionCommandInput, EndSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: EndSessionCommandInput): import("@smithy/core/client").CommandImpl<EndSessionCommandInput, EndSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: EndSessionCommandInput): import("@smithy/core/client").CommandImpl<EndSessionCommandInput, EndSessionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: EndSessionCommandInput): import("@smithy/core/client").CommandImpl<EndSessionCommandInput, EndSessionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Ends the session. After you end a session, you can still access its content but you can’t add to it. To delete the session and it's content, you use the DeleteSession API operation. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { GenerateQueryRequest, GenerateQueryResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GenerateQueryCommandInput extends GenerateQueryRequest {
22
19
  export interface GenerateQueryCommandOutput extends GenerateQueryResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GenerateQueryCommand_base: {
25
- new (input: GenerateQueryCommandInput): import("@smithy/core/client").CommandImpl<GenerateQueryCommandInput, GenerateQueryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GenerateQueryCommandInput): import("@smithy/core/client").CommandImpl<GenerateQueryCommandInput, GenerateQueryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GenerateQueryCommandInput): import("@smithy/core/client").CommandImpl<GenerateQueryCommandInput, GenerateQueryCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GenerateQueryCommandInput): import("@smithy/core/client").CommandImpl<GenerateQueryCommandInput, GenerateQueryCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Generates an SQL query from a natural language query. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-generate-query.html">Generate a query for structured data</a> in the Amazon Bedrock User Guide.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { GetAgentMemoryRequest, GetAgentMemoryResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetAgentMemoryCommandInput extends GetAgentMemoryRequest {
22
19
  export interface GetAgentMemoryCommandOutput extends GetAgentMemoryResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetAgentMemoryCommand_base: {
25
- new (input: GetAgentMemoryCommandInput): import("@smithy/core/client").CommandImpl<GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetAgentMemoryCommandInput): import("@smithy/core/client").CommandImpl<GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetAgentMemoryCommandInput): import("@smithy/core/client").CommandImpl<GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetAgentMemoryCommandInput): import("@smithy/core/client").CommandImpl<GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Gets the sessions stored in the memory of the agent.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { GetDocumentContentRequest, GetDocumentContentResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetDocumentContentCommandInput extends GetDocumentContentReques
22
19
  export interface GetDocumentContentCommandOutput extends GetDocumentContentResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetDocumentContentCommand_base: {
25
- new (input: GetDocumentContentCommandInput): import("@smithy/core/client").CommandImpl<GetDocumentContentCommandInput, GetDocumentContentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetDocumentContentCommandInput): import("@smithy/core/client").CommandImpl<GetDocumentContentCommandInput, GetDocumentContentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetDocumentContentCommandInput): import("@smithy/core/client").CommandImpl<GetDocumentContentCommandInput, GetDocumentContentCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetDocumentContentCommandInput): import("@smithy/core/client").CommandImpl<GetDocumentContentCommandInput, GetDocumentContentCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves the content of an ingested document from a knowledge base. Returns a pre-signed URL for secure document access.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { GetExecutionFlowSnapshotRequest, GetExecutionFlowSnapshotResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetExecutionFlowSnapshotCommandInput extends GetExecutionFlowSn
22
19
  export interface GetExecutionFlowSnapshotCommandOutput extends GetExecutionFlowSnapshotResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetExecutionFlowSnapshotCommand_base: {
25
- new (input: GetExecutionFlowSnapshotCommandInput): import("@smithy/core/client").CommandImpl<GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetExecutionFlowSnapshotCommandInput): import("@smithy/core/client").CommandImpl<GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetExecutionFlowSnapshotCommandInput): import("@smithy/core/client").CommandImpl<GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetExecutionFlowSnapshotCommandInput): import("@smithy/core/client").CommandImpl<GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves the flow definition snapshot used for a flow execution. The snapshot represents the flow metadata and definition as it existed at the time the execution was started. Note that even if the flow is edited after an execution starts, the snapshot connected to the execution remains unchanged.</p> <note> <p>Flow executions is in preview release for Amazon Bedrock and is subject to change.</p> </note>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { GetFlowExecutionRequest, GetFlowExecutionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetFlowExecutionCommandInput extends GetFlowExecutionRequest {
22
19
  export interface GetFlowExecutionCommandOutput extends GetFlowExecutionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetFlowExecutionCommand_base: {
25
- new (input: GetFlowExecutionCommandInput): import("@smithy/core/client").CommandImpl<GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetFlowExecutionCommandInput): import("@smithy/core/client").CommandImpl<GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetFlowExecutionCommandInput): import("@smithy/core/client").CommandImpl<GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetFlowExecutionCommandInput): import("@smithy/core/client").CommandImpl<GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves details about a specific flow execution, including its status, start and end times, and any errors that occurred during execution.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { GetInvocationStepRequest, GetInvocationStepResponse } from "../models/models_1";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetInvocationStepCommandInput extends GetInvocationStepRequest
22
19
  export interface GetInvocationStepCommandOutput extends GetInvocationStepResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetInvocationStepCommand_base: {
25
- new (input: GetInvocationStepCommandInput): import("@smithy/core/client").CommandImpl<GetInvocationStepCommandInput, GetInvocationStepCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetInvocationStepCommandInput): import("@smithy/core/client").CommandImpl<GetInvocationStepCommandInput, GetInvocationStepCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetInvocationStepCommandInput): import("@smithy/core/client").CommandImpl<GetInvocationStepCommandInput, GetInvocationStepCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetInvocationStepCommandInput): import("@smithy/core/client").CommandImpl<GetInvocationStepCommandInput, GetInvocationStepCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves the details of a specific invocation step within an invocation in a session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { GetSessionRequest, GetSessionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetSessionCommandInput extends GetSessionRequest {
22
19
  export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetSessionCommand_base: {
25
- new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves details about a specific session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
@@ -1,13 +1,10 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { InvokeAgentResponse } from "../models/models_0";
5
3
  import type { InvokeAgentRequest } from "../models/models_1";
6
4
  /**
7
5
  * @public
8
6
  */
9
7
  export type { __MetadataBearer };
10
- export { $Command };
11
8
  /**
12
9
  * @public
13
10
  *
@@ -23,11 +20,9 @@ export interface InvokeAgentCommandInput extends InvokeAgentRequest {
23
20
  export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __MetadataBearer {
24
21
  }
25
22
  declare const InvokeAgentCommand_base: {
26
- new (input: InvokeAgentCommandInput): import("@smithy/core/client").CommandImpl<InvokeAgentCommandInput, InvokeAgentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- new (input: InvokeAgentCommandInput): import("@smithy/core/client").CommandImpl<InvokeAgentCommandInput, InvokeAgentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
- getEndpointParameterInstructions(): {
29
- [x: string]: unknown;
30
- };
23
+ new (input: InvokeAgentCommandInput): import("@smithy/core/client").CommandImpl<InvokeAgentCommandInput, InvokeAgentCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ new (input: InvokeAgentCommandInput): import("@smithy/core/client").CommandImpl<InvokeAgentCommandInput, InvokeAgentCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
31
26
  };
32
27
  /**
33
28
  * <note> </note> <p>Sends a prompt for the agent to process and respond to. Note the following fields for the request:</p> <ul> <li> <p>To continue the same conversation with an agent, use the same <code>sessionId</code> value in the request.</p> </li> <li> <p>To activate trace enablement, turn <code>enableTrace</code> to <code>true</code>. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events">Trace enablement</a>.</p> </li> <li> <p>End a conversation by setting <code>endSession</code> to <code>true</code>.</p> </li> <li> <p>In the <code>sessionState</code> object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group.</p> </li> </ul> <p>The response contains both <b>chunk</b> and <b>trace</b> attributes.</p> <p>The final response is returned in the <code>bytes</code> field of the <code>chunk</code> object. The <code>InvokeAgent</code> returns one chunk for the entire interaction.</p> <ul> <li> <p>The <code>attribution</code> object contains citations for parts of the response.</p> </li> <li> <p>If you set <code>enableTrace</code> to <code>true</code> in the request, you can trace the agent's steps and reasoning process that led it to the response.</p> </li> <li> <p>If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the <code>returnControl</code> field.</p> </li> <li> <p>Errors are also surfaced in the response.</p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { InvokeFlowRequest, InvokeFlowResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface InvokeFlowCommandInput extends InvokeFlowRequest {
22
19
  export interface InvokeFlowCommandOutput extends InvokeFlowResponse, __MetadataBearer {
23
20
  }
24
21
  declare const InvokeFlowCommand_base: {
25
- new (input: InvokeFlowCommandInput): import("@smithy/core/client").CommandImpl<InvokeFlowCommandInput, InvokeFlowCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: InvokeFlowCommandInput): import("@smithy/core/client").CommandImpl<InvokeFlowCommandInput, InvokeFlowCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: InvokeFlowCommandInput): import("@smithy/core/client").CommandImpl<InvokeFlowCommandInput, InvokeFlowCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: InvokeFlowCommandInput): import("@smithy/core/client").CommandImpl<InvokeFlowCommandInput, InvokeFlowCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html">Test a flow in Amazon Bedrock</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeFlow</code>.</p> </note>
@@ -1,13 +1,10 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { InvokeInlineAgentResponse } from "../models/models_0";
5
3
  import type { InvokeInlineAgentRequest } from "../models/models_1";
6
4
  /**
7
5
  * @public
8
6
  */
9
7
  export type { __MetadataBearer };
10
- export { $Command };
11
8
  /**
12
9
  * @public
13
10
  *
@@ -23,11 +20,9 @@ export interface InvokeInlineAgentCommandInput extends InvokeInlineAgentRequest
23
20
  export interface InvokeInlineAgentCommandOutput extends InvokeInlineAgentResponse, __MetadataBearer {
24
21
  }
25
22
  declare const InvokeInlineAgentCommand_base: {
26
- new (input: InvokeInlineAgentCommandInput): import("@smithy/core/client").CommandImpl<InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- new (input: InvokeInlineAgentCommandInput): import("@smithy/core/client").CommandImpl<InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
- getEndpointParameterInstructions(): {
29
- [x: string]: unknown;
30
- };
23
+ new (input: InvokeInlineAgentCommandInput): import("@smithy/core/client").CommandImpl<InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ new (input: InvokeInlineAgentCommandInput): import("@smithy/core/client").CommandImpl<InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
31
26
  };
32
27
  /**
33
28
  * <p> Invokes an inline Amazon Bedrock agent using the configurations you provide with the request. </p> <ul> <li> <p>Specify the following fields for security purposes.</p> <ul> <li> <p>(Optional) <code>customerEncryptionKeyArn</code> – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.</p> </li> <li> <p>(Optional) <code>idleSessionTTLinSeconds</code> – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent <code>InvokeInlineAgent</code> request begins a new session.</p> </li> </ul> </li> <li> <p>To override the default prompt behavior for agent orchestration and to use advanced prompts, include a <code>promptOverrideConfiguration</code> object. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html">Advanced prompts</a>.</p> </li> <li> <p>The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.</p> </li> </ul> <note> </note>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { ListFlowExecutionEventsRequest, ListFlowExecutionEventsResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListFlowExecutionEventsCommandInput extends ListFlowExecutionEv
22
19
  export interface ListFlowExecutionEventsCommandOutput extends ListFlowExecutionEventsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListFlowExecutionEventsCommand_base: {
25
- new (input: ListFlowExecutionEventsCommandInput): import("@smithy/core/client").CommandImpl<ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListFlowExecutionEventsCommandInput): import("@smithy/core/client").CommandImpl<ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListFlowExecutionEventsCommandInput): import("@smithy/core/client").CommandImpl<ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListFlowExecutionEventsCommandInput): import("@smithy/core/client").CommandImpl<ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists events that occurred during a flow execution. Events provide detailed information about the execution progress, including node inputs and outputs, flow inputs and outputs, condition results, and failure events.</p> <note> <p>Flow executions is in preview release for Amazon Bedrock and is subject to change.</p> </note>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { ListFlowExecutionsRequest, ListFlowExecutionsResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListFlowExecutionsCommandInput extends ListFlowExecutionsReques
22
19
  export interface ListFlowExecutionsCommandOutput extends ListFlowExecutionsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListFlowExecutionsCommand_base: {
25
- new (input: ListFlowExecutionsCommandInput): import("@smithy/core/client").CommandImpl<ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListFlowExecutionsCommandInput): import("@smithy/core/client").CommandImpl<ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListFlowExecutionsCommandInput): import("@smithy/core/client").CommandImpl<ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListFlowExecutionsCommandInput): import("@smithy/core/client").CommandImpl<ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists all executions of a flow. Results can be paginated and include summary information about each execution, such as status, start and end times, and the execution's Amazon Resource Name (ARN).</p> <note> <p>Flow executions is in preview release for Amazon Bedrock and is subject to change.</p> </note>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { ListInvocationStepsRequest, ListInvocationStepsResponse } from "../models/models_1";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListInvocationStepsCommandInput extends ListInvocationStepsRequ
22
19
  export interface ListInvocationStepsCommandOutput extends ListInvocationStepsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListInvocationStepsCommand_base: {
25
- new (input: ListInvocationStepsCommandInput): import("@smithy/core/client").CommandImpl<ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListInvocationStepsCommandInput): import("@smithy/core/client").CommandImpl<ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListInvocationStepsCommandInput): import("@smithy/core/client").CommandImpl<ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListInvocationStepsCommandInput): import("@smithy/core/client").CommandImpl<ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists all invocation steps associated with a session and optionally, an invocation within the session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
4
2
  import type { ListInvocationsRequest, ListInvocationsResponse } from "../models/models_1";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListInvocationsCommandInput extends ListInvocationsRequest {
22
19
  export interface ListInvocationsCommandOutput extends ListInvocationsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListInvocationsCommand_base: {
25
- new (input: ListInvocationsCommandInput): import("@smithy/core/client").CommandImpl<ListInvocationsCommandInput, ListInvocationsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListInvocationsCommandInput): import("@smithy/core/client").CommandImpl<ListInvocationsCommandInput, ListInvocationsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListInvocationsCommandInput): import("@smithy/core/client").CommandImpl<ListInvocationsCommandInput, ListInvocationsCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListInvocationsCommandInput): import("@smithy/core/client").CommandImpl<ListInvocationsCommandInput, ListInvocationsCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists all invocations associated with a specific session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>