Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Class ListResolverQueryLogConfigsCommandProtected

Lists information about the specified query logging configurations. Each configuration defines where you want Resolver to save DNS query logs and specifies the VPCs that you want to log queries for.

Example

Use a bare-bones client and the command you need to make an API call.

import { Route53ResolverClient, ListResolverQueryLogConfigsCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
// const { Route53ResolverClient, ListResolverQueryLogConfigsCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
const client = new Route53ResolverClient(config);
const input = { // ListResolverQueryLogConfigsRequest
MaxResults: Number("int"),
NextToken: "STRING_VALUE",
Filters: [ // Filters
{ // Filter
Name: "STRING_VALUE",
Values: [ // FilterValues
"STRING_VALUE",
],
},
],
SortBy: "STRING_VALUE",
SortOrder: "ASCENDING" || "DESCENDING",
};
const command = new ListResolverQueryLogConfigsCommand(input);
const response = await client.send(command);
// { // ListResolverQueryLogConfigsResponse
// NextToken: "STRING_VALUE",
// TotalCount: Number("int"),
// TotalFilteredCount: Number("int"),
// ResolverQueryLogConfigs: [ // ResolverQueryLogConfigList
// { // ResolverQueryLogConfig
// Id: "STRING_VALUE",
// OwnerId: "STRING_VALUE",
// Status: "CREATING" || "CREATED" || "DELETING" || "FAILED",
// ShareStatus: "NOT_SHARED" || "SHARED_WITH_ME" || "SHARED_BY_ME",
// AssociationCount: Number("int"),
// Arn: "STRING_VALUE",
// Name: "STRING_VALUE",
// DestinationArn: "STRING_VALUE",
// CreatorRequestId: "STRING_VALUE",
// CreationTime: "STRING_VALUE",
// },
// ],
// };

Param

ListResolverQueryLogConfigsCommandInput

Returns

ListResolverQueryLogConfigsCommandOutput

See

Throws

AccessDeniedException (client fault)

The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

Throws

InternalServiceErrorException (client fault)

We encountered an unknown error. Try again in a few minutes.

Throws

InvalidNextTokenException (client fault)

The value that you specified for NextToken in a List request isn't valid.

Throws

InvalidParameterException (client fault)

One or more parameters in this request are not valid.

Throws

InvalidRequestException (client fault)

The request is invalid.

Throws

ThrottlingException (client fault)

The request was throttled. Try again in a few minutes.

Throws

Route53ResolverServiceException

Base exception class for all service exceptions from Route53Resolver service.

Hierarchy

Constructors

Properties

Methods