class Aws::Plugins::IdempotencyToken::Handler
@api private
def auto_fill(params, ref)
def auto_fill(params, ref) ref.shape.members.each do |name, member_ref| if member_ref['idempotencyToken'] params[name] ||= SecureRandom.uuid end end end
def call(context)
def call(context) auto_fill(context.params, context.operation.input) @handler.call(context) end