@aws-sdk/client-bedrock-runtime 3.934.0 → 3.936.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.
@@ -1,18 +1,6 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { DocumentType as __DocumentType } from "@smithy/types";
3
- import { BedrockRuntimeServiceException as __BaseException } from "./BedrockRuntimeServiceException";
4
- /**
5
- * <p>The request is denied because you do not have sufficient permissions to perform the requested action. For troubleshooting this error, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-access-denied">AccessDeniedException</a> in the Amazon Bedrock User Guide</p>
6
- * @public
7
- */
8
- export declare class AccessDeniedException extends __BaseException {
9
- readonly name: "AccessDeniedException";
10
- readonly $fault: "client";
11
- /**
12
- * @internal
13
- */
14
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
- }
2
+ import { AsyncInvokeStatus, CachePointType, ConversationRole, DocumentFormat, GuardrailAction, GuardrailAutomatedReasoningLogicWarningType, GuardrailContentFilterConfidence, GuardrailContentFilterStrength, GuardrailContentFilterType, GuardrailContentPolicyAction, GuardrailContentQualifier, GuardrailContentSource, GuardrailContextualGroundingFilterType, GuardrailContextualGroundingPolicyAction, GuardrailConverseContentQualifier, GuardrailConverseImageFormat, GuardrailImageFormat, GuardrailManagedWordType, GuardrailOutputScope, GuardrailPiiEntityType, GuardrailSensitiveInformationPolicyAction, GuardrailStreamProcessingMode, GuardrailTopicPolicyAction, GuardrailTopicType, GuardrailTrace, GuardrailWordPolicyAction, ImageFormat, PerformanceConfigLatency, ServiceTierType, SortAsyncInvocationBy, SortOrder, StopReason, ToolResultStatus, ToolUseType, Trace, VideoFormat } from "./enums";
3
+ import { InternalServerException, ModelStreamErrorException, ModelTimeoutException, ServiceUnavailableException, ThrottlingException, ValidationException } from "./errors";
16
4
  /**
17
5
  * @public
18
6
  */
@@ -77,19 +65,6 @@ export declare namespace AsyncInvokeOutputDataConfig {
77
65
  _: (name: string, value: any) => T;
78
66
  }
79
67
  }
80
- /**
81
- * @public
82
- * @enum
83
- */
84
- export declare const AsyncInvokeStatus: {
85
- readonly COMPLETED: "Completed";
86
- readonly FAILED: "Failed";
87
- readonly IN_PROGRESS: "InProgress";
88
- };
89
- /**
90
- * @public
91
- */
92
- export type AsyncInvokeStatus = (typeof AsyncInvokeStatus)[keyof typeof AsyncInvokeStatus];
93
68
  /**
94
69
  * @public
95
70
  */
@@ -140,65 +115,6 @@ export interface GetAsyncInvokeResponse {
140
115
  */
141
116
  outputDataConfig: AsyncInvokeOutputDataConfig | undefined;
142
117
  }
143
- /**
144
- * <p>An internal server error occurred. For troubleshooting this error, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-internal-failure">InternalFailure</a> in the Amazon Bedrock User Guide</p>
145
- * @public
146
- */
147
- export declare class InternalServerException extends __BaseException {
148
- readonly name: "InternalServerException";
149
- readonly $fault: "server";
150
- /**
151
- * @internal
152
- */
153
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
154
- }
155
- /**
156
- * <p>Your request was denied due to exceeding the account quotas for <i>Amazon Bedrock</i>. For troubleshooting this error, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-throttling-exception">ThrottlingException</a> in the Amazon Bedrock User Guide</p>
157
- * @public
158
- */
159
- export declare class ThrottlingException extends __BaseException {
160
- readonly name: "ThrottlingException";
161
- readonly $fault: "client";
162
- /**
163
- * @internal
164
- */
165
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
166
- }
167
- /**
168
- * <p>The input fails to satisfy the constraints specified by <i>Amazon Bedrock</i>. For troubleshooting this error, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-validation-error">ValidationError</a> in the Amazon Bedrock User Guide</p>
169
- * @public
170
- */
171
- export declare class ValidationException extends __BaseException {
172
- readonly name: "ValidationException";
173
- readonly $fault: "client";
174
- /**
175
- * @internal
176
- */
177
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
178
- }
179
- /**
180
- * @public
181
- * @enum
182
- */
183
- export declare const SortAsyncInvocationBy: {
184
- readonly SUBMISSION_TIME: "SubmissionTime";
185
- };
186
- /**
187
- * @public
188
- */
189
- export type SortAsyncInvocationBy = (typeof SortAsyncInvocationBy)[keyof typeof SortAsyncInvocationBy];
190
- /**
191
- * @public
192
- * @enum
193
- */
194
- export declare const SortOrder: {
195
- readonly ASCENDING: "Ascending";
196
- readonly DESCENDING: "Descending";
197
- };
198
- /**
199
- * @public
200
- */
201
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
202
118
  /**
203
119
  * @public
204
120
  */
@@ -305,54 +221,6 @@ export interface ListAsyncInvokesResponse {
305
221
  */
306
222
  asyncInvokeSummaries?: AsyncInvokeSummary[] | undefined;
307
223
  }
308
- /**
309
- * <p>Error occurred because of a conflict while performing an operation.</p>
310
- * @public
311
- */
312
- export declare class ConflictException extends __BaseException {
313
- readonly name: "ConflictException";
314
- readonly $fault: "client";
315
- /**
316
- * @internal
317
- */
318
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
319
- }
320
- /**
321
- * <p>The specified resource ARN was not found. For troubleshooting this error, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-resource-not-found">ResourceNotFound</a> in the Amazon Bedrock User Guide</p>
322
- * @public
323
- */
324
- export declare class ResourceNotFoundException extends __BaseException {
325
- readonly name: "ResourceNotFoundException";
326
- readonly $fault: "client";
327
- /**
328
- * @internal
329
- */
330
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
331
- }
332
- /**
333
- * <p>Your request exceeds the service quota for your account. You can view your quotas at <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/gs-request-quota.html">Viewing service quotas</a>. You can resubmit your request later.</p>
334
- * @public
335
- */
336
- export declare class ServiceQuotaExceededException extends __BaseException {
337
- readonly name: "ServiceQuotaExceededException";
338
- readonly $fault: "client";
339
- /**
340
- * @internal
341
- */
342
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
343
- }
344
- /**
345
- * <p>The service isn't currently available. For troubleshooting this error, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-service-unavailable">ServiceUnavailable</a> in the Amazon Bedrock User Guide</p>
346
- * @public
347
- */
348
- export declare class ServiceUnavailableException extends __BaseException {
349
- readonly name: "ServiceUnavailableException";
350
- readonly $fault: "server";
351
- /**
352
- * @internal
353
- */
354
- constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
355
- }
356
224
  /**
357
225
  * <p>A tag.</p>
358
226
  * @public
@@ -409,18 +277,6 @@ export interface StartAsyncInvokeResponse {
409
277
  */
