AWS SDK Version 2 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.

.NET Framework 4.5
 
Container for the parameters to the SetVaultAccessPolicy operation. This operation configures an access policy for a vault and will overwrite an existing policy. To configure a vault access policy, send a PUT request to the access-policy subresource of the vault. An access policy is specific to a vault and is also called a vault subresource. You can set one access policy per vault and the policy can be up to 20 KB in size. For more information about vault access policies, see Amazon Glacier Access Control with Vault Access Policies.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Glacier.AmazonGlacierRequest
      Amazon.Glacier.Model.SetVaultAccessPolicyRequest

Namespace: Amazon.Glacier.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class SetVaultAccessPolicyRequest : AmazonGlacierRequest
         IRequestEvents

The SetVaultAccessPolicyRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AccountId System.String Gets and sets the property AccountId.

The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single apos-apos (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens (apos-apos) in the ID.

Public Property Policy Amazon.Glacier.Model.VaultAccessPolicy Gets and sets the property Policy.

The vault access policy as a JSON string.

Public Property VaultName System.String Gets and sets the property VaultName.

The name of the vault.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1