IBM COS SDK for JavaScript V2 - v1.0.0
    Preparing search index...

    Interface ObjectIdentifier

    Object Identifier is unique value to identify objects.

    interface ObjectIdentifier {
        Key: string | undefined;
        VersionId?: string;
        ETag?: string;
        LastModifiedTime?: Date;
        Size?: number;
    }
    Index

    Properties

    Key: string | undefined

    Key name of the object.

    Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.

    VersionId?: string

    Version ID for the specific version of the object to delete.

    This functionality is not supported for directory buckets.

    ETag?: string

    An entity tag (ETag) is an identifier assigned by a web server to a specific version of a resource found at a URL. This header field makes the request method conditional on ETags.

    Entity tags (ETags) for S3 Express One Zone are random alphanumeric strings unique to the object.

    LastModifiedTime?: Date

    If present, the objects are deleted only if its modification times matches the provided Timestamp.

    This functionality is only supported for directory buckets.

    Size?: number

    If present, the objects are deleted only if its size matches the provided size in bytes.

    This functionality is only supported for directory buckets.