amazonka-fsx-2.0: Amazon FSx 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.FSx.UpdateVolume

Description

Updates the configuration of an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.

Synopsis

Creating a Request

data UpdateVolume Source #

See: newUpdateVolume smart constructor.

Constructors

UpdateVolume' 

Fields

Instances

Instances details
ToJSON UpdateVolume Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

ToHeaders UpdateVolume Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

ToPath UpdateVolume Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

ToQuery UpdateVolume Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

AWSRequest UpdateVolume Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

Associated Types

type AWSResponse UpdateVolume #

Generic UpdateVolume Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

Associated Types

type Rep UpdateVolume :: Type -> Type #

Read UpdateVolume Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

Show UpdateVolume Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

NFData UpdateVolume Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

Methods

rnf :: UpdateVolume -> () #

Eq UpdateVolume Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

Hashable UpdateVolume Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

type AWSResponse UpdateVolume Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

type Rep UpdateVolume Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

newUpdateVolume Source #

Create a value of UpdateVolume 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:clientRequestToken:UpdateVolume', updateVolume_clientRequestToken - Undocumented member.

UpdateVolume, updateVolume_name - The name of the OpenZFS volume. OpenZFS root volumes are automatically named FSX. Child volume names must be unique among their parent volume's children. The name of the volume is part of the mount string for the OpenZFS volume.

UpdateVolume, updateVolume_ontapConfiguration - The configuration of the ONTAP volume that you are updating.

UpdateVolume, updateVolume_openZFSConfiguration - The configuration of the OpenZFS volume that you are updating.

UpdateVolume, updateVolume_volumeId - The ID of the volume that you want to update, in the format fsvol-0123456789abcdef0.

Request Lenses

updateVolume_name :: Lens' UpdateVolume (Maybe Text) Source #

The name of the OpenZFS volume. OpenZFS root volumes are automatically named FSX. Child volume names must be unique among their parent volume's children. The name of the volume is part of the mount string for the OpenZFS volume.

updateVolume_ontapConfiguration :: Lens' UpdateVolume (Maybe UpdateOntapVolumeConfiguration) Source #

The configuration of the ONTAP volume that you are updating.

updateVolume_openZFSConfiguration :: Lens' UpdateVolume (Maybe UpdateOpenZFSVolumeConfiguration) Source #

The configuration of the OpenZFS volume that you are updating.

updateVolume_volumeId :: Lens' UpdateVolume Text Source #

The ID of the volume that you want to update, in the format fsvol-0123456789abcdef0.

Destructuring the Response

data UpdateVolumeResponse Source #

See: newUpdateVolumeResponse smart constructor.

Constructors

UpdateVolumeResponse' 

Fields

  • volume :: Maybe Volume

    A description of the volume just updated. Returned after a successful UpdateVolume API operation.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic UpdateVolumeResponse Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

Associated Types

type Rep UpdateVolumeResponse :: Type -> Type #

Read UpdateVolumeResponse Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

Show UpdateVolumeResponse Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

NFData UpdateVolumeResponse Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

Methods

rnf :: UpdateVolumeResponse -> () #

Eq UpdateVolumeResponse Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

type Rep UpdateVolumeResponse Source # 
Instance details

Defined in Amazonka.FSx.UpdateVolume

type Rep UpdateVolumeResponse = D1 ('MetaData "UpdateVolumeResponse" "Amazonka.FSx.UpdateVolume" "amazonka-fsx-2.0-6W1DYEEbHPkD4DJvTvpQG4" 'False) (C1 ('MetaCons "UpdateVolumeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "volume") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Volume)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateVolumeResponse Source #

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

UpdateVolumeResponse, updateVolumeResponse_volume - A description of the volume just updated. Returned after a successful UpdateVolume API operation.

$sel:httpStatus:UpdateVolumeResponse', updateVolumeResponse_httpStatus - The response's http status code.

Response Lenses

updateVolumeResponse_volume :: Lens' UpdateVolumeResponse (Maybe Volume) Source #

A description of the volume just updated. Returned after a successful UpdateVolume API operation.