@aws-sdk/client-bedrock-agentcore-control 3.1104.0 → 3.1106.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 (133) hide show
  1. package/README.md +84 -0
  2. package/dist-cjs/index.js +728 -90
  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 +47 -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 +531 -90
  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/CreateHarnessCommand.d.ts +8 -0
  31. package/dist-types/commands/CreateHarnessEndpointCommand.d.ts +1 -1
  32. package/dist-types/commands/CreatePolicyCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +3 -1
  34. package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +94 -0
  36. package/dist-types/commands/DeleteGatewayRateLimitCommand.d.ts +91 -0
  37. package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteHarnessCommand.d.ts +4 -0
  39. package/dist-types/commands/DeleteHarnessEndpointCommand.d.ts +1 -1
  40. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
  41. package/dist-types/commands/GetAgentRuntimeCommand.d.ts +7 -0
  42. package/dist-types/commands/GetCapacityProviderCommand.d.ts +180 -0
  43. package/dist-types/commands/GetGatewayRateLimitCommand.d.ts +120 -0
  44. package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -1
  45. package/dist-types/commands/GetHarnessCommand.d.ts +4 -0
  46. package/dist-types/commands/GetHarnessEndpointCommand.d.ts +1 -1
  47. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  48. package/dist-types/commands/GetPolicyGenerationCommand.d.ts +2 -1
  49. package/dist-types/commands/GetPolicyGenerationSummaryCommand.d.ts +1 -1
  50. package/dist-types/commands/GetPolicySummaryCommand.d.ts +1 -1
  51. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
  52. package/dist-types/commands/GetTokenVaultCommand.d.ts +1 -1
  53. package/dist-types/commands/ListAgentRuntimeVersionsByCapacityProviderCommand.d.ts +92 -0
  54. package/dist-types/commands/ListCapacityProvidersCommand.d.ts +93 -0
  55. package/dist-types/commands/ListGatewayRateLimitsCommand.d.ts +126 -0
  56. package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -1
  57. package/dist-types/commands/ListHarnessEndpointsCommand.d.ts +1 -1
  58. package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
  59. package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +1 -1
  60. package/dist-types/commands/ListPolicyGenerationSummariesCommand.d.ts +1 -1
  61. package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +1 -1
  62. package/dist-types/commands/ListPolicySummariesCommand.d.ts +1 -1
  63. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
  64. package/dist-types/commands/StartPolicyGenerationCommand.d.ts +1 -1
  65. package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +7 -0
  67. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +101 -0
  68. package/dist-types/commands/UpdateGatewayRateLimitCommand.d.ts +149 -0
  69. package/dist-types/commands/UpdateHarnessCommand.d.ts +8 -0
  70. package/dist-types/commands/UpdateHarnessEndpointCommand.d.ts +1 -1
  71. package/dist-types/commands/UpdatePolicyCommand.d.ts +1 -1
  72. package/dist-types/commands/index.d.ts +12 -0
  73. package/dist-types/models/enums.d.ts +111 -0
  74. package/dist-types/models/errors.d.ts +13 -0
  75. package/dist-types/models/models_0.d.ts +2568 -2358
  76. package/dist-types/models/models_1.d.ts +4322 -4707
  77. package/dist-types/models/models_2.d.ts +1440 -3
  78. package/dist-types/pagination/ListAgentRuntimeVersionsByCapacityProviderPaginator.d.ts +7 -0
  79. package/dist-types/pagination/ListCapacityProvidersPaginator.d.ts +7 -0
  80. package/dist-types/pagination/ListGatewayRateLimitsPaginator.d.ts +7 -0
  81. package/dist-types/pagination/index.d.ts +3 -0
  82. package/dist-types/schemas/schemas_0.d.ts +61 -0
  83. package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +226 -0
  84. package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +72 -0
  85. package/dist-types/ts3.4/commands/BatchPutGatewayRateLimitsCommand.d.ts +42 -0
  86. package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +39 -0
  87. package/dist-types/ts3.4/commands/CreateGatewayRateLimitCommand.d.ts +39 -0
  88. package/dist-types/ts3.4/commands/CreateHarnessEndpointCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +39 -0
  91. package/dist-types/ts3.4/commands/DeleteGatewayRateLimitCommand.d.ts +39 -0
  92. package/dist-types/ts3.4/commands/DeleteGatewayTargetCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/DeleteHarnessEndpointCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +39 -0
  96. package/dist-types/ts3.4/commands/GetGatewayRateLimitCommand.d.ts +39 -0
  97. package/dist-types/ts3.4/commands/GetGatewayTargetCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/GetHarnessEndpointCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/GetPolicyGenerationCommand.d.ts +2 -1
  101. package/dist-types/ts3.4/commands/GetPolicyGenerationSummaryCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/GetPolicySummaryCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/GetTokenVaultCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ListAgentRuntimeVersionsByCapacityProviderCommand.d.ts +42 -0
  106. package/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +39 -0
  107. package/dist-types/ts3.4/commands/ListGatewayRateLimitsCommand.d.ts +39 -0
  108. package/dist-types/ts3.4/commands/ListGatewayTargetsCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ListHarnessEndpointsCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/ListPolicyGenerationAssetsCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/ListPolicyGenerationSummariesCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/ListPolicySummariesCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +39 -0
  119. package/dist-types/ts3.4/commands/UpdateGatewayRateLimitCommand.d.ts +39 -0
  120. package/dist-types/ts3.4/commands/UpdateHarnessEndpointCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  123. package/dist-types/ts3.4/models/enums.d.ts +59 -0
  124. package/dist-types/ts3.4/models/errors.d.ts +6 -0
  125. package/dist-types/ts3.4/models/models_0.d.ts +345 -323
  126. package/dist-types/ts3.4/models/models_1.d.ts +325 -404
  127. package/dist-types/ts3.4/models/models_2.d.ts +403 -13
  128. package/dist-types/ts3.4/pagination/ListAgentRuntimeVersionsByCapacityProviderPaginator.d.ts +11 -0
  129. package/dist-types/ts3.4/pagination/ListCapacityProvidersPaginator.d.ts +11 -0
  130. package/dist-types/ts3.4/pagination/ListGatewayRateLimitsPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  132. package/dist-types/ts3.4/schemas/schemas_0.d.ts +61 -0
  133. package/package.json +1 -1
