Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
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.
See: AWS API Reference for AddCache.
- addCache :: Text -> AddCache
- data AddCache
- acGatewayARN :: Lens' AddCache Text
- acDiskIds :: Lens' AddCache [Text]
- addCacheResponse :: Int -> AddCacheResponse
- data AddCacheResponse
- acrsGatewayARN :: Lens' AddCacheResponse (Maybe Text)
- acrsResponseStatus :: Lens' AddCacheResponse Int
Creating a Request
Creates a value of AddCache
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
See: addCache
smart constructor.
Request Lenses
acGatewayARN :: Lens' AddCache Text Source
Undocumented member.
Destructuring the Response
Creates a value of AddCacheResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AddCacheResponse Source
See: addCacheResponse
smart constructor.
Response Lenses
acrsGatewayARN :: Lens' AddCacheResponse (Maybe Text) Source
Undocumented member.
acrsResponseStatus :: Lens' AddCacheResponse Int Source
The response status code.