@aws-sdk/client-bedrock-agentcore-control 3.1070.0 → 3.1072.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 (113) hide show
  1. package/README.md +42 -0
  2. package/dist-cjs/index.js +143 -1
  3. package/dist-cjs/schemas/schemas_0.js +475 -94
  4. package/dist-es/BedrockAgentCoreControl.js +16 -0
  5. package/dist-es/commands/CreateHarnessEndpointCommand.js +16 -0
  6. package/dist-es/commands/DeleteHarnessEndpointCommand.js +16 -0
  7. package/dist-es/commands/GetHarnessEndpointCommand.js +16 -0
  8. package/dist-es/commands/ListHarnessEndpointsCommand.js +16 -0
  9. package/dist-es/commands/ListHarnessVersionsCommand.js +16 -0
  10. package/dist-es/commands/UpdateHarnessEndpointCommand.js +16 -0
  11. package/dist-es/commands/index.js +6 -0
  12. package/dist-es/models/enums.js +43 -0
  13. package/dist-es/pagination/ListHarnessEndpointsPaginator.js +4 -0
  14. package/dist-es/pagination/ListHarnessVersionsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/schemas/schemas_0.js +435 -94
  17. package/dist-types/BedrockAgentCoreControl.d.ts +56 -0
  18. package/dist-types/BedrockAgentCoreControlClient.d.ts +8 -2
  19. package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +10 -0
  20. package/dist-types/commands/CreateGatewayCommand.d.ts +43 -0
  21. package/dist-types/commands/CreateGatewayTargetCommand.d.ts +139 -1
  22. package/dist-types/commands/CreateHarnessCommand.d.ts +51 -2
  23. package/dist-types/commands/CreateHarnessEndpointCommand.d.ts +116 -0
  24. package/dist-types/commands/CreateMemoryCommand.d.ts +1 -0
  25. package/dist-types/commands/CreatePaymentManagerCommand.d.ts +20 -0
  26. package/dist-types/commands/CreatePolicyCommand.d.ts +8 -0
  27. package/dist-types/commands/CreateRegistryCommand.d.ts +11 -1
  28. package/dist-types/commands/DeleteHarnessCommand.d.ts +27 -1
  29. package/dist-types/commands/DeleteHarnessEndpointCommand.d.ts +108 -0
  30. package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
  31. package/dist-types/commands/DeleteRegistryCommand.d.ts +1 -1
  32. package/dist-types/commands/GetAgentRuntimeCommand.d.ts +10 -0
  33. package/dist-types/commands/GetGatewayCommand.d.ts +26 -0
  34. package/dist-types/commands/GetGatewayTargetCommand.d.ts +69 -0
  35. package/dist-types/commands/GetHarnessCommand.d.ts +28 -2
  36. package/dist-types/commands/GetHarnessEndpointCommand.d.ts +104 -0
  37. package/dist-types/commands/GetMemoryCommand.d.ts +1 -0
  38. package/dist-types/commands/GetPaymentManagerCommand.d.ts +10 -0
  39. package/dist-types/commands/GetPolicyCommand.d.ts +4 -0
  40. package/dist-types/commands/GetPolicySummaryCommand.d.ts +1 -0
  41. package/dist-types/commands/GetRegistryCommand.d.ts +11 -1
  42. package/dist-types/commands/ListGatewayTargetsCommand.d.ts +12 -0
  43. package/dist-types/commands/ListHarnessEndpointsCommand.d.ts +108 -0
  44. package/dist-types/commands/ListHarnessVersionsCommand.d.ts +105 -0
  45. package/dist-types/commands/ListHarnessesCommand.d.ts +3 -2
  46. package/dist-types/commands/ListMemoriesCommand.d.ts +1 -0
  47. package/dist-types/commands/ListPoliciesCommand.d.ts +4 -0
  48. package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +3 -0
  49. package/dist-types/commands/ListPolicySummariesCommand.d.ts +1 -0
  50. package/dist-types/commands/ListRegistriesCommand.d.ts +1 -1
  51. package/dist-types/commands/ListRegistryRecordsCommand.d.ts +2 -1
  52. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  53. package/dist-types/commands/SetTokenVaultCMKCommand.d.ts +1 -1
  54. package/dist-types/commands/SubmitRegistryRecordForApprovalCommand.d.ts +1 -1
  55. package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +69 -0
  56. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  57. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +10 -0
  59. package/dist-types/commands/UpdateGatewayCommand.d.ts +51 -0
  60. package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +139 -1
  61. package/dist-types/commands/UpdateHarnessCommand.d.ts +51 -2
  62. package/dist-types/commands/UpdateHarnessEndpointCommand.d.ts +113 -0
  63. package/dist-types/commands/UpdateMemoryCommand.d.ts +1 -0
  64. package/dist-types/commands/UpdatePaymentManagerCommand.d.ts +10 -0
  65. package/dist-types/commands/UpdatePolicyCommand.d.ts +8 -0
  66. package/dist-types/commands/UpdateRegistryCommand.d.ts +21 -1
  67. package/dist-types/commands/UpdateRegistryRecordCommand.d.ts +1 -1
  68. package/dist-types/commands/UpdateRegistryRecordStatusCommand.d.ts +1 -1
  69. package/dist-types/commands/index.d.ts +6 -0
  70. package/dist-types/models/enums.d.ts +99 -0
  71. package/dist-types/models/models_0.d.ts +904 -1144
  72. package/dist-types/models/models_1.d.ts +4595 -4209
  73. package/dist-types/models/models_2.d.ts +883 -6
  74. package/dist-types/pagination/ListHarnessEndpointsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/ListHarnessVersionsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/index.d.ts +2 -0
  77. package/dist-types/schemas/schemas_0.d.ts +46 -0
  78. package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +116 -0
  79. package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +36 -0
  80. package/dist-types/ts3.4/commands/CreateHarnessCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/CreateHarnessEndpointCommand.d.ts +53 -0
  82. package/dist-types/ts3.4/commands/CreateRegistryCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/DeleteHarnessCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/DeleteHarnessEndpointCommand.d.ts +53 -0
  85. package/dist-types/ts3.4/commands/DeleteRegistryCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/GetHarnessCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/GetHarnessEndpointCommand.d.ts +53 -0
  88. package/dist-types/ts3.4/commands/GetRegistryCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/ListHarnessEndpointsCommand.d.ts +53 -0
  90. package/dist-types/ts3.4/commands/ListHarnessVersionsCommand.d.ts +53 -0
  91. package/dist-types/ts3.4/commands/ListHarnessesCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/ListRegistriesCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/ListRegistryRecordsCommand.d.ts +2 -4
  94. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/SetTokenVaultCMKCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/SubmitRegistryRecordForApprovalCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/UpdateHarnessCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/UpdateHarnessEndpointCommand.d.ts +53 -0
  101. package/dist-types/ts3.4/commands/UpdateRegistryCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/UpdateRegistryRecordCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/UpdateRegistryRecordStatusCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  105. package/dist-types/ts3.4/models/enums.d.ts +56 -0
  106. package/dist-types/ts3.4/models/models_0.d.ts +269 -402
  107. package/dist-types/ts3.4/models/models_1.d.ts +447 -211
  108. package/dist-types/ts3.4/models/models_2.d.ts +262 -3
  109. package/dist-types/ts3.4/pagination/ListHarnessEndpointsPaginator.d.ts +11 -0
  110. package/dist-types/ts3.4/pagination/ListHarnessVersionsPaginator.d.ts +11 -0
  111. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  112. package/dist-types/ts3.4/schemas/schemas_0.d.ts +46 -0
  113. package/package.json +3 -3
