@aws-sdk/client-bedrock-agent-runtime 3.1110.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.
Files changed (47) hide show
  1. package/README.md +15 -1
  2. package/dist-cjs/index.js +135 -21
  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 +8 -0
  8. package/dist-es/schemas/schemas_0.js +103 -20
  9. package/dist-types/BedrockAgentRuntime.d.ts +15 -1
  10. package/dist-types/BedrockAgentRuntimeClient.d.ts +5 -3
  11. package/dist-types/commands/CheckIngestedDocumentAclCommand.d.ts +91 -0
  12. package/dist-types/commands/CreateInvocationCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateSessionCommand.d.ts +2 -1
  14. package/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
  15. package/dist-types/commands/EndSessionCommand.d.ts +1 -1
  16. package/dist-types/commands/GetIngestedDocumentAclCommand.d.ts +129 -0
  17. package/dist-types/commands/GetSessionCommand.d.ts +1 -1
  18. package/dist-types/commands/InvokeAgentCommand.d.ts +1 -1
  19. package/dist-types/commands/index.d.ts +2 -0
  20. package/dist-types/index.d.ts +1 -1
  21. package/dist-types/models/enums.d.ts +24 -0
  22. package/dist-types/models/models_0.d.ts +152 -162
  23. package/dist-types/models/models_1.d.ts +164 -4
  24. package/dist-types/runtimeConfig.browser.d.ts +39 -39
  25. package/dist-types/runtimeConfig.d.ts +36 -36
  26. package/dist-types/runtimeConfig.native.d.ts +38 -38
  27. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  28. package/dist-types/schemas/schemas_0.d.ts +11 -0
  29. package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +34 -0
  30. package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +12 -0
  31. package/dist-types/ts3.4/commands/CheckIngestedDocumentAclCommand.d.ts +42 -0
  32. package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +2 -1
  34. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/GetIngestedDocumentAclCommand.d.ts +39 -0
  37. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  39. package/dist-types/ts3.4/models/enums.d.ts +12 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +40 -41
  41. package/dist-types/ts3.4/models/models_1.d.ts +40 -0
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +55 -57
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +59 -61
  45. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  47. package/package.json +5 -5
@@ -1,5 +1,165 @@
1
1
  import type { AgentCollaboration, ImageFormat, OrchestrationType, RerankingModelType, RetrieveAndGenerateType, SearchType, SessionStatus } from "./enums";
