« blib/lib/Paws/Route53Resolver/ListResolverRuleAssociationsResponse.pm
↑ Summary
blib/lib/Paws/Route53Resolver/ListResolverRulesResponse.pm »
| 1 | |||
| 2 | package Paws::Route53Resolver::ListResolverRules; | ||
| 3 | use Moose; | ||
| 4 | has Filters => (is => 'ro', isa => 'ArrayRef[Paws::Route53Resolver::Filter]'); | ||
| 5 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 6 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListResolverRules'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53Resolver::ListResolverRulesResponse'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Route53Resolver::ListResolverRules - Arguments for method ListResolverRules on L<Paws::Route53Resolver> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method ListResolverRules on the | ||
| 24 | L<Amazon Route 53 Resolver|Paws::Route53Resolver> service. Use the attributes of this class | ||
| 25 | as arguments to method ListResolverRules. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListResolverRules. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $route53resolver = Paws->service('Route53Resolver'); | ||
| 32 | my $ListResolverRulesResponse = $route53resolver->ListResolverRules( | ||
| 33 | Filters => [ | ||
| 34 | { | ||
| 35 | Name => 'MyFilterName', # min: 1, max: 64; OPTIONAL | ||
| 36 | Values => [ | ||
| 37 | 'MyFilterValue', ... # min: 1, max: 600 | ||
| 38 | ], # OPTIONAL | ||
| 39 | }, | ||
| 40 | ... | ||
| 41 | ], # OPTIONAL | ||
| 42 | MaxResults => 1, # OPTIONAL | ||
| 43 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 44 | ); | ||
| 45 | |||
| 46 | # Results: | ||
| 47 | my $MaxResults = $ListResolverRulesResponse->MaxResults; | ||
| 48 | my $NextToken = $ListResolverRulesResponse->NextToken; | ||
| 49 | my $ResolverRules = $ListResolverRulesResponse->ResolverRules; | ||
| 50 | |||
| 51 | # Returns a L<Paws::Route53Resolver::ListResolverRulesResponse> object. | ||
| 52 | |||
| 53 | 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. | ||
| 54 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53resolver/ListResolverRules> | ||
| 55 | |||
| 56 | =head1 ATTRIBUTES | ||
| 57 | |||
| 58 | |||
| 59 | =head2 Filters => ArrayRef[L<Paws::Route53Resolver::Filter>] | ||
| 60 | |||
| 61 | An optional specification to return a subset of Resolver rules, such as | ||
| 62 | all Resolver rules that are associated with the same Resolver endpoint. | ||
| 63 | |||
| 64 | If you submit a second or subsequent C<ListResolverRules> request and | ||
| 65 | specify the C<NextToken> parameter, you must use the same values for | ||
| 66 | C<Filters>, if any, as in the previous request. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 MaxResults => Int | ||
| 71 | |||
| 72 | The maximum number of Resolver rules that you want to return in the | ||
| 73 | response to a C<ListResolverRules> request. If you don't specify a | ||
| 74 | value for C<MaxResults>, Resolver returns up to 100 Resolver rules. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head2 NextToken => Str | ||
| 79 | |||
| 80 | For the first C<ListResolverRules> request, omit this value. | ||
| 81 | |||
| 82 | If you have more than C<MaxResults> Resolver rules, you can submit | ||
| 83 | another C<ListResolverRules> request to get the next group of Resolver | ||
| 84 | rules. In the next request, specify the value of C<NextToken> from the | ||
| 85 | previous response. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head1 SEE ALSO | ||
| 91 | |||
| 92 | This class forms part of L<Paws>, documenting arguments for method ListResolverRules in L<Paws::Route53Resolver> | ||
| 93 | |||
| 94 | =head1 BUGS and CONTRIBUTIONS | ||
| 95 | |||
| 96 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 97 | |||
| 98 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 99 | |||
| 100 | =cut | ||
| 101 |