AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 3.5
 
Container for the parameters to the ListTrafficPolicyInstancesByHostedZone operation. Gets information about the traffic policy instances that you created in a specified hosted zone. After you submit 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.

To get information about the traffic policy instances that you created in a specified hosted zone, send a GET request to the /Route 53 API version/trafficpolicyinstance resource and include the ID of the hosted zone.

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.

The response includes four values that help you navigate from one group of MaxItems traffic policy instances to the next:

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Route53.AmazonRoute53Request
      Amazon.Route53.Model.ListTrafficPolicyInstancesByHostedZoneRequest

Namespace: Amazon.Route53.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class ListTrafficPolicyInstancesByHostedZoneRequest : AmazonRoute53Request
         IRequestEvents

The ListTrafficPolicyInstancesByHostedZoneRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property HostedZoneId System.String Gets and sets the property HostedZoneId.

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

Public Property MaxItems System.String Gets and sets the property MaxItems.

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 in the next group of MaxItems traffic policy instances.

Public Property TrafficPolicyInstanceNameMarker System.String Gets and sets the property TrafficPolicyInstanceNameMarker.

For the first request to ListTrafficPolicyInstancesByHostedZone, omit this value.

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

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

If the value of IsTruncated in the previous response was false, omit this value.

Public Property TrafficPolicyInstanceTypeMarker Amazon.Route53.RRType Gets and sets the property TrafficPolicyInstanceTypeMarker.

For the first request to ListTrafficPolicyInstancesByHostedZone, omit this value.

If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceTypeMarker is the DNS type of the first traffic policy instance in the next group of MaxItems traffic policy instances.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8