@aws-sdk/client-bedrock-agentcore-control 3.1032.0 → 3.1034.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/dist-cjs/endpoint/bdd.js +49 -0
- package/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +5 -0
- package/dist-cjs/schemas/schemas_0.js +3 -2
- package/dist-es/endpoint/bdd.js +46 -0
- package/dist-es/endpoint/endpointResolver.js +3 -3
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +3 -2
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +2 -0
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -0
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +2 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +6 -1
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +18 -18
- package/dist-cjs/endpoint/ruleset.js +0 -7
- package/dist-es/endpoint/ruleset.js +0 -4
- package/dist-types/endpoint/ruleset.d.ts +0 -2
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bdd = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@smithy/util-endpoints");
|
|
5
|
+
const k = "ref";
|
|
6
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
7
|
+
const _data = {
|
|
8
|
+
conditions: [
|
|
9
|
+
[c, [g]],
|
|
10
|
+
[c, j],
|
|
11
|
+
["aws.partition", j, d],
|
|
12
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
13
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
14
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
15
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
16
|
+
],
|
|
17
|
+
results: [
|
|
18
|
+
[a],
|
|
19
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
20
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
21
|
+
[g, i],
|
|
22
|
+
["https://bedrock-agentcore-control-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
23
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
24
|
+
["https://bedrock-agentcore-control-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
25
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
26
|
+
["https://bedrock-agentcore-control.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
27
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
28
|
+
["https://bedrock-agentcore-control.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
29
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
30
|
+
]
|
|
31
|
+
};
|
|
32
|
+
const root = 2;
|
|
33
|
+
const r = 100_000_000;
|
|
34
|
+
const nodes = new Int32Array([
|
|
35
|
+
-1, 1, -1,
|
|
36
|
+
0, 12, 3,
|
|
37
|
+
1, 4, r + 11,
|
|
38
|
+
2, 5, r + 11,
|
|
39
|
+
3, 8, 6,
|
|
40
|
+
4, 7, r + 10,
|
|
41
|
+
5, r + 8, r + 9,
|
|
42
|
+
4, 10, 9,
|
|
43
|
+
6, r + 6, r + 7,
|
|
44
|
+
5, 11, r + 5,
|
|
45
|
+
6, r + 4, r + 5,
|
|
46
|
+
3, r + 1, 13,
|
|
47
|
+
4, r + 2, r + 3,
|
|
48
|
+
]);
|
|
49
|
+
exports.bdd = util_endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
|
-
const
|
|
6
|
+
const bdd_1 = require("./bdd");
|
|
7
7
|
const cache = new util_endpoints_2.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0, util_endpoints_2.
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
package/dist-cjs/index.js
CHANGED
|
@@ -1937,6 +1937,10 @@ const SchemaType = {
|
|
|
1937
1937
|
OBJECT: "object",
|
|
1938
1938
|
STRING: "string",
|
|
1939
1939
|
};
|
|
1940
|
+
const ListingMode = {
|
|
1941
|
+
DEFAULT: "DEFAULT",
|
|
1942
|
+
DYNAMIC: "DYNAMIC",
|
|
1943
|
+
};
|
|
1940
1944
|
const TargetStatus = {
|
|
1941
1945
|
CREATE_PENDING_AUTH: "CREATE_PENDING_AUTH",
|
|
1942
1946
|
CREATING: "CREATING",
|
|
@@ -2229,6 +2233,7 @@ exports.ListRegistriesCommand = ListRegistriesCommand;
|
|
|
2229
2233
|
exports.ListRegistryRecordsCommand = ListRegistryRecordsCommand;
|
|
2230
2234
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
2231
2235
|
exports.ListWorkloadIdentitiesCommand = ListWorkloadIdentitiesCommand;
|
|
2236
|
+
exports.ListingMode = ListingMode;
|
|
2232
2237
|
exports.MemoryStatus = MemoryStatus;
|
|
2233
2238
|
exports.MemoryStrategyStatus = MemoryStrategyStatus;
|
|
2234
2239
|
exports.MemoryStrategyType = MemoryStrategyType;
|
|
@@ -793,6 +793,7 @@ const _lCa = "lambdaConfig";
|
|
|
793
793
|
const _lFM = "lockedForModification";
|
|
794
794
|
const _lGN = "logGroupNames";
|
|
795
795
|
const _lGNo = "logGroupName";
|
|
796
|
+
const _lM = "listingMode";
|
|
796
797
|
const _lMD = "lastModifiedDate";
|
|
797
798
|
const _lOPC = "linkedinOauth2ProviderConfig";
|
|
798
799
|
const _lSA = "lastSavedAt";
|
|
@@ -2293,8 +2294,8 @@ exports.McpLambdaTargetConfiguration$ = [3, n0, _MLTC,
|
|
|
2293
2294
|
];
|
|
2294
2295
|
exports.McpServerTargetConfiguration$ = [3, n0, _MSTC,
|
|
2295
2296
|
0,
|
|
2296
|
-
[_end, _mTS],
|
|
2297
|
-
[0, [() => exports.McpToolSchemaConfiguration$, 0]], 1
|
|
2297
|
+
[_end, _mTS, _lM],
|
|
2298
|
+
[0, [() => exports.McpToolSchemaConfiguration$, 0], 0], 1
|
|
2298
2299
|
];
|
|
2299
2300
|
exports.Memory$ = [3, n0, _M,
|
|
2300
2301
|
0,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
|
|
2
|
+
const k = "ref";
|
|
3
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
4
|
+
const _data = {
|
|
5
|
+
conditions: [
|
|
6
|
+
[c, [g]],
|
|
7
|
+
[c, j],
|
|
8
|
+
["aws.partition", j, d],
|
|
9
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
10
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
11
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
12
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
13
|
+
],
|
|
14
|
+
results: [
|
|
15
|
+
[a],
|
|
16
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
17
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
18
|
+
[g, i],
|
|
19
|
+
["https://bedrock-agentcore-control-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
20
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
21
|
+
["https://bedrock-agentcore-control-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
22
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
23
|
+
["https://bedrock-agentcore-control.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
24
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
25
|
+
["https://bedrock-agentcore-control.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
26
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
27
|
+
]
|
|
28
|
+
};
|
|
29
|
+
const root = 2;
|
|
30
|
+
const r = 100_000_000;
|
|
31
|
+
const nodes = new Int32Array([
|
|
32
|
+
-1, 1, -1,
|
|
33
|
+
0, 12, 3,
|
|
34
|
+
1, 4, r + 11,
|
|
35
|
+
2, 5, r + 11,
|
|
36
|
+
3, 8, 6,
|
|
37
|
+
4, 7, r + 10,
|
|
38
|
+
5, r + 8, r + 9,
|
|
39
|
+
4, 10, 9,
|
|
40
|
+
6, r + 6, r + 7,
|
|
41
|
+
5, 11, r + 5,
|
|
42
|
+
6, r + 4, r + 5,
|
|
43
|
+
3, r + 1, 13,
|
|
44
|
+
4, r + 2, r + 3,
|
|
45
|
+
]);
|
|
46
|
+
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions,
|
|
3
|
-
import {
|
|
2
|
+
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/util-endpoints";
|
|
3
|
+
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
6
6
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
7
|
});
|
|
8
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
-
return cache.get(endpointParams, () =>
|
|
9
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
10
10
|
endpointParams: endpointParams,
|
|
11
11
|
logger: context.logger,
|
|
12
12
|
}));
|
package/dist-es/models/enums.js
CHANGED
|
@@ -168,6 +168,10 @@ export const SchemaType = {
|
|
|
168
168
|
OBJECT: "object",
|
|
169
169
|
STRING: "string",
|
|
170
170
|
};
|
|
171
|
+
export const ListingMode = {
|
|
172
|
+
DEFAULT: "DEFAULT",
|
|
173
|
+
DYNAMIC: "DYNAMIC",
|
|
174
|
+
};
|
|
171
175
|
export const TargetStatus = {
|
|
172
176
|
CREATE_PENDING_AUTH: "CREATE_PENDING_AUTH",
|
|
173
177
|
CREATING: "CREATING",
|
|
@@ -780,6 +780,7 @@ const _lCa = "lambdaConfig";
|
|
|
780
780
|
const _lFM = "lockedForModification";
|
|
781
781
|
const _lGN = "logGroupNames";
|
|
782
782
|
const _lGNo = "logGroupName";
|
|
783
|
+
const _lM = "listingMode";
|
|
783
784
|
const _lMD = "lastModifiedDate";
|
|
784
785
|
const _lOPC = "linkedinOauth2ProviderConfig";
|
|
785
786
|
const _lSA = "lastSavedAt";
|
|
@@ -2280,8 +2281,8 @@ export var McpLambdaTargetConfiguration$ = [3, n0, _MLTC,
|
|
|
2280
2281
|
];
|
|
2281
2282
|
export var McpServerTargetConfiguration$ = [3, n0, _MSTC,
|
|
2282
2283
|
0,
|
|
2283
|
-
[_end, _mTS],
|
|
2284
|
-
[0, [() => McpToolSchemaConfiguration$, 0]], 1
|
|
2284
|
+
[_end, _mTS, _lM],
|
|
2285
|
+
[0, [() => McpToolSchemaConfiguration$, 0], 0], 1
|
|
2285
2286
|
];
|
|
2286
2287
|
export var Memory$ = [3, n0, _M,
|
|
2287
2288
|
0,
|
|
@@ -103,6 +103,7 @@ declare const CreateGatewayTargetCommand_base: {
|
|
|
103
103
|
* },
|
|
104
104
|
* inlinePayload: "STRING_VALUE",
|
|
105
105
|
* },
|
|
106
|
+
* listingMode: "DEFAULT" || "DYNAMIC",
|
|
106
107
|
* },
|
|
107
108
|
* apiGateway: { // ApiGatewayTargetConfiguration
|
|
108
109
|
* restApiId: "STRING_VALUE", // required
|
|
@@ -262,6 +263,7 @@ declare const CreateGatewayTargetCommand_base: {
|
|
|
262
263
|
* // },
|
|
263
264
|
* // inlinePayload: "STRING_VALUE",
|
|
264
265
|
* // },
|
|
266
|
+
* // listingMode: "DEFAULT" || "DYNAMIC",
|
|
265
267
|
* // },
|
|
266
268
|
* // apiGateway: { // ApiGatewayTargetConfiguration
|
|
267
269
|
* // restApiId: "STRING_VALUE", // required
|
|
@@ -116,6 +116,7 @@ declare const GetGatewayTargetCommand_base: {
|
|
|
116
116
|
* // },
|
|
117
117
|
* // inlinePayload: "STRING_VALUE",
|
|
118
118
|
* // },
|
|
119
|
+
* // listingMode: "DEFAULT" || "DYNAMIC",
|
|
119
120
|
* // },
|
|
120
121
|
* // apiGateway: { // ApiGatewayTargetConfiguration
|
|
121
122
|
* // restApiId: "STRING_VALUE", // required
|
|
@@ -120,6 +120,7 @@ declare const SynchronizeGatewayTargetsCommand_base: {
|
|
|
120
120
|
* // },
|
|
121
121
|
* // inlinePayload: "STRING_VALUE",
|
|
122
122
|
* // },
|
|
123
|
+
* // listingMode: "DEFAULT" || "DYNAMIC",
|
|
123
124
|
* // },
|
|
124
125
|
* // apiGateway: { // ApiGatewayTargetConfiguration
|
|
125
126
|
* // restApiId: "STRING_VALUE", // required
|
|
@@ -103,6 +103,7 @@ declare const UpdateGatewayTargetCommand_base: {
|
|
|
103
103
|
* },
|
|
104
104
|
* inlinePayload: "STRING_VALUE",
|
|
105
105
|
* },
|
|
106
|
+
* listingMode: "DEFAULT" || "DYNAMIC",
|
|
106
107
|
* },
|
|
107
108
|
* apiGateway: { // ApiGatewayTargetConfiguration
|
|
108
109
|
* restApiId: "STRING_VALUE", // required
|
|
@@ -262,6 +263,7 @@ declare const UpdateGatewayTargetCommand_base: {
|
|
|
262
263
|
* // },
|
|
263
264
|
* // inlinePayload: "STRING_VALUE",
|
|
264
265
|
* // },
|
|
266
|
+
* // listingMode: "DEFAULT" || "DYNAMIC",
|
|
265
267
|
* // },
|
|
266
268
|
* // apiGateway: { // ApiGatewayTargetConfiguration
|
|
267
269
|
* // restApiId: "STRING_VALUE", // required
|
|
@@ -416,6 +416,18 @@ export declare const SchemaType: {
|
|
|
416
416
|
* @public
|
|
417
417
|
*/
|
|
418
418
|
export type SchemaType = (typeof SchemaType)[keyof typeof SchemaType];
|
|
419
|
+
/**
|
|
420
|
+
* @public
|
|
421
|
+
* @enum
|
|
422
|
+
*/
|
|
423
|
+
export declare const ListingMode: {
|
|
424
|
+
readonly DEFAULT: "DEFAULT";
|
|
425
|
+
readonly DYNAMIC: "DYNAMIC";
|
|
426
|
+
};
|
|
427
|
+
/**
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
430
|
+
export type ListingMode = (typeof ListingMode)[keyof typeof ListingMode];
|
|
419
431
|
/**
|
|
420
432
|
* @public
|
|
421
433
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserEnterprisePolicyType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ContentLevel, ContentType, CredentialProviderType, CredentialProviderVendorType, EndpointIpAddressType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, FilterOperator, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayStatus, InboundTokenClaimValueType, KeyType, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, MemoryView, NetworkMode, OAuthGrantType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, OverrideType, ResourceType, RestApiMethod, SearchType, ServerProtocol, TargetStatus } from "./enums";
|
|
2
|
+
import type { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserEnterprisePolicyType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ContentLevel, ContentType, CredentialProviderType, CredentialProviderVendorType, EndpointIpAddressType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, FilterOperator, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayStatus, InboundTokenClaimValueType, KeyType, ListingMode, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, MemoryView, NetworkMode, OAuthGrantType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, OverrideType, ResourceType, RestApiMethod, SearchType, ServerProtocol, TargetStatus } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The agent card definition for an A2A descriptor. Contains the schema version and inline content for the agent card.</p>
|
|
5
5
|
* @public
|
|
@@ -4220,6 +4220,11 @@ export interface McpServerTargetConfiguration {
|
|
|
4220
4220
|
* @public
|
|
4221
4221
|
*/
|
|
4222
4222
|
mcpToolSchema?: McpToolSchemaConfiguration | undefined;
|
|
4223
|
+
/**
|
|
4224
|
+
* <p>The listing mode for the MCP server target configuration. MCP resources for default targets are cached at the control plane for faster access. MCP resources for dynamic targets will be dynamically retrieved when listing tools.</p>
|
|
4225
|
+
* @public
|
|
4226
|
+
*/
|
|
4227
|
+
listingMode?: ListingMode | undefined;
|
|
4223
4228
|
}
|
|
4224
4229
|
/**
|
|
4225
4230
|
* <p>Configuration for API schema.</p>
|
|
@@ -222,6 +222,11 @@ export declare const SchemaType: {
|
|
|
222
222
|
readonly STRING: "string";
|
|
223
223
|
};
|
|
224
224
|
export type SchemaType = (typeof SchemaType)[keyof typeof SchemaType];
|
|
225
|
+
export declare const ListingMode: {
|
|
226
|
+
readonly DEFAULT: "DEFAULT";
|
|
227
|
+
readonly DYNAMIC: "DYNAMIC";
|
|
228
|
+
};
|
|
229
|
+
export type ListingMode = (typeof ListingMode)[keyof typeof ListingMode];
|
|
225
230
|
export declare const TargetStatus: {
|
|
226
231
|
readonly CREATE_PENDING_AUTH: "CREATE_PENDING_AUTH";
|
|
227
232
|
readonly CREATING: "CREATING";
|
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
GatewayStatus,
|
|
29
29
|
InboundTokenClaimValueType,
|
|
30
30
|
KeyType,
|
|
31
|
+
ListingMode,
|
|
31
32
|
MemoryStatus,
|
|
32
33
|
MemoryStrategyStatus,
|
|
33
34
|
MemoryStrategyType,
|
|
@@ -1249,6 +1250,7 @@ export declare namespace McpToolSchemaConfiguration {
|
|
|
1249
1250
|
export interface McpServerTargetConfiguration {
|
|
1250
1251
|
endpoint: string | undefined;
|
|
1251
1252
|
mcpToolSchema?: McpToolSchemaConfiguration | undefined;
|
|
1253
|
+
listingMode?: ListingMode | undefined;
|
|
1252
1254
|
}
|
|
1253
1255
|
export type ApiSchemaConfiguration =
|
|
1254
1256
|
| ApiSchemaConfiguration.InlinePayloadMember
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Control Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1034.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore-control",
|
|
@@ -21,41 +21,41 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.3",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.34",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.33",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
31
31
|
"@aws-sdk/types": "^3.973.8",
|
|
32
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
32
|
+
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
36
|
-
"@smithy/core": "^3.23.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.19",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.17",
|
|
36
|
+
"@smithy/core": "^3.23.16",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
38
38
|
"@smithy/hash-node": "^4.2.14",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.14",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.14",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.5.
|
|
43
|
-
"@smithy/middleware-serde": "^4.2.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.31",
|
|
42
|
+
"@smithy/middleware-retry": "^4.5.4",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.19",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.14",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.14",
|
|
46
|
-
"@smithy/node-http-handler": "^4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.6.0",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.14",
|
|
48
|
-
"@smithy/smithy-client": "^4.12.
|
|
48
|
+
"@smithy/smithy-client": "^4.12.12",
|
|
49
49
|
"@smithy/types": "^4.14.1",
|
|
50
50
|
"@smithy/url-parser": "^4.2.14",
|
|
51
51
|
"@smithy/util-base64": "^4.3.2",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
-
"@smithy/util-endpoints": "^3.4.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.48",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.53",
|
|
56
|
+
"@smithy/util-endpoints": "^3.4.2",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.14",
|
|
58
|
-
"@smithy/util-retry": "^4.3.
|
|
58
|
+
"@smithy/util-retry": "^4.3.3",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.2",
|
|
60
60
|
"@smithy/util-waiter": "^4.2.16",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ruleSet = void 0;
|
|
4
|
-
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore-control-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore-control-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore-control.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://bedrock-agentcore-control.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
7
|
-
exports.ruleSet = _data;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore-control-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore-control-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore-control.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://bedrock-agentcore-control.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
|
-
export const ruleSet = _data;
|