v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1436240246.3 KB

Sets the logging configuration for the specified firewall.

To change the logging configuration, retrieve the LoggingConfiguration by calling DescribeLoggingConfiguration, then change it and provide the modified object to this update call. You must change the logging configuration one LogDestinationConfig at a time inside the retrieved LoggingConfiguration object.

You can perform only one of the following actions in any call to UpdateLoggingConfiguration:

  • Create a new log destination object by adding a single LogDestinationConfig array element to LogDestinationConfigs.

  • Delete a log destination object by removing a single LogDestinationConfig array element from LogDestinationConfigs.

  • Change the LogDestination setting in a single LogDestinationConfig array element.

You can't change the LogDestinationType or LogType in a LogDestinationConfig. To change these settings, delete the existing LogDestinationConfig object and create a new one, using two separate calls to this update operation.

post/#X-Amz-Target=NetworkFirewall_20201112.UpdateLoggingConfiguration

Headers

X-Amz-Target'NetworkFirewall_20201112.UpdateLoggingConfiguration' required

Request body

FirewallArnstring
<p>The Amazon Resource Name (ARN) of the firewall.</p> <p>You must specify the ARN or the name, and you can specify both. </p>
FirewallNamestring
<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>

Response

Success

FirewallArnstring

The Amazon Resource Name (ARN) of the firewall.

FirewallNamestring

The descriptive name of the firewall. You can't change the name of a firewall after you create it.