You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
993 B
37 lines
993 B
4 weeks ago
|
declare type Field = 'Size | LastModifiedDate | ETag | StorageClass | IsMultipartUploaded | EncryptionStatus | ObjectAcl | TaggingCount | ObjectType | Crc64';
|
||
|
interface Inventory {
|
||
|
id: string;
|
||
|
isEnabled: true | false;
|
||
|
prefix?: string;
|
||
|
OSSBucketDestination: {
|
||
|
format: 'CSV';
|
||
|
accountId: string;
|
||
|
rolename: string;
|
||
|
bucket: string;
|
||
|
prefix?: string;
|
||
|
encryption?: {
|
||
|
'SSE-OSS': '';
|
||
|
} | {
|
||
|
'SSE-KMS': {
|
||
|
keyId: string;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
frequency: 'Daily' | 'Weekly';
|
||
|
includedObjectVersions: 'Current' | 'All';
|
||
|
optionalFields?: {
|
||
|
field?: Field[];
|
||
|
};
|
||
|
}
|
||
|
/**
|
||
|
* putBucketInventory
|
||
|
* @param {String} bucketName - bucket name
|
||
|
* @param {Inventory} inventory
|
||
|
* @param {Object} options
|
||
|
*/
|
||
|
export declare function putBucketInventory(this: any, bucketName: string, inventory: Inventory, options?: any): Promise<{
|
||
|
status: any;
|
||
|
res: any;
|
||
|
}>;
|
||
|
export {};
|