amazonka-storagegateway-2.0: Amazon Storage Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.StorageGateway.AddUploadBuffer

Description

Configures one or more gateway local disks as upload buffer for a specified gateway. This operation is supported for the stored volume, cached volume, and tape gateway types.

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.

Synopsis

Creating a Request

data AddUploadBuffer Source #

See: newAddUploadBuffer smart constructor.

Constructors

AddUploadBuffer' 

Fields

  • gatewayARN :: Text
     
  • diskIds :: [Text]

    An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

Instances

Instances details
ToJSON AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

ToHeaders AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

ToPath AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

ToQuery AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

AWSRequest AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Associated Types

type AWSResponse AddUploadBuffer #

Generic AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Associated Types

type Rep AddUploadBuffer :: Type -> Type #

Read AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Show AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

NFData AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Methods

rnf :: AddUploadBuffer -> () #

Eq AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Hashable AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

type AWSResponse AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

type Rep AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

type Rep AddUploadBuffer = D1 ('MetaData "AddUploadBuffer" "Amazonka.StorageGateway.AddUploadBuffer" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "AddUploadBuffer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "diskIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newAddUploadBuffer Source #

Create a value of AddUploadBuffer 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:

AddUploadBuffer, addUploadBuffer_gatewayARN - Undocumented member.

$sel:diskIds:AddUploadBuffer', addUploadBuffer_diskIds - An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

Request Lenses

addUploadBuffer_diskIds :: Lens' AddUploadBuffer [Text] Source #

An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

Destructuring the Response

data AddUploadBufferResponse Source #

See: newAddUploadBufferResponse smart constructor.

Constructors

AddUploadBufferResponse' 

Fields

Instances

Instances details
Generic AddUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Associated Types

type Rep AddUploadBufferResponse :: Type -> Type #

Read AddUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Show AddUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

NFData AddUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Methods

rnf :: AddUploadBufferResponse -> () #

Eq AddUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

type Rep AddUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

type Rep AddUploadBufferResponse = D1 ('MetaData "AddUploadBufferResponse" "Amazonka.StorageGateway.AddUploadBuffer" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "AddUploadBufferResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAddUploadBufferResponse Source #

Create a value of AddUploadBufferResponse 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:

AddUploadBuffer, addUploadBufferResponse_gatewayARN - Undocumented member.

$sel:httpStatus:AddUploadBufferResponse', addUploadBufferResponse_httpStatus - The response's http status code.

Response Lenses