@@ -1,3 +1,4 @@
1
+ import { DocumentType as __DocumentType } from "@smithy/types";
1
2
  import {
2
3
  ActorTokenContentType,
3
4
  ClientAuthenticationMethodType,
@@ -6,9 +7,13 @@ import {
6
7
  ContentType,
7
8
  CredentialProviderVendorType,
8
9
  DescriptorType,
10
+ EnforcementMode,
9
11
  ExtractionType,
10
12
  FilterOperator,
11
13
  FindingType,
14
+ HarnessStatus,
15
+ HarnessToolType,
16
+ HarnessTruncationStrategy,
12
17
  MemoryStatus,
13
18
  MemoryStrategyStatus,
14
19
  MemoryStrategyType,
@@ -27,11 +32,9 @@ import {
27
32
  PolicyGenerationStatus,
28
33
  PolicyStatus,
29
34
  PolicyValidationMode,
30
- RegistryAuthorizerType,
31
35
  RegistryRecordCredentialProviderType,
32
36
  RegistryRecordOAuthGrantType,
33
37
  RegistryRecordStatus,
34
- RegistryStatus,
35
38
  SecretSourceType,
36
39
  Status,
37
40
  SynchronizationType,
@@ -40,16 +43,429 @@ import {
40
43
  A2aDescriptor,
41
44
  AgentSkillsDescriptor,
42
45
  AuthorizerConfiguration,
43
- KmsConfiguration,
46
+ FilesystemConfiguration,
47
+ HarnessEnvironmentArtifact,
48
+ HarnessEnvironmentProviderRequest,
49
+ HarnessMemoryConfiguration,
50
+ HarnessModelConfiguration,
51
+ HarnessSkillAwsSkillsSource,
52
+ LifecycleConfiguration,
53
+ NetworkConfiguration,
54
+ OAuthCredentialProvider,
44
55
  PrivateEndpoint,
45
56
  PrivateEndpointOverride,
46
57
  Secret,
47
58
  SecretReference,
48
- SkillDefinition,
49
- SkillMdDefinition,
50
- UpdatedAuthorizerConfiguration,
59
+ Unit,
51
60
  WorkloadIdentityDetails,
52
61
  } from "./models_0";
62
+ export interface HarnessSkillGitAuth {
63
+ credentialArn: string | undefined;
64
+ username?: string | undefined;
65
+ }
66
+ export interface HarnessSkillGitSource {
67
+ url: string | undefined;
68
+ path?: string | undefined;
69
+ auth?: HarnessSkillGitAuth | undefined;
70
+ }
71
+ export interface HarnessSkillS3Source {
72
+ uri: string | undefined;
73
+ }
74
+ export type HarnessSkill =
75
+ | HarnessSkill.AwsSkillsMember
76
+ | HarnessSkill.GitMember
77
+ | HarnessSkill.PathMember
78
+ | HarnessSkill.S3Member
79
+ | HarnessSkill.$UnknownMember;
80
+ export declare namespace HarnessSkill {
81
+ interface PathMember {
82
+ path: string;
83
+ s3?: never;
84
+ git?: never;
85
+ awsSkills?: never;
86
+ $unknown?: never;
87
+ }
88
+ interface S3Member {
89
+ path?: never;
90
+ s3: HarnessSkillS3Source;
91
+ git?: never;
92
+ awsSkills?: never;
93
+ $unknown?: never;
94
+ }
95
+ interface GitMember {
96
+ path?: never;
97
+ s3?: never;
98
+ git: HarnessSkillGitSource;
99
+ awsSkills?: never;
100
+ $unknown?: never;
101
+ }
102
+ interface AwsSkillsMember {
103
+ path?: never;
104
+ s3?: never;
105
+ git?: never;
106
+ awsSkills: HarnessSkillAwsSkillsSource;
107
+ $unknown?: never;
108
+ }
109
+ interface $UnknownMember {
110
+ path?: never;
111
+ s3?: never;
112
+ git?: never;
113
+ awsSkills?: never;
114
+ $unknown: [string, any];
115
+ }
116
+ interface Visitor<T> {
117
+ path: (value: string) => T;
118
+ s3: (value: HarnessSkillS3Source) => T;
119
+ git: (value: HarnessSkillGitSource) => T;
120
+ awsSkills: (value: HarnessSkillAwsSkillsSource) => T;
121
+ _: (name: string, value: any) => T;
122
+ }
123
+ }
124
+ export type HarnessSystemContentBlock =
125
+ | HarnessSystemContentBlock.TextMember
126
+ | HarnessSystemContentBlock.$UnknownMember;
127
+ export declare namespace HarnessSystemContentBlock {
128
+ interface TextMember {
129
+ text: string;
130
+ $unknown?: never;
131
+ }
132
+ interface $UnknownMember {
133
+ text?: never;
134
+ $unknown: [string, any];
135
+ }
136
+ interface Visitor<T> {
137
+ text: (value: string) => T;
138
+ _: (name: string, value: any) => T;
139
+ }
140
+ }
141
+ export interface HarnessAgentCoreBrowserConfig {
142
+ browserArn?: string | undefined;
143
+ }
144
+ export interface HarnessAgentCoreCodeInterpreterConfig {
145
+ codeInterpreterArn?: string | undefined;
146
+ }
147
+ export type HarnessGatewayOutboundAuth =
148
+ | HarnessGatewayOutboundAuth.AwsIamMember
149
+ | HarnessGatewayOutboundAuth.NoneMember
150
+ | HarnessGatewayOutboundAuth.OauthMember
151
+ | HarnessGatewayOutboundAuth.$UnknownMember;
152
+ export declare namespace HarnessGatewayOutboundAuth {
153
+ interface AwsIamMember {
154
+ awsIam: Unit;
155
+ none?: never;
156
+ oauth?: never;
157
+ $unknown?: never;
158
+ }
159
+ interface NoneMember {
160
+ awsIam?: never;
161
+ none: Unit;
162
+ oauth?: never;
163
+ $unknown?: never;
164
+ }
165
+ interface OauthMember {
166
+ awsIam?: never;
167
+ none?: never;
168
+ oauth: OAuthCredentialProvider;
169
+ $unknown?: never;
170
+ }
171
+ interface $UnknownMember {
172
+ awsIam?: never;
173
+ none?: never;
174
+ oauth?: never;
175
+ $unknown: [string, any];
176
+ }
177
+ interface Visitor<T> {
178
+ awsIam: (value: Unit) => T;
179
+ none: (value: Unit) => T;
180
+ oauth: (value: OAuthCredentialProvider) => T;
181
+ _: (name: string, value: any) => T;
182
+ }
183
+ }
184
+ export interface HarnessAgentCoreGatewayConfig {
185
+ gatewayArn: string | undefined;
186
+ outboundAuth?: HarnessGatewayOutboundAuth | undefined;
187
+ }
188
+ export interface HarnessInlineFunctionConfig {
189
+ description: string | undefined;
190
+ inputSchema: __DocumentType | undefined;
191
+ }
192
+ export interface HarnessRemoteMcpConfig {
193
+ url: string | undefined;
194
+ headers?: Record<string, string> | undefined;
195
+ }
196
+ export type HarnessToolConfiguration =
197
+ | HarnessToolConfiguration.AgentCoreBrowserMember
198
+ | HarnessToolConfiguration.AgentCoreCodeInterpreterMember
199
+ | HarnessToolConfiguration.AgentCoreGatewayMember
200
+ | HarnessToolConfiguration.InlineFunctionMember
201
+ | HarnessToolConfiguration.RemoteMcpMember
202
+ | HarnessToolConfiguration.$UnknownMember;
203
+ export declare namespace HarnessToolConfiguration {
204
+ interface RemoteMcpMember {
205
+ remoteMcp: HarnessRemoteMcpConfig;
206
+ agentCoreBrowser?: never;
207
+ agentCoreGateway?: never;
208
+ inlineFunction?: never;
209
+ agentCoreCodeInterpreter?: never;
210
+ $unknown?: never;
211
+ }
212
+ interface AgentCoreBrowserMember {
213
+ remoteMcp?: never;
214
+ agentCoreBrowser: HarnessAgentCoreBrowserConfig;
215
+ agentCoreGateway?: never;
216
+ inlineFunction?: never;
217
+ agentCoreCodeInterpreter?: never;
218
+ $unknown?: never;
219
+ }
220
+ interface AgentCoreGatewayMember {
221
+ remoteMcp?: never;
222
+ agentCoreBrowser?: never;
223
+ agentCoreGateway: HarnessAgentCoreGatewayConfig;
224
+ inlineFunction?: never;
225
+ agentCoreCodeInterpreter?: never;
226
+ $unknown?: never;
227
+ }
228
+ interface InlineFunctionMember {
229
+ remoteMcp?: never;
230
+ agentCoreBrowser?: never;
231
+ agentCoreGateway?: never;
232
+ inlineFunction: HarnessInlineFunctionConfig;
233
+ agentCoreCodeInterpreter?: never;
234
+ $unknown?: never;
235
+ }
236
+ interface AgentCoreCodeInterpreterMember {
237
+ remoteMcp?: never;
238
+ agentCoreBrowser?: never;
239
+ agentCoreGateway?: never;
240
+ inlineFunction?: never;
241
+ agentCoreCodeInterpreter: HarnessAgentCoreCodeInterpreterConfig;
242
+ $unknown?: never;
243
+ }
244
+ interface $UnknownMember {
245
+ remoteMcp?: never;
246
+ agentCoreBrowser?: never;
247
+ agentCoreGateway?: never;
248
+ inlineFunction?: never;
249
+ agentCoreCodeInterpreter?: never;
250
+ $unknown: [string, any];
251
+ }
252
+ interface Visitor<T> {
253
+ remoteMcp: (value: HarnessRemoteMcpConfig) => T;
254
+ agentCoreBrowser: (value: HarnessAgentCoreBrowserConfig) => T;
255
+ agentCoreGateway: (value: HarnessAgentCoreGatewayConfig) => T;
256
+ inlineFunction: (value: HarnessInlineFunctionConfig) => T;
257
+ agentCoreCodeInterpreter: (
258
+ value: HarnessAgentCoreCodeInterpreterConfig
259
+ ) => T;
260
+ _: (name: string, value: any) => T;
261
+ }
262
+ }
263
+ export interface HarnessTool {
264
+ type: HarnessToolType | undefined;
265
+ name?: string | undefined;
266
+ config?: HarnessToolConfiguration | undefined;
267
+ }
268
+ export interface HarnessSlidingWindowConfiguration {
269
+ messagesCount?: number | undefined;
270
+ }
271
+ export interface HarnessSummarizationConfiguration {
272
+ summaryRatio?: number | undefined;
273
+ preserveRecentMessages?: number | undefined;
274
+ summarizationSystemPrompt?: string | undefined;
275
+ }
276
+ export type HarnessTruncationStrategyConfiguration =
277
+ | HarnessTruncationStrategyConfiguration.SlidingWindowMember
278
+ | HarnessTruncationStrategyConfiguration.SummarizationMember
279
+ | HarnessTruncationStrategyConfiguration.$UnknownMember;
280
+ export declare namespace HarnessTruncationStrategyConfiguration {
281
+ interface SlidingWindowMember {
282
+ slidingWindow: HarnessSlidingWindowConfiguration;
283
+ summarization?: never;
284
+ $unknown?: never;
285
+ }
286
+ interface SummarizationMember {
287
+ slidingWindow?: never;
288
+ summarization: HarnessSummarizationConfiguration;
289
+ $unknown?: never;
290
+ }
291
+ interface $UnknownMember {
292
+ slidingWindow?: never;
293
+ summarization?: never;
294
+ $unknown: [string, any];
295
+ }
296
+ interface Visitor<T> {
297
+ slidingWindow: (value: HarnessSlidingWindowConfiguration) => T;
298
+ summarization: (value: HarnessSummarizationConfiguration) => T;
299
+ _: (name: string, value: any) => T;
300
+ }
301
+ }
302
+ export interface HarnessTruncationConfiguration {
303
+ strategy: HarnessTruncationStrategy | undefined;
304
+ config?: HarnessTruncationStrategyConfiguration | undefined;
305
+ }
306
+ export interface CreateHarnessRequest {
307
+ harnessName: string | undefined;
308
+ clientToken?: string | undefined;
309
+ executionRoleArn: string | undefined;
310
+ environment?: HarnessEnvironmentProviderRequest | undefined;
311
+ environmentArtifact?: HarnessEnvironmentArtifact | undefined;
312
+ environmentVariables?: Record<string, string> | undefined;
313
+ authorizerConfiguration?: AuthorizerConfiguration | undefined;
314
+ model?: HarnessModelConfiguration | undefined;
315
+ systemPrompt?: HarnessSystemContentBlock[] | undefined;
316
+ tools?: HarnessTool[] | undefined;
317
+ skills?: HarnessSkill[] | undefined;
318
+ allowedTools?: string[] | undefined;
319
+ memory?: HarnessMemoryConfiguration | undefined;
320
+ truncation?: HarnessTruncationConfiguration | undefined;
321
+ maxIterations?: number | undefined;
322
+ maxTokens?: number | undefined;
323
+ timeoutSeconds?: number | undefined;
324
+ tags?: Record<string, string> | undefined;
325
+ }
326
+ export interface HarnessAgentCoreRuntimeEnvironment {
327
+ agentRuntimeArn: string | undefined;
328
+ agentRuntimeName: string | undefined;
329
+ agentRuntimeId: string | undefined;
330
+ lifecycleConfiguration: LifecycleConfiguration | undefined;
331
+ networkConfiguration: NetworkConfiguration | undefined;
332
+ filesystemConfigurations?: FilesystemConfiguration[] | undefined;
333
+ }
334
+ export type HarnessEnvironmentProvider =
335
+ | HarnessEnvironmentProvider.AgentCoreRuntimeEnvironmentMember
336
+ | HarnessEnvironmentProvider.$UnknownMember;
337
+ export declare namespace HarnessEnvironmentProvider {
338
+ interface AgentCoreRuntimeEnvironmentMember {
339
+ agentCoreRuntimeEnvironment: HarnessAgentCoreRuntimeEnvironment;
340
+ $unknown?: never;
341
+ }
342
+ interface $UnknownMember {
343
+ agentCoreRuntimeEnvironment?: never;
344
+ $unknown: [string, any];
345
+ }
346
+ interface Visitor<T> {
347
+ agentCoreRuntimeEnvironment: (
348
+ value: HarnessAgentCoreRuntimeEnvironment
349
+ ) => T;
350
+ _: (name: string, value: any) => T;
351
+ }
352
+ }
353
+ export interface Harness {
354
+ harnessId: string | undefined;
355
+ harnessName: string | undefined;
356
+ arn: string | undefined;
357
+ status: HarnessStatus | undefined;
358
+ harnessVersion?: string | undefined;
359
+ executionRoleArn: string | undefined;
360
+ createdAt: Date | undefined;
361
+ updatedAt: Date | undefined;
362
+ model: HarnessModelConfiguration | undefined;
363
+ systemPrompt: HarnessSystemContentBlock[] | undefined;
364
+ tools: HarnessTool[] | undefined;
365
+ skills: HarnessSkill[] | undefined;
366
+ allowedTools: string[] | undefined;
367
+ truncation: HarnessTruncationConfiguration | undefined;
368
+ environment: HarnessEnvironmentProvider | undefined;
369
+ environmentArtifact?: HarnessEnvironmentArtifact | undefined;
370
+ environmentVariables?: Record<string, string> | undefined;
371
+ authorizerConfiguration?: AuthorizerConfiguration | undefined;
372
+ memory?: HarnessMemoryConfiguration | undefined;
373
+ maxIterations?: number | undefined;
374
+ maxTokens?: number | undefined;
375
+ timeoutSeconds?: number | undefined;
376
+ failureReason?: string | undefined;
377
+ }
378
+ export interface CreateHarnessResponse {
379
+ harness: Harness | undefined;
380
+ }
381
+ export interface DeleteHarnessRequest {
382
+ harnessId: string | undefined;
383
+ clientToken?: string | undefined;
384
+ deleteManagedMemory?: boolean | undefined;
385
+ }
386
+ export interface DeleteHarnessResponse {
387
+ harness?: Harness | undefined;
388
+ }
389
+ export interface GetHarnessRequest {
390
+ harnessId: string | undefined;
391
+ harnessVersion?: string | undefined;
392
+ }
393
+ export interface GetHarnessResponse {
394
+ harness: Harness | undefined;
395
+ }
396
+ export interface ListHarnessesRequest {
397
+ maxResults?: number | undefined;
398
+ nextToken?: string | undefined;
399
+ }
400
+ export interface HarnessSummary {
401
+ harnessId: string | undefined;
402
+ harnessName: string | undefined;
403
+ arn: string | undefined;
404
+ status: HarnessStatus | undefined;
405
+ createdAt: Date | undefined;
406
+ updatedAt: Date | undefined;
407
+ harnessVersion?: string | undefined;
408
+ }
409
+ export interface ListHarnessesResponse {
410
+ harnesses: HarnessSummary[] | undefined;
411
+ nextToken?: string | undefined;
412
+ }
413
+ export interface ListHarnessVersionsRequest {
414
+ harnessId: string | undefined;
415
+ maxResults?: number | undefined;
416
+ nextToken?: string | undefined;
417
+ }
418
+ export interface HarnessVersionSummary {
419
+ harnessId: string | undefined;
420
+ harnessName: string | undefined;
421
+ arn: string | undefined;
422
+ harnessVersion: string | undefined;
423
+ status: HarnessStatus | undefined;
424
+ createdAt: Date | undefined;
425
+ updatedAt: Date | undefined;
426
+ failureReason?: string | undefined;
427
+ }
428
+ export interface ListHarnessVersionsResponse {
429
+ harnessVersions: HarnessVersionSummary[] | undefined;
430
+ nextToken?: string | undefined;
431
+ }
432
+ export interface UpdatedAuthorizerConfiguration {
433
+ optionalValue?: AuthorizerConfiguration | undefined;
434
+ }
435
+ export interface UpdatedHarnessEnvironmentArtifact {
436
+ optionalValue?: HarnessEnvironmentArtifact | undefined;
437
+ }
438
+ export interface UpdatedHarnessMemoryConfiguration {
439
+ optionalValue?: HarnessMemoryConfiguration | undefined;
440
+ }
441
+ export interface UpdateHarnessRequest {
442
+ harnessId: string | undefined;
443
+ clientToken?: string | undefined;
444
+ executionRoleArn?: string | undefined;
445
+ environment?: HarnessEnvironmentProviderRequest | undefined;
446
+ environmentArtifact?: UpdatedHarnessEnvironmentArtifact | undefined;
447
+ environmentVariables?: Record<string, string> | undefined;
448
+ authorizerConfiguration?: UpdatedAuthorizerConfiguration | undefined;
449
+ model?: HarnessModelConfiguration | undefined;
450
+ systemPrompt?: HarnessSystemContentBlock[] | undefined;
451
+ tools?: HarnessTool[] | undefined;
452
+ skills?: HarnessSkill[] | undefined;
453
+ allowedTools?: string[] | undefined;
454
+ memory?: UpdatedHarnessMemoryConfiguration | undefined;
455
+ truncation?: HarnessTruncationConfiguration | undefined;
456
+ maxIterations?: number | undefined;
457
+ maxTokens?: number | undefined;
458
+ timeoutSeconds?: number | undefined;
459
+ }
460
+ export interface UpdateHarnessResponse {
461
+ harness: Harness | undefined;
462
+ }
463
+ export interface ListTagsForResourceRequest {
464
+ resourceArn: string | undefined;
465
+ }
466
+ export interface ListTagsForResourceResponse {
467
+ tags?: Record<string, string> | undefined;
468
+ }
53
469
  export interface IndexedKey {
54
470
  key: string | undefined;
55
471
  type: MetadataValueType | undefined;
@@ -759,6 +1175,7 @@ export interface Memory {
759
1175
  strategies?: MemoryStrategy[] | undefined;
760
1176
  indexedKeys?: IndexedKey[] | undefined;
761
1177
  streamDeliveryResources?: StreamDeliveryResources | undefined;
1178
+ managedByResourceArn?: string | undefined;
762
1179
  }
763
1180
  export interface CreateMemoryOutput {
764
1181
  memory?: Memory | undefined;
@@ -788,6 +1205,7 @@ export interface MemorySummary {
788
1205
  status?: MemoryStatus | undefined;
789
1206
  createdAt: Date | undefined;
790
1207
  updatedAt: Date | undefined;
1208
+ managedByResourceArn?: string | undefined;
791
1209
  }
792
1210
  export interface ListMemoriesOutput {
793
1211
  memories: MemorySummary[] | undefined;
@@ -2254,33 +2672,47 @@ export interface ListPolicyGenerationAssetsRequest {
2254
2672
  export interface CedarPolicy {
2255
2673
  statement: string | undefined;
2256
2674
  }
2675
+ export interface PolicyStatement {
2676
+ statement: string | undefined;
2677
+ }
2257
2678
  export interface PolicyGenerationDetails {
2258
2679
  policyGenerationId: string | undefined;
2259
2680
  policyGenerationAssetId: string | undefined;
2260
2681
  }
2261
2682
  export type PolicyDefinition =
2262
2683
  | PolicyDefinition.CedarMember
2684
+ | PolicyDefinition.PolicyMember
2263
2685
  | PolicyDefinition.PolicyGenerationMember
2264
2686
  | PolicyDefinition.$UnknownMember;
2265
2687
  export declare namespace PolicyDefinition {
2266
2688
  interface CedarMember {
2267
2689
  cedar: CedarPolicy;
2268
2690
  policyGeneration?: never;
2691
+ policy?: never;
2269
2692
  $unknown?: never;
2270
2693
  }
2271
2694
  interface PolicyGenerationMember {
2272
2695
  cedar?: never;
2273
2696
  policyGeneration: PolicyGenerationDetails;
2697
+ policy?: never;
2698
+ $unknown?: never;
2699
+ }
2700
+ interface PolicyMember {
2701
+ cedar?: never;
2702
+ policyGeneration?: never;
2703
+ policy: PolicyStatement;
2274
2704
  $unknown?: never;
2275
2705
  }
2276
2706
  interface $UnknownMember {
2277
2707
  cedar?: never;
2278
2708
  policyGeneration?: never;
2709
+ policy?: never;
2279
2710
  $unknown: [string, any];
2280
2711
  }
2281
2712
  interface Visitor<T> {
2282
2713
  cedar: (value: CedarPolicy) => T;
2283
2714
  policyGeneration: (value: PolicyGenerationDetails) => T;
2715
+ policy: (value: PolicyStatement) => T;
2284
2716
  _: (name: string, value: any) => T;
2285
2717
  }
2286
2718
  }
@@ -2378,6 +2810,7 @@ export interface CreatePolicyRequest {
2378
2810
  definition: PolicyDefinition | undefined;
2379
2811
  description?: string | undefined;
2380
2812
  validationMode?: PolicyValidationMode | undefined;
2813
+ enforcementMode?: EnforcementMode | undefined;
2381
2814
  policyEngineId: string | undefined;
2382
2815
  clientToken?: string | undefined;
2383
2816
  }
@@ -2389,6 +2822,7 @@ export interface CreatePolicyResponse {
2389
2822
  updatedAt: Date | undefined;
2390
2823
  policyArn: string | undefined;
2391
2824
  status: PolicyStatus | undefined;
2825
+ enforcementMode?: EnforcementMode | undefined;
2392
2826
  definition: PolicyDefinition | undefined;
2393
2827
  description?: string | undefined;
2394
2828
  statusReasons: string[] | undefined;
@@ -2405,6 +2839,7 @@ export interface DeletePolicyResponse {
2405
2839
  updatedAt: Date | undefined;
2406
2840
  policyArn: string | undefined;
2407
2841
  status: PolicyStatus | undefined;
2842
+ enforcementMode?: EnforcementMode | undefined;
2408
2843
  definition: PolicyDefinition | undefined;
2409
2844
  description?: string | undefined;
2410
2845
  statusReasons: string[] | undefined;
@@ -2421,6 +2856,7 @@ export interface GetPolicyResponse {
2421
2856
  updatedAt: Date | undefined;
2422
2857
  policyArn: string | undefined;
2423
2858
  status: PolicyStatus | undefined;
2859
+ enforcementMode?: EnforcementMode | undefined;
2424
2860
  definition: PolicyDefinition | undefined;
2425
2861
  description?: string | undefined;
2426
2862
  statusReasons: string[] | undefined;
@@ -2437,6 +2873,7 @@ export interface GetPolicySummaryResponse {
2437
2873
  updatedAt: Date | undefined;
2438
2874
  policyArn: string | undefined;
2439
2875
  status: PolicyStatus | undefined;
2876
+ enforcementMode?: EnforcementMode | undefined;
2440
2877
  }
2441
2878
  export interface ListPoliciesRequest {
2442
2879
  nextToken?: string | undefined;
@@ -2452,6 +2889,7 @@ export interface Policy {
2452
2889
  updatedAt: Date | undefined;
2453
2890
  policyArn: string | undefined;
2454
2891
  status: PolicyStatus | undefined;
2892
+ enforcementMode?: EnforcementMode | undefined;
2455
2893
  definition: PolicyDefinition | undefined;
2456
2894
  description?: string | undefined;
2457
2895
  statusReasons: string[] | undefined;
@@ -2474,6 +2912,7 @@ export interface PolicySummary {
2474
2912
  updatedAt: Date | undefined;
2475
2913
  policyArn: string | undefined;
2476
2914
  status: PolicyStatus | undefined;
2915
+ enforcementMode?: EnforcementMode | undefined;
2477
2916
  }
2478
2917
  export interface ListPolicySummariesResponse {
2479
2918
  policies: PolicySummary[] | undefined;
@@ -2485,6 +2924,7 @@ export interface UpdatePolicyRequest {
2485
2924
  description?: UpdatedDescription | undefined;
2486
2925
  definition?: PolicyDefinition | undefined;
2487
2926
  validationMode?: PolicyValidationMode | undefined;
2927
+ enforcementMode?: EnforcementMode | undefined;
2488
2928
  }
2489
2929
  export interface UpdatePolicyResponse {
2490
2930
  policyId: string | undefined;
@@ -2494,6 +2934,7 @@ export interface UpdatePolicyResponse {
2494
2934
  updatedAt: Date | undefined;
2495
2935
  policyArn: string | undefined;
2496
2936
  status: PolicyStatus | undefined;
2937
+ enforcementMode?: EnforcementMode | undefined;
2497
2938
  definition: PolicyDefinition | undefined;
2498
2939
  description?: string | undefined;
2499
2940
  statusReasons: string[] | undefined;
@@ -2638,208 +3079,3 @@ export interface RegistryRecordSummary {
2638
3079
  createdAt: Date | undefined;
2639
3080
  updatedAt: Date | undefined;
2640
3081
  }
2641
- export interface ListRegistryRecordsResponse {
2642
- registryRecords: RegistryRecordSummary[] | undefined;
2643
- nextToken?: string | undefined;
2644
- }
2645
- export interface SubmitRegistryRecordForApprovalRequest {
2646
- registryId: string | undefined;
2647
- recordId: string | undefined;
2648
- }
2649
- export interface SubmitRegistryRecordForApprovalResponse {
2650
- registryArn: string | undefined;
2651
- recordArn: string | undefined;
2652
- recordId: string | undefined;
2653
- status: RegistryRecordStatus | undefined;
2654
- updatedAt: Date | undefined;
2655
- }
2656
- export interface UpdatedA2aDescriptor {
2657
- optionalValue?: A2aDescriptor | undefined;
2658
- }
2659
- export interface UpdatedSkillDefinition {
2660
- optionalValue?: SkillDefinition | undefined;
2661
- }
2662
- export interface UpdatedSkillMdDefinition {
2663
- optionalValue?: SkillMdDefinition | undefined;
2664
- }
2665
- export interface UpdatedAgentSkillsDescriptorFields {
2666
- skillMd?: UpdatedSkillMdDefinition | undefined;
2667
- skillDefinition?: UpdatedSkillDefinition | undefined;
2668
- }
2669
- export interface UpdatedAgentSkillsDescriptor {
2670
- optionalValue?: UpdatedAgentSkillsDescriptorFields | undefined;
2671
- }
2672
- export interface UpdatedCustomDescriptor {
2673
- optionalValue?: CustomDescriptor | undefined;
2674
- }
2675
- export interface UpdatedServerDefinition {
2676
- optionalValue?: ServerDefinition | undefined;
2677
- }
2678
- export interface UpdatedToolsDefinition {
2679
- optionalValue?: ToolsDefinition | undefined;
2680
- }
2681
- export interface UpdatedMcpDescriptorFields {
2682
- server?: UpdatedServerDefinition | undefined;
2683
- tools?: UpdatedToolsDefinition | undefined;
2684
- }
2685
- export interface UpdatedMcpDescriptor {
2686
- optionalValue?: UpdatedMcpDescriptorFields | undefined;
2687
- }
2688
- export interface UpdatedDescriptorsUnion {
2689
- mcp?: UpdatedMcpDescriptor | undefined;
2690
- a2a?: UpdatedA2aDescriptor | undefined;
2691
- custom?: UpdatedCustomDescriptor | undefined;
2692
- agentSkills?: UpdatedAgentSkillsDescriptor | undefined;
2693
- }
2694
- export interface UpdatedDescriptors {
2695
- optionalValue?: UpdatedDescriptorsUnion | undefined;
2696
- }
2697
- export interface UpdatedSynchronizationConfiguration {
2698
- optionalValue?: SynchronizationConfiguration | undefined;
2699
- }
2700
- export interface UpdatedSynchronizationType {
2701
- optionalValue?: SynchronizationType | undefined;
2702
- }
2703
- export interface UpdateRegistryRecordRequest {
2704
- registryId: string | undefined;
2705
- recordId: string | undefined;
2706
- name?: string | undefined;
2707
- description?: UpdatedDescription | undefined;
2708
- descriptorType?: DescriptorType | undefined;
2709
- descriptors?: UpdatedDescriptors | undefined;
2710
- recordVersion?: string | undefined;
2711
- synchronizationType?: UpdatedSynchronizationType | undefined;
2712
- synchronizationConfiguration?:
2713
- | UpdatedSynchronizationConfiguration
2714
- | undefined;
2715
- triggerSynchronization?: boolean | undefined;
2716
- }
2717
- export interface UpdateRegistryRecordResponse {
2718
- registryArn: string | undefined;
2719
- recordArn: string | undefined;
2720
- recordId: string | undefined;
2721
- name: string | undefined;
2722
- description?: string | undefined;
2723
- descriptorType: DescriptorType | undefined;
2724
- descriptors: Descriptors | undefined;
2725
- recordVersion?: string | undefined;
2726
- status: RegistryRecordStatus | undefined;
2727
- createdAt: Date | undefined;
2728
- updatedAt: Date | undefined;
2729
- statusReason?: string | undefined;
2730
- synchronizationType?: SynchronizationType | undefined;
2731
- synchronizationConfiguration?: SynchronizationConfiguration | undefined;
2732
- }
2733
- export interface UpdateRegistryRecordStatusRequest {
2734
- registryId: string | undefined;
2735
- recordId: string | undefined;
2736
- status: RegistryRecordStatus | undefined;
2737
- statusReason: string | undefined;
2738
- }
2739
- export interface UpdateRegistryRecordStatusResponse {
2740
- registryArn: string | undefined;
2741
- recordArn: string | undefined;
2742
- recordId: string | undefined;
2743
- status: RegistryRecordStatus | undefined;
2744
- statusReason: string | undefined;
2745
- updatedAt: Date | undefined;
2746
- }
2747
- export interface ApprovalConfiguration {
2748
- autoApproval?: boolean | undefined;
2749
- }
2750
- export interface CreateRegistryRequest {
2751
- name: string | undefined;
2752
- description?: string | undefined;
2753
- authorizerType?: RegistryAuthorizerType | undefined;
2754
- authorizerConfiguration?: AuthorizerConfiguration | undefined;
2755
- clientToken?: string | undefined;
2756
- approvalConfiguration?: ApprovalConfiguration | undefined;
2757
- }
2758
- export interface CreateRegistryResponse {
2759
- registryArn: string | undefined;
2760
- }
2761
- export interface DeleteRegistryRequest {
2762
- registryId: string | undefined;
2763
- }
2764
- export interface DeleteRegistryResponse {
2765
- status: RegistryStatus | undefined;
2766
- }
2767
- export interface GetRegistryRequest {
2768
- registryId: string | undefined;
2769
- }
2770
- export interface GetRegistryResponse {
2771
- name: string | undefined;
2772
- description?: string | undefined;
2773
- registryId: string | undefined;
2774
- registryArn: string | undefined;
2775
- authorizerType?: RegistryAuthorizerType | undefined;
2776
- authorizerConfiguration?: AuthorizerConfiguration | undefined;
2777
- approvalConfiguration?: ApprovalConfiguration | undefined;
2778
- status: RegistryStatus | undefined;
2779
- statusReason?: string | undefined;
2780
- createdAt: Date | undefined;
2781
- updatedAt: Date | undefined;
2782
- }
2783
- export interface ListRegistriesRequest {
2784
- maxResults?: number | undefined;
2785
- nextToken?: string | undefined;
2786
- status?: RegistryStatus | undefined;
2787
- authorizerType?: RegistryAuthorizerType | undefined;
2788
- }
2789
- export interface RegistrySummary {
2790
- name: string | undefined;
2791
- description?: string | undefined;
2792
- registryId: string | undefined;
2793
- registryArn: string | undefined;
2794
- authorizerType?: RegistryAuthorizerType | undefined;
2795
- status: RegistryStatus | undefined;
2796
- statusReason?: string | undefined;
2797
- createdAt: Date | undefined;
2798
- updatedAt: Date | undefined;
2799
- }
2800
- export interface ListRegistriesResponse {
2801
- registries: RegistrySummary[] | undefined;
2802
- nextToken?: string | undefined;
2803
- }
2804
- export interface UpdatedApprovalConfiguration {
2805
- optionalValue?: ApprovalConfiguration | undefined;
2806
- }
2807
- export interface UpdateRegistryRequest {
2808
- registryId: string | undefined;
2809
- name?: string | undefined;
2810
- description?: UpdatedDescription | undefined;
2811
- authorizerConfiguration?: UpdatedAuthorizerConfiguration | undefined;
2812
- approvalConfiguration?: UpdatedApprovalConfiguration | undefined;
2813
- }
2814
- export interface UpdateRegistryResponse {
2815
- name: string | undefined;
2816
- description?: string | undefined;
2817
- registryId: string | undefined;
2818
- registryArn: string | undefined;
2819
- authorizerType?: RegistryAuthorizerType | undefined;
2820
- authorizerConfiguration?: AuthorizerConfiguration | undefined;
2821
- approvalConfiguration?: ApprovalConfiguration | undefined;
2822
- status: RegistryStatus | undefined;
2823
- statusReason?: string | undefined;
2824
- createdAt: Date | undefined;
2825
- updatedAt: Date | undefined;
2826
- }
2827
- export interface SetTokenVaultCMKRequest {
2828
- tokenVaultId?: string | undefined;
2829
- kmsConfiguration: KmsConfiguration | undefined;
2830
- }
2831
- export interface SetTokenVaultCMKResponse {
2832
- tokenVaultId: string | undefined;
2833
- kmsConfiguration: KmsConfiguration | undefined;
2834
- lastModifiedDate: Date | undefined;
2835
- }
2836
- export interface TagResourceRequest {
2837
- resourceArn: string | undefined;
2838
- tags: Record<string, string> | undefined;
2839
- }
2840
- export interface TagResourceResponse {}
2841
- export interface UntagResourceRequest {
2842
- resourceArn: string | undefined;
2843
- tagKeys: string[] | undefined;
2844
- }
2845
- export interface UntagResourceResponse {}