aws-sdk 2.1603.0 → 2.1605.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/README.md +1 -1
  2. package/apis/bedrock-2023-04-20.min.json +1059 -90
  3. package/apis/bedrock-2023-04-20.paginators.json +12 -0
  4. package/apis/bedrock-agent-2023-06-05.min.json +105 -52
  5. package/apis/bedrock-agent-runtime-2023-07-26.min.json +265 -58
  6. package/apis/bedrock-runtime-2023-09-30.min.json +24 -0
  7. package/apis/ce-2017-10-25.min.json +2 -1
  8. package/apis/ec2-2016-11-15.min.json +139 -82
  9. package/apis/metadata.json +3 -0
  10. package/apis/payment-cryptography-2021-09-14.min.json +219 -189
  11. package/apis/payment-cryptography-2021-09-14.waiters2.json +5 -0
  12. package/apis/route53profiles-2018-05-10.examples.json +5 -0
  13. package/apis/route53profiles-2018-05-10.min.json +598 -0
  14. package/apis/route53profiles-2018-05-10.paginators.json +22 -0
  15. package/apis/sagemaker-2017-07-24.min.json +87 -63
  16. package/apis/servicediscovery-2017-03-14.examples.json +86 -0
  17. package/apis/transfer-2018-11-05.min.json +32 -3
  18. package/apis/workspaces-web-2020-07-08.min.json +84 -43
  19. package/clients/all.d.ts +1 -0
  20. package/clients/all.js +2 -1
  21. package/clients/bedrock.d.ts +1082 -118
  22. package/clients/bedrockagent.d.ts +80 -2
  23. package/clients/bedrockagentruntime.d.ts +252 -5
  24. package/clients/bedrockruntime.d.ts +37 -10
  25. package/clients/costexplorer.d.ts +11 -7
  26. package/clients/ec2.d.ts +103 -39
  27. package/clients/paymentcryptography.d.ts +175 -147
  28. package/clients/paymentcryptography.js +1 -0
  29. package/clients/pi.d.ts +5 -5
  30. package/clients/rds.d.ts +1 -1
  31. package/clients/redshiftserverless.d.ts +5 -5
  32. package/clients/route53profiles.d.ts +614 -0
  33. package/clients/route53profiles.js +18 -0
  34. package/clients/sagemaker.d.ts +17 -10
  35. package/clients/servicediscovery.d.ts +4 -4
  36. package/clients/transfer.d.ts +44 -5
  37. package/clients/workspacesweb.d.ts +89 -23
  38. package/dist/aws-sdk-core-react-native.js +2 -2
  39. package/dist/aws-sdk-react-native.js +297 -253
  40. package/dist/aws-sdk.js +147 -86
  41. package/dist/aws-sdk.min.js +70 -70
  42. package/lib/config_service_placeholders.d.ts +2 -0
  43. package/lib/core.js +1 -1
  44. package/package.json +1 -1
@@ -22,7 +22,6 @@
22
22
  "required": [
23
23
  "agentAliasId",
24
24
  "agentId",
25
- "inputText",
26
25
  "sessionId"
27
26
  ],
