This operation configures one or more gateway local disks as cache for a cached-volume gateway. This operation is supported only for the gateway-cached volume architecture (see Storage Gateway Concepts ).
In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to add cache, and one or more disk IDs that you want to configure as cache.

C# |
public AddCacheResponse AddCache( AddCacheRequest addCacheRequest )

- addCacheRequest (AddCacheRequest)
- Container for the necessary parameters to execute the AddCache service method on AmazonStorageGateway.

The response from the AddCache service method, as returned by AmazonStorageGateway.

Exception | Condition |
---|---|
InternalServerErrorException | |
InvalidGatewayRequestException |