@aws-sdk/client-bedrock-agentcore-control 3.1039.0 → 3.1041.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 (28) hide show
  1. package/dist-cjs/index.js +24 -0
  2. package/dist-cjs/schemas/schemas_0.js +154 -49
  3. package/dist-es/models/enums.js +20 -0
  4. package/dist-es/schemas/schemas_0.js +144 -40
  5. package/dist-types/commands/CreateGatewayTargetCommand.d.ts +2 -2
  6. package/dist-types/commands/CreateHarnessCommand.d.ts +2 -2
  7. package/dist-types/commands/CreateMemoryCommand.d.ts +233 -2
  8. package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +22 -2
  9. package/dist-types/commands/DeleteHarnessCommand.d.ts +1 -1
  10. package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -1
  11. package/dist-types/commands/GetHarnessCommand.d.ts +1 -1
  12. package/dist-types/commands/GetMemoryCommand.d.ts +69 -0
  13. package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +10 -0
  14. package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -1
  15. package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +2 -2
  16. package/dist-types/commands/UpdateHarnessCommand.d.ts +2 -2
  17. package/dist-types/commands/UpdateMemoryCommand.d.ts +235 -0
  18. package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +22 -2
  19. package/dist-types/models/enums.d.ts +60 -0
  20. package/dist-types/models/models_0.d.ts +240 -250
  21. package/dist-types/models/models_1.d.ts +340 -4
  22. package/dist-types/schemas/schemas_0.d.ts +11 -0
  23. package/dist-types/ts3.4/commands/CreateMemoryCommand.d.ts +1 -2
  24. package/dist-types/ts3.4/models/enums.d.ts +28 -0
  25. package/dist-types/ts3.4/models/models_0.d.ts +90 -103
  26. package/dist-types/ts3.4/models/models_1.d.ts +130 -4
  27. package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  28. package/package.json +5 -5
@@ -54,6 +54,37 @@ declare const UpdateMemoryCommand_base: {
54
54
  * namespaceTemplates: [
55
55
  * "STRING_VALUE",
56
56
  * ],
57
+ * memoryRecordSchema: { // MemoryRecordSchema
58
+ * metadataSchema: [ // MetadataSchemaList
59
+ * { // MetadataSchemaEntry
60
+ * key: "STRING_VALUE", // required
61
+ * type: "STRING" || "STRINGLIST" || "NUMBER",
62
+ * extractionConfig: { // ExtractionConfig Union: only one key present
63
+ * llmExtractionConfig: { // LlmExtractionConfig
64
+ * llmExtractionInstruction: "STRING_VALUE",
65
+ * definition: "STRING_VALUE", // required
66
+ * validation: { // Validation Union: only one key present
67
+ * stringValidation: { // StringValidation
68
+ * allowedValues: [ // AllowedStringValuesList // required
69
+ * "STRING_VALUE",
70
+ * ],
71
+ * },
72
+ * stringListValidation: { // StringListValidation
73
+ * allowedValues: [ // AllowedStringListValuesList
74
+ * "STRING_VALUE",
75
+ * ],
76
+ * maxItems: Number("int"),
77
+ * },
78
+ * numberValidation: { // NumberValidation
79
+ * minValue: Number("double"),
80
+ * maxValue: Number("double"),
81
+ * },
82
+ * },
83
+ * },
84
+ * },
85
+ * },
86
+ * ],
87
+ * },
57
88
  * },
