NAME

Paws::Route53::ListTrafficPolicyInstancesByPolicy - Arguments for method ListTrafficPolicyInstancesByPolicy on Paws::Route53

DESCRIPTION

This class represents the parameters used for calling the method ListTrafficPolicyInstancesByPolicy on the Amazon Route 53 service. Use the attributes of this class as arguments to method ListTrafficPolicyInstancesByPolicy.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListTrafficPolicyInstancesByPolicy.

SYNOPSIS

my $route53 = Paws->service('Route53');
my $ListTrafficPolicyInstancesByPolicyResponse =
  $route53->ListTrafficPolicyInstancesByPolicy(
  TrafficPolicyId                 => 'MyTrafficPolicyId',
  TrafficPolicyVersion            => 1,
  HostedZoneIdMarker              => 'MyResourceId',        # OPTIONAL
  MaxItems                        => 'MyPageMaxItems',      # OPTIONAL
  TrafficPolicyInstanceNameMarker => 'MyDNSName',           # OPTIONAL
  TrafficPolicyInstanceTypeMarker => 'SOA',                 # OPTIONAL
  );

# Results:
my $HostedZoneIdMarker =
  $ListTrafficPolicyInstancesByPolicyResponse->HostedZoneIdMarker;
my $IsTruncated = $ListTrafficPolicyInstancesByPolicyResponse->IsTruncated;
my $MaxItems    = $ListTrafficPolicyInstancesByPolicyResponse->MaxItems;
my $TrafficPolicyInstanceNameMarker =
  $ListTrafficPolicyInstancesByPolicyResponse
  ->TrafficPolicyInstanceNameMarker;
my $TrafficPolicyInstanceTypeMarker =
  $ListTrafficPolicyInstancesByPolicyResponse
  ->TrafficPolicyInstanceTypeMarker;
my $TrafficPolicyInstances =
  $ListTrafficPolicyInstancesByPolicyResponse->TrafficPolicyInstances;

# Returns a Paws::Route53::ListTrafficPolicyInstancesByPolicyResponse object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/route53/ListTrafficPolicyInstancesByPolicy

ATTRIBUTES

HostedZoneIdMarker => Str

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.

MaxItems => Str

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.

REQUIRED TrafficPolicyId => Str

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

TrafficPolicyInstanceNameMarker => Str

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.

TrafficPolicyInstanceTypeMarker => Str

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.

Valid values are: "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"

REQUIRED TrafficPolicyVersion => Int

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.

SEE ALSO

This class forms part of Paws, documenting arguments for method ListTrafficPolicyInstancesByPolicy in Paws::Route53

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues