libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session
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.QLDBSession.Types.IOUsage

Description

 
Synopsis

Documentation

data IOUsage Source #

Contains I/O usage metrics for a command that was invoked.

See: newIOUsage smart constructor.

Constructors

IOUsage' 

Fields

Instances

Instances details
Eq IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Methods

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

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

Read IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Show IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Generic IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Associated Types

type Rep IOUsage :: Type -> Type #

Methods

from :: IOUsage -> Rep IOUsage x #

to :: Rep IOUsage x -> IOUsage #

NFData IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Methods

rnf :: IOUsage -> () #

Hashable IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Methods

hashWithSalt :: Int -> IOUsage -> Int #

hash :: IOUsage -> Int #

FromJSON IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

type Rep IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

type Rep IOUsage = D1 ('MetaData "IOUsage" "Amazonka.QLDBSession.Types.IOUsage" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "IOUsage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "readIOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "writeIOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))

newIOUsage :: IOUsage Source #

Create a value of IOUsage 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:readIOs:IOUsage', iOUsage_readIOs - The number of read I/O requests that the command made.

$sel:writeIOs:IOUsage', iOUsage_writeIOs - The number of write I/O requests that the command made.

iOUsage_readIOs :: Lens' IOUsage (Maybe Integer) Source #

The number of read I/O requests that the command made.

iOUsage_writeIOs :: Lens' IOUsage (Maybe Integer) Source #

The number of write I/O requests that the command made.