amazonka-ebs-2.0: Amazon Elastic Block Store 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.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.

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

  • secondBlockToken :: Maybe Text

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

Instances

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

Show ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

NFData ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

Methods

rnf :: ChangedBlock -> () #

Eq ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

Hashable 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" "amazonka-ebs-2.0-64shgDr10jT2ab25iSOcZ1" 'False) (C1 ('MetaCons "ChangedBlock'" 'PrefixI 'True) (S1 ('MetaSel ('Just "blockIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "firstBlockToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secondBlockToken") '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: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.

$sel:secondBlockToken:ChangedBlock', changedBlock_secondBlockToken - 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.

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

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