module Stratosphere.ApiGatewayV2.IntegrationResponse (
IntegrationResponse(..), mkIntegrationResponse
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data IntegrationResponse
=
IntegrationResponse {IntegrationResponse -> ()
haddock_workaround_ :: (),
IntegrationResponse -> Value Text
apiId :: (Value Prelude.Text),
IntegrationResponse -> Maybe (Value Text)
contentHandlingStrategy :: (Prelude.Maybe (Value Prelude.Text)),
IntegrationResponse -> Value Text
integrationId :: (Value Prelude.Text),
IntegrationResponse -> Value Text
integrationResponseKey :: (Value Prelude.Text),
IntegrationResponse -> Maybe Object
responseParameters :: (Prelude.Maybe JSON.Object),
IntegrationResponse -> Maybe Object
responseTemplates :: (Prelude.Maybe JSON.Object),
IntegrationResponse -> Maybe (Value Text)
templateSelectionExpression :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (IntegrationResponse -> IntegrationResponse -> Bool
(IntegrationResponse -> IntegrationResponse -> Bool)
-> (IntegrationResponse -> IntegrationResponse -> Bool)
-> Eq IntegrationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: IntegrationResponse -> IntegrationResponse -> Bool
== :: IntegrationResponse -> IntegrationResponse -> Bool
$c/= :: IntegrationResponse -> IntegrationResponse -> Bool
/= :: IntegrationResponse -> IntegrationResponse -> Bool
Prelude.Eq, Int -> IntegrationResponse -> ShowS
[IntegrationResponse] -> ShowS
IntegrationResponse -> String
(Int -> IntegrationResponse -> ShowS)
-> (IntegrationResponse -> String)
-> ([IntegrationResponse] -> ShowS)
-> Show IntegrationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> IntegrationResponse -> ShowS
showsPrec :: Int -> IntegrationResponse -> ShowS
$cshow :: IntegrationResponse -> String
show :: IntegrationResponse -> String
$cshowList :: [IntegrationResponse] -> ShowS
showList :: [IntegrationResponse] -> ShowS
Prelude.Show)
mkIntegrationResponse ::
Value Prelude.Text
-> Value Prelude.Text -> Value Prelude.Text -> IntegrationResponse
mkIntegrationResponse :: Value Text -> Value Text -> Value Text -> IntegrationResponse
mkIntegrationResponse Value Text
apiId Value Text
integrationId Value Text
integrationResponseKey
= IntegrationResponse
{haddock_workaround_ :: ()
haddock_workaround_ = (), apiId :: Value Text
apiId = Value Text
apiId,
integrationId :: Value Text
integrationId = Value Text
integrationId,
integrationResponseKey :: Value Text
integrationResponseKey = Value Text
integrationResponseKey,
contentHandlingStrategy :: Maybe (Value Text)
contentHandlingStrategy = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
responseParameters :: Maybe Object
responseParameters = Maybe Object
forall a. Maybe a
Prelude.Nothing,
responseTemplates :: Maybe Object
responseTemplates = Maybe Object
forall a. Maybe a
Prelude.Nothing,
templateSelectionExpression :: Maybe (Value Text)
templateSelectionExpression = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties IntegrationResponse where
toResourceProperties :: IntegrationResponse -> ResourceProperties
toResourceProperties IntegrationResponse {Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: IntegrationResponse -> ()
apiId :: IntegrationResponse -> Value Text
contentHandlingStrategy :: IntegrationResponse -> Maybe (Value Text)
integrationId :: IntegrationResponse -> Value Text
integrationResponseKey :: IntegrationResponse -> Value Text
responseParameters :: IntegrationResponse -> Maybe Object
responseTemplates :: IntegrationResponse -> Maybe Object
templateSelectionExpression :: IntegrationResponse -> Maybe (Value Text)
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::ApiGatewayV2::IntegrationResponse",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"ApiId" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
apiId, Key
"IntegrationId" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
integrationId,
Key
"IntegrationResponseKey" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
integrationResponseKey]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ContentHandlingStrategy"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
contentHandlingStrategy,
Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ResponseParameters" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
responseParameters,
Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ResponseTemplates" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
responseTemplates,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TemplateSelectionExpression"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
templateSelectionExpression]))}
instance JSON.ToJSON IntegrationResponse where
toJSON :: IntegrationResponse -> Value
toJSON IntegrationResponse {Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: IntegrationResponse -> ()
apiId :: IntegrationResponse -> Value Text
contentHandlingStrategy :: IntegrationResponse -> Maybe (Value Text)
integrationId :: IntegrationResponse -> Value Text
integrationResponseKey :: IntegrationResponse -> Value Text
responseParameters :: IntegrationResponse -> Maybe Object
responseTemplates :: IntegrationResponse -> Maybe Object
templateSelectionExpression :: IntegrationResponse -> Maybe (Value Text)
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"ApiId" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
apiId, Key
"IntegrationId" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
integrationId,
Key
"IntegrationResponseKey" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
integrationResponseKey]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ContentHandlingStrategy"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
contentHandlingStrategy,
Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ResponseParameters" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
responseParameters,
Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ResponseTemplates" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
responseTemplates,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TemplateSelectionExpression"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
templateSelectionExpression])))
instance Property "ApiId" IntegrationResponse where
type PropertyType "ApiId" IntegrationResponse = Value Prelude.Text
set :: PropertyType "ApiId" IntegrationResponse
-> IntegrationResponse -> IntegrationResponse
set PropertyType "ApiId" IntegrationResponse
newValue IntegrationResponse {Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: IntegrationResponse -> ()
apiId :: IntegrationResponse -> Value Text
contentHandlingStrategy :: IntegrationResponse -> Maybe (Value Text)
integrationId :: IntegrationResponse -> Value Text
integrationResponseKey :: IntegrationResponse -> Value Text
responseParameters :: IntegrationResponse -> Maybe Object
responseTemplates :: IntegrationResponse -> Maybe Object
templateSelectionExpression :: IntegrationResponse -> Maybe (Value Text)
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
= IntegrationResponse {apiId :: Value Text
apiId = PropertyType "ApiId" IntegrationResponse
Value Text
newValue, Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
haddock_workaround_ :: ()
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
instance Property "ContentHandlingStrategy" IntegrationResponse where
type PropertyType "ContentHandlingStrategy" IntegrationResponse = Value Prelude.Text
set :: PropertyType "ContentHandlingStrategy" IntegrationResponse
-> IntegrationResponse -> IntegrationResponse
set PropertyType "ContentHandlingStrategy" IntegrationResponse
newValue IntegrationResponse {Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: IntegrationResponse -> ()
apiId :: IntegrationResponse -> Value Text
contentHandlingStrategy :: IntegrationResponse -> Maybe (Value Text)
integrationId :: IntegrationResponse -> Value Text
integrationResponseKey :: IntegrationResponse -> Value Text
responseParameters :: IntegrationResponse -> Maybe Object
responseTemplates :: IntegrationResponse -> Maybe Object
templateSelectionExpression :: IntegrationResponse -> Maybe (Value Text)
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
= IntegrationResponse
{contentHandlingStrategy :: Maybe (Value Text)
contentHandlingStrategy = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ContentHandlingStrategy" IntegrationResponse
Value Text
newValue, Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
haddock_workaround_ :: ()
apiId :: Value Text
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
instance Property "IntegrationId" IntegrationResponse where
type PropertyType "IntegrationId" IntegrationResponse = Value Prelude.Text
set :: PropertyType "IntegrationId" IntegrationResponse
-> IntegrationResponse -> IntegrationResponse
set PropertyType "IntegrationId" IntegrationResponse
newValue IntegrationResponse {Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: IntegrationResponse -> ()
apiId :: IntegrationResponse -> Value Text
contentHandlingStrategy :: IntegrationResponse -> Maybe (Value Text)
integrationId :: IntegrationResponse -> Value Text
integrationResponseKey :: IntegrationResponse -> Value Text
responseParameters :: IntegrationResponse -> Maybe Object
responseTemplates :: IntegrationResponse -> Maybe Object
templateSelectionExpression :: IntegrationResponse -> Maybe (Value Text)
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
= IntegrationResponse {integrationId :: Value Text
integrationId = PropertyType "IntegrationId" IntegrationResponse
Value Text
newValue, Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
instance Property "IntegrationResponseKey" IntegrationResponse where
type PropertyType "IntegrationResponseKey" IntegrationResponse = Value Prelude.Text
set :: PropertyType "IntegrationResponseKey" IntegrationResponse
-> IntegrationResponse -> IntegrationResponse
set PropertyType "IntegrationResponseKey" IntegrationResponse
newValue IntegrationResponse {Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: IntegrationResponse -> ()
apiId :: IntegrationResponse -> Value Text
contentHandlingStrategy :: IntegrationResponse -> Maybe (Value Text)
integrationId :: IntegrationResponse -> Value Text
integrationResponseKey :: IntegrationResponse -> Value Text
responseParameters :: IntegrationResponse -> Maybe Object
responseTemplates :: IntegrationResponse -> Maybe Object
templateSelectionExpression :: IntegrationResponse -> Maybe (Value Text)
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
= IntegrationResponse {integrationResponseKey :: Value Text
integrationResponseKey = PropertyType "IntegrationResponseKey" IntegrationResponse
Value Text
newValue, Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
instance Property "ResponseParameters" IntegrationResponse where
type PropertyType "ResponseParameters" IntegrationResponse = JSON.Object
set :: PropertyType "ResponseParameters" IntegrationResponse
-> IntegrationResponse -> IntegrationResponse
set PropertyType "ResponseParameters" IntegrationResponse
newValue IntegrationResponse {Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: IntegrationResponse -> ()
apiId :: IntegrationResponse -> Value Text
contentHandlingStrategy :: IntegrationResponse -> Maybe (Value Text)
integrationId :: IntegrationResponse -> Value Text
integrationResponseKey :: IntegrationResponse -> Value Text
responseParameters :: IntegrationResponse -> Maybe Object
responseTemplates :: IntegrationResponse -> Maybe Object
templateSelectionExpression :: IntegrationResponse -> Maybe (Value Text)
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
= IntegrationResponse
{responseParameters :: Maybe Object
responseParameters = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType "ResponseParameters" IntegrationResponse
newValue, Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
instance Property "ResponseTemplates" IntegrationResponse where
type PropertyType "ResponseTemplates" IntegrationResponse = JSON.Object
set :: PropertyType "ResponseTemplates" IntegrationResponse
-> IntegrationResponse -> IntegrationResponse
set PropertyType "ResponseTemplates" IntegrationResponse
newValue IntegrationResponse {Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: IntegrationResponse -> ()
apiId :: IntegrationResponse -> Value Text
contentHandlingStrategy :: IntegrationResponse -> Maybe (Value Text)
integrationId :: IntegrationResponse -> Value Text
integrationResponseKey :: IntegrationResponse -> Value Text
responseParameters :: IntegrationResponse -> Maybe Object
responseTemplates :: IntegrationResponse -> Maybe Object
templateSelectionExpression :: IntegrationResponse -> Maybe (Value Text)
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
= IntegrationResponse
{responseTemplates :: Maybe Object
responseTemplates = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType "ResponseTemplates" IntegrationResponse
newValue, Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
instance Property "TemplateSelectionExpression" IntegrationResponse where
type PropertyType "TemplateSelectionExpression" IntegrationResponse = Value Prelude.Text
set :: PropertyType "TemplateSelectionExpression" IntegrationResponse
-> IntegrationResponse -> IntegrationResponse
set PropertyType "TemplateSelectionExpression" IntegrationResponse
newValue IntegrationResponse {Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: IntegrationResponse -> ()
apiId :: IntegrationResponse -> Value Text
contentHandlingStrategy :: IntegrationResponse -> Maybe (Value Text)
integrationId :: IntegrationResponse -> Value Text
integrationResponseKey :: IntegrationResponse -> Value Text
responseParameters :: IntegrationResponse -> Maybe Object
responseTemplates :: IntegrationResponse -> Maybe Object
templateSelectionExpression :: IntegrationResponse -> Maybe (Value Text)
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
templateSelectionExpression :: Maybe (Value Text)
..}
= IntegrationResponse
{templateSelectionExpression :: Maybe (Value Text)
templateSelectionExpression = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TemplateSelectionExpression" IntegrationResponse
Value Text
newValue, Maybe Object
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
haddock_workaround_ :: ()
apiId :: Value Text
contentHandlingStrategy :: Maybe (Value Text)
integrationId :: Value Text
integrationResponseKey :: Value Text
responseParameters :: Maybe Object
responseTemplates :: Maybe Object
..}