Safe Haskell | None |
---|---|
Language | Haskell2010 |
This operation configures one or more gateway local disks as working storage for a gateway. This operation is supported only for the gateway-stored volume architecture. This operation is deprecated method in cached-volumes API version (20120630). Use AddUploadBuffer instead.
In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to add working storage, and one or more disk IDs that you want to configure as working storage.
http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_AddWorkingStorage.html
- data AddWorkingStorage
- addWorkingStorage :: Text -> AddWorkingStorage
- awsDiskIds :: Lens' AddWorkingStorage [Text]
- awsGatewayARN :: Lens' AddWorkingStorage Text
- data AddWorkingStorageResponse
- addWorkingStorageResponse :: AddWorkingStorageResponse
- awsrGatewayARN :: Lens' AddWorkingStorageResponse (Maybe Text)
Request
data AddWorkingStorage Source
Request constructor
AddWorkingStorage
constructor.
The fields accessible through corresponding lenses are:
awsDiskIds
::
[Text
]awsGatewayARN
::
Text
Request lenses
awsDiskIds :: Lens' AddWorkingStorage [Text] Source
An array of strings that identify disks that are to be configured as working
storage. Each string have a minimum length of 1 and maximum length of 300.
You can get the disk IDs from the ListLocalDisks
API.
Response
Response constructor
addWorkingStorageResponse :: AddWorkingStorageResponse Source
AddWorkingStorageResponse
constructor.
The fields accessible through corresponding lenses are: