NAME

Paws::Route53Resolver::ListResolverQueryLogConfigAssociations - Arguments for method ListResolverQueryLogConfigAssociations on Paws::Route53Resolver

DESCRIPTION

This class represents the parameters used for calling the method ListResolverQueryLogConfigAssociations on the Amazon Route 53 Resolver service. Use the attributes of this class as arguments to method ListResolverQueryLogConfigAssociations.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListResolverQueryLogConfigAssociations.

SYNOPSIS

my $route53resolver = Paws->service('Route53Resolver');
my $ListResolverQueryLogConfigAssociationsResponse =
  $route53resolver->ListResolverQueryLogConfigAssociations(
  Filters => [
    {
      Name   => 'MyFilterName',    # min: 1, max: 64; OPTIONAL
      Values => [
        'MyFilterValue', ...       # min: 1, max: 600
      ],    # OPTIONAL
    },
    ...
  ],    # OPTIONAL
  MaxResults => 1,                # OPTIONAL
  NextToken  => 'MyNextToken',    # OPTIONAL
  SortBy     => 'MySortByKey',    # OPTIONAL
  SortOrder  => 'ASCENDING',      # OPTIONAL
  );

# Results:
my $NextToken = $ListResolverQueryLogConfigAssociationsResponse->NextToken;
my $ResolverQueryLogConfigAssociations =
  $ListResolverQueryLogConfigAssociationsResponse
  ->ResolverQueryLogConfigAssociations;
my $TotalCount =
  $ListResolverQueryLogConfigAssociationsResponse->TotalCount;
my $TotalFilteredCount =
  $ListResolverQueryLogConfigAssociationsResponse->TotalFilteredCount;

# Returns a Paws::Route53Resolver::ListResolverQueryLogConfigAssociationsResponse object.

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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/route53resolver/ListResolverQueryLogConfigAssociations

ATTRIBUTES

Filters => ArrayRef[Paws::Route53Resolver::Filter]

An optional specification to return a subset of query logging associations.

If you submit a second or subsequent ListResolverQueryLogConfigAssociations request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.

MaxResults => Int

The maximum number of query logging associations that you want to return in the response to a ListResolverQueryLogConfigAssociations request. If you don't specify a value for MaxResults, Resolver returns up to 100 query logging associations.

NextToken => Str

For the first ListResolverQueryLogConfigAssociations request, omit this value.

If there are more than MaxResults query logging associations that match the values that you specify for Filters, you can submit another ListResolverQueryLogConfigAssociations request to get the next group of associations. In the next request, specify the value of NextToken from the previous response.

SortBy => Str

The element that you want Resolver to sort query logging associations by.

If you submit a second or subsequent ListResolverQueryLogConfigAssociations request and specify the NextToken parameter, you must use the same value for SortBy, if any, as in the previous request.

Valid values include the following elements:

  • CreationTime: The ID of the query logging association.

  • Error: If the value of Status is FAILED, the value of Error indicates the cause:

    • DESTINATION_NOT_FOUND: The specified destination (for example, an Amazon S3 bucket) was deleted.

    • ACCESS_DENIED: Permissions don't allow sending logs to the destination.

    If Status is a value other than FAILED, ERROR is null.

  • Id: The ID of the query logging association

  • ResolverQueryLogConfigId: The ID of the query logging configuration

  • ResourceId: The ID of the VPC that is associated with the query logging configuration

  • Status: The current status of the configuration. Valid values include the following:

    • CREATING: Resolver is creating an association between an Amazon VPC and a query logging configuration.

    • CREATED: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.

    • DELETING: Resolver is deleting this query logging association.

    • FAILED: Resolver either couldn't create or couldn't delete the query logging association. Here are two common causes:

      • The specified destination (for example, an Amazon S3 bucket) was deleted.

      • Permissions don't allow sending logs to the destination.

SortOrder => Str

If you specified a value for SortBy, the order that you want query logging associations to be listed in, ASCENDING or DESCENDING.

If you submit a second or subsequent ListResolverQueryLogConfigAssociations request and specify the NextToken parameter, you must use the same value for SortOrder, if any, as in the previous request.

Valid values are: "ASCENDING", "DESCENDING"

SEE ALSO

This class forms part of Paws, documenting arguments for method ListResolverQueryLogConfigAssociations in Paws::Route53Resolver

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues