Copyright | (c) 2013-2021 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 |
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
- data AddUploadBuffer = AddUploadBuffer' {
- gatewayARN :: Text
- diskIds :: [Text]
- newAddUploadBuffer :: Text -> AddUploadBuffer
- addUploadBuffer_gatewayARN :: Lens' AddUploadBuffer Text
- addUploadBuffer_diskIds :: Lens' AddUploadBuffer [Text]
- data AddUploadBufferResponse = AddUploadBufferResponse' {
- gatewayARN :: Maybe Text
- httpStatus :: Int
- newAddUploadBufferResponse :: Int -> AddUploadBufferResponse
- addUploadBufferResponse_gatewayARN :: Lens' AddUploadBufferResponse (Maybe Text)
- addUploadBufferResponse_httpStatus :: Lens' AddUploadBufferResponse Int
Creating a Request
data AddUploadBuffer Source #
See: newAddUploadBuffer
smart constructor.
AddUploadBuffer' | |
|
Instances
Create a value of AddUploadBuffer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:gatewayARN:AddUploadBuffer'
, addUploadBuffer_gatewayARN
- Undocumented member.
$sel:diskIds:AddUploadBuffer'
, addUploadBuffer_diskIds
- An array of strings that identify disks that are to be configured as
working storage. Each string has a minimum length of 1 and maximum
length of 300. You can get the disk IDs from the ListLocalDisks API.
Request Lenses
addUploadBuffer_gatewayARN :: Lens' AddUploadBuffer Text Source #
Undocumented member.
addUploadBuffer_diskIds :: Lens' AddUploadBuffer [Text] Source #
An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
Destructuring the Response
data AddUploadBufferResponse Source #
See: newAddUploadBufferResponse
smart constructor.
AddUploadBufferResponse' | |
|
Instances
newAddUploadBufferResponse Source #
Create a value of AddUploadBufferResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:gatewayARN:AddUploadBuffer'
, addUploadBufferResponse_gatewayARN
- Undocumented member.
$sel:httpStatus:AddUploadBufferResponse'
, addUploadBufferResponse_httpStatus
- The response's http status code.
Response Lenses
addUploadBufferResponse_gatewayARN :: Lens' AddUploadBufferResponse (Maybe Text) Source #
Undocumented member.
addUploadBufferResponse_httpStatus :: Lens' AddUploadBufferResponse Int Source #
The response's http status code.