@aws-sdk/client-bedrock-agentcore-control 3.1038.0 → 3.1039.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.
Files changed (92) hide show
  1. package/README.md +84 -0
  2. package/dist-cjs/index.js +215 -0
  3. package/dist-cjs/schemas/schemas_0.js +529 -98
  4. package/dist-es/BedrockAgentCoreControl.js +30 -0
  5. package/dist-es/commands/CreateConfigurationBundleCommand.js +16 -0
  6. package/dist-es/commands/CreateGatewayRuleCommand.js +16 -0
  7. package/dist-es/commands/DeleteConfigurationBundleCommand.js +16 -0
  8. package/dist-es/commands/DeleteGatewayRuleCommand.js +16 -0
  9. package/dist-es/commands/GetConfigurationBundleCommand.js +16 -0
  10. package/dist-es/commands/GetConfigurationBundleVersionCommand.js +16 -0
  11. package/dist-es/commands/GetGatewayRuleCommand.js +16 -0
  12. package/dist-es/commands/ListConfigurationBundleVersionsCommand.js +16 -0
  13. package/dist-es/commands/ListConfigurationBundlesCommand.js +16 -0
  14. package/dist-es/commands/ListGatewayRulesCommand.js +16 -0
  15. package/dist-es/commands/UpdateConfigurationBundleCommand.js +16 -0
  16. package/dist-es/commands/UpdateGatewayRuleCommand.js +16 -0
  17. package/dist-es/commands/index.js +12 -0
  18. package/dist-es/models/enums.js +30 -0
  19. package/dist-es/pagination/ListConfigurationBundleVersionsPaginator.js +4 -0
  20. package/dist-es/pagination/ListConfigurationBundlesPaginator.js +4 -0
  21. package/dist-es/pagination/ListGatewayRulesPaginator.js +4 -0
  22. package/dist-es/pagination/index.js +3 -0
  23. package/dist-es/schemas/schemas_0.js +516 -86
  24. package/dist-types/BedrockAgentCoreControl.d.ts +106 -0
  25. package/dist-types/BedrockAgentCoreControlClient.d.ts +14 -2
  26. package/dist-types/commands/CreateConfigurationBundleCommand.d.ts +111 -0
  27. package/dist-types/commands/CreateEvaluatorCommand.d.ts +1 -0
  28. package/dist-types/commands/CreateGatewayCommand.d.ts +4 -4
  29. package/dist-types/commands/CreateGatewayRuleCommand.d.ts +232 -0
  30. package/dist-types/commands/CreateGatewayTargetCommand.d.ts +17 -4
  31. package/dist-types/commands/CreateMemoryCommand.d.ts +2 -1
  32. package/dist-types/commands/DeleteConfigurationBundleCommand.d.ts +93 -0
  33. package/dist-types/commands/DeleteGatewayRuleCommand.d.ts +94 -0
  34. package/dist-types/commands/DeleteMemoryCommand.d.ts +1 -1
  35. package/dist-types/commands/GetConfigurationBundleCommand.d.ts +112 -0
  36. package/dist-types/commands/GetConfigurationBundleVersionCommand.d.ts +112 -0
  37. package/dist-types/commands/GetEvaluatorCommand.d.ts +2 -0
  38. package/dist-types/commands/GetGatewayCommand.d.ts +2 -2
  39. package/dist-types/commands/GetGatewayRuleCommand.d.ts +162 -0
  40. package/dist-types/commands/GetGatewayTargetCommand.d.ts +9 -2
  41. package/dist-types/commands/GetMemoryCommand.d.ts +1 -1
  42. package/dist-types/commands/ListConfigurationBundleVersionsCommand.d.ts +115 -0
  43. package/dist-types/commands/ListConfigurationBundlesCommand.d.ts +95 -0
  44. package/dist-types/commands/ListEvaluatorsCommand.d.ts +1 -0
  45. package/dist-types/commands/ListGatewayRulesCommand.d.ts +168 -0
  46. package/dist-types/commands/ListGatewaysCommand.d.ts +2 -2
  47. package/dist-types/commands/ListMemoriesCommand.d.ts +1 -1
  48. package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +9 -2
  49. package/dist-types/commands/UpdateConfigurationBundleCommand.d.ts +112 -0
  50. package/dist-types/commands/UpdateEvaluatorCommand.d.ts +1 -0
  51. package/dist-types/commands/UpdateGatewayCommand.d.ts +4 -4
  52. package/dist-types/commands/UpdateGatewayRuleCommand.d.ts +230 -0
  53. package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +17 -4
  54. package/dist-types/commands/UpdateMemoryCommand.d.ts +1 -1
  55. package/dist-types/commands/index.d.ts +12 -0
  56. package/dist-types/models/enums.d.ts +70 -0
  57. package/dist-types/models/models_0.d.ts +2866 -2901
  58. package/dist-types/models/models_1.d.ts +1406 -4
  59. package/dist-types/pagination/ListConfigurationBundleVersionsPaginator.d.ts +7 -0
  60. package/dist-types/pagination/ListConfigurationBundlesPaginator.d.ts +7 -0
  61. package/dist-types/pagination/ListGatewayRulesPaginator.d.ts +7 -0
  62. package/dist-types/pagination/index.d.ts +3 -0
  63. package/dist-types/schemas/schemas_0.d.ts +61 -0
  64. package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +226 -0
  65. package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +72 -0
  66. package/dist-types/ts3.4/commands/CreateConfigurationBundleCommand.d.ts +51 -0
  67. package/dist-types/ts3.4/commands/CreateGatewayRuleCommand.d.ts +51 -0
  68. package/dist-types/ts3.4/commands/CreateMemoryCommand.d.ts +2 -1
  69. package/dist-types/ts3.4/commands/DeleteConfigurationBundleCommand.d.ts +51 -0
  70. package/dist-types/ts3.4/commands/DeleteGatewayRuleCommand.d.ts +51 -0
  71. package/dist-types/ts3.4/commands/DeleteMemoryCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/GetConfigurationBundleCommand.d.ts +51 -0
  73. package/dist-types/ts3.4/commands/GetConfigurationBundleVersionCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/GetGatewayRuleCommand.d.ts +50 -0
  75. package/dist-types/ts3.4/commands/GetMemoryCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/ListConfigurationBundleVersionsCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/ListConfigurationBundlesCommand.d.ts +51 -0
  78. package/dist-types/ts3.4/commands/ListGatewayRulesCommand.d.ts +50 -0
  79. package/dist-types/ts3.4/commands/ListMemoriesCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/UpdateConfigurationBundleCommand.d.ts +51 -0
  81. package/dist-types/ts3.4/commands/UpdateGatewayRuleCommand.d.ts +51 -0
  82. package/dist-types/ts3.4/commands/UpdateMemoryCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  84. package/dist-types/ts3.4/models/enums.d.ts +39 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +405 -571
  86. package/dist-types/ts3.4/models/models_1.d.ts +592 -7
  87. package/dist-types/ts3.4/pagination/ListConfigurationBundleVersionsPaginator.d.ts +11 -0
  88. package/dist-types/ts3.4/pagination/ListConfigurationBundlesPaginator.d.ts +11 -0
  89. package/dist-types/ts3.4/pagination/ListGatewayRulesPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  91. package/dist-types/ts3.4/schemas/schemas_0.d.ts +61 -0
  92. package/package.json +7 -7
