{-# 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.FraudDetector.Types.BatchImport
-- 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.FraudDetector.Types.BatchImport where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.FraudDetector.Types.AsyncJobStatus
import qualified Amazonka.Prelude as Prelude

-- | The batch import job details.
--
-- /See:/ 'newBatchImport' smart constructor.
data BatchImport = BatchImport'
  { -- | The ARN of the batch import job.
    BatchImport -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
    -- | Timestamp of when batch import job completed.
    BatchImport -> Maybe Text
completionTime :: Prelude.Maybe Prelude.Text,
    -- | The name of the event type.
    BatchImport -> Maybe Text
eventTypeName :: Prelude.Maybe Prelude.Text,
    -- | The number of records that failed to import.
    BatchImport -> Maybe Int
failedRecordsCount :: Prelude.Maybe Prelude.Int,
    -- | The reason batch import job failed.
    BatchImport -> Maybe Text
failureReason :: Prelude.Maybe Prelude.Text,
    -- | The ARN of the IAM role to use for this job request.
    BatchImport -> Maybe Text
iamRoleArn :: Prelude.Maybe Prelude.Text,
    -- | The Amazon S3 location of your data file for batch import.
    BatchImport -> Maybe Text
inputPath :: Prelude.Maybe Prelude.Text,
    -- | The ID of the batch import job.
    BatchImport -> Maybe Text
jobId :: Prelude.Maybe Prelude.Text,
    -- | The Amazon S3 location of your output file.
    BatchImport -> Maybe Text
outputPath :: Prelude.Maybe Prelude.Text,
    -- | The number of records processed by batch import job.
    BatchImport -> Maybe Int
processedRecordsCount :: Prelude.Maybe Prelude.Int,
    -- | Timestamp of when the batch import job started.
    BatchImport -> Maybe Text
startTime :: Prelude.Maybe Prelude.Text,
    -- | The status of the batch import job.
    BatchImport -> Maybe AsyncJobStatus
status :: Prelude.Maybe AsyncJobStatus,
    -- | The total number of records in the batch import job.
    BatchImport -> Maybe Int
totalRecordsCount :: Prelude.Maybe Prelude.Int
  }
  deriving (BatchImport -> BatchImport -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BatchImport -> BatchImport -> Bool
$c/= :: BatchImport -> BatchImport -> Bool
== :: BatchImport -> BatchImport -> Bool
$c== :: BatchImport -> BatchImport -> Bool
Prelude.Eq, ReadPrec [BatchImport]
ReadPrec BatchImport
Int -> ReadS BatchImport
ReadS [BatchImport]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BatchImport]
$creadListPrec :: ReadPrec [BatchImport]
readPrec :: ReadPrec BatchImport
$creadPrec :: ReadPrec BatchImport
readList :: ReadS [BatchImport]
$creadList :: ReadS [BatchImport]
readsPrec :: Int -> ReadS BatchImport
$creadsPrec :: Int -> ReadS BatchImport
Prelude.Read, Int -> BatchImport -> ShowS
[BatchImport] -> ShowS
BatchImport -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BatchImport] -> ShowS
$cshowList :: [BatchImport] -> ShowS
show :: BatchImport -> String
$cshow :: BatchImport -> String
showsPrec :: Int -> BatchImport -> ShowS
$cshowsPrec :: Int -> BatchImport -> ShowS
Prelude.Show, forall x. Rep BatchImport x -> BatchImport
forall x. BatchImport -> Rep BatchImport x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BatchImport x -> BatchImport
$cfrom :: forall x. BatchImport -> Rep BatchImport x
Prelude.Generic)

