@aws-sdk/client-bedrock-agent-runtime 3.952.0 → 3.953.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 (51) hide show
  1. package/dist-cjs/index.js +1155 -804
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/CreateInvocationCommand.js +2 -2
  4. package/dist-es/commands/CreateSessionCommand.js +2 -2
  5. package/dist-es/commands/DeleteAgentMemoryCommand.js +2 -2
  6. package/dist-es/commands/DeleteSessionCommand.js +2 -2
  7. package/dist-es/commands/EndSessionCommand.js +2 -2
  8. package/dist-es/commands/GenerateQueryCommand.js +2 -2
  9. package/dist-es/commands/GetAgentMemoryCommand.js +2 -2
  10. package/dist-es/commands/GetExecutionFlowSnapshotCommand.js +2 -2
  11. package/dist-es/commands/GetFlowExecutionCommand.js +2 -2
  12. package/dist-es/commands/GetInvocationStepCommand.js +2 -2
  13. package/dist-es/commands/GetSessionCommand.js +2 -2
  14. package/dist-es/commands/InvokeAgentCommand.js +2 -2
  15. package/dist-es/commands/InvokeFlowCommand.js +2 -2
  16. package/dist-es/commands/InvokeInlineAgentCommand.js +2 -2
  17. package/dist-es/commands/ListFlowExecutionEventsCommand.js +2 -2
  18. package/dist-es/commands/ListFlowExecutionsCommand.js +2 -2
  19. package/dist-es/commands/ListInvocationStepsCommand.js +2 -2
  20. package/dist-es/commands/ListInvocationsCommand.js +2 -2
  21. package/dist-es/commands/ListSessionsCommand.js +2 -2
  22. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  23. package/dist-es/commands/OptimizePromptCommand.js +2 -2
  24. package/dist-es/commands/PutInvocationStepCommand.js +2 -2
  25. package/dist-es/commands/RerankCommand.js +2 -2
  26. package/dist-es/commands/RetrieveAndGenerateCommand.js +2 -2
  27. package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +2 -2
  28. package/dist-es/commands/RetrieveCommand.js +2 -2
  29. package/dist-es/commands/StartFlowExecutionCommand.js +2 -2
  30. package/dist-es/commands/StopFlowExecutionCommand.js +2 -2
  31. package/dist-es/commands/TagResourceCommand.js +2 -2
  32. package/dist-es/commands/UntagResourceCommand.js +2 -2
  33. package/dist-es/commands/UpdateSessionCommand.js +2 -2
  34. package/dist-es/index.js +1 -0
  35. package/dist-es/runtimeConfig.shared.js +6 -1
  36. package/dist-es/schemas/schemas_0.js +791 -783
  37. package/dist-types/BedrockAgentRuntimeClient.d.ts +1 -10
  38. package/dist-types/index.d.ts +1 -0
  39. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  40. package/dist-types/runtimeConfig.d.ts +6 -2
  41. package/dist-types/runtimeConfig.native.d.ts +6 -2
  42. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  43. package/dist-types/schemas/schemas_0.d.ts +344 -447
  44. package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +0 -4
  45. package/dist-types/ts3.4/index.d.ts +1 -0
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  49. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  50. package/dist-types/ts3.4/schemas/schemas_0.d.ts +343 -449
  51. package/package.json +37 -37
