Skip to content

/AWS1/CL_R53=>LISTTRAFPOLICYINSTSBYPOLICY()

About ListTrafficPolicyInstancesByPolicy

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

After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element.

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.

Method Signature

IMPORTING

Required arguments:

IV_TRAFFICPOLICYID TYPE /AWS1/R53TRAFFICPOLICYID /AWS1/R53TRAFFICPOLICYID

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

IV_TRAFFICPOLICYVERSION TYPE /AWS1/R53TRAFFICPOLICYVERSION /AWS1/R53TRAFFICPOLICYVERSION

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.

Optional arguments:

IV_HOSTEDZONEIDMARKER TYPE /AWS1/R53RESOURCEID /AWS1/R53RESOURCEID

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.

IV_TRAFPOLICYINSTNAMEMARKER TYPE /AWS1/R53DNSNAME /AWS1/R53DNSNAME

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.

IV_TRAFPOLICYINSTTYPEMARKER TYPE /AWS1/R53RRTYPE /AWS1/R53RRTYPE

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.

IV_MAXITEMS TYPE /AWS1/R53INTEGER /AWS1/R53INTEGER

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_R53LSTTRFPLYINSTSBY03 /AWS1/CL_R53LSTTRFPLYINSTSBY03