@aws-sdk/client-bedrock-runtime 3.699.0 → 3.705.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +31 -7
  2. package/dist-cjs/index.js +484 -116
  3. package/dist-es/BedrockRuntime.js +6 -0
  4. package/dist-es/commands/GetAsyncInvokeCommand.js +23 -0
  5. package/dist-es/commands/ListAsyncInvokesCommand.js +23 -0
  6. package/dist-es/commands/StartAsyncInvokeCommand.js +23 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/index.js +1 -0
  9. package/dist-es/models/models_0.js +156 -72
  10. package/dist-es/pagination/Interfaces.js +1 -0
  11. package/dist-es/pagination/ListAsyncInvokesPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +2 -0
  13. package/dist-es/protocols/Aws_restJson1.js +200 -2
  14. package/dist-types/BedrockRuntime.d.ts +22 -0
  15. package/dist-types/BedrockRuntimeClient.d.ts +5 -2
  16. package/dist-types/commands/ApplyGuardrailCommand.d.ts +12 -5
  17. package/dist-types/commands/ConverseCommand.d.ts +73 -9
  18. package/dist-types/commands/ConverseStreamCommand.d.ts +53 -9
  19. package/dist-types/commands/GetAsyncInvokeCommand.d.ts +101 -0
  20. package/dist-types/commands/InvokeModelCommand.d.ts +26 -9
  21. package/dist-types/commands/InvokeModelWithResponseStreamCommand.d.ts +26 -9
  22. package/dist-types/commands/ListAsyncInvokesCommand.d.ts +112 -0
  23. package/dist-types/commands/StartAsyncInvokeCommand.d.ts +124 -0
  24. package/dist-types/commands/index.d.ts +3 -0
  25. package/dist-types/index.d.ts +1 -0
  26. package/dist-types/models/models_0.d.ts +652 -97
  27. package/dist-types/pagination/Interfaces.d.ts +8 -0
  28. package/dist-types/pagination/ListAsyncInvokesPaginator.d.ts +7 -0
  29. package/dist-types/pagination/index.d.ts +2 -0
  30. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  31. package/dist-types/ts3.4/BedrockRuntime.d.ts +52 -0
  32. package/dist-types/ts3.4/BedrockRuntimeClient.d.ts +20 -2
  33. package/dist-types/ts3.4/commands/GetAsyncInvokeCommand.d.ts +50 -0
  34. package/dist-types/ts3.4/commands/ListAsyncInvokesCommand.d.ts +50 -0
  35. package/dist-types/ts3.4/commands/StartAsyncInvokeCommand.d.ts +50 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  37. package/dist-types/ts3.4/index.d.ts +1 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +254 -42
  39. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  40. package/dist-types/ts3.4/pagination/ListAsyncInvokesPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  43. package/package.json +4 -2
