{-# 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.GlobalAccelerator.AllowCustomRoutingTraffic
(
AllowCustomRoutingTraffic (..),
newAllowCustomRoutingTraffic,
allowCustomRoutingTraffic_destinationAddresses,
allowCustomRoutingTraffic_destinationPorts,
allowCustomRoutingTraffic_allowAllTrafficToEndpoint,
allowCustomRoutingTraffic_endpointGroupArn,
allowCustomRoutingTraffic_endpointId,
AllowCustomRoutingTrafficResponse (..),
newAllowCustomRoutingTrafficResponse,
)
where
import qualified Amazonka.Core as Core
import Amazonka.GlobalAccelerator.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 AllowCustomRoutingTraffic = AllowCustomRoutingTraffic'
{
AllowCustomRoutingTraffic -> Maybe [Text]
destinationAddresses :: Prelude.Maybe [Prelude.Text],
AllowCustomRoutingTraffic -> Maybe [Natural]
destinationPorts :: Prelude.Maybe [Prelude.Natural],
AllowCustomRoutingTraffic -> Maybe Bool
allowAllTrafficToEndpoint :: Prelude.Maybe Prelude.Bool,
AllowCustomRoutingTraffic -> Text
endpointGroupArn :: Prelude.Text,
AllowCustomRoutingTraffic -> Text
endpointId :: Prelude.Text
}
deriving (AllowCustomRoutingTraffic -> AllowCustomRoutingTraffic -> Bool
(AllowCustomRoutingTraffic -> AllowCustomRoutingTraffic -> Bool)
-> (AllowCustomRoutingTraffic -> AllowCustomRoutingTraffic -> Bool)
-> Eq AllowCustomRoutingTraffic
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AllowCustomRoutingTraffic -> AllowCustomRoutingTraffic -> Bool
$c/= :: AllowCustomRoutingTraffic -> AllowCustomRoutingTraffic -> Bool
== :: AllowCustomRoutingTraffic -> AllowCustomRoutingTraffic -> Bool
$c== :: AllowCustomRoutingTraffic -> AllowCustomRoutingTraffic -> Bool
Prelude.Eq, ReadPrec [AllowCustomRoutingTraffic]
ReadPrec AllowCustomRoutingTraffic
Int -> ReadS AllowCustomRoutingTraffic
ReadS [AllowCustomRoutingTraffic]
(Int -> ReadS AllowCustomRoutingTraffic)
-> ReadS [AllowCustomRoutingTraffic]
-> ReadPrec AllowCustomRoutingTraffic
-> ReadPrec [AllowCustomRoutingTraffic]
-> Read AllowCustomRoutingTraffic
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AllowCustomRoutingTraffic]
$creadListPrec :: ReadPrec [AllowCustomRoutingTraffic]
readPrec :: ReadPrec AllowCustomRoutingTraffic
$creadPrec :: ReadPrec AllowCustomRoutingTraffic
readList :: ReadS [AllowCustomRoutingTraffic]
$creadList :: ReadS [AllowCustomRoutingTraffic]
readsPrec :: Int -> ReadS AllowCustomRoutingTraffic
$creadsPrec :: Int -> ReadS AllowCustomRoutingTraffic
Prelude.Read, Int -> AllowCustomRoutingTraffic -> ShowS
[AllowCustomRoutingTraffic] -> ShowS
AllowCustomRoutingTraffic -> String
(Int -> AllowCustomRoutingTraffic -> ShowS)
-> (AllowCustomRoutingTraffic -> String)
-> ([AllowCustomRoutingTraffic] -> ShowS)
-> Show AllowCustomRoutingTraffic
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AllowCustomRoutingTraffic] -> ShowS
$cshowList :: [AllowCustomRoutingTraffic] -> ShowS
show :: AllowCustomRoutingTraffic -> String
$cshow :: AllowCustomRoutingTraffic -> String
showsPrec :: Int -> AllowCustomRoutingTraffic -> ShowS
$cshowsPrec :: Int -> AllowCustomRoutingTraffic -> ShowS
Prelude.Show, (forall x.
AllowCustomRoutingTraffic -> Rep AllowCustomRoutingTraffic x)
-> (forall x.
Rep AllowCustomRoutingTraffic x -> AllowCustomRoutingTraffic)
-> Generic AllowCustomRoutingTraffic
forall x.
Rep AllowCustomRoutingTraffic x -> AllowCustomRoutingTraffic
forall x.
AllowCustomRoutingTraffic -> Rep AllowCustomRoutingTraffic x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AllowCustomRoutingTraffic x -> AllowCustomRoutingTraffic
$cfrom :: forall x.
AllowCustomRoutingTraffic -> Rep AllowCustomRoutingTraffic x
Prelude.Generic)
newAllowCustomRoutingTraffic ::
Prelude.Text ->
Prelude.Text ->
AllowCustomRoutingTraffic
newAllowCustomRoutingTraffic :: Text -> Text -> AllowCustomRoutingTraffic
newAllowCustomRoutingTraffic
Text
pEndpointGroupArn_
Text
pEndpointId_ =
AllowCustomRoutingTraffic' :: Maybe [Text]
-> Maybe [Natural]
-> Maybe Bool
-> Text
-> Text
-> AllowCustomRoutingTraffic
AllowCustomRoutingTraffic'
{ $sel:destinationAddresses:AllowCustomRoutingTraffic' :: Maybe [Text]
destinationAddresses =
Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:destinationPorts:AllowCustomRoutingTraffic' :: Maybe [Natural]
destinationPorts = Maybe [Natural]
forall a. Maybe a
Prelude.Nothing,
$sel:allowAllTrafficToEndpoint:AllowCustomRoutingTraffic' :: Maybe Bool
allowAllTrafficToEndpoint = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:endpointGroupArn:AllowCustomRoutingTraffic' :: Text
endpointGroupArn = Text
pEndpointGroupArn_,
$sel:endpointId:AllowCustomRoutingTraffic' :: Text
endpointId = Text
pEndpointId_
}
allowCustomRoutingTraffic_destinationAddresses :: Lens.Lens' AllowCustomRoutingTraffic (Prelude.Maybe [Prelude.Text])
allowCustomRoutingTraffic_destinationAddresses :: (Maybe [Text] -> f (Maybe [Text]))
-> AllowCustomRoutingTraffic -> f AllowCustomRoutingTraffic
allowCustomRoutingTraffic_destinationAddresses = (AllowCustomRoutingTraffic -> Maybe [Text])
-> (AllowCustomRoutingTraffic
-> Maybe [Text] -> AllowCustomRoutingTraffic)
-> Lens
AllowCustomRoutingTraffic
AllowCustomRoutingTraffic
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AllowCustomRoutingTraffic' {Maybe [Text]
destinationAddresses :: Maybe [Text]
$sel:destinationAddresses:AllowCustomRoutingTraffic' :: AllowCustomRoutingTraffic -> Maybe [Text]
destinationAddresses} -> Maybe [Text]
destinationAddresses) (\s :: AllowCustomRoutingTraffic
s@AllowCustomRoutingTraffic' {} Maybe [Text]
a -> AllowCustomRoutingTraffic
s {$sel:destinationAddresses:AllowCustomRoutingTraffic' :: Maybe [Text]
destinationAddresses = Maybe [Text]
a} :: AllowCustomRoutingTraffic) ((Maybe [Text] -> f (Maybe [Text]))
-> AllowCustomRoutingTraffic -> f AllowCustomRoutingTraffic)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> AllowCustomRoutingTraffic
-> f AllowCustomRoutingTraffic
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
allowCustomRoutingTraffic_destinationPorts :: Lens.Lens' AllowCustomRoutingTraffic (Prelude.Maybe [Prelude.Natural])
allowCustomRoutingTraffic_destinationPorts :: (Maybe [Natural] -> f (Maybe [Natural]))
-> AllowCustomRoutingTraffic -> f AllowCustomRoutingTraffic
allowCustomRoutingTraffic_destinationPorts = (AllowCustomRoutingTraffic -> Maybe [Natural])
-> (AllowCustomRoutingTraffic
-> Maybe [Natural] -> AllowCustomRoutingTraffic)
-> Lens
AllowCustomRoutingTraffic
AllowCustomRoutingTraffic
(Maybe [Natural])
(Maybe [Natural])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AllowCustomRoutingTraffic' {Maybe [Natural]
destinationPorts :: Maybe [Natural]
$sel:destinationPorts:AllowCustomRoutingTraffic' :: AllowCustomRoutingTraffic -> Maybe [Natural]
destinationPorts} -> Maybe [Natural]
destinationPorts) (\s :: AllowCustomRoutingTraffic
s@AllowCustomRoutingTraffic' {} Maybe [Natural]
a -> AllowCustomRoutingTraffic
s {$sel:destinationPorts:AllowCustomRoutingTraffic' :: Maybe [Natural]
destinationPorts = Maybe [Natural]
a} :: AllowCustomRoutingTraffic) ((Maybe [Natural] -> f (Maybe [Natural]))
-> AllowCustomRoutingTraffic -> f AllowCustomRoutingTraffic)
-> ((Maybe [Natural] -> f (Maybe [Natural]))
-> Maybe [Natural] -> f (Maybe [Natural]))
-> (Maybe [Natural] -> f (Maybe [Natural]))
-> AllowCustomRoutingTraffic
-> f AllowCustomRoutingTraffic
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Natural] [Natural] [Natural] [Natural]
-> Iso
(Maybe [Natural])
(Maybe [Natural])
(Maybe [Natural])
(Maybe [Natural])
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 [Natural] [Natural] [Natural] [Natural]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
allowCustomRoutingTraffic_allowAllTrafficToEndpoint :: Lens.Lens' AllowCustomRoutingTraffic (Prelude.Maybe Prelude.Bool)
allowCustomRoutingTraffic_allowAllTrafficToEndpoint :: (Maybe Bool -> f (Maybe Bool))
-> AllowCustomRoutingTraffic -> f AllowCustomRoutingTraffic
allowCustomRoutingTraffic_allowAllTrafficToEndpoint = (AllowCustomRoutingTraffic -> Maybe Bool)
-> (AllowCustomRoutingTraffic
-> Maybe Bool -> AllowCustomRoutingTraffic)
-> Lens
AllowCustomRoutingTraffic
AllowCustomRoutingTraffic
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AllowCustomRoutingTraffic' {Maybe Bool
allowAllTrafficToEndpoint :: Maybe Bool
$sel:allowAllTrafficToEndpoint:AllowCustomRoutingTraffic' :: AllowCustomRoutingTraffic -> Maybe Bool
allowAllTrafficToEndpoint} -> Maybe Bool
allowAllTrafficToEndpoint) (\s :: AllowCustomRoutingTraffic
s@AllowCustomRoutingTraffic' {} Maybe Bool
a -> AllowCustomRoutingTraffic
s {$sel:allowAllTrafficToEndpoint:AllowCustomRoutingTraffic' :: Maybe Bool
allowAllTrafficToEndpoint = Maybe Bool
a} :: AllowCustomRoutingTraffic)
allowCustomRoutingTraffic_endpointGroupArn :: Lens.Lens' AllowCustomRoutingTraffic Prelude.Text
allowCustomRoutingTraffic_endpointGroupArn :: (Text -> f Text)
-> AllowCustomRoutingTraffic -> f AllowCustomRoutingTraffic
allowCustomRoutingTraffic_endpointGroupArn = (AllowCustomRoutingTraffic -> Text)
-> (AllowCustomRoutingTraffic -> Text -> AllowCustomRoutingTraffic)
-> Lens
AllowCustomRoutingTraffic AllowCustomRoutingTraffic Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AllowCustomRoutingTraffic' {Text
endpointGroupArn :: Text
$sel:endpointGroupArn:AllowCustomRoutingTraffic' :: AllowCustomRoutingTraffic -> Text
endpointGroupArn} -> Text
endpointGroupArn) (\s :: AllowCustomRoutingTraffic
s@AllowCustomRoutingTraffic' {} Text
a -> AllowCustomRoutingTraffic
s {$sel:endpointGroupArn:AllowCustomRoutingTraffic' :: Text
endpointGroupArn = Text
a} :: AllowCustomRoutingTraffic)
allowCustomRoutingTraffic_endpointId :: Lens.Lens' AllowCustomRoutingTraffic Prelude.Text
allowCustomRoutingTraffic_endpointId :: (Text -> f Text)
-> AllowCustomRoutingTraffic -> f AllowCustomRoutingTraffic
allowCustomRoutingTraffic_endpointId = (AllowCustomRoutingTraffic -> Text)
-> (AllowCustomRoutingTraffic -> Text -> AllowCustomRoutingTraffic)
-> Lens
AllowCustomRoutingTraffic AllowCustomRoutingTraffic Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AllowCustomRoutingTraffic' {Text
endpointId :: Text
$sel:endpointId:AllowCustomRoutingTraffic' :: AllowCustomRoutingTraffic -> Text
endpointId} -> Text
endpointId) (\s :: AllowCustomRoutingTraffic
s@AllowCustomRoutingTraffic' {} Text
a -> AllowCustomRoutingTraffic
s {$sel:endpointId:AllowCustomRoutingTraffic' :: Text
endpointId = Text
a} :: AllowCustomRoutingTraffic)
instance Core.AWSRequest AllowCustomRoutingTraffic where
type
AWSResponse AllowCustomRoutingTraffic =
AllowCustomRoutingTrafficResponse
request :: AllowCustomRoutingTraffic -> Request AllowCustomRoutingTraffic
request = Service
-> AllowCustomRoutingTraffic -> Request AllowCustomRoutingTraffic
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy AllowCustomRoutingTraffic
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse AllowCustomRoutingTraffic)))
response =
AWSResponse AllowCustomRoutingTraffic
-> Logger
-> Service
-> Proxy AllowCustomRoutingTraffic
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse AllowCustomRoutingTraffic)))
forall (m :: * -> *) a.
MonadResource m =>
AWSResponse a
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveNull
AWSResponse AllowCustomRoutingTraffic
AllowCustomRoutingTrafficResponse
AllowCustomRoutingTrafficResponse'
instance Prelude.Hashable AllowCustomRoutingTraffic
instance Prelude.NFData AllowCustomRoutingTraffic
instance Core.ToHeaders AllowCustomRoutingTraffic where
toHeaders :: AllowCustomRoutingTraffic -> [Header]
toHeaders =
[Header] -> AllowCustomRoutingTraffic -> [Header]
forall a b. a -> b -> a
Prelude.const
( [[Header]] -> [Header]
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> [Header]
forall a. ToHeader a => HeaderName -> a -> [Header]
Core.=# ( ByteString
"GlobalAccelerator_V20180706.AllowCustomRoutingTraffic" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
HeaderName -> ByteString -> [Header]
forall a. ToHeader a => HeaderName -> a -> [Header]
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON AllowCustomRoutingTraffic where
toJSON :: AllowCustomRoutingTraffic -> Value
toJSON AllowCustomRoutingTraffic' {Maybe Bool
Maybe [Natural]
Maybe [Text]
Text
endpointId :: Text
endpointGroupArn :: Text
allowAllTrafficToEndpoint :: Maybe Bool
destinationPorts :: Maybe [Natural]
destinationAddresses :: Maybe [Text]
$sel:endpointId:AllowCustomRoutingTraffic' :: AllowCustomRoutingTraffic -> Text
$sel:endpointGroupArn:AllowCustomRoutingTraffic' :: AllowCustomRoutingTraffic -> Text
$sel:allowAllTrafficToEndpoint:AllowCustomRoutingTraffic' :: AllowCustomRoutingTraffic -> Maybe Bool
$sel:destinationPorts:AllowCustomRoutingTraffic' :: AllowCustomRoutingTraffic -> Maybe [Natural]
$sel:destinationAddresses:AllowCustomRoutingTraffic' :: AllowCustomRoutingTraffic -> Maybe [Text]
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"DestinationAddresses" 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]
destinationAddresses,
(Text
"DestinationPorts" Text -> [Natural] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
([Natural] -> Pair) -> Maybe [Natural] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Natural]
destinationPorts,
(Text
"AllowAllTrafficToEndpoint" Text -> Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Bool -> Pair) -> Maybe Bool -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Bool
allowAllTrafficToEndpoint,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"EndpointGroupArn" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
endpointGroupArn),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"EndpointId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
endpointId)
]
)
instance Core.ToPath AllowCustomRoutingTraffic where
toPath :: AllowCustomRoutingTraffic -> ByteString
toPath = ByteString -> AllowCustomRoutingTraffic -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery AllowCustomRoutingTraffic where
toQuery :: AllowCustomRoutingTraffic -> QueryString
toQuery = QueryString -> AllowCustomRoutingTraffic -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data AllowCustomRoutingTrafficResponse = AllowCustomRoutingTrafficResponse'
{
}
deriving (AllowCustomRoutingTrafficResponse
-> AllowCustomRoutingTrafficResponse -> Bool
(AllowCustomRoutingTrafficResponse
-> AllowCustomRoutingTrafficResponse -> Bool)
-> (AllowCustomRoutingTrafficResponse
-> AllowCustomRoutingTrafficResponse -> Bool)
-> Eq AllowCustomRoutingTrafficResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AllowCustomRoutingTrafficResponse
-> AllowCustomRoutingTrafficResponse -> Bool
$c/= :: AllowCustomRoutingTrafficResponse
-> AllowCustomRoutingTrafficResponse -> Bool
== :: AllowCustomRoutingTrafficResponse
-> AllowCustomRoutingTrafficResponse -> Bool
$c== :: AllowCustomRoutingTrafficResponse
-> AllowCustomRoutingTrafficResponse -> Bool
Prelude.Eq, ReadPrec [AllowCustomRoutingTrafficResponse]
ReadPrec AllowCustomRoutingTrafficResponse
Int -> ReadS AllowCustomRoutingTrafficResponse
ReadS [AllowCustomRoutingTrafficResponse]
(Int -> ReadS AllowCustomRoutingTrafficResponse)
-> ReadS [AllowCustomRoutingTrafficResponse]
-> ReadPrec AllowCustomRoutingTrafficResponse
-> ReadPrec [AllowCustomRoutingTrafficResponse]
-> Read AllowCustomRoutingTrafficResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AllowCustomRoutingTrafficResponse]
$creadListPrec :: ReadPrec [AllowCustomRoutingTrafficResponse]
readPrec :: ReadPrec AllowCustomRoutingTrafficResponse
$creadPrec :: ReadPrec AllowCustomRoutingTrafficResponse
readList :: ReadS [AllowCustomRoutingTrafficResponse]
$creadList :: ReadS [AllowCustomRoutingTrafficResponse]
readsPrec :: Int -> ReadS AllowCustomRoutingTrafficResponse
$creadsPrec :: Int -> ReadS AllowCustomRoutingTrafficResponse
Prelude.Read, Int -> AllowCustomRoutingTrafficResponse -> ShowS
[AllowCustomRoutingTrafficResponse] -> ShowS
AllowCustomRoutingTrafficResponse -> String
(Int -> AllowCustomRoutingTrafficResponse -> ShowS)
-> (AllowCustomRoutingTrafficResponse -> String)
-> ([AllowCustomRoutingTrafficResponse] -> ShowS)
-> Show AllowCustomRoutingTrafficResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AllowCustomRoutingTrafficResponse] -> ShowS
$cshowList :: [AllowCustomRoutingTrafficResponse] -> ShowS
show :: AllowCustomRoutingTrafficResponse -> String
$cshow :: AllowCustomRoutingTrafficResponse -> String
showsPrec :: Int -> AllowCustomRoutingTrafficResponse -> ShowS
$cshowsPrec :: Int -> AllowCustomRoutingTrafficResponse -> ShowS
Prelude.Show, (forall x.
AllowCustomRoutingTrafficResponse
-> Rep AllowCustomRoutingTrafficResponse x)
-> (forall x.
Rep AllowCustomRoutingTrafficResponse x
-> AllowCustomRoutingTrafficResponse)
-> Generic AllowCustomRoutingTrafficResponse
forall x.
Rep AllowCustomRoutingTrafficResponse x
-> AllowCustomRoutingTrafficResponse
forall x.
AllowCustomRoutingTrafficResponse
-> Rep AllowCustomRoutingTrafficResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AllowCustomRoutingTrafficResponse x
-> AllowCustomRoutingTrafficResponse
$cfrom :: forall x.
AllowCustomRoutingTrafficResponse
-> Rep AllowCustomRoutingTrafficResponse x
Prelude.Generic)
newAllowCustomRoutingTrafficResponse ::
AllowCustomRoutingTrafficResponse
newAllowCustomRoutingTrafficResponse :: AllowCustomRoutingTrafficResponse
newAllowCustomRoutingTrafficResponse =
AllowCustomRoutingTrafficResponse
AllowCustomRoutingTrafficResponse'
instance
Prelude.NFData
AllowCustomRoutingTrafficResponse