This operation 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.
 Declaration Syntax
 Declaration Syntax| C# | 
public AddUploadBufferResponse AddUploadBuffer( AddUploadBufferRequest addUploadBufferRequest )
 Parameters
 Parameters- addUploadBufferRequest (AddUploadBufferRequest)
- Container for the necessary parameters to execute the AddUploadBuffer service method on AmazonStorageGateway.
 Return Value
 Return ValueThe response from the AddUploadBuffer service method, as returned by AmazonStorageGateway.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| InternalServerErrorException | |
| InvalidGatewayRequestException |