{-# 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.AppFlow.Types.ConnectorDetail
-- 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.AppFlow.Types.ConnectorDetail where

import Amazonka.AppFlow.Types.ConnectorProvisioningType
import Amazonka.AppFlow.Types.ConnectorType
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

-- | Information about the registered connector.
--
-- /See:/ 'newConnectorDetail' smart constructor.
data ConnectorDetail = ConnectorDetail'
  { -- | The application type of the connector.
    ConnectorDetail -> Maybe Text
applicationType :: Prelude.Maybe Prelude.Text,
    -- | A description about the registered connector.
    ConnectorDetail -> Maybe Text
connectorDescription :: Prelude.Maybe Prelude.Text,
    -- | A label used for the connector.
    ConnectorDetail -> Maybe Text
connectorLabel :: Prelude.Maybe Prelude.Text,
    -- | The connection mode that the connector supports.
    ConnectorDetail -> Maybe [Text]
connectorModes :: Prelude.Maybe [Prelude.Text],
    -- | The name of the connector.
    ConnectorDetail -> Maybe Text
connectorName :: Prelude.Maybe Prelude.Text,
    -- | The owner of the connector.
    ConnectorDetail -> Maybe Text
connectorOwner :: Prelude.Maybe Prelude.Text,
    -- | The provisioning type that the connector uses.
    ConnectorDetail -> Maybe ConnectorProvisioningType
connectorProvisioningType :: Prelude.Maybe ConnectorProvisioningType,
    -- | The connector type.
    ConnectorDetail -> Maybe ConnectorType
connectorType :: Prelude.Maybe ConnectorType,
    -- | The connector version.
    ConnectorDetail -> Maybe Text
connectorVersion :: Prelude.Maybe Prelude.Text,
    -- | The time at which the connector was registered.
    ConnectorDetail -> Maybe POSIX
registeredAt :: Prelude.Maybe Data.POSIX,
    -- | The user who registered the connector.
    ConnectorDetail -> Maybe Text
registeredBy :: Prelude.Maybe Prelude.Text
  }
  deriving (ConnectorDetail -> ConnectorDetail -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ConnectorDetail -> ConnectorDetail -> Bool
$c/= :: ConnectorDetail -> ConnectorDetail -> Bool
== :: ConnectorDetail -> ConnectorDetail -> Bool
$c== :: ConnectorDetail -> ConnectorDetail -> Bool
Prelude.Eq, ReadPrec [ConnectorDetail]
ReadPrec ConnectorDetail
Int -> ReadS ConnectorDetail
ReadS [ConnectorDetail]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ConnectorDetail]
$creadListPrec :: ReadPrec [ConnectorDetail]
readPrec :: ReadPrec ConnectorDetail
$creadPrec :: ReadPrec ConnectorDetail
readList :: ReadS [ConnectorDetail]
$creadList :: ReadS [ConnectorDetail]
readsPrec :: Int -> ReadS ConnectorDetail
$creadsPrec :: Int -> ReadS ConnectorDetail
Prelude.Read, Int -> ConnectorDetail -> ShowS
[ConnectorDetail] -> ShowS
ConnectorDetail -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ConnectorDetail] -> ShowS
$cshowList :: [ConnectorDetail] -> ShowS
show :: ConnectorDetail -> String
$cshow :: ConnectorDetail -> String
showsPrec :: Int -> ConnectorDetail -> ShowS
$cshowsPrec :: Int -> ConnectorDetail -> ShowS
Prelude.Show, forall x. Rep ConnectorDetail x -> ConnectorDetail
forall x. ConnectorDetail -> Rep ConnectorDetail x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ConnectorDetail x -> ConnectorDetail
$cfrom :: forall x. ConnectorDetail -> Rep ConnectorDetail x
Prelude.Generic)

