module Stratosphere.Bedrock.Flow.RetrievalFlowNodeConfigurationProperty (
module Exports, RetrievalFlowNodeConfigurationProperty(..),
mkRetrievalFlowNodeConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Bedrock.Flow.RetrievalFlowNodeServiceConfigurationProperty as Exports
import Stratosphere.ResourceProperties
data RetrievalFlowNodeConfigurationProperty
=
RetrievalFlowNodeConfigurationProperty {RetrievalFlowNodeConfigurationProperty -> ()
haddock_workaround_ :: (),
RetrievalFlowNodeConfigurationProperty
-> RetrievalFlowNodeServiceConfigurationProperty
serviceConfiguration :: RetrievalFlowNodeServiceConfigurationProperty}
deriving stock (RetrievalFlowNodeConfigurationProperty
-> RetrievalFlowNodeConfigurationProperty -> Bool
(RetrievalFlowNodeConfigurationProperty
-> RetrievalFlowNodeConfigurationProperty -> Bool)
-> (RetrievalFlowNodeConfigurationProperty
-> RetrievalFlowNodeConfigurationProperty -> Bool)
-> Eq RetrievalFlowNodeConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RetrievalFlowNodeConfigurationProperty
-> RetrievalFlowNodeConfigurationProperty -> Bool
== :: RetrievalFlowNodeConfigurationProperty
-> RetrievalFlowNodeConfigurationProperty -> Bool
$c/= :: RetrievalFlowNodeConfigurationProperty
-> RetrievalFlowNodeConfigurationProperty -> Bool
/= :: RetrievalFlowNodeConfigurationProperty
-> RetrievalFlowNodeConfigurationProperty -> Bool
Prelude.Eq, Int -> RetrievalFlowNodeConfigurationProperty -> ShowS
[RetrievalFlowNodeConfigurationProperty] -> ShowS
RetrievalFlowNodeConfigurationProperty -> String
(Int -> RetrievalFlowNodeConfigurationProperty -> ShowS)
-> (RetrievalFlowNodeConfigurationProperty -> String)
-> ([RetrievalFlowNodeConfigurationProperty] -> ShowS)
-> Show RetrievalFlowNodeConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RetrievalFlowNodeConfigurationProperty -> ShowS
showsPrec :: Int -> RetrievalFlowNodeConfigurationProperty -> ShowS
$cshow :: RetrievalFlowNodeConfigurationProperty -> String
show :: RetrievalFlowNodeConfigurationProperty -> String
$cshowList :: [RetrievalFlowNodeConfigurationProperty] -> ShowS
showList :: [RetrievalFlowNodeConfigurationProperty] -> ShowS
Prelude.Show)
mkRetrievalFlowNodeConfigurationProperty ::
RetrievalFlowNodeServiceConfigurationProperty
-> RetrievalFlowNodeConfigurationProperty
mkRetrievalFlowNodeConfigurationProperty :: RetrievalFlowNodeServiceConfigurationProperty
-> RetrievalFlowNodeConfigurationProperty
mkRetrievalFlowNodeConfigurationProperty RetrievalFlowNodeServiceConfigurationProperty
serviceConfiguration
= RetrievalFlowNodeConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (),
serviceConfiguration :: RetrievalFlowNodeServiceConfigurationProperty
serviceConfiguration = RetrievalFlowNodeServiceConfigurationProperty
serviceConfiguration}
instance ToResourceProperties RetrievalFlowNodeConfigurationProperty where
toResourceProperties :: RetrievalFlowNodeConfigurationProperty -> ResourceProperties
toResourceProperties RetrievalFlowNodeConfigurationProperty {()
RetrievalFlowNodeServiceConfigurationProperty
haddock_workaround_ :: RetrievalFlowNodeConfigurationProperty -> ()
serviceConfiguration :: RetrievalFlowNodeConfigurationProperty
-> RetrievalFlowNodeServiceConfigurationProperty
haddock_workaround_ :: ()
serviceConfiguration :: RetrievalFlowNodeServiceConfigurationProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Bedrock::Flow.RetrievalFlowNodeConfiguration",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"ServiceConfiguration" Key
-> RetrievalFlowNodeServiceConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= RetrievalFlowNodeServiceConfigurationProperty
serviceConfiguration]}
instance JSON.ToJSON RetrievalFlowNodeConfigurationProperty where
toJSON :: RetrievalFlowNodeConfigurationProperty -> Value
toJSON RetrievalFlowNodeConfigurationProperty {()
RetrievalFlowNodeServiceConfigurationProperty
haddock_workaround_ :: RetrievalFlowNodeConfigurationProperty -> ()
serviceConfiguration :: RetrievalFlowNodeConfigurationProperty
-> RetrievalFlowNodeServiceConfigurationProperty
haddock_workaround_ :: ()
serviceConfiguration :: RetrievalFlowNodeServiceConfigurationProperty
..}
= [(Key, Value)] -> Value
JSON.object [Key
"ServiceConfiguration" Key
-> RetrievalFlowNodeServiceConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= RetrievalFlowNodeServiceConfigurationProperty
serviceConfiguration]
instance Property "ServiceConfiguration" RetrievalFlowNodeConfigurationProperty where
type PropertyType "ServiceConfiguration" RetrievalFlowNodeConfigurationProperty = RetrievalFlowNodeServiceConfigurationProperty
set :: PropertyType
"ServiceConfiguration" RetrievalFlowNodeConfigurationProperty
-> RetrievalFlowNodeConfigurationProperty
-> RetrievalFlowNodeConfigurationProperty
set PropertyType
"ServiceConfiguration" RetrievalFlowNodeConfigurationProperty
newValue RetrievalFlowNodeConfigurationProperty {()
RetrievalFlowNodeServiceConfigurationProperty
haddock_workaround_ :: RetrievalFlowNodeConfigurationProperty -> ()
serviceConfiguration :: RetrievalFlowNodeConfigurationProperty
-> RetrievalFlowNodeServiceConfigurationProperty
haddock_workaround_ :: ()
serviceConfiguration :: RetrievalFlowNodeServiceConfigurationProperty
..}
= RetrievalFlowNodeConfigurationProperty
{serviceConfiguration :: RetrievalFlowNodeServiceConfigurationProperty
serviceConfiguration = PropertyType
"ServiceConfiguration" RetrievalFlowNodeConfigurationProperty
RetrievalFlowNodeServiceConfigurationProperty
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}