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 |
Synopsis
- data HttpParameters = HttpParameters' {}
- newHttpParameters :: HttpParameters
- httpParameters_headerParameters :: Lens' HttpParameters (Maybe (HashMap Text Text))
- httpParameters_pathParameterValues :: Lens' HttpParameters (Maybe [Text])
- httpParameters_queryStringParameters :: Lens' HttpParameters (Maybe (HashMap Text Text))
Documentation
data HttpParameters Source #
These are custom parameter to be used when the target is an API Gateway REST APIs or EventBridge ApiDestinations. In the latter case, these are merged with any InvocationParameters specified on the Connection, with any values from the Connection taking precedence.
See: newHttpParameters
smart constructor.
HttpParameters' | |
|
Instances
newHttpParameters :: HttpParameters Source #
Create a value of HttpParameters
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:headerParameters:HttpParameters'
, httpParameters_headerParameters
- The headers that need to be sent as part of request invoking the API
Gateway REST API or EventBridge ApiDestination.
$sel:pathParameterValues:HttpParameters'
, httpParameters_pathParameterValues
- The path parameter values to be used to populate API Gateway REST API or
EventBridge ApiDestination path wildcards ("*").
$sel:queryStringParameters:HttpParameters'
, httpParameters_queryStringParameters
- The query string keys/values that need to be sent as part of request
invoking the API Gateway REST API or EventBridge ApiDestination.
httpParameters_headerParameters :: Lens' HttpParameters (Maybe (HashMap Text Text)) Source #
The headers that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.
httpParameters_pathParameterValues :: Lens' HttpParameters (Maybe [Text]) Source #
The path parameter values to be used to populate API Gateway REST API or EventBridge ApiDestination path wildcards ("*").
httpParameters_queryStringParameters :: Lens' HttpParameters (Maybe (HashMap Text Text)) Source #
The query string keys/values that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.