libZSservicesZSamazonka-efsZSamazonka-efs
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.EFS.Types.FileSystemSize

Description

 
Synopsis

Documentation

data FileSystemSize Source #

The latest known metered size (in bytes) of data stored in the file system, in its Value field, and the time at which that size was determined in its Timestamp field. The value doesn't represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, the value represents the actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not necessarily the exact size the file system was at any instant in time.

See: newFileSystemSize smart constructor.

Constructors

FileSystemSize' 

Fields

  • valueInIA :: Maybe Natural

    The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.

  • valueInStandard :: Maybe Natural

    The latest known metered size (in bytes) of data stored in the Standard storage class.

  • timestamp :: Maybe POSIX

    The time at which the size of data, returned in the Value field, was determined. The value is the integer number of seconds since 1970-01-01T00:00:00Z.

  • value :: Natural

    The latest known metered size (in bytes) of data stored in the file system.

Instances

Instances details
Eq FileSystemSize Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemSize

Read FileSystemSize Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemSize

Show FileSystemSize Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemSize

Generic FileSystemSize Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemSize

Associated Types

type Rep FileSystemSize :: Type -> Type #

NFData FileSystemSize Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemSize

Methods

rnf :: FileSystemSize -> () #

Hashable FileSystemSize Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemSize

FromJSON FileSystemSize Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemSize

type Rep FileSystemSize Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemSize

type Rep FileSystemSize = D1 ('MetaData "FileSystemSize" "Amazonka.EFS.Types.FileSystemSize" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "FileSystemSize'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "valueInIA") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "valueInStandard") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newFileSystemSize Source #

Create a value of FileSystemSize 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:valueInIA:FileSystemSize', fileSystemSize_valueInIA - The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.

$sel:valueInStandard:FileSystemSize', fileSystemSize_valueInStandard - The latest known metered size (in bytes) of data stored in the Standard storage class.

$sel:timestamp:FileSystemSize', fileSystemSize_timestamp - The time at which the size of data, returned in the Value field, was determined. The value is the integer number of seconds since 1970-01-01T00:00:00Z.

$sel:value:FileSystemSize', fileSystemSize_value - The latest known metered size (in bytes) of data stored in the file system.

fileSystemSize_valueInIA :: Lens' FileSystemSize (Maybe Natural) Source #

The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.

fileSystemSize_valueInStandard :: Lens' FileSystemSize (Maybe Natural) Source #

The latest known metered size (in bytes) of data stored in the Standard storage class.

fileSystemSize_timestamp :: Lens' FileSystemSize (Maybe UTCTime) Source #

The time at which the size of data, returned in the Value field, was determined. The value is the integer number of seconds since 1970-01-01T00:00:00Z.

fileSystemSize_value :: Lens' FileSystemSize Natural Source #

The latest known metered size (in bytes) of data stored in the file system.