{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.MacieV2.GetAutomatedDiscoveryConfiguration
(
GetAutomatedDiscoveryConfiguration (..),
newGetAutomatedDiscoveryConfiguration,
GetAutomatedDiscoveryConfigurationResponse (..),
newGetAutomatedDiscoveryConfigurationResponse,
getAutomatedDiscoveryConfigurationResponse_classificationScopeId,
getAutomatedDiscoveryConfigurationResponse_disabledAt,
getAutomatedDiscoveryConfigurationResponse_firstEnabledAt,
getAutomatedDiscoveryConfigurationResponse_lastUpdatedAt,
getAutomatedDiscoveryConfigurationResponse_sensitivityInspectionTemplateId,
getAutomatedDiscoveryConfigurationResponse_status,
getAutomatedDiscoveryConfigurationResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.MacieV2.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data GetAutomatedDiscoveryConfiguration = GetAutomatedDiscoveryConfiguration'
{
}
deriving (GetAutomatedDiscoveryConfiguration
-> GetAutomatedDiscoveryConfiguration -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetAutomatedDiscoveryConfiguration
-> GetAutomatedDiscoveryConfiguration -> Bool
$c/= :: GetAutomatedDiscoveryConfiguration
-> GetAutomatedDiscoveryConfiguration -> Bool
== :: GetAutomatedDiscoveryConfiguration
-> GetAutomatedDiscoveryConfiguration -> Bool
$c== :: GetAutomatedDiscoveryConfiguration
-> GetAutomatedDiscoveryConfiguration -> Bool
Prelude.Eq, ReadPrec [GetAutomatedDiscoveryConfiguration]
ReadPrec GetAutomatedDiscoveryConfiguration
Int -> ReadS GetAutomatedDiscoveryConfiguration
ReadS [GetAutomatedDiscoveryConfiguration]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetAutomatedDiscoveryConfiguration]
$creadListPrec :: ReadPrec [GetAutomatedDiscoveryConfiguration]
readPrec :: ReadPrec GetAutomatedDiscoveryConfiguration
$creadPrec :: ReadPrec GetAutomatedDiscoveryConfiguration
readList :: ReadS [GetAutomatedDiscoveryConfiguration]
$creadList :: ReadS [GetAutomatedDiscoveryConfiguration]
readsPrec :: Int -> ReadS GetAutomatedDiscoveryConfiguration
$creadsPrec :: Int -> ReadS GetAutomatedDiscoveryConfiguration
Prelude.Read, Int -> GetAutomatedDiscoveryConfiguration -> ShowS
[GetAutomatedDiscoveryConfiguration] -> ShowS
GetAutomatedDiscoveryConfiguration -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetAutomatedDiscoveryConfiguration] -> ShowS
$cshowList :: [GetAutomatedDiscoveryConfiguration] -> ShowS
show :: GetAutomatedDiscoveryConfiguration -> String
$cshow :: GetAutomatedDiscoveryConfiguration -> String
showsPrec :: Int -> GetAutomatedDiscoveryConfiguration -> ShowS
$cshowsPrec :: Int -> GetAutomatedDiscoveryConfiguration -> ShowS
Prelude.Show, forall x.
Rep GetAutomatedDiscoveryConfiguration x
-> GetAutomatedDiscoveryConfiguration
forall x.
GetAutomatedDiscoveryConfiguration
-> Rep GetAutomatedDiscoveryConfiguration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetAutomatedDiscoveryConfiguration x
-> GetAutomatedDiscoveryConfiguration
$cfrom :: forall x.
GetAutomatedDiscoveryConfiguration
-> Rep GetAutomatedDiscoveryConfiguration x
Prelude.Generic)
newGetAutomatedDiscoveryConfiguration ::
GetAutomatedDiscoveryConfiguration
newGetAutomatedDiscoveryConfiguration :: GetAutomatedDiscoveryConfiguration
newGetAutomatedDiscoveryConfiguration =
GetAutomatedDiscoveryConfiguration
GetAutomatedDiscoveryConfiguration'
instance
Core.AWSRequest
GetAutomatedDiscoveryConfiguration
where
type
AWSResponse GetAutomatedDiscoveryConfiguration =
GetAutomatedDiscoveryConfigurationResponse
request :: (Service -> Service)
-> GetAutomatedDiscoveryConfiguration
-> Request GetAutomatedDiscoveryConfiguration
request Service -> Service
overrides =
forall a. ToRequest a => Service -> a -> Request a
Request.get (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy GetAutomatedDiscoveryConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse GetAutomatedDiscoveryConfiguration)))
response =
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe Text
-> Maybe AutomatedDiscoveryStatus
-> Int
-> GetAutomatedDiscoveryConfigurationResponse
GetAutomatedDiscoveryConfigurationResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"classificationScopeId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"disabledAt")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"firstEnabledAt")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"lastUpdatedAt")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"sensitivityInspectionTemplateId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"status")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance
Prelude.Hashable
GetAutomatedDiscoveryConfiguration
where
hashWithSalt :: Int -> GetAutomatedDiscoveryConfiguration -> Int
hashWithSalt Int
_salt GetAutomatedDiscoveryConfiguration
_ =
Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ()
instance
Prelude.NFData
GetAutomatedDiscoveryConfiguration
where
rnf :: GetAutomatedDiscoveryConfiguration -> ()
rnf GetAutomatedDiscoveryConfiguration
_ = ()
instance
Data.ToHeaders
GetAutomatedDiscoveryConfiguration
where
toHeaders :: GetAutomatedDiscoveryConfiguration -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance
Data.ToPath
GetAutomatedDiscoveryConfiguration
where
toPath :: GetAutomatedDiscoveryConfiguration -> ByteString
toPath =
forall a b. a -> b -> a
Prelude.const ByteString
"/automated-discovery/configuration"
instance
Data.ToQuery
GetAutomatedDiscoveryConfiguration
where
toQuery :: GetAutomatedDiscoveryConfiguration -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
data GetAutomatedDiscoveryConfigurationResponse = GetAutomatedDiscoveryConfigurationResponse'
{
GetAutomatedDiscoveryConfigurationResponse -> Maybe Text
classificationScopeId :: Prelude.Maybe Prelude.Text,
GetAutomatedDiscoveryConfigurationResponse -> Maybe ISO8601
disabledAt :: Prelude.Maybe Data.ISO8601,
GetAutomatedDiscoveryConfigurationResponse -> Maybe ISO8601
firstEnabledAt :: Prelude.Maybe Data.ISO8601,
GetAutomatedDiscoveryConfigurationResponse -> Maybe ISO8601
lastUpdatedAt :: Prelude.Maybe Data.ISO8601,
GetAutomatedDiscoveryConfigurationResponse -> Maybe Text
sensitivityInspectionTemplateId :: Prelude.Maybe Prelude.Text,
GetAutomatedDiscoveryConfigurationResponse
-> Maybe AutomatedDiscoveryStatus
status :: Prelude.Maybe AutomatedDiscoveryStatus,
GetAutomatedDiscoveryConfigurationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (GetAutomatedDiscoveryConfigurationResponse
-> GetAutomatedDiscoveryConfigurationResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetAutomatedDiscoveryConfigurationResponse
-> GetAutomatedDiscoveryConfigurationResponse -> Bool
$c/= :: GetAutomatedDiscoveryConfigurationResponse
-> GetAutomatedDiscoveryConfigurationResponse -> Bool
== :: GetAutomatedDiscoveryConfigurationResponse
-> GetAutomatedDiscoveryConfigurationResponse -> Bool
$c== :: GetAutomatedDiscoveryConfigurationResponse
-> GetAutomatedDiscoveryConfigurationResponse -> Bool
Prelude.Eq, ReadPrec [GetAutomatedDiscoveryConfigurationResponse]
ReadPrec GetAutomatedDiscoveryConfigurationResponse
Int -> ReadS GetAutomatedDiscoveryConfigurationResponse
ReadS [GetAutomatedDiscoveryConfigurationResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetAutomatedDiscoveryConfigurationResponse]
$creadListPrec :: ReadPrec [GetAutomatedDiscoveryConfigurationResponse]
readPrec :: ReadPrec GetAutomatedDiscoveryConfigurationResponse
$creadPrec :: ReadPrec GetAutomatedDiscoveryConfigurationResponse
readList :: ReadS [GetAutomatedDiscoveryConfigurationResponse]
$creadList :: ReadS [GetAutomatedDiscoveryConfigurationResponse]
readsPrec :: Int -> ReadS GetAutomatedDiscoveryConfigurationResponse
$creadsPrec :: Int -> ReadS GetAutomatedDiscoveryConfigurationResponse
Prelude.Read, Int -> GetAutomatedDiscoveryConfigurationResponse -> ShowS
[GetAutomatedDiscoveryConfigurationResponse] -> ShowS
GetAutomatedDiscoveryConfigurationResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetAutomatedDiscoveryConfigurationResponse] -> ShowS
$cshowList :: [GetAutomatedDiscoveryConfigurationResponse] -> ShowS
show :: GetAutomatedDiscoveryConfigurationResponse -> String
$cshow :: GetAutomatedDiscoveryConfigurationResponse -> String
showsPrec :: Int -> GetAutomatedDiscoveryConfigurationResponse -> ShowS
$cshowsPrec :: Int -> GetAutomatedDiscoveryConfigurationResponse -> ShowS
Prelude.Show, forall x.
Rep GetAutomatedDiscoveryConfigurationResponse x
-> GetAutomatedDiscoveryConfigurationResponse
forall x.
GetAutomatedDiscoveryConfigurationResponse
-> Rep GetAutomatedDiscoveryConfigurationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetAutomatedDiscoveryConfigurationResponse x
-> GetAutomatedDiscoveryConfigurationResponse
$cfrom :: forall x.
GetAutomatedDiscoveryConfigurationResponse
-> Rep GetAutomatedDiscoveryConfigurationResponse x
Prelude.Generic)
newGetAutomatedDiscoveryConfigurationResponse ::
Prelude.Int ->
GetAutomatedDiscoveryConfigurationResponse
newGetAutomatedDiscoveryConfigurationResponse :: Int -> GetAutomatedDiscoveryConfigurationResponse
newGetAutomatedDiscoveryConfigurationResponse
Int
pHttpStatus_ =
GetAutomatedDiscoveryConfigurationResponse'
{ $sel:classificationScopeId:GetAutomatedDiscoveryConfigurationResponse' :: Maybe Text
classificationScopeId =
forall a. Maybe a
Prelude.Nothing,
$sel:disabledAt:GetAutomatedDiscoveryConfigurationResponse' :: Maybe ISO8601
disabledAt = forall a. Maybe a
Prelude.Nothing,
$sel:firstEnabledAt:GetAutomatedDiscoveryConfigurationResponse' :: Maybe ISO8601
firstEnabledAt =
forall a. Maybe a
Prelude.Nothing,
$sel:lastUpdatedAt:GetAutomatedDiscoveryConfigurationResponse' :: Maybe ISO8601
lastUpdatedAt = forall a. Maybe a
Prelude.Nothing,
$sel:sensitivityInspectionTemplateId:GetAutomatedDiscoveryConfigurationResponse' :: Maybe Text
sensitivityInspectionTemplateId =
forall a. Maybe a
Prelude.Nothing,
$sel:status:GetAutomatedDiscoveryConfigurationResponse' :: Maybe AutomatedDiscoveryStatus
status = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetAutomatedDiscoveryConfigurationResponse' :: Int
httpStatus = Int
pHttpStatus_
}
getAutomatedDiscoveryConfigurationResponse_classificationScopeId :: Lens.Lens' GetAutomatedDiscoveryConfigurationResponse (Prelude.Maybe Prelude.Text)
getAutomatedDiscoveryConfigurationResponse_classificationScopeId :: Lens' GetAutomatedDiscoveryConfigurationResponse (Maybe Text)
getAutomatedDiscoveryConfigurationResponse_classificationScopeId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAutomatedDiscoveryConfigurationResponse' {Maybe Text
classificationScopeId :: Maybe Text
$sel:classificationScopeId:GetAutomatedDiscoveryConfigurationResponse' :: GetAutomatedDiscoveryConfigurationResponse -> Maybe Text
classificationScopeId} -> Maybe Text
classificationScopeId) (\s :: GetAutomatedDiscoveryConfigurationResponse
s@GetAutomatedDiscoveryConfigurationResponse' {} Maybe Text
a -> GetAutomatedDiscoveryConfigurationResponse
s {$sel:classificationScopeId:GetAutomatedDiscoveryConfigurationResponse' :: Maybe Text
classificationScopeId = Maybe Text
a} :: GetAutomatedDiscoveryConfigurationResponse)
getAutomatedDiscoveryConfigurationResponse_disabledAt :: Lens.Lens' GetAutomatedDiscoveryConfigurationResponse (Prelude.Maybe Prelude.UTCTime)
getAutomatedDiscoveryConfigurationResponse_disabledAt :: Lens' GetAutomatedDiscoveryConfigurationResponse (Maybe UTCTime)
getAutomatedDiscoveryConfigurationResponse_disabledAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAutomatedDiscoveryConfigurationResponse' {Maybe ISO8601
disabledAt :: Maybe ISO8601
$sel:disabledAt:GetAutomatedDiscoveryConfigurationResponse' :: GetAutomatedDiscoveryConfigurationResponse -> Maybe ISO8601
disabledAt} -> Maybe ISO8601
disabledAt) (\s :: GetAutomatedDiscoveryConfigurationResponse
s@GetAutomatedDiscoveryConfigurationResponse' {} Maybe ISO8601
a -> GetAutomatedDiscoveryConfigurationResponse
s {$sel:disabledAt:GetAutomatedDiscoveryConfigurationResponse' :: Maybe ISO8601
disabledAt = Maybe ISO8601
a} :: GetAutomatedDiscoveryConfigurationResponse) 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
getAutomatedDiscoveryConfigurationResponse_firstEnabledAt :: Lens.Lens' GetAutomatedDiscoveryConfigurationResponse (Prelude.Maybe Prelude.UTCTime)
getAutomatedDiscoveryConfigurationResponse_firstEnabledAt :: Lens' GetAutomatedDiscoveryConfigurationResponse (Maybe UTCTime)
getAutomatedDiscoveryConfigurationResponse_firstEnabledAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAutomatedDiscoveryConfigurationResponse' {Maybe ISO8601
firstEnabledAt :: Maybe ISO8601
$sel:firstEnabledAt:GetAutomatedDiscoveryConfigurationResponse' :: GetAutomatedDiscoveryConfigurationResponse -> Maybe ISO8601
firstEnabledAt} -> Maybe ISO8601
firstEnabledAt) (\s :: GetAutomatedDiscoveryConfigurationResponse
s@GetAutomatedDiscoveryConfigurationResponse' {} Maybe ISO8601
a -> GetAutomatedDiscoveryConfigurationResponse
s {$sel:firstEnabledAt:GetAutomatedDiscoveryConfigurationResponse' :: Maybe ISO8601
firstEnabledAt = Maybe ISO8601
a} :: GetAutomatedDiscoveryConfigurationResponse) 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
getAutomatedDiscoveryConfigurationResponse_lastUpdatedAt :: Lens.Lens' GetAutomatedDiscoveryConfigurationResponse (Prelude.Maybe Prelude.UTCTime)
getAutomatedDiscoveryConfigurationResponse_lastUpdatedAt :: Lens' GetAutomatedDiscoveryConfigurationResponse (Maybe UTCTime)
getAutomatedDiscoveryConfigurationResponse_lastUpdatedAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAutomatedDiscoveryConfigurationResponse' {Maybe ISO8601
lastUpdatedAt :: Maybe ISO8601
$sel:lastUpdatedAt:GetAutomatedDiscoveryConfigurationResponse' :: GetAutomatedDiscoveryConfigurationResponse -> Maybe ISO8601
lastUpdatedAt} -> Maybe ISO8601
lastUpdatedAt) (\s :: GetAutomatedDiscoveryConfigurationResponse
s@GetAutomatedDiscoveryConfigurationResponse' {} Maybe ISO8601
a -> GetAutomatedDiscoveryConfigurationResponse
s {$sel:lastUpdatedAt:GetAutomatedDiscoveryConfigurationResponse' :: Maybe ISO8601
lastUpdatedAt = Maybe ISO8601
a} :: GetAutomatedDiscoveryConfigurationResponse) 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
getAutomatedDiscoveryConfigurationResponse_sensitivityInspectionTemplateId :: Lens.Lens' GetAutomatedDiscoveryConfigurationResponse (Prelude.Maybe Prelude.Text)
getAutomatedDiscoveryConfigurationResponse_sensitivityInspectionTemplateId :: Lens' GetAutomatedDiscoveryConfigurationResponse (Maybe Text)
getAutomatedDiscoveryConfigurationResponse_sensitivityInspectionTemplateId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAutomatedDiscoveryConfigurationResponse' {Maybe Text
sensitivityInspectionTemplateId :: Maybe Text
$sel:sensitivityInspectionTemplateId:GetAutomatedDiscoveryConfigurationResponse' :: GetAutomatedDiscoveryConfigurationResponse -> Maybe Text
sensitivityInspectionTemplateId} -> Maybe Text
sensitivityInspectionTemplateId) (\s :: GetAutomatedDiscoveryConfigurationResponse
s@GetAutomatedDiscoveryConfigurationResponse' {} Maybe Text
a -> GetAutomatedDiscoveryConfigurationResponse
s {$sel:sensitivityInspectionTemplateId:GetAutomatedDiscoveryConfigurationResponse' :: Maybe Text
sensitivityInspectionTemplateId = Maybe Text
a} :: GetAutomatedDiscoveryConfigurationResponse)
getAutomatedDiscoveryConfigurationResponse_status :: Lens.Lens' GetAutomatedDiscoveryConfigurationResponse (Prelude.Maybe AutomatedDiscoveryStatus)
getAutomatedDiscoveryConfigurationResponse_status :: Lens'
GetAutomatedDiscoveryConfigurationResponse
(Maybe AutomatedDiscoveryStatus)
getAutomatedDiscoveryConfigurationResponse_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAutomatedDiscoveryConfigurationResponse' {Maybe AutomatedDiscoveryStatus
status :: Maybe AutomatedDiscoveryStatus
$sel:status:GetAutomatedDiscoveryConfigurationResponse' :: GetAutomatedDiscoveryConfigurationResponse
-> Maybe AutomatedDiscoveryStatus
status} -> Maybe AutomatedDiscoveryStatus
status) (\s :: GetAutomatedDiscoveryConfigurationResponse
s@GetAutomatedDiscoveryConfigurationResponse' {} Maybe AutomatedDiscoveryStatus
a -> GetAutomatedDiscoveryConfigurationResponse
s {$sel:status:GetAutomatedDiscoveryConfigurationResponse' :: Maybe AutomatedDiscoveryStatus
status = Maybe AutomatedDiscoveryStatus
a} :: GetAutomatedDiscoveryConfigurationResponse)
getAutomatedDiscoveryConfigurationResponse_httpStatus :: Lens.Lens' GetAutomatedDiscoveryConfigurationResponse Prelude.Int
getAutomatedDiscoveryConfigurationResponse_httpStatus :: Lens' GetAutomatedDiscoveryConfigurationResponse Int
getAutomatedDiscoveryConfigurationResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAutomatedDiscoveryConfigurationResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetAutomatedDiscoveryConfigurationResponse' :: GetAutomatedDiscoveryConfigurationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetAutomatedDiscoveryConfigurationResponse
s@GetAutomatedDiscoveryConfigurationResponse' {} Int
a -> GetAutomatedDiscoveryConfigurationResponse
s {$sel:httpStatus:GetAutomatedDiscoveryConfigurationResponse' :: Int
httpStatus = Int
a} :: GetAutomatedDiscoveryConfigurationResponse)
instance
Prelude.NFData
GetAutomatedDiscoveryConfigurationResponse
where
rnf :: GetAutomatedDiscoveryConfigurationResponse -> ()
rnf GetAutomatedDiscoveryConfigurationResponse' {Int
Maybe Text
Maybe ISO8601
Maybe AutomatedDiscoveryStatus
httpStatus :: Int
status :: Maybe AutomatedDiscoveryStatus
sensitivityInspectionTemplateId :: Maybe Text
lastUpdatedAt :: Maybe ISO8601
firstEnabledAt :: Maybe ISO8601
disabledAt :: Maybe ISO8601
classificationScopeId :: Maybe Text
$sel:httpStatus:GetAutomatedDiscoveryConfigurationResponse' :: GetAutomatedDiscoveryConfigurationResponse -> Int
$sel:status:GetAutomatedDiscoveryConfigurationResponse' :: GetAutomatedDiscoveryConfigurationResponse
-> Maybe AutomatedDiscoveryStatus
$sel:sensitivityInspectionTemplateId:GetAutomatedDiscoveryConfigurationResponse' :: GetAutomatedDiscoveryConfigurationResponse -> Maybe Text
$sel:lastUpdatedAt:GetAutomatedDiscoveryConfigurationResponse' :: GetAutomatedDiscoveryConfigurationResponse -> Maybe ISO8601
$sel:firstEnabledAt:GetAutomatedDiscoveryConfigurationResponse' :: GetAutomatedDiscoveryConfigurationResponse -> Maybe ISO8601
$sel:disabledAt:GetAutomatedDiscoveryConfigurationResponse' :: GetAutomatedDiscoveryConfigurationResponse -> Maybe ISO8601
$sel:classificationScopeId:GetAutomatedDiscoveryConfigurationResponse' :: GetAutomatedDiscoveryConfigurationResponse -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
classificationScopeId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
disabledAt
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
firstEnabledAt
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
lastUpdatedAt
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
sensitivityInspectionTemplateId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe AutomatedDiscoveryStatus
status
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus