{-# 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.ServiceCatalog.Types.ProvisionedProductPlanDetails 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.ServiceCatalog.Types.ProvisionedProductPlanStatus
import Amazonka.ServiceCatalog.Types.ProvisionedProductPlanType
import Amazonka.ServiceCatalog.Types.Tag
import Amazonka.ServiceCatalog.Types.UpdateProvisioningParameter
data ProvisionedProductPlanDetails = ProvisionedProductPlanDetails'
{
ProvisionedProductPlanDetails -> Maybe POSIX
createdTime :: Prelude.Maybe Data.POSIX,
ProvisionedProductPlanDetails -> Maybe [Text]
notificationArns :: Prelude.Maybe [Prelude.Text],
ProvisionedProductPlanDetails -> Maybe Text
pathId :: Prelude.Maybe Prelude.Text,
ProvisionedProductPlanDetails -> Maybe Text
planId :: Prelude.Maybe Prelude.Text,
ProvisionedProductPlanDetails -> Maybe Text
planName :: Prelude.Maybe Prelude.Text,
ProvisionedProductPlanDetails -> Maybe ProvisionedProductPlanType
planType :: Prelude.Maybe ProvisionedProductPlanType,
ProvisionedProductPlanDetails -> Maybe Text
productId :: Prelude.Maybe Prelude.Text,
ProvisionedProductPlanDetails -> Maybe Text
provisionProductId :: Prelude.Maybe Prelude.Text,
ProvisionedProductPlanDetails -> Maybe Text
provisionProductName :: Prelude.Maybe Prelude.Text,
ProvisionedProductPlanDetails -> Maybe Text
provisioningArtifactId :: Prelude.Maybe Prelude.Text,
ProvisionedProductPlanDetails
-> Maybe [UpdateProvisioningParameter]
provisioningParameters :: Prelude.Maybe [UpdateProvisioningParameter],
ProvisionedProductPlanDetails -> Maybe ProvisionedProductPlanStatus
status :: Prelude.Maybe ProvisionedProductPlanStatus,
ProvisionedProductPlanDetails -> Maybe Text
statusMessage :: Prelude.Maybe Prelude.Text,
ProvisionedProductPlanDetails -> Maybe [Tag]
tags :: Prelude.Maybe [Tag],
ProvisionedProductPlanDetails -> Maybe POSIX
updatedTime :: Prelude.Maybe Data.POSIX
}
deriving (ProvisionedProductPlanDetails
-> ProvisionedProductPlanDetails -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ProvisionedProductPlanDetails
-> ProvisionedProductPlanDetails -> Bool
$c/= :: ProvisionedProductPlanDetails
-> ProvisionedProductPlanDetails -> Bool
== :: ProvisionedProductPlanDetails
-> ProvisionedProductPlanDetails -> Bool
$c== :: ProvisionedProductPlanDetails
-> ProvisionedProductPlanDetails -> Bool
Prelude.Eq, ReadPrec [ProvisionedProductPlanDetails]
ReadPrec ProvisionedProductPlanDetails
Int -> ReadS ProvisionedProductPlanDetails
ReadS [ProvisionedProductPlanDetails]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ProvisionedProductPlanDetails]
$creadListPrec :: ReadPrec [ProvisionedProductPlanDetails]
readPrec :: ReadPrec ProvisionedProductPlanDetails
$creadPrec :: ReadPrec ProvisionedProductPlanDetails
readList :: ReadS [ProvisionedProductPlanDetails]
$creadList :: ReadS [ProvisionedProductPlanDetails]
readsPrec :: Int -> ReadS ProvisionedProductPlanDetails
$creadsPrec :: Int -> ReadS ProvisionedProductPlanDetails
Prelude.Read, Int -> ProvisionedProductPlanDetails -> ShowS
[ProvisionedProductPlanDetails] -> ShowS
ProvisionedProductPlanDetails -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ProvisionedProductPlanDetails] -> ShowS
$cshowList :: [ProvisionedProductPlanDetails] -> ShowS
show :: ProvisionedProductPlanDetails -> String
$cshow :: ProvisionedProductPlanDetails -> String
showsPrec :: Int -> ProvisionedProductPlanDetails -> ShowS
$cshowsPrec :: Int -> ProvisionedProductPlanDetails -> ShowS
Prelude.Show, forall x.
Rep ProvisionedProductPlanDetails x
-> ProvisionedProductPlanDetails
forall x.
ProvisionedProductPlanDetails
-> Rep ProvisionedProductPlanDetails x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ProvisionedProductPlanDetails x
-> ProvisionedProductPlanDetails
$cfrom :: forall x.
ProvisionedProductPlanDetails
-> Rep ProvisionedProductPlanDetails x
Prelude.Generic)
newProvisionedProductPlanDetails ::
ProvisionedProductPlanDetails
newProvisionedProductPlanDetails :: ProvisionedProductPlanDetails
newProvisionedProductPlanDetails =
ProvisionedProductPlanDetails'
{ $sel:createdTime:ProvisionedProductPlanDetails' :: Maybe POSIX
createdTime =
forall a. Maybe a
Prelude.Nothing,
$sel:notificationArns:ProvisionedProductPlanDetails' :: Maybe [Text]
notificationArns = forall a. Maybe a
Prelude.Nothing,
$sel:pathId:ProvisionedProductPlanDetails' :: Maybe Text
pathId = forall a. Maybe a
Prelude.Nothing,
$sel:planId:ProvisionedProductPlanDetails' :: Maybe Text
planId = forall a. Maybe a
Prelude.Nothing,
$sel:planName:ProvisionedProductPlanDetails' :: Maybe Text
planName = forall a. Maybe a
Prelude.Nothing,
$sel:planType:ProvisionedProductPlanDetails' :: Maybe ProvisionedProductPlanType
planType = forall a. Maybe a
Prelude.Nothing,
$sel:productId:ProvisionedProductPlanDetails' :: Maybe Text
productId = forall a. Maybe a
Prelude.Nothing,
$sel:provisionProductId:ProvisionedProductPlanDetails' :: Maybe Text
provisionProductId = forall a. Maybe a
Prelude.Nothing,
$sel:provisionProductName:ProvisionedProductPlanDetails' :: Maybe Text
provisionProductName = forall a. Maybe a
Prelude.Nothing,
$sel:provisioningArtifactId:ProvisionedProductPlanDetails' :: Maybe Text
provisioningArtifactId = forall a. Maybe a
Prelude.Nothing,
$sel:provisioningParameters:ProvisionedProductPlanDetails' :: Maybe [UpdateProvisioningParameter]
provisioningParameters = forall a. Maybe a
Prelude.Nothing,
$sel:status:ProvisionedProductPlanDetails' :: Maybe ProvisionedProductPlanStatus
status = forall a. Maybe a
Prelude.Nothing,
$sel:statusMessage:ProvisionedProductPlanDetails' :: Maybe Text
statusMessage = forall a. Maybe a
Prelude.Nothing,
$sel:tags:ProvisionedProductPlanDetails' :: Maybe [Tag]
tags = forall a. Maybe a
Prelude.Nothing,
$sel:updatedTime:ProvisionedProductPlanDetails' :: Maybe POSIX
updatedTime = forall a. Maybe a
Prelude.Nothing
}
provisionedProductPlanDetails_createdTime :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe Prelude.UTCTime)
provisionedProductPlanDetails_createdTime :: Lens' ProvisionedProductPlanDetails (Maybe UTCTime)
provisionedProductPlanDetails_createdTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe POSIX
createdTime :: Maybe POSIX
$sel:createdTime:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe POSIX
createdTime} -> Maybe POSIX
createdTime) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe POSIX
a -> ProvisionedProductPlanDetails
s {$sel:createdTime:ProvisionedProductPlanDetails' :: Maybe POSIX
createdTime = Maybe POSIX
a} :: ProvisionedProductPlanDetails) 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
provisionedProductPlanDetails_notificationArns :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe [Prelude.Text])
provisionedProductPlanDetails_notificationArns :: Lens' ProvisionedProductPlanDetails (Maybe [Text])
provisionedProductPlanDetails_notificationArns = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe [Text]
notificationArns :: Maybe [Text]
$sel:notificationArns:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe [Text]
notificationArns} -> Maybe [Text]
notificationArns) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe [Text]
a -> ProvisionedProductPlanDetails
s {$sel:notificationArns:ProvisionedProductPlanDetails' :: Maybe [Text]
notificationArns = Maybe [Text]
a} :: ProvisionedProductPlanDetails) 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
provisionedProductPlanDetails_pathId :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe Prelude.Text)
provisionedProductPlanDetails_pathId :: Lens' ProvisionedProductPlanDetails (Maybe Text)
provisionedProductPlanDetails_pathId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe Text
pathId :: Maybe Text
$sel:pathId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
pathId} -> Maybe Text
pathId) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe Text
a -> ProvisionedProductPlanDetails
s {$sel:pathId:ProvisionedProductPlanDetails' :: Maybe Text
pathId = Maybe Text
a} :: ProvisionedProductPlanDetails)
provisionedProductPlanDetails_planId :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe Prelude.Text)
provisionedProductPlanDetails_planId :: Lens' ProvisionedProductPlanDetails (Maybe Text)
provisionedProductPlanDetails_planId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe Text
planId :: Maybe Text
$sel:planId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
planId} -> Maybe Text
planId) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe Text
a -> ProvisionedProductPlanDetails
s {$sel:planId:ProvisionedProductPlanDetails' :: Maybe Text
planId = Maybe Text
a} :: ProvisionedProductPlanDetails)
provisionedProductPlanDetails_planName :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe Prelude.Text)
provisionedProductPlanDetails_planName :: Lens' ProvisionedProductPlanDetails (Maybe Text)
provisionedProductPlanDetails_planName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe Text
planName :: Maybe Text
$sel:planName:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
planName} -> Maybe Text
planName) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe Text
a -> ProvisionedProductPlanDetails
s {$sel:planName:ProvisionedProductPlanDetails' :: Maybe Text
planName = Maybe Text
a} :: ProvisionedProductPlanDetails)
provisionedProductPlanDetails_planType :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe ProvisionedProductPlanType)
provisionedProductPlanDetails_planType :: Lens'
ProvisionedProductPlanDetails (Maybe ProvisionedProductPlanType)
provisionedProductPlanDetails_planType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe ProvisionedProductPlanType
planType :: Maybe ProvisionedProductPlanType
$sel:planType:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe ProvisionedProductPlanType
planType} -> Maybe ProvisionedProductPlanType
planType) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe ProvisionedProductPlanType
a -> ProvisionedProductPlanDetails
s {$sel:planType:ProvisionedProductPlanDetails' :: Maybe ProvisionedProductPlanType
planType = Maybe ProvisionedProductPlanType
a} :: ProvisionedProductPlanDetails)
provisionedProductPlanDetails_productId :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe Prelude.Text)
provisionedProductPlanDetails_productId :: Lens' ProvisionedProductPlanDetails (Maybe Text)
provisionedProductPlanDetails_productId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe Text
productId :: Maybe Text
$sel:productId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
productId} -> Maybe Text
productId) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe Text
a -> ProvisionedProductPlanDetails
s {$sel:productId:ProvisionedProductPlanDetails' :: Maybe Text
productId = Maybe Text
a} :: ProvisionedProductPlanDetails)
provisionedProductPlanDetails_provisionProductId :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe Prelude.Text)
provisionedProductPlanDetails_provisionProductId :: Lens' ProvisionedProductPlanDetails (Maybe Text)
provisionedProductPlanDetails_provisionProductId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe Text
provisionProductId :: Maybe Text
$sel:provisionProductId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
provisionProductId} -> Maybe Text
provisionProductId) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe Text
a -> ProvisionedProductPlanDetails
s {$sel:provisionProductId:ProvisionedProductPlanDetails' :: Maybe Text
provisionProductId = Maybe Text
a} :: ProvisionedProductPlanDetails)
provisionedProductPlanDetails_provisionProductName :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe Prelude.Text)
provisionedProductPlanDetails_provisionProductName :: Lens' ProvisionedProductPlanDetails (Maybe Text)
provisionedProductPlanDetails_provisionProductName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe Text
provisionProductName :: Maybe Text
$sel:provisionProductName:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
provisionProductName} -> Maybe Text
provisionProductName) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe Text
a -> ProvisionedProductPlanDetails
s {$sel:provisionProductName:ProvisionedProductPlanDetails' :: Maybe Text
provisionProductName = Maybe Text
a} :: ProvisionedProductPlanDetails)
provisionedProductPlanDetails_provisioningArtifactId :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe Prelude.Text)
provisionedProductPlanDetails_provisioningArtifactId :: Lens' ProvisionedProductPlanDetails (Maybe Text)
provisionedProductPlanDetails_provisioningArtifactId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe Text
provisioningArtifactId :: Maybe Text
$sel:provisioningArtifactId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
provisioningArtifactId} -> Maybe Text
provisioningArtifactId) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe Text
a -> ProvisionedProductPlanDetails
s {$sel:provisioningArtifactId:ProvisionedProductPlanDetails' :: Maybe Text
provisioningArtifactId = Maybe Text
a} :: ProvisionedProductPlanDetails)
provisionedProductPlanDetails_provisioningParameters :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe [UpdateProvisioningParameter])
provisionedProductPlanDetails_provisioningParameters :: Lens'
ProvisionedProductPlanDetails (Maybe [UpdateProvisioningParameter])
provisionedProductPlanDetails_provisioningParameters = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe [UpdateProvisioningParameter]
provisioningParameters :: Maybe [UpdateProvisioningParameter]
$sel:provisioningParameters:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails
-> Maybe [UpdateProvisioningParameter]
provisioningParameters} -> Maybe [UpdateProvisioningParameter]
provisioningParameters) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe [UpdateProvisioningParameter]
a -> ProvisionedProductPlanDetails
s {$sel:provisioningParameters:ProvisionedProductPlanDetails' :: Maybe [UpdateProvisioningParameter]
provisioningParameters = Maybe [UpdateProvisioningParameter]
a} :: ProvisionedProductPlanDetails) 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
provisionedProductPlanDetails_status :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe ProvisionedProductPlanStatus)
provisionedProductPlanDetails_status :: Lens'
ProvisionedProductPlanDetails (Maybe ProvisionedProductPlanStatus)
provisionedProductPlanDetails_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe ProvisionedProductPlanStatus
status :: Maybe ProvisionedProductPlanStatus
$sel:status:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe ProvisionedProductPlanStatus
status} -> Maybe ProvisionedProductPlanStatus
status) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe ProvisionedProductPlanStatus
a -> ProvisionedProductPlanDetails
s {$sel:status:ProvisionedProductPlanDetails' :: Maybe ProvisionedProductPlanStatus
status = Maybe ProvisionedProductPlanStatus
a} :: ProvisionedProductPlanDetails)
provisionedProductPlanDetails_statusMessage :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe Prelude.Text)
provisionedProductPlanDetails_statusMessage :: Lens' ProvisionedProductPlanDetails (Maybe Text)
provisionedProductPlanDetails_statusMessage = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe Text
statusMessage :: Maybe Text
$sel:statusMessage:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
statusMessage} -> Maybe Text
statusMessage) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe Text
a -> ProvisionedProductPlanDetails
s {$sel:statusMessage:ProvisionedProductPlanDetails' :: Maybe Text
statusMessage = Maybe Text
a} :: ProvisionedProductPlanDetails)
provisionedProductPlanDetails_tags :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe [Tag])
provisionedProductPlanDetails_tags :: Lens' ProvisionedProductPlanDetails (Maybe [Tag])
provisionedProductPlanDetails_tags = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe [Tag]
tags :: Maybe [Tag]
$sel:tags:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe [Tag]
tags} -> Maybe [Tag]
tags) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe [Tag]
a -> ProvisionedProductPlanDetails
s {$sel:tags:ProvisionedProductPlanDetails' :: Maybe [Tag]
tags = Maybe [Tag]
a} :: ProvisionedProductPlanDetails) 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
provisionedProductPlanDetails_updatedTime :: Lens.Lens' ProvisionedProductPlanDetails (Prelude.Maybe Prelude.UTCTime)
provisionedProductPlanDetails_updatedTime :: Lens' ProvisionedProductPlanDetails (Maybe UTCTime)
provisionedProductPlanDetails_updatedTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductPlanDetails' {Maybe POSIX
updatedTime :: Maybe POSIX
$sel:updatedTime:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe POSIX
updatedTime} -> Maybe POSIX
updatedTime) (\s :: ProvisionedProductPlanDetails
s@ProvisionedProductPlanDetails' {} Maybe POSIX
a -> ProvisionedProductPlanDetails
s {$sel:updatedTime:ProvisionedProductPlanDetails' :: Maybe POSIX
updatedTime = Maybe POSIX
a} :: ProvisionedProductPlanDetails) 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
instance Data.FromJSON ProvisionedProductPlanDetails where
parseJSON :: Value -> Parser ProvisionedProductPlanDetails
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"ProvisionedProductPlanDetails"
( \Object
x ->
Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ProvisionedProductPlanType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [UpdateProvisioningParameter]
-> Maybe ProvisionedProductPlanStatus
-> Maybe Text
-> Maybe [Tag]
-> Maybe POSIX
-> ProvisionedProductPlanDetails
ProvisionedProductPlanDetails'
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
"CreatedTime")
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
"NotificationArns"
forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty
)
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
"PathId")
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
"PlanId")
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
"PlanName")
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
"PlanType")
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
"ProductId")
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
"ProvisionProductId")
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
"ProvisionProductName")
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
"ProvisioningArtifactId")
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
"ProvisioningParameters"
forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty
)
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
"StatusMessage")
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 a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
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
"UpdatedTime")
)
instance
Prelude.Hashable
ProvisionedProductPlanDetails
where
hashWithSalt :: Int -> ProvisionedProductPlanDetails -> Int
hashWithSalt Int
_salt ProvisionedProductPlanDetails' {Maybe [Text]
Maybe [Tag]
Maybe [UpdateProvisioningParameter]
Maybe Text
Maybe POSIX
Maybe ProvisionedProductPlanStatus
Maybe ProvisionedProductPlanType
updatedTime :: Maybe POSIX
tags :: Maybe [Tag]
statusMessage :: Maybe Text
status :: Maybe ProvisionedProductPlanStatus
provisioningParameters :: Maybe [UpdateProvisioningParameter]
provisioningArtifactId :: Maybe Text
provisionProductName :: Maybe Text
provisionProductId :: Maybe Text
productId :: Maybe Text
planType :: Maybe ProvisionedProductPlanType
planName :: Maybe Text
planId :: Maybe Text
pathId :: Maybe Text
notificationArns :: Maybe [Text]
createdTime :: Maybe POSIX
$sel:updatedTime:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe POSIX
$sel:tags:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe [Tag]
$sel:statusMessage:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:status:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe ProvisionedProductPlanStatus
$sel:provisioningParameters:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails
-> Maybe [UpdateProvisioningParameter]
$sel:provisioningArtifactId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:provisionProductName:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:provisionProductId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:productId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:planType:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe ProvisionedProductPlanType
$sel:planName:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:planId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:pathId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:notificationArns:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe [Text]
$sel:createdTime:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe POSIX
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
createdTime
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
notificationArns
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
pathId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
planId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
planName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ProvisionedProductPlanType
planType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
productId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
provisionProductId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
provisionProductName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
provisioningArtifactId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [UpdateProvisioningParameter]
provisioningParameters
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ProvisionedProductPlanStatus
status
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
statusMessage
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Tag]
tags
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
updatedTime
instance Prelude.NFData ProvisionedProductPlanDetails where
rnf :: ProvisionedProductPlanDetails -> ()
rnf ProvisionedProductPlanDetails' {Maybe [Text]
Maybe [Tag]
Maybe [UpdateProvisioningParameter]
Maybe Text
Maybe POSIX
Maybe ProvisionedProductPlanStatus
Maybe ProvisionedProductPlanType
updatedTime :: Maybe POSIX
tags :: Maybe [Tag]
statusMessage :: Maybe Text
status :: Maybe ProvisionedProductPlanStatus
provisioningParameters :: Maybe [UpdateProvisioningParameter]
provisioningArtifactId :: Maybe Text
provisionProductName :: Maybe Text
provisionProductId :: Maybe Text
productId :: Maybe Text
planType :: Maybe ProvisionedProductPlanType
planName :: Maybe Text
planId :: Maybe Text
pathId :: Maybe Text
notificationArns :: Maybe [Text]
createdTime :: Maybe POSIX
$sel:updatedTime:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe POSIX
$sel:tags:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe [Tag]
$sel:statusMessage:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:status:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe ProvisionedProductPlanStatus
$sel:provisioningParameters:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails
-> Maybe [UpdateProvisioningParameter]
$sel:provisioningArtifactId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:provisionProductName:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:provisionProductId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:productId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:planType:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe ProvisionedProductPlanType
$sel:planName:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:planId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:pathId:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe Text
$sel:notificationArns:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe [Text]
$sel:createdTime:ProvisionedProductPlanDetails' :: ProvisionedProductPlanDetails -> Maybe POSIX
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
createdTime
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
notificationArns
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
pathId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
planId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
planName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ProvisionedProductPlanType
planType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
productId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
provisionProductId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
provisionProductName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
provisioningArtifactId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [UpdateProvisioningParameter]
provisioningParameters
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ProvisionedProductPlanStatus
status
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
statusMessage
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Tag]
tags
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
updatedTime