libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management
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.SnowDeviceManagement.Types.Capacity

Description

 
Synopsis

Documentation

data Capacity Source #

The physical capacity of the Amazon Web Services Snow Family device.

See: newCapacity smart constructor.

Constructors

Capacity' 

Fields

Instances

Instances details
Eq Capacity Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Capacity

Read Capacity Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Capacity

Show Capacity Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Capacity

Generic Capacity Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Capacity

Associated Types

type Rep Capacity :: Type -> Type #

Methods

from :: Capacity -> Rep Capacity x #

to :: Rep Capacity x -> Capacity #

NFData Capacity Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Capacity

Methods

rnf :: Capacity -> () #

Hashable Capacity Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Capacity

Methods

hashWithSalt :: Int -> Capacity -> Int #

hash :: Capacity -> Int #

FromJSON Capacity Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Capacity

type Rep Capacity Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Capacity

type Rep Capacity = D1 ('MetaData "Capacity" "Amazonka.SnowDeviceManagement.Types.Capacity" "libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management" 'False) (C1 ('MetaCons "Capacity'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "used") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "total") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "available") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))

newCapacity :: Capacity Source #

Create a value of Capacity 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:used:Capacity', capacity_used - The amount of capacity used on the device.

$sel:name:Capacity', capacity_name - The name of the type of capacity, such as memory.

$sel:total:Capacity', capacity_total - The total capacity on the device.

$sel:unit:Capacity', capacity_unit - The unit of measure for the type of capacity.

$sel:available:Capacity', capacity_available - The amount of capacity available for use on the device.

capacity_used :: Lens' Capacity (Maybe Integer) Source #

The amount of capacity used on the device.

capacity_name :: Lens' Capacity (Maybe Text) Source #

The name of the type of capacity, such as memory.

capacity_total :: Lens' Capacity (Maybe Integer) Source #

The total capacity on the device.

capacity_unit :: Lens' Capacity (Maybe Text) Source #

The unit of measure for the type of capacity.

capacity_available :: Lens' Capacity (Maybe Integer) Source #

The amount of capacity available for use on the device.