{-# 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.DataExchange.Types.RevisionEntry
-- 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.DataExchange.Types.RevisionEntry 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

-- | A revision is a container for one or more assets.
--
-- /See:/ 'newRevisionEntry' smart constructor.
data RevisionEntry = RevisionEntry'
  { -- | An optional comment about the revision.
    RevisionEntry -> Maybe Text
comment :: Prelude.Maybe Prelude.Text,
    -- | To publish a revision to a data set in a product, the revision must
    -- first be finalized. Finalizing a revision tells AWS Data Exchange that
    -- your changes to the assets in the revision are complete. After it\'s in
    -- this read-only state, you can publish the revision to your products.
    -- Finalized revisions can be published through the AWS Data Exchange
    -- console or the AWS Marketplace Catalog API, using the StartChangeSet AWS
    -- Marketplace Catalog API action. When using the API, revisions are
    -- uniquely identified by their ARN.
    RevisionEntry -> Maybe Bool
finalized :: Prelude.Maybe Prelude.Bool,
    -- | A required comment to inform subscribers of the reason their access to
    -- the revision was revoked.
    RevisionEntry -> Maybe Text
revocationComment :: Prelude.Maybe Prelude.Text,
    -- | A status indicating that subscribers\' access to the revision was
    -- revoked.
    RevisionEntry -> Maybe Bool
revoked :: Prelude.Maybe Prelude.Bool,
    -- | The date and time that the revision was revoked, in ISO 8601 format.
    RevisionEntry -> Maybe ISO8601
revokedAt :: Prelude.Maybe Data.ISO8601,
    -- | The revision ID of the owned revision corresponding to the entitled
    -- revision being viewed. This parameter is returned when a revision owner
    -- is viewing the entitled copy of its owned revision.
    RevisionEntry -> Maybe Text
sourceId :: Prelude.Maybe Prelude.Text,
    -- | The ARN for the revision.
    RevisionEntry -> Text
arn :: Prelude.Text,
    -- | The date and time that the revision was created, in ISO 8601 format.
    RevisionEntry -> ISO8601
createdAt :: Data.ISO8601,
    -- | The unique identifier for the data set associated with the data set
    -- revision.
    RevisionEntry -> Text
dataSetId :: Prelude.Text,
    -- | The unique identifier for the revision.
    RevisionEntry -> Text
id :: Prelude.Text,
    -- | The date and time that the revision was last updated, in ISO 8601
    -- format.
    RevisionEntry -> ISO8601
updatedAt :: Data.ISO8601
  }
  deriving (RevisionEntry -> RevisionEntry -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RevisionEntry -> RevisionEntry -> Bool
$c/= :: RevisionEntry -> RevisionEntry -> Bool
== :: RevisionEntry -> RevisionEntry -> Bool
$c== :: RevisionEntry -> RevisionEntry -> Bool
Prelude.Eq, ReadPrec [RevisionEntry]
ReadPrec RevisionEntry
Int -> ReadS RevisionEntry
ReadS [RevisionEntry]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RevisionEntry]
$creadListPrec :: ReadPrec [RevisionEntry]
readPrec :: ReadPrec RevisionEntry
$creadPrec :: ReadPrec RevisionEntry
readList :: ReadS [RevisionEntry]
$creadList :: ReadS [RevisionEntry]
readsPrec :: Int -> ReadS RevisionEntry
$creadsPrec :: Int -> ReadS RevisionEntry
Prelude.Read, Int -> RevisionEntry -> ShowS
[RevisionEntry] -> ShowS
RevisionEntry -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RevisionEntry] -> ShowS
$cshowList :: [RevisionEntry] -> ShowS
show :: RevisionEntry -> String
$cshow :: RevisionEntry -> String
showsPrec :: Int -> RevisionEntry -> ShowS
$cshowsPrec :: Int -> RevisionEntry -> ShowS
Prelude.Show, forall x. Rep RevisionEntry x -> RevisionEntry
forall x. RevisionEntry -> Rep RevisionEntry x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RevisionEntry x -> RevisionEntry
$cfrom :: forall x. RevisionEntry -> Rep RevisionEntry x
Prelude.Generic)

