| 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.AppMesh.Types.HttpGatewayRouteHeader
Description
Synopsis
- data HttpGatewayRouteHeader = HttpGatewayRouteHeader' {}
- newHttpGatewayRouteHeader :: Text -> HttpGatewayRouteHeader
- httpGatewayRouteHeader_invert :: Lens' HttpGatewayRouteHeader (Maybe Bool)
- httpGatewayRouteHeader_match :: Lens' HttpGatewayRouteHeader (Maybe HeaderMatchMethod)
- httpGatewayRouteHeader_name :: Lens' HttpGatewayRouteHeader Text
Documentation
data HttpGatewayRouteHeader Source #
An object that represents the HTTP header in the gateway route.
See: newHttpGatewayRouteHeader smart constructor.
Constructors
| HttpGatewayRouteHeader' | |
Fields
| |
Instances
newHttpGatewayRouteHeader Source #
Arguments
| :: Text | |
| -> HttpGatewayRouteHeader |
Create a value of HttpGatewayRouteHeader 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:invert:HttpGatewayRouteHeader', httpGatewayRouteHeader_invert - Specify True to match anything except the match criteria. The default
value is False.
$sel:match:HttpGatewayRouteHeader', httpGatewayRouteHeader_match - An object that represents the method and value to match with the header
value sent in a request. Specify one match method.
$sel:name:HttpGatewayRouteHeader', httpGatewayRouteHeader_name - A name for the HTTP header in the gateway route that will be matched on.
httpGatewayRouteHeader_invert :: Lens' HttpGatewayRouteHeader (Maybe Bool) Source #
Specify True to match anything except the match criteria. The default
value is False.
httpGatewayRouteHeader_match :: Lens' HttpGatewayRouteHeader (Maybe HeaderMatchMethod) Source #
An object that represents the method and value to match with the header value sent in a request. Specify one match method.
httpGatewayRouteHeader_name :: Lens' HttpGatewayRouteHeader Text Source #
A name for the HTTP header in the gateway route that will be matched on.