{-# 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.DMS.DescribeReplicationTaskAssessmentRuns
(
DescribeReplicationTaskAssessmentRuns (..),
newDescribeReplicationTaskAssessmentRuns,
describeReplicationTaskAssessmentRuns_filters,
describeReplicationTaskAssessmentRuns_marker,
describeReplicationTaskAssessmentRuns_maxRecords,
DescribeReplicationTaskAssessmentRunsResponse (..),
newDescribeReplicationTaskAssessmentRunsResponse,
describeReplicationTaskAssessmentRunsResponse_replicationTaskAssessmentRuns,
describeReplicationTaskAssessmentRunsResponse_marker,
describeReplicationTaskAssessmentRunsResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.DMS.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 DescribeReplicationTaskAssessmentRuns = DescribeReplicationTaskAssessmentRuns'
{
DescribeReplicationTaskAssessmentRuns -> Maybe [Filter]
filters :: Prelude.Maybe [Filter],
DescribeReplicationTaskAssessmentRuns -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
DescribeReplicationTaskAssessmentRuns -> Maybe Int
maxRecords :: Prelude.Maybe Prelude.Int
}
deriving (DescribeReplicationTaskAssessmentRuns
-> DescribeReplicationTaskAssessmentRuns -> Bool
(DescribeReplicationTaskAssessmentRuns
-> DescribeReplicationTaskAssessmentRuns -> Bool)
-> (DescribeReplicationTaskAssessmentRuns
-> DescribeReplicationTaskAssessmentRuns -> Bool)
-> Eq DescribeReplicationTaskAssessmentRuns
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeReplicationTaskAssessmentRuns
-> DescribeReplicationTaskAssessmentRuns -> Bool
$c/= :: DescribeReplicationTaskAssessmentRuns
-> DescribeReplicationTaskAssessmentRuns -> Bool
== :: DescribeReplicationTaskAssessmentRuns
-> DescribeReplicationTaskAssessmentRuns -> Bool
$c== :: DescribeReplicationTaskAssessmentRuns
-> DescribeReplicationTaskAssessmentRuns -> Bool
Prelude.Eq, ReadPrec [DescribeReplicationTaskAssessmentRuns]
ReadPrec DescribeReplicationTaskAssessmentRuns
Int -> ReadS DescribeReplicationTaskAssessmentRuns
ReadS [DescribeReplicationTaskAssessmentRuns]
(Int -> ReadS DescribeReplicationTaskAssessmentRuns)
-> ReadS [DescribeReplicationTaskAssessmentRuns]
-> ReadPrec DescribeReplicationTaskAssessmentRuns
-> ReadPrec [DescribeReplicationTaskAssessmentRuns]
-> Read DescribeReplicationTaskAssessmentRuns
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeReplicationTaskAssessmentRuns]
$creadListPrec :: ReadPrec [DescribeReplicationTaskAssessmentRuns]
readPrec :: ReadPrec DescribeReplicationTaskAssessmentRuns
$creadPrec :: ReadPrec DescribeReplicationTaskAssessmentRuns
readList :: ReadS [DescribeReplicationTaskAssessmentRuns]
$creadList :: ReadS [DescribeReplicationTaskAssessmentRuns]
readsPrec :: Int -> ReadS DescribeReplicationTaskAssessmentRuns
$creadsPrec :: Int -> ReadS DescribeReplicationTaskAssessmentRuns
Prelude.Read, Int -> DescribeReplicationTaskAssessmentRuns -> ShowS
[DescribeReplicationTaskAssessmentRuns] -> ShowS
DescribeReplicationTaskAssessmentRuns -> String
(Int -> DescribeReplicationTaskAssessmentRuns -> ShowS)
-> (DescribeReplicationTaskAssessmentRuns -> String)
-> ([DescribeReplicationTaskAssessmentRuns] -> ShowS)
-> Show DescribeReplicationTaskAssessmentRuns
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeReplicationTaskAssessmentRuns] -> ShowS
$cshowList :: [DescribeReplicationTaskAssessmentRuns] -> ShowS
show :: DescribeReplicationTaskAssessmentRuns -> String
$cshow :: DescribeReplicationTaskAssessmentRuns -> String
showsPrec :: Int -> DescribeReplicationTaskAssessmentRuns -> ShowS
$cshowsPrec :: Int -> DescribeReplicationTaskAssessmentRuns -> ShowS
Prelude.Show, (forall x.
DescribeReplicationTaskAssessmentRuns
-> Rep DescribeReplicationTaskAssessmentRuns x)
-> (forall x.
Rep DescribeReplicationTaskAssessmentRuns x
-> DescribeReplicationTaskAssessmentRuns)
-> Generic DescribeReplicationTaskAssessmentRuns
forall x.
Rep DescribeReplicationTaskAssessmentRuns x
-> DescribeReplicationTaskAssessmentRuns
forall x.
DescribeReplicationTaskAssessmentRuns
-> Rep DescribeReplicationTaskAssessmentRuns x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeReplicationTaskAssessmentRuns x
-> DescribeReplicationTaskAssessmentRuns
$cfrom :: forall x.
DescribeReplicationTaskAssessmentRuns
-> Rep DescribeReplicationTaskAssessmentRuns x
Prelude.Generic)
newDescribeReplicationTaskAssessmentRuns ::
DescribeReplicationTaskAssessmentRuns
newDescribeReplicationTaskAssessmentRuns :: DescribeReplicationTaskAssessmentRuns
newDescribeReplicationTaskAssessmentRuns =
DescribeReplicationTaskAssessmentRuns' :: Maybe [Filter]
-> Maybe Text -> Maybe Int -> DescribeReplicationTaskAssessmentRuns
DescribeReplicationTaskAssessmentRuns'
{ $sel:filters:DescribeReplicationTaskAssessmentRuns' :: Maybe [Filter]
filters =
Maybe [Filter]
forall a. Maybe a
Prelude.Nothing,
$sel:marker:DescribeReplicationTaskAssessmentRuns' :: Maybe Text
marker = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxRecords:DescribeReplicationTaskAssessmentRuns' :: Maybe Int
maxRecords = Maybe Int
forall a. Maybe a
Prelude.Nothing
}
describeReplicationTaskAssessmentRuns_filters :: Lens.Lens' DescribeReplicationTaskAssessmentRuns (Prelude.Maybe [Filter])
describeReplicationTaskAssessmentRuns_filters :: (Maybe [Filter] -> f (Maybe [Filter]))
-> DescribeReplicationTaskAssessmentRuns
-> f DescribeReplicationTaskAssessmentRuns
describeReplicationTaskAssessmentRuns_filters = (DescribeReplicationTaskAssessmentRuns -> Maybe [Filter])
-> (DescribeReplicationTaskAssessmentRuns
-> Maybe [Filter] -> DescribeReplicationTaskAssessmentRuns)
-> Lens
DescribeReplicationTaskAssessmentRuns
DescribeReplicationTaskAssessmentRuns
(Maybe [Filter])
(Maybe [Filter])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeReplicationTaskAssessmentRuns' {Maybe [Filter]
filters :: Maybe [Filter]
$sel:filters:DescribeReplicationTaskAssessmentRuns' :: DescribeReplicationTaskAssessmentRuns -> Maybe [Filter]
filters} -> Maybe [Filter]
filters) (\s :: DescribeReplicationTaskAssessmentRuns
s@DescribeReplicationTaskAssessmentRuns' {} Maybe [Filter]
a -> DescribeReplicationTaskAssessmentRuns
s {$sel:filters:DescribeReplicationTaskAssessmentRuns' :: Maybe [Filter]
filters = Maybe [Filter]
a} :: DescribeReplicationTaskAssessmentRuns) ((Maybe [Filter] -> f (Maybe [Filter]))
-> DescribeReplicationTaskAssessmentRuns
-> f DescribeReplicationTaskAssessmentRuns)
-> ((Maybe [Filter] -> f (Maybe [Filter]))
-> Maybe [Filter] -> f (Maybe [Filter]))
-> (Maybe [Filter] -> f (Maybe [Filter]))
-> DescribeReplicationTaskAssessmentRuns
-> f DescribeReplicationTaskAssessmentRuns
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Filter] [Filter] [Filter] [Filter]
-> Iso
(Maybe [Filter]) (Maybe [Filter]) (Maybe [Filter]) (Maybe [Filter])
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 [Filter] [Filter] [Filter] [Filter]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeReplicationTaskAssessmentRuns_marker :: Lens.Lens' DescribeReplicationTaskAssessmentRuns (Prelude.Maybe Prelude.Text)
describeReplicationTaskAssessmentRuns_marker :: (Maybe Text -> f (Maybe Text))
-> DescribeReplicationTaskAssessmentRuns
-> f DescribeReplicationTaskAssessmentRuns
describeReplicationTaskAssessmentRuns_marker = (DescribeReplicationTaskAssessmentRuns -> Maybe Text)
-> (DescribeReplicationTaskAssessmentRuns
-> Maybe Text -> DescribeReplicationTaskAssessmentRuns)
-> Lens
DescribeReplicationTaskAssessmentRuns
DescribeReplicationTaskAssessmentRuns
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeReplicationTaskAssessmentRuns' {Maybe Text
marker :: Maybe Text
$sel:marker:DescribeReplicationTaskAssessmentRuns' :: DescribeReplicationTaskAssessmentRuns -> Maybe Text
marker} -> Maybe Text
marker) (\s :: DescribeReplicationTaskAssessmentRuns
s@DescribeReplicationTaskAssessmentRuns' {} Maybe Text
a -> DescribeReplicationTaskAssessmentRuns
s {$sel:marker:DescribeReplicationTaskAssessmentRuns' :: Maybe Text
marker = Maybe Text
a} :: DescribeReplicationTaskAssessmentRuns)
describeReplicationTaskAssessmentRuns_maxRecords :: Lens.Lens' DescribeReplicationTaskAssessmentRuns (Prelude.Maybe Prelude.Int)
describeReplicationTaskAssessmentRuns_maxRecords :: (Maybe Int -> f (Maybe Int))
-> DescribeReplicationTaskAssessmentRuns
-> f DescribeReplicationTaskAssessmentRuns
describeReplicationTaskAssessmentRuns_maxRecords = (DescribeReplicationTaskAssessmentRuns -> Maybe Int)
-> (DescribeReplicationTaskAssessmentRuns
-> Maybe Int -> DescribeReplicationTaskAssessmentRuns)
-> Lens
DescribeReplicationTaskAssessmentRuns
DescribeReplicationTaskAssessmentRuns
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeReplicationTaskAssessmentRuns' {Maybe Int
maxRecords :: Maybe Int
$sel:maxRecords:DescribeReplicationTaskAssessmentRuns' :: DescribeReplicationTaskAssessmentRuns -> Maybe Int
maxRecords} -> Maybe Int
maxRecords) (\s :: DescribeReplicationTaskAssessmentRuns
s@DescribeReplicationTaskAssessmentRuns' {} Maybe Int
a -> DescribeReplicationTaskAssessmentRuns
s {$sel:maxRecords:DescribeReplicationTaskAssessmentRuns' :: Maybe Int
maxRecords = Maybe Int
a} :: DescribeReplicationTaskAssessmentRuns)
instance
Core.AWSRequest
DescribeReplicationTaskAssessmentRuns
where
type
AWSResponse
DescribeReplicationTaskAssessmentRuns =
DescribeReplicationTaskAssessmentRunsResponse
request :: DescribeReplicationTaskAssessmentRuns
-> Request DescribeReplicationTaskAssessmentRuns
request = Service
-> DescribeReplicationTaskAssessmentRuns
-> Request DescribeReplicationTaskAssessmentRuns
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeReplicationTaskAssessmentRuns
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse DescribeReplicationTaskAssessmentRuns)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either
String (AWSResponse DescribeReplicationTaskAssessmentRuns))
-> Logger
-> Service
-> Proxy DescribeReplicationTaskAssessmentRuns
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse DescribeReplicationTaskAssessmentRuns)))
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 [ReplicationTaskAssessmentRun]
-> Maybe Text
-> Int
-> DescribeReplicationTaskAssessmentRunsResponse
DescribeReplicationTaskAssessmentRunsResponse'
(Maybe [ReplicationTaskAssessmentRun]
-> Maybe Text
-> Int
-> DescribeReplicationTaskAssessmentRunsResponse)
-> Either String (Maybe [ReplicationTaskAssessmentRun])
-> Either
String
(Maybe Text
-> Int -> DescribeReplicationTaskAssessmentRunsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object
-> Text
-> Either String (Maybe (Maybe [ReplicationTaskAssessmentRun]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ReplicationTaskAssessmentRuns"
Either String (Maybe (Maybe [ReplicationTaskAssessmentRun]))
-> Maybe [ReplicationTaskAssessmentRun]
-> Either String (Maybe [ReplicationTaskAssessmentRun])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ReplicationTaskAssessmentRun]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe Text
-> Int -> DescribeReplicationTaskAssessmentRunsResponse)
-> Either String (Maybe Text)
-> Either
String (Int -> DescribeReplicationTaskAssessmentRunsResponse)
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
"Marker")
Either
String (Int -> DescribeReplicationTaskAssessmentRunsResponse)
-> Either String Int
-> Either String DescribeReplicationTaskAssessmentRunsResponse
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
DescribeReplicationTaskAssessmentRuns
instance
Prelude.NFData
DescribeReplicationTaskAssessmentRuns
instance
Core.ToHeaders
DescribeReplicationTaskAssessmentRuns
where
toHeaders :: DescribeReplicationTaskAssessmentRuns -> ResponseHeaders
toHeaders =
ResponseHeaders
-> DescribeReplicationTaskAssessmentRuns -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"AmazonDMSv20160101.DescribeReplicationTaskAssessmentRuns" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance
Core.ToJSON
DescribeReplicationTaskAssessmentRuns
where
toJSON :: DescribeReplicationTaskAssessmentRuns -> Value
toJSON DescribeReplicationTaskAssessmentRuns' {Maybe Int
Maybe [Filter]
Maybe Text
maxRecords :: Maybe Int
marker :: Maybe Text
filters :: Maybe [Filter]
$sel:maxRecords:DescribeReplicationTaskAssessmentRuns' :: DescribeReplicationTaskAssessmentRuns -> Maybe Int
$sel:marker:DescribeReplicationTaskAssessmentRuns' :: DescribeReplicationTaskAssessmentRuns -> Maybe Text
$sel:filters:DescribeReplicationTaskAssessmentRuns' :: DescribeReplicationTaskAssessmentRuns -> Maybe [Filter]
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"Filters" Text -> [Filter] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) ([Filter] -> Pair) -> Maybe [Filter] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Filter]
filters,
(Text
"Marker" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
marker,
(Text
"MaxRecords" Text -> Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Int -> Pair) -> Maybe Int -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Int
maxRecords
]
)
instance
Core.ToPath
DescribeReplicationTaskAssessmentRuns
where
toPath :: DescribeReplicationTaskAssessmentRuns -> ByteString
toPath = ByteString -> DescribeReplicationTaskAssessmentRuns -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
DescribeReplicationTaskAssessmentRuns
where
toQuery :: DescribeReplicationTaskAssessmentRuns -> QueryString
toQuery = QueryString -> DescribeReplicationTaskAssessmentRuns -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeReplicationTaskAssessmentRunsResponse = DescribeReplicationTaskAssessmentRunsResponse'
{
DescribeReplicationTaskAssessmentRunsResponse
-> Maybe [ReplicationTaskAssessmentRun]
replicationTaskAssessmentRuns :: Prelude.Maybe [ReplicationTaskAssessmentRun],
DescribeReplicationTaskAssessmentRunsResponse -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
DescribeReplicationTaskAssessmentRunsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeReplicationTaskAssessmentRunsResponse
-> DescribeReplicationTaskAssessmentRunsResponse -> Bool
(DescribeReplicationTaskAssessmentRunsResponse
-> DescribeReplicationTaskAssessmentRunsResponse -> Bool)
-> (DescribeReplicationTaskAssessmentRunsResponse
-> DescribeReplicationTaskAssessmentRunsResponse -> Bool)
-> Eq DescribeReplicationTaskAssessmentRunsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeReplicationTaskAssessmentRunsResponse
-> DescribeReplicationTaskAssessmentRunsResponse -> Bool
$c/= :: DescribeReplicationTaskAssessmentRunsResponse
-> DescribeReplicationTaskAssessmentRunsResponse -> Bool
== :: DescribeReplicationTaskAssessmentRunsResponse
-> DescribeReplicationTaskAssessmentRunsResponse -> Bool
$c== :: DescribeReplicationTaskAssessmentRunsResponse
-> DescribeReplicationTaskAssessmentRunsResponse -> Bool
Prelude.Eq, ReadPrec [DescribeReplicationTaskAssessmentRunsResponse]
ReadPrec DescribeReplicationTaskAssessmentRunsResponse
Int -> ReadS DescribeReplicationTaskAssessmentRunsResponse
ReadS [DescribeReplicationTaskAssessmentRunsResponse]
(Int -> ReadS DescribeReplicationTaskAssessmentRunsResponse)
-> ReadS [DescribeReplicationTaskAssessmentRunsResponse]
-> ReadPrec DescribeReplicationTaskAssessmentRunsResponse
-> ReadPrec [DescribeReplicationTaskAssessmentRunsResponse]
-> Read DescribeReplicationTaskAssessmentRunsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeReplicationTaskAssessmentRunsResponse]
$creadListPrec :: ReadPrec [DescribeReplicationTaskAssessmentRunsResponse]
readPrec :: ReadPrec DescribeReplicationTaskAssessmentRunsResponse
$creadPrec :: ReadPrec DescribeReplicationTaskAssessmentRunsResponse
readList :: ReadS [DescribeReplicationTaskAssessmentRunsResponse]
$creadList :: ReadS [DescribeReplicationTaskAssessmentRunsResponse]
readsPrec :: Int -> ReadS DescribeReplicationTaskAssessmentRunsResponse
$creadsPrec :: Int -> ReadS DescribeReplicationTaskAssessmentRunsResponse
Prelude.Read, Int -> DescribeReplicationTaskAssessmentRunsResponse -> ShowS
[DescribeReplicationTaskAssessmentRunsResponse] -> ShowS
DescribeReplicationTaskAssessmentRunsResponse -> String
(Int -> DescribeReplicationTaskAssessmentRunsResponse -> ShowS)
-> (DescribeReplicationTaskAssessmentRunsResponse -> String)
-> ([DescribeReplicationTaskAssessmentRunsResponse] -> ShowS)
-> Show DescribeReplicationTaskAssessmentRunsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeReplicationTaskAssessmentRunsResponse] -> ShowS
$cshowList :: [DescribeReplicationTaskAssessmentRunsResponse] -> ShowS
show :: DescribeReplicationTaskAssessmentRunsResponse -> String
$cshow :: DescribeReplicationTaskAssessmentRunsResponse -> String
showsPrec :: Int -> DescribeReplicationTaskAssessmentRunsResponse -> ShowS
$cshowsPrec :: Int -> DescribeReplicationTaskAssessmentRunsResponse -> ShowS
Prelude.Show, (forall x.
DescribeReplicationTaskAssessmentRunsResponse
-> Rep DescribeReplicationTaskAssessmentRunsResponse x)
-> (forall x.
Rep DescribeReplicationTaskAssessmentRunsResponse x
-> DescribeReplicationTaskAssessmentRunsResponse)
-> Generic DescribeReplicationTaskAssessmentRunsResponse
forall x.
Rep DescribeReplicationTaskAssessmentRunsResponse x
-> DescribeReplicationTaskAssessmentRunsResponse
forall x.
DescribeReplicationTaskAssessmentRunsResponse
-> Rep DescribeReplicationTaskAssessmentRunsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeReplicationTaskAssessmentRunsResponse x
-> DescribeReplicationTaskAssessmentRunsResponse
$cfrom :: forall x.
DescribeReplicationTaskAssessmentRunsResponse
-> Rep DescribeReplicationTaskAssessmentRunsResponse x
Prelude.Generic)
newDescribeReplicationTaskAssessmentRunsResponse ::
Prelude.Int ->
DescribeReplicationTaskAssessmentRunsResponse
newDescribeReplicationTaskAssessmentRunsResponse :: Int -> DescribeReplicationTaskAssessmentRunsResponse
newDescribeReplicationTaskAssessmentRunsResponse
Int
pHttpStatus_ =
DescribeReplicationTaskAssessmentRunsResponse' :: Maybe [ReplicationTaskAssessmentRun]
-> Maybe Text
-> Int
-> DescribeReplicationTaskAssessmentRunsResponse
DescribeReplicationTaskAssessmentRunsResponse'
{ $sel:replicationTaskAssessmentRuns:DescribeReplicationTaskAssessmentRunsResponse' :: Maybe [ReplicationTaskAssessmentRun]
replicationTaskAssessmentRuns =
Maybe [ReplicationTaskAssessmentRun]
forall a. Maybe a
Prelude.Nothing,
$sel:marker:DescribeReplicationTaskAssessmentRunsResponse' :: Maybe Text
marker = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeReplicationTaskAssessmentRunsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeReplicationTaskAssessmentRunsResponse_replicationTaskAssessmentRuns :: Lens.Lens' DescribeReplicationTaskAssessmentRunsResponse (Prelude.Maybe [ReplicationTaskAssessmentRun])
describeReplicationTaskAssessmentRunsResponse_replicationTaskAssessmentRuns :: (Maybe [ReplicationTaskAssessmentRun]
-> f (Maybe [ReplicationTaskAssessmentRun]))
-> DescribeReplicationTaskAssessmentRunsResponse
-> f DescribeReplicationTaskAssessmentRunsResponse
describeReplicationTaskAssessmentRunsResponse_replicationTaskAssessmentRuns = (DescribeReplicationTaskAssessmentRunsResponse
-> Maybe [ReplicationTaskAssessmentRun])
-> (DescribeReplicationTaskAssessmentRunsResponse
-> Maybe [ReplicationTaskAssessmentRun]
-> DescribeReplicationTaskAssessmentRunsResponse)
-> Lens
DescribeReplicationTaskAssessmentRunsResponse
DescribeReplicationTaskAssessmentRunsResponse
(Maybe [ReplicationTaskAssessmentRun])
(Maybe [ReplicationTaskAssessmentRun])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeReplicationTaskAssessmentRunsResponse' {Maybe [ReplicationTaskAssessmentRun]
replicationTaskAssessmentRuns :: Maybe [ReplicationTaskAssessmentRun]
$sel:replicationTaskAssessmentRuns:DescribeReplicationTaskAssessmentRunsResponse' :: DescribeReplicationTaskAssessmentRunsResponse
-> Maybe [ReplicationTaskAssessmentRun]
replicationTaskAssessmentRuns} -> Maybe [ReplicationTaskAssessmentRun]
replicationTaskAssessmentRuns) (\s :: DescribeReplicationTaskAssessmentRunsResponse
s@DescribeReplicationTaskAssessmentRunsResponse' {} Maybe [ReplicationTaskAssessmentRun]
a -> DescribeReplicationTaskAssessmentRunsResponse
s {$sel:replicationTaskAssessmentRuns:DescribeReplicationTaskAssessmentRunsResponse' :: Maybe [ReplicationTaskAssessmentRun]
replicationTaskAssessmentRuns = Maybe [ReplicationTaskAssessmentRun]
a} :: DescribeReplicationTaskAssessmentRunsResponse) ((Maybe [ReplicationTaskAssessmentRun]
-> f (Maybe [ReplicationTaskAssessmentRun]))
-> DescribeReplicationTaskAssessmentRunsResponse
-> f DescribeReplicationTaskAssessmentRunsResponse)
-> ((Maybe [ReplicationTaskAssessmentRun]
-> f (Maybe [ReplicationTaskAssessmentRun]))
-> Maybe [ReplicationTaskAssessmentRun]
-> f (Maybe [ReplicationTaskAssessmentRun]))
-> (Maybe [ReplicationTaskAssessmentRun]
-> f (Maybe [ReplicationTaskAssessmentRun]))
-> DescribeReplicationTaskAssessmentRunsResponse
-> f DescribeReplicationTaskAssessmentRunsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ReplicationTaskAssessmentRun]
[ReplicationTaskAssessmentRun]
[ReplicationTaskAssessmentRun]
[ReplicationTaskAssessmentRun]
-> Iso
(Maybe [ReplicationTaskAssessmentRun])
(Maybe [ReplicationTaskAssessmentRun])
(Maybe [ReplicationTaskAssessmentRun])
(Maybe [ReplicationTaskAssessmentRun])
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
[ReplicationTaskAssessmentRun]
[ReplicationTaskAssessmentRun]
[ReplicationTaskAssessmentRun]
[ReplicationTaskAssessmentRun]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeReplicationTaskAssessmentRunsResponse_marker :: Lens.Lens' DescribeReplicationTaskAssessmentRunsResponse (Prelude.Maybe Prelude.Text)
describeReplicationTaskAssessmentRunsResponse_marker :: (Maybe Text -> f (Maybe Text))
-> DescribeReplicationTaskAssessmentRunsResponse
-> f DescribeReplicationTaskAssessmentRunsResponse
describeReplicationTaskAssessmentRunsResponse_marker = (DescribeReplicationTaskAssessmentRunsResponse -> Maybe Text)
-> (DescribeReplicationTaskAssessmentRunsResponse
-> Maybe Text -> DescribeReplicationTaskAssessmentRunsResponse)
-> Lens
DescribeReplicationTaskAssessmentRunsResponse
DescribeReplicationTaskAssessmentRunsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeReplicationTaskAssessmentRunsResponse' {Maybe Text
marker :: Maybe Text
$sel:marker:DescribeReplicationTaskAssessmentRunsResponse' :: DescribeReplicationTaskAssessmentRunsResponse -> Maybe Text
marker} -> Maybe Text
marker) (\s :: DescribeReplicationTaskAssessmentRunsResponse
s@DescribeReplicationTaskAssessmentRunsResponse' {} Maybe Text
a -> DescribeReplicationTaskAssessmentRunsResponse
s {$sel:marker:DescribeReplicationTaskAssessmentRunsResponse' :: Maybe Text
marker = Maybe Text
a} :: DescribeReplicationTaskAssessmentRunsResponse)
describeReplicationTaskAssessmentRunsResponse_httpStatus :: Lens.Lens' DescribeReplicationTaskAssessmentRunsResponse Prelude.Int
describeReplicationTaskAssessmentRunsResponse_httpStatus :: (Int -> f Int)
-> DescribeReplicationTaskAssessmentRunsResponse
-> f DescribeReplicationTaskAssessmentRunsResponse
describeReplicationTaskAssessmentRunsResponse_httpStatus = (DescribeReplicationTaskAssessmentRunsResponse -> Int)
-> (DescribeReplicationTaskAssessmentRunsResponse
-> Int -> DescribeReplicationTaskAssessmentRunsResponse)
-> Lens
DescribeReplicationTaskAssessmentRunsResponse
DescribeReplicationTaskAssessmentRunsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeReplicationTaskAssessmentRunsResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeReplicationTaskAssessmentRunsResponse' :: DescribeReplicationTaskAssessmentRunsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeReplicationTaskAssessmentRunsResponse
s@DescribeReplicationTaskAssessmentRunsResponse' {} Int
a -> DescribeReplicationTaskAssessmentRunsResponse
s {$sel:httpStatus:DescribeReplicationTaskAssessmentRunsResponse' :: Int
httpStatus = Int
a} :: DescribeReplicationTaskAssessmentRunsResponse)
instance
Prelude.NFData
DescribeReplicationTaskAssessmentRunsResponse