Length

smithy.api.Length
See theLength companion object
final case class Length(min: Option[Long], max: Option[Long])

Constrains a shape to minimum and maximum number of elements or size.

Value parameters

max

Integer value that represents the maximum inclusive length of a shape.

min

Integer value that represents the minimum inclusive length of a shape.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product