{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.Personalize.Types.DatasetExportJob
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.Personalize.Types.DatasetExportJob where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.Personalize.Types.DatasetExportJobOutput
import Amazonka.Personalize.Types.IngestionMode
import qualified Amazonka.Prelude as Prelude

-- | Describes a job that exports a dataset to an Amazon S3 bucket. For more
-- information, see
-- <https://docs.aws.amazon.com/personalize/latest/dg/API_CreateDatasetExportJob.html CreateDatasetExportJob>.
--
-- A dataset export job can be in one of the following states:
--
-- -   CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
--
-- /See:/ 'newDatasetExportJob' smart constructor.
data DatasetExportJob = DatasetExportJob'
  { -- | The creation date and time (in Unix time) of the dataset export job.
    DatasetExportJob -> Maybe POSIX
creationDateTime :: Prelude.Maybe Data.POSIX,
    -- | The Amazon Resource Name (ARN) of the dataset to export.
    DatasetExportJob -> Maybe Text
datasetArn :: Prelude.Maybe Prelude.Text,
    -- | The Amazon Resource Name (ARN) of the dataset export job.
    DatasetExportJob -> Maybe Text
datasetExportJobArn :: Prelude.Maybe Prelude.Text,
    -- | If a dataset export job fails, provides the reason why.
    DatasetExportJob -> Maybe Text
failureReason :: Prelude.Maybe Prelude.Text,
    -- | The data to export, based on how you imported the data. You can choose
    -- to export @BULK@ data that you imported using a dataset import job,
    -- @PUT@ data that you imported incrementally (using the console,
    -- PutEvents, PutUsers and PutItems operations), or @ALL@ for both types.
    -- The default value is @PUT@.
    DatasetExportJob -> Maybe IngestionMode
ingestionMode :: Prelude.Maybe IngestionMode,
    -- | The name of the export job.
    DatasetExportJob -> Maybe Text
jobName :: Prelude.Maybe Prelude.Text,
    -- | The path to the Amazon S3 bucket where the job\'s output is stored. For
    -- example:
    --
    -- @s3:\/\/bucket-name\/folder-name\/@
    DatasetExportJob -> Maybe DatasetExportJobOutput
jobOutput :: Prelude.Maybe DatasetExportJobOutput,
    -- | The date and time (in Unix time) the status of the dataset export job
    -- was last updated.
    DatasetExportJob -> Maybe POSIX
lastUpdatedDateTime :: Prelude.Maybe Data.POSIX,
    -- | The Amazon Resource Name (ARN) of the IAM service role that has
    -- permissions to add data to your output Amazon S3 bucket.
    DatasetExportJob -> Maybe Text
roleArn :: Prelude.Maybe Prelude.Text,
    -- | The status of the dataset export job.
    --
    -- A dataset export job can be in one of the following states:
    --
    -- -   CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
    DatasetExportJob -> Maybe Text
status :: Prelude.Maybe Prelude.Text
  }
  deriving (DatasetExportJob -> DatasetExportJob -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DatasetExportJob -> DatasetExportJob -> Bool
$c/= :: DatasetExportJob -> DatasetExportJob -> Bool
== :: DatasetExportJob -> DatasetExportJob -> Bool
$c== :: DatasetExportJob -> DatasetExportJob -> Bool
Prelude.Eq, ReadPrec [DatasetExportJob]
ReadPrec DatasetExportJob
Int -> ReadS DatasetExportJob
ReadS [DatasetExportJob]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DatasetExportJob]
$creadListPrec :: ReadPrec [DatasetExportJob]
readPrec :: ReadPrec DatasetExportJob
$creadPrec :: ReadPrec DatasetExportJob
readList :: ReadS [DatasetExportJob]
$creadList :: ReadS [DatasetExportJob]
readsPrec :: Int -> ReadS DatasetExportJob
$creadsPrec :: Int -> ReadS DatasetExportJob
Prelude.Read, Int -> DatasetExportJob -> ShowS
[DatasetExportJob] -> ShowS
DatasetExportJob -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DatasetExportJob] -> ShowS
$cshowList :: [DatasetExportJob] -> ShowS
show :: DatasetExportJob -> String
$cshow :: DatasetExportJob -> String
showsPrec :: Int -> DatasetExportJob -> ShowS
$cshowsPrec :: Int -> DatasetExportJob -> ShowS
Prelude.Show, forall x. Rep DatasetExportJob x -> DatasetExportJob
forall x. DatasetExportJob -> Rep DatasetExportJob x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DatasetExportJob x -> DatasetExportJob
$cfrom :: forall x. DatasetExportJob -> Rep DatasetExportJob x
Prelude.Generic)

