{-# 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.Lightsail.DeleteLoadBalancerTlsCertificate
(
DeleteLoadBalancerTlsCertificate (..),
newDeleteLoadBalancerTlsCertificate,
deleteLoadBalancerTlsCertificate_force,
deleteLoadBalancerTlsCertificate_loadBalancerName,
deleteLoadBalancerTlsCertificate_certificateName,
DeleteLoadBalancerTlsCertificateResponse (..),
newDeleteLoadBalancerTlsCertificateResponse,
deleteLoadBalancerTlsCertificateResponse_operations,
deleteLoadBalancerTlsCertificateResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.Lightsail.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DeleteLoadBalancerTlsCertificate = DeleteLoadBalancerTlsCertificate'
{
DeleteLoadBalancerTlsCertificate -> Maybe Bool
force :: Prelude.Maybe Prelude.Bool,
DeleteLoadBalancerTlsCertificate -> Text
loadBalancerName :: Prelude.Text,
DeleteLoadBalancerTlsCertificate -> Text
certificateName :: Prelude.Text
}
deriving (DeleteLoadBalancerTlsCertificate
-> DeleteLoadBalancerTlsCertificate -> Bool
(DeleteLoadBalancerTlsCertificate
-> DeleteLoadBalancerTlsCertificate -> Bool)
-> (DeleteLoadBalancerTlsCertificate
-> DeleteLoadBalancerTlsCertificate -> Bool)
-> Eq DeleteLoadBalancerTlsCertificate
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteLoadBalancerTlsCertificate
-> DeleteLoadBalancerTlsCertificate -> Bool
$c/= :: DeleteLoadBalancerTlsCertificate
-> DeleteLoadBalancerTlsCertificate -> Bool
== :: DeleteLoadBalancerTlsCertificate
-> DeleteLoadBalancerTlsCertificate -> Bool
$c== :: DeleteLoadBalancerTlsCertificate
-> DeleteLoadBalancerTlsCertificate -> Bool
Prelude.Eq, ReadPrec [DeleteLoadBalancerTlsCertificate]
ReadPrec DeleteLoadBalancerTlsCertificate
Int -> ReadS DeleteLoadBalancerTlsCertificate
ReadS [DeleteLoadBalancerTlsCertificate]
(Int -> ReadS DeleteLoadBalancerTlsCertificate)
-> ReadS [DeleteLoadBalancerTlsCertificate]
-> ReadPrec DeleteLoadBalancerTlsCertificate
-> ReadPrec [DeleteLoadBalancerTlsCertificate]
-> Read DeleteLoadBalancerTlsCertificate
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteLoadBalancerTlsCertificate]
$creadListPrec :: ReadPrec [DeleteLoadBalancerTlsCertificate]
readPrec :: ReadPrec DeleteLoadBalancerTlsCertificate
$creadPrec :: ReadPrec DeleteLoadBalancerTlsCertificate
readList :: ReadS [DeleteLoadBalancerTlsCertificate]
$creadList :: ReadS [DeleteLoadBalancerTlsCertificate]
readsPrec :: Int -> ReadS DeleteLoadBalancerTlsCertificate
$creadsPrec :: Int -> ReadS DeleteLoadBalancerTlsCertificate
Prelude.Read, Int -> DeleteLoadBalancerTlsCertificate -> ShowS
[DeleteLoadBalancerTlsCertificate] -> ShowS
DeleteLoadBalancerTlsCertificate -> String
(Int -> DeleteLoadBalancerTlsCertificate -> ShowS)
-> (DeleteLoadBalancerTlsCertificate -> String)
-> ([DeleteLoadBalancerTlsCertificate] -> ShowS)
-> Show DeleteLoadBalancerTlsCertificate
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteLoadBalancerTlsCertificate] -> ShowS
$cshowList :: [DeleteLoadBalancerTlsCertificate] -> ShowS
show :: DeleteLoadBalancerTlsCertificate -> String
$cshow :: DeleteLoadBalancerTlsCertificate -> String
showsPrec :: Int -> DeleteLoadBalancerTlsCertificate -> ShowS
$cshowsPrec :: Int -> DeleteLoadBalancerTlsCertificate -> ShowS
Prelude.Show, (forall x.
DeleteLoadBalancerTlsCertificate
-> Rep DeleteLoadBalancerTlsCertificate x)
-> (forall x.
Rep DeleteLoadBalancerTlsCertificate x
-> DeleteLoadBalancerTlsCertificate)
-> Generic DeleteLoadBalancerTlsCertificate
forall x.
Rep DeleteLoadBalancerTlsCertificate x
-> DeleteLoadBalancerTlsCertificate
forall x.
DeleteLoadBalancerTlsCertificate
-> Rep DeleteLoadBalancerTlsCertificate x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteLoadBalancerTlsCertificate x
-> DeleteLoadBalancerTlsCertificate
$cfrom :: forall x.
DeleteLoadBalancerTlsCertificate
-> Rep DeleteLoadBalancerTlsCertificate x
Prelude.Generic)
newDeleteLoadBalancerTlsCertificate ::
Prelude.Text ->
Prelude.Text ->
DeleteLoadBalancerTlsCertificate
newDeleteLoadBalancerTlsCertificate :: Text -> Text -> DeleteLoadBalancerTlsCertificate
newDeleteLoadBalancerTlsCertificate
Text
pLoadBalancerName_
Text
pCertificateName_ =
DeleteLoadBalancerTlsCertificate' :: Maybe Bool -> Text -> Text -> DeleteLoadBalancerTlsCertificate
DeleteLoadBalancerTlsCertificate'
{ $sel:force:DeleteLoadBalancerTlsCertificate' :: Maybe Bool
force =
Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:loadBalancerName:DeleteLoadBalancerTlsCertificate' :: Text
loadBalancerName = Text
pLoadBalancerName_,
$sel:certificateName:DeleteLoadBalancerTlsCertificate' :: Text
certificateName = Text
pCertificateName_
}
deleteLoadBalancerTlsCertificate_force :: Lens.Lens' DeleteLoadBalancerTlsCertificate (Prelude.Maybe Prelude.Bool)
deleteLoadBalancerTlsCertificate_force :: (Maybe Bool -> f (Maybe Bool))
-> DeleteLoadBalancerTlsCertificate
-> f DeleteLoadBalancerTlsCertificate
deleteLoadBalancerTlsCertificate_force = (DeleteLoadBalancerTlsCertificate -> Maybe Bool)
-> (DeleteLoadBalancerTlsCertificate
-> Maybe Bool -> DeleteLoadBalancerTlsCertificate)
-> Lens
DeleteLoadBalancerTlsCertificate
DeleteLoadBalancerTlsCertificate
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteLoadBalancerTlsCertificate' {Maybe Bool
force :: Maybe Bool
$sel:force:DeleteLoadBalancerTlsCertificate' :: DeleteLoadBalancerTlsCertificate -> Maybe Bool
force} -> Maybe Bool
force) (\s :: DeleteLoadBalancerTlsCertificate
s@DeleteLoadBalancerTlsCertificate' {} Maybe Bool
a -> DeleteLoadBalancerTlsCertificate
s {$sel:force:DeleteLoadBalancerTlsCertificate' :: Maybe Bool
force = Maybe Bool
a} :: DeleteLoadBalancerTlsCertificate)
deleteLoadBalancerTlsCertificate_loadBalancerName :: Lens.Lens' DeleteLoadBalancerTlsCertificate Prelude.Text
deleteLoadBalancerTlsCertificate_loadBalancerName :: (Text -> f Text)
-> DeleteLoadBalancerTlsCertificate
-> f DeleteLoadBalancerTlsCertificate
deleteLoadBalancerTlsCertificate_loadBalancerName = (DeleteLoadBalancerTlsCertificate -> Text)
-> (DeleteLoadBalancerTlsCertificate
-> Text -> DeleteLoadBalancerTlsCertificate)
-> Lens
DeleteLoadBalancerTlsCertificate
DeleteLoadBalancerTlsCertificate
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteLoadBalancerTlsCertificate' {Text
loadBalancerName :: Text
$sel:loadBalancerName:DeleteLoadBalancerTlsCertificate' :: DeleteLoadBalancerTlsCertificate -> Text
loadBalancerName} -> Text
loadBalancerName) (\s :: DeleteLoadBalancerTlsCertificate
s@DeleteLoadBalancerTlsCertificate' {} Text
a -> DeleteLoadBalancerTlsCertificate
s {$sel:loadBalancerName:DeleteLoadBalancerTlsCertificate' :: Text
loadBalancerName = Text
a} :: DeleteLoadBalancerTlsCertificate)
deleteLoadBalancerTlsCertificate_certificateName :: Lens.Lens' DeleteLoadBalancerTlsCertificate Prelude.Text
deleteLoadBalancerTlsCertificate_certificateName :: (Text -> f Text)
-> DeleteLoadBalancerTlsCertificate
-> f DeleteLoadBalancerTlsCertificate
deleteLoadBalancerTlsCertificate_certificateName = (DeleteLoadBalancerTlsCertificate -> Text)
-> (DeleteLoadBalancerTlsCertificate
-> Text -> DeleteLoadBalancerTlsCertificate)
-> Lens
DeleteLoadBalancerTlsCertificate
DeleteLoadBalancerTlsCertificate
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteLoadBalancerTlsCertificate' {Text
certificateName :: Text
$sel:certificateName:DeleteLoadBalancerTlsCertificate' :: DeleteLoadBalancerTlsCertificate -> Text
certificateName} -> Text
certificateName) (\s :: DeleteLoadBalancerTlsCertificate
s@DeleteLoadBalancerTlsCertificate' {} Text
a -> DeleteLoadBalancerTlsCertificate
s {$sel:certificateName:DeleteLoadBalancerTlsCertificate' :: Text
certificateName = Text
a} :: DeleteLoadBalancerTlsCertificate)
instance
Core.AWSRequest
DeleteLoadBalancerTlsCertificate
where
type
AWSResponse DeleteLoadBalancerTlsCertificate =
DeleteLoadBalancerTlsCertificateResponse
request :: DeleteLoadBalancerTlsCertificate
-> Request DeleteLoadBalancerTlsCertificate
request = Service
-> DeleteLoadBalancerTlsCertificate
-> Request DeleteLoadBalancerTlsCertificate
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DeleteLoadBalancerTlsCertificate
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DeleteLoadBalancerTlsCertificate)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DeleteLoadBalancerTlsCertificate))
-> Logger
-> Service
-> Proxy DeleteLoadBalancerTlsCertificate
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DeleteLoadBalancerTlsCertificate)))
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 [Operation]
-> Int -> DeleteLoadBalancerTlsCertificateResponse
DeleteLoadBalancerTlsCertificateResponse'
(Maybe [Operation]
-> Int -> DeleteLoadBalancerTlsCertificateResponse)
-> Either String (Maybe [Operation])
-> Either String (Int -> DeleteLoadBalancerTlsCertificateResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Maybe [Operation]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"operations" Either String (Maybe (Maybe [Operation]))
-> Maybe [Operation] -> Either String (Maybe [Operation])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Operation]
forall a. Monoid a => a
Prelude.mempty)
Either String (Int -> DeleteLoadBalancerTlsCertificateResponse)
-> Either String Int
-> Either String DeleteLoadBalancerTlsCertificateResponse
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
DeleteLoadBalancerTlsCertificate
instance
Prelude.NFData
DeleteLoadBalancerTlsCertificate
instance
Core.ToHeaders
DeleteLoadBalancerTlsCertificate
where
toHeaders :: DeleteLoadBalancerTlsCertificate -> ResponseHeaders
toHeaders =
ResponseHeaders
-> DeleteLoadBalancerTlsCertificate -> 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
"Lightsail_20161128.DeleteLoadBalancerTlsCertificate" ::
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 DeleteLoadBalancerTlsCertificate where
toJSON :: DeleteLoadBalancerTlsCertificate -> Value
toJSON DeleteLoadBalancerTlsCertificate' {Maybe Bool
Text
certificateName :: Text
loadBalancerName :: Text
force :: Maybe Bool
$sel:certificateName:DeleteLoadBalancerTlsCertificate' :: DeleteLoadBalancerTlsCertificate -> Text
$sel:loadBalancerName:DeleteLoadBalancerTlsCertificate' :: DeleteLoadBalancerTlsCertificate -> Text
$sel:force:DeleteLoadBalancerTlsCertificate' :: DeleteLoadBalancerTlsCertificate -> Maybe Bool
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"force" Text -> Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Bool -> Pair) -> Maybe Bool -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Bool
force,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"loadBalancerName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
loadBalancerName),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"certificateName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
certificateName)
]
)
instance Core.ToPath DeleteLoadBalancerTlsCertificate where
toPath :: DeleteLoadBalancerTlsCertificate -> ByteString
toPath = ByteString -> DeleteLoadBalancerTlsCertificate -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
DeleteLoadBalancerTlsCertificate
where
toQuery :: DeleteLoadBalancerTlsCertificate -> QueryString
toQuery = QueryString -> DeleteLoadBalancerTlsCertificate -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DeleteLoadBalancerTlsCertificateResponse = DeleteLoadBalancerTlsCertificateResponse'
{
DeleteLoadBalancerTlsCertificateResponse -> Maybe [Operation]
operations :: Prelude.Maybe [Operation],
DeleteLoadBalancerTlsCertificateResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DeleteLoadBalancerTlsCertificateResponse
-> DeleteLoadBalancerTlsCertificateResponse -> Bool
(DeleteLoadBalancerTlsCertificateResponse
-> DeleteLoadBalancerTlsCertificateResponse -> Bool)
-> (DeleteLoadBalancerTlsCertificateResponse
-> DeleteLoadBalancerTlsCertificateResponse -> Bool)
-> Eq DeleteLoadBalancerTlsCertificateResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteLoadBalancerTlsCertificateResponse
-> DeleteLoadBalancerTlsCertificateResponse -> Bool
$c/= :: DeleteLoadBalancerTlsCertificateResponse
-> DeleteLoadBalancerTlsCertificateResponse -> Bool
== :: DeleteLoadBalancerTlsCertificateResponse
-> DeleteLoadBalancerTlsCertificateResponse -> Bool
$c== :: DeleteLoadBalancerTlsCertificateResponse
-> DeleteLoadBalancerTlsCertificateResponse -> Bool
Prelude.Eq, ReadPrec [DeleteLoadBalancerTlsCertificateResponse]
ReadPrec DeleteLoadBalancerTlsCertificateResponse
Int -> ReadS DeleteLoadBalancerTlsCertificateResponse
ReadS [DeleteLoadBalancerTlsCertificateResponse]
(Int -> ReadS DeleteLoadBalancerTlsCertificateResponse)
-> ReadS [DeleteLoadBalancerTlsCertificateResponse]
-> ReadPrec DeleteLoadBalancerTlsCertificateResponse
-> ReadPrec [DeleteLoadBalancerTlsCertificateResponse]
-> Read DeleteLoadBalancerTlsCertificateResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteLoadBalancerTlsCertificateResponse]
$creadListPrec :: ReadPrec [DeleteLoadBalancerTlsCertificateResponse]
readPrec :: ReadPrec DeleteLoadBalancerTlsCertificateResponse
$creadPrec :: ReadPrec DeleteLoadBalancerTlsCertificateResponse
readList :: ReadS [DeleteLoadBalancerTlsCertificateResponse]
$creadList :: ReadS [DeleteLoadBalancerTlsCertificateResponse]
readsPrec :: Int -> ReadS DeleteLoadBalancerTlsCertificateResponse
$creadsPrec :: Int -> ReadS DeleteLoadBalancerTlsCertificateResponse
Prelude.Read, Int -> DeleteLoadBalancerTlsCertificateResponse -> ShowS
[DeleteLoadBalancerTlsCertificateResponse] -> ShowS
DeleteLoadBalancerTlsCertificateResponse -> String
(Int -> DeleteLoadBalancerTlsCertificateResponse -> ShowS)
-> (DeleteLoadBalancerTlsCertificateResponse -> String)
-> ([DeleteLoadBalancerTlsCertificateResponse] -> ShowS)
-> Show DeleteLoadBalancerTlsCertificateResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteLoadBalancerTlsCertificateResponse] -> ShowS
$cshowList :: [DeleteLoadBalancerTlsCertificateResponse] -> ShowS
show :: DeleteLoadBalancerTlsCertificateResponse -> String
$cshow :: DeleteLoadBalancerTlsCertificateResponse -> String
showsPrec :: Int -> DeleteLoadBalancerTlsCertificateResponse -> ShowS
$cshowsPrec :: Int -> DeleteLoadBalancerTlsCertificateResponse -> ShowS
Prelude.Show, (forall x.
DeleteLoadBalancerTlsCertificateResponse
-> Rep DeleteLoadBalancerTlsCertificateResponse x)
-> (forall x.
Rep DeleteLoadBalancerTlsCertificateResponse x
-> DeleteLoadBalancerTlsCertificateResponse)
-> Generic DeleteLoadBalancerTlsCertificateResponse
forall x.
Rep DeleteLoadBalancerTlsCertificateResponse x
-> DeleteLoadBalancerTlsCertificateResponse
forall x.
DeleteLoadBalancerTlsCertificateResponse
-> Rep DeleteLoadBalancerTlsCertificateResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteLoadBalancerTlsCertificateResponse x
-> DeleteLoadBalancerTlsCertificateResponse
$cfrom :: forall x.
DeleteLoadBalancerTlsCertificateResponse
-> Rep DeleteLoadBalancerTlsCertificateResponse x
Prelude.Generic)
newDeleteLoadBalancerTlsCertificateResponse ::
Prelude.Int ->
DeleteLoadBalancerTlsCertificateResponse
newDeleteLoadBalancerTlsCertificateResponse :: Int -> DeleteLoadBalancerTlsCertificateResponse
newDeleteLoadBalancerTlsCertificateResponse
Int
pHttpStatus_ =
DeleteLoadBalancerTlsCertificateResponse' :: Maybe [Operation]
-> Int -> DeleteLoadBalancerTlsCertificateResponse
DeleteLoadBalancerTlsCertificateResponse'
{ $sel:operations:DeleteLoadBalancerTlsCertificateResponse' :: Maybe [Operation]
operations =
Maybe [Operation]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DeleteLoadBalancerTlsCertificateResponse' :: Int
httpStatus = Int
pHttpStatus_
}
deleteLoadBalancerTlsCertificateResponse_operations :: Lens.Lens' DeleteLoadBalancerTlsCertificateResponse (Prelude.Maybe [Operation])
deleteLoadBalancerTlsCertificateResponse_operations :: (Maybe [Operation] -> f (Maybe [Operation]))
-> DeleteLoadBalancerTlsCertificateResponse
-> f DeleteLoadBalancerTlsCertificateResponse
deleteLoadBalancerTlsCertificateResponse_operations = (DeleteLoadBalancerTlsCertificateResponse -> Maybe [Operation])
-> (DeleteLoadBalancerTlsCertificateResponse
-> Maybe [Operation] -> DeleteLoadBalancerTlsCertificateResponse)
-> Lens
DeleteLoadBalancerTlsCertificateResponse
DeleteLoadBalancerTlsCertificateResponse
(Maybe [Operation])
(Maybe [Operation])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteLoadBalancerTlsCertificateResponse' {Maybe [Operation]
operations :: Maybe [Operation]
$sel:operations:DeleteLoadBalancerTlsCertificateResponse' :: DeleteLoadBalancerTlsCertificateResponse -> Maybe [Operation]
operations} -> Maybe [Operation]
operations) (\s :: DeleteLoadBalancerTlsCertificateResponse
s@DeleteLoadBalancerTlsCertificateResponse' {} Maybe [Operation]
a -> DeleteLoadBalancerTlsCertificateResponse
s {$sel:operations:DeleteLoadBalancerTlsCertificateResponse' :: Maybe [Operation]
operations = Maybe [Operation]
a} :: DeleteLoadBalancerTlsCertificateResponse) ((Maybe [Operation] -> f (Maybe [Operation]))
-> DeleteLoadBalancerTlsCertificateResponse
-> f DeleteLoadBalancerTlsCertificateResponse)
-> ((Maybe [Operation] -> f (Maybe [Operation]))
-> Maybe [Operation] -> f (Maybe [Operation]))
-> (Maybe [Operation] -> f (Maybe [Operation]))
-> DeleteLoadBalancerTlsCertificateResponse
-> f DeleteLoadBalancerTlsCertificateResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Operation] [Operation] [Operation] [Operation]
-> Iso
(Maybe [Operation])
(Maybe [Operation])
(Maybe [Operation])
(Maybe [Operation])
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 [Operation] [Operation] [Operation] [Operation]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deleteLoadBalancerTlsCertificateResponse_httpStatus :: Lens.Lens' DeleteLoadBalancerTlsCertificateResponse Prelude.Int
deleteLoadBalancerTlsCertificateResponse_httpStatus :: (Int -> f Int)
-> DeleteLoadBalancerTlsCertificateResponse
-> f DeleteLoadBalancerTlsCertificateResponse
deleteLoadBalancerTlsCertificateResponse_httpStatus = (DeleteLoadBalancerTlsCertificateResponse -> Int)
-> (DeleteLoadBalancerTlsCertificateResponse
-> Int -> DeleteLoadBalancerTlsCertificateResponse)
-> Lens
DeleteLoadBalancerTlsCertificateResponse
DeleteLoadBalancerTlsCertificateResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteLoadBalancerTlsCertificateResponse' {Int
httpStatus :: Int
$sel:httpStatus:DeleteLoadBalancerTlsCertificateResponse' :: DeleteLoadBalancerTlsCertificateResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DeleteLoadBalancerTlsCertificateResponse
s@DeleteLoadBalancerTlsCertificateResponse' {} Int
a -> DeleteLoadBalancerTlsCertificateResponse
s {$sel:httpStatus:DeleteLoadBalancerTlsCertificateResponse' :: Int
httpStatus = Int
a} :: DeleteLoadBalancerTlsCertificateResponse)
instance
Prelude.NFData
DeleteLoadBalancerTlsCertificateResponse