class Aws::ParamValidator
def initialize(rules, options = {})
(**options)
-
:validate_required
(Boolean
) --
Parameters:
-
rules
(Seahorse::Model::Shapes::ShapeRef
) --
def initialize(rules, options = {}) @rules = rules || begin shape = StructureShape.new shape.struct_class = EmptyStructure ShapeRef.new(shape: shape) end @validate_required = options[:validate_required] != false @input = options[:input].nil? ? true : !!options[:input] end