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.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
Eq AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Read AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Show AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Generic AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Associated Types

type Rep AddUploadBuffer :: Type -> Type #

NFData AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Methods

rnf :: AddUploadBuffer -> () #

Hashable AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

ToJSON AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

AWSRequest AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Associated Types

type AWSResponse 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

type Rep AddUploadBuffer Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

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

Defined in Amazonka.StorageGateway.AddUploadBuffer

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:

$sel:gatewayARN: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
Eq AddUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Read AddUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Show AddUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Generic AddUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Associated Types

type Rep AddUploadBufferResponse :: Type -> Type #

NFData AddUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

Methods

rnf :: AddUploadBufferResponse -> () #

type Rep AddUploadBufferResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.AddUploadBuffer

type Rep AddUploadBufferResponse = D1 ('MetaData "AddUploadBufferResponse" "Amazonka.StorageGateway.AddUploadBuffer" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" '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:

$sel:gatewayARN:AddUploadBuffer', addUploadBufferResponse_gatewayARN - Undocumented member.

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

Response Lenses