Method: Aws::RpcV2::Parser#parse

Defined in:
lib/aws-sdk-core/rpc_v2/parser.rb

#parse(cbor, target = nil) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



16
17
18
19
20
# File 'lib/aws-sdk-core/rpc_v2/parser.rb', line 16

def parse(cbor, target = nil)
  return {} if cbor.empty?

  parse_ref(@rules, RpcV2.decode(cbor), target)
end