{-# 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.DataBrew.Types.Project
-- 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.DataBrew.Types.Project where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.DataBrew.Types.Sample
import qualified Amazonka.Prelude as Prelude

-- | Represents all of the attributes of a DataBrew project.
--
-- /See:/ 'newProject' smart constructor.
data Project = Project'
  { -- | The ID of the Amazon Web Services account that owns the project.
    Project -> Maybe Text
accountId :: Prelude.Maybe Prelude.Text,
    -- | The date and time that the project was created.
    Project -> Maybe POSIX
createDate :: Prelude.Maybe Data.POSIX,
    -- | The Amazon Resource Name (ARN) of the user who crated the project.
    Project -> Maybe Text
createdBy :: Prelude.Maybe Prelude.Text,
    -- | The dataset that the project is to act upon.
    Project -> Maybe Text
datasetName :: Prelude.Maybe Prelude.Text,
    -- | The Amazon Resource Name (ARN) of the user who last modified the
    -- project.
    Project -> Maybe Text
lastModifiedBy :: Prelude.Maybe Prelude.Text,
    -- | The last modification date and time for the project.
    Project -> Maybe POSIX
lastModifiedDate :: Prelude.Maybe Data.POSIX,
    -- | The date and time when the project was opened.
    Project -> Maybe POSIX
openDate :: Prelude.Maybe Data.POSIX,
    -- | The Amazon Resource Name (ARN) of the user that opened the project for
    -- use.
    Project -> Maybe Text
openedBy :: Prelude.Maybe Prelude.Text,
    -- | The Amazon Resource Name (ARN) for the project.
    Project -> Maybe Text
resourceArn :: Prelude.Maybe Prelude.Text,
    -- | The Amazon Resource Name (ARN) of the role that will be assumed for this
    -- project.
    Project -> Maybe Text
roleArn :: Prelude.Maybe Prelude.Text,
    -- | The sample size and sampling type to apply to the data. If this
    -- parameter isn\'t specified, then the sample consists of the first 500
    -- rows from the dataset.
    Project -> Maybe Sample
sample :: Prelude.Maybe Sample,
    -- | Metadata tags that have been applied to the project.
    Project -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
    -- | The unique name of a project.
    Project -> Text
name :: Prelude.Text,
    -- | The name of a recipe that will be developed during a project session.
    Project -> Text
recipeName :: Prelude.Text
  }
  deriving (Project -> Project -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Project -> Project -> Bool
$c/= :: Project -> Project -> Bool
== :: Project -> Project -> Bool
$c== :: Project -> Project -> Bool
Prelude.Eq, ReadPrec [Project]
ReadPrec Project
Int -> ReadS Project
ReadS [Project]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Project]
$creadListPrec :: ReadPrec [Project]
readPrec :: ReadPrec Project
$creadPrec :: ReadPrec Project
readList :: ReadS [Project]
$creadList :: ReadS [Project]
readsPrec :: Int -> ReadS Project
$creadsPrec :: Int -> ReadS Project
Prelude.Read, Int -> Project -> ShowS
[Project] -> ShowS
Project -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Project] -> ShowS
$cshowList :: [Project] -> ShowS
show :: Project -> String
$cshow :: Project -> String
showsPrec :: Int -> Project -> ShowS
$cshowsPrec :: Int -> Project -> ShowS
Prelude.Show, forall x. Rep Project x -> Project
forall x. Project -> Rep Project x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Project x -> Project
$cfrom :: forall x. Project -> Rep Project x
Prelude.Generic)

-- |
-- Create a value of 'Project' 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:
--
-- 'accountId', 'project_accountId' - The ID of the Amazon Web Services account that owns the project.
--
-- 'createDate', 'project_createDate' - The date and time that the project was created.
--
-- 'createdBy', 'project_createdBy' - The Amazon Resource Name (ARN) of the user who crated the project.
--
-- 'datasetName', 'project_datasetName' - The dataset that the project is to act upon.
--
-- 'lastModifiedBy', 'project_lastModifiedBy' - The Amazon Resource Name (ARN) of the user who last modified the
-- project.
--
-- 'lastModifiedDate', 'project_lastModifiedDate' - The last modification date and time for the project.
--
-- 'openDate', 'project_openDate' - The date and time when the project was opened.
--
-- 'openedBy', 'project_openedBy' - The Amazon Resource Name (ARN) of the user that opened the project for
-- use.
--
-- 'resourceArn', 'project_resourceArn' - The Amazon Resource Name (ARN) for the project.
--
-- 'roleArn', 'project_roleArn' - The Amazon Resource Name (ARN) of the role that will be assumed for this
-- project.
--
-- 'sample', 'project_sample' - The sample size and sampling type to apply to the data. If this
-- parameter isn\'t specified, then the sample consists of the first 500
-- rows from the dataset.
--
-- 'tags', 'project_tags' - Metadata tags that have been applied to the project.
--
-- 'name', 'project_name' - The unique name of a project.
--
-- 'recipeName', 'project_recipeName' - The name of a recipe that will be developed during a project session.
newProject ::
  -- | 'name'
  Prelude.Text ->
  -- | 'recipeName'
  Prelude.Text ->
  Project
newProject :: Text -> Text -> Project
newProject Text
pName_ Text
pRecipeName_ =
  Project'
    { $sel:accountId:Project' :: Maybe Text
accountId = forall a. Maybe a
Prelude.Nothing,
      $sel:createDate:Project' :: Maybe POSIX
createDate = forall a. Maybe a
Prelude.Nothing,
      $sel:createdBy:Project' :: Maybe Text
createdBy = forall a. Maybe a
Prelude.Nothing,
      $sel:datasetName:Project' :: Maybe Text
datasetName = forall a. Maybe a
Prelude.Nothing,
      $sel:lastModifiedBy:Project' :: Maybe Text
lastModifiedBy = forall a. Maybe a
Prelude.Nothing,
      $sel:lastModifiedDate:Project' :: Maybe POSIX
lastModifiedDate = forall a. Maybe a
Prelude.Nothing,
      $sel:openDate:Project' :: Maybe POSIX
openDate = forall a. Maybe a
Prelude.Nothing,
      $sel:openedBy:Project' :: Maybe Text
openedBy = forall a. Maybe a
Prelude.Nothing,
      $sel:resourceArn:Project' :: Maybe Text
resourceArn = forall a. Maybe a
Prelude.Nothing,
      $sel:roleArn:Project' :: Maybe Text
roleArn = forall a. Maybe a
Prelude.Nothing,
      $sel:sample:Project' :: Maybe Sample
sample = forall a. Maybe a
Prelude.Nothing,
      $sel:tags:Project' :: Maybe (HashMap Text Text)
tags = forall a. Maybe a
Prelude.Nothing,
      $sel:name:Project' :: Text
name = Text
pName_,
      $sel:recipeName:Project' :: Text
recipeName = Text
pRecipeName_
    }

-- | The ID of the Amazon Web Services account that owns the project.
project_accountId :: Lens.Lens' Project (Prelude.Maybe Prelude.Text)
project_accountId :: Lens' Project (Maybe Text)
project_accountId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Project' {Maybe Text
accountId :: Maybe Text
$sel:accountId:Project' :: Project -> Maybe Text
accountId} -> Maybe Text
accountId) (\s :: Project
s@Project' {} Maybe Text
a -> Project
s {$sel:accountId:Project' :: Maybe Text
accountId = Maybe Text
a} :: Project)

-- | The date and time that the project was created.
project_createDate :: Lens.Lens' Project (Prelude.Maybe Prelude.UTCTime)
project_createDate :: Lens' Project (Maybe UTCTime)
project_createDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Project' {Maybe POSIX
createDate :: Maybe POSIX
$sel:createDate:Project' :: Project -> Maybe POSIX
createDate} -> Maybe POSIX
createDate) (\s :: Project
s@Project' {} Maybe POSIX
a -> Project
s {$sel:createDate:Project' :: Maybe POSIX
createDate = Maybe POSIX
a} :: Project) 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 user who crated the project.
project_createdBy :: Lens.Lens' Project (Prelude.Maybe Prelude.Text)
project_createdBy :: Lens' Project (Maybe Text)
project_createdBy = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Project' {Maybe Text
createdBy :: Maybe Text
$sel:createdBy:Project' :: Project -> Maybe Text
createdBy} -> Maybe Text
createdBy) (\s :: Project
s@Project' {} Maybe Text
a -> Project
s {$sel:createdBy:Project' :: Maybe Text
createdBy = Maybe Text
a} :: Project)

-- | The dataset that the project is to act upon.
project_datasetName :: Lens.Lens' Project (Prelude.Maybe Prelude.Text)
project_datasetName :: Lens' Project (Maybe Text)
project_datasetName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Project' {Maybe Text
datasetName :: Maybe Text
$sel:datasetName:Project' :: Project -> Maybe Text
datasetName} -> Maybe Text
datasetName) (\s :: Project
s@Project' {} Maybe Text
a -> Project
s {$sel:datasetName:Project' :: Maybe Text
datasetName = Maybe Text
a} :: Project)

-- | The Amazon Resource Name (ARN) of the user who last modified the
-- project.
project_lastModifiedBy :: Lens.Lens' Project (Prelude.Maybe Prelude.Text)
project_lastModifiedBy :: Lens' Project (Maybe Text)
project_lastModifiedBy = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Project' {Maybe Text
lastModifiedBy :: Maybe Text
$sel:lastModifiedBy:Project' :: Project -> Maybe Text
lastModifiedBy} -> Maybe Text
lastModifiedBy) (\s :: Project
s@Project' {} Maybe Text
a -> Project
s {$sel:lastModifiedBy:Project' :: Maybe Text
lastModifiedBy = Maybe Text
a} :: Project)

-- | The last modification date and time for the project.
project_lastModifiedDate :: Lens.Lens' Project (Prelude.Maybe Prelude.UTCTime)
project_lastModifiedDate :: Lens' Project (Maybe UTCTime)
project_lastModifiedDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Project' {Maybe POSIX
lastModifiedDate :: Maybe POSIX
$sel:lastModifiedDate:Project' :: Project -> Maybe POSIX
lastModifiedDate} -> Maybe POSIX
lastModifiedDate) (\s :: Project
s@Project' {} Maybe POSIX
a -> Project
s {$sel:lastModifiedDate:Project' :: Maybe POSIX
lastModifiedDate = Maybe POSIX
a} :: Project) 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 date and time when the project was opened.
project_openDate :: Lens.Lens' Project (Prelude.Maybe Prelude.UTCTime)
project_openDate :: Lens' Project (Maybe UTCTime)
project_openDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Project' {Maybe POSIX
openDate :: Maybe POSIX
$sel:openDate:Project' :: Project -> Maybe POSIX
openDate} -> Maybe POSIX
openDate) (\s :: Project
s@Project' {} Maybe POSIX
a -> Project
s {$sel:openDate:Project' :: Maybe POSIX
openDate = Maybe POSIX
a} :: Project) 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 user that opened the project for
-- use.
project_openedBy :: Lens.Lens' Project (Prelude.Maybe Prelude.Text)
project_openedBy :: Lens' Project (Maybe Text)
project_openedBy = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Project' {Maybe Text
openedBy :: Maybe Text
$sel:openedBy:Project' :: Project -> Maybe Text
openedBy} -> Maybe Text
openedBy) (\s :: Project
s@Project' {} Maybe Text
a -> Project
s {$sel:openedBy:Project' :: Maybe Text
openedBy = Maybe Text
a} :: Project)

-- | The Amazon Resource Name (ARN) for the project.
project_resourceArn :: Lens.Lens' Project (Prelude.Maybe Prelude.Text)
project_resourceArn :: Lens' Project (Maybe Text)
project_resourceArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Project' {Maybe Text
resourceArn :: Maybe Text
$sel:resourceArn:Project' :: Project -> Maybe Text
resourceArn} -> Maybe Text
resourceArn) (\s :: Project
s@Project' {} Maybe Text
a -> Project
s {$sel:resourceArn:Project' :: Maybe Text
resourceArn = Maybe Text
a} :: Project)

-- | The Amazon Resource Name (ARN) of the role that will be assumed for this
-- project.
project_roleArn :: Lens.Lens' Project (Prelude.Maybe Prelude.Text)
project_roleArn :: Lens' Project (Maybe Text)
project_roleArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Project' {Maybe Text
roleArn :: Maybe Text
$sel:roleArn:Project' :: Project -> Maybe Text
roleArn} -> Maybe Text
roleArn) (\s :: Project
s@Project' {} Maybe Text
a -> Project
s {$sel:roleArn:Project' :: Maybe Text
roleArn = Maybe Text
a} :: Project)

-- | The sample size and sampling type to apply to the data. If this
-- parameter isn\'t specified, then the sample consists of the first 500
-- rows from the dataset.
project_sample :: Lens.Lens' Project (Prelude.Maybe Sample)
project_sample :: Lens' Project (Maybe Sample)
project_sample = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Project' {Maybe Sample
sample :: Maybe Sample
$sel:sample:Project' :: Project -> Maybe Sample
sample} -> Maybe Sample
sample) (\s :: Project
s@Project' {} Maybe Sample
a -> Project
s {$sel:sample:Project' :: Maybe Sample
sample = Maybe Sample
a} :: Project)

-- | Metadata tags that have been applied to the project.
project_tags :: Lens.Lens' Project (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
project_tags :: Lens' Project (Maybe (HashMap Text Text))
project_tags = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Project' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:Project' :: Project -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: Project
s@Project' {} Maybe (HashMap Text Text)
a -> Project
s {$sel:tags:Project' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: Project) 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 s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The unique name of a project.
project_name :: Lens.Lens' Project Prelude.Text
project_name :: Lens' Project Text
project_name = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Project' {Text
name :: Text
$sel:name:Project' :: Project -> Text
name} -> Text
name) (\s :: Project
s@Project' {} Text
a -> Project
s {$sel:name:Project' :: Text
name = Text
a} :: Project)

