AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the RestoreObject operation.

Restores an archived copy of an object back into Amazon S3

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.S3.Model.RestoreObjectRequest

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class RestoreObjectRequest : AmazonWebServiceRequest
         IAmazonWebServiceRequest

The RestoreObjectRequest type exposes the following members

Constructors

NameDescription
Public Method RestoreObjectRequest()

Properties

NameTypeDescription
Public Property BucketName System.String

Gets and sets the BucketName property.

Public Property Days System.Int32

Lifetime of the active copy in days

Public Property Key System.String

Gets and sets the Key property. This key indicates the S3 object to restore.

Public Property RequestPayer Amazon.S3.RequestPayer

Confirms that the requester knows that she or he will be charged for the list objects request. Bucket owners need not specify this parameter in their requests.

Public Property Tier Amazon.S3.GlacierJobTier

Glacier retrieval tier at which the restore will be processed. Glacier related prameters pertaining to this job.

Public Property VersionId System.String

VersionId used to reference a specific version of the object.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Unity:
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone