module Stratosphere.AuditManager.Assessment.DelegationProperty (
DelegationProperty(..), mkDelegationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data DelegationProperty
=
DelegationProperty {DelegationProperty -> ()
haddock_workaround_ :: (),
DelegationProperty -> Maybe (Value Text)
assessmentId :: (Prelude.Maybe (Value Prelude.Text)),
DelegationProperty -> Maybe (Value Text)
assessmentName :: (Prelude.Maybe (Value Prelude.Text)),
:: (Prelude.Maybe (Value Prelude.Text)),
DelegationProperty -> Maybe (Value Text)
controlSetId :: (Prelude.Maybe (Value Prelude.Text)),
DelegationProperty -> Maybe (Value Text)
createdBy :: (Prelude.Maybe (Value Prelude.Text)),
DelegationProperty -> Maybe (Value Double)
creationTime :: (Prelude.Maybe (Value Prelude.Double)),
DelegationProperty -> Maybe (Value Text)
id :: (Prelude.Maybe (Value Prelude.Text)),
DelegationProperty -> Maybe (Value Double)
lastUpdated :: (Prelude.Maybe (Value Prelude.Double)),
DelegationProperty -> Maybe (Value Text)
roleArn :: (Prelude.Maybe (Value Prelude.Text)),
DelegationProperty -> Maybe (Value Text)
roleType :: (Prelude.Maybe (Value Prelude.Text)),
DelegationProperty -> Maybe (Value Text)
status :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (DelegationProperty -> DelegationProperty -> Bool
(DelegationProperty -> DelegationProperty -> Bool)
-> (DelegationProperty -> DelegationProperty -> Bool)
-> Eq DelegationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DelegationProperty -> DelegationProperty -> Bool
== :: DelegationProperty -> DelegationProperty -> Bool
$c/= :: DelegationProperty -> DelegationProperty -> Bool
/= :: DelegationProperty -> DelegationProperty -> Bool
Prelude.Eq, Int -> DelegationProperty -> ShowS
[DelegationProperty] -> ShowS
DelegationProperty -> String
(Int -> DelegationProperty -> ShowS)
-> (DelegationProperty -> String)
-> ([DelegationProperty] -> ShowS)
-> Show DelegationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DelegationProperty -> ShowS
showsPrec :: Int -> DelegationProperty -> ShowS
$cshow :: DelegationProperty -> String
show :: DelegationProperty -> String
$cshowList :: [DelegationProperty] -> ShowS
showList :: [DelegationProperty] -> ShowS
Prelude.Show)
mkDelegationProperty :: DelegationProperty
mkDelegationProperty :: DelegationProperty
mkDelegationProperty
= DelegationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), assessmentId :: Maybe (Value Text)
assessmentId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
assessmentName :: Maybe (Value Text)
assessmentName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, comment :: Maybe (Value Text)
comment = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
controlSetId :: Maybe (Value Text)
controlSetId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, createdBy :: Maybe (Value Text)
createdBy = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
creationTime :: Maybe (Value Double)
creationTime = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing, id :: Maybe (Value Text)
id = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
lastUpdated :: Maybe (Value Double)
lastUpdated = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing, roleArn :: Maybe (Value Text)
roleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
roleType :: Maybe (Value Text)
roleType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, status :: Maybe (Value Text)
status = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DelegationProperty where
toResourceProperties :: DelegationProperty -> ResourceProperties
toResourceProperties DelegationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: DelegationProperty -> ()
assessmentId :: DelegationProperty -> Maybe (Value Text)
assessmentName :: DelegationProperty -> Maybe (Value Text)
comment :: DelegationProperty -> Maybe (Value Text)
controlSetId :: DelegationProperty -> Maybe (Value Text)
createdBy :: DelegationProperty -> Maybe (Value Text)
creationTime :: DelegationProperty -> Maybe (Value Double)
id :: DelegationProperty -> Maybe (Value Text)
lastUpdated :: DelegationProperty -> Maybe (Value Double)
roleArn :: DelegationProperty -> Maybe (Value Text)
roleType :: DelegationProperty -> Maybe (Value Text)
status :: DelegationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::AuditManager::Assessment.Delegation",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AssessmentId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
assessmentId,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AssessmentName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
assessmentName,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Comment" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
comment,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ControlSetId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
controlSetId,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CreatedBy" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
createdBy,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CreationTime" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
creationTime,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Id" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
id,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LastUpdated" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
lastUpdated,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RoleArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
roleArn,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RoleType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
roleType,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Status" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
status])}
instance JSON.ToJSON DelegationProperty where
toJSON :: DelegationProperty -> Value
toJSON DelegationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: DelegationProperty -> ()
assessmentId :: DelegationProperty -> Maybe (Value Text)
assessmentName :: DelegationProperty -> Maybe (Value Text)
comment :: DelegationProperty -> Maybe (Value Text)
controlSetId :: DelegationProperty -> Maybe (Value Text)
createdBy :: DelegationProperty -> Maybe (Value Text)
creationTime :: DelegationProperty -> Maybe (Value Double)
id :: DelegationProperty -> Maybe (Value Text)
lastUpdated :: DelegationProperty -> Maybe (Value Double)
roleArn :: DelegationProperty -> Maybe (Value Text)
roleType :: DelegationProperty -> Maybe (Value Text)
status :: DelegationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AssessmentId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
assessmentId,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AssessmentName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
assessmentName,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Comment" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
comment,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ControlSetId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
controlSetId,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CreatedBy" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
createdBy,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CreationTime" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
creationTime,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Id" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
id,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LastUpdated" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
lastUpdated,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RoleArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
roleArn,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RoleType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
roleType,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Status" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
status]))
instance Property "AssessmentId" DelegationProperty where
type PropertyType "AssessmentId" DelegationProperty = Value Prelude.Text
set :: PropertyType "AssessmentId" DelegationProperty
-> DelegationProperty -> DelegationProperty
set PropertyType "AssessmentId" DelegationProperty
newValue DelegationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: DelegationProperty -> ()
assessmentId :: DelegationProperty -> Maybe (Value Text)
assessmentName :: DelegationProperty -> Maybe (Value Text)
comment :: DelegationProperty -> Maybe (Value Text)
controlSetId :: DelegationProperty -> Maybe (Value Text)
createdBy :: DelegationProperty -> Maybe (Value Text)
creationTime :: DelegationProperty -> Maybe (Value Double)
id :: DelegationProperty -> Maybe (Value Text)
lastUpdated :: DelegationProperty -> Maybe (Value Double)
roleArn :: DelegationProperty -> Maybe (Value Text)
roleType :: DelegationProperty -> Maybe (Value Text)
status :: DelegationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
= DelegationProperty {assessmentId :: Maybe (Value Text)
assessmentId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AssessmentId" DelegationProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
instance Property "AssessmentName" DelegationProperty where
type PropertyType "AssessmentName" DelegationProperty = Value Prelude.Text
set :: PropertyType "AssessmentName" DelegationProperty
-> DelegationProperty -> DelegationProperty
set PropertyType "AssessmentName" DelegationProperty
newValue DelegationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: DelegationProperty -> ()
assessmentId :: DelegationProperty -> Maybe (Value Text)
assessmentName :: DelegationProperty -> Maybe (Value Text)
comment :: DelegationProperty -> Maybe (Value Text)
controlSetId :: DelegationProperty -> Maybe (Value Text)
createdBy :: DelegationProperty -> Maybe (Value Text)
creationTime :: DelegationProperty -> Maybe (Value Double)
id :: DelegationProperty -> Maybe (Value Text)
lastUpdated :: DelegationProperty -> Maybe (Value Double)
roleArn :: DelegationProperty -> Maybe (Value Text)
roleType :: DelegationProperty -> Maybe (Value Text)
status :: DelegationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
= DelegationProperty {assessmentName :: Maybe (Value Text)
assessmentName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AssessmentName" DelegationProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
instance Property "Comment" DelegationProperty where
type PropertyType "Comment" DelegationProperty = Value Prelude.Text
set :: PropertyType "Comment" DelegationProperty
-> DelegationProperty -> DelegationProperty
set PropertyType "Comment" DelegationProperty
newValue DelegationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: DelegationProperty -> ()
assessmentId :: DelegationProperty -> Maybe (Value Text)
assessmentName :: DelegationProperty -> Maybe (Value Text)
comment :: DelegationProperty -> Maybe (Value Text)
controlSetId :: DelegationProperty -> Maybe (Value Text)
createdBy :: DelegationProperty -> Maybe (Value Text)
creationTime :: DelegationProperty -> Maybe (Value Double)
id :: DelegationProperty -> Maybe (Value Text)
lastUpdated :: DelegationProperty -> Maybe (Value Double)
roleArn :: DelegationProperty -> Maybe (Value Text)
roleType :: DelegationProperty -> Maybe (Value Text)
status :: DelegationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
= DelegationProperty {comment :: Maybe (Value Text)
comment = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Comment" DelegationProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
instance Property "ControlSetId" DelegationProperty where
type PropertyType "ControlSetId" DelegationProperty = Value Prelude.Text
set :: PropertyType "ControlSetId" DelegationProperty
-> DelegationProperty -> DelegationProperty
set PropertyType "ControlSetId" DelegationProperty
newValue DelegationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: DelegationProperty -> ()
assessmentId :: DelegationProperty -> Maybe (Value Text)
assessmentName :: DelegationProperty -> Maybe (Value Text)
comment :: DelegationProperty -> Maybe (Value Text)
controlSetId :: DelegationProperty -> Maybe (Value Text)
createdBy :: DelegationProperty -> Maybe (Value Text)
creationTime :: DelegationProperty -> Maybe (Value Double)
id :: DelegationProperty -> Maybe (Value Text)
lastUpdated :: DelegationProperty -> Maybe (Value Double)
roleArn :: DelegationProperty -> Maybe (Value Text)
roleType :: DelegationProperty -> Maybe (Value Text)
status :: DelegationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
= DelegationProperty {controlSetId :: Maybe (Value Text)
controlSetId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ControlSetId" DelegationProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
instance Property "CreatedBy" DelegationProperty where
type PropertyType "CreatedBy" DelegationProperty = Value Prelude.Text
set :: PropertyType "CreatedBy" DelegationProperty
-> DelegationProperty -> DelegationProperty
set PropertyType "CreatedBy" DelegationProperty
newValue DelegationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: DelegationProperty -> ()
assessmentId :: DelegationProperty -> Maybe (Value Text)
assessmentName :: DelegationProperty -> Maybe (Value Text)
comment :: DelegationProperty -> Maybe (Value Text)
controlSetId :: DelegationProperty -> Maybe (Value Text)
createdBy :: DelegationProperty -> Maybe (Value Text)
creationTime :: DelegationProperty -> Maybe (Value Double)
id :: DelegationProperty -> Maybe (Value Text)
lastUpdated :: DelegationProperty -> Maybe (Value Double)
roleArn :: DelegationProperty -> Maybe (Value Text)
roleType :: DelegationProperty -> Maybe (Value Text)
status :: DelegationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
= DelegationProperty {createdBy :: Maybe (Value Text)
createdBy = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CreatedBy" DelegationProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
instance Property "CreationTime" DelegationProperty where
type PropertyType "CreationTime" DelegationProperty = Value Prelude.Double
set :: PropertyType "CreationTime" DelegationProperty
-> DelegationProperty -> DelegationProperty
set PropertyType "CreationTime" DelegationProperty
newValue DelegationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: DelegationProperty -> ()
assessmentId :: DelegationProperty -> Maybe (Value Text)
assessmentName :: DelegationProperty -> Maybe (Value Text)
comment :: DelegationProperty -> Maybe (Value Text)
controlSetId :: DelegationProperty -> Maybe (Value Text)
createdBy :: DelegationProperty -> Maybe (Value Text)
creationTime :: DelegationProperty -> Maybe (Value Double)
id :: DelegationProperty -> Maybe (Value Text)
lastUpdated :: DelegationProperty -> Maybe (Value Double)
roleArn :: DelegationProperty -> Maybe (Value Text)
roleType :: DelegationProperty -> Maybe (Value Text)
status :: DelegationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
= DelegationProperty {creationTime :: Maybe (Value Double)
creationTime = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CreationTime" DelegationProperty
Value Double
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
instance Property "Id" DelegationProperty where
type PropertyType "Id" DelegationProperty = Value Prelude.Text
set :: PropertyType "Id" DelegationProperty
-> DelegationProperty -> DelegationProperty
set PropertyType "Id" DelegationProperty
newValue DelegationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: DelegationProperty -> ()
assessmentId :: DelegationProperty -> Maybe (Value Text)
assessmentName :: DelegationProperty -> Maybe (Value Text)
comment :: DelegationProperty -> Maybe (Value Text)
controlSetId :: DelegationProperty -> Maybe (Value Text)
createdBy :: DelegationProperty -> Maybe (Value Text)
creationTime :: DelegationProperty -> Maybe (Value Double)
id :: DelegationProperty -> Maybe (Value Text)
lastUpdated :: DelegationProperty -> Maybe (Value Double)
roleArn :: DelegationProperty -> Maybe (Value Text)
roleType :: DelegationProperty -> Maybe (Value Text)
status :: DelegationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
= DelegationProperty {id :: Maybe (Value Text)
id = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Id" DelegationProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
instance Property "LastUpdated" DelegationProperty where
type PropertyType "LastUpdated" DelegationProperty = Value Prelude.Double
set :: PropertyType "LastUpdated" DelegationProperty
-> DelegationProperty -> DelegationProperty
set PropertyType "LastUpdated" DelegationProperty
newValue DelegationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: DelegationProperty -> ()
assessmentId :: DelegationProperty -> Maybe (Value Text)
assessmentName :: DelegationProperty -> Maybe (Value Text)
comment :: DelegationProperty -> Maybe (Value Text)
controlSetId :: DelegationProperty -> Maybe (Value Text)
createdBy :: DelegationProperty -> Maybe (Value Text)
creationTime :: DelegationProperty -> Maybe (Value Double)
id :: DelegationProperty -> Maybe (Value Text)
lastUpdated :: DelegationProperty -> Maybe (Value Double)
roleArn :: DelegationProperty -> Maybe (Value Text)
roleType :: DelegationProperty -> Maybe (Value Text)
status :: DelegationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
= DelegationProperty {lastUpdated :: Maybe (Value Double)
lastUpdated = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LastUpdated" DelegationProperty
Value Double
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
instance Property "RoleArn" DelegationProperty where
type PropertyType "RoleArn" DelegationProperty = Value Prelude.Text
set :: PropertyType "RoleArn" DelegationProperty
-> DelegationProperty -> DelegationProperty
set PropertyType "RoleArn" DelegationProperty
newValue DelegationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: DelegationProperty -> ()
assessmentId :: DelegationProperty -> Maybe (Value Text)
assessmentName :: DelegationProperty -> Maybe (Value Text)
comment :: DelegationProperty -> Maybe (Value Text)
controlSetId :: DelegationProperty -> Maybe (Value Text)
createdBy :: DelegationProperty -> Maybe (Value Text)
creationTime :: DelegationProperty -> Maybe (Value Double)
id :: DelegationProperty -> Maybe (Value Text)
lastUpdated :: DelegationProperty -> Maybe (Value Double)
roleArn :: DelegationProperty -> Maybe (Value Text)
roleType :: DelegationProperty -> Maybe (Value Text)
status :: DelegationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
= DelegationProperty {roleArn :: Maybe (Value Text)
roleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RoleArn" DelegationProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
instance Property "RoleType" DelegationProperty where
type PropertyType "RoleType" DelegationProperty = Value Prelude.Text
set :: PropertyType "RoleType" DelegationProperty
-> DelegationProperty -> DelegationProperty
set PropertyType "RoleType" DelegationProperty
newValue DelegationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: DelegationProperty -> ()
assessmentId :: DelegationProperty -> Maybe (Value Text)
assessmentName :: DelegationProperty -> Maybe (Value Text)
comment :: DelegationProperty -> Maybe (Value Text)
controlSetId :: DelegationProperty -> Maybe (Value Text)
createdBy :: DelegationProperty -> Maybe (Value Text)
creationTime :: DelegationProperty -> Maybe (Value Double)
id :: DelegationProperty -> Maybe (Value Text)
lastUpdated :: DelegationProperty -> Maybe (Value Double)
roleArn :: DelegationProperty -> Maybe (Value Text)
roleType :: DelegationProperty -> Maybe (Value Text)
status :: DelegationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
= DelegationProperty {roleType :: Maybe (Value Text)
roleType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RoleType" DelegationProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
instance Property "Status" DelegationProperty where
type PropertyType "Status" DelegationProperty = Value Prelude.Text
set :: PropertyType "Status" DelegationProperty
-> DelegationProperty -> DelegationProperty
set PropertyType "Status" DelegationProperty
newValue DelegationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: DelegationProperty -> ()
assessmentId :: DelegationProperty -> Maybe (Value Text)
assessmentName :: DelegationProperty -> Maybe (Value Text)
comment :: DelegationProperty -> Maybe (Value Text)
controlSetId :: DelegationProperty -> Maybe (Value Text)
createdBy :: DelegationProperty -> Maybe (Value Text)
creationTime :: DelegationProperty -> Maybe (Value Double)
id :: DelegationProperty -> Maybe (Value Text)
lastUpdated :: DelegationProperty -> Maybe (Value Double)
roleArn :: DelegationProperty -> Maybe (Value Text)
roleType :: DelegationProperty -> Maybe (Value Text)
status :: DelegationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
status :: Maybe (Value Text)
..}
= DelegationProperty {status :: Maybe (Value Text)
status = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Status" DelegationProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
haddock_workaround_ :: ()
assessmentId :: Maybe (Value Text)
assessmentName :: Maybe (Value Text)
comment :: Maybe (Value Text)
controlSetId :: Maybe (Value Text)
createdBy :: Maybe (Value Text)
creationTime :: Maybe (Value Double)
id :: Maybe (Value Text)
lastUpdated :: Maybe (Value Double)
roleArn :: Maybe (Value Text)
roleType :: Maybe (Value Text)
..}