@aws-sdk/client-bedrock-agentcore-control 3.982.0 → 3.984.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 +28 -0
- package/dist-cjs/index.js +176 -15
- package/dist-es/BedrockAgentCoreControl.js +10 -0
- package/dist-es/commands/CreateBrowserProfileCommand.js +16 -0
- package/dist-es/commands/DeleteBrowserProfileCommand.js +16 -0
- package/dist-es/commands/GetBrowserProfileCommand.js +16 -0
- package/dist-es/commands/ListBrowserProfilesCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +6 -0
- package/dist-es/pagination/ListBrowserProfilesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +96 -15
- package/dist-types/BedrockAgentCoreControl.d.ts +36 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +6 -2
- package/dist-types/commands/CreateBrowserProfileCommand.d.ts +100 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBrowserProfileCommand.d.ts +97 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetBrowserProfileCommand.d.ts +98 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ListBrowserProfilesCommand.d.ts +101 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +252 -354
- package/dist-types/models/models_1.d.ts +350 -2
- package/dist-types/pagination/ListBrowserProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +13 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +76 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateBrowserProfileCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteBrowserProfileCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetBrowserProfileCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListBrowserProfilesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +59 -88
- package/dist-types/ts3.4/models/models_1.d.ts +88 -0
- package/dist-types/ts3.4/pagination/ListBrowserProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
- package/package.json +2 -2
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { CreateBrowserProfileRequest, CreateBrowserProfileResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateBrowserProfileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateBrowserProfileCommandInput extends CreateBrowserProfileRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateBrowserProfileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateBrowserProfileCommandOutput extends CreateBrowserProfileResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateBrowserProfileCommand_base: {
|
|
25
|
+
new (input: CreateBrowserProfileCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBrowserProfileCommandInput, CreateBrowserProfileCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateBrowserProfileCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBrowserProfileCommandInput, CreateBrowserProfileCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a browser profile in Amazon Bedrock AgentCore. A browser profile stores persistent browser data such as cookies, local storage, session storage, and browsing history that can be saved from browser sessions and reused in subsequent sessions.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, CreateBrowserProfileCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, CreateBrowserProfileCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
38
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
|
+
* const input = { // CreateBrowserProfileRequest
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* description: "STRING_VALUE",
|
|
42
|
+
* clientToken: "STRING_VALUE",
|
|
43
|
+
* tags: { // TagsMap
|
|
44
|
+
* "<keys>": "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
47
|
+
* const command = new CreateBrowserProfileCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // CreateBrowserProfileResponse
|
|
50
|
+
* // profileId: "STRING_VALUE", // required
|
|
51
|
+
* // profileArn: "STRING_VALUE", // required
|
|
52
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // status: "READY" || "DELETING" || "DELETED" || "SAVING", // required
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param CreateBrowserProfileCommandInput - {@link CreateBrowserProfileCommandInput}
|
|
59
|
+
* @returns {@link CreateBrowserProfileCommandOutput}
|
|
60
|
+
* @see {@link CreateBrowserProfileCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link CreateBrowserProfileCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ConflictException} (client fault)
|
|
68
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
74
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class CreateBrowserProfileCommand extends CreateBrowserProfileCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: CreateBrowserProfileRequest;
|
|
93
|
+
output: CreateBrowserProfileResponse;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: CreateBrowserProfileCommandInput;
|
|
97
|
+
output: CreateBrowserProfileCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { CreatePolicyRequest, CreatePolicyResponse } from "../models/
|
|
4
|
+
import type { CreatePolicyRequest, CreatePolicyResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { DeleteBrowserProfileRequest, DeleteBrowserProfileResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteBrowserProfileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteBrowserProfileCommandInput extends DeleteBrowserProfileRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteBrowserProfileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteBrowserProfileCommandOutput extends DeleteBrowserProfileResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteBrowserProfileCommand_base: {
|
|
25
|
+
new (input: DeleteBrowserProfileCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBrowserProfileCommandInput, DeleteBrowserProfileCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteBrowserProfileCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBrowserProfileCommandInput, DeleteBrowserProfileCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a browser profile.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, DeleteBrowserProfileCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, DeleteBrowserProfileCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
38
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
|
+
* const input = { // DeleteBrowserProfileRequest
|
|
40
|
+
* profileId: "STRING_VALUE", // required
|
|
41
|
+
* clientToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteBrowserProfileCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DeleteBrowserProfileResponse
|
|
46
|
+
* // profileId: "STRING_VALUE", // required
|
|
47
|
+
* // profileArn: "STRING_VALUE", // required
|
|
48
|
+
* // status: "READY" || "DELETING" || "DELETED" || "SAVING", // required
|
|
49
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // lastSavedAt: new Date("TIMESTAMP"),
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param DeleteBrowserProfileCommandInput - {@link DeleteBrowserProfileCommandInput}
|
|
56
|
+
* @returns {@link DeleteBrowserProfileCommandOutput}
|
|
57
|
+
* @see {@link DeleteBrowserProfileCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link DeleteBrowserProfileCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ConflictException} (client fault)
|
|
65
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerException} (server fault)
|
|
68
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class DeleteBrowserProfileCommand extends DeleteBrowserProfileCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: DeleteBrowserProfileRequest;
|
|
90
|
+
output: DeleteBrowserProfileResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: DeleteBrowserProfileCommandInput;
|
|
94
|
+
output: DeleteBrowserProfileCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { DeletePolicyRequest, DeletePolicyResponse } from "../models/
|
|
4
|
+
import type { DeletePolicyRequest, DeletePolicyResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { GetBrowserProfileRequest, GetBrowserProfileResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetBrowserProfileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetBrowserProfileCommandInput extends GetBrowserProfileRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetBrowserProfileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetBrowserProfileCommandOutput extends GetBrowserProfileResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetBrowserProfileCommand_base: {
|
|
25
|
+
new (input: GetBrowserProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetBrowserProfileCommandInput, GetBrowserProfileCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetBrowserProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetBrowserProfileCommandInput, GetBrowserProfileCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets information about a browser profile.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, GetBrowserProfileCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, GetBrowserProfileCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
38
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
|
+
* const input = { // GetBrowserProfileRequest
|
|
40
|
+
* profileId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetBrowserProfileCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetBrowserProfileResponse
|
|
45
|
+
* // profileId: "STRING_VALUE", // required
|
|
46
|
+
* // profileArn: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // description: "STRING_VALUE",
|
|
49
|
+
* // status: "READY" || "DELETING" || "DELETED" || "SAVING", // required
|
|
50
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // lastSavedAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // lastSavedBrowserSessionId: "STRING_VALUE",
|
|
54
|
+
* // lastSavedBrowserId: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param GetBrowserProfileCommandInput - {@link GetBrowserProfileCommandInput}
|
|
60
|
+
* @returns {@link GetBrowserProfileCommandOutput}
|
|
61
|
+
* @see {@link GetBrowserProfileCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link GetBrowserProfileCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class GetBrowserProfileCommand extends GetBrowserProfileCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: GetBrowserProfileRequest;
|
|
91
|
+
output: GetBrowserProfileResponse;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: GetBrowserProfileCommandInput;
|
|
95
|
+
output: GetBrowserProfileCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { GetPolicyRequest, GetPolicyResponse } from "../models/
|
|
4
|
+
import type { GetPolicyRequest, GetPolicyResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { ListBrowserProfilesRequest, ListBrowserProfilesResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListBrowserProfilesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListBrowserProfilesCommandInput extends ListBrowserProfilesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListBrowserProfilesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListBrowserProfilesCommandOutput extends ListBrowserProfilesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListBrowserProfilesCommand_base: {
|
|
25
|
+
new (input: ListBrowserProfilesCommandInput): import("@smithy/smithy-client").CommandImpl<ListBrowserProfilesCommandInput, ListBrowserProfilesCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListBrowserProfilesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListBrowserProfilesCommandInput, ListBrowserProfilesCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all browser profiles in your account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, ListBrowserProfilesCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, ListBrowserProfilesCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
38
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
|
+
* const input = { // ListBrowserProfilesRequest
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListBrowserProfilesCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListBrowserProfilesResponse
|
|
46
|
+
* // profileSummaries: [ // BrowserProfileSummaries // required
|
|
47
|
+
* // { // BrowserProfileSummary
|
|
48
|
+
* // profileId: "STRING_VALUE", // required
|
|
49
|
+
* // profileArn: "STRING_VALUE", // required
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // description: "STRING_VALUE",
|
|
52
|
+
* // status: "READY" || "DELETING" || "DELETED" || "SAVING", // required
|
|
53
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // lastSavedAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // lastSavedBrowserSessionId: "STRING_VALUE",
|
|
57
|
+
* // lastSavedBrowserId: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // nextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListBrowserProfilesCommandInput - {@link ListBrowserProfilesCommandInput}
|
|
66
|
+
* @returns {@link ListBrowserProfilesCommandOutput}
|
|
67
|
+
* @see {@link ListBrowserProfilesCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListBrowserProfilesCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class ListBrowserProfilesCommand extends ListBrowserProfilesCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: ListBrowserProfilesRequest;
|
|
94
|
+
output: ListBrowserProfilesResponse;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: ListBrowserProfilesCommandInput;
|
|
98
|
+
output: ListBrowserProfilesCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -27,7 +27,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists the tags associated with the specified resource.</p> <note> <p>This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.</p> </note>
|
|
30
|
+
* <p>Lists the tags associated with the specified resource.</p> <note> <p>This feature is currently available only for AgentCore Runtime, Browser, Browser Profile, Code Interpreter tool, and Gateway.</p> </note>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { StartPolicyGenerationRequest, StartPolicyGenerationResponse } from "../models/
|
|
4
|
+
import type { StartPolicyGenerationRequest, StartPolicyGenerationResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -27,7 +27,7 @@ declare const TagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.</p> <note> <p>This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.</p> </note>
|
|
30
|
+
* <p>Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.</p> <note> <p>This feature is currently available only for AgentCore Runtime, Browser, Browser Profile, Code Interpreter tool, and Gateway.</p> </note>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const UntagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Removes the specified tags from the specified resource.</p> <note> <p>This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.</p> </note>
|
|
30
|
+
* <p>Removes the specified tags from the specified resource.</p> <note> <p>This feature is currently available only for AgentCore Runtime, Browser, Browser Profile, Code Interpreter tool, and Gateway.</p> </note>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -2,6 +2,7 @@ export * from "./CreateAgentRuntimeCommand";
|
|
|
2
2
|
export * from "./CreateAgentRuntimeEndpointCommand";
|
|
3
3
|
export * from "./CreateApiKeyCredentialProviderCommand";
|
|
4
4
|
export * from "./CreateBrowserCommand";
|
|
5
|
+
export * from "./CreateBrowserProfileCommand";
|
|
5
6
|
export * from "./CreateCodeInterpreterCommand";
|
|
6
7
|
export * from "./CreateEvaluatorCommand";
|
|
7
8
|
export * from "./CreateGatewayCommand";
|
|
@@ -16,6 +17,7 @@ export * from "./DeleteAgentRuntimeCommand";
|
|
|
16
17
|
export * from "./DeleteAgentRuntimeEndpointCommand";
|
|
17
18
|
export * from "./DeleteApiKeyCredentialProviderCommand";
|
|
18
19
|
export * from "./DeleteBrowserCommand";
|
|
20
|
+
export * from "./DeleteBrowserProfileCommand";
|
|
19
21
|
export * from "./DeleteCodeInterpreterCommand";
|
|
20
22
|
export * from "./DeleteEvaluatorCommand";
|
|
21
23
|
export * from "./DeleteGatewayCommand";
|
|
@@ -31,6 +33,7 @@ export * from "./GetAgentRuntimeCommand";
|
|
|
31
33
|
export * from "./GetAgentRuntimeEndpointCommand";
|
|
32
34
|
export * from "./GetApiKeyCredentialProviderCommand";
|
|
33
35
|
export * from "./GetBrowserCommand";
|
|
36
|
+
export * from "./GetBrowserProfileCommand";
|
|
34
37
|
export * from "./GetCodeInterpreterCommand";
|
|
35
38
|
export * from "./GetEvaluatorCommand";
|
|
36
39
|
export * from "./GetGatewayCommand";
|
|
@@ -48,6 +51,7 @@ export * from "./ListAgentRuntimeEndpointsCommand";
|
|
|
48
51
|
export * from "./ListAgentRuntimeVersionsCommand";
|
|
49
52
|
export * from "./ListAgentRuntimesCommand";
|
|
50
53
|
export * from "./ListApiKeyCredentialProvidersCommand";
|
|
54
|
+
export * from "./ListBrowserProfilesCommand";
|
|
51
55
|
export * from "./ListBrowsersCommand";
|
|
52
56
|
export * from "./ListCodeInterpretersCommand";
|
|
53
57
|
export * from "./ListEvaluatorsCommand";
|
|
@@ -109,6 +109,20 @@ export declare const AgentRuntimeStatus: {
|
|
|
109
109
|
* @public
|
|
110
110
|
*/
|
|
111
111
|
export type AgentRuntimeStatus = (typeof AgentRuntimeStatus)[keyof typeof AgentRuntimeStatus];
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
* @enum
|
|
115
|
+
*/
|
|
116
|
+
export declare const BrowserProfileStatus: {
|
|
117
|
+
readonly DELETED: "DELETED";
|
|
118
|
+
readonly DELETING: "DELETING";
|
|
119
|
+
readonly READY: "READY";
|
|
120
|
+
readonly SAVING: "SAVING";
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export type BrowserProfileStatus = (typeof BrowserProfileStatus)[keyof typeof BrowserProfileStatus];
|
|
112
126
|
/**
|
|
113
127
|
* @public
|
|
114
128
|
* @enum
|