pub struct UpdateLoggingConfiguration<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateLoggingConfiguration
.
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 toLogDestinationConfigs
. -
Delete a log destination object by removing a single
LogDestinationConfig
array element fromLogDestinationConfigs
. -
Change the
LogDestination
setting in a singleLogDestinationConfig
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.
Implementations
impl<C, M, R> UpdateLoggingConfiguration<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateLoggingConfiguration<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateLoggingConfigurationOutput, SdkError<UpdateLoggingConfigurationError>> where
R::Policy: SmithyRetryPolicy<UpdateLoggingConfigurationInputOperationOutputAlias, UpdateLoggingConfigurationOutput, UpdateLoggingConfigurationError, UpdateLoggingConfigurationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateLoggingConfigurationOutput, SdkError<UpdateLoggingConfigurationError>> where
R::Policy: SmithyRetryPolicy<UpdateLoggingConfigurationInputOperationOutputAlias, UpdateLoggingConfigurationOutput, UpdateLoggingConfigurationError, UpdateLoggingConfigurationInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The Amazon Resource Name (ARN) of the firewall.
You must specify the ARN or the name, and you can specify both.
The Amazon Resource Name (ARN) of the firewall.
You must specify the ARN or the name, and you can specify both.
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.
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.
Defines how Network Firewall performs logging for a firewall. If you omit this setting, Network Firewall disables logging for the firewall.
Defines how Network Firewall performs logging for a firewall. If you omit this setting, Network Firewall disables logging for the firewall.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateLoggingConfiguration<C, M, R>
impl<C, M, R> Send for UpdateLoggingConfiguration<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateLoggingConfiguration<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateLoggingConfiguration<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateLoggingConfiguration<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more