58
89
  * summaryMemoryStrategy: { // SummaryMemoryStrategyInput
59
90
  * name: "STRING_VALUE", // required
@@ -64,6 +95,37 @@ declare const UpdateMemoryCommand_base: {
64
95
  * namespaceTemplates: [
65
96
  * "STRING_VALUE",
66
97
  * ],
98
+ * memoryRecordSchema: {
99
+ * metadataSchema: [
100
+ * {
101
+ * key: "STRING_VALUE", // required
102
+ * type: "STRING" || "STRINGLIST" || "NUMBER",
103
+ * extractionConfig: {// Union: only one key present
104
+ * llmExtractionConfig: {
105
+ * llmExtractionInstruction: "STRING_VALUE",
106
+ * definition: "STRING_VALUE", // required
107
+ * validation: {// Union: only one key present
108
+ * stringValidation: {
109
+ * allowedValues: [ // required
110
+ * "STRING_VALUE",
111
+ * ],
112
+ * },
113
+ * stringListValidation: {
114
+ * allowedValues: [
115
+ * "STRING_VALUE",
116
+ * ],
117
+ * maxItems: Number("int"),
118
+ * },
119
+ * numberValidation: {
120
+ * minValue: Number("double"),
121
+ * maxValue: Number("double"),
122
+ * },
123
+ * },
124
+ * },
125
+ * },
126
+ * },
127
+ * ],
128
+ * },
67
129
  * },
68
130
  * userPreferenceMemoryStrategy: { // UserPreferenceMemoryStrategyInput
69
131
  * name: "STRING_VALUE", // required
@@ -72,6 +134,37 @@ declare const UpdateMemoryCommand_base: {
72
134
  * "STRING_VALUE",
73
135
  * ],
74
136
  * namespaceTemplates: "<NamespacesList>",
137
+ * memoryRecordSchema: {
138
+ * metadataSchema: [
139
+ * {
140
+ * key: "STRING_VALUE", // required
141
+ * type: "STRING" || "STRINGLIST" || "NUMBER",
142
+ * extractionConfig: {// Union: only one key present
143
+ * llmExtractionConfig: {
144
+ * llmExtractionInstruction: "STRING_VALUE",
145
+ * definition: "STRING_VALUE", // required
146
+ * validation: {// Union: only one key present
147
+ * stringValidation: {
148
+ * allowedValues: [ // required
149
+ * "STRING_VALUE",
150
+ * ],
151
+ * },
152
+ * stringListValidation: {
153
+ * allowedValues: [
154
+ * "STRING_VALUE",
155
+ * ],
156
+ * maxItems: Number("int"),
157
+ * },
158
+ * numberValidation: {
159
+ * minValue: Number("double"),
160
+ * maxValue: Number("double"),
161
+ * },
162
+ * },
163
+ * },
164
+ * },
165
+ * },
166
+ * ],
167
+ * },
75
168
  * },
76
169
  * customMemoryStrategy: { // CustomMemoryStrategyInput
77
170
  * name: "STRING_VALUE", // required
@@ -119,6 +212,37 @@ declare const UpdateMemoryCommand_base: {
119
212
  * modelId: "STRING_VALUE", // required
120
213
  * namespaces: "<NamespacesList>",
121
214
  * namespaceTemplates: "<NamespacesList>",
215
+ * memoryRecordSchema: {
216
+ * metadataSchema: [
217
+ * {
218
+ * key: "STRING_VALUE", // required
219
+ * type: "STRING" || "STRINGLIST" || "NUMBER",
220
+ * extractionConfig: {// Union: only one key present
221
+ * llmExtractionConfig: {
222
+ * llmExtractionInstruction: "STRING_VALUE",
223
+ * definition: "STRING_VALUE", // required
224
+ * validation: {// Union: only one key present
225
+ * stringValidation: {
226
+ * allowedValues: [ // required
227
+ * "STRING_VALUE",
228
+ * ],
229
+ * },
230
+ * stringListValidation: {
231
+ * allowedValues: [
232
+ * "STRING_VALUE",
233
+ * ],
234
+ * maxItems: Number("int"),
235
+ * },
236
+ * numberValidation: {
237
+ * minValue: Number("double"),
238
+ * maxValue: Number("double"),
239
+ * },
240
+ * },
241
+ * },
242
+ * },
243
+ * },
244
+ * ],
245
+ * },
122
246
  * },
123
247
  * },
124
248
  * selfManagedConfiguration: { // SelfManagedConfigurationInput
@@ -142,6 +266,37 @@ declare const UpdateMemoryCommand_base: {
142
266
  * historicalContextWindowSize: Number("int"),
143
267
  * },
144
268
  * },
269
+ * memoryRecordSchema: {
270
+ * metadataSchema: [
271
+ * {
272
+ * key: "STRING_VALUE", // required
273
+ * type: "STRING" || "STRINGLIST" || "NUMBER",
274
+ * extractionConfig: {// Union: only one key present
275
+ * llmExtractionConfig: {
276
+ * llmExtractionInstruction: "STRING_VALUE",
277
+ * definition: "STRING_VALUE", // required
278
+ * validation: {// Union: only one key present
279
+ * stringValidation: {
280
+ * allowedValues: [ // required
281
+ * "STRING_VALUE",
282
+ * ],
283
+ * },
284
+ * stringListValidation: {
285
+ * allowedValues: [
286
+ * "STRING_VALUE",
287
+ * ],
288
+ * maxItems: Number("int"),
289
+ * },
290
+ * numberValidation: {
291
+ * minValue: Number("double"),
292
+ * maxValue: Number("double"),
293
+ * },
294
+ * },
295
+ * },
296
+ * },
297
+ * },
298
+ * ],
299
+ * },
145
300
  * },
