{-# 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.NetworkFirewall.UpdateFirewallDescription
(
UpdateFirewallDescription (..),
newUpdateFirewallDescription,
updateFirewallDescription_description,
updateFirewallDescription_firewallArn,
updateFirewallDescription_firewallName,
updateFirewallDescription_updateToken,
UpdateFirewallDescriptionResponse (..),
newUpdateFirewallDescriptionResponse,
updateFirewallDescriptionResponse_description,
updateFirewallDescriptionResponse_firewallArn,
updateFirewallDescriptionResponse_firewallName,
updateFirewallDescriptionResponse_updateToken,
updateFirewallDescriptionResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.NetworkFirewall.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data UpdateFirewallDescription = UpdateFirewallDescription'
{
UpdateFirewallDescription -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
UpdateFirewallDescription -> Maybe Text
firewallArn :: Prelude.Maybe Prelude.Text,
UpdateFirewallDescription -> Maybe Text
firewallName :: Prelude.Maybe Prelude.Text,
UpdateFirewallDescription -> Maybe Text
updateToken :: Prelude.Maybe Prelude.Text
}
deriving (UpdateFirewallDescription -> UpdateFirewallDescription -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateFirewallDescription -> UpdateFirewallDescription -> Bool
$c/= :: UpdateFirewallDescription -> UpdateFirewallDescription -> Bool
== :: UpdateFirewallDescription -> UpdateFirewallDescription -> Bool
$c== :: UpdateFirewallDescription -> UpdateFirewallDescription -> Bool
Prelude.Eq, ReadPrec [UpdateFirewallDescription]
ReadPrec UpdateFirewallDescription
Int -> ReadS UpdateFirewallDescription
ReadS [UpdateFirewallDescription]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateFirewallDescription]
$creadListPrec :: ReadPrec [UpdateFirewallDescription]
readPrec :: ReadPrec UpdateFirewallDescription
$creadPrec :: ReadPrec UpdateFirewallDescription
readList :: ReadS [UpdateFirewallDescription]
$creadList :: ReadS [UpdateFirewallDescription]
readsPrec :: Int -> ReadS UpdateFirewallDescription
$creadsPrec :: Int -> ReadS UpdateFirewallDescription
Prelude.Read, Int -> UpdateFirewallDescription -> ShowS
[UpdateFirewallDescription] -> ShowS
UpdateFirewallDescription -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateFirewallDescription] -> ShowS
$cshowList :: [UpdateFirewallDescription] -> ShowS
show :: UpdateFirewallDescription -> String
$cshow :: UpdateFirewallDescription -> String
showsPrec :: Int -> UpdateFirewallDescription -> ShowS
$cshowsPrec :: Int -> UpdateFirewallDescription -> ShowS
Prelude.Show, forall x.
Rep UpdateFirewallDescription x -> UpdateFirewallDescription
forall x.
UpdateFirewallDescription -> Rep UpdateFirewallDescription x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateFirewallDescription x -> UpdateFirewallDescription
$cfrom :: forall x.
UpdateFirewallDescription -> Rep UpdateFirewallDescription x
Prelude.Generic)
newUpdateFirewallDescription ::
UpdateFirewallDescription
newUpdateFirewallDescription :: UpdateFirewallDescription
newUpdateFirewallDescription =
UpdateFirewallDescription'
{ $sel:description:UpdateFirewallDescription' :: Maybe Text
description =
forall a. Maybe a
Prelude.Nothing,
$sel:firewallArn:UpdateFirewallDescription' :: Maybe Text
firewallArn = forall a. Maybe a
Prelude.Nothing,
$sel:firewallName:UpdateFirewallDescription' :: Maybe Text
firewallName = forall a. Maybe a
Prelude.Nothing,
$sel:updateToken:UpdateFirewallDescription' :: Maybe Text
updateToken = forall a. Maybe a
Prelude.Nothing
}
updateFirewallDescription_description :: Lens.Lens' UpdateFirewallDescription (Prelude.Maybe Prelude.Text)
updateFirewallDescription_description :: Lens' UpdateFirewallDescription (Maybe Text)
updateFirewallDescription_description = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateFirewallDescription' {Maybe Text
description :: Maybe Text
$sel:description:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
description} -> Maybe Text
description) (\s :: UpdateFirewallDescription
s@UpdateFirewallDescription' {} Maybe Text
a -> UpdateFirewallDescription
s {$sel:description:UpdateFirewallDescription' :: Maybe Text
description = Maybe Text
a} :: UpdateFirewallDescription)
updateFirewallDescription_firewallArn :: Lens.Lens' UpdateFirewallDescription (Prelude.Maybe Prelude.Text)
updateFirewallDescription_firewallArn :: Lens' UpdateFirewallDescription (Maybe Text)
updateFirewallDescription_firewallArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateFirewallDescription' {Maybe Text
firewallArn :: Maybe Text
$sel:firewallArn:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
firewallArn} -> Maybe Text
firewallArn) (\s :: UpdateFirewallDescription
s@UpdateFirewallDescription' {} Maybe Text
a -> UpdateFirewallDescription
s {$sel:firewallArn:UpdateFirewallDescription' :: Maybe Text
firewallArn = Maybe Text
a} :: UpdateFirewallDescription)
updateFirewallDescription_firewallName :: Lens.Lens' UpdateFirewallDescription (Prelude.Maybe Prelude.Text)
updateFirewallDescription_firewallName :: Lens' UpdateFirewallDescription (Maybe Text)
updateFirewallDescription_firewallName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateFirewallDescription' {Maybe Text
firewallName :: Maybe Text
$sel:firewallName:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
firewallName} -> Maybe Text
firewallName) (\s :: UpdateFirewallDescription
s@UpdateFirewallDescription' {} Maybe Text
a -> UpdateFirewallDescription
s {$sel:firewallName:UpdateFirewallDescription' :: Maybe Text
firewallName = Maybe Text
a} :: UpdateFirewallDescription)
updateFirewallDescription_updateToken :: Lens.Lens' UpdateFirewallDescription (Prelude.Maybe Prelude.Text)
updateFirewallDescription_updateToken :: Lens' UpdateFirewallDescription (Maybe Text)
updateFirewallDescription_updateToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateFirewallDescription' {Maybe Text
updateToken :: Maybe Text
$sel:updateToken:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
updateToken} -> Maybe Text
updateToken) (\s :: UpdateFirewallDescription
s@UpdateFirewallDescription' {} Maybe Text
a -> UpdateFirewallDescription
s {$sel:updateToken:UpdateFirewallDescription' :: Maybe Text
updateToken = Maybe Text
a} :: UpdateFirewallDescription)
instance Core.AWSRequest UpdateFirewallDescription where
type
AWSResponse UpdateFirewallDescription =
UpdateFirewallDescriptionResponse
request :: (Service -> Service)
-> UpdateFirewallDescription -> Request UpdateFirewallDescription
request Service -> Service
overrides =
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy UpdateFirewallDescription
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateFirewallDescription)))
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 Text
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateFirewallDescriptionResponse
UpdateFirewallDescriptionResponse'
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
"Description")
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
"FirewallArn")
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
"FirewallName")
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
"UpdateToken")
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 UpdateFirewallDescription where
hashWithSalt :: Int -> UpdateFirewallDescription -> Int
hashWithSalt Int
_salt UpdateFirewallDescription' {Maybe Text
updateToken :: Maybe Text
firewallName :: Maybe Text
firewallArn :: Maybe Text
description :: Maybe Text
$sel:updateToken:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
$sel:firewallName:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
$sel:firewallArn:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
$sel:description:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
description
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
firewallArn
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
firewallName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
updateToken
instance Prelude.NFData UpdateFirewallDescription where
rnf :: UpdateFirewallDescription -> ()
rnf UpdateFirewallDescription' {Maybe Text
updateToken :: Maybe Text
firewallName :: Maybe Text
firewallArn :: Maybe Text
description :: Maybe Text
$sel:updateToken:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
$sel:firewallName:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
$sel:firewallArn:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
$sel:description:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
..} =
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
firewallArn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
firewallName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
updateToken
instance Data.ToHeaders UpdateFirewallDescription where
toHeaders :: UpdateFirewallDescription -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"NetworkFirewall_20201112.UpdateFirewallDescription" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.0" ::
Prelude.ByteString
)
]
)
instance Data.ToJSON UpdateFirewallDescription where
toJSON :: UpdateFirewallDescription -> Value
toJSON UpdateFirewallDescription' {Maybe Text
updateToken :: Maybe Text
firewallName :: Maybe Text
firewallArn :: Maybe Text
description :: Maybe Text
$sel:updateToken:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
$sel:firewallName:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
$sel:firewallArn:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
$sel:description:UpdateFirewallDescription' :: UpdateFirewallDescription -> Maybe Text
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"Description" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
description,
(Key
"FirewallArn" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
firewallArn,
(Key
"FirewallName" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
firewallName,
(Key
"UpdateToken" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
updateToken
]
)
instance Data.ToPath UpdateFirewallDescription where
toPath :: UpdateFirewallDescription -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Data.ToQuery UpdateFirewallDescription where
toQuery :: UpdateFirewallDescription -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
data UpdateFirewallDescriptionResponse = UpdateFirewallDescriptionResponse'
{
UpdateFirewallDescriptionResponse -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
UpdateFirewallDescriptionResponse -> Maybe Text
firewallArn :: Prelude.Maybe Prelude.Text,
UpdateFirewallDescriptionResponse -> Maybe Text
firewallName :: Prelude.Maybe Prelude.Text,
UpdateFirewallDescriptionResponse -> Maybe Text
updateToken :: Prelude.Maybe Prelude.Text,
UpdateFirewallDescriptionResponse -> Int
httpStatus :: Prelude.Int
}
deriving (UpdateFirewallDescriptionResponse
-> UpdateFirewallDescriptionResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateFirewallDescriptionResponse
-> UpdateFirewallDescriptionResponse -> Bool
$c/= :: UpdateFirewallDescriptionResponse
-> UpdateFirewallDescriptionResponse -> Bool
== :: UpdateFirewallDescriptionResponse
-> UpdateFirewallDescriptionResponse -> Bool
$c== :: UpdateFirewallDescriptionResponse
-> UpdateFirewallDescriptionResponse -> Bool
Prelude.Eq, ReadPrec [UpdateFirewallDescriptionResponse]
ReadPrec UpdateFirewallDescriptionResponse
Int -> ReadS UpdateFirewallDescriptionResponse
ReadS [UpdateFirewallDescriptionResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateFirewallDescriptionResponse]
$creadListPrec :: ReadPrec [UpdateFirewallDescriptionResponse]
readPrec :: ReadPrec UpdateFirewallDescriptionResponse
$creadPrec :: ReadPrec UpdateFirewallDescriptionResponse
readList :: ReadS [UpdateFirewallDescriptionResponse]
$creadList :: ReadS [UpdateFirewallDescriptionResponse]
readsPrec :: Int -> ReadS UpdateFirewallDescriptionResponse
$creadsPrec :: Int -> ReadS UpdateFirewallDescriptionResponse
Prelude.Read, Int -> UpdateFirewallDescriptionResponse -> ShowS
[UpdateFirewallDescriptionResponse] -> ShowS
UpdateFirewallDescriptionResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateFirewallDescriptionResponse] -> ShowS
$cshowList :: [UpdateFirewallDescriptionResponse] -> ShowS
show :: UpdateFirewallDescriptionResponse -> String
$cshow :: UpdateFirewallDescriptionResponse -> String
showsPrec :: Int -> UpdateFirewallDescriptionResponse -> ShowS
$cshowsPrec :: Int -> UpdateFirewallDescriptionResponse -> ShowS
Prelude.Show, forall x.
Rep UpdateFirewallDescriptionResponse x
-> UpdateFirewallDescriptionResponse
forall x.
UpdateFirewallDescriptionResponse
-> Rep UpdateFirewallDescriptionResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateFirewallDescriptionResponse x
-> UpdateFirewallDescriptionResponse
$cfrom :: forall x.
UpdateFirewallDescriptionResponse
-> Rep UpdateFirewallDescriptionResponse x
Prelude.Generic)
newUpdateFirewallDescriptionResponse ::
Prelude.Int ->
UpdateFirewallDescriptionResponse
newUpdateFirewallDescriptionResponse :: Int -> UpdateFirewallDescriptionResponse
newUpdateFirewallDescriptionResponse Int
pHttpStatus_ =
UpdateFirewallDescriptionResponse'
{ $sel:description:UpdateFirewallDescriptionResponse' :: Maybe Text
description =
forall a. Maybe a
Prelude.Nothing,
$sel:firewallArn:UpdateFirewallDescriptionResponse' :: Maybe Text
firewallArn = forall a. Maybe a
Prelude.Nothing,
$sel:firewallName:UpdateFirewallDescriptionResponse' :: Maybe Text
firewallName = forall a. Maybe a
Prelude.Nothing,
$sel:updateToken:UpdateFirewallDescriptionResponse' :: Maybe Text
updateToken = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:UpdateFirewallDescriptionResponse' :: Int
httpStatus = Int
pHttpStatus_
}
updateFirewallDescriptionResponse_description :: Lens.Lens' UpdateFirewallDescriptionResponse (Prelude.Maybe Prelude.Text)
updateFirewallDescriptionResponse_description :: Lens' UpdateFirewallDescriptionResponse (Maybe Text)
updateFirewallDescriptionResponse_description = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateFirewallDescriptionResponse' {Maybe Text
description :: Maybe Text
$sel:description:UpdateFirewallDescriptionResponse' :: UpdateFirewallDescriptionResponse -> Maybe Text
description} -> Maybe Text
description) (\s :: UpdateFirewallDescriptionResponse
s@UpdateFirewallDescriptionResponse' {} Maybe Text
a -> UpdateFirewallDescriptionResponse
s {$sel:description:UpdateFirewallDescriptionResponse' :: Maybe Text
description = Maybe Text
a} :: UpdateFirewallDescriptionResponse)
updateFirewallDescriptionResponse_firewallArn :: Lens.Lens' UpdateFirewallDescriptionResponse (Prelude.Maybe Prelude.Text)
updateFirewallDescriptionResponse_firewallArn :: Lens' UpdateFirewallDescriptionResponse (Maybe Text)
updateFirewallDescriptionResponse_firewallArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateFirewallDescriptionResponse' {Maybe Text
firewallArn :: Maybe Text
$sel:firewallArn:UpdateFirewallDescriptionResponse' :: UpdateFirewallDescriptionResponse -> Maybe Text
firewallArn} -> Maybe Text
firewallArn) (\s :: UpdateFirewallDescriptionResponse
s@UpdateFirewallDescriptionResponse' {} Maybe Text
a -> UpdateFirewallDescriptionResponse
s {$sel:firewallArn:UpdateFirewallDescriptionResponse' :: Maybe Text
firewallArn = Maybe Text
a} :: UpdateFirewallDescriptionResponse)
updateFirewallDescriptionResponse_firewallName :: Lens.Lens' UpdateFirewallDescriptionResponse (Prelude.Maybe Prelude.Text)
updateFirewallDescriptionResponse_firewallName :: Lens' UpdateFirewallDescriptionResponse (Maybe Text)
updateFirewallDescriptionResponse_firewallName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateFirewallDescriptionResponse' {Maybe Text
firewallName :: Maybe Text
$sel:firewallName:UpdateFirewallDescriptionResponse' :: UpdateFirewallDescriptionResponse -> Maybe Text
firewallName} -> Maybe Text
firewallName) (\s :: UpdateFirewallDescriptionResponse
s@UpdateFirewallDescriptionResponse' {} Maybe Text
a -> UpdateFirewallDescriptionResponse
s {$sel:firewallName:UpdateFirewallDescriptionResponse' :: Maybe Text
firewallName = Maybe Text
a} :: UpdateFirewallDescriptionResponse)
updateFirewallDescriptionResponse_updateToken :: Lens.Lens' UpdateFirewallDescriptionResponse (Prelude.Maybe Prelude.Text)
updateFirewallDescriptionResponse_updateToken :: Lens' UpdateFirewallDescriptionResponse (Maybe Text)
updateFirewallDescriptionResponse_updateToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateFirewallDescriptionResponse' {Maybe Text
updateToken :: Maybe Text
$sel:updateToken:UpdateFirewallDescriptionResponse' :: UpdateFirewallDescriptionResponse -> Maybe Text
updateToken} -> Maybe Text
updateToken) (\s :: UpdateFirewallDescriptionResponse
s@UpdateFirewallDescriptionResponse' {} Maybe Text
a -> UpdateFirewallDescriptionResponse
s {$sel:updateToken:UpdateFirewallDescriptionResponse' :: Maybe Text
updateToken = Maybe Text
a} :: UpdateFirewallDescriptionResponse)
updateFirewallDescriptionResponse_httpStatus :: Lens.Lens' UpdateFirewallDescriptionResponse Prelude.Int
updateFirewallDescriptionResponse_httpStatus :: Lens' UpdateFirewallDescriptionResponse Int
updateFirewallDescriptionResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateFirewallDescriptionResponse' {Int
httpStatus :: Int
$sel:httpStatus:UpdateFirewallDescriptionResponse' :: UpdateFirewallDescriptionResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: UpdateFirewallDescriptionResponse
s@UpdateFirewallDescriptionResponse' {} Int
a -> UpdateFirewallDescriptionResponse
s {$sel:httpStatus:UpdateFirewallDescriptionResponse' :: Int
httpStatus = Int
a} :: UpdateFirewallDescriptionResponse)
instance
Prelude.NFData
UpdateFirewallDescriptionResponse
where
rnf :: UpdateFirewallDescriptionResponse -> ()
rnf UpdateFirewallDescriptionResponse' {Int
Maybe Text
httpStatus :: Int
updateToken :: Maybe Text
firewallName :: Maybe Text
firewallArn :: Maybe Text
description :: Maybe Text
$sel:httpStatus:UpdateFirewallDescriptionResponse' :: UpdateFirewallDescriptionResponse -> Int
$sel:updateToken:UpdateFirewallDescriptionResponse' :: UpdateFirewallDescriptionResponse -> Maybe Text
$sel:firewallName:UpdateFirewallDescriptionResponse' :: UpdateFirewallDescriptionResponse -> Maybe Text
$sel:firewallArn:UpdateFirewallDescriptionResponse' :: UpdateFirewallDescriptionResponse -> Maybe Text
$sel:description:UpdateFirewallDescriptionResponse' :: UpdateFirewallDescriptionResponse -> Maybe Text
..} =
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
firewallArn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
firewallName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
updateToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus