amazonka-efs-2.0: Amazon Elastic File System 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.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

  • 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.

  • 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.

  • value :: Natural

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

Instances

Instances details
FromJSON 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 #

Read FileSystemSize Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemSize

Show FileSystemSize Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemSize

NFData FileSystemSize Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemSize

Methods

rnf :: FileSystemSize -> () #

Eq FileSystemSize Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemSize

Hashable 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" "amazonka-efs-2.0-EHRjUBbcNxzHWDmYi0HAD5" 'False) (C1 ('MetaCons "FileSystemSize'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "valueInIA") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "valueInStandard") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: 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: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: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:value:FileSystemSize', fileSystemSize_value - The latest known metered size (in bytes) of data stored in the file system.

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_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_value :: Lens' FileSystemSize Natural Source #

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