-- |
-- Create a value of 'ConnectorDetail' 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:
--
-- 'applicationType', 'connectorDetail_applicationType' - The application type of the connector.
--
-- 'connectorDescription', 'connectorDetail_connectorDescription' - A description about the registered connector.
--
-- 'connectorLabel', 'connectorDetail_connectorLabel' - A label used for the connector.
--
-- 'connectorModes', 'connectorDetail_connectorModes' - The connection mode that the connector supports.
--
-- 'connectorName', 'connectorDetail_connectorName' - The name of the connector.
--
-- 'connectorOwner', 'connectorDetail_connectorOwner' - The owner of the connector.
--
-- 'connectorProvisioningType', 'connectorDetail_connectorProvisioningType' - The provisioning type that the connector uses.
--
-- 'connectorType', 'connectorDetail_connectorType' - The connector type.
--
-- 'connectorVersion', 'connectorDetail_connectorVersion' - The connector version.
--
-- 'registeredAt', 'connectorDetail_registeredAt' - The time at which the connector was registered.
--
-- 'registeredBy', 'connectorDetail_registeredBy' - The user who registered the connector.
newConnectorDetail ::
  ConnectorDetail
newConnectorDetail :: ConnectorDetail
newConnectorDetail =
  ConnectorDetail'
    { $sel:applicationType:ConnectorDetail' :: Maybe Text
applicationType = forall a. Maybe a
Prelude.Nothing,
      $sel:connectorDescription:ConnectorDetail' :: Maybe Text
connectorDescription = forall a. Maybe a
Prelude.Nothing,
      $sel:connectorLabel:ConnectorDetail' :: Maybe Text
connectorLabel = forall a. Maybe a
Prelude.Nothing,
      $sel:connectorModes:ConnectorDetail' :: Maybe [Text]
connectorModes = forall a. Maybe a
Prelude.Nothing,
      $sel:connectorName:ConnectorDetail' :: Maybe Text
connectorName = forall a. Maybe a
Prelude.Nothing,
      $sel:connectorOwner:ConnectorDetail' :: Maybe Text
connectorOwner = forall a. Maybe a
Prelude.Nothing,
      $sel:connectorProvisioningType:ConnectorDetail' :: Maybe ConnectorProvisioningType
connectorProvisioningType = forall a. Maybe a
Prelude.Nothing,
      $sel:connectorType:ConnectorDetail' :: Maybe ConnectorType
connectorType = forall a. Maybe a
Prelude.Nothing,
      $sel:connectorVersion:ConnectorDetail' :: Maybe Text
connectorVersion = forall a. Maybe a
Prelude.Nothing,
      $sel:registeredAt:ConnectorDetail' :: Maybe POSIX
registeredAt = forall a. Maybe a
Prelude.Nothing,
      $sel:registeredBy:ConnectorDetail' :: Maybe Text
registeredBy = forall a. Maybe a
Prelude.Nothing
    }

-- | The application type of the connector.
connectorDetail_applicationType :: Lens.Lens' ConnectorDetail (Prelude.Maybe Prelude.Text)
connectorDetail_applicationType :: Lens' ConnectorDetail (Maybe Text)
connectorDetail_applicationType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConnectorDetail' {Maybe Text
applicationType :: Maybe Text
$sel:applicationType:ConnectorDetail' :: ConnectorDetail -> Maybe Text
applicationType} -> Maybe Text
applicationType) (\s :: ConnectorDetail
s@ConnectorDetail' {} Maybe Text
a -> ConnectorDetail
s {$sel:applicationType:ConnectorDetail' :: Maybe Text
applicationType = Maybe Text
a} :: ConnectorDetail)

-- | A description about the registered connector.
connectorDetail_connectorDescription :: Lens.Lens' ConnectorDetail (Prelude.Maybe Prelude.Text)
connectorDetail_connectorDescription :: Lens' ConnectorDetail (Maybe Text)
connectorDetail_connectorDescription = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConnectorDetail' {Maybe Text
connectorDescription :: Maybe Text
$sel:connectorDescription:ConnectorDetail' :: ConnectorDetail -> Maybe Text
connectorDescription} -> Maybe Text
connectorDescription) (\s :: ConnectorDetail
s@ConnectorDetail' {} Maybe Text
a -> ConnectorDetail
s {$sel:connectorDescription:ConnectorDetail' :: Maybe Text
connectorDescription = Maybe Text
a} :: ConnectorDetail)