410
278
  invocationArn: string | undefined;
411
279
  }
412
- /**
413
- * @public
414
- * @enum
415
- */
416
- export declare const GuardrailImageFormat: {
417
- readonly JPEG: "jpeg";
418
- readonly PNG: "png";
419
- };
420
- /**
421
- * @public
422
- */
423
- export type GuardrailImageFormat = (typeof GuardrailImageFormat)[keyof typeof GuardrailImageFormat];
424
280
  /**
425
281
  * <p>The image source (image bytes) of the guardrail image source. Object used in independent api.</p>
426
282
  * @public
@@ -470,19 +326,6 @@ export interface GuardrailImageBlock {
470
326
  */
471
327
  source: GuardrailImageSource | undefined;
472
328
  }
473
- /**
474
- * @public
475
- * @enum
476
- */
477
- export declare const GuardrailContentQualifier: {
478
- readonly GROUNDING_SOURCE: "grounding_source";
479
- readonly GUARD_CONTENT: "guard_content";
480
- readonly QUERY: "query";
481
- };
482
- /**
483
- * @public
484
- */
485
- export type GuardrailContentQualifier = (typeof GuardrailContentQualifier)[keyof typeof GuardrailContentQualifier];
486
329
  /**
487
330
  * <p>The text block to be evaluated by the guardrail.</p>
488
331
  * @public
@@ -544,30 +387,6 @@ export declare namespace GuardrailContentBlock {
544
387
  _: (name: string, value: any) => T;
545
388
  }
546
389
  }
547
- /**
548
- * @public
549
- * @enum
550
- */
551
- export declare const GuardrailOutputScope: {
552
- readonly FULL: "FULL";
553
- readonly INTERVENTIONS: "INTERVENTIONS";
554
- };
555
- /**
556
- * @public
557
- */
558
- export type GuardrailOutputScope = (typeof GuardrailOutputScope)[keyof typeof GuardrailOutputScope];
559
- /**
560
- * @public
561
- * @enum
562
- */
563
- export declare const GuardrailContentSource: {
564
- readonly INPUT: "INPUT";
565
- readonly OUTPUT: "OUTPUT";
566
- };
567
- /**
568
- * @public
569
- */
570
- export type GuardrailContentSource = (typeof GuardrailContentSource)[keyof typeof GuardrailContentSource];
571
390
  /**
572
391
  * @public
573
392
  */
@@ -598,18 +417,6 @@ export interface ApplyGuardrailRequest {
598
417
  */
599
418
  outputScope?: GuardrailOutputScope | undefined;
600
419
  }
601
- /**
602
- * @public
603
- * @enum
604
- */
605
- export declare const GuardrailAction: {
606
- readonly GUARDRAIL_INTERVENED: "GUARDRAIL_INTERVENED";
607
- readonly NONE: "NONE";
608
- };
609
- /**
610
- * @public
611
- */
612
- export type GuardrailAction = (typeof GuardrailAction)[keyof typeof GuardrailAction];
613
420
  /**
614
421
  * <p>References a specific automated reasoning policy rule that was applied during evaluation.</p>
615
422
  * @public
@@ -642,18 +449,6 @@ export interface GuardrailAutomatedReasoningStatement {
642
449
  */
643
450
  naturalLanguage?: string | undefined;
644
451
  }
645
- /**
646
- * @public
647
- * @enum
648
- */
649
- export declare const GuardrailAutomatedReasoningLogicWarningType: {
650
- readonly ALWAYS_FALSE: "ALWAYS_FALSE";
651
- readonly ALWAYS_TRUE: "ALWAYS_TRUE";
652
- };
653
- /**
654
- * @public
655
- */
656
- export type GuardrailAutomatedReasoningLogicWarningType = (typeof GuardrailAutomatedReasoningLogicWarningType)[keyof typeof GuardrailAutomatedReasoningLogicWarningType];
657
452
  /**
658
453
  * <p>Identifies logical issues in the translated statements that exist independent of any policy rules, such as statements that are always true or always false.</p>
659
454
  * @public
@@ -1007,62 +802,6 @@ export interface GuardrailAutomatedReasoningPolicyAssessment {
1007
802
  */
1008
803
  findings?: GuardrailAutomatedReasoningFinding[] | undefined;
1009
804
  }
1010
- /**
1011
- * @public
1012
- * @enum
1013
- */
1014
- export declare const GuardrailContentPolicyAction: {
1015
- readonly BLOCKED: "BLOCKED";
1016
- readonly NONE: "NONE";
1017
- };
1018
- /**
1019
- * @public
1020
- */
1021
- export type GuardrailContentPolicyAction = (typeof GuardrailContentPolicyAction)[keyof typeof GuardrailContentPolicyAction];
1022
- /**
1023
- * @public
1024
- * @enum
1025
- */
1026
- export declare const GuardrailContentFilterConfidence: {
1027
- readonly HIGH: "HIGH";
1028
- readonly LOW: "LOW";
1029
- readonly MEDIUM: "MEDIUM";
1030
- readonly NONE: "NONE";
1031
- };
1032
- /**
1033
- * @public
1034
- */
1035
- export type GuardrailContentFilterConfidence = (typeof GuardrailContentFilterConfidence)[keyof typeof GuardrailContentFilterConfidence];
1036
- /**
1037
- * @public
1038
- * @enum
1039
- */
1040
- export declare const GuardrailContentFilterStrength: {
1041
- readonly HIGH: "HIGH";
1042
- readonly LOW: "LOW";
1043
- readonly MEDIUM: "MEDIUM";
1044
- readonly NONE: "NONE";
1045
- };
1046
- /**
1047
- * @public
1048
- */
1049
- export type GuardrailContentFilterStrength = (typeof GuardrailContentFilterStrength)[keyof typeof GuardrailContentFilterStrength];
1050
- /**
1051
- * @public
1052
- * @enum
1053
- */
1054
- export declare const GuardrailContentFilterType: {
1055
- readonly HATE: "HATE";
1056
- readonly INSULTS: "INSULTS";
1057
- readonly MISCONDUCT: "MISCONDUCT";
1058
- readonly PROMPT_ATTACK: "PROMPT_ATTACK";
1059
- readonly SEXUAL: "SEXUAL";
1060
- readonly VIOLENCE: "VIOLENCE";
1061
- };
1062
- /**
1063
- * @public
1064
- */
1065
- export type GuardrailContentFilterType = (typeof GuardrailContentFilterType)[keyof typeof GuardrailContentFilterType];
1066
805
  /**
1067
806
  * <p>The content filter for a guardrail.</p>
1068
807
  * @public
@@ -1105,30 +844,6 @@ export interface GuardrailContentPolicyAssessment {
1105
844
  */