-- |
-- Create a value of 'DatasetExportJob' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'creationDateTime', 'datasetExportJob_creationDateTime' - The creation date and time (in Unix time) of the dataset export job.
--
-- 'datasetArn', 'datasetExportJob_datasetArn' - The Amazon Resource Name (ARN) of the dataset to export.
--
-- 'datasetExportJobArn', 'datasetExportJob_datasetExportJobArn' - The Amazon Resource Name (ARN) of the dataset export job.
--
-- 'failureReason', 'datasetExportJob_failureReason' - If a dataset export job fails, provides the reason why.
--
-- 'ingestionMode', 'datasetExportJob_ingestionMode' - The data to export, based on how you imported the data. You can choose
-- to export @BULK@ data that you imported using a dataset import job,
-- @PUT@ data that you imported incrementally (using the console,
-- PutEvents, PutUsers and PutItems operations), or @ALL@ for both types.
-- The default value is @PUT@.
--
-- 'jobName', 'datasetExportJob_jobName' - The name of the export job.
--
-- 'jobOutput', 'datasetExportJob_jobOutput' - The path to the Amazon S3 bucket where the job\'s output is stored. For
-- example:
--
-- @s3:\/\/bucket-name\/folder-name\/@
--
-- 'lastUpdatedDateTime', 'datasetExportJob_lastUpdatedDateTime' - The date and time (in Unix time) the status of the dataset export job
-- was last updated.
--
-- 'roleArn', 'datasetExportJob_roleArn' - The Amazon Resource Name (ARN) of the IAM service role that has
-- permissions to add data to your output Amazon S3 bucket.
--
-- 'status', 'datasetExportJob_status' - The status of the dataset export job.
--
-- A dataset export job can be in one of the following states:
--
-- -   CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
newDatasetExportJob ::
  DatasetExportJob
newDatasetExportJob :: DatasetExportJob
newDatasetExportJob =
  DatasetExportJob'
    { $sel:creationDateTime:DatasetExportJob' :: Maybe POSIX
creationDateTime =
        forall a. Maybe a
Prelude.Nothing,
      $sel:datasetArn:DatasetExportJob' :: Maybe Text
datasetArn = forall a. Maybe a
Prelude.Nothing,
      $sel:datasetExportJobArn:DatasetExportJob' :: Maybe Text
datasetExportJobArn = forall a. Maybe a
Prelude.Nothing,
      $sel:failureReason:DatasetExportJob' :: Maybe Text
failureReason = forall a. Maybe a
Prelude.Nothing,
      $sel:ingestionMode:DatasetExportJob' :: Maybe IngestionMode
ingestionMode = forall a. Maybe a
Prelude.Nothing,
      $sel:jobName:DatasetExportJob' :: Maybe Text
jobName = forall a. Maybe a
Prelude.Nothing,
      $sel:jobOutput:DatasetExportJob' :: Maybe DatasetExportJobOutput
jobOutput = forall a. Maybe a
Prelude.Nothing,
      $sel:lastUpdatedDateTime:DatasetExportJob' :: Maybe POSIX
lastUpdatedDateTime = forall a. Maybe a
Prelude.Nothing,
      $sel:roleArn:DatasetExportJob' :: Maybe Text
roleArn = forall a. Maybe a
Prelude.Nothing,
      $sel:status:DatasetExportJob' :: Maybe Text
status = forall a. Maybe a
Prelude.Nothing
    }

