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

Description

 
Synopsis

Documentation

data ChangedBlock Source #

A block of data in an Amazon Elastic Block Store snapshot that is different from another snapshot of the same volume/snapshot lineage.

See: newChangedBlock smart constructor.

Constructors

ChangedBlock' 

Fields

  • blockIndex :: Maybe Natural

    The block index.

  • secondBlockToken :: Maybe Text

    The block token for the block index of the SecondSnapshotId specified in the ListChangedBlocks operation.

  • firstBlockToken :: Maybe Text

    The block token for the block index of the FirstSnapshotId specified in the ListChangedBlocks operation. This value is absent if the first snapshot does not have the changed block that is on the second snapshot.

Instances

Instances details
Eq ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

Show ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

Generic ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

Associated Types

type Rep ChangedBlock :: Type -> Type #

NFData ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

Methods

rnf :: ChangedBlock -> () #

Hashable ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

FromJSON ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

type Rep ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

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

newChangedBlock :: ChangedBlock Source #

Create a value of ChangedBlock 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:ChangedBlock', changedBlock_blockIndex - The block index.

$sel:secondBlockToken:ChangedBlock', changedBlock_secondBlockToken - The block token for the block index of the SecondSnapshotId specified in the ListChangedBlocks operation.

$sel:firstBlockToken:ChangedBlock', changedBlock_firstBlockToken - The block token for the block index of the FirstSnapshotId specified in the ListChangedBlocks operation. This value is absent if the first snapshot does not have the changed block that is on the second snapshot.

changedBlock_secondBlockToken :: Lens' ChangedBlock (Maybe Text) Source #

The block token for the block index of the SecondSnapshotId specified in the ListChangedBlocks operation.

changedBlock_firstBlockToken :: Lens' ChangedBlock (Maybe Text) Source #

The block token for the block index of the FirstSnapshotId specified in the ListChangedBlocks operation. This value is absent if the first snapshot does not have the changed block that is on the second snapshot.