-- |
-- Create a value of 'BatchImport' 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:
--
-- 'arn', 'batchImport_arn' - The ARN of the batch import job.
--
-- 'completionTime', 'batchImport_completionTime' - Timestamp of when batch import job completed.
--
-- 'eventTypeName', 'batchImport_eventTypeName' - The name of the event type.
--
-- 'failedRecordsCount', 'batchImport_failedRecordsCount' - The number of records that failed to import.
--
-- 'failureReason', 'batchImport_failureReason' - The reason batch import job failed.
--
-- 'iamRoleArn', 'batchImport_iamRoleArn' - The ARN of the IAM role to use for this job request.
--
-- 'inputPath', 'batchImport_inputPath' - The Amazon S3 location of your data file for batch import.
--
-- 'jobId', 'batchImport_jobId' - The ID of the batch import job.
--
-- 'outputPath', 'batchImport_outputPath' - The Amazon S3 location of your output file.
--
-- 'processedRecordsCount', 'batchImport_processedRecordsCount' - The number of records processed by batch import job.
--
-- 'startTime', 'batchImport_startTime' - Timestamp of when the batch import job started.
--
-- 'status', 'batchImport_status' - The status of the batch import job.
--
-- 'totalRecordsCount', 'batchImport_totalRecordsCount' - The total number of records in the batch import job.
newBatchImport ::
  BatchImport
newBatchImport :: BatchImport
newBatchImport =
  BatchImport'
    { $sel:arn:BatchImport' :: Maybe Text
arn = forall a. Maybe a
Prelude.Nothing,
      $sel:completionTime:BatchImport' :: Maybe Text
completionTime = forall a. Maybe a
Prelude.Nothing,
      $sel:eventTypeName:BatchImport' :: Maybe Text
eventTypeName = forall a. Maybe a
Prelude.Nothing,
      $sel:failedRecordsCount:BatchImport' :: Maybe Int
failedRecordsCount = forall a. Maybe a
Prelude.Nothing,
      $sel:failureReason:BatchImport' :: Maybe Text
failureReason = forall a. Maybe a
Prelude.Nothing,
      $sel:iamRoleArn:BatchImport' :: Maybe Text
iamRoleArn = forall a. Maybe a
Prelude.Nothing,
      $sel:inputPath:BatchImport' :: Maybe Text
inputPath = forall a. Maybe a
Prelude.Nothing,
      $sel:jobId:BatchImport' :: Maybe Text
jobId = forall a. Maybe a
Prelude.Nothing,
      $sel:outputPath:BatchImport' :: Maybe Text
outputPath = forall a. Maybe a
Prelude.Nothing,
      $sel:processedRecordsCount:BatchImport' :: Maybe Int
processedRecordsCount = forall a. Maybe a
Prelude.Nothing,
      $sel:startTime:BatchImport' :: Maybe Text
startTime = forall a. Maybe a
Prelude.Nothing,
      $sel:status:BatchImport' :: Maybe AsyncJobStatus
status = forall a. Maybe a
Prelude.Nothing,
      $sel:totalRecordsCount:BatchImport' :: Maybe Int
totalRecordsCount = forall a. Maybe a
Prelude.Nothing
    }

-- | The ARN of the batch import job.
batchImport_arn :: Lens.Lens' BatchImport (Prelude.Maybe Prelude.Text)
batchImport_arn :: Lens' BatchImport (Maybe Text)
batchImport_arn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchImport' {Maybe Text
arn :: Maybe Text
$sel:arn:BatchImport' :: BatchImport -> Maybe Text
arn} -> Maybe Text
arn) (\s :: BatchImport
s@BatchImport' {} Maybe Text
a -> BatchImport
s {$sel:arn:BatchImport' :: Maybe Text
arn = Maybe Text
a} :: BatchImport)

-- | Timestamp of when batch import job completed.
batchImport_completionTime :: Lens.Lens' BatchImport (Prelude.Maybe Prelude.Text)
batchImport_completionTime :: Lens' BatchImport (Maybe Text)
batchImport_completionTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchImport' {Maybe Text
completionTime :: Maybe Text
$sel:completionTime:BatchImport' :: BatchImport -> Maybe Text
completionTime} -> Maybe Text
completionTime) (\s :: BatchImport
s@BatchImport' {} Maybe Text
a -> BatchImport
s {$sel:completionTime:BatchImport' :: Maybe Text
completionTime = Maybe Text
a} :: BatchImport)

