{-# 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.OpenSearchServerless.Types.CollectionDetail
-- 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.OpenSearchServerless.Types.CollectionDetail where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.OpenSearchServerless.Types.CollectionStatus
import Amazonka.OpenSearchServerless.Types.CollectionType
import qualified Amazonka.Prelude as Prelude

-- | Details about each OpenSearch Serverless collection, including the
-- collection endpoint and the OpenSearch Dashboards endpoint.
--
-- /See:/ 'newCollectionDetail' smart constructor.
data CollectionDetail = CollectionDetail'
  { -- | The Amazon Resource Name (ARN) of the collection.
    CollectionDetail -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
    -- | Collection-specific endpoint used to submit index, search, and data
    -- upload requests to an OpenSearch Serverless collection.
    CollectionDetail -> Maybe Text
collectionEndpoint :: Prelude.Maybe Prelude.Text,
    -- | The Epoch time when the collection was created.
    CollectionDetail -> Maybe Integer
createdDate :: Prelude.Maybe Prelude.Integer,
    -- | Collection-specific endpoint used to access OpenSearch Dashboards.
    CollectionDetail -> Maybe Text
dashboardEndpoint :: Prelude.Maybe Prelude.Text,
    -- | A description of the collection.
    CollectionDetail -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
    -- | A unique identifier for the collection.
    CollectionDetail -> Maybe Text
id :: Prelude.Maybe Prelude.Text,
    -- | The ARN of the Amazon Web Services KMS key used to encrypt the
    -- collection.
    CollectionDetail -> Maybe Text
kmsKeyArn :: Prelude.Maybe Prelude.Text,
    -- | The date and time when the collection was last modified.
    CollectionDetail -> Maybe Integer
lastModifiedDate :: Prelude.Maybe Prelude.Integer,
    -- | The name of the collection.
    CollectionDetail -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
    -- | The current status of the collection.
    CollectionDetail -> Maybe CollectionStatus
status :: Prelude.Maybe CollectionStatus,
    -- | The type of collection.
    CollectionDetail -> Maybe CollectionType
type' :: Prelude.Maybe CollectionType
  }
  deriving (CollectionDetail -> CollectionDetail -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CollectionDetail -> CollectionDetail -> Bool
$c/= :: CollectionDetail -> CollectionDetail -> Bool
== :: CollectionDetail -> CollectionDetail -> Bool
$c== :: CollectionDetail -> CollectionDetail -> Bool
Prelude.Eq, ReadPrec [CollectionDetail]
ReadPrec CollectionDetail
Int -> ReadS CollectionDetail
ReadS [CollectionDetail]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CollectionDetail]
$creadListPrec :: ReadPrec [CollectionDetail]
readPrec :: ReadPrec CollectionDetail
$creadPrec :: ReadPrec CollectionDetail
readList :: ReadS [CollectionDetail]
$creadList :: ReadS [CollectionDetail]
readsPrec :: Int -> ReadS CollectionDetail
$creadsPrec :: Int -> ReadS CollectionDetail
Prelude.Read, Int -> CollectionDetail -> ShowS
[CollectionDetail] -> ShowS
CollectionDetail -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CollectionDetail] -> ShowS
$cshowList :: [CollectionDetail] -> ShowS
show :: CollectionDetail -> String
$cshow :: CollectionDetail -> String
showsPrec :: Int -> CollectionDetail -> ShowS
$cshowsPrec :: Int -> CollectionDetail -> ShowS
Prelude.Show, forall x. Rep CollectionDetail x -> CollectionDetail
forall x. CollectionDetail -> Rep CollectionDetail x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CollectionDetail x -> CollectionDetail
$cfrom :: forall x. CollectionDetail -> Rep CollectionDetail x
Prelude.Generic)

-- |
-- Create a value of 'CollectionDetail' 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', 'collectionDetail_arn' - The Amazon Resource Name (ARN) of the collection.
--
-- 'collectionEndpoint', 'collectionDetail_collectionEndpoint' - Collection-specific endpoint used to submit index, search, and data
-- upload requests to an OpenSearch Serverless collection.
--
-- 'createdDate', 'collectionDetail_createdDate' - The Epoch time when the collection was created.
--
-- 'dashboardEndpoint', 'collectionDetail_dashboardEndpoint' - Collection-specific endpoint used to access OpenSearch Dashboards.
--
-- 'description', 'collectionDetail_description' - A description of the collection.
--
-- 'id', 'collectionDetail_id' - A unique identifier for the collection.
--
-- 'kmsKeyArn', 'collectionDetail_kmsKeyArn' - The ARN of the Amazon Web Services KMS key used to encrypt the
-- collection.
--
-- 'lastModifiedDate', 'collectionDetail_lastModifiedDate' - The date and time when the collection was last modified.
--
-- 'name', 'collectionDetail_name' - The name of the collection.
--
-- 'status', 'collectionDetail_status' - The current status of the collection.
--
-- 'type'', 'collectionDetail_type' - The type of collection.
newCollectionDetail ::
  CollectionDetail
