@aws-sdk/client-bedrock-agent-runtime 3.1109.0 → 3.1111.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 +15 -1
- package/dist-cjs/index.js +135 -21
- package/dist-es/BedrockAgentRuntime.js +4 -0
- package/dist-es/commands/CheckIngestedDocumentAclCommand.js +4 -0
- package/dist-es/commands/GetIngestedDocumentAclCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +8 -0
- package/dist-es/schemas/schemas_0.js +103 -20
- package/dist-types/BedrockAgentRuntime.d.ts +15 -1
- package/dist-types/BedrockAgentRuntimeClient.d.ts +5 -3
- package/dist-types/commands/CheckIngestedDocumentAclCommand.d.ts +91 -0
- package/dist-types/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSessionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/commands/GetIngestedDocumentAclCommand.d.ts +129 -0
- package/dist-types/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/commands/InvokeAgentCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +24 -0
- package/dist-types/models/models_0.d.ts +152 -162
- package/dist-types/models/models_1.d.ts +164 -4
- package/dist-types/runtimeConfig.browser.d.ts +39 -39
- package/dist-types/runtimeConfig.d.ts +36 -36
- package/dist-types/runtimeConfig.native.d.ts +38 -38
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +11 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +34 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CheckIngestedDocumentAclCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIngestedDocumentAclCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +40 -41
- package/dist-types/ts3.4/models/models_1.d.ts +40 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +55 -57
- package/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +59 -61
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- 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
|
-
|
|
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
|
-
|
|
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")
|
|
20
|
-
| import("@smithy/types")
|
|
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;
|
|
@@ -66,6 +66,8 @@ export declare var BedrockRerankingConfiguration$: StaticStructureSchema;
|
|
|
66
66
|
export declare var BedrockRerankingModelConfiguration$: StaticStructureSchema;
|
|
67
67
|
export declare var ByteContentDoc$: StaticStructureSchema;
|
|
68
68
|
export declare var ByteContentFile$: StaticStructureSchema;
|
|
69
|
+
export declare var CheckIngestedDocumentAclRequest$: StaticStructureSchema;
|
|
70
|
+
export declare var CheckIngestedDocumentAclResponse$: StaticStructureSchema;
|
|
69
71
|
export declare var Citation$: StaticStructureSchema;
|
|
70
72
|
export declare var CitationEvent$: StaticStructureSchema;
|
|
71
73
|
export declare var CodeInterpreterInvocationInput$: StaticStructureSchema;
|
|
@@ -86,6 +88,11 @@ export declare var DeleteAgentMemoryRequest$: StaticStructureSchema;
|
|
|
86
88
|
export declare var DeleteAgentMemoryResponse$: StaticStructureSchema;
|
|
87
89
|
export declare var DeleteSessionRequest$: StaticStructureSchema;
|
|
88
90
|
export declare var DeleteSessionResponse$: StaticStructureSchema;
|
|
91
|
+
export declare var DocumentAcl$: StaticStructureSchema;
|
|
92
|
+
export declare var DocumentAclCondition$: StaticStructureSchema;
|
|
93
|
+
export declare var DocumentAclGroup$: StaticStructureSchema;
|
|
94
|
+
export declare var DocumentAclMembership$: StaticStructureSchema;
|
|
95
|
+
export declare var DocumentAclUser$: StaticStructureSchema;
|
|
89
96
|
export declare var EndSessionRequest$: StaticStructureSchema;
|
|
90
97
|
export declare var EndSessionResponse$: StaticStructureSchema;
|
|
91
98
|
export declare var ExternalSource$: StaticStructureSchema;
|
|
@@ -138,6 +145,8 @@ export declare var GetExecutionFlowSnapshotRequest$: StaticStructureSchema;
|
|
|
138
145
|
export declare var GetExecutionFlowSnapshotResponse$: StaticStructureSchema;
|
|
139
146
|
export declare var GetFlowExecutionRequest$: StaticStructureSchema;
|
|
140
147
|
export declare var GetFlowExecutionResponse$: StaticStructureSchema;
|
|
148
|
+
export declare var GetIngestedDocumentAclRequest$: StaticStructureSchema;
|
|
149
|
+
export declare var GetIngestedDocumentAclResponse$: StaticStructureSchema;
|
|
141
150
|
export declare var GetInvocationStepRequest$: StaticStructureSchema;
|
|
142
151
|
export declare var GetInvocationStepResponse$: StaticStructureSchema;
|
|
143
152
|
export declare var GetSessionRequest$: StaticStructureSchema;
|
|
@@ -365,6 +374,7 @@ export declare var RoutingClassifierTrace$: StaticUnionSchema;
|
|
|
365
374
|
export declare var Trace$: StaticUnionSchema;
|
|
366
375
|
export declare var TraceElements$: StaticUnionSchema;
|
|
367
376
|
export declare var AgenticRetrieveStream$: StaticOperationSchema;
|
|
377
|
+
export declare var CheckIngestedDocumentAcl$: StaticOperationSchema;
|
|
368
378
|
export declare var CreateInvocation$: StaticOperationSchema;
|
|
369
379
|
export declare var CreateSession$: StaticOperationSchema;
|
|
370
380
|
export declare var DeleteAgentMemory$: StaticOperationSchema;
|
|
@@ -375,6 +385,7 @@ export declare var GetAgentMemory$: StaticOperationSchema;
|
|
|
375
385
|
export declare var GetDocumentContent$: StaticOperationSchema;
|
|
376
386
|
export declare var GetExecutionFlowSnapshot$: StaticOperationSchema;
|
|
377
387
|
export declare var GetFlowExecution$: StaticOperationSchema;
|
|
388
|
+
export declare var GetIngestedDocumentAcl$: StaticOperationSchema;
|
|
378
389
|
export declare var GetInvocationStep$: StaticOperationSchema;
|
|
379
390
|
export declare var GetSession$: StaticOperationSchema;
|
|
380
391
|
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.
|
|
3
|
+
"version": "3.1111.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.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
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": "~
|
|
64
|
+
"typescript": "~7.0.2"
|
|
65
65
|
},
|
|
66
66
|
"engines": {
|
|
67
67
|
"node": ">=20.0.0"
|