1106
845
  filters: GuardrailContentFilter[] | undefined;
1107
846
  }
1108
- /**
1109
- * @public
1110
- * @enum
1111
- */
1112
- export declare const GuardrailContextualGroundingPolicyAction: {
1113
- readonly BLOCKED: "BLOCKED";
1114
- readonly NONE: "NONE";
1115
- };
1116
- /**
1117
- * @public
1118
- */
1119
- export type GuardrailContextualGroundingPolicyAction = (typeof GuardrailContextualGroundingPolicyAction)[keyof typeof GuardrailContextualGroundingPolicyAction];
1120
- /**
1121
- * @public
1122
- * @enum
1123
- */
1124
- export declare const GuardrailContextualGroundingFilterType: {
1125
- readonly GROUNDING: "GROUNDING";
1126
- readonly RELEVANCE: "RELEVANCE";
1127
- };
1128
- /**
1129
- * @public
1130
- */
1131
- export type GuardrailContextualGroundingFilterType = (typeof GuardrailContextualGroundingFilterType)[keyof typeof GuardrailContextualGroundingFilterType];
1132
847
  /**
1133
848
  * <p>The details for the guardrails contextual grounding filter.</p>
1134
849
  * @public
@@ -1291,60 +1006,6 @@ export interface GuardrailInvocationMetrics {
1291
1006
  */
1292
1007
  guardrailCoverage?: GuardrailCoverage | undefined;
1293
1008
  }
1294
- /**
1295
- * @public
1296
- * @enum
1297
- */
1298
- export declare const GuardrailSensitiveInformationPolicyAction: {
1299
- readonly ANONYMIZED: "ANONYMIZED";
1300
- readonly BLOCKED: "BLOCKED";
1301
- readonly NONE: "NONE";
1302
- };
1303
- /**
1304
- * @public
1305
- */
1306
- export type GuardrailSensitiveInformationPolicyAction = (typeof GuardrailSensitiveInformationPolicyAction)[keyof typeof GuardrailSensitiveInformationPolicyAction];
1307
- /**
1308
- * @public
1309
- * @enum
1310
- */
1311
- export declare const GuardrailPiiEntityType: {
1312
- readonly ADDRESS: "ADDRESS";
1313
- readonly AGE: "AGE";
1314
- readonly AWS_ACCESS_KEY: "AWS_ACCESS_KEY";
1315
- readonly AWS_SECRET_KEY: "AWS_SECRET_KEY";
1316
- readonly CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER";
1317
- readonly CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER";
1318
- readonly CREDIT_DEBIT_CARD_CVV: "CREDIT_DEBIT_CARD_CVV";
1319
- readonly CREDIT_DEBIT_CARD_EXPIRY: "CREDIT_DEBIT_CARD_EXPIRY";
1320
- readonly CREDIT_DEBIT_CARD_NUMBER: "CREDIT_DEBIT_CARD_NUMBER";
1321
- readonly DRIVER_ID: "DRIVER_ID";
1322
- readonly EMAIL: "EMAIL";
1323
- readonly INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER";
1324
- readonly IP_ADDRESS: "IP_ADDRESS";
1325
- readonly LICENSE_PLATE: "LICENSE_PLATE";
1326
- readonly MAC_ADDRESS: "MAC_ADDRESS";
1327
- readonly NAME: "NAME";
1328
- readonly PASSWORD: "PASSWORD";
1329
- readonly PHONE: "PHONE";
1330
- readonly PIN: "PIN";
1331
- readonly SWIFT_CODE: "SWIFT_CODE";
1332
- readonly UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER";
1333
- readonly UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER";
1334
- readonly UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER";
1335
- readonly URL: "URL";
1336
- readonly USERNAME: "USERNAME";
1337
- readonly US_BANK_ACCOUNT_NUMBER: "US_BANK_ACCOUNT_NUMBER";
1338
- readonly US_BANK_ROUTING_NUMBER: "US_BANK_ROUTING_NUMBER";
1339
- readonly US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER";
1340
- readonly US_PASSPORT_NUMBER: "US_PASSPORT_NUMBER";
1341
- readonly US_SOCIAL_SECURITY_NUMBER: "US_SOCIAL_SECURITY_NUMBER";
1342
- readonly VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER";
1343
- };
1344
- /**
1345
- * @public
1346
- */
1347
- export type GuardrailPiiEntityType = (typeof GuardrailPiiEntityType)[keyof typeof GuardrailPiiEntityType];
1348
1009
  /**
1349
1010
  * <p>A Personally Identifiable Information (PII) entity configured in a guardrail.</p>
1350
1011
  * @public
@@ -1418,29 +1079,6 @@ export interface GuardrailSensitiveInformationPolicyAssessment {
1418
1079
  */
1419
1080
  regexes: GuardrailRegexFilter[] | undefined;
1420
1081
  }
1421
- /**
1422
- * @public
1423
- * @enum
1424
- */
1425
- export declare const GuardrailTopicPolicyAction: {
1426
- readonly BLOCKED: "BLOCKED";
1427
- readonly NONE: "NONE";
1428
- };
1429
- /**
1430
- * @public
1431
- */
1432
- export type GuardrailTopicPolicyAction = (typeof GuardrailTopicPolicyAction)[keyof typeof GuardrailTopicPolicyAction];
1433
- /**
1434
- * @public
1435
- * @enum
1436
- */
1437
- export declare const GuardrailTopicType: {
1438
- readonly DENY: "DENY";
1439
- };
1440
- /**
1441
- * @public
1442
- */
1443
- export type GuardrailTopicType = (typeof GuardrailTopicType)[keyof typeof GuardrailTopicType];
1444
1082
  /**
1445
1083
  * <p>Information about a topic guardrail.</p>
1446
1084
  * @public
@@ -1478,18 +1116,6 @@ export interface GuardrailTopicPolicyAssessment {
1478
1116
  */
1479
1117
  topics: GuardrailTopic[] | undefined;
1480
1118
  }
1481
- /**
1482
- * @public
1483
- * @enum
1484
- */
1485
- export declare const GuardrailWordPolicyAction: {
1486
- readonly BLOCKED: "BLOCKED";
1487
- readonly NONE: "NONE";
1488
- };
1489
- /**
1490
- * @public
1491
- */
1492
- export type GuardrailWordPolicyAction = (typeof GuardrailWordPolicyAction)[keyof typeof GuardrailWordPolicyAction];
1493
1119
  /**
1494
1120
  * <p>A custom word configured in a guardrail.</p>
1495
1121
  * @public
@@ -1511,17 +1137,6 @@ export interface GuardrailCustomWord {
1511
1137
  */
1512
1138
  detected?: boolean | undefined;
1513
1139
  }
1514
- /**
1515
- * @public
1516
- * @enum
1517
- */
1518
- export declare const GuardrailManagedWordType: {
1519
- readonly PROFANITY: "PROFANITY";
1520
- };
1521
- /**
1522
- * @public
1523
- */
1524
- export type GuardrailManagedWordType = (typeof GuardrailManagedWordType)[keyof typeof GuardrailManagedWordType];
1525
1140
  /**
1526
1141
  * <p>A managed word configured in a guardrail.</p>
1527
1142
  * @public
@@ -1651,19 +1266,6 @@ export interface ApplyGuardrailResponse {
1651
1266
  */
1652
1267
  guardrailCoverage?: GuardrailCoverage | undefined;
1653
1268
  }
1654
- /**
1655
- * @public
1656
- * @enum
1657
- */
1658
- export declare const GuardrailTrace: {
1659
- readonly DISABLED: "disabled";
1660
- readonly ENABLED: "enabled";
1661
- readonly ENABLED_FULL: "enabled_full";
1662
- };
1663
- /**
1664
- * @public
1665
- */
1666
- export type GuardrailTrace = (typeof GuardrailTrace)[keyof typeof GuardrailTrace];
1667
1269
  /**
1668
1270
  * <p>Configuration information for a guardrail that you use with the <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html">Converse</a> operation.</p>
1669
1271
  * @public
@@ -1711,17 +1313,6 @@ export interface InferenceConfiguration {
1711
1313
  */
1712
1314
  stopSequences?: string[] | undefined;
1713
1315
  }
1714
- /**
1715
- * @public
1716
- * @enum
1717
- */
1718
- export declare const CachePointType: {
1719
- readonly DEFAULT: "default";
1720
- };
1721
- /**
1722
- * @public
1723
- */
1724
- export type CachePointType = (typeof CachePointType)[keyof typeof CachePointType];
1725
1316
  /**
1726
1317
  * <p>Defines a section of content to be cached for reuse in subsequent API calls.</p>
1727
1318
  * @public
@@ -1796,6 +1387,27 @@ export interface DocumentPageLocation {
1796
1387
  */
1797
1388
  end?: number | undefined;
1798
1389
  }
1390
+ /**
1391
+ * <p>Specifies a search result location within the content array, providing positioning information for cited content using search result index and block positions.</p>
1392
+ * @public
1393
+ */
1394
+ export interface SearchResultLocation {
1395
+ /**
1396
+ * <p>The index of the search result content block where the cited content is found.</p>
1397
+ * @public
1398
+ */
1399
+ searchResultIndex?: number | undefined;
1400
+ /**
1401
+ * <p>The starting position in the content array where the cited content begins.</p>
1402
+ * @public
1403
+ */
1404
+ start?: number | undefined;
1405
+ /**
1406
+ * <p>The ending position in the content array where the cited content ends.</p>
1407
+ * @public
1408
+ */
1409
+ end?: number | undefined;
1410
+ }
1799
1411
  /**
1800
1412
  * <p>Provides the URL and domain information for the website that was cited when performing a web search.</p>
1801
1413
  * @public
@@ -1816,7 +1428,7 @@ export interface WebLocation {
1816
1428
  * <p>Specifies the precise location within a source document where cited content can be found. This can include character-level positions, page numbers, or document chunks depending on the document type and indexing method.</p>
1817
1429
  * @public
1818
1430
  */
1819
- export type CitationLocation = CitationLocation.DocumentCharMember | CitationLocation.DocumentChunkMember | CitationLocation.DocumentPageMember | CitationLocation.WebMember | CitationLocation.$UnknownMember;
1431
+ export type CitationLocation = CitationLocation.DocumentCharMember | CitationLocation.DocumentChunkMember | CitationLocation.DocumentPageMember | CitationLocation.SearchResultLocationMember | CitationLocation.WebMember | CitationLocation.$UnknownMember;
1820
1432
  /**
1821
1433
  * @public
1822
1434
  */
@@ -1830,6 +1442,7 @@ export declare namespace CitationLocation {
1830
1442
  documentChar?: never;
1831
1443
  documentPage?: never;
1832
1444
  documentChunk?: never;
1445
+ searchResultLocation?: never;
1833
1446
  $unknown?: never;
1834
1447
  }
1835
1448
  /**
@@ -1841,6 +1454,7 @@ export declare namespace CitationLocation {
1841
1454
  documentChar: DocumentCharLocation;
1842
1455
  documentPage?: never;
1843
1456
  documentChunk?: never;
1457
+ searchResultLocation?: never;
1844
1458
  $unknown?: never;
1845
1459
  }
1846
1460
  /**
@@ -1852,6 +1466,7 @@ export declare namespace CitationLocation {
1852
1466
  documentChar?: never;
1853
1467
  documentPage: DocumentPageLocation;
1854
1468
  documentChunk?: never;
1469
+ searchResultLocation?: never;
1855
1470
  $unknown?: never;
1856
1471
  }
1857
1472
  /**
@@ -1863,6 +1478,19 @@ export declare namespace CitationLocation {
1863
1478
  documentChar?: never;
1864
1479
  documentPage?: never;
1865
1480
  documentChunk: DocumentChunkLocation;
1481
+ searchResultLocation?: never;
1482
+ $unknown?: never;
1483
+ }
1484
+ /**
1485
+ * <p>The search result location where the cited content is found, including the search result index and block positions within the content array.</p>
1486
+ * @public
1487
+ */
1488
+ interface SearchResultLocationMember {
1489
+ web?: never;
1490
+ documentChar?: never;
1491
+ documentPage?: never;
1492
+ documentChunk?: never;
1493
+ searchResultLocation: SearchResultLocation;
1866
1494
  $unknown?: never;
1867
1495
  }
