@aws-sdk/client-bedrock-agentcore-control 3.1038.0 → 3.1040.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 +84 -0
- package/dist-cjs/index.js +239 -0
- package/dist-cjs/schemas/schemas_0.js +674 -138
- package/dist-es/BedrockAgentCoreControl.js +30 -0
- package/dist-es/commands/CreateConfigurationBundleCommand.js +16 -0
- package/dist-es/commands/CreateGatewayRuleCommand.js +16 -0
- package/dist-es/commands/DeleteConfigurationBundleCommand.js +16 -0
- package/dist-es/commands/DeleteGatewayRuleCommand.js +16 -0
- package/dist-es/commands/GetConfigurationBundleCommand.js +16 -0
- package/dist-es/commands/GetConfigurationBundleVersionCommand.js +16 -0
- package/dist-es/commands/GetGatewayRuleCommand.js +16 -0
- package/dist-es/commands/ListConfigurationBundleVersionsCommand.js +16 -0
- package/dist-es/commands/ListConfigurationBundlesCommand.js +16 -0
- package/dist-es/commands/ListGatewayRulesCommand.js +16 -0
- package/dist-es/commands/UpdateConfigurationBundleCommand.js +16 -0
- package/dist-es/commands/UpdateGatewayRuleCommand.js +16 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/enums.js +50 -0
- package/dist-es/pagination/ListConfigurationBundleVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListConfigurationBundlesPaginator.js +4 -0
- package/dist-es/pagination/ListGatewayRulesPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +660 -126
- package/dist-types/BedrockAgentCoreControl.d.ts +106 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +14 -2
- package/dist-types/commands/CreateConfigurationBundleCommand.d.ts +111 -0
- package/dist-types/commands/CreateEvaluatorCommand.d.ts +1 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +4 -4
- package/dist-types/commands/CreateGatewayRuleCommand.d.ts +232 -0
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +19 -6
- package/dist-types/commands/CreateHarnessCommand.d.ts +2 -2
- package/dist-types/commands/CreateMemoryCommand.d.ts +233 -1
- package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +22 -2
- package/dist-types/commands/DeleteConfigurationBundleCommand.d.ts +93 -0
- package/dist-types/commands/DeleteGatewayRuleCommand.d.ts +94 -0
- package/dist-types/commands/DeleteHarnessCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMemoryCommand.d.ts +1 -1
- package/dist-types/commands/GetConfigurationBundleCommand.d.ts +112 -0
- package/dist-types/commands/GetConfigurationBundleVersionCommand.d.ts +112 -0
- package/dist-types/commands/GetEvaluatorCommand.d.ts +2 -0
- package/dist-types/commands/GetGatewayCommand.d.ts +2 -2
- package/dist-types/commands/GetGatewayRuleCommand.d.ts +162 -0
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +10 -3
- package/dist-types/commands/GetHarnessCommand.d.ts +1 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +70 -1
- package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +10 -0
- package/dist-types/commands/ListConfigurationBundleVersionsCommand.d.ts +115 -0
- package/dist-types/commands/ListConfigurationBundlesCommand.d.ts +95 -0
- package/dist-types/commands/ListEvaluatorsCommand.d.ts +1 -0
- package/dist-types/commands/ListGatewayRulesCommand.d.ts +168 -0
- package/dist-types/commands/ListGatewaysCommand.d.ts +2 -2
- package/dist-types/commands/ListMemoriesCommand.d.ts +1 -1
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +10 -3
- package/dist-types/commands/UpdateConfigurationBundleCommand.d.ts +112 -0
- package/dist-types/commands/UpdateEvaluatorCommand.d.ts +1 -0
- package/dist-types/commands/UpdateGatewayCommand.d.ts +4 -4
- package/dist-types/commands/UpdateGatewayRuleCommand.d.ts +230 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +19 -6
- package/dist-types/commands/UpdateHarnessCommand.d.ts +2 -2
- package/dist-types/commands/UpdateMemoryCommand.d.ts +236 -1
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +22 -2
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/enums.d.ts +130 -0
- package/dist-types/models/models_0.d.ts +2979 -3024
- package/dist-types/models/models_1.d.ts +1742 -4
- package/dist-types/pagination/ListConfigurationBundleVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConfigurationBundlesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGatewayRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +72 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +226 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/CreateConfigurationBundleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateGatewayRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateMemoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteConfigurationBundleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteGatewayRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteMemoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetConfigurationBundleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConfigurationBundleVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetGatewayRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetMemoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationBundleVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConfigurationBundlesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListGatewayRulesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListMemoriesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConfigurationBundleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateGatewayRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateMemoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/enums.d.ts +67 -0
- package/dist-types/ts3.4/models/models_0.d.ts +495 -674
- package/dist-types/ts3.4/models/models_1.d.ts +718 -7
- package/dist-types/ts3.4/pagination/ListConfigurationBundleVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfigurationBundlesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGatewayRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +72 -0
- package/package.json +7 -7
|
@@ -55,8 +55,8 @@ declare const CreateOauth2CredentialProviderCommand_base: {
|
|
|
55
55
|
* ],
|
|
56
56
|
* },
|
|
57
57
|
* },
|
|
58
|
-
* clientId: "STRING_VALUE",
|
|
59
|
-
* clientSecret: "STRING_VALUE",
|
|
58
|
+
* clientId: "STRING_VALUE",
|
|
59
|
+
* clientSecret: "STRING_VALUE",
|
|
60
60
|
* privateEndpoint: { // PrivateEndpoint Union: only one key present
|
|
61
61
|
* selfManagedLatticeResource: { // SelfManagedLatticeResource Union: only one key present
|
|
62
62
|
* resourceConfigurationIdentifier: "STRING_VALUE",
|
|
@@ -100,6 +100,16 @@ declare const CreateOauth2CredentialProviderCommand_base: {
|
|
|
100
100
|
* },
|
|
101
101
|
* },
|
|
102
102
|
* ],
|
|
103
|
+
* onBehalfOfTokenExchangeConfig: { // OnBehalfOfTokenExchangeConfigType
|
|
104
|
+
* grantType: "TOKEN_EXCHANGE" || "JWT_AUTHORIZATION_GRANT", // required
|
|
105
|
+
* tokenExchangeGrantTypeConfig: { // TokenExchangeGrantTypeConfigType
|
|
106
|
+
* actorTokenContent: "NONE" || "M2M" || "AWS_IAM_ID_TOKEN_JWT", // required
|
|
107
|
+
* actorTokenScopes: [ // ScopesListType
|
|
108
|
+
* "STRING_VALUE",
|
|
109
|
+
* ],
|
|
110
|
+
* },
|
|
111
|
+
* },
|
|
112
|
+
* clientAuthenticationMethod: "CLIENT_SECRET_BASIC" || "CLIENT_SECRET_POST" || "AWS_IAM_ID_TOKEN_JWT",
|
|
103
113
|
* },
|
|
104
114
|
* googleOauth2ProviderConfig: { // GoogleOauth2ProviderConfigInput
|
|
105
115
|
* clientId: "STRING_VALUE", // required
|
|
@@ -209,6 +219,16 @@ declare const CreateOauth2CredentialProviderCommand_base: {
|
|
|
209
219
|
* // },
|
|
210
220
|
* // },
|
|
211
221
|
* // ],
|
|
222
|
+
* // onBehalfOfTokenExchangeConfig: { // OnBehalfOfTokenExchangeConfigType
|
|
223
|
+
* // grantType: "TOKEN_EXCHANGE" || "JWT_AUTHORIZATION_GRANT", // required
|
|
224
|
+
* // tokenExchangeGrantTypeConfig: { // TokenExchangeGrantTypeConfigType
|
|
225
|
+
* // actorTokenContent: "NONE" || "M2M" || "AWS_IAM_ID_TOKEN_JWT", // required
|
|
226
|
+
* // actorTokenScopes: [ // ScopesListType
|
|
227
|
+
* // "STRING_VALUE",
|
|
228
|
+
* // ],
|
|
229
|
+
* // },
|
|
230
|
+
* // },
|
|
231
|
+
* // clientAuthenticationMethod: "CLIENT_SECRET_BASIC" || "CLIENT_SECRET_POST" || "AWS_IAM_ID_TOKEN_JWT",
|
|
212
232
|
* // },
|
|
213
233
|
* // googleOauth2ProviderConfig: { // GoogleOauth2ProviderConfigOutput
|
|
214
234
|
* // oauthDiscovery: {// Union: only one key present
|
|
@@ -0,0 +1,93 @@
|
|
|
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 { DeleteConfigurationBundleRequest, DeleteConfigurationBundleResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteConfigurationBundleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteConfigurationBundleCommandInput extends DeleteConfigurationBundleRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteConfigurationBundleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteConfigurationBundleCommandOutput extends DeleteConfigurationBundleResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteConfigurationBundleCommand_base: {
|
|
25
|
+
new (input: DeleteConfigurationBundleCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConfigurationBundleCommandInput, DeleteConfigurationBundleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteConfigurationBundleCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConfigurationBundleCommandInput, DeleteConfigurationBundleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a configuration bundle and all of its versions.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, DeleteConfigurationBundleCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, DeleteConfigurationBundleCommand } = 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 = { // DeleteConfigurationBundleRequest
|
|
40
|
+
* bundleId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteConfigurationBundleCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // DeleteConfigurationBundleResponse
|
|
45
|
+
* // bundleId: "STRING_VALUE", // required
|
|
46
|
+
* // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED", // required
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param DeleteConfigurationBundleCommandInput - {@link DeleteConfigurationBundleCommandInput}
|
|
52
|
+
* @returns {@link DeleteConfigurationBundleCommandOutput}
|
|
53
|
+
* @see {@link DeleteConfigurationBundleCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link DeleteConfigurationBundleCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class DeleteConfigurationBundleCommand extends DeleteConfigurationBundleCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: DeleteConfigurationBundleRequest;
|
|
86
|
+
output: DeleteConfigurationBundleResponse;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: DeleteConfigurationBundleCommandInput;
|
|
90
|
+
output: DeleteConfigurationBundleCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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 { DeleteGatewayRuleRequest, DeleteGatewayRuleResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteGatewayRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteGatewayRuleCommandInput extends DeleteGatewayRuleRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteGatewayRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteGatewayRuleCommandOutput extends DeleteGatewayRuleResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteGatewayRuleCommand_base: {
|
|
25
|
+
new (input: DeleteGatewayRuleCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteGatewayRuleCommandInput, DeleteGatewayRuleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteGatewayRuleCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteGatewayRuleCommandInput, DeleteGatewayRuleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a gateway rule.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, DeleteGatewayRuleCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, DeleteGatewayRuleCommand } = 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 = { // DeleteGatewayRuleRequest
|
|
40
|
+
* gatewayIdentifier: "STRING_VALUE", // required
|
|
41
|
+
* ruleId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteGatewayRuleCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DeleteGatewayRuleResponse
|
|
46
|
+
* // ruleId: "STRING_VALUE", // required
|
|
47
|
+
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DeleteGatewayRuleCommandInput - {@link DeleteGatewayRuleCommandInput}
|
|
53
|
+
* @returns {@link DeleteGatewayRuleCommandOutput}
|
|
54
|
+
* @see {@link DeleteGatewayRuleCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DeleteGatewayRuleCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class DeleteGatewayRuleCommand extends DeleteGatewayRuleCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: DeleteGatewayRuleRequest;
|
|
87
|
+
output: DeleteGatewayRuleResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: DeleteGatewayRuleCommandInput;
|
|
91
|
+
output: DeleteGatewayRuleCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -106,7 +106,7 @@ declare const DeleteHarnessCommand_base: {
|
|
|
106
106
|
* // customParameters: { // OAuthCustomParameters
|
|
107
107
|
* // "<keys>": "STRING_VALUE",
|
|
108
108
|
* // },
|
|
109
|
-
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
109
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE" || "TOKEN_EXCHANGE",
|
|
110
110
|
* // defaultReturnUrl: "STRING_VALUE",
|
|
111
111
|
* // },
|
|
112
112
|
* // },
|
|
@@ -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 { DeleteMemoryInput, DeleteMemoryOutput } from "../models/
|
|
4
|
+
import type { DeleteMemoryInput, DeleteMemoryOutput } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,112 @@
|
|
|
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 { GetConfigurationBundleRequest, GetConfigurationBundleResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetConfigurationBundleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetConfigurationBundleCommandInput extends GetConfigurationBundleRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetConfigurationBundleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetConfigurationBundleCommandOutput extends GetConfigurationBundleResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetConfigurationBundleCommand_base: {
|
|
25
|
+
new (input: GetConfigurationBundleCommandInput): import("@smithy/smithy-client").CommandImpl<GetConfigurationBundleCommandInput, GetConfigurationBundleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetConfigurationBundleCommandInput): import("@smithy/smithy-client").CommandImpl<GetConfigurationBundleCommandInput, GetConfigurationBundleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets the latest version of a configuration bundle. By default, returns the latest version on the mainline branch. Use <code>GetConfigurationBundleVersion</code> to retrieve a specific historical version.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, GetConfigurationBundleCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, GetConfigurationBundleCommand } = 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 = { // GetConfigurationBundleRequest
|
|
40
|
+
* bundleId: "STRING_VALUE", // required
|
|
41
|
+
* branchName: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetConfigurationBundleCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetConfigurationBundleResponse
|
|
46
|
+
* // bundleArn: "STRING_VALUE", // required
|
|
47
|
+
* // bundleId: "STRING_VALUE", // required
|
|
48
|
+
* // bundleName: "STRING_VALUE", // required
|
|
49
|
+
* // description: "STRING_VALUE",
|
|
50
|
+
* // versionId: "STRING_VALUE", // required
|
|
51
|
+
* // components: { // ComponentConfigurationMap // required
|
|
52
|
+
* // "<keys>": { // ComponentConfiguration
|
|
53
|
+
* // configuration: "DOCUMENT_VALUE", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // lineageMetadata: { // VersionLineageMetadata
|
|
57
|
+
* // parentVersionIds: [ // ConfigurationBundleVersionList
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // branchName: "STRING_VALUE",
|
|
61
|
+
* // createdBy: { // VersionCreatedBySource
|
|
62
|
+
* // name: "STRING_VALUE", // required
|
|
63
|
+
* // arn: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // commitMessage: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
68
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param GetConfigurationBundleCommandInput - {@link GetConfigurationBundleCommandInput}
|
|
74
|
+
* @returns {@link GetConfigurationBundleCommandOutput}
|
|
75
|
+
* @see {@link GetConfigurationBundleCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link GetConfigurationBundleCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerException} (server fault)
|
|
83
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
89
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class GetConfigurationBundleCommand extends GetConfigurationBundleCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: GetConfigurationBundleRequest;
|
|
105
|
+
output: GetConfigurationBundleResponse;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: GetConfigurationBundleCommandInput;
|
|
109
|
+
output: GetConfigurationBundleCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
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 { GetConfigurationBundleVersionRequest, GetConfigurationBundleVersionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetConfigurationBundleVersionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetConfigurationBundleVersionCommandInput extends GetConfigurationBundleVersionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetConfigurationBundleVersionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetConfigurationBundleVersionCommandOutput extends GetConfigurationBundleVersionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetConfigurationBundleVersionCommand_base: {
|
|
25
|
+
new (input: GetConfigurationBundleVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetConfigurationBundleVersionCommandInput, GetConfigurationBundleVersionCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetConfigurationBundleVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetConfigurationBundleVersionCommandInput, GetConfigurationBundleVersionCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets a specific version of a configuration bundle by its version identifier.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, GetConfigurationBundleVersionCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, GetConfigurationBundleVersionCommand } = 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 = { // GetConfigurationBundleVersionRequest
|
|
40
|
+
* bundleId: "STRING_VALUE", // required
|
|
41
|
+
* versionId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetConfigurationBundleVersionCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetConfigurationBundleVersionResponse
|
|
46
|
+
* // bundleArn: "STRING_VALUE", // required
|
|
47
|
+
* // bundleId: "STRING_VALUE", // required
|
|
48
|
+
* // bundleName: "STRING_VALUE", // required
|
|
49
|
+
* // description: "STRING_VALUE",
|
|
50
|
+
* // versionId: "STRING_VALUE", // required
|
|
51
|
+
* // components: { // ComponentConfigurationMap // required
|
|
52
|
+
* // "<keys>": { // ComponentConfiguration
|
|
53
|
+
* // configuration: "DOCUMENT_VALUE", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // lineageMetadata: { // VersionLineageMetadata
|
|
57
|
+
* // parentVersionIds: [ // ConfigurationBundleVersionList
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // branchName: "STRING_VALUE",
|
|
61
|
+
* // createdBy: { // VersionCreatedBySource
|
|
62
|
+
* // name: "STRING_VALUE", // required
|
|
63
|
+
* // arn: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // commitMessage: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
68
|
+
* // versionCreatedAt: new Date("TIMESTAMP"), // required
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param GetConfigurationBundleVersionCommandInput - {@link GetConfigurationBundleVersionCommandInput}
|
|
74
|
+
* @returns {@link GetConfigurationBundleVersionCommandOutput}
|
|
75
|
+
* @see {@link GetConfigurationBundleVersionCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link GetConfigurationBundleVersionCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerException} (server fault)
|
|
83
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
89
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class GetConfigurationBundleVersionCommand extends GetConfigurationBundleVersionCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: GetConfigurationBundleVersionRequest;
|
|
105
|
+
output: GetConfigurationBundleVersionResponse;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: GetConfigurationBundleVersionCommandInput;
|
|
109
|
+
output: GetConfigurationBundleVersionCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -38,6 +38,7 @@ declare const GetEvaluatorCommand_base: {
|
|
|
38
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
39
|
* const input = { // GetEvaluatorRequest
|
|
40
40
|
* evaluatorId: "STRING_VALUE", // required
|
|
41
|
+
* includedData: "ALL_DATA" || "METADATA_ONLY",
|
|
41
42
|
* };
|
|
42
43
|
* const command = new GetEvaluatorCommand(input);
|
|
43
44
|
* const response = await client.send(command);
|
|
@@ -91,6 +92,7 @@ declare const GetEvaluatorCommand_base: {
|
|
|
91
92
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
92
93
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
93
94
|
* // lockedForModification: true || false,
|
|
95
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
94
96
|
* // };
|
|
95
97
|
*
|
|
96
98
|
* ```
|
|
@@ -54,7 +54,7 @@ declare const GetGatewayCommand_base: {
|
|
|
54
54
|
* // name: "STRING_VALUE", // required
|
|
55
55
|
* // description: "STRING_VALUE",
|
|
56
56
|
* // roleArn: "STRING_VALUE",
|
|
57
|
-
* // protocolType: "MCP",
|
|
57
|
+
* // protocolType: "MCP",
|
|
58
58
|
* // protocolConfiguration: { // GatewayProtocolConfiguration Union: only one key present
|
|
59
59
|
* // mcp: { // MCPGatewayConfiguration
|
|
60
60
|
* // supportedVersions: [ // McpSupportedVersions
|
|
@@ -64,7 +64,7 @@ declare const GetGatewayCommand_base: {
|
|
|
64
64
|
* // searchType: "SEMANTIC",
|
|
65
65
|
* // },
|
|
66
66
|
* // },
|
|
67
|
-
* // authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE", // required
|
|
67
|
+
* // authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE" || "AUTHENTICATE_ONLY", // required
|
|
68
68
|
* // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
|
|
69
69
|
* // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
|
|
70
70
|
* // discoveryUrl: "STRING_VALUE", // required
|