@aws-amplify/storage
Version:
Storage category of aws-amplify
10 lines (9 loc) • 424 B
TypeScript
/**
* Resolves the final S3 key based on input type and key prefix.
*
* @param inputType - The type of input (key-based or path-based)
* @param objectKey - The object key from the input
* @param keyPrefix - The key prefix to prepend for key-based inputs
* @returns The final S3 key to use for the operation
*/
export declare const resolveFinalKey: (inputType: string, objectKey: string, keyPrefix: string) => string;