146
301
  * episodicMemoryStrategy: { // EpisodicMemoryStrategyInput
147
302
  * name: "STRING_VALUE", // required
@@ -151,7 +306,9 @@ declare const UpdateMemoryCommand_base: {
151
306
  * reflectionConfiguration: { // EpisodicReflectionConfigurationInput
152
307
  * namespaces: "<NamespacesList>",
153
308
  * namespaceTemplates: "<NamespacesList>",
309
+ * memoryRecordSchema: "<MemoryRecordSchema>",
154
310
  * },
311
+ * memoryRecordSchema: "<MemoryRecordSchema>",
155
312
  * },
156
313
  * },
157
314
  * ],
@@ -202,6 +359,7 @@ declare const UpdateMemoryCommand_base: {
202
359
  * episodicReflectionConfiguration: {
203
360
  * namespaces: "<NamespacesList>",
204
361
  * namespaceTemplates: "<NamespacesList>",
362
+ * memoryRecordSchema: "<MemoryRecordSchema>",
205
363
  * },
206
364
  * customReflectionConfiguration: { // CustomReflectionConfigurationInput Union: only one key present
207
365
  * episodicReflectionOverride: {
@@ -209,6 +367,7 @@ declare const UpdateMemoryCommand_base: {
209
367
  * modelId: "STRING_VALUE", // required
210
368
  * namespaces: "<NamespacesList>",
211
369
  * namespaceTemplates: "<NamespacesList>",
370
+ * memoryRecordSchema: "<MemoryRecordSchema>",
212
371
  * },
213
372
  * },
214
373
  * },
@@ -233,6 +392,7 @@ declare const UpdateMemoryCommand_base: {
233
392
  * historicalContextWindowSize: Number("int"),
234
393
  * },
235
394
  * },
395
+ * memoryRecordSchema: "<MemoryRecordSchema>",
236
396
  * },
237
397
  * ],
238
398
  * deleteMemoryStrategies: [ // DeleteMemoryStrategiesList
@@ -241,6 +401,12 @@ declare const UpdateMemoryCommand_base: {
241
401
  * },
242
402
  * ],
243
403
  * },
