module Stratosphere.BedrockAgentCore.Gateway (
        module Exports, Gateway(..), mkGateway
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.BedrockAgentCore.Gateway.AuthorizerConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.BedrockAgentCore.Gateway.GatewayProtocolConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data Gateway
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html>
    Gateway {Gateway -> ()
haddock_workaround_ :: (),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-authorizerconfiguration>
             Gateway -> Maybe AuthorizerConfigurationProperty
authorizerConfiguration :: (Prelude.Maybe AuthorizerConfigurationProperty),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-authorizertype>
             Gateway -> Value Text
authorizerType :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-description>
             Gateway -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-exceptionlevel>
             Gateway -> Maybe (Value Text)
exceptionLevel :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-kmskeyarn>
             Gateway -> Maybe (Value Text)
kmsKeyArn :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-name>
             Gateway -> Value Text
name :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-protocolconfiguration>
             Gateway -> Maybe GatewayProtocolConfigurationProperty
protocolConfiguration :: (Prelude.Maybe GatewayProtocolConfigurationProperty),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-protocoltype>
             Gateway -> Value Text
protocolType :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-rolearn>
             Gateway -> Value Text
roleArn :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-tags>
             Gateway -> Maybe (Map Text (Value Text))
tags :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text)))}
  deriving stock (Gateway -> Gateway -> Bool
(Gateway -> Gateway -> Bool)
-> (Gateway -> Gateway -> Bool) -> Eq Gateway
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Gateway -> Gateway -> Bool
== :: Gateway -> Gateway -> Bool
$c/= :: Gateway -> Gateway -> Bool
/= :: Gateway -> Gateway -> Bool
Prelude.Eq, Int -> Gateway -> ShowS
[Gateway] -> ShowS
Gateway -> String
(Int -> Gateway -> ShowS)
-> (Gateway -> String) -> ([Gateway] -> ShowS) -> Show Gateway
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Gateway -> ShowS
showsPrec :: Int -> Gateway -> ShowS
$cshow :: Gateway -> String
show :: Gateway -> String
$cshowList :: [Gateway] -> ShowS
showList :: [Gateway] -> ShowS
Prelude.Show)
mkGateway ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> Value Prelude.Text -> Value Prelude.Text -> Gateway
mkGateway :: Value Text -> Value Text -> Value Text -> Value Text -> Gateway
mkGateway Value Text
authorizerType Value Text
name Value Text
protocolType Value Text
roleArn
  = Gateway
      {haddock_workaround_ :: ()
haddock_workaround_ = (), authorizerType :: Value Text
authorizerType = Value Text
authorizerType,
       name :: Value Text
name = Value Text
name, protocolType :: Value Text
protocolType = Value Text
protocolType, roleArn :: Value Text
roleArn = Value Text
roleArn,
       authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerConfiguration = Maybe AuthorizerConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, exceptionLevel :: Maybe (Value Text)
exceptionLevel = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       kmsKeyArn :: Maybe (Value Text)
kmsKeyArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolConfiguration = Maybe GatewayProtocolConfigurationProperty
forall a. Maybe a
Prelude.Nothing, tags :: Maybe (Map Text (Value Text))
tags = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Gateway where
  toResourceProperties :: Gateway -> ResourceProperties
toResourceProperties Gateway {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: Gateway -> ()
authorizerConfiguration :: Gateway -> Maybe AuthorizerConfigurationProperty
authorizerType :: Gateway -> Value Text
description :: Gateway -> Maybe (Value Text)
exceptionLevel :: Gateway -> Maybe (Value Text)
kmsKeyArn :: Gateway -> Maybe (Value Text)
name :: Gateway -> Value Text
protocolConfiguration :: Gateway -> Maybe GatewayProtocolConfigurationProperty
protocolType :: Gateway -> Value Text
roleArn :: Gateway -> Value Text
tags :: Gateway -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::BedrockAgentCore::Gateway",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         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
"AuthorizerType" 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
authorizerType, 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,
                            Key
"ProtocolType" 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
protocolType, Key
"RoleArn" 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
roleArn]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> AuthorizerConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AuthorizerConfiguration"
                                 (AuthorizerConfigurationProperty -> (Key, Value))
-> Maybe AuthorizerConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AuthorizerConfigurationProperty
authorizerConfiguration,
                               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
"ExceptionLevel" (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)
exceptionLevel,
                               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
"KmsKeyArn" (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)
kmsKeyArn,
                               Key -> GatewayProtocolConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProtocolConfiguration"
                                 (GatewayProtocolConfigurationProperty -> (Key, Value))
-> Maybe GatewayProtocolConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe GatewayProtocolConfigurationProperty
protocolConfiguration,
                               Key -> Map Text (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
"Tags" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
tags]))}
instance JSON.ToJSON Gateway where
  toJSON :: Gateway -> Value
