module Stratosphere.RefactorSpaces.Service (
        module Exports, Service(..), mkService
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.RefactorSpaces.Service.LambdaEndpointInputProperty as Exports
import {-# SOURCE #-} Stratosphere.RefactorSpaces.Service.UrlEndpointInputProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Service
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html>
    Service {Service -> ()
haddock_workaround_ :: (),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-applicationidentifier>
             Service -> Value Text
applicationIdentifier :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-description>
             Service -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-endpointtype>
             Service -> Value Text
endpointType :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-environmentidentifier>
             Service -> Value Text
environmentIdentifier :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-lambdaendpoint>
             Service -> Maybe LambdaEndpointInputProperty
lambdaEndpoint :: (Prelude.Maybe LambdaEndpointInputProperty),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-name>
             Service -> Value Text
name :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-tags>
             Service -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-urlendpoint>
             Service -> Maybe UrlEndpointInputProperty
urlEndpoint :: (Prelude.Maybe UrlEndpointInputProperty),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-vpcid>
             Service -> Maybe (Value Text)
vpcId :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (Service -> Service -> Bool
(Service -> Service -> Bool)
-> (Service -> Service -> Bool) -> Eq Service
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Service -> Service -> Bool
== :: Service -> Service -> Bool
$c/= :: Service -> Service -> Bool
/= :: Service -> Service -> Bool
Prelude.Eq, Int -> Service -> ShowS
[Service] -> ShowS
Service -> String
(Int -> Service -> ShowS)
-> (Service -> String) -> ([Service] -> ShowS) -> Show Service
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Service -> ShowS
showsPrec :: Int -> Service -> ShowS
$cshow :: Service -> String
show :: Service -> String
$cshowList :: [Service] -> ShowS
showList :: [Service] -> ShowS
Prelude.Show)
mkService ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> Value Prelude.Text -> Value Prelude.Text -> Service
mkService :: Value Text -> Value Text -> Value Text -> Value Text -> Service
mkService
  Value Text
applicationIdentifier
  Value Text
endpointType
  Value Text
environmentIdentifier
  Value Text
name
  = Service
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       applicationIdentifier :: Value Text
applicationIdentifier = Value Text
applicationIdentifier,
       endpointType :: Value Text
endpointType = Value Text
endpointType,
       environmentIdentifier :: Value Text
environmentIdentifier = Value Text
environmentIdentifier, name :: Value Text
name = Value Text
name,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, lambdaEndpoint :: Maybe LambdaEndpointInputProperty
lambdaEndpoint = Maybe LambdaEndpointInputProperty
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing, urlEndpoint :: Maybe UrlEndpointInputProperty
urlEndpoint = Maybe UrlEndpointInputProperty
forall a. Maybe a
Prelude.Nothing,
       vpcId :: Maybe (Value Text)
vpcId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Service where
  toResourceProperties :: Service -> ResourceProperties
toResourceProperties Service {Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: Service -> ()
applicationIdentifier :: Service -> Value Text
description :: Service -> Maybe (Value Text)
endpointType :: Service -> Value Text
environmentIdentifier :: Service -> Value Text
lambdaEndpoint :: Service -> Maybe LambdaEndpointInputProperty
name :: Service -> Value Text
tags :: Service -> Maybe [Tag]
urlEndpoint :: Service -> Maybe UrlEndpointInputProperty
vpcId :: Service -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::RefactorSpaces::Service",
         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
"ApplicationIdentifier" 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
applicationIdentifier,
                            Key
"EndpointType" 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
endpointType,
                            Key
"EnvironmentIdentifier" 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
environmentIdentifier,
                            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]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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 -> LambdaEndpointInputProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LambdaEndpoint" (LambdaEndpointInputProperty -> (Key, Value))
-> Maybe LambdaEndpointInputProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LambdaEndpointInputProperty
lambdaEndpoint,
                               Key -> [Tag] -> (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" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                               Key -> UrlEndpointInputProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"UrlEndpoint" (UrlEndpointInputProperty -> (Key, Value))
-> Maybe UrlEndpointInputProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe UrlEndpointInputProperty
urlEndpoint,
                               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
"VpcId" (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)
vpcId]))}
instance JSON.ToJSON Service where
  toJSON :: Service -> Value
