module Stratosphere.MediaTailor.SourceLocation (
module Exports, SourceLocation(..), mkSourceLocation
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.MediaTailor.SourceLocation.AccessConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaTailor.SourceLocation.DefaultSegmentDeliveryConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaTailor.SourceLocation.HttpConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaTailor.SourceLocation.SegmentDeliveryConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data SourceLocation
=
SourceLocation {SourceLocation -> ()
haddock_workaround_ :: (),
SourceLocation -> Maybe AccessConfigurationProperty
accessConfiguration :: (Prelude.Maybe AccessConfigurationProperty),
SourceLocation -> Maybe DefaultSegmentDeliveryConfigurationProperty
defaultSegmentDeliveryConfiguration :: (Prelude.Maybe DefaultSegmentDeliveryConfigurationProperty),
SourceLocation -> HttpConfigurationProperty
httpConfiguration :: HttpConfigurationProperty,
SourceLocation -> Maybe [SegmentDeliveryConfigurationProperty]
segmentDeliveryConfigurations :: (Prelude.Maybe [SegmentDeliveryConfigurationProperty]),
SourceLocation -> Value Text
sourceLocationName :: (Value Prelude.Text),
SourceLocation -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
deriving stock (SourceLocation -> SourceLocation -> Bool
(SourceLocation -> SourceLocation -> Bool)
-> (SourceLocation -> SourceLocation -> Bool) -> Eq SourceLocation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SourceLocation -> SourceLocation -> Bool
== :: SourceLocation -> SourceLocation -> Bool
$c/= :: SourceLocation -> SourceLocation -> Bool
/= :: SourceLocation -> SourceLocation -> Bool
Prelude.Eq, Int -> SourceLocation -> ShowS
[SourceLocation] -> ShowS
SourceLocation -> String
(Int -> SourceLocation -> ShowS)
-> (SourceLocation -> String)
-> ([SourceLocation] -> ShowS)
-> Show SourceLocation
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SourceLocation -> ShowS
showsPrec :: Int -> SourceLocation -> ShowS
$cshow :: SourceLocation -> String
show :: SourceLocation -> String
$cshowList :: [SourceLocation] -> ShowS
showList :: [SourceLocation] -> ShowS
Prelude.Show)
mkSourceLocation ::
HttpConfigurationProperty -> Value Prelude.Text -> SourceLocation
mkSourceLocation :: HttpConfigurationProperty -> Value Text -> SourceLocation
mkSourceLocation HttpConfigurationProperty
httpConfiguration Value Text
sourceLocationName
= SourceLocation
{haddock_workaround_ :: ()
haddock_workaround_ = (), httpConfiguration :: HttpConfigurationProperty
httpConfiguration = HttpConfigurationProperty
httpConfiguration,
sourceLocationName :: Value Text
sourceLocationName = Value Text
sourceLocationName,
accessConfiguration :: Maybe AccessConfigurationProperty
accessConfiguration = Maybe AccessConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
defaultSegmentDeliveryConfiguration = Maybe DefaultSegmentDeliveryConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
segmentDeliveryConfigurations = Maybe [SegmentDeliveryConfigurationProperty]
forall a. Maybe a
Prelude.Nothing,
tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties SourceLocation where
toResourceProperties :: SourceLocation -> ResourceProperties
toResourceProperties SourceLocation {Maybe [Tag]
Maybe [SegmentDeliveryConfigurationProperty]
Maybe DefaultSegmentDeliveryConfigurationProperty
Maybe AccessConfigurationProperty
()
Value Text
HttpConfigurationProperty
haddock_workaround_ :: SourceLocation -> ()
accessConfiguration :: SourceLocation -> Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: SourceLocation -> Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: SourceLocation -> HttpConfigurationProperty
segmentDeliveryConfigurations :: SourceLocation -> Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: SourceLocation -> Value Text
tags :: SourceLocation -> Maybe [Tag]
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
tags :: Maybe [Tag]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::MediaTailor::SourceLocation",
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
"HttpConfiguration" Key -> HttpConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= HttpConfigurationProperty
httpConfiguration,
Key
"SourceLocationName" 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
sourceLocationName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> AccessConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AccessConfiguration" (AccessConfigurationProperty -> (Key, Value))
-> Maybe AccessConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AccessConfigurationProperty
accessConfiguration,
Key -> DefaultSegmentDeliveryConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DefaultSegmentDeliveryConfiguration"
(DefaultSegmentDeliveryConfigurationProperty -> (Key, Value))
-> Maybe DefaultSegmentDeliveryConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DefaultSegmentDeliveryConfigurationProperty
defaultSegmentDeliveryConfiguration,
Key -> [SegmentDeliveryConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SegmentDeliveryConfigurations"
([SegmentDeliveryConfigurationProperty] -> (Key, Value))
-> Maybe [SegmentDeliveryConfigurationProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SegmentDeliveryConfigurationProperty]
segmentDeliveryConfigurations,
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 SourceLocation where
toJSON :: SourceLocation -> Value
toJSON SourceLocation {Maybe [Tag]
Maybe [SegmentDeliveryConfigurationProperty]
Maybe DefaultSegmentDeliveryConfigurationProperty
Maybe AccessConfigurationProperty
()
Value Text
HttpConfigurationProperty
haddock_workaround_ :: SourceLocation -> ()
accessConfiguration :: SourceLocation -> Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: SourceLocation -> Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: SourceLocation -> HttpConfigurationProperty
segmentDeliveryConfigurations :: SourceLocation -> Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: SourceLocation -> Value Text
tags :: SourceLocation -> Maybe [Tag]
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
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
"HttpConfiguration" Key -> HttpConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= HttpConfigurationProperty
httpConfiguration,
Key
"SourceLocationName" 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
sourceLocationName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> AccessConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AccessConfiguration" (AccessConfigurationProperty -> (Key, Value))
-> Maybe AccessConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AccessConfigurationProperty
accessConfiguration,
Key -> DefaultSegmentDeliveryConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DefaultSegmentDeliveryConfiguration"
(DefaultSegmentDeliveryConfigurationProperty -> (Key, Value))
-> Maybe DefaultSegmentDeliveryConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DefaultSegmentDeliveryConfigurationProperty
defaultSegmentDeliveryConfiguration,
Key -> [SegmentDeliveryConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SegmentDeliveryConfigurations"
([SegmentDeliveryConfigurationProperty] -> (Key, Value))
-> Maybe [SegmentDeliveryConfigurationProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SegmentDeliveryConfigurationProperty]
segmentDeliveryConfigurations,
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 "AccessConfiguration" SourceLocation where
type PropertyType "AccessConfiguration" SourceLocation = AccessConfigurationProperty
set :: PropertyType "AccessConfiguration" SourceLocation
-> SourceLocation -> SourceLocation
set PropertyType "AccessConfiguration" SourceLocation
newValue SourceLocation {Maybe [Tag]
Maybe [SegmentDeliveryConfigurationProperty]
Maybe DefaultSegmentDeliveryConfigurationProperty
Maybe AccessConfigurationProperty
()
Value Text
HttpConfigurationProperty
haddock_workaround_ :: SourceLocation -> ()
accessConfiguration :: SourceLocation -> Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: SourceLocation -> Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: SourceLocation -> HttpConfigurationProperty
segmentDeliveryConfigurations :: SourceLocation -> Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: SourceLocation -> Value Text
tags :: SourceLocation -> Maybe [Tag]
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
tags :: Maybe [Tag]
..}
= SourceLocation {accessConfiguration :: Maybe AccessConfigurationProperty
accessConfiguration = AccessConfigurationProperty -> Maybe AccessConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AccessConfiguration" SourceLocation
AccessConfigurationProperty
newValue, Maybe [Tag]
Maybe [SegmentDeliveryConfigurationProperty]
Maybe DefaultSegmentDeliveryConfigurationProperty
()
Value Text
HttpConfigurationProperty
haddock_workaround_ :: ()
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
tags :: Maybe [Tag]
..}
instance Property "DefaultSegmentDeliveryConfiguration" SourceLocation where
type PropertyType "DefaultSegmentDeliveryConfiguration" SourceLocation = DefaultSegmentDeliveryConfigurationProperty
set :: PropertyType "DefaultSegmentDeliveryConfiguration" SourceLocation
-> SourceLocation -> SourceLocation
set PropertyType "DefaultSegmentDeliveryConfiguration" SourceLocation
newValue SourceLocation {Maybe [Tag]
Maybe [SegmentDeliveryConfigurationProperty]
Maybe DefaultSegmentDeliveryConfigurationProperty
Maybe AccessConfigurationProperty
()
Value Text
HttpConfigurationProperty
haddock_workaround_ :: SourceLocation -> ()
accessConfiguration :: SourceLocation -> Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: SourceLocation -> Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: SourceLocation -> HttpConfigurationProperty
segmentDeliveryConfigurations :: SourceLocation -> Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: SourceLocation -> Value Text
tags :: SourceLocation -> Maybe [Tag]
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
tags :: Maybe [Tag]
..}
= SourceLocation
{defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
defaultSegmentDeliveryConfiguration = DefaultSegmentDeliveryConfigurationProperty
-> Maybe DefaultSegmentDeliveryConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DefaultSegmentDeliveryConfiguration" SourceLocation
DefaultSegmentDeliveryConfigurationProperty
newValue, Maybe [Tag]
Maybe [SegmentDeliveryConfigurationProperty]
Maybe AccessConfigurationProperty
()
Value Text
HttpConfigurationProperty
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
tags :: Maybe [Tag]
..}
instance Property "HttpConfiguration" SourceLocation where
type PropertyType "HttpConfiguration" SourceLocation = HttpConfigurationProperty
set :: PropertyType "HttpConfiguration" SourceLocation
-> SourceLocation -> SourceLocation
set PropertyType "HttpConfiguration" SourceLocation
newValue SourceLocation {Maybe [Tag]
Maybe [SegmentDeliveryConfigurationProperty]
Maybe DefaultSegmentDeliveryConfigurationProperty
Maybe AccessConfigurationProperty
()
Value Text
HttpConfigurationProperty
haddock_workaround_ :: SourceLocation -> ()
accessConfiguration :: SourceLocation -> Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: SourceLocation -> Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: SourceLocation -> HttpConfigurationProperty
segmentDeliveryConfigurations :: SourceLocation -> Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: SourceLocation -> Value Text
tags :: SourceLocation -> Maybe [Tag]
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
tags :: Maybe [Tag]
..}
= SourceLocation {httpConfiguration :: HttpConfigurationProperty
httpConfiguration = PropertyType "HttpConfiguration" SourceLocation
HttpConfigurationProperty
newValue, Maybe [Tag]
Maybe [SegmentDeliveryConfigurationProperty]
Maybe DefaultSegmentDeliveryConfigurationProperty
Maybe AccessConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
tags :: Maybe [Tag]
..}
instance Property "SegmentDeliveryConfigurations" SourceLocation where
type PropertyType "SegmentDeliveryConfigurations" SourceLocation = [SegmentDeliveryConfigurationProperty]
set :: PropertyType "SegmentDeliveryConfigurations" SourceLocation
-> SourceLocation -> SourceLocation
set PropertyType "SegmentDeliveryConfigurations" SourceLocation
newValue SourceLocation {Maybe [Tag]
Maybe [SegmentDeliveryConfigurationProperty]
Maybe DefaultSegmentDeliveryConfigurationProperty
Maybe AccessConfigurationProperty
()
Value Text
HttpConfigurationProperty
haddock_workaround_ :: SourceLocation -> ()
accessConfiguration :: SourceLocation -> Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: SourceLocation -> Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: SourceLocation -> HttpConfigurationProperty
segmentDeliveryConfigurations :: SourceLocation -> Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: SourceLocation -> Value Text
tags :: SourceLocation -> Maybe [Tag]
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
tags :: Maybe [Tag]
..}
= SourceLocation
{segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
segmentDeliveryConfigurations = [SegmentDeliveryConfigurationProperty]
-> Maybe [SegmentDeliveryConfigurationProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [SegmentDeliveryConfigurationProperty]
PropertyType "SegmentDeliveryConfigurations" SourceLocation
newValue, Maybe [Tag]
Maybe DefaultSegmentDeliveryConfigurationProperty
Maybe AccessConfigurationProperty
()
Value Text
HttpConfigurationProperty
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
sourceLocationName :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
sourceLocationName :: Value Text
tags :: Maybe [Tag]
..}
instance Property "SourceLocationName" SourceLocation where
type PropertyType "SourceLocationName" SourceLocation = Value Prelude.Text
set :: PropertyType "SourceLocationName" SourceLocation
-> SourceLocation -> SourceLocation
set PropertyType "SourceLocationName" SourceLocation
newValue SourceLocation {Maybe [Tag]
Maybe [SegmentDeliveryConfigurationProperty]
Maybe DefaultSegmentDeliveryConfigurationProperty
Maybe AccessConfigurationProperty
()
Value Text
HttpConfigurationProperty
haddock_workaround_ :: SourceLocation -> ()
accessConfiguration :: SourceLocation -> Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: SourceLocation -> Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: SourceLocation -> HttpConfigurationProperty
segmentDeliveryConfigurations :: SourceLocation -> Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: SourceLocation -> Value Text
tags :: SourceLocation -> Maybe [Tag]
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
tags :: Maybe [Tag]
..}
= SourceLocation {sourceLocationName :: Value Text
sourceLocationName = PropertyType "SourceLocationName" SourceLocation
Value Text
newValue, Maybe [Tag]
Maybe [SegmentDeliveryConfigurationProperty]
Maybe DefaultSegmentDeliveryConfigurationProperty
Maybe AccessConfigurationProperty
()
HttpConfigurationProperty
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
tags :: Maybe [Tag]
..}
instance Property "Tags" SourceLocation where
type PropertyType "Tags" SourceLocation = [Tag]
set :: PropertyType "Tags" SourceLocation
-> SourceLocation -> SourceLocation
set PropertyType "Tags" SourceLocation
newValue SourceLocation {Maybe [Tag]
Maybe [SegmentDeliveryConfigurationProperty]
Maybe DefaultSegmentDeliveryConfigurationProperty
Maybe AccessConfigurationProperty
()
Value Text
HttpConfigurationProperty
haddock_workaround_ :: SourceLocation -> ()
accessConfiguration :: SourceLocation -> Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: SourceLocation -> Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: SourceLocation -> HttpConfigurationProperty
segmentDeliveryConfigurations :: SourceLocation -> Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: SourceLocation -> Value Text
tags :: SourceLocation -> Maybe [Tag]
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
tags :: Maybe [Tag]
..}
= SourceLocation {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" SourceLocation
newValue, Maybe [SegmentDeliveryConfigurationProperty]
Maybe DefaultSegmentDeliveryConfigurationProperty
Maybe AccessConfigurationProperty
()
Value Text
HttpConfigurationProperty
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
haddock_workaround_ :: ()
accessConfiguration :: Maybe AccessConfigurationProperty
defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfigurationProperty
httpConfiguration :: HttpConfigurationProperty
segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfigurationProperty]
sourceLocationName :: Value Text
..}