aws-sdk 2.1619.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.
@@ -257,10 +257,8 @@
257
257
  "DeleteObject": [
258
258
  {
259
259
  "input": {
260
- "Bucket": "examplebucket",
261
- "Key": "objectkey.jpg"
262
- },
263
- "output": {
260
+ "Bucket": "ExampleBucket",
261
+ "Key": "HappyFace.jpg"
264
262
  },
265
263
  "comments": {
266
264
  "input": {
@@ -268,14 +266,16 @@
268
266
  "output": {
269
267
  }
270
268
  },
271
- "description": "The following example deletes an object from an S3 bucket.",
272
- "id": "to-delete-an-object-1472850136595",
273
- "title": "To delete an object"
269
+ "description": "The following example deletes an object from a non-versioned bucket.",
270
+ "id": "to-delete-an-object-from-a-non-versioned-bucket-1481588533089",
271
+ "title": "To delete an object (from a non-versioned bucket)"
274
272
  },
275
273
  {
276
274
  "input": {
277
- "Bucket": "ExampleBucket",
278
- "Key": "HappyFace.jpg"
275
+ "Bucket": "examplebucket",
276
+ "Key": "objectkey.jpg"
277
+ },
278
+ "output": {
279
279
  },
280
280
  "comments": {
281
281
  "input": {
@@ -283,9 +283,9 @@
283
283
  "output": {
284
284
  }
285
285
  },
286
- "description": "The following example deletes an object from a non-versioned bucket.",
287
- "id": "to-delete-an-object-from-a-non-versioned-bucket-1481588533089",
288
- "title": "To delete an object (from a non-versioned bucket)"
286
+ "description": "The following example deletes an object from an S3 bucket.",
287
+ "id": "to-delete-an-object-1472850136595",
288
+ "title": "To delete an object"
289
289
  }
290
290
  ],
291
291
  "DeleteObjectTagging": [
@@ -334,12 +334,10 @@
334
334
  "Delete": {
335
335
  "Objects": [
336
336
  {
337
- "Key": "HappyFace.jpg",
338
- "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
337
+ "Key": "objectkey1"
339
338
  },
340
339
  {
341
- "Key": "HappyFace.jpg",
342
- "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
340
+ "Key": "objectkey2"
343
341
  }
344
342
  ],
345
343
  "Quiet": false
@@ -348,12 +346,14 @@
348
346
  "output": {
349
347
  "Deleted": [
350
348
  {
351
- "Key": "HappyFace.jpg",
352
- "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
349
+ "DeleteMarker": "true",
350
+ "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
351
+ "Key": "objectkey1"
353
352
  },
354
353
  {
355
- "Key": "HappyFace.jpg",
356
- "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
354
+ "DeleteMarker": "true",
355
+ "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
356
+ "Key": "objectkey2"
357
357
  }
358
358
  ]
359
359
  },
@@ -363,9 +363,9 @@
363
363
  "output": {
364
364
  }
365
365
  },
366
- "description": "The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response.",
367
- "id": "to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737",
368
- "title": "To delete multiple object versions from a versioned bucket"
366
+ "description": "The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.",
367
+ "id": "to-delete-multiple-objects-from-a-versioned-bucket-1483146248805",
368
+ "title": "To delete multiple objects from a versioned bucket"
369
369
  },
370
370
  {
371
371
  "input": {
@@ -373,10 +373,12 @@
373
373
  "Delete": {
374
374
  "Objects": [
375
375
  {
376
- "Key": "objectkey1"
376
+ "Key": "HappyFace.jpg",
377
+ "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
377
378
  },
378
379
  {
379
- "Key": "objectkey2"
380
+ "Key": "HappyFace.jpg",
381
+ "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
380
382
  }
381
383
  ],
382
384
  "Quiet": false
@@ -385,14 +387,12 @@
385
387
  "output": {
386
388
  "Deleted": [
387
389
  {
388
- "DeleteMarker": "true",
389
- "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
390
- "Key": "objectkey1"
390
+ "Key": "HappyFace.jpg",
391
+ "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
391
392
  },
392
393
  {
393
- "DeleteMarker": "true",
394
- "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
395
- "Key": "objectkey2"
394
+ "Key": "HappyFace.jpg",
395
+ "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
396
396
  }
397
397
  ]
398
398
  },
@@ -402,9 +402,9 @@
402
402
  "output": {
403
403
  }
404
404
  },
405
- "description": "The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.",
406
- "id": "to-delete-multiple-objects-from-a-versioned-bucket-1483146248805",
407
- "title": "To delete multiple objects from a versioned bucket"
405
+ "description": "The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response.",
406
+ "id": "to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737",
407
+ "title": "To delete multiple object versions from a versioned bucket"
408
408
  }
409
409
  ],
410
410
  "GetBucketCors": [
@@ -840,17 +840,20 @@
840
840
  {
841
841
  "input": {
842
842
  "Bucket": "examplebucket",
843
- "Key": "exampleobject",
844
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
843
+ "Key": "HappyFace.jpg"
845
844
  },
846
845
  "output": {
847
846
  "TagSet": [
848
847
  {
849
- "Key": "Key1",
850
- "Value": "Value1"
848
+ "Key": "Key4",
849
+ "Value": "Value4"
850
+ },
851
+ {
852
+ "Key": "Key3",
853
+ "Value": "Value3"
851
854
  }
852
855
  ],
853
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
856
+ "VersionId": "null"
854
857
  },
855
858
  "comments": {
856
859
  "input": {
@@ -858,27 +861,24 @@
858
861
  "output": {
859
862
  }
860
863
  },
861
- "description": "The following example retrieves tag set of an object. The request specifies object version.",
862
- "id": "to-retrieve-tag-set-of-a-specific-object-version-1483400283663",
863
- "title": "To retrieve tag set of a specific object version"
864
+ "description": "The following example retrieves tag set of an object.",
865
+ "id": "to-retrieve-tag-set-of-an-object-1481833847896",
866
+ "title": "To retrieve tag set of an object"
864
867
  },
865
868
  {
866
869
  "input": {
867
870
  "Bucket": "examplebucket",
868
- "Key": "HappyFace.jpg"
871
+ "Key": "exampleobject",
872
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
869
873
  },
870
874
  "output": {
871
875
  "TagSet": [
872
876
  {
873
- "Key": "Key4",
874
- "Value": "Value4"
875
- },
876
- {
877
- "Key": "Key3",
878
- "Value": "Value3"
877
+ "Key": "Key1",
878
+ "Value": "Value1"
879
879
  }
880
880
  ],
881
- "VersionId": "null"
881
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
882
882
  },
883
883
  "comments": {
884
884
  "input": {
@@ -886,9 +886,9 @@
886
886
  "output": {
887
887
  }
888
888
  },
889
- "description": "The following example retrieves tag set of an object.",
890
- "id": "to-retrieve-tag-set-of-an-object-1481833847896",
891
- "title": "To retrieve tag set of an object"
889
+ "description": "The following example retrieves tag set of an object. The request specifies object version.",
890
+ "id": "to-retrieve-tag-set-of-a-specific-object-version-1483400283663",
891
+ "title": "To retrieve tag set of a specific object version"
892
892
  }
893
893
  ],
894
894
  "GetObjectTorrent": [
@@ -1567,13 +1567,17 @@
1567
1567
  "PutObject": [
1568
1568
  {
1569
1569
  "input": {
1570
- "Body": "HappyFace.jpg",
1570
+ "Body": "filetoupload",
1571
1571
  "Bucket": "examplebucket",
1572
- "Key": "HappyFace.jpg"
1572
+ "Key": "exampleobject",
1573
+ "Metadata": {
1574
+ "metadata1": "value1",
1575
+ "metadata2": "value2"
1576
+ }
1573
1577
  },
1574
1578
  "output": {
1575
1579
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1576
- "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1580
+ "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
1577
1581
  },
1578
1582
  "comments": {
1579
1583
  "input": {
@@ -1581,9 +1585,9 @@
1581
1585
  "output": {
1582
1586
  }
1583
1587
  },
1584
- "description": "The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.",
1585
- "id": "to-upload-an-object-1481760101010",
1586
- "title": "To upload an object"
1588
+ "description": "The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.",
1589
+ "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
1590
+ "title": "To upload object and specify user-defined metadata"
1587
1591
  },
1588
1592
  {
1589
1593
  "input": {
@@ -1610,17 +1614,14 @@
1610
1614
  },
1611
1615
  {
1612
1616
  "input": {
1613
- "Body": "filetoupload",
1617
+ "Body": "c:\\HappyFace.jpg",
1614
1618
  "Bucket": "examplebucket",
1615
- "Key": "exampleobject",
1616
- "Metadata": {
1617
- "metadata1": "value1",
1618
- "metadata2": "value2"
1619
- }
1619
+ "Key": "HappyFace.jpg",
1620
+ "Tagging": "key1=value1&key2=value2"
1620
1621
  },
1621
1622
  "output": {
1622
1623
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1623
- "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
1624
+ "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
1624
1625
  },
1625
1626
  "comments": {
1626
1627
  "input": {
@@ -1628,20 +1629,19 @@
1628
1629
  "output": {
1629
1630
  }
1630
1631
  },
1631
- "description": "The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.",
1632
- "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
1633
- "title": "To upload object and specify user-defined metadata"
1632
+ "description": "The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.",
1633
+ "id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
1634
+ "title": "To upload an object and specify optional tags"
1634
1635
  },
1635
1636
  {
1636
1637
  "input": {
1637
- "ACL": "authenticated-read",
1638
1638
  "Body": "filetoupload",
1639
1639
  "Bucket": "examplebucket",
1640
- "Key": "exampleobject"
1640
+ "Key": "objectkey"
1641
1641
  },
1642
1642
  "output": {
1643
1643
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1644
- "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
1644
+ "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
1645
1645
  },
1646
1646
  "comments": {
1647
1647
  "input": {
@@ -1649,19 +1649,19 @@
1649
1649
  "output": {
1650
1650
  }
1651
1651
  },
1652
- "description": "The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.",
1653
- "id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
1654
- "title": "To upload an object and specify canned ACL."
1652
+ "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
1653
+ "id": "to-create-an-object-1483147613675",
1654
+ "title": "To create an object."
1655
1655
  },
1656
1656
  {
1657
1657
  "input": {
1658
- "Body": "filetoupload",
1658
+ "Body": "HappyFace.jpg",
1659
1659
  "Bucket": "examplebucket",
1660
- "Key": "objectkey"
1660
+ "Key": "HappyFace.jpg"
1661
1661
  },
1662
1662
  "output": {
1663
1663
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1664
- "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
1664
+ "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1665
1665
  },
1666
1666
  "comments": {
1667
1667
  "input": {
@@ -1669,22 +1669,20 @@
1669
1669
  "output": {
1670
1670
  }
1671
1671
  },
1672
- "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
1673
- "id": "to-create-an-object-1483147613675",
1674
- "title": "To create an object."
1672
+ "description": "The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.",
1673
+ "id": "to-upload-an-object-1481760101010",
1674
+ "title": "To upload an object"
1675
1675
  },
1676
1676
  {
1677
1677
  "input": {
1678
+ "ACL": "authenticated-read",
1678
1679
  "Body": "filetoupload",
1679
1680
  "Bucket": "examplebucket",
1680
- "Key": "exampleobject",
1681
- "ServerSideEncryption": "AES256",
1682
- "Tagging": "key1=value1&key2=value2"
1681
+ "Key": "exampleobject"
1683
1682
  },
1684
1683
  "output": {
1685
1684
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1686
- "ServerSideEncryption": "AES256",
1687
- "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
1685
+ "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
1688
1686
  },
1689
1687
  "comments": {
1690
1688
  "input": {
@@ -1692,20 +1690,22 @@
1692
1690
  "output": {
1693
1691
  }
1694
1692
  },
1695
- "description": "The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.",
1696
- "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1697
- "title": "To upload an object and specify server-side encryption and object tags"
1693
+ "description": "The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.",
1694
+ "id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
1695
+ "title": "To upload an object and specify canned ACL."
1698
1696
  },
1699
1697
  {
1700
1698
  "input": {
1701
- "Body": "c:\\HappyFace.jpg",
1699
+ "Body": "filetoupload",
1702
1700
  "Bucket": "examplebucket",
1703
- "Key": "HappyFace.jpg",
1701
+ "Key": "exampleobject",
1702
+ "ServerSideEncryption": "AES256",
1704
1703
  "Tagging": "key1=value1&key2=value2"
1705
1704
  },
1706
1705
  "output": {
1707
1706
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1708
- "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
1707
+ "ServerSideEncryption": "AES256",
1708
+ "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
1709
1709
  },
1710
1710
  "comments": {
1711
1711
  "input": {
@@ -1713,9 +1713,9 @@
1713
1713
  "output": {
1714
1714
  }
1715
1715
  },
1716
- "description": "The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.",
1717
- "id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
1718
- "title": "To upload an object and specify optional tags"
1716
+ "description": "The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.",
1717
+ "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1718
+ "title": "To upload an object and specify server-side encryption and object tags"
1719
1719
  }
1720
1720
  ],
1721
1721
  "PutObjectAcl": [
@@ -6,6 +6,9 @@
6
6
  "endpointPrefix": "s3",
7
7
  "globalEndpoint": "s3.amazonaws.com",
8
8
  "protocol": "rest-xml",
9
+ "protocols": [
10
+ "rest-xml"
11
+ ],
9
12
  "serviceAbbreviation": "Amazon S3",
10
13
  "serviceFullName": "Amazon Simple Storage Service",
11
14
  "serviceId": "S3",
@@ -5,6 +5,9 @@
5
5
  "endpointPrefix": "securityhub",
6
6
  "jsonVersion": "1.1",
7
7
  "protocol": "rest-json",
8
+ "protocols": [
9
+ "rest-json"
10
+ ],
8
11
  "serviceFullName": "AWS SecurityHub",
9
12
  "serviceId": "SecurityHub",
10
13
  "signatureVersion": "v4",
@@ -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 whose metadata attributes fulfill all the filter conditions inside this list are returned.
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 that contain a metadata attribute whose name matches the key and whose value matches the value in this object are returned.
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 that contain a metadata attribute whose name matches the key and whose value is greater than the value in this object are returned.
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 that contain a metadata attribute whose name matches the key and whose value is greater than or equal to the value in this object are returned.
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 that contain a metadata attribute whose name matches the key and whose value is in the list specified in the value in this object are returned.
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 that contain a metadata attribute whose name matches the key and whose value is less than the value in this object are returned.
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 that contain a metadata attribute whose name matches the key and whose value is less than or equal to the value in this object are returned.
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 that contain a metadata attribute whose name matches the key and whose value doesn't match the value in this object are returned.
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 that contain a metadata attribute whose name matches the key and whose value isn't in the list specified in the value in this object are returned.
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 whose metadata attributes fulfill at least one of the filter conditions inside this list are returned.
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 that contain a metadata attribute whose name matches the key and whose value starts with the value in this object are returned. This filter is currently only supported for Amazon OpenSearch Serverless vector stores.
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 {