-- | A label used for the connector.
connectorDetail_connectorLabel :: Lens.Lens' ConnectorDetail (Prelude.Maybe Prelude.Text)
connectorDetail_connectorLabel :: Lens' ConnectorDetail (Maybe Text)
connectorDetail_connectorLabel = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConnectorDetail' {Maybe Text
connectorLabel :: Maybe Text
$sel:connectorLabel:ConnectorDetail' :: ConnectorDetail -> Maybe Text
connectorLabel} -> Maybe Text
connectorLabel) (\s :: ConnectorDetail
s@ConnectorDetail' {} Maybe Text
a -> ConnectorDetail
s {$sel:connectorLabel:ConnectorDetail' :: Maybe Text
connectorLabel = Maybe Text
a} :: ConnectorDetail)

-- | The connection mode that the connector supports.
connectorDetail_connectorModes :: Lens.Lens' ConnectorDetail (Prelude.Maybe [Prelude.Text])
connectorDetail_connectorModes :: Lens' ConnectorDetail (Maybe [Text])
connectorDetail_connectorModes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConnectorDetail' {Maybe [Text]
connectorModes :: Maybe [Text]
$sel:connectorModes:ConnectorDetail' :: ConnectorDetail -> Maybe [Text]
connectorModes} -> Maybe [Text]
connectorModes) (\s :: ConnectorDetail
s@ConnectorDetail' {} Maybe [Text]
a -> ConnectorDetail
s {$sel:connectorModes:ConnectorDetail' :: Maybe [Text]
connectorModes = Maybe [Text]
a} :: ConnectorDetail) 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 name of the connector.
connectorDetail_connectorName :: Lens.Lens' ConnectorDetail (Prelude.Maybe Prelude.Text)
connectorDetail_connectorName :: Lens' ConnectorDetail (Maybe Text)
connectorDetail_connectorName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConnectorDetail' {Maybe Text
connectorName :: Maybe Text
$sel:connectorName:ConnectorDetail' :: ConnectorDetail -> Maybe Text
connectorName} -> Maybe Text
connectorName) (\s :: ConnectorDetail
s@ConnectorDetail' {} Maybe Text
a -> ConnectorDetail
s {$sel:connectorName:ConnectorDetail' :: Maybe Text
connectorName = Maybe Text
a} :: ConnectorDetail)

-- | The owner of the connector.
connectorDetail_connectorOwner :: Lens.Lens' ConnectorDetail (Prelude.Maybe Prelude.Text)
connectorDetail_connectorOwner :: Lens' ConnectorDetail (Maybe Text)
connectorDetail_connectorOwner = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConnectorDetail' {Maybe Text
connectorOwner :: Maybe Text
$sel:connectorOwner:ConnectorDetail' :: ConnectorDetail -> Maybe Text
connectorOwner} -> Maybe Text
connectorOwner) (\s :: ConnectorDetail
s@ConnectorDetail' {} Maybe Text
a -> ConnectorDetail
s {$sel:connectorOwner:ConnectorDetail' :: Maybe Text
connectorOwner = Maybe Text
a} :: ConnectorDetail)

-- | The provisioning type that the connector uses.
connectorDetail_connectorProvisioningType :: Lens.Lens' ConnectorDetail (Prelude.Maybe ConnectorProvisioningType)
connectorDetail_connectorProvisioningType :: Lens' ConnectorDetail (Maybe ConnectorProvisioningType)
connectorDetail_connectorProvisioningType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConnectorDetail' {Maybe ConnectorProvisioningType
connectorProvisioningType :: Maybe ConnectorProvisioningType
$sel:connectorProvisioningType:ConnectorDetail' :: ConnectorDetail -> Maybe ConnectorProvisioningType
connectorProvisioningType} -> Maybe ConnectorProvisioningType
connectorProvisioningType) (\s :: ConnectorDetail
s@ConnectorDetail' {} Maybe ConnectorProvisioningType
a -> ConnectorDetail
s {$sel:connectorProvisioningType:ConnectorDetail' :: Maybe ConnectorProvisioningType
connectorProvisioningType = Maybe ConnectorProvisioningType
a} :: ConnectorDetail)

