AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
For .NET Core this operation is only available in asynchronous form. Please refer to UpdateLoggingConfigurationAsync.
Namespace: Amazon.NetworkFirewall
Assembly: AWSSDK.NetworkFirewall.dll
Version: 3.x.y.z
public virtual UpdateLoggingConfigurationResponse UpdateLoggingConfiguration( UpdateLoggingConfigurationRequest request )
Container for the necessary parameters to execute the UpdateLoggingConfiguration service method.
| Exception | Condition |
|---|---|
| InternalServerErrorException | 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. |
| InvalidTokenException | The token you provided is stale or isn't valid for the operation. |
| LogDestinationPermissionException | Unable to send logs to a configured logging destination. |
| ResourceNotFoundException | Unable to locate a resource using the parameters that you provided. |
| ThrottlingException | Unable to process the request due to throttling limitations. |
.NET Framework:
Supported in: 4.7.2 and newer