Module Smaws_Client_Route53Resolver.CreateFirewallRule

Creates a single DNS Firewall rule in the specified rule group. The rule can use any one of the following match sources, and the chosen source must be supplied through the matching request field — they are mutually exclusive:

For rules that require asynchronous provisioning (today, the PartnerThreatProtection rule type), the rule's Status begins at CREATING and transitions to COMPLETE once the rule is provisioned and the marketplace entitlement is verified. If provisioning fails, Status becomes CREATION_FAILED and StatusMessage contains a human-readable reason; the rule is then immutable and must be removed with DeleteFirewallRule.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServiceErrorException of Types.internal_service_error_exception | `LimitExceededException of Types.limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception | `ValidationException of Types.validation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_firewall_rule_request -> (Types.create_firewall_rule_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServiceErrorException of Types.internal_service_error_exception | `LimitExceededException of Types.limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception | `ValidationException of Types.validation_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_firewall_rule_request -> (Types.create_firewall_rule_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServiceErrorException of Types.internal_service_error_exception | `LimitExceededException of Types.limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception | `ValidationException of Types.validation_exception ] * Smaws_Lib.Response.metadata) Stdlib.result