libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.Types.DiskMap

Description

 
Synopsis

Documentation

data DiskMap Source #

Describes a block storage disk mapping.

See: newDiskMap smart constructor.

Constructors

DiskMap' 

Fields

Instances

Instances details
Eq DiskMap Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskMap

Methods

(==) :: DiskMap -> DiskMap -> Bool #

(/=) :: DiskMap -> DiskMap -> Bool #

Read DiskMap Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskMap

Show DiskMap Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskMap

Generic DiskMap Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskMap

Associated Types

type Rep DiskMap :: Type -> Type #

Methods

from :: DiskMap -> Rep DiskMap x #

to :: Rep DiskMap x -> DiskMap #

NFData DiskMap Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskMap

Methods

rnf :: DiskMap -> () #

Hashable DiskMap Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskMap

Methods

hashWithSalt :: Int -> DiskMap -> Int #

hash :: DiskMap -> Int #

ToJSON DiskMap Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskMap

type Rep DiskMap Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskMap

type Rep DiskMap = D1 ('MetaData "DiskMap" "Amazonka.Lightsail.Types.DiskMap" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "DiskMap'" 'PrefixI 'True) (S1 ('MetaSel ('Just "newDiskName'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "originalDiskPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDiskMap :: DiskMap Source #

Create a value of DiskMap 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:newDiskName':DiskMap', diskMap_newDiskName - The new disk name (e.g., my-new-disk).

$sel:originalDiskPath:DiskMap', diskMap_originalDiskPath - The original disk path exposed to the instance (for example, /dev/sdh).

diskMap_newDiskName :: Lens' DiskMap (Maybe Text) Source #

The new disk name (e.g., my-new-disk).

diskMap_originalDiskPath :: Lens' DiskMap (Maybe Text) Source #

The original disk path exposed to the instance (for example, /dev/sdh).