@@ -33,14 +33,11 @@ import {
33
33
  BodyLengthCalculator as __BodyLengthCalculator,
34
34
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
35
35
  ChecksumConstructor as __ChecksumConstructor,
36
- ClientProtocol,
37
36
  Decoder as __Decoder,
38
37
  Encoder as __Encoder,
39
38
  EventStreamSerdeProvider as __EventStreamSerdeProvider,
40
39
  HashConstructor as __HashConstructor,
41
40
  HttpHandlerOptions as __HttpHandlerOptions,
42
- HttpRequest,
43
- HttpResponse,
44
41
  Logger as __Logger,
45
42
  Provider as __Provider,
46
43
  StreamCollector as __StreamCollector,
@@ -272,7 +269,6 @@ export interface ClientDefaults
272
269
  retryMode?: string | __Provider<string>;
273
270
  logger?: __Logger;
274
271
  extensions?: RuntimeExtension[];
275
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
276
272
  eventStreamSerdeProvider?: __EventStreamSerdeProvider;
277
273
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
278
274
  }
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { BedrockAgentRuntimeExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
@@ -29,8 +29,16 @@ export declare const getRuntimeConfig: (
29
29
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
30
30
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
31
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
32
- apiVersion: string;
33
32
  cacheMiddleware?: boolean | undefined;
33
+ protocol:
34
+ | import("@smithy/types").ClientProtocol<any, any>
35
+ | import("@smithy/types").ClientProtocolCtor<any, any>
36
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
37
+ protocolSettings: {
38
+ defaultNamespace?: string;
39
+ [setting: string]: unknown;
40
+ };
41
+ apiVersion: string;
34
42
  urlParser: import("@smithy/types").UrlParser;
35
43
  base64Decoder: import("@smithy/types").Decoder;
36
44
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -41,10 +49,6 @@ export declare const getRuntimeConfig: (
41
49
  profile?: string;
42
50
  logger: import("@smithy/types").Logger;
43
51
  extensions: import("./runtimeExtensions").RuntimeExtension[];
44
- protocol: import("@smithy/types").ClientProtocol<
45
- import("@smithy/types").HttpRequest,
46
- import("@smithy/types").HttpResponse
47
- >;
48
52
  customUserAgent?: string | import("@smithy/types").UserAgent;
49
53
  userAgentAppId?:
50
54
  | string
@@ -29,8 +29,16 @@ export declare const getRuntimeConfig: (
29
29
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
31
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
32
- apiVersion: string;
33
32
  cacheMiddleware?: boolean | undefined;
33
+ protocol:
34
+ | import("@smithy/types").ClientProtocol<any, any>
35
+ | import("@smithy/types").ClientProtocolCtor<any, any>
36
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
37
+ protocolSettings: {
38
+ defaultNamespace?: string;
39
+ [setting: string]: unknown;
40
+ };
41
+ apiVersion: string;
34
42
  urlParser: import("@smithy/types").UrlParser;
35
43
  base64Decoder: import("@smithy/types").Decoder;
36
44
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -41,10 +49,6 @@ export declare const getRuntimeConfig: (
41
49
  profile?: string;
42
50
  logger: import("@smithy/types").Logger;
43
51
  extensions: import("./runtimeExtensions").RuntimeExtension[];
44
- protocol: import("@smithy/types").ClientProtocol<
45
- import("@smithy/types").HttpRequest,
46
- import("@smithy/types").HttpResponse
47
- >;
48
52
  customUserAgent?: string | import("@smithy/types").UserAgent;
49
53
  retryStrategy?:
50
54
  | import("@smithy/types").RetryStrategy
@@ -10,8 +10,16 @@ export declare const getRuntimeConfig: (
10
10
  | Record<string, unknown>
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
- apiVersion: string;
14
13
  cacheMiddleware?: boolean;
14
+ protocol:
15
+ | import("@smithy/types").ClientProtocol<any, any>
16
+ | import("@smithy/types").ClientProtocolCtor<any, any>
17
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
18
+ protocolSettings: {
19
+ defaultNamespace?: string;
20
+ [setting: string]: unknown;
21
+ };
22
+ apiVersion: string;
15
23
  urlParser: import("@smithy/types").UrlParser;
16
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (
39
47
  retryMode: string | import("@smithy/types").Provider<string>;
40
48
  logger: import("@smithy/types").Logger;
41
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
- protocol: import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >;
46
50
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
47
51
  defaultsMode:
48
52
  | import("@smithy/smithy-client").DefaultsMode
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClient";
2
3
  export declare const getRuntimeConfig: (
3
4
  config: BedrockAgentRuntimeClientConfig
@@ -16,10 +17,14 @@ export declare const getRuntimeConfig: (
16
17
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
17
18
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
18
19
  logger: import("@smithy/types").Logger;
19
- protocol: import("@smithy/types").ClientProtocol<
20
- import("@smithy/types").HttpRequest,
21
- import("@smithy/types").HttpResponse
22
- >;
20
+ protocol:
21
+ | import("@smithy/types").ClientProtocol<any, any>
22
+ | import("@smithy/types").ClientProtocolCtor<any, any>
23
+ | typeof AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ [setting: string]: unknown;
26
+ defaultNamespace?: string;
27
+ };
23
28
  serviceId: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  utf8Decoder: import("@smithy/types").Decoder;