-- | The creation date and time (in Unix time) of the dataset export job.
datasetExportJob_creationDateTime :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.UTCTime)
datasetExportJob_creationDateTime :: Lens' DatasetExportJob (Maybe UTCTime)
datasetExportJob_creationDateTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe POSIX
creationDateTime :: Maybe POSIX
$sel:creationDateTime:DatasetExportJob' :: DatasetExportJob -> Maybe POSIX
creationDateTime} -> Maybe POSIX
creationDateTime) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe POSIX
a -> DatasetExportJob
s {$sel:creationDateTime:DatasetExportJob' :: Maybe POSIX
creationDateTime = Maybe POSIX
a} :: DatasetExportJob) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The Amazon Resource Name (ARN) of the dataset to export.
datasetExportJob_datasetArn :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.Text)
datasetExportJob_datasetArn :: Lens' DatasetExportJob (Maybe Text)
datasetExportJob_datasetArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe Text
datasetArn :: Maybe Text
$sel:datasetArn:DatasetExportJob' :: DatasetExportJob -> Maybe Text
datasetArn} -> Maybe Text
datasetArn) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe Text
a -> DatasetExportJob
s {$sel:datasetArn:DatasetExportJob' :: Maybe Text
datasetArn = Maybe Text
a} :: DatasetExportJob)

-- | The Amazon Resource Name (ARN) of the dataset export job.
datasetExportJob_datasetExportJobArn :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.Text)
datasetExportJob_datasetExportJobArn :: Lens' DatasetExportJob (Maybe Text)
datasetExportJob_datasetExportJobArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe Text
datasetExportJobArn :: Maybe Text
$sel:datasetExportJobArn:DatasetExportJob' :: DatasetExportJob -> Maybe Text
datasetExportJobArn} -> Maybe Text
datasetExportJobArn) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe Text
a -> DatasetExportJob
s {$sel:datasetExportJobArn:DatasetExportJob' :: Maybe Text
datasetExportJobArn = Maybe Text
a} :: DatasetExportJob)

-- | If a dataset export job fails, provides the reason why.
datasetExportJob_failureReason :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.Text)
datasetExportJob_failureReason :: Lens' DatasetExportJob (Maybe Text)
datasetExportJob_failureReason = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe Text
failureReason :: Maybe Text
$sel:failureReason:DatasetExportJob' :: DatasetExportJob -> Maybe Text
failureReason} -> Maybe Text
failureReason) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe Text
a -> DatasetExportJob
s {$sel:failureReason:DatasetExportJob' :: Maybe Text
failureReason = Maybe Text
a} :: DatasetExportJob)

-- | The data to export, based on how you imported the data. You can choose
-- to export @BULK@ data that you imported using a dataset import job,
-- @PUT@ data that you imported incrementally (using the console,
-- PutEvents, PutUsers and PutItems operations), or @ALL@ for both types.
-- The default value is @PUT@.
datasetExportJob_ingestionMode :: Lens.Lens' DatasetExportJob (Prelude.Maybe IngestionMode)
datasetExportJob_ingestionMode :: Lens' DatasetExportJob (Maybe IngestionMode)
datasetExportJob_ingestionMode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe IngestionMode
ingestionMode :: Maybe IngestionMode
$sel:ingestionMode:DatasetExportJob' :: DatasetExportJob -> Maybe IngestionMode
ingestionMode} -> Maybe IngestionMode
ingestionMode) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe IngestionMode
a -> DatasetExportJob
s {$sel:ingestionMode:DatasetExportJob' :: Maybe IngestionMode
ingestionMode = Maybe IngestionMode
a} :: DatasetExportJob)