1868
1496
  /**
@@ -1873,6 +1501,7 @@ export declare namespace CitationLocation {
1873
1501
  documentChar?: never;
1874
1502
  documentPage?: never;
1875
1503
  documentChunk?: never;
1504
+ searchResultLocation?: never;
1876
1505
  $unknown: [string, any];
1877
1506
  }
1878
1507
  /**
@@ -1884,6 +1513,7 @@ export declare namespace CitationLocation {
1884
1513
  documentChar: (value: DocumentCharLocation) => T;
1885
1514
  documentPage: (value: DocumentPageLocation) => T;
1886
1515
  documentChunk: (value: DocumentChunkLocation) => T;
1516
+ searchResultLocation: (value: SearchResultLocation) => T;
1887
1517
  _: (name: string, value: any) => T;
1888
1518
  }
1889
1519
  }
@@ -1930,6 +1560,11 @@ export interface Citation {
1930
1560
  * @public
1931
1561
  */
1932
1562
  title?: string | undefined;
1563
+ /**
1564
+ * <p>The source from the original search result that provided the cited content.</p>
1565
+ * @public
1566
+ */
1567
+ source?: string | undefined;
1933
1568
  /**
1934
1569
  * <p>The specific content from the source document that was referenced or cited in the generated response.</p>
1935
1570
  * @public
@@ -2001,25 +1636,6 @@ export interface CitationsConfig {
2001
1636
  */
2002
1637
  enabled: boolean | undefined;
2003
1638
  }
2004
- /**
2005
- * @public
2006
- * @enum
2007
- */
2008
- export declare const DocumentFormat: {
2009
- readonly CSV: "csv";
2010
- readonly DOC: "doc";
2011
- readonly DOCX: "docx";
2012
- readonly HTML: "html";
2013
- readonly MD: "md";
2014
- readonly PDF: "pdf";
2015
- readonly TXT: "txt";
2016
- readonly XLS: "xls";
2017
- readonly XLSX: "xlsx";
2018
- };
2019
- /**
2020
- * @public
2021
- */
2022
- export type DocumentFormat = (typeof DocumentFormat)[keyof typeof DocumentFormat];
2023
1639
  /**
2024
1640
  * <p>Contains the actual content of a document that can be processed by the model and potentially cited in the response.</p>
2025
1641
  * @public
@@ -2175,18 +1791,6 @@ export interface DocumentBlock {
2175
1791
  */
2176
1792
  citations?: CitationsConfig | undefined;
2177
1793
  }
2178
- /**
2179
- * @public
2180
- * @enum
2181
- */
2182
- export declare const GuardrailConverseImageFormat: {
2183
- readonly JPEG: "jpeg";
2184
- readonly PNG: "png";
2185
- };
2186
- /**
2187
- * @public
2188
- */
2189
- export type GuardrailConverseImageFormat = (typeof GuardrailConverseImageFormat)[keyof typeof GuardrailConverseImageFormat];
2190
1794
  /**
2191
1795
  * <p>The image source (image bytes) of the guardrail converse image source.</p>
2192
1796
  * @public
@@ -2236,19 +1840,6 @@ export interface GuardrailConverseImageBlock {
2236
1840
  */
2237
1841
  source: GuardrailConverseImageSource | undefined;
2238
1842
  }
2239
- /**
2240
- * @public
2241
- * @enum
2242
- */
2243
- export declare const GuardrailConverseContentQualifier: {
2244
- readonly GROUNDING_SOURCE: "grounding_source";
2245
- readonly GUARD_CONTENT: "guard_content";
2246
- readonly QUERY: "query";
2247
- };
2248
- /**
2249
- * @public
2250
- */
2251
- export type GuardrailConverseContentQualifier = (typeof GuardrailConverseContentQualifier)[keyof typeof GuardrailConverseContentQualifier];
2252
1843
  /**
2253
1844
  * <p>A text block that contains text that you want to assess with a guardrail. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_GuardrailConverseContentBlock.html">GuardrailConverseContentBlock</a>.</p>
2254
1845
  * @public
@@ -2310,20 +1901,6 @@ export declare namespace GuardrailConverseContentBlock {
2310
1901
  _: (name: string, value: any) => T;
2311
1902
  }
2312
1903
  }
2313
- /**
2314
- * @public
2315
- * @enum
2316
- */
2317
- export declare const ImageFormat: {
2318
- readonly GIF: "gif";
2319
- readonly JPEG: "jpeg";
2320
- readonly PNG: "png";
2321
- readonly WEBP: "webp";
2322
- };
2323
- /**
2324
- * @public
2325
- */
2326
- export type ImageFormat = (typeof ImageFormat)[keyof typeof ImageFormat];
2327
1904
  /**
2328
1905
  * <p>The source for an image.</p>
2329
1906
  * @public
@@ -2447,24 +2024,42 @@ export declare namespace ReasoningContentBlock {
2447
2024
  }
2448
2025
  }
2449
2026
  /**
2027
+ * <p>A block within a search result that contains the content.</p>
2450
2028
  * @public
2451
- * @enum
2452
2029
  */
2453
- export declare const VideoFormat: {
2454
- readonly FLV: "flv";
2455
- readonly MKV: "mkv";
2456
- readonly MOV: "mov";
2457
- readonly MP4: "mp4";
2458
- readonly MPEG: "mpeg";
2459
- readonly MPG: "mpg";
2460
- readonly THREE_GP: "three_gp";
2461
- readonly WEBM: "webm";
2462
- readonly WMV: "wmv";
2463
- };
2030
+ export interface SearchResultContentBlock {
2031
+ /**
2032
+ * <p>The actual text content</p>
2033
+ * @public
2034
+ */
2035
+ text: string | undefined;
2036
+ }
2464
2037
  /**
2038
+ * <p>A search result block that enables natural citations with proper source attribution for retrieved content.</p> <note> <p>This field is only supported by Anthropic Claude Opus 4.1, Opus 4, Sonnet 4.5, Sonnet 4, Sonnet 3.7, and 3.5 Haiku models.</p> </note>
2465
2039
  * @public
2466
2040
  */