-- |
-- Create a value of 'RevisionEntry' 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:
--
-- 'comment', 'revisionEntry_comment' - An optional comment about the revision.
--
-- 'finalized', 'revisionEntry_finalized' - To publish a revision to a data set in a product, the revision must
-- first be finalized. Finalizing a revision tells AWS Data Exchange that
-- your changes to the assets in the revision are complete. After it\'s in
-- this read-only state, you can publish the revision to your products.
-- Finalized revisions can be published through the AWS Data Exchange
-- console or the AWS Marketplace Catalog API, using the StartChangeSet AWS
-- Marketplace Catalog API action. When using the API, revisions are
-- uniquely identified by their ARN.
--
-- 'revocationComment', 'revisionEntry_revocationComment' - A required comment to inform subscribers of the reason their access to
-- the revision was revoked.
--
-- 'revoked', 'revisionEntry_revoked' - A status indicating that subscribers\' access to the revision was
-- revoked.
--
-- 'revokedAt', 'revisionEntry_revokedAt' - The date and time that the revision was revoked, in ISO 8601 format.
--
-- 'sourceId', 'revisionEntry_sourceId' - The revision ID of the owned revision corresponding to the entitled
-- revision being viewed. This parameter is returned when a revision owner
-- is viewing the entitled copy of its owned revision.
--
-- 'arn', 'revisionEntry_arn' - The ARN for the revision.
--
-- 'createdAt', 'revisionEntry_createdAt' - The date and time that the revision was created, in ISO 8601 format.
--
-- 'dataSetId', 'revisionEntry_dataSetId' - The unique identifier for the data set associated with the data set
-- revision.
--
-- 'id', 'revisionEntry_id' - The unique identifier for the revision.
--
-- 'updatedAt', 'revisionEntry_updatedAt' - The date and time that the revision was last updated, in ISO 8601
-- format.
newRevisionEntry ::
  -- | 'arn'
  Prelude.Text ->
  -- | 'createdAt'
  Prelude.UTCTime ->
  -- | 'dataSetId'
  Prelude.Text ->
  -- | 'id'
  Prelude.Text ->
  -- | 'updatedAt'
  Prelude.UTCTime ->
  RevisionEntry
newRevisionEntry :: Text -> UTCTime -> Text -> Text -> UTCTime -> RevisionEntry
newRevisionEntry
  Text
pArn_
  UTCTime
pCreatedAt_
  Text
pDataSetId_
  Text
pId_
  UTCTime
pUpdatedAt_ =
    RevisionEntry'
      { $sel:comment:RevisionEntry' :: Maybe Text
comment = forall a. Maybe a
Prelude.Nothing,
        $sel:finalized:RevisionEntry' :: Maybe Bool
finalized = forall a. Maybe a
Prelude.Nothing,
        $sel:revocationComment:RevisionEntry' :: Maybe Text
revocationComment = forall a. Maybe a
Prelude.Nothing,
        $sel:revoked:RevisionEntry' :: Maybe Bool
revoked = forall a. Maybe a
Prelude.Nothing,
        $sel:revokedAt:RevisionEntry' :: Maybe ISO8601
revokedAt = forall a. Maybe a
Prelude.Nothing,
        $sel:sourceId:RevisionEntry' :: Maybe Text
sourceId = forall a. Maybe a
Prelude.Nothing,
        $sel:arn:RevisionEntry' :: Text
arn = Text
pArn_,
        $sel:createdAt:RevisionEntry' :: ISO8601
createdAt = forall (a :: Format). Iso' (Time a) UTCTime
Data._Time forall t b. AReview t b -> b -> t
Lens.# UTCTime
pCreatedAt_,
        $sel:dataSetId:RevisionEntry' :: Text
dataSetId = Text
pDataSetId_,
        $sel:id:RevisionEntry' :: Text
id = Text
pId_,
        $sel:updatedAt:RevisionEntry' :: ISO8601
updatedAt = forall (a :: Format). Iso' (Time a) UTCTime
Data._Time forall t b. AReview t b -> b -> t
Lens.# UTCTime
pUpdatedAt_
      }

-- | An optional comment about the revision.
revisionEntry_comment :: Lens.Lens' RevisionEntry (Prelude.Maybe Prelude.Text)
revisionEntry_comment :: Lens' RevisionEntry (Maybe Text)
revisionEntry_comment = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RevisionEntry' {Maybe Text
comment :: Maybe Text
$sel:comment:RevisionEntry' :: RevisionEntry -> Maybe Text
comment} -> Maybe Text
comment) (\s :: RevisionEntry
s@RevisionEntry' {} Maybe Text
a -> RevisionEntry
s {$sel:comment:RevisionEntry' :: Maybe Text
comment = Maybe Text
a} :: RevisionEntry)

-- | To publish a revision to a data set in a product, the revision must
-- first be finalized. Finalizing a revision tells AWS Data Exchange that
-- your changes to the assets in the revision are complete. After it\'s in
-- this read-only state, you can publish the revision to your products.
-- Finalized revisions can be published through the AWS Data Exchange
-- console or the AWS Marketplace Catalog API, using the StartChangeSet AWS
-- Marketplace Catalog API action. When using the API, revisions are
-- uniquely identified by their ARN.
revisionEntry_finalized :: Lens.Lens' RevisionEntry (Prelude.Maybe Prelude.Bool)
revisionEntry_finalized :: Lens' RevisionEntry (Maybe Bool)
revisionEntry_finalized = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RevisionEntry' {Maybe Bool
finalized :: Maybe Bool
$sel:finalized:RevisionEntry' :: RevisionEntry -> Maybe Bool
finalized} -> Maybe Bool
finalized) (\s :: RevisionEntry
s@RevisionEntry' {} Maybe Bool
a -> RevisionEntry
s {$sel:finalized:RevisionEntry' :: Maybe Bool
finalized = Maybe Bool
a} :: RevisionEntry)

-- | A required comment to inform subscribers of the reason their access to
-- the revision was revoked.
revisionEntry_revocationComment :: Lens.Lens' RevisionEntry (Prelude.Maybe Prelude.Text)
revisionEntry_revocationComment :: Lens' RevisionEntry (Maybe Text)
revisionEntry_revocationComment = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RevisionEntry' {Maybe Text
revocationComment :: Maybe Text
$sel:revocationComment:RevisionEntry' :: RevisionEntry -> Maybe Text
revocationComment} -> Maybe Text
revocationComment) (\s :: RevisionEntry
s@RevisionEntry' {} Maybe Text
a -> RevisionEntry
s {$sel:revocationComment:RevisionEntry' :: Maybe Text
revocationComment = Maybe Text
a} :: RevisionEntry)

-- | A status indicating that subscribers\' access to the revision was
-- revoked.
revisionEntry_revoked :: Lens.Lens' RevisionEntry (Prelude.Maybe Prelude.Bool)
revisionEntry_revoked :: Lens' RevisionEntry (Maybe Bool)
revisionEntry_revoked = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RevisionEntry' {Maybe Bool
revoked :: Maybe Bool
$sel:revoked:RevisionEntry' :: RevisionEntry -> Maybe Bool
revoked} -> Maybe Bool
revoked) (\s :: RevisionEntry
s@RevisionEntry' {} Maybe Bool
a -> RevisionEntry
s {$sel:revoked:RevisionEntry' :: Maybe Bool
revoked = Maybe Bool
a} :: RevisionEntry)