-- | The connector type.
connectorDetail_connectorType :: Lens.Lens' ConnectorDetail (Prelude.Maybe ConnectorType)
connectorDetail_connectorType :: Lens' ConnectorDetail (Maybe ConnectorType)
connectorDetail_connectorType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConnectorDetail' {Maybe ConnectorType
connectorType :: Maybe ConnectorType
$sel:connectorType:ConnectorDetail' :: ConnectorDetail -> Maybe ConnectorType
connectorType} -> Maybe ConnectorType
connectorType) (\s :: ConnectorDetail
s@ConnectorDetail' {} Maybe ConnectorType
a -> ConnectorDetail
s {$sel:connectorType:ConnectorDetail' :: Maybe ConnectorType
connectorType = Maybe ConnectorType
a} :: ConnectorDetail)

-- | The connector version.
connectorDetail_connectorVersion :: Lens.Lens' ConnectorDetail (Prelude.Maybe Prelude.Text)
connectorDetail_connectorVersion :: Lens' ConnectorDetail (Maybe Text)
connectorDetail_connectorVersion = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConnectorDetail' {Maybe Text
connectorVersion :: Maybe Text
$sel:connectorVersion:ConnectorDetail' :: ConnectorDetail -> Maybe Text
connectorVersion} -> Maybe Text
connectorVersion) (\s :: ConnectorDetail
s@ConnectorDetail' {} Maybe Text
a -> ConnectorDetail
s {$sel:connectorVersion:ConnectorDetail' :: Maybe Text
connectorVersion = Maybe Text
a} :: ConnectorDetail)

-- | The time at which the connector was registered.
connectorDetail_registeredAt :: Lens.Lens' ConnectorDetail (Prelude.Maybe Prelude.UTCTime)
connectorDetail_registeredAt :: Lens' ConnectorDetail (Maybe UTCTime)
connectorDetail_registeredAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConnectorDetail' {Maybe POSIX
registeredAt :: Maybe POSIX
$sel:registeredAt:ConnectorDetail' :: ConnectorDetail -> Maybe POSIX
registeredAt} -> Maybe POSIX
registeredAt) (\s :: ConnectorDetail
s@ConnectorDetail' {} Maybe POSIX
a -> ConnectorDetail
s {$sel:registeredAt:ConnectorDetail' :: Maybe POSIX
registeredAt = Maybe POSIX
a} :: ConnectorDetail) 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 user who registered the connector.
connectorDetail_registeredBy :: Lens.Lens' ConnectorDetail (Prelude.Maybe Prelude.Text)
connectorDetail_registeredBy :: Lens' ConnectorDetail (Maybe Text)
connectorDetail_registeredBy = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConnectorDetail' {Maybe Text
registeredBy :: Maybe Text
$sel:registeredBy:ConnectorDetail' :: ConnectorDetail -> Maybe Text
registeredBy} -> Maybe Text
registeredBy) (\s :: ConnectorDetail
s@ConnectorDetail' {} Maybe Text
a -> ConnectorDetail
s {$sel:registeredBy:ConnectorDetail' :: Maybe Text
registeredBy = Maybe Text
a} :: ConnectorDetail)

instance Data.FromJSON ConnectorDetail where
  parseJSON :: Value -> Parser ConnectorDetail
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"ConnectorDetail"
      ( \Object
x ->
          Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe ConnectorProvisioningType
-> Maybe ConnectorType
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> ConnectorDetail
ConnectorDetail'
            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
"applicationType")
            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
"connectorDescription")
            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
"connectorLabel")
            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
"connectorModes" 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 (Maybe a)
Data..:? Key
"connectorName")
            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
"connectorOwner")
            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
"connectorProvisioningType")
            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
"connectorType")
            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
"connectorVersion")
            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
"registeredAt")
            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
"registeredBy")
      )

instance Prelude.Hashable ConnectorDetail where
  hashWithSalt :: Int -> ConnectorDetail -> Int