-- | The name of the event type.
batchImport_eventTypeName :: Lens.Lens' BatchImport (Prelude.Maybe Prelude.Text)
batchImport_eventTypeName :: Lens' BatchImport (Maybe Text)
batchImport_eventTypeName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchImport' {Maybe Text
eventTypeName :: Maybe Text
$sel:eventTypeName:BatchImport' :: BatchImport -> Maybe Text
eventTypeName} -> Maybe Text
eventTypeName) (\s :: BatchImport
s@BatchImport' {} Maybe Text
a -> BatchImport
s {$sel:eventTypeName:BatchImport' :: Maybe Text
eventTypeName = Maybe Text
a} :: BatchImport)

-- | The number of records that failed to import.
batchImport_failedRecordsCount :: Lens.Lens' BatchImport (Prelude.Maybe Prelude.Int)
batchImport_failedRecordsCount :: Lens' BatchImport (Maybe Int)
batchImport_failedRecordsCount = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchImport' {Maybe Int
failedRecordsCount :: Maybe Int
$sel:failedRecordsCount:BatchImport' :: BatchImport -> Maybe Int
failedRecordsCount} -> Maybe Int
failedRecordsCount) (\s :: BatchImport
s@BatchImport' {} Maybe Int
a -> BatchImport
s {$sel:failedRecordsCount:BatchImport' :: Maybe Int
failedRecordsCount = Maybe Int
a} :: BatchImport)

-- | The reason batch import job failed.
batchImport_failureReason :: Lens.Lens' BatchImport (Prelude.Maybe Prelude.Text)
batchImport_failureReason :: Lens' BatchImport (Maybe Text)
batchImport_failureReason = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchImport' {Maybe Text
failureReason :: Maybe Text
$sel:failureReason:BatchImport' :: BatchImport -> Maybe Text
failureReason} -> Maybe Text
failureReason) (\s :: BatchImport
s@BatchImport' {} Maybe Text
a -> BatchImport
s {$sel:failureReason:BatchImport' :: Maybe Text
failureReason = Maybe Text
a} :: BatchImport)

-- | The ARN of the IAM role to use for this job request.
batchImport_iamRoleArn :: Lens.Lens' BatchImport (Prelude.Maybe Prelude.Text)
batchImport_iamRoleArn :: Lens' BatchImport (Maybe Text)
batchImport_iamRoleArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchImport' {Maybe Text
iamRoleArn :: Maybe Text
$sel:iamRoleArn:BatchImport' :: BatchImport -> Maybe Text
iamRoleArn} -> Maybe Text
iamRoleArn) (\s :: BatchImport
s@BatchImport' {} Maybe Text
a -> BatchImport
s {$sel:iamRoleArn:BatchImport' :: Maybe Text
iamRoleArn = Maybe Text
a} :: BatchImport)

-- | The Amazon S3 location of your data file for batch import.
batchImport_inputPath :: Lens.Lens' BatchImport (Prelude.Maybe Prelude.Text)
batchImport_inputPath :: Lens' BatchImport (Maybe Text)
batchImport_inputPath = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchImport' {Maybe Text
inputPath :: Maybe Text
$sel:inputPath:BatchImport' :: BatchImport -> Maybe Text
inputPath} -> Maybe Text
inputPath) (\s :: BatchImport
s@BatchImport' {} Maybe Text
a -> BatchImport
s {$sel:inputPath:BatchImport' :: Maybe Text
inputPath = Maybe Text
a} :: BatchImport)

-- | The ID of the batch import job.
batchImport_jobId :: Lens.Lens' BatchImport (Prelude.Maybe Prelude.Text)
batchImport_jobId :: Lens' BatchImport (Maybe Text)
batchImport_jobId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchImport' {Maybe Text
jobId :: Maybe Text
$sel:jobId:BatchImport' :: BatchImport -> Maybe Text
jobId} -> Maybe Text
jobId) (\s :: BatchImport
s@BatchImport' {} Maybe Text
a -> BatchImport
s {$sel:jobId:BatchImport' :: Maybe Text
jobId = Maybe Text
a} :: BatchImport)

