Skip to content

List Traffic Policies

route53_list_traffic_policies R Documentation

Gets information about the latest version for every traffic policy that is associated with the current Amazon Web Services account

Description

Gets information about the latest version for every traffic policy that is associated with the current Amazon Web Services account. Policies are listed in the order that they were created in.

For information about how of deleting a traffic policy affects the response from list_traffic_policies, see delete_traffic_policy.

Usage

route53_list_traffic_policies(TrafficPolicyIdMarker, MaxItems)

Arguments

TrafficPolicyIdMarker

(Conditional) For your first request to list_traffic_policies, don't include the TrafficPolicyIdMarker parameter.

If you have more traffic policies than the value of MaxItems, list_traffic_policies returns only the first MaxItems traffic policies. To get the next group of policies, submit another request to list_traffic_policies. For the value of TrafficPolicyIdMarker, specify the value of TrafficPolicyIdMarker that was returned in the previous response.

MaxItems

(Optional) The maximum number of traffic policies that you want Amazon Route 53 to return in response to this request. If you have more than MaxItems traffic policies, the value of IsTruncated in the response is true, and the value of TrafficPolicyIdMarker is the ID of the first traffic policy that Route 53 will return if you submit another request.

Value

A list with the following syntax:

list(
  TrafficPolicySummaries = list(
    list(
      Id = "string",
      Name = "string",
      Type = "SOA"|"A"|"TXT"|"NS"|"CNAME"|"MX"|"NAPTR"|"PTR"|"SRV"|"SPF"|"AAAA"|"CAA"|"DS",
      LatestVersion = 123,
      TrafficPolicyCount = 123
    )
  ),
  IsTruncated = TRUE|FALSE,
  TrafficPolicyIdMarker = "string",
  MaxItems = "string"
)

Request syntax

svc$list_traffic_policies(
  TrafficPolicyIdMarker = "string",
  MaxItems = "string"
)