describe_upload_buffer
async
¶
describe_upload_buffer(
gateway_arn: GatewayARN,
*,
config_overrides: Optional[AsyncStorageGatewayClientConfig] = None,
) -> DescribeUploadBufferOutput
Returns information about the upload buffer of a gateway. This operation is supported for the stored volume, cached volume, and tape gateway types.
The response includes disk IDs that are configured as upload buffer space, and it includes the amount of upload buffer space allocated and used.
Raises:
-
InternalServerError–An internal server error has occurred during the request. For more information, see the error and message fields.
-
InvalidGatewayRequestException–An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe upload buffer of a gateway Returns information about the upload buffer of a gateway including disk IDs and the amount of upload buffer space allocated and used.
>>> await client.describe_upload_buffer(gateway_arn='arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B')
To describe upload buffer of gateway
Returns information about the upload buffer of a gateway including disk IDs and the amount of upload buffer space allocated/used.
>>> await client.describe_upload_buffer(gateway_arn='arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B')