libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.StorageGateway.DescribeUploadBuffer

Description

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

Creating a Request

data DescribeUploadBuffer Source #

See: newDescribeUploadBuffer smart constructor.

Constructors

DescribeUploadBuffer' 

Fields

Instances

Instances details
Eq DescribeUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

Read DescribeUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

Show DescribeUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

Generic DescribeUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

Associated Types

type Rep DescribeUploadBuffer :: Type -> Type #

NFData DescribeUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

Methods

rnf :: DescribeUploadBuffer -> () #

Hashable DescribeUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

ToJSON DescribeUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

AWSRequest DescribeUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

Associated Types

type AWSResponse DescribeUploadBuffer #

ToHeaders DescribeUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

ToPath DescribeUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

ToQuery DescribeUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

type Rep DescribeUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

type Rep DescribeUploadBuffer = D1 ('MetaData "DescribeUploadBuffer" "Amazonka.StorageGateway.DescribeUploadBuffer" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DescribeUploadBuffer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

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

Destructuring the Response

data DescribeUploadBufferResponse Source #

See: newDescribeUploadBufferResponse smart constructor.

Constructors

DescribeUploadBufferResponse' 

Fields

Instances

Instances details
Eq DescribeUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

Read DescribeUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

Show DescribeUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

Generic DescribeUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

Associated Types

type Rep DescribeUploadBufferResponse :: Type -> Type #

NFData DescribeUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

type Rep DescribeUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeUploadBuffer

type Rep DescribeUploadBufferResponse = D1 ('MetaData "DescribeUploadBufferResponse" "Amazonka.StorageGateway.DescribeUploadBuffer" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DescribeUploadBufferResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "uploadBufferAllocatedInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "diskIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "uploadBufferUsedInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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_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.