-- | The Amazon S3 location of your output file.
batchImport_outputPath :: Lens.Lens' BatchImport (Prelude.Maybe Prelude.Text)
batchImport_outputPath :: Lens' BatchImport (Maybe Text)
batchImport_outputPath = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchImport' {Maybe Text
outputPath :: Maybe Text
$sel:outputPath:BatchImport' :: BatchImport -> Maybe Text
outputPath} -> Maybe Text
outputPath) (\s :: BatchImport
s@BatchImport' {} Maybe Text
a -> BatchImport
s {$sel:outputPath:BatchImport' :: Maybe Text
outputPath = Maybe Text
a} :: BatchImport)

-- | The number of records processed by batch import job.
batchImport_processedRecordsCount :: Lens.Lens' BatchImport (Prelude.Maybe Prelude.Int)
batchImport_processedRecordsCount :: Lens' BatchImport (Maybe Int)
batchImport_processedRecordsCount = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchImport' {Maybe Int
processedRecordsCount :: Maybe Int
$sel:processedRecordsCount:BatchImport' :: BatchImport -> Maybe Int
processedRecordsCount} -> Maybe Int
processedRecordsCount) (\s :: BatchImport
s@BatchImport' {} Maybe Int
a -> BatchImport
s {$sel:processedRecordsCount:BatchImport' :: Maybe Int
processedRecordsCount = Maybe Int
a} :: BatchImport)

-- | Timestamp of when the batch import job started.
batchImport_startTime :: Lens.Lens' BatchImport (Prelude.Maybe Prelude.Text)
batchImport_startTime :: Lens' BatchImport (Maybe Text)
batchImport_startTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchImport' {Maybe Text
startTime :: Maybe Text
$sel:startTime:BatchImport' :: BatchImport -> Maybe Text
startTime} -> Maybe Text
startTime) (\s :: BatchImport
s@BatchImport' {} Maybe Text
a -> BatchImport
s {$sel:startTime:BatchImport' :: Maybe Text
startTime = Maybe Text
a} :: BatchImport)

-- | The status of the batch import job.
batchImport_status :: Lens.Lens' BatchImport (Prelude.Maybe AsyncJobStatus)
batchImport_status :: Lens' BatchImport (Maybe AsyncJobStatus)
batchImport_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchImport' {Maybe AsyncJobStatus
status :: Maybe AsyncJobStatus
$sel:status:BatchImport' :: BatchImport -> Maybe AsyncJobStatus
status} -> Maybe AsyncJobStatus
status) (\s :: BatchImport
s@BatchImport' {} Maybe AsyncJobStatus
a -> BatchImport
s {$sel:status:BatchImport' :: Maybe AsyncJobStatus
status = Maybe AsyncJobStatus
a} :: BatchImport)

-- | The total number of records in the batch import job.
batchImport_totalRecordsCount :: Lens.Lens' BatchImport (Prelude.Maybe Prelude.Int)
batchImport_totalRecordsCount :: Lens' BatchImport (Maybe Int)
batchImport_totalRecordsCount = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchImport' {Maybe Int
totalRecordsCount :: Maybe Int
$sel:totalRecordsCount:BatchImport' :: BatchImport -> Maybe Int
totalRecordsCount} -> Maybe Int
totalRecordsCount) (\s :: BatchImport
s@BatchImport' {} Maybe Int
a -> BatchImport
s {$sel:totalRecordsCount:BatchImport' :: Maybe Int
totalRecordsCount = Maybe Int
a} :: BatchImport)

instance Data.FromJSON BatchImport where
  parseJSON :: Value -> Parser BatchImport
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"BatchImport"
      ( \Object
x ->
          Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe AsyncJobStatus
-> Maybe Int
-> BatchImport
BatchImport'
            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
"arn")
            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
"completionTime")
            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
"eventTypeName")
            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
"failedRecordsCount")
            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
"iamRoleArn")
            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
"inputPath")
            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
"jobId")
            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
"outputPath")
            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