toJSON Service {Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: Service -> ()
applicationIdentifier :: Service -> Value Text
description :: Service -> Maybe (Value Text)
endpointType :: Service -> Value Text
environmentIdentifier :: Service -> Value Text
lambdaEndpoint :: Service -> Maybe LambdaEndpointInputProperty
name :: Service -> Value Text
tags :: Service -> Maybe [Tag]
urlEndpoint :: Service -> Maybe UrlEndpointInputProperty
vpcId :: Service -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (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
"ApplicationIdentifier" 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
applicationIdentifier,
               Key
"EndpointType" 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
endpointType,
               Key
"EnvironmentIdentifier" 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
environmentIdentifier,
               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]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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 -> LambdaEndpointInputProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LambdaEndpoint" (LambdaEndpointInputProperty -> (Key, Value))
-> Maybe LambdaEndpointInputProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LambdaEndpointInputProperty
lambdaEndpoint,
                  Key -> [Tag] -> (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" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                  Key -> UrlEndpointInputProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"UrlEndpoint" (UrlEndpointInputProperty -> (Key, Value))
-> Maybe UrlEndpointInputProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe UrlEndpointInputProperty
urlEndpoint,
                  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
"VpcId" (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)
vpcId])))
instance Property "ApplicationIdentifier" Service where
  type PropertyType "ApplicationIdentifier" Service = Value Prelude.Text
  set :: PropertyType "ApplicationIdentifier" Service -> Service -> Service
set PropertyType "ApplicationIdentifier" Service
newValue Service {Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: Service -> ()
applicationIdentifier :: Service -> Value Text
description :: Service -> Maybe (Value Text)
endpointType :: Service -> Value Text
environmentIdentifier :: Service -> Value Text
lambdaEndpoint :: Service -> Maybe LambdaEndpointInputProperty
name :: Service -> Value Text
tags :: Service -> Maybe [Tag]
urlEndpoint :: Service -> Maybe UrlEndpointInputProperty
vpcId :: Service -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
    = Service {applicationIdentifier :: Value Text
applicationIdentifier = PropertyType "ApplicationIdentifier" Service
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
instance Property "Description" Service where
  type PropertyType "Description" Service = Value Prelude.Text
  set :: PropertyType "Description" Service -> Service -> Service
set PropertyType "Description" Service
newValue Service {Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: Service -> ()
applicationIdentifier :: Service -> Value Text
description :: Service -> Maybe (Value Text)
endpointType :: Service -> Value Text
environmentIdentifier :: Service -> Value Text
lambdaEndpoint :: Service -> Maybe LambdaEndpointInputProperty
name :: Service -> Value Text
tags :: Service -> Maybe [Tag]
urlEndpoint :: Service -> Maybe UrlEndpointInputProperty
vpcId :: Service -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
    = Service {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" Service
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
instance Property "EndpointType" Service where
  type PropertyType "EndpointType" Service = Value Prelude.Text
  set :: PropertyType "EndpointType" Service -> Service -> Service
set PropertyType "EndpointType" Service
newValue Service {Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: Service -> ()
applicationIdentifier :: Service -> Value Text
description :: Service -> Maybe (Value Text)
endpointType :: Service -> Value Text
environmentIdentifier :: Service -> Value Text
lambdaEndpoint :: Service -> Maybe LambdaEndpointInputProperty
name :: Service -> Value Text
tags :: Service -> Maybe [Tag]
urlEndpoint :: Service -> Maybe UrlEndpointInputProperty
vpcId :: Service -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..} = Service {endpointType :: Value Text
endpointType = PropertyType "EndpointType" Service
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
instance Property "EnvironmentIdentifier" Service where
  type PropertyType "EnvironmentIdentifier" Service = Value Prelude.Text
  set :: PropertyType "EnvironmentIdentifier" Service -> Service -> Service
set PropertyType "EnvironmentIdentifier" Service
newValue Service {Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: Service -> ()
applicationIdentifier :: Service -> Value Text
description :: Service -> Maybe (Value Text)
endpointType :: Service -> Value Text
environmentIdentifier :: Service -> Value Text
lambdaEndpoint :: Service -> Maybe LambdaEndpointInputProperty
name :: Service -> Value Text
tags :: Service -> Maybe [Tag]
urlEndpoint :: Service -> Maybe UrlEndpointInputProperty
vpcId :: Service -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
    = Service {environmentIdentifier :: Value Text
environmentIdentifier = PropertyType "EnvironmentIdentifier" Service
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
instance Property "LambdaEndpoint" Service where
  type PropertyType "LambdaEndpoint" Service = LambdaEndpointInputProperty
  set :: PropertyType "LambdaEndpoint" Service -> Service -> Service
set PropertyType "LambdaEndpoint" Service
newValue Service {Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: Service -> ()
applicationIdentifier :: Service -> Value Text
description :: Service -> Maybe (Value Text)
endpointType :: Service -> Value Text
environmentIdentifier :: Service -> Value Text
lambdaEndpoint :: Service -> Maybe LambdaEndpointInputProperty
name :: Service -> Value Text
tags :: Service -> Maybe [Tag]
urlEndpoint :: Service -> Maybe UrlEndpointInputProperty
vpcId :: Service -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
    = Service {lambdaEndpoint :: Maybe LambdaEndpointInputProperty
lambdaEndpoint = LambdaEndpointInputProperty -> Maybe LambdaEndpointInputProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LambdaEndpoint" Service
LambdaEndpointInputProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
instance Property "Name" Service where
  type PropertyType "Name" Service = Value Prelude.Text
  set :: PropertyType "Name" Service -> Service -> Service
set PropertyType "Name" Service
newValue Service {Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: Service -> ()
applicationIdentifier :: Service -> Value Text
description :: Service -> Maybe (Value Text)
endpointType :: Service -> Value Text
environmentIdentifier :: Service -> Value Text
lambdaEndpoint :: Service -> Maybe LambdaEndpointInputProperty
name :: Service -> Value Text
tags :: Service -> Maybe [Tag]
urlEndpoint :: Service -> Maybe UrlEndpointInputProperty
vpcId :: Service -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..} = Service {name :: Value Text
name = PropertyType "Name" Service
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
instance Property "Tags" Service where
  type PropertyType "Tags" Service = [Tag]
  set :: PropertyType "Tags" Service -> Service -> Service
set PropertyType "Tags" Service
newValue Service {Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: Service -> ()
applicationIdentifier :: Service -> Value Text
description :: Service -> Maybe (Value Text)
endpointType :: Service -> Value Text
environmentIdentifier :: Service -> Value Text
lambdaEndpoint :: Service -> Maybe LambdaEndpointInputProperty
name :: Service -> Value Text
tags :: Service -> Maybe [Tag]
urlEndpoint :: Service -> Maybe UrlEndpointInputProperty
vpcId :: Service -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
    = Service {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" Service
newValue, Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
instance Property "UrlEndpoint" Service where
  type PropertyType "UrlEndpoint" Service = UrlEndpointInputProperty
  set :: PropertyType "UrlEndpoint" Service -> Service -> Service
set PropertyType "UrlEndpoint" Service
newValue Service {Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: Service -> ()
applicationIdentifier :: Service -> Value Text
description :: Service -> Maybe (Value Text)
endpointType :: Service -> Value Text
environmentIdentifier :: Service -> Value Text
lambdaEndpoint :: Service -> Maybe LambdaEndpointInputProperty
name :: Service -> Value Text
tags :: Service -> Maybe [Tag]
urlEndpoint :: Service -> Maybe UrlEndpointInputProperty
vpcId :: Service -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
    = Service {urlEndpoint :: Maybe UrlEndpointInputProperty
urlEndpoint = UrlEndpointInputProperty -> Maybe UrlEndpointInputProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "UrlEndpoint" Service
UrlEndpointInputProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
()
Value Text
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
instance Property "VpcId" Service where
  type PropertyType "VpcId" Service = Value Prelude.Text
  set :: PropertyType "VpcId" Service -> Service -> Service
set PropertyType "VpcId" Service
newValue Service {Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: Service -> ()
applicationIdentifier :: Service -> Value Text
description :: Service -> Maybe (Value Text)
endpointType :: Service -> Value Text
environmentIdentifier :: Service -> Value Text
lambdaEndpoint :: Service -> Maybe LambdaEndpointInputProperty
name :: Service -> Value Text
tags :: Service -> Maybe [Tag]
urlEndpoint :: Service -> Maybe UrlEndpointInputProperty
vpcId :: Service -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
vpcId :: Maybe (Value Text)
..}
    = Service {vpcId :: Maybe (Value Text)
vpcId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VpcId" Service
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe LambdaEndpointInputProperty
Maybe UrlEndpointInputProperty
()
Value Text
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
haddock_workaround_ :: ()
applicationIdentifier :: Value Text
description :: Maybe (Value Text)
endpointType :: Value Text
environmentIdentifier :: Value Text
lambdaEndpoint :: Maybe LambdaEndpointInputProperty
name :: Value Text
tags :: Maybe [Tag]
urlEndpoint :: Maybe UrlEndpointInputProperty
..}