@aws-sdk/client-bedrock-agentcore-control 3.1103.0 → 3.1105.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 (135) hide show
  1. package/README.md +84 -0
  2. package/dist-cjs/index.js +745 -91
  3. package/dist-es/BedrockAgentCoreControl.js +30 -0
  4. package/dist-es/commands/BatchPutGatewayRateLimitsCommand.js +4 -0
  5. package/dist-es/commands/CreateCapacityProviderCommand.js +4 -0
  6. package/dist-es/commands/CreateGatewayRateLimitCommand.js +4 -0
  7. package/dist-es/commands/DeleteCapacityProviderCommand.js +4 -0
  8. package/dist-es/commands/DeleteGatewayRateLimitCommand.js +4 -0
  9. package/dist-es/commands/GetCapacityProviderCommand.js +4 -0
  10. package/dist-es/commands/GetGatewayRateLimitCommand.js +4 -0
  11. package/dist-es/commands/ListAgentRuntimeVersionsByCapacityProviderCommand.js +4 -0
  12. package/dist-es/commands/ListCapacityProvidersCommand.js +4 -0
  13. package/dist-es/commands/ListGatewayRateLimitsCommand.js +4 -0
  14. package/dist-es/commands/UpdateCapacityProviderCommand.js +4 -0
  15. package/dist-es/commands/UpdateGatewayRateLimitCommand.js +4 -0
  16. package/dist-es/commands/index.js +12 -0
  17. package/dist-es/models/enums.js +48 -0
  18. package/dist-es/models/errors.js +13 -0
  19. package/dist-es/pagination/ListAgentRuntimeVersionsByCapacityProviderPaginator.js +4 -0
  20. package/dist-es/pagination/ListCapacityProvidersPaginator.js +4 -0
  21. package/dist-es/pagination/ListGatewayRateLimitsPaginator.js +4 -0
  22. package/dist-es/pagination/index.js +3 -0
  23. package/dist-es/schemas/schemas_0.js +546 -91
  24. package/dist-types/BedrockAgentCoreControl.d.ts +106 -0
  25. package/dist-types/BedrockAgentCoreControlClient.d.ts +14 -2
  26. package/dist-types/commands/BatchPutGatewayRateLimitsCommand.d.ts +164 -0
  27. package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +7 -0
  28. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +189 -0
  29. package/dist-types/commands/CreateGatewayRateLimitCommand.d.ts +156 -0
  30. package/dist-types/commands/CreateGatewayTargetCommand.d.ts +16 -0
  31. package/dist-types/commands/CreateHarnessCommand.d.ts +8 -0
  32. package/dist-types/commands/CreateHarnessEndpointCommand.d.ts +1 -1
  33. package/dist-types/commands/CreatePolicyCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +3 -1
  35. package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +94 -0
  37. package/dist-types/commands/DeleteGatewayRateLimitCommand.d.ts +91 -0
  38. package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteHarnessCommand.d.ts +4 -0
  40. package/dist-types/commands/DeleteHarnessEndpointCommand.d.ts +1 -1
  41. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
  42. package/dist-types/commands/GetAgentRuntimeCommand.d.ts +7 -0
  43. package/dist-types/commands/GetCapacityProviderCommand.d.ts +180 -0
  44. package/dist-types/commands/GetGatewayRateLimitCommand.d.ts +120 -0
  45. package/dist-types/commands/GetGatewayTargetCommand.d.ts +9 -1
  46. package/dist-types/commands/GetHarnessCommand.d.ts +4 -0
  47. package/dist-types/commands/GetHarnessEndpointCommand.d.ts +1 -1
  48. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  49. package/dist-types/commands/GetPolicyGenerationCommand.d.ts +2 -1
  50. package/dist-types/commands/GetPolicyGenerationSummaryCommand.d.ts +1 -1
  51. package/dist-types/commands/GetPolicySummaryCommand.d.ts +1 -1
  52. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
  53. package/dist-types/commands/GetTokenVaultCommand.d.ts +1 -1
  54. package/dist-types/commands/ListAgentRuntimeVersionsByCapacityProviderCommand.d.ts +92 -0
  55. package/dist-types/commands/ListCapacityProvidersCommand.d.ts +93 -0
  56. package/dist-types/commands/ListGatewayRateLimitsCommand.d.ts +126 -0
  57. package/dist-types/commands/ListGatewayTargetsCommand.d.ts +2 -2
  58. package/dist-types/commands/ListHarnessEndpointsCommand.d.ts +1 -1
  59. package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
  60. package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +1 -1
  61. package/dist-types/commands/ListPolicyGenerationSummariesCommand.d.ts +1 -1
  62. package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +1 -1
  63. package/dist-types/commands/ListPolicySummariesCommand.d.ts +1 -1
  64. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
  65. package/dist-types/commands/StartPolicyGenerationCommand.d.ts +1 -1
  66. package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +9 -1
  67. package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +7 -0
  68. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +101 -0
  69. package/dist-types/commands/UpdateGatewayRateLimitCommand.d.ts +149 -0
  70. package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +16 -0
  71. package/dist-types/commands/UpdateHarnessCommand.d.ts +8 -0
  72. package/dist-types/commands/UpdateHarnessEndpointCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdatePolicyCommand.d.ts +1 -1
  74. package/dist-types/commands/index.d.ts +12 -0
  75. package/dist-types/models/enums.d.ts +112 -0
  76. package/dist-types/models/errors.d.ts +13 -0
  77. package/dist-types/models/models_0.d.ts +2529 -2373
  78. package/dist-types/models/models_1.d.ts +4418 -4735
  79. package/dist-types/models/models_2.d.ts +1467 -3
  80. package/dist-types/pagination/ListAgentRuntimeVersionsByCapacityProviderPaginator.d.ts +7 -0
  81. package/dist-types/pagination/ListCapacityProvidersPaginator.d.ts +7 -0
  82. package/dist-types/pagination/ListGatewayRateLimitsPaginator.d.ts +7 -0
  83. package/dist-types/pagination/index.d.ts +3 -0
  84. package/dist-types/schemas/schemas_0.d.ts +63 -0
  85. package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +226 -0
  86. package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +72 -0
  87. package/dist-types/ts3.4/commands/BatchPutGatewayRateLimitsCommand.d.ts +42 -0
  88. package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +39 -0
  89. package/dist-types/ts3.4/commands/CreateGatewayRateLimitCommand.d.ts +39 -0
  90. package/dist-types/ts3.4/commands/CreateHarnessEndpointCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +39 -0
  93. package/dist-types/ts3.4/commands/DeleteGatewayRateLimitCommand.d.ts +39 -0
  94. package/dist-types/ts3.4/commands/DeleteGatewayTargetCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/DeleteHarnessEndpointCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +39 -0
  98. package/dist-types/ts3.4/commands/GetGatewayRateLimitCommand.d.ts +39 -0
  99. package/dist-types/ts3.4/commands/GetGatewayTargetCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/GetHarnessEndpointCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/GetPolicyGenerationCommand.d.ts +2 -1
  103. package/dist-types/ts3.4/commands/GetPolicyGenerationSummaryCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/GetPolicySummaryCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/GetTokenVaultCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ListAgentRuntimeVersionsByCapacityProviderCommand.d.ts +42 -0
  108. package/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +39 -0
  109. package/dist-types/ts3.4/commands/ListGatewayRateLimitsCommand.d.ts +39 -0
  110. package/dist-types/ts3.4/commands/ListGatewayTargetsCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/ListHarnessEndpointsCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/ListPolicyGenerationAssetsCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/ListPolicyGenerationSummariesCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/ListPolicySummariesCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +39 -0
  121. package/dist-types/ts3.4/commands/UpdateGatewayRateLimitCommand.d.ts +39 -0
  122. package/dist-types/ts3.4/commands/UpdateHarnessEndpointCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  125. package/dist-types/ts3.4/models/enums.d.ts +60 -0
  126. package/dist-types/ts3.4/models/errors.d.ts +6 -0
  127. package/dist-types/ts3.4/models/models_0.d.ts +363 -369
  128. package/dist-types/ts3.4/models/models_1.d.ts +371 -410
  129. package/dist-types/ts3.4/models/models_2.d.ts +410 -13
  130. package/dist-types/ts3.4/pagination/ListAgentRuntimeVersionsByCapacityProviderPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListCapacityProvidersPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/ListGatewayRateLimitsPaginator.d.ts +11 -0
  133. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  134. package/dist-types/ts3.4/schemas/schemas_0.d.ts +63 -0
  135. package/package.json +1 -1