2467
- export type VideoFormat = (typeof VideoFormat)[keyof typeof VideoFormat];
2041
+ export interface SearchResultBlock {
2042
+ /**
2043
+ * <p>The source URL or identifier for the content.</p>
2044
+ * @public
2045
+ */
2046
+ source: string | undefined;
2047
+ /**
2048
+ * <p>A descriptive title for the search result.</p>
2049
+ * @public
2050
+ */
2051
+ title: string | undefined;
2052
+ /**
2053
+ * <p>An array of search result content block.</p>
2054
+ * @public
2055
+ */
2056
+ content: SearchResultContentBlock[] | undefined;
2057
+ /**
2058
+ * <p>Configuration setting for citations</p>
2059
+ * @public
2060
+ */
2061
+ citations?: CitationsConfig | undefined;
2062
+ }
2468
2063
  /**
2469
2064
  * <p>A video source. You can upload a smaller video as a base64-encoded string as long as the encoded file is less than 25MB. You can also transfer videos up to 1GB in size from an S3 bucket.</p>
2470
2065
  * @public
@@ -2530,7 +2125,7 @@ export interface VideoBlock {
2530
2125
  * <p>The tool result content block. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html">Call a tool with the Converse API</a> in the Amazon Bedrock User Guide.</p>
2531
2126
  * @public
2532
2127
  */
2533
- export type ToolResultContentBlock = ToolResultContentBlock.DocumentMember | ToolResultContentBlock.ImageMember | ToolResultContentBlock.JsonMember | ToolResultContentBlock.TextMember | ToolResultContentBlock.VideoMember | ToolResultContentBlock.$UnknownMember;
2128
+ export type ToolResultContentBlock = ToolResultContentBlock.DocumentMember | ToolResultContentBlock.ImageMember | ToolResultContentBlock.JsonMember | ToolResultContentBlock.SearchResultMember | ToolResultContentBlock.TextMember | ToolResultContentBlock.VideoMember | ToolResultContentBlock.$UnknownMember;
2534
2129
  /**
2535
2130
  * @public
2536
2131
  */
@@ -2545,6 +2140,7 @@ export declare namespace ToolResultContentBlock {
2545
2140
  image?: never;
2546
2141
  document?: never;
2547
2142
  video?: never;
2143
+ searchResult?: never;
2548
2144
  $unknown?: never;
2549
2145
  }
2550
2146
  /**
@@ -2557,6 +2153,7 @@ export declare namespace ToolResultContentBlock {
2557
2153
  image?: never;
2558
2154
  document?: never;
2559
2155
  video?: never;
2156
+ searchResult?: never;
2560
2157
  $unknown?: never;
2561
2158
  }
2562
2159
  /**
@@ -2569,6 +2166,7 @@ export declare namespace ToolResultContentBlock {
2569
2166
  image: ImageBlock;
2570
2167
  document?: never;
2571
2168
  video?: never;
2169
+ searchResult?: never;
2572
2170
  $unknown?: never;
2573
2171
  }
2574
2172
  /**
@@ -2581,6 +2179,7 @@ export declare namespace ToolResultContentBlock {
2581
2179
  image?: never;
2582
2180
  document: DocumentBlock;
2583
2181
  video?: never;
2182
+ searchResult?: never;
2584
2183
  $unknown?: never;
2585
2184
  }
2586
2185
  /**
@@ -2593,6 +2192,20 @@ export declare namespace ToolResultContentBlock {
2593
2192
  image?: never;
2594
2193
  document?: never;
2595
2194
  video: VideoBlock;
2195
+ searchResult?: never;
2196
+ $unknown?: never;
2197
+ }
2198
+ /**
2199
+ * <p>A tool result that is a search result.</p>
2200
+ * @public
2201
+ */
2202
+ interface SearchResultMember {
2203
+ json?: never;
2204
+ text?: never;
2205
+ image?: never;
2206
+ document?: never;
2207
+ video?: never;
2208
+ searchResult: SearchResultBlock;
2596
2209
  $unknown?: never;
2597
2210
  }
2598
2211
  /**
@@ -2604,6 +2217,7 @@ export declare namespace ToolResultContentBlock {
2604
2217
  image?: never;
2605
2218
  document?: never;
2606
2219
  video?: never;
2220
+ searchResult?: never;
2607
2221
  $unknown: [string, any];
2608
2222
  }
2609
2223
  /**
@@ -2616,21 +2230,10 @@ export declare namespace ToolResultContentBlock {
2616
2230
  image: (value: ImageBlock) => T;
2617
2231
  document: (value: DocumentBlock) => T;
2618
2232
  video: (value: VideoBlock) => T;
2233
+ searchResult: (value: SearchResultBlock) => T;
2619
2234
  _: (name: string, value: any) => T;
2620
2235
  }
2621
2236
  }
2622
- /**
2623
- * @public
2624
- * @enum
2625
- */
2626
- export declare const ToolResultStatus: {
2627
- readonly ERROR: "error";
2628
- readonly SUCCESS: "success";
2629
- };
2630
- /**
2631
- * @public
2632
- */
2633
- export type ToolResultStatus = (typeof ToolResultStatus)[keyof typeof ToolResultStatus];
2634
2237
  /**
2635
2238
  * <p>A tool result block that contains the results for a tool request that the model previously made. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html">Call a tool with the Converse API</a> in the Amazon Bedrock User Guide.</p>
2636
2239
  * @public
@@ -2657,17 +2260,6 @@ export interface ToolResultBlock {
2657
2260
  */
2658
2261
  type?: string | undefined;
2659
2262
  }
2660
- /**
2661
- * @public
2662
- * @enum
2663
- */
2664
- export declare const ToolUseType: {
2665
- readonly SERVER_TOOL_USE: "server_tool_use";
2666
- };
2667
- /**
2668
- * @public
2669
- */
2670
- export type ToolUseType = (typeof ToolUseType)[keyof typeof ToolUseType];
2671
2263
  /**
2672
2264
  * <p>A tool use content block. Contains information about a tool that the model is requesting be run., The model uses the result from the tool to generate a response. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html">Call a tool with the Converse API</a> in the Amazon Bedrock User Guide.</p>
2673
2265
  * @public
@@ -2698,7 +2290,7 @@ export interface ToolUseBlock {
2698
2290
  * <p>A block of content for a message that you pass to, or receive from, a model with the <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html">Converse</a> or <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html">ConverseStream</a> API operations.</p>
2699
2291
  * @public
2700
2292
  */
2701
- export type ContentBlock = ContentBlock.CachePointMember | ContentBlock.CitationsContentMember | ContentBlock.DocumentMember | ContentBlock.GuardContentMember | ContentBlock.ImageMember | ContentBlock.ReasoningContentMember | ContentBlock.TextMember | ContentBlock.ToolResultMember | ContentBlock.ToolUseMember | ContentBlock.VideoMember | ContentBlock.$UnknownMember;
2293
+ export type ContentBlock = ContentBlock.CachePointMember | ContentBlock.CitationsContentMember | ContentBlock.DocumentMember | ContentBlock.GuardContentMember | ContentBlock.ImageMember | ContentBlock.ReasoningContentMember | ContentBlock.SearchResultMember | ContentBlock.TextMember | ContentBlock.ToolResultMember | ContentBlock.ToolUseMember | ContentBlock.VideoMember | ContentBlock.$UnknownMember;
2702
2294
  /**
2703
2295
  * @public
2704
2296
  */
@@ -2718,6 +2310,7 @@ export declare namespace ContentBlock {
2718
2310
  cachePoint?: never;
2719
2311
  reasoningContent?: never;
2720
2312
  citationsContent?: never;
2313
+ searchResult?: never;
2721
2314
  $unknown?: never;
2722
2315
  }
2723
2316
  /**
@@ -2735,6 +2328,7 @@ export declare namespace ContentBlock {
2735
2328
  cachePoint?: never;
2736
2329
  reasoningContent?: never;
2737
2330
  citationsContent?: never;
2331
+ searchResult?: never;
2738
2332
  $unknown?: never;
2739
2333
  }
2740
2334
  /**
@@ -2752,6 +2346,7 @@ export declare namespace ContentBlock {
2752
2346
  cachePoint?: never;
2753
2347
  reasoningContent?: never;
2754
2348
  citationsContent?: never;
2349
+ searchResult?: never;
2755
2350
  $unknown?: never;
2756
2351
  }
2757
2352
  /**
@@ -2769,6 +2364,7 @@ export declare namespace ContentBlock {
2769
2364
  cachePoint?: never;
2770
2365
  reasoningContent?: never;
2771
2366
  citationsContent?: never;
2367
+ searchResult?: never;
2772
2368
  $unknown?: never;
2773
2369
  }
2774
2370
  /**
@@ -2786,6 +2382,7 @@ export declare namespace ContentBlock {
2786
2382
  cachePoint?: never;
2787
2383
  reasoningContent?: never;
2788
2384
  citationsContent?: never;
2385
+ searchResult?: never;
2789
2386
  $unknown?: never;
2790
2387
  }
2791
2388
  /**
@@ -2803,6 +2400,7 @@ export declare namespace ContentBlock {
2803
2400
  cachePoint?: never;
2804
2401
  reasoningContent?: never;
2805
2402
  citationsContent?: never;
2403
+ searchResult?: never;
2806
2404
  $unknown?: never;
2807
2405
  }
2808
2406
  /**
@@ -2820,6 +2418,7 @@ export declare namespace ContentBlock {
2820
2418
  cachePoint?: never;
2821
2419
  reasoningContent?: never;
2822
2420
  citationsContent?: never;
2421
+ searchResult?: never;
2823
2422
  $unknown?: never;
2824
2423
  }
2825
2424
  /**
@@ -2837,6 +2436,7 @@ export declare namespace ContentBlock {
2837
2436
  cachePoint: CachePointBlock;
2838
2437
  reasoningContent?: never;
2839
2438
  citationsContent?: never;
2439
+ searchResult?: never;
2840
2440
  $unknown?: never;
2841
2441
  }
2842
2442
  /**
@@ -2854,6 +2454,7 @@ export declare namespace ContentBlock {
2854
2454
  cachePoint?: never;
2855
2455
  reasoningContent: ReasoningContentBlock;
2856
2456
  citationsContent?: never;
2457
+ searchResult?: never;
2857
2458
  $unknown?: never;
2858
2459
  }
2859
2460
  /**
@@ -2871,6 +2472,25 @@ export declare namespace ContentBlock {
2871
2472
  cachePoint?: never;
2872
2473
  reasoningContent?: never;
2873
2474
  citationsContent: CitationsContentBlock;
2475
+ searchResult?: never;
2476
+ $unknown?: never;
2477
+ }
2478
+ /**
2479
+ * <p>Search result to include in the message.</p>
2480
+ * @public
2481
+ */
2482
+ interface SearchResultMember {
2483
+ text?: never;
2484
+ image?: never;
2485
+ document?: never;
2486
+ video?: never;
2487
+ toolUse?: never;
2488
+ toolResult?: never;
2489
+ guardContent?: never;
2490
+ cachePoint?: never;
2491
+ reasoningContent?: never;
2492
+ citationsContent?: never;
2493
+ searchResult: SearchResultBlock;
2874
2494
  $unknown?: never;
2875
2495
  }
2876
2496
  /**
@@ -2887,6 +2507,7 @@ export declare namespace ContentBlock {
2887
2507
  cachePoint?: never;
2888
2508
  reasoningContent?: never;
2889
2509
  citationsContent?: never;
2510
+ searchResult?: never;
2890
2511
  $unknown: [string, any];
2891
2512
  }
2892
2513
  /**
@@ -2904,21 +2525,10 @@ export declare namespace ContentBlock {
2904
2525
  cachePoint: (value: CachePointBlock) => T;
2905
2526
  reasoningContent: (value: ReasoningContentBlock) => T;
2906
2527
  citationsContent: (value: CitationsContentBlock) => T;
2528
+ searchResult: (value: SearchResultBlock) => T;
2907
2529
  _: (name: string, value: any) => T;
2908
2530
  }
2909
2531
  }
2910
- /**
2911
- * @public
2912
- * @enum
2913
- */
2914
- export declare const ConversationRole: {
2915
- readonly ASSISTANT: "assistant";
2916
- readonly USER: "user";
2917
- };
2918
- /**
2919
- * @public
2920
- */
2921
- export type ConversationRole = (typeof ConversationRole)[keyof typeof ConversationRole];
2922
2532
  /**
2923
2533
  * <p>A message input, or returned from, a call to <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html">Converse</a> or <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html">ConverseStream</a>.</p>
2924
2534
  * @public
@@ -2935,18 +2545,6 @@ export interface Message {
2935
2545
  */
2936
2546
  content: ContentBlock[] | undefined;
2937
2547
  }
