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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-qldb/lib/aws-sdk-qldb/types.rb

Overview

Note:

When making an API call, you may pass GetBlockRequest data as a hash:

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

Constant Summary collapse

SENSITIVE =
[:block_address, :digest_tip_address]

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:



437
438
439
440
441
442
443
# File 'gems/aws-sdk-qldb/lib/aws-sdk-qldb/types.rb', line 437

class GetBlockRequest < Struct.new(
  :name,
  :block_address,
  :digest_tip_address)
  SENSITIVE = [:block_address, :digest_tip_address]
  include Aws::Structure
end

#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:



437
438
439
440
441
442
443
# File 'gems/aws-sdk-qldb/lib/aws-sdk-qldb/types.rb', line 437

class GetBlockRequest < Struct.new(
  :name,
  :block_address,
  :digest_tip_address)
  SENSITIVE = [:block_address, :digest_tip_address]
  include Aws::Structure
end

#nameString

The name of the ledger.

Returns:

  • (String)


437
438
439
440
441
442
443
# File 'gems/aws-sdk-qldb/lib/aws-sdk-qldb/types.rb', line 437

class GetBlockRequest < Struct.new(
  :name,
  :block_address,
  :digest_tip_address)
  SENSITIVE = [:block_address, :digest_tip_address]
  include Aws::Structure
end