module Stratosphere.AppSync.FunctionConfiguration (
        module Exports, FunctionConfiguration(..), mkFunctionConfiguration
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.AppSync.FunctionConfiguration.AppSyncRuntimeProperty as Exports
import {-# SOURCE #-} Stratosphere.AppSync.FunctionConfiguration.SyncConfigProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data FunctionConfiguration
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html>
    FunctionConfiguration {FunctionConfiguration -> ()
haddock_workaround_ :: (),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-apiid>
                           FunctionConfiguration -> Value Text
apiId :: (Value Prelude.Text),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-code>
                           FunctionConfiguration -> Maybe (Value Text)
code :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-codes3location>
                           FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-datasourcename>
                           FunctionConfiguration -> Value Text
dataSourceName :: (Value Prelude.Text),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-description>
                           FunctionConfiguration -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-functionversion>
                           FunctionConfiguration -> Maybe (Value Text)
functionVersion :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-maxbatchsize>
                           FunctionConfiguration -> Maybe (Value Integer)
maxBatchSize :: (Prelude.Maybe (Value Prelude.Integer)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-name>
                           FunctionConfiguration -> Value Text
name :: (Value Prelude.Text),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-requestmappingtemplate>
                           FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplate :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-requestmappingtemplates3location>
                           FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-responsemappingtemplate>
                           FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-responsemappingtemplates3location>
                           FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-runtime>
                           FunctionConfiguration -> Maybe AppSyncRuntimeProperty
runtime :: (Prelude.Maybe AppSyncRuntimeProperty),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-syncconfig>
                           FunctionConfiguration -> Maybe SyncConfigProperty
syncConfig :: (Prelude.Maybe SyncConfigProperty)}
  deriving stock (FunctionConfiguration -> FunctionConfiguration -> Bool
(FunctionConfiguration -> FunctionConfiguration -> Bool)
-> (FunctionConfiguration -> FunctionConfiguration -> Bool)
-> Eq FunctionConfiguration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: FunctionConfiguration -> FunctionConfiguration -> Bool
== :: FunctionConfiguration -> FunctionConfiguration -> Bool
$c/= :: FunctionConfiguration -> FunctionConfiguration -> Bool
/= :: FunctionConfiguration -> FunctionConfiguration -> Bool
Prelude.Eq, Int -> FunctionConfiguration -> ShowS
[FunctionConfiguration] -> ShowS
FunctionConfiguration -> String
(Int -> FunctionConfiguration -> ShowS)
-> (FunctionConfiguration -> String)
-> ([FunctionConfiguration] -> ShowS)
-> Show FunctionConfiguration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> FunctionConfiguration -> ShowS
showsPrec :: Int -> FunctionConfiguration -> ShowS
$cshow :: FunctionConfiguration -> String
show :: FunctionConfiguration -> String
$cshowList :: [FunctionConfiguration] -> ShowS
showList :: [FunctionConfiguration] -> ShowS
Prelude.Show)
mkFunctionConfiguration ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> Value Prelude.Text -> FunctionConfiguration
mkFunctionConfiguration :: Value Text -> Value Text -> Value Text -> FunctionConfiguration
mkFunctionConfiguration Value Text
apiId Value Text
dataSourceName Value Text
name
  = FunctionConfiguration
      {haddock_workaround_ :: ()
haddock_workaround_ = (), apiId :: Value Text
apiId = Value Text
apiId,
       dataSourceName :: Value Text
dataSourceName = Value Text
dataSourceName, name :: Value Text
name = Value Text
name,
       code :: Maybe (Value Text)
code = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, codeS3Location :: Maybe (Value Text)
codeS3Location = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, functionVersion :: Maybe (Value Text)
functionVersion = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       maxBatchSize :: Maybe (Value Integer)
maxBatchSize = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplate = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       requestMappingTemplateS3Location :: Maybe (Value Text)
requestMappingTemplateS3Location = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplate = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       responseMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplateS3Location = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       runtime :: Maybe AppSyncRuntimeProperty
runtime = Maybe AppSyncRuntimeProperty
forall a. Maybe a
Prelude.Nothing, syncConfig :: Maybe SyncConfigProperty
syncConfig = Maybe SyncConfigProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties FunctionConfiguration where
  toResourceProperties :: FunctionConfiguration -> ResourceProperties
toResourceProperties FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::AppSync::FunctionConfiguration",
         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
"DataSourceName" 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
dataSourceName,
                            Key
"Name" 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
name]
                           ([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
"Code" (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)
code,
                               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
"CodeS3Location" (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)
codeS3Location,
                               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
"Description" (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)
description,
                               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
"FunctionVersion" (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)
functionVersion,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MaxBatchSize" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
maxBatchSize,
                               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
"RequestMappingTemplate"
                                 (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)
requestMappingTemplate,
                               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
"RequestMappingTemplateS3Location"
                                 (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)
requestMappingTemplateS3Location,
                               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
"ResponseMappingTemplate"
                                 (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)
responseMappingTemplate,
                               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
"ResponseMappingTemplateS3Location"
                                 (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)
responseMappingTemplateS3Location,
                               Key -> AppSyncRuntimeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Runtime" (AppSyncRuntimeProperty -> (Key, Value))
-> Maybe AppSyncRuntimeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AppSyncRuntimeProperty
runtime,
                               Key -> SyncConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SyncConfig" (SyncConfigProperty -> (Key, Value))
-> Maybe SyncConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SyncConfigProperty
syncConfig]))}
instance JSON.ToJSON FunctionConfiguration where
  toJSON :: FunctionConfiguration -> Value
toJSON FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = [(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
"DataSourceName" 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
dataSourceName,
               Key
"Name" 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
name]
              ([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
"Code" (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)
code,
                  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
"CodeS3Location" (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)
codeS3Location,
                  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
"Description" (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)
description,
                  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
"FunctionVersion" (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)
functionVersion,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MaxBatchSize" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
maxBatchSize,
                  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
"RequestMappingTemplate"
                    (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)
requestMappingTemplate,
                  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
"RequestMappingTemplateS3Location"
                    (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)
requestMappingTemplateS3Location,
                  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
"ResponseMappingTemplate"
                    (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)
responseMappingTemplate,
                  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
"ResponseMappingTemplateS3Location"
                    (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)
responseMappingTemplateS3Location,
                  Key -> AppSyncRuntimeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Runtime" (AppSyncRuntimeProperty -> (Key, Value))
-> Maybe AppSyncRuntimeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AppSyncRuntimeProperty
runtime,
                  Key -> SyncConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SyncConfig" (SyncConfigProperty -> (Key, Value))
-> Maybe SyncConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SyncConfigProperty
syncConfig])))
instance Property "ApiId" FunctionConfiguration where
  type PropertyType "ApiId" FunctionConfiguration = Value Prelude.Text
  set :: PropertyType "ApiId" FunctionConfiguration
