module Stratosphere.Bedrock.PromptVersion.PromptInferenceConfigurationProperty ( module Exports, PromptInferenceConfigurationProperty(..), mkPromptInferenceConfigurationProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import {-# SOURCE #-} Stratosphere.Bedrock.PromptVersion.PromptModelInferenceConfigurationProperty as Exports import Stratosphere.ResourceProperties data PromptInferenceConfigurationProperty = -- | See: PromptInferenceConfigurationProperty {haddock_workaround_ :: (), -- | See: text :: PromptModelInferenceConfigurationProperty} deriving stock (Prelude.Eq, Prelude.Show) mkPromptInferenceConfigurationProperty :: PromptModelInferenceConfigurationProperty -> PromptInferenceConfigurationProperty mkPromptInferenceConfigurationProperty text = PromptInferenceConfigurationProperty {haddock_workaround_ = (), text = text} instance ToResourceProperties PromptInferenceConfigurationProperty where toResourceProperties PromptInferenceConfigurationProperty {..} = ResourceProperties {awsType = "AWS::Bedrock::PromptVersion.PromptInferenceConfiguration", supportsTags = Prelude.False, properties = ["Text" JSON..= text]} instance JSON.ToJSON PromptInferenceConfigurationProperty where toJSON PromptInferenceConfigurationProperty {..} = JSON.object ["Text" JSON..= text] instance Property "Text" PromptInferenceConfigurationProperty where type PropertyType "Text" PromptInferenceConfigurationProperty = PromptModelInferenceConfigurationProperty set newValue PromptInferenceConfigurationProperty {..} = PromptInferenceConfigurationProperty {text = newValue, ..}