Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data StringAttributeConstraintsType = StringAttributeConstraintsType' {}
- newStringAttributeConstraintsType :: StringAttributeConstraintsType
- stringAttributeConstraintsType_maxLength :: Lens' StringAttributeConstraintsType (Maybe Text)
- stringAttributeConstraintsType_minLength :: Lens' StringAttributeConstraintsType (Maybe Text)
Documentation
data StringAttributeConstraintsType Source #
The constraints associated with a string attribute.
See: newStringAttributeConstraintsType
smart constructor.
Instances
newStringAttributeConstraintsType :: StringAttributeConstraintsType Source #
Create a value of StringAttributeConstraintsType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxLength:StringAttributeConstraintsType'
, stringAttributeConstraintsType_maxLength
- The maximum length.
$sel:minLength:StringAttributeConstraintsType'
, stringAttributeConstraintsType_minLength
- The minimum length.
stringAttributeConstraintsType_maxLength :: Lens' StringAttributeConstraintsType (Maybe Text) Source #
The maximum length.
stringAttributeConstraintsType_minLength :: Lens' StringAttributeConstraintsType (Maybe Text) Source #
The minimum length.