@@ -6,14 +6,17 @@ import {
6
6
  ContentLevel,
7
7
  ContentType,
8
8
  CredentialProviderVendorType,
9
- EnforcementMode,
10
9
  ExtractionType,
11
10
  FilterOperator,
12
- FindingType,
11
+ HarnessBedrockApiFormat,
12
+ HarnessEndpointStatus,
13
+ HarnessManagedMemoryStrategyType,
13
14
  HarnessOpenAiApiFormat,
14
15
  HarnessStatus,
15
16
  HarnessToolType,
16
17
  HarnessTruncationStrategy,
18
+ KeyType,
19
+ ListingMode,
17
20
  MemoryStatus,
18
21
  MemoryStrategyStatus,
19
22
  MemoryStrategyType,
@@ -29,34 +32,389 @@ import {
29
32
  PaymentManagerStatus,
30
33
  PaymentsAuthorizerType,
31
34
  PolicyEngineStatus,
32
- PolicyGenerationStatus,
33
- PolicyStatus,
34
- PolicyValidationMode,
35
- RegistryRecordCredentialProviderType,
36
- RegistryRecordOAuthGrantType,
35
+ RestApiMethod,
37
36
  SecretSourceType,
38
37
  SigningAlgorithm,
39
38
  Status,
39
+ TargetStatus,
40
+ TargetType,
40
41
  } from "./enums";
41
42
  import {
42
- A2aDescriptor,
43
- AgentSkillsDescriptor,
44
43
  AuthorizerConfiguration,
44
+ ContainerConfiguration,
45
45
  FilesystemConfiguration,
46
- HarnessBedrockModelConfig,
47
- HarnessEnvironmentArtifact,
48
- HarnessEnvironmentProviderRequest,
49
- HarnessMemoryConfiguration,
46
+ InferenceConnectorTargetConfiguration,
50
47
  LifecycleConfiguration,
51
48
  NetworkConfiguration,
52
49
  OAuthCredentialProvider,
53
50
  PrivateEndpoint,
54
51
  PrivateEndpointOverride,
52
+ S3Configuration,
55
53
  Secret,
56
54
  SecretReference,
57
55
  Unit,
56
+ UpdatedDescription,
58
57
  WorkloadIdentityDetails,
59
58
  } from "./models_0";
59
+ export interface ProviderPrefix {
60
+ strip?: boolean | undefined;
61
+ separator?: string | undefined;
62
+ }
63
+ export interface ModelMapping {
64
+ providerPrefix?: ProviderPrefix | undefined;
65
+ }
66
+ export interface ModelEntry {
67
+ model: string | undefined;
68
+ }
69
+ export interface InferenceOperationConfiguration {
70
+ path: string | undefined;
71
+ providerPath?: string | undefined;
72
+ models?: ModelEntry[] | undefined;
73
+ }
74
+ export interface InferenceProviderTargetConfiguration {
75
+ endpoint: string | undefined;
76
+ modelMapping?: ModelMapping | undefined;
77
+ operations?: InferenceOperationConfiguration[] | undefined;
78
+ }
79
+ export type InferenceTargetConfiguration =
80
+ | InferenceTargetConfiguration.ConnectorMember
81
+ | InferenceTargetConfiguration.ProviderMember
82
+ | InferenceTargetConfiguration.$UnknownMember;
83
+ export declare namespace InferenceTargetConfiguration {
84
+ interface ConnectorMember {
85
+ connector: InferenceConnectorTargetConfiguration;
86
+ provider?: never;
87
+ $unknown?: never;
88
+ }
89
+ interface ProviderMember {
90
+ connector?: never;
91
+ provider: InferenceProviderTargetConfiguration;
92
+ $unknown?: never;
93
+ }
94
+ interface $UnknownMember {
95
+ connector?: never;
96
+ provider?: never;
97
+ $unknown: [string, any];
98
+ }
99
+ interface Visitor<T> {
100
+ connector: (value: InferenceConnectorTargetConfiguration) => T;
101
+ provider: (value: InferenceProviderTargetConfiguration) => T;
102
+ _: (name: string, value: any) => T;
103
+ }
104
+ }
105
+ export interface ApiGatewayToolFilter {
106
+ filterPath: string | undefined;
107
+ methods: RestApiMethod[] | undefined;
108
+ }
109
+ export interface ApiGatewayToolOverride {
110
+ name: string | undefined;
111
+ description?: string | undefined;
112
+ path: string | undefined;
113
+ method: RestApiMethod | undefined;
114
+ }
115
+ export interface ApiGatewayToolConfiguration {
116
+ toolOverrides?: ApiGatewayToolOverride[] | undefined;
117
+ toolFilters: ApiGatewayToolFilter[] | undefined;
118
+ }
119
+ export interface ApiGatewayTargetConfiguration {
120
+ restApiId: string | undefined;
121
+ stage: string | undefined;
122
+ apiGatewayToolConfiguration: ApiGatewayToolConfiguration | undefined;
123
+ }
124
+ export interface ConnectorParameterOverride {
125
+ path: string | undefined;
126
+ description?: string | undefined;
127
+ visible?: boolean | undefined;
128
+ }
129
+ export interface ConnectorConfiguration {
130
+ name: string | undefined;
131
+ description?: string | undefined;
132
+ parameterValues?: __DocumentType | undefined;
133
+ parameterOverrides?: ConnectorParameterOverride[] | undefined;
134
+ }
135
+ export interface ConnectorSource {
136
+ connectorId: string | undefined;
137
+ version?: string | undefined;
138
+ }
139
+ export interface ConnectorTargetConfiguration {
140
+ source: ConnectorSource | undefined;
141
+ enabled?: string[] | undefined;
142
+ configurations?: ConnectorConfiguration[] | undefined;
143
+ }
144
+ export type McpToolSchemaConfiguration =
145
+ | McpToolSchemaConfiguration.InlinePayloadMember
146
+ | McpToolSchemaConfiguration.S3Member
147
+ | McpToolSchemaConfiguration.$UnknownMember;
148
+ export declare namespace McpToolSchemaConfiguration {
149
+ interface S3Member {
150
+ s3: S3Configuration;
151
+ inlinePayload?: never;
152
+ $unknown?: never;
153
+ }
154
+ interface InlinePayloadMember {
155
+ s3?: never;
156
+ inlinePayload: string;
157
+ $unknown?: never;
158
+ }
159
+ interface $UnknownMember {
160
+ s3?: never;
161
+ inlinePayload?: never;
162
+ $unknown: [string, any];
163
+ }
164
+ interface Visitor<T> {
165
+ s3: (value: S3Configuration) => T;
166
+ inlinePayload: (value: string) => T;
167
+ _: (name: string, value: any) => T;
168
+ }
169
+ }
170
+ export interface McpServerTargetConfiguration {
171
+ endpoint: string | undefined;
172
+ mcpToolSchema?: McpToolSchemaConfiguration | undefined;
173
+ listingMode?: ListingMode | undefined;
174
+ resourcePriority?: number | undefined;
175
+ }
176
+ export interface OAuth2AuthorizationData {
177
+ authorizationUrl: string | undefined;
178
+ userId?: string | undefined;
179
+ }
180
+ export type AuthorizationData = AuthorizationData.Oauth2Member | AuthorizationData.$UnknownMember;
181
+ export declare namespace AuthorizationData {
182
+ interface Oauth2Member {
183
+ oauth2: OAuth2AuthorizationData;
184
+ $unknown?: never;
185
+ }
186
+ interface $UnknownMember {
187
+ oauth2?: never;
188
+ $unknown: [string, any];
189
+ }
190
+ interface Visitor<T> {
191
+ oauth2: (value: OAuth2AuthorizationData) => T;
192
+ _: (name: string, value: any) => T;
193
+ }
194
+ }
195
+ export interface ManagedResourceDetails {
196
+ domain?: string | undefined;
197
+ resourceGatewayArn?: string | undefined;
198
+ resourceAssociationArn?: string | undefined;
199
+ }
200
+ export interface DeleteGatewayTargetRequest {
201
+ gatewayIdentifier: string | undefined;
202
+ targetId: string | undefined;
203
+ }
204
+ export interface DeleteGatewayTargetResponse {
205
+ gatewayArn: string | undefined;
206
+ targetId: string | undefined;
207
+ status: TargetStatus | undefined;
208
+ statusReasons?: string[] | undefined;
209
+ }
210
+ export interface GetGatewayTargetRequest {
211
+ gatewayIdentifier: string | undefined;
212
+ targetId: string | undefined;
213
+ }
214
+ export interface ListGatewayTargetsRequest {
215
+ gatewayIdentifier: string | undefined;
216
+ maxResults?: number | undefined;
217
+ nextToken?: string | undefined;
218
+ }
219
+ export interface TargetSummary {
220
+ targetId: string | undefined;
221
+ name: string | undefined;
222
+ status: TargetStatus | undefined;
223
+ description?: string | undefined;
224
+ createdAt: Date | undefined;
225
+ updatedAt: Date | undefined;
226
+ resourcePriority?: number | undefined;
227
+ lastSynchronizedAt?: Date | undefined;
228
+ authorizationData?: AuthorizationData | undefined;
229
+ targetType?: TargetType | undefined;
230
+ listingMode?: ListingMode | undefined;
231
+ }
232
+ export interface ListGatewayTargetsResponse {
233
+ items: TargetSummary[] | undefined;
234
+ nextToken?: string | undefined;
235
+ }
236
+ export interface SynchronizeGatewayTargetsRequest {
237
+ gatewayIdentifier: string | undefined;
238
+ targetIdList: string[] | undefined;
239
+ }
240
+ export interface GetResourcePolicyRequest {
241
+ resourceArn: string | undefined;
242
+ }
243
+ export interface GetResourcePolicyResponse {
244
+ policy?: string | undefined;
245
+ }
246
+ export interface GetTokenVaultRequest {
247
+ tokenVaultId?: string | undefined;
248
+ }
249
+ export interface KmsConfiguration {
250
+ keyType: KeyType | undefined;
251
+ kmsKeyArn?: string | undefined;
252
+ }
253
+ export interface GetTokenVaultResponse {
254
+ tokenVaultId: string | undefined;
255
+ kmsConfiguration: KmsConfiguration | undefined;
256
+ lastModifiedDate: Date | undefined;
257
+ }
258
+ export interface CreateHarnessEndpointRequest {
259
+ harnessId: string | undefined;
260
+ endpointName: string | undefined;
261
+ targetVersion?: string | undefined;
262
+ description?: string | undefined;
263
+ clientToken?: string | undefined;
264
+ tags?: Record<string, string> | undefined;
265
+ }
266
+ export interface HarnessEndpoint {
267
+ harnessId: string | undefined;
268
+ harnessName: string | undefined;
269
+ endpointName: string | undefined;
270
+ arn: string | undefined;
271
+ status: HarnessEndpointStatus | undefined;
272
+ createdAt: Date | undefined;
273
+ updatedAt: Date | undefined;
274
+ liveVersion?: string | undefined;
275
+ targetVersion?: string | undefined;
276
+ description?: string | undefined;
277
+ failureReason?: string | undefined;
278
+ }
279
+ export interface CreateHarnessEndpointResponse {
280
+ endpoint: HarnessEndpoint | undefined;
281
+ }
282
+ export interface DeleteHarnessEndpointRequest {
283
+ harnessId: string | undefined;
284
+ endpointName: string | undefined;
285
+ clientToken?: string | undefined;
286
+ }
287
+ export interface DeleteHarnessEndpointResponse {
288
+ endpoint: HarnessEndpoint | undefined;
289
+ }
290
+ export interface GetHarnessEndpointRequest {
291
+ harnessId: string | undefined;
292
+ endpointName: string | undefined;
293
+ }
294
+ export interface GetHarnessEndpointResponse {
295
+ endpoint: HarnessEndpoint | undefined;
296
+ }
297
+ export interface ListHarnessEndpointsRequest {
298
+ harnessId: string | undefined;
299
+ maxResults?: number | undefined;
300
+ nextToken?: string | undefined;
301
+ }
302
+ export interface ListHarnessEndpointsResponse {
303
+ endpoints: HarnessEndpoint[] | undefined;
304
+ nextToken?: string | undefined;
305
+ }
306
+ export interface UpdateHarnessEndpointRequest {
307
+ harnessId: string | undefined;
308
+ endpointName: string | undefined;
309
+ targetVersion?: string | undefined;
310
+ description?: string | undefined;
311
+ clientToken?: string | undefined;
312
+ }
313
+ export interface UpdateHarnessEndpointResponse {
314
+ endpoint: HarnessEndpoint | undefined;
315
+ }
316
+ export interface HarnessAgentCoreRuntimeEnvironmentRequest {
317
+ lifecycleConfiguration?: LifecycleConfiguration | undefined;
318
+ networkConfiguration?: NetworkConfiguration | undefined;
319
+ filesystemConfigurations?: FilesystemConfiguration[] | undefined;
320
+ }
321
+ export type HarnessEnvironmentProviderRequest =
322
+ | HarnessEnvironmentProviderRequest.AgentCoreRuntimeEnvironmentMember
323
+ | HarnessEnvironmentProviderRequest.$UnknownMember;
324
+ export declare namespace HarnessEnvironmentProviderRequest {
325
+ interface AgentCoreRuntimeEnvironmentMember {
326
+ agentCoreRuntimeEnvironment: HarnessAgentCoreRuntimeEnvironmentRequest;
327
+ $unknown?: never;
328
+ }
329
+ interface $UnknownMember {
330
+ agentCoreRuntimeEnvironment?: never;
331
+ $unknown: [string, any];
332
+ }
333
+ interface Visitor<T> {
334
+ agentCoreRuntimeEnvironment: (value: HarnessAgentCoreRuntimeEnvironmentRequest) => T;
335
+ _: (name: string, value: any) => T;
336
+ }
337
+ }
338
+ export type HarnessEnvironmentArtifact =
339
+ | HarnessEnvironmentArtifact.ContainerConfigurationMember
340
+ | HarnessEnvironmentArtifact.$UnknownMember;
341
+ export declare namespace HarnessEnvironmentArtifact {
342
+ interface ContainerConfigurationMember {
343
+ containerConfiguration: ContainerConfiguration;
344
+ $unknown?: never;
345
+ }
346
+ interface $UnknownMember {
347
+ containerConfiguration?: never;
348
+ $unknown: [string, any];
349
+ }
350
+ interface Visitor<T> {
351
+ containerConfiguration: (value: ContainerConfiguration) => T;
352
+ _: (name: string, value: any) => T;
353
+ }
354
+ }
355
+ export interface HarnessAgentCoreMemoryRetrievalConfig {
356
+ topK?: number | undefined;
357
+ relevanceScore?: number | undefined;
358
+ strategyId?: string | undefined;
359
+ }
360
+ export interface HarnessAgentCoreMemoryConfiguration {
361
+ arn: string | undefined;
362
+ actorId?: string | undefined;
363
+ messagesCount?: number | undefined;
364
+ retrievalConfig?: Record<string, HarnessAgentCoreMemoryRetrievalConfig> | undefined;
365
+ }
366
+ export interface HarnessDisabledMemoryConfiguration {}
367
+ export interface HarnessManagedMemoryConfiguration {
368
+ arn?: string | undefined;
369
+ strategies?: HarnessManagedMemoryStrategyType[] | undefined;
370
+ eventExpiryDuration?: number | undefined;
371
+ encryptionKeyArn?: string | undefined;
372
+ }
373
+ export type HarnessMemoryConfiguration =
374
+ | HarnessMemoryConfiguration.AgentCoreMemoryConfigurationMember
375
+ | HarnessMemoryConfiguration.DisabledMember
376
+ | HarnessMemoryConfiguration.ManagedMemoryConfigurationMember
377
+ | HarnessMemoryConfiguration.$UnknownMember;
378
+ export declare namespace HarnessMemoryConfiguration {
379
+ interface AgentCoreMemoryConfigurationMember {
380
+ agentCoreMemoryConfiguration: HarnessAgentCoreMemoryConfiguration;
381
+ managedMemoryConfiguration?: never;
382
+ disabled?: never;
383
+ $unknown?: never;
384
+ }
385
+ interface ManagedMemoryConfigurationMember {
386
+ agentCoreMemoryConfiguration?: never;
387
+ managedMemoryConfiguration: HarnessManagedMemoryConfiguration;
388
+ disabled?: never;
389
+ $unknown?: never;
390
+ }
391
+ interface DisabledMember {
392
+ agentCoreMemoryConfiguration?: never;
393
+ managedMemoryConfiguration?: never;
394
+ disabled: HarnessDisabledMemoryConfiguration;
395
+ $unknown?: never;
396
+ }
397
+ interface $UnknownMember {
398
+ agentCoreMemoryConfiguration?: never;
399
+ managedMemoryConfiguration?: never;
400
+ disabled?: never;
401
+ $unknown: [string, any];
402
+ }
403
+ interface Visitor<T> {
404
+ agentCoreMemoryConfiguration: (value: HarnessAgentCoreMemoryConfiguration) => T;
405
+ managedMemoryConfiguration: (value: HarnessManagedMemoryConfiguration) => T;
406
+ disabled: (value: HarnessDisabledMemoryConfiguration) => T;
407
+ _: (name: string, value: any) => T;
408
+ }
409
+ }
410
+ export interface HarnessBedrockModelConfig {
411
+ modelId: string | undefined;
412
+ maxTokens?: number | undefined;
413
+ temperature?: number | undefined;
414
+ topP?: number | undefined;
415
+ apiFormat?: HarnessBedrockApiFormat | undefined;
416
+ additionalParams?: __DocumentType | undefined;
417
+ }
60
418
  export interface HarnessGeminiModelConfig {
61
419
  modelId: string | undefined;
62
420
  apiKeyArn: string | undefined;
@@ -2635,9 +2993,6 @@ export interface ListPolicyEngineSummariesResponse {
2635
2993
  policyEngines: PolicyEngineSummary[] | undefined;
2636
2994
  nextToken?: string | undefined;
2637
2995
  }
2638
- export interface UpdatedDescription {
2639
- optionalValue?: string | undefined;
2640
- }
2641
2996
  export interface UpdatePolicyEngineRequest {
2642
2997
  policyEngineId: string | undefined;
2643
2998
  description?: UpdatedDescription | undefined;
@@ -2657,397 +3012,3 @@ export interface GetPolicyGenerationRequest {
2657
3012
  policyGenerationId: string | undefined;
2658
3013
  policyEngineId: string | undefined;
2659
3014
  }
2660
- export type Resource = Resource.ArnMember | Resource.$UnknownMember;
2661
- export declare namespace Resource {
2662
- interface ArnMember {
2663
- arn: string;
2664
- $unknown?: never;
2665
- }
2666
- interface $UnknownMember {
2667
- arn?: never;
2668
- $unknown: [string, any];
2669
- }
2670
- interface Visitor<T> {
2671
- arn: (value: string) => T;
2672
- _: (name: string, value: any) => T;
2673
- }
2674
- }
2675
- export interface GetPolicyGenerationResponse {
2676
- policyEngineId: string | undefined;
2677
- policyGenerationId: string | undefined;
2678
- name: string | undefined;
2679
- policyGenerationArn: string | undefined;
2680
- resource: Resource | undefined;
2681
- createdAt: Date | undefined;
2682
- updatedAt: Date | undefined;
2683
- status: PolicyGenerationStatus | undefined;
2684
- findings?: string | undefined;
2685
- statusReasons: string[] | undefined;
2686
- }
2687
- export interface GetPolicyGenerationSummaryRequest {
2688
- policyGenerationId: string | undefined;
2689
- policyEngineId: string | undefined;
2690
- }
2691
- export interface GetPolicyGenerationSummaryResponse {
2692
- policyEngineId: string | undefined;
2693
- policyGenerationId: string | undefined;
2694
- name: string | undefined;
2695
- policyGenerationArn: string | undefined;
2696
- resource: Resource | undefined;
2697
- createdAt: Date | undefined;
2698
- updatedAt: Date | undefined;
2699
- status: PolicyGenerationStatus | undefined;
2700
- findings?: string | undefined;
2701
- }
2702
- export interface ListPolicyGenerationAssetsRequest {
2703
- policyGenerationId: string | undefined;
2704
- policyEngineId: string | undefined;
2705
- nextToken?: string | undefined;
2706
- maxResults?: number | undefined;
2707
- }
2708
- export interface CedarPolicy {
2709
- statement: string | undefined;
2710
- }
2711
- export interface PolicyStatement {
2712
- statement: string | undefined;
2713
- }
2714
- export interface PolicyGenerationDetails {
2715
- policyGenerationId: string | undefined;
2716
- policyGenerationAssetId: string | undefined;
2717
- }
2718
- export type PolicyDefinition =
2719
- | PolicyDefinition.CedarMember
2720
- | PolicyDefinition.PolicyMember
2721
- | PolicyDefinition.PolicyGenerationMember
2722
- | PolicyDefinition.$UnknownMember;
2723
- export declare namespace PolicyDefinition {
2724
- interface CedarMember {
2725
- cedar: CedarPolicy;
2726
- policyGeneration?: never;
2727
- policy?: never;
2728
- $unknown?: never;
2729
- }
2730
- interface PolicyGenerationMember {
2731
- cedar?: never;
2732
- policyGeneration: PolicyGenerationDetails;
2733
- policy?: never;
2734
- $unknown?: never;
2735
- }
2736
- interface PolicyMember {
2737
- cedar?: never;
2738
- policyGeneration?: never;
2739
- policy: PolicyStatement;
2740
- $unknown?: never;
2741
- }
2742
- interface $UnknownMember {
2743
- cedar?: never;
2744
- policyGeneration?: never;
2745
- policy?: never;
2746
- $unknown: [string, any];
2747
- }
2748
- interface Visitor<T> {
2749
- cedar: (value: CedarPolicy) => T;
2750
- policyGeneration: (value: PolicyGenerationDetails) => T;
2751
- policy: (value: PolicyStatement) => T;
2752
- _: (name: string, value: any) => T;
2753
- }
2754
- }
2755
- export interface Finding {
2756
- type?: FindingType | undefined;
2757
- description?: string | undefined;
2758
- }
2759
- export interface PolicyGenerationAsset {
2760
- policyGenerationAssetId: string | undefined;
2761
- definition?: PolicyDefinition | undefined;
2762
- rawTextFragment: string | undefined;
2763
- findings: Finding[] | undefined;
2764
- }
2765
- export interface ListPolicyGenerationAssetsResponse {
2766
- policyGenerationAssets?: PolicyGenerationAsset[] | undefined;
2767
- nextToken?: string | undefined;
2768
- }
2769
- export interface ListPolicyGenerationsRequest {
2770
- nextToken?: string | undefined;
2771
- maxResults?: number | undefined;
2772
- policyEngineId: string | undefined;
2773
- }
2774
- export interface PolicyGeneration {
2775
- policyEngineId: string | undefined;
2776
- policyGenerationId: string | undefined;
2777
- name: string | undefined;
2778
- policyGenerationArn: string | undefined;
2779
- resource: Resource | undefined;
2780
- createdAt: Date | undefined;
2781
- updatedAt: Date | undefined;
2782
- status: PolicyGenerationStatus | undefined;
2783
- findings?: string | undefined;
2784
- statusReasons: string[] | undefined;
2785
- }
2786
- export interface ListPolicyGenerationsResponse {
2787
- policyGenerations: PolicyGeneration[] | undefined;
2788
- nextToken?: string | undefined;
2789
- }
2790
- export interface ListPolicyGenerationSummariesRequest {
2791
- nextToken?: string | undefined;
2792
- maxResults?: number | undefined;
2793
- policyEngineId: string | undefined;
2794
- }
2795
- export interface PolicyGenerationSummary {
2796
- policyEngineId: string | undefined;
2797
- policyGenerationId: string | undefined;
2798
- name: string | undefined;
2799
- policyGenerationArn: string | undefined;
2800
- resource: Resource | undefined;
2801
- createdAt: Date | undefined;
2802
- updatedAt: Date | undefined;
2803
- status: PolicyGenerationStatus | undefined;
2804
- findings?: string | undefined;
2805
- }
2806
- export interface ListPolicyGenerationSummariesResponse {
2807
- policyGenerations: PolicyGenerationSummary[] | undefined;
2808
- nextToken?: string | undefined;
2809
- }
2810
- export type Content = Content.RawTextMember | Content.$UnknownMember;
2811
- export declare namespace Content {
2812
- interface RawTextMember {
2813
- rawText: string;
2814
- $unknown?: never;
2815
- }
2816
- interface $UnknownMember {
2817
- rawText?: never;
2818
- $unknown: [string, any];
2819
- }
2820
- interface Visitor<T> {
2821
- rawText: (value: string) => T;
2822
- _: (name: string, value: any) => T;
2823
- }
2824
- }
2825
- export interface StartPolicyGenerationRequest {
2826
- policyEngineId: string | undefined;
2827
- resource: Resource | undefined;
2828
- content: Content | undefined;
2829
- name: string | undefined;
2830
- clientToken?: string | undefined;
2831
- }
2832
- export interface StartPolicyGenerationResponse {
2833
- policyEngineId: string | undefined;
2834
- policyGenerationId: string | undefined;
2835
- name: string | undefined;
2836
- policyGenerationArn: string | undefined;
2837
- resource: Resource | undefined;
2838
- createdAt: Date | undefined;
2839
- updatedAt: Date | undefined;
2840
- status: PolicyGenerationStatus | undefined;
2841
- findings?: string | undefined;
2842
- statusReasons: string[] | undefined;
2843
- }
2844
- export interface CreatePolicyRequest {
2845
- name: string | undefined;
2846
- definition: PolicyDefinition | undefined;
2847
- description?: string | undefined;
2848
- validationMode?: PolicyValidationMode | undefined;
2849
- enforcementMode?: EnforcementMode | undefined;
2850
- policyEngineId: string | undefined;
2851
- clientToken?: string | undefined;
2852
- }
2853
- export interface CreatePolicyResponse {
2854
- policyId: string | undefined;
2855
- name: string | undefined;
2856
- policyEngineId: string | undefined;
2857
- createdAt: Date | undefined;
2858
- updatedAt: Date | undefined;
2859
- policyArn: string | undefined;
2860
- status: PolicyStatus | undefined;
2861
- enforcementMode?: EnforcementMode | undefined;
2862
- definition: PolicyDefinition | undefined;
2863
- description?: string | undefined;
2864
- statusReasons: string[] | undefined;
2865
- }
2866
- export interface DeletePolicyRequest {
2867
- policyEngineId: string | undefined;
2868
- policyId: string | undefined;
2869
- }
2870
- export interface DeletePolicyResponse {
2871
- policyId: string | undefined;
2872
- name: string | undefined;
2873
- policyEngineId: string | undefined;
2874
- createdAt: Date | undefined;
2875
- updatedAt: Date | undefined;
2876
- policyArn: string | undefined;
2877
- status: PolicyStatus | undefined;
2878
- enforcementMode?: EnforcementMode | undefined;
2879
- definition: PolicyDefinition | undefined;
2880
- description?: string | undefined;
2881
- statusReasons: string[] | undefined;
2882
- }
2883
- export interface GetPolicyRequest {
2884
- policyEngineId: string | undefined;
2885
- policyId: string | undefined;
2886
- }
2887
- export interface GetPolicyResponse {
2888
- policyId: string | undefined;
2889
- name: string | undefined;
2890
- policyEngineId: string | undefined;
2891
- createdAt: Date | undefined;
2892
- updatedAt: Date | undefined;
2893
- policyArn: string | undefined;
2894
- status: PolicyStatus | undefined;
2895
- enforcementMode?: EnforcementMode | undefined;
2896
- definition: PolicyDefinition | undefined;
2897
- description?: string | undefined;
2898
- statusReasons: string[] | undefined;
2899
- }
2900
- export interface GetPolicySummaryRequest {
2901
- policyEngineId: string | undefined;
2902
- policyId: string | undefined;
2903
- }
2904
- export interface GetPolicySummaryResponse {
2905
- policyId: string | undefined;
2906
- name: string | undefined;
2907
- policyEngineId: string | undefined;
2908
- createdAt: Date | undefined;
2909
- updatedAt: Date | undefined;
2910
- policyArn: string | undefined;
2911
- status: PolicyStatus | undefined;
2912
- enforcementMode?: EnforcementMode | undefined;
2913
- }
2914
- export interface ListPoliciesRequest {
2915
- nextToken?: string | undefined;
2916
- maxResults?: number | undefined;
2917
- policyEngineId: string | undefined;
2918
- targetResourceScope?: string | undefined;
2919
- }
2920
- export interface Policy {
2921
- policyId: string | undefined;
2922
- name: string | undefined;
2923
- policyEngineId: string | undefined;
2924
- createdAt: Date | undefined;
2925
- updatedAt: Date | undefined;
2926
- policyArn: string | undefined;
2927
- status: PolicyStatus | undefined;
2928
- enforcementMode?: EnforcementMode | undefined;
2929
- definition: PolicyDefinition | undefined;
2930
- description?: string | undefined;
2931
- statusReasons: string[] | undefined;
2932
- }
2933
- export interface ListPoliciesResponse {
2934
- policies: Policy[] | undefined;
2935
- nextToken?: string | undefined;
2936
- }
2937
- export interface ListPolicySummariesRequest {
2938
- nextToken?: string | undefined;
2939
- maxResults?: number | undefined;
2940
- policyEngineId: string | undefined;
2941
- targetResourceScope?: string | undefined;
2942
- }
2943
- export interface PolicySummary {
2944
- policyId: string | undefined;
2945
- name: string | undefined;
2946
- policyEngineId: string | undefined;
2947
- createdAt: Date | undefined;
2948
- updatedAt: Date | undefined;
2949
- policyArn: string | undefined;
2950
- status: PolicyStatus | undefined;
2951
- enforcementMode?: EnforcementMode | undefined;
2952
- }
2953
- export interface ListPolicySummariesResponse {
2954
- policies: PolicySummary[] | undefined;
2955
- nextToken?: string | undefined;
2956
- }
2957
- export interface UpdatePolicyRequest {
2958
- policyEngineId: string | undefined;
2959
- policyId: string | undefined;
2960
- description?: UpdatedDescription | undefined;
2961
- definition?: PolicyDefinition | undefined;
2962
- validationMode?: PolicyValidationMode | undefined;
2963
- enforcementMode?: EnforcementMode | undefined;
2964
- }
2965
- export interface UpdatePolicyResponse {
2966
- policyId: string | undefined;
2967
- name: string | undefined;
2968
- policyEngineId: string | undefined;
2969
- createdAt: Date | undefined;
2970
- updatedAt: Date | undefined;
2971
- policyArn: string | undefined;
2972
- status: PolicyStatus | undefined;
2973
- enforcementMode?: EnforcementMode | undefined;
2974
- definition: PolicyDefinition | undefined;
2975
- description?: string | undefined;
2976
- statusReasons: string[] | undefined;
2977
- }
2978
- export interface PutResourcePolicyRequest {
2979
- resourceArn: string | undefined;
2980
- policy: string | undefined;
2981
- }
2982
- export interface PutResourcePolicyResponse {
2983
- policy: string | undefined;
2984
- }
2985
- export interface CustomDescriptor {
2986
- inlineContent?: string | undefined;
2987
- }
2988
- export interface ServerDefinition {
2989
- schemaVersion?: string | undefined;
2990
- inlineContent?: string | undefined;
2991
- }
2992
- export interface ToolsDefinition {
2993
- protocolVersion?: string | undefined;
2994
- inlineContent?: string | undefined;
2995
- }
2996
- export interface McpDescriptor {
2997
- server?: ServerDefinition | undefined;
2998
- tools?: ToolsDefinition | undefined;
2999
- }
3000
- export interface Descriptors {
3001
- mcp?: McpDescriptor | undefined;
3002
- a2a?: A2aDescriptor | undefined;
3003
- custom?: CustomDescriptor | undefined;
3004
- agentSkills?: AgentSkillsDescriptor | undefined;
3005
- }
3006
- export interface RegistryRecordIamCredentialProvider {
3007
- roleArn?: string | undefined;
3008
- service?: string | undefined;
3009
- region?: string | undefined;
3010
- }
3011
- export interface RegistryRecordOAuthCredentialProvider {
3012
- providerArn: string | undefined;
3013
- grantType?: RegistryRecordOAuthGrantType | undefined;
3014
- scopes?: string[] | undefined;
3015
- customParameters?: Record<string, string> | undefined;
3016
- }
3017
- export type RegistryRecordCredentialProviderUnion =
3018
- | RegistryRecordCredentialProviderUnion.IamCredentialProviderMember
3019
- | RegistryRecordCredentialProviderUnion.OauthCredentialProviderMember
3020
- | RegistryRecordCredentialProviderUnion.$UnknownMember;
3021
- export declare namespace RegistryRecordCredentialProviderUnion {
3022
- interface OauthCredentialProviderMember {
3023
- oauthCredentialProvider: RegistryRecordOAuthCredentialProvider;
3024
- iamCredentialProvider?: never;
3025
- $unknown?: never;
3026
- }
3027
- interface IamCredentialProviderMember {
3028
- oauthCredentialProvider?: never;
3029
- iamCredentialProvider: RegistryRecordIamCredentialProvider;
3030
- $unknown?: never;
3031
- }
3032
- interface $UnknownMember {
3033
- oauthCredentialProvider?: never;
3034
- iamCredentialProvider?: never;
3035
- $unknown: [string, any];
3036
- }
3037
- interface Visitor<T> {
3038
- oauthCredentialProvider: (value: RegistryRecordOAuthCredentialProvider) => T;
3039
- iamCredentialProvider: (value: RegistryRecordIamCredentialProvider) => T;
3040
- _: (name: string, value: any) => T;
3041
- }
3042
- }
3043
- export interface RegistryRecordCredentialProviderConfiguration {
3044
- credentialProviderType: RegistryRecordCredentialProviderType | undefined;
3045
- credentialProvider: RegistryRecordCredentialProviderUnion | undefined;
3046
- }
3047
- export interface FromUrlSynchronizationConfiguration {
3048
- url: string | undefined;
3049
- credentialProviderConfigurations?: RegistryRecordCredentialProviderConfiguration[] | undefined;
3050
- }
3051
- export interface SynchronizationConfiguration {
3052
- fromUrl?: FromUrlSynchronizationConfiguration | undefined;
3053
- }