@aws-amplify/storage
Version:
Storage category of aws-amplify
9 lines (8 loc) • 397 B
TypeScript
import { PathAccess } from '../../types/credentials';
import { BucketInfo } from '../../../providers/s3/types/options';
export declare const resolveLocationsForCurrentSession: ({ buckets, isAuthenticated, identityId, userGroup, }: {
buckets: Record<string, BucketInfo>;
isAuthenticated: boolean;
identityId?: string | undefined;
userGroup?: string | undefined;
}) => PathAccess[];