An object of the Standard or IA storage class cannot be restored.
You initiated a RestoreObject request on a Standard or IA object.
You initiate a RestoreObject request on a Standard or IA object named oss.jpg. The RestoreObject operation is applicable only to Archive, Cold Archive, and Deep Cold Archive objects.
POST /oss.jpg?restore HTTP/1.1
Date: Sat, 15 Apr 2017 07:45:29 GMT
Authorization: OSS e1Unnbm1rg****:21qtGJ+ykDVmdy4eyu+N****
Make sure that the storage class of the object that you want to perform the RestoreObject operation on is Archive, Cold Archive, or Deep Cold Archive. You can view the storage class of an object by calling the HeadObject operation.