module Stratosphere.Bedrock.KnowledgeBase.NeptuneAnalyticsConfigurationProperty ( module Exports, NeptuneAnalyticsConfigurationProperty(..), mkNeptuneAnalyticsConfigurationProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import {-# SOURCE #-} Stratosphere.Bedrock.KnowledgeBase.NeptuneAnalyticsFieldMappingProperty as Exports import Stratosphere.ResourceProperties import Stratosphere.Value data NeptuneAnalyticsConfigurationProperty = -- | See: NeptuneAnalyticsConfigurationProperty {haddock_workaround_ :: (), -- | See: fieldMapping :: NeptuneAnalyticsFieldMappingProperty, -- | See: graphArn :: (Value Prelude.Text)} deriving stock (Prelude.Eq, Prelude.Show) mkNeptuneAnalyticsConfigurationProperty :: NeptuneAnalyticsFieldMappingProperty -> Value Prelude.Text -> NeptuneAnalyticsConfigurationProperty mkNeptuneAnalyticsConfigurationProperty fieldMapping graphArn = NeptuneAnalyticsConfigurationProperty {haddock_workaround_ = (), fieldMapping = fieldMapping, graphArn = graphArn} instance ToResourceProperties NeptuneAnalyticsConfigurationProperty where toResourceProperties NeptuneAnalyticsConfigurationProperty {..} = ResourceProperties {awsType = "AWS::Bedrock::KnowledgeBase.NeptuneAnalyticsConfiguration", supportsTags = Prelude.False, properties = ["FieldMapping" JSON..= fieldMapping, "GraphArn" JSON..= graphArn]} instance JSON.ToJSON NeptuneAnalyticsConfigurationProperty where toJSON NeptuneAnalyticsConfigurationProperty {..} = JSON.object ["FieldMapping" JSON..= fieldMapping, "GraphArn" JSON..= graphArn] instance Property "FieldMapping" NeptuneAnalyticsConfigurationProperty where type PropertyType "FieldMapping" NeptuneAnalyticsConfigurationProperty = NeptuneAnalyticsFieldMappingProperty set newValue NeptuneAnalyticsConfigurationProperty {..} = NeptuneAnalyticsConfigurationProperty {fieldMapping = newValue, ..} instance Property "GraphArn" NeptuneAnalyticsConfigurationProperty where type PropertyType "GraphArn" NeptuneAnalyticsConfigurationProperty = Value Prelude.Text set newValue NeptuneAnalyticsConfigurationProperty {..} = NeptuneAnalyticsConfigurationProperty {graphArn = newValue, ..}