module Stratosphere.IoT.CACertificate (
module Exports, CACertificate(..), mkCACertificate
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.IoT.CACertificate.RegistrationConfigProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data CACertificate
=
CACertificate {CACertificate -> ()
haddock_workaround_ :: (),
CACertificate -> Maybe (Value Text)
autoRegistrationStatus :: (Prelude.Maybe (Value Prelude.Text)),
CACertificate -> Value Text
cACertificatePem :: (Value Prelude.Text),
CACertificate -> Maybe (Value Text)
certificateMode :: (Prelude.Maybe (Value Prelude.Text)),
CACertificate -> Maybe RegistrationConfigProperty
registrationConfig :: (Prelude.Maybe RegistrationConfigProperty),
CACertificate -> Maybe (Value Bool)
removeAutoRegistration :: (Prelude.Maybe (Value Prelude.Bool)),
CACertificate -> Value Text
status :: (Value Prelude.Text),
CACertificate -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
CACertificate -> Maybe (Value Text)
verificationCertificatePem :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (CACertificate -> CACertificate -> Bool
(CACertificate -> CACertificate -> Bool)
-> (CACertificate -> CACertificate -> Bool) -> Eq CACertificate
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: CACertificate -> CACertificate -> Bool
== :: CACertificate -> CACertificate -> Bool
$c/= :: CACertificate -> CACertificate -> Bool
/= :: CACertificate -> CACertificate -> Bool
Prelude.Eq, Int -> CACertificate -> ShowS
[CACertificate] -> ShowS
CACertificate -> String
(Int -> CACertificate -> ShowS)
-> (CACertificate -> String)
-> ([CACertificate] -> ShowS)
-> Show CACertificate
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> CACertificate -> ShowS
showsPrec :: Int -> CACertificate -> ShowS
$cshow :: CACertificate -> String
show :: CACertificate -> String
$cshowList :: [CACertificate] -> ShowS
showList :: [CACertificate] -> ShowS
Prelude.Show)
mkCACertificate ::
Value Prelude.Text -> Value Prelude.Text -> CACertificate
mkCACertificate :: Value Text -> Value Text -> CACertificate
mkCACertificate Value Text
cACertificatePem Value Text
status
= CACertificate
{haddock_workaround_ :: ()
haddock_workaround_ = (), cACertificatePem :: Value Text
cACertificatePem = Value Text
cACertificatePem,
status :: Value Text
status = Value Text
status, autoRegistrationStatus :: Maybe (Value Text)
autoRegistrationStatus = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
certificateMode :: Maybe (Value Text)
certificateMode = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
registrationConfig :: Maybe RegistrationConfigProperty
registrationConfig = Maybe RegistrationConfigProperty
forall a. Maybe a
Prelude.Nothing,
removeAutoRegistration :: Maybe (Value Bool)
removeAutoRegistration = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
verificationCertificatePem :: Maybe (Value Text)
verificationCertificatePem = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties CACertificate where
toResourceProperties :: CACertificate -> ResourceProperties
toResourceProperties CACertificate {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: CACertificate -> ()
autoRegistrationStatus :: CACertificate -> Maybe (Value Text)
cACertificatePem :: CACertificate -> Value Text
certificateMode :: CACertificate -> Maybe (Value Text)
registrationConfig :: CACertificate -> Maybe RegistrationConfigProperty
removeAutoRegistration :: CACertificate -> Maybe (Value Bool)
status :: CACertificate -> Value Text
tags :: CACertificate -> Maybe [Tag]
verificationCertificatePem :: CACertificate -> Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::IoT::CACertificate", 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
"CACertificatePem" 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
cACertificatePem,
Key
"Status" 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
status]
([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
"AutoRegistrationStatus"
(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)
autoRegistrationStatus,
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
"CertificateMode" (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)
certificateMode,
Key -> RegistrationConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RegistrationConfig" (RegistrationConfigProperty -> (Key, Value))
-> Maybe RegistrationConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RegistrationConfigProperty
registrationConfig,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RemoveAutoRegistration"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
removeAutoRegistration,
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 -> 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
"VerificationCertificatePem"
(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)
verificationCertificatePem]))}
instance JSON.ToJSON CACertificate where
toJSON :: CACertificate -> Value
toJSON CACertificate {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: CACertificate -> ()
autoRegistrationStatus :: CACertificate -> Maybe (Value Text)
cACertificatePem :: CACertificate -> Value Text
certificateMode :: CACertificate -> Maybe (Value Text)
registrationConfig :: CACertificate -> Maybe RegistrationConfigProperty
removeAutoRegistration :: CACertificate -> Maybe (Value Bool)
status :: CACertificate -> Value Text
tags :: CACertificate -> Maybe [Tag]
verificationCertificatePem :: CACertificate -> Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: 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
"CACertificatePem" 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
cACertificatePem,
Key
"Status" 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
status]
([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
"AutoRegistrationStatus"
(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)
autoRegistrationStatus,
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
"CertificateMode" (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)
certificateMode,
Key -> RegistrationConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RegistrationConfig" (RegistrationConfigProperty -> (Key, Value))
-> Maybe RegistrationConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RegistrationConfigProperty
registrationConfig,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RemoveAutoRegistration"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
removeAutoRegistration,
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 -> 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
"VerificationCertificatePem"
(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)
verificationCertificatePem])))
instance Property "AutoRegistrationStatus" CACertificate where
type PropertyType "AutoRegistrationStatus" CACertificate = Value Prelude.Text
set :: PropertyType "AutoRegistrationStatus" CACertificate
-> CACertificate -> CACertificate
set PropertyType "AutoRegistrationStatus" CACertificate
newValue CACertificate {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: CACertificate -> ()
autoRegistrationStatus :: CACertificate -> Maybe (Value Text)
cACertificatePem :: CACertificate -> Value Text
certificateMode :: CACertificate -> Maybe (Value Text)
registrationConfig :: CACertificate -> Maybe RegistrationConfigProperty
removeAutoRegistration :: CACertificate -> Maybe (Value Bool)
status :: CACertificate -> Value Text
tags :: CACertificate -> Maybe [Tag]
verificationCertificatePem :: CACertificate -> Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
= CACertificate
{autoRegistrationStatus :: Maybe (Value Text)
autoRegistrationStatus = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AutoRegistrationStatus" CACertificate
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: ()
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
haddock_workaround_ :: ()
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
instance Property "CACertificatePem" CACertificate where
type PropertyType "CACertificatePem" CACertificate = Value Prelude.Text
set :: PropertyType "CACertificatePem" CACertificate
-> CACertificate -> CACertificate
set PropertyType "CACertificatePem" CACertificate
newValue CACertificate {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: CACertificate -> ()
autoRegistrationStatus :: CACertificate -> Maybe (Value Text)
cACertificatePem :: CACertificate -> Value Text
certificateMode :: CACertificate -> Maybe (Value Text)
registrationConfig :: CACertificate -> Maybe RegistrationConfigProperty
removeAutoRegistration :: CACertificate -> Maybe (Value Bool)
status :: CACertificate -> Value Text
tags :: CACertificate -> Maybe [Tag]
verificationCertificatePem :: CACertificate -> Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
= CACertificate {cACertificatePem :: Value Text
cACertificatePem = PropertyType "CACertificatePem" CACertificate
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
instance Property "CertificateMode" CACertificate where
type PropertyType "CertificateMode" CACertificate = Value Prelude.Text
set :: PropertyType "CertificateMode" CACertificate
-> CACertificate -> CACertificate
set PropertyType "CertificateMode" CACertificate
newValue CACertificate {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: CACertificate -> ()
autoRegistrationStatus :: CACertificate -> Maybe (Value Text)
cACertificatePem :: CACertificate -> Value Text
certificateMode :: CACertificate -> Maybe (Value Text)
registrationConfig :: CACertificate -> Maybe RegistrationConfigProperty
removeAutoRegistration :: CACertificate -> Maybe (Value Bool)
status :: CACertificate -> Value Text
tags :: CACertificate -> Maybe [Tag]
verificationCertificatePem :: CACertificate -> Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
= CACertificate {certificateMode :: Maybe (Value Text)
certificateMode = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CertificateMode" CACertificate
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
instance Property "RegistrationConfig" CACertificate where
type PropertyType "RegistrationConfig" CACertificate = RegistrationConfigProperty
set :: PropertyType "RegistrationConfig" CACertificate
-> CACertificate -> CACertificate
set PropertyType "RegistrationConfig" CACertificate
newValue CACertificate {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: CACertificate -> ()
autoRegistrationStatus :: CACertificate -> Maybe (Value Text)
cACertificatePem :: CACertificate -> Value Text
certificateMode :: CACertificate -> Maybe (Value Text)
registrationConfig :: CACertificate -> Maybe RegistrationConfigProperty
removeAutoRegistration :: CACertificate -> Maybe (Value Bool)
status :: CACertificate -> Value Text
tags :: CACertificate -> Maybe [Tag]
verificationCertificatePem :: CACertificate -> Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
= CACertificate {registrationConfig :: Maybe RegistrationConfigProperty
registrationConfig = RegistrationConfigProperty -> Maybe RegistrationConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RegistrationConfig" CACertificate
RegistrationConfigProperty
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
instance Property "RemoveAutoRegistration" CACertificate where
type PropertyType "RemoveAutoRegistration" CACertificate = Value Prelude.Bool
set :: PropertyType "RemoveAutoRegistration" CACertificate
-> CACertificate -> CACertificate
set PropertyType "RemoveAutoRegistration" CACertificate
newValue CACertificate {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: CACertificate -> ()
autoRegistrationStatus :: CACertificate -> Maybe (Value Text)
cACertificatePem :: CACertificate -> Value Text
certificateMode :: CACertificate -> Maybe (Value Text)
registrationConfig :: CACertificate -> Maybe RegistrationConfigProperty
removeAutoRegistration :: CACertificate -> Maybe (Value Bool)
status :: CACertificate -> Value Text
tags :: CACertificate -> Maybe [Tag]
verificationCertificatePem :: CACertificate -> Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
= CACertificate
{removeAutoRegistration :: Maybe (Value Bool)
removeAutoRegistration = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RemoveAutoRegistration" CACertificate
Value Bool
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
instance Property "Status" CACertificate where
type PropertyType "Status" CACertificate = Value Prelude.Text
set :: PropertyType "Status" CACertificate
-> CACertificate -> CACertificate
set PropertyType "Status" CACertificate
newValue CACertificate {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: CACertificate -> ()
autoRegistrationStatus :: CACertificate -> Maybe (Value Text)
cACertificatePem :: CACertificate -> Value Text
certificateMode :: CACertificate -> Maybe (Value Text)
registrationConfig :: CACertificate -> Maybe RegistrationConfigProperty
removeAutoRegistration :: CACertificate -> Maybe (Value Bool)
status :: CACertificate -> Value Text
tags :: CACertificate -> Maybe [Tag]
verificationCertificatePem :: CACertificate -> Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
= CACertificate {status :: Value Text
status = PropertyType "Status" CACertificate
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
instance Property "Tags" CACertificate where
type PropertyType "Tags" CACertificate = [Tag]
set :: PropertyType "Tags" CACertificate -> CACertificate -> CACertificate
set PropertyType "Tags" CACertificate
newValue CACertificate {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: CACertificate -> ()
autoRegistrationStatus :: CACertificate -> Maybe (Value Text)
cACertificatePem :: CACertificate -> Value Text
certificateMode :: CACertificate -> Maybe (Value Text)
registrationConfig :: CACertificate -> Maybe RegistrationConfigProperty
removeAutoRegistration :: CACertificate -> Maybe (Value Bool)
status :: CACertificate -> Value Text
tags :: CACertificate -> Maybe [Tag]
verificationCertificatePem :: CACertificate -> Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
= CACertificate {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" CACertificate
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
verificationCertificatePem :: Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
verificationCertificatePem :: Maybe (Value Text)
..}
instance Property "VerificationCertificatePem" CACertificate where
type PropertyType "VerificationCertificatePem" CACertificate = Value Prelude.Text
set :: PropertyType "VerificationCertificatePem" CACertificate
-> CACertificate -> CACertificate
set PropertyType "VerificationCertificatePem" CACertificate
newValue CACertificate {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: CACertificate -> ()
autoRegistrationStatus :: CACertificate -> Maybe (Value Text)
cACertificatePem :: CACertificate -> Value Text
certificateMode :: CACertificate -> Maybe (Value Text)
registrationConfig :: CACertificate -> Maybe RegistrationConfigProperty
removeAutoRegistration :: CACertificate -> Maybe (Value Bool)
status :: CACertificate -> Value Text
tags :: CACertificate -> Maybe [Tag]
verificationCertificatePem :: CACertificate -> Maybe (Value Text)
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
verificationCertificatePem :: Maybe (Value Text)
..}
= CACertificate
{verificationCertificatePem :: Maybe (Value Text)
verificationCertificatePem = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VerificationCertificatePem" CACertificate
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe RegistrationConfigProperty
()
Value Text
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
autoRegistrationStatus :: Maybe (Value Text)
cACertificatePem :: Value Text
certificateMode :: Maybe (Value Text)
registrationConfig :: Maybe RegistrationConfigProperty
removeAutoRegistration :: Maybe (Value Bool)
status :: Value Text
tags :: Maybe [Tag]
..}