• Gets the properties of a file. The properties include S3 system metadata and the user metadata that was provided when uploading the file.

    Parameters

    Returns Promise<GetPropertiesWithPathOutput>

    Requested object properties.

    Throws

    An S3Exception when the underlying S3 service returned error.

    Throws

    A StorageValidationErrorCode when API call parameters are invalid.

  • Parameters

    Returns Promise<GetPropertiesOutput>

    Requested object properties.

    Deprecated

    The key and accessLevel parameters are deprecated and may be removed in the next major version. Please use path instead.

    Gets the properties of a file. The properties include S3 system metadata and the user metadata that was provided when uploading the file.

    Throws

    An S3Exception when the underlying S3 service returned error.

    Throws

    A StorageValidationErrorCode when API call parameters are invalid.