@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.
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
@@ -42,6 +42,10 @@ import {
42
42
  AgenticRetrieveStreamCommandInput,
43
43
  AgenticRetrieveStreamCommandOutput,
44
44
  } from "./commands/AgenticRetrieveStreamCommand";
45
+ import {
46
+ CheckIngestedDocumentAclCommandInput,
47
+ CheckIngestedDocumentAclCommandOutput,
48
+ } from "./commands/CheckIngestedDocumentAclCommand";
45
49
  import {
46
50
  CreateInvocationCommandInput,
47
51
  CreateInvocationCommandOutput,
@@ -79,6 +83,10 @@ import {
79
83
  GetFlowExecutionCommandInput,
80
84
  GetFlowExecutionCommandOutput,
81
85
  } from "./commands/GetFlowExecutionCommand";
86
+ import {
87
+ GetIngestedDocumentAclCommandInput,
88
+ GetIngestedDocumentAclCommandOutput,
89
+ } from "./commands/GetIngestedDocumentAclCommand";
82
90
  import {
83
91
  GetInvocationStepCommandInput,
84
92
  GetInvocationStepCommandOutput,
@@ -158,6 +166,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
158
166
  export { __Client };
159
167
  export type ServiceInputTypes =
160
168
  | AgenticRetrieveStreamCommandInput
169
+ | CheckIngestedDocumentAclCommandInput
161
170
  | CreateInvocationCommandInput
162
171
  | CreateSessionCommandInput
163
172
  | DeleteAgentMemoryCommandInput
@@ -168,6 +177,7 @@ export type ServiceInputTypes =
168
177
  | GetDocumentContentCommandInput
169
178
  | GetExecutionFlowSnapshotCommandInput
170
179
  | GetFlowExecutionCommandInput
180
+ | GetIngestedDocumentAclCommandInput
171
181
  | GetInvocationStepCommandInput
172
182
  | GetSessionCommandInput
173
183
  | InvokeAgentCommandInput
@@ -192,6 +202,7 @@ export type ServiceInputTypes =
192
202
  | UpdateSessionCommandInput;
193
203
  export type ServiceOutputTypes =
194
204
  | AgenticRetrieveStreamCommandOutput
205
+ | CheckIngestedDocumentAclCommandOutput
195
206
  | CreateInvocationCommandOutput
196
207
  | CreateSessionCommandOutput
197
208
  | DeleteAgentMemoryCommandOutput
@@ -202,6 +213,7 @@ export type ServiceOutputTypes =
202
213
  | GetDocumentContentCommandOutput
203
214
  | GetExecutionFlowSnapshotCommandOutput
204
215
  | GetFlowExecutionCommandOutput
216
+ | GetIngestedDocumentAclCommandOutput
205
217
  | GetInvocationStepCommandOutput
206
218
  | GetSessionCommandOutput
207
219
  | InvokeAgentCommandOutput
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ CheckIngestedDocumentAclRequest,
4
+ CheckIngestedDocumentAclResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface CheckIngestedDocumentAclCommandInput extends CheckIngestedDocumentAclRequest {}
8
+ export interface CheckIngestedDocumentAclCommandOutput
9
+ extends CheckIngestedDocumentAclResponse, __MetadataBearer {}
10
+ declare const CheckIngestedDocumentAclCommand_base: {
11
+ new (
12
+ input: CheckIngestedDocumentAclCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ CheckIngestedDocumentAclCommandInput,
15
+ CheckIngestedDocumentAclCommandOutput,
16
+ import("..").BedrockAgentRuntimeClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: CheckIngestedDocumentAclCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ CheckIngestedDocumentAclCommandInput,
24
+ CheckIngestedDocumentAclCommandOutput,
25
+ import("..").BedrockAgentRuntimeClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class CheckIngestedDocumentAclCommand extends CheckIngestedDocumentAclCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: CheckIngestedDocumentAclRequest;
35
+ output: CheckIngestedDocumentAclResponse;
36
+ };
37
+ sdk: {
38
+ input: CheckIngestedDocumentAclCommandInput;
39
+ output: CheckIngestedDocumentAclCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { CreateInvocationRequest, CreateInvocationResponse } from "../models/models_0";
2
+ import { CreateInvocationRequest, CreateInvocationResponse } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface CreateInvocationCommandInput extends CreateInvocationRequest {}
5
5
  export interface CreateInvocationCommandOutput extends CreateInvocationResponse, __MetadataBearer {}
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { CreateSessionRequest, CreateSessionResponse } from "../models/models_0";
2
+ import { CreateSessionRequest } from "../models/models_0";
3
+ import { CreateSessionResponse } from "../models/models_1";
3
4
  export { __MetadataBearer };
4
5
  export interface CreateSessionCommandInput extends CreateSessionRequest {}
5
6
  export interface CreateSessionCommandOutput extends CreateSessionResponse, __MetadataBearer {}
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
2
+ import { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface DeleteSessionCommandInput extends DeleteSessionRequest {}
5
5
  export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __MetadataBearer {}
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { EndSessionRequest, EndSessionResponse } from "../models/models_0";
2
+ import { EndSessionRequest, EndSessionResponse } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface EndSessionCommandInput extends EndSessionRequest {}
5
5
  export interface EndSessionCommandOutput extends EndSessionResponse, __MetadataBearer {}
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetIngestedDocumentAclRequest, GetIngestedDocumentAclResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetIngestedDocumentAclCommandInput extends GetIngestedDocumentAclRequest {}
5
+ export interface GetIngestedDocumentAclCommandOutput
6
+ extends GetIngestedDocumentAclResponse, __MetadataBearer {}
7
+ declare const GetIngestedDocumentAclCommand_base: {
8
+ new (
9
+ input: GetIngestedDocumentAclCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ GetIngestedDocumentAclCommandInput,
12
+ GetIngestedDocumentAclCommandOutput,
13
+ import("..").BedrockAgentRuntimeClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: GetIngestedDocumentAclCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ GetIngestedDocumentAclCommandInput,
21
+ GetIngestedDocumentAclCommandOutput,
22
+ import("..").BedrockAgentRuntimeClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class GetIngestedDocumentAclCommand extends GetIngestedDocumentAclCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: GetIngestedDocumentAclRequest;
32
+ output: GetIngestedDocumentAclResponse;
33
+ };
34
+ sdk: {
35
+ input: GetIngestedDocumentAclCommandInput;
36
+ output: GetIngestedDocumentAclCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
2
+ import { GetSessionRequest, GetSessionResponse } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface GetSessionCommandInput extends GetSessionRequest {}
5
5
  export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {}
@@ -1,4 +1,5 @@
1
1
  export * from "./AgenticRetrieveStreamCommand";
2
+ export * from "./CheckIngestedDocumentAclCommand";
2
3
  export * from "./CreateInvocationCommand";
3
4
  export * from "./CreateSessionCommand";
4
5
  export * from "./DeleteAgentMemoryCommand";
@@ -9,6 +10,7 @@ export * from "./GetAgentMemoryCommand";
9
10
  export * from "./GetDocumentContentCommand";
10
11
  export * from "./GetExecutionFlowSnapshotCommand";
11
12
  export * from "./GetFlowExecutionCommand";
13
+ export * from "./GetIngestedDocumentAclCommand";
12
14
  export * from "./GetInvocationStepCommand";
13
15
  export * from "./GetSessionCommand";
14
16
  export * from "./InvokeAgentCommand";
@@ -360,6 +360,18 @@ export declare const DocumentOutputFormat: {
360
360
  readonly RAW: "RAW";
361
361
  };
362
362
  export type DocumentOutputFormat = (typeof DocumentOutputFormat)[keyof typeof DocumentOutputFormat];
363
+ export declare const DocumentAclMemberRelation: {
364
+ readonly AND: "AND";
365
+ readonly OR: "OR";
366
+ };
367
+ export type DocumentAclMemberRelation =
368
+ (typeof DocumentAclMemberRelation)[keyof typeof DocumentAclMemberRelation];
369
+ export declare const DocumentAclMembershipType: {
370
+ readonly DATA_SOURCE: "DATA_SOURCE";
371
+ readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
372
+ };
373
+ export type DocumentAclMembershipType =
374
+ (typeof DocumentAclMembershipType)[keyof typeof DocumentAclMembershipType];
363
375
  export declare const FileSourceType: {
364
376
  readonly BYTE_CONTENT: "BYTE_CONTENT";
365
377
  readonly S3: "S3";
@@ -12,6 +12,8 @@ import {
12
12
  ConversationRole,
13
13
  CreationMode,
14
14
  CustomControlMethod,
15
+ DocumentAclMemberRelation,
16
+ DocumentAclMembershipType,
15
17
  DocumentOutputFormat,
16
18
  ExecutionType,
17
19
  ExternalSourceType,
@@ -66,7 +68,6 @@ import {
66
68
  RetrievalResultContentColumnType,
67
69
  RetrievalResultContentType,
68
70
  RetrievalResultLocationType,
69
- SessionStatus,
70
71
  Source,
71
72
  TextToSqlConfigurationType,
72
73
  Type,
@@ -1309,6 +1310,15 @@ export interface TracePart {
1309
1310
  agentAliasId?: string | undefined;
1310
1311
  agentVersion?: string | undefined;
1311
1312
  }
1313
+ export interface CheckIngestedDocumentAclRequest {
1314
+ knowledgeBaseId: string | undefined;
1315
+ dataSourceId: string | undefined;
1316
+ documentId: string | undefined;
1317
+ userContext: UserContext | undefined;
1318
+ }
1319
+ export interface CheckIngestedDocumentAclResponse {
1320
+ hasAccess: boolean | undefined;
1321
+ }
1312
1322
  export interface GetExecutionFlowSnapshotRequest {
1313
1323
  flowIdentifier: string | undefined;
1314
1324
  flowAliasIdentifier: string | undefined;
@@ -2233,6 +2243,35 @@ export interface GetDocumentContentResponse {
2233
2243
  presignedUrl: string | undefined;
2234
2244
  documentContentLength?: number | undefined;
2235
2245
  }
2246
+ export interface GetIngestedDocumentAclRequest {
2247
+ knowledgeBaseId: string | undefined;
2248
+ dataSourceId: string | undefined;
2249
+ documentId: string | undefined;
2250
+ }
2251
+ export interface DocumentAclGroup {
2252
+ id: string | undefined;
2253
+ type: DocumentAclMembershipType | undefined;
2254
+ }
2255
+ export interface DocumentAclUser {
2256
+ id: string | undefined;
2257
+ type: DocumentAclMembershipType | undefined;
2258
+ }
2259
+ export interface DocumentAclCondition {
2260
+ conditionOperator?: DocumentAclMemberRelation | undefined;
2261
+ users?: DocumentAclUser[] | undefined;
2262
+ groups?: DocumentAclGroup[] | undefined;
2263
+ }
2264
+ export interface DocumentAclMembership {
2265
+ memberRelation?: DocumentAclMemberRelation | undefined;
2266
+ conditions?: DocumentAclCondition[] | undefined;
2267
+ }
2268
+ export interface DocumentAcl {
2269
+ allowList?: DocumentAclMembership | undefined;
2270
+ denyList?: DocumentAclMembership | undefined;
2271
+ }
2272
+ export interface GetIngestedDocumentAclResponse {
2273
+ documentAcl: DocumentAcl | undefined;
2274
+ }
2236
2275
  export interface BedrockModelConfigurations {
2237
2276
  performanceConfig?: PerformanceConfiguration | undefined;
2238
2277
  }
@@ -3604,43 +3643,3 @@ export interface CreateSessionRequest {
3604
3643
  encryptionKeyArn?: string | undefined;
3605
3644
  tags?: Record<string, string> | undefined;
3606
3645
  }
3607
- export interface CreateSessionResponse {
3608
- sessionId: string | undefined;
3609
- sessionArn: string | undefined;
3610
- sessionStatus: SessionStatus | undefined;
3611
- createdAt: Date | undefined;
3612
- }
3613
- export interface DeleteSessionRequest {
3614
- sessionIdentifier: string | undefined;
3615
- }
3616
- export interface DeleteSessionResponse {}
3617
- export interface EndSessionRequest {
3618
- sessionIdentifier: string | undefined;
3619
- }
3620
- export interface EndSessionResponse {
3621
- sessionId: string | undefined;
3622
- sessionArn: string | undefined;
3623
- sessionStatus: SessionStatus | undefined;
3624
- }
3625
- export interface GetSessionRequest {
3626
- sessionIdentifier: string | undefined;
3627
- }
3628
- export interface GetSessionResponse {
3629
- sessionId: string | undefined;
3630
- sessionArn: string | undefined;
3631
- sessionStatus: SessionStatus | undefined;
3632
- createdAt: Date | undefined;
3633
- lastUpdatedAt: Date | undefined;
3634
- sessionMetadata?: Record<string, string> | undefined;
3635
- encryptionKeyArn?: string | undefined;
3636
- }
3637
- export interface CreateInvocationRequest {
3638
- invocationId?: string | undefined;
3639
- description?: string | undefined;
3640
- sessionIdentifier: string | undefined;
3641
- }
3642
- export interface CreateInvocationResponse {
3643
- sessionId: string | undefined;
3644
- invocationId: string | undefined;
3645
- createdAt: Date | undefined;
3646
- }
@@ -37,6 +37,46 @@ import {
37
37
  UserContext,
38
38
  VectorSearchRerankingConfiguration,
39
39
  } from "./models_0";
40
+ export interface CreateSessionResponse {
41
+ sessionId: string | undefined;
42
+ sessionArn: string | undefined;
43
+ sessionStatus: SessionStatus | undefined;
44
+ createdAt: Date | undefined;
45
+ }
46
+ export interface DeleteSessionRequest {
47
+ sessionIdentifier: string | undefined;
48
+ }
49
+ export interface DeleteSessionResponse {}
50
+ export interface EndSessionRequest {
51
+ sessionIdentifier: string | undefined;
52
+ }
53
+ export interface EndSessionResponse {
54
+ sessionId: string | undefined;
55
+ sessionArn: string | undefined;
56
+ sessionStatus: SessionStatus | undefined;
57
+ }
58
+ export interface GetSessionRequest {
59
+ sessionIdentifier: string | undefined;
60
+ }
61
+ export interface GetSessionResponse {
62
+ sessionId: string | undefined;
63
+ sessionArn: string | undefined;
64
+ sessionStatus: SessionStatus | undefined;
65
+ createdAt: Date | undefined;
66
+ lastUpdatedAt: Date | undefined;
67
+ sessionMetadata?: Record<string, string> | undefined;
68
+ encryptionKeyArn?: string | undefined;
69
+ }
70
+ export interface CreateInvocationRequest {
71
+ invocationId?: string | undefined;
72
+ description?: string | undefined;
73
+ sessionIdentifier: string | undefined;
74
+ }
75
+ export interface CreateInvocationResponse {
76
+ sessionId: string | undefined;
77
+ invocationId: string | undefined;
78
+ createdAt: Date | undefined;
79
+ }
40
80
  export interface ListInvocationsRequest {
41
81
  nextToken?: string | undefined;
42
82
  maxResults?: number | undefined;
@@ -1,82 +1,30 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClient";
3
3
  export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig) => {
4
- runtime: string;
5
- defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/core/client").ResolvedDefaultsMode
7
- >;
8
- bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider:
10
- | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
- defaultUserAgentProvider: (
13
- config?: import("@aws-sdk/core/client").PreviouslyResolved,
14
- ) => Promise<import("@smithy/types").UserAgent>;
15
- eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
16
- maxAttempts: number | import("@smithy/types").Provider<number>;
17
- region: string | import("@smithy/types").Provider<any>;
18
- requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
19
- retryMode: string | import("@smithy/types").Provider<string>;
20
- streamCollector: (
21
- stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
22
- ) => Promise<Uint8Array>;
23
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
24
- (boolean | import("@smithy/types").Provider<boolean | undefined>);
25
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
- (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
- cacheMiddleware?: boolean | undefined;
28
- protocol:
29
- | import("@smithy/types").ClientProtocol<any, any>
30
- | import("@smithy/types").ClientProtocolCtor<any, any>
31
- | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
32
- protocolSettings: {
33
- defaultNamespace?: string;
34
- [setting: string]: unknown;
35
- };
36
- apiVersion: string;
37
- sha256: import("@smithy/types").HashConstructor;
38
- urlParser: import("@smithy/types").UrlParser;
39
- base64Decoder: import("@smithy/types").Decoder;
40
- base64Encoder: (_input: Uint8Array | string) => string;
41
- utf8Decoder: import("@smithy/types").Decoder;
42
- utf8Encoder: (input: Uint8Array | string) => string;
43
- disableHostPrefix: boolean;
44
- serviceId: string;
45
- profile?: string;
46
- logger: import("@smithy/types").Logger;
47
- extensions: import("./runtimeExtensions").RuntimeExtension[];
4
+ cacheMiddleware?: boolean;
48
5
  customUserAgent?: string | import("@smithy/types").UserAgent;
49
6
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
50
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
51
7
  endpoint?:
52
8
  | ((
53
9
  | string
54
10
  | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
11
  | import("@smithy/types").EndpointV2
12
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
57
13
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
58
14
  ) &
59
15
  (
60
16
  | string
61
- | import("@smithy/types").Provider<string>
62
17
  | import("@smithy/types").Endpoint
63
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
64
18
  | import("@smithy/types").EndpointV2
19
+ | import("@smithy/types").Provider<string>
20
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
65
21
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
66
22
  ))
67
23
  | undefined;
68
- endpointProvider: (
69
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
70
- context?: {
71
- logger?: import("@smithy/types").Logger;
72
- },
73
- ) => import("@smithy/types").EndpointV2;
74
24
  tls?: boolean;
75
25
  ignoreConfiguredEndpointUrls?: boolean;
76
26
  serviceConfiguredEndpoint?: never;
77
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
78
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
79
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
27
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
80
28
  credentials?:
81
29
  | import("@smithy/types").AwsCredentialIdentity
82
30
  | import("@smithy/types").AwsCredentialIdentityProvider;
@@ -93,4 +41,54 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
93
41
  import("@smithy/signature-v4").SignatureV4CryptoInit,
94
42
  ) => import("@smithy/types").RequestSigner;
95
43
  disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
44
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
45
+ apiVersion: string;
46
+ base64Decoder: import("@smithy/types").Decoder;
47
+ base64Encoder: (_input: Uint8Array | string) => string;
48
+ disableHostPrefix: boolean;
49
+ endpointProvider: (
50
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@smithy/types").Logger;
53
+ },
54
+ ) => import("@smithy/types").EndpointV2;
55
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
56
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
57
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
58
+ logger: import("@smithy/types").Logger;
59
+ protocol:
60
+ | import("@smithy/types").$ClientProtocol<any, any>
61
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
62
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
63
+ protocolSettings: {
64
+ [setting: string]: unknown;
65
+ defaultNamespace?: string;
66
+ };
67
+ serviceId: string;
68
+ sha256: import("@smithy/types").HashConstructor;
69
+ urlParser: import("@smithy/types").UrlParser;
70
+ utf8Decoder: import("@smithy/types").Decoder;
71
+ utf8Encoder: (input: Uint8Array | string) => string;
72
+ profile?: string;
73
+ runtime: string;
74
+ defaultsMode: import("@smithy/types").Provider<
75
+ import("@smithy/core/client").ResolvedDefaultsMode
76
+ >;
77
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
78
+ credentialDefaultProvider:
79
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
80
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
81
+ defaultUserAgentProvider: (
82
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
83
+ ) => Promise<import("@smithy/types").UserAgent>;
84
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
85
+ maxAttempts: number | import("@smithy/types").Provider<number>;
86
+ region: string | import("@smithy/types").Provider<any>;
87
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
88
+ retryMode: string | import("@smithy/types").Provider<string>;
89
+ streamCollector: (
90
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
91
+ ) => Promise<Uint8Array>;
92
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
93
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
96
94
  };
@@ -1,82 +1,29 @@
1
1
  import { NodeHttp2Handler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClient";
3
3
  export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig) => {
4
- runtime: string;
5
- defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/core/client").ResolvedDefaultsMode
7
- >;
8
- authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
- bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider:
11
- | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
- | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
- ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
- defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
- ) => Promise<import("@smithy/types").UserAgent>;
18
- eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
19
- maxAttempts: number | import("@smithy/types").Provider<number>;
20
- region: string | import("@smithy/types").Provider<string>;
21
- requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
22
- retryMode: string | import("@smithy/types").Provider<string>;
23
- streamCollector: (
24
- stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
25
- ) => Promise<Uint8Array>;
26
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
- userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
29
- cacheMiddleware?: boolean | undefined;
30
- protocol:
31
- | import("@smithy/types").ClientProtocol<any, any>
32
- | import("@smithy/types").ClientProtocolCtor<any, any>
33
- | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
34
- protocolSettings: {
35
- defaultNamespace?: string;
36
- [setting: string]: unknown;
37
- };
38
- apiVersion: string;
39
- sha256: import("@smithy/types").HashConstructor;
40
- urlParser: import("@smithy/types").UrlParser;
41
- base64Decoder: import("@smithy/types").Decoder;
42
- base64Encoder: (_input: Uint8Array | string) => string;
43
- utf8Decoder: import("@smithy/types").Decoder;
44
- utf8Encoder: (input: Uint8Array | string) => string;
45
- disableHostPrefix: boolean;
46
- serviceId: string;
47
- profile?: string;
48
- logger: import("@smithy/types").Logger;
49
- extensions: import("./runtimeExtensions").RuntimeExtension[];
4
+ cacheMiddleware?: boolean;
50
5
  customUserAgent?: string | import("@smithy/types").UserAgent;
51
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
52
6
  endpoint?:
53
7
  | ((
54
8
  | string
55
9
  | import("@smithy/types").Endpoint
56
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
57
10
  | import("@smithy/types").EndpointV2
11
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
12
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
59
13
  ) &
60
14
  (
61
15
  | string
62
- | import("@smithy/types").Provider<string>
63
16
  | import("@smithy/types").Endpoint
64
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
65
17
  | import("@smithy/types").EndpointV2
18
+ | import("@smithy/types").Provider<string>
19
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
66
20
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
67
21
  ))
68
22
  | undefined;
69
- endpointProvider: (
70
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
71
- context?: {
72
- logger?: import("@smithy/types").Logger;
73
- },
74
- ) => import("@smithy/types").EndpointV2;
75
23
  tls?: boolean;
76
24
  ignoreConfiguredEndpointUrls?: boolean;
77
25
  serviceConfiguredEndpoint?: never;
78
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
79
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
26
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
80
27
  credentials?:
81
28
  | import("@smithy/types").AwsCredentialIdentity
82
29
  | import("@smithy/types").AwsCredentialIdentityProvider;
@@ -93,4 +40,57 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
93
40
  import("@smithy/signature-v4").SignatureV4CryptoInit,
94
41
  ) => import("@smithy/types").RequestSigner;
95
42
  disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
43
+ apiVersion: string;
44
+ base64Decoder: import("@smithy/types").Decoder;
45
+ base64Encoder: (_input: Uint8Array | string) => string;
46
+ disableHostPrefix: boolean;
47
+ endpointProvider: (
48
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
49
+ context?: {
50
+ logger?: import("@smithy/types").Logger;
51
+ },
52
+ ) => import("@smithy/types").EndpointV2;
53
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
54
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
55
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
56
+ logger: import("@smithy/types").Logger;
57
+ protocol:
58
+ | import("@smithy/types").$ClientProtocol<any, any>
59
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
60
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
61
+ protocolSettings: {
62
+ [setting: string]: unknown;
63
+ defaultNamespace?: string;
64
+ };
65
+ serviceId: string;
66
+ sha256: import("@smithy/types").HashConstructor;
67
+ urlParser: import("@smithy/types").UrlParser;
68
+ utf8Decoder: import("@smithy/types").Decoder;
69
+ utf8Encoder: (input: Uint8Array | string) => string;
70
+ runtime: string;
71
+ defaultsMode: import("@smithy/types").Provider<
72
+ import("@smithy/core/client").ResolvedDefaultsMode
73
+ >;
74
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
75
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
76
+ credentialDefaultProvider:
77
+ | ((
78
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
79
+ ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
80
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
81
+ defaultUserAgentProvider: (
82
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
83
+ ) => Promise<import("@smithy/types").UserAgent>;
84
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
85
+ maxAttempts: number | import("@smithy/types").Provider<number>;
86
+ region: string | import("@smithy/types").Provider<string>;
87
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
88
+ retryMode: string | import("@smithy/types").Provider<string>;
89
+ streamCollector: (
90
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
91
+ ) => Promise<Uint8Array>;
92
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
93
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
94
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
95
+ profile?: string;
96
96
  };