2
2
  import type { AgentActionGroup, AgenticRetrieveConfiguration, AgenticRetrieveMessage, AgenticRetrievePolicyConfiguration, BedrockModelConfigurations, CollaboratorConfiguration, ConversationHistory, CustomOrchestration, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, GuardrailConfiguration, GuardrailConfigurationWithArn, ImplicitFilterConfiguration, InlineBedrockModelConfigurations, InlineSessionState, InputFile, InvocationResultMember, KnowledgeBaseQuery, ManagedSearchRerankingConfiguration, OrchestrationConfiguration, PromptCreationConfigurations, PromptOverrideConfiguration, RetrieveAndGenerateInput, RetrieveAndGenerateSessionConfiguration, StreamingConfigurations, UserContext, VectorSearchRerankingConfiguration } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface CreateSessionResponse {
7
+ /**
8
+ * <p>The unique identifier for the session.</p>
9
+ * @public
10
+ */
11
+ sessionId: string | undefined;
12
+ /**
13
+ * <p>The Amazon Resource Name (ARN) of the created session.</p>
14
+ * @public
15
+ */
16
+ sessionArn: string | undefined;
17
+ /**
18
+ * <p>The current status of the session.</p>
19
+ * @public
20
+ */
21
+ sessionStatus: SessionStatus | undefined;
22
+ /**
23
+ * <p>The timestamp for when the session was created.</p>
24
+ * @public
25
+ */
26
+ createdAt: Date | undefined;
27
+ }
28
+ /**
29
+ * @public
30
+ */
31
+ export interface DeleteSessionRequest {
32
+ /**
33
+ * <p>The unique identifier for the session to be deleted. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p>
34
+ * @public
35
+ */
36
+ sessionIdentifier: string | undefined;
37
+ }
38
+ /**
39
+ * @public
40
+ */
41
+ export interface DeleteSessionResponse {
42
+ }
43
+ /**
44
+ * @public
45
+ */
46
+ export interface EndSessionRequest {
47
+ /**
48
+ * <p>The unique identifier for the session to end. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p>
49
+ * @public
50
+ */
51
+ sessionIdentifier: string | undefined;
52
+ }
53
+ /**
54
+ * @public
55
+ */
56
+ export interface EndSessionResponse {
57
+ /**
58
+ * <p>The unique identifier of the session you ended.</p>
59
+ * @public
60
+ */
61
+ sessionId: string | undefined;
62
+ /**
63
+ * <p>The Amazon Resource Name (ARN) of the session you ended.</p>
64
+ * @public
65
+ */
66
+ sessionArn: string | undefined;
67
+ /**
68
+ * <p>The current status of the session you ended.</p>
69
+ * @public
70
+ */
71
+ sessionStatus: SessionStatus | undefined;
72
+ }
73
+ /**
74
+ * @public
75
+ */
76
+ export interface GetSessionRequest {
77
+ /**
78
+ * <p>A unique identifier for the session to retrieve. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p>
79
+ * @public
80
+ */
81
+ sessionIdentifier: string | undefined;
82
+ }
83
+ /**
84
+ * @public
85
+ */
86
+ export interface GetSessionResponse {
87
+ /**
88
+ * <p>The unique identifier for the session in UUID format.</p>
89
+ * @public
90
+ */
91
+ sessionId: string | undefined;
92
+ /**
93
+ * <p>The Amazon Resource Name (ARN) of the session.</p>
94
+ * @public
95
+ */
96
+ sessionArn: string | undefined;
97
+ /**
98
+ * <p>The current status of the session.</p>
99
+ * @public
100
+ */
101
+ sessionStatus: SessionStatus | undefined;
102
+ /**
103
+ * <p>The timestamp for when the session was created.</p>
104
+ * @public
105
+ */
106
+ createdAt: Date | undefined;
107
+ /**
108
+ * <p>The timestamp for when the session was last modified.</p>
109
+ * @public
110
+ */
111
+ lastUpdatedAt: Date | undefined;
112
+ /**
113
+ * <p>A map of key-value pairs containing attributes persisted across the session.</p>
114
+ * @public
115
+ */
116
+ sessionMetadata?: Record<string, string> | undefined;
117
+ /**
118
+ * <p>The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the session data. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/session-encryption.html">Amazon Bedrock session encryption</a>.</p>
119
+ * @public
120
+ */
121
+ encryptionKeyArn?: string | undefined;
122
+ }
123
+ /**
124
+ * @public
125
+ */
126
+ export interface CreateInvocationRequest {
127
+ /**
128
+ * <p>A unique identifier for the invocation in UUID format.</p>
129
+ * @public
130
+ */
131
+ invocationId?: string | undefined;
132
+ /**
133
+ * <p>A description for the interactions in the invocation. For example, "User asking about weather in Seattle".</p>
134
+ * @public
135
+ */
136
+ description?: string | undefined;
137
+ /**
138
+ * <p>The unique identifier for the associated session for the invocation. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN). </p>
139
+ * @public
140
+ */
141
+ sessionIdentifier: string | undefined;
142
+ }
143
+ /**
144
+ * @public
145
+ */
146
+ export interface CreateInvocationResponse {
147
+ /**
148
+ * <p>The unique identifier for the session associated with the invocation.</p>
149
+ * @public
150
+ */
151
+ sessionId: string | undefined;
152
+ /**
153
+ * <p>The unique identifier for the invocation.</p>
154
+ * @public
155
+ */
156
+ invocationId: string | undefined;
157
+ /**
158
+ * <p>The timestamp for when the invocation was created.</p>
159
+ * @public
160
+ */
161
+ createdAt: Date | undefined;
162
+ }
3
163
  /**
4
164
  * @public
5
165
  */
