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 GetResolverQueryLogConfigPolicyCommandProtected

Gets information about a query logging policy. A query logging policy specifies the Resolver query logging operations and resources that you want to allow another Amazon Web Services account to be able to use.

Example

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

import { Route53ResolverClient, GetResolverQueryLogConfigPolicyCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
// const { Route53ResolverClient, GetResolverQueryLogConfigPolicyCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
const client = new Route53ResolverClient(config);
const input = { // GetResolverQueryLogConfigPolicyRequest
Arn: "STRING_VALUE", // required
};
const command = new GetResolverQueryLogConfigPolicyCommand(input);
const response = await client.send(command);
// { // GetResolverQueryLogConfigPolicyResponse
// ResolverQueryLogConfigPolicy: "STRING_VALUE",
// };

Param

GetResolverQueryLogConfigPolicyCommandInput

Returns

GetResolverQueryLogConfigPolicyCommandOutput

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

InvalidParameterException (client fault)

One or more parameters in this request are not valid.

Throws

InvalidRequestException (client fault)

The request is invalid.

Throws

UnknownResourceException (client fault)

The specified resource doesn't exist.

Throws

Route53ResolverServiceException

Base exception class for all service exceptions from Route53Resolver service.

Hierarchy

Constructors

Properties

Methods