module Stratosphere.ACMPCA.Certificate (
        module Exports, Certificate(..), mkCertificate
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.ACMPCA.Certificate.ApiPassthroughProperty as Exports
import {-# SOURCE #-} Stratosphere.ACMPCA.Certificate.ValidityProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data Certificate
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html>
    Certificate {Certificate -> ()
haddock_workaround_ :: (),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-apipassthrough>
                 Certificate -> Maybe ApiPassthroughProperty
apiPassthrough :: (Prelude.Maybe ApiPassthroughProperty),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-certificateauthorityarn>
                 Certificate -> Value Text
certificateAuthorityArn :: (Value Prelude.Text),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-certificatesigningrequest>
                 Certificate -> Value Text
certificateSigningRequest :: (Value Prelude.Text),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-signingalgorithm>
                 Certificate -> Value Text
signingAlgorithm :: (Value Prelude.Text),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-templatearn>
                 Certificate -> Maybe (Value Text)
templateArn :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-validity>
                 Certificate -> ValidityProperty
validity :: ValidityProperty,
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-validitynotbefore>
                 Certificate -> Maybe ValidityProperty
validityNotBefore :: (Prelude.Maybe ValidityProperty)}
  deriving stock (Certificate -> Certificate -> Bool
(Certificate -> Certificate -> Bool)
-> (Certificate -> Certificate -> Bool) -> Eq Certificate
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Certificate -> Certificate -> Bool
== :: Certificate -> Certificate -> Bool
$c/= :: Certificate -> Certificate -> Bool
/= :: Certificate -> Certificate -> Bool
Prelude.Eq, Int -> Certificate -> ShowS
[Certificate] -> ShowS
Certificate -> String
(Int -> Certificate -> ShowS)
-> (Certificate -> String)
-> ([Certificate] -> ShowS)
-> Show Certificate
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Certificate -> ShowS
showsPrec :: Int -> Certificate -> ShowS
$cshow :: Certificate -> String
show :: Certificate -> String
$cshowList :: [Certificate] -> ShowS
showList :: [Certificate] -> ShowS
Prelude.Show)
mkCertificate ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> Value Prelude.Text -> ValidityProperty -> Certificate
mkCertificate :: Value Text
-> Value Text -> Value Text -> ValidityProperty -> Certificate
mkCertificate
  Value Text
certificateAuthorityArn
  Value Text
certificateSigningRequest
  Value Text
signingAlgorithm
  ValidityProperty
validity
  = Certificate
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       certificateAuthorityArn :: Value Text
certificateAuthorityArn = Value Text
certificateAuthorityArn,
       certificateSigningRequest :: Value Text
certificateSigningRequest = Value Text
certificateSigningRequest,
       signingAlgorithm :: Value Text
signingAlgorithm = Value Text
signingAlgorithm, validity :: ValidityProperty
validity = ValidityProperty
validity,
       apiPassthrough :: Maybe ApiPassthroughProperty
apiPassthrough = Maybe ApiPassthroughProperty
forall a. Maybe a
Prelude.Nothing, templateArn :: Maybe (Value Text)
templateArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       validityNotBefore :: Maybe ValidityProperty
validityNotBefore = Maybe ValidityProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Certificate where
  toResourceProperties :: Certificate -> ResourceProperties
toResourceProperties Certificate {Maybe (Value Text)
Maybe ApiPassthroughProperty
Maybe ValidityProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: Certificate -> ()
apiPassthrough :: Certificate -> Maybe ApiPassthroughProperty
certificateAuthorityArn :: Certificate -> Value Text
certificateSigningRequest :: Certificate -> Value Text
signingAlgorithm :: Certificate -> Value Text
templateArn :: Certificate -> Maybe (Value Text)
validity :: Certificate -> ValidityProperty
validityNotBefore :: Certificate -> Maybe ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ACMPCA::Certificate",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         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
"CertificateAuthorityArn" 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
certificateAuthorityArn,
                            Key
"CertificateSigningRequest" 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
certificateSigningRequest,
                            Key
"SigningAlgorithm" 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
signingAlgorithm,
                            Key
"Validity" Key -> ValidityProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValidityProperty
validity]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> ApiPassthroughProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ApiPassthrough" (ApiPassthroughProperty -> (Key, Value))
-> Maybe ApiPassthroughProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ApiPassthroughProperty
apiPassthrough,
                               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
"TemplateArn" (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)
templateArn,
                               Key -> ValidityProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ValidityNotBefore" (ValidityProperty -> (Key, Value))
-> Maybe ValidityProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ValidityProperty
validityNotBefore]))}
instance JSON.ToJSON Certificate where
  toJSON :: Certificate -> Value