@@ -890,7 +1050,7 @@ export interface ManagedSearchConfiguration {
890
1050
  */
891
1051
  numberOfResults?: number | undefined;
892
1052
  /**
893
- * <p>Specifies the filters to use on the metadata attributes in the knowledge base data sources before returning results. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html">Query configurations</a>. See the examples below to see how to use these filters.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax">Retrieve request</a> – in the <code>filter</code> field</p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax">RetrieveAndGenerate request</a> – in the <code>filter</code> field</p> </li> </ul>
1053
+ * <p>Filters the metadata of the retrieved results so that Amazon Bedrock returns only results that match the filter.</p>
894
1054
  * @public
895
1055
  */
896
1056
  filter?: RetrievalFilter | undefined;
@@ -1141,7 +1301,7 @@ export interface RetrieveRequest {
1141
1301
  */
1142
1302
  nextToken?: string | undefined;
1143
1303
  /**
1144
- * <p>Contains information about the user making the request. Use this to pass user identity information for access control filtering, so that retrieval results only include documents the user is authorized to access.</p>
1304
+ * <p>Contains information about the user making the request. This is used for access control filtering to ensure that retrieval results only include documents the user is authorized to access.</p>
1145
1305
  * @public
1146
1306
  */
1147
1307
  userContext?: UserContext | undefined;
@@ -1253,7 +1413,7 @@ export interface RetrieveAndGenerateRequest {
1253
1413
  */
1254
1414
  sessionConfiguration?: RetrieveAndGenerateSessionConfiguration | undefined;
1255
1415
  /**
1256
- * <p>Contains information about the user making the request. Use this to pass user identity information for access control filtering, so that retrieval results only include documents the user is authorized to access.</p>
1416
+ * <p>Contains information about the user making the request. This is used for access control filtering to ensure that retrieval results only include documents the user is authorized to access.</p>
1257
1417
  * @public
1258
1418
  */
1259
1419
  userContext?: UserContext | undefined;
@@ -1283,7 +1443,7 @@ export interface RetrieveAndGenerateStreamRequest {
1283
1443
  */
1284
1444
  sessionConfiguration?: RetrieveAndGenerateSessionConfiguration | undefined;
1285
1445
  /**
1286
- * <p>Contains information about the user making the request. Use this to pass user identity information for access control filtering, so that retrieval results only include documents the user is authorized to access.</p>
1446
+ * <p>Contains information about the user making the request. This is used for access control filtering to ensure that retrieval results only include documents the user is authorized to access.</p>
1287
1447
  * @public
1288
1448
  */
1289
1449
  userContext?: UserContext | undefined;
@@ -4,50 +4,14 @@ import type { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClien
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig) => {
7
- runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
- bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
- defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
- eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
13
- maxAttempts: number | import("@smithy/types").Provider<number>;
14
- region: string | import("@smithy/types").Provider<any>;
15
- requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
16
- retryMode: string | import("@smithy/types").Provider<string>;
17
- streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- cacheMiddleware?: boolean | undefined;
21
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
22
- protocolSettings: {
23
- defaultNamespace?: string;
24
- [setting: string]: unknown;
25
- };
26
- apiVersion: string;
27
- sha256: import("@smithy/types").HashConstructor;
28
- urlParser: import("@smithy/types").UrlParser;
29
- base64Decoder: import("@smithy/types").Decoder;
30
- base64Encoder: (_input: Uint8Array | string) => string;
31
- utf8Decoder: import("@smithy/types").Decoder;
32
- utf8Encoder: (input: Uint8Array | string) => string;
33
- disableHostPrefix: boolean;
34
- serviceId: string;
35
- profile?: string;
36
- logger: import("@smithy/types").Logger;
37
- extensions: import("./runtimeExtensions").RuntimeExtension[];
7
+ cacheMiddleware?: boolean;
38
8
  customUserAgent?: string | import("@smithy/types").UserAgent;
39
9
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
40
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
41
- endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
42
- endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
43
- logger?: import("@smithy/types").Logger;
44
- }) => import("@smithy/types").EndpointV2;
10
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
45
11
  tls?: boolean;
46
12
  ignoreConfiguredEndpointUrls?: boolean;
47
13
  serviceConfiguredEndpoint?: never;
48
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
49
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
50
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
14
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
51
15
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
52
16
  signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
53
17
  signingEscapePath?: boolean;
@@ -55,4 +19,40 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
55
19
  signingRegion?: string;
56
20
  signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
57
21
  disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
22
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
23
+ apiVersion: string;
24
+ base64Decoder: import("@smithy/types").Decoder;
25
+ base64Encoder: (_input: Uint8Array | string) => string;
26
+ disableHostPrefix: boolean;
27
+ endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
28
+ logger?: import("@smithy/types").Logger;
29
+ }) => import("@smithy/types").EndpointV2;
30
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
31
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
32
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
33
+ logger: import("@smithy/types").Logger;
34
+ protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
35
+ protocolSettings: {
36
+ [setting: string]: unknown;
37
+ defaultNamespace?: string;
38
+ };
39
+ serviceId: string;
40
+ sha256: import("@smithy/types").HashConstructor;
41
+ urlParser: import("@smithy/types").UrlParser;
42
+ utf8Decoder: import("@smithy/types").Decoder;
43
+ utf8Encoder: (input: Uint8Array | string) => string;
44
+ profile?: string;
45
+ runtime: string;
46
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
47
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
48
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
49
+ defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
50
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
51
+ maxAttempts: number | import("@smithy/types").Provider<number>;
52
+ region: string | import("@smithy/types").Provider<any>;
53
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
54
+ retryMode: string | import("@smithy/types").Provider<string>;
55
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
56
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
57
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
58
58
  };
