@aws-sdk/client-bedrock-agentcore-control 3.920.0 → 3.922.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 +1 -1
- package/dist-cjs/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/BedrockAgentCoreControl.d.ts +1 -1
- package/dist-types/BedrockAgentCoreControlClient.d.ts +1 -1
- package/dist-types/commands/CreateBrowserCommand.d.ts +3 -0
- package/dist-types/commands/GetBrowserCommand.d.ts +3 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +32 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +34 -34
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript BedrockAgentCoreControl Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<
|
|
9
|
+
<p>Welcome to the Amazon Bedrock AgentCore Control plane API reference. Control plane actions configure, create, modify, and monitor Amazon Web Services resources.</p>
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
12
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -1418,6 +1418,7 @@ const se_CreateBrowserCommand = async (input, context) => {
|
|
|
1418
1418
|
b.bp("/browsers");
|
|
1419
1419
|
let body;
|
|
1420
1420
|
body = JSON.stringify(smithyClient.take(input, {
|
|
1421
|
+
browserSigning: (_) => smithyClient._json(_),
|
|
1421
1422
|
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1422
1423
|
description: [],
|
|
1423
1424
|
executionRoleArn: [],
|
|
@@ -2539,6 +2540,7 @@ const de_GetBrowserCommand = async (output, context) => {
|
|
|
2539
2540
|
const doc = smithyClient.take(data, {
|
|
2540
2541
|
browserArn: smithyClient.expectString,
|
|
2541
2542
|
browserId: smithyClient.expectString,
|
|
2543
|
+
browserSigning: smithyClient._json,
|
|
2542
2544
|
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2543
2545
|
description: smithyClient.expectString,
|
|
2544
2546
|
executionRoleArn: smithyClient.expectString,
|
|
@@ -69,6 +69,7 @@ export const se_CreateBrowserCommand = async (input, context) => {
|
|
|
69
69
|
b.bp("/browsers");
|
|
70
70
|
let body;
|
|
71
71
|
body = JSON.stringify(take(input, {
|
|
72
|
+
browserSigning: (_) => _json(_),
|
|
72
73
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
73
74
|
description: [],
|
|
74
75
|
executionRoleArn: [],
|
|
@@ -1190,6 +1191,7 @@ export const de_GetBrowserCommand = async (output, context) => {
|
|
|
1190
1191
|
const doc = take(data, {
|
|
1191
1192
|
browserArn: __expectString,
|
|
1192
1193
|
browserId: __expectString,
|
|
1194
|
+
browserSigning: _json,
|
|
1193
1195
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1194
1196
|
description: __expectString,
|
|
1195
1197
|
executionRoleArn: __expectString,
|
|
@@ -397,7 +397,7 @@ export interface BedrockAgentCoreControl {
|
|
|
397
397
|
updateWorkloadIdentity(args: UpdateWorkloadIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkloadIdentityCommandOutput) => void): void;
|
|
398
398
|
}
|
|
399
399
|
/**
|
|
400
|
-
* <
|
|
400
|
+
* <p>Welcome to the Amazon Bedrock AgentCore Control plane API reference. Control plane actions configure, create, modify, and monitor Amazon Web Services resources.</p>
|
|
401
401
|
* @public
|
|
402
402
|
*/
|
|
403
403
|
export declare class BedrockAgentCoreControl extends BedrockAgentCoreControlClient implements BedrockAgentCoreControl {
|
|
@@ -224,7 +224,7 @@ export type BedrockAgentCoreControlClientResolvedConfigType = __SmithyResolvedCo
|
|
|
224
224
|
export interface BedrockAgentCoreControlClientResolvedConfig extends BedrockAgentCoreControlClientResolvedConfigType {
|
|
225
225
|
}
|
|
226
226
|
/**
|
|
227
|
-
* <
|
|
227
|
+
* <p>Welcome to the Amazon Bedrock AgentCore Control plane API reference. Control plane actions configure, create, modify, and monitor Amazon Web Services resources.</p>
|
|
228
228
|
* @public
|
|
229
229
|
*/
|
|
230
230
|
export declare class BedrockAgentCoreControlClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BedrockAgentCoreControlClientResolvedConfig> {
|
|
@@ -58,6 +58,9 @@ declare const CreateBrowserCommand_base: {
|
|
|
58
58
|
* prefix: "STRING_VALUE", // required
|
|
59
59
|
* },
|
|
60
60
|
* },
|
|
61
|
+
* browserSigning: { // BrowserSigningConfigInput
|
|
62
|
+
* enabled: true || false, // required
|
|
63
|
+
* },
|
|
61
64
|
* clientToken: "STRING_VALUE",
|
|
62
65
|
* tags: { // TagsMap
|
|
63
66
|
* "<keys>": "STRING_VALUE",
|
|
@@ -65,6 +65,9 @@ declare const GetBrowserCommand_base: {
|
|
|
65
65
|
* // prefix: "STRING_VALUE", // required
|
|
66
66
|
* // },
|
|
67
67
|
* // },
|
|
68
|
+
* // browserSigning: { // BrowserSigningConfigOutput
|
|
69
|
+
* // enabled: true || false, // required
|
|
70
|
+
* // },
|
|
68
71
|
* // status: "CREATING" || "CREATE_FAILED" || "READY" || "DELETING" || "DELETE_FAILED" || "DELETED", // required
|
|
69
72
|
* // failureReason: "STRING_VALUE",
|
|
70
73
|
* // createdAt: new Date("TIMESTAMP"), // required
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <
|
|
2
|
+
* <p>Welcome to the Amazon Bedrock AgentCore Control plane API reference. Control plane actions configure, create, modify, and monitor Amazon Web Services resources.</p>
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
@@ -1408,6 +1408,17 @@ export interface UpdateApiKeyCredentialProviderResponse {
|
|
|
1408
1408
|
*/
|
|
1409
1409
|
lastUpdatedTime: Date | undefined;
|
|
1410
1410
|
}
|
|
1411
|
+
/**
|
|
1412
|
+
* <p>Configuration for enabling browser signing capabilities that allow agents to cryptographically identify themselves to websites using HTTP message signatures.</p>
|
|
1413
|
+
* @public
|
|
1414
|
+
*/
|
|
1415
|
+
export interface BrowserSigningConfigInput {
|
|
1416
|
+
/**
|
|
1417
|
+
* <p>Specifies whether browser signing is enabled. When enabled, the browser will cryptographically sign HTTP requests to identify itself as an AI agent to bot control vendors.</p>
|
|
1418
|
+
* @public
|
|
1419
|
+
*/
|
|
1420
|
+
enabled: boolean | undefined;
|
|
1421
|
+
}
|
|
1411
1422
|
/**
|
|
1412
1423
|
* @public
|
|
1413
1424
|
* @enum
|
|
@@ -1497,6 +1508,11 @@ export interface CreateBrowserRequest {
|
|
|
1497
1508
|
* @public
|
|
1498
1509
|
*/
|
|
1499
1510
|
recording?: RecordingConfig | undefined;
|
|
1511
|
+
/**
|
|
1512
|
+
* <p>The browser signing configuration that enables cryptographic agent identification using HTTP message signatures for web bot authentication.</p>
|
|
1513
|
+
* @public
|
|
1514
|
+
*/
|
|
1515
|
+
browserSigning?: BrowserSigningConfigInput | undefined;
|
|
1500
1516
|
/**
|
|
1501
1517
|
* <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.</p>
|
|
1502
1518
|
* @public
|
|
@@ -1594,6 +1610,17 @@ export interface GetBrowserRequest {
|
|
|
1594
1610
|
*/
|
|
1595
1611
|
browserId: string | undefined;
|
|
1596
1612
|
}
|
|
1613
|
+
/**
|
|
1614
|
+
* <p>The current browser signing configuration that shows whether cryptographic agent identification is enabled for web bot authentication.</p>
|
|
1615
|
+
* @public
|
|
1616
|
+
*/
|
|
1617
|
+
export interface BrowserSigningConfigOutput {
|
|
1618
|
+
/**
|
|
1619
|
+
* <p>Indicates whether browser signing is currently enabled for cryptographic agent identification using HTTP message signatures.</p>
|
|
1620
|
+
* @public
|
|
1621
|
+
*/
|
|
1622
|
+
enabled: boolean | undefined;
|
|
1623
|
+
}
|
|
1597
1624
|
/**
|
|
1598
1625
|
* @public
|
|
1599
1626
|
*/
|
|
@@ -1633,6 +1660,11 @@ export interface GetBrowserResponse {
|
|
|
1633
1660
|
* @public
|
|
1634
1661
|
*/
|
|
1635
1662
|
recording?: RecordingConfig | undefined;
|
|
1663
|
+
/**
|
|
1664
|
+
* <p>The browser signing configuration that shows whether cryptographic agent identification is enabled for web bot authentication.</p>
|
|
1665
|
+
* @public
|
|
1666
|
+
*/
|
|
1667
|
+
browserSigning?: BrowserSigningConfigOutput | undefined;
|
|
1636
1668
|
/**
|
|
1637
1669
|
* <p>The current status of the browser.</p>
|
|
1638
1670
|
* @public
|
|
@@ -431,6 +431,9 @@ export interface UpdateApiKeyCredentialProviderResponse {
|
|
|
431
431
|
createdTime: Date | undefined;
|
|
432
432
|
lastUpdatedTime: Date | undefined;
|
|
433
433
|
}
|
|
434
|
+
export interface BrowserSigningConfigInput {
|
|
435
|
+
enabled: boolean | undefined;
|
|
436
|
+
}
|
|
434
437
|
export declare const BrowserNetworkMode: {
|
|
435
438
|
readonly PUBLIC: "PUBLIC";
|
|
436
439
|
readonly VPC: "VPC";
|
|
@@ -455,6 +458,7 @@ export interface CreateBrowserRequest {
|
|
|
455
458
|
executionRoleArn?: string | undefined;
|
|
456
459
|
networkConfiguration: BrowserNetworkConfiguration | undefined;
|
|
457
460
|
recording?: RecordingConfig | undefined;
|
|
461
|
+
browserSigning?: BrowserSigningConfigInput | undefined;
|
|
458
462
|
clientToken?: string | undefined;
|
|
459
463
|
tags?: Record<string, string> | undefined;
|
|
460
464
|
}
|
|
@@ -485,6 +489,9 @@ export interface DeleteBrowserResponse {
|
|
|
485
489
|
export interface GetBrowserRequest {
|
|
486
490
|
browserId: string | undefined;
|
|
487
491
|
}
|
|
492
|
+
export interface BrowserSigningConfigOutput {
|
|
493
|
+
enabled: boolean | undefined;
|
|
494
|
+
}
|
|
488
495
|
export interface GetBrowserResponse {
|
|
489
496
|
browserId: string | undefined;
|
|
490
497
|
browserArn: string | undefined;
|
|
@@ -493,6 +500,7 @@ export interface GetBrowserResponse {
|
|
|
493
500
|
executionRoleArn?: string | undefined;
|
|
494
501
|
networkConfiguration: BrowserNetworkConfiguration | undefined;
|
|
495
502
|
recording?: RecordingConfig | undefined;
|
|
503
|
+
browserSigning?: BrowserSigningConfigOutput | undefined;
|
|
496
504
|
status: BrowserStatus | undefined;
|
|
497
505
|
failureReason?: string | undefined;
|
|
498
506
|
createdAt: Date | undefined;
|
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.922.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore-control",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.4.
|
|
35
|
-
"@smithy/core": "^3.17.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
37
|
-
"@smithy/hash-node": "^4.2.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
-
"@smithy/middleware-stack": "^4.2.
|
|
44
|
-
"@smithy/node-config-provider": "^4.3.
|
|
45
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
-
"@smithy/protocol-http": "^5.3.
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
-
"@smithy/types": "^4.8.
|
|
49
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.922.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.922.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.922.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.922.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.922.0",
|
|
30
|
+
"@aws-sdk/types": "3.922.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.922.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.922.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.4.1",
|
|
35
|
+
"@smithy/core": "^3.17.2",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.5",
|
|
37
|
+
"@smithy/hash-node": "^4.2.4",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.4",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.4",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.6",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.4",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.4",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.4",
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.4",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.4",
|
|
47
|
+
"@smithy/smithy-client": "^4.9.2",
|
|
48
|
+
"@smithy/types": "^4.8.1",
|
|
49
|
+
"@smithy/url-parser": "^4.2.4",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
-
"@smithy/util-endpoints": "^3.2.
|
|
56
|
-
"@smithy/util-middleware": "^4.2.
|
|
57
|
-
"@smithy/util-retry": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.5",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.7",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.4",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.4",
|
|
57
|
+
"@smithy/util-retry": "^4.2.4",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
|
-
"@smithy/util-waiter": "^4.2.
|
|
59
|
+
"@smithy/util-waiter": "^4.2.4",
|
|
60
60
|
"@smithy/uuid": "^1.1.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|