module Stratosphere.DataSync.Task (
        module Exports, Task(..), mkTask
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.DataSync.Task.FilterRuleProperty as Exports
import {-# SOURCE #-} Stratosphere.DataSync.Task.ManifestConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.DataSync.Task.OptionsProperty as Exports
import {-# SOURCE #-} Stratosphere.DataSync.Task.TaskReportConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.DataSync.Task.TaskScheduleProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Task
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html>
    Task {Task -> ()
haddock_workaround_ :: (),
          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-cloudwatchloggrouparn>
          Task -> Maybe (Value Text)
cloudWatchLogGroupArn :: (Prelude.Maybe (Value Prelude.Text)),
          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-destinationlocationarn>
          Task -> Value Text
destinationLocationArn :: (Value Prelude.Text),
          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-excludes>
          Task -> Maybe [FilterRuleProperty]
excludes :: (Prelude.Maybe [FilterRuleProperty]),
          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-includes>
          Task -> Maybe [FilterRuleProperty]
includes :: (Prelude.Maybe [FilterRuleProperty]),
          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-manifestconfig>
          Task -> Maybe ManifestConfigProperty
manifestConfig :: (Prelude.Maybe ManifestConfigProperty),
          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-name>
          Task -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-options>
          Task -> Maybe OptionsProperty
options :: (Prelude.Maybe OptionsProperty),
          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-schedule>
          Task -> Maybe TaskScheduleProperty
schedule :: (Prelude.Maybe TaskScheduleProperty),
          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-sourcelocationarn>
          Task -> Value Text
sourceLocationArn :: (Value Prelude.Text),
          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-tags>
          Task -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-taskmode>
          Task -> Maybe (Value Text)
taskMode :: (Prelude.Maybe (Value Prelude.Text)),
          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-taskreportconfig>
          Task -> Maybe TaskReportConfigProperty
taskReportConfig :: (Prelude.Maybe TaskReportConfigProperty)}
  deriving stock (Task -> Task -> Bool
(Task -> Task -> Bool) -> (Task -> Task -> Bool) -> Eq Task
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Task -> Task -> Bool
== :: Task -> Task -> Bool
$c/= :: Task -> Task -> Bool
/= :: Task -> Task -> Bool
Prelude.Eq, Int -> Task -> ShowS
[Task] -> ShowS
Task -> String
(Int -> Task -> ShowS)
-> (Task -> String) -> ([Task] -> ShowS) -> Show Task
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Task -> ShowS
showsPrec :: Int -> Task -> ShowS
$cshow :: Task -> String
show :: Task -> String
$cshowList :: [Task] -> ShowS
showList :: [Task] -> ShowS
Prelude.Show)
mkTask :: Value Prelude.Text -> Value Prelude.Text -> Task
mkTask :: Value Text -> Value Text -> Task
mkTask Value Text
destinationLocationArn Value Text
sourceLocationArn
  = Task
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       destinationLocationArn :: Value Text
destinationLocationArn = Value Text
destinationLocationArn,
       sourceLocationArn :: Value Text
sourceLocationArn = Value Text
sourceLocationArn,
       cloudWatchLogGroupArn :: Maybe (Value Text)
cloudWatchLogGroupArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       excludes :: Maybe [FilterRuleProperty]
excludes = Maybe [FilterRuleProperty]
forall a. Maybe a
Prelude.Nothing, includes :: Maybe [FilterRuleProperty]
includes = Maybe [FilterRuleProperty]
forall a. Maybe a
Prelude.Nothing,
       manifestConfig :: Maybe ManifestConfigProperty
manifestConfig = Maybe ManifestConfigProperty
forall a. Maybe a
Prelude.Nothing, name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       options :: Maybe OptionsProperty
options = Maybe OptionsProperty
forall a. Maybe a
Prelude.Nothing, schedule :: Maybe TaskScheduleProperty
schedule = Maybe TaskScheduleProperty
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing, taskMode :: Maybe (Value Text)
taskMode = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       taskReportConfig :: Maybe TaskReportConfigProperty
taskReportConfig = Maybe TaskReportConfigProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Task where
  toResourceProperties :: Task -> ResourceProperties
toResourceProperties Task {Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: Task -> ()
cloudWatchLogGroupArn :: Task -> Maybe (Value Text)
destinationLocationArn :: Task -> Value Text
excludes :: Task -> Maybe [FilterRuleProperty]
includes :: Task -> Maybe [FilterRuleProperty]
manifestConfig :: Task -> Maybe ManifestConfigProperty
name :: Task -> Maybe (Value Text)
options :: Task -> Maybe OptionsProperty
schedule :: Task -> Maybe TaskScheduleProperty
sourceLocationArn :: Task -> Value Text
tags :: Task -> Maybe [Tag]
taskMode :: Task -> Maybe (Value Text)
taskReportConfig :: Task -> Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::DataSync::Task", supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"DestinationLocationArn" 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..= Value Text
destinationLocationArn,
                            Key
"SourceLocationArn" 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..= Value Text
sourceLocationArn]
                           ([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
"CloudWatchLogGroupArn"
                                 (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)
cloudWatchLogGroupArn,
                               Key -> [FilterRuleProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Excludes" ([FilterRuleProperty] -> (Key, Value))
-> Maybe [FilterRuleProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FilterRuleProperty]
excludes,
                               Key -> [FilterRuleProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Includes" ([FilterRuleProperty] -> (Key, Value))
-> Maybe [FilterRuleProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FilterRuleProperty]
includes,
                               Key -> ManifestConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ManifestConfig" (ManifestConfigProperty -> (Key, Value))
-> Maybe ManifestConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ManifestConfigProperty
manifestConfig,
                               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
"Name" (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)
name,
                               Key -> OptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Options" (OptionsProperty -> (Key, Value))
-> Maybe OptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OptionsProperty
options,
                               Key -> TaskScheduleProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Schedule" (TaskScheduleProperty -> (Key, Value))
-> Maybe TaskScheduleProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TaskScheduleProperty
schedule,
                               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                               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
"TaskMode" (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)
taskMode,
                               Key -> TaskReportConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TaskReportConfig" (TaskReportConfigProperty -> (Key, Value))
-> Maybe TaskReportConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TaskReportConfigProperty
taskReportConfig]))}
instance JSON.ToJSON Task where
  toJSON :: Task -> Value
toJSON Task {Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: Task -> ()
cloudWatchLogGroupArn :: Task -> Maybe (Value Text)
destinationLocationArn :: Task -> Value Text
excludes :: Task -> Maybe [FilterRuleProperty]
includes :: Task -> Maybe [FilterRuleProperty]
manifestConfig :: Task -> Maybe ManifestConfigProperty
name :: Task -> Maybe (Value Text)
options :: Task -> Maybe OptionsProperty
schedule :: Task -> Maybe TaskScheduleProperty
sourceLocationArn :: Task -> Value Text
tags :: Task -> Maybe [Tag]
taskMode :: Task -> Maybe (Value Text)
taskReportConfig :: Task -> Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"DestinationLocationArn" 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..= Value Text
destinationLocationArn,
               Key
"SourceLocationArn" 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..= Value Text
sourceLocationArn]
              ([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
"CloudWatchLogGroupArn"
                    (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)
cloudWatchLogGroupArn,
                  Key -> [FilterRuleProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Excludes" ([FilterRuleProperty] -> (Key, Value))
-> Maybe [FilterRuleProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FilterRuleProperty]
excludes,
                  Key -> [FilterRuleProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Includes" ([FilterRuleProperty] -> (Key, Value))
-> Maybe [FilterRuleProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FilterRuleProperty]
includes,
                  Key -> ManifestConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ManifestConfig" (ManifestConfigProperty -> (Key, Value))
-> Maybe ManifestConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ManifestConfigProperty
manifestConfig,
                  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
"Name" (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)
name,
                  Key -> OptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Options" (OptionsProperty -> (Key, Value))
-> Maybe OptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OptionsProperty
options,
                  Key -> TaskScheduleProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Schedule" (TaskScheduleProperty -> (Key, Value))
-> Maybe TaskScheduleProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TaskScheduleProperty
schedule,
                  Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                  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
"TaskMode" (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)
taskMode,
                  Key -> TaskReportConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TaskReportConfig" (TaskReportConfigProperty -> (Key, Value))
-> Maybe TaskReportConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TaskReportConfigProperty
taskReportConfig])))
instance Property "CloudWatchLogGroupArn" Task where
  type PropertyType "CloudWatchLogGroupArn" Task = Value Prelude.Text
  set :: PropertyType "CloudWatchLogGroupArn" Task -> Task -> Task
set PropertyType "CloudWatchLogGroupArn" Task
newValue Task {Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: Task -> ()
cloudWatchLogGroupArn :: Task -> Maybe (Value Text)
destinationLocationArn :: Task -> Value Text
excludes :: Task -> Maybe [FilterRuleProperty]
includes :: Task -> Maybe [FilterRuleProperty]
manifestConfig :: Task -> Maybe ManifestConfigProperty
name :: Task -> Maybe (Value Text)
options :: Task -> Maybe OptionsProperty
schedule :: Task -> Maybe TaskScheduleProperty
sourceLocationArn :: Task -> Value Text
tags :: Task -> Maybe [Tag]
taskMode :: Task -> Maybe (Value Text)
taskReportConfig :: Task -> Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
    = Task {cloudWatchLogGroupArn :: Maybe (Value Text)
cloudWatchLogGroupArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CloudWatchLogGroupArn" Task
Value Text
newValue, Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: ()
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
instance Property "DestinationLocationArn" Task where
  type PropertyType "DestinationLocationArn" Task = Value Prelude.Text
  set :: PropertyType "DestinationLocationArn" Task -> Task -> Task
set PropertyType "DestinationLocationArn" Task
newValue Task {Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: Task -> ()
cloudWatchLogGroupArn :: Task -> Maybe (Value Text)
destinationLocationArn :: Task -> Value Text
excludes :: Task -> Maybe [FilterRuleProperty]
includes :: Task -> Maybe [FilterRuleProperty]
manifestConfig :: Task -> Maybe ManifestConfigProperty
name :: Task -> Maybe (Value Text)
options :: Task -> Maybe OptionsProperty
schedule :: Task -> Maybe TaskScheduleProperty
sourceLocationArn :: Task -> Value Text
tags :: Task -> Maybe [Tag]
taskMode :: Task -> Maybe (Value Text)
taskReportConfig :: Task -> Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
    = Task {destinationLocationArn :: Value Text
destinationLocationArn = PropertyType "DestinationLocationArn" Task
Value Text
newValue, Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
instance Property "Excludes" Task where
  type PropertyType "Excludes" Task = [FilterRuleProperty]
  set :: PropertyType "Excludes" Task -> Task -> Task
set PropertyType "Excludes" Task
newValue Task {Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: Task -> ()
cloudWatchLogGroupArn :: Task -> Maybe (Value Text)
destinationLocationArn :: Task -> Value Text
excludes :: Task -> Maybe [FilterRuleProperty]
includes :: Task -> Maybe [FilterRuleProperty]
manifestConfig :: Task -> Maybe ManifestConfigProperty
name :: Task -> Maybe (Value Text)
options :: Task -> Maybe OptionsProperty
schedule :: Task -> Maybe TaskScheduleProperty
sourceLocationArn :: Task -> Value Text
tags :: Task -> Maybe [Tag]
taskMode :: Task -> Maybe (Value Text)
taskReportConfig :: Task -> Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
    = Task {excludes :: Maybe [FilterRuleProperty]
excludes = [FilterRuleProperty] -> Maybe [FilterRuleProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [FilterRuleProperty]
PropertyType "Excludes" Task
newValue, Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
instance Property "Includes" Task where
  type PropertyType "Includes" Task = [FilterRuleProperty]
  set :: PropertyType "Includes" Task -> Task -> Task
set PropertyType "Includes" Task
newValue Task {Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: Task -> ()
cloudWatchLogGroupArn :: Task -> Maybe (Value Text)
destinationLocationArn :: Task -> Value Text
excludes :: Task -> Maybe [FilterRuleProperty]
includes :: Task -> Maybe [FilterRuleProperty]
manifestConfig :: Task -> Maybe ManifestConfigProperty
name :: Task -> Maybe (Value Text)
options :: Task -> Maybe OptionsProperty
schedule :: Task -> Maybe TaskScheduleProperty
sourceLocationArn :: Task -> Value Text
tags :: Task -> Maybe [Tag]
taskMode :: Task -> Maybe (Value Text)
taskReportConfig :: Task -> Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
    = Task {includes :: Maybe [FilterRuleProperty]
includes = [FilterRuleProperty] -> Maybe [FilterRuleProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [FilterRuleProperty]
PropertyType "Includes" Task
newValue, Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
instance Property "ManifestConfig" Task where
  type PropertyType "ManifestConfig" Task = ManifestConfigProperty
  set :: PropertyType "ManifestConfig" Task -> Task -> Task
set PropertyType "ManifestConfig" Task
newValue Task {Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: Task -> ()
cloudWatchLogGroupArn :: Task -> Maybe (Value Text)
destinationLocationArn :: Task -> Value Text
excludes :: Task -> Maybe [FilterRuleProperty]
includes :: Task -> Maybe [FilterRuleProperty]
manifestConfig :: Task -> Maybe ManifestConfigProperty
name :: Task -> Maybe (Value Text)
options :: Task -> Maybe OptionsProperty
schedule :: Task -> Maybe TaskScheduleProperty
sourceLocationArn :: Task -> Value Text
tags :: Task -> Maybe [Tag]
taskMode :: Task -> Maybe (Value Text)
taskReportConfig :: Task -> Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
    = Task {manifestConfig :: Maybe ManifestConfigProperty
manifestConfig = ManifestConfigProperty -> Maybe ManifestConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ManifestConfig" Task
ManifestConfigProperty
newValue, Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
instance Property "Name" Task where
  type PropertyType "Name" Task = Value Prelude.Text
  set :: PropertyType "Name" Task -> Task -> Task
set PropertyType "Name" Task
newValue Task {Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: Task -> ()
cloudWatchLogGroupArn :: Task -> Maybe (Value Text)
destinationLocationArn :: Task -> Value Text
excludes :: Task -> Maybe [FilterRuleProperty]
includes :: Task -> Maybe [FilterRuleProperty]
manifestConfig :: Task -> Maybe ManifestConfigProperty
name :: Task -> Maybe (Value Text)
options :: Task -> Maybe OptionsProperty
schedule :: Task -> Maybe TaskScheduleProperty
sourceLocationArn :: Task -> Value Text
tags :: Task -> Maybe [Tag]
taskMode :: Task -> Maybe (Value Text)
taskReportConfig :: Task -> Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..} = Task {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" Task
Value Text
newValue, Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
instance Property "Options" Task where
  type PropertyType "Options" Task = OptionsProperty
  set :: PropertyType "Options" Task -> Task -> Task
set PropertyType "Options" Task
newValue Task {Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: Task -> ()
cloudWatchLogGroupArn :: Task -> Maybe (Value Text)
destinationLocationArn :: Task -> Value Text
excludes :: Task -> Maybe [FilterRuleProperty]
includes :: Task -> Maybe [FilterRuleProperty]
manifestConfig :: Task -> Maybe ManifestConfigProperty
name :: Task -> Maybe (Value Text)
options :: Task -> Maybe OptionsProperty
schedule :: Task -> Maybe TaskScheduleProperty
sourceLocationArn :: Task -> Value Text
tags :: Task -> Maybe [Tag]
taskMode :: Task -> Maybe (Value Text)
taskReportConfig :: Task -> Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..} = Task {options :: Maybe OptionsProperty
options = OptionsProperty -> Maybe OptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Options" Task
OptionsProperty
newValue, Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
instance Property "Schedule" Task where
  type PropertyType "Schedule" Task = TaskScheduleProperty
  set :: PropertyType "Schedule" Task -> Task -> Task
set PropertyType "Schedule" Task
newValue Task {Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: Task -> ()
cloudWatchLogGroupArn :: Task -> Maybe (Value Text)
destinationLocationArn :: Task -> Value Text
excludes :: Task -> Maybe [FilterRuleProperty]
includes :: Task -> Maybe [FilterRuleProperty]
manifestConfig :: Task -> Maybe ManifestConfigProperty
name :: Task -> Maybe (Value Text)
options :: Task -> Maybe OptionsProperty
schedule :: Task -> Maybe TaskScheduleProperty
sourceLocationArn :: Task -> Value Text
tags :: Task -> Maybe [Tag]
taskMode :: Task -> Maybe (Value Text)
taskReportConfig :: Task -> Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
    = Task {schedule :: Maybe TaskScheduleProperty
schedule = TaskScheduleProperty -> Maybe TaskScheduleProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Schedule" Task
TaskScheduleProperty
newValue, Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
instance Property "SourceLocationArn" Task where
  type PropertyType "SourceLocationArn" Task = Value Prelude.Text
  set :: PropertyType "SourceLocationArn" Task -> Task -> Task
set PropertyType "SourceLocationArn" Task
newValue Task {Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: Task -> ()
cloudWatchLogGroupArn :: Task -> Maybe (Value Text)
destinationLocationArn :: Task -> Value Text
excludes :: Task -> Maybe [FilterRuleProperty]
includes :: Task -> Maybe [FilterRuleProperty]
manifestConfig :: Task -> Maybe ManifestConfigProperty
name :: Task -> Maybe (Value Text)
options :: Task -> Maybe OptionsProperty
schedule :: Task -> Maybe TaskScheduleProperty
sourceLocationArn :: Task -> Value Text
tags :: Task -> Maybe [Tag]
taskMode :: Task -> Maybe (Value Text)
taskReportConfig :: Task -> Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..} = Task {sourceLocationArn :: Value Text
sourceLocationArn = PropertyType "SourceLocationArn" Task
Value Text
newValue, Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
instance Property "Tags" Task where
  type PropertyType "Tags" Task = [Tag]
  set :: PropertyType "Tags" Task -> Task -> Task
set PropertyType "Tags" Task
newValue Task {Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: Task -> ()
cloudWatchLogGroupArn :: Task -> Maybe (Value Text)
destinationLocationArn :: Task -> Value Text
excludes :: Task -> Maybe [FilterRuleProperty]
includes :: Task -> Maybe [FilterRuleProperty]
manifestConfig :: Task -> Maybe ManifestConfigProperty
name :: Task -> Maybe (Value Text)
options :: Task -> Maybe OptionsProperty
schedule :: Task -> Maybe TaskScheduleProperty
sourceLocationArn :: Task -> Value Text
tags :: Task -> Maybe [Tag]
taskMode :: Task -> Maybe (Value Text)
taskReportConfig :: Task -> Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..} = Task {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" Task
newValue, Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
instance Property "TaskMode" Task where
  type PropertyType "TaskMode" Task = Value Prelude.Text
  set :: PropertyType "TaskMode" Task -> Task -> Task
set PropertyType "TaskMode" Task
newValue Task {Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: Task -> ()
cloudWatchLogGroupArn :: Task -> Maybe (Value Text)
destinationLocationArn :: Task -> Value Text
excludes :: Task -> Maybe [FilterRuleProperty]
includes :: Task -> Maybe [FilterRuleProperty]
manifestConfig :: Task -> Maybe ManifestConfigProperty
name :: Task -> Maybe (Value Text)
options :: Task -> Maybe OptionsProperty
schedule :: Task -> Maybe TaskScheduleProperty
sourceLocationArn :: Task -> Value Text
tags :: Task -> Maybe [Tag]
taskMode :: Task -> Maybe (Value Text)
taskReportConfig :: Task -> Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
    = Task {taskMode :: Maybe (Value Text)
taskMode = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TaskMode" Task
Value Text
newValue, Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskReportConfig :: Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskReportConfig :: Maybe TaskReportConfigProperty
..}
instance Property "TaskReportConfig" Task where
  type PropertyType "TaskReportConfig" Task = TaskReportConfigProperty
  set :: PropertyType "TaskReportConfig" Task -> Task -> Task
set PropertyType "TaskReportConfig" Task
newValue Task {Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
Maybe TaskReportConfigProperty
()
Value Text
haddock_workaround_ :: Task -> ()
cloudWatchLogGroupArn :: Task -> Maybe (Value Text)
destinationLocationArn :: Task -> Value Text
excludes :: Task -> Maybe [FilterRuleProperty]
includes :: Task -> Maybe [FilterRuleProperty]
manifestConfig :: Task -> Maybe ManifestConfigProperty
name :: Task -> Maybe (Value Text)
options :: Task -> Maybe OptionsProperty
schedule :: Task -> Maybe TaskScheduleProperty
sourceLocationArn :: Task -> Value Text
tags :: Task -> Maybe [Tag]
taskMode :: Task -> Maybe (Value Text)
taskReportConfig :: Task -> Maybe TaskReportConfigProperty
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
taskReportConfig :: Maybe TaskReportConfigProperty
..}
    = Task {taskReportConfig :: Maybe TaskReportConfigProperty
taskReportConfig = TaskReportConfigProperty -> Maybe TaskReportConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TaskReportConfig" Task
TaskReportConfigProperty
newValue, Maybe [Tag]
Maybe [FilterRuleProperty]
Maybe (Value Text)
Maybe OptionsProperty
Maybe ManifestConfigProperty
Maybe TaskScheduleProperty
()
Value Text
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
haddock_workaround_ :: ()
cloudWatchLogGroupArn :: Maybe (Value Text)
destinationLocationArn :: Value Text
excludes :: Maybe [FilterRuleProperty]
includes :: Maybe [FilterRuleProperty]
manifestConfig :: Maybe ManifestConfigProperty
name :: Maybe (Value Text)
options :: Maybe OptionsProperty
schedule :: Maybe TaskScheduleProperty
sourceLocationArn :: Value Text
tags :: Maybe [Tag]
taskMode :: Maybe (Value Text)
..}