@aws-sdk/client-bedrock-agentcore 3.858.0 → 3.860.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  AWS SDK for JavaScript BedrockAgentCore Client for Node.js, Browser and React Native.
8
8
 
9
- <note> <p>Amazon Bedrock AgentCore is in preview release and is subject to change.</p> </note> <p>Data plane operations for Amazon Bedrock AgentCore.</p>
9
+ <note> <p>Amazon Bedrock AgentCore is in preview release and is subject to change.</p> </note> <p>Welcome to the Amazon Bedrock AgentCore Data Plane API reference. Data Plane actions process and handle data or workloads within Amazon Web Services services. </p>
10
10
 
11
11
  ## Installing
12
12
 
@@ -131,7 +131,6 @@ const se_GetResourceOauth2TokenCommand = async (input, context) => {
131
131
  resourceCredentialProviderName: [],
132
132
  resourceOauth2ReturnUrl: [],
133
133
  scopes: (_) => (0, smithy_client_1._json)(_),
134
- userId: [],
135
134
  workloadIdentityToken: [],
136
135
  }));
137
136
  b.m("POST").h(headers).b(body);
@@ -119,7 +119,6 @@ export const se_GetResourceOauth2TokenCommand = async (input, context) => {
119
119
  resourceCredentialProviderName: [],
120
120
  resourceOauth2ReturnUrl: [],
121
121
  scopes: (_) => _json(_),
122
- userId: [],
123
122
  workloadIdentityToken: [],
124
123
  }));
125
124
  b.m("POST").h(headers).b(body);
@@ -185,7 +185,7 @@ export interface BedrockAgentCore {
185
185
  updateBrowserStream(args: UpdateBrowserStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBrowserStreamCommandOutput) => void): void;
186
186
  }
187
187
  /**
188
- * <note> <p>Amazon Bedrock AgentCore is in preview release and is subject to change.</p> </note> <p>Data plane operations for Amazon Bedrock AgentCore.</p>
188
+ * <note> <p>Amazon Bedrock AgentCore is in preview release and is subject to change.</p> </note> <p>Welcome to the Amazon Bedrock AgentCore Data Plane API reference. Data Plane actions process and handle data or workloads within Amazon Web Services services. </p>
189
189
  * @public
190
190
  */
