@aws-sdk/client-bedrock-agent-runtime 3.609.0 → 3.614.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 (35) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +672 -71
  3. package/dist-es/BedrockAgentRuntime.js +6 -0
  4. package/dist-es/commands/DeleteAgentMemoryCommand.js +24 -0
  5. package/dist-es/commands/GetAgentMemoryCommand.js +24 -0
  6. package/dist-es/commands/InvokeFlowCommand.js +29 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +221 -49
  9. package/dist-es/pagination/GetAgentMemoryPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_restJson1.js +311 -3
  12. package/dist-types/BedrockAgentRuntime.d.ts +21 -0
  13. package/dist-types/BedrockAgentRuntimeClient.d.ts +5 -2
  14. package/dist-types/commands/DeleteAgentMemoryCommand.d.ts +87 -0
  15. package/dist-types/commands/GetAgentMemoryCommand.d.ts +103 -0
  16. package/dist-types/commands/InvokeAgentCommand.d.ts +134 -4
  17. package/dist-types/commands/InvokeFlowCommand.d.ts +137 -0
  18. package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +18 -1
  19. package/dist-types/commands/RetrieveCommand.d.ts +13 -1
  20. package/dist-types/commands/index.d.ts +3 -0
  21. package/dist-types/models/models_0.d.ts +1339 -299
  22. package/dist-types/pagination/GetAgentMemoryPaginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -0
  24. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  25. package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +51 -0
  26. package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +18 -0
  27. package/dist-types/ts3.4/commands/DeleteAgentMemoryCommand.d.ts +40 -0
  28. package/dist-types/ts3.4/commands/GetAgentMemoryCommand.d.ts +39 -0
  29. package/dist-types/ts3.4/commands/InvokeFlowCommand.d.ts +36 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +527 -54
  32. package/dist-types/ts3.4/pagination/GetAgentMemoryPaginator.d.ts +11 -0
  33. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  34. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  35. package/package.json +20 -20
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetAgentMemoryCommandInput,
4
+ GetAgentMemoryCommandOutput,
5
+ } from "../commands/GetAgentMemoryCommand";
6
+ import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetAgentMemory: (
8
+ config: BedrockAgentRuntimePaginationConfiguration,
9
+ input: GetAgentMemoryCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetAgentMemoryCommandOutput>;
@@ -1,2 +1,3 @@
1
+ export * from "./GetAgentMemoryPaginator";
1
2
  export * from "./Interfaces";
2
3
  export * from "./RetrievePaginator";
@@ -6,10 +6,22 @@ import {
6
6
  EventStreamSerdeContext as __EventStreamSerdeContext,
7
7
  SerdeContext as __SerdeContext,
8
8
  } from "@smithy/types";
9
+ import {
10
+ DeleteAgentMemoryCommandInput,
11
+ DeleteAgentMemoryCommandOutput,
12
+ } from "../commands/DeleteAgentMemoryCommand";
13
+ import {
14
+ GetAgentMemoryCommandInput,
15
+ GetAgentMemoryCommandOutput,
16
+ } from "../commands/GetAgentMemoryCommand";
9
17
  import {
10
18
  InvokeAgentCommandInput,
11
19
  InvokeAgentCommandOutput,
12
20
  } from "../commands/InvokeAgentCommand";
21
+ import {
22
+ InvokeFlowCommandInput,
23
+ InvokeFlowCommandOutput,
24
+ } from "../commands/InvokeFlowCommand";
13
25
  import {
14
26
  RetrieveAndGenerateCommandInput,
15
27
  RetrieveAndGenerateCommandOutput,
@@ -18,10 +30,22 @@ import {
18
30
  RetrieveCommandInput,
19
31
  RetrieveCommandOutput,
20
32
  } from "../commands/RetrieveCommand";
33
+ export declare const se_DeleteAgentMemoryCommand: (
34
+ input: DeleteAgentMemoryCommandInput,
35
+ context: __SerdeContext
36
+ ) => Promise<__HttpRequest>;
37
+ export declare const se_GetAgentMemoryCommand: (
38
+ input: GetAgentMemoryCommandInput,
39
+ context: __SerdeContext
40
+ ) => Promise<__HttpRequest>;
21
41
  export declare const se_InvokeAgentCommand: (
22
42
  input: InvokeAgentCommandInput,
23
43
  context: __SerdeContext
24
44
  ) => Promise<__HttpRequest>;
45
+ export declare const se_InvokeFlowCommand: (
46
+ input: InvokeFlowCommandInput,
47
+ context: __SerdeContext
48
+ ) => Promise<__HttpRequest>;
25
49
  export declare const se_RetrieveCommand: (
26
50
  input: RetrieveCommandInput,
27
51
  context: __SerdeContext
@@ -30,10 +54,22 @@ export declare const se_RetrieveAndGenerateCommand: (
30
54
  input: RetrieveAndGenerateCommandInput,
31
55
  context: __SerdeContext
32
56
  ) => Promise<__HttpRequest>;
57
+ export declare const de_DeleteAgentMemoryCommand: (
58
+ output: __HttpResponse,
59
+ context: __SerdeContext
60
+ ) => Promise<DeleteAgentMemoryCommandOutput>;
61
+ export declare const de_GetAgentMemoryCommand: (
62
+ output: __HttpResponse,
63
+ context: __SerdeContext
64
+ ) => Promise<GetAgentMemoryCommandOutput>;
33
65
  export declare const de_InvokeAgentCommand: (
34
66
  output: __HttpResponse,
35
67
  context: __SerdeContext & __EventStreamSerdeContext
36
68
  ) => Promise<InvokeAgentCommandOutput>;
69
+ export declare const de_InvokeFlowCommand: (
70
+ output: __HttpResponse,
71
+ context: __SerdeContext & __EventStreamSerdeContext
72
+ ) => Promise<InvokeFlowCommandOutput>;
37
73
  export declare const de_RetrieveCommand: (
38
74
  output: __HttpResponse,
39
75
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agent-runtime",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.609.0",
4
+ "version": "3.614.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent-runtime",
@@ -20,44 +20,44 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.609.0",
24
- "@aws-sdk/client-sts": "3.609.0",
25
- "@aws-sdk/core": "3.609.0",
26
- "@aws-sdk/credential-provider-node": "3.609.0",
23
+ "@aws-sdk/client-sso-oidc": "3.614.0",
24
+ "@aws-sdk/client-sts": "3.614.0",
25
+ "@aws-sdk/core": "3.614.0",
26
+ "@aws-sdk/credential-provider-node": "3.614.0",
27
27
  "@aws-sdk/middleware-host-header": "3.609.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.609.0",
30
- "@aws-sdk/middleware-user-agent": "3.609.0",
31
- "@aws-sdk/region-config-resolver": "3.609.0",
30
+ "@aws-sdk/middleware-user-agent": "3.614.0",
31
+ "@aws-sdk/region-config-resolver": "3.614.0",
32
32
  "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.609.0",
33
+ "@aws-sdk/util-endpoints": "3.614.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.609.0",
35
- "@aws-sdk/util-user-agent-node": "3.609.0",
36
- "@smithy/config-resolver": "^3.0.4",
37
- "@smithy/core": "^2.2.4",
35
+ "@aws-sdk/util-user-agent-node": "3.614.0",
36
+ "@smithy/config-resolver": "^3.0.5",
37
+ "@smithy/core": "^2.2.6",
38
38
  "@smithy/eventstream-serde-browser": "^3.0.4",
39
39
  "@smithy/eventstream-serde-config-resolver": "^3.0.3",
40
40
  "@smithy/eventstream-serde-node": "^3.0.4",
41
- "@smithy/fetch-http-handler": "^3.2.0",
41
+ "@smithy/fetch-http-handler": "^3.2.1",
42
42
  "@smithy/hash-node": "^3.0.3",
43
43
  "@smithy/invalid-dependency": "^3.0.3",
44
44
  "@smithy/middleware-content-length": "^3.0.3",
45
- "@smithy/middleware-endpoint": "^3.0.4",
46
- "@smithy/middleware-retry": "^3.0.7",
45
+ "@smithy/middleware-endpoint": "^3.0.5",
46
+ "@smithy/middleware-retry": "^3.0.9",
47
47
  "@smithy/middleware-serde": "^3.0.3",
48
48
  "@smithy/middleware-stack": "^3.0.3",
49
- "@smithy/node-config-provider": "^3.1.3",
50
- "@smithy/node-http-handler": "^3.1.1",
49
+ "@smithy/node-config-provider": "^3.1.4",
50
+ "@smithy/node-http-handler": "^3.1.2",
51
51
  "@smithy/protocol-http": "^4.0.3",
52
- "@smithy/smithy-client": "^3.1.5",
52
+ "@smithy/smithy-client": "^3.1.7",
53
53
  "@smithy/types": "^3.3.0",
54
54
  "@smithy/url-parser": "^3.0.3",
55
55
  "@smithy/util-base64": "^3.0.0",
56
56
  "@smithy/util-body-length-browser": "^3.0.0",
57
57
  "@smithy/util-body-length-node": "^3.0.0",
58
- "@smithy/util-defaults-mode-browser": "^3.0.7",
59
- "@smithy/util-defaults-mode-node": "^3.0.7",
60
- "@smithy/util-endpoints": "^2.0.4",
58
+ "@smithy/util-defaults-mode-browser": "^3.0.9",
59
+ "@smithy/util-defaults-mode-node": "^3.0.9",
60
+ "@smithy/util-endpoints": "^2.0.5",
61
61
  "@smithy/util-middleware": "^3.0.3",
62
62
  "@smithy/util-retry": "^3.0.3",
63
63
  "@smithy/util-utf8": "^3.0.0",