-- | The name of the export job.
datasetExportJob_jobName :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.Text)
datasetExportJob_jobName :: Lens' DatasetExportJob (Maybe Text)
datasetExportJob_jobName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe Text
jobName :: Maybe Text
$sel:jobName:DatasetExportJob' :: DatasetExportJob -> Maybe Text
jobName} -> Maybe Text
jobName) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe Text
a -> DatasetExportJob
s {$sel:jobName:DatasetExportJob' :: Maybe Text
jobName = Maybe Text
a} :: DatasetExportJob)

-- | The path to the Amazon S3 bucket where the job\'s output is stored. For
-- example:
--
-- @s3:\/\/bucket-name\/folder-name\/@
datasetExportJob_jobOutput :: Lens.Lens' DatasetExportJob (Prelude.Maybe DatasetExportJobOutput)
datasetExportJob_jobOutput :: Lens' DatasetExportJob (Maybe DatasetExportJobOutput)
datasetExportJob_jobOutput = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe DatasetExportJobOutput
jobOutput :: Maybe DatasetExportJobOutput
$sel:jobOutput:DatasetExportJob' :: DatasetExportJob -> Maybe DatasetExportJobOutput
jobOutput} -> Maybe DatasetExportJobOutput
jobOutput) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe DatasetExportJobOutput
a -> DatasetExportJob
s {$sel:jobOutput:DatasetExportJob' :: Maybe DatasetExportJobOutput
jobOutput = Maybe DatasetExportJobOutput
a} :: DatasetExportJob)

-- | The date and time (in Unix time) the status of the dataset export job
-- was last updated.
datasetExportJob_lastUpdatedDateTime :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.UTCTime)
datasetExportJob_lastUpdatedDateTime :: Lens' DatasetExportJob (Maybe UTCTime)
datasetExportJob_lastUpdatedDateTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe POSIX
lastUpdatedDateTime :: Maybe POSIX
$sel:lastUpdatedDateTime:DatasetExportJob' :: DatasetExportJob -> Maybe POSIX
lastUpdatedDateTime} -> Maybe POSIX
lastUpdatedDateTime) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe POSIX
a -> DatasetExportJob
s {$sel:lastUpdatedDateTime:DatasetExportJob' :: Maybe POSIX
lastUpdatedDateTime = Maybe POSIX
a} :: DatasetExportJob) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The Amazon Resource Name (ARN) of the IAM service role that has
-- permissions to add data to your output Amazon S3 bucket.
datasetExportJob_roleArn :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.Text)
datasetExportJob_roleArn :: Lens' DatasetExportJob (Maybe Text)
datasetExportJob_roleArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe Text
roleArn :: Maybe Text
$sel:roleArn:DatasetExportJob' :: DatasetExportJob -> Maybe Text
roleArn} -> Maybe Text
roleArn) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe Text
a -> DatasetExportJob
s {$sel:roleArn:DatasetExportJob' :: Maybe Text
roleArn = Maybe Text
a} :: DatasetExportJob)

-- | The status of the dataset export job.
--
-- A dataset export job can be in one of the following states:
--
-- -   CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
datasetExportJob_status :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.Text)
datasetExportJob_status :: Lens' DatasetExportJob (Maybe Text)
datasetExportJob_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe Text
status :: Maybe Text
$sel:status:DatasetExportJob' :: DatasetExportJob -> Maybe Text
status} -> Maybe Text
status) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe Text
a -> DatasetExportJob
s {$sel:status:DatasetExportJob' :: Maybe Text
status = Maybe Text
a} :: DatasetExportJob)

instance Data.FromJSON DatasetExportJob where
  parseJSON :: Value -> Parser DatasetExportJob
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"DatasetExportJob"
      ( \Object
x ->
          Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe IngestionMode
-> Maybe Text
-> Maybe DatasetExportJobOutput
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> DatasetExportJob
DatasetExportJob'
            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
"creationDateTime")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"datasetArn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"datasetExportJobArn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"failureReason")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ingestionMode")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"jobName")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"jobOutput")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"lastUpdatedDateTime")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"roleArn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"status")
      )

