DeleteFirewallRule - Amazon Route 53

DeleteFirewallRule

Deletes the specified firewall rule.

Request Syntax

{ "FirewallDomainListId": "string", "FirewallRuleGroupId": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

FirewallDomainListId

The ID of the domain list that's used in the rule.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Required: Yes

FirewallRuleGroupId

The unique identifier of the firewall rule group that you want to delete the rule from.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Required: Yes

Response Syntax

{ "FirewallRule": { "Action": "string", "BlockOverrideDnsType": "string", "BlockOverrideDomain": "string", "BlockOverrideTtl": number, "BlockResponse": "string", "CreationTime": "string", "CreatorRequestId": "string", "FirewallDomainListId": "string", "FirewallRuleGroupId": "string", "ModificationTime": "string", "Name": "string", "Priority": number } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

FirewallRule

The specification for the firewall rule that you just deleted.

Type: FirewallRule object

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

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

HTTP Status Code: 400

InternalServiceErrorException

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

HTTP Status Code: 400

ResourceNotFoundException

The specified resource doesn't exist.

HTTP Status Code: 400

ThrottlingException

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

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: