Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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 the stored volume, cached volume and tape gateway types.
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.
Synopsis
- 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:
aubGatewayARN
- Undocumented member.aubDiskIds
- Undocumented member.
data AddUploadBuffer Source #
See: addUploadBuffer
smart constructor.
Instances
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:
aubrsGatewayARN
- Undocumented member.aubrsResponseStatus
- -- | The response status code.
data AddUploadBufferResponse Source #
See: addUploadBufferResponse
smart constructor.
Instances
Response Lenses
aubrsGatewayARN :: Lens' AddUploadBufferResponse (Maybe Text) Source #
Undocumented member.
aubrsResponseStatus :: Lens' AddUploadBufferResponse Int Source #
- - | The response status code.