@aws-sdk/client-bedrock-agent-runtime 3.1110.0 → 3.1112.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 (52) hide show
  1. package/README.md +15 -1
  2. package/dist-cjs/index.js +302 -85
  3. package/dist-es/BedrockAgentRuntime.js +4 -0
  4. package/dist-es/commands/CheckIngestedDocumentAclCommand.js +4 -0
  5. package/dist-es/commands/GetIngestedDocumentAclCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +26 -0
  8. package/dist-es/schemas/schemas_0.js +243 -84
  9. package/dist-types/BedrockAgentRuntime.d.ts +15 -1
  10. package/dist-types/BedrockAgentRuntimeClient.d.ts +5 -3
  11. package/dist-types/commands/AgenticRetrieveStreamCommand.d.ts +44 -2
  12. package/dist-types/commands/CheckIngestedDocumentAclCommand.d.ts +91 -0
  13. package/dist-types/commands/CreateInvocationCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateSessionCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
  16. package/dist-types/commands/EndSessionCommand.d.ts +1 -1
  17. package/dist-types/commands/GetIngestedDocumentAclCommand.d.ts +129 -0
  18. package/dist-types/commands/GetSessionCommand.d.ts +1 -1
  19. package/dist-types/commands/InvokeAgentCommand.d.ts +1 -1
  20. package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -2
  21. package/dist-types/commands/RetrieveCommand.d.ts +1 -2
  22. package/dist-types/commands/index.d.ts +2 -0
  23. package/dist-types/index.d.ts +1 -1
  24. package/dist-types/models/enums.d.ts +100 -0
  25. package/dist-types/models/models_0.d.ts +454 -607
  26. package/dist-types/models/models_1.d.ts +582 -6
  27. package/dist-types/runtimeConfig.browser.d.ts +39 -39
  28. package/dist-types/runtimeConfig.d.ts +36 -36
  29. package/dist-types/runtimeConfig.native.d.ts +38 -38
  30. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  31. package/dist-types/schemas/schemas_0.d.ts +19 -0
  32. package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +34 -0
  33. package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +12 -0
  34. package/dist-types/ts3.4/commands/CheckIngestedDocumentAclCommand.d.ts +42 -0
  35. package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/GetIngestedDocumentAclCommand.d.ts +39 -0
  40. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -2
  43. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  44. package/dist-types/ts3.4/models/enums.d.ts +34 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +155 -302
  46. package/dist-types/ts3.4/models/models_1.d.ts +320 -1
  47. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +55 -57
  48. package/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  49. package/dist-types/ts3.4/runtimeConfig.native.d.ts +59 -61
  50. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -0
  52. package/package.json +5 -5
