Skip to content

Commit d286f51

Browse files
author
awstools
committed
feat(client-bedrock-agentcore-control): Adds support for the following new features. 1. Enterprise Policies support for AgentCore Browser Tool. 2. Root CA Configuration support for AgentCore Browser Tool and Code Interpreter.
1 parent 088f058 commit d286f51

13 files changed

Lines changed: 637 additions & 191 deletions

clients/client-bedrock-agentcore-control/src/commands/CreateBrowserCommand.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,27 @@ export interface CreateBrowserCommandOutput extends CreateBrowserResponse, __Met
6666
* browserSigning: { // BrowserSigningConfigInput
6767
* enabled: true || false, // required
6868
* },
69+
* enterprisePolicies: [ // BrowserEnterprisePolicies
70+
* { // BrowserEnterprisePolicy
71+
* location: { // ResourceLocation Union: only one key present
72+
* s3: {
73+
* bucket: "STRING_VALUE", // required
74+
* prefix: "STRING_VALUE", // required
75+
* versionId: "STRING_VALUE",
76+
* },
77+
* },
78+
* type: "MANAGED" || "RECOMMENDED",
79+
* },
80+
* ],
81+
* certificates: [ // Certificates
82+
* { // Certificate
83+
* location: { // CertificateLocation Union: only one key present
84+
* secretsManager: { // SecretsManagerLocation
85+
* secretArn: "STRING_VALUE", // required
86+
* },
87+
* },
88+
* },
89+
* ],
6990
* clientToken: "STRING_VALUE",
7091
* tags: { // TagsMap
7192
* "<keys>": "STRING_VALUE",

clients/client-bedrock-agentcore-control/src/commands/CreateCodeInterpreterCommand.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@ export interface CreateCodeInterpreterCommandOutput extends CreateCodeInterprete
5555
* ],
5656
* },
5757
* },
58+
* certificates: [ // Certificates
59+
* { // Certificate
60+
* location: { // CertificateLocation Union: only one key present
61+
* secretsManager: { // SecretsManagerLocation
62+
* secretArn: "STRING_VALUE", // required
63+
* },
64+
* },
65+
* },
66+
* ],
5867
* clientToken: "STRING_VALUE",
5968
* tags: { // TagsMap
6069
* "<keys>": "STRING_VALUE",

clients/client-bedrock-agentcore-control/src/commands/GetBrowserCommand.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,27 @@ export interface GetBrowserCommandOutput extends GetBrowserResponse, __MetadataB
7373
* // browserSigning: { // BrowserSigningConfigOutput
7474
* // enabled: true || false, // required
7575
* // },
76+
* // enterprisePolicies: [ // BrowserEnterprisePolicies
77+
* // { // BrowserEnterprisePolicy
78+
* // location: { // ResourceLocation Union: only one key present
79+
* // s3: {
80+
* // bucket: "STRING_VALUE", // required
81+
* // prefix: "STRING_VALUE", // required
82+
* // versionId: "STRING_VALUE",
83+
* // },
84+
* // },
85+
* // type: "MANAGED" || "RECOMMENDED",
86+
* // },
87+
* // ],
88+
* // certificates: [ // Certificates
89+
* // { // Certificate
90+
* // location: { // CertificateLocation Union: only one key present
91+
* // secretsManager: { // SecretsManagerLocation
92+
* // secretArn: "STRING_VALUE", // required
93+
* // },
94+
* // },
95+
* // },
96+
* // ],
7697
* // status: "CREATING" || "CREATE_FAILED" || "READY" || "DELETING" || "DELETE_FAILED" || "DELETED", // required
7798
* // failureReason: "STRING_VALUE",
7899
* // createdAt: new Date("TIMESTAMP"), // required

clients/client-bedrock-agentcore-control/src/commands/GetCodeInterpreterCommand.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ export interface GetCodeInterpreterCommandOutput extends GetCodeInterpreterRespo
6363
* // },
6464
* // },
6565
* // status: "CREATING" || "CREATE_FAILED" || "READY" || "DELETING" || "DELETE_FAILED" || "DELETED", // required
66+
* // certificates: [ // Certificates
67+
* // { // Certificate
68+
* // location: { // CertificateLocation Union: only one key present
69+
* // secretsManager: { // SecretsManagerLocation
70+
* // secretArn: "STRING_VALUE", // required
71+
* // },
72+
* // },
73+
* // },
74+
* // ],
6675
* // failureReason: "STRING_VALUE",
6776
* // createdAt: new Date("TIMESTAMP"), // required
6877
* // lastUpdatedAt: new Date("TIMESTAMP"), // required

clients/client-bedrock-agentcore-control/src/commands/GetPolicyGenerationCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import type {
99
ServiceOutputTypes,
1010
} from "../BedrockAgentCoreControlClient";
1111
import { commonParams } from "../endpoint/EndpointParameters";
12-
import type { GetPolicyGenerationRequest, GetPolicyGenerationResponse } from "../models/models_0";
12+
import type { GetPolicyGenerationRequest } from "../models/models_0";
13+
import type { GetPolicyGenerationResponse } from "../models/models_1";
1314
import { GetPolicyGeneration$ } from "../schemas/schemas_0";
1415

1516
/**

clients/client-bedrock-agentcore-control/src/commands/ListPolicyGenerationAssetsCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import type {
99
ServiceOutputTypes,
1010
} from "../BedrockAgentCoreControlClient";
1111
import { commonParams } from "../endpoint/EndpointParameters";
12-
import type { ListPolicyGenerationAssetsRequest } from "../models/models_0";
13-
import type { ListPolicyGenerationAssetsResponse } from "../models/models_1";
12+
import type { ListPolicyGenerationAssetsRequest, ListPolicyGenerationAssetsResponse } from "../models/models_1";
1413
import { ListPolicyGenerationAssets$ } from "../schemas/schemas_0";
1514

1615
/**

clients/client-bedrock-agentcore-control/src/models/enums.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,20 @@ export const BrowserProfileStatus = {
135135
*/
136136
export type BrowserProfileStatus = (typeof BrowserProfileStatus)[keyof typeof BrowserProfileStatus];
137137

138+
/**
139+
* @public
140+
* @enum
141+
*/
142+
export const BrowserEnterprisePolicyType = {
143+
MANAGED: "MANAGED",
144+
RECOMMENDED: "RECOMMENDED",
145+
} as const;
146+
/**
147+
* @public
148+
*/
149+
export type BrowserEnterprisePolicyType =
150+
(typeof BrowserEnterprisePolicyType)[keyof typeof BrowserEnterprisePolicyType];
151+
138152
/**
139153
* @public
140154
* @enum

0 commit comments

Comments
 (0)