191
191
  export declare class BedrockAgentCore extends BedrockAgentCoreClient implements BedrockAgentCore {
@@ -205,7 +205,7 @@ export type BedrockAgentCoreClientResolvedConfigType = __SmithyResolvedConfigura
205
205
  export interface BedrockAgentCoreClientResolvedConfig extends BedrockAgentCoreClientResolvedConfigType {
206
206
  }
207
207
  /**
208
- * <note> <p>Amazon Bedrock AgentCore is in preview release and is subject to change.</p> </note> <p>Data plane operations for Amazon Bedrock AgentCore.</p>
208
+ * <note> <p>Amazon Bedrock AgentCore is in preview release and is subject to change.</p> </note> <p>Welcome to the Amazon Bedrock AgentCore Data Plane API reference. Data Plane actions process and handle data or workloads within Amazon Web Services services. </p>
209
209
  * @public
210
210
  */
211
211
  export declare class BedrockAgentCoreClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BedrockAgentCoreClientResolvedConfig> {
@@ -27,7 +27,7 @@ declare const CreateEventCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates an event in a memory store. Events represent interactions or activities that occur within a session and are associated with specific actors.</p> <p>To use this operation, you must have the <code>genesismemory:CreateEvent</code> permission.</p> <p>This operation is subject to request rate limiting.</p>
30
+ * <p>Creates an event in an AgentCore Memory resource. Events represent interactions or activities that occur within a session and are associated with specific actors.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:CreateEvent</code> permission.</p> <p>This operation is subject to request rate limiting.</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 DeleteEventCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes an event from a memory store. When you delete an event, it is permanently removed.</p> <p>To use this operation, you must have the <code>genesismemory:DeleteEvent</code> permission.</p>
30
+ * <p>Deletes an event from an AgentCore Memory resource. When you delete an event, it is permanently removed.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:DeleteEvent</code> permission.</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 DeleteMemoryRecordCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes a memory record from a memory store. When you delete a memory record, it is permanently removed.</p> <p>To use this operation, you must have the <code>genesismemory:DeleteMemoryRecord</code> permission.</p>
30
+ * <p>Deletes a memory record from an AgentCore Memory resource. When you delete a memory record, it is permanently removed.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:DeleteMemoryRecord</code> permission.</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 GetEventCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves information about a specific event in a memory store.</p> <p>To use this operation, you must have the <code>genesismemory:GetEvent</code> permission.</p>
30
+ * <p>Retrieves information about a specific event in an AgentCore Memory resource.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:GetEvent</code> permission.</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 GetMemoryRecordCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves a specific memory record from a memory store.</p> <p>To use this operation, you must have the <code>genesismemory:GetMemoryRecord</code> permission.</p>
30
+ * <p>Retrieves a specific memory record from an AgentCore Memory resource.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:GetMemoryRecord</code> permission.</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>Reaturns the Oauth2Token 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
@@ -36,7 +36,6 @@ declare const GetResourceOauth2TokenCommand_base: {
36
36
  * const client = new BedrockAgentCoreClient(config);
37
37
  * const input = { // GetResourceOauth2TokenRequest
38
38
  * workloadIdentityToken: "STRING_VALUE", // required
39
- * userId: "STRING_VALUE",
40
39
  * resourceCredentialProviderName: "STRING_VALUE", // required
41
40
  * scopes: [ // ScopesListType // required
42
41
  * "STRING_VALUE",
@@ -34,7 +34,7 @@ declare const InvokeAgentRuntimeCommand_base: {
34
34
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
35
  };
36
36
  /**
37
- * <p>Sends a request to an agent runtime in Amazon Bedrock and receives responses in real-time. The agent processes the request using the configured foundation model and any associated knowledge bases or action groups.</p> <p>To invoke an agent runtime, you must specify the agent runtime ARN and provide a payload containing your request. You can optionally specify a qualifier to target a specific version or alias of the agent.</p> <p>This operation supports streaming responses, allowing you to receive partial responses as they become available. We recommend using pagination to ensure that the operation returns quickly and successfully when processing large responses.</p>
37
+ * <p>Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time. </p> <p>To invoke an agent you must specify the AgentCore Runtime ARN and provide a payload containing your request. You can optionally specify a qualifier to target a specific version or endpoint of the agent.</p> <p>This operation supports streaming responses, allowing you to receive partial responses as they become available. We recommend using pagination to ensure that the operation returns quickly and successfully when processing large responses.</p> <p>For example code, see <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-invoke-agent.html">Invoke an AgentCore Runtime agent</a>. </p> <p>If you're integrating your agent with OAuth, you can't use the Amazon Web Services SDK to call <code>InvokeAgentRuntime</code>. Instead, make a HTTPS request to <code>InvokeAgentRuntime</code>. For an example, see <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-oauth.html">Authenticate and authorize with Inbound Auth and Outbound Auth</a>.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:InvokeAgentRuntime</code> permission.</p>
38
38
  * @example
39
39
  * Use a bare-bones client and the command you need to make an API call.
40
40
  * ```javascript
@@ -27,7 +27,7 @@ declare const ListActorsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists all actors in a memory store. We recommend using pagination to ensure that the operation returns quickly and successfully.</p> <p>To use this operation, you must have the <code>genesismemory:ListActors</code> permission.</p>
30
+ * <p>Lists all actors in an AgentCore Memory resource. We recommend using pagination to ensure that the operation returns quickly and successfully.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:ListActors</code> permission.</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 ListEventsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists events in a memory store based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.</p> <p>To use this operation, you must have the <code>genesismemory:ListEvents</code> permission.</p>
30
+ * <p>Lists events in an AgentCore Memory resource based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:ListEvents</code> permission.</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 ListMemoryRecordsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists memory records in a memory store based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.</p> <p>To use this operation, you must have the <code>genesismemory:ListMemoryRecords</code> permission.</p>
30
+ * <p>Lists memory records in an AgentCore Memory resource based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:ListMemoryRecords</code> permission.</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 ListSessionsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists sessions in a memory store based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.</p> <p>To use this operation, you must have the <code>genesismemory:ListSessions</code> permission.</p>
30
+ * <p>Lists sessions in an AgentCore Memory resource based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:ListSessions</code> permission.</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 RetrieveMemoryRecordsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Searches for and retrieves memory records from a memory store based on specified search criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.</p> <p>To use this operation, you must have the <code>genesismemory:RetrieveMemoryRecords</code> permission.</p>
30
+ * <p>Searches for and retrieves memory records from an AgentCore Memory resource based on specified search criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:RetrieveMemoryRecords</code> permission.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -1,5 +1,5 @@
1
1
  /**
2
- * <note> <p>Amazon Bedrock AgentCore is in preview release and is subject to change.</p> </note> <p>Data plane operations for Amazon Bedrock AgentCore.</p>
2
+ * <note> <p>Amazon Bedrock AgentCore is in preview release and is subject to change.</p> </note> <p>Welcome to the Amazon Bedrock AgentCore Data Plane API reference. Data Plane actions process and handle data or workloads within Amazon Web Services services. </p>
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
@@ -14,7 +14,7 @@ export declare class AccessDeniedException extends __BaseException {
14
14
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
15
  }
16
16
  /**
17
- * <p>Contains summary information about an actor in a memory store.</p>
17
+ * <p>Contains summary information about an actor in an AgentCore Memory resource.</p>
18
18
  * @public
19
19
  */
20
20
  export interface ActorSummary {
@@ -96,7 +96,7 @@ export interface InvokeAgentRuntimeRequest {
96
96
  */
97
97
  agentRuntimeArn: string | undefined;
98
98
  /**
99
- * <p>The qualifier to use for the agent runtime. This can be a version number or an alias name that points to a specific version. If not specified, Amazon Bedrock uses the default version of the agent runtime.</p>
99
+ * <p>The qualifier to use for the agent runtime. This can be a version number or an endpoint name that points to a specific version. If not specified, Amazon Bedrock uses the default version of the agent runtime.</p>
100
100
  * @public
101
101
  */
102
102
  qualifier?: string | undefined;
@@ -962,11 +962,6 @@ export interface GetResourceOauth2TokenRequest {
962
962
  * @public
963
963
  */
964
964
  workloadIdentityToken: string | undefined;
965
- /**
966
- * <p>The user ID of the user you're retrieving the token on behalf of.</p>
967
- * @public
968
- */
969
- userId?: string | undefined;
970
965
  /**
971
966
  * <p>Reference to the credential provider</p>
972
967
  * @public
@@ -1564,7 +1559,7 @@ export interface InvokeCodeInterpreterResponse {
1564
1559
  stream: AsyncIterable<CodeInterpreterStreamOutput> | undefined;
1565
1560
  }
1566
1561
  /**
1567
- * <p>Contains information about a branch in a memory store. Branches allow for organizing events into different conversation threads or paths.</p>
1562
+ * <p>Contains information about a branch in an AgentCore Memory resource. Branches allow for organizing events into different conversation threads or paths.</p>
1568
1563
  * @public
1569
1564
  */
1570
1565
  export interface Branch {
@@ -1686,7 +1681,7 @@ export declare namespace PayloadType {
1686
1681
  */
1687
1682
  export interface CreateEventInput {
1688
1683
  /**
1689
- * <p>The identifier of the memory store in which to create the event.</p>
1684
+ * <p>The identifier of the AgentCore Memory resource in which to create the event.</p>
1690
1685
  * @public
1691
1686
  */
1692
1687
  memoryId: string | undefined;
@@ -1722,12 +1717,12 @@ export interface CreateEventInput {
1722
1717
  clientToken?: string | undefined;
1723
1718
  }
1724
1719
  /**
1725
- * <p>Contains information about an event in a memory store.</p>
1720
+ * <p>Contains information about an event in an AgentCore Memory resource.</p>
1726
1721
  * @public
1727
1722
  */
1728
1723
  export interface Event {
1729
1724
  /**
1730
- * <p>The identifier of the memory store containing the event.</p>
1725
+ * <p>The identifier of the AgentCore Memory resource containing the event.</p>
1731
1726
  * @public
1732
1727
  */
1733
1728
  memoryId: string | undefined;
@@ -1813,7 +1808,7 @@ export declare class ThrottledException extends __BaseException {
1813
1808
  */
1814
1809
  export interface DeleteEventInput {
1815
1810
  /**
1816
- * <p>The identifier of the memory store from which to delete the event.</p>
1811
+ * <p>The identifier of the AgentCore Memory resource from which to delete the event.</p>
1817
1812
  * @public
1818
1813
  */
1819
1814
  memoryId: string | undefined;
@@ -1848,7 +1843,7 @@ export interface DeleteEventOutput {
1848
1843
  */
1849
1844
  export interface DeleteMemoryRecordInput {
1850
1845
  /**
1851
- * <p>The identifier of the memory store from which to delete the memory record.</p>
1846
+ * <p>The identifier of the AgentCore Memory resource from which to delete the memory record.</p>
1852
1847
  * @public
1853
1848
  */
1854
1849
  memoryId: string | undefined;
@@ -1873,7 +1868,7 @@ export interface DeleteMemoryRecordOutput {
1873
1868
  */
1874
1869
  export interface GetEventInput {
1875
1870
  /**
1876
- * <p>The identifier of the memory store containing the event.</p>
1871
+ * <p>The identifier of the AgentCore Memory resource containing the event.</p>
1877
1872
  * @public
1878
1873
  */
1879
1874
  memoryId: string | undefined;
@@ -1908,7 +1903,7 @@ export interface GetEventOutput {
1908
1903
  */
1909
1904
  export interface GetMemoryRecordInput {
1910
1905
  /**
1911
- * <p>The identifier of the memory store containing the memory record.</p>
1906
+ * <p>The identifier of the AgentCore Memory resource containing the memory record.</p>
1912
1907
  * @public
1913
1908
  */
1914
1909
  memoryId: string | undefined;
@@ -1949,7 +1944,7 @@ export declare namespace MemoryContent {
1949
1944
  const visit: <T>(value: MemoryContent, visitor: Visitor<T>) => T;
1950
1945
  }
1951
1946
  /**
1952
- * <p>Contains information about a memory record in a memory store.</p>
1947
+ * <p>Contains information about a memory record in an AgentCore Memory resource.</p>
1953
1948
  * @public
1954
1949
  */
1955
1950
  export interface MemoryRecord {
@@ -1994,7 +1989,7 @@ export interface GetMemoryRecordOutput {
1994
1989
  */
1995
1990
  export interface ListActorsInput {
1996
1991
  /**
1997
- * <p>The identifier of the memory store for which to list actors.</p>
1992
+ * <p>The identifier of the AgentCore Memory resource for which to list actors.</p>
1998
1993
  * @public
1999
1994
  */
2000
1995
  memoryId: string | undefined;
@@ -2056,7 +2051,7 @@ export interface FilterInput {
2056
2051
  */
2057
2052
  export interface ListEventsInput {
2058
2053
  /**
2059
- * <p>The identifier of the memory store for which to list events.</p>
2054
+ * <p>The identifier of the AgentCore Memory resource for which to list events.</p>
2060
2055
  * @public
2061
2056
  */
2062
2057
  memoryId: string | undefined;
@@ -2111,7 +2106,7 @@ export interface ListEventsOutput {
2111
2106
  */
2112
2107
  export interface ListMemoryRecordsInput {
2113
2108
  /**
2114
- * <p>The identifier of the memory store for which to list memory records.</p>
2109
+ * <p>The identifier of the AgentCore Memory resource for which to list memory records.</p>
2115
2110
  * @public
2116
2111
  */
2117
2112
  memoryId: string | undefined;
@@ -2192,7 +2187,7 @@ export interface ListMemoryRecordsOutput {
2192
2187
  */
2193
2188
  export interface ListSessionsInput {
2194
2189
  /**
2195
- * <p>The identifier of the memory store for which to list sessions.</p>
2190
+ * <p>The identifier of the AgentCore Memory resource for which to list sessions.</p>
2196
2191
  * @public
2197
2192
  */
2198
2193
  memoryId: string | undefined;
@@ -2213,7 +2208,7 @@ export interface ListSessionsInput {
2213
2208
  nextToken?: string | undefined;
2214
2209
  }
2215
2210
  /**
2216
- * <p>Contains summary information about a session in a memory store.</p>
2211
+ * <p>Contains summary information about a session in an AgentCore Memory resource.</p>
2217
2212
  * @public
2218
2213
  */
2219
2214
  export interface SessionSummary {
@@ -2274,7 +2269,7 @@ export interface SearchCriteria {
2274
2269
  */
2275
2270
  export interface RetrieveMemoryRecordsInput {
2276
2271
  /**
2277
- * <p>The identifier of the memory store from which to retrieve memory records.</p>
2272
+ * <p>The identifier of the AgentCore Memory resource from which to retrieve memory records.</p>
2278
2273
  * @public
2279
2274
  */
2280
2275
  memoryId: string | undefined;
@@ -297,7 +297,6 @@ export type Oauth2FlowType =
297
297
  (typeof Oauth2FlowType)[keyof typeof Oauth2FlowType];
298
298
  export interface GetResourceOauth2TokenRequest {
299
299
  workloadIdentityToken: string | undefined;
300
- userId?: string | undefined;
301
300
  resourceCredentialProviderName: string | undefined;
302
301
  scopes: string[] | undefined;
303
302
  oauth2Flow: Oauth2FlowType | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agentcore",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
4
- "version": "3.858.0",
4
+ "version": "3.860.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.858.0",
24
- "@aws-sdk/credential-provider-node": "3.858.0",
24
+ "@aws-sdk/credential-provider-node": "3.859.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",