class Aws::Api::OperationExample
def structure(shape, i, visited)
def structure(shape, i, visited) lines = ['{'] if @streaming_output lines << "#{i} response_target: '/path/to/file', # optional target file path" end shape.members.each do |member_name, member_shape| if shape.required.include?(member_name) lines << "#{i} # required" end lines << "#{i} #{member_name}: #{member(member_shape, i + ' ', visited)}," end lines << "#{i}}" lines.join("\n") end