Logo
Logo

2.8.9

get-object-legal-hold

  • Introduction
  • Zenko Installation
  • Zenko Operation
  • Zenko Reference
    • Introduction
    • Command Reference
      • S3 Commands
      • S3 API Commands
        • abort-multipart-upload
        • copy-object
        • create-bucket
        • create-multipart-upload
        • complete-multipart-upload
        • delete-bucket-policy
        • delete-bucket-replication
        • delete-bucket-website
        • delete-bucket
        • delete-object
        • delete-objects
        • delete-object-tagging
        • get-bucket-acl
        • get-bucket-cors
        • get-bucket-location
        • get-bucket-policy
        • get-bucket-replication
        • get-bucket-versioning
        • get-bucket-website
        • get-object
        • get-object-acl
        • get-object-legal-hold
        • get-object-lock-configuration
        • get-object-retention
        • get-object-tagging
        • head-bucket
        • head-object
        • list-buckets
        • list-multipart-uploads
        • list-object-versions
        • list-objects
        • list-objects-v2
        • list-parts
        • put-bucket-acl
        • put-bucket-cors
        • put-bucket-policy
        • put-bucket-replication
        • put-bucket-versioning
        • put-bucket-website
        • put-object
        • put-object-acl
        • put-object-legal-hold
        • put-object-lock-configuration
        • put-object-retention
        • put-object-tagging
        • upload-part
        • upload-part-copy
      • IAM Commands
    • API Reference
    • Error Codes

Release: 2.8.9

get-object-legal-hold¶

Gets an object’s current legal hold status.

See also: GET Object Legal Hold

Synopsis¶

get-object-legal-hold
  --bucket <value>
  --key <value>
  [--version-id <value>]
  [--cli-input-json <value>]

Options¶

--bucket (string)

The bucket containing the object whose legal hold status you want to retrieve.

--key (string)

The key name for the object whose legal hold status you want to retrieve.

--version-id (string)

The version ID of the object whose legal hold status you want to retrieve.

Possible values:

  • requester

--cli-input-json (string)

Operates a service or services based on the provided JSON string. If other arguments are provided on the command line, the CLI values override the JSON-provided values. You cannot pass arbitrary binary values using a JSON-provided value, because the string is taken literally.

Output¶

LegalHold -> (structure)

The current legal hold status for the specified object.

Status -> (string)

Indicates whether the specified object has a legal hold in place.

On this page

  • get-object-legal-hold
    • Synopsis
    • Options
    • Output
Logo
Scality, Inc. All rights reserved. | Support | Knowledge Base | Training | Privacy Policy
© Copyright 2021, Scality, Inc. Last updated on October 11, 2023.
linkedin twitter instagram facebook