module Stratosphere.APS.Scraper (
        module Exports, Scraper(..), mkScraper
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.APS.Scraper.DestinationProperty as Exports
import {-# SOURCE #-} Stratosphere.APS.Scraper.RoleConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.APS.Scraper.ScrapeConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.APS.Scraper.ScraperLoggingConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.APS.Scraper.SourceProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Scraper
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html>
    Scraper {Scraper -> ()
haddock_workaround_ :: (),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-alias>
             Scraper -> Maybe (Value Text)
alias :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-destination>
             Scraper -> DestinationProperty
destination :: DestinationProperty,
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-roleconfiguration>
             Scraper -> Maybe RoleConfigurationProperty
roleConfiguration :: (Prelude.Maybe RoleConfigurationProperty),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-scrapeconfiguration>
             Scraper -> ScrapeConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty,
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-scraperloggingconfiguration>
             Scraper -> Maybe ScraperLoggingConfigurationProperty
scraperLoggingConfiguration :: (Prelude.Maybe ScraperLoggingConfigurationProperty),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-source>
             Scraper -> SourceProperty
source :: SourceProperty,
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-tags>
             Scraper -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (Scraper -> Scraper -> Bool
(Scraper -> Scraper -> Bool)
-> (Scraper -> Scraper -> Bool) -> Eq Scraper
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Scraper -> Scraper -> Bool
== :: Scraper -> Scraper -> Bool
$c/= :: Scraper -> Scraper -> Bool
/= :: Scraper -> Scraper -> Bool
Prelude.Eq, Int -> Scraper -> ShowS
[Scraper] -> ShowS
Scraper -> String
(Int -> Scraper -> ShowS)
-> (Scraper -> String) -> ([Scraper] -> ShowS) -> Show Scraper
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Scraper -> ShowS
showsPrec :: Int -> Scraper -> ShowS
$cshow :: Scraper -> String
show :: Scraper -> String
$cshowList :: [Scraper] -> ShowS
showList :: [Scraper] -> ShowS
Prelude.Show)
mkScraper ::
  DestinationProperty
  -> ScrapeConfigurationProperty -> SourceProperty -> Scraper
mkScraper :: DestinationProperty
-> ScrapeConfigurationProperty -> SourceProperty -> Scraper
mkScraper DestinationProperty
destination ScrapeConfigurationProperty
scrapeConfiguration SourceProperty
source
  = Scraper
      {haddock_workaround_ :: ()
haddock_workaround_ = (), destination :: DestinationProperty
destination = DestinationProperty
destination,
       scrapeConfiguration :: ScrapeConfigurationProperty
scrapeConfiguration = ScrapeConfigurationProperty
scrapeConfiguration, source :: SourceProperty
source = SourceProperty
source,
       alias :: Maybe (Value Text)
alias = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, roleConfiguration :: Maybe RoleConfigurationProperty
roleConfiguration = Maybe RoleConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
scraperLoggingConfiguration = Maybe ScraperLoggingConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Scraper where
  toResourceProperties :: Scraper -> ResourceProperties
toResourceProperties Scraper {Maybe [Tag]
Maybe (Value Text)
Maybe RoleConfigurationProperty
Maybe ScraperLoggingConfigurationProperty
()
DestinationProperty
ScrapeConfigurationProperty
SourceProperty
haddock_workaround_ :: Scraper -> ()
alias :: Scraper -> Maybe (Value Text)
destination :: Scraper -> DestinationProperty
roleConfiguration :: Scraper -> Maybe RoleConfigurationProperty
scrapeConfiguration :: Scraper -> ScrapeConfigurationProperty
scraperLoggingConfiguration :: Scraper -> Maybe ScraperLoggingConfigurationProperty
source :: Scraper -> SourceProperty
tags :: Scraper -> Maybe [Tag]
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::APS::Scraper", 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
"Destination" Key -> DestinationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= DestinationProperty
destination,
                            Key
"ScrapeConfiguration" Key -> ScrapeConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ScrapeConfigurationProperty
scrapeConfiguration,
                            Key
"Source" Key -> SourceProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= SourceProperty
source]
                           ([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
"Alias" (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)
alias,
                               Key -> RoleConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RoleConfiguration" (RoleConfigurationProperty -> (Key, Value))
-> Maybe RoleConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RoleConfigurationProperty
roleConfiguration,
                               Key -> ScraperLoggingConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ScraperLoggingConfiguration"
                                 (ScraperLoggingConfigurationProperty -> (Key, Value))
-> Maybe ScraperLoggingConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ScraperLoggingConfigurationProperty
scraperLoggingConfiguration,
                               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]))}
instance JSON.ToJSON Scraper where
  toJSON :: Scraper -> Value
toJSON Scraper {Maybe [Tag]
Maybe (Value Text)
Maybe RoleConfigurationProperty
Maybe ScraperLoggingConfigurationProperty
()
DestinationProperty
ScrapeConfigurationProperty
SourceProperty
haddock_workaround_ :: Scraper -> ()
alias :: Scraper -> Maybe (Value Text)
destination :: Scraper -> DestinationProperty
roleConfiguration :: Scraper -> Maybe RoleConfigurationProperty
scrapeConfiguration :: Scraper -> ScrapeConfigurationProperty
scraperLoggingConfiguration :: Scraper -> Maybe ScraperLoggingConfigurationProperty
source :: Scraper -> SourceProperty
tags :: Scraper -> Maybe [Tag]
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
..}
    = [(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
"Destination" Key -> DestinationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= DestinationProperty
destination,
               Key
"ScrapeConfiguration" Key -> ScrapeConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ScrapeConfigurationProperty
scrapeConfiguration,
               Key
"Source" Key -> SourceProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= SourceProperty
source]
              ([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
"Alias" (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)
alias,
                  Key -> RoleConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RoleConfiguration" (RoleConfigurationProperty -> (Key, Value))
-> Maybe RoleConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RoleConfigurationProperty
roleConfiguration,
                  Key -> ScraperLoggingConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ScraperLoggingConfiguration"
                    (ScraperLoggingConfigurationProperty -> (Key, Value))
-> Maybe ScraperLoggingConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ScraperLoggingConfigurationProperty
scraperLoggingConfiguration,
                  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])))
instance Property "Alias" Scraper where
  type PropertyType "Alias" Scraper = Value Prelude.Text
  set :: PropertyType "Alias" Scraper -> Scraper -> Scraper
set PropertyType "Alias" Scraper
newValue Scraper {Maybe [Tag]
Maybe (Value Text)
Maybe RoleConfigurationProperty
Maybe ScraperLoggingConfigurationProperty
()
DestinationProperty
ScrapeConfigurationProperty
SourceProperty
haddock_workaround_ :: Scraper -> ()
alias :: Scraper -> Maybe (Value Text)
destination :: Scraper -> DestinationProperty
roleConfiguration :: Scraper -> Maybe RoleConfigurationProperty
scrapeConfiguration :: Scraper -> ScrapeConfigurationProperty
scraperLoggingConfiguration :: Scraper -> Maybe ScraperLoggingConfigurationProperty
source :: Scraper -> SourceProperty
tags :: Scraper -> Maybe [Tag]
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
..}
    = Scraper {alias :: Maybe (Value Text)
alias = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Alias" Scraper
Value Text
newValue, Maybe [Tag]
Maybe RoleConfigurationProperty
Maybe ScraperLoggingConfigurationProperty
()
DestinationProperty
ScrapeConfigurationProperty
SourceProperty
haddock_workaround_ :: ()
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
..}
instance Property "Destination" Scraper where
  type PropertyType "Destination" Scraper = DestinationProperty
  set :: PropertyType "Destination" Scraper -> Scraper -> Scraper
set PropertyType "Destination" Scraper
newValue Scraper {Maybe [Tag]
Maybe (Value Text)
Maybe RoleConfigurationProperty
Maybe ScraperLoggingConfigurationProperty
()
DestinationProperty
ScrapeConfigurationProperty
SourceProperty
haddock_workaround_ :: Scraper -> ()
alias :: Scraper -> Maybe (Value Text)
destination :: Scraper -> DestinationProperty
roleConfiguration :: Scraper -> Maybe RoleConfigurationProperty
scrapeConfiguration :: Scraper -> ScrapeConfigurationProperty
scraperLoggingConfiguration :: Scraper -> Maybe ScraperLoggingConfigurationProperty
source :: Scraper -> SourceProperty
tags :: Scraper -> Maybe [Tag]
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
..} = Scraper {destination :: DestinationProperty
destination = PropertyType "Destination" Scraper
DestinationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RoleConfigurationProperty
Maybe ScraperLoggingConfigurationProperty
()
ScrapeConfigurationProperty
SourceProperty
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
..}
instance Property "RoleConfiguration" Scraper where
  type PropertyType "RoleConfiguration" Scraper = RoleConfigurationProperty
  set :: PropertyType "RoleConfiguration" Scraper -> Scraper -> Scraper
set PropertyType "RoleConfiguration" Scraper
newValue Scraper {Maybe [Tag]
Maybe (Value Text)
Maybe RoleConfigurationProperty
Maybe ScraperLoggingConfigurationProperty
()
DestinationProperty
ScrapeConfigurationProperty
SourceProperty
haddock_workaround_ :: Scraper -> ()
alias :: Scraper -> Maybe (Value Text)
destination :: Scraper -> DestinationProperty
roleConfiguration :: Scraper -> Maybe RoleConfigurationProperty
scrapeConfiguration :: Scraper -> ScrapeConfigurationProperty
scraperLoggingConfiguration :: Scraper -> Maybe ScraperLoggingConfigurationProperty
source :: Scraper -> SourceProperty
tags :: Scraper -> Maybe [Tag]
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
..}
    = Scraper {roleConfiguration :: Maybe RoleConfigurationProperty
roleConfiguration = RoleConfigurationProperty -> Maybe RoleConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RoleConfiguration" Scraper
RoleConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe ScraperLoggingConfigurationProperty
()
DestinationProperty
ScrapeConfigurationProperty
SourceProperty
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
..}
instance Property "ScrapeConfiguration" Scraper where
  type PropertyType "ScrapeConfiguration" Scraper = ScrapeConfigurationProperty
  set :: PropertyType "ScrapeConfiguration" Scraper -> Scraper -> Scraper
set PropertyType "ScrapeConfiguration" Scraper
newValue Scraper {Maybe [Tag]
Maybe (Value Text)
Maybe RoleConfigurationProperty
Maybe ScraperLoggingConfigurationProperty
()
DestinationProperty
ScrapeConfigurationProperty
SourceProperty
haddock_workaround_ :: Scraper -> ()
alias :: Scraper -> Maybe (Value Text)
destination :: Scraper -> DestinationProperty
roleConfiguration :: Scraper -> Maybe RoleConfigurationProperty
scrapeConfiguration :: Scraper -> ScrapeConfigurationProperty
scraperLoggingConfiguration :: Scraper -> Maybe ScraperLoggingConfigurationProperty
source :: Scraper -> SourceProperty
tags :: Scraper -> Maybe [Tag]
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
..}
    = Scraper {scrapeConfiguration :: ScrapeConfigurationProperty
scrapeConfiguration = PropertyType "ScrapeConfiguration" Scraper
ScrapeConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RoleConfigurationProperty
Maybe ScraperLoggingConfigurationProperty
()
DestinationProperty
SourceProperty
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
..}
instance Property "ScraperLoggingConfiguration" Scraper where
  type PropertyType "ScraperLoggingConfiguration" Scraper = ScraperLoggingConfigurationProperty
  set :: PropertyType "ScraperLoggingConfiguration" Scraper
-> Scraper -> Scraper
set PropertyType "ScraperLoggingConfiguration" Scraper
newValue Scraper {Maybe [Tag]
Maybe (Value Text)
Maybe RoleConfigurationProperty
Maybe ScraperLoggingConfigurationProperty
()
DestinationProperty
ScrapeConfigurationProperty
SourceProperty
haddock_workaround_ :: Scraper -> ()
alias :: Scraper -> Maybe (Value Text)
destination :: Scraper -> DestinationProperty
roleConfiguration :: Scraper -> Maybe RoleConfigurationProperty
scrapeConfiguration :: Scraper -> ScrapeConfigurationProperty
scraperLoggingConfiguration :: Scraper -> Maybe ScraperLoggingConfigurationProperty
source :: Scraper -> SourceProperty
tags :: Scraper -> Maybe [Tag]
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
..}
    = Scraper {scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
scraperLoggingConfiguration = ScraperLoggingConfigurationProperty
-> Maybe ScraperLoggingConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ScraperLoggingConfiguration" Scraper
ScraperLoggingConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RoleConfigurationProperty
()
DestinationProperty
ScrapeConfigurationProperty
SourceProperty
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
..}
instance Property "Source" Scraper where
  type PropertyType "Source" Scraper = SourceProperty
  set :: PropertyType "Source" Scraper -> Scraper -> Scraper
set PropertyType "Source" Scraper
newValue Scraper {Maybe [Tag]
Maybe (Value Text)
Maybe RoleConfigurationProperty
Maybe ScraperLoggingConfigurationProperty
()
DestinationProperty
ScrapeConfigurationProperty
SourceProperty
haddock_workaround_ :: Scraper -> ()
alias :: Scraper -> Maybe (Value Text)
destination :: Scraper -> DestinationProperty
roleConfiguration :: Scraper -> Maybe RoleConfigurationProperty
scrapeConfiguration :: Scraper -> ScrapeConfigurationProperty
scraperLoggingConfiguration :: Scraper -> Maybe ScraperLoggingConfigurationProperty
source :: Scraper -> SourceProperty
tags :: Scraper -> Maybe [Tag]
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
..} = Scraper {source :: SourceProperty
source = PropertyType "Source" Scraper
SourceProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RoleConfigurationProperty
Maybe ScraperLoggingConfigurationProperty
()
DestinationProperty
ScrapeConfigurationProperty
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
tags :: Maybe [Tag]
..}
instance Property "Tags" Scraper where
  type PropertyType "Tags" Scraper = [Tag]
  set :: PropertyType "Tags" Scraper -> Scraper -> Scraper
set PropertyType "Tags" Scraper
newValue Scraper {Maybe [Tag]
Maybe (Value Text)
Maybe RoleConfigurationProperty
Maybe ScraperLoggingConfigurationProperty
()
DestinationProperty
ScrapeConfigurationProperty
SourceProperty
haddock_workaround_ :: Scraper -> ()
alias :: Scraper -> Maybe (Value Text)
destination :: Scraper -> DestinationProperty
roleConfiguration :: Scraper -> Maybe RoleConfigurationProperty
scrapeConfiguration :: Scraper -> ScrapeConfigurationProperty
scraperLoggingConfiguration :: Scraper -> Maybe ScraperLoggingConfigurationProperty
source :: Scraper -> SourceProperty
tags :: Scraper -> Maybe [Tag]
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
tags :: Maybe [Tag]
..}
    = Scraper {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" Scraper
newValue, Maybe (Value Text)
Maybe RoleConfigurationProperty
Maybe ScraperLoggingConfigurationProperty
()
DestinationProperty
ScrapeConfigurationProperty
SourceProperty
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
haddock_workaround_ :: ()
alias :: Maybe (Value Text)
destination :: DestinationProperty
roleConfiguration :: Maybe RoleConfigurationProperty
scrapeConfiguration :: ScrapeConfigurationProperty
scraperLoggingConfiguration :: Maybe ScraperLoggingConfigurationProperty
source :: SourceProperty
..}