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 GetFirewallRuleGroupAssociationCommandProtected

Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group. A VPC can have more than one firewall rule group association, and a rule group can be associated with more than one VPC.

Example

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

import { Route53ResolverClient, GetFirewallRuleGroupAssociationCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
// const { Route53ResolverClient, GetFirewallRuleGroupAssociationCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
const client = new Route53ResolverClient(config);
const input = { // GetFirewallRuleGroupAssociationRequest
FirewallRuleGroupAssociationId: "STRING_VALUE", // required
};
const command = new GetFirewallRuleGroupAssociationCommand(input);
const response = await client.send(command);
// { // GetFirewallRuleGroupAssociationResponse
// FirewallRuleGroupAssociation: { // FirewallRuleGroupAssociation
// Id: "STRING_VALUE",
// Arn: "STRING_VALUE",
// FirewallRuleGroupId: "STRING_VALUE",
// VpcId: "STRING_VALUE",
// Name: "STRING_VALUE",
// Priority: Number("int"),
// MutationProtection: "ENABLED" || "DISABLED",
// ManagedOwnerName: "STRING_VALUE",
// Status: "COMPLETE" || "DELETING" || "UPDATING",
// StatusMessage: "STRING_VALUE",
// CreatorRequestId: "STRING_VALUE",
// CreationTime: "STRING_VALUE",
// ModificationTime: "STRING_VALUE",
// },
// };

Param

GetFirewallRuleGroupAssociationCommandInput

Returns

GetFirewallRuleGroupAssociationCommandOutput

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

ResourceNotFoundException (client fault)

The specified resource doesn't exist.

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