-- | The date and time that the revision was revoked, in ISO 8601 format.
revisionEntry_revokedAt :: Lens.Lens' RevisionEntry (Prelude.Maybe Prelude.UTCTime)
revisionEntry_revokedAt :: Lens' RevisionEntry (Maybe UTCTime)
revisionEntry_revokedAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RevisionEntry' {Maybe ISO8601
revokedAt :: Maybe ISO8601
$sel:revokedAt:RevisionEntry' :: RevisionEntry -> Maybe ISO8601
revokedAt} -> Maybe ISO8601
revokedAt) (\s :: RevisionEntry
s@RevisionEntry' {} Maybe ISO8601
a -> RevisionEntry
s {$sel:revokedAt:RevisionEntry' :: Maybe ISO8601
revokedAt = Maybe ISO8601
a} :: RevisionEntry) 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 revision ID of the owned revision corresponding to the entitled
-- revision being viewed. This parameter is returned when a revision owner
-- is viewing the entitled copy of its owned revision.
revisionEntry_sourceId :: Lens.Lens' RevisionEntry (Prelude.Maybe Prelude.Text)
revisionEntry_sourceId :: Lens' RevisionEntry (Maybe Text)
revisionEntry_sourceId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RevisionEntry' {Maybe Text
sourceId :: Maybe Text
$sel:sourceId:RevisionEntry' :: RevisionEntry -> Maybe Text
sourceId} -> Maybe Text
sourceId) (\s :: RevisionEntry
s@RevisionEntry' {} Maybe Text
a -> RevisionEntry
s {$sel:sourceId:RevisionEntry' :: Maybe Text
sourceId = Maybe Text
a} :: RevisionEntry)

-- | The ARN for the revision.
revisionEntry_arn :: Lens.Lens' RevisionEntry Prelude.Text
revisionEntry_arn :: Lens' RevisionEntry Text
revisionEntry_arn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RevisionEntry' {Text
arn :: Text
$sel:arn:RevisionEntry' :: RevisionEntry -> Text
arn} -> Text
arn) (\s :: RevisionEntry
s@RevisionEntry' {} Text
a -> RevisionEntry
s {$sel:arn:RevisionEntry' :: Text
arn = Text
a} :: RevisionEntry)

-- | The date and time that the revision was created, in ISO 8601 format.
revisionEntry_createdAt :: Lens.Lens' RevisionEntry Prelude.UTCTime
revisionEntry_createdAt :: Lens' RevisionEntry UTCTime
revisionEntry_createdAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RevisionEntry' {ISO8601
createdAt :: ISO8601
$sel:createdAt:RevisionEntry' :: RevisionEntry -> ISO8601
createdAt} -> ISO8601
createdAt) (\s :: RevisionEntry
s@RevisionEntry' {} ISO8601
a -> RevisionEntry
s {$sel:createdAt:RevisionEntry' :: ISO8601
createdAt = ISO8601
a} :: RevisionEntry) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The unique identifier for the data set associated with the data set
-- revision.
revisionEntry_dataSetId :: Lens.Lens' RevisionEntry Prelude.Text
revisionEntry_dataSetId :: Lens' RevisionEntry Text
revisionEntry_dataSetId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RevisionEntry' {Text
dataSetId :: Text
$sel:dataSetId:RevisionEntry' :: RevisionEntry -> Text
dataSetId} -> Text
dataSetId) (\s :: RevisionEntry
s@RevisionEntry' {} Text
a -> RevisionEntry
s {$sel:dataSetId:RevisionEntry' :: Text
dataSetId = Text
a} :: RevisionEntry)

-- | The unique identifier for the revision.
revisionEntry_id :: Lens.Lens' RevisionEntry Prelude.Text
revisionEntry_id :: Lens' RevisionEntry Text
revisionEntry_id = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RevisionEntry' {Text
id :: Text
$sel:id:RevisionEntry' :: RevisionEntry -> Text
id} -> Text
id) (\s :: RevisionEntry
s@RevisionEntry' {} Text
a -> RevisionEntry
s {$sel:id:RevisionEntry' :: Text
id = Text
a} :: RevisionEntry)

-- | The date and time that the revision was last updated, in ISO 8601
-- format.
revisionEntry_updatedAt :: Lens.Lens' RevisionEntry Prelude.UTCTime
revisionEntry_updatedAt :: Lens' RevisionEntry UTCTime
revisionEntry_updatedAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RevisionEntry' {ISO8601
updatedAt :: ISO8601
$sel:updatedAt:RevisionEntry' :: RevisionEntry -> ISO8601
updatedAt} -> ISO8601
updatedAt) (\s :: RevisionEntry
s@RevisionEntry' {} ISO8601
a -> RevisionEntry
s {$sel:updatedAt:RevisionEntry' :: ISO8601
updatedAt = ISO8601
a} :: RevisionEntry) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

