Values.CreateFirewallRuleOutputSourceCreates a DNS firewall rule. Firewall rules define actions (ALLOW, BLOCK, or ALERT) to take on DNS queries that match specified domain lists, managed domain lists, or advanced threat protections. Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify --region us-east-2 on Amazon Web Services CLI commands.
type nonrec t = {action : FirewallRuleAction.t option;The action that DNS Firewall takes on DNS queries that match this rule.
*)blockOverrideDnsType : BlockOverrideDnsQueryType.t option;The DNS record type for the custom response when blockResponse is OVERRIDE.
*)blockOverrideDomain : Domain.t option;The custom domain to return when the action is BLOCK and blockResponse is OVERRIDE.
*)blockOverrideTtl : BlockOverrideTtl.t option;The time-to-live (TTL) value for the custom response when blockResponse is OVERRIDE.
*)blockResponse : FirewallBlockResponse.t option;The response to return when the action is BLOCK.
*)confidenceThreshold : ConfidenceThreshold.t option;The confidence threshold for advanced threat detection.
*)createdAt : ISO8601TimeString.t option;The date and time when the firewall rule was created.
*)description : ResourceDescription.t option;The description of the firewall rule.
*)dnsAdvancedProtection : DnsAdvancedProtection.t option;Whether advanced DNS threat protection is enabled for this rule.
*)firewallDomainListId : ResourceId.t option;The ID of the firewall domain list used in this rule.
*)id : ResourceId.t option;The unique identifier for the firewall rule.
*)name : ResourceName.t option;The name of the firewall rule.
*)priority : FirewallRulePriority.t option;The priority of the firewall rule.
*)dnsViewId : ResourceId.t option;The ID of the DNS view associated with this firewall rule.
*)queryType : DnsQueryType.t option;The DNS query type that this rule matches.
*)status : CRResourceStatus.t option;The operational status of the firewall rule.
*)updatedAt : ISO8601TimeString.t option;The date and time when the firewall rule was last updated.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `ConflictException of ConflictException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ServiceQuotaExceededException of ServiceQuotaExceededException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?action:??? ->
?blockOverrideDnsType:??? ->
?blockOverrideDomain:??? ->
?blockOverrideTtl:??? ->
?blockResponse:??? ->
?confidenceThreshold:??? ->
?createdAt:??? ->
?description:??? ->
?dnsAdvancedProtection:??? ->
?firewallDomainListId:??? ->
?id:??? ->
?name:??? ->
?priority:??? ->
?dnsViewId:??? ->
?queryType:??? ->
?status:??? ->
?updatedAt:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of BlockOverrideTtl.t
| `Long of FirewallRulePriority.t
| `String of Domain.t
| `Timestamp of ISO8601TimeString.t ])
list ]