@@ -0,0 +1,232 @@
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 { CreateGatewayRuleRequest, CreateGatewayRuleResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateGatewayRuleCommand}.
14
+ */
15
+ export interface CreateGatewayRuleCommandInput extends CreateGatewayRuleRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateGatewayRuleCommand}.
21
+ */
22
+ export interface CreateGatewayRuleCommandOutput extends CreateGatewayRuleResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateGatewayRuleCommand_base: {
25
+ new (input: CreateGatewayRuleCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGatewayRuleCommandInput, CreateGatewayRuleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateGatewayRuleCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGatewayRuleCommandInput, CreateGatewayRuleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a rule for a gateway. Rules define conditions and actions that control how requests are routed and processed through the gateway, including principal-based access control and path-based routing.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreControlClient, CreateGatewayRuleCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
35
+ * // const { BedrockAgentCoreControlClient, CreateGatewayRuleCommand } = 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 = { // CreateGatewayRuleRequest
40
+ * gatewayIdentifier: "STRING_VALUE", // required
41
+ * clientToken: "STRING_VALUE",
42
+ * priority: Number("int"), // required
43
+ * conditions: [ // Conditions
44
+ * { // Condition Union: only one key present
45
+ * matchPrincipals: { // MatchPrincipals
46
+ * anyOf: [ // MatchPrincipalEntries // required
47
+ * { // MatchPrincipalEntry Union: only one key present
48
+ * iamPrincipal: { // IamPrincipal
49
+ * arn: "STRING_VALUE", // required
50
+ * operator: "StringEquals" || "StringLike",
51
+ * },
52
+ * },
53
+ * ],
54
+ * },
55
+ * matchPaths: { // MatchPaths
56
+ * anyOf: [ // MatchPathPatterns // required
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * },
60
+ * },
61
+ * ],
62
+ * actions: [ // Actions // required
63
+ * { // Action Union: only one key present
64
+ * configurationBundle: { // ConfigurationBundleAction Union: only one key present
65
+ * staticOverride: { // StaticOverride
66
+ * bundleArn: "STRING_VALUE", // required
67
+ * bundleVersion: "STRING_VALUE", // required
68
+ * },
69
+ * weightedOverride: { // WeightedOverride
70
+ * trafficSplit: [ // TrafficSplitEntries // required
71
+ * { // TrafficSplitEntry
72
+ * name: "STRING_VALUE", // required
73
+ * weight: Number("int"), // required
74
+ * configurationBundle: { // ConfigurationBundleReference
75
+ * bundleArn: "STRING_VALUE", // required
76
+ * bundleVersion: "STRING_VALUE", // required
77
+ * },
78
+ * description: "STRING_VALUE",
79
+ * metadata: { // TrafficSplitMetadataMap
80
+ * "<keys>": "STRING_VALUE",
81
+ * },
82
+ * },
83
+ * ],
84
+ * },
85
+ * },
86
+ * routeToTarget: { // RouteToTargetAction Union: only one key present
87
+ * staticRoute: { // StaticRoute
88
+ * targetName: "STRING_VALUE", // required
89
+ * },
90
+ * weightedRoute: { // WeightedRoute
91
+ * trafficSplit: [ // TargetTrafficSplitEntries // required
92
+ * { // TargetTrafficSplitEntry
93
+ * name: "STRING_VALUE", // required
94
+ * weight: Number("int"), // required
95
+ * targetName: "STRING_VALUE", // required
96
+ * description: "STRING_VALUE",
97
+ * metadata: {
98
+ * "<keys>": "STRING_VALUE",
99
+ * },
100
+ * },
101
+ * ],
102
+ * },
103
+ * },
104
+ * },
105
+ * ],
106
+ * description: "STRING_VALUE",
107
+ * };
108
+ * const command = new CreateGatewayRuleCommand(input);
109
+ * const response = await client.send(command);
110
+ * // { // CreateGatewayRuleResponse
111
+ * // ruleId: "STRING_VALUE", // required
112
+ * // gatewayArn: "STRING_VALUE", // required
113
+ * // priority: Number("int"), // required
114
+ * // conditions: [ // Conditions
115
+ * // { // Condition Union: only one key present
116
+ * // matchPrincipals: { // MatchPrincipals
117
+ * // anyOf: [ // MatchPrincipalEntries // required
118
+ * // { // MatchPrincipalEntry Union: only one key present
119
+ * // iamPrincipal: { // IamPrincipal
120
+ * // arn: "STRING_VALUE", // required
121
+ * // operator: "StringEquals" || "StringLike",
122
+ * // },
123
+ * // },
124
+ * // ],
125
+ * // },
126
+ * // matchPaths: { // MatchPaths
127
+ * // anyOf: [ // MatchPathPatterns // required
128
+ * // "STRING_VALUE",
129
+ * // ],
130
+ * // },
131
+ * // },
132
+ * // ],
133
+ * // actions: [ // Actions // required
134
+ * // { // Action Union: only one key present
135
+ * // configurationBundle: { // ConfigurationBundleAction Union: only one key present
136
+ * // staticOverride: { // StaticOverride
137
+ * // bundleArn: "STRING_VALUE", // required
138
+ * // bundleVersion: "STRING_VALUE", // required
139
+ * // },
140
+ * // weightedOverride: { // WeightedOverride
141
+ * // trafficSplit: [ // TrafficSplitEntries // required
142
+ * // { // TrafficSplitEntry
143
+ * // name: "STRING_VALUE", // required
144
+ * // weight: Number("int"), // required
145
+ * // configurationBundle: { // ConfigurationBundleReference
146
+ * // bundleArn: "STRING_VALUE", // required
147
+ * // bundleVersion: "STRING_VALUE", // required
148
+ * // },
149
+ * // description: "STRING_VALUE",
150
+ * // metadata: { // TrafficSplitMetadataMap
151
+ * // "<keys>": "STRING_VALUE",
152
+ * // },
153
+ * // },
154
+ * // ],
155
+ * // },
156
+ * // },
157
+ * // routeToTarget: { // RouteToTargetAction Union: only one key present
158
+ * // staticRoute: { // StaticRoute
159
+ * // targetName: "STRING_VALUE", // required
160
+ * // },
161
+ * // weightedRoute: { // WeightedRoute
162
+ * // trafficSplit: [ // TargetTrafficSplitEntries // required
163
+ * // { // TargetTrafficSplitEntry
164
+ * // name: "STRING_VALUE", // required
165
+ * // weight: Number("int"), // required
166
+ * // targetName: "STRING_VALUE", // required
167
+ * // description: "STRING_VALUE",
168
+ * // metadata: {
169
+ * // "<keys>": "STRING_VALUE",
170
+ * // },
171
+ * // },
172
+ * // ],
173
+ * // },
174
+ * // },
175
+ * // },
176
+ * // ],
177
+ * // description: "STRING_VALUE",
178
+ * // createdAt: new Date("TIMESTAMP"), // required
179
+ * // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING", // required
180
+ * // system: { // SystemManagedBlock
181
+ * // managedBy: "STRING_VALUE", // required
182
+ * // },
183
+ * // };
184
+ *
185
+ * ```
186
+ *
187
+ * @param CreateGatewayRuleCommandInput - {@link CreateGatewayRuleCommandInput}
188
+ * @returns {@link CreateGatewayRuleCommandOutput}
189
+ * @see {@link CreateGatewayRuleCommandInput} for command's `input` shape.
190
+ * @see {@link CreateGatewayRuleCommandOutput} for command's `response` shape.
191
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
192
+ *
193
+ * @throws {@link AccessDeniedException} (client fault)
194
+ * <p>This exception is thrown when a request is denied per access permissions</p>
195
+ *
196
+ * @throws {@link ConflictException} (client fault)
197
+ * <p>This exception is thrown when there is a conflict performing an operation</p>
198
+ *
199
+ * @throws {@link InternalServerException} (server fault)
200
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
201
+ *
202
+ * @throws {@link ResourceNotFoundException} (client fault)
203
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
204
+ *
205
+ * @throws {@link ServiceQuotaExceededException} (client fault)
206
+ * <p>This exception is thrown when a request is made beyond the service quota</p>
207
+ *
208
+ * @throws {@link ThrottlingException} (client fault)
209
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
210
+ *
211
+ * @throws {@link ValidationException} (client fault)
212
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
213
+ *
214
+ * @throws {@link BedrockAgentCoreControlServiceException}
215
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
216
+ *
217
+ *
218
+ * @public
219
+ */
220
+ export declare class CreateGatewayRuleCommand extends CreateGatewayRuleCommand_base {
221
+ /** @internal type navigation helper, not in runtime. */
222
+ protected static __types: {
223
+ api: {
224
+ input: CreateGatewayRuleRequest;
225
+ output: CreateGatewayRuleResponse;
226
+ };
227
+ sdk: {
228
+ input: CreateGatewayRuleCommandInput;
229
+ output: CreateGatewayRuleCommandOutput;
230
+ };
231
+ };
232
+ }
@@ -103,8 +103,8 @@ declare const CreateGatewayTargetCommand_base: {
103
103
  * },
104
104
  * inlinePayload: "STRING_VALUE",
105
105
  * },
106
- * resourcePriority: Number("int"),
107
106
  * listingMode: "DEFAULT" || "DYNAMIC",
107
+ * resourcePriority: Number("int"),
108
108
  * },
109
109
  * apiGateway: { // ApiGatewayTargetConfiguration
110
110
  * restApiId: "STRING_VALUE", // required
@@ -129,10 +129,16 @@ declare const CreateGatewayTargetCommand_base: {
129
129
  * },
130
130
  * },
131
131
  * },
132
+ * http: { // HttpTargetConfiguration Union: only one key present
133
+ * agentcoreRuntime: { // RuntimeTargetConfiguration
134
+ * arn: "STRING_VALUE", // required
135
+ * qualifier: "STRING_VALUE",
136
+ * },
137
+ * },
132
138
  * },
133
139
  * credentialProviderConfigurations: [ // CredentialProviderConfigurations
134
140
  * { // CredentialProviderConfiguration
135
- * credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY", // required
141
+ * credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY" || "CALLER_IAM_CREDENTIALS" || "JWT_PASSTHROUGH", // required
136
142
  * credentialProvider: { // CredentialProvider Union: only one key present
137
143
  * oauthCredentialProvider: { // OAuthCredentialProvider
138
144
  * providerArn: "STRING_VALUE", // required
@@ -264,8 +270,8 @@ declare const CreateGatewayTargetCommand_base: {
264
270
  * // },
265
271
  * // inlinePayload: "STRING_VALUE",
266
272
  * // },
267
- * // resourcePriority: Number("int"),
268
273
  * // listingMode: "DEFAULT" || "DYNAMIC",
274
+ * // resourcePriority: Number("int"),
269
275
  * // },
270
276
  * // apiGateway: { // ApiGatewayTargetConfiguration
271
277
  * // restApiId: "STRING_VALUE", // required
@@ -290,10 +296,16 @@ declare const CreateGatewayTargetCommand_base: {
290
296
  * // },
291
297
  * // },
292
298
  * // },
299
+ * // http: { // HttpTargetConfiguration Union: only one key present
300
+ * // agentcoreRuntime: { // RuntimeTargetConfiguration
301
+ * // arn: "STRING_VALUE", // required
302
+ * // qualifier: "STRING_VALUE",
303
+ * // },
304
+ * // },
293
305
  * // },
294
306
  * // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
295
307
  * // { // CredentialProviderConfiguration
296
- * // credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY", // required
308
+ * // credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY" || "CALLER_IAM_CREDENTIALS" || "JWT_PASSTHROUGH", // required
297
309
  * // credentialProvider: { // CredentialProvider Union: only one key present
298
310
  * // oauthCredentialProvider: { // OAuthCredentialProvider
299
311
  * // providerArn: "STRING_VALUE", // required
@@ -363,6 +375,7 @@ declare const CreateGatewayTargetCommand_base: {
363
375
  * // userId: "STRING_VALUE",
364
376
  * // },
365
377
  * // },
378
+ * // protocolType: "MCP" || "HTTP",
366
379
  * // };
367
380
  *
368
381
  * ```
@@ -1,7 +1,8 @@
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 { CreateMemoryInput, CreateMemoryOutput } from "../models/models_0";
4
+ import type { CreateMemoryInput } from "../models/models_0";
5
+ import type { CreateMemoryOutput } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -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
+ }
@@ -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/models_0";
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
+ }