List Traffic Policy Instances
| route53_list_traffic_policy_instances | R Documentation |
Gets information about the traffic policy instances that you created by using the current Amazon Web Services account¶
Description¶
Gets information about the traffic policy instances that you created by using the current Amazon Web Services account.
After you submit an update_traffic_policy_instance 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.
Usage¶
route53_list_traffic_policy_instances(HostedZoneIdMarker,
TrafficPolicyInstanceNameMarker, TrafficPolicyInstanceTypeMarker,
MaxItems)
Arguments¶
HostedZoneIdMarkerIf the value of
IsTruncatedin the previous response wastrue, you have more traffic policy instances. To get more traffic policy instances, submit anotherlist_traffic_policy_instancesrequest. For the value ofHostedZoneId, specify the value ofHostedZoneIdMarkerfrom the previous response, which is the hosted zone ID of the first traffic policy instance in the next group of traffic policy instances.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get.TrafficPolicyInstanceNameMarkerIf the value of
IsTruncatedin the previous response wastrue, you have more traffic policy instances. To get more traffic policy instances, submit anotherlist_traffic_policy_instancesrequest. For the value oftrafficpolicyinstancename, specify the value ofTrafficPolicyInstanceNameMarkerfrom 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
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get.TrafficPolicyInstanceTypeMarkerIf the value of
IsTruncatedin the previous response wastrue, you have more traffic policy instances. To get more traffic policy instances, submit anotherlist_traffic_policy_instancesrequest. For the value oftrafficpolicyinstancetype, specify the value ofTrafficPolicyInstanceTypeMarkerfrom 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
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get.MaxItemsThe maximum number of traffic policy instances that you want Amazon Route 53 to return in response to a
list_traffic_policy_instancesrequest. If you have more thanMaxItemstraffic policy instances, the value of theIsTruncatedelement in the response istrue, and the values ofHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerrepresent the first traffic policy instance in the next group ofMaxItemstraffic policy instances.
Value¶
A list with the following syntax:
list(
TrafficPolicyInstances = list(
list(
Id = "string",
HostedZoneId = "string",
Name = "string",
TTL = 123,
State = "string",
Message = "string",
TrafficPolicyId = "string",
TrafficPolicyVersion = 123,
TrafficPolicyType = "SOA"|"A"|"TXT"|"NS"|"CNAME"|"MX"|"NAPTR"|"PTR"|"SRV"|"SPF"|"AAAA"|"CAA"|"DS"
)
),
HostedZoneIdMarker = "string",
TrafficPolicyInstanceNameMarker = "string",
TrafficPolicyInstanceTypeMarker = "SOA"|"A"|"TXT"|"NS"|"CNAME"|"MX"|"NAPTR"|"PTR"|"SRV"|"SPF"|"AAAA"|"CAA"|"DS",
IsTruncated = TRUE|FALSE,
MaxItems = "string"
)