"processedRecordsCount")
            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
"startTime")
            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")
            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
"totalRecordsCount")
      )

instance Prelude.Hashable BatchImport where
  hashWithSalt :: Int -> BatchImport -> Int
hashWithSalt Int
_salt BatchImport' {Maybe Int
Maybe Text
Maybe AsyncJobStatus
totalRecordsCount :: Maybe Int
status :: Maybe AsyncJobStatus
startTime :: Maybe Text
processedRecordsCount :: Maybe Int
outputPath :: Maybe Text
jobId :: Maybe Text
inputPath :: Maybe Text
iamRoleArn :: Maybe Text
failureReason :: Maybe Text
failedRecordsCount :: Maybe Int
eventTypeName :: Maybe Text
completionTime :: Maybe Text
arn :: Maybe Text
$sel:totalRecordsCount:BatchImport' :: BatchImport -> Maybe Int
$sel:status:BatchImport' :: BatchImport -> Maybe AsyncJobStatus
$sel:startTime:BatchImport' :: BatchImport -> Maybe Text
$sel:processedRecordsCount:BatchImport' :: BatchImport -> Maybe Int
$sel:outputPath:BatchImport' :: BatchImport -> Maybe Text
$sel:jobId:BatchImport' :: BatchImport -> Maybe Text
$sel:inputPath:BatchImport' :: BatchImport -> Maybe Text
$sel:iamRoleArn:BatchImport' :: BatchImport -> Maybe Text
$sel:failureReason:BatchImport' :: BatchImport -> Maybe Text
$sel:failedRecordsCount:BatchImport' :: BatchImport -> Maybe Int
$sel:eventTypeName:BatchImport' :: BatchImport -> Maybe Text
$sel:completionTime:BatchImport' :: BatchImport -> Maybe Text
$sel:arn:BatchImport' :: BatchImport -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
arn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
completionTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
eventTypeName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
failedRecordsCount
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
failureReason
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
iamRoleArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
inputPath
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
jobId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
outputPath
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
processedRecordsCount
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
startTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe AsyncJobStatus
status
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
totalRecordsCount

instance Prelude.NFData BatchImport where
  rnf :: BatchImport -> ()
rnf BatchImport' {Maybe Int
Maybe Text
Maybe AsyncJobStatus
totalRecordsCount :: Maybe Int
status :: Maybe AsyncJobStatus
startTime :: Maybe Text
processedRecordsCount :: Maybe Int
outputPath :: Maybe Text
jobId :: Maybe Text
inputPath :: Maybe Text
iamRoleArn :: Maybe Text
failureReason :: Maybe Text
failedRecordsCount :: Maybe Int
eventTypeName :: Maybe Text
completionTime :: Maybe Text
arn :: Maybe Text
$sel:totalRecordsCount:BatchImport' :: BatchImport -> Maybe Int
$sel:status:BatchImport' :: BatchImport -> Maybe AsyncJobStatus
$sel:startTime:BatchImport' :: BatchImport -> Maybe Text
$sel:processedRecordsCount:BatchImport' :: BatchImport -> Maybe Int
$sel:outputPath:BatchImport' :: BatchImport -> Maybe Text
$sel:jobId:BatchImport' :: BatchImport -> Maybe Text
$sel:inputPath:BatchImport' :: BatchImport -> Maybe Text
$sel:iamRoleArn:BatchImport' :: BatchImport -> Maybe Text
$sel:failureReason:BatchImport' :: BatchImport -> Maybe Text
$sel:failedRecordsCount:BatchImport' :: BatchImport -> Maybe Int
$sel:eventTypeName:BatchImport' :: BatchImport -> Maybe Text
$sel:completionTime:BatchImport' :: BatchImport -> Maybe Text
$sel:arn:BatchImport' :: BatchImport -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
arn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
completionTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
eventTypeName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
failedRecordsCount
      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 Text
iamRoleArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
inputPath
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
jobId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
outputPath
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
processedRecordsCount
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
startTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe AsyncJobStatus
status
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
totalRecordsCount