@@ -4,11 +4,46 @@ import type { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClien
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig) => {
7
+ cacheMiddleware?: boolean;
8
+ customUserAgent?: string | import("@smithy/types").UserAgent;
9
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
10
+ tls?: boolean;
11
+ ignoreConfiguredEndpointUrls?: boolean;
12
+ serviceConfiguredEndpoint?: never;
13
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
14
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
15
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
16
+ signingEscapePath?: boolean;
17
+ systemClockOffset?: number;
18
+ signingRegion?: string;
19
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
20
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
21
+ apiVersion: string;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: (_input: Uint8Array | string) => string;
24
+ disableHostPrefix: boolean;
25
+ endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
26
+ logger?: import("@smithy/types").Logger;
27
+ }) => import("@smithy/types").EndpointV2;
28
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
29
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
30
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
31
+ logger: import("@smithy/types").Logger;
32
+ protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
33
+ protocolSettings: {
34
+ [setting: string]: unknown;
35
+ defaultNamespace?: string;
36
+ };
37
+ serviceId: string;
38
+ sha256: import("@smithy/types").HashConstructor;
39
+ urlParser: import("@smithy/types").UrlParser;
40
+ utf8Decoder: import("@smithy/types").Decoder;
41
+ utf8Encoder: (input: Uint8Array | string) => string;
7
42
  runtime: string;
8
43
  defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
44
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
45
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
46
+ credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
12
47
  defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
48
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
14
49
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -19,40 +54,5 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
19
54
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
55
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
56
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- cacheMiddleware?: boolean | undefined;
23
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
24
- protocolSettings: {
25
- defaultNamespace?: string;
26
- [setting: string]: unknown;
27
- };
28
- apiVersion: string;
29
- sha256: import("@smithy/types").HashConstructor;
30
- urlParser: import("@smithy/types").UrlParser;
31
- base64Decoder: import("@smithy/types").Decoder;
32
- base64Encoder: (_input: Uint8Array | string) => string;
33
- utf8Decoder: import("@smithy/types").Decoder;
34
- utf8Encoder: (input: Uint8Array | string) => string;
35
- disableHostPrefix: boolean;
36
- serviceId: string;
37
57
  profile?: string;
