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 |
Documentation
data ParameterConstraints Source #
Validation constraints imposed on parameters of a request (path, query string, headers).
See: newParameterConstraints
smart constructor.
Instances
newParameterConstraints :: ParameterConstraints Source #
Create a value of ParameterConstraints
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:required:ParameterConstraints'
, parameterConstraints_required
- Whether or not the parameter is required.
parameterConstraints_required :: Lens' ParameterConstraints (Maybe Bool) Source #
Whether or not the parameter is required.