toJSON Gateway {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: Gateway -> ()
authorizerConfiguration :: Gateway -> Maybe AuthorizerConfigurationProperty
authorizerType :: Gateway -> Value Text
description :: Gateway -> Maybe (Value Text)
exceptionLevel :: Gateway -> Maybe (Value Text)
kmsKeyArn :: Gateway -> Maybe (Value Text)
name :: Gateway -> Value Text
protocolConfiguration :: Gateway -> Maybe GatewayProtocolConfigurationProperty
protocolType :: Gateway -> Value Text
roleArn :: Gateway -> Value Text
tags :: Gateway -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
    = [(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
"AuthorizerType" 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
authorizerType, 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,
               Key
"ProtocolType" 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
protocolType, Key
"RoleArn" 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
roleArn]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> AuthorizerConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AuthorizerConfiguration"
                    (AuthorizerConfigurationProperty -> (Key, Value))
-> Maybe AuthorizerConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AuthorizerConfigurationProperty
authorizerConfiguration,
                  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
"ExceptionLevel" (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)
exceptionLevel,
                  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
"KmsKeyArn" (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)
kmsKeyArn,
                  Key -> GatewayProtocolConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProtocolConfiguration"
                    (GatewayProtocolConfigurationProperty -> (Key, Value))
-> Maybe GatewayProtocolConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe GatewayProtocolConfigurationProperty
protocolConfiguration,
                  Key -> Map Text (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
"Tags" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
tags])))
instance Property "AuthorizerConfiguration" Gateway where
  type PropertyType "AuthorizerConfiguration" Gateway = AuthorizerConfigurationProperty
  set :: PropertyType "AuthorizerConfiguration" Gateway
-> Gateway -> Gateway
set PropertyType "AuthorizerConfiguration" Gateway
newValue Gateway {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: Gateway -> ()
authorizerConfiguration :: Gateway -> Maybe AuthorizerConfigurationProperty
authorizerType :: Gateway -> Value Text
description :: Gateway -> Maybe (Value Text)
exceptionLevel :: Gateway -> Maybe (Value Text)
kmsKeyArn :: Gateway -> Maybe (Value Text)
name :: Gateway -> Value Text
protocolConfiguration :: Gateway -> Maybe GatewayProtocolConfigurationProperty
protocolType :: Gateway -> Value Text
roleArn :: Gateway -> Value Text
tags :: Gateway -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
    = Gateway {authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerConfiguration = AuthorizerConfigurationProperty
-> Maybe AuthorizerConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AuthorizerConfiguration" Gateway
AuthorizerConfigurationProperty
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
instance Property "AuthorizerType" Gateway where
  type PropertyType "AuthorizerType" Gateway = Value Prelude.Text
  set :: PropertyType "AuthorizerType" Gateway -> Gateway -> Gateway
set PropertyType "AuthorizerType" Gateway
newValue Gateway {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: Gateway -> ()
authorizerConfiguration :: Gateway -> Maybe AuthorizerConfigurationProperty
authorizerType :: Gateway -> Value Text
description :: Gateway -> Maybe (Value Text)
exceptionLevel :: Gateway -> Maybe (Value Text)
kmsKeyArn :: Gateway -> Maybe (Value Text)
name :: Gateway -> Value Text
protocolConfiguration :: Gateway -> Maybe GatewayProtocolConfigurationProperty
protocolType :: Gateway -> Value Text
roleArn :: Gateway -> Value Text
tags :: Gateway -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..} = Gateway {authorizerType :: Value Text
authorizerType = PropertyType "AuthorizerType" Gateway
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
instance Property "Description" Gateway where
  type PropertyType "Description" Gateway = Value Prelude.Text
  set :: PropertyType "Description" Gateway -> Gateway -> Gateway
set PropertyType "Description" Gateway
newValue Gateway {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: Gateway -> ()
authorizerConfiguration :: Gateway -> Maybe AuthorizerConfigurationProperty
authorizerType :: Gateway -> Value Text
description :: Gateway -> Maybe (Value Text)
exceptionLevel :: Gateway -> Maybe (Value Text)
kmsKeyArn :: Gateway -> Maybe (Value Text)
name :: Gateway -> Value Text
protocolConfiguration :: Gateway -> Maybe GatewayProtocolConfigurationProperty
protocolType :: Gateway -> Value Text
roleArn :: Gateway -> Value Text
tags :: Gateway -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
    = Gateway {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" Gateway
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
instance Property "ExceptionLevel" Gateway where
  type PropertyType "ExceptionLevel" Gateway = Value Prelude.Text
  set :: PropertyType "ExceptionLevel" Gateway -> Gateway -> Gateway
set PropertyType "ExceptionLevel" Gateway
newValue Gateway {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: Gateway -> ()
authorizerConfiguration :: Gateway -> Maybe AuthorizerConfigurationProperty
authorizerType :: Gateway -> Value Text
description :: Gateway -> Maybe (Value Text)
exceptionLevel :: Gateway -> Maybe (Value Text)
kmsKeyArn :: Gateway -> Maybe (Value Text)
name :: Gateway -> Value Text
protocolConfiguration :: Gateway -> Maybe GatewayProtocolConfigurationProperty
protocolType :: Gateway -> Value Text
roleArn :: Gateway -> Value Text
tags :: Gateway -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
    = Gateway {exceptionLevel :: Maybe (Value Text)
exceptionLevel = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExceptionLevel" Gateway
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
instance Property "KmsKeyArn" Gateway where
  type PropertyType "KmsKeyArn" Gateway = Value Prelude.Text
  set :: PropertyType "KmsKeyArn" Gateway -> Gateway -> Gateway
set PropertyType "KmsKeyArn" Gateway
newValue Gateway {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: Gateway -> ()
authorizerConfiguration :: Gateway -> Maybe AuthorizerConfigurationProperty
authorizerType :: Gateway -> Value Text
description :: Gateway -> Maybe (Value Text)
exceptionLevel :: Gateway -> Maybe (Value Text)
kmsKeyArn :: Gateway -> Maybe (Value Text)
name :: Gateway -> Value Text
protocolConfiguration :: Gateway -> Maybe GatewayProtocolConfigurationProperty
protocolType :: Gateway -> Value Text
roleArn :: Gateway -> Value Text
tags :: Gateway -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
    = Gateway {kmsKeyArn :: Maybe (Value Text)
kmsKeyArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "KmsKeyArn" Gateway
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
instance Property "Name" Gateway where
  type PropertyType "Name" Gateway = Value Prelude.Text
  set :: PropertyType "Name" Gateway -> Gateway -> Gateway
set PropertyType "Name" Gateway
newValue Gateway {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: Gateway -> ()
authorizerConfiguration :: Gateway -> Maybe AuthorizerConfigurationProperty
authorizerType :: Gateway -> Value Text
description :: Gateway -> Maybe (Value Text)
exceptionLevel :: Gateway -> Maybe (Value Text)
kmsKeyArn :: Gateway -> Maybe (Value Text)
name :: Gateway -> Value Text
protocolConfiguration :: Gateway -> Maybe GatewayProtocolConfigurationProperty
protocolType :: Gateway -> Value Text
roleArn :: Gateway -> Value Text
tags :: Gateway -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..} = Gateway {name :: Value Text
name = PropertyType "Name" Gateway
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
instance Property "ProtocolConfiguration" Gateway where
  type PropertyType "ProtocolConfiguration" Gateway = GatewayProtocolConfigurationProperty
  set :: PropertyType "ProtocolConfiguration" Gateway -> Gateway -> Gateway
set PropertyType "ProtocolConfiguration" Gateway
newValue Gateway {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: Gateway -> ()
authorizerConfiguration :: Gateway -> Maybe AuthorizerConfigurationProperty
authorizerType :: Gateway -> Value Text
description :: Gateway -> Maybe (Value Text)
exceptionLevel :: Gateway -> Maybe (Value Text)
kmsKeyArn :: Gateway -> Maybe (Value Text)
name :: Gateway -> Value Text
protocolConfiguration :: Gateway -> Maybe GatewayProtocolConfigurationProperty
protocolType :: Gateway -> Value Text
roleArn :: Gateway -> Value Text
tags :: Gateway -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
    = Gateway {protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolConfiguration = GatewayProtocolConfigurationProperty
-> Maybe GatewayProtocolConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ProtocolConfiguration" Gateway
GatewayProtocolConfigurationProperty
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
instance Property "ProtocolType" Gateway where
  type PropertyType "ProtocolType" Gateway = Value Prelude.Text
  set :: PropertyType "ProtocolType" Gateway -> Gateway -> Gateway
set PropertyType "ProtocolType" Gateway
newValue Gateway {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: Gateway -> ()
authorizerConfiguration :: Gateway -> Maybe AuthorizerConfigurationProperty
authorizerType :: Gateway -> Value Text
description :: Gateway -> Maybe (Value Text)
exceptionLevel :: Gateway -> Maybe (Value Text)
kmsKeyArn :: Gateway -> Maybe (Value Text)
name :: Gateway -> Value Text
protocolConfiguration :: Gateway -> Maybe GatewayProtocolConfigurationProperty
protocolType :: Gateway -> Value Text
roleArn :: Gateway -> Value Text
tags :: Gateway -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..} = Gateway {protocolType :: Value Text
protocolType = PropertyType "ProtocolType" Gateway
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
instance Property "RoleArn" Gateway where
  type PropertyType "RoleArn" Gateway = Value Prelude.Text
  set :: PropertyType "RoleArn" Gateway -> Gateway -> Gateway
set PropertyType "RoleArn" Gateway
newValue Gateway {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: Gateway -> ()
authorizerConfiguration :: Gateway -> Maybe AuthorizerConfigurationProperty
authorizerType :: Gateway -> Value Text
description :: Gateway -> Maybe (Value Text)
exceptionLevel :: Gateway -> Maybe (Value Text)
kmsKeyArn :: Gateway -> Maybe (Value Text)
name :: Gateway -> Value Text
protocolConfiguration :: Gateway -> Maybe GatewayProtocolConfigurationProperty
protocolType :: Gateway -> Value Text
roleArn :: Gateway -> Value Text
tags :: Gateway -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..} = Gateway {roleArn :: Value Text
roleArn = PropertyType "RoleArn" Gateway
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
instance Property "Tags" Gateway where
  type PropertyType "Tags" Gateway = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType "Tags" Gateway -> Gateway -> Gateway
set PropertyType "Tags" Gateway
newValue Gateway {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: Gateway -> ()
authorizerConfiguration :: Gateway -> Maybe AuthorizerConfigurationProperty
authorizerType :: Gateway -> Value Text
description :: Gateway -> Maybe (Value Text)
exceptionLevel :: Gateway -> Maybe (Value Text)
kmsKeyArn :: Gateway -> Maybe (Value Text)
name :: Gateway -> Value Text
protocolConfiguration :: Gateway -> Maybe GatewayProtocolConfigurationProperty
protocolType :: Gateway -> Value Text
roleArn :: Gateway -> Value Text
tags :: Gateway -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
    = Gateway {tags :: Maybe (Map Text (Value Text))
tags = Map Text (Value Text) -> Maybe (Map Text (Value Text))
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text (Value Text)
PropertyType "Tags" Gateway
newValue, Maybe (Value Text)
Maybe AuthorizerConfigurationProperty
Maybe GatewayProtocolConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
haddock_workaround_ :: ()
authorizerConfiguration :: Maybe AuthorizerConfigurationProperty
authorizerType :: Value Text
description :: Maybe (Value Text)
exceptionLevel :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Value Text
protocolConfiguration :: Maybe GatewayProtocolConfigurationProperty
protocolType :: Value Text
roleArn :: Value Text
..}