{-# 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.SSM.Types.AssociationDescription where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.SSM.Types.AssociationComplianceSeverity
import Amazonka.SSM.Types.AssociationOverview
import Amazonka.SSM.Types.AssociationStatus
import Amazonka.SSM.Types.AssociationSyncCompliance
import Amazonka.SSM.Types.InstanceAssociationOutputLocation
import Amazonka.SSM.Types.Target
import Amazonka.SSM.Types.TargetLocation
data AssociationDescription = AssociationDescription'
{
AssociationDescription -> Maybe Text
associationId :: Prelude.Maybe Prelude.Text,
AssociationDescription -> Maybe Text
instanceId :: Prelude.Maybe Prelude.Text,
AssociationDescription -> Maybe AssociationStatus
status :: Prelude.Maybe AssociationStatus,
AssociationDescription -> Maybe (NonEmpty TargetLocation)
targetLocations :: Prelude.Maybe (Prelude.NonEmpty TargetLocation),
AssociationDescription -> Maybe Bool
applyOnlyAtCronInterval :: Prelude.Maybe Prelude.Bool,
AssociationDescription -> Maybe POSIX
lastSuccessfulExecutionDate :: Prelude.Maybe Core.POSIX,
AssociationDescription -> Maybe AssociationOverview
overview :: Prelude.Maybe AssociationOverview,
AssociationDescription -> Maybe POSIX
lastUpdateAssociationDate :: Prelude.Maybe Core.POSIX,
AssociationDescription -> Maybe POSIX
date :: Prelude.Maybe Core.POSIX,
AssociationDescription -> Maybe POSIX
lastExecutionDate :: Prelude.Maybe Core.POSIX,
AssociationDescription -> Maybe Text
maxErrors :: Prelude.Maybe Prelude.Text,
AssociationDescription -> Maybe Text
scheduleExpression :: Prelude.Maybe Prelude.Text,
AssociationDescription -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
AssociationDescription -> Maybe InstanceAssociationOutputLocation
outputLocation :: Prelude.Maybe InstanceAssociationOutputLocation,
AssociationDescription -> Maybe AssociationSyncCompliance
syncCompliance :: Prelude.Maybe AssociationSyncCompliance,
AssociationDescription -> Maybe [Target]
targets :: Prelude.Maybe [Target],
AssociationDescription -> Maybe (HashMap Text [Text])
parameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text [Prelude.Text]),
AssociationDescription -> Maybe Text
documentVersion :: Prelude.Maybe Prelude.Text,
AssociationDescription -> Maybe Text
automationTargetParameterName :: Prelude.Maybe Prelude.Text,
AssociationDescription -> Maybe Text
associationVersion :: Prelude.Maybe Prelude.Text,
AssociationDescription -> Maybe Text
associationName :: Prelude.Maybe Prelude.Text,
AssociationDescription -> Maybe [Text]
calendarNames :: Prelude.Maybe [Prelude.Text],
AssociationDescription -> Maybe AssociationComplianceSeverity
complianceSeverity :: Prelude.Maybe AssociationComplianceSeverity,
AssociationDescription -> Maybe Text
maxConcurrency :: Prelude.Maybe Prelude.Text
}
deriving (AssociationDescription -> AssociationDescription -> Bool
(AssociationDescription -> AssociationDescription -> Bool)
-> (AssociationDescription -> AssociationDescription -> Bool)
-> Eq AssociationDescription
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AssociationDescription -> AssociationDescription -> Bool
$c/= :: AssociationDescription -> AssociationDescription -> Bool
== :: AssociationDescription -> AssociationDescription -> Bool
$c== :: AssociationDescription -> AssociationDescription -> Bool
Prelude.Eq, ReadPrec [AssociationDescription]
ReadPrec AssociationDescription
Int -> ReadS AssociationDescription
ReadS [AssociationDescription]
(Int -> ReadS AssociationDescription)
-> ReadS [AssociationDescription]
-> ReadPrec AssociationDescription
-> ReadPrec [AssociationDescription]
-> Read AssociationDescription
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AssociationDescription]
$creadListPrec :: ReadPrec [AssociationDescription]
readPrec :: ReadPrec AssociationDescription
$creadPrec :: ReadPrec AssociationDescription
readList :: ReadS [AssociationDescription]
$creadList :: ReadS [AssociationDescription]
readsPrec :: Int -> ReadS AssociationDescription
$creadsPrec :: Int -> ReadS AssociationDescription
Prelude.Read, Int -> AssociationDescription -> ShowS
[AssociationDescription] -> ShowS
AssociationDescription -> String
(Int -> AssociationDescription -> ShowS)
-> (AssociationDescription -> String)
-> ([AssociationDescription] -> ShowS)
-> Show AssociationDescription
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AssociationDescription] -> ShowS
$cshowList :: [AssociationDescription] -> ShowS
show :: AssociationDescription -> String
$cshow :: AssociationDescription -> String
showsPrec :: Int -> AssociationDescription -> ShowS
$cshowsPrec :: Int -> AssociationDescription -> ShowS
Prelude.Show, (forall x. AssociationDescription -> Rep AssociationDescription x)
-> (forall x.
Rep AssociationDescription x -> AssociationDescription)
-> Generic AssociationDescription
forall x. Rep AssociationDescription x -> AssociationDescription
forall x. AssociationDescription -> Rep AssociationDescription x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AssociationDescription x -> AssociationDescription
$cfrom :: forall x. AssociationDescription -> Rep AssociationDescription x
Prelude.Generic)
newAssociationDescription ::
AssociationDescription
newAssociationDescription :: AssociationDescription
newAssociationDescription =
AssociationDescription' :: Maybe Text
-> Maybe Text
-> Maybe AssociationStatus
-> Maybe (NonEmpty TargetLocation)
-> Maybe Bool
-> Maybe POSIX
-> Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription
AssociationDescription'
{ $sel:associationId:AssociationDescription' :: Maybe Text
associationId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:instanceId:AssociationDescription' :: Maybe Text
instanceId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:status:AssociationDescription' :: Maybe AssociationStatus
status = Maybe AssociationStatus
forall a. Maybe a
Prelude.Nothing,
$sel:targetLocations:AssociationDescription' :: Maybe (NonEmpty TargetLocation)
targetLocations = Maybe (NonEmpty TargetLocation)
forall a. Maybe a
Prelude.Nothing,
$sel:applyOnlyAtCronInterval:AssociationDescription' :: Maybe Bool
applyOnlyAtCronInterval = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:lastSuccessfulExecutionDate:AssociationDescription' :: Maybe POSIX
lastSuccessfulExecutionDate = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:overview:AssociationDescription' :: Maybe AssociationOverview
overview = Maybe AssociationOverview
forall a. Maybe a
Prelude.Nothing,
$sel:lastUpdateAssociationDate:AssociationDescription' :: Maybe POSIX
lastUpdateAssociationDate = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:date:AssociationDescription' :: Maybe POSIX
date = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:lastExecutionDate:AssociationDescription' :: Maybe POSIX
lastExecutionDate = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:maxErrors:AssociationDescription' :: Maybe Text
maxErrors = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:scheduleExpression:AssociationDescription' :: Maybe Text
scheduleExpression = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:name:AssociationDescription' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:outputLocation:AssociationDescription' :: Maybe InstanceAssociationOutputLocation
outputLocation = Maybe InstanceAssociationOutputLocation
forall a. Maybe a
Prelude.Nothing,
$sel:syncCompliance:AssociationDescription' :: Maybe AssociationSyncCompliance
syncCompliance = Maybe AssociationSyncCompliance
forall a. Maybe a
Prelude.Nothing,
$sel:targets:AssociationDescription' :: Maybe [Target]
targets = Maybe [Target]
forall a. Maybe a
Prelude.Nothing,
$sel:parameters:AssociationDescription' :: Maybe (HashMap Text [Text])
parameters = Maybe (HashMap Text [Text])
forall a. Maybe a
Prelude.Nothing,
$sel:documentVersion:AssociationDescription' :: Maybe Text
documentVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:automationTargetParameterName:AssociationDescription' :: Maybe Text
automationTargetParameterName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:associationVersion:AssociationDescription' :: Maybe Text
associationVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:associationName:AssociationDescription' :: Maybe Text
associationName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:calendarNames:AssociationDescription' :: Maybe [Text]
calendarNames = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:complianceSeverity:AssociationDescription' :: Maybe AssociationComplianceSeverity
complianceSeverity = Maybe AssociationComplianceSeverity
forall a. Maybe a
Prelude.Nothing,
$sel:maxConcurrency:AssociationDescription' :: Maybe Text
maxConcurrency = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
associationDescription_associationId :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.Text)
associationDescription_associationId :: (Maybe Text -> f (Maybe Text))
-> AssociationDescription -> f AssociationDescription
associationDescription_associationId = (AssociationDescription -> Maybe Text)
-> (AssociationDescription -> Maybe Text -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe Text
associationId :: Maybe Text
$sel:associationId:AssociationDescription' :: AssociationDescription -> Maybe Text
associationId} -> Maybe Text
associationId) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe Text
a -> AssociationDescription
s {$sel:associationId:AssociationDescription' :: Maybe Text
associationId = Maybe Text
a} :: AssociationDescription)
associationDescription_instanceId :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.Text)
associationDescription_instanceId :: (Maybe Text -> f (Maybe Text))
-> AssociationDescription -> f AssociationDescription
associationDescription_instanceId = (AssociationDescription -> Maybe Text)
-> (AssociationDescription -> Maybe Text -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe Text
instanceId :: Maybe Text
$sel:instanceId:AssociationDescription' :: AssociationDescription -> Maybe Text
instanceId} -> Maybe Text
instanceId) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe Text
a -> AssociationDescription
s {$sel:instanceId:AssociationDescription' :: Maybe Text
instanceId = Maybe Text
a} :: AssociationDescription)
associationDescription_status :: Lens.Lens' AssociationDescription (Prelude.Maybe AssociationStatus)
associationDescription_status :: (Maybe AssociationStatus -> f (Maybe AssociationStatus))
-> AssociationDescription -> f AssociationDescription
associationDescription_status = (AssociationDescription -> Maybe AssociationStatus)
-> (AssociationDescription
-> Maybe AssociationStatus -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe AssociationStatus)
(Maybe AssociationStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe AssociationStatus
status :: Maybe AssociationStatus
$sel:status:AssociationDescription' :: AssociationDescription -> Maybe AssociationStatus
status} -> Maybe AssociationStatus
status) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe AssociationStatus
a -> AssociationDescription
s {$sel:status:AssociationDescription' :: Maybe AssociationStatus
status = Maybe AssociationStatus
a} :: AssociationDescription)
associationDescription_targetLocations :: Lens.Lens' AssociationDescription (Prelude.Maybe (Prelude.NonEmpty TargetLocation))
associationDescription_targetLocations :: (Maybe (NonEmpty TargetLocation)
-> f (Maybe (NonEmpty TargetLocation)))
-> AssociationDescription -> f AssociationDescription
associationDescription_targetLocations = (AssociationDescription -> Maybe (NonEmpty TargetLocation))
-> (AssociationDescription
-> Maybe (NonEmpty TargetLocation) -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe (NonEmpty TargetLocation))
(Maybe (NonEmpty TargetLocation))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe (NonEmpty TargetLocation)
targetLocations :: Maybe (NonEmpty TargetLocation)
$sel:targetLocations:AssociationDescription' :: AssociationDescription -> Maybe (NonEmpty TargetLocation)
targetLocations} -> Maybe (NonEmpty TargetLocation)
targetLocations) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe (NonEmpty TargetLocation)
a -> AssociationDescription
s {$sel:targetLocations:AssociationDescription' :: Maybe (NonEmpty TargetLocation)
targetLocations = Maybe (NonEmpty TargetLocation)
a} :: AssociationDescription) ((Maybe (NonEmpty TargetLocation)
-> f (Maybe (NonEmpty TargetLocation)))
-> AssociationDescription -> f AssociationDescription)
-> ((Maybe (NonEmpty TargetLocation)
-> f (Maybe (NonEmpty TargetLocation)))
-> Maybe (NonEmpty TargetLocation)
-> f (Maybe (NonEmpty TargetLocation)))
-> (Maybe (NonEmpty TargetLocation)
-> f (Maybe (NonEmpty TargetLocation)))
-> AssociationDescription
-> f AssociationDescription
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(NonEmpty TargetLocation)
(NonEmpty TargetLocation)
(NonEmpty TargetLocation)
(NonEmpty TargetLocation)
-> Iso
(Maybe (NonEmpty TargetLocation))
(Maybe (NonEmpty TargetLocation))
(Maybe (NonEmpty TargetLocation))
(Maybe (NonEmpty TargetLocation))
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
(NonEmpty TargetLocation)
(NonEmpty TargetLocation)
(NonEmpty TargetLocation)
(NonEmpty TargetLocation)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
associationDescription_applyOnlyAtCronInterval :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.Bool)
associationDescription_applyOnlyAtCronInterval :: (Maybe Bool -> f (Maybe Bool))
-> AssociationDescription -> f AssociationDescription
associationDescription_applyOnlyAtCronInterval = (AssociationDescription -> Maybe Bool)
-> (AssociationDescription -> Maybe Bool -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe Bool
applyOnlyAtCronInterval :: Maybe Bool
$sel:applyOnlyAtCronInterval:AssociationDescription' :: AssociationDescription -> Maybe Bool
applyOnlyAtCronInterval} -> Maybe Bool
applyOnlyAtCronInterval) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe Bool
a -> AssociationDescription
s {$sel:applyOnlyAtCronInterval:AssociationDescription' :: Maybe Bool
applyOnlyAtCronInterval = Maybe Bool
a} :: AssociationDescription)
associationDescription_lastSuccessfulExecutionDate :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.UTCTime)
associationDescription_lastSuccessfulExecutionDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> AssociationDescription -> f AssociationDescription
associationDescription_lastSuccessfulExecutionDate = (AssociationDescription -> Maybe POSIX)
-> (AssociationDescription
-> Maybe POSIX -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe POSIX
lastSuccessfulExecutionDate :: Maybe POSIX
$sel:lastSuccessfulExecutionDate:AssociationDescription' :: AssociationDescription -> Maybe POSIX
lastSuccessfulExecutionDate} -> Maybe POSIX
lastSuccessfulExecutionDate) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe POSIX
a -> AssociationDescription
s {$sel:lastSuccessfulExecutionDate:AssociationDescription' :: Maybe POSIX
lastSuccessfulExecutionDate = Maybe POSIX
a} :: AssociationDescription) ((Maybe POSIX -> f (Maybe POSIX))
-> AssociationDescription -> f AssociationDescription)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> AssociationDescription
-> f AssociationDescription
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
associationDescription_overview :: Lens.Lens' AssociationDescription (Prelude.Maybe AssociationOverview)
associationDescription_overview :: (Maybe AssociationOverview -> f (Maybe AssociationOverview))
-> AssociationDescription -> f AssociationDescription
associationDescription_overview = (AssociationDescription -> Maybe AssociationOverview)
-> (AssociationDescription
-> Maybe AssociationOverview -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe AssociationOverview)
(Maybe AssociationOverview)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe AssociationOverview
overview :: Maybe AssociationOverview
$sel:overview:AssociationDescription' :: AssociationDescription -> Maybe AssociationOverview
overview} -> Maybe AssociationOverview
overview) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe AssociationOverview
a -> AssociationDescription
s {$sel:overview:AssociationDescription' :: Maybe AssociationOverview
overview = Maybe AssociationOverview
a} :: AssociationDescription)
associationDescription_lastUpdateAssociationDate :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.UTCTime)
associationDescription_lastUpdateAssociationDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> AssociationDescription -> f AssociationDescription
associationDescription_lastUpdateAssociationDate = (AssociationDescription -> Maybe POSIX)
-> (AssociationDescription
-> Maybe POSIX -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe POSIX
lastUpdateAssociationDate :: Maybe POSIX
$sel:lastUpdateAssociationDate:AssociationDescription' :: AssociationDescription -> Maybe POSIX
lastUpdateAssociationDate} -> Maybe POSIX
lastUpdateAssociationDate) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe POSIX
a -> AssociationDescription
s {$sel:lastUpdateAssociationDate:AssociationDescription' :: Maybe POSIX
lastUpdateAssociationDate = Maybe POSIX
a} :: AssociationDescription) ((Maybe POSIX -> f (Maybe POSIX))
-> AssociationDescription -> f AssociationDescription)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> AssociationDescription
-> f AssociationDescription
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
associationDescription_date :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.UTCTime)
associationDescription_date :: (Maybe UTCTime -> f (Maybe UTCTime))
-> AssociationDescription -> f AssociationDescription
associationDescription_date = (AssociationDescription -> Maybe POSIX)
-> (AssociationDescription
-> Maybe POSIX -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe POSIX
date :: Maybe POSIX
$sel:date:AssociationDescription' :: AssociationDescription -> Maybe POSIX
date} -> Maybe POSIX
date) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe POSIX
a -> AssociationDescription
s {$sel:date:AssociationDescription' :: Maybe POSIX
date = Maybe POSIX
a} :: AssociationDescription) ((Maybe POSIX -> f (Maybe POSIX))
-> AssociationDescription -> f AssociationDescription)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> AssociationDescription
-> f AssociationDescription
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
associationDescription_lastExecutionDate :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.UTCTime)
associationDescription_lastExecutionDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> AssociationDescription -> f AssociationDescription
associationDescription_lastExecutionDate = (AssociationDescription -> Maybe POSIX)
-> (AssociationDescription
-> Maybe POSIX -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe POSIX
lastExecutionDate :: Maybe POSIX
$sel:lastExecutionDate:AssociationDescription' :: AssociationDescription -> Maybe POSIX
lastExecutionDate} -> Maybe POSIX
lastExecutionDate) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe POSIX
a -> AssociationDescription
s {$sel:lastExecutionDate:AssociationDescription' :: Maybe POSIX
lastExecutionDate = Maybe POSIX
a} :: AssociationDescription) ((Maybe POSIX -> f (Maybe POSIX))
-> AssociationDescription -> f AssociationDescription)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> AssociationDescription
-> f AssociationDescription
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
associationDescription_maxErrors :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.Text)
associationDescription_maxErrors :: (Maybe Text -> f (Maybe Text))
-> AssociationDescription -> f AssociationDescription
associationDescription_maxErrors = (AssociationDescription -> Maybe Text)
-> (AssociationDescription -> Maybe Text -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe Text
maxErrors :: Maybe Text
$sel:maxErrors:AssociationDescription' :: AssociationDescription -> Maybe Text
maxErrors} -> Maybe Text
maxErrors) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe Text
a -> AssociationDescription
s {$sel:maxErrors:AssociationDescription' :: Maybe Text
maxErrors = Maybe Text
a} :: AssociationDescription)
associationDescription_scheduleExpression :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.Text)
associationDescription_scheduleExpression :: (Maybe Text -> f (Maybe Text))
-> AssociationDescription -> f AssociationDescription
associationDescription_scheduleExpression = (AssociationDescription -> Maybe Text)
-> (AssociationDescription -> Maybe Text -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe Text
scheduleExpression :: Maybe Text
$sel:scheduleExpression:AssociationDescription' :: AssociationDescription -> Maybe Text
scheduleExpression} -> Maybe Text
scheduleExpression) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe Text
a -> AssociationDescription
s {$sel:scheduleExpression:AssociationDescription' :: Maybe Text
scheduleExpression = Maybe Text
a} :: AssociationDescription)
associationDescription_name :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.Text)
associationDescription_name :: (Maybe Text -> f (Maybe Text))
-> AssociationDescription -> f AssociationDescription
associationDescription_name = (AssociationDescription -> Maybe Text)
-> (AssociationDescription -> Maybe Text -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe Text
name :: Maybe Text
$sel:name:AssociationDescription' :: AssociationDescription -> Maybe Text
name} -> Maybe Text
name) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe Text
a -> AssociationDescription
s {$sel:name:AssociationDescription' :: Maybe Text
name = Maybe Text
a} :: AssociationDescription)
associationDescription_outputLocation :: Lens.Lens' AssociationDescription (Prelude.Maybe InstanceAssociationOutputLocation)
associationDescription_outputLocation :: (Maybe InstanceAssociationOutputLocation
-> f (Maybe InstanceAssociationOutputLocation))
-> AssociationDescription -> f AssociationDescription
associationDescription_outputLocation = (AssociationDescription -> Maybe InstanceAssociationOutputLocation)
-> (AssociationDescription
-> Maybe InstanceAssociationOutputLocation
-> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe InstanceAssociationOutputLocation)
(Maybe InstanceAssociationOutputLocation)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe InstanceAssociationOutputLocation
outputLocation :: Maybe InstanceAssociationOutputLocation
$sel:outputLocation:AssociationDescription' :: AssociationDescription -> Maybe InstanceAssociationOutputLocation
outputLocation} -> Maybe InstanceAssociationOutputLocation
outputLocation) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe InstanceAssociationOutputLocation
a -> AssociationDescription
s {$sel:outputLocation:AssociationDescription' :: Maybe InstanceAssociationOutputLocation
outputLocation = Maybe InstanceAssociationOutputLocation
a} :: AssociationDescription)
associationDescription_syncCompliance :: Lens.Lens' AssociationDescription (Prelude.Maybe AssociationSyncCompliance)
associationDescription_syncCompliance :: (Maybe AssociationSyncCompliance
-> f (Maybe AssociationSyncCompliance))
-> AssociationDescription -> f AssociationDescription
associationDescription_syncCompliance = (AssociationDescription -> Maybe AssociationSyncCompliance)
-> (AssociationDescription
-> Maybe AssociationSyncCompliance -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe AssociationSyncCompliance)
(Maybe AssociationSyncCompliance)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe AssociationSyncCompliance
syncCompliance :: Maybe AssociationSyncCompliance
$sel:syncCompliance:AssociationDescription' :: AssociationDescription -> Maybe AssociationSyncCompliance
syncCompliance} -> Maybe AssociationSyncCompliance
syncCompliance) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe AssociationSyncCompliance
a -> AssociationDescription
s {$sel:syncCompliance:AssociationDescription' :: Maybe AssociationSyncCompliance
syncCompliance = Maybe AssociationSyncCompliance
a} :: AssociationDescription)
associationDescription_targets :: Lens.Lens' AssociationDescription (Prelude.Maybe [Target])
associationDescription_targets :: (Maybe [Target] -> f (Maybe [Target]))
-> AssociationDescription -> f AssociationDescription
associationDescription_targets = (AssociationDescription -> Maybe [Target])
-> (AssociationDescription
-> Maybe [Target] -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe [Target])
(Maybe [Target])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe [Target]
targets :: Maybe [Target]
$sel:targets:AssociationDescription' :: AssociationDescription -> Maybe [Target]
targets} -> Maybe [Target]
targets) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe [Target]
a -> AssociationDescription
s {$sel:targets:AssociationDescription' :: Maybe [Target]
targets = Maybe [Target]
a} :: AssociationDescription) ((Maybe [Target] -> f (Maybe [Target]))
-> AssociationDescription -> f AssociationDescription)
-> ((Maybe [Target] -> f (Maybe [Target]))
-> Maybe [Target] -> f (Maybe [Target]))
-> (Maybe [Target] -> f (Maybe [Target]))
-> AssociationDescription
-> f AssociationDescription
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Target] [Target] [Target] [Target]
-> Iso
(Maybe [Target]) (Maybe [Target]) (Maybe [Target]) (Maybe [Target])
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 [Target] [Target] [Target] [Target]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
associationDescription_parameters :: Lens.Lens' AssociationDescription (Prelude.Maybe (Prelude.HashMap Prelude.Text [Prelude.Text]))
associationDescription_parameters :: (Maybe (HashMap Text [Text]) -> f (Maybe (HashMap Text [Text])))
-> AssociationDescription -> f AssociationDescription
associationDescription_parameters = (AssociationDescription -> Maybe (HashMap Text [Text]))
-> (AssociationDescription
-> Maybe (HashMap Text [Text]) -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe (HashMap Text [Text]))
(Maybe (HashMap Text [Text]))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe (HashMap Text [Text])
parameters :: Maybe (HashMap Text [Text])
$sel:parameters:AssociationDescription' :: AssociationDescription -> Maybe (HashMap Text [Text])
parameters} -> Maybe (HashMap Text [Text])
parameters) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe (HashMap Text [Text])
a -> AssociationDescription
s {$sel:parameters:AssociationDescription' :: Maybe (HashMap Text [Text])
parameters = Maybe (HashMap Text [Text])
a} :: AssociationDescription) ((Maybe (HashMap Text [Text]) -> f (Maybe (HashMap Text [Text])))
-> AssociationDescription -> f AssociationDescription)
-> ((Maybe (HashMap Text [Text])
-> f (Maybe (HashMap Text [Text])))
-> Maybe (HashMap Text [Text]) -> f (Maybe (HashMap Text [Text])))
-> (Maybe (HashMap Text [Text]) -> f (Maybe (HashMap Text [Text])))
-> AssociationDescription
-> f AssociationDescription
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(HashMap Text [Text])
(HashMap Text [Text])
(HashMap Text [Text])
(HashMap Text [Text])
-> Iso
(Maybe (HashMap Text [Text]))
(Maybe (HashMap Text [Text]))
(Maybe (HashMap Text [Text]))
(Maybe (HashMap Text [Text]))
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
(HashMap Text [Text])
(HashMap Text [Text])
(HashMap Text [Text])
(HashMap Text [Text])
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
associationDescription_documentVersion :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.Text)
associationDescription_documentVersion :: (Maybe Text -> f (Maybe Text))
-> AssociationDescription -> f AssociationDescription
associationDescription_documentVersion = (AssociationDescription -> Maybe Text)
-> (AssociationDescription -> Maybe Text -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe Text
documentVersion :: Maybe Text
$sel:documentVersion:AssociationDescription' :: AssociationDescription -> Maybe Text
documentVersion} -> Maybe Text
documentVersion) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe Text
a -> AssociationDescription
s {$sel:documentVersion:AssociationDescription' :: Maybe Text
documentVersion = Maybe Text
a} :: AssociationDescription)
associationDescription_automationTargetParameterName :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.Text)
associationDescription_automationTargetParameterName :: (Maybe Text -> f (Maybe Text))
-> AssociationDescription -> f AssociationDescription
associationDescription_automationTargetParameterName = (AssociationDescription -> Maybe Text)
-> (AssociationDescription -> Maybe Text -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe Text
automationTargetParameterName :: Maybe Text
$sel:automationTargetParameterName:AssociationDescription' :: AssociationDescription -> Maybe Text
automationTargetParameterName} -> Maybe Text
automationTargetParameterName) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe Text
a -> AssociationDescription
s {$sel:automationTargetParameterName:AssociationDescription' :: Maybe Text
automationTargetParameterName = Maybe Text
a} :: AssociationDescription)
associationDescription_associationVersion :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.Text)
associationDescription_associationVersion :: (Maybe Text -> f (Maybe Text))
-> AssociationDescription -> f AssociationDescription
associationDescription_associationVersion = (AssociationDescription -> Maybe Text)
-> (AssociationDescription -> Maybe Text -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe Text
associationVersion :: Maybe Text
$sel:associationVersion:AssociationDescription' :: AssociationDescription -> Maybe Text
associationVersion} -> Maybe Text
associationVersion) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe Text
a -> AssociationDescription
s {$sel:associationVersion:AssociationDescription' :: Maybe Text
associationVersion = Maybe Text
a} :: AssociationDescription)
associationDescription_associationName :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.Text)
associationDescription_associationName :: (Maybe Text -> f (Maybe Text))
-> AssociationDescription -> f AssociationDescription
associationDescription_associationName = (AssociationDescription -> Maybe Text)
-> (AssociationDescription -> Maybe Text -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe Text
associationName :: Maybe Text
$sel:associationName:AssociationDescription' :: AssociationDescription -> Maybe Text
associationName} -> Maybe Text
associationName) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe Text
a -> AssociationDescription
s {$sel:associationName:AssociationDescription' :: Maybe Text
associationName = Maybe Text
a} :: AssociationDescription)
associationDescription_calendarNames :: Lens.Lens' AssociationDescription (Prelude.Maybe [Prelude.Text])
associationDescription_calendarNames :: (Maybe [Text] -> f (Maybe [Text]))
-> AssociationDescription -> f AssociationDescription
associationDescription_calendarNames = (AssociationDescription -> Maybe [Text])
-> (AssociationDescription
-> Maybe [Text] -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe [Text]
calendarNames :: Maybe [Text]
$sel:calendarNames:AssociationDescription' :: AssociationDescription -> Maybe [Text]
calendarNames} -> Maybe [Text]
calendarNames) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe [Text]
a -> AssociationDescription
s {$sel:calendarNames:AssociationDescription' :: Maybe [Text]
calendarNames = Maybe [Text]
a} :: AssociationDescription) ((Maybe [Text] -> f (Maybe [Text]))
-> AssociationDescription -> f AssociationDescription)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> AssociationDescription
-> f AssociationDescription
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
associationDescription_complianceSeverity :: Lens.Lens' AssociationDescription (Prelude.Maybe AssociationComplianceSeverity)
associationDescription_complianceSeverity :: (Maybe AssociationComplianceSeverity
-> f (Maybe AssociationComplianceSeverity))
-> AssociationDescription -> f AssociationDescription
associationDescription_complianceSeverity = (AssociationDescription -> Maybe AssociationComplianceSeverity)
-> (AssociationDescription
-> Maybe AssociationComplianceSeverity -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe AssociationComplianceSeverity)
(Maybe AssociationComplianceSeverity)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe AssociationComplianceSeverity
complianceSeverity :: Maybe AssociationComplianceSeverity
$sel:complianceSeverity:AssociationDescription' :: AssociationDescription -> Maybe AssociationComplianceSeverity
complianceSeverity} -> Maybe AssociationComplianceSeverity
complianceSeverity) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe AssociationComplianceSeverity
a -> AssociationDescription
s {$sel:complianceSeverity:AssociationDescription' :: Maybe AssociationComplianceSeverity
complianceSeverity = Maybe AssociationComplianceSeverity
a} :: AssociationDescription)
associationDescription_maxConcurrency :: Lens.Lens' AssociationDescription (Prelude.Maybe Prelude.Text)
associationDescription_maxConcurrency :: (Maybe Text -> f (Maybe Text))
-> AssociationDescription -> f AssociationDescription
associationDescription_maxConcurrency = (AssociationDescription -> Maybe Text)
-> (AssociationDescription -> Maybe Text -> AssociationDescription)
-> Lens
AssociationDescription
AssociationDescription
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssociationDescription' {Maybe Text
maxConcurrency :: Maybe Text
$sel:maxConcurrency:AssociationDescription' :: AssociationDescription -> Maybe Text
maxConcurrency} -> Maybe Text
maxConcurrency) (\s :: AssociationDescription
s@AssociationDescription' {} Maybe Text
a -> AssociationDescription
s {$sel:maxConcurrency:AssociationDescription' :: Maybe Text
maxConcurrency = Maybe Text
a} :: AssociationDescription)
instance Core.FromJSON AssociationDescription where
parseJSON :: Value -> Parser AssociationDescription
parseJSON =
String
-> (Object -> Parser AssociationDescription)
-> Value
-> Parser AssociationDescription
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"AssociationDescription"
( \Object
x ->
Maybe Text
-> Maybe Text
-> Maybe AssociationStatus
-> Maybe (NonEmpty TargetLocation)
-> Maybe Bool
-> Maybe POSIX
-> Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription
AssociationDescription'
(Maybe Text
-> Maybe Text
-> Maybe AssociationStatus
-> Maybe (NonEmpty TargetLocation)
-> Maybe Bool
-> Maybe POSIX
-> Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe AssociationStatus
-> Maybe (NonEmpty TargetLocation)
-> Maybe Bool
-> Maybe POSIX
-> Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
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
"AssociationId")
Parser
(Maybe Text
-> Maybe AssociationStatus
-> Maybe (NonEmpty TargetLocation)
-> Maybe Bool
-> Maybe POSIX
-> Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe Text)
-> Parser
(Maybe AssociationStatus
-> Maybe (NonEmpty TargetLocation)
-> Maybe Bool
-> Maybe POSIX
-> Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
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
"InstanceId")
Parser
(Maybe AssociationStatus
-> Maybe (NonEmpty TargetLocation)
-> Maybe Bool
-> Maybe POSIX
-> Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe AssociationStatus)
-> Parser
(Maybe (NonEmpty TargetLocation)
-> Maybe Bool
-> Maybe POSIX
-> Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe AssociationStatus)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Status")
Parser
(Maybe (NonEmpty TargetLocation)
-> Maybe Bool
-> Maybe POSIX
-> Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe (NonEmpty TargetLocation))
-> Parser
(Maybe Bool
-> Maybe POSIX
-> Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (NonEmpty TargetLocation))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"TargetLocations")
Parser
(Maybe Bool
-> Maybe POSIX
-> Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe Bool)
-> Parser
(Maybe POSIX
-> Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ApplyOnlyAtCronInterval")
Parser
(Maybe POSIX
-> Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe POSIX)
-> Parser
(Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
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
"LastSuccessfulExecutionDate")
Parser
(Maybe AssociationOverview
-> Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe AssociationOverview)
-> Parser
(Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe AssociationOverview)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Overview")
Parser
(Maybe POSIX
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe POSIX)
-> Parser
(Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
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
"LastUpdateAssociationDate")
Parser
(Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe POSIX)
-> Parser
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
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
"Date")
Parser
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
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
"LastExecutionDate")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
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
"MaxErrors")
Parser
(Maybe Text
-> Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
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
"ScheduleExpression")
Parser
(Maybe Text
-> Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe Text)
-> Parser
(Maybe InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
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 InstanceAssociationOutputLocation
-> Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe InstanceAssociationOutputLocation)
-> Parser
(Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe InstanceAssociationOutputLocation)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"OutputLocation")
Parser
(Maybe AssociationSyncCompliance
-> Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe AssociationSyncCompliance)
-> Parser
(Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe AssociationSyncCompliance)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"SyncCompliance")
Parser
(Maybe [Target]
-> Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe [Target])
-> Parser
(Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Target]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Targets" Parser (Maybe (Maybe [Target]))
-> Maybe [Target] -> Parser (Maybe [Target])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Target]
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe (HashMap Text [Text])
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe (HashMap Text [Text]))
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe (HashMap Text [Text])))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Parameters" Parser (Maybe (Maybe (HashMap Text [Text])))
-> Maybe (HashMap Text [Text])
-> Parser (Maybe (HashMap Text [Text]))
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe (HashMap Text [Text])
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
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
"DocumentVersion")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
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
"AutomationTargetParameterName")
Parser
(Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
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
"AssociationVersion")
Parser
(Maybe Text
-> Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe Text)
-> Parser
(Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
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
"AssociationName")
Parser
(Maybe [Text]
-> Maybe AssociationComplianceSeverity
-> Maybe Text
-> AssociationDescription)
-> Parser (Maybe [Text])
-> Parser
(Maybe AssociationComplianceSeverity
-> Maybe Text -> AssociationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"CalendarNames" Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe AssociationComplianceSeverity
-> Maybe Text -> AssociationDescription)
-> Parser (Maybe AssociationComplianceSeverity)
-> Parser (Maybe Text -> AssociationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe AssociationComplianceSeverity)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ComplianceSeverity")
Parser (Maybe Text -> AssociationDescription)
-> Parser (Maybe Text) -> Parser AssociationDescription
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
"MaxConcurrency")
)
instance Prelude.Hashable AssociationDescription
instance Prelude.NFData AssociationDescription