@aws-sdk/client-bedrock-agentcore 3.1148.0 → 3.1150.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.
package/dist-cjs/index.js CHANGED
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1147.0";
73
+ var version = "3.1149.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -133,6 +133,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
133
133
  customEndpointFunctions.aws = awsEndpointFunctions;
134
134
 
135
135
  class BedrockAgentCoreServiceException extends ServiceException$1 {
136
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentcore#BedrockAgentCoreServiceException";
136
137
  constructor(options) {
137
138
  super(options);
138
139
  Object.setPrototypeOf(this, BedrockAgentCoreServiceException.prototype);
@@ -140,6 +141,7 @@ class BedrockAgentCoreServiceException extends ServiceException$1 {
140
141
  }
141
142
 
142
143
  class AccessDeniedException extends BedrockAgentCoreServiceException {
144
+ static shapeId = "com.amazonaws.bedrockagentcore#AccessDeniedException";
143
145
  name = "AccessDeniedException";
144
146
  $fault = "client";
145
147
  constructor(opts) {
@@ -152,6 +154,7 @@ class AccessDeniedException extends BedrockAgentCoreServiceException {
152
154
  }
153
155
  }
154
156
  class InternalServerException extends BedrockAgentCoreServiceException {
157
+ static shapeId = "com.amazonaws.bedrockagentcore#InternalServerException";
155
158
  name = "InternalServerException";
156
159
  $fault = "server";
157
160
  constructor(opts) {
@@ -164,6 +167,7 @@ class InternalServerException extends BedrockAgentCoreServiceException {
164
167
  }
165
168
  }
166
169
  class ResourceNotFoundException extends BedrockAgentCoreServiceException {
170
+ static shapeId = "com.amazonaws.bedrockagentcore#ResourceNotFoundException";
167
171
  name = "ResourceNotFoundException";
168
172
  $fault = "client";
169
173
  constructor(opts) {
@@ -176,6 +180,7 @@ class ResourceNotFoundException extends BedrockAgentCoreServiceException {
176
180
  }
177
181
  }
178
182
  class RetryableConflictException extends BedrockAgentCoreServiceException {
183
+ static shapeId = "com.amazonaws.bedrockagentcore#RetryableConflictException";
179
184
  name = "RetryableConflictException";
180
185
  $fault = "client";
181
186
  $retryable = {};
@@ -189,6 +194,7 @@ class RetryableConflictException extends BedrockAgentCoreServiceException {
189
194
  }
190
195
  }
191
196
  class RuntimeClientError extends BedrockAgentCoreServiceException {
197
+ static shapeId = "com.amazonaws.bedrockagentcore#RuntimeClientError";
192
198
  name = "RuntimeClientError";
193
199
  $fault = "client";
194
200
  constructor(opts) {
@@ -201,6 +207,7 @@ class RuntimeClientError extends BedrockAgentCoreServiceException {
201
207
  }
202
208
  }
203
209
  class ServiceQuotaExceededException extends BedrockAgentCoreServiceException {
210
+ static shapeId = "com.amazonaws.bedrockagentcore#ServiceQuotaExceededException";
204
211
  name = "ServiceQuotaExceededException";
205
212
  $fault = "client";
206
213
  constructor(opts) {
@@ -213,6 +220,7 @@ class ServiceQuotaExceededException extends BedrockAgentCoreServiceException {
213
220
  }
214
221
  }
215
222
  class ThrottlingException extends BedrockAgentCoreServiceException {
223
+ static shapeId = "com.amazonaws.bedrockagentcore#ThrottlingException";
216
224
  name = "ThrottlingException";
217
225
  $fault = "client";
218
226
  constructor(opts) {
@@ -225,6 +233,7 @@ class ThrottlingException extends BedrockAgentCoreServiceException {
225
233
  }
226
234
  }
227
235
  class ValidationException extends BedrockAgentCoreServiceException {
236
+ static shapeId = "com.amazonaws.bedrockagentcore#ValidationException";
228
237
  name = "ValidationException";
229
238
  $fault = "client";
230
239
  reason;
@@ -241,6 +250,7 @@ class ValidationException extends BedrockAgentCoreServiceException {
241
250
  }
242
251
  }
243
252
  class ConflictException extends BedrockAgentCoreServiceException {
253
+ static shapeId = "com.amazonaws.bedrockagentcore#ConflictException";
244
254
  name = "ConflictException";
245
255
  $fault = "client";
246
256
  constructor(opts) {
@@ -253,6 +263,7 @@ class ConflictException extends BedrockAgentCoreServiceException {
253
263
  }
254
264
  }
255
265
  class UnauthorizedException extends BedrockAgentCoreServiceException {
266
+ static shapeId = "com.amazonaws.bedrockagentcore#UnauthorizedException";
256
267
  name = "UnauthorizedException";
257
268
  $fault = "client";
258
269
  constructor(opts) {
@@ -265,6 +276,7 @@ class UnauthorizedException extends BedrockAgentCoreServiceException {
265
276
  }
266
277
  }
267
278
  class DuplicateIdException extends BedrockAgentCoreServiceException {
279
+ static shapeId = "com.amazonaws.bedrockagentcore#DuplicateIdException";
268
280
  name = "DuplicateIdException";
269
281
  $fault = "client";
270
282
  constructor(opts) {
@@ -277,6 +289,7 @@ class DuplicateIdException extends BedrockAgentCoreServiceException {
277
289
  }
278
290
  }
279
291
  class ServiceException extends BedrockAgentCoreServiceException {
292
+ static shapeId = "com.amazonaws.bedrockagentcore#ServiceException";
280
293
  name = "ServiceException";
281
294
  $fault = "server";
282
295
  constructor(opts) {
@@ -289,6 +302,7 @@ class ServiceException extends BedrockAgentCoreServiceException {
289
302
  }
290
303
  }
291
304
  class ThrottledException extends BedrockAgentCoreServiceException {
305
+ static shapeId = "com.amazonaws.bedrockagentcore#ThrottledException";
292
306
  name = "ThrottledException";
293
307
  $fault = "client";
294
308
  constructor(opts) {
@@ -301,6 +315,7 @@ class ThrottledException extends BedrockAgentCoreServiceException {
301
315
  }
302
316
  }
303
317
  class InvalidInputException extends BedrockAgentCoreServiceException {
318
+ static shapeId = "com.amazonaws.bedrockagentcore#InvalidInputException";
304
319
  name = "InvalidInputException";
305
320
  $fault = "client";
306
321
  constructor(opts) {
@@ -313,6 +328,7 @@ class InvalidInputException extends BedrockAgentCoreServiceException {
313
328
  }
314
329
  }
315
330
  class SubscriptionRequiredException extends BedrockAgentCoreServiceException {
331
+ static shapeId = "com.amazonaws.bedrockagentcore#SubscriptionRequiredException";
316
332
  name = "SubscriptionRequiredException";
317
333
  $fault = "client";
318
334
  subscriptionUrl;
@@ -785,6 +801,7 @@ const _RE = "RightExpression";
785
801
  const _REC = "RecommendationEvaluationConfig";
786
802
  const _REL = "RecommendationEvaluatorList";
787
803
  const _RER = "RecommendationEvaluatorReference";
804
+ const _RES = "RecordExpirySpecification";
788
805
  const _RL = "ResourceLocation";
789
806
  const _RMR = "RetrieveMemoryRecords";
790
807
  const _RMRI = "RetrieveMemoryRecordsInput";
@@ -1055,6 +1072,7 @@ const _des = "descriptors";
1055
1072
  const _e = "error";
1056
1073
  const _eA = "evaluatorArn";
1057
1074
  const _eAm = "emailAddress";
1075
+ const _eAx = "expiresAt";
1058
1076
  const _eC = "exitCode";
1059
1077
  const _eCW = "embeddedCryptoWallet";
1060
1078
  const _eCf = "efsConfiguration";
@@ -1288,7 +1306,9 @@ const _rCed = "redactedContent";
1288
1306
  const _rCo = "rootCause";
1289
1307
  const _rD = "resultDestination";
1290
1308
  const _rE = "requestExpiry";
1309
+ const _rEDD = "recordExpiryDurationDays";
1291
1310
  const _rEI = "rootEventId";
1311
+ const _rES = "recordExpirySpecification";
1292
1312
  const _rH = "requestHost";
1293
1313
  const _rI = "recommendationId";
1294
1314
  const _rIe = "requestIdentifier";
@@ -1660,8 +1680,8 @@ var BasicAuth$ = [3, n0, _BA,
1660
1680
  ];
1661
1681
  var BatchCreateMemoryRecordsInput$ = [3, n0, _BCMRI,
1662
1682
  0,
1663
- [_mI, _rec, _cT],
1664
- [[0, 1], [() => MemoryRecordsCreateInputList, 0], [0, 4]], 2
1683
+ [_mI, _rec, _cT, _rES],
1684
+ [[0, 1], [() => MemoryRecordsCreateInputList, 0], [0, 4], () => RecordExpirySpecification$], 2
1665
1685
  ];
1666
1686
  var BatchCreateMemoryRecordsOutput$ = [3, n0, _BCMRO,
1667
1687
  0,
@@ -1690,8 +1710,8 @@ var BatchEvaluationTraceConfig$ = [3, n0, _BETC,
1690
1710
  ];
1691
1711
  var BatchUpdateMemoryRecordsInput$ = [3, n0, _BUMRI,
1692
1712
  0,
1693
- [_mI, _rec],
1694
- [[0, 1], [() => MemoryRecordsUpdateInputList, 0]], 2
1713
+ [_mI, _rec, _rES],
1714
+ [[0, 1], [() => MemoryRecordsUpdateInputList, 0], () => RecordExpirySpecification$], 2
1695
1715
  ];
1696
1716
  var BatchUpdateMemoryRecordsOutput$ = [3, n0, _BUMRO,
1697
1717
  0,
@@ -2730,8 +2750,8 @@ var MemoryMetadataFilterExpression$ = [3, n0, _MMFE,
2730
2750
  ];
2731
2751
  var MemoryRecord$ = [3, n0, _MR,
2732
2752
  0,
2733
- [_mRI, _co, _mSIe, _nam, _cA, _met],
2734
- [0, [() => MemoryContent$, 0], 0, 64 | 0, 4, () => MemoryRecordMetadataMap], 5
2753
+ [_mRI, _co, _mSIe, _nam, _cA, _tim, _met, _eAx],
2754
+ [0, [() => MemoryContent$, 0], 0, 64 | 0, 4, 4, () => MemoryRecordMetadataMap, 4], 5
2735
2755
  ];
2736
2756
  var MemoryRecordCreateInput$ = [3, n0, _MRCI,
2737
2757
  0,
@@ -2750,8 +2770,8 @@ var MemoryRecordOutput$ = [3, n0, _MRO,
2750
2770
  ];
2751
2771
  var MemoryRecordSummary$ = [3, n0, _MRS,
2752
2772
  0,
2753
- [_mRI, _co, _mSIe, _nam, _cA, _sco, _met],
2754
- [0, [() => MemoryContent$, 0], 0, 64 | 0, 4, 1, () => MemoryRecordMetadataMap], 5
2773
+ [_mRI, _co, _mSIe, _nam, _cA, _sco, _tim, _met],
2774
+ [0, [() => MemoryContent$, 0], 0, 64 | 0, 4, 1, 4, () => MemoryRecordMetadataMap], 5
2755
2775
  ];
2756
2776
  var MemoryRecordUpdateInput$ = [3, n0, _MRUI,
2757
2777
  0,
@@ -3764,6 +3784,11 @@ var RecommendationResult$ = [4, n0, _RR,
3764
3784
  [_sPRR, _tDRR],
3765
3785
  [[() => SystemPromptRecommendationResult$, 0], [() => ToolDescriptionRecommendationResult$, 0]]
3766
3786
  ];
3787
+ var RecordExpirySpecification$ = [4, n0, _RES,
3788
+ 0,
3789
+ [_rEDD, _act],
3790
+ [1, 0]
3791
+ ];
3767
3792
  var ResourceLocation$ = [4, n0, _RL,
3768
3793
  0,
3769
3794
  [_s_],
@@ -4717,6 +4742,9 @@ const HarnessStopReason = {
4717
4742
  TOOL_RESULT: "tool_result",
4718
4743
  TOOL_USE: "tool_use",
4719
4744
  };
4745
+ const RecordExpiryAction = {
4746
+ REMOVE: "REMOVE",
4747
+ };
4720
4748
  const MemoryRecordStatus = {
4721
4749
  FAILED: "FAILED",
4722
4750
  SUCCEEDED: "SUCCEEDED",
@@ -5284,6 +5312,8 @@ exports.RecommendationResultConfigurationBundle$ = RecommendationResultConfigura
5284
5312
  exports.RecommendationStatus = RecommendationStatus;
5285
5313
  exports.RecommendationSummary$ = RecommendationSummary$;
5286
5314
  exports.RecommendationType = RecommendationType;
5315
+ exports.RecordExpiryAction = RecordExpiryAction;
5316
+ exports.RecordExpirySpecification$ = RecordExpirySpecification$;
5287
5317
  exports.RegistryRecordStatus = RegistryRecordStatus;
5288
5318
  exports.RegistryRecordSummary$ = RegistryRecordSummary$;
5289
5319
  exports.ResourceContent$ = ResourceContent$;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class BedrockAgentCoreServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentcore#BedrockAgentCoreServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, BedrockAgentCoreServiceException.prototype);
@@ -247,6 +247,9 @@ export const HarnessStopReason = {
247
247
  TOOL_RESULT: "tool_result",
248
248
  TOOL_USE: "tool_use",
249
249
  };
250
+ export const RecordExpiryAction = {
251
+ REMOVE: "REMOVE",
252
+ };
250
253
  export const MemoryRecordStatus = {
251
254
  FAILED: "FAILED",
252
255
  SUCCEEDED: "SUCCEEDED",
@@ -1,5 +1,6 @@
1
1
  import { BedrockAgentCoreServiceException as __BaseException } from "./BedrockAgentCoreServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.bedrockagentcore#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class InternalServerException extends __BaseException {
16
+ static shapeId = "com.amazonaws.bedrockagentcore#InternalServerException";
15
17
  name = "InternalServerException";
16
18
  $fault = "server";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class InternalServerException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class ResourceNotFoundException extends __BaseException {
29
+ static shapeId = "com.amazonaws.bedrockagentcore#ResourceNotFoundException";
27
30
  name = "ResourceNotFoundException";
28
31
  $fault = "client";
29
32
  constructor(opts) {
@@ -36,6 +39,7 @@ export class ResourceNotFoundException extends __BaseException {
36
39
  }
37
40
  }
38
41
  export class RetryableConflictException extends __BaseException {
42
+ static shapeId = "com.amazonaws.bedrockagentcore#RetryableConflictException";
39
43
  name = "RetryableConflictException";
40
44
  $fault = "client";
41
45
  $retryable = {};
@@ -49,6 +53,7 @@ export class RetryableConflictException extends __BaseException {
49
53
  }
50
54
  }
51
55
  export class RuntimeClientError extends __BaseException {
56
+ static shapeId = "com.amazonaws.bedrockagentcore#RuntimeClientError";
52
57
  name = "RuntimeClientError";
53
58
  $fault = "client";
54
59
  constructor(opts) {
@@ -61,6 +66,7 @@ export class RuntimeClientError extends __BaseException {
61
66
  }
62
67
  }
63
68
  export class ServiceQuotaExceededException extends __BaseException {
69
+ static shapeId = "com.amazonaws.bedrockagentcore#ServiceQuotaExceededException";
64
70
  name = "ServiceQuotaExceededException";
65
71
  $fault = "client";
66
72
  constructor(opts) {
@@ -73,6 +79,7 @@ export class ServiceQuotaExceededException extends __BaseException {
73
79
  }
74
80
  }
75
81
  export class ThrottlingException extends __BaseException {
82
+ static shapeId = "com.amazonaws.bedrockagentcore#ThrottlingException";
76
83
  name = "ThrottlingException";
77
84
  $fault = "client";
78
85
  constructor(opts) {
@@ -85,6 +92,7 @@ export class ThrottlingException extends __BaseException {
85
92
  }
86
93
  }
87
94
  export class ValidationException extends __BaseException {
95
+ static shapeId = "com.amazonaws.bedrockagentcore#ValidationException";
88
96
  name = "ValidationException";
89
97
  $fault = "client";
90
98
  reason;
@@ -101,6 +109,7 @@ export class ValidationException extends __BaseException {
101
109
  }
102
110
  }
103
111
  export class ConflictException extends __BaseException {
112
+ static shapeId = "com.amazonaws.bedrockagentcore#ConflictException";
104
113
  name = "ConflictException";
105
114
  $fault = "client";
106
115
  constructor(opts) {
@@ -113,6 +122,7 @@ export class ConflictException extends __BaseException {
113
122
  }
114
123
  }
115
124
  export class UnauthorizedException extends __BaseException {
125
+ static shapeId = "com.amazonaws.bedrockagentcore#UnauthorizedException";
116
126
  name = "UnauthorizedException";
117
127
  $fault = "client";
118
128
  constructor(opts) {
@@ -125,6 +135,7 @@ export class UnauthorizedException extends __BaseException {
125
135
  }
126
136
  }
127
137
  export class DuplicateIdException extends __BaseException {
138
+ static shapeId = "com.amazonaws.bedrockagentcore#DuplicateIdException";
128
139
  name = "DuplicateIdException";
129
140
  $fault = "client";
130
141
  constructor(opts) {
@@ -137,6 +148,7 @@ export class DuplicateIdException extends __BaseException {
137
148
  }
138
149
  }
139
150
  export class ServiceException extends __BaseException {
151
+ static shapeId = "com.amazonaws.bedrockagentcore#ServiceException";
140
152
  name = "ServiceException";
141
153
  $fault = "server";
142
154
  constructor(opts) {
@@ -149,6 +161,7 @@ export class ServiceException extends __BaseException {
149
161
  }
150
162
  }
151
163
  export class ThrottledException extends __BaseException {
164
+ static shapeId = "com.amazonaws.bedrockagentcore#ThrottledException";
152
165
  name = "ThrottledException";
153
166
  $fault = "client";
154
167
  constructor(opts) {
@@ -161,6 +174,7 @@ export class ThrottledException extends __BaseException {
161
174
  }
162
175
  }
163
176
  export class InvalidInputException extends __BaseException {
177
+ static shapeId = "com.amazonaws.bedrockagentcore#InvalidInputException";
164
178
  name = "InvalidInputException";
165
179
  $fault = "client";
166
180
  constructor(opts) {
@@ -173,6 +187,7 @@ export class InvalidInputException extends __BaseException {
173
187
  }
174
188
  }
175
189
  export class SubscriptionRequiredException extends __BaseException {
190
+ static shapeId = "com.amazonaws.bedrockagentcore#SubscriptionRequiredException";
176
191
  name = "SubscriptionRequiredException";
177
192
  $fault = "client";
178
193
  subscriptionUrl;
@@ -454,6 +454,7 @@ const _RE = "RightExpression";
454
454
  const _REC = "RecommendationEvaluationConfig";
455
455
  const _REL = "RecommendationEvaluatorList";
456
456
  const _RER = "RecommendationEvaluatorReference";
457
+ const _RES = "RecordExpirySpecification";
457
458
  const _RL = "ResourceLocation";
458
459
  const _RMR = "RetrieveMemoryRecords";
459
460
  const _RMRI = "RetrieveMemoryRecordsInput";
@@ -724,6 +725,7 @@ const _des = "descriptors";
724
725
  const _e = "error";
725
726
  const _eA = "evaluatorArn";
726
727
  const _eAm = "emailAddress";
728
+ const _eAx = "expiresAt";
727
729
  const _eC = "exitCode";
728
730
  const _eCW = "embeddedCryptoWallet";
729
731
  const _eCf = "efsConfiguration";
@@ -957,7 +959,9 @@ const _rCed = "redactedContent";
957
959
  const _rCo = "rootCause";
958
960
  const _rD = "resultDestination";
959
961
  const _rE = "requestExpiry";
962
+ const _rEDD = "recordExpiryDurationDays";
960
963
  const _rEI = "rootEventId";
964
+ const _rES = "recordExpirySpecification";
961
965
  const _rH = "requestHost";
962
966
  const _rI = "recommendationId";
963
967
  const _rIe = "requestIdentifier";
@@ -1332,8 +1336,8 @@ export var BasicAuth$ = [3, n0, _BA,
1332
1336
  ];
1333
1337
  export var BatchCreateMemoryRecordsInput$ = [3, n0, _BCMRI,
1334
1338
  0,
1335
- [_mI, _rec, _cT],
1336
- [[0, 1], [() => MemoryRecordsCreateInputList, 0], [0, 4]], 2
1339
+ [_mI, _rec, _cT, _rES],
1340
+ [[0, 1], [() => MemoryRecordsCreateInputList, 0], [0, 4], () => RecordExpirySpecification$], 2
1337
1341
  ];
1338
1342
  export var BatchCreateMemoryRecordsOutput$ = [3, n0, _BCMRO,
1339
1343
  0,
@@ -1362,8 +1366,8 @@ export var BatchEvaluationTraceConfig$ = [3, n0, _BETC,
1362
1366
  ];
1363
1367
  export var BatchUpdateMemoryRecordsInput$ = [3, n0, _BUMRI,
1364
1368
  0,
1365
- [_mI, _rec],
1366
- [[0, 1], [() => MemoryRecordsUpdateInputList, 0]], 2
1369
+ [_mI, _rec, _rES],
1370
+ [[0, 1], [() => MemoryRecordsUpdateInputList, 0], () => RecordExpirySpecification$], 2
1367
1371
  ];
1368
1372
  export var BatchUpdateMemoryRecordsOutput$ = [3, n0, _BUMRO,
1369
1373
  0,
@@ -2402,8 +2406,8 @@ export var MemoryMetadataFilterExpression$ = [3, n0, _MMFE,
2402
2406
  ];
2403
2407
  export var MemoryRecord$ = [3, n0, _MR,
2404
2408
  0,
2405
- [_mRI, _co, _mSIe, _nam, _cA, _met],
2406
- [0, [() => MemoryContent$, 0], 0, 64 | 0, 4, () => MemoryRecordMetadataMap], 5
2409
+ [_mRI, _co, _mSIe, _nam, _cA, _tim, _met, _eAx],
2410
+ [0, [() => MemoryContent$, 0], 0, 64 | 0, 4, 4, () => MemoryRecordMetadataMap, 4], 5
2407
2411
  ];
2408
2412
  export var MemoryRecordCreateInput$ = [3, n0, _MRCI,
2409
2413
  0,
@@ -2422,8 +2426,8 @@ export var MemoryRecordOutput$ = [3, n0, _MRO,
2422
2426
  ];
2423
2427
  export var MemoryRecordSummary$ = [3, n0, _MRS,
2424
2428
  0,
2425
- [_mRI, _co, _mSIe, _nam, _cA, _sco, _met],
2426
- [0, [() => MemoryContent$, 0], 0, 64 | 0, 4, 1, () => MemoryRecordMetadataMap], 5
2429
+ [_mRI, _co, _mSIe, _nam, _cA, _sco, _tim, _met],
2430
+ [0, [() => MemoryContent$, 0], 0, 64 | 0, 4, 1, 4, () => MemoryRecordMetadataMap], 5
2427
2431
  ];
2428
2432
  export var MemoryRecordUpdateInput$ = [3, n0, _MRUI,
2429
2433
  0,
@@ -3465,6 +3469,11 @@ export var RecommendationResult$ = [4, n0, _RR,
3465
3469
  [_sPRR, _tDRR],
3466
3470
  [[() => SystemPromptRecommendationResult$, 0], [() => ToolDescriptionRecommendationResult$, 0]]
3467
3471
  ];
3472
+ export var RecordExpirySpecification$ = [4, n0, _RES,
3473
+ 0,
3474
+ [_rEDD, _act],
3475
+ [1, 0]
3476
+ ];
3468
3477
  export var ResourceLocation$ = [4, n0, _RL,
3469
3478
  0,
3470
3479
  [_s_],
@@ -59,6 +59,10 @@ declare const BatchCreateMemoryRecordsCommand_base: {
59
59
  * },
60
60
  * ],
61
61
  * clientToken: "STRING_VALUE",
62
+ * recordExpirySpecification: { // RecordExpirySpecification Union: only one key present
63
+ * recordExpiryDurationDays: Number("int"),
64
+ * action: "REMOVE",
65
+ * },
62
66
  * };
63
67
  * const command = new BatchCreateMemoryRecordsCommand(input);
64
68
  * const response = await client.send(command);
@@ -61,6 +61,10 @@ declare const BatchUpdateMemoryRecordsCommand_base: {
61
61
  * },
62
62
  * },
63
63
  * ],
64
+ * recordExpirySpecification: { // RecordExpirySpecification Union: only one key present
65
+ * recordExpiryDurationDays: Number("int"),
66
+ * action: "REMOVE",
67
+ * },
64
68
  * };
65
69
  * const command = new BatchUpdateMemoryRecordsCommand(input);
66
70
  * const response = await client.send(command);
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DeleteEventInput, DeleteEventOutput } from "../models/models_0";
2
+ import type { DeleteEventInput } from "../models/models_0";
3
+ import type { DeleteEventOutput } from "../models/models_1";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -51,6 +51,7 @@ declare const GetMemoryRecordCommand_base: {
51
51
  * // "STRING_VALUE",
52
52
  * // ],
53
53
  * // createdAt: new Date("TIMESTAMP"), // required
54
+ * // timestamp: new Date("TIMESTAMP"),
54
55
  * // metadata: { // MemoryRecordMetadataMap
55
56
  * // "<keys>": { // MemoryRecordMetadataValue Union: only one key present
56
57
  * // stringValue: "STRING_VALUE",
@@ -61,6 +62,7 @@ declare const GetMemoryRecordCommand_base: {
61
62
  * // dateTimeValue: new Date("TIMESTAMP"),
62
63
  * // },
63
64
  * // },
65
+ * // expiresAt: new Date("TIMESTAMP"),
64
66
  * // },
65
67
  * // };
66
68
  *
@@ -74,6 +74,7 @@ declare const ListMemoryRecordsCommand_base: {
74
74
  * // ],
75
75
  * // createdAt: new Date("TIMESTAMP"), // required
76
76
  * // score: Number("double"),
77
+ * // timestamp: new Date("TIMESTAMP"),
77
78
  * // metadata: { // MemoryRecordMetadataMap
78
79
  * // "<keys>": { // MemoryRecordMetadataValue Union: only one key present
79
80
  * // stringValue: "STRING_VALUE",
@@ -78,6 +78,7 @@ declare const RetrieveMemoryRecordsCommand_base: {
78
78
  * // ],
79
79
  * // createdAt: new Date("TIMESTAMP"), // required
80
80
  * // score: Number("double"),
81
+ * // timestamp: new Date("TIMESTAMP"),
81
82
  * // metadata: { // MemoryRecordMetadataMap
82
83
  * // "<keys>": { // MemoryRecordMetadataValue Union: only one key present
83
84
  * // stringValue: "STRING_VALUE",
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from BedrockAgentCore service.
8
8
  */
9
9
  export declare class BedrockAgentCoreServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -558,6 +558,17 @@ export declare const HarnessStopReason: {
558
558
  * @public
559
559
  */
560
560
  export type HarnessStopReason = (typeof HarnessStopReason)[keyof typeof HarnessStopReason];
561
+ /**
562
+ * @public
563
+ * @enum
564
+ */
565
+ export declare const RecordExpiryAction: {
566
+ readonly REMOVE: "REMOVE";
567
+ };
568
+ /**
569
+ * @public
570
+ */
571
+ export type RecordExpiryAction = (typeof RecordExpiryAction)[keyof typeof RecordExpiryAction];
561
572
  /**
562
573
  * @public
563
574
  * @enum
@@ -7,6 +7,7 @@ import type { ValidationExceptionField } from "./models_0";
7
7
  * @public
8
8
  */
9
9
  export declare class AccessDeniedException extends __BaseException {
10
+ static readonly shapeId: string;
10
11
  readonly name: "AccessDeniedException";
11
12
  readonly $fault: "client";
12
13
  /**
@@ -19,6 +20,7 @@ export declare class AccessDeniedException extends __BaseException {
19
20
  * @public
20
21
  */
21
22
  export declare class InternalServerException extends __BaseException {
23
+ static readonly shapeId: string;
22
24
  readonly name: "InternalServerException";
23
25
  readonly $fault: "server";
24
26
  /**
@@ -31,6 +33,7 @@ export declare class InternalServerException extends __BaseException {
31
33
  * @public
32
34
  */
33
35
  export declare class ResourceNotFoundException extends __BaseException {
36
+ static readonly shapeId: string;
34
37
  readonly name: "ResourceNotFoundException";
35
38
  readonly $fault: "client";
36
39
  /**
@@ -43,6 +46,7 @@ export declare class ResourceNotFoundException extends __BaseException {
43
46
  * @public
44
47
  */
45
48
  export declare class RetryableConflictException extends __BaseException {
49
+ static readonly shapeId: string;
46
50
  readonly name: "RetryableConflictException";
47
51
  readonly $fault: "client";
48
52
  $retryable: {};
@@ -56,6 +60,7 @@ export declare class RetryableConflictException extends __BaseException {
56
60
  * @public
57
61
  */
58
62
  export declare class RuntimeClientError extends __BaseException {
63
+ static readonly shapeId: string;
59
64
  readonly name: "RuntimeClientError";
60
65
  readonly $fault: "client";
61
66
  /**
@@ -68,6 +73,7 @@ export declare class RuntimeClientError extends __BaseException {
68
73
  * @public
69
74
  */
70
75
  export declare class ServiceQuotaExceededException extends __BaseException {
76
+ static readonly shapeId: string;
71
77
  readonly name: "ServiceQuotaExceededException";
72
78
  readonly $fault: "client";
73
79
  /**
@@ -80,6 +86,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
80
86
  * @public
81
87
  */
82
88
  export declare class ThrottlingException extends __BaseException {
89
+ static readonly shapeId: string;
83
90
  readonly name: "ThrottlingException";
84
91
  readonly $fault: "client";
85
92
  /**
@@ -92,6 +99,7 @@ export declare class ThrottlingException extends __BaseException {
92
99
  * @public
93
100
  */
94
101
  export declare class ValidationException extends __BaseException {
102
+ static readonly shapeId: string;
95
103
  readonly name: "ValidationException";
96
104
  readonly $fault: "client";
97
105
  reason: ValidationExceptionReason | undefined;
@@ -106,6 +114,7 @@ export declare class ValidationException extends __BaseException {
106
114
  * @public
107
115
  */
108
116
  export declare class ConflictException extends __BaseException {
117
+ static readonly shapeId: string;
109
118
  readonly name: "ConflictException";
110
119
  readonly $fault: "client";
111
120
  /**
@@ -118,6 +127,7 @@ export declare class ConflictException extends __BaseException {
118
127
  * @public
119
128
  */
120
129
  export declare class UnauthorizedException extends __BaseException {
130
+ static readonly shapeId: string;
121
131
  readonly name: "UnauthorizedException";
122
132
  readonly $fault: "client";
123
133
  /**
@@ -130,6 +140,7 @@ export declare class UnauthorizedException extends __BaseException {
130
140
  * @public
131
141
  */
132
142
  export declare class DuplicateIdException extends __BaseException {
143
+ static readonly shapeId: string;
133
144
  readonly name: "DuplicateIdException";
134
145
  readonly $fault: "client";
135
146
  /**
@@ -142,6 +153,7 @@ export declare class DuplicateIdException extends __BaseException {
142
153
  * @public
143
154
  */
144
155
  export declare class ServiceException extends __BaseException {
156
+ static readonly shapeId: string;
145
157
  readonly name: "ServiceException";
146
158
  readonly $fault: "server";
147
159
  /**
@@ -154,6 +166,7 @@ export declare class ServiceException extends __BaseException {
154
166
  * @public
155
167
  */
156
168
  export declare class ThrottledException extends __BaseException {
169
+ static readonly shapeId: string;
157
170
  readonly name: "ThrottledException";
158
171
  readonly $fault: "client";
159
172
  /**
@@ -166,6 +179,7 @@ export declare class ThrottledException extends __BaseException {
166
179
  * @public
167
180
  */
168
181
  export declare class InvalidInputException extends __BaseException {
182
+ static readonly shapeId: string;
169
183
  readonly name: "InvalidInputException";
170
184
  readonly $fault: "client";
171
185
  /**
@@ -178,6 +192,7 @@ export declare class InvalidInputException extends __BaseException {
178
192
  * @public
179
193
  */
180
194
  export declare class SubscriptionRequiredException extends __BaseException {
195
+ static readonly shapeId: string;
181
196
  readonly name: "SubscriptionRequiredException";
182
197
  readonly $fault: "client";
183
198
  /**
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType, StreamingBlobTypes } from "@smithy/types";
2
- import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CapacityProviderSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, ExtractionMode, HarnessBedrockApiFormat, HarnessConversationRole, HarnessHookDecision, HarnessHookEventType, HarnessOpenAiApiFormat, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, InsightsFailureCategory, LanguageRuntime, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, PaymentHttpMethodType, ProgrammingLanguage, RecommendationStatus, RecommendationType, ResourceContentType, ResultDestination, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
2
+ import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CapacityProviderSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, ExtractionMode, HarnessBedrockApiFormat, HarnessConversationRole, HarnessHookDecision, HarnessHookEventType, HarnessOpenAiApiFormat, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, InsightsFailureCategory, LanguageRuntime, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, PaymentHttpMethodType, ProgrammingLanguage, RecommendationStatus, RecommendationType, RecordExpiryAction, ResourceContentType, ResultDestination, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
3
3
  import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, RuntimeClientError, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
4
4
  /**
5
5
  * <p> The agent card definition for A2A descriptors, including the schema version and inline content that describes the agent's capabilities.</p>
@@ -6909,7 +6909,7 @@ export declare namespace HarnessModelConfiguration {
6909
6909
  }
6910
6910
  }
6911
6911
  /**
6912
- * <p>Passed to show that AWS Skills should be included.</p>
6912
+ * <p>Passed to show that Amazon Web Services Skills should be included.</p>
6913
6913
  * @public
6914
6914
  */
6915
6915
  export interface HarnessSkillAwsSkillsSource {
@@ -7010,7 +7010,7 @@ export declare namespace HarnessSkill {
7010
7010
  $unknown?: never;
7011
7011
  }
7012
7012
  /**
7013
- * <p>AWS Skills baked into the Harness's underlying Runtime.</p>
7013
+ * <p>Amazon Web Services Skills baked into the Harness's underlying Runtime.</p>
7014
7014
  * @public
7015
7015
  */
7016
7016
  interface AwsSkillsMember {
@@ -8132,6 +8132,51 @@ export interface InvokeHarnessResponse {
8132
8132
  */
8133
8133
  stream: AsyncIterable<InvokeHarnessStreamOutput> | undefined;
8134
8134
  }
8135
+ /**
8136
+ * <p>Specifies the record expiry (long-term memory time-to-live) applied to the records in a batch request. Provide exactly one of <code>recordExpiryDurationDays</code> or <code>action</code>. Set <code>recordExpiryDurationDays</code> to configure or update the expiry, or set <code>action</code> to <code>REMOVE</code> to remove a previously configured expiry.</p>
8137
+ * @public
8138
+ */
8139
+ export type RecordExpirySpecification = RecordExpirySpecification.ActionMember | RecordExpirySpecification.RecordExpiryDurationDaysMember | RecordExpirySpecification.$UnknownMember;
8140
+ /**
8141
+ * @public
8142
+ */
8143
+ export declare namespace RecordExpirySpecification {
8144
+ /**
8145
+ * <p>The duration, in days, after which the records in this request expire. The minimum is 31 days.</p>
8146
+ * @public
8147
+ */
8148
+ interface RecordExpiryDurationDaysMember {
8149
+ recordExpiryDurationDays: number;
8150
+ action?: never;
8151
+ $unknown?: never;
8152
+ }
8153
+ /**
8154
+ * <p>The action to apply to the existing record expiry configuration. Set to <code>REMOVE</code> to remove a previously configured expiry so that the records no longer expire. This value does not apply when creating records.</p>
8155
+ * @public
8156
+ */
8157
+ interface ActionMember {
8158
+ recordExpiryDurationDays?: never;
8159
+ action: RecordExpiryAction;
8160
+ $unknown?: never;
8161
+ }
8162
+ /**
8163
+ * @public
8164
+ */
8165
+ interface $UnknownMember {
8166
+ recordExpiryDurationDays?: never;
8167
+ action?: never;
8168
+ $unknown: [string, any];
8169
+ }
8170
+ /**
8171
+ * @deprecated unused in schema-serde mode.
8172
+ *
8173
+ */
8174
+ interface Visitor<T> {
8175
+ recordExpiryDurationDays: (value: number) => T;
8176
+ action: (value: RecordExpiryAction) => T;
8177
+ _: (name: string, value: any) => T;
8178
+ }
8179
+ }
8135
8180
  /**
8136
8181
  * <p>Contains the content of a memory record.</p>
8137
8182
  * @public
@@ -8295,6 +8340,11 @@ export interface BatchCreateMemoryRecordsInput {
8295
8340
  * @public
8296
8341
  */
8297
8342
  clientToken?: string | undefined;
8343
+ /**
8344
+ * <p>The record expiry (long-term memory time-to-live) applied to every record created by this request. Set <code>recordExpiryDurationDays</code> to the number of days after which the records expire. Only the expiry provided here is applied; the records' strategy association has no effect on their expiry. If you do not provide this value, the records do not expire. The <code>REMOVE</code> action does not apply when creating records.</p>
8345
+ * @public
8346
+ */
8347
+ recordExpirySpecification?: RecordExpirySpecification | undefined;
8298
8348
  }
8299
8349
  /**
8300
8350
  * <p>Output information returned after processing a memory record operation.</p>
@@ -8443,6 +8493,11 @@ export interface BatchUpdateMemoryRecordsInput {
8443
8493
  * @public
8444
8494
  */
8445
8495
  records: MemoryRecordUpdateInput[] | undefined;
8496
+ /**
8497
+ * <p>The record expiry (long-term memory time-to-live) applied to every record updated by this request. Set <code>recordExpiryDurationDays</code> to configure or overwrite the number of days after which the records expire, or set <code>action</code> to <code>REMOVE</code> to clear a previously configured expiry so that the records no longer expire.</p> <p>When you do not provide this value, the service determines each record's expiry from its current state:</p> <ul> <li> <p>If the record already has an expiry configured, the service resets and reapplies the expiry based on the last applied <code>recordExpiryDurationDays</code>.</p> </li> <li> <p>If the record does not have an expiry configured, no expiry is applied and the record remains non-expiring. This is the outcome regardless of whether the record's strategy configures an expiry.</p> </li> </ul> <p>Providing an explicit <code>recordExpiryDurationDays</code> always takes precedence: it overwrites an existing expiry, or sets one on a record that previously had none.</p>
8498
+ * @public
8499
+ */
8500
+ recordExpirySpecification?: RecordExpirySpecification | undefined;
8446
8501
  }
8447
8502
  /**
8448
8503
  * @public
@@ -8774,13 +8829,3 @@ export interface DeleteEventInput {
8774
8829
  */
8775
8830
  actorId: string | undefined;
8776
8831
  }
8777
- /**
8778
- * @public
8779
- */
8780
- export interface DeleteEventOutput {
8781
- /**
8782
- * <p>The identifier of the event that was deleted.</p>
8783
- * @public
8784
- */
8785
- eventId: string | undefined;
8786
- }
@@ -1,6 +1,16 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
2
  import type { BlockchainChainId, CryptoWalletNetwork, Currency, DescriptorType, EventFilterCondition, ExtractionJobStatus, InstrumentBalanceToken, MemoryRecordOperatorType, OperatorType, PaymentInstrumentStatus, PaymentInstrumentType, PaymentSessionStatus, PaymentStatus, PaymentType, RegistryRecordStatus } from "./enums";
3
3
  import type { A2aDescriptor, ActorSummary, AgentSkillsDescriptor, Conversational, Event, ExtractionConfig, MemoryContent, MemoryJsonData, MemoryRecordMetadataValue, MetadataValue } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface DeleteEventOutput {
8
+ /**
9
+ * <p>The identifier of the event that was deleted.</p>
10
+ * @public
11
+ */
12
+ eventId: string | undefined;
13
+ }
4
14
  /**
5
15
  * @public
6
16
  */
@@ -116,11 +126,21 @@ export interface MemoryRecord {
116
126
  * @public
117
127
  */
118
128
  createdAt: Date | undefined;
129
+ /**
130
+ * <p>The timestamp based on which the memory record was ingested. This reflects the time of the source content that the record was derived from, which can differ from <code>createdAt</code>, the time the record itself was written.</p>
131
+ * @public
132
+ */
133
+ timestamp?: Date | undefined;
119
134
  /**
120
135
  * <p>A map of metadata key-value pairs associated with a memory record.</p>
121
136
  * @public
122
137
  */
123
138
  metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
139
+ /**
140
+ * <p>The timestamp at which the memory record expires and becomes eligible for deletion. This value is set when a record expiry (long-term memory time-to-live) applies to the record, either from the strategy the record belongs to or from a record expiry provided on the batch request that created or updated it. If the record has no expiry configured, this value is not present and the record does not expire.</p>
141
+ * @public
142
+ */
143
+ expiresAt?: Date | undefined;
124
144
  }
125
145
  /**
126
146
  * @public
@@ -803,6 +823,11 @@ export interface MemoryRecordSummary {
803
823
  * @public
804
824
  */
805
825
  score?: number | undefined;
826
+ /**
827
+ * <p>The timestamp based on which the memory record was ingested. This reflects the time of the source content that the record was derived from, which can differ from <code>createdAt</code>, the time the record itself was written.</p>
828
+ * @public
829
+ */
830
+ timestamp?: Date | undefined;
806
831
  /**
807
832
  * <p>A map of metadata key-value pairs associated with a memory record.</p>
808
833
  * @public
@@ -407,6 +407,7 @@ export declare var Proxy$: StaticUnionSchema;
407
407
  export declare var ProxyCredentials$: StaticUnionSchema;
408
408
  export declare var RecommendationConfig$: StaticUnionSchema;
409
409
  export declare var RecommendationResult$: StaticUnionSchema;
410
+ export declare var RecordExpirySpecification$: StaticUnionSchema;
410
411
  export declare var ResourceLocation$: StaticUnionSchema;
411
412
  export declare var RightExpression$: StaticUnionSchema;
412
413
  export declare var StreamUpdate$: StaticUnionSchema;
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { DeleteEventInput, DeleteEventOutput } from "../models/models_0";
2
+ import { DeleteEventInput } from "../models/models_0";
3
+ import { DeleteEventOutput } from "../models/models_1";
3
4
  export { __MetadataBearer };
4
5
  export interface DeleteEventCommandInput extends DeleteEventInput {}
5
6
  export interface DeleteEventCommandOutput extends DeleteEventOutput, __MetadataBearer {}
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class BedrockAgentCoreServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -298,6 +298,10 @@ export declare const HarnessStopReason: {
298
298
  readonly TOOL_USE: "tool_use";
299
299
  };
300
300
  export type HarnessStopReason = (typeof HarnessStopReason)[keyof typeof HarnessStopReason];
301
+ export declare const RecordExpiryAction: {
302
+ readonly REMOVE: "REMOVE";
303
+ };
304
+ export type RecordExpiryAction = (typeof RecordExpiryAction)[keyof typeof RecordExpiryAction];
301
305
  export declare const MemoryRecordStatus: {
302
306
  readonly FAILED: "FAILED";
303
307
  readonly SUCCEEDED: "SUCCEEDED";
@@ -3,42 +3,50 @@ import { BedrockAgentCoreServiceException as __BaseException } from "./BedrockAg
3
3
  import { ValidationExceptionReason } from "./enums";
4
4
  import { ValidationExceptionField } from "./models_0";
5
5
  export declare class AccessDeniedException extends __BaseException {
6
+ static readonly shapeId: string;
6
7
  readonly name: "AccessDeniedException";
7
8
  readonly $fault: "client";
8
9
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
10
  }
10
11
  export declare class InternalServerException extends __BaseException {
12
+ static readonly shapeId: string;
11
13
  readonly name: "InternalServerException";
12
14
  readonly $fault: "server";
13
15
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
14
16
  }
15
17
  export declare class ResourceNotFoundException extends __BaseException {
18
+ static readonly shapeId: string;
16
19
  readonly name: "ResourceNotFoundException";
17
20
  readonly $fault: "client";
18
21
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
19
22
  }
20
23
  export declare class RetryableConflictException extends __BaseException {
24
+ static readonly shapeId: string;
21
25
  readonly name: "RetryableConflictException";
22
26
  readonly $fault: "client";
23
27
  $retryable: {};
24
28
  constructor(opts: __ExceptionOptionType<RetryableConflictException, __BaseException>);
25
29
  }
26
30
  export declare class RuntimeClientError extends __BaseException {
31
+ static readonly shapeId: string;
27
32
  readonly name: "RuntimeClientError";
28
33
  readonly $fault: "client";
29
34
  constructor(opts: __ExceptionOptionType<RuntimeClientError, __BaseException>);
30
35
  }
31
36
  export declare class ServiceQuotaExceededException extends __BaseException {
37
+ static readonly shapeId: string;
32
38
  readonly name: "ServiceQuotaExceededException";
33
39
  readonly $fault: "client";
34
40
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
35
41
  }
36
42
  export declare class ThrottlingException extends __BaseException {
43
+ static readonly shapeId: string;
37
44
  readonly name: "ThrottlingException";
38
45
  readonly $fault: "client";
39
46
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
40
47
  }
41
48
  export declare class ValidationException extends __BaseException {
49
+ static readonly shapeId: string;
42
50
  readonly name: "ValidationException";
43
51
  readonly $fault: "client";
44
52
  reason: ValidationExceptionReason | undefined;
@@ -46,36 +54,43 @@ export declare class ValidationException extends __BaseException {
46
54
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
47
55
  }
48
56
  export declare class ConflictException extends __BaseException {
57
+ static readonly shapeId: string;
49
58
  readonly name: "ConflictException";
50
59
  readonly $fault: "client";
51
60
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
52
61
  }
53
62
  export declare class UnauthorizedException extends __BaseException {
63
+ static readonly shapeId: string;
54
64
  readonly name: "UnauthorizedException";
55
65
  readonly $fault: "client";
56
66
  constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
57
67
  }
58
68
  export declare class DuplicateIdException extends __BaseException {
69
+ static readonly shapeId: string;
59
70
  readonly name: "DuplicateIdException";
60
71
  readonly $fault: "client";
61
72
  constructor(opts: __ExceptionOptionType<DuplicateIdException, __BaseException>);
62
73
  }
63
74
  export declare class ServiceException extends __BaseException {
75
+ static readonly shapeId: string;
64
76
  readonly name: "ServiceException";
65
77
  readonly $fault: "server";
66
78
  constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
67
79
  }
68
80
  export declare class ThrottledException extends __BaseException {
81
+ static readonly shapeId: string;
69
82
  readonly name: "ThrottledException";
70
83
  readonly $fault: "client";
71
84
  constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
72
85
  }
73
86
  export declare class InvalidInputException extends __BaseException {
87
+ static readonly shapeId: string;
74
88
  readonly name: "InvalidInputException";
75
89
  readonly $fault: "client";
76
90
  constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
77
91
  }
78
92
  export declare class SubscriptionRequiredException extends __BaseException {
93
+ static readonly shapeId: string;
79
94
  readonly name: "SubscriptionRequiredException";
80
95
  readonly $fault: "client";
81
96
  subscriptionUrl?: string | undefined;
@@ -32,6 +32,7 @@ import {
32
32
  ProgrammingLanguage,
33
33
  RecommendationStatus,
34
34
  RecommendationType,
35
+ RecordExpiryAction,
35
36
  ResourceContentType,
36
37
  ResultDestination,
37
38
  Role,
@@ -3055,6 +3056,32 @@ export declare namespace InvokeHarnessStreamOutput {
3055
3056
  export interface InvokeHarnessResponse {
3056
3057
  stream: AsyncIterable<InvokeHarnessStreamOutput> | undefined;
3057
3058
  }
3059
+ export type RecordExpirySpecification =
3060
+ | RecordExpirySpecification.ActionMember
3061
+ | RecordExpirySpecification.RecordExpiryDurationDaysMember
3062
+ | RecordExpirySpecification.$UnknownMember;
3063
+ export declare namespace RecordExpirySpecification {
3064
+ interface RecordExpiryDurationDaysMember {
3065
+ recordExpiryDurationDays: number;
3066
+ action?: never;
3067
+ $unknown?: never;
3068
+ }
3069
+ interface ActionMember {
3070
+ recordExpiryDurationDays?: never;
3071
+ action: RecordExpiryAction;
3072
+ $unknown?: never;
3073
+ }
3074
+ interface $UnknownMember {
3075
+ recordExpiryDurationDays?: never;
3076
+ action?: never;
3077
+ $unknown: [string, any];
3078
+ }
3079
+ interface Visitor<T> {
3080
+ recordExpiryDurationDays: (value: number) => T;
3081
+ action: (value: RecordExpiryAction) => T;
3082
+ _: (name: string, value: any) => T;
3083
+ }
3084
+ }
3058
3085
  export type MemoryContent = MemoryContent.TextMember | MemoryContent.$UnknownMember;
3059
3086
  export declare namespace MemoryContent {
3060
3087
  interface TextMember {
@@ -3132,6 +3159,7 @@ export interface BatchCreateMemoryRecordsInput {
3132
3159
  memoryId: string | undefined;
3133
3160
  records: MemoryRecordCreateInput[] | undefined;
3134
3161
  clientToken?: string | undefined;
3162
+ recordExpirySpecification?: RecordExpirySpecification | undefined;
3135
3163
  }
3136
3164
  export interface MemoryRecordOutput {
3137
3165
  memoryRecordId: string | undefined;
@@ -3168,6 +3196,7 @@ export interface MemoryRecordUpdateInput {
3168
3196
  export interface BatchUpdateMemoryRecordsInput {
3169
3197
  memoryId: string | undefined;
3170
3198
  records: MemoryRecordUpdateInput[] | undefined;
3199
+ recordExpirySpecification?: RecordExpirySpecification | undefined;
3171
3200
  }
3172
3201
  export interface BatchUpdateMemoryRecordsOutput {
3173
3202
  successfulRecords: MemoryRecordOutput[] | undefined;
@@ -3285,6 +3314,3 @@ export interface DeleteEventInput {
3285
3314
  eventId: string | undefined;
3286
3315
  actorId: string | undefined;
3287
3316
  }
3288
- export interface DeleteEventOutput {
3289
- eventId: string | undefined;
3290
- }
@@ -28,6 +28,9 @@ import {
28
28
  MemoryRecordMetadataValue,
29
29
  MetadataValue,
30
30
  } from "./models_0";
31
+ export interface DeleteEventOutput {
32
+ eventId: string | undefined;
33
+ }
31
34
  export interface DeleteMemoryRecordInput {
32
35
  memoryId: string | undefined;
33
36
  memoryRecordId: string | undefined;
@@ -56,7 +59,9 @@ export interface MemoryRecord {
56
59
  memoryStrategyId: string | undefined;
57
60
  namespaces: string[] | undefined;
58
61
  createdAt: Date | undefined;
62
+ timestamp?: Date | undefined;
59
63
  metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
64
+ expiresAt?: Date | undefined;
60
65
  }
61
66
  export interface GetMemoryRecordOutput {
62
67
  memoryRecord: MemoryRecord | undefined;
@@ -284,6 +289,7 @@ export interface MemoryRecordSummary {
284
289
  namespaces: string[] | undefined;
285
290
  createdAt: Date | undefined;
286
291
  score?: number | undefined;
292
+ timestamp?: Date | undefined;
287
293
  metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
288
294
  }
289
295
  export interface ListMemoryRecordsOutput {
@@ -407,6 +407,7 @@ export declare var Proxy$: StaticUnionSchema;
407
407
  export declare var ProxyCredentials$: StaticUnionSchema;
408
408
  export declare var RecommendationConfig$: StaticUnionSchema;
409
409
  export declare var RecommendationResult$: StaticUnionSchema;
410
+ export declare var RecordExpirySpecification$: StaticUnionSchema;
410
411
  export declare var ResourceLocation$: StaticUnionSchema;
411
412
  export declare var RightExpression$: StaticUnionSchema;
412
413
  export declare var StreamUpdate$: StaticUnionSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agentcore",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.0",
4
4
  "description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agentcore",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.86",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",