{-# 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.ApiGatewayV2.GetIntegration
(
GetIntegration (..),
newGetIntegration,
getIntegration_apiId,
getIntegration_integrationId,
GetIntegrationResponse' (..),
newGetIntegrationResponse',
getIntegrationResponse'_integrationResponseSelectionExpression,
getIntegrationResponse'_requestTemplates,
getIntegrationResponse'_integrationSubtype,
getIntegrationResponse'_credentialsArn,
getIntegrationResponse'_integrationUri,
getIntegrationResponse'_integrationId,
getIntegrationResponse'_requestParameters,
getIntegrationResponse'_connectionId,
getIntegrationResponse'_passthroughBehavior,
getIntegrationResponse'_integrationMethod,
getIntegrationResponse'_tlsConfig,
getIntegrationResponse'_payloadFormatVersion,
getIntegrationResponse'_templateSelectionExpression,
getIntegrationResponse'_timeoutInMillis,
getIntegrationResponse'_apiGatewayManaged,
getIntegrationResponse'_contentHandlingStrategy,
getIntegrationResponse'_integrationType,
getIntegrationResponse'_description,
getIntegrationResponse'_connectionType,
getIntegrationResponse'_responseParameters,
getIntegrationResponse'_httpStatus,
)
where
import Amazonka.ApiGatewayV2.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 GetIntegration = GetIntegration'
{
GetIntegration -> Text
apiId :: Prelude.Text,
GetIntegration -> Text
integrationId :: Prelude.Text
}
deriving (GetIntegration -> GetIntegration -> Bool
(GetIntegration -> GetIntegration -> Bool)
-> (GetIntegration -> GetIntegration -> Bool) -> Eq GetIntegration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetIntegration -> GetIntegration -> Bool
$c/= :: GetIntegration -> GetIntegration -> Bool
== :: GetIntegration -> GetIntegration -> Bool
$c== :: GetIntegration -> GetIntegration -> Bool
Prelude.Eq, ReadPrec [GetIntegration]
ReadPrec GetIntegration
Int -> ReadS GetIntegration
ReadS [GetIntegration]
(Int -> ReadS GetIntegration)
-> ReadS [GetIntegration]
-> ReadPrec GetIntegration
-> ReadPrec [GetIntegration]
-> Read GetIntegration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetIntegration]
$creadListPrec :: ReadPrec [GetIntegration]
readPrec :: ReadPrec GetIntegration
$creadPrec :: ReadPrec GetIntegration
readList :: ReadS [GetIntegration]
$creadList :: ReadS [GetIntegration]
readsPrec :: Int -> ReadS GetIntegration
$creadsPrec :: Int -> ReadS GetIntegration
Prelude.Read, Int -> GetIntegration -> ShowS
[GetIntegration] -> ShowS
GetIntegration -> String
(Int -> GetIntegration -> ShowS)
-> (GetIntegration -> String)
-> ([GetIntegration] -> ShowS)
-> Show GetIntegration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetIntegration] -> ShowS
$cshowList :: [GetIntegration] -> ShowS
show :: GetIntegration -> String
$cshow :: GetIntegration -> String
showsPrec :: Int -> GetIntegration -> ShowS
$cshowsPrec :: Int -> GetIntegration -> ShowS
Prelude.Show, (forall x. GetIntegration -> Rep GetIntegration x)
-> (forall x. Rep GetIntegration x -> GetIntegration)
-> Generic GetIntegration
forall x. Rep GetIntegration x -> GetIntegration
forall x. GetIntegration -> Rep GetIntegration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetIntegration x -> GetIntegration
$cfrom :: forall x. GetIntegration -> Rep GetIntegration x
Prelude.Generic)
newGetIntegration ::
Prelude.Text ->
Prelude.Text ->
GetIntegration
newGetIntegration :: Text -> Text -> GetIntegration
newGetIntegration Text
pApiId_ Text
pIntegrationId_ =
GetIntegration' :: Text -> Text -> GetIntegration
GetIntegration'
{ $sel:apiId:GetIntegration' :: Text
apiId = Text
pApiId_,
$sel:integrationId:GetIntegration' :: Text
integrationId = Text
pIntegrationId_
}
getIntegration_apiId :: Lens.Lens' GetIntegration Prelude.Text
getIntegration_apiId :: (Text -> f Text) -> GetIntegration -> f GetIntegration
getIntegration_apiId = (GetIntegration -> Text)
-> (GetIntegration -> Text -> GetIntegration)
-> Lens GetIntegration GetIntegration Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegration' {Text
apiId :: Text
$sel:apiId:GetIntegration' :: GetIntegration -> Text
apiId} -> Text
apiId) (\s :: GetIntegration
s@GetIntegration' {} Text
a -> GetIntegration
s {$sel:apiId:GetIntegration' :: Text
apiId = Text
a} :: GetIntegration)
getIntegration_integrationId :: Lens.Lens' GetIntegration Prelude.Text
getIntegration_integrationId :: (Text -> f Text) -> GetIntegration -> f GetIntegration
getIntegration_integrationId = (GetIntegration -> Text)
-> (GetIntegration -> Text -> GetIntegration)
-> Lens GetIntegration GetIntegration Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegration' {Text
integrationId :: Text
$sel:integrationId:GetIntegration' :: GetIntegration -> Text
integrationId} -> Text
integrationId) (\s :: GetIntegration
s@GetIntegration' {} Text
a -> GetIntegration
s {$sel:integrationId:GetIntegration' :: Text
integrationId = Text
a} :: GetIntegration)
instance Core.AWSRequest GetIntegration where
type
AWSResponse GetIntegration =
GetIntegrationResponse'
request :: GetIntegration -> Request GetIntegration
request = Service -> GetIntegration -> Request GetIntegration
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy GetIntegration
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse GetIntegration)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse GetIntegration))
-> Logger
-> Service
-> Proxy GetIntegration
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse GetIntegration)))
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 (HashMap Text Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse'
GetIntegrationResponse''
(Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe Text)
-> Either
String
(Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
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
"integrationResponseSelectionExpression")
Either
String
(Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe (HashMap Text Text))
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe (HashMap Text Text)))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"requestTemplates"
Either String (Maybe (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text)
-> Either String (Maybe (HashMap Text Text))
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe (HashMap Text Text)
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
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
"integrationSubtype")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
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
"credentialsArn")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
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
"integrationUri")
Either
String
(Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe Text)
-> Either
String
(Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
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
"integrationId")
Either
String
(Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe (HashMap Text Text))
-> Either
String
(Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe (HashMap Text Text)))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"requestParameters"
Either String (Maybe (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text)
-> Either String (Maybe (HashMap Text Text))
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe (HashMap Text Text)
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe Text)
-> Either
String
(Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
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
"connectionId")
Either
String
(Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe PassthroughBehavior)
-> Either
String
(Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe PassthroughBehavior)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"passthroughBehavior")
Either
String
(Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe Text)
-> Either
String
(Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
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
"integrationMethod")
Either
String
(Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe TlsConfig)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe TlsConfig)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"tlsConfig")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
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
"payloadFormatVersion")
Either
String
(Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe Text)
-> Either
String
(Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
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
"templateSelectionExpression")
Either
String
(Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe Natural)
-> Either
String
(Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"timeoutInMillis")
Either
String
(Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe Bool)
-> Either
String
(Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"apiGatewayManaged")
Either
String
(Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe ContentHandlingStrategy)
-> Either
String
(Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe ContentHandlingStrategy)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"contentHandlingStrategy")
Either
String
(Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe IntegrationType)
-> Either
String
(Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe IntegrationType)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"integrationType")
Either
String
(Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe Text)
-> Either
String
(Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
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
"description")
Either
String
(Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse')
-> Either String (Maybe ConnectionType)
-> Either
String
(Maybe (HashMap Text (HashMap Text Text))
-> Int -> GetIntegrationResponse')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe ConnectionType)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"connectionType")
Either
String
(Maybe (HashMap Text (HashMap Text Text))
-> Int -> GetIntegrationResponse')
-> Either String (Maybe (HashMap Text (HashMap Text Text)))
-> Either String (Int -> GetIntegrationResponse')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Either String (Maybe (Maybe (HashMap Text (HashMap Text Text))))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"responseParameters"
Either String (Maybe (Maybe (HashMap Text (HashMap Text Text))))
-> Maybe (HashMap Text (HashMap Text Text))
-> Either String (Maybe (HashMap Text (HashMap Text Text)))
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe (HashMap Text (HashMap Text Text))
forall a. Monoid a => a
Prelude.mempty
)
Either String (Int -> GetIntegrationResponse')
-> Either String Int -> Either String GetIntegrationResponse'
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 GetIntegration
instance Prelude.NFData GetIntegration
instance Core.ToHeaders GetIntegration where
toHeaders :: GetIntegration -> ResponseHeaders
toHeaders =
ResponseHeaders -> GetIntegration -> 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.1" ::
Prelude.ByteString
)
]
)
instance Core.ToPath GetIntegration where
toPath :: GetIntegration -> ByteString
toPath GetIntegration' {Text
integrationId :: Text
apiId :: Text
$sel:integrationId:GetIntegration' :: GetIntegration -> Text
$sel:apiId:GetIntegration' :: GetIntegration -> Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/v2/apis/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
apiId,
ByteString
"/integrations/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
integrationId
]
instance Core.ToQuery GetIntegration where
toQuery :: GetIntegration -> QueryString
toQuery = QueryString -> GetIntegration -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data GetIntegrationResponse' = GetIntegrationResponse''
{
GetIntegrationResponse' -> Maybe Text
integrationResponseSelectionExpression :: Prelude.Maybe Prelude.Text,
GetIntegrationResponse' -> Maybe (HashMap Text Text)
requestTemplates :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
GetIntegrationResponse' -> Maybe Text
integrationSubtype :: Prelude.Maybe Prelude.Text,
GetIntegrationResponse' -> Maybe Text
credentialsArn :: Prelude.Maybe Prelude.Text,
GetIntegrationResponse' -> Maybe Text
integrationUri :: Prelude.Maybe Prelude.Text,
GetIntegrationResponse' -> Maybe Text
integrationId :: Prelude.Maybe Prelude.Text,
GetIntegrationResponse' -> Maybe (HashMap Text Text)
requestParameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
GetIntegrationResponse' -> Maybe Text
connectionId :: Prelude.Maybe Prelude.Text,
GetIntegrationResponse' -> Maybe PassthroughBehavior
passthroughBehavior :: Prelude.Maybe PassthroughBehavior,
GetIntegrationResponse' -> Maybe Text
integrationMethod :: Prelude.Maybe Prelude.Text,
GetIntegrationResponse' -> Maybe TlsConfig
tlsConfig :: Prelude.Maybe TlsConfig,
GetIntegrationResponse' -> Maybe Text
payloadFormatVersion :: Prelude.Maybe Prelude.Text,
GetIntegrationResponse' -> Maybe Text
templateSelectionExpression :: Prelude.Maybe Prelude.Text,
GetIntegrationResponse' -> Maybe Natural
timeoutInMillis :: Prelude.Maybe Prelude.Natural,
GetIntegrationResponse' -> Maybe Bool
apiGatewayManaged :: Prelude.Maybe Prelude.Bool,
GetIntegrationResponse' -> Maybe ContentHandlingStrategy
contentHandlingStrategy :: Prelude.Maybe ContentHandlingStrategy,
GetIntegrationResponse' -> Maybe IntegrationType
integrationType :: Prelude.Maybe IntegrationType,
GetIntegrationResponse' -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
GetIntegrationResponse' -> Maybe ConnectionType
connectionType :: Prelude.Maybe ConnectionType,
GetIntegrationResponse' -> Maybe (HashMap Text (HashMap Text Text))
responseParameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text (Prelude.HashMap Prelude.Text Prelude.Text)),
GetIntegrationResponse' -> Int
httpStatus :: Prelude.Int
}
deriving (GetIntegrationResponse' -> GetIntegrationResponse' -> Bool
(GetIntegrationResponse' -> GetIntegrationResponse' -> Bool)
-> (GetIntegrationResponse' -> GetIntegrationResponse' -> Bool)
-> Eq GetIntegrationResponse'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetIntegrationResponse' -> GetIntegrationResponse' -> Bool
$c/= :: GetIntegrationResponse' -> GetIntegrationResponse' -> Bool
== :: GetIntegrationResponse' -> GetIntegrationResponse' -> Bool
$c== :: GetIntegrationResponse' -> GetIntegrationResponse' -> Bool
Prelude.Eq, ReadPrec [GetIntegrationResponse']
ReadPrec GetIntegrationResponse'
Int -> ReadS GetIntegrationResponse'
ReadS [GetIntegrationResponse']
(Int -> ReadS GetIntegrationResponse')
-> ReadS [GetIntegrationResponse']
-> ReadPrec GetIntegrationResponse'
-> ReadPrec [GetIntegrationResponse']
-> Read GetIntegrationResponse'
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetIntegrationResponse']
$creadListPrec :: ReadPrec [GetIntegrationResponse']
readPrec :: ReadPrec GetIntegrationResponse'
$creadPrec :: ReadPrec GetIntegrationResponse'
readList :: ReadS [GetIntegrationResponse']
$creadList :: ReadS [GetIntegrationResponse']
readsPrec :: Int -> ReadS GetIntegrationResponse'
$creadsPrec :: Int -> ReadS GetIntegrationResponse'
Prelude.Read, Int -> GetIntegrationResponse' -> ShowS
[GetIntegrationResponse'] -> ShowS
GetIntegrationResponse' -> String
(Int -> GetIntegrationResponse' -> ShowS)
-> (GetIntegrationResponse' -> String)
-> ([GetIntegrationResponse'] -> ShowS)
-> Show GetIntegrationResponse'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetIntegrationResponse'] -> ShowS
$cshowList :: [GetIntegrationResponse'] -> ShowS
show :: GetIntegrationResponse' -> String
$cshow :: GetIntegrationResponse' -> String
showsPrec :: Int -> GetIntegrationResponse' -> ShowS
$cshowsPrec :: Int -> GetIntegrationResponse' -> ShowS
Prelude.Show, (forall x.
GetIntegrationResponse' -> Rep GetIntegrationResponse' x)
-> (forall x.
Rep GetIntegrationResponse' x -> GetIntegrationResponse')
-> Generic GetIntegrationResponse'
forall x. Rep GetIntegrationResponse' x -> GetIntegrationResponse'
forall x. GetIntegrationResponse' -> Rep GetIntegrationResponse' x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetIntegrationResponse' x -> GetIntegrationResponse'
$cfrom :: forall x. GetIntegrationResponse' -> Rep GetIntegrationResponse' x
Prelude.Generic)
newGetIntegrationResponse' ::
Prelude.Int ->
GetIntegrationResponse'
newGetIntegrationResponse' :: Int -> GetIntegrationResponse'
newGetIntegrationResponse' Int
pHttpStatus_ =
GetIntegrationResponse'' :: Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe PassthroughBehavior
-> Maybe Text
-> Maybe TlsConfig
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Bool
-> Maybe ContentHandlingStrategy
-> Maybe IntegrationType
-> Maybe Text
-> Maybe ConnectionType
-> Maybe (HashMap Text (HashMap Text Text))
-> Int
-> GetIntegrationResponse'
GetIntegrationResponse''
{ $sel:integrationResponseSelectionExpression:GetIntegrationResponse'' :: Maybe Text
integrationResponseSelectionExpression =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:requestTemplates:GetIntegrationResponse'' :: Maybe (HashMap Text Text)
requestTemplates = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
$sel:integrationSubtype:GetIntegrationResponse'' :: Maybe Text
integrationSubtype = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:credentialsArn:GetIntegrationResponse'' :: Maybe Text
credentialsArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:integrationUri:GetIntegrationResponse'' :: Maybe Text
integrationUri = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:integrationId:GetIntegrationResponse'' :: Maybe Text
integrationId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:requestParameters:GetIntegrationResponse'' :: Maybe (HashMap Text Text)
requestParameters = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
$sel:connectionId:GetIntegrationResponse'' :: Maybe Text
connectionId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:passthroughBehavior:GetIntegrationResponse'' :: Maybe PassthroughBehavior
passthroughBehavior = Maybe PassthroughBehavior
forall a. Maybe a
Prelude.Nothing,
$sel:integrationMethod:GetIntegrationResponse'' :: Maybe Text
integrationMethod = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:tlsConfig:GetIntegrationResponse'' :: Maybe TlsConfig
tlsConfig = Maybe TlsConfig
forall a. Maybe a
Prelude.Nothing,
$sel:payloadFormatVersion:GetIntegrationResponse'' :: Maybe Text
payloadFormatVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:templateSelectionExpression:GetIntegrationResponse'' :: Maybe Text
templateSelectionExpression = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:timeoutInMillis:GetIntegrationResponse'' :: Maybe Natural
timeoutInMillis = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:apiGatewayManaged:GetIntegrationResponse'' :: Maybe Bool
apiGatewayManaged = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:contentHandlingStrategy:GetIntegrationResponse'' :: Maybe ContentHandlingStrategy
contentHandlingStrategy = Maybe ContentHandlingStrategy
forall a. Maybe a
Prelude.Nothing,
$sel:integrationType:GetIntegrationResponse'' :: Maybe IntegrationType
integrationType = Maybe IntegrationType
forall a. Maybe a
Prelude.Nothing,
$sel:description:GetIntegrationResponse'' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:connectionType:GetIntegrationResponse'' :: Maybe ConnectionType
connectionType = Maybe ConnectionType
forall a. Maybe a
Prelude.Nothing,
$sel:responseParameters:GetIntegrationResponse'' :: Maybe (HashMap Text (HashMap Text Text))
responseParameters = Maybe (HashMap Text (HashMap Text Text))
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetIntegrationResponse'' :: Int
httpStatus = Int
pHttpStatus_
}
getIntegrationResponse'_integrationResponseSelectionExpression :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe Prelude.Text)
getIntegrationResponse'_integrationResponseSelectionExpression :: (Maybe Text -> f (Maybe Text))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_integrationResponseSelectionExpression = (GetIntegrationResponse' -> Maybe Text)
-> (GetIntegrationResponse'
-> Maybe Text -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe Text
integrationResponseSelectionExpression :: Maybe Text
$sel:integrationResponseSelectionExpression:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe Text
integrationResponseSelectionExpression} -> Maybe Text
integrationResponseSelectionExpression) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe Text
a -> GetIntegrationResponse'
s {$sel:integrationResponseSelectionExpression:GetIntegrationResponse'' :: Maybe Text
integrationResponseSelectionExpression = Maybe Text
a} :: GetIntegrationResponse')
getIntegrationResponse'_requestTemplates :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
getIntegrationResponse'_requestTemplates :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_requestTemplates = (GetIntegrationResponse' -> Maybe (HashMap Text Text))
-> (GetIntegrationResponse'
-> Maybe (HashMap Text Text) -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe (HashMap Text Text)
requestTemplates :: Maybe (HashMap Text Text)
$sel:requestTemplates:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe (HashMap Text Text)
requestTemplates} -> Maybe (HashMap Text Text)
requestTemplates) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe (HashMap Text Text)
a -> GetIntegrationResponse'
s {$sel:requestTemplates:GetIntegrationResponse'' :: Maybe (HashMap Text Text)
requestTemplates = Maybe (HashMap Text Text)
a} :: GetIntegrationResponse') ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> GetIntegrationResponse' -> f GetIntegrationResponse')
-> ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> GetIntegrationResponse'
-> f GetIntegrationResponse'
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
-> Iso
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
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
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
getIntegrationResponse'_integrationSubtype :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe Prelude.Text)
getIntegrationResponse'_integrationSubtype :: (Maybe Text -> f (Maybe Text))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_integrationSubtype = (GetIntegrationResponse' -> Maybe Text)
-> (GetIntegrationResponse'
-> Maybe Text -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe Text
integrationSubtype :: Maybe Text
$sel:integrationSubtype:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe Text
integrationSubtype} -> Maybe Text
integrationSubtype) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe Text
a -> GetIntegrationResponse'
s {$sel:integrationSubtype:GetIntegrationResponse'' :: Maybe Text
integrationSubtype = Maybe Text
a} :: GetIntegrationResponse')
getIntegrationResponse'_credentialsArn :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe Prelude.Text)
getIntegrationResponse'_credentialsArn :: (Maybe Text -> f (Maybe Text))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_credentialsArn = (GetIntegrationResponse' -> Maybe Text)
-> (GetIntegrationResponse'
-> Maybe Text -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe Text
credentialsArn :: Maybe Text
$sel:credentialsArn:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe Text
credentialsArn} -> Maybe Text
credentialsArn) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe Text
a -> GetIntegrationResponse'
s {$sel:credentialsArn:GetIntegrationResponse'' :: Maybe Text
credentialsArn = Maybe Text
a} :: GetIntegrationResponse')
getIntegrationResponse'_integrationUri :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe Prelude.Text)
getIntegrationResponse'_integrationUri :: (Maybe Text -> f (Maybe Text))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_integrationUri = (GetIntegrationResponse' -> Maybe Text)
-> (GetIntegrationResponse'
-> Maybe Text -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe Text
integrationUri :: Maybe Text
$sel:integrationUri:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe Text
integrationUri} -> Maybe Text
integrationUri) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe Text
a -> GetIntegrationResponse'
s {$sel:integrationUri:GetIntegrationResponse'' :: Maybe Text
integrationUri = Maybe Text
a} :: GetIntegrationResponse')
getIntegrationResponse'_integrationId :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe Prelude.Text)
getIntegrationResponse'_integrationId :: (Maybe Text -> f (Maybe Text))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_integrationId = (GetIntegrationResponse' -> Maybe Text)
-> (GetIntegrationResponse'
-> Maybe Text -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe Text
integrationId :: Maybe Text
$sel:integrationId:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe Text
integrationId} -> Maybe Text
integrationId) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe Text
a -> GetIntegrationResponse'
s {$sel:integrationId:GetIntegrationResponse'' :: Maybe Text
integrationId = Maybe Text
a} :: GetIntegrationResponse')
getIntegrationResponse'_requestParameters :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
getIntegrationResponse'_requestParameters :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_requestParameters = (GetIntegrationResponse' -> Maybe (HashMap Text Text))
-> (GetIntegrationResponse'
-> Maybe (HashMap Text Text) -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe (HashMap Text Text)
requestParameters :: Maybe (HashMap Text Text)
$sel:requestParameters:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe (HashMap Text Text)
requestParameters} -> Maybe (HashMap Text Text)
requestParameters) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe (HashMap Text Text)
a -> GetIntegrationResponse'
s {$sel:requestParameters:GetIntegrationResponse'' :: Maybe (HashMap Text Text)
requestParameters = Maybe (HashMap Text Text)
a} :: GetIntegrationResponse') ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> GetIntegrationResponse' -> f GetIntegrationResponse')
-> ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> GetIntegrationResponse'
-> f GetIntegrationResponse'
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
-> Iso
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
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
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
getIntegrationResponse'_connectionId :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe Prelude.Text)
getIntegrationResponse'_connectionId :: (Maybe Text -> f (Maybe Text))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_connectionId = (GetIntegrationResponse' -> Maybe Text)
-> (GetIntegrationResponse'
-> Maybe Text -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe Text
connectionId :: Maybe Text
$sel:connectionId:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe Text
connectionId} -> Maybe Text
connectionId) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe Text
a -> GetIntegrationResponse'
s {$sel:connectionId:GetIntegrationResponse'' :: Maybe Text
connectionId = Maybe Text
a} :: GetIntegrationResponse')
getIntegrationResponse'_passthroughBehavior :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe PassthroughBehavior)
getIntegrationResponse'_passthroughBehavior :: (Maybe PassthroughBehavior -> f (Maybe PassthroughBehavior))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_passthroughBehavior = (GetIntegrationResponse' -> Maybe PassthroughBehavior)
-> (GetIntegrationResponse'
-> Maybe PassthroughBehavior -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe PassthroughBehavior)
(Maybe PassthroughBehavior)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe PassthroughBehavior
passthroughBehavior :: Maybe PassthroughBehavior
$sel:passthroughBehavior:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe PassthroughBehavior
passthroughBehavior} -> Maybe PassthroughBehavior
passthroughBehavior) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe PassthroughBehavior
a -> GetIntegrationResponse'
s {$sel:passthroughBehavior:GetIntegrationResponse'' :: Maybe PassthroughBehavior
passthroughBehavior = Maybe PassthroughBehavior
a} :: GetIntegrationResponse')
getIntegrationResponse'_integrationMethod :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe Prelude.Text)
getIntegrationResponse'_integrationMethod :: (Maybe Text -> f (Maybe Text))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_integrationMethod = (GetIntegrationResponse' -> Maybe Text)
-> (GetIntegrationResponse'
-> Maybe Text -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe Text
integrationMethod :: Maybe Text
$sel:integrationMethod:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe Text
integrationMethod} -> Maybe Text
integrationMethod) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe Text
a -> GetIntegrationResponse'
s {$sel:integrationMethod:GetIntegrationResponse'' :: Maybe Text
integrationMethod = Maybe Text
a} :: GetIntegrationResponse')
getIntegrationResponse'_tlsConfig :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe TlsConfig)
getIntegrationResponse'_tlsConfig :: (Maybe TlsConfig -> f (Maybe TlsConfig))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_tlsConfig = (GetIntegrationResponse' -> Maybe TlsConfig)
-> (GetIntegrationResponse'
-> Maybe TlsConfig -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe TlsConfig)
(Maybe TlsConfig)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe TlsConfig
tlsConfig :: Maybe TlsConfig
$sel:tlsConfig:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe TlsConfig
tlsConfig} -> Maybe TlsConfig
tlsConfig) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe TlsConfig
a -> GetIntegrationResponse'
s {$sel:tlsConfig:GetIntegrationResponse'' :: Maybe TlsConfig
tlsConfig = Maybe TlsConfig
a} :: GetIntegrationResponse')
getIntegrationResponse'_payloadFormatVersion :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe Prelude.Text)
getIntegrationResponse'_payloadFormatVersion :: (Maybe Text -> f (Maybe Text))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_payloadFormatVersion = (GetIntegrationResponse' -> Maybe Text)
-> (GetIntegrationResponse'
-> Maybe Text -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe Text
payloadFormatVersion :: Maybe Text
$sel:payloadFormatVersion:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe Text
payloadFormatVersion} -> Maybe Text
payloadFormatVersion) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe Text
a -> GetIntegrationResponse'
s {$sel:payloadFormatVersion:GetIntegrationResponse'' :: Maybe Text
payloadFormatVersion = Maybe Text
a} :: GetIntegrationResponse')
getIntegrationResponse'_templateSelectionExpression :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe Prelude.Text)
getIntegrationResponse'_templateSelectionExpression :: (Maybe Text -> f (Maybe Text))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_templateSelectionExpression = (GetIntegrationResponse' -> Maybe Text)
-> (GetIntegrationResponse'
-> Maybe Text -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe Text
templateSelectionExpression :: Maybe Text
$sel:templateSelectionExpression:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe Text
templateSelectionExpression} -> Maybe Text
templateSelectionExpression) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe Text
a -> GetIntegrationResponse'
s {$sel:templateSelectionExpression:GetIntegrationResponse'' :: Maybe Text
templateSelectionExpression = Maybe Text
a} :: GetIntegrationResponse')
getIntegrationResponse'_timeoutInMillis :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe Prelude.Natural)
getIntegrationResponse'_timeoutInMillis :: (Maybe Natural -> f (Maybe Natural))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_timeoutInMillis = (GetIntegrationResponse' -> Maybe Natural)
-> (GetIntegrationResponse'
-> Maybe Natural -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe Natural
timeoutInMillis :: Maybe Natural
$sel:timeoutInMillis:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe Natural
timeoutInMillis} -> Maybe Natural
timeoutInMillis) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe Natural
a -> GetIntegrationResponse'
s {$sel:timeoutInMillis:GetIntegrationResponse'' :: Maybe Natural
timeoutInMillis = Maybe Natural
a} :: GetIntegrationResponse')
getIntegrationResponse'_apiGatewayManaged :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe Prelude.Bool)
getIntegrationResponse'_apiGatewayManaged :: (Maybe Bool -> f (Maybe Bool))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_apiGatewayManaged = (GetIntegrationResponse' -> Maybe Bool)
-> (GetIntegrationResponse'
-> Maybe Bool -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe Bool
apiGatewayManaged :: Maybe Bool
$sel:apiGatewayManaged:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe Bool
apiGatewayManaged} -> Maybe Bool
apiGatewayManaged) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe Bool
a -> GetIntegrationResponse'
s {$sel:apiGatewayManaged:GetIntegrationResponse'' :: Maybe Bool
apiGatewayManaged = Maybe Bool
a} :: GetIntegrationResponse')
getIntegrationResponse'_contentHandlingStrategy :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe ContentHandlingStrategy)
getIntegrationResponse'_contentHandlingStrategy :: (Maybe ContentHandlingStrategy
-> f (Maybe ContentHandlingStrategy))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_contentHandlingStrategy = (GetIntegrationResponse' -> Maybe ContentHandlingStrategy)
-> (GetIntegrationResponse'
-> Maybe ContentHandlingStrategy -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe ContentHandlingStrategy)
(Maybe ContentHandlingStrategy)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe ContentHandlingStrategy
contentHandlingStrategy :: Maybe ContentHandlingStrategy
$sel:contentHandlingStrategy:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe ContentHandlingStrategy
contentHandlingStrategy} -> Maybe ContentHandlingStrategy
contentHandlingStrategy) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe ContentHandlingStrategy
a -> GetIntegrationResponse'
s {$sel:contentHandlingStrategy:GetIntegrationResponse'' :: Maybe ContentHandlingStrategy
contentHandlingStrategy = Maybe ContentHandlingStrategy
a} :: GetIntegrationResponse')
getIntegrationResponse'_integrationType :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe IntegrationType)
getIntegrationResponse'_integrationType :: (Maybe IntegrationType -> f (Maybe IntegrationType))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_integrationType = (GetIntegrationResponse' -> Maybe IntegrationType)
-> (GetIntegrationResponse'
-> Maybe IntegrationType -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe IntegrationType)
(Maybe IntegrationType)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe IntegrationType
integrationType :: Maybe IntegrationType
$sel:integrationType:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe IntegrationType
integrationType} -> Maybe IntegrationType
integrationType) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe IntegrationType
a -> GetIntegrationResponse'
s {$sel:integrationType:GetIntegrationResponse'' :: Maybe IntegrationType
integrationType = Maybe IntegrationType
a} :: GetIntegrationResponse')
getIntegrationResponse'_description :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe Prelude.Text)
getIntegrationResponse'_description :: (Maybe Text -> f (Maybe Text))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_description = (GetIntegrationResponse' -> Maybe Text)
-> (GetIntegrationResponse'
-> Maybe Text -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe Text
description :: Maybe Text
$sel:description:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe Text
description} -> Maybe Text
description) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe Text
a -> GetIntegrationResponse'
s {$sel:description:GetIntegrationResponse'' :: Maybe Text
description = Maybe Text
a} :: GetIntegrationResponse')
getIntegrationResponse'_connectionType :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe ConnectionType)
getIntegrationResponse'_connectionType :: (Maybe ConnectionType -> f (Maybe ConnectionType))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_connectionType = (GetIntegrationResponse' -> Maybe ConnectionType)
-> (GetIntegrationResponse'
-> Maybe ConnectionType -> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe ConnectionType)
(Maybe ConnectionType)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe ConnectionType
connectionType :: Maybe ConnectionType
$sel:connectionType:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe ConnectionType
connectionType} -> Maybe ConnectionType
connectionType) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe ConnectionType
a -> GetIntegrationResponse'
s {$sel:connectionType:GetIntegrationResponse'' :: Maybe ConnectionType
connectionType = Maybe ConnectionType
a} :: GetIntegrationResponse')
getIntegrationResponse'_responseParameters :: Lens.Lens' GetIntegrationResponse' (Prelude.Maybe (Prelude.HashMap Prelude.Text (Prelude.HashMap Prelude.Text Prelude.Text)))
getIntegrationResponse'_responseParameters :: (Maybe (HashMap Text (HashMap Text Text))
-> f (Maybe (HashMap Text (HashMap Text Text))))
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_responseParameters = (GetIntegrationResponse'
-> Maybe (HashMap Text (HashMap Text Text)))
-> (GetIntegrationResponse'
-> Maybe (HashMap Text (HashMap Text Text))
-> GetIntegrationResponse')
-> Lens
GetIntegrationResponse'
GetIntegrationResponse'
(Maybe (HashMap Text (HashMap Text Text)))
(Maybe (HashMap Text (HashMap Text Text)))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Maybe (HashMap Text (HashMap Text Text))
responseParameters :: Maybe (HashMap Text (HashMap Text Text))
$sel:responseParameters:GetIntegrationResponse'' :: GetIntegrationResponse' -> Maybe (HashMap Text (HashMap Text Text))
responseParameters} -> Maybe (HashMap Text (HashMap Text Text))
responseParameters) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Maybe (HashMap Text (HashMap Text Text))
a -> GetIntegrationResponse'
s {$sel:responseParameters:GetIntegrationResponse'' :: Maybe (HashMap Text (HashMap Text Text))
responseParameters = Maybe (HashMap Text (HashMap Text Text))
a} :: GetIntegrationResponse') ((Maybe (HashMap Text (HashMap Text Text))
-> f (Maybe (HashMap Text (HashMap Text Text))))
-> GetIntegrationResponse' -> f GetIntegrationResponse')
-> ((Maybe (HashMap Text (HashMap Text Text))
-> f (Maybe (HashMap Text (HashMap Text Text))))
-> Maybe (HashMap Text (HashMap Text Text))
-> f (Maybe (HashMap Text (HashMap Text Text))))
-> (Maybe (HashMap Text (HashMap Text Text))
-> f (Maybe (HashMap Text (HashMap Text Text))))
-> GetIntegrationResponse'
-> f GetIntegrationResponse'
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(HashMap Text (HashMap Text Text))
(HashMap Text (HashMap Text Text))
(HashMap Text (HashMap Text Text))
(HashMap Text (HashMap Text Text))
-> Iso
(Maybe (HashMap Text (HashMap Text Text)))
(Maybe (HashMap Text (HashMap Text Text)))
(Maybe (HashMap Text (HashMap Text Text)))
(Maybe (HashMap Text (HashMap Text Text)))
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
(HashMap Text (HashMap Text Text))
(HashMap Text (HashMap Text Text))
(HashMap Text (HashMap Text Text))
(HashMap Text (HashMap Text Text))
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
getIntegrationResponse'_httpStatus :: Lens.Lens' GetIntegrationResponse' Prelude.Int
getIntegrationResponse'_httpStatus :: (Int -> f Int)
-> GetIntegrationResponse' -> f GetIntegrationResponse'
getIntegrationResponse'_httpStatus = (GetIntegrationResponse' -> Int)
-> (GetIntegrationResponse' -> Int -> GetIntegrationResponse')
-> Lens GetIntegrationResponse' GetIntegrationResponse' Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntegrationResponse'' {Int
httpStatus :: Int
$sel:httpStatus:GetIntegrationResponse'' :: GetIntegrationResponse' -> Int
httpStatus} -> Int
httpStatus) (\s :: GetIntegrationResponse'
s@GetIntegrationResponse'' {} Int
a -> GetIntegrationResponse'
s {$sel:httpStatus:GetIntegrationResponse'' :: Int
httpStatus = Int
a} :: GetIntegrationResponse')
instance Prelude.NFData GetIntegrationResponse'