{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Glue.Types.ExportLabelsTaskRunProperties where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data ExportLabelsTaskRunProperties = ExportLabelsTaskRunProperties'
{
ExportLabelsTaskRunProperties -> Maybe Text
outputS3Path :: Prelude.Maybe Prelude.Text
}
deriving (ExportLabelsTaskRunProperties
-> ExportLabelsTaskRunProperties -> Bool
(ExportLabelsTaskRunProperties
-> ExportLabelsTaskRunProperties -> Bool)
-> (ExportLabelsTaskRunProperties
-> ExportLabelsTaskRunProperties -> Bool)
-> Eq ExportLabelsTaskRunProperties
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ExportLabelsTaskRunProperties
-> ExportLabelsTaskRunProperties -> Bool
$c/= :: ExportLabelsTaskRunProperties
-> ExportLabelsTaskRunProperties -> Bool
== :: ExportLabelsTaskRunProperties
-> ExportLabelsTaskRunProperties -> Bool
$c== :: ExportLabelsTaskRunProperties
-> ExportLabelsTaskRunProperties -> Bool
Prelude.Eq, ReadPrec [ExportLabelsTaskRunProperties]
ReadPrec ExportLabelsTaskRunProperties
Int -> ReadS ExportLabelsTaskRunProperties
ReadS [ExportLabelsTaskRunProperties]
(Int -> ReadS ExportLabelsTaskRunProperties)
-> ReadS [ExportLabelsTaskRunProperties]
-> ReadPrec ExportLabelsTaskRunProperties
-> ReadPrec [ExportLabelsTaskRunProperties]
-> Read ExportLabelsTaskRunProperties
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ExportLabelsTaskRunProperties]
$creadListPrec :: ReadPrec [ExportLabelsTaskRunProperties]
readPrec :: ReadPrec ExportLabelsTaskRunProperties
$creadPrec :: ReadPrec ExportLabelsTaskRunProperties
readList :: ReadS [ExportLabelsTaskRunProperties]
$creadList :: ReadS [ExportLabelsTaskRunProperties]
readsPrec :: Int -> ReadS ExportLabelsTaskRunProperties
$creadsPrec :: Int -> ReadS ExportLabelsTaskRunProperties
Prelude.Read, Int -> ExportLabelsTaskRunProperties -> ShowS
[ExportLabelsTaskRunProperties] -> ShowS
ExportLabelsTaskRunProperties -> String
(Int -> ExportLabelsTaskRunProperties -> ShowS)
-> (ExportLabelsTaskRunProperties -> String)
-> ([ExportLabelsTaskRunProperties] -> ShowS)
-> Show ExportLabelsTaskRunProperties
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ExportLabelsTaskRunProperties] -> ShowS
$cshowList :: [ExportLabelsTaskRunProperties] -> ShowS
show :: ExportLabelsTaskRunProperties -> String
$cshow :: ExportLabelsTaskRunProperties -> String
showsPrec :: Int -> ExportLabelsTaskRunProperties -> ShowS
$cshowsPrec :: Int -> ExportLabelsTaskRunProperties -> ShowS
Prelude.Show, (forall x.
ExportLabelsTaskRunProperties
-> Rep ExportLabelsTaskRunProperties x)
-> (forall x.
Rep ExportLabelsTaskRunProperties x
-> ExportLabelsTaskRunProperties)
-> Generic ExportLabelsTaskRunProperties
forall x.
Rep ExportLabelsTaskRunProperties x
-> ExportLabelsTaskRunProperties
forall x.
ExportLabelsTaskRunProperties
-> Rep ExportLabelsTaskRunProperties x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ExportLabelsTaskRunProperties x
-> ExportLabelsTaskRunProperties
$cfrom :: forall x.
ExportLabelsTaskRunProperties
-> Rep ExportLabelsTaskRunProperties x
Prelude.Generic)
newExportLabelsTaskRunProperties ::
ExportLabelsTaskRunProperties
newExportLabelsTaskRunProperties :: ExportLabelsTaskRunProperties
newExportLabelsTaskRunProperties =
ExportLabelsTaskRunProperties' :: Maybe Text -> ExportLabelsTaskRunProperties
ExportLabelsTaskRunProperties'
{ $sel:outputS3Path:ExportLabelsTaskRunProperties' :: Maybe Text
outputS3Path =
Maybe Text
forall a. Maybe a
Prelude.Nothing
}
exportLabelsTaskRunProperties_outputS3Path :: Lens.Lens' ExportLabelsTaskRunProperties (Prelude.Maybe Prelude.Text)
exportLabelsTaskRunProperties_outputS3Path :: (Maybe Text -> f (Maybe Text))
-> ExportLabelsTaskRunProperties -> f ExportLabelsTaskRunProperties
exportLabelsTaskRunProperties_outputS3Path = (ExportLabelsTaskRunProperties -> Maybe Text)
-> (ExportLabelsTaskRunProperties
-> Maybe Text -> ExportLabelsTaskRunProperties)
-> Lens
ExportLabelsTaskRunProperties
ExportLabelsTaskRunProperties
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ExportLabelsTaskRunProperties' {Maybe Text
outputS3Path :: Maybe Text
$sel:outputS3Path:ExportLabelsTaskRunProperties' :: ExportLabelsTaskRunProperties -> Maybe Text
outputS3Path} -> Maybe Text
outputS3Path) (\s :: ExportLabelsTaskRunProperties
s@ExportLabelsTaskRunProperties' {} Maybe Text
a -> ExportLabelsTaskRunProperties
s {$sel:outputS3Path:ExportLabelsTaskRunProperties' :: Maybe Text
outputS3Path = Maybe Text
a} :: ExportLabelsTaskRunProperties)
instance Core.FromJSON ExportLabelsTaskRunProperties where
parseJSON :: Value -> Parser ExportLabelsTaskRunProperties
parseJSON =
String
-> (Object -> Parser ExportLabelsTaskRunProperties)
-> Value
-> Parser ExportLabelsTaskRunProperties
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"ExportLabelsTaskRunProperties"
( \Object
x ->
Maybe Text -> ExportLabelsTaskRunProperties
ExportLabelsTaskRunProperties'
(Maybe Text -> ExportLabelsTaskRunProperties)
-> Parser (Maybe Text) -> Parser ExportLabelsTaskRunProperties
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"OutputS3Path")
)
instance
Prelude.Hashable
ExportLabelsTaskRunProperties
instance Prelude.NFData ExportLabelsTaskRunProperties