38
- logger: import("@smithy/types").Logger;
39
- extensions: import("./runtimeExtensions").RuntimeExtension[];
40
- customUserAgent?: string | import("@smithy/types").UserAgent;
41
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
42
- endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
43
- endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
44
- logger?: import("@smithy/types").Logger;
45
- }) => import("@smithy/types").EndpointV2;
46
- tls?: boolean;
47
- ignoreConfiguredEndpointUrls?: boolean;
48
- serviceConfiguredEndpoint?: never;
49
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
50
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
51
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
52
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
53
- signingEscapePath?: boolean;
54
- systemClockOffset?: number;
55
- signingRegion?: string;
56
- signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
57
- disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
58
58
  };
@@ -3,50 +3,14 @@ import type { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClien
3
3
  * @internal
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig) => {
6
- runtime: string;
7
- requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
6
  cacheMiddleware?: boolean;
9
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
10
- protocolSettings: {
11
- defaultNamespace?: string;
12
- [setting: string]: unknown;
13
- };
14
- apiVersion: string;
15
- sha256: import("@smithy/types").HashConstructor;
16
- urlParser: import("@smithy/types").UrlParser;
17
- bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
- streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
- base64Decoder: import("@smithy/types").Decoder;
20
- base64Encoder: (_input: Uint8Array | string) => string;
21
- utf8Decoder: import("@smithy/types").Decoder;
22
- utf8Encoder: (input: Uint8Array | string) => string;
23
- disableHostPrefix: boolean;
24
- serviceId: string;
25
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
26
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
- region: string | import("@smithy/types").Provider<any>;
28
- profile?: string;
29
- defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
30
- credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
31
- maxAttempts: number | import("@smithy/types").Provider<number>;
32
- retryMode: string | import("@smithy/types").Provider<string>;
33
- logger: import("@smithy/types").Logger;
34
- extensions: import("./runtimeExtensions").RuntimeExtension[];
35
- eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
36
- defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
37
7
  customUserAgent?: string | import("@smithy/types").UserAgent;
38
8
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
39
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
40
- endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
41
- endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
42
- logger?: import("@smithy/types").Logger;
43
- }) => import("@smithy/types").EndpointV2;
9
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
44
10
  tls?: boolean;
45
11
  ignoreConfiguredEndpointUrls?: boolean;
46
12
  serviceConfiguredEndpoint?: never;
47
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
48
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
49
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
13
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
50
14
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
51
15
  signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
52
16
  signingEscapePath?: boolean;
@@ -54,4 +18,40 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
54
18
  signingRegion?: string;
55
19
  signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
56
20
  disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
21
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
22
+ apiVersion: string;
23
+ base64Decoder: import("@smithy/types").Decoder;
24
+ base64Encoder: (_input: Uint8Array | string) => string;
25
+ disableHostPrefix: boolean;
26
+ endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
27
+ logger?: import("@smithy/types").Logger;
28
+ }) => import("@smithy/types").EndpointV2;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
31
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
32
+ logger: import("@smithy/types").Logger;
33
+ protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
34
+ protocolSettings: {
35
+ [setting: string]: unknown;
36
+ defaultNamespace?: string;
37
+ };
38
+ serviceId: string;
39
+ sha256: import("@smithy/types").HashConstructor;
40
+ urlParser: import("@smithy/types").UrlParser;
41
+ utf8Decoder: import("@smithy/types").Decoder;
42
+ utf8Encoder: (input: Uint8Array | string) => string;
43
+ profile?: string;
44
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode> | import("@smithy/core/client").DefaultsMode;
45
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
46
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
47
+ defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
48
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
49
+ maxAttempts: number | import("@smithy/types").Provider<number>;
50
+ region: string | import("@smithy/types").Provider<any>;
51
+ requestHandler: import("@smithy/fetch-http-handler").FetchHttpHandler | import("@smithy/types").FetchHttpHandlerOptions | import("@smithy/types").NodeHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any>;
52
+ retryMode: string | import("@smithy/types").Provider<string>;
53
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
54
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
55
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
56
+ runtime: string;
57
57
  };
