• Parse an S3 key to learn the bucket and the key prefix used for the request.

    Parameters

    • key: string

      A fully qualified key name or prefix path.

    Returns {
        bucket: string;
        keyPrefix: string;
    }

    • bucket: string
    • keyPrefix: string