newCollectionDetail :: CollectionDetail
newCollectionDetail =
  CollectionDetail'
    { $sel:arn:CollectionDetail' :: Maybe Text
arn = forall a. Maybe a
Prelude.Nothing,
      $sel:collectionEndpoint:CollectionDetail' :: Maybe Text
collectionEndpoint = forall a. Maybe a
Prelude.Nothing,
      $sel:createdDate:CollectionDetail' :: Maybe Integer
createdDate = forall a. Maybe a
Prelude.Nothing,
      $sel:dashboardEndpoint:CollectionDetail' :: Maybe Text
dashboardEndpoint = forall a. Maybe a
Prelude.Nothing,
      $sel:description:CollectionDetail' :: Maybe Text
description = forall a. Maybe a
Prelude.Nothing,
      $sel:id:CollectionDetail' :: Maybe Text
id = forall a. Maybe a
Prelude.Nothing,
      $sel:kmsKeyArn:CollectionDetail' :: Maybe Text
kmsKeyArn = forall a. Maybe a
Prelude.Nothing,
      $sel:lastModifiedDate:CollectionDetail' :: Maybe Integer
lastModifiedDate = forall a. Maybe a
Prelude.Nothing,
      $sel:name:CollectionDetail' :: Maybe Text
name = forall a. Maybe a
Prelude.Nothing,
      $sel:status:CollectionDetail' :: Maybe CollectionStatus
status = forall a. Maybe a
Prelude.Nothing,
      $sel:type':CollectionDetail' :: Maybe CollectionType
type' = forall a. Maybe a
Prelude.Nothing
    }

-- | The Amazon Resource Name (ARN) of the collection.
collectionDetail_arn :: Lens.Lens' CollectionDetail (Prelude.Maybe Prelude.Text)
collectionDetail_arn :: Lens' CollectionDetail (Maybe Text)
collectionDetail_arn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CollectionDetail' {Maybe Text
arn :: Maybe Text
$sel:arn:CollectionDetail' :: CollectionDetail -> Maybe Text
arn} -> Maybe Text
arn) (\s :: CollectionDetail
s@CollectionDetail' {} Maybe Text
a -> CollectionDetail
s {$sel:arn:CollectionDetail' :: Maybe Text
arn = Maybe Text
a} :: CollectionDetail)

-- | Collection-specific endpoint used to submit index, search, and data
-- upload requests to an OpenSearch Serverless collection.
collectionDetail_collectionEndpoint :: Lens.Lens' CollectionDetail (Prelude.Maybe Prelude.Text)
collectionDetail_collectionEndpoint :: Lens' CollectionDetail (Maybe Text)
collectionDetail_collectionEndpoint = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CollectionDetail' {Maybe Text
collectionEndpoint :: Maybe Text
$sel:collectionEndpoint:CollectionDetail' :: CollectionDetail -> Maybe Text
collectionEndpoint} -> Maybe Text
collectionEndpoint) (\s :: CollectionDetail
s@CollectionDetail' {} Maybe Text
a -> CollectionDetail
s {$sel:collectionEndpoint:CollectionDetail' :: Maybe Text
collectionEndpoint = Maybe Text
a} :: CollectionDetail)

-- | The Epoch time when the collection was created.
collectionDetail_createdDate :: Lens.Lens' CollectionDetail (Prelude.Maybe Prelude.Integer)
collectionDetail_createdDate :: Lens' CollectionDetail (Maybe Integer)
collectionDetail_createdDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CollectionDetail' {Maybe Integer
createdDate :: Maybe Integer
$sel:createdDate:CollectionDetail' :: CollectionDetail -> Maybe Integer
createdDate} -> Maybe Integer
createdDate) (\s :: CollectionDetail
s@CollectionDetail' {} Maybe Integer
a -> CollectionDetail
s {$sel:createdDate:CollectionDetail' :: Maybe Integer
createdDate = Maybe Integer
a} :: CollectionDetail)

-- | Collection-specific endpoint used to access OpenSearch Dashboards.
collectionDetail_dashboardEndpoint :: Lens.Lens' CollectionDetail (Prelude.Maybe Prelude.Text)
collectionDetail_dashboardEndpoint :: Lens' CollectionDetail (Maybe Text)
collectionDetail_dashboardEndpoint = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CollectionDetail' {Maybe Text
dashboardEndpoint :: Maybe Text
$sel:dashboardEndpoint:CollectionDetail' :: CollectionDetail -> Maybe Text
dashboardEndpoint} -> Maybe Text
dashboardEndpoint) (\s :: CollectionDetail
s@CollectionDetail' {} Maybe Text
a -> CollectionDetail
s {$sel:dashboardEndpoint:CollectionDetail' :: Maybe Text
dashboardEndpoint = Maybe Text
a} :: CollectionDetail)

