amazonka-apigatewayv2-2.0: Amazon ApiGatewayV2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ApiGatewayV2.Types.ParameterConstraints

Description

 
Synopsis

Documentation

data ParameterConstraints Source #

Validation constraints imposed on parameters of a request (path, query string, headers).

See: newParameterConstraints smart constructor.

Constructors

ParameterConstraints' 

Fields

Instances

Instances details
FromJSON ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

ToJSON ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

Generic ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

Associated Types

type Rep ParameterConstraints :: Type -> Type #

Read ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

Show ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

NFData ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

Methods

rnf :: ParameterConstraints -> () #

Eq ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

Hashable ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

type Rep ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

type Rep ParameterConstraints = D1 ('MetaData "ParameterConstraints" "Amazonka.ApiGatewayV2.Types.ParameterConstraints" "amazonka-apigatewayv2-2.0-4MZ8oueToeLOWomgegceF" 'False) (C1 ('MetaCons "ParameterConstraints'" 'PrefixI 'True) (S1 ('MetaSel ('Just "required") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

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.