You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::QLDB::Types::GetBlockRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetBlockRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "LedgerName", # required
  block_address: { # required
    ion_text: "IonText",
  },
  digest_tip_address: {
    ion_text: "IonText",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#block_addressTypes::ValueHolder

The location of the block that you want to request. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

For example: `{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}`

Returns:

#digest_tip_addressTypes::ValueHolder

The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

For example: `{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}`

Returns:

  • (Types::ValueHolder)

    The latest block location covered by the digest for which to request a proof.

#nameString

The name of the ledger.

Returns:

  • (String)

    The name of the ledger.