« blib/lib/Paws/Route53/ListTrafficPoliciesResponse.pm
↑ Summary
blib/lib/Paws/Route53/ListTrafficPolicyInstancesByHostedZone.pm »
| 1 | |||
| 2 | package Paws::Route53::ListTrafficPolicyInstances; | ||
| 3 | use Moose; | ||
| 4 | has HostedZoneIdMarker => (is => 'ro', isa => 'Str', query_name => 'hostedzoneid', traits => ['ParamInQuery']); | ||
| 5 | has MaxItems => (is => 'ro', isa => 'Str', query_name => 'maxitems', traits => ['ParamInQuery']); | ||
| 6 | has TrafficPolicyInstanceNameMarker => (is => 'ro', isa => 'Str', query_name => 'trafficpolicyinstancename', traits => ['ParamInQuery']); | ||
| 7 | has TrafficPolicyInstanceTypeMarker => (is => 'ro', isa => 'Str', query_name => 'trafficpolicyinstancetype', traits => ['ParamInQuery']); | ||
| 8 | |||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListTrafficPolicyInstances'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/trafficpolicyinstances'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::ListTrafficPolicyInstancesResponse'); | ||
| 16 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 17 | |||
| 18 | |||
| 19 | 1; | ||
| 20 | |||
| 21 | ### main pod documentation begin ### | ||
| 22 | |||
| 23 | =head1 NAME | ||
| 24 | |||
| 25 | Paws::Route53::ListTrafficPolicyInstances - Arguments for method ListTrafficPolicyInstances on L<Paws::Route53> | ||
| 26 | |||
| 27 | =head1 DESCRIPTION | ||
| 28 | |||
| 29 | This class represents the parameters used for calling the method ListTrafficPolicyInstances on the | ||
| 30 | L<Amazon Route 53|Paws::Route53> service. Use the attributes of this class | ||
| 31 | as arguments to method ListTrafficPolicyInstances. | ||
| 32 | |||
| 33 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListTrafficPolicyInstances. | ||
| 34 | |||
| 35 | =head1 SYNOPSIS | ||
| 36 | |||
| 37 | my $route53 = Paws->service('Route53'); | ||
| 38 | my $ListTrafficPolicyInstancesResponse = | ||
| 39 | $route53->ListTrafficPolicyInstances( | ||
| 40 | HostedZoneIdMarker => 'MyResourceId', # OPTIONAL | ||
| 41 | MaxItems => 'MyPageMaxItems', # OPTIONAL | ||
| 42 | TrafficPolicyInstanceNameMarker => 'MyDNSName', # OPTIONAL | ||
| 43 | TrafficPolicyInstanceTypeMarker => 'SOA', # OPTIONAL | ||
| 44 | ); | ||
| 45 | |||
| 46 | # Results: | ||
| 47 | my $HostedZoneIdMarker = | ||
| 48 | $ListTrafficPolicyInstancesResponse->HostedZoneIdMarker; | ||
| 49 | my $IsTruncated = $ListTrafficPolicyInstancesResponse->IsTruncated; | ||
| 50 | my $MaxItems = $ListTrafficPolicyInstancesResponse->MaxItems; | ||
| 51 | my $TrafficPolicyInstanceNameMarker = | ||
| 52 | $ListTrafficPolicyInstancesResponse->TrafficPolicyInstanceNameMarker; | ||
| 53 | my $TrafficPolicyInstanceTypeMarker = | ||
| 54 | $ListTrafficPolicyInstancesResponse->TrafficPolicyInstanceTypeMarker; | ||
| 55 | my $TrafficPolicyInstances = | ||
| 56 | $ListTrafficPolicyInstancesResponse->TrafficPolicyInstances; | ||
| 57 | |||
| 58 | # Returns a L<Paws::Route53::ListTrafficPolicyInstancesResponse> object. | ||
| 59 | |||
| 60 | 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. | ||
| 61 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53/ListTrafficPolicyInstances> | ||
| 62 | |||
| 63 | =head1 ATTRIBUTES | ||
| 64 | |||
| 65 | |||
| 66 | =head2 HostedZoneIdMarker => Str | ||
| 67 | |||
| 68 | If the value of C<IsTruncated> in the previous response was C<true>, | ||
| 69 | you have more traffic policy instances. To get more traffic policy | ||
| 70 | instances, submit another C<ListTrafficPolicyInstances> request. For | ||
| 71 | the value of C<HostedZoneId>, specify the value of | ||
| 72 | C<HostedZoneIdMarker> from the previous response, which is the hosted | ||
| 73 | zone ID of the first traffic policy instance in the next group of | ||
| 74 | traffic policy instances. | ||
| 75 | |||
| 76 | If the value of C<IsTruncated> in the previous response was C<false>, | ||
| 77 | there are no more traffic policy instances to get. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 MaxItems => Str | ||
| 82 | |||
| 83 | The maximum number of traffic policy instances that you want Amazon | ||
| 84 | Route 53 to return in response to a C<ListTrafficPolicyInstances> | ||
| 85 | request. If you have more than C<MaxItems> traffic policy instances, | ||
| 86 | the value of the C<IsTruncated> element in the response is C<true>, and | ||
| 87 | the values of C<HostedZoneIdMarker>, | ||
| 88 | C<TrafficPolicyInstanceNameMarker>, and | ||
| 89 | C<TrafficPolicyInstanceTypeMarker> represent the first traffic policy | ||
| 90 | instance in the next group of C<MaxItems> traffic policy instances. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head2 TrafficPolicyInstanceNameMarker => Str | ||
| 95 | |||
| 96 | If the value of C<IsTruncated> in the previous response was C<true>, | ||
| 97 | you have more traffic policy instances. To get more traffic policy | ||
| 98 | instances, submit another C<ListTrafficPolicyInstances> request. For | ||
| 99 | the value of C<trafficpolicyinstancename>, specify the value of | ||
| 100 | C<TrafficPolicyInstanceNameMarker> from the previous response, which is | ||
| 101 | the name of the first traffic policy instance in the next group of | ||
| 102 | traffic policy instances. | ||
| 103 | |||
| 104 | If the value of C<IsTruncated> in the previous response was C<false>, | ||
| 105 | there are no more traffic policy instances to get. | ||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | =head2 TrafficPolicyInstanceTypeMarker => Str | ||
| 110 | |||
| 111 | If the value of C<IsTruncated> in the previous response was C<true>, | ||
| 112 | you have more traffic policy instances. To get more traffic policy | ||
| 113 | instances, submit another C<ListTrafficPolicyInstances> request. For | ||
| 114 | the value of C<trafficpolicyinstancetype>, specify the value of | ||
| 115 | C<TrafficPolicyInstanceTypeMarker> from the previous response, which is | ||
| 116 | the type of the first traffic policy instance in the next group of | ||
| 117 | traffic policy instances. | ||
| 118 | |||
| 119 | If the value of C<IsTruncated> in the previous response was C<false>, | ||
| 120 | there are no more traffic policy instances to get. | ||
| 121 | |||
| 122 | Valid values are: C<"SOA">, C<"A">, C<"TXT">, C<"NS">, C<"CNAME">, C<"MX">, C<"NAPTR">, C<"PTR">, C<"SRV">, C<"SPF">, C<"AAAA">, C<"CAA">, C<"DS"> | ||
| 123 | |||
| 124 | |||
| 125 | =head1 SEE ALSO | ||
| 126 | |||
| 127 | This class forms part of L<Paws>, documenting arguments for method ListTrafficPolicyInstances in L<Paws::Route53> | ||
| 128 | |||
| 129 | =head1 BUGS and CONTRIBUTIONS | ||
| 130 | |||
| 131 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 132 | |||
| 133 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 134 | |||
| 135 | =cut | ||
| 136 |