@@ -1123,6 +1123,62 @@ export interface FolderSummary {
11231123 */
11241124export type FolderSummaryTypeEnum = "Folder" ;
11251125
1126+ /**
1127+ *
1128+ * @export
1129+ * @interface GenericS3Storage
1130+ */
1131+ export interface GenericS3Storage {
1132+ /**
1133+ *
1134+ * @type {PickGenericS3StorageExcludeKeyofGenericS3StorageCredentialsBucket }
1135+ * @memberof GenericS3Storage
1136+ */
1137+ bucket : PickGenericS3StorageExcludeKeyofGenericS3StorageCredentialsBucket ;
1138+ /**
1139+ *
1140+ * @type {GenericS3StorageCredentials }
1141+ * @memberof GenericS3Storage
1142+ */
1143+ credentials : GenericS3StorageCredentials ;
1144+ /**
1145+ *
1146+ * @type {string }
1147+ * @memberof GenericS3Storage
1148+ */
1149+ type : GenericS3StorageTypeEnum ;
1150+ /**
1151+ *
1152+ * @type {boolean }
1153+ * @memberof GenericS3Storage
1154+ */
1155+ useAbsolutePaths : boolean ;
1156+ }
1157+
1158+ /**
1159+ * @export
1160+ */
1161+ export type GenericS3StorageTypeEnum = "GenericS3" ;
1162+
1163+ /**
1164+ *
1165+ * @export
1166+ * @interface GenericS3StorageCredentials
1167+ */
1168+ export interface GenericS3StorageCredentials {
1169+ /**
1170+ * AWS Secret Access Key.
1171+ * @type {string }
1172+ * @memberof GenericS3StorageCredentials
1173+ */
1174+ secretKey : string ;
1175+ /**
1176+ * AWS Access Key.
1177+ * @type {string }
1178+ * @memberof GenericS3StorageCredentials
1179+ */
1180+ accessKey : string ;
1181+ }
11261182/**
11271183 * Storage layer used for storing files in Google Storage, as opposed to Bytescale's built-in storage.
11281184 *
@@ -1552,6 +1608,82 @@ export interface PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentia
15521608 */
15531609 bucketName : string ;
15541610}
1611+ /**
1612+ * From T, pick a set of properties whose keys are in the union K
1613+ * @export
1614+ * @interface PickGenericS3StorageExcludeKeyofGenericS3StorageCredentials
1615+ */
1616+ export interface PickGenericS3StorageExcludeKeyofGenericS3StorageCredentials {
1617+ /**
1618+ *
1619+ * @type {string }
1620+ * @memberof PickGenericS3StorageExcludeKeyofGenericS3StorageCredentials
1621+ */
1622+ type : PickGenericS3StorageExcludeKeyofGenericS3StorageCredentialsTypeEnum ;
1623+ /**
1624+ *
1625+ * @type {boolean }
1626+ * @memberof PickGenericS3StorageExcludeKeyofGenericS3StorageCredentials
1627+ */
1628+ useAbsolutePaths : boolean ;
1629+ /**
1630+ *
1631+ * @type {PickGenericS3StorageExcludeKeyofGenericS3StorageCredentialsBucket }
1632+ * @memberof PickGenericS3StorageExcludeKeyofGenericS3StorageCredentials
1633+ */
1634+ bucket : PickGenericS3StorageExcludeKeyofGenericS3StorageCredentialsBucket ;
1635+ }
1636+
1637+ /**
1638+ * @export
1639+ */
1640+ export type PickGenericS3StorageExcludeKeyofGenericS3StorageCredentialsTypeEnum = "GenericS3" ;
1641+
1642+ /**
1643+ *
1644+ * @export
1645+ * @interface PickGenericS3StorageExcludeKeyofGenericS3StorageCredentialsBucket
1646+ */
1647+ export interface PickGenericS3StorageExcludeKeyofGenericS3StorageCredentialsBucket {
1648+ /**
1649+ *
1650+ * @type {Array<S3OperationName> }
1651+ * @memberof PickGenericS3StorageExcludeKeyofGenericS3StorageCredentialsBucket
1652+ */
1653+ unsupportedOperations : Array < S3OperationName > ;
1654+ /**
1655+ * AWS S3 Object Key.
1656+ * @type {string }
1657+ * @memberof PickGenericS3StorageExcludeKeyofGenericS3StorageCredentialsBucket
1658+ */
1659+ objectKeyPrefix : string ;
1660+ /**
1661+ * Controls how URLs are constructed when making HTTP requests to the S3-compatible API hosted at `bucketEndpoint`.
1662+ * - If `true` then `bucketName` will be added to the URL path.
1663+ * - If `false` then `bucketName` will be added as a subdomain of `bucketEndpoint`, assuming `bucketName` does not contain '.' and is DNS-compatible.
1664+ * @type {boolean }
1665+ * @memberof PickGenericS3StorageExcludeKeyofGenericS3StorageCredentialsBucket
1666+ */
1667+ forcePathStyle : boolean ;
1668+ /**
1669+ * Generic S3 Region.
1670+ * @type {string }
1671+ * @memberof PickGenericS3StorageExcludeKeyofGenericS3StorageCredentialsBucket
1672+ */
1673+ bucketRegion : string ;
1674+ /**
1675+ * AWS S3 Bucket Name.
1676+ * @type {string }
1677+ * @memberof PickGenericS3StorageExcludeKeyofGenericS3StorageCredentialsBucket
1678+ */
1679+ bucketName : string ;
1680+ /**
1681+ * URL for an http(s) resource.
1682+ * @type {string }
1683+ * @memberof PickGenericS3StorageExcludeKeyofGenericS3StorageCredentialsBucket
1684+ */
1685+ bucketEndpoint : string ;
1686+ }
15551687/**
15561688 * From T, pick a set of properties whose keys are in the union K
15571689 * @export
@@ -2085,6 +2217,11 @@ export interface ResetCacheRequest {
20852217 */
20862218 resetPermanentCache : boolean ;
20872219}
2220+ /**
2221+ *
2222+ * @export
2223+ */
2224+ export type S3OperationName = "DeleteObjects" ;
20882225/**
20892226 * Storage layer used for storing files in custom S3 buckets, as opposed to Bytescale's built-in storage.
20902227 *
@@ -2240,6 +2377,7 @@ export type StorageLayerSummary =
22402377 | InternalStorageV2
22412378 | PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentials
22422379 | PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentials
2380+ | PickGenericS3StorageExcludeKeyofGenericS3StorageCredentials
22432381 | PickGoogleStorageExcludeKeyofGoogleStorageCredentials
22442382 | PickR2StorageExcludeKeyofR2StorageCredentials
22452383 | PickS3StorageExcludeKeyofS3StorageCredentials
@@ -2254,6 +2392,7 @@ export type StorageLayerSummary =
22542392export type StorageLayerUpdate =
22552393 | AzureReadOnlyStorage
22562394 | DigitalOceanStorage
2395+ | GenericS3Storage
22572396 | GoogleStorage
22582397 | InternalStorageV2
22592398 | R2Storage
0 commit comments