{-# 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.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
data ExportLabelsTaskRunProperties = ExportLabelsTaskRunProperties'
{
ExportLabelsTaskRunProperties -> Maybe Text
outputS3Path :: Prelude.Maybe Prelude.Text
}
deriving (ExportLabelsTaskRunProperties
-> ExportLabelsTaskRunProperties -> Bool
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]
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
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.
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'
{ $sel:outputS3Path:ExportLabelsTaskRunProperties' :: Maybe Text
outputS3Path =
forall a. Maybe a
Prelude.Nothing
}
exportLabelsTaskRunProperties_outputS3Path :: Lens.Lens' ExportLabelsTaskRunProperties (Prelude.Maybe Prelude.Text)
exportLabelsTaskRunProperties_outputS3Path :: Lens' ExportLabelsTaskRunProperties (Maybe Text)
exportLabelsTaskRunProperties_outputS3Path = 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 Data.FromJSON ExportLabelsTaskRunProperties where
parseJSON :: Value -> Parser ExportLabelsTaskRunProperties
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"ExportLabelsTaskRunProperties"
( \Object
x ->
Maybe Text -> ExportLabelsTaskRunProperties
ExportLabelsTaskRunProperties'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"OutputS3Path")
)
instance
Prelude.Hashable
ExportLabelsTaskRunProperties
where
hashWithSalt :: Int -> ExportLabelsTaskRunProperties -> Int
hashWithSalt Int
_salt ExportLabelsTaskRunProperties' {Maybe Text
outputS3Path :: Maybe Text
$sel:outputS3Path:ExportLabelsTaskRunProperties' :: ExportLabelsTaskRunProperties -> Maybe Text
..} =
Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
outputS3Path
instance Prelude.NFData ExportLabelsTaskRunProperties where
rnf :: ExportLabelsTaskRunProperties -> ()
rnf ExportLabelsTaskRunProperties' {Maybe Text
outputS3Path :: Maybe Text
$sel:outputS3Path:ExportLabelsTaskRunProperties' :: ExportLabelsTaskRunProperties -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
outputS3Path