{-# 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.SMS.GetAppValidationConfiguration
(
GetAppValidationConfiguration (..),
newGetAppValidationConfiguration,
getAppValidationConfiguration_appId,
GetAppValidationConfigurationResponse (..),
newGetAppValidationConfigurationResponse,
getAppValidationConfigurationResponse_serverGroupValidationConfigurations,
getAppValidationConfigurationResponse_appValidationConfigurations,
getAppValidationConfigurationResponse_httpStatus,
)
where
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
import Amazonka.SMS.Types
data GetAppValidationConfiguration = GetAppValidationConfiguration'
{
GetAppValidationConfiguration -> Text
appId :: Prelude.Text
}
deriving (GetAppValidationConfiguration
-> GetAppValidationConfiguration -> Bool
(GetAppValidationConfiguration
-> GetAppValidationConfiguration -> Bool)
-> (GetAppValidationConfiguration
-> GetAppValidationConfiguration -> Bool)
-> Eq GetAppValidationConfiguration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetAppValidationConfiguration
-> GetAppValidationConfiguration -> Bool
$c/= :: GetAppValidationConfiguration
-> GetAppValidationConfiguration -> Bool
== :: GetAppValidationConfiguration
-> GetAppValidationConfiguration -> Bool
$c== :: GetAppValidationConfiguration
-> GetAppValidationConfiguration -> Bool
Prelude.Eq, ReadPrec [GetAppValidationConfiguration]
ReadPrec GetAppValidationConfiguration
Int -> ReadS GetAppValidationConfiguration
ReadS [GetAppValidationConfiguration]
(Int -> ReadS GetAppValidationConfiguration)
-> ReadS [GetAppValidationConfiguration]
-> ReadPrec GetAppValidationConfiguration
-> ReadPrec [GetAppValidationConfiguration]
-> Read GetAppValidationConfiguration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetAppValidationConfiguration]
$creadListPrec :: ReadPrec [GetAppValidationConfiguration]
readPrec :: ReadPrec GetAppValidationConfiguration
$creadPrec :: ReadPrec GetAppValidationConfiguration
readList :: ReadS [GetAppValidationConfiguration]
$creadList :: ReadS [GetAppValidationConfiguration]
readsPrec :: Int -> ReadS GetAppValidationConfiguration
$creadsPrec :: Int -> ReadS GetAppValidationConfiguration
Prelude.Read, Int -> GetAppValidationConfiguration -> ShowS
[GetAppValidationConfiguration] -> ShowS
GetAppValidationConfiguration -> String
(Int -> GetAppValidationConfiguration -> ShowS)
-> (GetAppValidationConfiguration -> String)
-> ([GetAppValidationConfiguration] -> ShowS)
-> Show GetAppValidationConfiguration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetAppValidationConfiguration] -> ShowS
$cshowList :: [GetAppValidationConfiguration] -> ShowS
show :: GetAppValidationConfiguration -> String
$cshow :: GetAppValidationConfiguration -> String
showsPrec :: Int -> GetAppValidationConfiguration -> ShowS
$cshowsPrec :: Int -> GetAppValidationConfiguration -> ShowS
Prelude.Show, (forall x.
GetAppValidationConfiguration
-> Rep GetAppValidationConfiguration x)
-> (forall x.
Rep GetAppValidationConfiguration x
-> GetAppValidationConfiguration)
-> Generic GetAppValidationConfiguration
forall x.
Rep GetAppValidationConfiguration x
-> GetAppValidationConfiguration
forall x.
GetAppValidationConfiguration
-> Rep GetAppValidationConfiguration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetAppValidationConfiguration x
-> GetAppValidationConfiguration
$cfrom :: forall x.
GetAppValidationConfiguration
-> Rep GetAppValidationConfiguration x
Prelude.Generic)
newGetAppValidationConfiguration ::
Prelude.Text ->
GetAppValidationConfiguration
newGetAppValidationConfiguration :: Text -> GetAppValidationConfiguration
newGetAppValidationConfiguration Text
pAppId_ =
GetAppValidationConfiguration' :: Text -> GetAppValidationConfiguration
GetAppValidationConfiguration' {$sel:appId:GetAppValidationConfiguration' :: Text
appId = Text
pAppId_}
getAppValidationConfiguration_appId :: Lens.Lens' GetAppValidationConfiguration Prelude.Text
getAppValidationConfiguration_appId :: (Text -> f Text)
-> GetAppValidationConfiguration -> f GetAppValidationConfiguration
getAppValidationConfiguration_appId = (GetAppValidationConfiguration -> Text)
-> (GetAppValidationConfiguration
-> Text -> GetAppValidationConfiguration)
-> Lens
GetAppValidationConfiguration
GetAppValidationConfiguration
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAppValidationConfiguration' {Text
appId :: Text
$sel:appId:GetAppValidationConfiguration' :: GetAppValidationConfiguration -> Text
appId} -> Text
appId) (\s :: GetAppValidationConfiguration
s@GetAppValidationConfiguration' {} Text
a -> GetAppValidationConfiguration
s {$sel:appId:GetAppValidationConfiguration' :: Text
appId = Text
a} :: GetAppValidationConfiguration)
instance
Core.AWSRequest
GetAppValidationConfiguration
where
type
AWSResponse GetAppValidationConfiguration =
GetAppValidationConfigurationResponse
request :: GetAppValidationConfiguration
-> Request GetAppValidationConfiguration
request = Service
-> GetAppValidationConfiguration
-> Request GetAppValidationConfiguration
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy GetAppValidationConfiguration
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse GetAppValidationConfiguration)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse GetAppValidationConfiguration))
-> Logger
-> Service
-> Proxy GetAppValidationConfiguration
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse GetAppValidationConfiguration)))
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 [ServerGroupValidationConfiguration]
-> Maybe [AppValidationConfiguration]
-> Int
-> GetAppValidationConfigurationResponse
GetAppValidationConfigurationResponse'
(Maybe [ServerGroupValidationConfiguration]
-> Maybe [AppValidationConfiguration]
-> Int
-> GetAppValidationConfigurationResponse)
-> Either String (Maybe [ServerGroupValidationConfiguration])
-> Either
String
(Maybe [AppValidationConfiguration]
-> Int -> GetAppValidationConfigurationResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object
-> Text
-> Either
String (Maybe (Maybe [ServerGroupValidationConfiguration]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"serverGroupValidationConfigurations"
Either String (Maybe (Maybe [ServerGroupValidationConfiguration]))
-> Maybe [ServerGroupValidationConfiguration]
-> Either String (Maybe [ServerGroupValidationConfiguration])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ServerGroupValidationConfiguration]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe [AppValidationConfiguration]
-> Int -> GetAppValidationConfigurationResponse)
-> Either String (Maybe [AppValidationConfiguration])
-> Either String (Int -> GetAppValidationConfigurationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Either String (Maybe (Maybe [AppValidationConfiguration]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"appValidationConfigurations"
Either String (Maybe (Maybe [AppValidationConfiguration]))
-> Maybe [AppValidationConfiguration]
-> Either String (Maybe [AppValidationConfiguration])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [AppValidationConfiguration]
forall a. Monoid a => a
Prelude.mempty
)
Either String (Int -> GetAppValidationConfigurationResponse)
-> Either String Int
-> Either String GetAppValidationConfigurationResponse
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
GetAppValidationConfiguration
instance Prelude.NFData GetAppValidationConfiguration
instance Core.ToHeaders GetAppValidationConfiguration where
toHeaders :: GetAppValidationConfiguration -> ResponseHeaders
toHeaders =
ResponseHeaders -> GetAppValidationConfiguration -> 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
"AWSServerMigrationService_V2016_10_24.GetAppValidationConfiguration" ::
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 GetAppValidationConfiguration where
toJSON :: GetAppValidationConfiguration -> Value
toJSON GetAppValidationConfiguration' {Text
appId :: Text
$sel:appId:GetAppValidationConfiguration' :: GetAppValidationConfiguration -> 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
"appId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
appId)]
)
instance Core.ToPath GetAppValidationConfiguration where
toPath :: GetAppValidationConfiguration -> ByteString
toPath = ByteString -> GetAppValidationConfiguration -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery GetAppValidationConfiguration where
toQuery :: GetAppValidationConfiguration -> QueryString
toQuery = QueryString -> GetAppValidationConfiguration -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data GetAppValidationConfigurationResponse = GetAppValidationConfigurationResponse'
{
GetAppValidationConfigurationResponse
-> Maybe [ServerGroupValidationConfiguration]
serverGroupValidationConfigurations :: Prelude.Maybe [ServerGroupValidationConfiguration],
GetAppValidationConfigurationResponse
-> Maybe [AppValidationConfiguration]
appValidationConfigurations :: Prelude.Maybe [AppValidationConfiguration],
GetAppValidationConfigurationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (GetAppValidationConfigurationResponse
-> GetAppValidationConfigurationResponse -> Bool
(GetAppValidationConfigurationResponse
-> GetAppValidationConfigurationResponse -> Bool)
-> (GetAppValidationConfigurationResponse
-> GetAppValidationConfigurationResponse -> Bool)
-> Eq GetAppValidationConfigurationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetAppValidationConfigurationResponse
-> GetAppValidationConfigurationResponse -> Bool
$c/= :: GetAppValidationConfigurationResponse
-> GetAppValidationConfigurationResponse -> Bool
== :: GetAppValidationConfigurationResponse
-> GetAppValidationConfigurationResponse -> Bool
$c== :: GetAppValidationConfigurationResponse
-> GetAppValidationConfigurationResponse -> Bool
Prelude.Eq, ReadPrec [GetAppValidationConfigurationResponse]
ReadPrec GetAppValidationConfigurationResponse
Int -> ReadS GetAppValidationConfigurationResponse
ReadS [GetAppValidationConfigurationResponse]
(Int -> ReadS GetAppValidationConfigurationResponse)
-> ReadS [GetAppValidationConfigurationResponse]
-> ReadPrec GetAppValidationConfigurationResponse
-> ReadPrec [GetAppValidationConfigurationResponse]
-> Read GetAppValidationConfigurationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetAppValidationConfigurationResponse]
$creadListPrec :: ReadPrec [GetAppValidationConfigurationResponse]
readPrec :: ReadPrec GetAppValidationConfigurationResponse
$creadPrec :: ReadPrec GetAppValidationConfigurationResponse
readList :: ReadS [GetAppValidationConfigurationResponse]
$creadList :: ReadS [GetAppValidationConfigurationResponse]
readsPrec :: Int -> ReadS GetAppValidationConfigurationResponse
$creadsPrec :: Int -> ReadS GetAppValidationConfigurationResponse
Prelude.Read, Int -> GetAppValidationConfigurationResponse -> ShowS
[GetAppValidationConfigurationResponse] -> ShowS
GetAppValidationConfigurationResponse -> String
(Int -> GetAppValidationConfigurationResponse -> ShowS)
-> (GetAppValidationConfigurationResponse -> String)
-> ([GetAppValidationConfigurationResponse] -> ShowS)
-> Show GetAppValidationConfigurationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetAppValidationConfigurationResponse] -> ShowS
$cshowList :: [GetAppValidationConfigurationResponse] -> ShowS
show :: GetAppValidationConfigurationResponse -> String
$cshow :: GetAppValidationConfigurationResponse -> String
showsPrec :: Int -> GetAppValidationConfigurationResponse -> ShowS
$cshowsPrec :: Int -> GetAppValidationConfigurationResponse -> ShowS
Prelude.Show, (forall x.
GetAppValidationConfigurationResponse
-> Rep GetAppValidationConfigurationResponse x)
-> (forall x.
Rep GetAppValidationConfigurationResponse x
-> GetAppValidationConfigurationResponse)
-> Generic GetAppValidationConfigurationResponse
forall x.
Rep GetAppValidationConfigurationResponse x
-> GetAppValidationConfigurationResponse
forall x.
GetAppValidationConfigurationResponse
-> Rep GetAppValidationConfigurationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetAppValidationConfigurationResponse x
-> GetAppValidationConfigurationResponse
$cfrom :: forall x.
GetAppValidationConfigurationResponse
-> Rep GetAppValidationConfigurationResponse x
Prelude.Generic)
newGetAppValidationConfigurationResponse ::
Prelude.Int ->
GetAppValidationConfigurationResponse
newGetAppValidationConfigurationResponse :: Int -> GetAppValidationConfigurationResponse
newGetAppValidationConfigurationResponse Int
pHttpStatus_ =
GetAppValidationConfigurationResponse' :: Maybe [ServerGroupValidationConfiguration]
-> Maybe [AppValidationConfiguration]
-> Int
-> GetAppValidationConfigurationResponse
GetAppValidationConfigurationResponse'
{ $sel:serverGroupValidationConfigurations:GetAppValidationConfigurationResponse' :: Maybe [ServerGroupValidationConfiguration]
serverGroupValidationConfigurations =
Maybe [ServerGroupValidationConfiguration]
forall a. Maybe a
Prelude.Nothing,
$sel:appValidationConfigurations:GetAppValidationConfigurationResponse' :: Maybe [AppValidationConfiguration]
appValidationConfigurations =
Maybe [AppValidationConfiguration]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetAppValidationConfigurationResponse' :: Int
httpStatus = Int
pHttpStatus_
}
getAppValidationConfigurationResponse_serverGroupValidationConfigurations :: Lens.Lens' GetAppValidationConfigurationResponse (Prelude.Maybe [ServerGroupValidationConfiguration])
getAppValidationConfigurationResponse_serverGroupValidationConfigurations :: (Maybe [ServerGroupValidationConfiguration]
-> f (Maybe [ServerGroupValidationConfiguration]))
-> GetAppValidationConfigurationResponse
-> f GetAppValidationConfigurationResponse
getAppValidationConfigurationResponse_serverGroupValidationConfigurations = (GetAppValidationConfigurationResponse
-> Maybe [ServerGroupValidationConfiguration])
-> (GetAppValidationConfigurationResponse
-> Maybe [ServerGroupValidationConfiguration]
-> GetAppValidationConfigurationResponse)
-> Lens
GetAppValidationConfigurationResponse
GetAppValidationConfigurationResponse
(Maybe [ServerGroupValidationConfiguration])
(Maybe [ServerGroupValidationConfiguration])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAppValidationConfigurationResponse' {Maybe [ServerGroupValidationConfiguration]
serverGroupValidationConfigurations :: Maybe [ServerGroupValidationConfiguration]
$sel:serverGroupValidationConfigurations:GetAppValidationConfigurationResponse' :: GetAppValidationConfigurationResponse
-> Maybe [ServerGroupValidationConfiguration]
serverGroupValidationConfigurations} -> Maybe [ServerGroupValidationConfiguration]
serverGroupValidationConfigurations) (\s :: GetAppValidationConfigurationResponse
s@GetAppValidationConfigurationResponse' {} Maybe [ServerGroupValidationConfiguration]
a -> GetAppValidationConfigurationResponse
s {$sel:serverGroupValidationConfigurations:GetAppValidationConfigurationResponse' :: Maybe [ServerGroupValidationConfiguration]
serverGroupValidationConfigurations = Maybe [ServerGroupValidationConfiguration]
a} :: GetAppValidationConfigurationResponse) ((Maybe [ServerGroupValidationConfiguration]
-> f (Maybe [ServerGroupValidationConfiguration]))
-> GetAppValidationConfigurationResponse
-> f GetAppValidationConfigurationResponse)
-> ((Maybe [ServerGroupValidationConfiguration]
-> f (Maybe [ServerGroupValidationConfiguration]))
-> Maybe [ServerGroupValidationConfiguration]
-> f (Maybe [ServerGroupValidationConfiguration]))
-> (Maybe [ServerGroupValidationConfiguration]
-> f (Maybe [ServerGroupValidationConfiguration]))
-> GetAppValidationConfigurationResponse
-> f GetAppValidationConfigurationResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ServerGroupValidationConfiguration]
[ServerGroupValidationConfiguration]
[ServerGroupValidationConfiguration]
[ServerGroupValidationConfiguration]
-> Iso
(Maybe [ServerGroupValidationConfiguration])
(Maybe [ServerGroupValidationConfiguration])
(Maybe [ServerGroupValidationConfiguration])
(Maybe [ServerGroupValidationConfiguration])
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
[ServerGroupValidationConfiguration]
[ServerGroupValidationConfiguration]
[ServerGroupValidationConfiguration]
[ServerGroupValidationConfiguration]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
getAppValidationConfigurationResponse_appValidationConfigurations :: Lens.Lens' GetAppValidationConfigurationResponse (Prelude.Maybe [AppValidationConfiguration])
getAppValidationConfigurationResponse_appValidationConfigurations :: (Maybe [AppValidationConfiguration]
-> f (Maybe [AppValidationConfiguration]))
-> GetAppValidationConfigurationResponse
-> f GetAppValidationConfigurationResponse
getAppValidationConfigurationResponse_appValidationConfigurations = (GetAppValidationConfigurationResponse
-> Maybe [AppValidationConfiguration])
-> (GetAppValidationConfigurationResponse
-> Maybe [AppValidationConfiguration]
-> GetAppValidationConfigurationResponse)
-> Lens
GetAppValidationConfigurationResponse
GetAppValidationConfigurationResponse
(Maybe [AppValidationConfiguration])
(Maybe [AppValidationConfiguration])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAppValidationConfigurationResponse' {Maybe [AppValidationConfiguration]
appValidationConfigurations :: Maybe [AppValidationConfiguration]
$sel:appValidationConfigurations:GetAppValidationConfigurationResponse' :: GetAppValidationConfigurationResponse
-> Maybe [AppValidationConfiguration]
appValidationConfigurations} -> Maybe [AppValidationConfiguration]
appValidationConfigurations) (\s :: GetAppValidationConfigurationResponse
s@GetAppValidationConfigurationResponse' {} Maybe [AppValidationConfiguration]
a -> GetAppValidationConfigurationResponse
s {$sel:appValidationConfigurations:GetAppValidationConfigurationResponse' :: Maybe [AppValidationConfiguration]
appValidationConfigurations = Maybe [AppValidationConfiguration]
a} :: GetAppValidationConfigurationResponse) ((Maybe [AppValidationConfiguration]
-> f (Maybe [AppValidationConfiguration]))
-> GetAppValidationConfigurationResponse
-> f GetAppValidationConfigurationResponse)
-> ((Maybe [AppValidationConfiguration]
-> f (Maybe [AppValidationConfiguration]))
-> Maybe [AppValidationConfiguration]
-> f (Maybe [AppValidationConfiguration]))
-> (Maybe [AppValidationConfiguration]
-> f (Maybe [AppValidationConfiguration]))
-> GetAppValidationConfigurationResponse
-> f GetAppValidationConfigurationResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[AppValidationConfiguration]
[AppValidationConfiguration]
[AppValidationConfiguration]
[AppValidationConfiguration]
-> Iso
(Maybe [AppValidationConfiguration])
(Maybe [AppValidationConfiguration])
(Maybe [AppValidationConfiguration])
(Maybe [AppValidationConfiguration])
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
[AppValidationConfiguration]
[AppValidationConfiguration]
[AppValidationConfiguration]
[AppValidationConfiguration]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
getAppValidationConfigurationResponse_httpStatus :: Lens.Lens' GetAppValidationConfigurationResponse Prelude.Int
getAppValidationConfigurationResponse_httpStatus :: (Int -> f Int)
-> GetAppValidationConfigurationResponse
-> f GetAppValidationConfigurationResponse
getAppValidationConfigurationResponse_httpStatus = (GetAppValidationConfigurationResponse -> Int)
-> (GetAppValidationConfigurationResponse
-> Int -> GetAppValidationConfigurationResponse)
-> Lens
GetAppValidationConfigurationResponse
GetAppValidationConfigurationResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAppValidationConfigurationResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetAppValidationConfigurationResponse' :: GetAppValidationConfigurationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetAppValidationConfigurationResponse
s@GetAppValidationConfigurationResponse' {} Int
a -> GetAppValidationConfigurationResponse
s {$sel:httpStatus:GetAppValidationConfigurationResponse' :: Int
httpStatus = Int
a} :: GetAppValidationConfigurationResponse)
instance
Prelude.NFData
GetAppValidationConfigurationResponse