@aws-sdk/client-bedrock-agentcore 3.901.0 → 3.906.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 (42) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/endpoint/ruleset.js +1 -1
  3. package/dist-cjs/index.js +2775 -2645
  4. package/dist-es/BedrockAgentCore.js +10 -0
  5. package/dist-es/commands/BatchCreateMemoryRecordsCommand.js +23 -0
  6. package/dist-es/commands/BatchDeleteMemoryRecordsCommand.js +22 -0
  7. package/dist-es/commands/BatchUpdateMemoryRecordsCommand.js +23 -0
  8. package/dist-es/commands/GetAgentCardCommand.js +22 -0
  9. package/dist-es/commands/StopRuntimeSessionCommand.js +22 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/endpoint/ruleset.js +1 -1
  12. package/dist-es/models/models_0.js +111 -56
  13. package/dist-es/protocols/Aws_restJson1.js +193 -6
  14. package/dist-types/BedrockAgentCore.d.ts +35 -0
  15. package/dist-types/BedrockAgentCoreClient.d.ts +7 -2
  16. package/dist-types/commands/BatchCreateMemoryRecordsCommand.d.ts +123 -0
  17. package/dist-types/commands/BatchDeleteMemoryRecordsCommand.d.ts +114 -0
  18. package/dist-types/commands/BatchUpdateMemoryRecordsCommand.d.ts +122 -0
  19. package/dist-types/commands/CreateEventCommand.d.ts +10 -0
  20. package/dist-types/commands/GetAgentCardCommand.d.ts +99 -0
  21. package/dist-types/commands/GetEventCommand.d.ts +5 -0
  22. package/dist-types/commands/GetResourceApiKeyCommand.d.ts +1 -1
  23. package/dist-types/commands/GetResourceOauth2TokenCommand.d.ts +1 -1
  24. package/dist-types/commands/GetWorkloadAccessTokenCommand.d.ts +1 -1
  25. package/dist-types/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +1 -1
  26. package/dist-types/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +1 -1
  27. package/dist-types/commands/ListEventsCommand.d.ts +18 -0
  28. package/dist-types/commands/StopRuntimeSessionCommand.d.ts +105 -0
  29. package/dist-types/commands/index.d.ts +5 -0
  30. package/dist-types/models/models_0.d.ts +632 -186
  31. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  32. package/dist-types/ts3.4/BedrockAgentCore.d.ts +85 -0
  33. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +30 -0
  34. package/dist-types/ts3.4/commands/BatchCreateMemoryRecordsCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/BatchDeleteMemoryRecordsCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/BatchUpdateMemoryRecordsCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/GetAgentCardCommand.d.ts +47 -0
  38. package/dist-types/ts3.4/commands/StopRuntimeSessionCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +225 -70
  41. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  42. package/package.json +5 -5
