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
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.
For PCL this operation is only available in asynchronous form. Please refer to SetVaultAccessPolicyAsync.
public virtual SetVaultAccessPolicyResponse SetVaultAccessPolicy( SetVaultAccessPolicyRequest request )
Container for the necessary parameters to execute the SetVaultAccessPolicy service method.
|InvalidParameterValueException||Returned if a parameter of the request is incorrectly specified.|
|MissingParameterValueException||Returned if a required header or parameter is missing from the request.|
|ResourceNotFoundException||Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't exist.|
|ServiceUnavailableException||Returned if the service cannot complete the request.|
Supported in: 4.5, 4.0, 3.5
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms