{-# 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.AppIntegrationS.GetDataIntegration
(
GetDataIntegration (..),
newGetDataIntegration,
getDataIntegration_identifier,
GetDataIntegrationResponse (..),
newGetDataIntegrationResponse,
getDataIntegrationResponse_kmsKey,
getDataIntegrationResponse_arn,
getDataIntegrationResponse_scheduleConfiguration,
getDataIntegrationResponse_name,
getDataIntegrationResponse_id,
getDataIntegrationResponse_sourceURI,
getDataIntegrationResponse_description,
getDataIntegrationResponse_tags,
getDataIntegrationResponse_httpStatus,
)
where
import Amazonka.AppIntegrationS.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 GetDataIntegration = GetDataIntegration'
{
GetDataIntegration -> Text
identifier :: Prelude.Text
}
deriving (GetDataIntegration -> GetDataIntegration -> Bool
(GetDataIntegration -> GetDataIntegration -> Bool)
-> (GetDataIntegration -> GetDataIntegration -> Bool)
-> Eq GetDataIntegration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetDataIntegration -> GetDataIntegration -> Bool
$c/= :: GetDataIntegration -> GetDataIntegration -> Bool
== :: GetDataIntegration -> GetDataIntegration -> Bool
$c== :: GetDataIntegration -> GetDataIntegration -> Bool
Prelude.Eq, ReadPrec [GetDataIntegration]
ReadPrec GetDataIntegration
Int -> ReadS GetDataIntegration
ReadS [GetDataIntegration]
(Int -> ReadS GetDataIntegration)
-> ReadS [GetDataIntegration]
-> ReadPrec GetDataIntegration
-> ReadPrec [GetDataIntegration]
-> Read GetDataIntegration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetDataIntegration]
$creadListPrec :: ReadPrec [GetDataIntegration]
readPrec :: ReadPrec GetDataIntegration
$creadPrec :: ReadPrec GetDataIntegration
readList :: ReadS [GetDataIntegration]
$creadList :: ReadS [GetDataIntegration]
readsPrec :: Int -> ReadS GetDataIntegration
$creadsPrec :: Int -> ReadS GetDataIntegration
Prelude.Read, Int -> GetDataIntegration -> ShowS
[GetDataIntegration] -> ShowS
GetDataIntegration -> String
(Int -> GetDataIntegration -> ShowS)
-> (GetDataIntegration -> String)
-> ([GetDataIntegration] -> ShowS)
-> Show GetDataIntegration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetDataIntegration] -> ShowS
$cshowList :: [GetDataIntegration] -> ShowS
show :: GetDataIntegration -> String
$cshow :: GetDataIntegration -> String
showsPrec :: Int -> GetDataIntegration -> ShowS
$cshowsPrec :: Int -> GetDataIntegration -> ShowS
Prelude.Show, (forall x. GetDataIntegration -> Rep GetDataIntegration x)
-> (forall x. Rep GetDataIntegration x -> GetDataIntegration)
-> Generic GetDataIntegration
forall x. Rep GetDataIntegration x -> GetDataIntegration
forall x. GetDataIntegration -> Rep GetDataIntegration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetDataIntegration x -> GetDataIntegration
$cfrom :: forall x. GetDataIntegration -> Rep GetDataIntegration x
Prelude.Generic)
newGetDataIntegration ::
Prelude.Text ->
GetDataIntegration
newGetDataIntegration :: Text -> GetDataIntegration
newGetDataIntegration Text
pIdentifier_ =
GetDataIntegration' :: Text -> GetDataIntegration
GetDataIntegration' {$sel:identifier:GetDataIntegration' :: Text
identifier = Text
pIdentifier_}
getDataIntegration_identifier :: Lens.Lens' GetDataIntegration Prelude.Text
getDataIntegration_identifier :: (Text -> f Text) -> GetDataIntegration -> f GetDataIntegration
getDataIntegration_identifier = (GetDataIntegration -> Text)
-> (GetDataIntegration -> Text -> GetDataIntegration)
-> Lens GetDataIntegration GetDataIntegration Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetDataIntegration' {Text
identifier :: Text
$sel:identifier:GetDataIntegration' :: GetDataIntegration -> Text
identifier} -> Text
identifier) (\s :: GetDataIntegration
s@GetDataIntegration' {} Text
a -> GetDataIntegration
s {$sel:identifier:GetDataIntegration' :: Text
identifier = Text
a} :: GetDataIntegration)
instance Core.AWSRequest GetDataIntegration where
type
AWSResponse GetDataIntegration =
GetDataIntegrationResponse
request :: GetDataIntegration -> Request GetDataIntegration
request = Service -> GetDataIntegration -> Request GetDataIntegration
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy GetDataIntegration
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse GetDataIntegration)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse GetDataIntegration))
-> Logger
-> Service
-> Proxy GetDataIntegration
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse GetDataIntegration)))
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 ScheduleConfiguration
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> GetDataIntegrationResponse
GetDataIntegrationResponse'
(Maybe Text
-> Maybe Text
-> Maybe ScheduleConfiguration
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> GetDataIntegrationResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe ScheduleConfiguration
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> GetDataIntegrationResponse)
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
"KmsKey")
Either
String
(Maybe Text
-> Maybe ScheduleConfiguration
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> GetDataIntegrationResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe ScheduleConfiguration
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> GetDataIntegrationResponse)
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 ScheduleConfiguration
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> GetDataIntegrationResponse)
-> Either String (Maybe ScheduleConfiguration)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> GetDataIntegrationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe ScheduleConfiguration)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ScheduleConfiguration")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> GetDataIntegrationResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> GetDataIntegrationResponse)
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
"Name")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> GetDataIntegrationResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> GetDataIntegrationResponse)
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
"Id")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> GetDataIntegrationResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe (HashMap Text Text) -> Int -> GetDataIntegrationResponse)
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
"SourceURI")
Either
String
(Maybe Text
-> Maybe (HashMap Text Text) -> Int -> GetDataIntegrationResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe (HashMap Text Text) -> Int -> GetDataIntegrationResponse)
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 (HashMap Text Text) -> Int -> GetDataIntegrationResponse)
-> Either String (Maybe (HashMap Text Text))
-> Either String (Int -> GetDataIntegrationResponse)
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
"Tags" 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 (Int -> GetDataIntegrationResponse)
-> Either String Int -> Either String GetDataIntegrationResponse
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 GetDataIntegration
instance Prelude.NFData GetDataIntegration
instance Core.ToHeaders GetDataIntegration where
toHeaders :: GetDataIntegration -> ResponseHeaders
toHeaders =
ResponseHeaders -> GetDataIntegration -> 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 GetDataIntegration where
toPath :: GetDataIntegration -> ByteString
toPath GetDataIntegration' {Text
identifier :: Text
$sel:identifier:GetDataIntegration' :: GetDataIntegration -> Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ByteString
"/dataIntegrations/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
identifier]
instance Core.ToQuery GetDataIntegration where
toQuery :: GetDataIntegration -> QueryString
toQuery = QueryString -> GetDataIntegration -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data GetDataIntegrationResponse = GetDataIntegrationResponse'
{
GetDataIntegrationResponse -> Maybe Text
kmsKey :: Prelude.Maybe Prelude.Text,
GetDataIntegrationResponse -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
GetDataIntegrationResponse -> Maybe ScheduleConfiguration
scheduleConfiguration :: Prelude.Maybe ScheduleConfiguration,
GetDataIntegrationResponse -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
GetDataIntegrationResponse -> Maybe Text
id :: Prelude.Maybe Prelude.Text,
GetDataIntegrationResponse -> Maybe Text
sourceURI :: Prelude.Maybe Prelude.Text,
GetDataIntegrationResponse -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
GetDataIntegrationResponse -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
GetDataIntegrationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (GetDataIntegrationResponse -> GetDataIntegrationResponse -> Bool
(GetDataIntegrationResponse -> GetDataIntegrationResponse -> Bool)
-> (GetDataIntegrationResponse
-> GetDataIntegrationResponse -> Bool)
-> Eq GetDataIntegrationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetDataIntegrationResponse -> GetDataIntegrationResponse -> Bool
$c/= :: GetDataIntegrationResponse -> GetDataIntegrationResponse -> Bool
== :: GetDataIntegrationResponse -> GetDataIntegrationResponse -> Bool
$c== :: GetDataIntegrationResponse -> GetDataIntegrationResponse -> Bool
Prelude.Eq, ReadPrec [GetDataIntegrationResponse]
ReadPrec GetDataIntegrationResponse
Int -> ReadS GetDataIntegrationResponse
ReadS [GetDataIntegrationResponse]
(Int -> ReadS GetDataIntegrationResponse)
-> ReadS [GetDataIntegrationResponse]
-> ReadPrec GetDataIntegrationResponse
-> ReadPrec [GetDataIntegrationResponse]
-> Read GetDataIntegrationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetDataIntegrationResponse]
$creadListPrec :: ReadPrec [GetDataIntegrationResponse]
readPrec :: ReadPrec GetDataIntegrationResponse
$creadPrec :: ReadPrec GetDataIntegrationResponse
readList :: ReadS [GetDataIntegrationResponse]
$creadList :: ReadS [GetDataIntegrationResponse]
readsPrec :: Int -> ReadS GetDataIntegrationResponse
$creadsPrec :: Int -> ReadS GetDataIntegrationResponse
Prelude.Read, Int -> GetDataIntegrationResponse -> ShowS
[GetDataIntegrationResponse] -> ShowS
GetDataIntegrationResponse -> String
(Int -> GetDataIntegrationResponse -> ShowS)
-> (GetDataIntegrationResponse -> String)
-> ([GetDataIntegrationResponse] -> ShowS)
-> Show GetDataIntegrationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetDataIntegrationResponse] -> ShowS
$cshowList :: [GetDataIntegrationResponse] -> ShowS
show :: GetDataIntegrationResponse -> String
$cshow :: GetDataIntegrationResponse -> String
showsPrec :: Int -> GetDataIntegrationResponse -> ShowS
$cshowsPrec :: Int -> GetDataIntegrationResponse -> ShowS
Prelude.Show, (forall x.
GetDataIntegrationResponse -> Rep GetDataIntegrationResponse x)
-> (forall x.
Rep GetDataIntegrationResponse x -> GetDataIntegrationResponse)
-> Generic GetDataIntegrationResponse
forall x.
Rep GetDataIntegrationResponse x -> GetDataIntegrationResponse
forall x.
GetDataIntegrationResponse -> Rep GetDataIntegrationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetDataIntegrationResponse x -> GetDataIntegrationResponse
$cfrom :: forall x.
GetDataIntegrationResponse -> Rep GetDataIntegrationResponse x
Prelude.Generic)
newGetDataIntegrationResponse ::
Prelude.Int ->
GetDataIntegrationResponse
newGetDataIntegrationResponse :: Int -> GetDataIntegrationResponse
newGetDataIntegrationResponse Int
pHttpStatus_ =
GetDataIntegrationResponse' :: Maybe Text
-> Maybe Text
-> Maybe ScheduleConfiguration
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> GetDataIntegrationResponse
GetDataIntegrationResponse'
{ $sel:kmsKey:GetDataIntegrationResponse' :: Maybe Text
kmsKey =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:arn:GetDataIntegrationResponse' :: Maybe Text
arn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:scheduleConfiguration:GetDataIntegrationResponse' :: Maybe ScheduleConfiguration
scheduleConfiguration = Maybe ScheduleConfiguration
forall a. Maybe a
Prelude.Nothing,
$sel:name:GetDataIntegrationResponse' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:id:GetDataIntegrationResponse' :: Maybe Text
id = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:sourceURI:GetDataIntegrationResponse' :: Maybe Text
sourceURI = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:description:GetDataIntegrationResponse' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:tags:GetDataIntegrationResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetDataIntegrationResponse' :: Int
httpStatus = Int
pHttpStatus_
}
getDataIntegrationResponse_kmsKey :: Lens.Lens' GetDataIntegrationResponse (Prelude.Maybe Prelude.Text)
getDataIntegrationResponse_kmsKey :: (Maybe Text -> f (Maybe Text))
-> GetDataIntegrationResponse -> f GetDataIntegrationResponse
getDataIntegrationResponse_kmsKey = (GetDataIntegrationResponse -> Maybe Text)
-> (GetDataIntegrationResponse
-> Maybe Text -> GetDataIntegrationResponse)
-> Lens
GetDataIntegrationResponse
GetDataIntegrationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetDataIntegrationResponse' {Maybe Text
kmsKey :: Maybe Text
$sel:kmsKey:GetDataIntegrationResponse' :: GetDataIntegrationResponse -> Maybe Text
kmsKey} -> Maybe Text
kmsKey) (\s :: GetDataIntegrationResponse
s@GetDataIntegrationResponse' {} Maybe Text
a -> GetDataIntegrationResponse
s {$sel:kmsKey:GetDataIntegrationResponse' :: Maybe Text
kmsKey = Maybe Text
a} :: GetDataIntegrationResponse)
getDataIntegrationResponse_arn :: Lens.Lens' GetDataIntegrationResponse (Prelude.Maybe Prelude.Text)
getDataIntegrationResponse_arn :: (Maybe Text -> f (Maybe Text))
-> GetDataIntegrationResponse -> f GetDataIntegrationResponse
getDataIntegrationResponse_arn = (GetDataIntegrationResponse -> Maybe Text)
-> (GetDataIntegrationResponse
-> Maybe Text -> GetDataIntegrationResponse)
-> Lens
GetDataIntegrationResponse
GetDataIntegrationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetDataIntegrationResponse' {Maybe Text
arn :: Maybe Text
$sel:arn:GetDataIntegrationResponse' :: GetDataIntegrationResponse -> Maybe Text
arn} -> Maybe Text
arn) (\s :: GetDataIntegrationResponse
s@GetDataIntegrationResponse' {} Maybe Text
a -> GetDataIntegrationResponse
s {$sel:arn:GetDataIntegrationResponse' :: Maybe Text
arn = Maybe Text
a} :: GetDataIntegrationResponse)
getDataIntegrationResponse_scheduleConfiguration :: Lens.Lens' GetDataIntegrationResponse (Prelude.Maybe ScheduleConfiguration)
getDataIntegrationResponse_scheduleConfiguration :: (Maybe ScheduleConfiguration -> f (Maybe ScheduleConfiguration))
-> GetDataIntegrationResponse -> f GetDataIntegrationResponse
getDataIntegrationResponse_scheduleConfiguration = (GetDataIntegrationResponse -> Maybe ScheduleConfiguration)
-> (GetDataIntegrationResponse
-> Maybe ScheduleConfiguration -> GetDataIntegrationResponse)
-> Lens
GetDataIntegrationResponse
GetDataIntegrationResponse
(Maybe ScheduleConfiguration)
(Maybe ScheduleConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetDataIntegrationResponse' {Maybe ScheduleConfiguration
scheduleConfiguration :: Maybe ScheduleConfiguration
$sel:scheduleConfiguration:GetDataIntegrationResponse' :: GetDataIntegrationResponse -> Maybe ScheduleConfiguration
scheduleConfiguration} -> Maybe ScheduleConfiguration
scheduleConfiguration) (\s :: GetDataIntegrationResponse
s@GetDataIntegrationResponse' {} Maybe ScheduleConfiguration
a -> GetDataIntegrationResponse
s {$sel:scheduleConfiguration:GetDataIntegrationResponse' :: Maybe ScheduleConfiguration
scheduleConfiguration = Maybe ScheduleConfiguration
a} :: GetDataIntegrationResponse)
getDataIntegrationResponse_name :: Lens.Lens' GetDataIntegrationResponse (Prelude.Maybe Prelude.Text)
getDataIntegrationResponse_name :: (Maybe Text -> f (Maybe Text))
-> GetDataIntegrationResponse -> f GetDataIntegrationResponse
getDataIntegrationResponse_name = (GetDataIntegrationResponse -> Maybe Text)
-> (GetDataIntegrationResponse
-> Maybe Text -> GetDataIntegrationResponse)
-> Lens
GetDataIntegrationResponse
GetDataIntegrationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetDataIntegrationResponse' {Maybe Text
name :: Maybe Text
$sel:name:GetDataIntegrationResponse' :: GetDataIntegrationResponse -> Maybe Text
name} -> Maybe Text
name) (\s :: GetDataIntegrationResponse
s@GetDataIntegrationResponse' {} Maybe Text
a -> GetDataIntegrationResponse
s {$sel:name:GetDataIntegrationResponse' :: Maybe Text
name = Maybe Text
a} :: GetDataIntegrationResponse)
getDataIntegrationResponse_id :: Lens.Lens' GetDataIntegrationResponse (Prelude.Maybe Prelude.Text)
getDataIntegrationResponse_id :: (Maybe Text -> f (Maybe Text))
-> GetDataIntegrationResponse -> f GetDataIntegrationResponse
getDataIntegrationResponse_id = (GetDataIntegrationResponse -> Maybe Text)
-> (GetDataIntegrationResponse
-> Maybe Text -> GetDataIntegrationResponse)
-> Lens
GetDataIntegrationResponse
GetDataIntegrationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetDataIntegrationResponse' {Maybe Text
id :: Maybe Text
$sel:id:GetDataIntegrationResponse' :: GetDataIntegrationResponse -> Maybe Text
id} -> Maybe Text
id) (\s :: GetDataIntegrationResponse
s@GetDataIntegrationResponse' {} Maybe Text
a -> GetDataIntegrationResponse
s {$sel:id:GetDataIntegrationResponse' :: Maybe Text
id = Maybe Text
a} :: GetDataIntegrationResponse)
getDataIntegrationResponse_sourceURI :: Lens.Lens' GetDataIntegrationResponse (Prelude.Maybe Prelude.Text)
getDataIntegrationResponse_sourceURI :: (Maybe Text -> f (Maybe Text))
-> GetDataIntegrationResponse -> f GetDataIntegrationResponse
getDataIntegrationResponse_sourceURI = (GetDataIntegrationResponse -> Maybe Text)
-> (GetDataIntegrationResponse
-> Maybe Text -> GetDataIntegrationResponse)
-> Lens
GetDataIntegrationResponse
GetDataIntegrationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetDataIntegrationResponse' {Maybe Text
sourceURI :: Maybe Text
$sel:sourceURI:GetDataIntegrationResponse' :: GetDataIntegrationResponse -> Maybe Text
sourceURI} -> Maybe Text
sourceURI) (\s :: GetDataIntegrationResponse
s@GetDataIntegrationResponse' {} Maybe Text
a -> GetDataIntegrationResponse
s {$sel:sourceURI:GetDataIntegrationResponse' :: Maybe Text
sourceURI = Maybe Text
a} :: GetDataIntegrationResponse)
getDataIntegrationResponse_description :: Lens.Lens' GetDataIntegrationResponse (Prelude.Maybe Prelude.Text)
getDataIntegrationResponse_description :: (Maybe Text -> f (Maybe Text))
-> GetDataIntegrationResponse -> f GetDataIntegrationResponse
getDataIntegrationResponse_description = (GetDataIntegrationResponse -> Maybe Text)
-> (GetDataIntegrationResponse
-> Maybe Text -> GetDataIntegrationResponse)
-> Lens
GetDataIntegrationResponse
GetDataIntegrationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetDataIntegrationResponse' {Maybe Text
description :: Maybe Text
$sel:description:GetDataIntegrationResponse' :: GetDataIntegrationResponse -> Maybe Text
description} -> Maybe Text
description) (\s :: GetDataIntegrationResponse
s@GetDataIntegrationResponse' {} Maybe Text
a -> GetDataIntegrationResponse
s {$sel:description:GetDataIntegrationResponse' :: Maybe Text
description = Maybe Text
a} :: GetDataIntegrationResponse)
getDataIntegrationResponse_tags :: Lens.Lens' GetDataIntegrationResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
getDataIntegrationResponse_tags :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> GetDataIntegrationResponse -> f GetDataIntegrationResponse
getDataIntegrationResponse_tags = (GetDataIntegrationResponse -> Maybe (HashMap Text Text))
-> (GetDataIntegrationResponse
-> Maybe (HashMap Text Text) -> GetDataIntegrationResponse)
-> Lens
GetDataIntegrationResponse
GetDataIntegrationResponse
(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 (\GetDataIntegrationResponse' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:GetDataIntegrationResponse' :: GetDataIntegrationResponse -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: GetDataIntegrationResponse
s@GetDataIntegrationResponse' {} Maybe (HashMap Text Text)
a -> GetDataIntegrationResponse
s {$sel:tags:GetDataIntegrationResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: GetDataIntegrationResponse) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> GetDataIntegrationResponse -> f GetDataIntegrationResponse)
-> ((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)))
-> GetDataIntegrationResponse
-> f GetDataIntegrationResponse
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
getDataIntegrationResponse_httpStatus :: Lens.Lens' GetDataIntegrationResponse Prelude.Int
getDataIntegrationResponse_httpStatus :: (Int -> f Int)
-> GetDataIntegrationResponse -> f GetDataIntegrationResponse
getDataIntegrationResponse_httpStatus = (GetDataIntegrationResponse -> Int)
-> (GetDataIntegrationResponse
-> Int -> GetDataIntegrationResponse)
-> Lens
GetDataIntegrationResponse GetDataIntegrationResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetDataIntegrationResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetDataIntegrationResponse' :: GetDataIntegrationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetDataIntegrationResponse
s@GetDataIntegrationResponse' {} Int
a -> GetDataIntegrationResponse
s {$sel:httpStatus:GetDataIntegrationResponse' :: Int
httpStatus = Int
a} :: GetDataIntegrationResponse)
instance Prelude.NFData GetDataIntegrationResponse