amazonka-route53-1.5.0: Amazon Route 53 SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53.GetTrafficPolicy

Contents

Description

Gets information about a specific traffic policy version.

Synopsis

Creating a Request

getTrafficPolicy Source #

Creates a value of GetTrafficPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gtpId - The ID of the traffic policy that you want to get information about.
  • gtpVersion - The version number of the traffic policy that you want to get information about.

data GetTrafficPolicy Source #

Gets information about a specific traffic policy version.

See: getTrafficPolicy smart constructor.

Instances

Eq GetTrafficPolicy Source # 
Data GetTrafficPolicy Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetTrafficPolicy -> c GetTrafficPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetTrafficPolicy #

toConstr :: GetTrafficPolicy -> Constr #

dataTypeOf :: GetTrafficPolicy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetTrafficPolicy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetTrafficPolicy) #

gmapT :: (forall b. Data b => b -> b) -> GetTrafficPolicy -> GetTrafficPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetTrafficPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetTrafficPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetTrafficPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetTrafficPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetTrafficPolicy -> m GetTrafficPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetTrafficPolicy -> m GetTrafficPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetTrafficPolicy -> m GetTrafficPolicy #

Read GetTrafficPolicy Source # 
Show GetTrafficPolicy Source # 
Generic GetTrafficPolicy Source # 
Hashable GetTrafficPolicy Source # 
NFData GetTrafficPolicy Source # 

Methods

rnf :: GetTrafficPolicy -> () #

AWSRequest GetTrafficPolicy Source # 
ToQuery GetTrafficPolicy Source # 
ToPath GetTrafficPolicy Source # 
ToHeaders GetTrafficPolicy Source # 
type Rep GetTrafficPolicy Source # 
type Rep GetTrafficPolicy = D1 (MetaData "GetTrafficPolicy" "Network.AWS.Route53.GetTrafficPolicy" "amazonka-route53-1.5.0-A9em4xt2RK07uc01kiXLe0" False) (C1 (MetaCons "GetTrafficPolicy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gtpId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_gtpVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat))))
type Rs GetTrafficPolicy Source # 

Request Lenses

gtpId :: Lens' GetTrafficPolicy Text Source #

The ID of the traffic policy that you want to get information about.

gtpVersion :: Lens' GetTrafficPolicy Natural Source #

The version number of the traffic policy that you want to get information about.

Destructuring the Response

getTrafficPolicyResponse Source #

Creates a value of GetTrafficPolicyResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetTrafficPolicyResponse Source #

A complex type that contains the response information for the request.

See: getTrafficPolicyResponse smart constructor.

Instances

Eq GetTrafficPolicyResponse Source # 
Data GetTrafficPolicyResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetTrafficPolicyResponse -> c GetTrafficPolicyResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetTrafficPolicyResponse #

toConstr :: GetTrafficPolicyResponse -> Constr #

dataTypeOf :: GetTrafficPolicyResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetTrafficPolicyResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetTrafficPolicyResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetTrafficPolicyResponse -> GetTrafficPolicyResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetTrafficPolicyResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetTrafficPolicyResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetTrafficPolicyResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetTrafficPolicyResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetTrafficPolicyResponse -> m GetTrafficPolicyResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetTrafficPolicyResponse -> m GetTrafficPolicyResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetTrafficPolicyResponse -> m GetTrafficPolicyResponse #

Read GetTrafficPolicyResponse Source # 
Show GetTrafficPolicyResponse Source # 
Generic GetTrafficPolicyResponse Source # 
NFData GetTrafficPolicyResponse Source # 
type Rep GetTrafficPolicyResponse Source # 
type Rep GetTrafficPolicyResponse = D1 (MetaData "GetTrafficPolicyResponse" "Network.AWS.Route53.GetTrafficPolicy" "amazonka-route53-1.5.0-A9em4xt2RK07uc01kiXLe0" False) (C1 (MetaCons "GetTrafficPolicyResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gtprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_gtprsTrafficPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TrafficPolicy))))

Response Lenses

gtprsTrafficPolicy :: Lens' GetTrafficPolicyResponse TrafficPolicy Source #

A complex type that contains settings for the specified traffic policy.