Creates a string shape with a typed model value and no other constraints.
The literal string type for the model
Prototype value for runtime model assembly
A shape with model typed as M
Creates a string shape with optional validation constraints.
Optionalconstraints: StringConstraintsOptional shape constraints
A shape with model typed as string
If constraints is not a valid StringConstraints
Creates a string shape.