@@ -6,15 +6,17 @@ import {
6
6
  ContentLevel,
7
7
  ContentType,
8
8
  CredentialProviderVendorType,
9
- EnforcementMode,
10
9
  ExtractionType,
11
10
  FilterOperator,
12
- FindingType,
13
11
  HarnessBedrockApiFormat,
12
+ HarnessEndpointStatus,
13
+ HarnessManagedMemoryStrategyType,
14
14
  HarnessOpenAiApiFormat,
15
15
  HarnessStatus,
16
16
  HarnessToolType,
17
17
  HarnessTruncationStrategy,
18
+ KeyType,
19
+ ListingMode,
18
20
  MemoryStatus,
19
21
  MemoryStrategyStatus,
20
22
  MemoryStrategyType,
@@ -30,35 +32,344 @@ import {
30
32
  PaymentManagerStatus,
31
33
  PaymentsAuthorizerType,
32
34
  PolicyEngineStatus,
33
- PolicyGenerationStatus,
34
- PolicyStatus,
35
- PolicyValidationMode,
36
- RegistryRecordCredentialProviderType,
37
- RegistryRecordOAuthGrantType,
35
+ RestApiMethod,
38
36
  SecretSourceType,
39
37
  SigningAlgorithm,
40
38
  Status,
39
+ TargetStatus,
40
+ TargetType,
41
41
  } from "./enums";
42
42
  import {
43
- A2aDescriptor,
44
- AgentSkillsDescriptor,
45
43
  AuthorizerConfiguration,
44
+ ContainerConfiguration,
46
45
  FilesystemConfiguration,
47
- HarnessAgentCoreMemoryConfiguration,
48
- HarnessDisabledMemoryConfiguration,
49
- HarnessEnvironmentArtifact,
50
- HarnessEnvironmentProviderRequest,
51
- HarnessManagedMemoryConfiguration,
46
+ InferenceConnectorTargetConfiguration,
52
47
  LifecycleConfiguration,
53
48
  NetworkConfiguration,
54
49
  OAuthCredentialProvider,
55
50
  PrivateEndpoint,
56
51
  PrivateEndpointOverride,
52
+ S3Configuration,
57
53
  Secret,
58
54
  SecretReference,
59
55
  Unit,
56
+ UpdatedDescription,
60
57
  WorkloadIdentityDetails,
61
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
+ }
62
373
  export type HarnessMemoryConfiguration =
63
374
  | HarnessMemoryConfiguration.AgentCoreMemoryConfigurationMember
64
375
  | HarnessMemoryConfiguration.DisabledMember
@@ -2682,9 +2993,6 @@ export interface ListPolicyEngineSummariesResponse {
2682
2993
  policyEngines: PolicyEngineSummary[] | undefined;
2683
2994
  nextToken?: string | undefined;
2684
2995
  }
2685
- export interface UpdatedDescription {
2686
- optionalValue?: string | undefined;
2687
- }
2688
2996
  export interface UpdatePolicyEngineRequest {
2689
2997
  policyEngineId: string | undefined;
2690
2998
  description?: UpdatedDescription | undefined;
@@ -2704,390 +3012,3 @@ export interface GetPolicyGenerationRequest {
2704
3012
  policyGenerationId: string | undefined;
2705
3013
  policyEngineId: string | undefined;
2706
3014
  }
2707
- export type Resource = Resource.ArnMember | Resource.$UnknownMember;
2708
- export declare namespace Resource {
2709
- interface ArnMember {
2710
- arn: string;
2711
- $unknown?: never;
2712
- }
2713
- interface $UnknownMember {
2714
- arn?: never;
2715
- $unknown: [string, any];
2716
- }
2717
- interface Visitor<T> {
2718
- arn: (value: string) => T;
2719
- _: (name: string, value: any) => T;
2720
- }
2721
- }
2722
- export interface GetPolicyGenerationResponse {
2723
- policyEngineId: string | undefined;
2724
- policyGenerationId: string | undefined;
2725
- name: string | undefined;
2726
- policyGenerationArn: string | undefined;
2727
- resource: Resource | undefined;
2728
- createdAt: Date | undefined;
2729
- updatedAt: Date | undefined;
2730
- status: PolicyGenerationStatus | undefined;
2731
- findings?: string | undefined;
2732
- statusReasons: string[] | undefined;
2733
- }
2734
- export interface GetPolicyGenerationSummaryRequest {
2735
- policyGenerationId: string | undefined;
2736
- policyEngineId: string | undefined;
2737
- }
2738
- export interface GetPolicyGenerationSummaryResponse {
2739
- policyEngineId: string | undefined;
2740
- policyGenerationId: string | undefined;
2741
- name: string | undefined;
2742
- policyGenerationArn: string | undefined;
2743
- resource: Resource | undefined;
2744
- createdAt: Date | undefined;
2745
- updatedAt: Date | undefined;
2746
- status: PolicyGenerationStatus | undefined;
2747
- findings?: string | undefined;
2748
- }
2749
- export interface ListPolicyGenerationAssetsRequest {
2750
- policyGenerationId: string | undefined;
2751
- policyEngineId: string | undefined;
2752
- nextToken?: string | undefined;
2753
- maxResults?: number | undefined;
2754
- }
2755
- export interface CedarPolicy {
2756
- statement: string | undefined;
2757
- }
2758
- export interface PolicyStatement {
2759
- statement: string | undefined;
2760
- }
2761
- export interface PolicyGenerationDetails {
2762
- policyGenerationId: string | undefined;
2763
- policyGenerationAssetId: string | undefined;
2764
- }
2765
- export type PolicyDefinition =
2766
- | PolicyDefinition.CedarMember
2767
- | PolicyDefinition.PolicyMember
2768
- | PolicyDefinition.PolicyGenerationMember
2769
- | PolicyDefinition.$UnknownMember;
2770
- export declare namespace PolicyDefinition {
2771
- interface CedarMember {
2772
- cedar: CedarPolicy;
2773
- policyGeneration?: never;
2774
- policy?: never;
2775
- $unknown?: never;
2776
- }
2777
- interface PolicyGenerationMember {
2778
- cedar?: never;
2779
- policyGeneration: PolicyGenerationDetails;
2780
- policy?: never;
2781
- $unknown?: never;
2782
- }
2783
- interface PolicyMember {
2784
- cedar?: never;
2785
- policyGeneration?: never;
2786
- policy: PolicyStatement;
2787
- $unknown?: never;
2788
- }
2789
- interface $UnknownMember {
2790
- cedar?: never;
2791
- policyGeneration?: never;
2792
- policy?: never;
2793
- $unknown: [string, any];
2794
- }
2795
- interface Visitor<T> {
2796
- cedar: (value: CedarPolicy) => T;
2797
- policyGeneration: (value: PolicyGenerationDetails) => T;
2798
- policy: (value: PolicyStatement) => T;
2799
- _: (name: string, value: any) => T;
2800
- }
2801
- }
2802
- export interface Finding {
2803
- type?: FindingType | undefined;
2804
- description?: string | undefined;
2805
- }
2806
- export interface PolicyGenerationAsset {
2807
- policyGenerationAssetId: string | undefined;
2808
- definition?: PolicyDefinition | undefined;
2809
- rawTextFragment: string | undefined;
2810
- findings: Finding[] | undefined;
2811
- }
2812
- export interface ListPolicyGenerationAssetsResponse {
2813
- policyGenerationAssets?: PolicyGenerationAsset[] | undefined;
2814
- nextToken?: string | undefined;
2815
- }
2816
- export interface ListPolicyGenerationsRequest {
2817
- nextToken?: string | undefined;
2818
- maxResults?: number | undefined;
2819
- policyEngineId: string | undefined;
2820
- }
2821
- export interface PolicyGeneration {
2822
- policyEngineId: string | undefined;
2823
- policyGenerationId: string | undefined;
2824
- name: string | undefined;
2825
- policyGenerationArn: string | undefined;
2826
- resource: Resource | undefined;
2827
- createdAt: Date | undefined;
2828
- updatedAt: Date | undefined;
2829
- status: PolicyGenerationStatus | undefined;
2830
- findings?: string | undefined;
2831
- statusReasons: string[] | undefined;
2832
- }
2833
- export interface ListPolicyGenerationsResponse {
2834
- policyGenerations: PolicyGeneration[] | undefined;
2835
- nextToken?: string | undefined;
2836
- }
2837
- export interface ListPolicyGenerationSummariesRequest {
2838
- nextToken?: string | undefined;
2839
- maxResults?: number | undefined;
2840
- policyEngineId: string | undefined;
2841
- }
2842
- export interface PolicyGenerationSummary {
2843
- policyEngineId: string | undefined;
2844
- policyGenerationId: string | undefined;
2845
- name: string | undefined;
2846
- policyGenerationArn: string | undefined;
2847
- resource: Resource | undefined;
2848
- createdAt: Date | undefined;
2849
- updatedAt: Date | undefined;
2850
- status: PolicyGenerationStatus | undefined;
2851
- findings?: string | undefined;
2852
- }
2853
- export interface ListPolicyGenerationSummariesResponse {
2854
- policyGenerations: PolicyGenerationSummary[] | undefined;
2855
- nextToken?: string | undefined;
2856
- }
2857
- export type Content = Content.RawTextMember | Content.$UnknownMember;
2858
- export declare namespace Content {
2859
- interface RawTextMember {
2860
- rawText: string;
2861
- $unknown?: never;
2862
- }
2863
- interface $UnknownMember {
2864
- rawText?: never;
2865
- $unknown: [string, any];
2866
- }
2867
- interface Visitor<T> {
2868
- rawText: (value: string) => T;
2869
- _: (name: string, value: any) => T;
2870
- }
2871
- }
2872
- export interface StartPolicyGenerationRequest {
2873
- policyEngineId: string | undefined;
2874
- resource: Resource | undefined;
2875
- content: Content | undefined;
2876
- name: string | undefined;
2877
- clientToken?: string | undefined;
2878
- }
2879
- export interface StartPolicyGenerationResponse {
2880
- policyEngineId: string | undefined;
2881
- policyGenerationId: string | undefined;
2882
- name: string | undefined;
2883
- policyGenerationArn: string | undefined;
2884
- resource: Resource | undefined;
2885
- createdAt: Date | undefined;
2886
- updatedAt: Date | undefined;
2887
- status: PolicyGenerationStatus | undefined;
2888
- findings?: string | undefined;
2889
- statusReasons: string[] | undefined;
2890
- }
2891
- export interface CreatePolicyRequest {
2892
- name: string | undefined;
2893
- definition: PolicyDefinition | undefined;
2894
- description?: string | undefined;
2895
- validationMode?: PolicyValidationMode | undefined;
2896
- enforcementMode?: EnforcementMode | undefined;
2897
- policyEngineId: string | undefined;
2898
- clientToken?: string | undefined;
2899
- }
2900
- export interface CreatePolicyResponse {
2901
- policyId: string | undefined;
2902
- name: string | undefined;
2903
- policyEngineId: string | undefined;
2904
- createdAt: Date | undefined;
2905
- updatedAt: Date | undefined;
2906
- policyArn: string | undefined;
2907
- status: PolicyStatus | undefined;
2908
- enforcementMode?: EnforcementMode | undefined;
2909
- definition: PolicyDefinition | undefined;
2910
- description?: string | undefined;
2911
- statusReasons: string[] | undefined;
2912
- }
2913
- export interface DeletePolicyRequest {
2914
- policyEngineId: string | undefined;
2915
- policyId: string | undefined;
2916
- }
2917
- export interface DeletePolicyResponse {
2918
- policyId: string | undefined;
2919
- name: string | undefined;
2920
- policyEngineId: string | undefined;
2921
- createdAt: Date | undefined;
2922
- updatedAt: Date | undefined;
2923
- policyArn: string | undefined;
2924
- status: PolicyStatus | undefined;
2925
- enforcementMode?: EnforcementMode | undefined;
2926
- definition: PolicyDefinition | undefined;
2927
- description?: string | undefined;
2928
- statusReasons: string[] | undefined;
2929
- }
2930
- export interface GetPolicyRequest {
2931
- policyEngineId: string | undefined;
2932
- policyId: string | undefined;
2933
- }
2934
- export interface GetPolicyResponse {
2935
- policyId: string | undefined;
2936
- name: string | undefined;
2937
- policyEngineId: string | undefined;
2938
- createdAt: Date | undefined;
2939
- updatedAt: Date | undefined;
2940
- policyArn: string | undefined;
2941
- status: PolicyStatus | undefined;
2942
- enforcementMode?: EnforcementMode | undefined;
2943
- definition: PolicyDefinition | undefined;
2944
- description?: string | undefined;
2945
- statusReasons: string[] | undefined;
2946
- }
2947
- export interface GetPolicySummaryRequest {
2948
- policyEngineId: string | undefined;
2949
- policyId: string | undefined;
2950
- }
2951
- export interface GetPolicySummaryResponse {
2952
- policyId: string | undefined;
2953
- name: string | undefined;
2954
- policyEngineId: string | undefined;
2955
- createdAt: Date | undefined;
2956
- updatedAt: Date | undefined;
2957
- policyArn: string | undefined;
2958
- status: PolicyStatus | undefined;
2959
- enforcementMode?: EnforcementMode | undefined;
2960
- }
2961
- export interface ListPoliciesRequest {
2962
- nextToken?: string | undefined;
2963
- maxResults?: number | undefined;
2964
- policyEngineId: string | undefined;
2965
- targetResourceScope?: string | undefined;
2966
- }
2967
- export interface Policy {
2968
- policyId: string | undefined;
2969
- name: string | undefined;
2970
- policyEngineId: string | undefined;
2971
- createdAt: Date | undefined;
2972
- updatedAt: Date | undefined;
2973
- policyArn: string | undefined;
2974
- status: PolicyStatus | undefined;
2975
- enforcementMode?: EnforcementMode | undefined;
2976
- definition: PolicyDefinition | undefined;
2977
- description?: string | undefined;
2978
- statusReasons: string[] | undefined;
2979
- }
2980
- export interface ListPoliciesResponse {
2981
- policies: Policy[] | undefined;
2982
- nextToken?: string | undefined;
2983
- }
2984
- export interface ListPolicySummariesRequest {
2985
- nextToken?: string | undefined;
2986
- maxResults?: number | undefined;
2987
- policyEngineId: string | undefined;
2988
- targetResourceScope?: string | undefined;
2989
- }
2990
- export interface PolicySummary {
2991
- policyId: string | undefined;
2992
- name: string | undefined;
2993
- policyEngineId: string | undefined;
2994
- createdAt: Date | undefined;
2995
- updatedAt: Date | undefined;
2996
- policyArn: string | undefined;
2997
- status: PolicyStatus | undefined;
2998
- enforcementMode?: EnforcementMode | undefined;
2999
- }
3000
- export interface ListPolicySummariesResponse {
3001
- policies: PolicySummary[] | undefined;
3002
- nextToken?: string | undefined;
3003
- }
3004
- export interface UpdatePolicyRequest {
3005
- policyEngineId: string | undefined;
3006
- policyId: string | undefined;
3007
- description?: UpdatedDescription | undefined;
3008
- definition?: PolicyDefinition | undefined;
3009
- validationMode?: PolicyValidationMode | undefined;
3010
- enforcementMode?: EnforcementMode | undefined;
3011
- }
3012
- export interface UpdatePolicyResponse {
3013
- policyId: string | undefined;
3014
- name: string | undefined;
3015
- policyEngineId: string | undefined;
3016
- createdAt: Date | undefined;
3017
- updatedAt: Date | undefined;
3018
- policyArn: string | undefined;
3019
- status: PolicyStatus | undefined;
3020
- enforcementMode?: EnforcementMode | undefined;
3021
- definition: PolicyDefinition | undefined;
3022
- description?: string | undefined;
3023
- statusReasons: string[] | undefined;
3024
- }
3025
- export interface PutResourcePolicyRequest {
3026
- resourceArn: string | undefined;
3027
- policy: string | undefined;
3028
- }
3029
- export interface PutResourcePolicyResponse {
3030
- policy: string | undefined;
3031
- }
3032
- export interface CustomDescriptor {
3033
- inlineContent?: string | undefined;
3034
- }
3035
- export interface ServerDefinition {
3036
- schemaVersion?: string | undefined;
3037
- inlineContent?: string | undefined;
3038
- }
3039
- export interface ToolsDefinition {
3040
- protocolVersion?: string | undefined;
3041
- inlineContent?: string | undefined;
3042
- }
3043
- export interface McpDescriptor {
3044
- server?: ServerDefinition | undefined;
3045
- tools?: ToolsDefinition | undefined;
3046
- }
3047
- export interface Descriptors {
3048
- mcp?: McpDescriptor | undefined;
3049
- a2a?: A2aDescriptor | undefined;
3050
- custom?: CustomDescriptor | undefined;
3051
- agentSkills?: AgentSkillsDescriptor | undefined;
3052
- }
3053
- export interface RegistryRecordIamCredentialProvider {
3054
- roleArn?: string | undefined;
3055
- service?: string | undefined;
3056
- region?: string | undefined;
3057
- }
3058
- export interface RegistryRecordOAuthCredentialProvider {
3059
- providerArn: string | undefined;
3060
- grantType?: RegistryRecordOAuthGrantType | undefined;
3061
- scopes?: string[] | undefined;
3062
- customParameters?: Record<string, string> | undefined;
3063
- }
3064
- export type RegistryRecordCredentialProviderUnion =
3065
- | RegistryRecordCredentialProviderUnion.IamCredentialProviderMember
3066
- | RegistryRecordCredentialProviderUnion.OauthCredentialProviderMember
3067
- | RegistryRecordCredentialProviderUnion.$UnknownMember;
3068
- export declare namespace RegistryRecordCredentialProviderUnion {
3069
- interface OauthCredentialProviderMember {
3070
- oauthCredentialProvider: RegistryRecordOAuthCredentialProvider;
3071
- iamCredentialProvider?: never;
3072
- $unknown?: never;
3073
- }
3074
- interface IamCredentialProviderMember {
3075
- oauthCredentialProvider?: never;
3076
- iamCredentialProvider: RegistryRecordIamCredentialProvider;
3077
- $unknown?: never;
3078
- }
3079
- interface $UnknownMember {
3080
- oauthCredentialProvider?: never;
3081
- iamCredentialProvider?: never;
3082
- $unknown: [string, any];
3083
- }
3084
- interface Visitor<T> {
3085
- oauthCredentialProvider: (value: RegistryRecordOAuthCredentialProvider) => T;
3086
- iamCredentialProvider: (value: RegistryRecordIamCredentialProvider) => T;
3087
- _: (name: string, value: any) => T;
3088
- }
3089
- }
3090
- export interface RegistryRecordCredentialProviderConfiguration {
3091
- credentialProviderType: RegistryRecordCredentialProviderType | undefined;
3092
- credentialProvider: RegistryRecordCredentialProviderUnion | undefined;
3093
- }