toJSON Certificate {Maybe (Value Text)
Maybe ApiPassthroughProperty
Maybe ValidityProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: Certificate -> ()
apiPassthrough :: Certificate -> Maybe ApiPassthroughProperty
certificateAuthorityArn :: Certificate -> Value Text
certificateSigningRequest :: Certificate -> Value Text
signingAlgorithm :: Certificate -> Value Text
templateArn :: Certificate -> Maybe (Value Text)
validity :: Certificate -> ValidityProperty
validityNotBefore :: Certificate -> Maybe ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
..}
    = [(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
"CertificateAuthorityArn" 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
certificateAuthorityArn,
               Key
"CertificateSigningRequest" 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
certificateSigningRequest,
               Key
"SigningAlgorithm" 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
signingAlgorithm,
               Key
"Validity" Key -> ValidityProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValidityProperty
validity]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> ApiPassthroughProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ApiPassthrough" (ApiPassthroughProperty -> (Key, Value))
-> Maybe ApiPassthroughProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ApiPassthroughProperty
apiPassthrough,
                  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
"TemplateArn" (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)
templateArn,
                  Key -> ValidityProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ValidityNotBefore" (ValidityProperty -> (Key, Value))
-> Maybe ValidityProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ValidityProperty
validityNotBefore])))
instance Property "ApiPassthrough" Certificate where
  type PropertyType "ApiPassthrough" Certificate = ApiPassthroughProperty
  set :: PropertyType "ApiPassthrough" Certificate
-> Certificate -> Certificate
set PropertyType "ApiPassthrough" Certificate
newValue Certificate {Maybe (Value Text)
Maybe ApiPassthroughProperty
Maybe ValidityProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: Certificate -> ()
apiPassthrough :: Certificate -> Maybe ApiPassthroughProperty
certificateAuthorityArn :: Certificate -> Value Text
certificateSigningRequest :: Certificate -> Value Text
signingAlgorithm :: Certificate -> Value Text
templateArn :: Certificate -> Maybe (Value Text)
validity :: Certificate -> ValidityProperty
validityNotBefore :: Certificate -> Maybe ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
..}
    = Certificate {apiPassthrough :: Maybe ApiPassthroughProperty
apiPassthrough = ApiPassthroughProperty -> Maybe ApiPassthroughProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ApiPassthrough" Certificate
ApiPassthroughProperty
newValue, Maybe (Value Text)
Maybe ValidityProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: ()
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
haddock_workaround_ :: ()
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
..}
instance Property "CertificateAuthorityArn" Certificate where
  type PropertyType "CertificateAuthorityArn" Certificate = Value Prelude.Text
  set :: PropertyType "CertificateAuthorityArn" Certificate
-> Certificate -> Certificate
set PropertyType "CertificateAuthorityArn" Certificate
newValue Certificate {Maybe (Value Text)
Maybe ApiPassthroughProperty
Maybe ValidityProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: Certificate -> ()
apiPassthrough :: Certificate -> Maybe ApiPassthroughProperty
certificateAuthorityArn :: Certificate -> Value Text
certificateSigningRequest :: Certificate -> Value Text
signingAlgorithm :: Certificate -> Value Text
templateArn :: Certificate -> Maybe (Value Text)
validity :: Certificate -> ValidityProperty
validityNotBefore :: Certificate -> Maybe ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
..}
    = Certificate {certificateAuthorityArn :: Value Text
certificateAuthorityArn = PropertyType "CertificateAuthorityArn" Certificate
Value Text
newValue, Maybe (Value Text)
Maybe ApiPassthroughProperty
Maybe ValidityProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
..}
instance Property "CertificateSigningRequest" Certificate where
  type PropertyType "CertificateSigningRequest" Certificate = Value Prelude.Text
  set :: PropertyType "CertificateSigningRequest" Certificate
-> Certificate -> Certificate
set PropertyType "CertificateSigningRequest" Certificate
newValue Certificate {Maybe (Value Text)
Maybe ApiPassthroughProperty
Maybe ValidityProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: Certificate -> ()
apiPassthrough :: Certificate -> Maybe ApiPassthroughProperty
certificateAuthorityArn :: Certificate -> Value Text
certificateSigningRequest :: Certificate -> Value Text
signingAlgorithm :: Certificate -> Value Text
templateArn :: Certificate -> Maybe (Value Text)
validity :: Certificate -> ValidityProperty
validityNotBefore :: Certificate -> Maybe ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
..}
    = Certificate {certificateSigningRequest :: Value Text
certificateSigningRequest = PropertyType "CertificateSigningRequest" Certificate
Value Text
newValue, Maybe (Value Text)
Maybe ApiPassthroughProperty
Maybe ValidityProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
..}
instance Property "SigningAlgorithm" Certificate where
  type PropertyType "SigningAlgorithm" Certificate = Value Prelude.Text
  set :: PropertyType "SigningAlgorithm" Certificate
