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 3.5
 
This operation adds the specified tags to a vault. Each tag is composed of a key and a value. Each vault can have up to 10 tags. If your request would cause the tag limit for the vault to be exceeded, the operation throws the LimitExceededException error. If a tag already exists on the vault under a specified key, the existing key value will be overwritten. For more information about tags, see Tagging Amazon Glacier Resources.

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

Syntax

C#
public virtual AddTagsToVaultResponse AddTagsToVault(
         AddTagsToVaultRequest request
)

Parameters

request
Type: Amazon.Glacier.Model.AddTagsToVaultRequest

Container for the necessary parameters to execute the AddTagsToVault service method.

Return Value
Type: Amazon.Glacier.Model.AddTagsToVaultResponse
The response from the AddTagsToVault service method, as returned by Glacier.

Exceptions

ExceptionCondition
InvalidParameterValueException Returned if a parameter of the request is incorrectly specified.
LimitExceededException Returned if the request results in a vault or account limit being exceeded.
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, does not exist.
ServiceUnavailableException Returned if the service cannot complete the request.

Version Information

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