2938
- /**
2939
- * @public
2940
- * @enum
2941
- */
2942
- export declare const PerformanceConfigLatency: {
2943
- readonly OPTIMIZED: "optimized";
2944
- readonly STANDARD: "standard";
2945
- };
2946
- /**
2947
- * @public
2948
- */
2949
- export type PerformanceConfigLatency = (typeof PerformanceConfigLatency)[keyof typeof PerformanceConfigLatency];
2950
2548
  /**
2951
2549
  * <p>Performance settings for a model.</p>
2952
2550
  * @public
@@ -2991,19 +2589,6 @@ export declare namespace PromptVariableValues {
2991
2589
  _: (name: string, value: any) => T;
2992
2590
  }
2993
2591
  }
2994
- /**
2995
- * @public
2996
- * @enum
2997
- */
2998
- export declare const ServiceTierType: {
2999
- readonly DEFAULT: "default";
3000
- readonly FLEX: "flex";
3001
- readonly PRIORITY: "priority";
3002
- };
3003
- /**
3004
- * @public
3005
- */
3006
- export type ServiceTierType = (typeof ServiceTierType)[keyof typeof ServiceTierType];
3007
2592
  /**
3008
2593
  * <p>Specifies the processing tier configuration used for serving the request.</p>
3009
2594
  * @public
@@ -3405,23 +2990,6 @@ export declare namespace ConverseOutput {
3405
2990
  _: (name: string, value: any) => T;
3406
2991
  }
3407
2992
  }
3408
- /**
3409
- * @public
3410
- * @enum
3411
- */
3412
- export declare const StopReason: {
3413
- readonly CONTENT_FILTERED: "content_filtered";
3414
- readonly END_TURN: "end_turn";
3415
- readonly GUARDRAIL_INTERVENED: "guardrail_intervened";
3416
- readonly MAX_TOKENS: "max_tokens";
3417
- readonly MODEL_CONTEXT_WINDOW_EXCEEDED: "model_context_window_exceeded";
3418
- readonly STOP_SEQUENCE: "stop_sequence";
3419
- readonly TOOL_USE: "tool_use";
3420
- };
3421
- /**
3422
- * @public
3423
- */
3424
- export type StopReason = (typeof StopReason)[keyof typeof StopReason];
3425
2993
  /**
3426
2994
  * <p>A Top level guardrail trace object. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseTrace.html">ConverseTrace</a>.</p>
3427
2995
  * @public
@@ -3551,65 +3119,6 @@ export interface ConverseResponse {
3551
3119
  */
3552
3120
  serviceTier?: ServiceTier | undefined;
3553
3121
  }
3554
- /**
3555
- * <p>The request failed due to an error while processing the model.</p>
3556
- * @public
3557
- */
3558
- export declare class ModelErrorException extends __BaseException {
3559
- readonly name: "ModelErrorException";
3560
- readonly $fault: "client";
3561
- /**
3562
- * <p>The original status code.</p>
3563
- * @public
3564
- */
3565
- originalStatusCode?: number | undefined;
3566
- /**
3567
- * <p>The resource name.</p>
3568
- * @public
3569
- */
3570
- resourceName?: string | undefined;
3571
- /**
3572
- * @internal
3573
- */
3574
- constructor(opts: __ExceptionOptionType<ModelErrorException, __BaseException>);
3575
- }
3576
- /**
3577
- * <p>The model specified in the request is not ready to serve inference requests. The AWS SDK will automatically retry the operation up to 5 times. For information about configuring automatic retries, see <a href="https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html">Retry behavior</a> in the <i>AWS SDKs and Tools</i> reference guide.</p>
3578
- * @public
3579
- */
3580
- export declare class ModelNotReadyException extends __BaseException {
3581
- readonly name: "ModelNotReadyException";
3582
- readonly $fault: "client";
3583
- $retryable: {};
3584
- /**
3585
- * @internal
3586
- */
3587
- constructor(opts: __ExceptionOptionType<ModelNotReadyException, __BaseException>);
3588
- }
3589
- /**
3590
- * <p>The request took too long to process. Processing time exceeded the model timeout length.</p>
3591
- * @public
3592
- */
3593
- export declare class ModelTimeoutException extends __BaseException {
3594
- readonly name: "ModelTimeoutException";
3595
- readonly $fault: "client";
3596
- /**
3597
- * @internal
3598
- */
3599
- constructor(opts: __ExceptionOptionType<ModelTimeoutException, __BaseException>);
3600
- }
3601
- /**
3602
- * @public
3603
- * @enum
3604
- */
3605
- export declare const GuardrailStreamProcessingMode: {
3606
- readonly ASYNC: "async";
3607
- readonly SYNC: "sync";
3608
- };
3609
- /**
3610
- * @public
3611
- */
3612
- export type GuardrailStreamProcessingMode = (typeof GuardrailStreamProcessingMode)[keyof typeof GuardrailStreamProcessingMode];
3613
3122
  /**
3614
3123
  * <p>Configuration information for a guardrail that you use with the <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html">ConverseStream</a> action. </p>
3615
3124
  * @public
@@ -3722,6 +3231,11 @@ export interface CitationsDelta {
3722
3231
  * @public
3723
3232
  */
3724
3233
  title?: string | undefined;
3234
+ /**
3235
+ * <p>The source from the original search result that provided the cited content.</p>
3236
+ * @public
3237
+ */
3238
+ source?: string | undefined;
3725
3239
  /**
3726
3240
  * <p>The specific content from the source document that was referenced or cited in the generated response.</p>
3727
3241
  * @public
@@ -4144,28 +3658,6 @@ export interface ConverseStreamMetadataEvent {
4144
3658
  */
4145
3659
  serviceTier?: ServiceTier | undefined;
4146
3660
  }
4147
- /**
4148
- * <p>An error occurred while streaming the response. Retry your request.</p>
4149
- * @public
4150
- */
4151
- export declare class ModelStreamErrorException extends __BaseException {
4152
- readonly name: "ModelStreamErrorException";
4153
- readonly $fault: "client";
4154
- /**
4155
- * <p>The original status code.</p>
4156
- * @public
4157
- */
4158
- originalStatusCode?: number | undefined;
4159
- /**
4160
- * <p>The original message.</p>
4161
- * @public
4162
- */
4163
- originalMessage?: string | undefined;
4164
- /**
4165
- * @internal
4166
- */
4167
- constructor(opts: __ExceptionOptionType<ModelStreamErrorException, __BaseException>);
4168
- }
4169
3661
  /**
4170
3662
  * <p>The messages output stream</p>
4171
3663
  * @public
@@ -4419,19 +3911,6 @@ export interface ConverseStreamResponse {
4419
3911
  */
4420
3912
  stream?: AsyncIterable<ConverseStreamOutput> | undefined;
4421
3913
  }
4422
- /**
4423
- * @public
4424
- * @enum
4425
- */
4426
- export declare const Trace: {
4427
- readonly DISABLED: "DISABLED";
4428
- readonly ENABLED: "ENABLED";
4429
- readonly ENABLED_FULL: "ENABLED_FULL";
4430
- };
4431
- /**
4432
- * @public
4433
- */
4434
- export type Trace = (typeof Trace)[keyof typeof Trace];
4435
3914
  /**
4436
3915
  * @public
4437
3916
  */