-> Certificate -> Certificate
set PropertyType "SigningAlgorithm" Certificate
newValue Certificate {Maybe (Value Text)
Maybe ApiPassthroughProperty
Maybe ValidityProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: Certificate -> ()
apiPassthrough :: Certificate -> Maybe ApiPassthroughProperty
certificateAuthorityArn :: Certificate -> Value Text
certificateSigningRequest :: Certificate -> Value Text
signingAlgorithm :: Certificate -> Value Text
templateArn :: Certificate -> Maybe (Value Text)
validity :: Certificate -> ValidityProperty
validityNotBefore :: Certificate -> Maybe ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
..}
    = Certificate {signingAlgorithm :: Value Text
signingAlgorithm = PropertyType "SigningAlgorithm" Certificate
Value Text
newValue, Maybe (Value Text)
Maybe ApiPassthroughProperty
Maybe ValidityProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
..}
instance Property "TemplateArn" Certificate where
  type PropertyType "TemplateArn" Certificate = Value Prelude.Text
  set :: PropertyType "TemplateArn" Certificate
-> Certificate -> Certificate
set PropertyType "TemplateArn" Certificate
newValue Certificate {Maybe (Value Text)
Maybe ApiPassthroughProperty
Maybe ValidityProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: Certificate -> ()
apiPassthrough :: Certificate -> Maybe ApiPassthroughProperty
certificateAuthorityArn :: Certificate -> Value Text
certificateSigningRequest :: Certificate -> Value Text
signingAlgorithm :: Certificate -> Value Text
templateArn :: Certificate -> Maybe (Value Text)
validity :: Certificate -> ValidityProperty
validityNotBefore :: Certificate -> Maybe ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
..}
    = Certificate {templateArn :: Maybe (Value Text)
templateArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TemplateArn" Certificate
Value Text
newValue, Maybe ApiPassthroughProperty
Maybe ValidityProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
..}
instance Property "Validity" Certificate where
  type PropertyType "Validity" Certificate = ValidityProperty
  set :: PropertyType "Validity" Certificate -> Certificate -> Certificate
set PropertyType "Validity" Certificate
newValue Certificate {Maybe (Value Text)
Maybe ApiPassthroughProperty
Maybe ValidityProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: Certificate -> ()
apiPassthrough :: Certificate -> Maybe ApiPassthroughProperty
certificateAuthorityArn :: Certificate -> Value Text
certificateSigningRequest :: Certificate -> Value Text
signingAlgorithm :: Certificate -> Value Text
templateArn :: Certificate -> Maybe (Value Text)
validity :: Certificate -> ValidityProperty
validityNotBefore :: Certificate -> Maybe ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
..}
    = Certificate {validity :: ValidityProperty
validity = PropertyType "Validity" Certificate
ValidityProperty
newValue, Maybe (Value Text)
Maybe ApiPassthroughProperty
Maybe ValidityProperty
()
Value Text
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validityNotBefore :: Maybe ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validityNotBefore :: Maybe ValidityProperty
..}
instance Property "ValidityNotBefore" Certificate where
  type PropertyType "ValidityNotBefore" Certificate = ValidityProperty
  set :: PropertyType "ValidityNotBefore" Certificate
-> Certificate -> Certificate
set PropertyType "ValidityNotBefore" Certificate
newValue Certificate {Maybe (Value Text)
Maybe ApiPassthroughProperty
Maybe ValidityProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: Certificate -> ()
apiPassthrough :: Certificate -> Maybe ApiPassthroughProperty
certificateAuthorityArn :: Certificate -> Value Text
certificateSigningRequest :: Certificate -> Value Text
signingAlgorithm :: Certificate -> Value Text
templateArn :: Certificate -> Maybe (Value Text)
validity :: Certificate -> ValidityProperty
validityNotBefore :: Certificate -> Maybe ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
validityNotBefore :: Maybe ValidityProperty
..}
    = Certificate {validityNotBefore :: Maybe ValidityProperty
validityNotBefore = ValidityProperty -> Maybe ValidityProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ValidityNotBefore" Certificate
ValidityProperty
newValue, Maybe (Value Text)
Maybe ApiPassthroughProperty
()
Value Text
ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
haddock_workaround_ :: ()
apiPassthrough :: Maybe ApiPassthroughProperty
certificateAuthorityArn :: Value Text
certificateSigningRequest :: Value Text
signingAlgorithm :: Value Text
templateArn :: Maybe (Value Text)
validity :: ValidityProperty
..}