-- | A description of the collection.
collectionDetail_description :: Lens.Lens' CollectionDetail (Prelude.Maybe Prelude.Text)
collectionDetail_description :: Lens' CollectionDetail (Maybe Text)
collectionDetail_description = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CollectionDetail' {Maybe Text
description :: Maybe Text
$sel:description:CollectionDetail' :: CollectionDetail -> Maybe Text
description} -> Maybe Text
description) (\s :: CollectionDetail
s@CollectionDetail' {} Maybe Text
a -> CollectionDetail
s {$sel:description:CollectionDetail' :: Maybe Text
description = Maybe Text
a} :: CollectionDetail)

-- | A unique identifier for the collection.
collectionDetail_id :: Lens.Lens' CollectionDetail (Prelude.Maybe Prelude.Text)
collectionDetail_id :: Lens' CollectionDetail (Maybe Text)
collectionDetail_id = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CollectionDetail' {Maybe Text
id :: Maybe Text
$sel:id:CollectionDetail' :: CollectionDetail -> Maybe Text
id} -> Maybe Text
id) (\s :: CollectionDetail
s@CollectionDetail' {} Maybe Text
a -> CollectionDetail
s {$sel:id:CollectionDetail' :: Maybe Text
id = Maybe Text
a} :: CollectionDetail)

-- | The ARN of the Amazon Web Services KMS key used to encrypt the
-- collection.
collectionDetail_kmsKeyArn :: Lens.Lens' CollectionDetail (Prelude.Maybe Prelude.Text)
collectionDetail_kmsKeyArn :: Lens' CollectionDetail (Maybe Text)
collectionDetail_kmsKeyArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CollectionDetail' {Maybe Text
kmsKeyArn :: Maybe Text
$sel:kmsKeyArn:CollectionDetail' :: CollectionDetail -> Maybe Text
kmsKeyArn} -> Maybe Text
kmsKeyArn) (\s :: CollectionDetail
s@CollectionDetail' {} Maybe Text
a -> CollectionDetail
s {$sel:kmsKeyArn:CollectionDetail' :: Maybe Text
kmsKeyArn = Maybe Text
a} :: CollectionDetail)

-- | The date and time when the collection was last modified.
collectionDetail_lastModifiedDate :: Lens.Lens' CollectionDetail (Prelude.Maybe Prelude.Integer)
collectionDetail_lastModifiedDate :: Lens' CollectionDetail (Maybe Integer)
collectionDetail_lastModifiedDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CollectionDetail' {Maybe Integer
lastModifiedDate :: Maybe Integer
$sel:lastModifiedDate:CollectionDetail' :: CollectionDetail -> Maybe Integer
lastModifiedDate} -> Maybe Integer
lastModifiedDate) (\s :: CollectionDetail
s@CollectionDetail' {} Maybe Integer
a -> CollectionDetail
s {$sel:lastModifiedDate:CollectionDetail' :: Maybe Integer
lastModifiedDate = Maybe Integer
a} :: CollectionDetail)

-- | The name of the collection.
collectionDetail_name :: Lens.Lens' CollectionDetail (Prelude.Maybe Prelude.Text)
collectionDetail_name :: Lens' CollectionDetail (Maybe Text)
collectionDetail_name = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CollectionDetail' {Maybe Text
name :: Maybe Text
$sel:name:CollectionDetail' :: CollectionDetail -> Maybe Text
name} -> Maybe Text
name) (\s :: CollectionDetail
s@CollectionDetail' {} Maybe Text
a -> CollectionDetail
s {$sel:name:CollectionDetail' :: Maybe Text
name = Maybe Text
a} :: CollectionDetail)

-- | The current status of the collection.
collectionDetail_status :: Lens.Lens' CollectionDetail (Prelude.Maybe CollectionStatus)
collectionDetail_status :: Lens' CollectionDetail (Maybe CollectionStatus)
collectionDetail_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CollectionDetail' {Maybe CollectionStatus
status :: Maybe CollectionStatus
$sel:status:CollectionDetail' :: CollectionDetail -> Maybe CollectionStatus
status} -> Maybe CollectionStatus
status) (\s :: CollectionDetail
s@CollectionDetail' {} Maybe CollectionStatus
a -> CollectionDetail
s {$sel:status:CollectionDetail' :: Maybe CollectionStatus
status = Maybe CollectionStatus
a} :: CollectionDetail)