28
27
  "members": {
@@ -51,11 +50,55 @@
51
50
  "sessionState": {
52
51
  "type": "structure",
53
52
  "members": {
53
+ "invocationId": {},
54
54
  "promptSessionAttributes": {
55
55
  "type": "map",
56
56
  "key": {},
57
57
  "value": {}
58
58
  },
59
+ "returnControlInvocationResults": {
60
+ "type": "list",
61
+ "member": {
62
+ "type": "structure",
63
+ "members": {
64
+ "apiResult": {
65
+ "type": "structure",
66
+ "required": [
67
+ "actionGroup"
68
+ ],
69
+ "members": {
70
+ "actionGroup": {},
71
+ "apiPath": {
72
+ "shape": "Sd"
73
+ },
74
+ "httpMethod": {},
75
+ "httpStatusCode": {
76
+ "type": "integer"
77
+ },
78
+ "responseBody": {
79
+ "shape": "Sf"
80
+ },
81
+ "responseState": {}
82
+ }
83
+ },
84
+ "functionResult": {
85
+ "type": "structure",
86
+ "required": [
87
+ "actionGroup"
88
+ ],
89
+ "members": {
90
+ "actionGroup": {},
91
+ "function": {},
92
+ "responseBody": {
93
+ "shape": "Sf"
94
+ },
95
+ "responseState": {}
96
+ }
97
+ }
98
+ },
99
+ "union": true
100
+ }
101
+ },
59
102
  "sessionAttributes": {
60
103
  "type": "map",
61
104
  "key": {},
@@ -106,7 +149,7 @@
106
149
  "type": "structure",
107
150
  "members": {
108
151
  "citations": {
109
- "shape": "Si"
152
+ "shape": "Sr"
110
153
  }
111
154
  }
112
155
  },
@@ -163,6 +206,88 @@
163
206
  },
164
207
  "exception": true
165
208
  },
209
+ "returnControl": {
210
+ "type": "structure",
211
+ "members": {
212
+ "invocationId": {},
213
+ "invocationInputs": {
214
+ "type": "list",
215
+ "member": {
216
+ "type": "structure",
217
+ "members": {
218
+ "apiInvocationInput": {
219
+ "type": "structure",
220
+ "required": [
221
+ "actionGroup"
222
+ ],
223
+ "members": {
224
+ "actionGroup": {},
225
+ "apiPath": {
226
+ "shape": "Sd"
227
+ },
228
+ "httpMethod": {},
229
+ "parameters": {
230
+ "type": "list",
231
+ "member": {
232
+ "type": "structure",
233
+ "members": {
234
+ "name": {},
235
+ "type": {},
236
+ "value": {}
237
+ }
238
+ }
239
+ },
240
+ "requestBody": {
241
+ "type": "structure",
242
+ "members": {
243
+ "content": {
244
+ "type": "map",
245
+ "key": {},
246
+ "value": {
247
+ "type": "structure",
248
+ "members": {
249
+ "properties": {
250
+ "type": "list",
251
+ "member": {
252
+ "shape": "S1m"
253
+ }
254
+ }
255
+ }
256
+ }
257
+ }
258
+ }
259
+ }
260
+ }
261
+ },
262
+ "functionInvocationInput": {
263
+ "type": "structure",
264
+ "required": [
265
+ "actionGroup"
266
+ ],
267
+ "members": {
268
+ "actionGroup": {},
269
+ "function": {},
270
+ "parameters": {
271
+ "type": "list",
272
+ "member": {
273
+ "type": "structure",
274
+ "members": {
275
+ "name": {},
276
+ "type": {},
277
+ "value": {}
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ },
284
+ "union": true
285
+ }
286
+ }
287
+ },
288
+ "event": true,
289
+ "sensitive": true
290
+ },
166
291
  "serviceQuotaExceededException": {
167
292
  "type": "structure",
168
293
  "members": {
@@ -190,6 +315,7 @@
190
315
  "members": {
191
316
  "agentAliasId": {},
192
317
  "agentId": {},
318
+ "agentVersion": {},
193
319
  "sessionId": {},
194
320
  "trace": {
195
321
  "type": "structure",
@@ -219,11 +345,14 @@
219
345
  "sensitive": true
220
346
  },
221
347
  "apiPath": {
348
+ "shape": "Sd"
349
+ },
350
+ "function": {
222
351
  "type": "string",
223
352
  "sensitive": true
224
353
  },
225
354
  "parameters": {
226
- "shape": "S1f"
355
+ "shape": "S23"
227
356
  },
228
357
  "requestBody": {
229
358
  "type": "structure",
@@ -232,7 +361,7 @@
232
361
  "type": "map",
233
362
  "key": {},
234
363
  "value": {
235
- "shape": "S1f"
364
+ "shape": "S23"
236
365
  }
237
366
  }
238
367
  }
@@ -262,7 +391,7 @@
262
391
  "sensitive": true
263
392
  },
264
393
  "modelInvocationInput": {
265
- "shape": "S1o"
394
+ "shape": "S2b"
266
395
  },
267
396
  "observation": {
268
397
  "type": "structure",
@@ -289,7 +418,7 @@
289
418
  "type": "structure",
290
419
  "members": {
291
420
  "retrievedReferences": {
292
- "shape": "Sp"
421
+ "shape": "Sy"
293
422
  }
294
423
  }
295
424
  },
@@ -313,7 +442,7 @@
313
442
  "type": "structure",
314
443
  "members": {
315
444
  "text": {
316
- "shape": "S29"
445
+ "shape": "S2w"
317
446
  },
318
447
  "traceId": {}
319
448
  },
@@ -327,7 +456,7 @@
327
456
  "type": "structure",
328
457
  "members": {
329
458
  "modelInvocationInput": {
330
- "shape": "S1o"
459
+ "shape": "S2b"
331
460
  },
332
461
  "modelInvocationOutput": {
333
462
  "type": "structure",
@@ -354,7 +483,7 @@
354
483
  "type": "structure",
355
484
  "members": {
356
485
  "modelInvocationInput": {
357
- "shape": "S1o"
486
+ "shape": "S2b"
358
487
  },
359
488
  "modelInvocationOutput": {
360
489
  "type": "structure",
@@ -366,7 +495,7 @@
366
495
  "type": "boolean"
367
496
  },
368
497
  "rationale": {
369
- "shape": "S29"
498
+ "shape": "S2w"
370
499
  }
371
500
  },
372
501
  "sensitive": true
@@ -431,7 +560,7 @@
431
560
  },
432
561
  "nextToken": {},
433
562
  "retrievalConfiguration": {
434
- "shape": "S2m"
563
+ "shape": "S39"
435
564
  },
436
565
  "retrievalQuery": {
437
566
  "type": "structure",
@@ -461,13 +590,13 @@
461
590
  ],
462
591
  "members": {
463
592
  "content": {
464
- "shape": "Sr"
593
+ "shape": "S10"
465
594
  },
466
595
  "location": {
467
- "shape": "Ss"
596
+ "shape": "S11"
468
597
  },
469
598
  "metadata": {
470
- "shape": "Sv"
599
+ "shape": "S14"
471
600
  },
472
601
  "score": {
473
602
  "type": "double"
@@ -506,6 +635,64 @@
506
635
  "type"
507
636
  ],
508
637
  "members": {
638
+ "externalSourcesConfiguration": {
639
+ "type": "structure",
640
+ "required": [
641
+ "modelArn",
642
+ "sources"
643
+ ],
644
+ "members": {
645
+ "generationConfiguration": {
646
+ "type": "structure",
647
+ "members": {
648
+ "promptTemplate": {
649
+ "shape": "S3u"
650
+ }
651
+ }
652
+ },
653
+ "modelArn": {},
654
+ "sources": {
655
+ "type": "list",
656
+ "member": {
657
+ "type": "structure",
658
+ "required": [
659
+ "sourceType"
660
+ ],
661
+ "members": {
662
+ "byteContent": {
663
+ "type": "structure",
664
+ "required": [
665
+ "contentType",
666
+ "data",
667
+ "identifier"
668
+ ],
669
+ "members": {
670
+ "contentType": {},
671
+ "data": {
672
+ "type": "blob",
673
+ "sensitive": true
674
+ },
675
+ "identifier": {
676
+ "type": "string",
677
+ "sensitive": true
678
+ }
679
+ }
680
+ },
681
+ "s3Location": {
682
+ "type": "structure",
683
+ "required": [
684
+ "uri"
685
+ ],
686
+ "members": {
687
+ "uri": {}
688
+ }
689
+ },
690
+ "sourceType": {}
691
+ }
692
+ }
693
+ }
694
+ }
695
+ },
509
696
  "knowledgeBaseConfiguration": {
510
697
  "type": "structure",
511
698
  "required": [
@@ -517,20 +704,14 @@
517
704
  "type": "structure",
518
705
  "members": {
519
706
  "promptTemplate": {
520
- "type": "structure",
521
- "members": {
522
- "textPromptTemplate": {
523
- "type": "string",
524
- "sensitive": true
525
- }
526
- }
707
+ "shape": "S3u"
527
708
  }
528
709
  }
529
710
  },
530
711
  "knowledgeBaseId": {},
531
712
  "modelArn": {},
532
713
  "retrievalConfiguration": {
533
- "shape": "S2m"
714
+ "shape": "S39"
534
715
  }
535
716
  }
536
717
  },
@@ -557,7 +738,7 @@
557
738
  ],
558
739
  "members": {
559
740
  "citations": {
560
- "shape": "Si"
741
+ "shape": "Sr"
561
742
  },
562
743
  "output": {
563
744
  "type": "structure",
@@ -575,7 +756,21 @@
575
756
  }
576
757
  },
577
758
  "shapes": {
578
- "Si": {
759
+ "Sd": {
760
+ "type": "string",
761
+ "sensitive": true
762
+ },
763
+ "Sf": {
764
+ "type": "map",
765
+ "key": {},
766
+ "value": {
767
+ "type": "structure",
768
+ "members": {
769
+ "body": {}
770
+ }
771
+ }
772
+ },
773
+ "Sr": {
579
774
  "type": "list",
580
775
  "member": {
581
776
  "type": "structure",
@@ -604,29 +799,29 @@
604
799
  }
605
800
  },
606
801
  "retrievedReferences": {
607
- "shape": "Sp"
802
+ "shape": "Sy"
608
803
  }
609
804
  }
610
805
  }
611
806
  },
612
- "Sp": {
807
+ "Sy": {
613
808
  "type": "list",
614
809
  "member": {
615
810
  "type": "structure",
616
811
  "members": {
617
812
  "content": {
618
- "shape": "Sr"
813
+ "shape": "S10"
619
814
  },
620
815
  "location": {
621
- "shape": "Ss"
816
+ "shape": "S11"
622
817
  },
623
818
  "metadata": {
624
- "shape": "Sv"
819
+ "shape": "S14"
625
820
  }
626
821
  }
627
822
  }
628
823
  },
629
- "Sr": {
824
+ "S10": {
630
825
  "type": "structure",
631
826
  "required": [
632
827
  "text"
@@ -636,7 +831,7 @@
636
831
  },
637
832
  "sensitive": true
638
833
  },
639
- "Ss": {
834
+ "S11": {
640
835
  "type": "structure",
641
836
  "required": [
642
837
  "type"
@@ -652,7 +847,7 @@
652
847
  },
653
848
  "sensitive": true
654
849
  },
655
- "Sv": {
850
+ "S14": {
656
851
  "type": "map",
657
852
  "key": {},
658
853
  "value": {
@@ -662,18 +857,21 @@
662
857
  },
663
858
  "sensitive": true
664
859
  },
665
- "S1f": {
860
+ "S1m": {
861
+ "type": "structure",
862
+ "members": {
863
+ "name": {},
864
+ "type": {},
865
+ "value": {}
866
+ }
867
+ },
868
+ "S23": {
666
869
  "type": "list",
667
870
  "member": {
668
- "type": "structure",
669
- "members": {
670
- "name": {},
671
- "type": {},
672
- "value": {}
673
- }
871
+ "shape": "S1m"
674
872
  }
675
873
  },
676
- "S1o": {
874
+ "S2b": {
677
875
  "type": "structure",
678
876
  "members": {
679
877
  "inferenceConfiguration": {
@@ -709,11 +907,11 @@
709
907
  },
710
908
  "sensitive": true
711
909
  },
712
- "S29": {
910
+ "S2w": {
713
911
  "type": "string",
714
912
  "sensitive": true
715
913
  },
716
- "S2m": {
914
+ "S39": {
717
915
  "type": "structure",
718
916
  "required": [
719
917
  "vectorSearchConfiguration"
@@ -723,7 +921,7 @@
723
921
  "type": "structure",
724
922
  "members": {
725
923
  "filter": {
726
- "shape": "S2o"
924
+ "shape": "S3b"
727
925
  },
728
926
  "numberOfResults": {
729
927
  "type": "integer"
@@ -733,53 +931,53 @@
733
931
  }
734
932
  }
735
933
  },
736
- "S2o": {
934
+ "S3b": {
737
935
  "type": "structure",
738
936
  "members": {
739
937
  "andAll": {
740
- "shape": "S2p"
938
+ "shape": "S3c"
741
939
  },
742
940
  "equals": {
743
- "shape": "S2q"
941
+ "shape": "S3d"
744
942
  },
745
943
  "greaterThan": {
746
- "shape": "S2q"
944
+ "shape": "S3d"
747
945
  },
748
946
  "greaterThanOrEquals": {
749
- "shape": "S2q"
947
+ "shape": "S3d"
750
948
  },
751
949
  "in": {
752
- "shape": "S2q"
950
+ "shape": "S3d"
753
951
  },
754
952
  "lessThan": {
755
- "shape": "S2q"
953
+ "shape": "S3d"
756
954
  },
757
955
  "lessThanOrEquals": {
758
- "shape": "S2q"
956
+ "shape": "S3d"
759
957
  },
760
958
  "notEquals": {
761
- "shape": "S2q"
959
+ "shape": "S3d"
762
960
  },
763
961
  "notIn": {
764
- "shape": "S2q"
962
+ "shape": "S3d"
765
963
  },
766
964
  "orAll": {
767
- "shape": "S2p"
965
+ "shape": "S3c"
768
966
  },
769
967
  "startsWith": {
770
- "shape": "S2q"
968
+ "shape": "S3d"
771
969
  }
772
970
  },
773
971
  "sensitive": true,
774
972
  "union": true
775
973
  },
776
- "S2p": {
974
+ "S3c": {
777
975
  "type": "list",
778
976
  "member": {
779
- "shape": "S2o"
977
+ "shape": "S3b"
780
978
  }
781
979
  },
782
- "S2q": {
980
+ "S3d": {
783
981
  "type": "structure",
784
982
  "required": [
785
983
  "key",
@@ -793,6 +991,15 @@
793
991
  "document": true
794
992
  }
795
993
  }
994
+ },
995
+ "S3u": {
996
+ "type": "structure",
997
+ "members": {
998
+ "textPromptTemplate": {
999
+ "type": "string",
1000
+ "sensitive": true
1001
+ }
1002
+ }
796
1003
  }
797
1004
  }
798
1005
  }
@@ -38,6 +38,18 @@
38
38
  "modelId": {
39
39
  "location": "uri",
40
40
  "locationName": "modelId"
41
+ },
42
+ "trace": {
43
+ "location": "header",
44
+ "locationName": "X-Amzn-Bedrock-Trace"
45
+ },
46
+ "guardrailIdentifier": {
47
+ "location": "header",
48
+ "locationName": "X-Amzn-Bedrock-GuardrailIdentifier"
49
+ },
50
+ "guardrailVersion": {
51
+ "location": "header",
52
+ "locationName": "X-Amzn-Bedrock-GuardrailVersion"
41
53
  }
42
54
  },
43
55
  "payload": "body"
@@ -86,6 +98,18 @@
86
98
  "modelId": {
87
99
  "location": "uri",
88
100
  "locationName": "modelId"
101
+ },
102
+ "trace": {
103
+ "location": "header",
104
+ "locationName": "X-Amzn-Bedrock-Trace"
105
+ },
106
+ "guardrailIdentifier": {
107
+ "location": "header",
108
+ "locationName": "X-Amzn-Bedrock-GuardrailIdentifier"
109
+ },
110
+ "guardrailVersion": {
111
+ "location": "header",
112
+ "locationName": "X-Amzn-Bedrock-GuardrailVersion"
89
113
  }
90
114
  },
91
115
  "payload": "body"
@@ -717,7 +717,8 @@
717
717
  "type": "structure",
718
718
  "members": {
719
719
  "RecommendationId": {},
720
- "GenerationTimestamp": {}
720
+ "GenerationTimestamp": {},
721
+ "AdditionalMetadata": {}
721
722
  }
722
723
  },
723
724
  "Recommendations": {