{-# 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.Route53RecoveryControlConfig.ListAssociatedRoute53HealthChecks
(
ListAssociatedRoute53HealthChecks (..),
newListAssociatedRoute53HealthChecks,
listAssociatedRoute53HealthChecks_nextToken,
listAssociatedRoute53HealthChecks_maxResults,
listAssociatedRoute53HealthChecks_routingControlArn,
ListAssociatedRoute53HealthChecksResponse (..),
newListAssociatedRoute53HealthChecksResponse,
listAssociatedRoute53HealthChecksResponse_nextToken,
listAssociatedRoute53HealthChecksResponse_healthCheckIds,
listAssociatedRoute53HealthChecksResponse_httpStatus,
)
where
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
import Amazonka.Route53RecoveryControlConfig.Types
data ListAssociatedRoute53HealthChecks = ListAssociatedRoute53HealthChecks'
{
ListAssociatedRoute53HealthChecks -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListAssociatedRoute53HealthChecks -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListAssociatedRoute53HealthChecks -> Text
routingControlArn :: Prelude.Text
}
deriving (ListAssociatedRoute53HealthChecks
-> ListAssociatedRoute53HealthChecks -> Bool
(ListAssociatedRoute53HealthChecks
-> ListAssociatedRoute53HealthChecks -> Bool)
-> (ListAssociatedRoute53HealthChecks
-> ListAssociatedRoute53HealthChecks -> Bool)
-> Eq ListAssociatedRoute53HealthChecks
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListAssociatedRoute53HealthChecks
-> ListAssociatedRoute53HealthChecks -> Bool
$c/= :: ListAssociatedRoute53HealthChecks
-> ListAssociatedRoute53HealthChecks -> Bool
== :: ListAssociatedRoute53HealthChecks
-> ListAssociatedRoute53HealthChecks -> Bool
$c== :: ListAssociatedRoute53HealthChecks
-> ListAssociatedRoute53HealthChecks -> Bool
Prelude.Eq, ReadPrec [ListAssociatedRoute53HealthChecks]
ReadPrec ListAssociatedRoute53HealthChecks
Int -> ReadS ListAssociatedRoute53HealthChecks
ReadS [ListAssociatedRoute53HealthChecks]
(Int -> ReadS ListAssociatedRoute53HealthChecks)
-> ReadS [ListAssociatedRoute53HealthChecks]
-> ReadPrec ListAssociatedRoute53HealthChecks
-> ReadPrec [ListAssociatedRoute53HealthChecks]
-> Read ListAssociatedRoute53HealthChecks
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListAssociatedRoute53HealthChecks]
$creadListPrec :: ReadPrec [ListAssociatedRoute53HealthChecks]
readPrec :: ReadPrec ListAssociatedRoute53HealthChecks
$creadPrec :: ReadPrec ListAssociatedRoute53HealthChecks
readList :: ReadS [ListAssociatedRoute53HealthChecks]
$creadList :: ReadS [ListAssociatedRoute53HealthChecks]
readsPrec :: Int -> ReadS ListAssociatedRoute53HealthChecks
$creadsPrec :: Int -> ReadS ListAssociatedRoute53HealthChecks
Prelude.Read, Int -> ListAssociatedRoute53HealthChecks -> ShowS
[ListAssociatedRoute53HealthChecks] -> ShowS
ListAssociatedRoute53HealthChecks -> String
(Int -> ListAssociatedRoute53HealthChecks -> ShowS)
-> (ListAssociatedRoute53HealthChecks -> String)
-> ([ListAssociatedRoute53HealthChecks] -> ShowS)
-> Show ListAssociatedRoute53HealthChecks
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListAssociatedRoute53HealthChecks] -> ShowS
$cshowList :: [ListAssociatedRoute53HealthChecks] -> ShowS
show :: ListAssociatedRoute53HealthChecks -> String
$cshow :: ListAssociatedRoute53HealthChecks -> String
showsPrec :: Int -> ListAssociatedRoute53HealthChecks -> ShowS
$cshowsPrec :: Int -> ListAssociatedRoute53HealthChecks -> ShowS
Prelude.Show, (forall x.
ListAssociatedRoute53HealthChecks
-> Rep ListAssociatedRoute53HealthChecks x)
-> (forall x.
Rep ListAssociatedRoute53HealthChecks x
-> ListAssociatedRoute53HealthChecks)
-> Generic ListAssociatedRoute53HealthChecks
forall x.
Rep ListAssociatedRoute53HealthChecks x
-> ListAssociatedRoute53HealthChecks
forall x.
ListAssociatedRoute53HealthChecks
-> Rep ListAssociatedRoute53HealthChecks x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListAssociatedRoute53HealthChecks x
-> ListAssociatedRoute53HealthChecks
$cfrom :: forall x.
ListAssociatedRoute53HealthChecks
-> Rep ListAssociatedRoute53HealthChecks x
Prelude.Generic)
newListAssociatedRoute53HealthChecks ::
Prelude.Text ->
ListAssociatedRoute53HealthChecks
newListAssociatedRoute53HealthChecks :: Text -> ListAssociatedRoute53HealthChecks
newListAssociatedRoute53HealthChecks
Text
pRoutingControlArn_ =
ListAssociatedRoute53HealthChecks' :: Maybe Text
-> Maybe Natural -> Text -> ListAssociatedRoute53HealthChecks
ListAssociatedRoute53HealthChecks'
{ $sel:nextToken:ListAssociatedRoute53HealthChecks' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListAssociatedRoute53HealthChecks' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:routingControlArn:ListAssociatedRoute53HealthChecks' :: Text
routingControlArn = Text
pRoutingControlArn_
}
listAssociatedRoute53HealthChecks_nextToken :: Lens.Lens' ListAssociatedRoute53HealthChecks (Prelude.Maybe Prelude.Text)
listAssociatedRoute53HealthChecks_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListAssociatedRoute53HealthChecks
-> f ListAssociatedRoute53HealthChecks
listAssociatedRoute53HealthChecks_nextToken = (ListAssociatedRoute53HealthChecks -> Maybe Text)
-> (ListAssociatedRoute53HealthChecks
-> Maybe Text -> ListAssociatedRoute53HealthChecks)
-> Lens
ListAssociatedRoute53HealthChecks
ListAssociatedRoute53HealthChecks
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAssociatedRoute53HealthChecks' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListAssociatedRoute53HealthChecks' :: ListAssociatedRoute53HealthChecks -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListAssociatedRoute53HealthChecks
s@ListAssociatedRoute53HealthChecks' {} Maybe Text
a -> ListAssociatedRoute53HealthChecks
s {$sel:nextToken:ListAssociatedRoute53HealthChecks' :: Maybe Text
nextToken = Maybe Text
a} :: ListAssociatedRoute53HealthChecks)
listAssociatedRoute53HealthChecks_maxResults :: Lens.Lens' ListAssociatedRoute53HealthChecks (Prelude.Maybe Prelude.Natural)
listAssociatedRoute53HealthChecks_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListAssociatedRoute53HealthChecks
-> f ListAssociatedRoute53HealthChecks
listAssociatedRoute53HealthChecks_maxResults = (ListAssociatedRoute53HealthChecks -> Maybe Natural)
-> (ListAssociatedRoute53HealthChecks
-> Maybe Natural -> ListAssociatedRoute53HealthChecks)
-> Lens
ListAssociatedRoute53HealthChecks
ListAssociatedRoute53HealthChecks
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAssociatedRoute53HealthChecks' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListAssociatedRoute53HealthChecks' :: ListAssociatedRoute53HealthChecks -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListAssociatedRoute53HealthChecks
s@ListAssociatedRoute53HealthChecks' {} Maybe Natural
a -> ListAssociatedRoute53HealthChecks
s {$sel:maxResults:ListAssociatedRoute53HealthChecks' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListAssociatedRoute53HealthChecks)
listAssociatedRoute53HealthChecks_routingControlArn :: Lens.Lens' ListAssociatedRoute53HealthChecks Prelude.Text
listAssociatedRoute53HealthChecks_routingControlArn :: (Text -> f Text)
-> ListAssociatedRoute53HealthChecks
-> f ListAssociatedRoute53HealthChecks
listAssociatedRoute53HealthChecks_routingControlArn = (ListAssociatedRoute53HealthChecks -> Text)
-> (ListAssociatedRoute53HealthChecks
-> Text -> ListAssociatedRoute53HealthChecks)
-> Lens
ListAssociatedRoute53HealthChecks
ListAssociatedRoute53HealthChecks
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAssociatedRoute53HealthChecks' {Text
routingControlArn :: Text
$sel:routingControlArn:ListAssociatedRoute53HealthChecks' :: ListAssociatedRoute53HealthChecks -> Text
routingControlArn} -> Text
routingControlArn) (\s :: ListAssociatedRoute53HealthChecks
s@ListAssociatedRoute53HealthChecks' {} Text
a -> ListAssociatedRoute53HealthChecks
s {$sel:routingControlArn:ListAssociatedRoute53HealthChecks' :: Text
routingControlArn = Text
a} :: ListAssociatedRoute53HealthChecks)
instance
Core.AWSRequest
ListAssociatedRoute53HealthChecks
where
type
AWSResponse ListAssociatedRoute53HealthChecks =
ListAssociatedRoute53HealthChecksResponse
request :: ListAssociatedRoute53HealthChecks
-> Request ListAssociatedRoute53HealthChecks
request = Service
-> ListAssociatedRoute53HealthChecks
-> Request ListAssociatedRoute53HealthChecks
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy ListAssociatedRoute53HealthChecks
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse ListAssociatedRoute53HealthChecks)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListAssociatedRoute53HealthChecks))
-> Logger
-> Service
-> Proxy ListAssociatedRoute53HealthChecks
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse ListAssociatedRoute53HealthChecks)))
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] -> Int -> ListAssociatedRoute53HealthChecksResponse
ListAssociatedRoute53HealthChecksResponse'
(Maybe Text
-> Maybe [Text]
-> Int
-> ListAssociatedRoute53HealthChecksResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [Text] -> Int -> ListAssociatedRoute53HealthChecksResponse)
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
"NextToken")
Either
String
(Maybe [Text] -> Int -> ListAssociatedRoute53HealthChecksResponse)
-> Either String (Maybe [Text])
-> Either String (Int -> ListAssociatedRoute53HealthChecksResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"HealthCheckIds" Either String (Maybe (Maybe [Text]))
-> Maybe [Text] -> Either String (Maybe [Text])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
Either String (Int -> ListAssociatedRoute53HealthChecksResponse)
-> Either String Int
-> Either String ListAssociatedRoute53HealthChecksResponse
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
ListAssociatedRoute53HealthChecks
instance
Prelude.NFData
ListAssociatedRoute53HealthChecks
instance
Core.ToHeaders
ListAssociatedRoute53HealthChecks
where
toHeaders :: ListAssociatedRoute53HealthChecks -> ResponseHeaders
toHeaders =
ResponseHeaders
-> ListAssociatedRoute53HealthChecks -> 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
ListAssociatedRoute53HealthChecks
where
toPath :: ListAssociatedRoute53HealthChecks -> ByteString
toPath ListAssociatedRoute53HealthChecks' {Maybe Natural
Maybe Text
Text
routingControlArn :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:routingControlArn:ListAssociatedRoute53HealthChecks' :: ListAssociatedRoute53HealthChecks -> Text
$sel:maxResults:ListAssociatedRoute53HealthChecks' :: ListAssociatedRoute53HealthChecks -> Maybe Natural
$sel:nextToken:ListAssociatedRoute53HealthChecks' :: ListAssociatedRoute53HealthChecks -> Maybe Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/routingcontrol/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
routingControlArn,
ByteString
"/associatedRoute53HealthChecks"
]
instance
Core.ToQuery
ListAssociatedRoute53HealthChecks
where
toQuery :: ListAssociatedRoute53HealthChecks -> QueryString
toQuery ListAssociatedRoute53HealthChecks' {Maybe Natural
Maybe Text
Text
routingControlArn :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:routingControlArn:ListAssociatedRoute53HealthChecks' :: ListAssociatedRoute53HealthChecks -> Text
$sel:maxResults:ListAssociatedRoute53HealthChecks' :: ListAssociatedRoute53HealthChecks -> Maybe Natural
$sel:nextToken:ListAssociatedRoute53HealthChecks' :: ListAssociatedRoute53HealthChecks -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"NextToken" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
nextToken,
ByteString
"MaxResults" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxResults
]
data ListAssociatedRoute53HealthChecksResponse = ListAssociatedRoute53HealthChecksResponse'
{
ListAssociatedRoute53HealthChecksResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListAssociatedRoute53HealthChecksResponse -> Maybe [Text]
healthCheckIds :: Prelude.Maybe [Prelude.Text],
ListAssociatedRoute53HealthChecksResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListAssociatedRoute53HealthChecksResponse
-> ListAssociatedRoute53HealthChecksResponse -> Bool
(ListAssociatedRoute53HealthChecksResponse
-> ListAssociatedRoute53HealthChecksResponse -> Bool)
-> (ListAssociatedRoute53HealthChecksResponse
-> ListAssociatedRoute53HealthChecksResponse -> Bool)
-> Eq ListAssociatedRoute53HealthChecksResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListAssociatedRoute53HealthChecksResponse
-> ListAssociatedRoute53HealthChecksResponse -> Bool
$c/= :: ListAssociatedRoute53HealthChecksResponse
-> ListAssociatedRoute53HealthChecksResponse -> Bool
== :: ListAssociatedRoute53HealthChecksResponse
-> ListAssociatedRoute53HealthChecksResponse -> Bool
$c== :: ListAssociatedRoute53HealthChecksResponse
-> ListAssociatedRoute53HealthChecksResponse -> Bool
Prelude.Eq, ReadPrec [ListAssociatedRoute53HealthChecksResponse]
ReadPrec ListAssociatedRoute53HealthChecksResponse
Int -> ReadS ListAssociatedRoute53HealthChecksResponse
ReadS [ListAssociatedRoute53HealthChecksResponse]
(Int -> ReadS ListAssociatedRoute53HealthChecksResponse)
-> ReadS [ListAssociatedRoute53HealthChecksResponse]
-> ReadPrec ListAssociatedRoute53HealthChecksResponse
-> ReadPrec [ListAssociatedRoute53HealthChecksResponse]
-> Read ListAssociatedRoute53HealthChecksResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListAssociatedRoute53HealthChecksResponse]
$creadListPrec :: ReadPrec [ListAssociatedRoute53HealthChecksResponse]
readPrec :: ReadPrec ListAssociatedRoute53HealthChecksResponse
$creadPrec :: ReadPrec ListAssociatedRoute53HealthChecksResponse
readList :: ReadS [ListAssociatedRoute53HealthChecksResponse]
$creadList :: ReadS [ListAssociatedRoute53HealthChecksResponse]
readsPrec :: Int -> ReadS ListAssociatedRoute53HealthChecksResponse
$creadsPrec :: Int -> ReadS ListAssociatedRoute53HealthChecksResponse
Prelude.Read, Int -> ListAssociatedRoute53HealthChecksResponse -> ShowS
[ListAssociatedRoute53HealthChecksResponse] -> ShowS
ListAssociatedRoute53HealthChecksResponse -> String
(Int -> ListAssociatedRoute53HealthChecksResponse -> ShowS)
-> (ListAssociatedRoute53HealthChecksResponse -> String)
-> ([ListAssociatedRoute53HealthChecksResponse] -> ShowS)
-> Show ListAssociatedRoute53HealthChecksResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListAssociatedRoute53HealthChecksResponse] -> ShowS
$cshowList :: [ListAssociatedRoute53HealthChecksResponse] -> ShowS
show :: ListAssociatedRoute53HealthChecksResponse -> String
$cshow :: ListAssociatedRoute53HealthChecksResponse -> String
showsPrec :: Int -> ListAssociatedRoute53HealthChecksResponse -> ShowS
$cshowsPrec :: Int -> ListAssociatedRoute53HealthChecksResponse -> ShowS
Prelude.Show, (forall x.
ListAssociatedRoute53HealthChecksResponse
-> Rep ListAssociatedRoute53HealthChecksResponse x)
-> (forall x.
Rep ListAssociatedRoute53HealthChecksResponse x
-> ListAssociatedRoute53HealthChecksResponse)
-> Generic ListAssociatedRoute53HealthChecksResponse
forall x.
Rep ListAssociatedRoute53HealthChecksResponse x
-> ListAssociatedRoute53HealthChecksResponse
forall x.
ListAssociatedRoute53HealthChecksResponse
-> Rep ListAssociatedRoute53HealthChecksResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListAssociatedRoute53HealthChecksResponse x
-> ListAssociatedRoute53HealthChecksResponse
$cfrom :: forall x.
ListAssociatedRoute53HealthChecksResponse
-> Rep ListAssociatedRoute53HealthChecksResponse x
Prelude.Generic)
newListAssociatedRoute53HealthChecksResponse ::
Prelude.Int ->
ListAssociatedRoute53HealthChecksResponse
newListAssociatedRoute53HealthChecksResponse :: Int -> ListAssociatedRoute53HealthChecksResponse
newListAssociatedRoute53HealthChecksResponse
Int
pHttpStatus_ =
ListAssociatedRoute53HealthChecksResponse' :: Maybe Text
-> Maybe [Text] -> Int -> ListAssociatedRoute53HealthChecksResponse
ListAssociatedRoute53HealthChecksResponse'
{ $sel:nextToken:ListAssociatedRoute53HealthChecksResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:healthCheckIds:ListAssociatedRoute53HealthChecksResponse' :: Maybe [Text]
healthCheckIds = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListAssociatedRoute53HealthChecksResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listAssociatedRoute53HealthChecksResponse_nextToken :: Lens.Lens' ListAssociatedRoute53HealthChecksResponse (Prelude.Maybe Prelude.Text)
listAssociatedRoute53HealthChecksResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListAssociatedRoute53HealthChecksResponse
-> f ListAssociatedRoute53HealthChecksResponse
listAssociatedRoute53HealthChecksResponse_nextToken = (ListAssociatedRoute53HealthChecksResponse -> Maybe Text)
-> (ListAssociatedRoute53HealthChecksResponse
-> Maybe Text -> ListAssociatedRoute53HealthChecksResponse)
-> Lens
ListAssociatedRoute53HealthChecksResponse
ListAssociatedRoute53HealthChecksResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAssociatedRoute53HealthChecksResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListAssociatedRoute53HealthChecksResponse' :: ListAssociatedRoute53HealthChecksResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListAssociatedRoute53HealthChecksResponse
s@ListAssociatedRoute53HealthChecksResponse' {} Maybe Text
a -> ListAssociatedRoute53HealthChecksResponse
s {$sel:nextToken:ListAssociatedRoute53HealthChecksResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListAssociatedRoute53HealthChecksResponse)
listAssociatedRoute53HealthChecksResponse_healthCheckIds :: Lens.Lens' ListAssociatedRoute53HealthChecksResponse (Prelude.Maybe [Prelude.Text])
listAssociatedRoute53HealthChecksResponse_healthCheckIds :: (Maybe [Text] -> f (Maybe [Text]))
-> ListAssociatedRoute53HealthChecksResponse
-> f ListAssociatedRoute53HealthChecksResponse
listAssociatedRoute53HealthChecksResponse_healthCheckIds = (ListAssociatedRoute53HealthChecksResponse -> Maybe [Text])
-> (ListAssociatedRoute53HealthChecksResponse
-> Maybe [Text] -> ListAssociatedRoute53HealthChecksResponse)
-> Lens
ListAssociatedRoute53HealthChecksResponse
ListAssociatedRoute53HealthChecksResponse
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAssociatedRoute53HealthChecksResponse' {Maybe [Text]
healthCheckIds :: Maybe [Text]
$sel:healthCheckIds:ListAssociatedRoute53HealthChecksResponse' :: ListAssociatedRoute53HealthChecksResponse -> Maybe [Text]
healthCheckIds} -> Maybe [Text]
healthCheckIds) (\s :: ListAssociatedRoute53HealthChecksResponse
s@ListAssociatedRoute53HealthChecksResponse' {} Maybe [Text]
a -> ListAssociatedRoute53HealthChecksResponse
s {$sel:healthCheckIds:ListAssociatedRoute53HealthChecksResponse' :: Maybe [Text]
healthCheckIds = Maybe [Text]
a} :: ListAssociatedRoute53HealthChecksResponse) ((Maybe [Text] -> f (Maybe [Text]))
-> ListAssociatedRoute53HealthChecksResponse
-> f ListAssociatedRoute53HealthChecksResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> ListAssociatedRoute53HealthChecksResponse
-> f ListAssociatedRoute53HealthChecksResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listAssociatedRoute53HealthChecksResponse_httpStatus :: Lens.Lens' ListAssociatedRoute53HealthChecksResponse Prelude.Int
listAssociatedRoute53HealthChecksResponse_httpStatus :: (Int -> f Int)
-> ListAssociatedRoute53HealthChecksResponse
-> f ListAssociatedRoute53HealthChecksResponse
listAssociatedRoute53HealthChecksResponse_httpStatus = (ListAssociatedRoute53HealthChecksResponse -> Int)
-> (ListAssociatedRoute53HealthChecksResponse
-> Int -> ListAssociatedRoute53HealthChecksResponse)
-> Lens
ListAssociatedRoute53HealthChecksResponse
ListAssociatedRoute53HealthChecksResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAssociatedRoute53HealthChecksResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListAssociatedRoute53HealthChecksResponse' :: ListAssociatedRoute53HealthChecksResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListAssociatedRoute53HealthChecksResponse
s@ListAssociatedRoute53HealthChecksResponse' {} Int
a -> ListAssociatedRoute53HealthChecksResponse
s {$sel:httpStatus:ListAssociatedRoute53HealthChecksResponse' :: Int
httpStatus = Int
a} :: ListAssociatedRoute53HealthChecksResponse)
instance
Prelude.NFData
ListAssociatedRoute53HealthChecksResponse