{-# 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.QuickSight.DeleteThemeAlias
(
DeleteThemeAlias (..),
newDeleteThemeAlias,
deleteThemeAlias_awsAccountId,
deleteThemeAlias_themeId,
deleteThemeAlias_aliasName,
DeleteThemeAliasResponse (..),
newDeleteThemeAliasResponse,
deleteThemeAliasResponse_requestId,
deleteThemeAliasResponse_themeId,
deleteThemeAliasResponse_arn,
deleteThemeAliasResponse_aliasName,
deleteThemeAliasResponse_status,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.QuickSight.Types
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DeleteThemeAlias = DeleteThemeAlias'
{
DeleteThemeAlias -> Text
awsAccountId :: Prelude.Text,
DeleteThemeAlias -> Text
themeId :: Prelude.Text,
DeleteThemeAlias -> Text
aliasName :: Prelude.Text
}
deriving (DeleteThemeAlias -> DeleteThemeAlias -> Bool
(DeleteThemeAlias -> DeleteThemeAlias -> Bool)
-> (DeleteThemeAlias -> DeleteThemeAlias -> Bool)
-> Eq DeleteThemeAlias
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteThemeAlias -> DeleteThemeAlias -> Bool
$c/= :: DeleteThemeAlias -> DeleteThemeAlias -> Bool
== :: DeleteThemeAlias -> DeleteThemeAlias -> Bool
$c== :: DeleteThemeAlias -> DeleteThemeAlias -> Bool
Prelude.Eq, ReadPrec [DeleteThemeAlias]
ReadPrec DeleteThemeAlias
Int -> ReadS DeleteThemeAlias
ReadS [DeleteThemeAlias]
(Int -> ReadS DeleteThemeAlias)
-> ReadS [DeleteThemeAlias]
-> ReadPrec DeleteThemeAlias
-> ReadPrec [DeleteThemeAlias]
-> Read DeleteThemeAlias
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteThemeAlias]
$creadListPrec :: ReadPrec [DeleteThemeAlias]
readPrec :: ReadPrec DeleteThemeAlias
$creadPrec :: ReadPrec DeleteThemeAlias
readList :: ReadS [DeleteThemeAlias]
$creadList :: ReadS [DeleteThemeAlias]
readsPrec :: Int -> ReadS DeleteThemeAlias
$creadsPrec :: Int -> ReadS DeleteThemeAlias
Prelude.Read, Int -> DeleteThemeAlias -> ShowS
[DeleteThemeAlias] -> ShowS
DeleteThemeAlias -> String
(Int -> DeleteThemeAlias -> ShowS)
-> (DeleteThemeAlias -> String)
-> ([DeleteThemeAlias] -> ShowS)
-> Show DeleteThemeAlias
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteThemeAlias] -> ShowS
$cshowList :: [DeleteThemeAlias] -> ShowS
show :: DeleteThemeAlias -> String
$cshow :: DeleteThemeAlias -> String
showsPrec :: Int -> DeleteThemeAlias -> ShowS
$cshowsPrec :: Int -> DeleteThemeAlias -> ShowS
Prelude.Show, (forall x. DeleteThemeAlias -> Rep DeleteThemeAlias x)
-> (forall x. Rep DeleteThemeAlias x -> DeleteThemeAlias)
-> Generic DeleteThemeAlias
forall x. Rep DeleteThemeAlias x -> DeleteThemeAlias
forall x. DeleteThemeAlias -> Rep DeleteThemeAlias x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DeleteThemeAlias x -> DeleteThemeAlias
$cfrom :: forall x. DeleteThemeAlias -> Rep DeleteThemeAlias x
Prelude.Generic)
newDeleteThemeAlias ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
DeleteThemeAlias
newDeleteThemeAlias :: Text -> Text -> Text -> DeleteThemeAlias
newDeleteThemeAlias
Text
pAwsAccountId_
Text
pThemeId_
Text
pAliasName_ =
DeleteThemeAlias' :: Text -> Text -> Text -> DeleteThemeAlias
DeleteThemeAlias'
{ $sel:awsAccountId:DeleteThemeAlias' :: Text
awsAccountId = Text
pAwsAccountId_,
$sel:themeId:DeleteThemeAlias' :: Text
themeId = Text
pThemeId_,
$sel:aliasName:DeleteThemeAlias' :: Text
aliasName = Text
pAliasName_
}
deleteThemeAlias_awsAccountId :: Lens.Lens' DeleteThemeAlias Prelude.Text
deleteThemeAlias_awsAccountId :: (Text -> f Text) -> DeleteThemeAlias -> f DeleteThemeAlias
deleteThemeAlias_awsAccountId = (DeleteThemeAlias -> Text)
-> (DeleteThemeAlias -> Text -> DeleteThemeAlias)
-> Lens DeleteThemeAlias DeleteThemeAlias Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteThemeAlias' {Text
awsAccountId :: Text
$sel:awsAccountId:DeleteThemeAlias' :: DeleteThemeAlias -> Text
awsAccountId} -> Text
awsAccountId) (\s :: DeleteThemeAlias
s@DeleteThemeAlias' {} Text
a -> DeleteThemeAlias
s {$sel:awsAccountId:DeleteThemeAlias' :: Text
awsAccountId = Text
a} :: DeleteThemeAlias)
deleteThemeAlias_themeId :: Lens.Lens' DeleteThemeAlias Prelude.Text
deleteThemeAlias_themeId :: (Text -> f Text) -> DeleteThemeAlias -> f DeleteThemeAlias
deleteThemeAlias_themeId = (DeleteThemeAlias -> Text)
-> (DeleteThemeAlias -> Text -> DeleteThemeAlias)
-> Lens DeleteThemeAlias DeleteThemeAlias Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteThemeAlias' {Text
themeId :: Text
$sel:themeId:DeleteThemeAlias' :: DeleteThemeAlias -> Text
themeId} -> Text
themeId) (\s :: DeleteThemeAlias
s@DeleteThemeAlias' {} Text
a -> DeleteThemeAlias
s {$sel:themeId:DeleteThemeAlias' :: Text
themeId = Text
a} :: DeleteThemeAlias)
deleteThemeAlias_aliasName :: Lens.Lens' DeleteThemeAlias Prelude.Text
deleteThemeAlias_aliasName :: (Text -> f Text) -> DeleteThemeAlias -> f DeleteThemeAlias
deleteThemeAlias_aliasName = (DeleteThemeAlias -> Text)
-> (DeleteThemeAlias -> Text -> DeleteThemeAlias)
-> Lens DeleteThemeAlias DeleteThemeAlias Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteThemeAlias' {Text
aliasName :: Text
$sel:aliasName:DeleteThemeAlias' :: DeleteThemeAlias -> Text
aliasName} -> Text
aliasName) (\s :: DeleteThemeAlias
s@DeleteThemeAlias' {} Text
a -> DeleteThemeAlias
s {$sel:aliasName:DeleteThemeAlias' :: Text
aliasName = Text
a} :: DeleteThemeAlias)
instance Core.AWSRequest DeleteThemeAlias where
type
AWSResponse DeleteThemeAlias =
DeleteThemeAliasResponse
request :: DeleteThemeAlias -> Request DeleteThemeAlias
request = Service -> DeleteThemeAlias -> Request DeleteThemeAlias
forall a. ToRequest a => Service -> a -> Request a
Request.delete Service
defaultService
response :: Logger
-> Service
-> Proxy DeleteThemeAlias
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DeleteThemeAlias)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DeleteThemeAlias))
-> Logger
-> Service
-> Proxy DeleteThemeAlias
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DeleteThemeAlias)))
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 Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> DeleteThemeAliasResponse
DeleteThemeAliasResponse'
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> DeleteThemeAliasResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text -> Maybe Text -> Int -> DeleteThemeAliasResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"RequestId")
Either
String
(Maybe Text
-> Maybe Text -> Maybe Text -> Int -> DeleteThemeAliasResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text -> Maybe Text -> Int -> DeleteThemeAliasResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ThemeId")
Either
String
(Maybe Text -> Maybe Text -> Int -> DeleteThemeAliasResponse)
-> Either String (Maybe Text)
-> Either String (Maybe Text -> Int -> DeleteThemeAliasResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Arn")
Either String (Maybe Text -> Int -> DeleteThemeAliasResponse)
-> Either String (Maybe Text)
-> Either String (Int -> DeleteThemeAliasResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"AliasName")
Either String (Int -> DeleteThemeAliasResponse)
-> Either String Int -> Either String DeleteThemeAliasResponse
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 DeleteThemeAlias
instance Prelude.NFData DeleteThemeAlias
instance Core.ToHeaders DeleteThemeAlias where
toHeaders :: DeleteThemeAlias -> ResponseHeaders
toHeaders =
ResponseHeaders -> DeleteThemeAlias -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.0" ::
Prelude.ByteString
)
]
)
instance Core.ToPath DeleteThemeAlias where
toPath :: DeleteThemeAlias -> ByteString
toPath DeleteThemeAlias' {Text
aliasName :: Text
themeId :: Text
awsAccountId :: Text
$sel:aliasName:DeleteThemeAlias' :: DeleteThemeAlias -> Text
$sel:themeId:DeleteThemeAlias' :: DeleteThemeAlias -> Text
$sel:awsAccountId:DeleteThemeAlias' :: DeleteThemeAlias -> Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/accounts/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
awsAccountId,
ByteString
"/themes/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
themeId,
ByteString
"/aliases/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
aliasName
]
instance Core.ToQuery DeleteThemeAlias where
toQuery :: DeleteThemeAlias -> QueryString
toQuery = QueryString -> DeleteThemeAlias -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DeleteThemeAliasResponse = DeleteThemeAliasResponse'
{
DeleteThemeAliasResponse -> Maybe Text
requestId :: Prelude.Maybe Prelude.Text,
DeleteThemeAliasResponse -> Maybe Text
themeId :: Prelude.Maybe Prelude.Text,
DeleteThemeAliasResponse -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
DeleteThemeAliasResponse -> Maybe Text
aliasName :: Prelude.Maybe Prelude.Text,
DeleteThemeAliasResponse -> Int
status :: Prelude.Int
}
deriving (DeleteThemeAliasResponse -> DeleteThemeAliasResponse -> Bool
(DeleteThemeAliasResponse -> DeleteThemeAliasResponse -> Bool)
-> (DeleteThemeAliasResponse -> DeleteThemeAliasResponse -> Bool)
-> Eq DeleteThemeAliasResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteThemeAliasResponse -> DeleteThemeAliasResponse -> Bool
$c/= :: DeleteThemeAliasResponse -> DeleteThemeAliasResponse -> Bool
== :: DeleteThemeAliasResponse -> DeleteThemeAliasResponse -> Bool
$c== :: DeleteThemeAliasResponse -> DeleteThemeAliasResponse -> Bool
Prelude.Eq, ReadPrec [DeleteThemeAliasResponse]
ReadPrec DeleteThemeAliasResponse
Int -> ReadS DeleteThemeAliasResponse
ReadS [DeleteThemeAliasResponse]
(Int -> ReadS DeleteThemeAliasResponse)
-> ReadS [DeleteThemeAliasResponse]
-> ReadPrec DeleteThemeAliasResponse
-> ReadPrec [DeleteThemeAliasResponse]
-> Read DeleteThemeAliasResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteThemeAliasResponse]
$creadListPrec :: ReadPrec [DeleteThemeAliasResponse]
readPrec :: ReadPrec DeleteThemeAliasResponse
$creadPrec :: ReadPrec DeleteThemeAliasResponse
readList :: ReadS [DeleteThemeAliasResponse]
$creadList :: ReadS [DeleteThemeAliasResponse]
readsPrec :: Int -> ReadS DeleteThemeAliasResponse
$creadsPrec :: Int -> ReadS DeleteThemeAliasResponse
Prelude.Read, Int -> DeleteThemeAliasResponse -> ShowS
[DeleteThemeAliasResponse] -> ShowS
DeleteThemeAliasResponse -> String
(Int -> DeleteThemeAliasResponse -> ShowS)
-> (DeleteThemeAliasResponse -> String)
-> ([DeleteThemeAliasResponse] -> ShowS)
-> Show DeleteThemeAliasResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteThemeAliasResponse] -> ShowS
$cshowList :: [DeleteThemeAliasResponse] -> ShowS
show :: DeleteThemeAliasResponse -> String
$cshow :: DeleteThemeAliasResponse -> String
showsPrec :: Int -> DeleteThemeAliasResponse -> ShowS
$cshowsPrec :: Int -> DeleteThemeAliasResponse -> ShowS
Prelude.Show, (forall x.
DeleteThemeAliasResponse -> Rep DeleteThemeAliasResponse x)
-> (forall x.
Rep DeleteThemeAliasResponse x -> DeleteThemeAliasResponse)
-> Generic DeleteThemeAliasResponse
forall x.
Rep DeleteThemeAliasResponse x -> DeleteThemeAliasResponse
forall x.
DeleteThemeAliasResponse -> Rep DeleteThemeAliasResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteThemeAliasResponse x -> DeleteThemeAliasResponse
$cfrom :: forall x.
DeleteThemeAliasResponse -> Rep DeleteThemeAliasResponse x
Prelude.Generic)
newDeleteThemeAliasResponse ::
Prelude.Int ->
DeleteThemeAliasResponse
newDeleteThemeAliasResponse :: Int -> DeleteThemeAliasResponse
newDeleteThemeAliasResponse Int
pStatus_ =
DeleteThemeAliasResponse' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> DeleteThemeAliasResponse
DeleteThemeAliasResponse'
{ $sel:requestId:DeleteThemeAliasResponse' :: Maybe Text
requestId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:themeId:DeleteThemeAliasResponse' :: Maybe Text
themeId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:arn:DeleteThemeAliasResponse' :: Maybe Text
arn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:aliasName:DeleteThemeAliasResponse' :: Maybe Text
aliasName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:status:DeleteThemeAliasResponse' :: Int
status = Int
pStatus_
}
deleteThemeAliasResponse_requestId :: Lens.Lens' DeleteThemeAliasResponse (Prelude.Maybe Prelude.Text)
deleteThemeAliasResponse_requestId :: (Maybe Text -> f (Maybe Text))
-> DeleteThemeAliasResponse -> f DeleteThemeAliasResponse
deleteThemeAliasResponse_requestId = (DeleteThemeAliasResponse -> Maybe Text)
-> (DeleteThemeAliasResponse
-> Maybe Text -> DeleteThemeAliasResponse)
-> Lens
DeleteThemeAliasResponse
DeleteThemeAliasResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteThemeAliasResponse' {Maybe Text
requestId :: Maybe Text
$sel:requestId:DeleteThemeAliasResponse' :: DeleteThemeAliasResponse -> Maybe Text
requestId} -> Maybe Text
requestId) (\s :: DeleteThemeAliasResponse
s@DeleteThemeAliasResponse' {} Maybe Text
a -> DeleteThemeAliasResponse
s {$sel:requestId:DeleteThemeAliasResponse' :: Maybe Text
requestId = Maybe Text
a} :: DeleteThemeAliasResponse)
deleteThemeAliasResponse_themeId :: Lens.Lens' DeleteThemeAliasResponse (Prelude.Maybe Prelude.Text)
deleteThemeAliasResponse_themeId :: (Maybe Text -> f (Maybe Text))
-> DeleteThemeAliasResponse -> f DeleteThemeAliasResponse
deleteThemeAliasResponse_themeId = (DeleteThemeAliasResponse -> Maybe Text)
-> (DeleteThemeAliasResponse
-> Maybe Text -> DeleteThemeAliasResponse)
-> Lens
DeleteThemeAliasResponse
DeleteThemeAliasResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteThemeAliasResponse' {Maybe Text
themeId :: Maybe Text
$sel:themeId:DeleteThemeAliasResponse' :: DeleteThemeAliasResponse -> Maybe Text
themeId} -> Maybe Text
themeId) (\s :: DeleteThemeAliasResponse
s@DeleteThemeAliasResponse' {} Maybe Text
a -> DeleteThemeAliasResponse
s {$sel:themeId:DeleteThemeAliasResponse' :: Maybe Text
themeId = Maybe Text
a} :: DeleteThemeAliasResponse)
deleteThemeAliasResponse_arn :: Lens.Lens' DeleteThemeAliasResponse (Prelude.Maybe Prelude.Text)
deleteThemeAliasResponse_arn :: (Maybe Text -> f (Maybe Text))
-> DeleteThemeAliasResponse -> f DeleteThemeAliasResponse
deleteThemeAliasResponse_arn = (DeleteThemeAliasResponse -> Maybe Text)
-> (DeleteThemeAliasResponse
-> Maybe Text -> DeleteThemeAliasResponse)
-> Lens
DeleteThemeAliasResponse
DeleteThemeAliasResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteThemeAliasResponse' {Maybe Text
arn :: Maybe Text
$sel:arn:DeleteThemeAliasResponse' :: DeleteThemeAliasResponse -> Maybe Text
arn} -> Maybe Text
arn) (\s :: DeleteThemeAliasResponse
s@DeleteThemeAliasResponse' {} Maybe Text
a -> DeleteThemeAliasResponse
s {$sel:arn:DeleteThemeAliasResponse' :: Maybe Text
arn = Maybe Text
a} :: DeleteThemeAliasResponse)
deleteThemeAliasResponse_aliasName :: Lens.Lens' DeleteThemeAliasResponse (Prelude.Maybe Prelude.Text)
deleteThemeAliasResponse_aliasName :: (Maybe Text -> f (Maybe Text))
-> DeleteThemeAliasResponse -> f DeleteThemeAliasResponse
deleteThemeAliasResponse_aliasName = (DeleteThemeAliasResponse -> Maybe Text)
-> (DeleteThemeAliasResponse
-> Maybe Text -> DeleteThemeAliasResponse)
-> Lens
DeleteThemeAliasResponse
DeleteThemeAliasResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteThemeAliasResponse' {Maybe Text
aliasName :: Maybe Text
$sel:aliasName:DeleteThemeAliasResponse' :: DeleteThemeAliasResponse -> Maybe Text
aliasName} -> Maybe Text
aliasName) (\s :: DeleteThemeAliasResponse
s@DeleteThemeAliasResponse' {} Maybe Text
a -> DeleteThemeAliasResponse
s {$sel:aliasName:DeleteThemeAliasResponse' :: Maybe Text
aliasName = Maybe Text
a} :: DeleteThemeAliasResponse)
deleteThemeAliasResponse_status :: Lens.Lens' DeleteThemeAliasResponse Prelude.Int
deleteThemeAliasResponse_status :: (Int -> f Int)
-> DeleteThemeAliasResponse -> f DeleteThemeAliasResponse
deleteThemeAliasResponse_status = (DeleteThemeAliasResponse -> Int)
-> (DeleteThemeAliasResponse -> Int -> DeleteThemeAliasResponse)
-> Lens DeleteThemeAliasResponse DeleteThemeAliasResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteThemeAliasResponse' {Int
status :: Int
$sel:status:DeleteThemeAliasResponse' :: DeleteThemeAliasResponse -> Int
status} -> Int
status) (\s :: DeleteThemeAliasResponse
s@DeleteThemeAliasResponse' {} Int
a -> DeleteThemeAliasResponse
s {$sel:status:DeleteThemeAliasResponse' :: Int
status = Int
a} :: DeleteThemeAliasResponse)
instance Prelude.NFData DeleteThemeAliasResponse