SetOutputLocation sets the properties of the copy of the archived object
(v OutputLocation)
| 137 | |
| 138 | // SetOutputLocation sets the properties of the copy of the archived object |
| 139 | func (r *RestoreRequest) SetOutputLocation(v OutputLocation) { |
| 140 | r.OutputLocation = &v |
| 141 | } |
| 142 | |
| 143 | // RestoreObject is a implementation of https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html AWS S3 API |
| 144 | func (c *Client) RestoreObject(ctx context.Context, bucketName, objectName, versionID string, req RestoreRequest) error { |