{-# 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.DescribeReplicationTaskIndividualAssessments
(
DescribeReplicationTaskIndividualAssessments (..),
newDescribeReplicationTaskIndividualAssessments,
describeReplicationTaskIndividualAssessments_filters,
describeReplicationTaskIndividualAssessments_marker,
describeReplicationTaskIndividualAssessments_maxRecords,
DescribeReplicationTaskIndividualAssessmentsResponse (..),
newDescribeReplicationTaskIndividualAssessmentsResponse,
describeReplicationTaskIndividualAssessmentsResponse_replicationTaskIndividualAssessments,
describeReplicationTaskIndividualAssessmentsResponse_marker,
describeReplicationTaskIndividualAssessmentsResponse_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 DescribeReplicationTaskIndividualAssessments = DescribeReplicationTaskIndividualAssessments'
{
DescribeReplicationTaskIndividualAssessments -> Maybe [Filter]
filters :: Prelude.Maybe [Filter],
DescribeReplicationTaskIndividualAssessments -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
DescribeReplicationTaskIndividualAssessments -> Maybe Int
maxRecords :: Prelude.Maybe Prelude.Int
}
deriving (DescribeReplicationTaskIndividualAssessments
-> DescribeReplicationTaskIndividualAssessments -> Bool
(DescribeReplicationTaskIndividualAssessments
-> DescribeReplicationTaskIndividualAssessments -> Bool)
-> (DescribeReplicationTaskIndividualAssessments
-> DescribeReplicationTaskIndividualAssessments -> Bool)
-> Eq DescribeReplicationTaskIndividualAssessments
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeReplicationTaskIndividualAssessments
-> DescribeReplicationTaskIndividualAssessments -> Bool
$c/= :: DescribeReplicationTaskIndividualAssessments
-> DescribeReplicationTaskIndividualAssessments -> Bool
== :: DescribeReplicationTaskIndividualAssessments
-> DescribeReplicationTaskIndividualAssessments -> Bool
$c== :: DescribeReplicationTaskIndividualAssessments
-> DescribeReplicationTaskIndividualAssessments -> Bool
Prelude.Eq, ReadPrec [DescribeReplicationTaskIndividualAssessments]
ReadPrec DescribeReplicationTaskIndividualAssessments
Int -> ReadS DescribeReplicationTaskIndividualAssessments
ReadS [DescribeReplicationTaskIndividualAssessments]
(Int -> ReadS DescribeReplicationTaskIndividualAssessments)
-> ReadS [DescribeReplicationTaskIndividualAssessments]
-> ReadPrec DescribeReplicationTaskIndividualAssessments
-> ReadPrec [DescribeReplicationTaskIndividualAssessments]
-> Read DescribeReplicationTaskIndividualAssessments
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeReplicationTaskIndividualAssessments]
$creadListPrec :: ReadPrec [DescribeReplicationTaskIndividualAssessments]
readPrec :: ReadPrec DescribeReplicationTaskIndividualAssessments
$creadPrec :: ReadPrec DescribeReplicationTaskIndividualAssessments
readList :: ReadS [DescribeReplicationTaskIndividualAssessments]
$creadList :: ReadS [DescribeReplicationTaskIndividualAssessments]
readsPrec :: Int -> ReadS DescribeReplicationTaskIndividualAssessments
$creadsPrec :: Int -> ReadS DescribeReplicationTaskIndividualAssessments
Prelude.Read, Int -> DescribeReplicationTaskIndividualAssessments -> ShowS
[DescribeReplicationTaskIndividualAssessments] -> ShowS
DescribeReplicationTaskIndividualAssessments -> String
(Int -> DescribeReplicationTaskIndividualAssessments -> ShowS)
-> (DescribeReplicationTaskIndividualAssessments -> String)
-> ([DescribeReplicationTaskIndividualAssessments] -> ShowS)
-> Show DescribeReplicationTaskIndividualAssessments
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeReplicationTaskIndividualAssessments] -> ShowS
$cshowList :: [DescribeReplicationTaskIndividualAssessments] -> ShowS
show :: DescribeReplicationTaskIndividualAssessments -> String
$cshow :: DescribeReplicationTaskIndividualAssessments -> String
showsPrec :: Int -> DescribeReplicationTaskIndividualAssessments -> ShowS
$cshowsPrec :: Int -> DescribeReplicationTaskIndividualAssessments -> ShowS
Prelude.Show, (forall x.
DescribeReplicationTaskIndividualAssessments
-> Rep DescribeReplicationTaskIndividualAssessments x)
-> (forall x.
Rep DescribeReplicationTaskIndividualAssessments x
-> DescribeReplicationTaskIndividualAssessments)
-> Generic DescribeReplicationTaskIndividualAssessments
forall x.
Rep DescribeReplicationTaskIndividualAssessments x
-> DescribeReplicationTaskIndividualAssessments
forall x.
DescribeReplicationTaskIndividualAssessments
-> Rep DescribeReplicationTaskIndividualAssessments x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeReplicationTaskIndividualAssessments x
-> DescribeReplicationTaskIndividualAssessments
$cfrom :: forall x.
DescribeReplicationTaskIndividualAssessments
-> Rep DescribeReplicationTaskIndividualAssessments x
Prelude.Generic)
newDescribeReplicationTaskIndividualAssessments ::
DescribeReplicationTaskIndividualAssessments
newDescribeReplicationTaskIndividualAssessments :: DescribeReplicationTaskIndividualAssessments
newDescribeReplicationTaskIndividualAssessments =
DescribeReplicationTaskIndividualAssessments' :: Maybe [Filter]
-> Maybe Text
-> Maybe Int
-> DescribeReplicationTaskIndividualAssessments
DescribeReplicationTaskIndividualAssessments'
{ $sel:filters:DescribeReplicationTaskIndividualAssessments' :: Maybe [Filter]
filters =
Maybe [Filter]
forall a. Maybe a
Prelude.Nothing,
$sel:marker:DescribeReplicationTaskIndividualAssessments' :: Maybe Text
marker = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxRecords:DescribeReplicationTaskIndividualAssessments' :: Maybe Int
maxRecords = Maybe Int
forall a. Maybe a
Prelude.Nothing
}
describeReplicationTaskIndividualAssessments_filters :: Lens.Lens' DescribeReplicationTaskIndividualAssessments (Prelude.Maybe [Filter])
describeReplicationTaskIndividualAssessments_filters :: (Maybe [Filter] -> f (Maybe [Filter]))
-> DescribeReplicationTaskIndividualAssessments
-> f DescribeReplicationTaskIndividualAssessments
describeReplicationTaskIndividualAssessments_filters = (DescribeReplicationTaskIndividualAssessments -> Maybe [Filter])
-> (DescribeReplicationTaskIndividualAssessments
-> Maybe [Filter] -> DescribeReplicationTaskIndividualAssessments)
-> Lens
DescribeReplicationTaskIndividualAssessments
DescribeReplicationTaskIndividualAssessments
(Maybe [Filter])
(Maybe [Filter])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeReplicationTaskIndividualAssessments' {Maybe [Filter]
filters :: Maybe [Filter]
$sel:filters:DescribeReplicationTaskIndividualAssessments' :: DescribeReplicationTaskIndividualAssessments -> Maybe [Filter]
filters} -> Maybe [Filter]
filters) (\s :: DescribeReplicationTaskIndividualAssessments
s@DescribeReplicationTaskIndividualAssessments' {} Maybe [Filter]
a -> DescribeReplicationTaskIndividualAssessments
s {$sel:filters:DescribeReplicationTaskIndividualAssessments' :: Maybe [Filter]
filters = Maybe [Filter]
a} :: DescribeReplicationTaskIndividualAssessments) ((Maybe [Filter] -> f (Maybe [Filter]))
-> DescribeReplicationTaskIndividualAssessments
-> f DescribeReplicationTaskIndividualAssessments)
-> ((Maybe [Filter] -> f (Maybe [Filter]))
-> Maybe [Filter] -> f (Maybe [Filter]))
-> (Maybe [Filter] -> f (Maybe [Filter]))
-> DescribeReplicationTaskIndividualAssessments
-> f DescribeReplicationTaskIndividualAssessments
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
describeReplicationTaskIndividualAssessments_marker :: Lens.Lens' DescribeReplicationTaskIndividualAssessments (Prelude.Maybe Prelude.Text)
describeReplicationTaskIndividualAssessments_marker :: (Maybe Text -> f (Maybe Text))
-> DescribeReplicationTaskIndividualAssessments
-> f DescribeReplicationTaskIndividualAssessments
describeReplicationTaskIndividualAssessments_marker = (DescribeReplicationTaskIndividualAssessments -> Maybe Text)
-> (DescribeReplicationTaskIndividualAssessments
-> Maybe Text -> DescribeReplicationTaskIndividualAssessments)
-> Lens
DescribeReplicationTaskIndividualAssessments
DescribeReplicationTaskIndividualAssessments
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeReplicationTaskIndividualAssessments' {Maybe Text
marker :: Maybe Text
$sel:marker:DescribeReplicationTaskIndividualAssessments' :: DescribeReplicationTaskIndividualAssessments -> Maybe Text
marker} -> Maybe Text
marker) (\s :: DescribeReplicationTaskIndividualAssessments
s@DescribeReplicationTaskIndividualAssessments' {} Maybe Text
a -> DescribeReplicationTaskIndividualAssessments
s {$sel:marker:DescribeReplicationTaskIndividualAssessments' :: Maybe Text
marker = Maybe Text
a} :: DescribeReplicationTaskIndividualAssessments)
describeReplicationTaskIndividualAssessments_maxRecords :: Lens.Lens' DescribeReplicationTaskIndividualAssessments (Prelude.Maybe Prelude.Int)
describeReplicationTaskIndividualAssessments_maxRecords :: (Maybe Int -> f (Maybe Int))
-> DescribeReplicationTaskIndividualAssessments
-> f DescribeReplicationTaskIndividualAssessments
describeReplicationTaskIndividualAssessments_maxRecords = (DescribeReplicationTaskIndividualAssessments -> Maybe Int)
-> (DescribeReplicationTaskIndividualAssessments
-> Maybe Int -> DescribeReplicationTaskIndividualAssessments)
-> Lens
DescribeReplicationTaskIndividualAssessments
DescribeReplicationTaskIndividualAssessments
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeReplicationTaskIndividualAssessments' {Maybe Int
maxRecords :: Maybe Int
$sel:maxRecords:DescribeReplicationTaskIndividualAssessments' :: DescribeReplicationTaskIndividualAssessments -> Maybe Int
maxRecords} -> Maybe Int
maxRecords) (\s :: DescribeReplicationTaskIndividualAssessments
s@DescribeReplicationTaskIndividualAssessments' {} Maybe Int
a -> DescribeReplicationTaskIndividualAssessments
s {$sel:maxRecords:DescribeReplicationTaskIndividualAssessments' :: Maybe Int
maxRecords = Maybe Int
a} :: DescribeReplicationTaskIndividualAssessments)
instance
Core.AWSRequest
DescribeReplicationTaskIndividualAssessments
where
type
AWSResponse
DescribeReplicationTaskIndividualAssessments =
DescribeReplicationTaskIndividualAssessmentsResponse
request :: DescribeReplicationTaskIndividualAssessments
-> Request DescribeReplicationTaskIndividualAssessments
request = Service
-> DescribeReplicationTaskIndividualAssessments
-> Request DescribeReplicationTaskIndividualAssessments
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeReplicationTaskIndividualAssessments
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse DescribeReplicationTaskIndividualAssessments)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either
String (AWSResponse DescribeReplicationTaskIndividualAssessments))
-> Logger
-> Service
-> Proxy DescribeReplicationTaskIndividualAssessments
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse DescribeReplicationTaskIndividualAssessments)))
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 [ReplicationTaskIndividualAssessment]
-> Maybe Text
-> Int
-> DescribeReplicationTaskIndividualAssessmentsResponse
DescribeReplicationTaskIndividualAssessmentsResponse'
(Maybe [ReplicationTaskIndividualAssessment]
-> Maybe Text
-> Int
-> DescribeReplicationTaskIndividualAssessmentsResponse)
-> Either String (Maybe [ReplicationTaskIndividualAssessment])
-> Either
String
(Maybe Text
-> Int -> DescribeReplicationTaskIndividualAssessmentsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object
-> Text
-> Either
String (Maybe (Maybe [ReplicationTaskIndividualAssessment]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ReplicationTaskIndividualAssessments"
Either String (Maybe (Maybe [ReplicationTaskIndividualAssessment]))
-> Maybe [ReplicationTaskIndividualAssessment]
-> Either String (Maybe [ReplicationTaskIndividualAssessment])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ReplicationTaskIndividualAssessment]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe Text
-> Int -> DescribeReplicationTaskIndividualAssessmentsResponse)
-> Either String (Maybe Text)
-> Either
String
(Int -> DescribeReplicationTaskIndividualAssessmentsResponse)
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 -> DescribeReplicationTaskIndividualAssessmentsResponse)
-> Either String Int
-> Either
String DescribeReplicationTaskIndividualAssessmentsResponse
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
DescribeReplicationTaskIndividualAssessments
instance
Prelude.NFData
DescribeReplicationTaskIndividualAssessments
instance
Core.ToHeaders
DescribeReplicationTaskIndividualAssessments
where
toHeaders :: DescribeReplicationTaskIndividualAssessments -> ResponseHeaders
toHeaders =
ResponseHeaders
-> DescribeReplicationTaskIndividualAssessments -> 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.DescribeReplicationTaskIndividualAssessments" ::
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
DescribeReplicationTaskIndividualAssessments
where
toJSON :: DescribeReplicationTaskIndividualAssessments -> Value
toJSON
DescribeReplicationTaskIndividualAssessments' {Maybe Int
Maybe [Filter]
Maybe Text
maxRecords :: Maybe Int
marker :: Maybe Text
filters :: Maybe [Filter]
$sel:maxRecords:DescribeReplicationTaskIndividualAssessments' :: DescribeReplicationTaskIndividualAssessments -> Maybe Int
$sel:marker:DescribeReplicationTaskIndividualAssessments' :: DescribeReplicationTaskIndividualAssessments -> Maybe Text
$sel:filters:DescribeReplicationTaskIndividualAssessments' :: DescribeReplicationTaskIndividualAssessments -> 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
DescribeReplicationTaskIndividualAssessments
where
toPath :: DescribeReplicationTaskIndividualAssessments -> ByteString
toPath = ByteString
-> DescribeReplicationTaskIndividualAssessments -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
DescribeReplicationTaskIndividualAssessments
where
toQuery :: DescribeReplicationTaskIndividualAssessments -> QueryString
toQuery = QueryString
-> DescribeReplicationTaskIndividualAssessments -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeReplicationTaskIndividualAssessmentsResponse = DescribeReplicationTaskIndividualAssessmentsResponse'
{
DescribeReplicationTaskIndividualAssessmentsResponse
-> Maybe [ReplicationTaskIndividualAssessment]
replicationTaskIndividualAssessments :: Prelude.Maybe [ReplicationTaskIndividualAssessment],
DescribeReplicationTaskIndividualAssessmentsResponse -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
DescribeReplicationTaskIndividualAssessmentsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeReplicationTaskIndividualAssessmentsResponse
-> DescribeReplicationTaskIndividualAssessmentsResponse -> Bool
(DescribeReplicationTaskIndividualAssessmentsResponse
-> DescribeReplicationTaskIndividualAssessmentsResponse -> Bool)
-> (DescribeReplicationTaskIndividualAssessmentsResponse
-> DescribeReplicationTaskIndividualAssessmentsResponse -> Bool)
-> Eq DescribeReplicationTaskIndividualAssessmentsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeReplicationTaskIndividualAssessmentsResponse
-> DescribeReplicationTaskIndividualAssessmentsResponse -> Bool
$c/= :: DescribeReplicationTaskIndividualAssessmentsResponse
-> DescribeReplicationTaskIndividualAssessmentsResponse -> Bool
== :: DescribeReplicationTaskIndividualAssessmentsResponse
-> DescribeReplicationTaskIndividualAssessmentsResponse -> Bool
$c== :: DescribeReplicationTaskIndividualAssessmentsResponse
-> DescribeReplicationTaskIndividualAssessmentsResponse -> Bool
Prelude.Eq, ReadPrec [DescribeReplicationTaskIndividualAssessmentsResponse]
ReadPrec DescribeReplicationTaskIndividualAssessmentsResponse
Int -> ReadS DescribeReplicationTaskIndividualAssessmentsResponse
ReadS [DescribeReplicationTaskIndividualAssessmentsResponse]
(Int -> ReadS DescribeReplicationTaskIndividualAssessmentsResponse)
-> ReadS [DescribeReplicationTaskIndividualAssessmentsResponse]
-> ReadPrec DescribeReplicationTaskIndividualAssessmentsResponse
-> ReadPrec [DescribeReplicationTaskIndividualAssessmentsResponse]
-> Read DescribeReplicationTaskIndividualAssessmentsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeReplicationTaskIndividualAssessmentsResponse]
$creadListPrec :: ReadPrec [DescribeReplicationTaskIndividualAssessmentsResponse]
readPrec :: ReadPrec DescribeReplicationTaskIndividualAssessmentsResponse
$creadPrec :: ReadPrec DescribeReplicationTaskIndividualAssessmentsResponse
readList :: ReadS [DescribeReplicationTaskIndividualAssessmentsResponse]
$creadList :: ReadS [DescribeReplicationTaskIndividualAssessmentsResponse]
readsPrec :: Int -> ReadS DescribeReplicationTaskIndividualAssessmentsResponse
$creadsPrec :: Int -> ReadS DescribeReplicationTaskIndividualAssessmentsResponse
Prelude.Read, Int
-> DescribeReplicationTaskIndividualAssessmentsResponse -> ShowS
[DescribeReplicationTaskIndividualAssessmentsResponse] -> ShowS
DescribeReplicationTaskIndividualAssessmentsResponse -> String
(Int
-> DescribeReplicationTaskIndividualAssessmentsResponse -> ShowS)
-> (DescribeReplicationTaskIndividualAssessmentsResponse -> String)
-> ([DescribeReplicationTaskIndividualAssessmentsResponse]
-> ShowS)
-> Show DescribeReplicationTaskIndividualAssessmentsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeReplicationTaskIndividualAssessmentsResponse] -> ShowS
$cshowList :: [DescribeReplicationTaskIndividualAssessmentsResponse] -> ShowS
show :: DescribeReplicationTaskIndividualAssessmentsResponse -> String
$cshow :: DescribeReplicationTaskIndividualAssessmentsResponse -> String
showsPrec :: Int
-> DescribeReplicationTaskIndividualAssessmentsResponse -> ShowS
$cshowsPrec :: Int
-> DescribeReplicationTaskIndividualAssessmentsResponse -> ShowS
Prelude.Show, (forall x.
DescribeReplicationTaskIndividualAssessmentsResponse
-> Rep DescribeReplicationTaskIndividualAssessmentsResponse x)
-> (forall x.
Rep DescribeReplicationTaskIndividualAssessmentsResponse x
-> DescribeReplicationTaskIndividualAssessmentsResponse)
-> Generic DescribeReplicationTaskIndividualAssessmentsResponse
forall x.
Rep DescribeReplicationTaskIndividualAssessmentsResponse x
-> DescribeReplicationTaskIndividualAssessmentsResponse
forall x.
DescribeReplicationTaskIndividualAssessmentsResponse
-> Rep DescribeReplicationTaskIndividualAssessmentsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeReplicationTaskIndividualAssessmentsResponse x
-> DescribeReplicationTaskIndividualAssessmentsResponse
$cfrom :: forall x.
DescribeReplicationTaskIndividualAssessmentsResponse
-> Rep DescribeReplicationTaskIndividualAssessmentsResponse x
Prelude.Generic)
newDescribeReplicationTaskIndividualAssessmentsResponse ::
Prelude.Int ->
DescribeReplicationTaskIndividualAssessmentsResponse
newDescribeReplicationTaskIndividualAssessmentsResponse :: Int -> DescribeReplicationTaskIndividualAssessmentsResponse
newDescribeReplicationTaskIndividualAssessmentsResponse
Int
pHttpStatus_ =
DescribeReplicationTaskIndividualAssessmentsResponse' :: Maybe [ReplicationTaskIndividualAssessment]
-> Maybe Text
-> Int
-> DescribeReplicationTaskIndividualAssessmentsResponse
DescribeReplicationTaskIndividualAssessmentsResponse'
{ $sel:replicationTaskIndividualAssessments:DescribeReplicationTaskIndividualAssessmentsResponse' :: Maybe [ReplicationTaskIndividualAssessment]
replicationTaskIndividualAssessments =
Maybe [ReplicationTaskIndividualAssessment]
forall a. Maybe a
Prelude.Nothing,
$sel:marker:DescribeReplicationTaskIndividualAssessmentsResponse' :: Maybe Text
marker =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeReplicationTaskIndividualAssessmentsResponse' :: Int
httpStatus =
Int
pHttpStatus_
}
describeReplicationTaskIndividualAssessmentsResponse_replicationTaskIndividualAssessments :: Lens.Lens' DescribeReplicationTaskIndividualAssessmentsResponse (Prelude.Maybe [ReplicationTaskIndividualAssessment])
describeReplicationTaskIndividualAssessmentsResponse_replicationTaskIndividualAssessments :: (Maybe [ReplicationTaskIndividualAssessment]
-> f (Maybe [ReplicationTaskIndividualAssessment]))
-> DescribeReplicationTaskIndividualAssessmentsResponse
-> f DescribeReplicationTaskIndividualAssessmentsResponse
describeReplicationTaskIndividualAssessmentsResponse_replicationTaskIndividualAssessments = (DescribeReplicationTaskIndividualAssessmentsResponse
-> Maybe [ReplicationTaskIndividualAssessment])
-> (DescribeReplicationTaskIndividualAssessmentsResponse
-> Maybe [ReplicationTaskIndividualAssessment]
-> DescribeReplicationTaskIndividualAssessmentsResponse)
-> Lens
DescribeReplicationTaskIndividualAssessmentsResponse
DescribeReplicationTaskIndividualAssessmentsResponse
(Maybe [ReplicationTaskIndividualAssessment])
(Maybe [ReplicationTaskIndividualAssessment])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeReplicationTaskIndividualAssessmentsResponse' {Maybe [ReplicationTaskIndividualAssessment]
replicationTaskIndividualAssessments :: Maybe [ReplicationTaskIndividualAssessment]
$sel:replicationTaskIndividualAssessments:DescribeReplicationTaskIndividualAssessmentsResponse' :: DescribeReplicationTaskIndividualAssessmentsResponse
-> Maybe [ReplicationTaskIndividualAssessment]
replicationTaskIndividualAssessments} -> Maybe [ReplicationTaskIndividualAssessment]
replicationTaskIndividualAssessments) (\s :: DescribeReplicationTaskIndividualAssessmentsResponse
s@DescribeReplicationTaskIndividualAssessmentsResponse' {} Maybe [ReplicationTaskIndividualAssessment]
a -> DescribeReplicationTaskIndividualAssessmentsResponse
s {$sel:replicationTaskIndividualAssessments:DescribeReplicationTaskIndividualAssessmentsResponse' :: Maybe [ReplicationTaskIndividualAssessment]
replicationTaskIndividualAssessments = Maybe [ReplicationTaskIndividualAssessment]
a} :: DescribeReplicationTaskIndividualAssessmentsResponse) ((Maybe [ReplicationTaskIndividualAssessment]
-> f (Maybe [ReplicationTaskIndividualAssessment]))
-> DescribeReplicationTaskIndividualAssessmentsResponse
-> f DescribeReplicationTaskIndividualAssessmentsResponse)
-> ((Maybe [ReplicationTaskIndividualAssessment]
-> f (Maybe [ReplicationTaskIndividualAssessment]))
-> Maybe [ReplicationTaskIndividualAssessment]
-> f (Maybe [ReplicationTaskIndividualAssessment]))
-> (Maybe [ReplicationTaskIndividualAssessment]
-> f (Maybe [ReplicationTaskIndividualAssessment]))
-> DescribeReplicationTaskIndividualAssessmentsResponse
-> f DescribeReplicationTaskIndividualAssessmentsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ReplicationTaskIndividualAssessment]
[ReplicationTaskIndividualAssessment]
[ReplicationTaskIndividualAssessment]
[ReplicationTaskIndividualAssessment]
-> Iso
(Maybe [ReplicationTaskIndividualAssessment])
(Maybe [ReplicationTaskIndividualAssessment])
(Maybe [ReplicationTaskIndividualAssessment])
(Maybe [ReplicationTaskIndividualAssessment])
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
[ReplicationTaskIndividualAssessment]
[ReplicationTaskIndividualAssessment]
[ReplicationTaskIndividualAssessment]
[ReplicationTaskIndividualAssessment]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeReplicationTaskIndividualAssessmentsResponse_marker :: Lens.Lens' DescribeReplicationTaskIndividualAssessmentsResponse (Prelude.Maybe Prelude.Text)
describeReplicationTaskIndividualAssessmentsResponse_marker :: (Maybe Text -> f (Maybe Text))
-> DescribeReplicationTaskIndividualAssessmentsResponse
-> f DescribeReplicationTaskIndividualAssessmentsResponse
describeReplicationTaskIndividualAssessmentsResponse_marker = (DescribeReplicationTaskIndividualAssessmentsResponse
-> Maybe Text)
-> (DescribeReplicationTaskIndividualAssessmentsResponse
-> Maybe Text
-> DescribeReplicationTaskIndividualAssessmentsResponse)
-> Lens
DescribeReplicationTaskIndividualAssessmentsResponse
DescribeReplicationTaskIndividualAssessmentsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeReplicationTaskIndividualAssessmentsResponse' {Maybe Text
marker :: Maybe Text
$sel:marker:DescribeReplicationTaskIndividualAssessmentsResponse' :: DescribeReplicationTaskIndividualAssessmentsResponse -> Maybe Text
marker} -> Maybe Text
marker) (\s :: DescribeReplicationTaskIndividualAssessmentsResponse
s@DescribeReplicationTaskIndividualAssessmentsResponse' {} Maybe Text
a -> DescribeReplicationTaskIndividualAssessmentsResponse
s {$sel:marker:DescribeReplicationTaskIndividualAssessmentsResponse' :: Maybe Text
marker = Maybe Text
a} :: DescribeReplicationTaskIndividualAssessmentsResponse)
describeReplicationTaskIndividualAssessmentsResponse_httpStatus :: Lens.Lens' DescribeReplicationTaskIndividualAssessmentsResponse Prelude.Int
describeReplicationTaskIndividualAssessmentsResponse_httpStatus :: (Int -> f Int)
-> DescribeReplicationTaskIndividualAssessmentsResponse
-> f DescribeReplicationTaskIndividualAssessmentsResponse
describeReplicationTaskIndividualAssessmentsResponse_httpStatus = (DescribeReplicationTaskIndividualAssessmentsResponse -> Int)
-> (DescribeReplicationTaskIndividualAssessmentsResponse
-> Int -> DescribeReplicationTaskIndividualAssessmentsResponse)
-> Lens
DescribeReplicationTaskIndividualAssessmentsResponse
DescribeReplicationTaskIndividualAssessmentsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeReplicationTaskIndividualAssessmentsResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeReplicationTaskIndividualAssessmentsResponse' :: DescribeReplicationTaskIndividualAssessmentsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeReplicationTaskIndividualAssessmentsResponse
s@DescribeReplicationTaskIndividualAssessmentsResponse' {} Int
a -> DescribeReplicationTaskIndividualAssessmentsResponse
s {$sel:httpStatus:DescribeReplicationTaskIndividualAssessmentsResponse' :: Int
httpStatus = Int
a} :: DescribeReplicationTaskIndividualAssessmentsResponse)
instance
Prelude.NFData
DescribeReplicationTaskIndividualAssessmentsResponse