@@ -1,86 +1,29 @@
1
1
  import { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClient";
2
2
  export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig) => {
3
- runtime: string;
4
- requestHandler:
5
- | import("@smithy/types").NodeHttpHandlerOptions
6
- | import("@smithy/types").FetchHttpHandlerOptions
7
- | Record<string, unknown>
8
- | import("@smithy/core/protocols").HttpHandler<any>
9
- | import("@smithy/fetch-http-handler").FetchHttpHandler;
10
3
  cacheMiddleware?: boolean;
11
- protocol:
12
- | import("@smithy/types").ClientProtocol<any, any>
13
- | import("@smithy/types").ClientProtocolCtor<any, any>
14
- | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
15
- protocolSettings: {
16
- defaultNamespace?: string;
17
- [setting: string]: unknown;
18
- };
19
- apiVersion: string;
20
- sha256: import("@smithy/types").HashConstructor;
21
- urlParser: import("@smithy/types").UrlParser;
22
- bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
- streamCollector: (
24
- stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
25
- ) => Promise<Uint8Array>;
26
- base64Decoder: import("@smithy/types").Decoder;
27
- base64Encoder: (_input: Uint8Array | string) => string;
28
- utf8Decoder: import("@smithy/types").Decoder;
29
- utf8Encoder: (input: Uint8Array | string) => string;
30
- disableHostPrefix: boolean;
31
- serviceId: string;
32
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
- (boolean | import("@smithy/types").Provider<boolean | undefined>);
34
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
35
- (boolean | import("@smithy/types").Provider<boolean | undefined>);
36
- region: string | import("@smithy/types").Provider<any>;
37
- profile?: string;
38
- defaultUserAgentProvider: (
39
- config?: import("@aws-sdk/core/client").PreviouslyResolved,
40
- ) => Promise<import("@smithy/types").UserAgent>;
41
- credentialDefaultProvider:
42
- | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
43
- | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
44
- maxAttempts: number | import("@smithy/types").Provider<number>;
45
- retryMode: string | import("@smithy/types").Provider<string>;
46
- logger: import("@smithy/types").Logger;
47
- extensions: import("./runtimeExtensions").RuntimeExtension[];
48
- eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
49
- defaultsMode:
50
- | import("@smithy/core/client").DefaultsMode
51
- | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
52
4
  customUserAgent?: string | import("@smithy/types").UserAgent;
53
5
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
54
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
55
6
  endpoint?:
56
7
  | ((
57
8
  | string
58
9
  | import("@smithy/types").Endpoint
59
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
10
  | import("@smithy/types").EndpointV2
11
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
12
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
62
13
  ) &
63
14
  (
64
15
  | string
65
- | import("@smithy/types").Provider<string>
66
16
  | import("@smithy/types").Endpoint
67
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
68
17
  | import("@smithy/types").EndpointV2
18
+ | import("@smithy/types").Provider<string>
19
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
20
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
70
21
  ))
71
22
  | undefined;
72
- endpointProvider: (
73
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
74
- context?: {
75
- logger?: import("@smithy/types").Logger;
76
- },
77
- ) => import("@smithy/types").EndpointV2;
78
23
  tls?: boolean;
79
24
  ignoreConfiguredEndpointUrls?: boolean;
80
25
  serviceConfiguredEndpoint?: never;
81
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
82
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
83
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
26
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
84
27
  credentials?:
85
28
  | import("@smithy/types").AwsCredentialIdentity
86
29
  | import("@smithy/types").AwsCredentialIdentityProvider;
@@ -97,4 +40,59 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
97
40
  import("@smithy/signature-v4").SignatureV4CryptoInit,
98
41
  ) => import("@smithy/types").RequestSigner;
99
42
  disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
43
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
44
+ apiVersion: string;
45
+ base64Decoder: import("@smithy/types").Decoder;
46
+ base64Encoder: (_input: Uint8Array | string) => string;
47
+ disableHostPrefix: boolean;
48
+ endpointProvider: (
49
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
50
+ context?: {
51
+ logger?: import("@smithy/types").Logger;
52
+ },
53
+ ) => import("@smithy/types").EndpointV2;
54
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
55
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
56
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
57
+ logger: import("@smithy/types").Logger;
58
+ protocol:
59
+ | import("@smithy/types").$ClientProtocol<any, any>
60
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
61
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
62
+ protocolSettings: {
63
+ [setting: string]: unknown;
64
+ defaultNamespace?: string;
65
+ };
66
+ serviceId: string;
67
+ sha256: import("@smithy/types").HashConstructor;
68
+ urlParser: import("@smithy/types").UrlParser;
69
+ utf8Decoder: import("@smithy/types").Decoder;
70
+ utf8Encoder: (input: Uint8Array | string) => string;
71
+ profile?: string;
72
+ defaultsMode:
73
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>
74
+ | import("@smithy/core/client").DefaultsMode;
75
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
76
+ credentialDefaultProvider:
77
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
78
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
79
+ defaultUserAgentProvider: (
80
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
81
+ ) => Promise<import("@smithy/types").UserAgent>;
82
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
83
+ maxAttempts: number | import("@smithy/types").Provider<number>;
84
+ region: string | import("@smithy/types").Provider<any>;
85
+ requestHandler:
86
+ | import("@smithy/fetch-http-handler").FetchHttpHandler
87
+ | import("@smithy/types").FetchHttpHandlerOptions
88
+ | import("@smithy/types").NodeHttpHandlerOptions
89
+ | Record<string, unknown>
90
+ | import("@smithy/core/protocols").HttpHandler<any>;
91
+ retryMode: string | import("@smithy/types").Provider<string>;
92
+ streamCollector: (
93
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
94
+ ) => Promise<Uint8Array>;
95
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
96
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
97
+ runtime: string;
100
98
  };
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
6
6
  base64Encoder: (_input: Uint8Array | string) => string;
7
7
  disableHostPrefix: boolean;
8
8
  endpointProvider: (
9
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
12
  },
@@ -16,8 +16,8 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
16
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
17
  logger: import("@smithy/types").Logger;
18
18
  protocol:
19
- | import("@smithy/types").ClientProtocol<any, any>
20
- | import("@smithy/types").ClientProtocolCtor<any, any>
19
+ | import("@smithy/types").$ClientProtocol<any, any>
20
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
21
21
  | typeof AwsRestJsonProtocol;
22
22
  protocolSettings: {
23
23
  [setting: string]: unknown;
@@ -36,6 +36,11 @@ export declare var AgenticRetrieveFailure$: StaticStructureSchema;
36
36
  export declare var AgenticRetrieveFullDocExpansionDetails$: StaticStructureSchema;
37
37
  export declare var AgenticRetrieveGeneratedResponse$: StaticStructureSchema;
38
38
  export declare var AgenticRetrieveGuardrailWarning$: StaticStructureSchema;
39
+ export declare var AgenticRetrieveMemoryConfiguration$: StaticStructureSchema;
40
+ export declare var AgenticRetrieveMemoryMetadataFilter$: StaticStructureSchema;
41
+ export declare var AgenticRetrieveMemoryRetrievalConfig$: StaticStructureSchema;
42
+ export declare var AgenticRetrieveMemoryRetrieveDetails$: StaticStructureSchema;
43
+ export declare var AgenticRetrieveMemorySessionBinding$: StaticStructureSchema;
39
44
  export declare var AgenticRetrieveMessage$: StaticStructureSchema;
40
45
  export declare var AgenticRetrieveMessageContent$: StaticStructureSchema;
41
46
  export declare var AgenticRetrievePolicyConfiguration$: StaticStructureSchema;
@@ -66,6 +71,8 @@ export declare var BedrockRerankingConfiguration$: StaticStructureSchema;
66
71
  export declare var BedrockRerankingModelConfiguration$: StaticStructureSchema;
67
72
  export declare var ByteContentDoc$: StaticStructureSchema;
68
73
  export declare var ByteContentFile$: StaticStructureSchema;
74
+ export declare var CheckIngestedDocumentAclRequest$: StaticStructureSchema;
75
+ export declare var CheckIngestedDocumentAclResponse$: StaticStructureSchema;
69
76
  export declare var Citation$: StaticStructureSchema;
70
77
  export declare var CitationEvent$: StaticStructureSchema;
71
78
  export declare var CodeInterpreterInvocationInput$: StaticStructureSchema;
@@ -86,6 +93,11 @@ export declare var DeleteAgentMemoryRequest$: StaticStructureSchema;
86
93
  export declare var DeleteAgentMemoryResponse$: StaticStructureSchema;
87
94
  export declare var DeleteSessionRequest$: StaticStructureSchema;
88
95
  export declare var DeleteSessionResponse$: StaticStructureSchema;
96
+ export declare var DocumentAcl$: StaticStructureSchema;
97
+ export declare var DocumentAclCondition$: StaticStructureSchema;
98
+ export declare var DocumentAclGroup$: StaticStructureSchema;
99
+ export declare var DocumentAclMembership$: StaticStructureSchema;
100
+ export declare var DocumentAclUser$: StaticStructureSchema;
89
101
  export declare var EndSessionRequest$: StaticStructureSchema;
90
102
  export declare var EndSessionResponse$: StaticStructureSchema;
91
103
  export declare var ExternalSource$: StaticStructureSchema;
@@ -138,6 +150,8 @@ export declare var GetExecutionFlowSnapshotRequest$: StaticStructureSchema;
138
150
  export declare var GetExecutionFlowSnapshotResponse$: StaticStructureSchema;
139
151
  export declare var GetFlowExecutionRequest$: StaticStructureSchema;
140
152
  export declare var GetFlowExecutionResponse$: StaticStructureSchema;
153
+ export declare var GetIngestedDocumentAclRequest$: StaticStructureSchema;
154
+ export declare var GetIngestedDocumentAclResponse$: StaticStructureSchema;
141
155
  export declare var GetInvocationStepRequest$: StaticStructureSchema;
142
156
  export declare var GetInvocationStepResponse$: StaticStructureSchema;
143
157
  export declare var GetSessionRequest$: StaticStructureSchema;
@@ -323,6 +337,9 @@ export declare var VectorSearchBedrockRerankingModelConfiguration$: StaticStruct
323
337
  export declare var VectorSearchRerankingConfiguration$: StaticStructureSchema;
324
338
  export declare var VideoSegment$: StaticStructureSchema;
325
339
  export declare var ActionGroupExecutor$: StaticUnionSchema;
340
+ export declare var AgenticRetrieveMemoryMetadataFilterLeft$: StaticUnionSchema;
341
+ export declare var AgenticRetrieveMemoryMetadataFilterRight$: StaticUnionSchema;
342
+ export declare var AgenticRetrieveMemoryMetadataValue$: StaticUnionSchema;
326
343
  export declare var AgenticRetrieveStreamResponseOutput$: StaticUnionSchema;
327
344
  export declare var AgenticRetrieveWarning$: StaticUnionSchema;
328
345
  export declare var APISchema$: StaticUnionSchema;
@@ -365,6 +382,7 @@ export declare var RoutingClassifierTrace$: StaticUnionSchema;
365
382
  export declare var Trace$: StaticUnionSchema;
366
383
  export declare var TraceElements$: StaticUnionSchema;
367
384
  export declare var AgenticRetrieveStream$: StaticOperationSchema;
385
+ export declare var CheckIngestedDocumentAcl$: StaticOperationSchema;
368
386
  export declare var CreateInvocation$: StaticOperationSchema;
369
387
  export declare var CreateSession$: StaticOperationSchema;
370
388
  export declare var DeleteAgentMemory$: StaticOperationSchema;
@@ -375,6 +393,7 @@ export declare var GetAgentMemory$: StaticOperationSchema;
375
393
  export declare var GetDocumentContent$: StaticOperationSchema;
376
394
  export declare var GetExecutionFlowSnapshot$: StaticOperationSchema;
377
395
  export declare var GetFlowExecution$: StaticOperationSchema;
396
+ export declare var GetIngestedDocumentAcl$: StaticOperationSchema;
378
397
  export declare var GetInvocationStep$: StaticOperationSchema;
379
398
  export declare var GetSession$: StaticOperationSchema;
380
399
  export declare var InvokeAgent$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agent-runtime",
3
- "version": "3.1110.0",
3
+ "version": "3.1112.0",
4
4
  "description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agent-runtime",
6
6
  "license": "Apache-2.0",
@@ -46,9 +46,9 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.977.7",
50
- "@aws-sdk/credential-provider-node": "^3.972.79",
51
- "@aws-sdk/types": "^3.974.3",
49
+ "@aws-sdk/core": "^3.977.8",
50
+ "@aws-sdk/credential-provider-node": "^3.972.80",
51
+ "@aws-sdk/types": "^3.974.4",
52
52
  "@smithy/core": "^3.31.1",
53
53
  "@smithy/fetch-http-handler": "^5.6.13",
54
54
  "@smithy/node-http-handler": "^4.9.13",
@@ -61,7 +61,7 @@
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "premove": "4.0.0",
64
- "typescript": "~6.0.3"
64
+ "typescript": "~7.0.2"
65
65
  },
66
66
  "engines": {
67
67
  "node": ">=20.0.0"