How to decode ion_binary of Amazon QLDB in ruby
问题 I was playing with QLDB of Amazon with ruby and used the aws-sdk-qldb and aws-sdk-qldbsession gem. I was getting result as IonBinary. But not able to decode and parse it. Following is the code cred = Aws::Credentials.new(ENV['AWS_ACCESS_KEY'], ENV['AWS_SECRET_ACCESS_KEY']) qldb_session_client = Aws::QLDBSession::Client.new(region: 'ap-southeast-1', credentials: cred) start_session_req = Aws::QLDBSession::Types::StartSessionRequest.new start_session_req.ledger_name = 'ledger-test' command