404
+ * addIndexedKeys: [ // IndexedKeysList
405
+ * { // IndexedKey
406
+ * key: "STRING_VALUE", // required
407
+ * type: "STRING" || "STRINGLIST" || "NUMBER", // required
408
+ * },
409
+ * ],
244
410
  * streamDeliveryResources: { // StreamDeliveryResources
245
411
  * resources: [ // StreamDeliveryResourcesList // required
246
412
  * { // StreamDeliveryResource Union: only one key present
@@ -326,6 +492,37 @@ declare const UpdateMemoryCommand_base: {
326
492
  * // namespaceTemplates: [
327
493
  * // "STRING_VALUE",
328
494
  * // ],
495
+ * // memoryRecordSchema: { // MemoryRecordSchema
496
+ * // metadataSchema: [ // MetadataSchemaList
497
+ * // { // MetadataSchemaEntry
498
+ * // key: "STRING_VALUE", // required
499
+ * // type: "STRING" || "STRINGLIST" || "NUMBER",
500
+ * // extractionConfig: { // ExtractionConfig Union: only one key present
501
+ * // llmExtractionConfig: { // LlmExtractionConfig
502
+ * // llmExtractionInstruction: "STRING_VALUE",
503
+ * // definition: "STRING_VALUE", // required
504
+ * // validation: { // Validation Union: only one key present
505
+ * // stringValidation: { // StringValidation
506
+ * // allowedValues: [ // AllowedStringValuesList // required
507
+ * // "STRING_VALUE",
508
+ * // ],
509
+ * // },
510
+ * // stringListValidation: { // StringListValidation
511
+ * // allowedValues: [ // AllowedStringListValuesList
512
+ * // "STRING_VALUE",
513
+ * // ],
514
+ * // maxItems: Number("int"),
515
+ * // },
516
+ * // numberValidation: { // NumberValidation
517
+ * // minValue: Number("double"),
518
+ * // maxValue: Number("double"),
519
+ * // },
520
+ * // },
521
+ * // },
522
+ * // },
523
+ * // },
524
+ * // ],
525
+ * // },
329
526
  * // },
330
527
  * // },
331
528
  * // episodicReflectionConfiguration: { // EpisodicReflectionConfiguration
@@ -335,6 +532,37 @@ declare const UpdateMemoryCommand_base: {
335
532
  * // namespaceTemplates: [
336
533
  * // "STRING_VALUE",
337
534
  * // ],
535
+ * // memoryRecordSchema: {
536
+ * // metadataSchema: [
537
+ * // {
538
+ * // key: "STRING_VALUE", // required
539
+ * // type: "STRING" || "STRINGLIST" || "NUMBER",
540
+ * // extractionConfig: {// Union: only one key present
541
+ * // llmExtractionConfig: {
542
+ * // llmExtractionInstruction: "STRING_VALUE",
543
+ * // definition: "STRING_VALUE", // required
544
+ * // validation: {// Union: only one key present
545
+ * // stringValidation: {
546
+ * // allowedValues: [ // required
547
+ * // "STRING_VALUE",
548
+ * // ],
549
+ * // },
550
+ * // stringListValidation: {
551
+ * // allowedValues: [
552
+ * // "STRING_VALUE",
553
+ * // ],
554
+ * // maxItems: Number("int"),
555
+ * // },
556
+ * // numberValidation: {
557
+ * // minValue: Number("double"),
558
+ * // maxValue: Number("double"),
559
+ * // },
560
+ * // },
561
+ * // },
562
+ * // },
563
+ * // },
564
+ * // ],
565
+ * // },
338
566
  * // },
339
567
  * // },
340
568
  * // selfManagedConfiguration: { // SelfManagedConfiguration
@@ -364,6 +592,13 @@ declare const UpdateMemoryCommand_base: {
364
592
  * // createdAt: new Date("TIMESTAMP"),
365
593
  * // updatedAt: new Date("TIMESTAMP"),
366
594
  * // status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED",
595
+ * // memoryRecordSchema: "<MemoryRecordSchema>",
596
+ * // },
597
+ * // ],
598
+ * // indexedKeys: [ // IndexedKeysList
599
+ * // { // IndexedKey
600
+ * // key: "STRING_VALUE", // required
601
+ * // type: "STRING" || "STRINGLIST" || "NUMBER", // required
367
602
  * // },
368
603
  * // ],
369
604
  * // streamDeliveryResources: { // StreamDeliveryResources
@@ -55,8 +55,8 @@ declare const UpdateOauth2CredentialProviderCommand_base: {
55
55
  * ],
56
56
  * },
57
57
  * },
58
- * clientId: "STRING_VALUE", // required
59
- * clientSecret: "STRING_VALUE", // required
58
+ * clientId: "STRING_VALUE",
59
+ * clientSecret: "STRING_VALUE",
60
60
  * privateEndpoint: { // PrivateEndpoint Union: only one key present
61
61
  * selfManagedLatticeResource: { // SelfManagedLatticeResource Union: only one key present
62
62
  * resourceConfigurationIdentifier: "STRING_VALUE",
@@ -100,6 +100,16 @@ declare const UpdateOauth2CredentialProviderCommand_base: {
100
100
  * },
101
101
  * },
102
102
  * ],
103
+ * onBehalfOfTokenExchangeConfig: { // OnBehalfOfTokenExchangeConfigType
104
+ * grantType: "TOKEN_EXCHANGE" || "JWT_AUTHORIZATION_GRANT", // required
105
+ * tokenExchangeGrantTypeConfig: { // TokenExchangeGrantTypeConfigType
106
+ * actorTokenContent: "NONE" || "M2M" || "AWS_IAM_ID_TOKEN_JWT", // required
107
+ * actorTokenScopes: [ // ScopesListType
108
+ * "STRING_VALUE",
109
+ * ],
110
+ * },
111
+ * },
112
+ * clientAuthenticationMethod: "CLIENT_SECRET_BASIC" || "CLIENT_SECRET_POST" || "AWS_IAM_ID_TOKEN_JWT",
103
113
  * },
104
114
  * googleOauth2ProviderConfig: { // GoogleOauth2ProviderConfigInput
105
115
  * clientId: "STRING_VALUE", // required
@@ -209,6 +219,16 @@ declare const UpdateOauth2CredentialProviderCommand_base: {
209
219
  * // },
210
220
  * // },
211
221
  * // ],
222
+ * // onBehalfOfTokenExchangeConfig: { // OnBehalfOfTokenExchangeConfigType
223
+ * // grantType: "TOKEN_EXCHANGE" || "JWT_AUTHORIZATION_GRANT", // required
224
+ * // tokenExchangeGrantTypeConfig: { // TokenExchangeGrantTypeConfigType
225
+ * // actorTokenContent: "NONE" || "M2M" || "AWS_IAM_ID_TOKEN_JWT", // required
226
+ * // actorTokenScopes: [ // ScopesListType
227
+ * // "STRING_VALUE",
228
+ * // ],
229
+ * // },
230
+ * // },
231
+ * // clientAuthenticationMethod: "CLIENT_SECRET_BASIC" || "CLIENT_SECRET_POST" || "AWS_IAM_ID_TOKEN_JWT",
212
232
  * // },
213
233
  * // googleOauth2ProviderConfig: { // GoogleOauth2ProviderConfigOutput
214
234
  * // oauthDiscovery: {// Union: only one key present
@@ -1,3 +1,16 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ActorTokenContentType: {
6
+ readonly AWS_IAM_ID_TOKEN_JWT: "AWS_IAM_ID_TOKEN_JWT";
7
+ readonly M2M: "M2M";
8
+ readonly NONE: "NONE";
9
+ };
10
+ /**
11
+ * @public
12
+ */
13
+ export type ActorTokenContentType = (typeof ActorTokenContentType)[keyof typeof ActorTokenContentType];
1
14
  /**
2
15
  * @public
3
16
  * @enum
@@ -422,6 +435,7 @@ export type ApiKeyCredentialLocation = (typeof ApiKeyCredentialLocation)[keyof t
422
435
  export declare const OAuthGrantType: {
423
436
  readonly AUTHORIZATION_CODE: "AUTHORIZATION_CODE";
424
437
  readonly CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
438
+ readonly TOKEN_EXCHANGE: "TOKEN_EXCHANGE";
425
439
  };
426
440
  /**
427
441
  * @public
@@ -577,6 +591,19 @@ export declare const HarnessStatus: {
577
591
  * @public
578
592
  */
579
593
  export type HarnessStatus = (typeof HarnessStatus)[keyof typeof HarnessStatus];
594
+ /**
595
+ * @public
596
+ * @enum
597
+ */
598
+ export declare const MetadataValueType: {
599
+ readonly NUMBER: "NUMBER";
600
+ readonly STRING: "STRING";
601
+ readonly STRINGLIST: "STRINGLIST";
602
+ };
603
+ /**
604
+ * @public
605
+ */
606
+ export type MetadataValueType = (typeof MetadataValueType)[keyof typeof MetadataValueType];
580
607
  /**
581
608
  * @public
582
609
  * @enum
@@ -705,6 +732,39 @@ export declare const CredentialProviderVendorType: {
705
732
  * @public
706
733
  */
707
734
  export type CredentialProviderVendorType = (typeof CredentialProviderVendorType)[keyof typeof CredentialProviderVendorType];
735
+ /**
736
+ * @public
737
+ * @enum
738
+ */
739
+ export declare const ClientAuthenticationMethodType: {
740
+ readonly AWS_IAM_ID_TOKEN_JWT: "AWS_IAM_ID_TOKEN_JWT";
741
+ readonly CLIENT_SECRET_BASIC: "CLIENT_SECRET_BASIC";
742
+ readonly CLIENT_SECRET_POST: "CLIENT_SECRET_POST";
743
+ };
744
+ /**
745
+ * @public
746
+ */
747
+ export type ClientAuthenticationMethodType = (typeof ClientAuthenticationMethodType)[keyof typeof ClientAuthenticationMethodType];
748
+ /**
749
+ * @public
750
+ * @enum
751
+ */
752
+ export declare const OnBehalfOfTokenExchangeGrantTypeType: {
753
+ /**
754
+ * RFC 7523 - Adopted by Microsoft Entra ID
755
+ * grant type = urn:ietf:params:oauth:grant-type:jwt-bearer
756
+ */
757
+ readonly JWT_AUTHORIZATION_GRANT: "JWT_AUTHORIZATION_GRANT";
758
+ /**
759
+ * RFC 8693 - Adopted by majority of IDPs supporting OBO
760
+ * grant type = urn:ietf:params:oauth:grant-type:token-exchange
761
+ */
762
+ readonly TOKEN_EXCHANGE: "TOKEN_EXCHANGE";
763
+ };
764
+ /**
765
+ * @public
766
+ */
767
+ export type OnBehalfOfTokenExchangeGrantTypeType = (typeof OnBehalfOfTokenExchangeGrantTypeType)[keyof typeof OnBehalfOfTokenExchangeGrantTypeType];
708
768
  /**
709
769
  * @public
710
770
  * @enum