{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Transfer.Types.DescribedCertificate where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import Amazonka.Transfer.Types.CertificateStatusType
import Amazonka.Transfer.Types.CertificateType
import Amazonka.Transfer.Types.CertificateUsageType
import Amazonka.Transfer.Types.Tag
data DescribedCertificate = DescribedCertificate'
{
DescribedCertificate -> Maybe POSIX
activeDate :: Prelude.Maybe Data.POSIX,
DescribedCertificate -> Maybe (Sensitive Text)
certificate :: Prelude.Maybe (Data.Sensitive Prelude.Text),
DescribedCertificate -> Maybe (Sensitive Text)
certificateChain :: Prelude.Maybe (Data.Sensitive Prelude.Text),
DescribedCertificate -> Maybe Text
certificateId :: Prelude.Maybe Prelude.Text,
DescribedCertificate -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
DescribedCertificate -> Maybe POSIX
inactiveDate :: Prelude.Maybe Data.POSIX,
DescribedCertificate -> Maybe POSIX
notAfterDate :: Prelude.Maybe Data.POSIX,
DescribedCertificate -> Maybe POSIX
notBeforeDate :: Prelude.Maybe Data.POSIX,
DescribedCertificate -> Maybe Text
serial :: Prelude.Maybe Prelude.Text,
DescribedCertificate -> Maybe CertificateStatusType
status :: Prelude.Maybe CertificateStatusType,
DescribedCertificate -> Maybe (NonEmpty Tag)
tags :: Prelude.Maybe (Prelude.NonEmpty Tag),
DescribedCertificate -> Maybe CertificateType
type' :: Prelude.Maybe CertificateType,
DescribedCertificate -> Maybe CertificateUsageType
usage :: Prelude.Maybe CertificateUsageType,
DescribedCertificate -> Text
arn :: Prelude.Text
}
deriving (DescribedCertificate -> DescribedCertificate -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribedCertificate -> DescribedCertificate -> Bool
$c/= :: DescribedCertificate -> DescribedCertificate -> Bool
== :: DescribedCertificate -> DescribedCertificate -> Bool
$c== :: DescribedCertificate -> DescribedCertificate -> Bool
Prelude.Eq, Int -> DescribedCertificate -> ShowS
[DescribedCertificate] -> ShowS
DescribedCertificate -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribedCertificate] -> ShowS
$cshowList :: [DescribedCertificate] -> ShowS
show :: DescribedCertificate -> String
$cshow :: DescribedCertificate -> String
showsPrec :: Int -> DescribedCertificate -> ShowS
$cshowsPrec :: Int -> DescribedCertificate -> ShowS
Prelude.Show, forall x. Rep DescribedCertificate x -> DescribedCertificate
forall x. DescribedCertificate -> Rep DescribedCertificate x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribedCertificate x -> DescribedCertificate
$cfrom :: forall x. DescribedCertificate -> Rep DescribedCertificate x
Prelude.Generic)
newDescribedCertificate ::
Prelude.Text ->
DescribedCertificate
newDescribedCertificate :: Text -> DescribedCertificate
newDescribedCertificate Text
pArn_ =
DescribedCertificate'
{ $sel:activeDate:DescribedCertificate' :: Maybe POSIX
activeDate = forall a. Maybe a
Prelude.Nothing,
$sel:certificate:DescribedCertificate' :: Maybe (Sensitive Text)
certificate = forall a. Maybe a
Prelude.Nothing,
$sel:certificateChain:DescribedCertificate' :: Maybe (Sensitive Text)
certificateChain = forall a. Maybe a
Prelude.Nothing,
$sel:certificateId:DescribedCertificate' :: Maybe Text
certificateId = forall a. Maybe a
Prelude.Nothing,
$sel:description:DescribedCertificate' :: Maybe Text
description = forall a. Maybe a
Prelude.Nothing,
$sel:inactiveDate:DescribedCertificate' :: Maybe POSIX
inactiveDate = forall a. Maybe a
Prelude.Nothing,
$sel:notAfterDate:DescribedCertificate' :: Maybe POSIX
notAfterDate = forall a. Maybe a
Prelude.Nothing,
$sel:notBeforeDate:DescribedCertificate' :: Maybe POSIX
notBeforeDate = forall a. Maybe a
Prelude.Nothing,
$sel:serial:DescribedCertificate' :: Maybe Text
serial = forall a. Maybe a
Prelude.Nothing,
$sel:status:DescribedCertificate' :: Maybe CertificateStatusType
status = forall a. Maybe a
Prelude.Nothing,
$sel:tags:DescribedCertificate' :: Maybe (NonEmpty Tag)
tags = forall a. Maybe a
Prelude.Nothing,
$sel:type':DescribedCertificate' :: Maybe CertificateType
type' = forall a. Maybe a
Prelude.Nothing,
$sel:usage:DescribedCertificate' :: Maybe CertificateUsageType
usage = forall a. Maybe a
Prelude.Nothing,
$sel:arn:DescribedCertificate' :: Text
arn = Text
pArn_
}
describedCertificate_activeDate :: Lens.Lens' DescribedCertificate (Prelude.Maybe Prelude.UTCTime)
describedCertificate_activeDate :: Lens' DescribedCertificate (Maybe UTCTime)
describedCertificate_activeDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribedCertificate' {Maybe POSIX
activeDate :: Maybe POSIX
$sel:activeDate:DescribedCertificate' :: DescribedCertificate -> Maybe POSIX
activeDate} -> Maybe POSIX
activeDate) (\s :: DescribedCertificate
s@DescribedCertificate' {} Maybe POSIX
a -> DescribedCertificate
s {$sel:activeDate:DescribedCertificate' :: Maybe POSIX
activeDate = Maybe POSIX
a} :: DescribedCertificate) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time
describedCertificate_certificate :: Lens.Lens' DescribedCertificate (Prelude.Maybe Prelude.Text)
describedCertificate_certificate :: Lens' DescribedCertificate (Maybe Text)
describedCertificate_certificate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribedCertificate' {Maybe (Sensitive Text)
certificate :: Maybe (Sensitive Text)
$sel:certificate:DescribedCertificate' :: DescribedCertificate -> Maybe (Sensitive Text)
certificate} -> Maybe (Sensitive Text)
certificate) (\s :: DescribedCertificate
s@DescribedCertificate' {} Maybe (Sensitive Text)
a -> DescribedCertificate
s {$sel:certificate:DescribedCertificate' :: Maybe (Sensitive Text)
certificate = Maybe (Sensitive Text)
a} :: DescribedCertificate) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall a. Iso' (Sensitive a) a
Data._Sensitive
describedCertificate_certificateChain :: Lens.Lens' DescribedCertificate (Prelude.Maybe Prelude.Text)
describedCertificate_certificateChain :: Lens' DescribedCertificate (Maybe Text)
describedCertificate_certificateChain = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribedCertificate' {Maybe (Sensitive Text)
certificateChain :: Maybe (Sensitive Text)
$sel:certificateChain:DescribedCertificate' :: DescribedCertificate -> Maybe (Sensitive Text)
certificateChain} -> Maybe (Sensitive Text)
certificateChain) (\s :: DescribedCertificate
s@DescribedCertificate' {} Maybe (Sensitive Text)
a -> DescribedCertificate
s {$sel:certificateChain:DescribedCertificate' :: Maybe (Sensitive Text)
certificateChain = Maybe (Sensitive Text)
a} :: DescribedCertificate) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall a. Iso' (Sensitive a) a
Data._Sensitive
describedCertificate_certificateId :: Lens.Lens' DescribedCertificate (Prelude.Maybe Prelude.Text)
describedCertificate_certificateId :: Lens' DescribedCertificate (Maybe Text)
describedCertificate_certificateId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribedCertificate' {Maybe Text
certificateId :: Maybe Text
$sel:certificateId:DescribedCertificate' :: DescribedCertificate -> Maybe Text
certificateId} -> Maybe Text
certificateId) (\s :: DescribedCertificate
s@DescribedCertificate' {} Maybe Text
a -> DescribedCertificate
s {$sel:certificateId:DescribedCertificate' :: Maybe Text
certificateId = Maybe Text
a} :: DescribedCertificate)
describedCertificate_description :: Lens.Lens' DescribedCertificate (Prelude.Maybe Prelude.Text)
describedCertificate_description :: Lens' DescribedCertificate (Maybe Text)
describedCertificate_description = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribedCertificate' {Maybe Text
description :: Maybe Text
$sel:description:DescribedCertificate' :: DescribedCertificate -> Maybe Text
description} -> Maybe Text
description) (\s :: DescribedCertificate
s@DescribedCertificate' {} Maybe Text
a -> DescribedCertificate
s {$sel:description:DescribedCertificate' :: Maybe Text
description = Maybe Text
a} :: DescribedCertificate)
describedCertificate_inactiveDate :: Lens.Lens' DescribedCertificate (Prelude.Maybe Prelude.UTCTime)
describedCertificate_inactiveDate :: Lens' DescribedCertificate (Maybe UTCTime)
describedCertificate_inactiveDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribedCertificate' {Maybe POSIX
inactiveDate :: Maybe POSIX
$sel:inactiveDate:DescribedCertificate' :: DescribedCertificate -> Maybe POSIX
inactiveDate} -> Maybe POSIX
inactiveDate) (\s :: DescribedCertificate
s@DescribedCertificate' {} Maybe POSIX
a -> DescribedCertificate
s {$sel:inactiveDate:DescribedCertificate' :: Maybe POSIX
inactiveDate = Maybe POSIX
a} :: DescribedCertificate) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time
describedCertificate_notAfterDate :: Lens.Lens' DescribedCertificate (Prelude.Maybe Prelude.UTCTime)
describedCertificate_notAfterDate :: Lens' DescribedCertificate (Maybe UTCTime)
describedCertificate_notAfterDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribedCertificate' {Maybe POSIX
notAfterDate :: Maybe POSIX
$sel:notAfterDate:DescribedCertificate' :: DescribedCertificate -> Maybe POSIX
notAfterDate} -> Maybe POSIX
notAfterDate) (\s :: DescribedCertificate
s@DescribedCertificate' {} Maybe POSIX
a -> DescribedCertificate
s {$sel:notAfterDate:DescribedCertificate' :: Maybe POSIX
notAfterDate = Maybe POSIX
a} :: DescribedCertificate) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time
describedCertificate_notBeforeDate :: Lens.Lens' DescribedCertificate (Prelude.Maybe Prelude.UTCTime)
describedCertificate_notBeforeDate :: Lens' DescribedCertificate (Maybe UTCTime)
describedCertificate_notBeforeDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribedCertificate' {Maybe POSIX
notBeforeDate :: Maybe POSIX
$sel:notBeforeDate:DescribedCertificate' :: DescribedCertificate -> Maybe POSIX
notBeforeDate} -> Maybe POSIX
notBeforeDate) (\s :: DescribedCertificate
s@DescribedCertificate' {} Maybe POSIX
a -> DescribedCertificate
s {$sel:notBeforeDate:DescribedCertificate' :: Maybe POSIX
notBeforeDate = Maybe POSIX
a} :: DescribedCertificate) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time
describedCertificate_serial :: Lens.Lens' DescribedCertificate (Prelude.Maybe Prelude.Text)
describedCertificate_serial :: Lens' DescribedCertificate (Maybe Text)
describedCertificate_serial = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribedCertificate' {Maybe Text
serial :: Maybe Text
$sel:serial:DescribedCertificate' :: DescribedCertificate -> Maybe Text
serial} -> Maybe Text
serial) (\s :: DescribedCertificate
s@DescribedCertificate' {} Maybe Text
a -> DescribedCertificate
s {$sel:serial:DescribedCertificate' :: Maybe Text
serial = Maybe Text
a} :: DescribedCertificate)
describedCertificate_status :: Lens.Lens' DescribedCertificate (Prelude.Maybe CertificateStatusType)
describedCertificate_status :: Lens' DescribedCertificate (Maybe CertificateStatusType)
describedCertificate_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribedCertificate' {Maybe CertificateStatusType
status :: Maybe CertificateStatusType
$sel:status:DescribedCertificate' :: DescribedCertificate -> Maybe CertificateStatusType
status} -> Maybe CertificateStatusType
status) (\s :: DescribedCertificate
s@DescribedCertificate' {} Maybe CertificateStatusType
a -> DescribedCertificate
s {$sel:status:DescribedCertificate' :: Maybe CertificateStatusType
status = Maybe CertificateStatusType
a} :: DescribedCertificate)
describedCertificate_tags :: Lens.Lens' DescribedCertificate (Prelude.Maybe (Prelude.NonEmpty Tag))
describedCertificate_tags :: Lens' DescribedCertificate (Maybe (NonEmpty Tag))
describedCertificate_tags = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribedCertificate' {Maybe (NonEmpty Tag)
tags :: Maybe (NonEmpty Tag)
$sel:tags:DescribedCertificate' :: DescribedCertificate -> Maybe (NonEmpty Tag)
tags} -> Maybe (NonEmpty Tag)
tags) (\s :: DescribedCertificate
s@DescribedCertificate' {} Maybe (NonEmpty Tag)
a -> DescribedCertificate
s {$sel:tags:DescribedCertificate' :: Maybe (NonEmpty Tag)
tags = Maybe (NonEmpty Tag)
a} :: DescribedCertificate) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describedCertificate_type :: Lens.Lens' DescribedCertificate (Prelude.Maybe CertificateType)
describedCertificate_type :: Lens' DescribedCertificate (Maybe CertificateType)
describedCertificate_type = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribedCertificate' {Maybe CertificateType
type' :: Maybe CertificateType
$sel:type':DescribedCertificate' :: DescribedCertificate -> Maybe CertificateType
type'} -> Maybe CertificateType
type') (\s :: DescribedCertificate
s@DescribedCertificate' {} Maybe CertificateType
a -> DescribedCertificate
s {$sel:type':DescribedCertificate' :: Maybe CertificateType
type' = Maybe CertificateType
a} :: DescribedCertificate)
describedCertificate_usage :: Lens.Lens' DescribedCertificate (Prelude.Maybe CertificateUsageType)
describedCertificate_usage :: Lens' DescribedCertificate (Maybe CertificateUsageType)
describedCertificate_usage = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribedCertificate' {Maybe CertificateUsageType
usage :: Maybe CertificateUsageType
$sel:usage:DescribedCertificate' :: DescribedCertificate -> Maybe CertificateUsageType
usage} -> Maybe CertificateUsageType
usage) (\s :: DescribedCertificate
s@DescribedCertificate' {} Maybe CertificateUsageType
a -> DescribedCertificate
s {$sel:usage:DescribedCertificate' :: Maybe CertificateUsageType
usage = Maybe CertificateUsageType
a} :: DescribedCertificate)
describedCertificate_arn :: Lens.Lens' DescribedCertificate Prelude.Text
describedCertificate_arn :: Lens' DescribedCertificate Text
describedCertificate_arn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribedCertificate' {Text
arn :: Text
$sel:arn:DescribedCertificate' :: DescribedCertificate -> Text
arn} -> Text
arn) (\s :: DescribedCertificate
s@DescribedCertificate' {} Text
a -> DescribedCertificate
s {$sel:arn:DescribedCertificate' :: Text
arn = Text
a} :: DescribedCertificate)
instance Data.FromJSON DescribedCertificate where
parseJSON :: Value -> Parser DescribedCertificate
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"DescribedCertificate"
( \Object
x ->
Maybe POSIX
-> Maybe (Sensitive Text)
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe CertificateStatusType
-> Maybe (NonEmpty Tag)
-> Maybe CertificateType
-> Maybe CertificateUsageType
-> Text
-> DescribedCertificate
DescribedCertificate'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ActiveDate")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Certificate")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CertificateChain")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CertificateId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Description")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"InactiveDate")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"NotAfterDate")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"NotBeforeDate")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Serial")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Status")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Tags")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Type")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Usage")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"Arn")
)
instance Prelude.Hashable DescribedCertificate where
hashWithSalt :: Int -> DescribedCertificate -> Int
hashWithSalt Int
_salt DescribedCertificate' {Maybe (NonEmpty Tag)
Maybe Text
Maybe (Sensitive Text)
Maybe POSIX
Maybe CertificateStatusType
Maybe CertificateType
Maybe CertificateUsageType
Text
arn :: Text
usage :: Maybe CertificateUsageType
type' :: Maybe CertificateType
tags :: Maybe (NonEmpty Tag)
status :: Maybe CertificateStatusType
serial :: Maybe Text
notBeforeDate :: Maybe POSIX
notAfterDate :: Maybe POSIX
inactiveDate :: Maybe POSIX
description :: Maybe Text
certificateId :: Maybe Text
certificateChain :: Maybe (Sensitive Text)
certificate :: Maybe (Sensitive Text)
activeDate :: Maybe POSIX
$sel:arn:DescribedCertificate' :: DescribedCertificate -> Text
$sel:usage:DescribedCertificate' :: DescribedCertificate -> Maybe CertificateUsageType
$sel:type':DescribedCertificate' :: DescribedCertificate -> Maybe CertificateType
$sel:tags:DescribedCertificate' :: DescribedCertificate -> Maybe (NonEmpty Tag)
$sel:status:DescribedCertificate' :: DescribedCertificate -> Maybe CertificateStatusType
$sel:serial:DescribedCertificate' :: DescribedCertificate -> Maybe Text
$sel:notBeforeDate:DescribedCertificate' :: DescribedCertificate -> Maybe POSIX
$sel:notAfterDate:DescribedCertificate' :: DescribedCertificate -> Maybe POSIX
$sel:inactiveDate:DescribedCertificate' :: DescribedCertificate -> Maybe POSIX
$sel:description:DescribedCertificate' :: DescribedCertificate -> Maybe Text
$sel:certificateId:DescribedCertificate' :: DescribedCertificate -> Maybe Text
$sel:certificateChain:DescribedCertificate' :: DescribedCertificate -> Maybe (Sensitive Text)
$sel:certificate:DescribedCertificate' :: DescribedCertificate -> Maybe (Sensitive Text)
$sel:activeDate:DescribedCertificate' :: DescribedCertificate -> Maybe POSIX
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
activeDate
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (Sensitive Text)
certificate
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (Sensitive Text)
certificateChain
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
certificateId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
description
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
inactiveDate
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
notAfterDate
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
notBeforeDate
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
serial
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CertificateStatusType
status
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (NonEmpty Tag)
tags
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CertificateType
type'
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CertificateUsageType
usage
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
arn
instance Prelude.NFData DescribedCertificate where
rnf :: DescribedCertificate -> ()
rnf DescribedCertificate' {Maybe (NonEmpty Tag)
Maybe Text
Maybe (Sensitive Text)
Maybe POSIX
Maybe CertificateStatusType
Maybe CertificateType
Maybe CertificateUsageType
Text
arn :: Text
usage :: Maybe CertificateUsageType
type' :: Maybe CertificateType
tags :: Maybe (NonEmpty Tag)
status :: Maybe CertificateStatusType
serial :: Maybe Text
notBeforeDate :: Maybe POSIX
notAfterDate :: Maybe POSIX
inactiveDate :: Maybe POSIX
description :: Maybe Text
certificateId :: Maybe Text
certificateChain :: Maybe (Sensitive Text)
certificate :: Maybe (Sensitive Text)
activeDate :: Maybe POSIX
$sel:arn:DescribedCertificate' :: DescribedCertificate -> Text
$sel:usage:DescribedCertificate' :: DescribedCertificate -> Maybe CertificateUsageType
$sel:type':DescribedCertificate' :: DescribedCertificate -> Maybe CertificateType
$sel:tags:DescribedCertificate' :: DescribedCertificate -> Maybe (NonEmpty Tag)
$sel:status:DescribedCertificate' :: DescribedCertificate -> Maybe CertificateStatusType
$sel:serial:DescribedCertificate' :: DescribedCertificate -> Maybe Text
$sel:notBeforeDate:DescribedCertificate' :: DescribedCertificate -> Maybe POSIX
$sel:notAfterDate:DescribedCertificate' :: DescribedCertificate -> Maybe POSIX
$sel:inactiveDate:DescribedCertificate' :: DescribedCertificate -> Maybe POSIX
$sel:description:DescribedCertificate' :: DescribedCertificate -> Maybe Text
$sel:certificateId:DescribedCertificate' :: DescribedCertificate -> Maybe Text
$sel:certificateChain:DescribedCertificate' :: DescribedCertificate -> Maybe (Sensitive Text)
$sel:certificate:DescribedCertificate' :: DescribedCertificate -> Maybe (Sensitive Text)
$sel:activeDate:DescribedCertificate' :: DescribedCertificate -> Maybe POSIX
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
activeDate
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (Sensitive Text)
certificate
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (Sensitive Text)
certificateChain
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
certificateId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
description
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
inactiveDate
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
notAfterDate
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
notBeforeDate
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
serial
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CertificateStatusType
status
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (NonEmpty Tag)
tags
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CertificateType
type'
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CertificateUsageType
usage
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
arn