aws-sdk 2.1620.0 → 2.1621.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/README.md +1 -1
- package/apis/bedrock-agent-runtime-2023-07-26.min.json +6 -0
- package/apis/codebuild-2016-10-06.min.json +15 -0
- package/apis/grafana-2020-08-18.min.json +317 -15
- package/apis/grafana-2020-08-18.paginators.json +12 -0
- package/apis/medical-imaging-2023-07-19.min.json +8 -5
- package/apis/securityhub-2018-10-26.min.json +3 -0
- package/clients/bedrockagentruntime.d.ts +19 -11
- package/clients/codebuild.d.ts +29 -14
- package/clients/datasync.d.ts +1 -1
- package/clients/grafana.d.ts +297 -11
- package/clients/medicalimaging.d.ts +7 -2
- package/clients/securityhub.d.ts +66 -66
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +7 -7
- package/dist/aws-sdk.js +18 -3
- package/dist/aws-sdk.min.js +17 -17
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -64,7 +64,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
|
|
64
64
|
To use the SDK in the browser, simply add the following script tag to your
|
65
65
|
HTML pages:
|
66
66
|
|
67
|
-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.
|
67
|
+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1621.0.min.js"></script>
|
68
68
|
|
69
69
|
You can also build a custom browser SDK with your specified set of AWS services.
|
70
70
|
This can allow you to reduce the SDK's size, specify different API versions of
|
@@ -974,6 +974,9 @@
|
|
974
974
|
"lessThanOrEquals": {
|
975
975
|
"shape": "S3d"
|
976
976
|
},
|
977
|
+
"listContains": {
|
978
|
+
"shape": "S3d"
|
979
|
+
},
|
977
980
|
"notEquals": {
|
978
981
|
"shape": "S3d"
|
979
982
|
},
|
@@ -985,6 +988,9 @@
|
|
985
988
|
},
|
986
989
|
"startsWith": {
|
987
990
|
"shape": "S3d"
|
991
|
+
},
|
992
|
+
"stringContains": {
|
993
|
+
"shape": "S3d"
|
988
994
|
}
|
989
995
|
},
|
990
996
|
"sensitive": true,
|
@@ -5,6 +5,9 @@
|
|
5
5
|
"endpointPrefix": "codebuild",
|
6
6
|
"jsonVersion": "1.1",
|
7
7
|
"protocol": "json",
|
8
|
+
"protocols": [
|
9
|
+
"json"
|
10
|
+
],
|
8
11
|
"serviceFullName": "AWS CodeBuild",
|
9
12
|
"serviceId": "CodeBuild",
|
10
13
|
"signatureVersion": "v4",
|
@@ -284,6 +287,10 @@
|
|
284
287
|
"shape": "S47"
|
285
288
|
},
|
286
289
|
"overflowBehavior": {},
|
290
|
+
"vpcConfig": {
|
291
|
+
"shape": "S1j"
|
292
|
+
},
|
293
|
+
"fleetServiceRole": {},
|
287
294
|
"tags": {
|
288
295
|
"shape": "S2v"
|
289
296
|
}
|
@@ -1367,6 +1374,10 @@
|
|
1367
1374
|
"shape": "S47"
|
1368
1375
|
},
|
1369
1376
|
"overflowBehavior": {},
|
1377
|
+
"vpcConfig": {
|
1378
|
+
"shape": "S1j"
|
1379
|
+
},
|
1380
|
+
"fleetServiceRole": {},
|
1370
1381
|
"tags": {
|
1371
1382
|
"shape": "S2v"
|
1372
1383
|
}
|
@@ -2135,6 +2146,10 @@
|
|
2135
2146
|
}
|
2136
2147
|
},
|
2137
2148
|
"overflowBehavior": {},
|
2149
|
+
"vpcConfig": {
|
2150
|
+
"shape": "S1j"
|
2151
|
+
},
|
2152
|
+
"fleetServiceRole": {},
|
2138
2153
|
"tags": {
|
2139
2154
|
"shape": "S2v"
|
2140
2155
|
}
|
@@ -5,6 +5,9 @@
|
|
5
5
|
"endpointPrefix": "grafana",
|
6
6
|
"jsonVersion": "1.1",
|
7
7
|
"protocol": "rest-json",
|
8
|
+
"protocols": [
|
9
|
+
"rest-json"
|
10
|
+
],
|
8
11
|
"serviceFullName": "Amazon Managed Grafana",
|
9
12
|
"serviceId": "grafana",
|
10
13
|
"signatureVersion": "v4",
|
@@ -163,6 +166,100 @@
|
|
163
166
|
}
|
164
167
|
}
|
165
168
|
},
|
169
|
+
"CreateWorkspaceServiceAccount": {
|
170
|
+
"http": {
|
171
|
+
"requestUri": "/workspaces/{workspaceId}/serviceaccounts",
|
172
|
+
"responseCode": 200
|
173
|
+
},
|
174
|
+
"input": {
|
175
|
+
"type": "structure",
|
176
|
+
"required": [
|
177
|
+
"grafanaRole",
|
178
|
+
"name",
|
179
|
+
"workspaceId"
|
180
|
+
],
|
181
|
+
"members": {
|
182
|
+
"grafanaRole": {},
|
183
|
+
"name": {},
|
184
|
+
"workspaceId": {
|
185
|
+
"location": "uri",
|
186
|
+
"locationName": "workspaceId"
|
187
|
+
}
|
188
|
+
}
|
189
|
+
},
|
190
|
+
"output": {
|
191
|
+
"type": "structure",
|
192
|
+
"required": [
|
193
|
+
"grafanaRole",
|
194
|
+
"id",
|
195
|
+
"name",
|
196
|
+
"workspaceId"
|
197
|
+
],
|
198
|
+
"members": {
|
199
|
+
"grafanaRole": {},
|
200
|
+
"id": {},
|
201
|
+
"name": {},
|
202
|
+
"workspaceId": {}
|
203
|
+
}
|
204
|
+
}
|
205
|
+
},
|
206
|
+
"CreateWorkspaceServiceAccountToken": {
|
207
|
+
"http": {
|
208
|
+
"requestUri": "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens",
|
209
|
+
"responseCode": 200
|
210
|
+
},
|
211
|
+
"input": {
|
212
|
+
"type": "structure",
|
213
|
+
"required": [
|
214
|
+
"name",
|
215
|
+
"secondsToLive",
|
216
|
+
"serviceAccountId",
|
217
|
+
"workspaceId"
|
218
|
+
],
|
219
|
+
"members": {
|
220
|
+
"name": {},
|
221
|
+
"secondsToLive": {
|
222
|
+
"type": "integer"
|
223
|
+
},
|
224
|
+
"serviceAccountId": {
|
225
|
+
"location": "uri",
|
226
|
+
"locationName": "serviceAccountId"
|
227
|
+
},
|
228
|
+
"workspaceId": {
|
229
|
+
"location": "uri",
|
230
|
+
"locationName": "workspaceId"
|
231
|
+
}
|
232
|
+
}
|
233
|
+
},
|
234
|
+
"output": {
|
235
|
+
"type": "structure",
|
236
|
+
"required": [
|
237
|
+
"serviceAccountId",
|
238
|
+
"serviceAccountToken",
|
239
|
+
"workspaceId"
|
240
|
+
],
|
241
|
+
"members": {
|
242
|
+
"serviceAccountId": {},
|
243
|
+
"serviceAccountToken": {
|
244
|
+
"type": "structure",
|
245
|
+
"required": [
|
246
|
+
"id",
|
247
|
+
"key",
|
248
|
+
"name"
|
249
|
+
],
|
250
|
+
"members": {
|
251
|
+
"id": {},
|
252
|
+
"key": {
|
253
|
+
"type": "string",
|
254
|
+
"sensitive": true
|
255
|
+
},
|
256
|
+
"name": {}
|
257
|
+
}
|
258
|
+
},
|
259
|
+
"workspaceId": {}
|
260
|
+
}
|
261
|
+
}
|
262
|
+
},
|
166
263
|
"DeleteWorkspace": {
|
167
264
|
"http": {
|
168
265
|
"method": "DELETE",
|
@@ -229,6 +326,83 @@
|
|
229
326
|
}
|
230
327
|
}
|
231
328
|
},
|
329
|
+
"DeleteWorkspaceServiceAccount": {
|
330
|
+
"http": {
|
331
|
+
"method": "DELETE",
|
332
|
+
"requestUri": "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}",
|
333
|
+
"responseCode": 200
|
334
|
+
},
|
335
|
+
"input": {
|
336
|
+
"type": "structure",
|
337
|
+
"required": [
|
338
|
+
"serviceAccountId",
|
339
|
+
"workspaceId"
|
340
|
+
],
|
341
|
+
"members": {
|
342
|
+
"serviceAccountId": {
|
343
|
+
"location": "uri",
|
344
|
+
"locationName": "serviceAccountId"
|
345
|
+
},
|
346
|
+
"workspaceId": {
|
347
|
+
"location": "uri",
|
348
|
+
"locationName": "workspaceId"
|
349
|
+
}
|
350
|
+
}
|
351
|
+
},
|
352
|
+
"output": {
|
353
|
+
"type": "structure",
|
354
|
+
"required": [
|
355
|
+
"serviceAccountId",
|
356
|
+
"workspaceId"
|
357
|
+
],
|
358
|
+
"members": {
|
359
|
+
"serviceAccountId": {},
|
360
|
+
"workspaceId": {}
|
361
|
+
}
|
362
|
+
}
|
363
|
+
},
|
364
|
+
"DeleteWorkspaceServiceAccountToken": {
|
365
|
+
"http": {
|
366
|
+
"method": "DELETE",
|
367
|
+
"requestUri": "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens/{tokenId}",
|
368
|
+
"responseCode": 200
|
369
|
+
},
|
370
|
+
"input": {
|
371
|
+
"type": "structure",
|
372
|
+
"required": [
|
373
|
+
"serviceAccountId",
|
374
|
+
"tokenId",
|
375
|
+
"workspaceId"
|
376
|
+
],
|
377
|
+
"members": {
|
378
|
+
"serviceAccountId": {
|
379
|
+
"location": "uri",
|
380
|
+
"locationName": "serviceAccountId"
|
381
|
+
},
|
382
|
+
"tokenId": {
|
383
|
+
"location": "uri",
|
384
|
+
"locationName": "tokenId"
|
385
|
+
},
|
386
|
+
"workspaceId": {
|
387
|
+
"location": "uri",
|
388
|
+
"locationName": "workspaceId"
|
389
|
+
}
|
390
|
+
}
|
391
|
+
},
|
392
|
+
"output": {
|
393
|
+
"type": "structure",
|
394
|
+
"required": [
|
395
|
+
"serviceAccountId",
|
396
|
+
"tokenId",
|
397
|
+
"workspaceId"
|
398
|
+
],
|
399
|
+
"members": {
|
400
|
+
"serviceAccountId": {},
|
401
|
+
"tokenId": {},
|
402
|
+
"workspaceId": {}
|
403
|
+
}
|
404
|
+
}
|
405
|
+
},
|
232
406
|
"DescribeWorkspace": {
|
233
407
|
"http": {
|
234
408
|
"method": "GET",
|
@@ -284,7 +458,7 @@
|
|
284
458
|
],
|
285
459
|
"members": {
|
286
460
|
"authentication": {
|
287
|
-
"shape": "
|
461
|
+
"shape": "S22"
|
288
462
|
}
|
289
463
|
}
|
290
464
|
}
|
@@ -412,7 +586,7 @@
|
|
412
586
|
"members": {
|
413
587
|
"role": {},
|
414
588
|
"user": {
|
415
|
-
"shape": "
|
589
|
+
"shape": "S2t"
|
416
590
|
}
|
417
591
|
}
|
418
592
|
}
|
@@ -482,6 +656,134 @@
|
|
482
656
|
}
|
483
657
|
}
|
484
658
|
},
|
659
|
+
"ListWorkspaceServiceAccountTokens": {
|
660
|
+
"http": {
|
661
|
+
"method": "GET",
|
662
|
+
"requestUri": "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens",
|
663
|
+
"responseCode": 200
|
664
|
+
},
|
665
|
+
"input": {
|
666
|
+
"type": "structure",
|
667
|
+
"required": [
|
668
|
+
"serviceAccountId",
|
669
|
+
"workspaceId"
|
670
|
+
],
|
671
|
+
"members": {
|
672
|
+
"maxResults": {
|
673
|
+
"location": "querystring",
|
674
|
+
"locationName": "maxResults",
|
675
|
+
"type": "integer"
|
676
|
+
},
|
677
|
+
"nextToken": {
|
678
|
+
"location": "querystring",
|
679
|
+
"locationName": "nextToken"
|
680
|
+
},
|
681
|
+
"serviceAccountId": {
|
682
|
+
"location": "uri",
|
683
|
+
"locationName": "serviceAccountId"
|
684
|
+
},
|
685
|
+
"workspaceId": {
|
686
|
+
"location": "uri",
|
687
|
+
"locationName": "workspaceId"
|
688
|
+
}
|
689
|
+
}
|
690
|
+
},
|
691
|
+
"output": {
|
692
|
+
"type": "structure",
|
693
|
+
"required": [
|
694
|
+
"serviceAccountId",
|
695
|
+
"serviceAccountTokens",
|
696
|
+
"workspaceId"
|
697
|
+
],
|
698
|
+
"members": {
|
699
|
+
"nextToken": {},
|
700
|
+
"serviceAccountId": {},
|
701
|
+
"serviceAccountTokens": {
|
702
|
+
"type": "list",
|
703
|
+
"member": {
|
704
|
+
"type": "structure",
|
705
|
+
"required": [
|
706
|
+
"createdAt",
|
707
|
+
"expiresAt",
|
708
|
+
"id",
|
709
|
+
"name"
|
710
|
+
],
|
711
|
+
"members": {
|
712
|
+
"createdAt": {
|
713
|
+
"type": "timestamp"
|
714
|
+
},
|
715
|
+
"expiresAt": {
|
716
|
+
"type": "timestamp"
|
717
|
+
},
|
718
|
+
"id": {},
|
719
|
+
"lastUsedAt": {
|
720
|
+
"type": "timestamp"
|
721
|
+
},
|
722
|
+
"name": {}
|
723
|
+
}
|
724
|
+
}
|
725
|
+
},
|
726
|
+
"workspaceId": {}
|
727
|
+
}
|
728
|
+
}
|
729
|
+
},
|
730
|
+
"ListWorkspaceServiceAccounts": {
|
731
|
+
"http": {
|
732
|
+
"method": "GET",
|
733
|
+
"requestUri": "/workspaces/{workspaceId}/serviceaccounts",
|
734
|
+
"responseCode": 200
|
735
|
+
},
|
736
|
+
"input": {
|
737
|
+
"type": "structure",
|
738
|
+
"required": [
|
739
|
+
"workspaceId"
|
740
|
+
],
|
741
|
+
"members": {
|
742
|
+
"maxResults": {
|
743
|
+
"location": "querystring",
|
744
|
+
"locationName": "maxResults",
|
745
|
+
"type": "integer"
|
746
|
+
},
|
747
|
+
"nextToken": {
|
748
|
+
"location": "querystring",
|
749
|
+
"locationName": "nextToken"
|
750
|
+
},
|
751
|
+
"workspaceId": {
|
752
|
+
"location": "uri",
|
753
|
+
"locationName": "workspaceId"
|
754
|
+
}
|
755
|
+
}
|
756
|
+
},
|
757
|
+
"output": {
|
758
|
+
"type": "structure",
|
759
|
+
"required": [
|
760
|
+
"serviceAccounts",
|
761
|
+
"workspaceId"
|
762
|
+
],
|
763
|
+
"members": {
|
764
|
+
"nextToken": {},
|
765
|
+
"serviceAccounts": {
|
766
|
+
"type": "list",
|
767
|
+
"member": {
|
768
|
+
"type": "structure",
|
769
|
+
"required": [
|
770
|
+
"grafanaRole",
|
771
|
+
"id",
|
772
|
+
"isDisabled",
|
773
|
+
"name"
|
774
|
+
],
|
775
|
+
"members": {
|
776
|
+
"grafanaRole": {},
|
777
|
+
"id": {},
|
778
|
+
"isDisabled": {},
|
779
|
+
"name": {}
|
780
|
+
}
|
781
|
+
}
|
782
|
+
},
|
783
|
+
"workspaceId": {}
|
784
|
+
}
|
785
|
+
}
|
786
|
+
},
|
485
787
|
"ListWorkspaces": {
|
486
788
|
"http": {
|
487
789
|
"method": "GET",
|
@@ -629,7 +931,7 @@
|
|
629
931
|
"updateInstructionBatch": {
|
630
932
|
"type": "list",
|
631
933
|
"member": {
|
632
|
-
"shape": "
|
934
|
+
"shape": "S3m"
|
633
935
|
}
|
634
936
|
},
|
635
937
|
"workspaceId": {
|
@@ -655,7 +957,7 @@
|
|
655
957
|
],
|
656
958
|
"members": {
|
657
959
|
"causedBy": {
|
658
|
-
"shape": "
|
960
|
+
"shape": "S3m"
|
659
961
|
},
|
660
962
|
"code": {
|
661
963
|
"type": "integer"
|
@@ -749,7 +1051,7 @@
|
|
749
1051
|
"shape": "S9"
|
750
1052
|
},
|
751
1053
|
"samlConfiguration": {
|
752
|
-
"shape": "
|
1054
|
+
"shape": "S26"
|
753
1055
|
},
|
754
1056
|
"workspaceId": {
|
755
1057
|
"location": "uri",
|
@@ -764,7 +1066,7 @@
|
|
764
1066
|
],
|
765
1067
|
"members": {
|
766
1068
|
"authentication": {
|
767
|
-
"shape": "
|
1069
|
+
"shape": "S22"
|
768
1070
|
}
|
769
1071
|
}
|
770
1072
|
}
|
@@ -955,7 +1257,7 @@
|
|
955
1257
|
"type": "string",
|
956
1258
|
"sensitive": true
|
957
1259
|
},
|
958
|
-
"
|
1260
|
+
"S22": {
|
959
1261
|
"type": "structure",
|
960
1262
|
"required": [
|
961
1263
|
"providers"
|
@@ -977,14 +1279,14 @@
|
|
977
1279
|
],
|
978
1280
|
"members": {
|
979
1281
|
"configuration": {
|
980
|
-
"shape": "
|
1282
|
+
"shape": "S26"
|
981
1283
|
},
|
982
1284
|
"status": {}
|
983
1285
|
}
|
984
1286
|
}
|
985
1287
|
}
|
986
1288
|
},
|
987
|
-
"
|
1289
|
+
"S26": {
|
988
1290
|
"type": "structure",
|
989
1291
|
"required": [
|
990
1292
|
"idpMetadata"
|
@@ -1020,21 +1322,21 @@
|
|
1020
1322
|
"type": "structure",
|
1021
1323
|
"members": {
|
1022
1324
|
"admin": {
|
1023
|
-
"shape": "
|
1325
|
+
"shape": "S2f"
|
1024
1326
|
},
|
1025
1327
|
"editor": {
|
1026
|
-
"shape": "
|
1328
|
+
"shape": "S2f"
|
1027
1329
|
}
|
1028
1330
|
}
|
1029
1331
|
}
|
1030
1332
|
}
|
1031
1333
|
},
|
1032
|
-
"
|
1334
|
+
"S2f": {
|
1033
1335
|
"type": "list",
|
1034
1336
|
"member": {},
|
1035
1337
|
"sensitive": true
|
1036
1338
|
},
|
1037
|
-
"
|
1339
|
+
"S2t": {
|
1038
1340
|
"type": "structure",
|
1039
1341
|
"required": [
|
1040
1342
|
"id",
|
@@ -1045,7 +1347,7 @@
|
|
1045
1347
|
"type": {}
|
1046
1348
|
}
|
1047
1349
|
},
|
1048
|
-
"
|
1350
|
+
"S3m": {
|
1049
1351
|
"type": "structure",
|
1050
1352
|
"required": [
|
1051
1353
|
"action",
|
@@ -1058,7 +1360,7 @@
|
|
1058
1360
|
"users": {
|
1059
1361
|
"type": "list",
|
1060
1362
|
"member": {
|
1061
|
-
"shape": "
|
1363
|
+
"shape": "S2t"
|
1062
1364
|
}
|
1063
1365
|
}
|
1064
1366
|
}
|
@@ -12,6 +12,18 @@
|
|
12
12
|
"limit_key": "maxResults",
|
13
13
|
"result_key": "grafanaVersions"
|
14
14
|
},
|
15
|
+
"ListWorkspaceServiceAccountTokens": {
|
16
|
+
"input_token": "nextToken",
|
17
|
+
"output_token": "nextToken",
|
18
|
+
"limit_key": "maxResults",
|
19
|
+
"result_key": "serviceAccountTokens"
|
20
|
+
},
|
21
|
+
"ListWorkspaceServiceAccounts": {
|
22
|
+
"input_token": "nextToken",
|
23
|
+
"output_token": "nextToken",
|
24
|
+
"limit_key": "maxResults",
|
25
|
+
"result_key": "serviceAccounts"
|
26
|
+
},
|
15
27
|
"ListWorkspaces": {
|
16
28
|
"input_token": "nextToken",
|
17
29
|
"output_token": "nextToken",
|
@@ -3,8 +3,10 @@
|
|
3
3
|
"metadata": {
|
4
4
|
"apiVersion": "2023-07-19",
|
5
5
|
"endpointPrefix": "medical-imaging",
|
6
|
-
"jsonVersion": "1.1",
|
7
6
|
"protocol": "rest-json",
|
7
|
+
"protocols": [
|
8
|
+
"rest-json"
|
9
|
+
],
|
8
10
|
"serviceFullName": "AWS Health Imaging",
|
9
11
|
"serviceId": "Medical Imaging",
|
10
12
|
"signatureVersion": "v4",
|
@@ -933,7 +935,8 @@
|
|
933
935
|
"locationName": "datastoreId"
|
934
936
|
},
|
935
937
|
"inputS3Uri": {},
|
936
|
-
"outputS3Uri": {}
|
938
|
+
"outputS3Uri": {},
|
939
|
+
"inputOwnerAccountId": {}
|
937
940
|
}
|
938
941
|
},
|
939
942
|
"output": {
|
@@ -1046,10 +1049,10 @@
|
|
1046
1049
|
"type": "structure",
|
1047
1050
|
"members": {
|
1048
1051
|
"removableAttributes": {
|
1049
|
-
"shape": "
|
1052
|
+
"shape": "S35"
|
1050
1053
|
},
|
1051
1054
|
"updatableAttributes": {
|
1052
|
-
"shape": "
|
1055
|
+
"shape": "S35"
|
1053
1056
|
}
|
1054
1057
|
}
|
1055
1058
|
}
|
@@ -1132,7 +1135,7 @@
|
|
1132
1135
|
"sortField": {}
|
1133
1136
|
}
|
1134
1137
|
},
|
1135
|
-
"
|
1138
|
+
"S35": {
|
1136
1139
|
"type": "blob",
|
1137
1140
|
"sensitive": true
|
1138
1141
|
}
|
@@ -796,49 +796,57 @@ declare namespace BedrockAgentRuntime {
|
|
796
796
|
export type ResponseStream = EventStream<{accessDeniedException?:AccessDeniedException,badGatewayException?:BadGatewayException,chunk?:PayloadPart,conflictException?:ConflictException,dependencyFailedException?:DependencyFailedException,internalServerException?:InternalServerException,resourceNotFoundException?:ResourceNotFoundException,returnControl?:ReturnControlPayload,serviceQuotaExceededException?:ServiceQuotaExceededException,throttlingException?:ThrottlingException,trace?:TracePart,validationException?:ValidationException}>;
|
797
797
|
export interface RetrievalFilter {
|
798
798
|
/**
|
799
|
-
* Knowledge base data sources
|
799
|
+
* Knowledge base data sources are returned if their metadata attributes fulfill all the filter conditions inside this list.
|
800
800
|
*/
|
801
801
|
andAll?: RetrievalFilterList;
|
802
802
|
/**
|
803
|
-
* Knowledge base data sources
|
803
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value matches the value in this object. The following example would return data sources with an animal attribute whose value is cat: "equals": { "key": "animal", "value": "cat" }
|
804
804
|
*/
|
805
805
|
equals?: FilterAttribute;
|
806
806
|
/**
|
807
|
-
* Knowledge base data sources
|
807
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is greater than the value in this object. The following example would return data sources with an year attribute whose value is greater than 1989: "greaterThan": { "key": "year", "value": 1989 }
|
808
808
|
*/
|
809
809
|
greaterThan?: FilterAttribute;
|
810
810
|
/**
|
811
|
-
* Knowledge base data sources
|
811
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is greater than or equal to the value in this object. The following example would return data sources with an year attribute whose value is greater than or equal to 1989: "greaterThanOrEquals": { "key": "year", "value": 1989 }
|
812
812
|
*/
|
813
813
|
greaterThanOrEquals?: FilterAttribute;
|
814
814
|
/**
|
815
|
-
* Knowledge base data sources
|
815
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is in the list specified in the value in this object. The following example would return data sources with an animal attribute that is either cat or dog: "in": { "key": "animal", "value": ["cat", "dog"] }
|
816
816
|
*/
|
817
817
|
in?: FilterAttribute;
|
818
818
|
/**
|
819
|
-
* Knowledge base data sources
|
819
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is less than the value in this object. The following example would return data sources with an year attribute whose value is less than to 1989. "lessThan": { "key": "year", "value": 1989 }
|
820
820
|
*/
|
821
821
|
lessThan?: FilterAttribute;
|
822
822
|
/**
|
823
|
-
* Knowledge base data sources
|
823
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is less than or equal to the value in this object. The following example would return data sources with an year attribute whose value is less than or equal to 1989. "lessThanOrEquals": { "key": "year", "value": 1989 }
|
824
824
|
*/
|
825
825
|
lessThanOrEquals?: FilterAttribute;
|
826
826
|
/**
|
827
|
-
* Knowledge base data sources
|
827
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is a list that contains the value as one of its members. The following example would return data sources with an animals attribute that is a list containing a cat member (for example ["dog", "cat"]). "listContains": { "key": "animals", "value": "cat" }
|
828
|
+
*/
|
829
|
+
listContains?: FilterAttribute;
|
830
|
+
/**
|
831
|
+
* Knowledge base data sources that contain a metadata attribute whose name matches the key and whose value doesn't match the value in this object are returned. The following example would return data sources that don't contain an animal attribute whose value is cat. "notEquals": { "key": "animal", "value": "cat" }
|
828
832
|
*/
|
829
833
|
notEquals?: FilterAttribute;
|
830
834
|
/**
|
831
|
-
* Knowledge base data sources
|
835
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value isn't in the list specified in the value in this object. The following example would return data sources whose animal attribute is neither cat nor dog. "notIn": { "key": "animal", "value": ["cat", "dog"] }
|
832
836
|
*/
|
833
837
|
notIn?: FilterAttribute;
|
834
838
|
/**
|
835
|
-
* Knowledge base data sources
|
839
|
+
* Knowledge base data sources are returned if their metadata attributes fulfill at least one of the filter conditions inside this list.
|
836
840
|
*/
|
837
841
|
orAll?: RetrievalFilterList;
|
838
842
|
/**
|
839
|
-
* Knowledge base data sources
|
843
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value starts with the value in this object. This filter is currently only supported for Amazon OpenSearch Serverless vector stores. The following example would return data sources with an animal attribute starts with ca (for example, cat or camel). "startsWith": { "key": "animal", "value": "ca" }
|
840
844
|
*/
|
841
845
|
startsWith?: FilterAttribute;
|
846
|
+
/**
|
847
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is one of the following: A string that contains the value as a substring. The following example would return data sources with an animal attribute that contains the substring at (for example cat). "stringContains": { "key": "animal", "value": "at" } A list with a member that contains the value as a substring. The following example would return data sources with an animals attribute that is a list containing a member that contains the substring at (for example ["dog", "cat"]). "stringContains": { "key": "animals", "value": "at" }
|
848
|
+
*/
|
849
|
+
stringContains?: FilterAttribute;
|
842
850
|
}
|
843
851
|
export type RetrievalFilterList = RetrievalFilter[];
|
844
852
|
export interface RetrievalResultContent {
|