« blib/lib/Paws/Route53Resolver/ListResolverEndpointsResponse.pm
↑ Summary
blib/lib/Paws/Route53Resolver/ListResolverQueryLogConfigAssociationsResponse.pm »
| 1 | |||
| 2 | package Paws::Route53Resolver::ListResolverQueryLogConfigAssociations; | ||
| 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 | has SortBy => (is => 'ro', isa => 'Str'); | ||
| 8 | has SortOrder => (is => 'ro', isa => 'Str'); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListResolverQueryLogConfigAssociations'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53Resolver::ListResolverQueryLogConfigAssociationsResponse'); | ||
| 14 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::Route53Resolver::ListResolverQueryLogConfigAssociations - Arguments for method ListResolverQueryLogConfigAssociations on L<Paws::Route53Resolver> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method ListResolverQueryLogConfigAssociations on the | ||
| 26 | L<Amazon Route 53 Resolver|Paws::Route53Resolver> service. Use the attributes of this class | ||
| 27 | as arguments to method ListResolverQueryLogConfigAssociations. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListResolverQueryLogConfigAssociations. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $route53resolver = Paws->service('Route53Resolver'); | ||
| 34 | my $ListResolverQueryLogConfigAssociationsResponse = | ||
| 35 | $route53resolver->ListResolverQueryLogConfigAssociations( | ||
| 36 | Filters => [ | ||
| 37 | { | ||
| 38 | Name => 'MyFilterName', # min: 1, max: 64; OPTIONAL | ||
| 39 | Values => [ | ||
| 40 | 'MyFilterValue', ... # min: 1, max: 600 | ||
| 41 | ], # OPTIONAL | ||
| 42 | }, | ||
| 43 | ... | ||
| 44 | ], # OPTIONAL | ||
| 45 | MaxResults => 1, # OPTIONAL | ||
| 46 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 47 | SortBy => 'MySortByKey', # OPTIONAL | ||
| 48 | SortOrder => 'ASCENDING', # OPTIONAL | ||
| 49 | ); | ||
| 50 | |||
| 51 | # Results: | ||
| 52 | my $NextToken = $ListResolverQueryLogConfigAssociationsResponse->NextToken; | ||
| 53 | my $ResolverQueryLogConfigAssociations = | ||
| 54 | $ListResolverQueryLogConfigAssociationsResponse | ||
| 55 | ->ResolverQueryLogConfigAssociations; | ||
| 56 | my $TotalCount = | ||
| 57 | $ListResolverQueryLogConfigAssociationsResponse->TotalCount; | ||
| 58 | my $TotalFilteredCount = | ||
| 59 | $ListResolverQueryLogConfigAssociationsResponse->TotalFilteredCount; | ||
| 60 | |||
| 61 | # Returns a L<Paws::Route53Resolver::ListResolverQueryLogConfigAssociationsResponse> object. | ||
| 62 | |||
| 63 | 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. | ||
| 64 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53resolver/ListResolverQueryLogConfigAssociations> | ||
| 65 | |||
| 66 | =head1 ATTRIBUTES | ||
| 67 | |||
| 68 | |||
| 69 | =head2 Filters => ArrayRef[L<Paws::Route53Resolver::Filter>] | ||
| 70 | |||
| 71 | An optional specification to return a subset of query logging | ||
| 72 | associations. | ||
| 73 | |||
| 74 | If you submit a second or subsequent | ||
| 75 | C<ListResolverQueryLogConfigAssociations> request and specify the | ||
| 76 | C<NextToken> parameter, you must use the same values for C<Filters>, if | ||
| 77 | any, as in the previous request. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 MaxResults => Int | ||
| 82 | |||
| 83 | The maximum number of query logging associations that you want to | ||
| 84 | return in the response to a C<ListResolverQueryLogConfigAssociations> | ||
| 85 | request. If you don't specify a value for C<MaxResults>, Resolver | ||
| 86 | returns up to 100 query logging associations. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 NextToken => Str | ||
| 91 | |||
| 92 | For the first C<ListResolverQueryLogConfigAssociations> request, omit | ||
| 93 | this value. | ||
| 94 | |||
| 95 | If there are more than C<MaxResults> query logging associations that | ||
| 96 | match the values that you specify for C<Filters>, you can submit | ||
| 97 | another C<ListResolverQueryLogConfigAssociations> request to get the | ||
| 98 | next group of associations. In the next request, specify the value of | ||
| 99 | C<NextToken> from the previous response. | ||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head2 SortBy => Str | ||
| 104 | |||
| 105 | The element that you want Resolver to sort query logging associations | ||
| 106 | by. | ||
| 107 | |||
| 108 | If you submit a second or subsequent | ||
| 109 | C<ListResolverQueryLogConfigAssociations> request and specify the | ||
| 110 | C<NextToken> parameter, you must use the same value for C<SortBy>, if | ||
| 111 | any, as in the previous request. | ||
| 112 | |||
| 113 | Valid values include the following elements: | ||
| 114 | |||
| 115 | =over | ||
| 116 | |||
| 117 | =item * | ||
| 118 | |||
| 119 | C<CreationTime>: The ID of the query logging association. | ||
| 120 | |||
| 121 | =item * | ||
| 122 | |||
| 123 | C<Error>: If the value of C<Status> is C<FAILED>, the value of C<Error> | ||
| 124 | indicates the cause: | ||
| 125 | |||
| 126 | =over | ||
| 127 | |||
| 128 | =item * | ||
| 129 | |||
| 130 | C<DESTINATION_NOT_FOUND>: The specified destination (for example, an | ||
| 131 | Amazon S3 bucket) was deleted. | ||
| 132 | |||
| 133 | =item * | ||
| 134 | |||
| 135 | C<ACCESS_DENIED>: Permissions don't allow sending logs to the | ||
| 136 | destination. | ||
| 137 | |||
| 138 | =back | ||
| 139 | |||
| 140 | If C<Status> is a value other than C<FAILED>, C<ERROR> is null. | ||
| 141 | |||
| 142 | =item * | ||
| 143 | |||
| 144 | C<Id>: The ID of the query logging association | ||
| 145 | |||
| 146 | =item * | ||
| 147 | |||
| 148 | C<ResolverQueryLogConfigId>: The ID of the query logging configuration | ||
| 149 | |||
| 150 | =item * | ||
| 151 | |||
| 152 | C<ResourceId>: The ID of the VPC that is associated with the query | ||
| 153 | logging configuration | ||
| 154 | |||
| 155 | =item * | ||
| 156 | |||
| 157 | C<Status>: The current status of the configuration. Valid values | ||
| 158 | include the following: | ||
| 159 | |||
| 160 | =over | ||
| 161 | |||
| 162 | =item * | ||
| 163 | |||
| 164 | C<CREATING>: Resolver is creating an association between an Amazon VPC | ||
| 165 | and a query logging configuration. | ||
| 166 | |||
| 167 | =item * | ||
| 168 | |||
| 169 | C<CREATED>: The association between an Amazon VPC and a query logging | ||
| 170 | configuration was successfully created. Resolver is logging queries | ||
| 171 | that originate in the specified VPC. | ||
| 172 | |||
| 173 | =item * | ||
| 174 | |||
| 175 | C<DELETING>: Resolver is deleting this query logging association. | ||
| 176 | |||
| 177 | =item * | ||
| 178 | |||
| 179 | C<FAILED>: Resolver either couldn't create or couldn't delete the query | ||
| 180 | logging association. Here are two common causes: | ||
| 181 | |||
| 182 | =over | ||
| 183 | |||
| 184 | =item * | ||
| 185 | |||
| 186 | The specified destination (for example, an Amazon S3 bucket) was | ||
| 187 | deleted. | ||
| 188 | |||
| 189 | =item * | ||
| 190 | |||
| 191 | Permissions don't allow sending logs to the destination. | ||
| 192 | |||
| 193 | =back | ||
| 194 | |||
| 195 | =back | ||
| 196 | |||
| 197 | =back | ||
| 198 | |||
| 199 | |||
| 200 | |||
| 201 | |||
| 202 | =head2 SortOrder => Str | ||
| 203 | |||
| 204 | If you specified a value for C<SortBy>, the order that you want query | ||
| 205 | logging associations to be listed in, C<ASCENDING> or C<DESCENDING>. | ||
| 206 | |||
| 207 | If you submit a second or subsequent | ||
| 208 | C<ListResolverQueryLogConfigAssociations> request and specify the | ||
| 209 | C<NextToken> parameter, you must use the same value for C<SortOrder>, | ||
| 210 | if any, as in the previous request. | ||
| 211 | |||
| 212 | Valid values are: C<"ASCENDING">, C<"DESCENDING"> | ||
| 213 | |||
| 214 | |||
| 215 | =head1 SEE ALSO | ||
| 216 | |||
| 217 | This class forms part of L<Paws>, documenting arguments for method ListResolverQueryLogConfigAssociations in L<Paws::Route53Resolver> | ||
| 218 | |||
| 219 | =head1 BUGS and CONTRIBUTIONS | ||
| 220 | |||
| 221 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 222 | |||
| 223 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 224 | |||
| 225 | =cut | ||
| 226 |