aws s3api restore-object
This operation is not supported for directory buckets. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--bucketThe bucket name containing the object to restore.--checksum-algorithmIndicates the algorithm used to create the checksum for the object when you use the SDK.--expected-bucket-ownerThe account ID of the expected bucket owner.--keyObject key for which the action was initiated.--request-payerConfirms that the requester knows that they will be charged for the request.--restore-requestContainer for restore job parameters.--version-idVersionId used to reference a specific version of the object.