Copyright | (c) 2013-2016 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 |
Configures one or more gateway local disks as upload buffer for a specified gateway. This operation is supported for both the gateway-stored and gateway-cached volume architectures.
In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to add upload buffer, and one or more disk IDs that you want to configure as upload buffer.
- addUploadBuffer :: Text -> AddUploadBuffer
- data AddUploadBuffer
- aubGatewayARN :: Lens' AddUploadBuffer Text
- aubDiskIds :: Lens' AddUploadBuffer [Text]
- addUploadBufferResponse :: Int -> AddUploadBufferResponse
- data AddUploadBufferResponse
- aubrsGatewayARN :: Lens' AddUploadBufferResponse (Maybe Text)
- aubrsResponseStatus :: Lens' AddUploadBufferResponse Int
Creating a Request
Creates a value of AddUploadBuffer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AddUploadBuffer Source #
See: addUploadBuffer
smart constructor.
Request Lenses
aubGatewayARN :: Lens' AddUploadBuffer Text Source #
Undocumented member.
aubDiskIds :: Lens' AddUploadBuffer [Text] Source #
Undocumented member.
Destructuring the Response
addUploadBufferResponse Source #
Creates a value of AddUploadBufferResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AddUploadBufferResponse Source #
See: addUploadBufferResponse
smart constructor.
Response Lenses
aubrsGatewayARN :: Lens' AddUploadBufferResponse (Maybe Text) Source #
Undocumented member.
aubrsResponseStatus :: Lens' AddUploadBufferResponse Int Source #
The response status code.