instance Data.FromJSON RevisionEntry where
  parseJSON :: Value -> Parser RevisionEntry
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"RevisionEntry"
      ( \Object
x ->
          Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe ISO8601
-> Maybe Text
-> Text
-> ISO8601
-> Text
-> Text
-> ISO8601
-> RevisionEntry
RevisionEntry'
            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
"Comment")
            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
"Finalized")
            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
"RevocationComment")
            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
"Revoked")
            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
"RevokedAt")
            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
"SourceId")
            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
"Arn")
            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
"CreatedAt")
            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
"DataSetId")
            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
"Id")
            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
"UpdatedAt")
      )

instance Prelude.Hashable RevisionEntry where
  hashWithSalt :: Int -> RevisionEntry -> Int
hashWithSalt Int
_salt RevisionEntry' {Maybe Bool
Maybe Text
Maybe ISO8601
Text
ISO8601
updatedAt :: ISO8601
id :: Text
dataSetId :: Text
createdAt :: ISO8601
arn :: Text
sourceId :: Maybe Text
revokedAt :: Maybe ISO8601
revoked :: Maybe Bool
revocationComment :: Maybe Text
finalized :: Maybe Bool
comment :: Maybe Text
$sel:updatedAt:RevisionEntry' :: RevisionEntry -> ISO8601
$sel:id:RevisionEntry' :: RevisionEntry -> Text
$sel:dataSetId:RevisionEntry' :: RevisionEntry -> Text
$sel:createdAt:RevisionEntry' :: RevisionEntry -> ISO8601
$sel:arn:RevisionEntry' :: RevisionEntry -> Text
$sel:sourceId:RevisionEntry' :: RevisionEntry -> Maybe Text
$sel:revokedAt:RevisionEntry' :: RevisionEntry -> Maybe ISO8601
$sel:revoked:RevisionEntry' :: RevisionEntry -> Maybe Bool
$sel:revocationComment:RevisionEntry' :: RevisionEntry -> Maybe Text
$sel:finalized:RevisionEntry' :: RevisionEntry -> Maybe Bool
$sel:comment:RevisionEntry' :: RevisionEntry -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
comment
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
finalized
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
revocationComment
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
revoked
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ISO8601
revokedAt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
sourceId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
arn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ISO8601
createdAt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
dataSetId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
id
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ISO8601
updatedAt

instance Prelude.NFData RevisionEntry where
  rnf :: RevisionEntry -> ()
rnf RevisionEntry' {Maybe Bool
Maybe Text
Maybe ISO8601
Text
ISO8601
updatedAt :: ISO8601
id :: Text
dataSetId :: Text
createdAt :: ISO8601
arn :: Text
sourceId :: Maybe Text
revokedAt :: Maybe ISO8601
revoked :: Maybe Bool
revocationComment :: Maybe Text
finalized :: Maybe Bool
comment :: Maybe Text
$sel:updatedAt:RevisionEntry' :: RevisionEntry -> ISO8601
$sel:id:RevisionEntry' :: RevisionEntry -> Text
$sel:dataSetId:RevisionEntry' :: RevisionEntry -> Text
$sel:createdAt:RevisionEntry' :: RevisionEntry -> ISO8601
$sel:arn:RevisionEntry' :: RevisionEntry -> Text
$sel:sourceId:RevisionEntry' :: RevisionEntry -> Maybe Text
$sel:revokedAt:RevisionEntry' :: RevisionEntry -> Maybe ISO8601
$sel:revoked:RevisionEntry' :: RevisionEntry -> Maybe Bool
$sel:revocationComment:RevisionEntry' :: RevisionEntry -> Maybe Text
$sel:finalized:RevisionEntry' :: RevisionEntry -> Maybe Bool
$sel:comment:RevisionEntry' :: RevisionEntry -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
comment
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
finalized
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
revocationComment
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
revoked
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
revokedAt
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
sourceId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
arn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf ISO8601
createdAt
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
dataSetId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
id
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf ISO8601
updatedAt