describe_firewall
async
¶
describe_firewall(
*,
config_overrides: Optional[AsyncNetworkFirewallClientConfig] = None,
firewall_name: Optional[ResourceName] = None,
firewall_arn: Optional[ResourceArn] = None,
) -> DescribeFirewallResponse
Returns the data objects for the specified firewall.
Parameters:
-
firewall_name(Optional[ResourceName], default:None) –The descriptive name of the firewall. You can't change the name of a firewall after you create it.
You must specify the ARN or the name, and you can specify both.
-
firewall_arn(Optional[ResourceArn], default:None) –The Amazon Resource Name (ARN) of the firewall.
You must specify the ARN or the name, and you can specify both.
Raises:
-
InternalServerError–Your request is valid, but Network Firewall couldn't perform the operation because of a system problem. Retry your request.
-
InvalidRequestException–The operation failed because of a problem with your request. Examples include:
-
You specified an unsupported parameter name or value.
-
You tried to update a property with a value that isn't among the available types.
-
Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the context of the request.
-
-
ResourceNotFoundException–Unable to locate a resource using the parameters that you provided.
-
ThrottlingException–Unable to process the request due to throttling limitations.
-
UnknownServiceError–The service returned an error code this client does not model.