@@ -8,6 +8,148 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
+ export interface GetAsyncInvokeRequest {
12
+ invocationArn: string | undefined;
13
+ }
14
+ export interface AsyncInvokeS3OutputDataConfig {
15
+ s3Uri: string | undefined;
16
+ kmsKeyId?: string | undefined;
17
+ bucketOwner?: string | undefined;
18
+ }
19
+ export type AsyncInvokeOutputDataConfig =
20
+ | AsyncInvokeOutputDataConfig.S3OutputDataConfigMember
21
+ | AsyncInvokeOutputDataConfig.$UnknownMember;
22
+ export declare namespace AsyncInvokeOutputDataConfig {
23
+ interface S3OutputDataConfigMember {
24
+ s3OutputDataConfig: AsyncInvokeS3OutputDataConfig;
25
+ $unknown?: never;
26
+ }
27
+ interface $UnknownMember {
28
+ s3OutputDataConfig?: never;
29
+ $unknown: [string, any];
30
+ }
31
+ interface Visitor<T> {
32
+ s3OutputDataConfig: (value: AsyncInvokeS3OutputDataConfig) => T;
33
+ _: (name: string, value: any) => T;
34
+ }
35
+ const visit: <T>(
36
+ value: AsyncInvokeOutputDataConfig,
37
+ visitor: Visitor<T>
38
+ ) => T;
39
+ }
40
+ export declare const AsyncInvokeStatus: {
41
+ readonly COMPLETED: "Completed";
42
+ readonly FAILED: "Failed";
43
+ readonly IN_PROGRESS: "InProgress";
44
+ };
45
+ export type AsyncInvokeStatus =
46
+ (typeof AsyncInvokeStatus)[keyof typeof AsyncInvokeStatus];
47
+ export interface GetAsyncInvokeResponse {
48
+ invocationArn: string | undefined;
49
+ modelArn: string | undefined;
50
+ clientRequestToken?: string | undefined;
51
+ status: AsyncInvokeStatus | undefined;
52
+ failureMessage?: string | undefined;
53
+ submitTime: Date | undefined;
54
+ lastModifiedTime?: Date | undefined;
55
+ endTime?: Date | undefined;
56
+ outputDataConfig: AsyncInvokeOutputDataConfig | undefined;
57
+ }
58
+ export declare class InternalServerException extends __BaseException {
59
+ readonly name: "InternalServerException";
60
+ readonly $fault: "server";
61
+ constructor(
62
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
63
+ );
64
+ }
65
+ export declare class ThrottlingException extends __BaseException {
66
+ readonly name: "ThrottlingException";
67
+ readonly $fault: "client";
68
+ constructor(
69
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
70
+ );
71
+ }
72
+ export declare class ValidationException extends __BaseException {
73
+ readonly name: "ValidationException";
74
+ readonly $fault: "client";
75
+ constructor(
76
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
77
+ );
78
+ }
79
+ export declare const SortAsyncInvocationBy: {
80
+ readonly SUBMISSION_TIME: "SubmissionTime";
81
+ };
82
+ export type SortAsyncInvocationBy =
83
+ (typeof SortAsyncInvocationBy)[keyof typeof SortAsyncInvocationBy];
84
+ export declare const SortOrder: {
85
+ readonly ASCENDING: "Ascending";
86
+ readonly DESCENDING: "Descending";
87
+ };
88
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
89
+ export interface ListAsyncInvokesRequest {
90
+ submitTimeAfter?: Date | undefined;
91
+ submitTimeBefore?: Date | undefined;
92
+ statusEquals?: AsyncInvokeStatus | undefined;
93
+ maxResults?: number | undefined;
94
+ nextToken?: string | undefined;
95
+ sortBy?: SortAsyncInvocationBy | undefined;
96
+ sortOrder?: SortOrder | undefined;
97
+ }
98
+ export interface AsyncInvokeSummary {
99
+ invocationArn: string | undefined;
100
+ modelArn: string | undefined;
101
+ clientRequestToken?: string | undefined;
102
+ status?: AsyncInvokeStatus | undefined;
103
+ failureMessage?: string | undefined;
104
+ submitTime: Date | undefined;
105
+ lastModifiedTime?: Date | undefined;
106
+ endTime?: Date | undefined;
107
+ outputDataConfig: AsyncInvokeOutputDataConfig | undefined;
108
+ }
109
+ export interface ListAsyncInvokesResponse {
110
+ nextToken?: string | undefined;
111
+ asyncInvokeSummaries?: AsyncInvokeSummary[] | undefined;
112
+ }
113
+ export declare class ConflictException extends __BaseException {
114
+ readonly name: "ConflictException";
115
+ readonly $fault: "client";
116
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
117
+ }
118
+ export declare class ResourceNotFoundException extends __BaseException {
119
+ readonly name: "ResourceNotFoundException";
120
+ readonly $fault: "client";
121
+ constructor(
122
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
123
+ );
124
+ }
125
+ export declare class ServiceQuotaExceededException extends __BaseException {
126
+ readonly name: "ServiceQuotaExceededException";
127
+ readonly $fault: "client";
128
+ constructor(
129
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
130
+ );
131
+ }
132
+ export declare class ServiceUnavailableException extends __BaseException {
133
+ readonly name: "ServiceUnavailableException";
134
+ readonly $fault: "server";
135
+ constructor(
136
+ opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
137
+ );
138
+ }
139
+ export interface Tag {
140
+ key: string | undefined;
141
+ value: string | undefined;
142
+ }
143
+ export interface StartAsyncInvokeRequest {
144
+ clientRequestToken?: string | undefined;
145
+ modelId: string | undefined;
146
+ modelInput: __DocumentType | undefined;
147
+ outputDataConfig: AsyncInvokeOutputDataConfig | undefined;
148
+ tags?: Tag[] | undefined;
149
+ }
150
+ export interface StartAsyncInvokeResponse {
151
+ invocationArn: string | undefined;
152
+ }
11
153
  export declare const GuardrailContentQualifier: {
12
154
  readonly GROUNDING_SOURCE: "grounding_source";
13
155
  readonly GUARD_CONTENT: "guard_content";
@@ -255,41 +397,6 @@ export interface ApplyGuardrailResponse {
255
397
  assessments: GuardrailAssessment[] | undefined;
256
398
  guardrailCoverage?: GuardrailCoverage | undefined;
257
399
  }
258
- export declare class InternalServerException extends __BaseException {
259
- readonly name: "InternalServerException";
260
- readonly $fault: "server";
261
- constructor(
262
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
263
- );
264
- }
265
- export declare class ResourceNotFoundException extends __BaseException {
266
- readonly name: "ResourceNotFoundException";
267
- readonly $fault: "client";
268
- constructor(
269
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
270
- );
271
- }
272
- export declare class ServiceQuotaExceededException extends __BaseException {
273
- readonly name: "ServiceQuotaExceededException";
274
- readonly $fault: "client";
275
- constructor(
276
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
277
- );
278
- }
279
- export declare class ThrottlingException extends __BaseException {
280
- readonly name: "ThrottlingException";
281
- readonly $fault: "client";
282
- constructor(
283
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
284
- );
285
- }
286
- export declare class ValidationException extends __BaseException {
287
- readonly name: "ValidationException";
288
- readonly $fault: "client";
289
- constructor(
290
- opts: __ExceptionOptionType<ValidationException, __BaseException>
291
- );
292
- }
293
400
  export declare const GuardrailTrace: {
294
401
  readonly DISABLED: "disabled";
295
402
  readonly ENABLED: "enabled";
@@ -402,11 +509,59 @@ export interface ImageBlock {
402
509
  format: ImageFormat | undefined;
403
510
  source: ImageSource | undefined;
404
511
  }
512
+ export declare const VideoFormat: {
513
+ readonly FLV: "flv";
514
+ readonly MKV: "mkv";
515
+ readonly MOV: "mov";
516
+ readonly MP4: "mp4";
517
+ readonly MPEG: "mpeg";
518
+ readonly MPG: "mpg";
519
+ readonly THREE_GP: "three_gp";
520
+ readonly WEBM: "webm";
521
+ readonly WMV: "wmv";
522
+ };
523
+ export type VideoFormat = (typeof VideoFormat)[keyof typeof VideoFormat];
524
+ export interface S3Location {
525
+ uri: string | undefined;
526
+ bucketOwner?: string | undefined;
527
+ }
528
+ export type VideoSource =
529
+ | VideoSource.BytesMember
530
+ | VideoSource.S3LocationMember
531
+ | VideoSource.$UnknownMember;
532
+ export declare namespace VideoSource {
533
+ interface BytesMember {
534
+ bytes: Uint8Array;
535
+ s3Location?: never;
536
+ $unknown?: never;
537
+ }
538
+ interface S3LocationMember {
539
+ bytes?: never;
540
+ s3Location: S3Location;
541
+ $unknown?: never;
542
+ }
543
+ interface $UnknownMember {
544
+ bytes?: never;
545
+ s3Location?: never;
546
+ $unknown: [string, any];
547
+ }
548
+ interface Visitor<T> {
549
+ bytes: (value: Uint8Array) => T;
550
+ s3Location: (value: S3Location) => T;
551
+ _: (name: string, value: any) => T;
552
+ }
553
+ const visit: <T>(value: VideoSource, visitor: Visitor<T>) => T;
554
+ }
555
+ export interface VideoBlock {
556
+ format: VideoFormat | undefined;
557
+ source: VideoSource | undefined;
558
+ }
405
559
  export type ToolResultContentBlock =
406
560
  | ToolResultContentBlock.DocumentMember
407
561
  | ToolResultContentBlock.ImageMember
408
562
  | ToolResultContentBlock.JsonMember
409
563
  | ToolResultContentBlock.TextMember
564
+ | ToolResultContentBlock.VideoMember
410
565
  | ToolResultContentBlock.$UnknownMember;
411
566
  export declare namespace ToolResultContentBlock {
412
567
  interface JsonMember {
@@ -414,6 +569,7 @@ export declare namespace ToolResultContentBlock {
414
569
  text?: never;
415
570
  image?: never;
416
571
  document?: never;
572
+ video?: never;
417
573
  $unknown?: never;
418
574
  }
419
575
  interface TextMember {
@@ -421,6 +577,7 @@ export declare namespace ToolResultContentBlock {
421
577
  text: string;
422
578
  image?: never;
423
579
  document?: never;
580
+ video?: never;
424
581
  $unknown?: never;
425
582
  }
426
583
  interface ImageMember {
@@ -428,6 +585,7 @@ export declare namespace ToolResultContentBlock {
428
585
  text?: never;
429
586
  image: ImageBlock;
430
587
  document?: never;
588
+ video?: never;
431
589
  $unknown?: never;
432
590
  }
433
591
  interface DocumentMember {
@@ -435,6 +593,15 @@ export declare namespace ToolResultContentBlock {
435
593
  text?: never;
436
594
  image?: never;
437
595
  document: DocumentBlock;
596
+ video?: never;
597
+ $unknown?: never;
598
+ }
599
+ interface VideoMember {
600
+ json?: never;
601
+ text?: never;
602
+ image?: never;
603
+ document?: never;
604
+ video: VideoBlock;
438
605
  $unknown?: never;
439
606
  }
440
607
  interface $UnknownMember {
@@ -442,6 +609,7 @@ export declare namespace ToolResultContentBlock {
442
609
  text?: never;
443
610
  image?: never;
444
611
  document?: never;
612
+ video?: never;
445
613
  $unknown: [string, any];
446
614
  }
447
615
  interface Visitor<T> {
@@ -449,6 +617,7 @@ export declare namespace ToolResultContentBlock {
449
617
  text: (value: string) => T;
450
618
  image: (value: ImageBlock) => T;
451
619
  document: (value: DocumentBlock) => T;
620
+ video: (value: VideoBlock) => T;
452
621
  _: (name: string, value: any) => T;
453
622
  }
454
623
  const visit: <T>(value: ToolResultContentBlock, visitor: Visitor<T>) => T;
@@ -476,12 +645,14 @@ export type ContentBlock =
476
645
  | ContentBlock.TextMember
477
646
  | ContentBlock.ToolResultMember
478
647
  | ContentBlock.ToolUseMember
648
+ | ContentBlock.VideoMember
479
649
  | ContentBlock.$UnknownMember;
480
650
  export declare namespace ContentBlock {
481
651
  interface TextMember {
482
652
  text: string;
483
653
  image?: never;
484
654
  document?: never;
655
+ video?: never;
485
656
  toolUse?: never;
486
657
  toolResult?: never;
487
658
  guardContent?: never;
@@ -491,6 +662,7 @@ export declare namespace ContentBlock {
491
662
  text?: never;
492
663
  image: ImageBlock;
493
664
  document?: never;
665
+ video?: never;
494
666
  toolUse?: never;
495
667
  toolResult?: never;
496
668
  guardContent?: never;
@@ -500,6 +672,17 @@ export declare namespace ContentBlock {
500
672
  text?: never;
501
673
  image?: never;
502
674
  document: DocumentBlock;
675
+ video?: never;
676
+ toolUse?: never;
677
+ toolResult?: never;
678
+ guardContent?: never;
679
+ $unknown?: never;
680
+ }
681
+ interface VideoMember {
682
+ text?: never;
683
+ image?: never;
684
+ document?: never;
685
+ video: VideoBlock;
503
686
  toolUse?: never;
504
687
  toolResult?: never;
505
688
  guardContent?: never;
@@ -509,6 +692,7 @@ export declare namespace ContentBlock {
509
692
  text?: never;
510
693
  image?: never;
511
694
  document?: never;
695
+ video?: never;
512
696
  toolUse: ToolUseBlock;
513
697
  toolResult?: never;
514
698
  guardContent?: never;
@@ -518,6 +702,7 @@ export declare namespace ContentBlock {
518
702
  text?: never;
519
703
  image?: never;
520
704
  document?: never;
705
+ video?: never;
521
706
  toolUse?: never;
522
707
  toolResult: ToolResultBlock;
523
708
  guardContent?: never;
@@ -527,6 +712,7 @@ export declare namespace ContentBlock {
527
712
  text?: never;
528
713
  image?: never;
529
714
  document?: never;
715
+ video?: never;
530
716
  toolUse?: never;
531
717
  toolResult?: never;
532
718
  guardContent: GuardrailConverseContentBlock;
@@ -536,6 +722,7 @@ export declare namespace ContentBlock {
536
722
  text?: never;
537
723
  image?: never;
538
724
  document?: never;
725
+ video?: never;
539
726
  toolUse?: never;
540
727
  toolResult?: never;
541
728
  guardContent?: never;
@@ -545,6 +732,7 @@ export declare namespace ContentBlock {
545
732
  text: (value: string) => T;
546
733
  image: (value: ImageBlock) => T;
547
734
  document: (value: DocumentBlock) => T;
735
+ video: (value: VideoBlock) => T;
548
736
  toolUse: (value: ToolUseBlock) => T;
549
737
  toolResult: (value: ToolResultBlock) => T;
550
738
  guardContent: (value: GuardrailConverseContentBlock) => T;
@@ -562,6 +750,15 @@ export interface Message {
562
750
  role: ConversationRole | undefined;
563
751
  content: ContentBlock[] | undefined;
564
752
  }
753
+ export declare const PerformanceConfigLatency: {
754
+ readonly OPTIMIZED: "optimized";
755
+ readonly STANDARD: "standard";
756
+ };
757
+ export type PerformanceConfigLatency =
758
+ (typeof PerformanceConfigLatency)[keyof typeof PerformanceConfigLatency];
759
+ export interface PerformanceConfiguration {
760
+ latency?: PerformanceConfigLatency | undefined;
761
+ }
565
762
  export type PromptVariableValues =
566
763
  | PromptVariableValues.TextMember
567
764
  | PromptVariableValues.$UnknownMember;
@@ -703,6 +900,8 @@ export interface ConverseRequest {
703
900
  additionalModelRequestFields?: __DocumentType | undefined;
704
901
  promptVariables?: Record<string, PromptVariableValues> | undefined;
705
902
  additionalModelResponseFieldPaths?: string[] | undefined;
903
+ requestMetadata?: Record<string, string> | undefined;
904
+ performanceConfig?: PerformanceConfiguration | undefined;
706
905
  }
707
906
  export interface ConverseMetrics {
708
907
  latencyMs: number | undefined;
@@ -754,6 +953,7 @@ export interface ConverseResponse {
754
953
  metrics: ConverseMetrics | undefined;
755
954
  additionalModelResponseFields?: __DocumentType | undefined;
756
955
  trace?: ConverseTrace | undefined;
956
+ performanceConfig?: PerformanceConfiguration | undefined;
757
957
  }
758
958
  export declare class ModelErrorException extends __BaseException {
759
959
  readonly name: "ModelErrorException";
@@ -779,13 +979,6 @@ export declare class ModelTimeoutException extends __BaseException {
779
979
  opts: __ExceptionOptionType<ModelTimeoutException, __BaseException>
780
980
  );
781
981
  }
782
- export declare class ServiceUnavailableException extends __BaseException {
783
- readonly name: "ServiceUnavailableException";
784
- readonly $fault: "server";
785
- constructor(
786
- opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
787
- );
788
- }
789
982
  export declare const GuardrailStreamProcessingMode: {
790
983
  readonly ASYNC: "async";
791
984
  readonly SYNC: "sync";
@@ -808,6 +1001,8 @@ export interface ConverseStreamRequest {
808
1001
  additionalModelRequestFields?: __DocumentType | undefined;
809
1002
  promptVariables?: Record<string, PromptVariableValues> | undefined;
810
1003
  additionalModelResponseFieldPaths?: string[] | undefined;
1004
+ requestMetadata?: Record<string, string> | undefined;
1005
+ performanceConfig?: PerformanceConfiguration | undefined;
811
1006
  }
812
1007
  export interface ToolUseBlockDelta {
813
1008
  input: string | undefined;
@@ -889,6 +1084,7 @@ export interface ConverseStreamMetadataEvent {
889
1084
  usage: TokenUsage | undefined;
890
1085
  metrics: ConverseStreamMetrics | undefined;
891
1086
  trace?: ConverseStreamTrace | undefined;
1087
+ performanceConfig?: PerformanceConfiguration | undefined;
892
1088
  }
893
1089
  export declare class ModelStreamErrorException extends __BaseException {
894
1090
  readonly name: "ModelStreamErrorException";
@@ -1113,10 +1309,12 @@ export interface InvokeModelRequest {
1113
1309
  trace?: Trace | undefined;
1114
1310
  guardrailIdentifier?: string | undefined;
1115
1311
  guardrailVersion?: string | undefined;
1312
+ performanceConfigLatency?: PerformanceConfigLatency | undefined;
1116
1313
  }
1117
1314
  export interface InvokeModelResponse {
1118
1315
  body: Uint8Array | undefined;
1119
1316
  contentType: string | undefined;
1317
+ performanceConfigLatency?: PerformanceConfigLatency | undefined;
1120
1318
  }
1121
1319
  export interface InvokeModelWithResponseStreamRequest {
1122
1320
  body?: Uint8Array | undefined;
@@ -1126,6 +1324,7 @@ export interface InvokeModelWithResponseStreamRequest {
1126
1324
  trace?: Trace | undefined;
1127
1325
  guardrailIdentifier?: string | undefined;
1128
1326
  guardrailVersion?: string | undefined;
1327
+ performanceConfigLatency?: PerformanceConfigLatency | undefined;
1129
1328
  }
1130
1329
  export interface PayloadPart {
1131
1330
  bytes?: Uint8Array | undefined;
@@ -1235,7 +1434,20 @@ export declare namespace ResponseStream {
1235
1434
  export interface InvokeModelWithResponseStreamResponse {
1236
1435
  body: AsyncIterable<ResponseStream> | undefined;
1237
1436
  contentType: string | undefined;
1437
+ performanceConfigLatency?: PerformanceConfigLatency | undefined;
1238
1438
  }
1439
+ export declare const GetAsyncInvokeResponseFilterSensitiveLog: (
1440
+ obj: GetAsyncInvokeResponse
1441
+ ) => any;
1442
+ export declare const AsyncInvokeSummaryFilterSensitiveLog: (
1443
+ obj: AsyncInvokeSummary
1444
+ ) => any;
1445
+ export declare const ListAsyncInvokesResponseFilterSensitiveLog: (
1446
+ obj: ListAsyncInvokesResponse
1447
+ ) => any;
1448
+ export declare const StartAsyncInvokeRequestFilterSensitiveLog: (
1449
+ obj: StartAsyncInvokeRequest
1450
+ ) => any;
1239
1451
  export declare const ConverseRequestFilterSensitiveLog: (
1240
1452
  obj: ConverseRequest
1241
1453
  ) => any;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { BedrockRuntimeClient } from "../BedrockRuntimeClient";
3
+ export interface BedrockRuntimePaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: BedrockRuntimeClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAsyncInvokesCommandInput,
4
+ ListAsyncInvokesCommandOutput,
5
+ } from "../commands/ListAsyncInvokesCommand";
6
+ import { BedrockRuntimePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListAsyncInvokes: (
8
+ config: BedrockRuntimePaginationConfiguration,
9
+ input: ListAsyncInvokesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListAsyncInvokesCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAsyncInvokesPaginator";
@@ -18,6 +18,10 @@ import {
18
18
  ConverseStreamCommandInput,
19
19
  ConverseStreamCommandOutput,
20
20
  } from "../commands/ConverseStreamCommand";
21
+ import {
22
+ GetAsyncInvokeCommandInput,
23
+ GetAsyncInvokeCommandOutput,
24
+ } from "../commands/GetAsyncInvokeCommand";
21
25
  import {
22
26
  InvokeModelCommandInput,
23
27
  InvokeModelCommandOutput,
@@ -26,6 +30,14 @@ import {
26
30
  InvokeModelWithResponseStreamCommandInput,
27
31
  InvokeModelWithResponseStreamCommandOutput,
28
32
  } from "../commands/InvokeModelWithResponseStreamCommand";
33
+ import {
34
+ ListAsyncInvokesCommandInput,
35
+ ListAsyncInvokesCommandOutput,
36
+ } from "../commands/ListAsyncInvokesCommand";
37
+ import {
38
+ StartAsyncInvokeCommandInput,
39
+ StartAsyncInvokeCommandOutput,
40
+ } from "../commands/StartAsyncInvokeCommand";
29
41
  export declare const se_ApplyGuardrailCommand: (
30
42
  input: ApplyGuardrailCommandInput,
31
43
  context: __SerdeContext
@@ -38,6 +50,10 @@ export declare const se_ConverseStreamCommand: (
38
50
  input: ConverseStreamCommandInput,
39
51
  context: __SerdeContext
40
52
  ) => Promise<__HttpRequest>;
53
+ export declare const se_GetAsyncInvokeCommand: (
54
+ input: GetAsyncInvokeCommandInput,
55
+ context: __SerdeContext
56
+ ) => Promise<__HttpRequest>;
41
57
  export declare const se_InvokeModelCommand: (
42
58
  input: InvokeModelCommandInput,
43
59
  context: __SerdeContext
@@ -46,6 +62,14 @@ export declare const se_InvokeModelWithResponseStreamCommand: (
46
62
  input: InvokeModelWithResponseStreamCommandInput,
47
63
  context: __SerdeContext
48
64
  ) => Promise<__HttpRequest>;
65
+ export declare const se_ListAsyncInvokesCommand: (
66
+ input: ListAsyncInvokesCommandInput,
67
+ context: __SerdeContext
68
+ ) => Promise<__HttpRequest>;
69
+ export declare const se_StartAsyncInvokeCommand: (
70
+ input: StartAsyncInvokeCommandInput,
71
+ context: __SerdeContext
72
+ ) => Promise<__HttpRequest>;
49
73
  export declare const de_ApplyGuardrailCommand: (
50
74
  output: __HttpResponse,
51
75
  context: __SerdeContext
@@ -58,6 +82,10 @@ export declare const de_ConverseStreamCommand: (
58
82
  output: __HttpResponse,
59
83
  context: __SerdeContext & __EventStreamSerdeContext
60
84
  ) => Promise<ConverseStreamCommandOutput>;
85
+ export declare const de_GetAsyncInvokeCommand: (
86
+ output: __HttpResponse,
87
+ context: __SerdeContext
88
+ ) => Promise<GetAsyncInvokeCommandOutput>;
61
89
  export declare const de_InvokeModelCommand: (
62
90
  output: __HttpResponse,
63
91
  context: __SerdeContext
@@ -66,3 +94,11 @@ export declare const de_InvokeModelWithResponseStreamCommand: (
66
94
  output: __HttpResponse,
67
95
  context: __SerdeContext & __EventStreamSerdeContext
68
96
  ) => Promise<InvokeModelWithResponseStreamCommandOutput>;
97
+ export declare const de_ListAsyncInvokesCommand: (
98
+ output: __HttpResponse,
99
+ context: __SerdeContext
100
+ ) => Promise<ListAsyncInvokesCommandOutput>;
101
+ export declare const de_StartAsyncInvokeCommand: (
102
+ output: __HttpResponse,
103
+ context: __SerdeContext
104
+ ) => Promise<StartAsyncInvokeCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-runtime",
3
3
  "description": "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.699.0",
4
+ "version": "3.705.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-runtime",
@@ -62,7 +62,9 @@
62
62
  "@smithy/util-retry": "^3.0.10",
63
63
  "@smithy/util-stream": "^3.3.1",
64
64
  "@smithy/util-utf8": "^3.0.0",
65
- "tslib": "^2.6.2"
65
+ "@types/uuid": "^9.0.1",
66
+ "tslib": "^2.6.2",
67
+ "uuid": "^9.0.1"
66
68
  },
67
69
  "devDependencies": {
68
70
  "@tsconfig/node16": "16.1.3",