« blib/lib/Paws/Route53Resolver/ListResolverQueryLogConfigAssociationsResponse.pm
↑ Summary
blib/lib/Paws/Route53Resolver/ListResolverQueryLogConfigsResponse.pm »
| 1 | |||
| 2 | package Paws::Route53Resolver::ListResolverQueryLogConfigs; | ||
| 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 => 'ListResolverQueryLogConfigs'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53Resolver::ListResolverQueryLogConfigsResponse'); | ||
| 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::ListResolverQueryLogConfigs - Arguments for method ListResolverQueryLogConfigs on L<Paws::Route53Resolver> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method ListResolverQueryLogConfigs on the | ||
| 26 | L<Amazon Route 53 Resolver|Paws::Route53Resolver> service. Use the attributes of this class | ||
| 27 | as arguments to method ListResolverQueryLogConfigs. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListResolverQueryLogConfigs. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $route53resolver = Paws->service('Route53Resolver'); | ||
| 34 | my $ListResolverQueryLogConfigsResponse = | ||
| 35 | $route53resolver->ListResolverQueryLogConfigs( | ||
| 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 = $ListResolverQueryLogConfigsResponse->NextToken; | ||
| 53 | my $ResolverQueryLogConfigs = | ||
| 54 | $ListResolverQueryLogConfigsResponse->ResolverQueryLogConfigs; | ||
| 55 | my $TotalCount = $ListResolverQueryLogConfigsResponse->TotalCount; | ||
| 56 | my $TotalFilteredCount = | ||
| 57 | $ListResolverQueryLogConfigsResponse->TotalFilteredCount; | ||
| 58 | |||
| 59 | # Returns a L<Paws::Route53Resolver::ListResolverQueryLogConfigsResponse> 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/route53resolver/ListResolverQueryLogConfigs> | ||
| 63 | |||
| 64 | =head1 ATTRIBUTES | ||
| 65 | |||
| 66 | |||
| 67 | =head2 Filters => ArrayRef[L<Paws::Route53Resolver::Filter>] | ||
| 68 | |||
| 69 | An optional specification to return a subset of query logging | ||
| 70 | configurations. | ||
| 71 | |||
| 72 | If you submit a second or subsequent C<ListResolverQueryLogConfigs> | ||
| 73 | request and specify the C<NextToken> parameter, you must use the same | ||
| 74 | values for C<Filters>, if any, as in the previous request. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head2 MaxResults => Int | ||
| 79 | |||
| 80 | The maximum number of query logging configurations that you want to | ||
| 81 | return in the response to a C<ListResolverQueryLogConfigs> request. If | ||
| 82 | you don't specify a value for C<MaxResults>, Resolver returns up to 100 | ||
| 83 | query logging configurations. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head2 NextToken => Str | ||
| 88 | |||
| 89 | For the first C<ListResolverQueryLogConfigs> request, omit this value. | ||
| 90 | |||
| 91 | If there are more than C<MaxResults> query logging configurations that | ||
| 92 | match the values that you specify for C<Filters>, you can submit | ||
| 93 | another C<ListResolverQueryLogConfigs> request to get the next group of | ||
| 94 | configurations. In the next request, specify the value of C<NextToken> | ||
| 95 | from the previous response. | ||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | =head2 SortBy => Str | ||
| 100 | |||
| 101 | The element that you want Resolver to sort query logging configurations | ||
| 102 | by. | ||
| 103 | |||
| 104 | If you submit a second or subsequent C<ListResolverQueryLogConfigs> | ||
| 105 | request and specify the C<NextToken> parameter, you must use the same | ||
| 106 | value for C<SortBy>, if any, as in the previous request. | ||
| 107 | |||
| 108 | Valid values include the following elements: | ||
| 109 | |||
| 110 | =over | ||
| 111 | |||
| 112 | =item * | ||
| 113 | |||
| 114 | C<Arn>: The ARN of the query logging configuration | ||
| 115 | |||
| 116 | =item * | ||
| 117 | |||
| 118 | C<AssociationCount>: The number of VPCs that are associated with the | ||
| 119 | specified configuration | ||
| 120 | |||
| 121 | =item * | ||
| 122 | |||
| 123 | C<CreationTime>: The date and time that Resolver returned when the | ||
| 124 | configuration was created | ||
| 125 | |||
| 126 | =item * | ||
| 127 | |||
| 128 | C<CreatorRequestId>: The value that was specified for | ||
| 129 | C<CreatorRequestId> when the configuration was created | ||
| 130 | |||
| 131 | =item * | ||
| 132 | |||
| 133 | C<DestinationArn>: The location that logs are sent to | ||
| 134 | |||
| 135 | =item * | ||
| 136 | |||
| 137 | C<Id>: The ID of the configuration | ||
| 138 | |||
| 139 | =item * | ||
| 140 | |||
| 141 | C<Name>: The name of the configuration | ||
| 142 | |||
| 143 | =item * | ||
| 144 | |||
| 145 | C<OwnerId>: The AWS account number of the account that created the | ||
| 146 | configuration | ||
| 147 | |||
| 148 | =item * | ||
| 149 | |||
| 150 | C<ShareStatus>: Whether the configuration is shared with other AWS | ||
| 151 | accounts or shared with the current account by another AWS account. | ||
| 152 | Sharing is configured through AWS Resource Access Manager (AWS RAM). | ||
| 153 | |||
| 154 | =item * | ||
| 155 | |||
| 156 | C<Status>: The current status of the configuration. Valid values | ||
| 157 | include the following: | ||
| 158 | |||
| 159 | =over | ||
| 160 | |||
| 161 | =item * | ||
| 162 | |||
| 163 | C<CREATING>: Resolver is creating the query logging configuration. | ||
| 164 | |||
| 165 | =item * | ||
| 166 | |||
| 167 | C<CREATED>: The query logging configuration was successfully created. | ||
| 168 | Resolver is logging queries that originate in the specified VPC. | ||
| 169 | |||
| 170 | =item * | ||
| 171 | |||
| 172 | C<DELETING>: Resolver is deleting this query logging configuration. | ||
| 173 | |||
| 174 | =item * | ||
| 175 | |||
| 176 | C<FAILED>: Resolver either couldn't create or couldn't delete the query | ||
| 177 | logging configuration. Here are two common causes: | ||
| 178 | |||
| 179 | =over | ||
| 180 | |||
| 181 | =item * | ||
| 182 | |||
| 183 | The specified destination (for example, an Amazon S3 bucket) was | ||
| 184 | deleted. | ||
| 185 | |||
| 186 | =item * | ||
| 187 | |||
| 188 | Permissions don't allow sending logs to the destination. | ||
| 189 | |||
| 190 | =back | ||
| 191 | |||
| 192 | =back | ||
| 193 | |||
| 194 | =back | ||
| 195 | |||
| 196 | |||
| 197 | |||
| 198 | |||
| 199 | =head2 SortOrder => Str | ||
| 200 | |||
| 201 | If you specified a value for C<SortBy>, the order that you want query | ||
| 202 | logging configurations to be listed in, C<ASCENDING> or C<DESCENDING>. | ||
| 203 | |||
| 204 | If you submit a second or subsequent C<ListResolverQueryLogConfigs> | ||
| 205 | request and specify the C<NextToken> parameter, you must use the same | ||
| 206 | value for C<SortOrder>, if any, as in the previous request. | ||
| 207 | |||
| 208 | Valid values are: C<"ASCENDING">, C<"DESCENDING"> | ||
| 209 | |||
| 210 | |||
| 211 | =head1 SEE ALSO | ||
| 212 | |||
| 213 | This class forms part of L<Paws>, documenting arguments for method ListResolverQueryLogConfigs in L<Paws::Route53Resolver> | ||
| 214 | |||
| 215 | =head1 BUGS and CONTRIBUTIONS | ||
| 216 | |||
| 217 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 218 | |||
| 219 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 220 | |||
| 221 | =cut | ||
| 222 |