@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.
Files changed (99) hide show
  1. package/README.md +84 -0
  2. package/dist-cjs/index.js +239 -0
  3. package/dist-cjs/schemas/schemas_0.js +674 -138
  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 +50 -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 +660 -126
  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 +19 -6
  31. package/dist-types/commands/CreateHarnessCommand.d.ts +2 -2
  32. package/dist-types/commands/CreateMemoryCommand.d.ts +233 -1
  33. package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +22 -2
  34. package/dist-types/commands/DeleteConfigurationBundleCommand.d.ts +93 -0
  35. package/dist-types/commands/DeleteGatewayRuleCommand.d.ts +94 -0
  36. package/dist-types/commands/DeleteHarnessCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteMemoryCommand.d.ts +1 -1
  38. package/dist-types/commands/GetConfigurationBundleCommand.d.ts +112 -0
  39. package/dist-types/commands/GetConfigurationBundleVersionCommand.d.ts +112 -0
  40. package/dist-types/commands/GetEvaluatorCommand.d.ts +2 -0
  41. package/dist-types/commands/GetGatewayCommand.d.ts +2 -2
  42. package/dist-types/commands/GetGatewayRuleCommand.d.ts +162 -0
  43. package/dist-types/commands/GetGatewayTargetCommand.d.ts +10 -3
  44. package/dist-types/commands/GetHarnessCommand.d.ts +1 -1
  45. package/dist-types/commands/GetMemoryCommand.d.ts +70 -1
  46. package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +10 -0
  47. package/dist-types/commands/ListConfigurationBundleVersionsCommand.d.ts +115 -0
  48. package/dist-types/commands/ListConfigurationBundlesCommand.d.ts +95 -0
  49. package/dist-types/commands/ListEvaluatorsCommand.d.ts +1 -0
  50. package/dist-types/commands/ListGatewayRulesCommand.d.ts +168 -0
  51. package/dist-types/commands/ListGatewaysCommand.d.ts +2 -2
  52. package/dist-types/commands/ListMemoriesCommand.d.ts +1 -1
  53. package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +10 -3
  54. package/dist-types/commands/UpdateConfigurationBundleCommand.d.ts +112 -0
  55. package/dist-types/commands/UpdateEvaluatorCommand.d.ts +1 -0
  56. package/dist-types/commands/UpdateGatewayCommand.d.ts +4 -4
  57. package/dist-types/commands/UpdateGatewayRuleCommand.d.ts +230 -0
  58. package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +19 -6
  59. package/dist-types/commands/UpdateHarnessCommand.d.ts +2 -2
  60. package/dist-types/commands/UpdateMemoryCommand.d.ts +236 -1
  61. package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +22 -2
  62. package/dist-types/commands/index.d.ts +12 -0
  63. package/dist-types/models/enums.d.ts +130 -0
  64. package/dist-types/models/models_0.d.ts +2979 -3024
  65. package/dist-types/models/models_1.d.ts +1742 -4
  66. package/dist-types/pagination/ListConfigurationBundleVersionsPaginator.d.ts +7 -0
  67. package/dist-types/pagination/ListConfigurationBundlesPaginator.d.ts +7 -0
  68. package/dist-types/pagination/ListGatewayRulesPaginator.d.ts +7 -0
  69. package/dist-types/pagination/index.d.ts +3 -0
  70. package/dist-types/schemas/schemas_0.d.ts +72 -0
  71. package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +226 -0
  72. package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +72 -0
  73. package/dist-types/ts3.4/commands/CreateConfigurationBundleCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/CreateGatewayRuleCommand.d.ts +51 -0
  75. package/dist-types/ts3.4/commands/CreateMemoryCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/DeleteConfigurationBundleCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/DeleteGatewayRuleCommand.d.ts +51 -0
  78. package/dist-types/ts3.4/commands/DeleteMemoryCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/GetConfigurationBundleCommand.d.ts +51 -0
  80. package/dist-types/ts3.4/commands/GetConfigurationBundleVersionCommand.d.ts +51 -0
  81. package/dist-types/ts3.4/commands/GetGatewayRuleCommand.d.ts +50 -0
  82. package/dist-types/ts3.4/commands/GetMemoryCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/ListConfigurationBundleVersionsCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/ListConfigurationBundlesCommand.d.ts +51 -0
  85. package/dist-types/ts3.4/commands/ListGatewayRulesCommand.d.ts +50 -0
  86. package/dist-types/ts3.4/commands/ListMemoriesCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/UpdateConfigurationBundleCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/UpdateGatewayRuleCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/UpdateMemoryCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  91. package/dist-types/ts3.4/models/enums.d.ts +67 -0
  92. package/dist-types/ts3.4/models/models_0.d.ts +495 -674
  93. package/dist-types/ts3.4/models/models_1.d.ts +718 -7
  94. package/dist-types/ts3.4/pagination/ListConfigurationBundleVersionsPaginator.d.ts +11 -0
  95. package/dist-types/ts3.4/pagination/ListConfigurationBundlesPaginator.d.ts +11 -0
  96. package/dist-types/ts3.4/pagination/ListGatewayRulesPaginator.d.ts +11 -0
  97. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  98. package/dist-types/ts3.4/schemas/schemas_0.d.ts +72 -0
  99. package/package.json +7 -7