@@ -0,0 +1,122 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import { BatchUpdateMemoryRecordsInput, BatchUpdateMemoryRecordsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchUpdateMemoryRecordsCommand}.
14
+ */
15
+ export interface BatchUpdateMemoryRecordsCommandInput extends BatchUpdateMemoryRecordsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchUpdateMemoryRecordsCommand}.
21
+ */
22
+ export interface BatchUpdateMemoryRecordsCommandOutput extends BatchUpdateMemoryRecordsOutput, __MetadataBearer {
23
+ }
24
+ declare const BatchUpdateMemoryRecordsCommand_base: {
25
+ new (input: BatchUpdateMemoryRecordsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateMemoryRecordsCommandInput, BatchUpdateMemoryRecordsCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: BatchUpdateMemoryRecordsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateMemoryRecordsCommandInput, BatchUpdateMemoryRecordsCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates multiple memory records with custom content in a single batch operation within the specified memory.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreClient, BatchUpdateMemoryRecordsCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
35
+ * // const { BedrockAgentCoreClient, BatchUpdateMemoryRecordsCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
36
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
37
+ * const config = {}; // type is BedrockAgentCoreClientConfig
38
+ * const client = new BedrockAgentCoreClient(config);
39
+ * const input = { // BatchUpdateMemoryRecordsInput
40
+ * memoryId: "STRING_VALUE", // required
41
+ * records: [ // MemoryRecordsUpdateInputList // required
42
+ * { // MemoryRecordUpdateInput
43
+ * memoryRecordId: "STRING_VALUE", // required
44
+ * timestamp: new Date("TIMESTAMP"), // required
45
+ * content: { // MemoryContent Union: only one key present
46
+ * text: "STRING_VALUE",
47
+ * },
48
+ * namespaces: [ // NamespacesList
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * memoryStrategyId: "STRING_VALUE",
52
+ * },
53
+ * ],
54
+ * };
55
+ * const command = new BatchUpdateMemoryRecordsCommand(input);
56
+ * const response = await client.send(command);
57
+ * // { // BatchUpdateMemoryRecordsOutput
58
+ * // successfulRecords: [ // MemoryRecordsOutputList // required
59
+ * // { // MemoryRecordOutput
60
+ * // memoryRecordId: "STRING_VALUE", // required
61
+ * // status: "SUCCEEDED" || "FAILED", // required
62
+ * // requestIdentifier: "STRING_VALUE",
63
+ * // errorCode: Number("int"),
64
+ * // errorMessage: "STRING_VALUE",
65
+ * // },
66
+ * // ],
67
+ * // failedRecords: [ // required
68
+ * // {
69
+ * // memoryRecordId: "STRING_VALUE", // required
70
+ * // status: "SUCCEEDED" || "FAILED", // required
71
+ * // requestIdentifier: "STRING_VALUE",
72
+ * // errorCode: Number("int"),
73
+ * // errorMessage: "STRING_VALUE",
74
+ * // },
75
+ * // ],
76
+ * // };
77
+ *
78
+ * ```
79
+ *
80
+ * @param BatchUpdateMemoryRecordsCommandInput - {@link BatchUpdateMemoryRecordsCommandInput}
81
+ * @returns {@link BatchUpdateMemoryRecordsCommandOutput}
82
+ * @see {@link BatchUpdateMemoryRecordsCommandInput} for command's `input` shape.
83
+ * @see {@link BatchUpdateMemoryRecordsCommandOutput} for command's `response` shape.
84
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
85
+ *
86
+ * @throws {@link AccessDeniedException} (client fault)
87
+ * <p>The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.</p>
88
+ *
89
+ * @throws {@link ResourceNotFoundException} (client fault)
90
+ * <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
91
+ *
92
+ * @throws {@link ServiceException} (server fault)
93
+ * <p>The service encountered an internal error. Try your request again later.</p>
94
+ *
95
+ * @throws {@link ServiceQuotaExceededException} (client fault)
96
+ * <p>The exception that occurs when the request would cause a service quota to be exceeded. Review your service quotas and either reduce your request rate or request a quota increase.</p>
97
+ *
98
+ * @throws {@link ThrottledException} (client fault)
99
+ * <p>The request was denied due to request throttling. Reduce the frequency of requests and try again.</p>
100
+ *
101
+ * @throws {@link ValidationException} (client fault)
102
+ * <p>The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.</p>
103
+ *
104
+ * @throws {@link BedrockAgentCoreServiceException}
105
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
106
+ *
107
+ *
108
+ * @public
109
+ */
110
+ export declare class BatchUpdateMemoryRecordsCommand extends BatchUpdateMemoryRecordsCommand_base {
111
+ /** @internal type navigation helper, not in runtime. */
112
+ protected static __types: {
113
+ api: {
114
+ input: BatchUpdateMemoryRecordsInput;
115
+ output: BatchUpdateMemoryRecordsOutput;
116
+ };
117
+ sdk: {
118
+ input: BatchUpdateMemoryRecordsCommandInput;
119
+ output: BatchUpdateMemoryRecordsCommandOutput;
120
+ };
121
+ };
122
+ }
@@ -57,6 +57,11 @@ declare const CreateEventCommand_base: {
57
57
  * name: "STRING_VALUE", // required
58
58
  * },
59
59
  * clientToken: "STRING_VALUE",
60
+ * metadata: { // MetadataMap
61
+ * "<keys>": { // MetadataValue Union: only one key present
62
+ * stringValue: "STRING_VALUE",
63
+ * },
64
+ * },
60
65
  * };
61
66
  * const command = new CreateEventCommand(input);
62
67
  * const response = await client.send(command);
@@ -82,6 +87,11 @@ declare const CreateEventCommand_base: {
82
87
  * // rootEventId: "STRING_VALUE",
83
88
  * // name: "STRING_VALUE", // required
84
89
  * // },
90
+ * // metadata: { // MetadataMap
91
+ * // "<keys>": { // MetadataValue Union: only one key present
92
+ * // stringValue: "STRING_VALUE",
93
+ * // },
94
+ * // },
85
95
  * // },
86
96
  * // };
87
97
  *
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import { GetAgentCardRequest, GetAgentCardResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetAgentCardCommand}.
14
+ */
15
+ export interface GetAgentCardCommandInput extends GetAgentCardRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetAgentCardCommand}.
21
+ */
22
+ export interface GetAgentCardCommandOutput extends GetAgentCardResponse, __MetadataBearer {
23
+ }
24
+ declare const GetAgentCardCommand_base: {
25
+ new (input: GetAgentCardCommandInput): import("@smithy/smithy-client").CommandImpl<GetAgentCardCommandInput, GetAgentCardCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetAgentCardCommandInput): import("@smithy/smithy-client").CommandImpl<GetAgentCardCommandInput, GetAgentCardCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the A2A agent card associated with an AgentCore Runtime agent.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreClient, GetAgentCardCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
35
+ * // const { BedrockAgentCoreClient, GetAgentCardCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
36
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
37
+ * const config = {}; // type is BedrockAgentCoreClientConfig
38
+ * const client = new BedrockAgentCoreClient(config);
39
+ * const input = { // GetAgentCardRequest
40
+ * runtimeSessionId: "STRING_VALUE",
41
+ * agentRuntimeArn: "STRING_VALUE", // required
42
+ * qualifier: "STRING_VALUE",
43
+ * };
44
+ * const command = new GetAgentCardCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // GetAgentCardResponse
47
+ * // runtimeSessionId: "STRING_VALUE",
48
+ * // agentCard: "DOCUMENT_VALUE", // required
49
+ * // statusCode: Number("int"),
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param GetAgentCardCommandInput - {@link GetAgentCardCommandInput}
55
+ * @returns {@link GetAgentCardCommandOutput}
56
+ * @see {@link GetAgentCardCommandInput} for command's `input` shape.
57
+ * @see {@link GetAgentCardCommandOutput} for command's `response` shape.
58
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
68
+ *
69
+ * @throws {@link RuntimeClientError} (client fault)
70
+ * <p>The exception that occurs when there is an error in the runtime client. This can happen due to network issues, invalid configuration, or other client-side problems. Check the error message for specific details about the error.</p>
71
+ *
72
+ * @throws {@link ServiceQuotaExceededException} (client fault)
73
+ * <p>The exception that occurs when the request would cause a service quota to be exceeded. Review your service quotas and either reduce your request rate or request a quota increase.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.</p>
80
+ *
81
+ * @throws {@link BedrockAgentCoreServiceException}
82
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class GetAgentCardCommand extends GetAgentCardCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: GetAgentCardRequest;
92
+ output: GetAgentCardResponse;
93
+ };
94
+ sdk: {
95
+ input: GetAgentCardCommandInput;
96
+ output: GetAgentCardCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -66,6 +66,11 @@ declare const GetEventCommand_base: {
66
66
  * // rootEventId: "STRING_VALUE",
67
67
  * // name: "STRING_VALUE", // required
68
68
  * // },
69
+ * // metadata: { // MetadataMap
70
+ * // "<keys>": { // MetadataValue Union: only one key present
71
+ * // stringValue: "STRING_VALUE",
72
+ * // },
73
+ * // },
69
74
  * // },
70
75
  * // };
71
76
  *
@@ -27,7 +27,7 @@ declare const GetResourceApiKeyCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves an API Key associated with an API Key Credential Provider</p>
30
+ * <p>Retrieves the API key associated with an API key credential provider.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const GetResourceOauth2TokenCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns the OAuth 2.0 token of the provided resource</p>
30
+ * <p>Returns the OAuth 2.0 token of the provided resource.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const GetWorkloadAccessTokenCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Obtains an Workload access token for agentic workloads not acting on behalf of user.</p>
30
+ * <p>Obtains a workload access token for agentic workloads not acting on behalf of a user.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const GetWorkloadAccessTokenForJWTCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Obtains an Workload access token for agentic workloads acting on behalf of user with JWT token</p>
30
+ * <p>Obtains a workload access token for agentic workloads acting on behalf of a user, using a JWT token.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const GetWorkloadAccessTokenForUserIdCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Obtains an Workload access token for agentic workloads acting on behalf of user with User Id.</p>
30
+ * <p>Obtains a workload access token for agentic workloads acting on behalf of a user, using the user's ID.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -46,6 +46,19 @@ declare const ListEventsCommand_base: {
46
46
  * name: "STRING_VALUE", // required
47
47
  * includeParentBranches: true || false,
48
48
  * },
49
+ * eventMetadata: [ // EventMetadataFilterList
50
+ * { // EventMetadataFilterExpression
51
+ * left: { // LeftExpression Union: only one key present
52
+ * metadataKey: "STRING_VALUE",
53
+ * },
54
+ * operator: "EQUALS_TO" || "EXISTS" || "NOT_EXISTS", // required
55
+ * right: { // RightExpression Union: only one key present
56
+ * metadataValue: { // MetadataValue Union: only one key present
57
+ * stringValue: "STRING_VALUE",
58
+ * },
59
+ * },
60
+ * },
61
+ * ],
49
62
  * },
50
63
  * maxResults: Number("int"),
51
64
  * nextToken: "STRING_VALUE",
@@ -75,6 +88,11 @@ declare const ListEventsCommand_base: {
75
88
  * // rootEventId: "STRING_VALUE",
76
89
  * // name: "STRING_VALUE", // required
77
90
  * // },
91
+ * // metadata: { // MetadataMap
92
+ * // "<keys>": { // MetadataValue Union: only one key present
93
+ * // stringValue: "STRING_VALUE",
94
+ * // },
95
+ * // },
78
96
  * // },
79
97
  * // ],
80
98
  * // nextToken: "STRING_VALUE",
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import { StopRuntimeSessionRequest, StopRuntimeSessionResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StopRuntimeSessionCommand}.
14
+ */
15
+ export interface StopRuntimeSessionCommandInput extends StopRuntimeSessionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopRuntimeSessionCommand}.
21
+ */
22
+ export interface StopRuntimeSessionCommandOutput extends StopRuntimeSessionResponse, __MetadataBearer {
23
+ }
24
+ declare const StopRuntimeSessionCommand_base: {
25
+ new (input: StopRuntimeSessionCommandInput): import("@smithy/smithy-client").CommandImpl<StopRuntimeSessionCommandInput, StopRuntimeSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StopRuntimeSessionCommandInput): import("@smithy/smithy-client").CommandImpl<StopRuntimeSessionCommandInput, StopRuntimeSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Stops a session that is running in an running AgentCore Runtime agent.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreClient, StopRuntimeSessionCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
35
+ * // const { BedrockAgentCoreClient, StopRuntimeSessionCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
36
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
37
+ * const config = {}; // type is BedrockAgentCoreClientConfig
38
+ * const client = new BedrockAgentCoreClient(config);
39
+ * const input = { // StopRuntimeSessionRequest
40
+ * runtimeSessionId: "STRING_VALUE", // required
41
+ * agentRuntimeArn: "STRING_VALUE", // required
42
+ * qualifier: "STRING_VALUE",
43
+ * clientToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new StopRuntimeSessionCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // StopRuntimeSessionResponse
48
+ * // runtimeSessionId: "STRING_VALUE",
49
+ * // statusCode: Number("int"),
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param StopRuntimeSessionCommandInput - {@link StopRuntimeSessionCommandInput}
55
+ * @returns {@link StopRuntimeSessionCommandOutput}
56
+ * @see {@link StopRuntimeSessionCommandInput} for command's `input` shape.
57
+ * @see {@link StopRuntimeSessionCommandOutput} for command's `response` shape.
58
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.</p>
62
+ *
63
+ * @throws {@link ConflictException} (client fault)
64
+ * <p>The exception that occurs when the request conflicts with the current state of the resource. This can happen when trying to modify a resource that is currently being modified by another request, or when trying to create a resource that already exists.</p>
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p>The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
71
+ *
72
+ * @throws {@link RuntimeClientError} (client fault)
73
+ * <p>The exception that occurs when there is an error in the runtime client. This can happen due to network issues, invalid configuration, or other client-side problems. Check the error message for specific details about the error.</p>
74
+ *
75
+ * @throws {@link ServiceQuotaExceededException} (client fault)
76
+ * <p>The exception that occurs when the request would cause a service quota to be exceeded. Review your service quotas and either reduce your request rate or request a quota increase.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.</p>
80
+ *
81
+ * @throws {@link UnauthorizedException} (client fault)
82
+ * <p>This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access</p>
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * <p>The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.</p>
86
+ *
87
+ * @throws {@link BedrockAgentCoreServiceException}
88
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class StopRuntimeSessionCommand extends StopRuntimeSessionCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: StopRuntimeSessionRequest;
98
+ output: StopRuntimeSessionResponse;
99
+ };
100
+ sdk: {
101
+ input: StopRuntimeSessionCommandInput;
102
+ output: StopRuntimeSessionCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -1,6 +1,10 @@
1
+ export * from "./BatchCreateMemoryRecordsCommand";
2
+ export * from "./BatchDeleteMemoryRecordsCommand";
3
+ export * from "./BatchUpdateMemoryRecordsCommand";
1
4
  export * from "./CreateEventCommand";
2
5
  export * from "./DeleteEventCommand";
3
6
  export * from "./DeleteMemoryRecordCommand";
7
+ export * from "./GetAgentCardCommand";
4
8
  export * from "./GetBrowserSessionCommand";
5
9
  export * from "./GetCodeInterpreterSessionCommand";
6
10
  export * from "./GetEventCommand";
@@ -23,4 +27,5 @@ export * from "./StartBrowserSessionCommand";
23
27
  export * from "./StartCodeInterpreterSessionCommand";
24
28
  export * from "./StopBrowserSessionCommand";
25
29
  export * from "./StopCodeInterpreterSessionCommand";
30
+ export * from "./StopRuntimeSessionCommand";
26
31
  export * from "./UpdateBrowserStreamCommand";