-- | The name of a recipe that will be developed during a project session.
project_recipeName :: Lens.Lens' Project Prelude.Text
project_recipeName :: Lens' Project Text
project_recipeName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Project' {Text
recipeName :: Text
$sel:recipeName:Project' :: Project -> Text
recipeName} -> Text
recipeName) (\s :: Project
s@Project' {} Text
a -> Project
s {$sel:recipeName:Project' :: Text
recipeName = Text
a} :: Project)

instance Data.FromJSON Project where
  parseJSON :: Value -> Parser Project
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"Project"
      ( \Object
x ->
          Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Sample
-> Maybe (HashMap Text Text)
-> Text
-> Text
-> Project
Project'
            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
"AccountId")
            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
"CreateDate")
            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
"CreatedBy")
            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
"DatasetName")
            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
"LastModifiedBy")
            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
"LastModifiedDate")
            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
"OpenDate")
            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
"OpenedBy")
            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
"ResourceArn")
            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
"Sample")
            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
"Tags" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"Name")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"RecipeName")
      )

instance Prelude.Hashable Project where
  hashWithSalt :: Int -> Project -> Int
hashWithSalt Int
_salt Project' {Maybe Text
Maybe (HashMap Text Text)
Maybe POSIX
Maybe Sample
Text
recipeName :: Text
name :: Text
tags :: Maybe (HashMap Text Text)
sample :: Maybe Sample
roleArn :: Maybe Text
resourceArn :: Maybe Text
openedBy :: Maybe Text
openDate :: Maybe POSIX
lastModifiedDate :: Maybe POSIX
lastModifiedBy :: Maybe Text
datasetName :: Maybe Text
createdBy :: Maybe Text
createDate :: Maybe POSIX
accountId :: Maybe Text
$sel:recipeName:Project' :: Project -> Text
$sel:name:Project' :: Project -> Text
$sel:tags:Project' :: Project -> Maybe (HashMap Text Text)
$sel:sample:Project' :: Project -> Maybe Sample
$sel:roleArn:Project' :: Project -> Maybe Text
$sel:resourceArn:Project' :: Project -> Maybe Text
$sel:openedBy:Project' :: Project -> Maybe Text
$sel:openDate:Project' :: Project -> Maybe POSIX
$sel:lastModifiedDate:Project' :: Project -> Maybe POSIX
$sel:lastModifiedBy:Project' :: Project -> Maybe Text
$sel:datasetName:Project' :: Project -> Maybe Text
$sel:createdBy:Project' :: Project -> Maybe Text
$sel:createDate:Project' :: Project -> Maybe POSIX
$sel:accountId:Project' :: Project -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
accountId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
createDate
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
createdBy
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
datasetName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
lastModifiedBy
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
lastModifiedDate
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
openDate
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
openedBy
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
resourceArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
roleArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Sample
sample
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (HashMap Text Text)
tags
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
name
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
recipeName

instance Prelude.NFData Project where
  rnf :: Project -> ()
rnf Project' {Maybe Text
Maybe (HashMap Text Text)
Maybe POSIX
Maybe Sample
Text
recipeName :: Text
name :: Text
tags :: Maybe (HashMap Text Text)
sample :: Maybe Sample
roleArn :: Maybe Text
resourceArn :: Maybe Text
openedBy :: Maybe Text
openDate :: Maybe POSIX
lastModifiedDate :: Maybe POSIX
lastModifiedBy :: Maybe Text
datasetName :: Maybe Text
createdBy :: Maybe Text
createDate :: Maybe POSIX
accountId :: Maybe Text
$sel:recipeName:Project' :: Project -> Text
$sel:name:Project' :: Project -> Text
$sel:tags:Project' :: Project -> Maybe (HashMap Text Text)
$sel:sample:Project' :: Project -> Maybe Sample
$sel:roleArn:Project' :: Project -> Maybe Text
$sel:resourceArn:Project' :: Project -> Maybe Text
$sel:openedBy:Project' :: Project -> Maybe Text
$sel:openDate:Project' :: Project -> Maybe POSIX
$sel:lastModifiedDate:Project' :: Project -> Maybe POSIX
$sel:lastModifiedBy:Project' :: Project -> Maybe Text
$sel:datasetName:Project' :: Project -> Maybe Text
$sel:createdBy:Project' :: Project -> Maybe Text
$sel:createDate:Project' :: Project -> Maybe POSIX
$sel:accountId:Project' :: Project -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
accountId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
createDate
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
createdBy
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
datasetName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
lastModifiedBy
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastModifiedDate
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
openDate
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
openedBy
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
resourceArn
      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 Sample
sample
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (HashMap Text Text)
tags
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
name
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
recipeName