amazonka-route53-1.6.1: Amazon Route 53 SDK.

Copyright(c) 2013-2018 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.ListTrafficPolicyInstancesByPolicy

Contents

Description

Gets information about the traffic policy instances that you created by using a specify traffic policy version.

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

listTrafficPolicyInstancesByPolicy Source #

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

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

  • ltpibpTrafficPolicyInstanceTypeMarker - If the value of IsTruncated in the previous response was true , you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request. For the value of trafficpolicyinstancetype , specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request. If the value of IsTruncated in the previous response was false , there are no more traffic policy instances to get.
  • ltpibpMaxItems - 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.
  • ltpibpHostedZoneIdMarker - If the value of IsTruncated in the previous response was true , you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request. For the value of hostedzoneid , specify the value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the first traffic policy instance that Amazon Route 53 will return if you submit another request. If the value of IsTruncated in the previous response was false , there are no more traffic policy instances to get.
  • ltpibpTrafficPolicyInstanceNameMarker - If the value of IsTruncated in the previous response was true , you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy 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 that Amazon Route 53 will return if you submit another request. If the value of IsTruncated in the previous response was false , there are no more traffic policy instances to get.
  • ltpibpTrafficPolicyId - The ID of the traffic policy for which you want to list traffic policy instances.
  • ltpibpTrafficPolicyVersion - The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by TrafficPolicyId .

data ListTrafficPolicyInstancesByPolicy Source #

A complex type that contains the information about the request to list your traffic policy instances.

See: listTrafficPolicyInstancesByPolicy smart constructor.

Instances
Eq ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

Data ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

Methods

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

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

toConstr :: ListTrafficPolicyInstancesByPolicy -> Constr #

dataTypeOf :: ListTrafficPolicyInstancesByPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

Show ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

Generic ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

Associated Types

type Rep ListTrafficPolicyInstancesByPolicy :: Type -> Type #

Hashable ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

AWSRequest ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

ToHeaders ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

ToPath ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

ToQuery ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

NFData ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

type Rep ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

type Rep ListTrafficPolicyInstancesByPolicy = D1 (MetaData "ListTrafficPolicyInstancesByPolicy" "Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "ListTrafficPolicyInstancesByPolicy'" PrefixI True) ((S1 (MetaSel (Just "_ltpibpTrafficPolicyInstanceTypeMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RecordType)) :*: (S1 (MetaSel (Just "_ltpibpMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltpibpHostedZoneIdMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourceId)))) :*: (S1 (MetaSel (Just "_ltpibpTrafficPolicyInstanceNameMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltpibpTrafficPolicyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ltpibpTrafficPolicyVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat)))))
type Rs ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

Request Lenses

ltpibpTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe RecordType) Source #

If the value of IsTruncated in the previous response was true , you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request. For the value of trafficpolicyinstancetype , specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request. If the value of IsTruncated in the previous response was false , there are no more traffic policy instances to get.

ltpibpMaxItems :: Lens' ListTrafficPolicyInstancesByPolicy (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.

ltpibpHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe ResourceId) Source #

If the value of IsTruncated in the previous response was true , you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request. For the value of hostedzoneid , specify the value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the first traffic policy instance that Amazon Route 53 will return if you submit another request. If the value of IsTruncated in the previous response was false , there are no more traffic policy instances to get.

ltpibpTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe Text) Source #

If the value of IsTruncated in the previous response was true , you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy 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 that Amazon Route 53 will return if you submit another request. If the value of IsTruncated in the previous response was false , there are no more traffic policy instances to get.

ltpibpTrafficPolicyId :: Lens' ListTrafficPolicyInstancesByPolicy Text Source #

The ID of the traffic policy for which you want to list traffic policy instances.

ltpibpTrafficPolicyVersion :: Lens' ListTrafficPolicyInstancesByPolicy Natural Source #

The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by TrafficPolicyId .

Destructuring the Response

listTrafficPolicyInstancesByPolicyResponse Source #

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

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

  • ltpibprsTrafficPolicyInstanceTypeMarker - 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 MaxItems traffic policy instances.
  • ltpibprsHostedZoneIdMarker - If IsTruncated is true , HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances.
  • ltpibprsTrafficPolicyInstanceNameMarker - If IsTruncated is true , TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.
  • ltpibprsResponseStatus - -- | The response status code.
  • ltpibprsTrafficPolicyInstances - A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.
  • ltpibprsIsTruncated - 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 calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker , TrafficPolicyInstanceNameMarker , and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.
  • ltpibprsMaxItems - The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced the current response.

data ListTrafficPolicyInstancesByPolicyResponse Source #

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

See: listTrafficPolicyInstancesByPolicyResponse smart constructor.

Instances
Eq ListTrafficPolicyInstancesByPolicyResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

Data ListTrafficPolicyInstancesByPolicyResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

Methods

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

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

toConstr :: ListTrafficPolicyInstancesByPolicyResponse -> Constr #

dataTypeOf :: ListTrafficPolicyInstancesByPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTrafficPolicyInstancesByPolicyResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

Show ListTrafficPolicyInstancesByPolicyResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

Generic ListTrafficPolicyInstancesByPolicyResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

NFData ListTrafficPolicyInstancesByPolicyResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

type Rep ListTrafficPolicyInstancesByPolicyResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

type Rep ListTrafficPolicyInstancesByPolicyResponse = D1 (MetaData "ListTrafficPolicyInstancesByPolicyResponse" "Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "ListTrafficPolicyInstancesByPolicyResponse'" PrefixI True) ((S1 (MetaSel (Just "_ltpibprsTrafficPolicyInstanceTypeMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RecordType)) :*: (S1 (MetaSel (Just "_ltpibprsHostedZoneIdMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourceId)) :*: S1 (MetaSel (Just "_ltpibprsTrafficPolicyInstanceNameMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ltpibprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_ltpibprsTrafficPolicyInstances") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [TrafficPolicyInstance])) :*: (S1 (MetaSel (Just "_ltpibprsIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "_ltpibprsMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

Response Lenses

ltpibprsTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (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 MaxItems traffic policy instances.

ltpibprsHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (Maybe ResourceId) Source #

If IsTruncated is true , HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances.

ltpibprsTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (Maybe Text) Source #

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

ltpibprsTrafficPolicyInstances :: Lens' ListTrafficPolicyInstancesByPolicyResponse [TrafficPolicyInstance] Source #

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

ltpibprsIsTruncated :: Lens' ListTrafficPolicyInstancesByPolicyResponse 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 calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker , TrafficPolicyInstanceNameMarker , and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

ltpibprsMaxItems :: Lens' ListTrafficPolicyInstancesByPolicyResponse Text Source #

The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced the current response.