libZSservicesZSamazonka-ebsZSamazonka-ebs
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.EBS.Types.Block

Description

 
Synopsis

Documentation

data Block Source #

A block of data in an Amazon Elastic Block Store snapshot.

See: newBlock smart constructor.

Constructors

Block' 

Fields

Instances

Instances details
Eq Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Methods

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

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

Read Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Show Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Methods

showsPrec :: Int -> Block -> ShowS #

show :: Block -> String #

showList :: [Block] -> ShowS #

Generic Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Associated Types

type Rep Block :: Type -> Type #

Methods

from :: Block -> Rep Block x #

to :: Rep Block x -> Block #

NFData Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Methods

rnf :: Block -> () #

Hashable Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Methods

hashWithSalt :: Int -> Block -> Int #

hash :: Block -> Int #

FromJSON Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

type Rep Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

type Rep Block = D1 ('MetaData "Block" "Amazonka.EBS.Types.Block" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "Block'" 'PrefixI 'True) (S1 ('MetaSel ('Just "blockIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "blockToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newBlock :: Block Source #

Create a value of Block 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:blockIndex:Block', block_blockIndex - The block index.

$sel:blockToken:Block', block_blockToken - The block token for the block index.

block_blockToken :: Lens' Block (Maybe Text) Source #

The block token for the block index.