hashWithSalt Int
_salt ConnectorDetail' {Maybe [Text]
Maybe Text
Maybe POSIX
Maybe ConnectorProvisioningType
Maybe ConnectorType
registeredBy :: Maybe Text
registeredAt :: Maybe POSIX
connectorVersion :: Maybe Text
connectorType :: Maybe ConnectorType
connectorProvisioningType :: Maybe ConnectorProvisioningType
connectorOwner :: Maybe Text
connectorName :: Maybe Text
connectorModes :: Maybe [Text]
connectorLabel :: Maybe Text
connectorDescription :: Maybe Text
applicationType :: Maybe Text
$sel:registeredBy:ConnectorDetail' :: ConnectorDetail -> Maybe Text
$sel:registeredAt:ConnectorDetail' :: ConnectorDetail -> Maybe POSIX
$sel:connectorVersion:ConnectorDetail' :: ConnectorDetail -> Maybe Text
$sel:connectorType:ConnectorDetail' :: ConnectorDetail -> Maybe ConnectorType
$sel:connectorProvisioningType:ConnectorDetail' :: ConnectorDetail -> Maybe ConnectorProvisioningType
$sel:connectorOwner:ConnectorDetail' :: ConnectorDetail -> Maybe Text
$sel:connectorName:ConnectorDetail' :: ConnectorDetail -> Maybe Text
$sel:connectorModes:ConnectorDetail' :: ConnectorDetail -> Maybe [Text]
$sel:connectorLabel:ConnectorDetail' :: ConnectorDetail -> Maybe Text
$sel:connectorDescription:ConnectorDetail' :: ConnectorDetail -> Maybe Text
$sel:applicationType:ConnectorDetail' :: ConnectorDetail -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
applicationType
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
connectorDescription
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
connectorLabel
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
connectorModes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
connectorName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
connectorOwner
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ConnectorProvisioningType
connectorProvisioningType
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ConnectorType
connectorType
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
connectorVersion
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
registeredAt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
registeredBy

instance Prelude.NFData ConnectorDetail where
  rnf :: ConnectorDetail -> ()
rnf ConnectorDetail' {Maybe [Text]
Maybe Text
Maybe POSIX
Maybe ConnectorProvisioningType
Maybe ConnectorType
registeredBy :: Maybe Text
registeredAt :: Maybe POSIX
connectorVersion :: Maybe Text
connectorType :: Maybe ConnectorType
connectorProvisioningType :: Maybe ConnectorProvisioningType
connectorOwner :: Maybe Text
connectorName :: Maybe Text
connectorModes :: Maybe [Text]
connectorLabel :: Maybe Text
connectorDescription :: Maybe Text
applicationType :: Maybe Text
$sel:registeredBy:ConnectorDetail' :: ConnectorDetail -> Maybe Text
$sel:registeredAt:ConnectorDetail' :: ConnectorDetail -> Maybe POSIX
$sel:connectorVersion:ConnectorDetail' :: ConnectorDetail -> Maybe Text
$sel:connectorType:ConnectorDetail' :: ConnectorDetail -> Maybe ConnectorType
$sel:connectorProvisioningType:ConnectorDetail' :: ConnectorDetail -> Maybe ConnectorProvisioningType
$sel:connectorOwner:ConnectorDetail' :: ConnectorDetail -> Maybe Text
$sel:connectorName:ConnectorDetail' :: ConnectorDetail -> Maybe Text
$sel:connectorModes:ConnectorDetail' :: ConnectorDetail -> Maybe [Text]
$sel:connectorLabel:ConnectorDetail' :: ConnectorDetail -> Maybe Text
$sel:connectorDescription:ConnectorDetail' :: ConnectorDetail -> Maybe Text
$sel:applicationType:ConnectorDetail' :: ConnectorDetail -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
applicationType
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
connectorDescription
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
connectorLabel
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
connectorModes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
connectorName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
connectorOwner
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ConnectorProvisioningType
connectorProvisioningType
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ConnectorType
connectorType
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
connectorVersion
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
registeredAt
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
registeredBy