AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
GET
request
to the /Route 53 API version/trafficpolicy
resource.
Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot
of traffic policies, you can use the maxitems
parameter to list them
in groups of up to 100.
The response includes three values that help you navigate from one group of maxitems
traffic policies to the next:
If the value of IsTruncated
in the response is true
, there
are more traffic policies associated with the current AWS account.
If IsTruncated
is false
, this response includes the last
traffic policy that is associated with the current account.
If IsTruncated
is true
, TrafficPolicyIdMarker
is the ID of the first traffic policy in the next group of MaxItems
traffic
policies. If you want to list more traffic policies, make another call to ListTrafficPolicies
,
and specify the value of the TrafficPolicyIdMarker
element from the response
in the TrafficPolicyIdMarker
request parameter.
If IsTruncated
is false
, the TrafficPolicyIdMarker
element is omitted from the response.
The value that you specified for the MaxItems
parameter in the request
that produced the current response.
Namespace: Amazon.Route53
Assembly: AWSSDK.dll
Version: (assembly version)
public abstract ListTrafficPoliciesResponse ListTrafficPolicies( ListTrafficPoliciesRequest request )
Container for the necessary parameters to execute the ListTrafficPolicies service method.
Exception | Condition |
---|---|
InvalidInputException | Some value specified in the request is invalid or the XML document is malformed. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5