Class: Aws::QLDB::Types::GetRevisionRequest

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 GetRevisionRequest data as a hash:

{
  name: "LedgerName", # required
  block_address: { # required
    ion_text: "IonText",
  },
  document_id: "UniqueId", # required
  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 block location of the document revision to be verified. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

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

Returns:



544
545
546
547
548
549
550
551
# File 'gems/aws-sdk-qldb/lib/aws-sdk-qldb/types.rb', line 544

class GetRevisionRequest < Struct.new(
  :name,
  :block_address,
  :document_id,
  :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:



544
545
546
547
548
549
550
551
# File 'gems/aws-sdk-qldb/lib/aws-sdk-qldb/types.rb', line 544

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

#document_idString

The unique ID of the document to be verified.

Returns:

  • (String)


544
545
546
547
548
549
550
551
# File 'gems/aws-sdk-qldb/lib/aws-sdk-qldb/types.rb', line 544

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

#nameString

The name of the ledger.

Returns:

  • (String)


544
545
546
547
548
549
550
551
# File 'gems/aws-sdk-qldb/lib/aws-sdk-qldb/types.rb', line 544

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