@@ -0,0 +1,168 @@
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 { ListGatewayRulesRequest, ListGatewayRulesResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListGatewayRulesCommand}.
14
+ */
15
+ export interface ListGatewayRulesCommandInput extends ListGatewayRulesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListGatewayRulesCommand}.
21
+ */
22
+ export interface ListGatewayRulesCommandOutput extends ListGatewayRulesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListGatewayRulesCommand_base: {
25
+ new (input: ListGatewayRulesCommandInput): import("@smithy/smithy-client").CommandImpl<ListGatewayRulesCommandInput, ListGatewayRulesCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListGatewayRulesCommandInput): import("@smithy/smithy-client").CommandImpl<ListGatewayRulesCommandInput, ListGatewayRulesCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all rules for a gateway.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreControlClient, ListGatewayRulesCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
35
+ * // const { BedrockAgentCoreControlClient, ListGatewayRulesCommand } = 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 = { // ListGatewayRulesRequest
40
+ * gatewayIdentifier: "STRING_VALUE", // required
41
+ * maxResults: Number("int"),
42
+ * nextToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListGatewayRulesCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListGatewayRulesResponse
47
+ * // gatewayRules: [ // GatewayRules // required
48
+ * // { // GatewayRuleDetail
49
+ * // ruleId: "STRING_VALUE", // required
50
+ * // gatewayArn: "STRING_VALUE", // required
51
+ * // priority: Number("int"), // required
52
+ * // conditions: [ // Conditions
53
+ * // { // Condition Union: only one key present
54
+ * // matchPrincipals: { // MatchPrincipals
55
+ * // anyOf: [ // MatchPrincipalEntries // required
56
+ * // { // MatchPrincipalEntry Union: only one key present
57
+ * // iamPrincipal: { // IamPrincipal
58
+ * // arn: "STRING_VALUE", // required
59
+ * // operator: "StringEquals" || "StringLike",
60
+ * // },
61
+ * // },
62
+ * // ],
63
+ * // },
64
+ * // matchPaths: { // MatchPaths
65
+ * // anyOf: [ // MatchPathPatterns // required
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // },
69
+ * // },
70
+ * // ],
71
+ * // actions: [ // Actions // required
72
+ * // { // Action Union: only one key present
73
+ * // configurationBundle: { // ConfigurationBundleAction Union: only one key present
74
+ * // staticOverride: { // StaticOverride
75
+ * // bundleArn: "STRING_VALUE", // required
76
+ * // bundleVersion: "STRING_VALUE", // required
77
+ * // },
78
+ * // weightedOverride: { // WeightedOverride
79
+ * // trafficSplit: [ // TrafficSplitEntries // required
80
+ * // { // TrafficSplitEntry
81
+ * // name: "STRING_VALUE", // required
82
+ * // weight: Number("int"), // required
83
+ * // configurationBundle: { // ConfigurationBundleReference
84
+ * // bundleArn: "STRING_VALUE", // required
85
+ * // bundleVersion: "STRING_VALUE", // required
86
+ * // },
87
+ * // description: "STRING_VALUE",
88
+ * // metadata: { // TrafficSplitMetadataMap
89
+ * // "<keys>": "STRING_VALUE",
90
+ * // },
91
+ * // },
92
+ * // ],
93
+ * // },
94
+ * // },
95
+ * // routeToTarget: { // RouteToTargetAction Union: only one key present
96
+ * // staticRoute: { // StaticRoute
97
+ * // targetName: "STRING_VALUE", // required
98
+ * // },
99
+ * // weightedRoute: { // WeightedRoute
100
+ * // trafficSplit: [ // TargetTrafficSplitEntries // required
101
+ * // { // TargetTrafficSplitEntry
102
+ * // name: "STRING_VALUE", // required
103
+ * // weight: Number("int"), // required
104
+ * // targetName: "STRING_VALUE", // required
105
+ * // description: "STRING_VALUE",
106
+ * // metadata: {
107
+ * // "<keys>": "STRING_VALUE",
108
+ * // },
109
+ * // },
110
+ * // ],
111
+ * // },
112
+ * // },
113
+ * // },
114
+ * // ],
115
+ * // description: "STRING_VALUE",
116
+ * // createdAt: new Date("TIMESTAMP"), // required
117
+ * // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING", // required
118
+ * // system: { // SystemManagedBlock
119
+ * // managedBy: "STRING_VALUE", // required
120
+ * // },
121
+ * // updatedAt: new Date("TIMESTAMP"),
122
+ * // },
123
+ * // ],
124
+ * // nextToken: "STRING_VALUE",
125
+ * // };
126
+ *
127
+ * ```
128
+ *
129
+ * @param ListGatewayRulesCommandInput - {@link ListGatewayRulesCommandInput}
130
+ * @returns {@link ListGatewayRulesCommandOutput}
131
+ * @see {@link ListGatewayRulesCommandInput} for command's `input` shape.
132
+ * @see {@link ListGatewayRulesCommandOutput} for command's `response` shape.
133
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
134
+ *
135
+ * @throws {@link AccessDeniedException} (client fault)
136
+ * <p>This exception is thrown when a request is denied per access permissions</p>
137
+ *
138
+ * @throws {@link InternalServerException} (server fault)
139
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
140
+ *
141
+ * @throws {@link ResourceNotFoundException} (client fault)
142
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
143
+ *
144
+ * @throws {@link ThrottlingException} (client fault)
145
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
146
+ *
147
+ * @throws {@link ValidationException} (client fault)
148
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
149
+ *
150
+ * @throws {@link BedrockAgentCoreControlServiceException}
151
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
152
+ *
153
+ *
154
+ * @public
155
+ */
156
+ export declare class ListGatewayRulesCommand extends ListGatewayRulesCommand_base {
157
+ /** @internal type navigation helper, not in runtime. */
158
+ protected static __types: {
159
+ api: {
160
+ input: ListGatewayRulesRequest;
161
+ output: ListGatewayRulesResponse;
162
+ };
163
+ sdk: {
164
+ input: ListGatewayRulesCommandInput;
165
+ output: ListGatewayRulesCommandOutput;
166
+ };
167
+ };
168
+ }
@@ -51,8 +51,8 @@ declare const ListGatewaysCommand_base: {
51
51
  * // description: "STRING_VALUE",
52
52
  * // createdAt: new Date("TIMESTAMP"), // required
53
53
  * // updatedAt: new Date("TIMESTAMP"), // required
54
- * // authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE", // required
55
- * // protocolType: "MCP", // required
54
+ * // authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE" || "AUTHENTICATE_ONLY", // required
55
+ * // protocolType: "MCP",
56
56
  * // },
57
57
  * // ],
58
58
  * // nextToken: "STRING_VALUE",
@@ -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 { ListMemoriesInput, ListMemoriesOutput } from "../models/models_0";
4
+ import type { ListMemoriesInput, ListMemoriesOutput } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -120,8 +120,8 @@ declare const SynchronizeGatewayTargetsCommand_base: {
120
120
  * // },
121
121
  * // inlinePayload: "STRING_VALUE",
122
122
  * // },
123
- * // resourcePriority: Number("int"),
124
123
  * // listingMode: "DEFAULT" || "DYNAMIC",
124
+ * // resourcePriority: Number("int"),
125
125
  * // },
126
126
  * // apiGateway: { // ApiGatewayTargetConfiguration
127
127
  * // restApiId: "STRING_VALUE", // required
@@ -146,10 +146,16 @@ declare const SynchronizeGatewayTargetsCommand_base: {
146
146
  * // },
147
147
  * // },
148
148
  * // },
149
+ * // http: { // HttpTargetConfiguration Union: only one key present
150
+ * // agentcoreRuntime: { // RuntimeTargetConfiguration
151
+ * // arn: "STRING_VALUE", // required
152
+ * // qualifier: "STRING_VALUE",
153
+ * // },
154
+ * // },
149
155
  * // },
150
156
  * // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
151
157
  * // { // CredentialProviderConfiguration
152
- * // credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY", // required
158
+ * // credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY" || "CALLER_IAM_CREDENTIALS" || "JWT_PASSTHROUGH", // required
153
159
  * // credentialProvider: { // CredentialProvider Union: only one key present
154
160
  * // oauthCredentialProvider: { // OAuthCredentialProvider
155
161
  * // providerArn: "STRING_VALUE", // required
@@ -159,7 +165,7 @@ declare const SynchronizeGatewayTargetsCommand_base: {
159
165
  * // customParameters: { // OAuthCustomParameters
160
166
  * // "<keys>": "STRING_VALUE",
161
167
  * // },
162
- * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
168
+ * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE" || "TOKEN_EXCHANGE",
163
169
  * // defaultReturnUrl: "STRING_VALUE",
164
170
  * // },
165
171
  * // apiKeyCredentialProvider: { // GatewayApiKeyCredentialProvider
@@ -219,6 +225,7 @@ declare const SynchronizeGatewayTargetsCommand_base: {
219
225
  * // userId: "STRING_VALUE",
220
226
  * // },
221
227
  * // },
228
+ * // protocolType: "MCP" || "HTTP",
222
229
  * // },
223
230
  * // ],
224
231
  * // };
@@ -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 { UpdateConfigurationBundleRequest, UpdateConfigurationBundleResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateConfigurationBundleCommand}.
14
+ */
15
+ export interface UpdateConfigurationBundleCommandInput extends UpdateConfigurationBundleRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateConfigurationBundleCommand}.
21
+ */
22
+ export interface UpdateConfigurationBundleCommandOutput extends UpdateConfigurationBundleResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateConfigurationBundleCommand_base: {
25
+ new (input: UpdateConfigurationBundleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateConfigurationBundleCommandInput, UpdateConfigurationBundleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateConfigurationBundleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateConfigurationBundleCommandInput, UpdateConfigurationBundleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates a configuration bundle by creating a new version with the specified changes. Each update creates a new version in the version history.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreControlClient, UpdateConfigurationBundleCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
35
+ * // const { BedrockAgentCoreControlClient, UpdateConfigurationBundleCommand } = 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 = { // UpdateConfigurationBundleRequest
40
+ * clientToken: "STRING_VALUE",
41
+ * bundleId: "STRING_VALUE", // required
42
+ * bundleName: "STRING_VALUE",
43
+ * description: "STRING_VALUE",
44
+ * components: { // ComponentConfigurationMap
45
+ * "<keys>": { // ComponentConfiguration
46
+ * configuration: "DOCUMENT_VALUE", // required
47
+ * },
48
+ * },
49
+ * parentVersionIds: [ // ConfigurationBundleVersionList
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * branchName: "STRING_VALUE",
53
+ * commitMessage: "STRING_VALUE",
54
+ * createdBy: { // VersionCreatedBySource
55
+ * name: "STRING_VALUE", // required
56
+ * arn: "STRING_VALUE",
57
+ * },
58
+ * };
59
+ * const command = new UpdateConfigurationBundleCommand(input);
60
+ * const response = await client.send(command);
61
+ * // { // UpdateConfigurationBundleResponse
62
+ * // bundleArn: "STRING_VALUE", // required
63
+ * // bundleId: "STRING_VALUE", // required
64
+ * // versionId: "STRING_VALUE", // required
65
+ * // updatedAt: new Date("TIMESTAMP"), // required
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param UpdateConfigurationBundleCommandInput - {@link UpdateConfigurationBundleCommandInput}
71
+ * @returns {@link UpdateConfigurationBundleCommandOutput}
72
+ * @see {@link UpdateConfigurationBundleCommandInput} for command's `input` shape.
73
+ * @see {@link UpdateConfigurationBundleCommandOutput} for command's `response` shape.
74
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
75
+ *
76
+ * @throws {@link AccessDeniedException} (client fault)
77
+ * <p>This exception is thrown when a request is denied per access permissions</p>
78
+ *
79
+ * @throws {@link ConflictException} (client fault)
80
+ * <p>This exception is thrown when there is a conflict performing an operation</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 UpdateConfigurationBundleCommand extends UpdateConfigurationBundleCommand_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: UpdateConfigurationBundleRequest;
105
+ output: UpdateConfigurationBundleResponse;
106
+ };
107
+ sdk: {
108
+ input: UpdateConfigurationBundleCommandInput;
109
+ output: UpdateConfigurationBundleCommandOutput;
110
+ };
111
+ };
112
+ }
@@ -81,6 +81,7 @@ declare const UpdateEvaluatorCommand_base: {
81
81
  * },
82
82
  * },
83
83
  * level: "TOOL_CALL" || "TRACE" || "SESSION",
84
+ * kmsKeyArn: "STRING_VALUE",
84
85
  * };
85
86
  * const command = new UpdateEvaluatorCommand(input);
86
87
  * const response = await client.send(command);
@@ -41,7 +41,7 @@ declare const UpdateGatewayCommand_base: {
41
41
  * name: "STRING_VALUE", // required
42
42
  * description: "STRING_VALUE",
43
43
  * roleArn: "STRING_VALUE", // required
44
- * protocolType: "MCP", // required
44
+ * protocolType: "MCP",
45
45
  * protocolConfiguration: { // GatewayProtocolConfiguration Union: only one key present
46
46
  * mcp: { // MCPGatewayConfiguration
47
47
  * supportedVersions: [ // McpSupportedVersions
@@ -51,7 +51,7 @@ declare const UpdateGatewayCommand_base: {
51
51
  * searchType: "SEMANTIC",
52
52
  * },
53
53
  * },
54
- * authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE", // required
54
+ * authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE" || "AUTHENTICATE_ONLY", // required
55
55
  * authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
56
56
  * customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
57
57
  * discoveryUrl: "STRING_VALUE", // required
@@ -161,7 +161,7 @@ declare const UpdateGatewayCommand_base: {
161
161
  * // name: "STRING_VALUE", // required
162
162
  * // description: "STRING_VALUE",
163
163
  * // roleArn: "STRING_VALUE",
164
- * // protocolType: "MCP", // required
164
+ * // protocolType: "MCP",
165
165
  * // protocolConfiguration: { // GatewayProtocolConfiguration Union: only one key present
166
166
  * // mcp: { // MCPGatewayConfiguration
167
167
  * // supportedVersions: [ // McpSupportedVersions
@@ -171,7 +171,7 @@ declare const UpdateGatewayCommand_base: {
171
171
  * // searchType: "SEMANTIC",
172
172
  * // },
173
173
  * // },
174
- * // authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE", // required
174
+ * // authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE" || "AUTHENTICATE_ONLY", // required
175
175
  * // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
176
176
  * // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
177
177
  * // discoveryUrl: "STRING_VALUE", // required
@@ -0,0 +1,230 @@
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 { UpdateGatewayRuleRequest, UpdateGatewayRuleResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateGatewayRuleCommand}.
14
+ */
15
+ export interface UpdateGatewayRuleCommandInput extends UpdateGatewayRuleRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateGatewayRuleCommand}.
21
+ */
22
+ export interface UpdateGatewayRuleCommandOutput extends UpdateGatewayRuleResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateGatewayRuleCommand_base: {
25
+ new (input: UpdateGatewayRuleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateGatewayRuleCommandInput, UpdateGatewayRuleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateGatewayRuleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateGatewayRuleCommandInput, UpdateGatewayRuleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates a gateway rule's priority, conditions, actions, or description.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreControlClient, UpdateGatewayRuleCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
35
+ * // const { BedrockAgentCoreControlClient, UpdateGatewayRuleCommand } = 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 = { // UpdateGatewayRuleRequest
40
+ * gatewayIdentifier: "STRING_VALUE", // required
41
+ * ruleId: "STRING_VALUE", // required
42
+ * priority: Number("int"),
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
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 UpdateGatewayRuleCommand(input);
109
+ * const response = await client.send(command);
110
+ * // { // UpdateGatewayRuleResponse
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
+ * // updatedAt: new Date("TIMESTAMP"),
184
+ * // };
185
+ *
186
+ * ```
187
+ *
188
+ * @param UpdateGatewayRuleCommandInput - {@link UpdateGatewayRuleCommandInput}
189
+ * @returns {@link UpdateGatewayRuleCommandOutput}
190
+ * @see {@link UpdateGatewayRuleCommandInput} for command's `input` shape.
191
+ * @see {@link UpdateGatewayRuleCommandOutput} for command's `response` shape.
192
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
193
+ *
194
+ * @throws {@link AccessDeniedException} (client fault)
195
+ * <p>This exception is thrown when a request is denied per access permissions</p>
196
+ *
197
+ * @throws {@link ConflictException} (client fault)
198
+ * <p>This exception is thrown when there is a conflict performing an operation</p>
199
+ *
200
+ * @throws {@link InternalServerException} (server fault)
201
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
202
+ *
203
+ * @throws {@link ResourceNotFoundException} (client fault)
204
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
205
+ *
206
+ * @throws {@link ThrottlingException} (client fault)
207
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
208
+ *
209
+ * @throws {@link ValidationException} (client fault)
210
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
211
+ *
212
+ * @throws {@link BedrockAgentCoreControlServiceException}
213
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
214
+ *
215
+ *
216
+ * @public
217
+ */
218
+ export declare class UpdateGatewayRuleCommand extends UpdateGatewayRuleCommand_base {
219
+ /** @internal type navigation helper, not in runtime. */
220
+ protected static __types: {
221
+ api: {
222
+ input: UpdateGatewayRuleRequest;
223
+ output: UpdateGatewayRuleResponse;
224
+ };
225
+ sdk: {
226
+ input: UpdateGatewayRuleCommandInput;
227
+ output: UpdateGatewayRuleCommandOutput;
228
+ };
229
+ };
230
+ }