instance Prelude.Hashable DatasetExportJob where
  hashWithSalt :: Int -> DatasetExportJob -> Int
hashWithSalt Int
_salt DatasetExportJob' {Maybe Text
Maybe POSIX
Maybe IngestionMode
Maybe DatasetExportJobOutput
status :: Maybe Text
roleArn :: Maybe Text
lastUpdatedDateTime :: Maybe POSIX
jobOutput :: Maybe DatasetExportJobOutput
jobName :: Maybe Text
ingestionMode :: Maybe IngestionMode
failureReason :: Maybe Text
datasetExportJobArn :: Maybe Text
datasetArn :: Maybe Text
creationDateTime :: Maybe POSIX
$sel:status:DatasetExportJob' :: DatasetExportJob -> Maybe Text
$sel:roleArn:DatasetExportJob' :: DatasetExportJob -> Maybe Text
$sel:lastUpdatedDateTime:DatasetExportJob' :: DatasetExportJob -> Maybe POSIX
$sel:jobOutput:DatasetExportJob' :: DatasetExportJob -> Maybe DatasetExportJobOutput
$sel:jobName:DatasetExportJob' :: DatasetExportJob -> Maybe Text
$sel:ingestionMode:DatasetExportJob' :: DatasetExportJob -> Maybe IngestionMode
$sel:failureReason:DatasetExportJob' :: DatasetExportJob -> Maybe Text
$sel:datasetExportJobArn:DatasetExportJob' :: DatasetExportJob -> Maybe Text
$sel:datasetArn:DatasetExportJob' :: DatasetExportJob -> Maybe Text
$sel:creationDateTime:DatasetExportJob' :: DatasetExportJob -> Maybe POSIX
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
creationDateTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
datasetArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
datasetExportJobArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
failureReason
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe IngestionMode
ingestionMode
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
jobName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe DatasetExportJobOutput
jobOutput
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
lastUpdatedDateTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
roleArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
status

instance Prelude.NFData DatasetExportJob where
  rnf :: DatasetExportJob -> ()
rnf DatasetExportJob' {Maybe Text
Maybe POSIX
Maybe IngestionMode
Maybe DatasetExportJobOutput
status :: Maybe Text
roleArn :: Maybe Text
lastUpdatedDateTime :: Maybe POSIX
jobOutput :: Maybe DatasetExportJobOutput
jobName :: Maybe Text
ingestionMode :: Maybe IngestionMode
failureReason :: Maybe Text
datasetExportJobArn :: Maybe Text
datasetArn :: Maybe Text
creationDateTime :: Maybe POSIX
$sel:status:DatasetExportJob' :: DatasetExportJob -> Maybe Text
$sel:roleArn:DatasetExportJob' :: DatasetExportJob -> Maybe Text
$sel:lastUpdatedDateTime:DatasetExportJob' :: DatasetExportJob -> Maybe POSIX
$sel:jobOutput:DatasetExportJob' :: DatasetExportJob -> Maybe DatasetExportJobOutput
$sel:jobName:DatasetExportJob' :: DatasetExportJob -> Maybe Text
$sel:ingestionMode:DatasetExportJob' :: DatasetExportJob -> Maybe IngestionMode
$sel:failureReason:DatasetExportJob' :: DatasetExportJob -> Maybe Text
$sel:datasetExportJobArn:DatasetExportJob' :: DatasetExportJob -> Maybe Text
$sel:datasetArn:DatasetExportJob' :: DatasetExportJob -> Maybe Text
$sel:creationDateTime:DatasetExportJob' :: DatasetExportJob -> Maybe POSIX
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
creationDateTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
datasetArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
datasetExportJobArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
failureReason
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe IngestionMode
ingestionMode
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
jobName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe DatasetExportJobOutput
jobOutput
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastUpdatedDateTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
roleArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
status