{-# 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.Config.DeleteRemediationExceptions
(
DeleteRemediationExceptions (..),
newDeleteRemediationExceptions,
deleteRemediationExceptions_configRuleName,
deleteRemediationExceptions_resourceKeys,
DeleteRemediationExceptionsResponse (..),
newDeleteRemediationExceptionsResponse,
deleteRemediationExceptionsResponse_failedBatches,
deleteRemediationExceptionsResponse_httpStatus,
)
where
import Amazonka.Config.Types
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DeleteRemediationExceptions = DeleteRemediationExceptions'
{
DeleteRemediationExceptions -> Text
configRuleName :: Prelude.Text,
DeleteRemediationExceptions
-> NonEmpty RemediationExceptionResourceKey
resourceKeys :: Prelude.NonEmpty RemediationExceptionResourceKey
}
deriving (DeleteRemediationExceptions -> DeleteRemediationExceptions -> Bool
(DeleteRemediationExceptions
-> DeleteRemediationExceptions -> Bool)
-> (DeleteRemediationExceptions
-> DeleteRemediationExceptions -> Bool)
-> Eq DeleteRemediationExceptions
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteRemediationExceptions -> DeleteRemediationExceptions -> Bool
$c/= :: DeleteRemediationExceptions -> DeleteRemediationExceptions -> Bool
== :: DeleteRemediationExceptions -> DeleteRemediationExceptions -> Bool
$c== :: DeleteRemediationExceptions -> DeleteRemediationExceptions -> Bool
Prelude.Eq, ReadPrec [DeleteRemediationExceptions]
ReadPrec DeleteRemediationExceptions
Int -> ReadS DeleteRemediationExceptions
ReadS [DeleteRemediationExceptions]
(Int -> ReadS DeleteRemediationExceptions)
-> ReadS [DeleteRemediationExceptions]
-> ReadPrec DeleteRemediationExceptions
-> ReadPrec [DeleteRemediationExceptions]
-> Read DeleteRemediationExceptions
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteRemediationExceptions]
$creadListPrec :: ReadPrec [DeleteRemediationExceptions]
readPrec :: ReadPrec DeleteRemediationExceptions
$creadPrec :: ReadPrec DeleteRemediationExceptions
readList :: ReadS [DeleteRemediationExceptions]
$creadList :: ReadS [DeleteRemediationExceptions]
readsPrec :: Int -> ReadS DeleteRemediationExceptions
$creadsPrec :: Int -> ReadS DeleteRemediationExceptions
Prelude.Read, Int -> DeleteRemediationExceptions -> ShowS
[DeleteRemediationExceptions] -> ShowS
DeleteRemediationExceptions -> String
(Int -> DeleteRemediationExceptions -> ShowS)
-> (DeleteRemediationExceptions -> String)
-> ([DeleteRemediationExceptions] -> ShowS)
-> Show DeleteRemediationExceptions
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteRemediationExceptions] -> ShowS
$cshowList :: [DeleteRemediationExceptions] -> ShowS
show :: DeleteRemediationExceptions -> String
$cshow :: DeleteRemediationExceptions -> String
showsPrec :: Int -> DeleteRemediationExceptions -> ShowS
$cshowsPrec :: Int -> DeleteRemediationExceptions -> ShowS
Prelude.Show, (forall x.
DeleteRemediationExceptions -> Rep DeleteRemediationExceptions x)
-> (forall x.
Rep DeleteRemediationExceptions x -> DeleteRemediationExceptions)
-> Generic DeleteRemediationExceptions
forall x.
Rep DeleteRemediationExceptions x -> DeleteRemediationExceptions
forall x.
DeleteRemediationExceptions -> Rep DeleteRemediationExceptions x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteRemediationExceptions x -> DeleteRemediationExceptions
$cfrom :: forall x.
DeleteRemediationExceptions -> Rep DeleteRemediationExceptions x
Prelude.Generic)
newDeleteRemediationExceptions ::
Prelude.Text ->
Prelude.NonEmpty RemediationExceptionResourceKey ->
DeleteRemediationExceptions
newDeleteRemediationExceptions :: Text
-> NonEmpty RemediationExceptionResourceKey
-> DeleteRemediationExceptions
newDeleteRemediationExceptions
Text
pConfigRuleName_
NonEmpty RemediationExceptionResourceKey
pResourceKeys_ =
DeleteRemediationExceptions' :: Text
-> NonEmpty RemediationExceptionResourceKey
-> DeleteRemediationExceptions
DeleteRemediationExceptions'
{ $sel:configRuleName:DeleteRemediationExceptions' :: Text
configRuleName =
Text
pConfigRuleName_,
$sel:resourceKeys:DeleteRemediationExceptions' :: NonEmpty RemediationExceptionResourceKey
resourceKeys =
Tagged
(NonEmpty RemediationExceptionResourceKey)
(Identity (NonEmpty RemediationExceptionResourceKey))
-> Tagged
(NonEmpty RemediationExceptionResourceKey)
(Identity (NonEmpty RemediationExceptionResourceKey))
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced (Tagged
(NonEmpty RemediationExceptionResourceKey)
(Identity (NonEmpty RemediationExceptionResourceKey))
-> Tagged
(NonEmpty RemediationExceptionResourceKey)
(Identity (NonEmpty RemediationExceptionResourceKey)))
-> NonEmpty RemediationExceptionResourceKey
-> NonEmpty RemediationExceptionResourceKey
forall t b. AReview t b -> b -> t
Lens.# NonEmpty RemediationExceptionResourceKey
pResourceKeys_
}
deleteRemediationExceptions_configRuleName :: Lens.Lens' DeleteRemediationExceptions Prelude.Text
deleteRemediationExceptions_configRuleName :: (Text -> f Text)
-> DeleteRemediationExceptions -> f DeleteRemediationExceptions
deleteRemediationExceptions_configRuleName = (DeleteRemediationExceptions -> Text)
-> (DeleteRemediationExceptions
-> Text -> DeleteRemediationExceptions)
-> Lens
DeleteRemediationExceptions DeleteRemediationExceptions Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteRemediationExceptions' {Text
configRuleName :: Text
$sel:configRuleName:DeleteRemediationExceptions' :: DeleteRemediationExceptions -> Text
configRuleName} -> Text
configRuleName) (\s :: DeleteRemediationExceptions
s@DeleteRemediationExceptions' {} Text
a -> DeleteRemediationExceptions
s {$sel:configRuleName:DeleteRemediationExceptions' :: Text
configRuleName = Text
a} :: DeleteRemediationExceptions)
deleteRemediationExceptions_resourceKeys :: Lens.Lens' DeleteRemediationExceptions (Prelude.NonEmpty RemediationExceptionResourceKey)
deleteRemediationExceptions_resourceKeys :: (NonEmpty RemediationExceptionResourceKey
-> f (NonEmpty RemediationExceptionResourceKey))
-> DeleteRemediationExceptions -> f DeleteRemediationExceptions
deleteRemediationExceptions_resourceKeys = (DeleteRemediationExceptions
-> NonEmpty RemediationExceptionResourceKey)
-> (DeleteRemediationExceptions
-> NonEmpty RemediationExceptionResourceKey
-> DeleteRemediationExceptions)
-> Lens
DeleteRemediationExceptions
DeleteRemediationExceptions
(NonEmpty RemediationExceptionResourceKey)
(NonEmpty RemediationExceptionResourceKey)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteRemediationExceptions' {NonEmpty RemediationExceptionResourceKey
resourceKeys :: NonEmpty RemediationExceptionResourceKey
$sel:resourceKeys:DeleteRemediationExceptions' :: DeleteRemediationExceptions
-> NonEmpty RemediationExceptionResourceKey
resourceKeys} -> NonEmpty RemediationExceptionResourceKey
resourceKeys) (\s :: DeleteRemediationExceptions
s@DeleteRemediationExceptions' {} NonEmpty RemediationExceptionResourceKey
a -> DeleteRemediationExceptions
s {$sel:resourceKeys:DeleteRemediationExceptions' :: NonEmpty RemediationExceptionResourceKey
resourceKeys = NonEmpty RemediationExceptionResourceKey
a} :: DeleteRemediationExceptions) ((NonEmpty RemediationExceptionResourceKey
-> f (NonEmpty RemediationExceptionResourceKey))
-> DeleteRemediationExceptions -> f DeleteRemediationExceptions)
-> ((NonEmpty RemediationExceptionResourceKey
-> f (NonEmpty RemediationExceptionResourceKey))
-> NonEmpty RemediationExceptionResourceKey
-> f (NonEmpty RemediationExceptionResourceKey))
-> (NonEmpty RemediationExceptionResourceKey
-> f (NonEmpty RemediationExceptionResourceKey))
-> DeleteRemediationExceptions
-> f DeleteRemediationExceptions
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (NonEmpty RemediationExceptionResourceKey
-> f (NonEmpty RemediationExceptionResourceKey))
-> NonEmpty RemediationExceptionResourceKey
-> f (NonEmpty RemediationExceptionResourceKey)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.AWSRequest DeleteRemediationExceptions where
type
AWSResponse DeleteRemediationExceptions =
DeleteRemediationExceptionsResponse
request :: DeleteRemediationExceptions -> Request DeleteRemediationExceptions
request = Service
-> DeleteRemediationExceptions
-> Request DeleteRemediationExceptions
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DeleteRemediationExceptions
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DeleteRemediationExceptions)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DeleteRemediationExceptions))
-> Logger
-> Service
-> Proxy DeleteRemediationExceptions
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DeleteRemediationExceptions)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe [FailedDeleteRemediationExceptionsBatch]
-> Int -> DeleteRemediationExceptionsResponse
DeleteRemediationExceptionsResponse'
(Maybe [FailedDeleteRemediationExceptionsBatch]
-> Int -> DeleteRemediationExceptionsResponse)
-> Either String (Maybe [FailedDeleteRemediationExceptionsBatch])
-> Either String (Int -> DeleteRemediationExceptionsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text
-> Either
String (Maybe (Maybe [FailedDeleteRemediationExceptionsBatch]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"FailedBatches" Either
String (Maybe (Maybe [FailedDeleteRemediationExceptionsBatch]))
-> Maybe [FailedDeleteRemediationExceptionsBatch]
-> Either String (Maybe [FailedDeleteRemediationExceptionsBatch])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [FailedDeleteRemediationExceptionsBatch]
forall a. Monoid a => a
Prelude.mempty)
Either String (Int -> DeleteRemediationExceptionsResponse)
-> Either String Int
-> Either String DeleteRemediationExceptionsResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable DeleteRemediationExceptions
instance Prelude.NFData DeleteRemediationExceptions
instance Core.ToHeaders DeleteRemediationExceptions where
toHeaders :: DeleteRemediationExceptions -> ResponseHeaders
toHeaders =
ResponseHeaders -> DeleteRemediationExceptions -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"StarlingDoveService.DeleteRemediationExceptions" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON DeleteRemediationExceptions where
toJSON :: DeleteRemediationExceptions -> Value
toJSON DeleteRemediationExceptions' {NonEmpty RemediationExceptionResourceKey
Text
resourceKeys :: NonEmpty RemediationExceptionResourceKey
configRuleName :: Text
$sel:resourceKeys:DeleteRemediationExceptions' :: DeleteRemediationExceptions
-> NonEmpty RemediationExceptionResourceKey
$sel:configRuleName:DeleteRemediationExceptions' :: DeleteRemediationExceptions -> Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"ConfigRuleName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
configRuleName),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"ResourceKeys" Text -> NonEmpty RemediationExceptionResourceKey -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= NonEmpty RemediationExceptionResourceKey
resourceKeys)
]
)
instance Core.ToPath DeleteRemediationExceptions where
toPath :: DeleteRemediationExceptions -> ByteString
toPath = ByteString -> DeleteRemediationExceptions -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DeleteRemediationExceptions where
toQuery :: DeleteRemediationExceptions -> QueryString
toQuery = QueryString -> DeleteRemediationExceptions -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DeleteRemediationExceptionsResponse = DeleteRemediationExceptionsResponse'
{
DeleteRemediationExceptionsResponse
-> Maybe [FailedDeleteRemediationExceptionsBatch]
failedBatches :: Prelude.Maybe [FailedDeleteRemediationExceptionsBatch],
DeleteRemediationExceptionsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DeleteRemediationExceptionsResponse
-> DeleteRemediationExceptionsResponse -> Bool
(DeleteRemediationExceptionsResponse
-> DeleteRemediationExceptionsResponse -> Bool)
-> (DeleteRemediationExceptionsResponse
-> DeleteRemediationExceptionsResponse -> Bool)
-> Eq DeleteRemediationExceptionsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteRemediationExceptionsResponse
-> DeleteRemediationExceptionsResponse -> Bool
$c/= :: DeleteRemediationExceptionsResponse
-> DeleteRemediationExceptionsResponse -> Bool
== :: DeleteRemediationExceptionsResponse
-> DeleteRemediationExceptionsResponse -> Bool
$c== :: DeleteRemediationExceptionsResponse
-> DeleteRemediationExceptionsResponse -> Bool
Prelude.Eq, ReadPrec [DeleteRemediationExceptionsResponse]
ReadPrec DeleteRemediationExceptionsResponse
Int -> ReadS DeleteRemediationExceptionsResponse
ReadS [DeleteRemediationExceptionsResponse]
(Int -> ReadS DeleteRemediationExceptionsResponse)
-> ReadS [DeleteRemediationExceptionsResponse]
-> ReadPrec DeleteRemediationExceptionsResponse
-> ReadPrec [DeleteRemediationExceptionsResponse]
-> Read DeleteRemediationExceptionsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteRemediationExceptionsResponse]
$creadListPrec :: ReadPrec [DeleteRemediationExceptionsResponse]
readPrec :: ReadPrec DeleteRemediationExceptionsResponse
$creadPrec :: ReadPrec DeleteRemediationExceptionsResponse
readList :: ReadS [DeleteRemediationExceptionsResponse]
$creadList :: ReadS [DeleteRemediationExceptionsResponse]
readsPrec :: Int -> ReadS DeleteRemediationExceptionsResponse
$creadsPrec :: Int -> ReadS DeleteRemediationExceptionsResponse
Prelude.Read, Int -> DeleteRemediationExceptionsResponse -> ShowS
[DeleteRemediationExceptionsResponse] -> ShowS
DeleteRemediationExceptionsResponse -> String
(Int -> DeleteRemediationExceptionsResponse -> ShowS)
-> (DeleteRemediationExceptionsResponse -> String)
-> ([DeleteRemediationExceptionsResponse] -> ShowS)
-> Show DeleteRemediationExceptionsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteRemediationExceptionsResponse] -> ShowS
$cshowList :: [DeleteRemediationExceptionsResponse] -> ShowS
show :: DeleteRemediationExceptionsResponse -> String
$cshow :: DeleteRemediationExceptionsResponse -> String
showsPrec :: Int -> DeleteRemediationExceptionsResponse -> ShowS
$cshowsPrec :: Int -> DeleteRemediationExceptionsResponse -> ShowS
Prelude.Show, (forall x.
DeleteRemediationExceptionsResponse
-> Rep DeleteRemediationExceptionsResponse x)
-> (forall x.
Rep DeleteRemediationExceptionsResponse x
-> DeleteRemediationExceptionsResponse)
-> Generic DeleteRemediationExceptionsResponse
forall x.
Rep DeleteRemediationExceptionsResponse x
-> DeleteRemediationExceptionsResponse
forall x.
DeleteRemediationExceptionsResponse
-> Rep DeleteRemediationExceptionsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteRemediationExceptionsResponse x
-> DeleteRemediationExceptionsResponse
$cfrom :: forall x.
DeleteRemediationExceptionsResponse
-> Rep DeleteRemediationExceptionsResponse x
Prelude.Generic)
newDeleteRemediationExceptionsResponse ::
Prelude.Int ->
DeleteRemediationExceptionsResponse
newDeleteRemediationExceptionsResponse :: Int -> DeleteRemediationExceptionsResponse
newDeleteRemediationExceptionsResponse Int
pHttpStatus_ =
DeleteRemediationExceptionsResponse' :: Maybe [FailedDeleteRemediationExceptionsBatch]
-> Int -> DeleteRemediationExceptionsResponse
DeleteRemediationExceptionsResponse'
{ $sel:failedBatches:DeleteRemediationExceptionsResponse' :: Maybe [FailedDeleteRemediationExceptionsBatch]
failedBatches =
Maybe [FailedDeleteRemediationExceptionsBatch]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DeleteRemediationExceptionsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
deleteRemediationExceptionsResponse_failedBatches :: Lens.Lens' DeleteRemediationExceptionsResponse (Prelude.Maybe [FailedDeleteRemediationExceptionsBatch])
deleteRemediationExceptionsResponse_failedBatches :: (Maybe [FailedDeleteRemediationExceptionsBatch]
-> f (Maybe [FailedDeleteRemediationExceptionsBatch]))
-> DeleteRemediationExceptionsResponse
-> f DeleteRemediationExceptionsResponse
deleteRemediationExceptionsResponse_failedBatches = (DeleteRemediationExceptionsResponse
-> Maybe [FailedDeleteRemediationExceptionsBatch])
-> (DeleteRemediationExceptionsResponse
-> Maybe [FailedDeleteRemediationExceptionsBatch]
-> DeleteRemediationExceptionsResponse)
-> Lens
DeleteRemediationExceptionsResponse
DeleteRemediationExceptionsResponse
(Maybe [FailedDeleteRemediationExceptionsBatch])
(Maybe [FailedDeleteRemediationExceptionsBatch])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteRemediationExceptionsResponse' {Maybe [FailedDeleteRemediationExceptionsBatch]
failedBatches :: Maybe [FailedDeleteRemediationExceptionsBatch]
$sel:failedBatches:DeleteRemediationExceptionsResponse' :: DeleteRemediationExceptionsResponse
-> Maybe [FailedDeleteRemediationExceptionsBatch]
failedBatches} -> Maybe [FailedDeleteRemediationExceptionsBatch]
failedBatches) (\s :: DeleteRemediationExceptionsResponse
s@DeleteRemediationExceptionsResponse' {} Maybe [FailedDeleteRemediationExceptionsBatch]
a -> DeleteRemediationExceptionsResponse
s {$sel:failedBatches:DeleteRemediationExceptionsResponse' :: Maybe [FailedDeleteRemediationExceptionsBatch]
failedBatches = Maybe [FailedDeleteRemediationExceptionsBatch]
a} :: DeleteRemediationExceptionsResponse) ((Maybe [FailedDeleteRemediationExceptionsBatch]
-> f (Maybe [FailedDeleteRemediationExceptionsBatch]))
-> DeleteRemediationExceptionsResponse
-> f DeleteRemediationExceptionsResponse)
-> ((Maybe [FailedDeleteRemediationExceptionsBatch]
-> f (Maybe [FailedDeleteRemediationExceptionsBatch]))
-> Maybe [FailedDeleteRemediationExceptionsBatch]
-> f (Maybe [FailedDeleteRemediationExceptionsBatch]))
-> (Maybe [FailedDeleteRemediationExceptionsBatch]
-> f (Maybe [FailedDeleteRemediationExceptionsBatch]))
-> DeleteRemediationExceptionsResponse
-> f DeleteRemediationExceptionsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[FailedDeleteRemediationExceptionsBatch]
[FailedDeleteRemediationExceptionsBatch]
[FailedDeleteRemediationExceptionsBatch]
[FailedDeleteRemediationExceptionsBatch]
-> Iso
(Maybe [FailedDeleteRemediationExceptionsBatch])
(Maybe [FailedDeleteRemediationExceptionsBatch])
(Maybe [FailedDeleteRemediationExceptionsBatch])
(Maybe [FailedDeleteRemediationExceptionsBatch])
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 AnIso
[FailedDeleteRemediationExceptionsBatch]
[FailedDeleteRemediationExceptionsBatch]
[FailedDeleteRemediationExceptionsBatch]
[FailedDeleteRemediationExceptionsBatch]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deleteRemediationExceptionsResponse_httpStatus :: Lens.Lens' DeleteRemediationExceptionsResponse Prelude.Int
deleteRemediationExceptionsResponse_httpStatus :: (Int -> f Int)
-> DeleteRemediationExceptionsResponse
-> f DeleteRemediationExceptionsResponse
deleteRemediationExceptionsResponse_httpStatus = (DeleteRemediationExceptionsResponse -> Int)
-> (DeleteRemediationExceptionsResponse
-> Int -> DeleteRemediationExceptionsResponse)
-> Lens
DeleteRemediationExceptionsResponse
DeleteRemediationExceptionsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteRemediationExceptionsResponse' {Int
httpStatus :: Int
$sel:httpStatus:DeleteRemediationExceptionsResponse' :: DeleteRemediationExceptionsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DeleteRemediationExceptionsResponse
s@DeleteRemediationExceptionsResponse' {} Int
a -> DeleteRemediationExceptionsResponse
s {$sel:httpStatus:DeleteRemediationExceptionsResponse' :: Int
httpStatus = Int
a} :: DeleteRemediationExceptionsResponse)
instance
Prelude.NFData
DeleteRemediationExceptionsResponse