• 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: null | string; keyPrefix: string }