-- | The type of collection.
collectionDetail_type :: Lens.Lens' CollectionDetail (Prelude.Maybe CollectionType)
collectionDetail_type :: Lens' CollectionDetail (Maybe CollectionType)
collectionDetail_type = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CollectionDetail' {Maybe CollectionType
type' :: Maybe CollectionType
$sel:type':CollectionDetail' :: CollectionDetail -> Maybe CollectionType
type'} -> Maybe CollectionType
type') (\s :: CollectionDetail
s@CollectionDetail' {} Maybe CollectionType
a -> CollectionDetail
s {$sel:type':CollectionDetail' :: Maybe CollectionType
type' = Maybe CollectionType
a} :: CollectionDetail)

instance Data.FromJSON CollectionDetail where
  parseJSON :: Value -> Parser CollectionDetail
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"CollectionDetail"
      ( \Object
x ->
          Maybe Text
-> Maybe Text
-> Maybe Integer
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Integer
-> Maybe Text
-> Maybe CollectionStatus
-> Maybe CollectionType
-> CollectionDetail
CollectionDetail'
            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
"collectionEndpoint")
            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
"createdDate")
            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
"dashboardEndpoint")
            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
"description")
            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
"id")
            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
"kmsKeyArn")
            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
"name")
            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
"type")
      )

instance Prelude.Hashable CollectionDetail where
  hashWithSalt :: Int -> CollectionDetail -> Int
hashWithSalt Int
_salt CollectionDetail' {Maybe Integer
Maybe Text
Maybe CollectionStatus
Maybe CollectionType
type' :: Maybe CollectionType
status :: Maybe CollectionStatus
name :: Maybe Text
lastModifiedDate :: Maybe Integer
kmsKeyArn :: Maybe Text
id :: Maybe Text
description :: Maybe Text
dashboardEndpoint :: Maybe Text
createdDate :: Maybe Integer
collectionEndpoint :: Maybe Text
arn :: Maybe Text
$sel:type':CollectionDetail' :: CollectionDetail -> Maybe CollectionType
$sel:status:CollectionDetail' :: CollectionDetail -> Maybe CollectionStatus
$sel:name:CollectionDetail' :: CollectionDetail -> Maybe Text
$sel:lastModifiedDate:CollectionDetail' :: CollectionDetail -> Maybe Integer
$sel:kmsKeyArn:CollectionDetail' :: CollectionDetail -> Maybe Text
$sel:id:CollectionDetail' :: CollectionDetail -> Maybe Text
$sel:description:CollectionDetail' :: CollectionDetail -> Maybe Text
$sel:dashboardEndpoint:CollectionDetail' :: CollectionDetail -> Maybe Text
$sel:createdDate:CollectionDetail' :: CollectionDetail -> Maybe Integer
$sel:collectionEndpoint:CollectionDetail' :: CollectionDetail -> Maybe Text
$sel:arn:CollectionDetail' :: CollectionDetail -> 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
collectionEndpoint
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Integer
createdDate
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
dashboardEndpoint
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
description
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
id
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
kmsKeyArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Integer
lastModifiedDate
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
name
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CollectionStatus
status
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CollectionType
type'

instance Prelude.NFData CollectionDetail where
  rnf :: CollectionDetail -> ()
rnf CollectionDetail' {Maybe Integer
Maybe Text
Maybe CollectionStatus
Maybe CollectionType
type' :: Maybe CollectionType
status :: Maybe CollectionStatus
name :: Maybe Text
lastModifiedDate :: Maybe Integer
kmsKeyArn :: Maybe Text
id :: Maybe Text
description :: Maybe Text
dashboardEndpoint :: Maybe Text
createdDate :: Maybe Integer
collectionEndpoint :: Maybe Text
arn :: Maybe Text
$sel:type':CollectionDetail' :: CollectionDetail -> Maybe CollectionType
$sel:status:CollectionDetail' :: CollectionDetail -> Maybe CollectionStatus
$sel:name:CollectionDetail' :: CollectionDetail -> Maybe Text
$sel:lastModifiedDate:CollectionDetail' :: CollectionDetail -> Maybe Integer
$sel:kmsKeyArn:CollectionDetail' :: CollectionDetail -> Maybe Text
$sel:id:CollectionDetail' :: CollectionDetail -> Maybe Text
$sel:description:CollectionDetail' :: CollectionDetail -> Maybe Text
$sel:dashboardEndpoint:CollectionDetail' :: CollectionDetail -> Maybe Text
$sel:createdDate:CollectionDetail' :: CollectionDetail -> Maybe Integer
$sel:collectionEndpoint:CollectionDetail' :: CollectionDetail -> Maybe Text
$sel:arn:CollectionDetail' :: CollectionDetail -> 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
collectionEndpoint
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Integer
createdDate
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
dashboardEndpoint
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
description
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
id
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
kmsKeyArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Integer
lastModifiedDate
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
name
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CollectionStatus
status
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CollectionType
type'