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