| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ApiGatewayV2.Types.ParameterConstraints
Description
Documentation
data ParameterConstraints Source #
Validation constraints imposed on parameters of a request (path, query string, headers).
See: newParameterConstraints smart constructor.
Constructors
| ParameterConstraints' | |
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.