Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_AddCache.html
- data AddCache
- addCache :: Text -> AddCache
- acDiskIds :: Lens' AddCache [Text]
- acGatewayARN :: Lens' AddCache Text
- data AddCacheResponse
- addCacheResponse :: AddCacheResponse
- acrGatewayARN :: Lens' AddCacheResponse (Maybe Text)
Request
Request constructor
:: Text | |
-> AddCache |
AddCache
constructor.
The fields accessible through corresponding lenses are:
acDiskIds
::
[Text
]acGatewayARN
::
Text
Request lenses
acGatewayARN :: Lens' AddCache Text Source
Response
data AddCacheResponse Source
Response constructor
addCacheResponse :: AddCacheResponse Source
AddCacheResponse
constructor.
The fields accessible through corresponding lenses are:
acrGatewayARN
::
Maybe
Text
Response lenses
acrGatewayARN :: Lens' AddCacheResponse (Maybe Text) Source