@aws-sdk/client-bedrock-agent-runtime 3.613.0 → 3.616.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 +24 -0
  2. package/dist-cjs/index.js +677 -76
  3. package/dist-es/BedrockAgentRuntime.js +6 -0
  4. package/dist-es/BedrockAgentRuntimeClient.js +5 -5
  5. package/dist-es/commands/DeleteAgentMemoryCommand.js +24 -0
  6. package/dist-es/commands/GetAgentMemoryCommand.js +24 -0
  7. package/dist-es/commands/InvokeFlowCommand.js +29 -0
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/models/models_0.js +221 -49
  10. package/dist-es/pagination/GetAgentMemoryPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/protocols/Aws_restJson1.js +311 -3
  13. package/dist-types/BedrockAgentRuntime.d.ts +21 -0
  14. package/dist-types/BedrockAgentRuntimeClient.d.ts +7 -4
  15. package/dist-types/commands/DeleteAgentMemoryCommand.d.ts +87 -0
  16. package/dist-types/commands/GetAgentMemoryCommand.d.ts +103 -0
  17. package/dist-types/commands/InvokeAgentCommand.d.ts +134 -4
  18. package/dist-types/commands/InvokeFlowCommand.d.ts +137 -0
  19. package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +18 -1
  20. package/dist-types/commands/RetrieveCommand.d.ts +13 -1
  21. package/dist-types/commands/index.d.ts +3 -0
  22. package/dist-types/models/models_0.d.ts +1339 -299
  23. package/dist-types/pagination/GetAgentMemoryPaginator.d.ts +7 -0
  24. package/dist-types/pagination/index.d.ts +1 -0
  25. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  26. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  27. package/dist-types/runtimeConfig.d.ts +1 -1
  28. package/dist-types/runtimeConfig.native.d.ts +1 -1
  29. package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +51 -0
  30. package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +20 -2
  31. package/dist-types/ts3.4/commands/DeleteAgentMemoryCommand.d.ts +40 -0
  32. package/dist-types/ts3.4/commands/GetAgentMemoryCommand.d.ts +39 -0
  33. package/dist-types/ts3.4/commands/InvokeFlowCommand.d.ts +36 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  35. package/dist-types/ts3.4/models/models_0.d.ts +527 -54
  36. package/dist-types/ts3.4/pagination/GetAgentMemoryPaginator.d.ts +11 -0
  37. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  39. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  40. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  41. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  42. package/package.json +24 -24
@@ -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
@@ -59,11 +59,11 @@ export declare const getRuntimeConfig: (
59
59
  }
60
60
  ) => import("@smithy/types").EndpointV2;
61
61
  tls?: boolean | undefined;
62
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
62
63
  retryStrategy?:
63
64
  | import("@smithy/types").RetryStrategy
64
65
  | import("@smithy/types").RetryStrategyV2
65
66
  | undefined;
66
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
67
67
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
68
68
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
69
69
  credentials?:
@@ -63,11 +63,11 @@ export declare const getRuntimeConfig: (
63
63
  }
64
64
  ) => import("@smithy/types").EndpointV2;
65
65
  tls?: boolean | undefined;
66
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
66
67
  retryStrategy?:
67
68
  | import("@smithy/types").RetryStrategy
68
69
  | import("@smithy/types").RetryStrategyV2
69
70
  | undefined;
70
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
71
71
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
72
72
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
73
73
  credentials?:
@@ -53,11 +53,11 @@ export declare const getRuntimeConfig: (
53
53
  }
54
54
  ) => import("@smithy/types").EndpointV2;
55
55
  tls?: boolean | undefined;
56
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
56
57
  retryStrategy?:
57
58
  | import("@smithy/types").RetryStrategy
58
59
  | import("@smithy/types").RetryStrategyV2
59
60
  | undefined;
60
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
61
61
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
62
62
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
63
63
  credentials?:
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.613.0",
4
+ "version": "3.616.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.613.0",
24
- "@aws-sdk/client-sts": "3.613.0",
25
- "@aws-sdk/core": "3.609.0",
26
- "@aws-sdk/credential-provider-node": "3.613.0",
27
- "@aws-sdk/middleware-host-header": "3.609.0",
23
+ "@aws-sdk/client-sso-oidc": "3.616.0",
24
+ "@aws-sdk/client-sts": "3.616.0",
25
+ "@aws-sdk/core": "3.616.0",
26
+ "@aws-sdk/credential-provider-node": "3.616.0",
27
+ "@aws-sdk/middleware-host-header": "3.616.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
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",
29
+ "@aws-sdk/middleware-recursion-detection": "3.616.0",
30
+ "@aws-sdk/middleware-user-agent": "3.616.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.7",
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.2",
42
42
  "@smithy/hash-node": "^3.0.3",
43
43
  "@smithy/invalid-dependency": "^3.0.3",
44
- "@smithy/middleware-content-length": "^3.0.3",
45
- "@smithy/middleware-endpoint": "^3.0.4",
46
- "@smithy/middleware-retry": "^3.0.7",
44
+ "@smithy/middleware-content-length": "^3.0.4",
45
+ "@smithy/middleware-endpoint": "^3.0.5",
46
+ "@smithy/middleware-retry": "^3.0.10",
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",
51
- "@smithy/protocol-http": "^4.0.3",
52
- "@smithy/smithy-client": "^3.1.5",
49
+ "@smithy/node-config-provider": "^3.1.4",
50
+ "@smithy/node-http-handler": "^3.1.3",
51
+ "@smithy/protocol-http": "^4.0.4",
52
+ "@smithy/smithy-client": "^3.1.8",
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.10",
59
+ "@smithy/util-defaults-mode-node": "^3.0.10",
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",