@@ -8,14 +8,14 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
8
8
  base64Decoder: import("@smithy/types").Decoder;
9
9
  base64Encoder: (_input: Uint8Array | string) => string;
10
10
  disableHostPrefix: boolean;
11
- endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
12
12
  logger?: import("@smithy/types").Logger;
13
13
  }) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
16
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
17
  logger: import("@smithy/types").Logger;
18
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
18
+ protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
19
  protocolSettings: {
20
20
  [setting: string]: unknown;
21
21
  defaultNamespace?: string;
@@ -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;
@@ -8,6 +8,10 @@ import {
8
8
  AgenticRetrieveStreamCommandInput,
9
9
  AgenticRetrieveStreamCommandOutput,
10
10
  } from "./commands/AgenticRetrieveStreamCommand";
11
+ import {
12
+ CheckIngestedDocumentAclCommandInput,
13
+ CheckIngestedDocumentAclCommandOutput,
14
+ } from "./commands/CheckIngestedDocumentAclCommand";
11
15
  import {
12
16
  CreateInvocationCommandInput,
13
17
  CreateInvocationCommandOutput,
@@ -45,6 +49,10 @@ import {
45
49
  GetFlowExecutionCommandInput,
46
50
  GetFlowExecutionCommandOutput,
47
51
  } from "./commands/GetFlowExecutionCommand";
52
+ import {
53
+ GetIngestedDocumentAclCommandInput,
54
+ GetIngestedDocumentAclCommandOutput,
55
+ } from "./commands/GetIngestedDocumentAclCommand";
48
56
  import {
49
57
  GetInvocationStepCommandInput,
50
58
  GetInvocationStepCommandOutput,
@@ -129,6 +137,19 @@ export interface BedrockAgentRuntime {
129
137
  options: __HttpHandlerOptions,
130
138
  cb: (err: any, data?: AgenticRetrieveStreamCommandOutput) => void,
131
139
  ): void;
140
+ checkIngestedDocumentAcl(
141
+ args: CheckIngestedDocumentAclCommandInput,
142
+ options?: __HttpHandlerOptions,
143
+ ): Promise<CheckIngestedDocumentAclCommandOutput>;
144
+ checkIngestedDocumentAcl(
145
+ args: CheckIngestedDocumentAclCommandInput,
146
+ cb: (err: any, data?: CheckIngestedDocumentAclCommandOutput) => void,
147
+ ): void;
148
+ checkIngestedDocumentAcl(
149
+ args: CheckIngestedDocumentAclCommandInput,
150
+ options: __HttpHandlerOptions,
151
+ cb: (err: any, data?: CheckIngestedDocumentAclCommandOutput) => void,
152
+ ): void;
132
153
  createInvocation(
133
154
  args: CreateInvocationCommandInput,
134
155
  options?: __HttpHandlerOptions,
@@ -260,6 +281,19 @@ export interface BedrockAgentRuntime {
260
281
  options: __HttpHandlerOptions,
261
282
  cb: (err: any, data?: GetFlowExecutionCommandOutput) => void,
262
283
  ): void;
284
+ getIngestedDocumentAcl(
285
+ args: GetIngestedDocumentAclCommandInput,
286
+ options?: __HttpHandlerOptions,
287
+ ): Promise<GetIngestedDocumentAclCommandOutput>;
288
+ getIngestedDocumentAcl(
289
+ args: GetIngestedDocumentAclCommandInput,
290
+ cb: (err: any, data?: GetIngestedDocumentAclCommandOutput) => void,
291
+ ): void;
292
+ getIngestedDocumentAcl(
293
+ args: GetIngestedDocumentAclCommandInput,
294
+ options: __HttpHandlerOptions,
295
+ cb: (err: any, data?: GetIngestedDocumentAclCommandOutput) => void,
296
+ ): void;
263
297
  getInvocationStep(
264
298
  args: GetInvocationStepCommandInput,
265
299
  options?: __HttpHandlerOptions,