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 |
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.
Synopsis
- data DescribeUploadBuffer = DescribeUploadBuffer' {
- gatewayARN :: Text
- newDescribeUploadBuffer :: Text -> DescribeUploadBuffer
- describeUploadBuffer_gatewayARN :: Lens' DescribeUploadBuffer Text
- data DescribeUploadBufferResponse = DescribeUploadBufferResponse' {}
- newDescribeUploadBufferResponse :: Int -> DescribeUploadBufferResponse
- describeUploadBufferResponse_uploadBufferAllocatedInBytes :: Lens' DescribeUploadBufferResponse (Maybe Integer)
- describeUploadBufferResponse_gatewayARN :: Lens' DescribeUploadBufferResponse (Maybe Text)
- describeUploadBufferResponse_diskIds :: Lens' DescribeUploadBufferResponse (Maybe [Text])
- describeUploadBufferResponse_uploadBufferUsedInBytes :: Lens' DescribeUploadBufferResponse (Maybe Integer)
- describeUploadBufferResponse_httpStatus :: Lens' DescribeUploadBufferResponse Int
Creating a Request
data DescribeUploadBuffer Source #
See: newDescribeUploadBuffer
smart constructor.
Instances
newDescribeUploadBuffer Source #
Create a value of DescribeUploadBuffer
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:DescribeUploadBuffer'
, describeUploadBuffer_gatewayARN
- Undocumented member.
Request Lenses
describeUploadBuffer_gatewayARN :: Lens' DescribeUploadBuffer Text Source #
Undocumented member.
Destructuring the Response
data DescribeUploadBufferResponse Source #
See: newDescribeUploadBufferResponse
smart constructor.
DescribeUploadBufferResponse' | |
|
Instances
newDescribeUploadBufferResponse Source #
Create a value of DescribeUploadBufferResponse
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:uploadBufferAllocatedInBytes:DescribeUploadBufferResponse'
, describeUploadBufferResponse_uploadBufferAllocatedInBytes
- The total number of bytes allocated in the gateway's as upload buffer.
$sel:gatewayARN:DescribeUploadBuffer'
, describeUploadBufferResponse_gatewayARN
- Undocumented member.
$sel:diskIds:DescribeUploadBufferResponse'
, describeUploadBufferResponse_diskIds
- An array of the gateway's local disk IDs that are configured as working
storage. Each local disk ID is specified as a string (minimum length of
1 and maximum length of 300). If no local disks are configured as
working storage, then the DiskIds array is empty.
$sel:uploadBufferUsedInBytes:DescribeUploadBufferResponse'
, describeUploadBufferResponse_uploadBufferUsedInBytes
- The total number of bytes being used in the gateway's upload buffer.
$sel:httpStatus:DescribeUploadBufferResponse'
, describeUploadBufferResponse_httpStatus
- The response's http status code.
Response Lenses
describeUploadBufferResponse_uploadBufferAllocatedInBytes :: Lens' DescribeUploadBufferResponse (Maybe Integer) Source #
The total number of bytes allocated in the gateway's as upload buffer.
describeUploadBufferResponse_gatewayARN :: Lens' DescribeUploadBufferResponse (Maybe Text) Source #
Undocumented member.
describeUploadBufferResponse_diskIds :: Lens' DescribeUploadBufferResponse (Maybe [Text]) Source #
An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.
describeUploadBufferResponse_uploadBufferUsedInBytes :: Lens' DescribeUploadBufferResponse (Maybe Integer) Source #
The total number of bytes being used in the gateway's upload buffer.
describeUploadBufferResponse_httpStatus :: Lens' DescribeUploadBufferResponse Int Source #
The response's http status code.