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.ListTrafficPolicyInstancesByHostedZone

Contents

Description

Gets information about the traffic policy instances that you created in a specified hosted zone.

Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the MaxItems parameter to list them in groups of up to 100.

Synopsis

Creating a Request

listTrafficPolicyInstancesByHostedZone Source #

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

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

  • ltpibhzTrafficPolicyInstanceTypeMarker - If the value of IsTruncated in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancetype , specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic policy instance in the next group of traffic policy instances. If the value of IsTruncated in the previous response was false , there are no more traffic policy instances to get.
  • ltpibhzMaxItems - The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true , and the values of HostedZoneIdMarker , TrafficPolicyInstanceNameMarker , and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance that Amazon Route 53 will return if you submit another request.
  • ltpibhzTrafficPolicyInstanceNameMarker - If the value of IsTruncated in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancename , specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance in the next group of traffic policy instances. If the value of IsTruncated in the previous response was false , there are no more traffic policy instances to get.
  • ltpibhzHostedZoneId - The ID of the hosted zone that you want to list traffic policy instances for.

data ListTrafficPolicyInstancesByHostedZone Source #

A request for the traffic policy instances that you created in a specified hosted zone.

See: listTrafficPolicyInstancesByHostedZone smart constructor.

Instances

Eq ListTrafficPolicyInstancesByHostedZone Source # 
Data ListTrafficPolicyInstancesByHostedZone Source # 

Methods

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

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

toConstr :: ListTrafficPolicyInstancesByHostedZone -> Constr #

dataTypeOf :: ListTrafficPolicyInstancesByHostedZone -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTrafficPolicyInstancesByHostedZone Source # 
Show ListTrafficPolicyInstancesByHostedZone Source # 
Generic ListTrafficPolicyInstancesByHostedZone Source # 
Hashable ListTrafficPolicyInstancesByHostedZone Source # 
NFData ListTrafficPolicyInstancesByHostedZone Source # 
AWSRequest ListTrafficPolicyInstancesByHostedZone Source # 
ToQuery ListTrafficPolicyInstancesByHostedZone Source # 
ToPath ListTrafficPolicyInstancesByHostedZone Source # 
ToHeaders ListTrafficPolicyInstancesByHostedZone Source # 
type Rep ListTrafficPolicyInstancesByHostedZone Source # 
type Rep ListTrafficPolicyInstancesByHostedZone = D1 (MetaData "ListTrafficPolicyInstancesByHostedZone" "Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone" "amazonka-route53-1.5.0-A9em4xt2RK07uc01kiXLe0" False) (C1 (MetaCons "ListTrafficPolicyInstancesByHostedZone'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ltpibhzTrafficPolicyInstanceTypeMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RecordType))) (S1 (MetaSel (Just Symbol "_ltpibhzMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ltpibhzTrafficPolicyInstanceNameMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ltpibhzHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceId)))))
type Rs ListTrafficPolicyInstancesByHostedZone Source # 

Request Lenses

ltpibhzTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesByHostedZone (Maybe RecordType) Source #

If the value of IsTruncated in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancetype , specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic policy instance in the next group of traffic policy instances. If the value of IsTruncated in the previous response was false , there are no more traffic policy instances to get.

ltpibhzMaxItems :: Lens' ListTrafficPolicyInstancesByHostedZone (Maybe Text) Source #

The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true , and the values of HostedZoneIdMarker , TrafficPolicyInstanceNameMarker , and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance that Amazon Route 53 will return if you submit another request.

ltpibhzTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByHostedZone (Maybe Text) Source #

If the value of IsTruncated in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancename , specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance in the next group of traffic policy instances. If the value of IsTruncated in the previous response was false , there are no more traffic policy instances to get.

ltpibhzHostedZoneId :: Lens' ListTrafficPolicyInstancesByHostedZone ResourceId Source #

The ID of the hosted zone that you want to list traffic policy instances for.

Destructuring the Response

listTrafficPolicyInstancesByHostedZoneResponse Source #

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

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

  • ltpibhzrsTrafficPolicyInstanceTypeMarker - If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of traffic policy instances.
  • ltpibhzrsTrafficPolicyInstanceNameMarker - If IsTruncated is true , TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of traffic policy instances.
  • ltpibhzrsResponseStatus - -- | The response status code.
  • ltpibhzrsTrafficPolicyInstances - A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.
  • ltpibhzrsIsTruncated - A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by submitting another ListTrafficPolicyInstancesByHostedZone request and specifying the values of HostedZoneIdMarker , TrafficPolicyInstanceNameMarker , and TrafficPolicyInstanceTypeMarker in the corresponding request parameters.
  • ltpibhzrsMaxItems - The value that you specified for the MaxItems parameter in the ListTrafficPolicyInstancesByHostedZone request that produced the current response.

data ListTrafficPolicyInstancesByHostedZoneResponse Source #

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

See: listTrafficPolicyInstancesByHostedZoneResponse smart constructor.

Instances

Eq ListTrafficPolicyInstancesByHostedZoneResponse Source # 
Data ListTrafficPolicyInstancesByHostedZoneResponse Source # 

Methods

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

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

toConstr :: ListTrafficPolicyInstancesByHostedZoneResponse -> Constr #

dataTypeOf :: ListTrafficPolicyInstancesByHostedZoneResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTrafficPolicyInstancesByHostedZoneResponse Source # 
Show ListTrafficPolicyInstancesByHostedZoneResponse Source # 
Generic ListTrafficPolicyInstancesByHostedZoneResponse Source # 
NFData ListTrafficPolicyInstancesByHostedZoneResponse Source # 
type Rep ListTrafficPolicyInstancesByHostedZoneResponse Source # 
type Rep ListTrafficPolicyInstancesByHostedZoneResponse = D1 (MetaData "ListTrafficPolicyInstancesByHostedZoneResponse" "Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone" "amazonka-route53-1.5.0-A9em4xt2RK07uc01kiXLe0" False) (C1 (MetaCons "ListTrafficPolicyInstancesByHostedZoneResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ltpibhzrsTrafficPolicyInstanceTypeMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RecordType))) ((:*:) (S1 (MetaSel (Just Symbol "_ltpibhzrsTrafficPolicyInstanceNameMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ltpibhzrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_ltpibhzrsTrafficPolicyInstances") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [TrafficPolicyInstance])) ((:*:) (S1 (MetaSel (Just Symbol "_ltpibhzrsIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_ltpibhzrsMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))

Response Lenses

ltpibhzrsTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse (Maybe RecordType) Source #

If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of traffic policy instances.

ltpibhzrsTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse (Maybe Text) Source #

If IsTruncated is true , TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of traffic policy instances.

ltpibhzrsTrafficPolicyInstances :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse [TrafficPolicyInstance] Source #

A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

ltpibhzrsIsTruncated :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse Bool Source #

A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by submitting another ListTrafficPolicyInstancesByHostedZone request and specifying the values of HostedZoneIdMarker , TrafficPolicyInstanceNameMarker , and TrafficPolicyInstanceTypeMarker in the corresponding request parameters.

ltpibhzrsMaxItems :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse Text Source #

The value that you specified for the MaxItems parameter in the ListTrafficPolicyInstancesByHostedZone request that produced the current response.