{-# 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.ProvisionedProductAttribute where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.ServiceCatalog.Types.ProvisionedProductStatus
import Amazonka.ServiceCatalog.Types.Tag
data ProvisionedProductAttribute = ProvisionedProductAttribute'
{
ProvisionedProductAttribute -> Maybe Text
idempotencyToken :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe ProvisionedProductStatus
status :: Prelude.Maybe ProvisionedProductStatus,
ProvisionedProductAttribute -> Maybe Text
productName :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe Text
lastSuccessfulProvisioningRecordId :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe Text
provisioningArtifactId :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe POSIX
createdTime :: Prelude.Maybe Core.POSIX,
ProvisionedProductAttribute -> Maybe Text
provisioningArtifactName :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe Text
userArn :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe Text
statusMessage :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe Text
lastRecordId :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe Text
userArnSession :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe Text
id :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe Text
type' :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe Text
physicalId :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe Text
lastProvisioningRecordId :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe Text
productId :: Prelude.Maybe Prelude.Text,
ProvisionedProductAttribute -> Maybe [Tag]
tags :: Prelude.Maybe [Tag]
}
deriving (ProvisionedProductAttribute -> ProvisionedProductAttribute -> Bool
(ProvisionedProductAttribute
-> ProvisionedProductAttribute -> Bool)
-> (ProvisionedProductAttribute
-> ProvisionedProductAttribute -> Bool)
-> Eq ProvisionedProductAttribute
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ProvisionedProductAttribute -> ProvisionedProductAttribute -> Bool
$c/= :: ProvisionedProductAttribute -> ProvisionedProductAttribute -> Bool
== :: ProvisionedProductAttribute -> ProvisionedProductAttribute -> Bool
$c== :: ProvisionedProductAttribute -> ProvisionedProductAttribute -> Bool
Prelude.Eq, ReadPrec [ProvisionedProductAttribute]
ReadPrec ProvisionedProductAttribute
Int -> ReadS ProvisionedProductAttribute
ReadS [ProvisionedProductAttribute]
(Int -> ReadS ProvisionedProductAttribute)
-> ReadS [ProvisionedProductAttribute]
-> ReadPrec ProvisionedProductAttribute
-> ReadPrec [ProvisionedProductAttribute]
-> Read ProvisionedProductAttribute
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ProvisionedProductAttribute]
$creadListPrec :: ReadPrec [ProvisionedProductAttribute]
readPrec :: ReadPrec ProvisionedProductAttribute
$creadPrec :: ReadPrec ProvisionedProductAttribute
readList :: ReadS [ProvisionedProductAttribute]
$creadList :: ReadS [ProvisionedProductAttribute]
readsPrec :: Int -> ReadS ProvisionedProductAttribute
$creadsPrec :: Int -> ReadS ProvisionedProductAttribute
Prelude.Read, Int -> ProvisionedProductAttribute -> ShowS
[ProvisionedProductAttribute] -> ShowS
ProvisionedProductAttribute -> String
(Int -> ProvisionedProductAttribute -> ShowS)
-> (ProvisionedProductAttribute -> String)
-> ([ProvisionedProductAttribute] -> ShowS)
-> Show ProvisionedProductAttribute
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ProvisionedProductAttribute] -> ShowS
$cshowList :: [ProvisionedProductAttribute] -> ShowS
show :: ProvisionedProductAttribute -> String
$cshow :: ProvisionedProductAttribute -> String
showsPrec :: Int -> ProvisionedProductAttribute -> ShowS
$cshowsPrec :: Int -> ProvisionedProductAttribute -> ShowS
Prelude.Show, (forall x.
ProvisionedProductAttribute -> Rep ProvisionedProductAttribute x)
-> (forall x.
Rep ProvisionedProductAttribute x -> ProvisionedProductAttribute)
-> Generic ProvisionedProductAttribute
forall x.
Rep ProvisionedProductAttribute x -> ProvisionedProductAttribute
forall x.
ProvisionedProductAttribute -> Rep ProvisionedProductAttribute x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ProvisionedProductAttribute x -> ProvisionedProductAttribute
$cfrom :: forall x.
ProvisionedProductAttribute -> Rep ProvisionedProductAttribute x
Prelude.Generic)
newProvisionedProductAttribute ::
ProvisionedProductAttribute
newProvisionedProductAttribute :: ProvisionedProductAttribute
newProvisionedProductAttribute =
ProvisionedProductAttribute' :: Maybe Text
-> Maybe ProvisionedProductStatus
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute
ProvisionedProductAttribute'
{ $sel:idempotencyToken:ProvisionedProductAttribute' :: Maybe Text
idempotencyToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:status:ProvisionedProductAttribute' :: Maybe ProvisionedProductStatus
status = Maybe ProvisionedProductStatus
forall a. Maybe a
Prelude.Nothing,
$sel:productName:ProvisionedProductAttribute' :: Maybe Text
productName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:lastSuccessfulProvisioningRecordId:ProvisionedProductAttribute' :: Maybe Text
lastSuccessfulProvisioningRecordId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:provisioningArtifactId:ProvisionedProductAttribute' :: Maybe Text
provisioningArtifactId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:arn:ProvisionedProductAttribute' :: Maybe Text
arn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:createdTime:ProvisionedProductAttribute' :: Maybe POSIX
createdTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:provisioningArtifactName:ProvisionedProductAttribute' :: Maybe Text
provisioningArtifactName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:userArn:ProvisionedProductAttribute' :: Maybe Text
userArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:statusMessage:ProvisionedProductAttribute' :: Maybe Text
statusMessage = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:name:ProvisionedProductAttribute' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:lastRecordId:ProvisionedProductAttribute' :: Maybe Text
lastRecordId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:userArnSession:ProvisionedProductAttribute' :: Maybe Text
userArnSession = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:id:ProvisionedProductAttribute' :: Maybe Text
id = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:type':ProvisionedProductAttribute' :: Maybe Text
type' = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:physicalId:ProvisionedProductAttribute' :: Maybe Text
physicalId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:lastProvisioningRecordId:ProvisionedProductAttribute' :: Maybe Text
lastProvisioningRecordId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:productId:ProvisionedProductAttribute' :: Maybe Text
productId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:tags:ProvisionedProductAttribute' :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing
}
provisionedProductAttribute_idempotencyToken :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_idempotencyToken :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_idempotencyToken = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
idempotencyToken :: Maybe Text
$sel:idempotencyToken:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
idempotencyToken} -> Maybe Text
idempotencyToken) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:idempotencyToken:ProvisionedProductAttribute' :: Maybe Text
idempotencyToken = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_status :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe ProvisionedProductStatus)
provisionedProductAttribute_status :: (Maybe ProvisionedProductStatus
-> f (Maybe ProvisionedProductStatus))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_status = (ProvisionedProductAttribute -> Maybe ProvisionedProductStatus)
-> (ProvisionedProductAttribute
-> Maybe ProvisionedProductStatus -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe ProvisionedProductStatus)
(Maybe ProvisionedProductStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe ProvisionedProductStatus
status :: Maybe ProvisionedProductStatus
$sel:status:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe ProvisionedProductStatus
status} -> Maybe ProvisionedProductStatus
status) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe ProvisionedProductStatus
a -> ProvisionedProductAttribute
s {$sel:status:ProvisionedProductAttribute' :: Maybe ProvisionedProductStatus
status = Maybe ProvisionedProductStatus
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_productName :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_productName :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_productName = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
productName :: Maybe Text
$sel:productName:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
productName} -> Maybe Text
productName) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:productName:ProvisionedProductAttribute' :: Maybe Text
productName = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_lastSuccessfulProvisioningRecordId :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_lastSuccessfulProvisioningRecordId :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_lastSuccessfulProvisioningRecordId = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
lastSuccessfulProvisioningRecordId :: Maybe Text
$sel:lastSuccessfulProvisioningRecordId:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
lastSuccessfulProvisioningRecordId} -> Maybe Text
lastSuccessfulProvisioningRecordId) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:lastSuccessfulProvisioningRecordId:ProvisionedProductAttribute' :: Maybe Text
lastSuccessfulProvisioningRecordId = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_provisioningArtifactId :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_provisioningArtifactId :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_provisioningArtifactId = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
provisioningArtifactId :: Maybe Text
$sel:provisioningArtifactId:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
provisioningArtifactId} -> Maybe Text
provisioningArtifactId) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:provisioningArtifactId:ProvisionedProductAttribute' :: Maybe Text
provisioningArtifactId = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_arn :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_arn :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_arn = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
arn :: Maybe Text
$sel:arn:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
arn} -> Maybe Text
arn) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:arn:ProvisionedProductAttribute' :: Maybe Text
arn = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_createdTime :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.UTCTime)
provisionedProductAttribute_createdTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_createdTime = (ProvisionedProductAttribute -> Maybe POSIX)
-> (ProvisionedProductAttribute
-> Maybe POSIX -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe POSIX
createdTime :: Maybe POSIX
$sel:createdTime:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe POSIX
createdTime} -> Maybe POSIX
createdTime) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe POSIX
a -> ProvisionedProductAttribute
s {$sel:createdTime:ProvisionedProductAttribute' :: Maybe POSIX
createdTime = Maybe POSIX
a} :: ProvisionedProductAttribute) ((Maybe POSIX -> f (Maybe POSIX))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> ProvisionedProductAttribute
-> f ProvisionedProductAttribute
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
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 AnIso POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
provisionedProductAttribute_provisioningArtifactName :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_provisioningArtifactName :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_provisioningArtifactName = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
provisioningArtifactName :: Maybe Text
$sel:provisioningArtifactName:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
provisioningArtifactName} -> Maybe Text
provisioningArtifactName) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:provisioningArtifactName:ProvisionedProductAttribute' :: Maybe Text
provisioningArtifactName = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_userArn :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_userArn :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_userArn = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
userArn :: Maybe Text
$sel:userArn:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
userArn} -> Maybe Text
userArn) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:userArn:ProvisionedProductAttribute' :: Maybe Text
userArn = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_statusMessage :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_statusMessage :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_statusMessage = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
statusMessage :: Maybe Text
$sel:statusMessage:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
statusMessage} -> Maybe Text
statusMessage) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:statusMessage:ProvisionedProductAttribute' :: Maybe Text
statusMessage = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_name :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_name :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_name = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
name :: Maybe Text
$sel:name:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
name} -> Maybe Text
name) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:name:ProvisionedProductAttribute' :: Maybe Text
name = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_lastRecordId :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_lastRecordId :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_lastRecordId = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
lastRecordId :: Maybe Text
$sel:lastRecordId:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
lastRecordId} -> Maybe Text
lastRecordId) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:lastRecordId:ProvisionedProductAttribute' :: Maybe Text
lastRecordId = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_userArnSession :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_userArnSession :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_userArnSession = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
userArnSession :: Maybe Text
$sel:userArnSession:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
userArnSession} -> Maybe Text
userArnSession) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:userArnSession:ProvisionedProductAttribute' :: Maybe Text
userArnSession = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_id :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_id :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_id = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
id :: Maybe Text
$sel:id:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
id} -> Maybe Text
id) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:id:ProvisionedProductAttribute' :: Maybe Text
id = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_type :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_type :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_type = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
type' :: Maybe Text
$sel:type':ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
type'} -> Maybe Text
type') (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:type':ProvisionedProductAttribute' :: Maybe Text
type' = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_physicalId :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_physicalId :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_physicalId = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
physicalId :: Maybe Text
$sel:physicalId:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
physicalId} -> Maybe Text
physicalId) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:physicalId:ProvisionedProductAttribute' :: Maybe Text
physicalId = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_lastProvisioningRecordId :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_lastProvisioningRecordId :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_lastProvisioningRecordId = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
lastProvisioningRecordId :: Maybe Text
$sel:lastProvisioningRecordId:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
lastProvisioningRecordId} -> Maybe Text
lastProvisioningRecordId) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:lastProvisioningRecordId:ProvisionedProductAttribute' :: Maybe Text
lastProvisioningRecordId = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_productId :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe Prelude.Text)
provisionedProductAttribute_productId :: (Maybe Text -> f (Maybe Text))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_productId = (ProvisionedProductAttribute -> Maybe Text)
-> (ProvisionedProductAttribute
-> Maybe Text -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe Text
productId :: Maybe Text
$sel:productId:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe Text
productId} -> Maybe Text
productId) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe Text
a -> ProvisionedProductAttribute
s {$sel:productId:ProvisionedProductAttribute' :: Maybe Text
productId = Maybe Text
a} :: ProvisionedProductAttribute)
provisionedProductAttribute_tags :: Lens.Lens' ProvisionedProductAttribute (Prelude.Maybe [Tag])
provisionedProductAttribute_tags :: (Maybe [Tag] -> f (Maybe [Tag]))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute
provisionedProductAttribute_tags = (ProvisionedProductAttribute -> Maybe [Tag])
-> (ProvisionedProductAttribute
-> Maybe [Tag] -> ProvisionedProductAttribute)
-> Lens
ProvisionedProductAttribute
ProvisionedProductAttribute
(Maybe [Tag])
(Maybe [Tag])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedProductAttribute' {Maybe [Tag]
tags :: Maybe [Tag]
$sel:tags:ProvisionedProductAttribute' :: ProvisionedProductAttribute -> Maybe [Tag]
tags} -> Maybe [Tag]
tags) (\s :: ProvisionedProductAttribute
s@ProvisionedProductAttribute' {} Maybe [Tag]
a -> ProvisionedProductAttribute
s {$sel:tags:ProvisionedProductAttribute' :: Maybe [Tag]
tags = Maybe [Tag]
a} :: ProvisionedProductAttribute) ((Maybe [Tag] -> f (Maybe [Tag]))
-> ProvisionedProductAttribute -> f ProvisionedProductAttribute)
-> ((Maybe [Tag] -> f (Maybe [Tag]))
-> Maybe [Tag] -> f (Maybe [Tag]))
-> (Maybe [Tag] -> f (Maybe [Tag]))
-> ProvisionedProductAttribute
-> f ProvisionedProductAttribute
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Tag] [Tag] [Tag] [Tag]
-> Iso (Maybe [Tag]) (Maybe [Tag]) (Maybe [Tag]) (Maybe [Tag])
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 AnIso [Tag] [Tag] [Tag] [Tag]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.FromJSON ProvisionedProductAttribute where
parseJSON :: Value -> Parser ProvisionedProductAttribute
parseJSON =
String
-> (Object -> Parser ProvisionedProductAttribute)
-> Value
-> Parser ProvisionedProductAttribute
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"ProvisionedProductAttribute"
( \Object
x ->
Maybe Text
-> Maybe ProvisionedProductStatus
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute
ProvisionedProductAttribute'
(Maybe Text
-> Maybe ProvisionedProductStatus
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe ProvisionedProductStatus
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"IdempotencyToken")
Parser
(Maybe ProvisionedProductStatus
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe ProvisionedProductStatus)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe ProvisionedProductStatus)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Status")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ProductName")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"LastSuccessfulProvisioningRecordId")
Parser
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ProvisioningArtifactId")
Parser
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Arn")
Parser
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"CreatedTime")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ProvisioningArtifactName")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"UserArn")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"StatusMessage")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Name")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"LastRecordId")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"UserArnSession")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Id")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Type")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text -> Maybe [Tag] -> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"PhysicalId")
Parser
(Maybe Text
-> Maybe Text -> Maybe [Tag] -> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser
(Maybe Text -> Maybe [Tag] -> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"LastProvisioningRecordId")
Parser (Maybe Text -> Maybe [Tag] -> ProvisionedProductAttribute)
-> Parser (Maybe Text)
-> Parser (Maybe [Tag] -> ProvisionedProductAttribute)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ProductId")
Parser (Maybe [Tag] -> ProvisionedProductAttribute)
-> Parser (Maybe [Tag]) -> Parser ProvisionedProductAttribute
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Tag]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Tags" Parser (Maybe (Maybe [Tag])) -> Maybe [Tag] -> Parser (Maybe [Tag])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Tag]
forall a. Monoid a => a
Prelude.mempty)
)
instance Prelude.Hashable ProvisionedProductAttribute
instance Prelude.NFData ProvisionedProductAttribute