{-# 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.GroundStation.GetMissionProfile
(
GetMissionProfile (..),
newGetMissionProfile,
getMissionProfile_missionProfileId,
GetMissionProfileResponse (..),
newGetMissionProfileResponse,
getMissionProfileResponse_missionProfileId,
getMissionProfileResponse_missionProfileArn,
getMissionProfileResponse_trackingConfigArn,
getMissionProfileResponse_contactPrePassDurationSeconds,
getMissionProfileResponse_contactPostPassDurationSeconds,
getMissionProfileResponse_name,
getMissionProfileResponse_dataflowEdges,
getMissionProfileResponse_region,
getMissionProfileResponse_minimumViableContactDurationSeconds,
getMissionProfileResponse_tags,
getMissionProfileResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.GroundStation.Types
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 GetMissionProfile = GetMissionProfile'
{
GetMissionProfile -> Text
missionProfileId :: Prelude.Text
}
deriving (GetMissionProfile -> GetMissionProfile -> Bool
(GetMissionProfile -> GetMissionProfile -> Bool)
-> (GetMissionProfile -> GetMissionProfile -> Bool)
-> Eq GetMissionProfile
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetMissionProfile -> GetMissionProfile -> Bool
$c/= :: GetMissionProfile -> GetMissionProfile -> Bool
== :: GetMissionProfile -> GetMissionProfile -> Bool
$c== :: GetMissionProfile -> GetMissionProfile -> Bool
Prelude.Eq, ReadPrec [GetMissionProfile]
ReadPrec GetMissionProfile
Int -> ReadS GetMissionProfile
ReadS [GetMissionProfile]
(Int -> ReadS GetMissionProfile)
-> ReadS [GetMissionProfile]
-> ReadPrec GetMissionProfile
-> ReadPrec [GetMissionProfile]
-> Read GetMissionProfile
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetMissionProfile]
$creadListPrec :: ReadPrec [GetMissionProfile]
readPrec :: ReadPrec GetMissionProfile
$creadPrec :: ReadPrec GetMissionProfile
readList :: ReadS [GetMissionProfile]
$creadList :: ReadS [GetMissionProfile]
readsPrec :: Int -> ReadS GetMissionProfile
$creadsPrec :: Int -> ReadS GetMissionProfile
Prelude.Read, Int -> GetMissionProfile -> ShowS
[GetMissionProfile] -> ShowS
GetMissionProfile -> String
(Int -> GetMissionProfile -> ShowS)
-> (GetMissionProfile -> String)
-> ([GetMissionProfile] -> ShowS)
-> Show GetMissionProfile
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetMissionProfile] -> ShowS
$cshowList :: [GetMissionProfile] -> ShowS
show :: GetMissionProfile -> String
$cshow :: GetMissionProfile -> String
showsPrec :: Int -> GetMissionProfile -> ShowS
$cshowsPrec :: Int -> GetMissionProfile -> ShowS
Prelude.Show, (forall x. GetMissionProfile -> Rep GetMissionProfile x)
-> (forall x. Rep GetMissionProfile x -> GetMissionProfile)
-> Generic GetMissionProfile
forall x. Rep GetMissionProfile x -> GetMissionProfile
forall x. GetMissionProfile -> Rep GetMissionProfile x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetMissionProfile x -> GetMissionProfile
$cfrom :: forall x. GetMissionProfile -> Rep GetMissionProfile x
Prelude.Generic)
newGetMissionProfile ::
Prelude.Text ->
GetMissionProfile
newGetMissionProfile :: Text -> GetMissionProfile
newGetMissionProfile Text
pMissionProfileId_ =
GetMissionProfile' :: Text -> GetMissionProfile
GetMissionProfile'
{ $sel:missionProfileId:GetMissionProfile' :: Text
missionProfileId =
Text
pMissionProfileId_
}
getMissionProfile_missionProfileId :: Lens.Lens' GetMissionProfile Prelude.Text
getMissionProfile_missionProfileId :: (Text -> f Text) -> GetMissionProfile -> f GetMissionProfile
getMissionProfile_missionProfileId = (GetMissionProfile -> Text)
-> (GetMissionProfile -> Text -> GetMissionProfile)
-> Lens GetMissionProfile GetMissionProfile Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMissionProfile' {Text
missionProfileId :: Text
$sel:missionProfileId:GetMissionProfile' :: GetMissionProfile -> Text
missionProfileId} -> Text
missionProfileId) (\s :: GetMissionProfile
s@GetMissionProfile' {} Text
a -> GetMissionProfile
s {$sel:missionProfileId:GetMissionProfile' :: Text
missionProfileId = Text
a} :: GetMissionProfile)
instance Core.AWSRequest GetMissionProfile where
type
AWSResponse GetMissionProfile =
GetMissionProfileResponse
request :: GetMissionProfile -> Request GetMissionProfile
request = Service -> GetMissionProfile -> Request GetMissionProfile
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy GetMissionProfile
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse GetMissionProfile)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse GetMissionProfile))
-> Logger
-> Service
-> Proxy GetMissionProfile
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse GetMissionProfile)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse
GetMissionProfileResponse'
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
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
"missionProfileId")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
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
"missionProfileArn")
Either
String
(Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
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
"trackingConfigArn")
Either
String
(Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
-> Either String (Maybe Natural)
-> Either
String
(Maybe Natural
-> Maybe Text
-> Maybe [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
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
"contactPrePassDurationSeconds")
Either
String
(Maybe Natural
-> Maybe Text
-> Maybe [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
-> Either String (Maybe Natural)
-> Either
String
(Maybe Text
-> Maybe [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
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
"contactPostPassDurationSeconds")
Either
String
(Maybe Text
-> Maybe [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
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 [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
-> Either String (Maybe [NonEmpty Text])
-> Either
String
(Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [NonEmpty Text]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"dataflowEdges" Either String (Maybe (Maybe [NonEmpty Text]))
-> Maybe [NonEmpty Text] -> Either String (Maybe [NonEmpty Text])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [NonEmpty Text]
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Natural
-> Maybe (HashMap Text Text) -> Int -> GetMissionProfileResponse)
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
"region")
Either
String
(Maybe Natural
-> Maybe (HashMap Text Text) -> Int -> GetMissionProfileResponse)
-> Either String (Maybe Natural)
-> Either
String
(Maybe (HashMap Text Text) -> Int -> GetMissionProfileResponse)
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
"minimumViableContactDurationSeconds")
Either
String
(Maybe (HashMap Text Text) -> Int -> GetMissionProfileResponse)
-> Either String (Maybe (HashMap Text Text))
-> Either String (Int -> GetMissionProfileResponse)
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 -> GetMissionProfileResponse)
-> Either String Int -> Either String GetMissionProfileResponse
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 GetMissionProfile
instance Prelude.NFData GetMissionProfile
instance Core.ToHeaders GetMissionProfile where
toHeaders :: GetMissionProfile -> ResponseHeaders
toHeaders =
ResponseHeaders -> GetMissionProfile -> 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 GetMissionProfile where
toPath :: GetMissionProfile -> ByteString
toPath GetMissionProfile' {Text
missionProfileId :: Text
$sel:missionProfileId:GetMissionProfile' :: GetMissionProfile -> Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ByteString
"/missionprofile/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
missionProfileId]
instance Core.ToQuery GetMissionProfile where
toQuery :: GetMissionProfile -> QueryString
toQuery = QueryString -> GetMissionProfile -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data GetMissionProfileResponse = GetMissionProfileResponse'
{
GetMissionProfileResponse -> Maybe Text
missionProfileId :: Prelude.Maybe Prelude.Text,
GetMissionProfileResponse -> Maybe Text
missionProfileArn :: Prelude.Maybe Prelude.Text,
GetMissionProfileResponse -> Maybe Text
trackingConfigArn :: Prelude.Maybe Prelude.Text,
GetMissionProfileResponse -> Maybe Natural
contactPrePassDurationSeconds :: Prelude.Maybe Prelude.Natural,
GetMissionProfileResponse -> Maybe Natural
contactPostPassDurationSeconds :: Prelude.Maybe Prelude.Natural,
GetMissionProfileResponse -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
GetMissionProfileResponse -> Maybe [NonEmpty Text]
dataflowEdges :: Prelude.Maybe [Prelude.NonEmpty Prelude.Text],
GetMissionProfileResponse -> Maybe Text
region :: Prelude.Maybe Prelude.Text,
GetMissionProfileResponse -> Maybe Natural
minimumViableContactDurationSeconds :: Prelude.Maybe Prelude.Natural,
GetMissionProfileResponse -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
GetMissionProfileResponse -> Int
httpStatus :: Prelude.Int
}
deriving (GetMissionProfileResponse -> GetMissionProfileResponse -> Bool
(GetMissionProfileResponse -> GetMissionProfileResponse -> Bool)
-> (GetMissionProfileResponse -> GetMissionProfileResponse -> Bool)
-> Eq GetMissionProfileResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetMissionProfileResponse -> GetMissionProfileResponse -> Bool
$c/= :: GetMissionProfileResponse -> GetMissionProfileResponse -> Bool
== :: GetMissionProfileResponse -> GetMissionProfileResponse -> Bool
$c== :: GetMissionProfileResponse -> GetMissionProfileResponse -> Bool
Prelude.Eq, ReadPrec [GetMissionProfileResponse]
ReadPrec GetMissionProfileResponse
Int -> ReadS GetMissionProfileResponse
ReadS [GetMissionProfileResponse]
(Int -> ReadS GetMissionProfileResponse)
-> ReadS [GetMissionProfileResponse]
-> ReadPrec GetMissionProfileResponse
-> ReadPrec [GetMissionProfileResponse]
-> Read GetMissionProfileResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetMissionProfileResponse]
$creadListPrec :: ReadPrec [GetMissionProfileResponse]
readPrec :: ReadPrec GetMissionProfileResponse
$creadPrec :: ReadPrec GetMissionProfileResponse
readList :: ReadS [GetMissionProfileResponse]
$creadList :: ReadS [GetMissionProfileResponse]
readsPrec :: Int -> ReadS GetMissionProfileResponse
$creadsPrec :: Int -> ReadS GetMissionProfileResponse
Prelude.Read, Int -> GetMissionProfileResponse -> ShowS
[GetMissionProfileResponse] -> ShowS
GetMissionProfileResponse -> String
(Int -> GetMissionProfileResponse -> ShowS)
-> (GetMissionProfileResponse -> String)
-> ([GetMissionProfileResponse] -> ShowS)
-> Show GetMissionProfileResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetMissionProfileResponse] -> ShowS
$cshowList :: [GetMissionProfileResponse] -> ShowS
show :: GetMissionProfileResponse -> String
$cshow :: GetMissionProfileResponse -> String
showsPrec :: Int -> GetMissionProfileResponse -> ShowS
$cshowsPrec :: Int -> GetMissionProfileResponse -> ShowS
Prelude.Show, (forall x.
GetMissionProfileResponse -> Rep GetMissionProfileResponse x)
-> (forall x.
Rep GetMissionProfileResponse x -> GetMissionProfileResponse)
-> Generic GetMissionProfileResponse
forall x.
Rep GetMissionProfileResponse x -> GetMissionProfileResponse
forall x.
GetMissionProfileResponse -> Rep GetMissionProfileResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetMissionProfileResponse x -> GetMissionProfileResponse
$cfrom :: forall x.
GetMissionProfileResponse -> Rep GetMissionProfileResponse x
Prelude.Generic)
newGetMissionProfileResponse ::
Prelude.Int ->
GetMissionProfileResponse
newGetMissionProfileResponse :: Int -> GetMissionProfileResponse
newGetMissionProfileResponse Int
pHttpStatus_ =
GetMissionProfileResponse' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe [NonEmpty Text]
-> Maybe Text
-> Maybe Natural
-> Maybe (HashMap Text Text)
-> Int
-> GetMissionProfileResponse
GetMissionProfileResponse'
{ $sel:missionProfileId:GetMissionProfileResponse' :: Maybe Text
missionProfileId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:missionProfileArn:GetMissionProfileResponse' :: Maybe Text
missionProfileArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:trackingConfigArn:GetMissionProfileResponse' :: Maybe Text
trackingConfigArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:contactPrePassDurationSeconds:GetMissionProfileResponse' :: Maybe Natural
contactPrePassDurationSeconds = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:contactPostPassDurationSeconds:GetMissionProfileResponse' :: Maybe Natural
contactPostPassDurationSeconds = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:name:GetMissionProfileResponse' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:dataflowEdges:GetMissionProfileResponse' :: Maybe [NonEmpty Text]
dataflowEdges = Maybe [NonEmpty Text]
forall a. Maybe a
Prelude.Nothing,
$sel:region:GetMissionProfileResponse' :: Maybe Text
region = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:minimumViableContactDurationSeconds:GetMissionProfileResponse' :: Maybe Natural
minimumViableContactDurationSeconds =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:tags:GetMissionProfileResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetMissionProfileResponse' :: Int
httpStatus = Int
pHttpStatus_
}
getMissionProfileResponse_missionProfileId :: Lens.Lens' GetMissionProfileResponse (Prelude.Maybe Prelude.Text)
getMissionProfileResponse_missionProfileId :: (Maybe Text -> f (Maybe Text))
-> GetMissionProfileResponse -> f GetMissionProfileResponse
getMissionProfileResponse_missionProfileId = (GetMissionProfileResponse -> Maybe Text)
-> (GetMissionProfileResponse
-> Maybe Text -> GetMissionProfileResponse)
-> Lens
GetMissionProfileResponse
GetMissionProfileResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMissionProfileResponse' {Maybe Text
missionProfileId :: Maybe Text
$sel:missionProfileId:GetMissionProfileResponse' :: GetMissionProfileResponse -> Maybe Text
missionProfileId} -> Maybe Text
missionProfileId) (\s :: GetMissionProfileResponse
s@GetMissionProfileResponse' {} Maybe Text
a -> GetMissionProfileResponse
s {$sel:missionProfileId:GetMissionProfileResponse' :: Maybe Text
missionProfileId = Maybe Text
a} :: GetMissionProfileResponse)
getMissionProfileResponse_missionProfileArn :: Lens.Lens' GetMissionProfileResponse (Prelude.Maybe Prelude.Text)
getMissionProfileResponse_missionProfileArn :: (Maybe Text -> f (Maybe Text))
-> GetMissionProfileResponse -> f GetMissionProfileResponse
getMissionProfileResponse_missionProfileArn = (GetMissionProfileResponse -> Maybe Text)
-> (GetMissionProfileResponse
-> Maybe Text -> GetMissionProfileResponse)
-> Lens
GetMissionProfileResponse
GetMissionProfileResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMissionProfileResponse' {Maybe Text
missionProfileArn :: Maybe Text
$sel:missionProfileArn:GetMissionProfileResponse' :: GetMissionProfileResponse -> Maybe Text
missionProfileArn} -> Maybe Text
missionProfileArn) (\s :: GetMissionProfileResponse
s@GetMissionProfileResponse' {} Maybe Text
a -> GetMissionProfileResponse
s {$sel:missionProfileArn:GetMissionProfileResponse' :: Maybe Text
missionProfileArn = Maybe Text
a} :: GetMissionProfileResponse)
getMissionProfileResponse_trackingConfigArn :: Lens.Lens' GetMissionProfileResponse (Prelude.Maybe Prelude.Text)
getMissionProfileResponse_trackingConfigArn :: (Maybe Text -> f (Maybe Text))
-> GetMissionProfileResponse -> f GetMissionProfileResponse
getMissionProfileResponse_trackingConfigArn = (GetMissionProfileResponse -> Maybe Text)
-> (GetMissionProfileResponse
-> Maybe Text -> GetMissionProfileResponse)
-> Lens
GetMissionProfileResponse
GetMissionProfileResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMissionProfileResponse' {Maybe Text
trackingConfigArn :: Maybe Text
$sel:trackingConfigArn:GetMissionProfileResponse' :: GetMissionProfileResponse -> Maybe Text
trackingConfigArn} -> Maybe Text
trackingConfigArn) (\s :: GetMissionProfileResponse
s@GetMissionProfileResponse' {} Maybe Text
a -> GetMissionProfileResponse
s {$sel:trackingConfigArn:GetMissionProfileResponse' :: Maybe Text
trackingConfigArn = Maybe Text
a} :: GetMissionProfileResponse)
getMissionProfileResponse_contactPrePassDurationSeconds :: Lens.Lens' GetMissionProfileResponse (Prelude.Maybe Prelude.Natural)
getMissionProfileResponse_contactPrePassDurationSeconds :: (Maybe Natural -> f (Maybe Natural))
-> GetMissionProfileResponse -> f GetMissionProfileResponse
getMissionProfileResponse_contactPrePassDurationSeconds = (GetMissionProfileResponse -> Maybe Natural)
-> (GetMissionProfileResponse
-> Maybe Natural -> GetMissionProfileResponse)
-> Lens
GetMissionProfileResponse
GetMissionProfileResponse
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMissionProfileResponse' {Maybe Natural
contactPrePassDurationSeconds :: Maybe Natural
$sel:contactPrePassDurationSeconds:GetMissionProfileResponse' :: GetMissionProfileResponse -> Maybe Natural
contactPrePassDurationSeconds} -> Maybe Natural
contactPrePassDurationSeconds) (\s :: GetMissionProfileResponse
s@GetMissionProfileResponse' {} Maybe Natural
a -> GetMissionProfileResponse
s {$sel:contactPrePassDurationSeconds:GetMissionProfileResponse' :: Maybe Natural
contactPrePassDurationSeconds = Maybe Natural
a} :: GetMissionProfileResponse)
getMissionProfileResponse_contactPostPassDurationSeconds :: Lens.Lens' GetMissionProfileResponse (Prelude.Maybe Prelude.Natural)
getMissionProfileResponse_contactPostPassDurationSeconds :: (Maybe Natural -> f (Maybe Natural))
-> GetMissionProfileResponse -> f GetMissionProfileResponse
getMissionProfileResponse_contactPostPassDurationSeconds = (GetMissionProfileResponse -> Maybe Natural)
-> (GetMissionProfileResponse
-> Maybe Natural -> GetMissionProfileResponse)
-> Lens
GetMissionProfileResponse
GetMissionProfileResponse
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMissionProfileResponse' {Maybe Natural
contactPostPassDurationSeconds :: Maybe Natural
$sel:contactPostPassDurationSeconds:GetMissionProfileResponse' :: GetMissionProfileResponse -> Maybe Natural
contactPostPassDurationSeconds} -> Maybe Natural
contactPostPassDurationSeconds) (\s :: GetMissionProfileResponse
s@GetMissionProfileResponse' {} Maybe Natural
a -> GetMissionProfileResponse
s {$sel:contactPostPassDurationSeconds:GetMissionProfileResponse' :: Maybe Natural
contactPostPassDurationSeconds = Maybe Natural
a} :: GetMissionProfileResponse)
getMissionProfileResponse_name :: Lens.Lens' GetMissionProfileResponse (Prelude.Maybe Prelude.Text)
getMissionProfileResponse_name :: (Maybe Text -> f (Maybe Text))
-> GetMissionProfileResponse -> f GetMissionProfileResponse
getMissionProfileResponse_name = (GetMissionProfileResponse -> Maybe Text)
-> (GetMissionProfileResponse
-> Maybe Text -> GetMissionProfileResponse)
-> Lens
GetMissionProfileResponse
GetMissionProfileResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMissionProfileResponse' {Maybe Text
name :: Maybe Text
$sel:name:GetMissionProfileResponse' :: GetMissionProfileResponse -> Maybe Text
name} -> Maybe Text
name) (\s :: GetMissionProfileResponse
s@GetMissionProfileResponse' {} Maybe Text
a -> GetMissionProfileResponse
s {$sel:name:GetMissionProfileResponse' :: Maybe Text
name = Maybe Text
a} :: GetMissionProfileResponse)
getMissionProfileResponse_dataflowEdges :: Lens.Lens' GetMissionProfileResponse (Prelude.Maybe [Prelude.NonEmpty Prelude.Text])
getMissionProfileResponse_dataflowEdges :: (Maybe [NonEmpty Text] -> f (Maybe [NonEmpty Text]))
-> GetMissionProfileResponse -> f GetMissionProfileResponse
getMissionProfileResponse_dataflowEdges = (GetMissionProfileResponse -> Maybe [NonEmpty Text])
-> (GetMissionProfileResponse
-> Maybe [NonEmpty Text] -> GetMissionProfileResponse)
-> Lens
GetMissionProfileResponse
GetMissionProfileResponse
(Maybe [NonEmpty Text])
(Maybe [NonEmpty Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMissionProfileResponse' {Maybe [NonEmpty Text]
dataflowEdges :: Maybe [NonEmpty Text]
$sel:dataflowEdges:GetMissionProfileResponse' :: GetMissionProfileResponse -> Maybe [NonEmpty Text]
dataflowEdges} -> Maybe [NonEmpty Text]
dataflowEdges) (\s :: GetMissionProfileResponse
s@GetMissionProfileResponse' {} Maybe [NonEmpty Text]
a -> GetMissionProfileResponse
s {$sel:dataflowEdges:GetMissionProfileResponse' :: Maybe [NonEmpty Text]
dataflowEdges = Maybe [NonEmpty Text]
a} :: GetMissionProfileResponse) ((Maybe [NonEmpty Text] -> f (Maybe [NonEmpty Text]))
-> GetMissionProfileResponse -> f GetMissionProfileResponse)
-> ((Maybe [NonEmpty Text] -> f (Maybe [NonEmpty Text]))
-> Maybe [NonEmpty Text] -> f (Maybe [NonEmpty Text]))
-> (Maybe [NonEmpty Text] -> f (Maybe [NonEmpty Text]))
-> GetMissionProfileResponse
-> f GetMissionProfileResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[NonEmpty Text] [NonEmpty Text] [NonEmpty Text] [NonEmpty Text]
-> Iso
(Maybe [NonEmpty Text])
(Maybe [NonEmpty Text])
(Maybe [NonEmpty Text])
(Maybe [NonEmpty 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
[NonEmpty Text] [NonEmpty Text] [NonEmpty Text] [NonEmpty Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
getMissionProfileResponse_region :: Lens.Lens' GetMissionProfileResponse (Prelude.Maybe Prelude.Text)
getMissionProfileResponse_region :: (Maybe Text -> f (Maybe Text))
-> GetMissionProfileResponse -> f GetMissionProfileResponse
getMissionProfileResponse_region = (GetMissionProfileResponse -> Maybe Text)
-> (GetMissionProfileResponse
-> Maybe Text -> GetMissionProfileResponse)
-> Lens
GetMissionProfileResponse
GetMissionProfileResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMissionProfileResponse' {Maybe Text
region :: Maybe Text
$sel:region:GetMissionProfileResponse' :: GetMissionProfileResponse -> Maybe Text
region} -> Maybe Text
region) (\s :: GetMissionProfileResponse
s@GetMissionProfileResponse' {} Maybe Text
a -> GetMissionProfileResponse
s {$sel:region:GetMissionProfileResponse' :: Maybe Text
region = Maybe Text
a} :: GetMissionProfileResponse)
getMissionProfileResponse_minimumViableContactDurationSeconds :: Lens.Lens' GetMissionProfileResponse (Prelude.Maybe Prelude.Natural)
getMissionProfileResponse_minimumViableContactDurationSeconds :: (Maybe Natural -> f (Maybe Natural))
-> GetMissionProfileResponse -> f GetMissionProfileResponse
getMissionProfileResponse_minimumViableContactDurationSeconds = (GetMissionProfileResponse -> Maybe Natural)
-> (GetMissionProfileResponse
-> Maybe Natural -> GetMissionProfileResponse)
-> Lens
GetMissionProfileResponse
GetMissionProfileResponse
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMissionProfileResponse' {Maybe Natural
minimumViableContactDurationSeconds :: Maybe Natural
$sel:minimumViableContactDurationSeconds:GetMissionProfileResponse' :: GetMissionProfileResponse -> Maybe Natural
minimumViableContactDurationSeconds} -> Maybe Natural
minimumViableContactDurationSeconds) (\s :: GetMissionProfileResponse
s@GetMissionProfileResponse' {} Maybe Natural
a -> GetMissionProfileResponse
s {$sel:minimumViableContactDurationSeconds:GetMissionProfileResponse' :: Maybe Natural
minimumViableContactDurationSeconds = Maybe Natural
a} :: GetMissionProfileResponse)
getMissionProfileResponse_tags :: Lens.Lens' GetMissionProfileResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
getMissionProfileResponse_tags :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> GetMissionProfileResponse -> f GetMissionProfileResponse
getMissionProfileResponse_tags = (GetMissionProfileResponse -> Maybe (HashMap Text Text))
-> (GetMissionProfileResponse
-> Maybe (HashMap Text Text) -> GetMissionProfileResponse)
-> Lens
GetMissionProfileResponse
GetMissionProfileResponse
(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 (\GetMissionProfileResponse' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:GetMissionProfileResponse' :: GetMissionProfileResponse -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: GetMissionProfileResponse
s@GetMissionProfileResponse' {} Maybe (HashMap Text Text)
a -> GetMissionProfileResponse
s {$sel:tags:GetMissionProfileResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: GetMissionProfileResponse) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> GetMissionProfileResponse -> f GetMissionProfileResponse)
-> ((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)))
-> GetMissionProfileResponse
-> f GetMissionProfileResponse
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
getMissionProfileResponse_httpStatus :: Lens.Lens' GetMissionProfileResponse Prelude.Int
getMissionProfileResponse_httpStatus :: (Int -> f Int)
-> GetMissionProfileResponse -> f GetMissionProfileResponse
getMissionProfileResponse_httpStatus = (GetMissionProfileResponse -> Int)
-> (GetMissionProfileResponse -> Int -> GetMissionProfileResponse)
-> Lens GetMissionProfileResponse GetMissionProfileResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMissionProfileResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetMissionProfileResponse' :: GetMissionProfileResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetMissionProfileResponse
s@GetMissionProfileResponse' {} Int
a -> GetMissionProfileResponse
s {$sel:httpStatus:GetMissionProfileResponse' :: Int
httpStatus = Int
a} :: GetMissionProfileResponse)
instance Prelude.NFData GetMissionProfileResponse