@aws-sdk/client-bedrock-agent-runtime 3.1070.0 → 3.1071.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 +14 -0
- package/dist-cjs/index.js +93 -8
- package/dist-cjs/models/errors.js +42 -42
- package/dist-cjs/runtimeConfig.js +5 -2
- package/dist-cjs/schemas/schemas_0.js +567 -139
- package/dist-es/BedrockAgentRuntime.js +4 -0
- package/dist-es/commands/AgenticRetrieveStreamCommand.js +20 -0
- package/dist-es/commands/GetDocumentContentCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +50 -7
- package/dist-es/models/errors.js +42 -42
- package/dist-es/runtimeConfig.js +5 -2
- package/dist-es/schemas/schemas_0.js +521 -139
- package/dist-types/BedrockAgentRuntime.d.ts +14 -0
- package/dist-types/BedrockAgentRuntimeClient.d.ts +4 -2
- package/dist-types/commands/AgenticRetrieveStreamCommand.d.ts +338 -0
- package/dist-types/commands/GetDocumentContentCommand.d.ts +99 -0
- package/dist-types/commands/GetInvocationStepCommand.d.ts +1 -1
- package/dist-types/commands/InvokeAgentCommand.d.ts +55 -4
- package/dist-types/commands/InvokeFlowCommand.d.ts +14 -2
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +78 -8
- package/dist-types/commands/ListFlowExecutionEventsCommand.d.ts +14 -2
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvocationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSessionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutInvocationStepCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +45 -3
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +52 -4
- package/dist-types/commands/RetrieveCommand.d.ts +45 -2
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSessionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +163 -16
- package/dist-types/models/errors.d.ts +45 -45
- package/dist-types/models/models_0.d.ts +4105 -4355
- package/dist-types/models/models_1.d.ts +1396 -2
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +48 -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/AgenticRetrieveStreamCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDocumentContentCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +74 -11
- package/dist-types/ts3.4/models/errors.d.ts +28 -28
- package/dist-types/ts3.4/models/models_0.d.ts +448 -541
- package/dist-types/ts3.4/models/models_1.d.ts +602 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -0
- package/package.json +3 -3
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { BedrockAgentRuntimeClient } from "./BedrockAgentRuntimeClient";
|
|
3
|
+
import { AgenticRetrieveStreamCommand, } from "./commands/AgenticRetrieveStreamCommand";
|
|
3
4
|
import { CreateInvocationCommand, } from "./commands/CreateInvocationCommand";
|
|
4
5
|
import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
|
|
5
6
|
import { DeleteAgentMemoryCommand, } from "./commands/DeleteAgentMemoryCommand";
|
|
@@ -7,6 +8,7 @@ import { DeleteSessionCommand, } from "./commands/DeleteSessionCommand";
|
|
|
7
8
|
import { EndSessionCommand, } from "./commands/EndSessionCommand";
|
|
8
9
|
import { GenerateQueryCommand, } from "./commands/GenerateQueryCommand";
|
|
9
10
|
import { GetAgentMemoryCommand, } from "./commands/GetAgentMemoryCommand";
|
|
11
|
+
import { GetDocumentContentCommand, } from "./commands/GetDocumentContentCommand";
|
|
10
12
|
import { GetExecutionFlowSnapshotCommand, } from "./commands/GetExecutionFlowSnapshotCommand";
|
|
11
13
|
import { GetFlowExecutionCommand, } from "./commands/GetFlowExecutionCommand";
|
|
12
14
|
import { GetInvocationStepCommand, } from "./commands/GetInvocationStepCommand";
|
|
@@ -40,6 +42,7 @@ import { paginateListSessions } from "./pagination/ListSessionsPaginator";
|
|
|
40
42
|
import { paginateRerank } from "./pagination/RerankPaginator";
|
|
41
43
|
import { paginateRetrieve } from "./pagination/RetrievePaginator";
|
|
42
44
|
const commands = {
|
|
45
|
+
AgenticRetrieveStreamCommand,
|
|
43
46
|
CreateInvocationCommand,
|
|
44
47
|
CreateSessionCommand,
|
|
45
48
|
DeleteAgentMemoryCommand,
|
|
@@ -47,6 +50,7 @@ const commands = {
|
|
|
47
50
|
EndSessionCommand,
|
|
48
51
|
GenerateQueryCommand,
|
|
49
52
|
GetAgentMemoryCommand,
|
|
53
|
+
GetDocumentContentCommand,
|
|
50
54
|
GetExecutionFlowSnapshotCommand,
|
|
51
55
|
GetFlowExecutionCommand,
|
|
52
56
|
GetInvocationStepCommand,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { AgenticRetrieveStream$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class AgenticRetrieveStreamCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentRunTimeService", "AgenticRetrieveStream", {
|
|
13
|
+
eventStream: {
|
|
14
|
+
output: true,
|
|
15
|
+
},
|
|
16
|
+
})
|
|
17
|
+
.n("BedrockAgentRuntimeClient", "AgenticRetrieveStreamCommand")
|
|
18
|
+
.sc(AgenticRetrieveStream$)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetDocumentContent$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetDocumentContentCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentRunTimeService", "GetDocumentContent", {})
|
|
13
|
+
.n("BedrockAgentRuntimeClient", "GetDocumentContentCommand")
|
|
14
|
+
.sc(GetDocumentContent$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./AgenticRetrieveStreamCommand";
|
|
1
2
|
export * from "./CreateInvocationCommand";
|
|
2
3
|
export * from "./CreateSessionCommand";
|
|
3
4
|
export * from "./DeleteAgentMemoryCommand";
|
|
@@ -5,6 +6,7 @@ export * from "./DeleteSessionCommand";
|
|
|
5
6
|
export * from "./EndSessionCommand";
|
|
6
7
|
export * from "./GenerateQueryCommand";
|
|
7
8
|
export * from "./GetAgentMemoryCommand";
|
|
9
|
+
export * from "./GetDocumentContentCommand";
|
|
8
10
|
export * from "./GetExecutionFlowSnapshotCommand";
|
|
9
11
|
export * from "./GetFlowExecutionCommand";
|
|
10
12
|
export * from "./GetInvocationStepCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -51,10 +51,43 @@ export const PayloadType = {
|
|
|
51
51
|
RETURN_CONTROL: "RETURN_CONTROL",
|
|
52
52
|
TEXT: "TEXT",
|
|
53
53
|
};
|
|
54
|
+
export const FoundationModelConfigurationType = {
|
|
55
|
+
BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
|
|
56
|
+
};
|
|
57
|
+
export const FoundationModelType = {
|
|
58
|
+
CUSTOM: "CUSTOM",
|
|
59
|
+
MANAGED: "MANAGED",
|
|
60
|
+
};
|
|
61
|
+
export const AgenticRetrieveRerankingConfigurationType = {
|
|
62
|
+
BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL",
|
|
63
|
+
};
|
|
64
|
+
export const AgenticRetrieveRerankingModelType = {
|
|
65
|
+
CUSTOM: "CUSTOM",
|
|
66
|
+
MANAGED: "MANAGED",
|
|
67
|
+
NONE: "NONE",
|
|
68
|
+
};
|
|
54
69
|
export const GuardrailAction = {
|
|
55
70
|
INTERVENED: "INTERVENED",
|
|
56
71
|
NONE: "NONE",
|
|
57
72
|
};
|
|
73
|
+
export const ConversationRole = {
|
|
74
|
+
ASSISTANT: "assistant",
|
|
75
|
+
USER: "user",
|
|
76
|
+
};
|
|
77
|
+
export const AgenticRetrieveType = {
|
|
78
|
+
BEDROCK_KNOWLEDGE_BASE: "BedrockKnowledgeBase",
|
|
79
|
+
};
|
|
80
|
+
export const AgenticRetrieveStatus = {
|
|
81
|
+
FAILED: "FAILED",
|
|
82
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
83
|
+
SUCCEEDED: "SUCCEEDED",
|
|
84
|
+
};
|
|
85
|
+
export const AgenticRetrieveStep = {
|
|
86
|
+
FULL_DOCUMENT_EXPANSION: "FullDocumentExpansion",
|
|
87
|
+
PLANNING: "Planning",
|
|
88
|
+
RETRIEVAL: "Retrieval",
|
|
89
|
+
SPECULATIVE_RETRIEVAL: "SpeculativeRetrieval",
|
|
90
|
+
};
|
|
58
91
|
export const GuardrailContentPolicyAction = {
|
|
59
92
|
BLOCKED: "BLOCKED",
|
|
60
93
|
};
|
|
@@ -157,7 +190,9 @@ export const RetrievalResultContentType = {
|
|
|
157
190
|
export const RetrievalResultLocationType = {
|
|
158
191
|
CONFLUENCE: "CONFLUENCE",
|
|
159
192
|
CUSTOM: "CUSTOM",
|
|
193
|
+
GOOGLEDRIVE: "GOOGLEDRIVE",
|
|
160
194
|
KENDRA: "KENDRA",
|
|
195
|
+
ONEDRIVE: "ONEDRIVE",
|
|
161
196
|
S3: "S3",
|
|
162
197
|
SALESFORCE: "SALESFORCE",
|
|
163
198
|
SHAREPOINT: "SHAREPOINT",
|
|
@@ -247,9 +282,9 @@ export const TextToSqlConfigurationType = {
|
|
|
247
282
|
export const GeneratedQueryType = {
|
|
248
283
|
REDSHIFT_SQL: "REDSHIFT_SQL",
|
|
249
284
|
};
|
|
250
|
-
export const
|
|
251
|
-
|
|
252
|
-
|
|
285
|
+
export const DocumentOutputFormat = {
|
|
286
|
+
EXTRACTED: "EXTRACTED",
|
|
287
|
+
RAW: "RAW",
|
|
253
288
|
};
|
|
254
289
|
export const FileSourceType = {
|
|
255
290
|
BYTE_CONTENT: "BYTE_CONTENT",
|
|
@@ -259,6 +294,18 @@ export const FileUseCase = {
|
|
|
259
294
|
CHAT: "CHAT",
|
|
260
295
|
CODE_INTERPRETER: "CODE_INTERPRETER",
|
|
261
296
|
};
|
|
297
|
+
export const RerankingMetadataSelectionMode = {
|
|
298
|
+
ALL: "ALL",
|
|
299
|
+
SELECTIVE: "SELECTIVE",
|
|
300
|
+
};
|
|
301
|
+
export const ManagedSearchRerankingConfigurationType = {
|
|
302
|
+
BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL",
|
|
303
|
+
};
|
|
304
|
+
export const RerankingModelType = {
|
|
305
|
+
CUSTOM: "CUSTOM",
|
|
306
|
+
MANAGED: "MANAGED",
|
|
307
|
+
NONE: "NONE",
|
|
308
|
+
};
|
|
262
309
|
export const AttributeType = {
|
|
263
310
|
BOOLEAN: "BOOLEAN",
|
|
264
311
|
NUMBER: "NUMBER",
|
|
@@ -269,10 +316,6 @@ export const SearchType = {
|
|
|
269
316
|
HYBRID: "HYBRID",
|
|
270
317
|
SEMANTIC: "SEMANTIC",
|
|
271
318
|
};
|
|
272
|
-
export const RerankingMetadataSelectionMode = {
|
|
273
|
-
ALL: "ALL",
|
|
274
|
-
SELECTIVE: "SELECTIVE",
|
|
275
|
-
};
|
|
276
319
|
export const VectorSearchRerankingConfigurationType = {
|
|
277
320
|
BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL",
|
|
278
321
|
};
|
package/dist-es/models/errors.js
CHANGED
|
@@ -11,106 +11,106 @@ export class AccessDeniedException extends __BaseException {
|
|
|
11
11
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export class
|
|
15
|
-
name = "
|
|
14
|
+
export class BadGatewayException extends __BaseException {
|
|
15
|
+
name = "BadGatewayException";
|
|
16
16
|
$fault = "server";
|
|
17
|
-
|
|
17
|
+
resourceName;
|
|
18
18
|
constructor(opts) {
|
|
19
19
|
super({
|
|
20
|
-
name: "
|
|
20
|
+
name: "BadGatewayException",
|
|
21
21
|
$fault: "server",
|
|
22
22
|
...opts,
|
|
23
23
|
});
|
|
24
|
-
Object.setPrototypeOf(this,
|
|
25
|
-
this.
|
|
24
|
+
Object.setPrototypeOf(this, BadGatewayException.prototype);
|
|
25
|
+
this.resourceName = opts.resourceName;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
export class
|
|
29
|
-
name = "
|
|
28
|
+
export class ConflictException extends __BaseException {
|
|
29
|
+
name = "ConflictException";
|
|
30
30
|
$fault = "client";
|
|
31
31
|
constructor(opts) {
|
|
32
32
|
super({
|
|
33
|
-
name: "
|
|
33
|
+
name: "ConflictException",
|
|
34
34
|
$fault: "client",
|
|
35
35
|
...opts,
|
|
36
36
|
});
|
|
37
|
-
Object.setPrototypeOf(this,
|
|
37
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
export class
|
|
41
|
-
name = "
|
|
40
|
+
export class DependencyFailedException extends __BaseException {
|
|
41
|
+
name = "DependencyFailedException";
|
|
42
42
|
$fault = "client";
|
|
43
|
+
resourceName;
|
|
43
44
|
constructor(opts) {
|
|
44
45
|
super({
|
|
45
|
-
name: "
|
|
46
|
+
name: "DependencyFailedException",
|
|
46
47
|
$fault: "client",
|
|
47
48
|
...opts,
|
|
48
49
|
});
|
|
49
|
-
Object.setPrototypeOf(this,
|
|
50
|
+
Object.setPrototypeOf(this, DependencyFailedException.prototype);
|
|
51
|
+
this.resourceName = opts.resourceName;
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
|
-
export class
|
|
53
|
-
name = "
|
|
54
|
-
$fault = "
|
|
54
|
+
export class InternalServerException extends __BaseException {
|
|
55
|
+
name = "InternalServerException";
|
|
56
|
+
$fault = "server";
|
|
57
|
+
reason;
|
|
55
58
|
constructor(opts) {
|
|
56
59
|
super({
|
|
57
|
-
name: "
|
|
58
|
-
$fault: "
|
|
60
|
+
name: "InternalServerException",
|
|
61
|
+
$fault: "server",
|
|
59
62
|
...opts,
|
|
60
63
|
});
|
|
61
|
-
Object.setPrototypeOf(this,
|
|
64
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
65
|
+
this.reason = opts.reason;
|
|
62
66
|
}
|
|
63
67
|
}
|
|
64
|
-
export class
|
|
65
|
-
name = "
|
|
66
|
-
$fault = "
|
|
67
|
-
resourceName;
|
|
68
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
69
|
+
name = "ResourceNotFoundException";
|
|
70
|
+
$fault = "client";
|
|
68
71
|
constructor(opts) {
|
|
69
72
|
super({
|
|
70
|
-
name: "
|
|
71
|
-
$fault: "
|
|
73
|
+
name: "ResourceNotFoundException",
|
|
74
|
+
$fault: "client",
|
|
72
75
|
...opts,
|
|
73
76
|
});
|
|
74
|
-
Object.setPrototypeOf(this,
|
|
75
|
-
this.resourceName = opts.resourceName;
|
|
77
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
76
78
|
}
|
|
77
79
|
}
|
|
78
|
-
export class
|
|
79
|
-
name = "
|
|
80
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
81
|
+
name = "ServiceQuotaExceededException";
|
|
80
82
|
$fault = "client";
|
|
81
83
|
constructor(opts) {
|
|
82
84
|
super({
|
|
83
|
-
name: "
|
|
85
|
+
name: "ServiceQuotaExceededException",
|
|
84
86
|
$fault: "client",
|
|
85
87
|
...opts,
|
|
86
88
|
});
|
|
87
|
-
Object.setPrototypeOf(this,
|
|
89
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
88
90
|
}
|
|
89
91
|
}
|
|
90
|
-
export class
|
|
91
|
-
name = "
|
|
92
|
+
export class ThrottlingException extends __BaseException {
|
|
93
|
+
name = "ThrottlingException";
|
|
92
94
|
$fault = "client";
|
|
93
|
-
resourceName;
|
|
94
95
|
constructor(opts) {
|
|
95
96
|
super({
|
|
96
|
-
name: "
|
|
97
|
+
name: "ThrottlingException",
|
|
97
98
|
$fault: "client",
|
|
98
99
|
...opts,
|
|
99
100
|
});
|
|
100
|
-
Object.setPrototypeOf(this,
|
|
101
|
-
this.resourceName = opts.resourceName;
|
|
101
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
export class
|
|
105
|
-
name = "
|
|
104
|
+
export class ValidationException extends __BaseException {
|
|
105
|
+
name = "ValidationException";
|
|
106
106
|
$fault = "client";
|
|
107
107
|
constructor(opts) {
|
|
108
108
|
super({
|
|
109
|
-
name: "
|
|
109
|
+
name: "ValidationException",
|
|
110
110
|
$fault: "client",
|
|
111
111
|
...opts,
|
|
112
112
|
});
|
|
113
|
-
Object.setPrototypeOf(this,
|
|
113
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
export class ModelNotReadyException extends __BaseException {
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,7 +7,7 @@ import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REG
|
|
|
7
7
|
import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
|
|
8
8
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
9
9
|
import { calculateBodyLength, Hash } from "@smithy/core/serde";
|
|
10
|
-
import {
|
|
10
|
+
import { NodeHttp2Handler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
11
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -32,7 +32,10 @@ export const getRuntimeConfig = (config) => {
|
|
|
32
32
|
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
|
|
33
33
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
34
34
|
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
35
|
-
requestHandler: RequestHandler.create(config?.requestHandler ??
|
|
35
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? (async () => ({
|
|
36
|
+
...await defaultConfigProvider(),
|
|
37
|
+
disableConcurrentStreams: true
|
|
38
|
+
}))),
|
|
36
39
|
retryMode: config?.retryMode ??
|
|
37
40
|
loadNodeConfig({
|
|
38
41
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|