module Stratosphere.Bedrock.Prompt.PromptAgentResourceProperty ( PromptAgentResourceProperty(..), mkPromptAgentResourceProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data PromptAgentResourceProperty = -- | See: PromptAgentResourceProperty {haddock_workaround_ :: (), -- | See: agentIdentifier :: (Value Prelude.Text)} deriving stock (Prelude.Eq, Prelude.Show) mkPromptAgentResourceProperty :: Value Prelude.Text -> PromptAgentResourceProperty mkPromptAgentResourceProperty agentIdentifier = PromptAgentResourceProperty {haddock_workaround_ = (), agentIdentifier = agentIdentifier} instance ToResourceProperties PromptAgentResourceProperty where toResourceProperties PromptAgentResourceProperty {..} = ResourceProperties {awsType = "AWS::Bedrock::Prompt.PromptAgentResource", supportsTags = Prelude.False, properties = ["AgentIdentifier" JSON..= agentIdentifier]} instance JSON.ToJSON PromptAgentResourceProperty where toJSON PromptAgentResourceProperty {..} = JSON.object ["AgentIdentifier" JSON..= agentIdentifier] instance Property "AgentIdentifier" PromptAgentResourceProperty where type PropertyType "AgentIdentifier" PromptAgentResourceProperty = Value Prelude.Text set newValue PromptAgentResourceProperty {..} = PromptAgentResourceProperty {agentIdentifier = newValue, ..}