-> FunctionConfiguration -> FunctionConfiguration
set PropertyType "ApiId" FunctionConfiguration
newValue FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = FunctionConfiguration {apiId :: Value Text
apiId = PropertyType "ApiId" FunctionConfiguration
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: ()
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
haddock_workaround_ :: ()
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
instance Property "Code" FunctionConfiguration where
  type PropertyType "Code" FunctionConfiguration = Value Prelude.Text
  set :: PropertyType "Code" FunctionConfiguration
-> FunctionConfiguration -> FunctionConfiguration
set PropertyType "Code" FunctionConfiguration
newValue FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = FunctionConfiguration {code :: Maybe (Value Text)
code = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Code" FunctionConfiguration
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
instance Property "CodeS3Location" FunctionConfiguration where
  type PropertyType "CodeS3Location" FunctionConfiguration = Value Prelude.Text
  set :: PropertyType "CodeS3Location" FunctionConfiguration
-> FunctionConfiguration -> FunctionConfiguration
set PropertyType "CodeS3Location" FunctionConfiguration
newValue FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = FunctionConfiguration
        {codeS3Location :: Maybe (Value Text)
codeS3Location = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CodeS3Location" FunctionConfiguration
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
instance Property "DataSourceName" FunctionConfiguration where
  type PropertyType "DataSourceName" FunctionConfiguration = Value Prelude.Text
  set :: PropertyType "DataSourceName" FunctionConfiguration
-> FunctionConfiguration -> FunctionConfiguration
set PropertyType "DataSourceName" FunctionConfiguration
newValue FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = FunctionConfiguration {dataSourceName :: Value Text
dataSourceName = PropertyType "DataSourceName" FunctionConfiguration
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
instance Property "Description" FunctionConfiguration where
  type PropertyType "Description" FunctionConfiguration = Value Prelude.Text
  set :: PropertyType "Description" FunctionConfiguration
-> FunctionConfiguration -> FunctionConfiguration
set PropertyType "Description" FunctionConfiguration
newValue FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = FunctionConfiguration {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" FunctionConfiguration
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
instance Property "FunctionVersion" FunctionConfiguration where
  type PropertyType "FunctionVersion" FunctionConfiguration = Value Prelude.Text
  set :: PropertyType "FunctionVersion" FunctionConfiguration
-> FunctionConfiguration -> FunctionConfiguration
set PropertyType "FunctionVersion" FunctionConfiguration
newValue FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = FunctionConfiguration
        {functionVersion :: Maybe (Value Text)
functionVersion = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FunctionVersion" FunctionConfiguration
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
instance Property "MaxBatchSize" FunctionConfiguration where
  type PropertyType "MaxBatchSize" FunctionConfiguration = Value Prelude.Integer
  set :: PropertyType "MaxBatchSize" FunctionConfiguration
-> FunctionConfiguration -> FunctionConfiguration
set PropertyType "MaxBatchSize" FunctionConfiguration
newValue FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = FunctionConfiguration {maxBatchSize :: Maybe (Value Integer)
maxBatchSize = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MaxBatchSize" FunctionConfiguration
Value Integer
newValue, Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
instance Property "Name" FunctionConfiguration where
  type PropertyType "Name" FunctionConfiguration = Value Prelude.Text
  set :: PropertyType "Name" FunctionConfiguration
-> FunctionConfiguration -> FunctionConfiguration
set PropertyType "Name" FunctionConfiguration
newValue FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = FunctionConfiguration {name :: Value Text
name = PropertyType "Name" FunctionConfiguration
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
instance Property "RequestMappingTemplate" FunctionConfiguration where
  type PropertyType "RequestMappingTemplate" FunctionConfiguration = Value Prelude.Text
  set :: PropertyType "RequestMappingTemplate" FunctionConfiguration
-> FunctionConfiguration -> FunctionConfiguration
set PropertyType "RequestMappingTemplate" FunctionConfiguration
newValue FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = FunctionConfiguration
        {requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplate = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RequestMappingTemplate" FunctionConfiguration
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
instance Property "RequestMappingTemplateS3Location" FunctionConfiguration where
  type PropertyType "RequestMappingTemplateS3Location" FunctionConfiguration = Value Prelude.Text
  set :: PropertyType
  "RequestMappingTemplateS3Location" FunctionConfiguration
-> FunctionConfiguration -> FunctionConfiguration
set PropertyType
  "RequestMappingTemplateS3Location" FunctionConfiguration
newValue FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = FunctionConfiguration
        {requestMappingTemplateS3Location :: Maybe (Value Text)
requestMappingTemplateS3Location = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "RequestMappingTemplateS3Location" FunctionConfiguration
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
instance Property "ResponseMappingTemplate" FunctionConfiguration where
  type PropertyType "ResponseMappingTemplate" FunctionConfiguration = Value Prelude.Text
  set :: PropertyType "ResponseMappingTemplate" FunctionConfiguration
-> FunctionConfiguration -> FunctionConfiguration
set PropertyType "ResponseMappingTemplate" FunctionConfiguration
newValue FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = FunctionConfiguration
        {responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplate = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ResponseMappingTemplate" FunctionConfiguration
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
instance Property "ResponseMappingTemplateS3Location" FunctionConfiguration where
  type PropertyType "ResponseMappingTemplateS3Location" FunctionConfiguration = Value Prelude.Text
  set :: PropertyType
  "ResponseMappingTemplateS3Location" FunctionConfiguration
-> FunctionConfiguration -> FunctionConfiguration
set PropertyType
  "ResponseMappingTemplateS3Location" FunctionConfiguration
newValue FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = FunctionConfiguration
        {responseMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplateS3Location = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "ResponseMappingTemplateS3Location" FunctionConfiguration
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
instance Property "Runtime" FunctionConfiguration where
  type PropertyType "Runtime" FunctionConfiguration = AppSyncRuntimeProperty
  set :: PropertyType "Runtime" FunctionConfiguration
-> FunctionConfiguration -> FunctionConfiguration
set PropertyType "Runtime" FunctionConfiguration
newValue FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = FunctionConfiguration {runtime :: Maybe AppSyncRuntimeProperty
runtime = AppSyncRuntimeProperty -> Maybe AppSyncRuntimeProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Runtime" FunctionConfiguration
AppSyncRuntimeProperty
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
syncConfig :: Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
syncConfig :: Maybe SyncConfigProperty
..}
instance Property "SyncConfig" FunctionConfiguration where
  type PropertyType "SyncConfig" FunctionConfiguration = SyncConfigProperty
  set :: PropertyType "SyncConfig" FunctionConfiguration
-> FunctionConfiguration -> FunctionConfiguration
set PropertyType "SyncConfig" FunctionConfiguration
newValue FunctionConfiguration {Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
Maybe SyncConfigProperty
()
Value Text
haddock_workaround_ :: FunctionConfiguration -> ()
apiId :: FunctionConfiguration -> Value Text
code :: FunctionConfiguration -> Maybe (Value Text)
codeS3Location :: FunctionConfiguration -> Maybe (Value Text)
dataSourceName :: FunctionConfiguration -> Value Text
description :: FunctionConfiguration -> Maybe (Value Text)
functionVersion :: FunctionConfiguration -> Maybe (Value Text)
maxBatchSize :: FunctionConfiguration -> Maybe (Value Integer)
name :: FunctionConfiguration -> Value Text
requestMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
requestMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplate :: FunctionConfiguration -> Maybe (Value Text)
responseMappingTemplateS3Location :: FunctionConfiguration -> Maybe (Value Text)
runtime :: FunctionConfiguration -> Maybe AppSyncRuntimeProperty
syncConfig :: FunctionConfiguration -> Maybe SyncConfigProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
syncConfig :: Maybe SyncConfigProperty
..}
    = FunctionConfiguration {syncConfig :: Maybe SyncConfigProperty
syncConfig = SyncConfigProperty -> Maybe SyncConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SyncConfig" FunctionConfiguration
SyncConfigProperty
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe AppSyncRuntimeProperty
()
Value Text
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
haddock_workaround_ :: ()
apiId :: Value Text
code :: Maybe (Value Text)
codeS3Location :: Maybe (Value Text)
dataSourceName :: Value Text
description :: Maybe (Value Text)
functionVersion :: Maybe (Value Text)
maxBatchSize :: Maybe (Value Integer)
name :: Value Text
requestMappingTemplate :: Maybe (Value Text)
requestMappingTemplateS3Location :: Maybe (Value Text)
responseMappingTemplate :: Maybe (Value Text)
responseMappingTemplateS3Location :: Maybe (Value Text)
runtime :: Maybe AppSyncRuntimeProperty
..}