@api private
@param [RequestContext] context @param [Response]
# File lib/aws-sdk-core/plugins/idempotency_token.rb, line 16 def call(context) auto_fill(context.params, context.operation.input) @handler.call(context) end
# File lib/aws-sdk-core/plugins/idempotency_token.rb, line 23 def auto_fill(params, ref) ref.shape.members.each do |name, member_ref| if member_ref['idempotencyToken'] params[name] ||= SecureRandom.uuid end end end